]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
BZ#14059: Fix AVX and FMA4 detection.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-05-17 Andreas Jaeger <aj@suse.de>
2 Carlos O'Donell <carlos_odonell@mentor.com>
3
4 [BZ #14059]
5 * sysdeps/x86_64/multiarch/init-arch.h
6 (bit_YMM_Usable): Rename to...
7 (bit_AVX_Usable): ... this.
8 (bit_FMA4_Usable): New macro.
9 (bit_XMM_state): New macro.
10 (bit_YMM_state): New macro.
11 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14 (CPUID_OSXSAVE): New macro.
15 (CPUID_AVX): New macro.
16 (CPUID_FMA4): New macro.
17 (index_YMM_Usable): Rename to...
18 (index_AVX_Usable): ... this.
19 (HAS_AVX): Use HAS_ARCH_FEATURE.
20 (HAS_FMA4): Likewise.
21 (HAS_YMM_USABLE): Remove.
22 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24 are present.
25 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30
312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32
33 * math/libm-test.c: Support platforms without multiple rounding modes.
34 * math/bug-nextafter.c: Support platforms without FP exceptions.
35 * math/bug-nexttoward.c: Likewise.
36 * math/test-fenv.c: Likewise.
37 * math/test-misc.c: Likewise.
38 * stdlib/bug-getcontext.c: Likewise.
39
402012-05-17 Andreas Jaeger <aj@suse.de>
41
42 * manual/examples/search.c (critter_cmp): Change signature to
43 avoid warnings.
44 * manual/string.texi (Collation Functions): Likewise.
45
462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47
48 * bits/types.h: Fold copyright years.
49 * bits/typesizes.h: Likewise.
50 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
53 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54 * time/time.h: Likewise.
55
562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
57
58 [BZ #208]
59 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60 in instead of returning them. Return void.
61 (__libc_mallinfo): Accumulate over all arenas.
62 (__malloc_stats): Adjust for change in int_mallinfo interface.
63
642012-05-16 Roland McGrath <roland@hack.frob.com>
65
66 [BZ #10375]
67 * configure.in (NM): Add AC_CHECK_TOOL for it.
68 (libc_extra_cflags): New substituted variable.
69 Check for -fstack-protector being used implicitly.
70 * configure: Regenerated.
71 * config.make.in (config-extra-cflags): New variable,
72 gets @libc_extra_cflags@.
73 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74
75 [BZ #10375]
76 * configure.in: Check for _FORTIFY_SOURCE being predefined.
77 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78 * configure: Regenerated.
79 * config.make.in (CPPUNDEFS): New substituted variable.
80 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
83
842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
85
86 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
87 (mq_attr): Use __syscall_slong_t.
88
892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
90
91 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
92 Check __x86_64__ instead of __WORDSIZE.
93 (_STAT_VER_LINUX): Likewise.
94 (stat): Check __x86_64__ instead of __WORDSIZE. Use
95 __syscall_ulong_t and __syscall_slong_t.
96 (stat64): Likewise.
97
982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
99
100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
101
1022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
103
104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
105
1062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
107
108 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
109 __syscall_ulong_t.
110
111 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
112 include <bits/wordsize.h>. Check __x86_64__ instead of
113 __WORDSIZE.
114 (greg_t): Use "__extension__ long long int" if __x86_64__ is
115 defined.
116 (mcontext_t): Replace "unsigned long" with "unsigned long long".
117
118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
119 include <bits/wordsize.h>. Check __x86_64__ instead of
120 __WORDSIZE.
121 (user_regs_struct): Use "__extension__ unsigned long long"
122 instead of "unsigned long" if __x86_64__ is defined.
123 (user): Likewise. Pad after pointer field if __ILP32__ is
124 defined.
125
1262012-05-16 Joseph Myers <joseph@codesourcery.com>
127
128 * configure.in (makeinfo): Require version 4.5 or later. Allow
129 versions 5 to 9.
130 * configure: Regenerated.
131 * manual/install.texi (texinfo): Increase version requirement to
132 4.5 or later.
133 * INSTALL: Regenerated.
134
135 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
136
1372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
140
141 * sysdeps/x86_64/x32/ffs.c: New file.
142
143 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
144 __syscall_ulong_t.
145 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
146 defined. Use __syscall_ulong_t.
147 (shminfo): Use __syscall_ulong_t.
148 (shm_info): Likewise.
149
150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
151 __syscall_ulong_t.
152
153 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
154 <bits/wordsize.h>.
155 (msgqnum_t): Use __syscall_ulong_t.
156 (msglen_t): Likewise.
157 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
158 __syscall_ulong_t.
159
160 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
162
163 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
164
165 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
166 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
167
168 * sysvipc/sys/msg.h (msgbuf): Replace long int with
169 __syscall_slong_t.
170
171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
172 include <bits/wordsize.h>. Check __x86_64__ instead of
173 __WORDSIZE.
174
175 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
176 "unsigned long long int" if __x86_64__ is defined.
177 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
178
179 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
181 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
182
183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
184 <stdint.h>.
185 (GET_PC): Cast to uintptr_t first.
186 (GET_FRAME): Likewise.
187 (GET_STACK): Likewise.
188
189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
190 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
193 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
195 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
196 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
197 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
203 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
206 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
216 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
218
2192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
220
221 * Makerules (+depfiles): Also collect depfiles from .oS in
222 $(extra-objs).
223 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
224 .oS, $(libnldbl-routines)).
225
226 * Makerules (native-compile-mkdep-flags): Define.
227 * sunrpc/Makefile (extra-objs): Add $(addprefix
228 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
229 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
230 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
231 calling $(make-target-directory).
232
2332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
234
235 * bits/types.h (__snseconds_t): Removed.
236 * time/time.h (struct timespec): Replace __snseconds_t with
237 __syscall_slong_t.
238 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
239 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
240 Likewise.
241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
242 (__SNSECONDS_T_TYPE): Likewise.
243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
244 (__SNSECONDS_T_TYPE): Likewise.
245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
246 (__SNSECONDS_T_TYPE): Likewise.
247
2482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
249
250 * sysdeps/mach/hurd/bits/typesizes.h
251 (__SYSCALL_SLONG_TYPE): New macro.
252 (__SYSCALL_ULONG_TYPE): Likewise.
253
2542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
255
256 * bits/types.h (__syscall_slong_t): New type.
257 (__syscall_ulong_t): Likewise.
258
259 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
260 (__SYSCALL_ULONG_TYPE): Likewise.
261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
262 (__SYSCALL_SLONG_TYPE): Likewise.
263 (__SYSCALL_ULONG_TYPE): Likewise.
264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
265 (__SYSCALL_SLONG_TYPE): Likewise.
266 (__SYSCALL_ULONG_TYPE): Likewise.
267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
268 (__SYSCALL_SLONG_TYPE): Likewise.
269 (__SYSCALL_ULONG_TYPE): Likewise.
270
2712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
272
273 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
274 Add sigaltstack-offsets.sym.
275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
276 <sigaltstack-offsets.h>.
277 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
278 longjmp_msg pointer.
279 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
280 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
281 signal stack.
282 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
283
2842012-05-15 Joseph Myers <joseph@codesourcery.com>
285
286 * elf/stackguard-macros.h: Remove file.
287 * sysdeps/generic/stackguard-macros.h: New file.
288 * sysdeps/i386/stackguard-macros.h: Likewise.
289 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
290 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
291 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
292 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
293 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
294 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
295 * sysdeps/x86_64/stackguard-macros.h: Likewise.
296 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
297 <elf/stackguard-macros.h>.
298
299 [BZ #14109]
300 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
301 __aligned__ in attribute.
302 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
303 (gregset_t): Likewise.
304
3052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
308 * sysdeps/x86_64/64/Implies-after: Here. New file.
309 * sysdeps/x86_64/x32/Implies-after: New file.
310
3112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
312
313 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
314 and access return value for _dl_profile_fixup. Use R10_LP to
315 load frame size.
316
3172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
320
3212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
322
323 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
324 * sysdeps/x86_64/x32/sysdep.h: New file.
325
3262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
327
328 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
329 * sysdeps/x86_64/setjmp.S: Likewise.
330
3312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332
333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
334 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
335 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
337 remove unused global constant.
338
3392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
340
341 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
342 include of <not-cancel.h>.
343
3442012-05-15 Roland McGrath <roland@hack.frob.com>
345
346 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
347
3482012-05-15 Jeff Law <law@redhat.com>
349 Andreas Jaeger <aj@suse.de>
350
351 [BZ #13594]
352 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
353 out from...
354 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
355 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
356 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
357 code changing __hst_map_handle.map.
358
3592012-05-15 Roland McGrath <roland@hack.frob.com>
360
361 * configure.in (sysnames): Look for Implies-before and Implies-after
362 files.
363 * configure: Regenerated.
364
3652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
366
367 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
368 8-byte data alignment with LP_SIZE alignment.
369
3702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
371
372 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
373 into R10_LP.
374
3752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
376
377 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
378
3792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
380
381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
382 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
384 Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
386
3872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
388
389 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
390 (stackinfo_sub_sp): Likewise.
391
3922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
393
394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
395 RAX_LP.
396
3972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
398
399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
400 into R*_LP.
401
4022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
403
404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
405 sizes into R*_LP.
406
4072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
408
409 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
410
4112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
412
413 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
414 into R11_LP and load __x86_64_shared_cache_size_half into
415 R8_LP.
416
4172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
418
419 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
420 R8_LP.
421
4222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
423
424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
425 logb for POWER7.
426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
427 logbf for POWER7.
428 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
429 logbl for POWER7.
430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
431 powerpc32/power7/fpu/s_logb.c via #include.
432 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
433 powerpc32/power7/fpu/s_logbf.c via #include.
434 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
435 powerpc32/power7/fpu/s_logbl.c via #include.
436
4372012-05-15 Joseph Myers <joseph@codesourcery.com>
438
439 * README.libm: Remove file.
440
4412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
442
443 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
444 count for x32. Use R*_LP and omit operand-size suffix.
445
4462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
447
448 * shlib-versions: Move x86_64-.*-linux.* entries to ...
449 * sysdeps/x86_64/64/shlib-versions: Here. New file.
450 * sysdeps/x86_64/x32/shlib-versions: New file.
451
4522012-05-14 Roland McGrath <roland@hack.frob.com>
453
454 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
455 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
456 Use _dl_fatal_printf instead.
457
4582012-05-14 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
461 set if not set by the user. Do not allow for being unset.
462 * sysdeps/unix/sysv/linux/configure: Regenerated.
463
4642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
465
466 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
467 the `q' suffix from lea and replace .quad with ASM_ADDR.
468
4692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
470
471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
472 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
473 instead of $17.
474 (PTR_DEMANGLE): Likewise.
475
4762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
479 (LP_OP): Likewise.
480 (ASM_ADDR): Likewise.
481 (RAX_LP): Likewise.
482 (RBP_LP): Likewise.
483 (RBX_LP): Likewise.
484 (RCX_LP): Likewise.
485 (RDI_LP): Likewise.
486 (RSI_LP): Likewise.
487 (RSP_LP): Likewise.
488 (R8_LP): Likewise.
489 (R9_LP): Likewise.
490 (R10_LP): Likewise.
491 (R10_LP): Likewise.
492 (R11_LP): Likewise.
493 (R12_LP): Likewise.
494 (R13_LP): Likewise.
495 (R14_LP): Likewise.
496 (R15_LP): Likewise.
497
4982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
499
500 * sysdeps/x86_64/x32/dl-machine.h: New file.
501
5022012-05-14 Andreas Jaeger <aj@suse.de>
503
504 * manual/Makefile (subdir): Remove export of subdir.
505 (all): Remove target.
506 (.PHONY): Remove all from list.
507 (mkinstalldirs): Remove.
508 (.PHONY): Remove installdirs from list.
509 ($(inst_infodir)/libc.info): Use make-target-directory.
510 (installdirs): Remove.
511 (subdir_%): Remove.
512 (glibc-targets): Remove.
513 (lib): Remove.
514 (stubs): Remove.
515 ($(objpfx)stubs ../po/manual.pot): Remove.
516 ($(objpfx)stamp%): Remove.
517 (make-target-directory): Remove.
518 (subdir_install): Remove.
519 (routines): Remove.
520 (aux): Remove.
521 (sources): Remove.
522 (objects): Remove.
523 (headers): Remove.
524
525 [BZ #13750]
526 * manual/.gitignore: Remove, it's not needed anymore.
527 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
528 all files in it.
529 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
530 directory.
531 (texis): Renamed to $(objpfx)texis.
532 (texis-path): New, contains path to generated files.
533 (chapters.%): Use texis-path for complete path, add extra argument
534 libc-texinfo.sh.
535 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
536 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
537 (summary,texi, stamp-summary): Use complete path of
538 files. Generate files in build dir.
539 (dir-add.texi): Build in build dir.
540 (libm-err.texi,stamp-libm-err): Likewise.
541 (version.texi, stamp-version): Likewise.
542 (.%c.texi): Likewise.
543 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
544 (mostlyclean): Remove target.
545 (realclean): Remove target.
546 (generated): Add new variable with contents from mostlyclean and
547 realclean, remove entries duplicated in common-mostlyclean, add
548 stamp-libm-err and stamp-version.
549 (generated-dirs): Add libc directory.
550 ($(inst_infodir)/libc.info): Install files from build dir.
551
552 * manual/install.texi (Configuring and compiling): Adjust since
553 the info files are not part of the tar ball anymore.
554
5552012-05-14 Andreas Jaeger <aj@suse.de>
556
557 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
558 variable.
559
5602012-05-14 Joseph Myers <joseph@codesourcery.com>
561
562 [BZ #13717]
563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
564 to 2.2.0 where earlier.
565 * sysdeps/unix/sysv/linux/configure: Regenerated.
566 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
567 Remove conditional code.
568 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
569 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
570 Remove conditional code.
571 [!__NR_lchown]: Likewise.
572 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
573 [__NR_lchown]: Likewise.
574 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
575 comment referencing __ASSUME_LCHOWN_SYSCALL.
576 * sysdeps/unix/sysv/linux/i386/sigaction.c
577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
579 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
580 Remove conditional code.
581 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
582 (__protocol_available): Remove #if 0 code.
583 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
584 conditional code.
585 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
586 * sysdeps/unix/sysv/linux/kernel-features.h
587 (__ASSUME_GETCWD_SYSCALL): Don't define.
588 (__ASSUME_REALTIME_SIGNALS): Likewise.
589 (__ASSUME_PREAD_SYSCALL): Likewise.
590 (__ASSUME_PWRITE_SYSCALL): Likewise.
591 (__ASSUME_POLL_SYSCALL): Likewise.
592 (__ASSUME_LCHOWN_SYSCALL): Likewise.
593 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
594 non-SPARC.
595 (__ASSUME_SIOCGIFNAME): Don't define.
596 (__ASSUME_MSG_NOSIGNAL): Likewise.
597 (__ASSUME_SENDFILE): Define unconditionally.
598 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
599 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
600 conditional code.
601 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
602 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
603 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
604 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
605 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
606 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
607 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
632 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
633 Remove conditional code.
634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
635 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
636 Remove conditional code.
637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
638 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
639 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
640 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
641 Remove conditional code.
642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
643 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
644 Remove conditional code.
645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
646 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
647 Remove conditional code.
648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
649 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
650 Remove conditional code.
651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
652 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
653 Remove conditional code.
654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
655 * sysdeps/unix/sysv/linux/sh/pwrite64.c
656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
658 * sysdeps/unix/sysv/linux/sigaction.c
659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
661 * sysdeps/unix/sysv/linux/sigpending.c
662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
664 * sysdeps/unix/sysv/linux/sigprocmask.c
665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
667 * sysdeps/unix/sysv/linux/sigsuspend.c
668 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
669 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
671 (__libc_missing_rt_sigs): Remove.
672 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
673 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
674 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
675 Remove conditional code.
676 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
677 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
678 return 1.
679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
680 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
681 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
682 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
683
6842012-05-14 Andreas Jaeger <aj@suse.de>
685
686 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
687 it's not used in glibc.
688 (__coshm1): Likewise.
689 (__acosh1p): Likewise.
690 (__sgn): Likewise.
691
692 * manual/string.texi (Copying and Concatenation): Add missing
693 variable in concat example.
694 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
695
6962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
697
698 [BZ #14103]
699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
700 __builtin_clzl with __builtin_clzll.
701
7022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
703
704 [BZ #14104]
705 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
706 libc_freeres_ptr.
707
7082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
709
710 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
711 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
712 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
714
7152012-05-14 Mike Frysinger <vapier@gentoo.org>
716
717 * NEWS: Update ia64 info.
718
7192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
720
721 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
722 used as bcopy.
723
7242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
725
726 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
727 * sysdeps/unix/syscalls.list (dup3): Likewise.
728 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
729 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
730
7312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
732
733 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
734 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
735
7362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
737
738 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
739 thread pointer.
740 (TLS_IE): Use mov/add instead of movq/addq to load thread
741 pointer.
742 (TLS_GD_PREFIX): New.
743 (TLS_GD): Use it.
744
7452012-05-11 David S. Miller <davem@davemloft.net>
746
747 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
748 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
749 (_FPU_SETCW): Likewise.
750
7512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
752
753 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
754 is 32-byte aligned.
755
7562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
757
758 [BZ #11837]
759 * iconvdata/gb18030.c: Update tables.
760 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
761 characters specially.
762 (BODY for TO_LOOP): Add encoding of missing ranges.
763
7642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
765
766 [BZ #13673]
767 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
768 * sysdeps/mach/hurd/dup3.c: Likewise.
769 * sysdeps/mach/hurd/readlinkat.c: Likewise.
770 * sysdeps/powerpc/memmove.c:: Likewise.
771
7722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
773
774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
775 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
776
7772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
778
779 * elf/elf.h (R_X86_64_RELATIVE64): New.
780 (R_X86_64_NUM): Updated.
781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
782 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
783 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
784 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
785 tst-quad1pie tst-quad2pie
786 (modules-names): Add tst-quadmod1 tst-quadmod2.
787 ($(objpfx)tst-quad1): New dependency.
788 ($(objpfx)tst-quad2): Likewise.
789 ($(objpfx)tst-quad1pie): Likewise.
790 ($(objpfx)tst-quad2pie): Likewise.
791 * sysdeps/x86_64/tst-quad1.c: New file.
792 * sysdeps/x86_64/tst-quad1pie.c: New file.
793 * sysdeps/x86_64/tst-quad2.c: Likewise.
794 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
795 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
796 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
797 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
798 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
799
8002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
801
802 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
803 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
804 * streams/stropts.h (t_scalar_t): Define type.
805
806 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
807 (_PATH_PRESERVE): Set to "/var/lib".
808 (_PATH_RWHODIR): Set to "/var/spool/rwho".
809
810 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
811 instead of int.
812
813 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
814 if __dir_mkfile succeeded.
815
816 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
817 checking for _hurd_dtablesize. Unlock it right after having
818 finished _hurd_dtable allocation.
819
8202012-05-10 Thomas Schwinge <thomas@schwinge.name>
821
822 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
823 * sysdeps/mach/hurd/configure: Regenerated.
824 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
825 special-casing to...
826 * sysdeps/gnu/configure.in: ... this new file.
827 * sysdeps/unix/sysv/linux/configure: Regenerated.
828 * sysdeps/gnu/configure: New generated file.
829
830 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
831 for Linux: use nsec instead of usec, as well as:
832 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
833 members of type struct timespec.
834 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
835 New macros.
836 (struct stat64): Likewise.
837 (_STATBUF_ST_NSEC): New macro.
838 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
839
840 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
841 __strtoul_internal rather than strtoul.
842
8432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
844
845 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
846 and reject them.
847
8482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
849
850 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
851 which preserves existing values.
852 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
853
8542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
855
856 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
857 TIMEOUT values. Return EINVAL for NFDS values either negative or
858 greater than FD_SETSIZE.
859
8602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
861
862 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
863 allocated, call __vm_protect to finish enabling the existing space, and
864 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
865 allocate the remainder.
866
8672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
868
869 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
870 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
871
8722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
873
874 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
875 sysdeps/mach/hurd/readlink.c.
876
877 * posix/tst-sysconf.c (posix_options): Only use
878 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
879 _POSIX_SYNCHRONIZED_IO when they are defined
880 * sysdeps/mach/hurd/bits/posix_opt.h:
881 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
882 (_XOPEN_REALTIME): Undefine macro.
883 (_XOPEN_REALTIME_THREADS): Undefine macro.
884 (_XOPEN_SHM): Undefine macro.
885 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
886 macro to -1.
887 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
888 macro to -1.
889 (_POSIX_ASYNC_IO): Undefine macro.
890 (_POSIX_PRIORITIZED_IO): Undefine macro.
891 (_POSIX_SPIN_LOCKS): Define macro to -1.
892
893 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
894 SA_NODEFER, SA_RESETHAND.
895 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
896 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
897 F_DUPFD_CLOEXEC.
898
8992012-05-10 Thomas Schwinge <thomas@schwinge.name>
900
901 * elf/Makefile (pldd-modules): Define unconditionally.
902
9032012-05-10 Thomas Schwinge <thomas@schwinge.name>
904
905 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
906
9072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
908
909 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
910 Return ENOENT when name is empty.
911 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
912
9132012-05-10 Thomas Schwinge <thomas@schwinge.name>
914
915 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
916
917 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
918
9192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
920
921 Fix mlock in all cases except non-readable pages.
922 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
923 instead of VM_PROT_ALL as parameter to __vm_wire function.
924
925 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
926 (__mkdir): When path is `/', just fail with EEXIST.
927 * sysdeps/mach/hurd/mkdirat.c: Likewise.
928
9292012-05-10 Thomas Schwinge <thomas@schwinge.name>
930
931 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
932 <sys/uio.h> (for writev).
933 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
934 and <sys/param.h> (for MIN).
935
9362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
937
938 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
939 REQUESTED_TIME. Properly set the remaining time and return EINTR
940 if interrupted.
941
9422012-05-10 Thomas Schwinge <thomas@schwinge.name>
943
944 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
945 Depend on against $(link-rpcuserlibs).
946
9472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
948
949 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
950 (__libc_stack_end): Do not use attribute_relro.
951 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
952 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
953 to libthread-provided value.
954 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
955 attribute_relro.
956
9572012-05-10 Thomas Schwinge <thomas@schwinge.name>
958
959 [BZ #3748]
960 * bits/libc-lock.h (__libc_once_get): New macro.
961 * sysdeps/mach/bits/libc-lock.h: Likewise.
962 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
964 instead of using implementation details.
965
966 * libio/fileops.c: Unconditionally include <kernel-features.h>.
967 * libio/freopen.c: Likewise.
968 * libio/freopen64.c: Likewise.
969 * misc/syslog.c: Likewise.
970 * nscd/connections.c: Likewise.
971 * nscd/netgroupcache.c: Likewise.
972 * sysdeps/posix/getcwd.c: Likewise.
973
9742012-05-10 Roland McGrath <roland@hack.frob.com>
975
976 * math/w_ilogbf.c: Add #include <limits.h>.
977
9782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
979
980 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
981 path instead of returning without unlocking.
982
983 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
984 immediate-write ioctls.
985 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
986
9872012-05-10 Thomas Schwinge <thomas@schwinge.name>
988
989 * sysdeps/mach/hurd/i386/init-first.c (init): Use
990 __builtin_frame_address instead of making assumptions about the
991 location of the return address relative to DATA. Force early load of
992 the return address.
993 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
994 __builtin_frame_address.
995
996 dup3 for GNU Hurd.
997 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
998 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
999 implement dup3 and do some further code clean-ups.
1000 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1001 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1002
10032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1004
1005 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1006
1007 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1008 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1009 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1010 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1011 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1012 d->port.lock.
1013
1014 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1015 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1016 when handler == SIG_ERR, not when handler != SIG_ERR.
1017
10182012-05-10 Thomas Schwinge <thomas@schwinge.name>
1019
1020 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1021 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1022 definitions.
1023
1024 accept4 for GNU Hurd.
1025 * include/sys/socket.h (__libc_accept4): New prototype.
1026 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1027 to implement __libc_accept4.
1028 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1029 __libc_accept4.
1030 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1031
1032 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1033 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1034 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1035 signal-defines.sym.
1036
10372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1038
1039 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1040
10412012-05-10 Thomas Schwinge <thomas@schwinge.name>
1042
1043 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1044 assertion on O_CLOEXEC flag.
1045 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1046 * hurd/intern-fd.c: Likewise.
1047 * hurd/port2fd.c: Likewise.
1048
10492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1050
1051 [BZ #3906]
1052 * bits/in.h (IPV6_PKTINFO): Define new macro.
1053 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1054
10552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1056
1057 [BZ #13954]
1058 [BZ #13955]
1059 [BZ #13956]
1060 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1062 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1063 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1065 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1066 * math/libm-test.inc (logb_test) : Additional logb tests.
1067
10682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1069 Andreas Jaeger <aj@suse.de>
1070
1071 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1072 * configure: Regenerated.
1073 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1074 * config.make.in (link-obsolete-rpc): New substituted variable.
1075 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1076 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1077 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1078 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1079 so that libc.a contains the symbols.
1080 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1081 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1082 * sunrpc/auth_none.c: Likewise.
1083 * sunrpc/auth_unix.c: Likewise.
1084 * sunrpc/authdes_prot.c: Likewise.
1085 * sunrpc/authuxprot.c: Likewise.
1086 * sunrpc/clnt_gen.c: Likewise.
1087 * sunrpc/clnt_perr.c: Likewise.
1088 * sunrpc/clnt_raw.c: Likewise.
1089 * sunrpc/clnt_simp.c: Likewise.
1090 * sunrpc/clnt_tcp.c: Likewise.
1091 * sunrpc/clnt_udp.c: Likewise.
1092 * sunrpc/clnt_unix.c: Likewise.
1093 * sunrpc/des_crypt.c: Likewise.
1094 * sunrpc/des_soft.c: Likewise.
1095 * sunrpc/get_myaddr.c: Likewise.
1096 * sunrpc/key_call.c: Likewise.
1097 * sunrpc/key_prot.c: Likewise.
1098 * sunrpc/netname.c: Likewise.
1099 * sunrpc/pm_getmaps.c: Likewise.
1100 * sunrpc/pm_getport.c: Likewise.
1101 * sunrpc/pmap_clnt.c: Likewise.
1102 * sunrpc/pmap_prot.c: Likewise.
1103 * sunrpc/pmap_prot2.c: Likewise.
1104 * sunrpc/pmap_rmt.c: Likewise.
1105 * sunrpc/publickey.c: Likewise.
1106 * sunrpc/rpc_cmsg.c: Likewise.
1107 * sunrpc/rpc_common.c: Likewise.
1108 * sunrpc/rpc_dtable.c: Likewise.
1109 * sunrpc/rpc_prot.c: Likewise.
1110 * sunrpc/rpc_thread.c: Likewise.
1111 * sunrpc/rtime.c: Likewise.
1112 * sunrpc/svc.c: Likewise.
1113 * sunrpc/svc_auth.c: Likewise.
1114 * sunrpc/svc_raw.c: Likewise.
1115 * sunrpc/svc_run.c: Likewise.
1116 * sunrpc/svc_tcp.c: Likewise.
1117 * sunrpc/svc_udp.c: Likewise.
1118 * sunrpc/svc_unix.c: Likewise.
1119 * sunrpc/svcauth_des.c: Likewise.
1120 * sunrpc/xcrypt.c: Likewise.
1121 * sunrpc/xdr.c: Likewise.
1122 * sunrpc/xdr_array.c: Likewise.
1123 * sunrpc/xdr_float.c: Likewise.
1124 * sunrpc/xdr_intXX_t.c: Likewise.
1125 * sunrpc/xdr_mem.c: Likewise.
1126 * sunrpc/xdr_rec.c: Likewise.
1127 * sunrpc/xdr_ref.c: Likewise.
1128 * sunrpc/xdr_sizeof.c: Likewise.
1129 * sunrpc/xdr_stdio.c: Likewise.
1130
11312012-05-10 Roland McGrath <roland@hack.frob.com>
1132
1133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1134 change. Update copyright years.
1135
11362012-05-10 Joseph Myers <joseph@codesourcery.com>
1137
1138 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1139
11402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1141 Joseph Myers <joseph@codesourcery.com>
1142 Paul Pluzhnikov <ppluzhnikov@google.com>
1143
1144 [BZ #14012]
1145 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1146 requiring rpcgen.
1147 [cross-compiling] (extra-libs): Likewise.
1148 [cross-compiling] (extra-libs-others): Likewise.
1149 [cross-compiling] (librpcsvc-routines): Likewise.
1150 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1151 [cross-compiling] (omit-deps): Likewise.
1152 (sunrpc-CPPFLAGS): New variable.
1153 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1154 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1155 (cross-rpcgen-objs): New variable.
1156 (extra-objs): Append $(cross-rpcgen-objs).
1157 ($(cross-rpcgen-objs)): New rule.
1158 ($(objpfx)cross-rpcgen): Likewise.
1159 (rpcgen-cmd): Define to use $(built-program-file). Expand
1160 comment.
1161 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1162 ($(objpfx)x%.stmp): Likewise.
1163 * sunrpc/proto.h [IS_IN_build] (_): Define.
1164 [IS_IN_build] (_libc_intl_domainname): Likewise.
1165
11662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1169 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1170 and R_X86_64_TPOFF64.
1171
11722012-05-10 Joseph Myers <joseph@codesourcery.com>
1173
1174 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1175 sysdeps/unix/sysv/syscalls.list.
1176 (stime): Likewise.
1177 (utime): Likewise.
1178 * sysdeps/unix/sysv/syscalls.list: Remove file.
1179
11802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1181
1182 [BZ #3440]
1183 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1184 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1185 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1186 (__LC_IDENTIFICATION): Make these macros useful in #if
1187 expressions, as required by C99.
1188
11892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1190
1191 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1192 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1193 after this.
1194
11952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1196
1197 * stdlib/longlong.h: Updated from GCC.
1198
11992012-05-09 Andreas Jaeger <aj@suse.de>
1200
1201 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1202 default is first entry.
1203 (run_mode): Set type.
1204 (main): Remove informal message about syslog.
1205 (options): Fix typo.
1206
1207 [BZ #14053]
1208 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1209 to asm.
1210 (lrint): Likewise.
1211 (llrintf): Likewise.
1212 (llrint): Likewise.
1213 (rint): Likewise.
1214 (rintf): Likewise.
1215 (nearbyint): Likewise.
1216 (nearbyintf): Likewise.
1217
12182012-05-09 Andreas Jaeger <aj@suse.de>
1219 Pedro Alves <palves@redhat.com>
1220
1221 * nscd/nscd.c (run_mode): Use enum.
1222 (main): Cleanup coding style issue.
1223
12242012-05-09 Alexandre Oliva <aoliva@redhat.com>
1225 Andreas Jaeger <aj@suse.de>
1226
1227 * nscd/nscd.c (go_background): Replaced with...
1228 (run_mode): ... this.
1229 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1230 (options): Add -F --foreground.
1231 (main): Implement it.
1232 (parse_opt): Parse it.
1233
12342012-05-09 Andreas Jaeger <aj@suse.de>
1235
1236 [BZ #14083]
1237 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1238 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1239 -Wconversion warning.
1240 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1241 Likewise.
1242
12432012-05-09 Joseph Myers <joseph@codesourcery.com>
1244
1245 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1246 == 0.
1247 (LC_ALL): Use macro-int-constant.
1248 (LC_COLLATE): Likewise.
1249 (LC_CTYPE): Likewise.
1250 (LC_MESSAGES): Likewise.
1251 (LC_MONETARY): Likewise.
1252 (LC_NUMERIC): Likewise.
1253 (LC_TIME): Likewise.
1254 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1255 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1257 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1258 Specify type.
1259 [C99-based standards] (float_t): Expect type.
1260 [C99-based standards] (double_t): Expect type.
1261 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1262 type.
1263 [C99-based standards] (HUGE_VALL): Likewise.
1264 [C99-based standards] (INFINITY): Likewise.
1265 [C99-based standards] (NAN): Likewise.
1266 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1267 [C99-based standards] (FP_NAN): Likewise.
1268 [C99-based standards] (FP_NORMAL): Likewise.
1269 [C99-based standards] (FP_SUBNORMAL): Likewise.
1270 [C99-based standards] (FP_ZERO): Likewise.
1271 [C99-based standards] (FP_FAST_FMA): Use
1272 optional-macro-int-constant. Specify type. Require == 1.
1273 [C99-based standards] (FP_FAST_FMAF): Likewise.
1274 [C99-based standards] (FP_FAST_FMAL): Likewise.
1275 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1276 [C99-based standards] (FP_ILOGBNAN): Likewise.
1277 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1278 Specify type.
1279 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1280 [C99-based standards] (math_errhandling): Specify type.
1281 [ISO99 || ISO11] (signgam): Do not allow.
1282 [non-C99-based standards] (copysignf): Do not allow.
1283 [non-C99-based standards] (exp2f): Likewise.
1284 [non-C99-based standards] (log2f): Likewise.
1285 [non-C99-based standards] (modff): Allow.
1286 [non-C99-based standards] (erff): Do not allow.
1287 [non-C99-based standards] (erfcf): Likewise.
1288 [non-C99-based standards] (gammaf): Likewise.
1289 [non-C99-based standards] (hypotf): Likewise.
1290 [non-C99-based standards] (j0f): Likewise.
1291 [non-C99-based standards] (j1f): Likewise.
1292 [non-C99-based standards] (jnf): Likewise.
1293 [non-C99-based standards] (lgammaf): Likewise.
1294 [non-C99-based standards] (tgammaf): Likewise.
1295 [non-C99-based standards] (y0f): Likewise.
1296 [non-C99-based standards] (y1f): Likewise.
1297 [non-C99-based standards] (ynf): Likewise.
1298 [non-C99-based standards] (isnanf): Likewise.
1299 [non-C99-based standards] (acoshf): Likewise.
1300 [non-C99-based standards] (asinhf): Likewise.
1301 [non-C99-based standards] (atanhf): Likewise.
1302 [non-C99-based standards] (cbrtf): Likewise.
1303 [non-C99-based standards] (expm1f): Likewise.
1304 [non-C99-based standards] (ilogbf): Likewise.
1305 [non-C99-based standards] (log1pf): Likewise.
1306 [non-C99-based standards] (logbf): Likewise.
1307 [non-C99-based standards] (nextafterf): Likewise.
1308 [non-C99-based standards] (remainderf): Likewise.
1309 [non-C99-based standards] (rintf): Likewise.
1310 [non-C99-based standards] (scalbf): Likewise.
1311 [non-C99-based standards] (copysignl): Likewise.
1312 [non-C99-based standards] (exp2l): Likewise.
1313 [non-C99-based standards] (log2l): Likewise.
1314 [non-C99-based standards] (modfl): Allow.
1315 [non-C99-based standards] (erfl): Do not allow.
1316 [non-C99-based standards] (erfcl): Likewise.
1317 [non-C99-based standards] (gammal): Likewise.
1318 [non-C99-based standards] (hypotl): Likewise.
1319 [non-C99-based standards] (j0l): Likewise.
1320 [non-C99-based standards] (j1l): Likewise.
1321 [non-C99-based standards] (jnl): Likewise.
1322 [non-C99-based standards] (lgammal): Likewise.
1323 [non-C99-based standards] (tgammal): Likewise.
1324 [non-C99-based standards] (y0l): Likewise.
1325 [non-C99-based standards] (y1l): Likewise.
1326 [non-C99-based standards] (ynl): Likewise.
1327 [non-C99-based standards] (isnanl): Likewise.
1328 [non-C99-based standards] (acoshl): Likewise.
1329 [non-C99-based standards] (asinhl): Likewise.
1330 [non-C99-based standards] (atanhl): Likewise.
1331 [non-C99-based standards] (cbrtl): Likewise.
1332 [non-C99-based standards] (expm1l): Likewise.
1333 [non-C99-based standards] (ilogbl): Likewise.
1334 [non-C99-based standards] (log1pl): Likewise.
1335 [non-C99-based standards] (logbl): Likewise.
1336 [non-C99-based standards] (nextafterl): Likewise.
1337 [non-C99-based standards] (remainderl): Likewise.
1338 [non-C99-based standards] (rintl): Likewise.
1339 [non-C99-based standards] (scalbl): Likewise.
1340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1341 [non-C99-based standards] (FP_*): Do not allow.
1342 [C99-based standards] (FP_*): Change to
1343 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1344 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1345 allow.
1346 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1347 (SIG_ERR): Likewise.
1348 [X/Open-based standards] (SIG_HOLD): Likewise.
1349 (SIG_IGN): Likewise.
1350 (SIGABRT): Use macro-int-constant. Specify type. Require
1351 positive value.
1352 (SIGFPE): Likewise.
1353 (SIGILL): Likewise.
1354 (SIGINT): Likewise.
1355 (SIGSEGV): Likewise.
1356 (SIGTER): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1375 [X/Open-based standards] (SIGTRAP): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1380 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1381 allow.
1382
13832012-05-08 Ian Wienand <ianw@vmware.com>
1384
1385 [BZ #14080]
1386 * time/tzset.c (__tzset_parse_tz): Update default rules for
1387 daylight time changes in the Energy Policy Act of 2005.
1388
13892012-05-09 Andreas Jaeger <aj@suse.de>
1390
1391 [BZ #13983]
1392 * elf/ldconfig.c (parse_conf): Change string to make clear that
1393 ldconfig only issued a warning if ld.so.conf does not exist.
1394
13952012-05-08 David S. Miller <davem@davemloft.net>
1396
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1398 movxtod instead of popping the value on the stack.
1399
1400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1401
14022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1403
1404 * config.h.in: Add HAVE_ARM_PCS_VFP.
1405
14062012-05-08 Roland Mc Grath <roland@hack.frob.com>
1407
1408 [BZ #13979]
1409 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1410 checking but the checks are disabled for any reason.
1411
14122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1415 and ELF64_R_TYPE with ELFW(R_TYPE).
1416
14172012-05-08 Joseph Myers <joseph@codesourcery.com>
1418
1419 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1420 (ulimit): Likewise.
1421
1422 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1423 (settimeofday): Likewise.
1424
14252012-05-08 Mike Frysinger <vapier@gentoo.org>
1426
1427 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1428 a struct th_u2 inside the union, and move tu_block/tu_code into
1429 a new th_u3 union of tu_block/tu_code inside of that. Move
1430 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1431 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1432 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1433 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1434 (th_stuff): Change to th_u1.tu_stuff.
1435 (th_data): Define.
1436 (th_msg): Change to th_u1.th_u2.tu_data.
1437
14382012-05-07 David S. Miller <davem@davemloft.net>
1439
1440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1441
1442 [BZ #14074]
1443 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1444 (SETUP_PIC_REG): Use it.
1445 (SETUP_PIC_REG_LEAF): Use it.
1446
14472012-05-07 Joseph Myers <joseph@codesourcery.com>
1448
1449 [BZ #13885]
1450 [BZ #13923]
1451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1452 USE_AS_EXPM1L.
1453 (EXPL_FINITE): Likewise.
1454 (FLDLOG): Likewise.
1455 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1456 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1457 e_expl.S.
1458 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1459 USE_AS_EXPM1L.
1460 (EXPL_FINITE): Likewise.
1461 (FLDLOG): Likewise.
1462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1463 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1464 e_expl.S.
1465 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1466 test of -max_value argument for long double.
1467 * sysdeps/i386/fpu/libm-test-ulps: Update.
1468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1469
14702012-05-06 David S. Miller <davem@davemloft.net>
1471
1472 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1473 quad soft-float symbols whose references which are compiler
1474 generated.
1475 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1476
14772012-05-06 Joseph Myers <joseph@codesourcery.com>
1478
1479 [BZ #13884]
1480 [BZ #13914]
1481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1482 USE_AS_EXP10L.
1483 (EXPL_FINITE): Likewise.
1484 (FLDLOG): Likewise.
1485 (c0): Likewise.
1486 (c1): Likewise.
1487 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1488 Adjust comments for base varying.
1489 (__expl_finite): Change alias to EXPL_FINITE.
1490 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1491 e_expl.S.
1492 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1493 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1495 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1497 USE_AS_EXP10L.
1498 (EXPL_FINITE): Likewise.
1499 (FLDLOG): Likewise.
1500 (c0): Likewise.
1501 (c1): Likewise.
1502 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1503 Adjust comments for base varying.
1504 (__expl_finite): Change alias to EXPL_FINITE.
1505 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1506 tests for bugs.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1508
1509 [BZ #14064]
1510 * math/libm-test.inc (check_float_internal): Correct ulp
1511 calculation for subnormal expected results.
1512
15132012-05-06 Andreas Jaeger <aj@suse.de>
1514
1515 * Makeconfig (+math-flags): New, set to -frounding-math.
1516 (+cflags): Add +math-flags so that all of glibc gets compiled with
1517 it.
1518
1519 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1520
15212012-05-05 Joseph Myers <joseph@codesourcery.com>
1522
1523 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1524 Disable one test.
1525
1526 [BZ #13787]
1527 [BZ #13922]
1528 [BZ #14036]
1529 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1530 (__ieee754_expl): Allow for and saturate large arguments.
1531 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1532 (u_threshold): Likewise.
1533 (__exp): Call __ieee754_exp before checking for overflow and
1534 underflow.
1535 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1536 (u_threshold): Likewise.
1537 (__expf): Call __ieee754_expf before checking for overflow and
1538 underflow.
1539 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1540 (u_threshold): Likewise.
1541 (__expl): Call __ieee754_expl before checking for overflow and
1542 underflow.
1543 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1544 (__ieee754_expl): Allow for and saturate large arguments.
1545 * math/libm-test.inc (exp_test): Add another test. Do not allow
1546 missing overflow exception on overflow.
1547 (expm1_test): Do not allow missing overflow exception on overflow.
1548
1549 * sysdeps/i386/fpu/e_expl.c: Move to ...
1550 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1551 rather than using inline asm.
1552 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1553 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1554 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1555
1556 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1557 (nice): Likewise.
1558 (poll): Likewise.
1559 (signal): Likewise.
1560 (time): Likewise.
1561 (times): Likewise.
1562
15632012-05-04 Joseph Myers <joseph@codesourcery.com>
1564
1565 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1566 sysdeps/unix/common/syscalls.list.
1567 (fchmod): Likewise.
1568 (fchown): Likewise.
1569 (ftruncate): Likewise.
1570 (getrusage): Likewise.
1571 (gettimeofday): Likewise.
1572 (setpgid): Likewise.
1573 (setregid): Likewise.
1574 (setreuid): Likewise.
1575 (sigaction): Likewise.
1576 (truncate): Likewise.
1577 (vhangup): Likewise.
1578 * sysdeps/unix/common/syscalls.list: Remove file.
1579 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1580 * sysdeps/unix/sysv/linux/Implies: Likewise.
1581
15822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1586 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1587 Moved to ...
1588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1589 Here.
1590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1591 to ...
1592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1594 to ...
1595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1596 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1597 to ...
1598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1599 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1600 to ...
1601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1602 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1603 to ...
1604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1605 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1606 to ...
1607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1608 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1609 to ...
1610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1611 Here.
1612 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1613 to ...
1614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1615 Here.
1616 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1617 to ...
1618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1619 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1620 Moved to ...
1621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1622 Here.
1623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1624 to ...
1625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1626
16272012-05-04 Joseph Myers <joseph@codesourcery.com>
1628
1629 * sysdeps/unix/common/bits/dirent.h: Remove file.
1630 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1631
1632 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1633 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1634 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1635 * sysdeps/unix/bsd/isatty.c: Likewise.
1636 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1637 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1638 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1639
16402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 [BZ #13563]
1643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1644 long double comparison inaccuracies.
1645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1647
16482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1649
1650 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1652
16532012-05-04 Joseph Myers <joseph@codesourcery.com>
1654
1655 [BZ #14049]
1656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1657 nonzero digits before rounding a hex value.
1658 * stdlib/tst-strtod.c (tests): Add another test.
1659
16602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1661
1662 * sysdeps/s390/fpu/libm-test-ulps: Update.
1663
16642012-05-03 Andreas Jaeger <aj@suse.de>
1665
1666 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1667 does not get optimized out.
1668 (malloc_opt_barrier): New.
1669
16702012-05-03 Andreas Jaeger <aj@suse.de>
1671 Roland McGrath <roland@hack.frob.com>
1672
1673 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1674 intermediate file deletion.
1675 (generated): Add .symlist files.
1676
16772012-05-03 Joseph Myers <joseph@codesourcery.com>
1678
1679 [BZ #13775]
1680 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1681 Redirect under this condition.
1682 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1683 [__USE_GNU] (__dprintf_chk): Not under this condition.
1684 [__USE_GNU] (__vdprintf_chk): Likewise.
1685 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1686 under this condition.
1687 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1688 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1689 [__USE_XOPEN2K8] (vdprintf): Likewise.
1690 [__USE_GNU] (__dprintf_chk): Not under this condition.
1691 [__USE_GNU] (__vdprintf_chk): Likewise.
1692 [__USE_GNU] (dprintf): Likewise.
1693 [__USE_GNU] (vdprintf): Likewise.
1694
16952012-05-03 Roland McGrath <roland@hack.frob.com>
1696
1697 * elf/Makefile (common-generated): Set this instead of generated for
1698 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1699 $(all-built-dso)-derived lists.
1700
17012012-05-03 Andreas Jaeger <aj@suse.de>
1702
1703 * sysdeps/i386/fpu/libm-test-ulps: Update.
1704
1705 * FAQ: Removed.
1706 * FAQ.in: Likewise.
1707 * scripts/gen-FAQ.pl: Likewise.
1708 * manual/install.texi (Installation): Point to online location of
1709 FAQ.
1710 * Makefile (files-for-dist): Remove FAQ.
1711 (FAQ): Remove.
1712
17132012-05-02 Allan McRae <allan@archlinux.org>
1714
1715 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1716 (LDFLAGS-reldepmod5.so): Likewise.
1717 (LDFLAGS-reldep6mod1.so): Likewise.
1718 (LDFLAGS-reldep6mod4.so): Likewise.
1719 (LDFLAGS-reldep8mod3.so): Likewise.
1720 (LDFLAGS-unload4mod1.so): Likewise.
1721 (LDFLAGS-unload4mod2.so): Likewise.
1722 (LDFLAGS-tst-initorder): Likewise.
1723 (LDFLAGS-tst-initordera2.so): Likewise.
1724 (LDFLAGS-tst-initordera3.so): Likewise.
1725 (LDFLAGS-tst-initordera4.so): Likewise.
1726 (LDFLAGS-tst-initorderb2.so): Likewise.
1727 (LDFLAGS-noload): Likewise.
1728 (LDFLAGS-next): Likewise.
1729 (LDFLAGS-order2mod1.so): Likewise.
1730 (LDFLAGS-order2mod2.so): Likewise.
1731 (LDFLAGS-tst-initorder2): Likewise.
1732 (LDFLAGS-tst-initorder2a.so): Likewise.
1733 (LDFLAGS-tst-initorder2b.so): Likewise.
1734 (LDFLAGS-tst-initorder2c.so): Likewise.
1735 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1736
17372012-05-02 David S. Miller <davem@davemloft.net>
1738
1739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1740
17412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1742
1743 [BZ #14055]
1744 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1745
17462012-05-02 Andreas Jaeger <aj@suse.de>
1747
1748 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1749 since we manipulate rounding mode.
1750 (CPPFLAGS-test-idouble.c): Likewise.
1751 (CPPFLAGS-test-ifloat.c): Likewise.
1752 (CFLAGS-test-ldouble.c): Likewise.
1753 (CFLAGS-test-double.c): Likewise.
1754 (CFLAGS-test-float.c): Likewise.
1755 (CFLAGS-test-misc.c): Likewise.
1756 (CFLAGS-test-test-fenv.c): Likewise.
1757
17582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1759
1760 [BZ #2550]
1761 [BZ #2570]
1762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1763 comparisons to determine direction to adjust input.
1764
17652012-05-01 Roland McGrath <roland@hack.frob.com>
1766
1767 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1768 output to the target.
1769
1770 * scripts/localplt.awk: New file.
1771 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1772 (check-localplt-CFLAGS): Variable removed.
1773 ($(all-built-dso:=.jmprel)): New static pattern rule.
1774 (generated): Add those targets.
1775 (localplt-built-dso): New variable.
1776 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1777
1778 * elf/check-localplt.c: File removed.
1779
1780 * scripts/check-execstack.awk: New file.
1781 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1782 (check-execstack-CFLAGS): Variable removed.
1783 ($(objpfx)check-execstack.h): Target removed.
1784 ($(objpfx)execstack-default): New target.
1785 (generated): Add that instead of check-execstack.h.
1786 ($(all-built-dso:=.phdr)): New static pattern rule.
1787 (generated): Add those targets.
1788 * elf/check-execstack.c: File removed.
1789
1790 * scripts/check-textrel.awk: New file.
1791 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1792 (check-textrel-CFLAGS): Variable removed.
1793 (all-built-dso): Use := to define.o
1794 ($(all-built-dso:=.dyn)): New static pattern rule.
1795 (generated): Add those targets.
1796 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1797 * config.make.in (READELF): New substituted variable.
1798 * elf/check-textrel.c: File removed.
1799
18002012-05-01 Joseph Myers <joseph@codesourcery.com>
1801
1802 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1803 allow.
1804 * conform/data/ctype.h-data [C99-based standards] (isblank):
1805 Expect function.
1806 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1807 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1809 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1810 Specify type. Require positive value.
1811 (EILSEQ): Likewise.
1812 (ERANGE): Likewise.
1813 [ISO || POSIX] (EILSEQ): Do not expect.
1814 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1815 Specify type. Require positive value.
1816 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1835 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1837 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1840 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1843 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1844 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1845 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1846 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1847 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1848 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1849 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1850 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1851 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1852 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1853 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1854 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1855 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1856 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1857 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1858 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1859 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1860 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1861 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1862 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1863 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1864 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1865 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1866 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1867 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1868 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1869 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1870 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1871 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1872 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1873 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1874 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1875 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1876 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1877 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1878 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1879 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1880 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1881 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1882 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1883 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1884 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1890 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1891 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1892 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1893 Require >= 2.
1894 (FLT_ROUNDS): Expect as macro, not constant.
1895 (FLT_MANT_DIG): Use macro-int-constant.
1896 (DBL_MANT_DIG): Likewise.
1897 (LDBL_MANT_DIG): Likewise.
1898 (FLT_DIG): Likewise.
1899 (DBL_DIG): Likewise.
1900 (LDBL_DIG): Likewise.
1901 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1902 (DBL_MIN_EXP): Likewise.
1903 (LDBL_MIN_EXP): Likewise.
1904 (FLT_MAX_EXP): Use macro-int-constant.
1905 (DBL_MAX_EXP): Likewise.
1906 (LDBL_MAX_EXP): Likewise.
1907 (FLT_MAX_10_EXP): Likewise.
1908 (DBL_MAX_10_EXP): Likewise.
1909 (LDBL_MAX_10_EXP): Likewise.
1910 (FLT_MAX): Use macro-constant.
1911 (DBL_MAX): Likewise.
1912 (LDBL_MAX): Likewise.
1913 (FLT_EPSILON): Use macro-constant. Give upper bound.
1914 (DBL_EPSILON): Likewise.
1915 (LDBL_EPSILON): Likewise.
1916 (FLT_MIN): Likewise.
1917 (DBL_MIN): Likewise.
1918 (LDBL_MIN): Likewise.
1919 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1920 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1921 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1922 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1923 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1924 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1925 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1926 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1927 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1928 [ISO11] (FLT_TRUE_MIN): Likewise.
1929 [ISO11] (LDBL_TRUE_MIN): Likewise.
1930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1931 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1932 (SCHAR_MIN): Use macro-int-constant. Specify type.
1933 (SCHAR_MAX): Likewise.
1934 (UCHAR_MAX): Likewise.
1935 (CHAR_MIN): Likewise.
1936 (CHAR_MAX): Likewise.
1937 (MB_LEN_MAX): Use macro-int-constant.
1938 (SHRT_MIN): Use macro-int-constant. Specify type.
1939 (SHRT_MAX): Likewise.
1940 (USHRT_MAX): Likewise.
1941 (INT_MAX): Likewise.
1942 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1943 bound negative.
1944 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1945 bound with "U".
1946 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1947 bound with "L".
1948 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1949 bound negative. Suffix upper bound with "L".
1950 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1951 bound with "UL".
1952 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1953 Specify type.
1954 [C99-based standards] (LLONG_MAX): Likewise.
1955 [C99-based standards] (ULLONG_MAX): Likewise.
1956 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1957 == 0.
1958 [ISO11] (max_align_t): Require type.
1959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1960
1961 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1962 from $CFLAGS, without defining away __attribute__ calls.
1963 (checknamespace): Use $CFLAGS_namespace.
1964
1965 * conform/conformtest.pl (@keywords): Only include C99 keywords
1966 for standards based on C99 or C11.
1967
1968 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1969 Disable tests.
1970 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1971 UNIX98]: Likewise.
1972
1973 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1974 usability of symbols in #if.
1975
1976 * conform/conformtest.pl: If macro or constant types start
1977 "promoted:", expect the symbol to be of the following type
1978 promoted by the integer promotions.
1979
1980 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1981 in one place. Also handle "macro-constant".
1982
1983 * conform/conformtest.pl: Only accept expected macro values with
1984 "==". Parse all "macro" lines in one place.
1985 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1986
1987 * conform/conformtest.pl: Handle braced types on "constant" lines
1988 instead of handling "typed-constant".
1989 * conform/data/signal.h-data: Use "constant" instead of
1990 "typed-constant".
1991
1992 * conform/conformtest.pl: Handle "optional-" at start of lines in
1993 one place rather than duplicating several cases. Handle each
1994 format of "macro" line with initial "optional-".
1995
1996 * conform/conformtest.pl: Only accept expected constant or
1997 optional-constant values with "==". Parse all "constant" lines in
1998 one place. Parse all "optional-constant" lines in one place.
1999 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2000 * conform/data/fmtmsg.h-data: Likewise.
2001 * conform/data/netinet/in.h-data: Likewise.
2002 * conform/data/tar.h-data: Likewise.
2003 * conform/data/limits.h-data: Use "==" form on "constant" and
2004 "optional-constant" lines.
2005
2006 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2007 Use -std=c99 for XOPEN2K.
2008 (@knownproblems): Remove.
2009 (newtoken): Don't check %isknown.
2010
2011 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2012 Do not expect macro.
2013 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2025 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2026 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2043 [XPG3] (acosh): Likewise.
2044 [XPG3] (asinh): Likewise.
2045 [XPG3] (atanh): Likewise.
2046 [XPG3] (cbrt): Likewise.
2047 [XPG3] (expm1): Likewise.
2048 [XPG3] (ilogb): Likewise.
2049 [XPG3] (log1p): Likewise.
2050 [XPG3] (logb): Likewise.
2051 [XPG3] (nextafter): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2054 [XPG3] (remainder): Likewise.
2055 [XPG3] (rint): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2063 [UNIX98 || XOPEN2K] (scalb): Expect.
2064 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2065 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2159 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2160 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2161 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2164 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2165 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2167 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2171 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2179 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2201
2202 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2203 _XOPEN_SOURCE_EXTENDED for XPG4.
2204
2205 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2206
2207 * Makeconfig (localtime): Remove variable.
2208 (inst_localtime-file): Likewise.
2209
22102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2211
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2213 Update.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2215 Update.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2217 Update.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2219 Update.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2221 Update.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2223 Update.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2225 Update.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2227 Update.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2229 Update.
2230
22312012-05-01 Joseph Myers <joseph@codesourcery.com>
2232
2233 [BZ #2550]
2234 [BZ #2570]
2235 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2236 comparisons to determine direction to adjust input.
2237 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2238 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2240 Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2242 Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2244 Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2247 Likewise.
2248 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2249 Likewise.
2250 * math/libm-test.inc (nexttoward_test): Add more tests.
2251
22522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2253
2254 [BZ #14040]
2255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2256 in version GLIBC_2.1, not GLIBC_2.0.
2257 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2258 Likewise.
2259
22602012-04-30 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #13942]
2263 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2264 (1 - x) * (1 + x).
2265 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2266 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2267 * math/libm-test.inc (acos_test): Add more tests.
2268 (asin_test): Likewise.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271
2272 [BZ #14034]
2273 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2274 of square root.
2275 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2277 * math/libm-test.inc (acos_test_tonearest): New function.
2278 (acos_test_towardzero): Likewise.
2279 (acos_test_downward): Likewise.
2280 (acos_test_upward): Likewise.
2281 (asin_test_tonearest): Likewise.
2282 (asin_test_towardzero): Likewise.
2283 (asin_test_downward): Likewise.
2284 (asin_test_upward): Likewise.
2285 (main): Call the new functions.
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2288
2289 [BZ #13884]
2290 [BZ #13924]
2291 * math/e_exp10.c: Include <float.h>.
2292 (__ieee754_exp10): Handle underflow here rather than multiplying
2293 large negative argument by M_LN10.
2294 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2295 of __ieee754_expf.
2296 * math/e_exp10l.c: Include <float.h>.
2297 (__ieee754_exp10l): Handle underflow here rather than multiplying
2298 large negative argument by M_LN10l.
2299 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2300 spurious overflow exception on underflow.
2301
23022012-04-29 Marek Polacek <polacek@redhat.com>
2303
2304 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2305 (__fortify_function): New macro.
2306 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2307 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2308 __extern_always_inline.
2309 * libio/bits/stdio2.h: Likewise.
2310 * libio/bits/stdio.h: Likewise.
2311 * string/string.h: Likewise.
2312 * string/bits/string3.h: Likewise.
2313 * include/stdio.h: Likewise.
2314 * stdlib/bits/stdlib.h: Likewise.
2315 * stdlib/stdlib.h: Likewise.
2316 * rt/bits/mqueue2.h: Likewise.
2317 * rt/mqueue.h: Likewise.
2318 * posix/bits/unistd.h: Likewise.
2319 * posix/unistd.h: Likewise.
2320 * io/bits/poll2.h: Likewise.
2321 * io/bits/fcntl2.h: Likewise.
2322 * io/fcntl.h: Likewise.
2323 * io/sys/poll.h: Likewise.
2324 * misc/bits/syslog.h: Likewise.
2325 * misc/bits/syslog-ldbl.h: Likewise.
2326 * misc/sys/syslog.h: Likewise.
2327 * socket/bits/socket2.h: Likewise.
2328 * socket/sys/socket.h: Likewise.
2329 * debug/tst-chk1.c: Likewise.
2330 * wcsmbs/bits/wchar2.h: Likewise.
2331 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2332 * wcsmbs/wchar.h: Likewise.
2333
23342012-04-29 Andreas Jaeger <aj@suse.de>
2335
2336 * Makerules (tests): Remove enable-check-abi protection.
2337 (check-abi-warn): Remove.
2338 (check-abi-%): Remove check-abi-warn usage.
2339
2340 * configure.in: Remove check-abi configure option.
2341 * configure: Regenerated.
2342 * config.make.in (enable-check-abi): Remove.
2343
23442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2345
2346 [BZ #14033]
2347 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2348 double functions to double *_finite functions.
2349
2350 [BZ #13941]
2351 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2352 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2353 LDBL_MIN_EXP.
2354 * stdio-common/Makefile (tests): Add tst-sprintf3.
2355 * stdio-common/tst-sprintf3.c: New file.
2356
2357 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2358 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2359
23602012-04-28 Joseph Myers <joseph@codesourcery.com>
2361
2362 * conform/conformtest.pl: Remove duplicate typed-constant
2363 handling.
2364
23652012-04-28 David S. Miller <davem@davemloft.net>
2366
2367 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2368 (check-abi-%): Remove AWK script prerequisite and explicit
2369 abilist directory.
2370 (check-abi): Rewrite to just diff the symlist with the abilist.
2371 (config-tls, config-abi-config): Delete, no longer used.
2372 (update-abi-%): Remove AWK script and explicit abilist directory.
2373 (update-abi): Rewrite to simply compare and conditionally copy the
2374 symlist and the sysdep abilist file. Remove update-abi-config
2375 checks.
2376 * abilist/ld.abilist: Remove.
2377 * abilist/libBrokenLocale.abilist: Remove.
2378 * abilist/libanl.abilist: Remove.
2379 * abilist/libcrypt.abilist: Remove.
2380 * abilist/libdl.abilist: Remove.
2381 * abilist/librt.abilist: Remove.
2382 * abilist/libthread_db.abilist: Remove.
2383 * abilist/libutil.abilist: Remove.
2384 * scripts/extract-abilist.awk: Remove.
2385 * scripts/merge-abilist.awk: Remove.
2386 * sysdeps/generic/libcidn.abilist: New file.
2387 * sysdeps/generic/libnss_compat.abilist: New file.
2388 * sysdeps/generic/libnss_db.abilist: New file.
2389 * sysdeps/generic/libnss_dns.abilist: New file.
2390 * sysdeps/generic/libnss_files.abilist: New file.
2391 * sysdeps/generic/libnss_hesiod.abilist: New file.
2392 * sysdeps/generic/libnss_nis.abilist: New file.
2393 * sysdeps/generic/libnss_nisplus.abilist: New file.
2394 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2395 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2396 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2397 file.
2398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2399 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2400 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2401 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2402 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2403 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2404 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2405 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2406 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2407 file.
2408 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2409 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2410 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2411 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2412 file.
2413 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2414 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2415 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2416 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2417 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2418 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2419 file.
2420 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2421 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2422 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2423 file.
2424 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2426 New file.
2427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2428 New file.
2429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2430 New file.
2431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2432 New file.
2433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2434 New file.
2435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2436 New file.
2437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2438 New file.
2439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2440 New file.
2441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2442 New file.
2443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2444 New file.
2445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2446 New file.
2447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2448 New file.
2449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2450 New file.
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2452 file.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2454 New file.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2456 New file.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2458 file.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2460 New file.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2462 New file.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2464 file.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2466 New file.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2468 New file.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2470 New file.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2472 New file.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2474 New file.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2476 New file.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2479 file.
2480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2481 New file.
2482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2483 file.
2484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2485 file.
2486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2487 file.
2488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2489 file.
2490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2491 file.
2492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2493 New file.
2494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2495 file.
2496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2497 file.
2498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2499 New file.
2500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2501 file.
2502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2504 file.
2505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2506 New file.
2507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2508 file.
2509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2510 file.
2511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2512 file.
2513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2514 file.
2515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2516 file.
2517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2518 New file.
2519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2520 file.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2522 file.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2524 New file.
2525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2526 file.
2527 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2528 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2529 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2530 file.
2531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2532 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2533 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2534 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2535 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2536 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2537 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2538 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2539 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2540 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2543 file.
2544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2545 New file.
2546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2547 file.
2548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2549 file.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2551 file.
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2553 file.
2554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2555 file.
2556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2557 New file.
2558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2559 New file.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2561 file.
2562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2563 New file.
2564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2565 file.
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2568 file.
2569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2570 New file.
2571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2572 file.
2573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2574 file.
2575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2576 file.
2577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2578 file.
2579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2580 file.
2581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2582 New file.
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2584 New file.
2585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2586 file.
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2588 New file.
2589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2590 file.
2591
25922012-04-28 Joseph Myers <joseph@codesourcery.com>
2593
2594 * conform/conformtest.pl: Fix typo in handling typed-constant from
2595 allow-header.
2596
25972012-04-27 Joseph Myers <joseph@codesourcery.com>
2598
2599 * README: Cut down references to pre-2.6 Linux kernels and
2600 Linuxthreads. Update lists of configurations in libc and ports
2601 and sort alphabetically. Say "or newer" with Linux kernel version
2602 requirements.
2603
2604 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2605
26062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2607
2608 [BZ #887]
2609 * math/libm-test.inc (logb_test_downward): New test to expose
2610 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2611 rounding mode.
2612
26132012-04-27 Joseph Myers <joseph@codesourcery.com>
2614
2615 [BZ #14027]
2616 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2617 to be done.
2618 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2619 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2620
26212012-04-26 Joseph Myers <joseph@codesourcery.com>
2622
2623 * sysdeps/unix/i386/brk.S: Remove file.
2624 * sysdeps/unix/i386/dl-brk.S: Likewise.
2625 * sysdeps/unix/i386/pipe.S: Likewise.
2626 * sysdeps/unix/i386/sigreturn.S: Likewise.
2627 * sysdeps/unix/i386/syscall.S: Likewise.
2628 * sysdeps/unix/i386/vfork.S: Likewise.
2629 * sysdeps/unix/i386/wait.S: Likewise.
2630
2631 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2632 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2633
2634 * configure.in (arm*-none*): Do not allow without
2635 --enable-hacker-mode.
2636 (netbsd*): Remove case setting base_os.
2637 (386bsd*): Likewise.
2638 (freebsd*): Likewise.
2639 (bsdi*): Likewise.
2640 (osf*): Likewise.
2641 (sunos*): Likewise.
2642 (ultrix*): Likewise.
2643 (newsos*): Likewise.
2644 (dynix*): Likewise.
2645 (*bsd*): Likewise.
2646 (sysv*): Likewise.
2647 (isc*): Likewise.
2648 (esix*): Likewise.
2649 (sco*): Likewise.
2650 (minix*): Likewise.
2651 (irix4*): Likewise.
2652 (irix6*): Likewise.
2653 (solaris[2-9]*): Likewise.
2654 (none): Likewise.
2655 * configure: Regenerated.
2656
26572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2658
2659 [BZ #11521]
2660 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2661 overflow or cancellation in calculating denominator.
2662 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2664 down expression to avoid unexpected rounding in newer GCCs.
2665 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2666
26672012-04-26 David S. Miller <davem@davemloft.net>
2668
2669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2670 long-double compat symbols.
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2684
26852012-04-25 David S. Miller <davem@davemloft.net>
2686
2687 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2688 HWCAP_* values only after the memory barriers have been defined.
2689 (atomic_full_barrier): Define.
2690 (atomic_read_barrier): Define.
2691 (atomic_write_barrier): Define.
2692
26932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2694
2695 * shlib-versions: Add libgcc_s version information.
2696 * sysdeps/generic/libgcc_s.h: Remove.
2697 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2698 libgcc_s.h.
2699 * sysdeps/gnu/unwind-resume.c: Likewise.
2700 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2701
27022012-04-25 David S. Miller <davem@davemloft.net>
2703
2704 * sysdeps/unix/sparc/brk.S: Delete.
2705 * sysdeps/unix/sparc/dl-brk.S: Delete.
2706 * sysdeps/unix/sparc/pipe.S: Delete.
2707 * sysdeps/unix/sparc/sysdep.S: Delete.
2708 * sysdeps/unix/sparc/sysdep.h: Delete.
2709 * sysdeps/unix/sparc/vfork.S: Delete.
2710 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2711 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2712 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2713 ret_ERRVAL, r0, r1, MOVE): Define.
2714 (JUMPTARGET): Remove.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2716 sysdeps/unix/sparc/sysdep.h
2717 (ENTRY, END): Remove.
2718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2719
27202012-04-25 Joseph Myers <joseph@codesourcery.com>
2721
2722 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2723 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2724 -DIS_IN_build.
2725
2726 * timezone/README: Update upstream location and email address for
2727 tzcode and tzdata.
2728 * timezone/zdump.c: Update from tzcode 2012b.
2729 * timezone/zic.c: Likewise.
2730
2731 * configure.in (libc_cv_as_needed): Remove test.
2732 * configure: Regenerated.
2733 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2734 conditional definition.
2735 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2736 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2737 * config.make.in (have-as-needed): Remove variable.
2738
27392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2740 Paul Pluzhnikov <ppluzhnikov@google.com>
2741
2742 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2743 strings correctly.
2744
27452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2746
2747 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2748 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2749 * sysdeps/sh/strlen.S: Likewise.
2750
27512012-04-24 Joseph Myers <joseph@codesourcery.com>
2752
2753 * sysdeps/unix/fork.S: Remove file.
2754 * sysdeps/unix/i386/fork.S: Likewise.
2755 * sysdeps/unix/sparc/fork.S: Likewise.
2756
2757 * sysdeps/unix/system.c: Remove file.
2758 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2759
2760 * sysdeps/unix/getegid.S: Remove file.
2761 * sysdeps/unix/geteuid.S: Likewise.
2762
27632012-04-24 Roland McGrath <roland@hack.frob.com>
2764
2765 * scripts/check-localplt.awk: New file.
2766 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2767 of diff.
2768 * scripts/data/localplt-generic.data: Add a comment.
2769
2770 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2771 NODE when __dir_mkfile failed.
2772 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2773 Reported by Ludovic Courtès <ludo@gnu.org>.
2774
27752012-04-24 Andreas Jaeger <aj@suse.de>
2776
2777 * Makerules (common-clean): Also remove gen-as-const-headers
2778 files.
2779
27802012-04-24 Joseph Myers <joseph@codesourcery.com>
2781
2782 * Makerules (native-compile): Do not change working directory for
2783 build. Use $(OUTPUT_OPTION) in command.
2784 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2785
27862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787
2788 [BZ #13886]
2789 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2790 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2791 * math/libm-test.inc (floor_test): Add more tests.
2792 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2793
27942012-04-24 Joseph Myers <joseph@codesourcery.com>
2795
2796 * sysdeps/unix/getdents.c: Remove file.
2797 * sysdeps/unix/sysv/getdents.c: Likewise.
2798 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2799
2800 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2801 sysdeps/unix/mman/syscalls.list.
2802 (mmap): Likewise.
2803 (mprotect): Likewise.
2804 (msync): Likewise.
2805 (munmap): Likewise.
2806 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2807 * sysdeps/unix/mman/syscalls.list: Remove.
2808 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2809
2810 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2811 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2812 * configure: Regenerated.
2813 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2814 $(libgcc_s_suffix).
2815 * config.make.in (libgcc_s_suffix): Remove variable.
2816
28172012-04-23 Joseph Myers <joseph@codesourcery.com>
2818
2819 * sysdeps/unix/sysv/gethostname.c: Move to ...
2820 * sysdeps/posix/gethostname.c: ... here.
2821
2822 * sysdeps/unix/execve.S: Remove file.
2823
2824 * sysdeps/unix/_exit.S: Remove file.
2825
28262012-04-23 Andreas Jaeger <aj@suse.de>
2827
2828 [BZ #13739]
2829 * manual/Makefile: Remove make dist support, there's no
2830 need for a stand-alone documentation tar ball.
2831 (TEXI2DVI): Define always, it's not in Makeconfig.
2832 (dist): Removed.
2833 (tar-it): Removed.
2834 (edition): Removed.
2835 (glibc-doc-$(edition).tar): Removed
2836 (%.Z): Removed.
2837 (%.gz): Removed.
2838 (%.uu): Removed.
2839 (ETAGS): Remove, it's in Makeconfig.
2840 (move-if-change): Remove, it's in Makeconfig.
2841
28422013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2843
2844 [BZ #13970]
2845 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2846 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2847 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2848 (strtod_l, strtof_l, strtold_l): Remove __wur.
2849 It is not necessarily an error to ignore strtol's return value.
2850 One can reliably look at the stored endptr to decide whether
2851 the number had valid syntax.
2852
28532012-04-21 Andreas Jaeger <aj@suse.de>
2854
2855 [BZ #13739]
2856 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2857
28582012-04-21 Joseph Myers <joseph@codesourcery.com>
2859
2860 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2861 * sysdeps/unix/sysv/Versions: Remove file.
2862
28632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2864
2865 [BZ #13927]
2866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2867
28682012-04-21 Nick Alcock <nick.alcock@oracle.com>
2869
2870 [BZ #7064]
2871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2872 version from __vm86.
2873
28742012-04-20 Joseph Myers <joseph@codesourcery.com>
2875
2876 * sysdeps/unix/common/lxstat.c: Remove file.
2877 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2878
2879 * sysdeps/unix/sysv/Makefile: Remove file.
2880
2881 * sysdeps/unix/sysv/direct.h: Remove file.
2882
2883 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2884 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2885 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2886 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2887 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2888 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2889 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2890
2891 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2892
2893 * sysdeps/unix/xmknod.c: Remove file.
2894 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2895
2896 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2897
2898 * sysdeps/unix/sysv/i386/time.S: Remove file.
2899
2900 * sysdeps/unix/fxstat.c: Remove file.
2901 * sysdeps/unix/xstat.c: Likewise.
2902 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2903
2904 * sysdeps/unix/sysv/sigaction.c: Remove file.
2905
2906 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2907 (sysdep_headers): Remove variable.
2908 [termio.h not in sysdep_headers] (generated): Likewise.
2909 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2910 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2911 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2912 * sysdeps/unix/sysv/tcflow.c: Likewise.
2913 * sysdeps/unix/sysv/tcflush.c: Likewise.
2914 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2915 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2916 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2917 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2918 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2919
2920 * sysdeps/unix/siglist.c: Remove file.
2921
2922 * sysdeps/unix/getppid.S: Remove file.
2923
2924 * sysdeps/unix/mkdir.c: Remove file.
2925 * sysdeps/unix/rmdir.c: Likewise.
2926
29272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2928
2929 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2930 ERR_MAX value.
2931 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2932 errlist-compat value.
2933
29342012-04-18 David S. Miller <davem@davemloft.net>
2935
2936 * sysdeps/generic/memcopy.h (reg_char): Delete.
2937 * debug/strcat_chk.c: Use char, not reg_char.
2938 * debug/strcpy_chk.c: Likewise.
2939 * debug/strncat_chk.c: Likewise.
2940 * debug/strncpy_chk.c: Likewise.
2941 * string/memchr.c: Likewise.
2942 * string/memrchr.c: Likewise.
2943 * string/rawmemchr.c: Likewise.
2944 * string/strcat.c: Likewise.
2945 * string/strchr.c: Likewise.
2946 * string/strchrnul.c: Likewise.
2947 * string/strcmp.c: Likewise.
2948 * string/strcpy.c: Likewise.
2949 * string/strncat.c: Likewise.
2950 * string/strncmp.c: Likewise.
2951 * string/strncpy.c: Likewise.
2952
29532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2954
2955 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2956 __builtin_memcopy is called when src and dest ranges are known to not
2957 overlap.
2958
29592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2960
2961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2962 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2963 fwd_align_merge macro call.
2964 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2965 bwd_align_merge macro call.
2966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2967
29682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2969
2970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2971 bwd_align_merge macros.
2972 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2973 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2974 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2975
29762012-04-18 David S. Miller <davem@davemloft.net>
2977
2978 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2979
29802012-04-18 Andreas Jaeger <aj@suse.de>
2981
2982 [BZ# 6794]
2983 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2984 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2986
2987 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2988 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2989 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2990
2991 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2992 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2993 Adjust for changed ldbl-128 files.
2994
2995 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2996 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2998
29992012-04-17 David S. Miller <davem@davemloft.net>
3000
3001 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3002
30032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3004
3005 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3006 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3007 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3008 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3009 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3010 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3011
30122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3013
3014 [BZ #6794]
3015 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3016 * math/libm-test.inc: Add ilogb errno and exception tests.
3017 * math/w_ilogb.c: New file: ilogb wrapper.
3018 * math/w_ilogbf.c: New file: ilogbf wrapper.
3019 * math/w_ilogbl.c: New file: ilogbl wrapper.
3020 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3021 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3022 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3023 exception being thrown with 0.0 as argument.
3024 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3025 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3026 exception being thrown with 0.0 as argument.
3027 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3028 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3029 exception being thrown with 0.0 as argument.
3030 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3031 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3032 exception being thrown with 0.0 as argument.
3033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3034 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3035 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3036 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3037 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3039 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3040 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3041 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3042
30432012-04-17 Petr Baudis <pasky@ucw.cz>
3044
3045 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3046 with altivec.
3047
30482012-04-16 Marek Polacek <polacek@redhat.com>
3049
3050 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3051
30522012-04-16 Marek Polacek <polacek@redhat.com>
3053
3054 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3055 operands of fdivp instruction.
3056
30572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3058
3059 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3060 * elf/tst-auditmod3b.c: Likewise.
3061 * elf/tst-auditmod4b.c: Likewise.
3062 * elf/tst-auditmod5b.c: Likewise.
3063 * elf/tst-auditmod6b.c: Likewise.
3064 * elf/tst-auditmod6c.c: Likewise.
3065 * elf/tst-auditmod7b.c: Likewise.
3066 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3067 * sysdeps/x86_64/preconfigure.in: Likewise.
3068 * sysdeps/x86_64/preconfigure: Regenerated.
3069
30702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3073 __ILP32__.
3074
30752012-04-13 Antoine Balestrat <merkil33@gmail.com>
3076
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3078 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3079
30802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3081
3082 [BZ #13973]
3083 * locale/iso-639.def: Fix gl language name. Spotted by
3084 Yaron Shahrabani.
3085
30862012-04-12 Roland McGrath <roland@hack.frob.com>
3087
3088 [BZ #2074]
3089 * libio/libio.h (__io_write_fn): Update comment.
3090
30912012-04-12 Petr Baudis <pasky@ucw.cz>
3092
3093 [BZ #2074]
3094 * stdio.texi (Hook Functions): The user provided writer function
3095 is not allowed to return -1.
3096
30972012-04-11 David S. Miller <davem@davemloft.net>
3098
3099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3100
31012012-04-11 Mike Frysinger <vapier@gentoo.org>
3102
3103 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3104 Add a leading slash to rtkaio.
3105
31062012-04-11 Jim Meyering <meyering@redhat.com>
3107
3108 [BZ #11959]
3109 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3110 It is not necessarily an error to ignore fwrite's return
3111 value. One can reliably use ferror to test for errors after
3112 the fact.
3113
31142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * bits/types.h (__snseconds_t): New type.
3117 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3118
3119 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3121 (__SNSECONDS_T_TYPE): Likewise.
3122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3123 (__SNSECONDS_T_TYPE): Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3125 (__SNSECONDS_T_TYPE): Likewise.
3126
31272012-04-10 Andreas Jaeger <aj@suse.de>
3128
3129 [BZ #2636]
3130 * manual/time.texi (Processor Time): Return type of times is
3131 elapsed real time since an arbitrary point in the past.
3132 (CPU Time): Move CLK_TCK from here...
3133 (Processor Time): ...to here. Correct description.
3134 * manual/conf.texi (Constants for Sysconf): Correct description of
3135 _SC_CLK_TCK.
3136
31372012-04-10 David S. Miller <davem@davemloft.net>
3138
3139 [BZ #13967]
3140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3141 where the is a gap between DT_REL(A) and DT_JMPREL.
3142
31432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3146 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3147 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3148
31492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
3151 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3152 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3153 (dl_main): Handle --inhibit-cache.
3154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3155 _dl_inhibit_cache.
3156 * elf/dl-load.c (_dl_map_object): Use it.
3157 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3158
31592012-04-09 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #13872]
3162 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3163 (__ieee754_powl): Saturate large exponents rather than testing for
3164 overflow of y*log2(x).
3165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3166 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3167 exceptions.
3168
3169 [BZ #11521]
3170 * math/s_ctan.c: Include <float.h>.
3171 (__ctan): Avoid internal overflow or cancellation in calculating
3172 denominator.
3173 * math/s_ctanf.c: Likewise.
3174 * math/s_ctanl.c: Likewise.
3175 * math/s_ctanh.c: Likewise.
3176 * math/s_ctanhf.c: Likewise.
3177 * math/s_ctanhl.c: Likewise.
3178 * math/libm-test.inc (ctan_test): Add more tests.
3179 (ctanh_test): Likewise.
3180 * sysdeps/i386/fpu/libm-test-ulps: Update.
3181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3182
31832012-04-09 Andreas Jaeger <aj@suse.de>
3184
3185 [BZ #6894]
3186 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3187 is an optional BSD extension.
3188
3189 [BZ #10254]
3190 * manual/stdio.texi (Opening Streams): Document additional fopen
3191 parameters.
3192
31932012-04-09 Roland McGrath <roland@hack.frob.com>
3194
3195 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3196 %eax without telling the compiler.
3197
31982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3199
3200 [BZ # 13963]
3201 * manual/install.texi: Use sourceware.org.
3202
32032012-04-09 Joseph Myers <joseph@codesourcery.com>
3204
3205 [BZ #13873]
3206 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3207 (__ieee754_pow): Generate overflow and underflow using huge*huge
3208 and tiny*tiny rather than just returning constant infinity or zero
3209 for large exponents.
3210 * math/libm-test.inc (pow_test): Require overflow exceptions for
3211 applicable cases of large exponents.
3212
3213 [BZ #706]
3214 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3215 (__ieee754_pow): Use iterative multiplication algorithm only for
3216 integer exponents with absolute value below 1024. Check for odd
3217 integer exponents when using algorithm for real exponents.
3218 * math/libm-test.inc (pow_test): Add more tests.
3219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3220
32212012-04-08 Joseph Myers <joseph@codesourcery.com>
3222
3223 [BZ #13705]
3224 * math/libm-test.inc (exp_test): Do not allow overflow exception
3225 on underflow test.
3226
32272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3228
3229 [BZ #13705]
3230 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3231 instead of __kernel_standard_f.
3232
32332012-04-08 Mike Frysinger <vapier@gentoo.org>
3234
3235 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3236 * sysdeps/x86_64/memset_chk.S: Likewise.
3237
32382012-04-08 Andreas Jaeger <aj@suse.de>
3239
3240 [BZ #10153]
3241 * manual/startup.texi (Environment Access): Describe return value
3242 for putenv and setenv.
3243
3244 [BZ #6895]
3245 * manual/filesys.texi (Directory Entries): Add description for
3246 DT_LNK.
3247
3248 [BZ #6890]
3249 * manual/filesys.texi (Directory Entries): Clarify that it's file
3250 system not operating system in the description of DT_UNKNOWN.
3251
3252 [BZ #6578]
3253 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3254
32552012-04-08 Stephen Compall <s11@member.fsf.org>
3256
3257 [BZ #6649]
3258 * manual/llio.texi (Opening and Closing Files): Add cross
3259 reference to explain mode argument.
3260
32612012-04-07 Mike Frysinger <vapier@gentoo.org>
3262
3263 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3264 * sysdeps/x86_64/memset_chk.S: Likewise.
3265
32662012-04-07 David S. Miller <davem@davemloft.net>
3267
3268 * elf/elf.h (R_SPARC_WDISP10): Define.
3269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3270 R_SPARC_SIZE32.
3271 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3272 R_SPARC_SIZE64 and R_SPARC_H34.
3273
32742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3275
3276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3277 conditions and remove no longer applicable assertion.
3278
32792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3280
3281 * bits/byteswap.h: Include <features.h>.
3282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3284
32852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3286
3287 * bits/byteswap.h (__bswap_16): Removed.
3288 Include <bits/byteswap-16.h> to get __bswap_16.
3289 * sysdeps/i386/bits/byteswap.h: Likewise.
3290 * sysdeps/s390/bits/byteswap.h: Likewise.
3291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3292 * bits/byteswap-16.h: New file.
3293 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3294 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3295 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3296 * string/Makefile (headers): Add bits/byteswap-16.h.
3297
32982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3299
3300 [BZ #13895]
3301 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3302 extra indirection.
3303 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3304 * nss/tst-nss-static.c: New.
3305
33062012-04-06 Robert Millan <rmh@gnu.org>
3307
3308 [BZ #6486]
3309 * manual/llio.texi (File Position Primitive): lseek
3310 refers to WHENCE when it really means OFFSET.
3311
33122012-04-06 Andreas Jaeger <aj@suse.de>
3313
3314 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3315 strncmp declarations.
3316
3317 * abilist/libc.abilist: Add __poll and __ppoll.
3318
33192012-04-05 David S. Miller <davem@davemloft.net>
3320
3321 * scripts/check-local-headers.sh: Accept a host triplet in the
3322 path matched by the exclude regexp.
3323
3324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3325 definition.
3326 * sysdeps/powerpc/powerpc32/dl-machine.h
3327 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3328 * sysdeps/s390/s390-32/dl-machine.h
3329 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3330 * sysdeps/sparc/sparc32/dl-machine.h
3331 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3332 * sysdeps/sparc/sparc64/dl-machine.h
3333 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3334
3335 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3336 lazy binding.
3337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3338 undefined symbol errors.
3339
3340 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3341 DT_NEEDED entries.
3342
33432012-04-05 Michael Matz <matz@suse.de>
3344
3345 [BZ #13592]
3346 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3347
33482012-04-05 Andreas Jaeger <aj@suse.de>
3349
3350 [BZ #13908]
3351 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3352 comment.
3353
33542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3355
3356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3357 which ROUND is no valid rounding mode.
3358
33592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3360
3361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3362 read again.
3363 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3364
33652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3366
3367 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3368 an exception using FPU order intentionally.
3369
33702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3371
3372 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3373 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3374 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3375 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3376
33772012-04-05 Simon Josefsson <simon@josefsson.org>
3378
3379 [BZ #12340]
3380 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3381 EINVAL when BUFLEN is too smal.
3382
33832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3384
3385 [BZ #13553]
3386 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3387 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3388
33892012-04-03 Andreas Jaeger <aj@suse.de>
3390
3391 [BZ #13938]
3392 * manual/setjmp.texi (System V contexts): Fix sentence.
3393
3394 [BZ #13926]
3395 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3396 New macro for this case.
3397 [!__GNUC__] (__bswap_64): New inline function for this case.
3398 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3399 * bits/byteswap.h: Likewise.
3400 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3401 ull, guard with __GLIBC_HAVE_LONG_LONG.
3402
3403 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3404 __GLIBC_HAVE_LONG_LONG.
3405
3406 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3407 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3408
34092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3410
3411 [BZ #13691]
3412 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3413 inptr and inend, rather than using last_ch.
3414
34152012-04-02 David S. Miller <davem@davemloft.net>
3416
3417 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3418 * stdio-common/printf-parse.h (read_int): Change return type to
3419 'int', return -1 on INT_MAX overflow.
3420 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3421 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3422 overflows INT_MAX. Check for overflow of in-format-string precision
3423 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3424 SIZE_MAX not INT_MAX for integer overflow test.
3425 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3426 skip the construct in the format string but do not record anything.
3427 * stdio-common/bug22.c: Adjust to test both width/prevision
3428 INT_MAX overflow as well as total length INT_MAX overflow. Check
3429 explicitly for proper errno values.
3430
34312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3432
3433 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3434 CHAR_MAX.
3435 * string/test-strcmp.c [! WIDE]: Likewise.
3436 * time/tst-mktime2.c: Likewise for INT_MAX.
3437 * string/test-string.h: #include <sys/param.h> for MIN.
3438
3439 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3440 * sysdeps/i386/init-first.c (init): Likewise.
3441 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3442 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3443 * sysdeps/sh/init-first.c (init): Likewise.
3444
34452012-04-01 Ulrich Drepper <drepper@gmail.com>
3446
3447 * po/ru.po: Update from translation team.
3448 * po/vi.po: Likewise.
3449
34502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3451
3452 * resolv/nss_dns/dns-host.c: Merge copyright years.
3453
34542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3455
3456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3457 Optimize memcpy with prefetch if
3458 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3459 src, dst pointers have unequal 16 byte alignments.
3460
34612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3462
3463 [BZ #13928]
3464 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3465 from a CNAME entry and return the minimum ttl for the query.
3466 (gaih_getanswer_slice): Likewise.
3467
34682012-03-30 Jeff Law <law@redhat.com>
3469
3470 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3471 due to long keys.
3472 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3473 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3474
3475 * resolv/nss_dns/dns-host.c: Update copyright year.
3476
34772012-03-30 Ulrich Drepper <drepper@gmail.com>
3478
3479 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3480 requests to save a system call. Fix check that all bytes are sent.
3481
3482 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3483 comments for sendmmsg.
3484
34852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3486
3487 [BZ #13691]
3488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3489 with only 1 character between 0x0041 and 0x01b0.
3490 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3491 * wcsmbs/tst-mbsnrtowcs.c: New file.
3492
34932012-03-29 David S. Miller <davem@davemloft.net>
3494
3495 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3496 small copies by hand.
3497
34982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3499
3500 [BZ #13761]
3501 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3502 _nss_compat_initgroups_dyn): Fall back to malloc/free
3503 for large group memberships.
3504
35052012-03-28 David S. Miller <davem@davemloft.net>
3506
3507 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3508 that branches into memcpy.
3509 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3512 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3514 bits.
3515 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3516 implementation too.
3517 * sysdeps/sparc/mempcpy.S: New file.
3518
3519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3520 the IFUNC routine in the libc case.
3521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3522
3523 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3524 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3525 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3526 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3527 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3528 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3529 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3530 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3531
3532 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3533 loop to 256 bytes instead of 64 bytes and fix test signedness.
3534
3535 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3536 * sysdeps/sparc/sparc32/Makefile: rather than here...
3537 * sysdeps/sparc/sparc64/Makefile: and here.
3538
35392012-03-28 Ulrich Drepper <drepper@gmail.com>
3540
3541 * malloc/mallocbug.c: Avoid warnings about unused variables.
3542
35432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3544
3545 [BZ #13760]
3546 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3547 in the right place. Discard and retry query if response is
3548 larger than input buffer size.
3549
35502012-03-28 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #369]
3553 [BZ #2678]
3554 [BZ #3866]
3555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3556 x for large integer exponent.
3557 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3558 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3559 sign of result as needed afterwards.
3560 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3561 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3562 result for underflowing pow the same as for overflow.
3563 (__kernel_standard_l): Handle powl overflow and underflow here
3564 rather than calling __kernel_standard.
3565 * math/libm-test.inc (pow_test): Add more tests.
3566
3567 [BZ #3868]
3568 [BZ #13879]
3569 [BZ #13910]
3570 [BZ #13911]
3571 [BZ #13912]
3572 [BZ #13913]
3573 [BZ #13915]
3574 [BZ #13916]
3575 [BZ #13917]
3576 [BZ #13918]
3577 [BZ #13919]
3578 [BZ #13920]
3579 [BZ #13921]
3580 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3581 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3582 (__kernel_standard_l): New function.
3583 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3584 __kernel_standard.
3585 * math/w_acosl.c (__acosl): Likewise.
3586 * math/w_asinl.c (__asinl): Likewise.
3587 * math/w_atan2l.c (__atan2l): Likewise.
3588 * math/w_atanhl.c (__atanhl): Likewise.
3589 * math/w_coshl.c (__coshl): Likewise.
3590 * math/w_exp10l.c (__exp10l): Likewise.
3591 * math/w_exp2l.c (__exp2l): Likewise.
3592 * math/w_fmodl.c (__fmodl): Likewise.
3593 * math/w_hypotl.c (__hypotl): Likewise.
3594 * math/w_j0l.c (__j0l, __y0l): Likewise.
3595 * math/w_j1l.c (__j1l, __y1l): Likewise.
3596 * math/w_jnl.c (__jnl, __ynl): Likewise.
3597 * math/w_lgammal.c (__lgammal): Likewise.
3598 * math/w_log10l.c (__log10l): Likewise.
3599 * math/w_log2l.c (__log2l): Likewise.
3600 * math/w_logl.c (__logl): Likewise.
3601 * math/w_powl.c (__powl): Likewise.
3602 * math/w_remainderl.c (__remainderl): Likewise.
3603 * math/w_scalbl.c (sysv_scalbl): Likewise.
3604 * math/w_sinhl.c (__sinhl): Likewise.
3605 * math/w_sqrtl.c (__sqrtl): Likewise.
3606 * math/w_tgammal.c (__tgammal): Likewise.
3607 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3608 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3609 * math/libm-test.inc (acos_test): Add more tests.
3610 (acosh_test): Likewise.
3611 (asin_test): Likewise.
3612 (atanh_test): Likewise.
3613 (exp_test): Likewise.
3614 (exp10_test): Likewise.
3615 (exp2_test): Likewise.
3616 (expm1_test): Likewise.
3617 (lgamma_test): Likewise.
3618 (log_test): Likewise.
3619 (log10_test): Likewise.
3620 (log1p_test): Likewise.
3621 (log2_test): Likewise.
3622 (pow_test): Do not allow some spurious overflow exceptions.
3623 (sqrt_test): Add more tests.
3624 (tgamma_test): Likewise.
3625 (y0_test): Likewise.
3626 (y1_test): Likewise.
3627 (yn_test): Likewise.
3628
36292012-03-27 Anton Blanchard <anton@samba.org>
3630
3631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3632 MAP_HUGETLB.
3633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3636
36372012-03-27 David S. Miller <davem@davemloft.net>
3638
3639 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3640
3641 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3642 have-as-vis3 check.
3643
36442012-03-27 Andreas Jaeger <aj@suse.de>
3645
3646 * sysdeps/x86_64/elf/configure.in: Moved to ...
3647 * sysdeps/x86_64/configure.in: ... here.
3648 * sysdeps/x86_64/elf/start.S: Moved to ...
3649 * sysdeps/x86_64/start.S: ... here.
3650 * sysdeps/x86_64/elf/configure: Delete.
3651
3652 * sysdeps/x86_64/configure.in: Merge contents from
3653 sysdeps/i386/configure.in (without i686 check).
3654
3655 * sysdeps/i386/elf/Versions: Merge into ...
3656 * sysdeps/i386/Versions: ... this.
3657 * sysdeps/i386/elf/Versions: Delete file.
3658 * sysdeps/i386/elf/start.S: Moved to ...
3659 * sysdeps/i386/start.S: ...here.
3660 * sysdeps/i386/elf/configure.in: Merge into...
3661 * sysdeps/i386/configure.in: ...here.
3662 * sysdeps/i386/elf/configure.in: Delete file.
3663 * sysdeps/i386/elf/configure: Delete file.
3664
3665 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3666 * debug/backtracesyms.c: ... here.
3667 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3668 * debug/backtracesymsfd.c: ... here.
3669 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3670 * sysdeps/generic/ifunc-sel.h: ... here.
3671
3672 * sysdeps/unix/i386/start.c: Delete file.
3673 * sysdeps/unix/sparc/start.c: Delete file.
3674 * sysdeps/unix/start.c: Delete file.
3675
3676 * sysdeps/sh/elf/configure.in: Moved to ...
3677 * sysdeps/sh/configure.in: ... here.
3678 * sysdeps/sh/elf/start.S: Moved to ...
3679 * sysdeps/sh/start.S: ... here.
3680 * sysdeps/sh/elf/configure: Delete file.
3681
3682 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3683 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3684 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3685 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3686 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3687 * sysdeps/powerpc/powerpc64/start.S: here.
3688 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3689 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3690 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3691 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3692 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3693
3694 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3695 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3696 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3697 * sysdeps/powerpc/powerpc32/start.S: ... here.
3698 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3699 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3700 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3701
3702 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3703 * sysdeps/powerpc/ifunc-sel.h: ... here.
3704 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3705 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3706
3707 * sysdeps/sparc/elf/configure.in: Moved to ...
3708 * sysdeps/sparc/configure.in: ... here.
3709 * sysdeps/sparc/elf/configure: Delete file.
3710 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3711 * sysdeps/sparc/sparc32/start.S: ... here.
3712 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3713 * sysdeps/sparc/sparc64/start.S: ... here.
3714 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3715 * sysdeps/sparc/sparc32/Makefile: ... this.
3716 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3717 * sysdeps/sparc/sparc64/Makefile: ... this.
3718
3719 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3720 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3721 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3722 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3723 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3724 * sysdeps/s390/s390-32/setjmp.S: ... here.
3725 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3726 * sysdeps/s390/s390-32/configure.in: ... here.
3727 * sysdeps/s390/s390-32/elf/configure: Delete file.
3728 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3729 * sysdeps/s390/s390-32/start.S: ... here.
3730
3731 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3732 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3733 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3734 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3735 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3736 * sysdeps/s390/s390-64/setjmp.S: ... here.
3737 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3738 * sysdeps/s390/s390-64/configure.in: ... here
3739 * sysdeps/s390/s390-64/elf/configure: Delete file.
3740 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3741 * sysdeps/s390/s390-64/start.S: ... here.
3742 * sysdeps/s390/s390-64/elf/configure: Delete.
3743
3744 * configure.in: Remove support for elf directories in sysdeps.
3745
3746 * configure: Regenerated.
3747 * sysdeps/i386/configure: Regenerated.
3748 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3749 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3750 * sysdeps/s390/s390-32/configure: Regenerated.
3751 * sysdeps/s390/s390-64/configure: Regenerated.
3752 * sysdeps/sh/configure: Regenerated.
3753 * sysdeps/sparc/configure: Regenerated.
3754 * sysdeps/x86_64/configure: Regenerated.
3755
37562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3757
3758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3759
3760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3761 denormal result into account.
3762
37632012-03-25 Roland McGrath <roland@hack.frob.com>
3764
3765 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3766 Reported by Allan McRae <allan@archlinux.org>.
3767
37682012-03-23 Jeff Law <law@redhat.com>
3769
3770 * nss/getnssent.c (__nss_getent): Fix typo.
3771
37722012-03-23 David S. Miller <davem@davemloft.net>
3773
3774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3775
37762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3777
3778 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3779 to pad to uint64_t for each field.
3780 (dl_tls_index): Replace unsigned long with uint64_t.
3781
37822012-03-23 Daniel Jacobowitz <dmj@google.com>
3783 Paul Pluzhnikov <ppluzhnikov@google.com>
3784
3785 [BZ #6528]
3786 * grp/Makefile (otherlibs): Don't set it.
3787 * inet/Makefile (otherlibs): Likewise.
3788 * login/Makefile (otherlibs): Likewise.
3789 * nscd/Makefile (otherlibs): Likewise.
3790 * posix/Makefile (otherlibs): Likewise.
3791 * pwd/Makefile (otherlibs): Likewise.
3792 * rt/Makefile (otherlibs): Likewise.
3793 * sunrpc/Makefile (otherlibs): Likewise.
3794 * nss/Makefile (otherlibs): Likewise.
3795 Add libnss_files to routines and static-only-routines.
3796 ($(objpfx)getent): Remove rule.
3797 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3798 static-only-routines.
3799
38002012-03-22 Joseph Myers <joseph@codesourcery.com>
3801
3802 [BZ #13892]
3803 * math/s_cexp.c: Include <float.h>.
3804 (__cexp): Handle exp result overflowing not necessarily
3805 overflowing both real and imaginary parts of result.
3806 * math/s_cexpf.c: Likewise.
3807 * math/s_cexpl.c: Likewise.
3808 * math/libm-test.inc (cexp_test): Add more tests.
3809 * sysdeps/i386/fpu/libm-test-ulps: Update.
3810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3811
38122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 * include/link.h (ELFW): New macro.
3815 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3816 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3817
38182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3821 with uint64_t.
3822
38232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3826 declaration.
3827 (struct La_x32_retval): Likewise.
3828
38292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * sysdeps/x86_64/preconfigure.in: New file.
3832 * sysdeps/x86_64/preconfigure: New generated file.
3833
38342012-03-22 Joseph Myers <joseph@codesourcery.com>
3835
3836 [BZ #13824]
3837 * math/e_exp2l.c: Include <float.h>.
3838 (__ieee754_exp2l): Handle overflow and underflow cases
3839 separately. Only pass fractional part of argument to
3840 __ieee754_expl.
3841 * math/libm-test.inc (exp2_test): Add more tests.
3842
3843 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3844 negating x to take absolute value.
3845 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3846 Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3849 Likewise.
3850 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3851 computing low part if x was negated.
3852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3853
38542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3857 la_x32_gnu_pltexit.
3858 (pltexit): Cast int_retval to ptrdiff_t.
3859 * elf/tst-auditmod3b.c: Likewise.
3860 * elf/tst-auditmod4b.c: Likewise.
3861 * elf/tst-auditmod5b.c: Likewise.
3862 * elf/tst-auditmod6b.c: Likewise.
3863 * elf/tst-auditmod6c.c: Likewise.
3864 * elf/tst-auditmod7b.c: Likewise.
3865
3866 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3867 and x32_gnu_pltexit.
3868
3869 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3870 __ELF_NATIVE_CLASS.
3871 (La_x32_regs): New macro.
3872 (La_x32_retval): Likewise.
3873 (la_x32_gnu_pltenter): New function prototype.
3874 (la_x32_gnu_pltexit): Likewise.
3875
38762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3879 exponent.
3880
3881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3882
3883 * configure.in (libc_cv_cc_nofma): Check for option to disable
3884 generation of FMA instructions.
3885 * configure: Regenerate.
3886 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3887 * sysdeps/ieee754/dbl-64/Makefile: New file.
3888 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3889 Remove brandred-fma4.
3890 (CFLAGS-brandred-fma4.c): Remove.
3891 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3893 define.
3894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3895 define.
3896
38972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3900 LLONG_MAX != LONG_MAX.
3901 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3902 (_fitoa_word): Likewise.
3903 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3904 LLONG_MAX != LONG_MAX.
3905 * stdio-common/_itowa.h: Include <_itoa.h>.
3906 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3907 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3908 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3909 only if not defined.
3910 (_ITOA_WORD_TYPE): Likewise.
3911 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3912 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3913
39142012-03-21 David S. Miller <davem@davemloft.net>
3915
3916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3917
39182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3921 of x86_64 when setting libc_cv_slibdir, libdir and
3922 libc_cv_localedir.
3923 * sysdeps/unix/sysv/linux/configure: Regenerated.
3924
39252012-03-21 Joseph Myers <joseph@codesourcery.com>
3926
3927 * manual/lang.texi (Old Varargs): Remove section.
3928 (How Variadic): Update menu.
3929 (va_start): Do not mention varargs.h.
3930
39312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3932 Joseph Myers <joseph@codesourcery.com>
3933
3934 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3935 link test.
3936 * configure: Regenerated.
3937
39382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3939
3940 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3941 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3942 conformtest.pl
3943
39442012-03-21 Joseph Myers <joseph@codesourcery.com>
3945
3946 * NOTES: Remove.
3947 * Makefile (files-for-dist): Remove NOTES.
3948 (NOTES): Remove rule.
3949 * README: Don't refer to NOTES.
3950 * manual/creature.texi: Don't include macros.texi.
3951 * manual/intro.texi (creature.texi): Remove comment referring to
3952 NOTES.
3953
3954 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3955 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3956 * configure: Regenerated.
3957 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3958 LIBC_TRY_CC_OPTION.
3959 (libc_cv_as_i686): Likewise.
3960 (libc_cv_cc_avx): Likewise.
3961 (libc_cv_cc_sse2avx): Likewise.
3962 (libc_cv_cc_fma4): Likewise.
3963 (libc_cv_cc_novzeroupper): Likewise.
3964 * sysdeps/i386/configure: Regenerated.
3965
3966 [BZ #13883]
3967 * sysdeps/i386/fpu/s_cexp.S: Remove.
3968 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3969 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3970 * math/libm-test.inc (cexp_test): Add more tests.
3971 * sysdeps/i386/fpu/libm-test-ulps: Update.
3972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3973
39742012-03-21 Allan McRae <allan@archlinux.org>
3975
3976 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3977
39782012-03-21 Joseph Myers <joseph@codesourcery.com>
3979
3980 [BZ #13871]
3981 * math/w_exp2.c: Do not include <float.h>.
3982 (o_threshold, u_threshold): Remove.
3983 (__exp2): Calculate result before checking finiteness and calling
3984 __kernel_standard.
3985 * math/w_exp2f.c: Likewise.
3986 * math/w_exp2l.c: Likewise.
3987 * math/libm-test.inc (exp2_test): Require overflow exception for
3988 1e6 input.
3989
3990 [BZ #3866]
3991 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3992 range of signed 64-bit integers before using fistpll. Remove
3993 checks for whether integers fit in mantissa bits.
3994 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3995 the range of signed 32-bit integers before using fistpl. Remove
3996 checks for whether integers fit in mantissa bits.
3997 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3998 (__ieee754_powl): Test for y outside the range of signed 64-bit
3999 integers before using fistpll. Reduce 64-bit values to 63-bit
4000 ones as needed.
4001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4002 divide-by-zero is raised for zero to large negative powers.
4003 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4004 (__ieee754_powl): Test for y outside the range of signed 64-bit
4005 integers before using fistpll. Reduce 64-bit values to 63-bit
4006 ones as needed.
4007 * math/libm-test.inc (pow_test): Add more tests.
4008
40092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4012 <stdio-common/_itoa.h>.
4013 * debug/segfault.c: Likewise.
4014 * elf/dl-cache.c: Likewise.
4015 * elf/dl-minimal.c: Likewise.
4016 * elf/dl-misc.c: Likewise.
4017 * elf/dl-sysdep.c: Likewise.
4018 * elf/dl-version.c: Likewise.
4019 * elf/rtld.c: Likewise.
4020 * hurd/hurdsock.c: Likewise.
4021 * hurd/lookup-retry.c: Likewise.
4022 * malloc/malloc.c: Likewise.
4023 * malloc/mtrace.c: Likewise.
4024 * nscd/nscd_getgr_r.c: Likewise.
4025 * nscd/nscd_getpw_r.c: Likewise.
4026 * nscd/nscd_getserv_r.c: Likewise.
4027 * posix/getopt_init.c: Likewise.
4028 * posix/wordexp.c: Likewise.
4029 * stdio-common/_itoa.c: Likewise.
4030 * stdio-common/printf_fphex.c: Likewise.
4031 * stdio-common/vfprintf.c: Likewise.
4032 * string/_strerror.c: Likewise.
4033 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4034 * sysdeps/i386/i686/hp-timing.h: Likewise.
4035 * sysdeps/mach/_strerror.c: Likewise.
4036 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4037 * sysdeps/mach/hurd/sethostid.c: Likewise.
4038 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4039 * sysdeps/mach/xpg-strerror.c: Likewise.
4040 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4042 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4043 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4044 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4045 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4047 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4048 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4049 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4050 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4051 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4052 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4053 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4058 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4059 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4061
4062 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4063
4064 * stdio-common/_itoa.h: Moved to ...
4065 * sysdeps/generic/_itoa.h: Here.
4066
4067 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4068
4069 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4070 instead of "_itoa.h" and "_itowa.h".
4071 * stdio-common/vfprintf.: Likewise.
4072
40732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4076 <bits/wordsize.h>.
4077 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4078 (__signbit): Likwise.
4079 (llrintf): Likwise.
4080 (llrint): Likwise.
4081
40822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4083
4084 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4085 __WORDSIZE != 64.
4086
40872012-03-20 Joseph Myers <joseph@codesourcery.com>
4088
4089 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4090 OVERFLOW_EXCEPTION_OK.
4091 * math/libm-test.inc ("Philosophy"): Update comment about
4092 exception testing.
4093 (OVERFLOW_EXCEPTION): Define.
4094 (OVERFLOW_EXCEPTION_OK): Likewise.
4095 (INVALID_EXCEPTION_OK): Renumber.
4096 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4097 (IGNORE_ZERO_INF_SIGN): Likewise.
4098 (test_exceptions): Handle FE_OVERFLOW.
4099 (exp10_test): Expect overflow exceptions.
4100 (exp2_test): Likewise.
4101 (expm1_test): Likewise.
4102 (nextafter_test): Likewise.
4103 (pow_test): Likewise.
4104 (scalbn_test): Likewise.
4105 (scalbln_test): Likewise.
4106
41072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4108
4109 * sysdeps/x86_64/bits/atomic.h
4110 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4111 64bit integer.
4112 (atomic_exchange_acq): Likewise.
4113 (__arch_exchange_and_add_body): Likewise.
4114 (__arch_add_body): Likewise.
4115 (atomic_add_negative): Likewise.
4116 (atomic_add_zero): Likewise.
4117
41182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4121 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4122
41232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4124
4125 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4126 Check __x86_64__ instead of __WORDSIZE.
4127
41282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4129
4130 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4131
41322012-03-19 David S. Miller <davem@davemloft.net>
4133
4134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4135
4136 * sysdeps/sparc/fpu/fenv_private.h: New file.
4137 * sysdeps/sparc/fpu/math_private.h: Use it.
4138 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4139 Remove.
4140 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4141 (libc_feholdexcept_setroundl): Remove.
4142 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4143 Remove.
4144 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4145 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4146
41472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4150 int64_t instead of long int.
4151 (INSERT_WORDS64): Likwise.
4152
41532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4156 _Unwind_GetCFA return to _Unwind_Ptr first.
4157
41582012-03-19 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13629]
4161 * math/s_clog.c: Include <float.h>.
4162 (__clog): Scale large or subnormal inputs.
4163 * math/s_clogf.c: Likewise.
4164 * math/s_clogl.c: Likewise.
4165 * math/s_clog10.c: Include <float.h>.
4166 (M_LOG10_2): Define.
4167 (__clog10): Scale large or subnormal inputs.
4168 * math/s_clog10f.c: Likewise.
4169 * math/s_clog10l.c: Likewise.
4170 * math/libm-test.inc (clog_test): Add more tests.
4171 (clog10_test): Likewise.
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4174
4175 [BZ #11451]
4176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4177 x and y.
4178 * math/libm-test.inc (atan2_test): Add another test.
4179
4180 * Makerules (common-objdir-compile): Remove.
4181 * sysdeps/unix/Makefile (config-generated): Do not add
4182 $(unix-generated) to variable.
4183 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4184 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4185 Remove rule.
4186 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4187 Likewise.
4188 [generic bits/local_lim.h] (before-compile): Do not append to
4189 variable.
4190 [generic bits/local_lim.h] (common-generated): Likewise.
4191 [generic sys/param.h] (before-compile): Do not append to variable.
4192 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4193 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4194 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4195 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4196 include.
4197 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4198 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4199 [generic sys/param.h] ($(addprefix
4200 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4201 [generic sys/param.h] (common-generated): Do not append to
4202 variable.
4203 [generic sys/param.h] (sysdep_headers): Likewise.
4204 [generic bits/errno.h] (before-compile): Do not append to
4205 variable.
4206 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4207 rule.
4208 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4209 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4210 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4211 [generic bits/errno.h] (common-generated): Do not append to
4212 variable.
4213 [generic bits/ioctls.h] (before-compile): Do not append to
4214 variable.
4215 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4216 rule.
4217 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4218 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4219 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4220 rule.
4221 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4222 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4223 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4224 [generic bits/ioctls.h] (common-generated): Do not append to
4225 variable.
4226 [generic sys/syscall.h] (syscall.h): Remove variable.
4227 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4228 rule.
4229 [generic sys/syscall.h] (before-compile): Do not append to
4230 variable.
4231 [generic sys/syscall.h] (common-generated): Likewise.
4232 * sysdeps/unix/errnos-tmpl.c: Remove file.
4233 * sysdeps/unix/errnos.awk: Likewise.
4234 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4235 * sysdeps/unix/ioctls.awk: Likewise.
4236 * sysdeps/unix/mk-local_lim.c: Likewise.
4237 * sysdeps/unix/snarf-ioctls: Likewise.
4238
42392012-03-19 Richard Henderson <rth@twiddle.net>
4240
4241 * sysdeps/i386/fpu/fenv_private.h: New file.
4242 * sysdeps/i386/fpu/math_private.h: Use it.
4243 (math_opt_barrier, math_force_eval): Remove.
4244 (libc_feholdexcept_setround_53bit): Remove.
4245 (libc_feupdateenv_53bit): Remove.
4246 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4247 (math_opt_barrier, math_force_eval): Remove.
4248 (libc_feholdexcept): Remove.
4249 (libc_feholdexcept_setround): Remove.
4250 (libc_fetestexcept, libc_fesetenv): Remove.
4251 (libc_feupdateenv_test): Remove.
4252 (libc_feupdateenv, libc_feholdsetround): Remove.
4253 (libc_feresetround): Remove.
4254
4255 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4256 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4257
4258 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4259 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4260 (libc_feupdateenv_testl): New.
4261 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4262 (libc_feupdateenv_testf): New.
4263 (libc_feupdateenv): Use libc_feupdateenv_test.
4264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4266
4267 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4268 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4269 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4270 (libc_feresetround_noex): New.
4271 (libc_feresetround_noexf): New.
4272 (libc_feresetround_noexl): New.
4273 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4274 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4275 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4276 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4277 SET_RESTORE_ROUND.
4278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4280 (__cos): Likewise.
4281 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4282 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4283 SET_RESTORE_ROUND_NOEX.
4284 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4285 SET_RESTORE_ROUND_NOEXF.
4286 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4287 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4288 (libc_feholdsetroundf): New.
4289 (libc_feresetround, libc_feresetroundf): New.
4290
4291 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4292 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4293 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4294
4295 * sysdeps/generic/math_private.h: Include <fenv.h>.
4296 (default_libc_feholdexcept): New.
4297 (default_libc_feholdexcept_setround): New.
4298 (default_libc_fesetenv, default_libc_feupdateenv): New.
4299 (libc_feholdexcept): Only define if undefined.
4300 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4302 (libc_feholdexcept_setroundl): Likewise.
4303 (libc_feholdexcept_setround_53bit): Likewise.
4304 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4307 (libc_feupdateenv_53bit): Likewise.
4308 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4309 (libc_feholdexcept): Convert from macro to inline function.
4310 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4311 (libc_fesetenv, libc_feupdateenv): Likewise.
4312
4313 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4314 not previously defined.
4315 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4316 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4317 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4319 * sysdeps/ieee754/flt-32/math_private.h: New file.
4320 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4321 math_private.h below SET_FLOAT_WORD.
4322 (__isnan, __isinf_ns, __finite): Remove.
4323 (__isnanf, __isinf_nsf, __finitef): Remove.
4324
43252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4326
4327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4328
43292012-03-17 David S. Miller <davem@davemloft.net>
4330
4331 [BZ #6471]
4332 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4333 for 2.16.
4334
43352012-03-16 David S. Miller <davem@davemloft.net>
4336
4337 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4338 warnings.
4339
4340 [BZ #6471]
4341 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4342 properly.
4343 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4344 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4345 sysdep_routines when subdir is sysvipc.
4346 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4347 __getshmlba helper.
4348
4349 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4350
43512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4354 [__LP64__].
4355
43562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4359 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4360 (__lround): Renamed to ...
4361 (__llround): This. Replace long int with long long int.
4362 Define lround functions as aliases of llround functions.
4363 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4364
43652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4368 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4369 adresses to uintptr_t. Replace "long int" and "unsigned long
4370 int" with "greg_t" on va_arg.
4371
43722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4375 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4376
4377 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4378 Move e_machine check before EI_CLASS check. Handle x32
4379 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4380 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4381 SKIP_EM_IA_64 and include
4382 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4383
4384 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4385 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4386 (add_system_dir): New macro.
4387
4388 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4389 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4390
43912012-03-16 Joseph Myers <joseph@codesourcery.com>
4392
4393 [BZ #2551]
4394 [BZ #2552]
4395 [BZ #2553]
4396 [BZ #2554]
4397 [BZ #2562]
4398 [BZ #2563]
4399 [BZ #2565]
4400 [BZ #2566]
4401 [BZ #2576]
4402 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4403 (y0): Likewise.
4404 * math/w_j0f.c (j0f): Likewise.
4405 (y0f): Likewise.
4406 * math/w_j0l.c (__j0l): Likewise.
4407 (__y0l): Likewise.
4408 * math/w_j1.c (j1): Likewise.
4409 (y1): Likewise.
4410 * math/w_j1f.c (j1f): Likewise.
4411 (y1f): Likewise.
4412 * math/w_j1l.c (__j1l): Likewise.
4413 (__y1l): Likewise.
4414 * math/w_jn.c (jn): Likewise.
4415 (yn): Likewise.
4416 * math/w_jnf.c (jnf): Likewise.
4417 (ynf): Likewise.
4418 * math/w_jnl.c (__jnl): Likewise.
4419 (__ynl): Likewise.
4420 * math/libm-test.inc (j0_test): Add more tests.
4421 (j1_test): Likewise.
4422 (jn_test): Likewise. Add trailing semicolon to existing test.
4423 (y0_test): Likewise.
4424 (y1_test): Likewise.
4425 * sysdeps/i386/fpu/libm-test-ulps: Update.
4426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427
4428 [BZ #13851]
4429 [BZ #13854]
4430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4431 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4432 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4433 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4434 (__tanl): Set errno for infinite argument.
4435 * sysdeps/i386/fpu/mptan.c: Remove.
4436 * sysdeps/i386/fpu/s_tan.S: Likewise.
4437 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4438 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4439 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4440 * math/libm-test.inc (tan_test): Add more tests and enable more
4441 tests for double and long double.
4442 * sysdeps/i386/fpu/libm-test-ulps: Update.
4443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4444
44452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4446
4447 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4448 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4449
44502012-03-16 Roland McGrath <roland@hack.frob.com>
4451
4452 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4453 * configure.in: Use it for both main tree and add-ons.
4454 * configure: Regenerated.
4455
44562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4457
4458 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4459
44602012-03-16 Joseph Myers <joseph@codesourcery.com>
4461
4462 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4463 in comment.
4464
4465 [BZ #13851]
4466 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4467 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4471 infinite argument.
4472 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4474 != 0 for prec == 2.
4475 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4476 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4477 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4478 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4479 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4480 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4481 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4482 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4483 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4484 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4485 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4486 * math/libm-test.inc (cos_test): Add more tests and enable more
4487 tests for long double.
4488 (sin_test): Likewise.
4489 (sincos_test): Likewise.
4490 * sysdeps/i386/fpu/libm-test-ulps: Update.
4491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4492
44932012-03-16 David S. Miller <davem@davemloft.net>
4494
4495 * sysdeps/sparc/fpu/math_private.h: New file.
4496
44972012-03-15 David S. Miller <davem@davemloft.net>
4498
4499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4500 file.
4501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4503 file.
4504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4510 sysdep routines.
4511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4512
4513 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4514 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4515
4516 * sysdeps/sparc/sparc-ifunc.h: New file.
4517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4518 sparc-ifunc.h
4519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4521 Likewise.
4522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4523 Likewise.
4524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4528 Likewise.
4529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4534 Likewise.
4535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4536 Likewise.
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4561
45622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4563
4564 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4565 scaling.
4566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4567
45682012-03-15 Andreas Jaeger <aj@suse.de>
4569
4570 [BZ #13852]
4571 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4572 ieee754/flt-32 implementation for sin, cos and sincos.
4573 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4574 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4575 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4576 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4577 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4578 ieee754/flt-32 implementation for tan.
4579
4580 * math/libm-test.inc (cos_test): Enable some large input tests for
4581 float as well
4582 (sin_test): Likewise.
4583 (sincos_test): Likewise.
4584 (tan_test): Add tests for large input.
4585
4586 * sysdeps/i386/fpu/libm-test-ulps: Update.
4587
45882012-03-15 Andreas Jaeger <aj@suse.de>
4589
4590 [BZ #13658]
4591 * math/libm-test.inc (cos_test): Add more test cases.
4592 (sin_test): Likewise.
4593 (sincos_test): Likewise.
4594
45952012-03-15 Andreas Jaeger <aj@suse.de>
4596
4597 [BZ #13837]
4598 * math/libm-test.inc (cos_test): Add a test case for large input
4599 value.
4600 (sin_test): Likewise.
4601 (sincos_test): Likewise.
4602
46032012-03-15 Andreas Jaeger <aj@suse.de>,
4604 Joseph Myers <joseph@codesourcery.com>
4605
4606 [BZ #13658]
4607 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4608 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4609 * sysdeps/i386/fpu/branred.c: Likewise.
4610 * sysdeps/i386/fpu/dosincos.c: Likewise.
4611 * sysdeps/i386/fpu/mpa.c: Likewise.
4612 * sysdeps/i386/fpu/s_cos.S: Likewise.
4613 * sysdeps/i386/fpu/s_sin.S: Likewise.
4614 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4615 * sysdeps/i386/fpu/sincos32.c: Likewise.
4616
4617 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4618 Define.
4619 (libc_feupdateenv_53bit): Define.
4620 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4621 Define.
4622 (libc_feupdateenv_53bit): Define.
4623
4624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4625 53 bit (without extend i386 double precision).
4626
4627 * math/libm-test.inc (sincos_test): Add tests for large input.
4628 (sin): Likewise.
4629 (cos): Likewise.
4630
4631 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4632
46332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4634
4635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4636
46372012-03-15 David S. Miller <davem@davemloft.net>
4638
4639 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4642 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4655 file.
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4658 file.
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4661 file.
4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4664 file.
4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4667 fmin/fmax sysdep routines.
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4669
46702012-03-14 David S. Miller <davem@davemloft.net>
4671
4672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4697 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4701 routines.
4702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4703 file.
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4706 file.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4709 file.
4710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4712 file.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4715 file.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4718 file.
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4720 file.
4721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4722 file.
4723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4724 file.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4726 New file.
4727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4728 file.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4730 file.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4733 file.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4736 file.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4739 file.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4742 VIS3 routines.
4743
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4745 New file.
4746
4747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4748
4749 * sysdeps/sparc/configure.in: New file.
4750 * sysdeps/sparc/configure: Generate.
4751 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4752 * configure: Regenerate.
4753 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4754 * config.make.in (have-as-vis3): New.
4755 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4756 available use -Av9d instead of -Av9a.
4757 * sysdeps/sparc/sparc64/Makefile: Likewise.
4758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4760 New file.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4762 file.
4763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4764 New file.
4765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4766 file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4772
4773 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4774 fzeros/fnegs to load 0x80000000 into a float register instead of
4775 using the stack.
4776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4777
47782012-03-14 Joseph Myers <joseph@codesourcery.com>
4779
4780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4781 bits/syscall.h.
4782 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4783 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4784 ($(inst_includedir)/bits/syscall.h): Remove rule.
4785 ($(objpfx)bits/syscall.d): Include instead of
4786 $(objpfx)syscall-list.d.
4787 (generated): Change syscall-list.h and syscall-list.d to
4788 bits/syscall.h and bits/syscall.d.
4789
47902012-03-14 Roland McGrath <roland@hack.frob.com>
4791
4792 [BZ #13846]
4793 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4794
47952012-03-14 Joseph Myers <joseph@codesourcery.com>
4796
4797 [BZ #13841]
4798 * math/s_csqrt.c: Include <float.h>.
4799 (__csqrt): Scale large or subnormal inputs.
4800 * math/s_csqrtf.c: Likewise.
4801 * math/s_csqrtl.c: Likewise.
4802 * math/libm-test.inc (csqrt_test): Add more tests.
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805
4806 [BZ #13840]
4807 * math/libm-test.inc (hypot_test): Add more tests.
4808
48092012-03-13 David S. Miller <davem@davemloft.net>
4810
4811 [BZ #13840]
4812 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4813 double-precision for the calculation instead of scaling.
4814
48152012-03-13 Joseph Myers <joseph@codesourcery.com>
4816
4817 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4818 manipulate bits before adding and subtracting TWO52[sx].
4819 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4820 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4821 Likewise.
4822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4823
48242012-03-13 David S. Miller <davem@davemloft.net>
4825
4826 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4827 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4829 rtld-global-offsets.h
4830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4831
4832 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4833 large parameters.
4834
4835 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4836
4837 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4838 'err' in the ifdef scope in which it is actually used.
4839
4840 * nss/nss_db/db-init.c: Include string.h
4841
48422012-03-12 David S. Miller <davem@davemloft.net>
4843
4844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4845 masking out of the most significant byte of random value used.
4846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4847 Fix coding style in previous change.
4848
4849 * sysdeps/unix/sysv/linux/kernel-features.h
4850 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4851 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4852 expression.
4853 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4854 later.
4855
48562012-03-11 David S. Miller <davem@davemloft.net>
4857
4858 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4859 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4860 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4861 for 'resultvar' otherwise things get truncated on 64-bit.
4862
4863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4864 Fix masking out of the most significant byte of random value used.
4865
4866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4867
48682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4869
4870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4871
48722012-03-09 David S. Miller <davem@davemloft.net>
4873
4874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4875 variables with appropriate CPP guards.
4876 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4877 frame pointer, not the stack pointer. Correct layout comments. Fix test
4878 on resulting framesize and the management of the outregs buffer for pltexit.
4879 Preserve floating point return values across _dl_call_pltexit call.
4880 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4881 framesize and the management of the outregs buffer for pltexit.
4882 Preserve floating point return values across _dl_call_pltexit
4883 call.
4884 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4885 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4886 (print_exit): Fix format string for return register value.
4887
48882012-03-10 Joseph Myers <joseph@codesourcery.com>
4889
4890 * sunrpc/Makefile (others): Add rpcgen.
4891 ($(objpfx)rpcgen): Remove special build rule and dependency on
4892 libc.
4893 * sunrpc/rpcgen.c: New file.
4894
48952012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4896
4897 [BZ #13673]
4898 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4899 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4900 * sysdeps/i386/crti.S: Likewise.
4901 * sysdeps/i386/crtn.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4903 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4904 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4905 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4906 * sysdeps/sh/crti.S: Likewise.
4907 * sysdeps/sh/crtn.S: Likewise.
4908 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4909
4910 [BZ #13673]
4911 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4912 with URL.
4913 * locale/programs/locfile-kw.gperf: Likewise.
4914 * locale/programs/charmap-kw.h: Regenerated.
4915 * locale/programs/locfile-kw.h: Likewise.
4916
4917 [BZ #13673]
4918 * intl/plural.y: Replace FSF snail mail address with URL.
4919 * intl/plural.c: Regenerated.
4920
49212012-03-09 Richard Henderson <rth@twiddle.net>
4922
4923 * include/math_private.h: Remove file.
4924 * math/math_private.h: Move file ...
4925 * sysdeps/generic/math_private.h: ... here.
4926
4927 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4928 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4929 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4930
4931 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4932 and <math_private.h>.
4933 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4934 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4935 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4936 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4937 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5021 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5024 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5025 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5026 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5027 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5037 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5038 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5039 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5040 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5041 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5043 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5044 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5045 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5046 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5047 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5048 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5049 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5050 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5051 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5052 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5053 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5054 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5055 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5056 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5059 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5060 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5061 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5062 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5063 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5064 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5065 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5066 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5067 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5068 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5069 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5070 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5071 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5072 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5073 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5074 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5076 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5077 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5078 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5079 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5080 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5081 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5082 * sysdeps/ieee754/k_standard.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5143 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5198 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5202 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5205 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5210 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5243 * sysdeps/ieee754/s_lib_version.c: Likewise.
5244 * sysdeps/ieee754/s_matherr.c: Likewise.
5245 * sysdeps/ieee754/s_signgam.c: Likewise.
5246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5248 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5249 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5250 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5251 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5252 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5253 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5254 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5255 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5256 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5257 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5258 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5259 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5263 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5264 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5267
52682012-03-09 Joseph Myers <joseph@codesourcery.com>
5269
5270 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5271 * sunrpc/rpc_main.c: Likewise.
5272 * sunrpc/rpc_svcout.c: Likewise.
5273
52742012-03-09 David S. Miller <davem@davemloft.net>
5275
5276 * include/math_private.h: New file.
5277
52782012-03-09 Joseph Myers <joseph@codesourcery.com>
5279
5280 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5281 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5282 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5283 from <bits/socket_type.h>.
5284 (enum __socket_type): Don't define here.
5285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5287 bits/socket_type.h.
5288
5289 [BZ #13566]
5290 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5291 checking __USE_GNU.
5292
5293 * Makerules ($(inst_includedir)/%.h): New rule.
5294 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5295 (install-others): Remove variable setting.
5296 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5297
52982012-03-08 Richard Henderson <rth@twiddle.net>
5299
5300 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5301 from macro to inline function; merge with the
5302 !__LIBC_INTERNAL_MATH_INLINES version.
5303 (__ieee754_sqrtf): Likewise.
5304
5305 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5306 to inline function.
5307 (__rintf, __floor, __floorf): Likewise.
5308
5309 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5310 macro to inline function.
5311 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5312
5313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5314 not <math/math_private.h>.
5315
53162012-03-08 David S. Miller <davem@davemloft.net>
5317
5318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5319 copyright year.
5320 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5321
53222012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5323
5324 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5325 normalization.
5326 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5327 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5328
53292012-03-08 Ulrich Drepper <drepper@gmail.com>
5330
5331 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5332 be defined individually, they must be defined as a block. Define
5333 S for printing a string instead of hidint the different by using a
5334 macro for adding the 'l'.
5335 * stdio-common/tst-fphex-wide.c: Adjust.
5336
53372012-03-07 Marek Polacek <polacek@redhat.com>
5338
5339 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5340
53412012-03-08 Marek Polacek <polacek@redhat.com>
5342
5343 [BZ #13806]
5344 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5345 * stdio-common/tst-fphex.c: Define a few macros to make the
5346 test reusable. Use them.
5347 * stdio-common/tst-fphex-wide.c: New file.
5348
53492012-03-08 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #6911]
5352 * manual/macros.texi (gnusystems): New macro.
5353 (nongnusystems): Likewise.
5354 (gnulinuxhurdsystems): Likewise.
5355 (gnuhurdsystems): Likewise..
5356 (gnulinuxsystems): Likewise.
5357 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5358 variants of the GNU system, not "GNU system".
5359 * manual/conf.texi: Likewise.
5360 * manual/errno.texi: Likewise. Update example of errno macro
5361 expansion.
5362 * manual/filesys.texi: Likewise.
5363 (getumask): Document as specific to GNU/Hurd.
5364 * manual/install.texi: Likewise. Reword some references to
5365 GNU/Linux.
5366 * manual/intro.texi: Likewise.
5367 * manual/io.texi: Likewise.
5368 (File Name Portability): Detail which constraints are inapplicable
5369 to all GNU systems and which are only inapplicable to GNU/Hurd.
5370 * manual/job.texi: Likewise.
5371 * manual/llio.texi: Likewise.
5372 (O_NOCTTY): Document as present on GNU/Linux.
5373 * manual/maint.texi: Likewise.
5374 * manual/memory.texi: Likewise.
5375 * manual/pattern.texi: Likewise.
5376 * manual/pipe.texi: Likewise.
5377 * manual/process.texi: Likewise.
5378 * manual/resource.texi: Likewise.
5379 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5380 child on GNU/Hurd.
5381 * manual/setjmp.texi: Likewise.
5382 * manual/signal.texi: Likewise.
5383 * manual/startup.texi: Likewise.
5384 * manual/stdio.texi: Likewise.
5385 * manual/terminal.texi: Likewise.
5386 (ONLCR): Document as POSIX.
5387 (OXTABS): Document availability on GNU/Linux as XTABS.
5388 (ONOEOT): Document availability separately from other bits.
5389 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5390 * manual/time.texi: Likewise.
5391 * manual/users.texi: Likewise.
5392 * INSTALL: Regenerated.
5393 * sysdeps/gnu/errlist.c: Regenerated.
5394
5395 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5396 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5397 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5398 puts.
5399 * configure: Regenerated.
5400
54012012-03-07 Joseph Myers <joseph@codesourcery.com>
5402
5403 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5404 default includes instead of AC_HEADER_CHECK.
5405 * sysdeps/i386/configure: Regenerated.
5406
5407 [BZ #10716]
5408 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5409 * math/s_cacoshf.c (__cacoshf): Likewise.
5410 * math/s_cacoshl.c (__cacoshl): Likewise.
5411 * math/s_casinh.c (__casinh): Set signs of result from argument.
5412 * math/s_casinhf.c (__casinhf): Likewise.
5413 * math/s_casinhl.c (__casinhl): Likewise.
5414 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5415 (casinh_test): Add more tests.
5416 * sysdeps/i386/fpu/libm-test-ulps: Update.
5417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418
54192012-03-07 Ulrich Drepper <drepper@gmail.com>
5420
5421 * po/zh_TW.po: Update from translation team.
5422
5423 * login/Makefile (distribute): Remove variable.
5424 * catgets/Makefile: Likewise.
5425 * mach/Makefile: Likewise.
5426 * malloc/Makefile: Likewise.
5427 * misc/Makefile: Likewise.
5428 * iconv/Makefile: Likewise.
5429 * nscd/Makefile: Likewise.
5430 * hurd/Makefile: Likewise.
5431 * manual/Makefile: Likewise.
5432 * locale/Makefile: Likewise.
5433 * intl/Makefile: Likewise.
5434 * conform/Makefile: Likewise.
5435 * nss/Makefile: Likewise.
5436 * time/Makefile: Likewise.
5437 * soft-fp/Makefile: Likewise.
5438 * dirent/Makefile: Likewise.
5439 * gmon/Makefile: Likewise.
5440 * po/Makefile: Likewise.
5441 * rt/Makefile: Likewise.
5442 * socket/Makefile: Likewise.
5443 * math/Makefile: Likewise.
5444 * signal/Makefile: Likewise.
5445 * debug/Makefile: Likewise.
5446 * elf/Makefile: Likewise.
5447 * timezone/Makefile: Likewise.
5448 * stdlib/Makefile: Likewise.
5449 * iconvdata/Makefile: Likewise.
5450 * sunrpc/Makefile: Likewise.
5451 * io/Makefile: Likewise.
5452 * argp/Makefile: Likewise.
5453 * inet/Makefile: Likewise.
5454 * hesiod/Makefile: Likewise.
5455 * grp/Makefile: Likewise.
5456 * csu/Makefile: Likewise.
5457 * wctype/Makefile: Likewise.
5458 * crypt/Makefile: Likewise.
5459 * libio/Makefile: Likewise.
5460 * string/Makefile: Likewise.
5461 * nis/Makefile: Likewise.
5462 * resolv/Makefile: Likewise.
5463 * stdio-common/Makefile: Likewise.
5464 * wcsmbs/Makefile: Likewise.
5465 * dlfcn/Makefile: Likewise.
5466 * posix/Makefile: Likewise.
5467
5468 [BZ #6959]
5469 * timezone/Makefile: Don't install timezone files, just the programs
5470 and scripts.
5471
54722012-03-06 Ulrich Drepper <drepper@gmail.com>
5473
5474 * nss/databases.def: Add missing gshadow entry.
5475
5476 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5477
54782012-03-06 Marek Polacek <polacek@redhat.com>
5479
5480 [BZ #13726]
5481 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5482 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5483 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5484 * stdio-common/tst-long-dbl-fphex.c: New file.
5485
54862012-03-06 David S. Miller <davem@davemloft.net>
5487
5488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5489 (set_obp_int): New function.
5490 (get_obp_int): New function.
5491 (__get_clockfreq_via_dev_openprom): Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5493 Avoid unused variable warnings on 'val' and use builtin_expect.
5494 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5495 __builtin_expect.
5496 (INLINE_CLONE_SYSCALL): Likewise.
5497
54982012-03-05 David S. Miller <davem@davemloft.net>
5499
5500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5501
55022012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5503
5504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5505
5506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5507 only for |x| >= 40.
5508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5509
55102012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5511
5512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5513 Replace gettimeofday with __vdso_gettimeofday.
5514
5515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5516 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5517 __vdso_clock_gettime and __vdso_getcpu.
5518
5519 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5520 time with __vdso_time.
5521
55222012-03-05 Joseph Myers <joseph@codesourcery.com>
5523
5524 * manual/lang.texi (size_t): Note types to which size_t may be
5525 equivalent with the GNU C Library, but do not describe when
5526 differences between them are significant.
5527
55282012-03-05 Andreas Jaeger <aj@suse.de>
5529
5530 * sysdeps/i386/fpu/libm-test-ulps: Update.
5531
55322012-03-05 Joseph Myers <joseph@codesourcery.com>
5533
5534 [BZ #3976]
5535 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5536 (__ieee754_pow): Save and restore rounding mode and use
5537 round-to-nearest for main computations.
5538 * math/libm-test.inc (pow_test_tonearest): New function.
5539 (pow_test_towardzero): Likewise.
5540 (pow_test_downward): Likewise.
5541 (pow_test_upward): Likewise.
5542 (main): Call the new functions.
5543 * sysdeps/i386/fpu/libm-test-ulps: Update.
5544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5545
5546 [BZ #3976]
5547 * math/libm-test.inc (cosh_test_tonearest): New function.
5548 (cosh_test_towardzero): Likewise.
5549 (cosh_test_downward): Likewise.
5550 (cosh_test_upward): Likewise.
5551 (sinh_test_tonearest): Likewise.
5552 (sinh_test_towardzero): Likewise.
5553 (sinh_test_downward): Likewise.
5554 (sinh_test_upward): Likewise.
5555 (main): Call the new functions.
5556 * sysdeps/i386/fpu/libm-test-ulps: Update.
5557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5558
55592012-03-05 Tom de Vries <tom@codesourcery.com>
5560
5561 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5562 default stack guard is set in last bytes.
5563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5564
55652012-03-05 Kees Cook <keescook@chromium.org>
5566
5567 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5568
5569 [BZ #13656]
5570 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5571 possibly allocate from heap instead of stack.
5572 * stdio-common/bug-vfprintf-nargs.c: New file.
5573 * stdio-common/Makefile (tests): Add nargs overflow test.
5574
55752012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5576
5577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5578
55792012-03-03 Marek Polacek <polacek@redhat.com>
5580
5581 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5582 * math/math_private.h: Likewise.
5583 * stdlib/tst-strtod.c: Likewise.
5584 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5585 * sysdeps/x86_64/bits/atomic.h: Likewise.
5586
55872012-03-02 David S. Miller <davem@davemloft.net>
5588
5589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5593 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5594 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5595 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5596 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5597
55982012-03-02 Roland McGrath <roland@hack.frob.com>
5599
5600 [BZ #13792]
5601 * manual/examples/README: New file, says the example source files
5602 can be used under GPL>=2.
5603 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5604 line containing just "*/".
5605 * manual/examples/add.c: Add copyright header (GPL>=2).
5606 * manual/examples/argp-ex1.c: Likewise.
5607 * manual/examples/argp-ex2.c: Likewise.
5608 * manual/examples/argp-ex3.c: Likewise.
5609 * manual/examples/argp-ex4.c: Likewise.
5610 * manual/examples/atexit.c: Likewise.
5611 * manual/examples/db.c: Likewise.
5612 * manual/examples/dir.c: Likewise.
5613 * manual/examples/dir2.c: Likewise.
5614 * manual/examples/execinfo.c: Likewise.
5615 * manual/examples/filecli.c: Likewise.
5616 * manual/examples/filesrv.c: Likewise.
5617 * manual/examples/fmtmsgexpl.c: Likewise.
5618 * manual/examples/genpass.c: Likewise.
5619 * manual/examples/inetcli.c: Likewise.
5620 * manual/examples/inetsrv.c: Likewise.
5621 * manual/examples/isockad.c: Likewise.
5622 * manual/examples/longopt.c: Likewise.
5623 * manual/examples/memopen.c: Likewise.
5624 * manual/examples/memstrm.c: Likewise.
5625 * manual/examples/mkfsock.c: Likewise.
5626 * manual/examples/mkisock.c: Likewise.
5627 * manual/examples/mygetpass.c: Likewise.
5628 * manual/examples/pipe.c: Likewise.
5629 * manual/examples/popen.c: Likewise.
5630 * manual/examples/rprintf.c: Likewise.
5631 * manual/examples/search.c: Likewise.
5632 * manual/examples/select.c: Likewise.
5633 * manual/examples/setjmp.c: Likewise.
5634 * manual/examples/sigh1.c: Likewise.
5635 * manual/examples/sigusr.c: Likewise.
5636 * manual/examples/stpcpy.c: Likewise.
5637 * manual/examples/strdupa.c: Likewise.
5638 * manual/examples/strftim.c: Likewise.
5639 * manual/examples/strncat.c: Likewise.
5640 * manual/examples/subopt.c: Likewise.
5641 * manual/examples/swapcontext.c: Likewise.
5642 * manual/examples/termios.c: Likewise.
5643 * manual/examples/testopt.c: Likewise.
5644 * manual/examples/testpass.c: Likewise.
5645 * manual/examples/timeval_subtract.c: Likewise.
5646
5647 [BZ #13792]
5648 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5649 function to ...
5650 * manual/timeval_subtract.c.texi: ... here, new file.
5651
56522012-03-02 David S. Miller <davem@davemloft.net>
5653
5654 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5655
56562012-03-02 Joseph Myers <joseph@codesourcery.com>
5657
5658 [BZ #3976]
5659 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5660 (__sin): Save and restore rounding mode and use round-to-nearest
5661 for all computations.
5662 (__cos): Save and restore rounding mode and use round-to-nearest
5663 for all computations.
5664 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5665 <fenv.h>.
5666 (tan): Save and restore rounding mode and use round-to-nearest for
5667 all computations.
5668 * math/libm-test.inc (cos_test_tonearest): New function.
5669 (cos_test_towardzero): Likewise.
5670 (cos_test_downward): Likewise.
5671 (cos_test_upward): Likewise.
5672 (sin_test_tonearest): Likewise.
5673 (sin_test_towardzero): Likewise.
5674 (sin_test_downward): Likewise.
5675 (sin_test_upward): Likewise.
5676 (tan_test_tonearest): Likewise.
5677 (tan_test_towardzero): Likewise.
5678 (tan_test_downward): Likewise.
5679 (tan_test_upward): Likewise.
5680 (main): Call the new functions.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
5684 [BZ #10135]
5685 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5686 small n, then large n, before computing and testing k+n.
5687 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5689 Likewise.
5690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5691 Likewise.
5692 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5693 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5694 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5695 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5698 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5699 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5700 * math/libm-test.inc (scalbn_test): Add more tests.
5701 (scalbln_test): Likewise.
5702
5703 * manual/filesys.texi (mode_t): Describe constraints on size and
5704 signedness, not exact equivalence to a particular type.
5705 (ino_t): Likewise.
5706 (ino64_t): Likewise.
5707 (dev_t): Likewise.
5708 (nlink_t): Likewise.
5709 (blkcnt_t): Likewise.
5710 (blkcnt64_t): Likewise.
5711 * manual/llio.texi (off_t): Likewise.
5712
5713 [BZ #3976]
5714 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5715 (__ieee754_exp): Save and restore rounding mode and use
5716 round-to-nearest for all computations.
5717 * math/libm-test.inc (exp_test_tonearest): New function.
5718 (exp_test_towardzero): Likewise.
5719 (exp_test_downward): Likewise.
5720 (exp_test_upward): Likewise.
5721 (main): Call the new functions.
5722 * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5724
57252012-03-01 Chris Demetriou <cgd@google.com>
5726
5727 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5728 have predictable order.
5729
57302012-03-01 David S. Miller <davem@davemloft.net>
5731
5732 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5733
5734 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5735 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5736 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5737 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5738
5739 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5740 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5741 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5743 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5744 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5745 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5746 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5747 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5748
5749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5750
5751 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5752 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5753 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5754
5755 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5756 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5757 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5758 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5759 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5762 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5763 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5764 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5765 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5769 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5771 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5772 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5773 * sysdeps/sparc/elf/configure: Regenerated.
5774
57752012-03-01 Joseph Myers <joseph@codesourcery.com>
5776
5777 * configure.in (AS, LD): Require binutils 2.20 or later.
5778 * configure: Regenerated.
5779 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5780 as required minimum version.
5781 * INSTALL: Regenerated.
5782
5783 [BZ #2541]
5784 [BZ #4108]
5785 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5786 before squaring exponent.
5787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5788 bottom long double and 27 bits of top long double before squaring
5789 exponent.
5790 * math/libm-test.inc (erfc_test): Add more tests.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5794
57952012-03-01 Kai Tietz <ktietz@redhat.com>
5796
5797 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5798 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5799 containing bit-fields.
5800 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5801 * soft-fp/single.h (_FP_UNION_S): Likewise.
5802 * soft-fp/double.h (_FP_UNION_D): Likewise.
5803
58042012-02-29 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #13786]
5807 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5808 not include ../strcmp.S.
5809 [USE_AS_STRNCASECMP_L]: Likewise.
5810 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5811 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5812 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5813 (__strncasecmp_l_ia32): Define as alias to
5814 __strncasecmp_l_nonascii.
5815
5816 [BZ #5794]
5817 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5818 * sysdeps/i386/fpu/libm-test-ulps: Update.
5819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820
5821 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5823
58242012-02-29 Jeff Law <law@redhat.com>
5825
5826 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5827 out of bounds read.
5828
58292012-02-29 Marek Polacek <polacek@redhat.com>
5830
5831 [BZ #13706]
5832 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5833 * elf/Makefile: Add rules to run tst-unused-dep.out.
5834
58352012-02-28 David S. Miller <davem@davemloft.net>
5836
5837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5841 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5842 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5843
58442012-02-29 Joseph Myers <joseph@codesourcery.com>
5845
5846 * math/libm-test.inc (llround_test): Move one test from
5847 lround_test. Use TEST_f_L in moved test.
5848 (lround_test): Move misplaced test to llround_test. Add testcase
5849 from bug 2561.
5850
58512012-02-28 Ulrich Drepper <drepper@gmail.com>
5852
5853 * sysdeps/x86_64/fpu/e_expf.S: New file.
5854 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5855
58562012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5857
5858 [BZ #13637]
5859 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5860 of remain_len that may cause incomplete multi-byte character and
5861 false match.
5862 * posix/bug-regex33.c: New file.
5863 * posix/Makefile (tests): Add bug-regex33.
5864
58652012-02-28 Joseph Myers <joseph@codesourcery.com>
5866
5867 * manual/macros.texi: New file.
5868 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5869 * manual/libc.texinfo: Include macros.texi.
5870 * manual/creatute.texi: Likewise.
5871 * manual/install.texi: Likewise.
5872 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5873 @glibcadj{} in references to the GNU C Library.
5874 * manual/charset.texi: Likewise.
5875 * manual/conf.texi: Likewise.
5876 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5877 when not using those macros.
5878 * manual/creature.texi: Likewise.
5879 * manual/crypt.texi: Likewise.
5880 * manual/errno.texi: Likewise.
5881 * manual/filesys.texi: Likewise.
5882 * manual/header.texi: Likewise.
5883 * manual/install.texi: Likewise.
5884 * manual/intro.texi: Likewise.
5885 * manual/io.texi: Likewise.
5886 * manual/job.texi: Likewise.
5887 * manual/lang.texi: Likewise.
5888 * manual/libc.texiinfo: Likewise.
5889 * manual/llio.texi: Likewise.
5890 * manual/locale.texi: Likewise.
5891 * manual/maint.texi: Likewise.
5892 * manual/math.texi: Likewise.
5893 * manual/memory.texi: Likewise.
5894 * manual/message.texi: Likewise.
5895 * manual/nss.texi: Likewise.
5896 * manual/pattern.texi: Likewise.
5897 * manual/process.texi: Likewise.
5898 * manual/resource.texi: Likewise.
5899 * manual/search.texi: Likewise.
5900 * manual/setjmp.texi: Likewise.
5901 * manual/signal.texi: Likewise.
5902 * manual/socket.texi: Likewise.
5903 * manual/startup.texi: Likewise.
5904 * manual/stdio.texi: Likewise.
5905 * manual/string.texi: Likewise.
5906 * manual/sysinfo.texi: Likewise.
5907 * manual/syslog.texi: Likewise.
5908 * manual/terminal.texi: Likewise.
5909 * manual/time.texi: Likewise.
5910 * manual/users.texi: Likewise.
5911 * INSTALL: Regenerated.
5912 * NOTES: Regenerated.
5913 * sysdeps/gnu/errlist.c: Regenerated.
5914
59152012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5916
5917 * include/dirent.h: Include <dirstream.h> before
5918 <dirent/dirent.h>.
5919
59202012-02-28 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5923 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5924 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5926
59272012-02-27 David S. Miller <davem@davemloft.net>
5928
5929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5931 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5932 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5933
5934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5935 frame pointer instead of stack pointer relative arg slot.
5936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5937 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5938 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5939
59402012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5941
5942 [BZ #3992]
5943 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5944
59452012-02-27 David S. Miller <davem@davemloft.net>
5946
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5953 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5954 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5955
59562012-02-27 Joseph Myers <joseph@codesourcery.com>
5957
5958 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5959 later. Allow versions 5-9.
5960 * configure: Regenerated.
5961 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5962 required minimum version and 4.6 as recommended version. Do not
5963 mention bugs in GCC 2.7 and 2.8.
5964 * INSTALL: Regenerated.
5965
59662012-02-27 David S. Miller <davem@davemloft.net>
5967
5968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5972 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5973 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5974 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5975 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5976
5977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5978 manipulate bits before adding and subtracting TWO112[sx].
5979 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5980
59812012-02-27 Roland McGrath <roland@hack.frob.com>
5982
5983 [BZ #13775]
5984 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5985 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5986 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5987 being in POSIX, because they are in 1003.1-2008.
5988
5989 * rt/tst-aio.c: Include <fcntl.h>.
5990 * rt/tst-aio7.c: Likewise.
5991 * rt/tst-aio64.c: Likewise.
5992
5993 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5994
59952012-02-27 Joseph Myers <joseph@codesourcery.com>
5996
5997 * manual/install.texi (--with-headers): Describe headers as
5998 interface headers, not private headers.
5999 (Specific advice for GNU/Linux systems): Describe use of headers
6000 from "make headers_install", not private headers from older
6001 kernels.
6002 * INSTALL: Regenerated.
6003 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6004 Change to 2.6.19.
6005 * sysdeps/unix/sysv/linux/configure: Regenerated.
6006
6007 * manual/llio.texi (fclean): Remove documentation.
6008
6009 * manual/Makefile (libc-texi-generated): New variable. Include
6010 version.texi.
6011 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6012 $(libc-texi-generated), not duplicated list of files.
6013 (version.texi, stamp-version): New rules.
6014 (realclean): Remove $(libc-texi-generated), not individual files
6015 from that list. Do not remove dir-add.texinfo.
6016 * manual/libc.texinfo: Comment out uses of edition numbers and
6017 references to printed manual. Remove last-updated dates.
6018 (EDITION): Comment out.
6019 (ISBN): Likewise.
6020 (VERSION, UPDATED): Remove.
6021 (version.texi): Include.
6022
60232012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6024
6025 * sysdeps/posix/spawni.c: Include <signal.h>.
6026 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6027 * sysdeps/pthread/aio_fsync.c: Likewise.
6028
60292012-02-26 Ulrich Drepper <drepper@gmail.com>
6030
6031 * conform/Makefile (tests): Run only when not cross-compiling and
6032 when fast-check is not defined.
6033
6034 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6035 * conform/data/limits.h-data: Fixes for POSIX2008.
6036 * conform/run-conformtest.sh: Run all tests.
6037 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6038 headers.
6039 * include/bits/dlfcn.h: Likewise.
6040 * include/langinfo.h: Likewise.
6041 * include/monetary.h: Likewise.
6042 * include/sys/poll.h: Likewise.
6043
6044 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6045 for __USE_GNU.
6046 * posix/spawn.h: Define __need_sigset_t.
6047 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6048 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6049 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6050 to get sigevent_t only.
6051 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6052 only for __USE_GNU.
6053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6055 process_vm_writev only for __USE_GNU.
6056 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6057
6058 * conform/Makefile: For now ignore errors from run-conformtest.
6059 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6060 POSIX to avoid namespace pollution. Don't prepend headers.
6061 * conform/data/aio.h-data: Fixes for POSIX testing.
6062 * conform/data/fcntl.h-data: Likewise.
6063 * conform/data/glob.h-data: Likewise.
6064 * conform/data/grp.h-data: Likewise.
6065 * conform/data/pthread.h-data: Likewise.
6066 * conform/data/pwd.h-data: Likewise.
6067 * conform/data/signal.h-data: Likewise.
6068 * conform/data/spawn.h-data: Likewise.
6069 * conform/data/stdio.h-data: Likewise.
6070 * conform/data/stdlib.h-data: Likewise.
6071 * conform/data/stropts.h-data: Likewise.
6072 * conform/data/sys/mman.h-data: Likewise.
6073 * conform/data/sys/stat.h-data: Likewise.
6074 * conform/data/sys/types.h-data: Likewise.
6075 * conform/data/sys/wait.h-data: Likewise.
6076 * conform/data/time.h-data: Likewise.
6077 * conform/data/unistd.h-data: Likewise.
6078 * conform/data/utime.h-data: Likewise.
6079
6080 * io/sys/stat.h: fchmod was always in POSIX.
6081 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6082 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6083 * rt/aio.h: Define __need_timespec before including <time.h>.
6084 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6085 struct. Add forward declaration of pthread_attr_t and use it in
6086 sigevent.
6087 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6089 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6090 always remove CLK_TCK definition.
6091
60922012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6093
6094 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6095
60962012-02-25 Ulrich Drepper <drepper@gmail.com>
6097
6098 * conform/run-conformtest.sh: New file.
6099 * conform/Makefile: Run run-conformtest for tests.
6100 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6101 support.
6102
6103 * conform/data/uchar.h-data: New file.
6104 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6105 * conform/data/arpa/inet.h-data: Likewise.
6106 * conform/data/assert.h-data: Likewise.
6107 * conform/data/complex.h-data: Likewise.
6108 * conform/data/cpio.h-data: Likewise.
6109 * conform/data/ctype.h-data: Likewise.
6110 * conform/data/dirent.h-data: Likewise.
6111 * conform/data/dlfcn.h-data: Likewise.
6112 * conform/data/errno.h-data: Likewise.
6113 * conform/data/fcntl.h-data: Likewise.
6114 * conform/data/float.h-data: Likewise.
6115 * conform/data/fmtmsg.h-data: Likewise.
6116 * conform/data/fnmatch.h-data: Likewise.
6117 * conform/data/ftw.h-data: Likewise.
6118 * conform/data/glob.h-data: Likewise.
6119 * conform/data/grp.h-data: Likewise.
6120 * conform/data/iconv.h-data: Likewise.
6121 * conform/data/inttypes.h-data: Likewise.
6122 * conform/data/langinfo.h-data: Likewise.
6123 * conform/data/libgen.h-data: Likewise.
6124 * conform/data/limits.h-data: Likewise.
6125 * conform/data/locale.h-data: Likewise.
6126 * conform/data/math.h-data: Likewise.
6127 * conform/data/monetary.h-data: Likewise.
6128 * conform/data/mqueue.h-data: Likewise.
6129 * conform/data/ndbm.h-data: Likewise.
6130 * conform/data/net/if.h-data: Likewise.
6131 * conform/data/netdb.h-data: Likewise.
6132 * conform/data/netinet/in.h-data: Likewise.
6133 * conform/data/nl_types.h-data: Likewise.
6134 * conform/data/poll.h-data: Likewise.
6135 * conform/data/pthread.h-data: Likewise.
6136 * conform/data/pwd.h-data: Likewise.
6137 * conform/data/regex.h-data: Likewise.
6138 * conform/data/sched.h-data: Likewise.
6139 * conform/data/search.h-data: Likewise.
6140 * conform/data/semaphore.h-data: Likewise.
6141 * conform/data/setjmp.h-data: Likewise.
6142 * conform/data/signal.h-data: Likewise.
6143 * conform/data/spawn.h-data: Likewise.
6144 * conform/data/stdarg.h-data: Likewise.
6145 * conform/data/stdio.h-data: Likewise.
6146 * conform/data/stdlib.h-data: Likewise.
6147 * conform/data/string.h-data: Likewise.
6148 * conform/data/strings.h-data: Likewise.
6149 * conform/data/stropts.h-data: Likewise.
6150 * conform/data/sys/ipc.h-data: Likewise.
6151 * conform/data/sys/mman.h-data: Likewise.
6152 * conform/data/sys/msg.h-data: Likewise.
6153 * conform/data/sys/resource.h-data: Likewise.
6154 * conform/data/sys/select.h-data: Likewise.
6155 * conform/data/sys/sem.h-data: Likewise.
6156 * conform/data/sys/shm.h-data: Likewise.
6157 * conform/data/sys/socket.h-data: Likewise.
6158 * conform/data/sys/stat.h-data: Likewise.
6159 * conform/data/sys/statvfs.h-data: Likewise.
6160 * conform/data/sys/time.h-data: Likewise.
6161 * conform/data/sys/timeb.h-data: Likewise.
6162 * conform/data/sys/times.h-data: Likewise.
6163 * conform/data/sys/types.h-data: Likewise.
6164 * conform/data/sys/uio.h-data: Likewise.
6165 * conform/data/sys/un.h-data: Likewise.
6166 * conform/data/sys/utsname.h-data: Likewise.
6167 * conform/data/sys/wait.h-data: Likewise.
6168 * conform/data/syslog.h-data: Likewise.
6169 * conform/data/tar.h-data: Likewise.
6170 * conform/data/termios.h-data: Likewise.
6171 * conform/data/utime.h-data: Likewise.
6172 * conform/data/utmpx.h-data: Likewise.
6173 * conform/data/varargs.h-data: Likewise.
6174 * conform/data/wchar.h-data: Likewise.
6175 * conform/data/wctype.h-data: Likewise.
6176 * conform/data/wordexp.h-data: Likewise.
6177
6178 * include/stropts.h: New file.
6179 * include/uchar.h: New file.
6180 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6181 * include/assert.h: Likewise.
6182 * include/ctype.h: Likewise.
6183 * include/dirent.h: Likewise.
6184 * include/dlfcn.h: Likewise.
6185 * include/fcntl.h: Likewise.
6186 * include/fnmatch.h: Likewise.
6187 * include/glob.h: Likewise.
6188 * include/grp.h: Likewise.
6189 * include/libio.h: Likewise.
6190 * include/locale.h: Likewise.
6191 * include/math.h: Likewise.
6192 * include/net/if.h: Likewise.
6193 * include/netdb.h: Likewise.
6194 * include/netinet/in.h: Likewise.
6195 * include/pthread.h: Likewise.
6196 * include/pwd.h: Likewise.
6197 * include/regex.h: Likewise.
6198 * include/sched.h: Likewise.
6199 * include/search.h: Likewise.
6200 * include/setjmp.h: Likewise.
6201 * include/signal.h: Likewise.
6202 * include/stdio.h: Likewise.
6203 * include/stdlib.h: Likewise.
6204 * include/string.h: Likewise.
6205 * include/sys/cdefs.h: Likewise.
6206 * include/sys/mman.h: Likewise.
6207 * include/sys/msg.h: Likewise.
6208 * include/sys/resource.h: Likewise.
6209 * include/sys/select.h: Likewise.
6210 * include/sys/socket.h: Likewise.
6211 * include/sys/stat.h: Likewise.
6212 * include/sys/statvfs.h: Likewise.
6213 * include/sys/time.h: Likewise.
6214 * include/sys/times.h: Likewise.
6215 * include/sys/uio.h: Likewise.
6216 * include/sys/utsname.h: Likewise.
6217 * include/sys/wait.h: Likewise.
6218 * include/termios.h: Likewise.
6219 * include/time.h: Likewise.
6220 * include/ulimit.h: Likewise.
6221 * include/unistd.h: Likewise.
6222 * include/utime.h: Likewise.
6223 * include/wchar.h: Likewise.
6224 * include/wctype.h: Likewise.
6225 * include/wordexp.h: Likewise.
6226
6227 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6228
6229 * time/time.h: TIME_UTC must be a macro.
6230 Make timespec_get available for ISO C11 only as well.
6231
62322012-02-24 Ulrich Drepper <drepper@gmail.com>
6233
6234 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6235 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6236
62372012-02-24 Joseph Myers <joseph@codesourcery.com>
6238
6239 * configure.in: Use -o not -a in test for unsupported multi-arch.
6240
62412012-02-24 Joseph Myers <joseph@codesourcery.com>
6242
6243 * manual/texinfo.tex: Update to version 2012-01-19.16.
6244
62452012-02-24 Joseph Myers <joseph@codesourcery.com>
6246
6247 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6248
62492012-02-24 Roland McGrath <roland@hack.frob.com>
6250
6251 [BZ #13738]
6252 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6253 * manual/fdl-1.3.texi: New file.
6254 * manual/fdl-1.1.texi: File removed.
6255
6256 [BZ #13738]
6257 * manual/libc.texinfo (FDL_VERSION): New @set.
6258 Use it for mention of FDL in cover text.
6259 (Documentation License): Use it in @include file name.
6260
62612012-02-22 Joseph Myers <joseph@codesourcery.com>
6262 Roland McGrath <roland@hack.frob.com>
6263
6264 [BZ #5461]
6265 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6266 not LONG_LONG_MAX and LONG_LONG_MIN.
6267 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6268 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6269 name.
6270 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6271
62722012-02-22 Joseph Myers <joseph@codesourcery.com>
6273
6274 [BZ #2547]
6275 [BZ #11365]
6276 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6277 manipulate bits before adding and subtracting TWO23[sx].
6278 * math/libm-test.inc (nearbyint_test): Add more tests.
6279
62802012-02-22 Joseph Myers <joseph@codesourcery.com>
6281
6282 [BZ #2548]
6283 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6284 bits before adding and subtracting TWO23[sx].
6285 * math/libm-test.inc (rint_test): Add more tests.
6286 (rint_test_tonearest): Likewise.
6287 (rint_test_towardzero): Likewise.
6288 (rint_test_downward): Likewise.
6289 (rint_test_upward: Likewise.
6290
62912012-02-22 Joseph Myers <joseph@codesourcery.com>
6292
6293 [BZ #10110]
6294 * include/stdc-predef.h: New file. Extracted from features.h.
6295 * include/features.h: Include stdc-predef.h.
6296 * Makefile (headers): Add stdc-predef.h.
6297 * CONFORMANCE (Compiler limitations): Update.
6298
62992012-02-22 Joseph Myers <joseph@codesourcery.com>
6300
6301 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6302
63032012-02-21 David S. Miller <davem@davemloft.net>
6304
6305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6307
63082012-02-20 David S. Miller <davem@davemloft.net>
6309
6310 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6311 using a normal save/restore sequence, rather than allocating a
6312 dummy stack frame just to store a frame pointer and restore.
6313 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6314
63152012-02-21 Joseph Myers <joseph@codesourcery.com>
6316
6317 * manual/install.texi: Fix stray word in line-wrapped comment.
6318
63192012-02-20 David S. Miller <davem@davemloft.net>
6320
6321 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6322 both binutils and gcc support GOTDATA.
6323
6324 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6325 "rd %pc" in the PIC register setup sequences.
6326
6327 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6328 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6329 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6330 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6331 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6336 (SYSCALL_ERROR_HANDLER): Likewise.
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6338 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6340 (SYSCALL_ERROR_HANDLER): Likewise.
6341
6342 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6343 (HAVE_GCC_GOTDATA): New.
6344 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6345 relocation support in both binutils and gcc.
6346 * sysdeps/sparc/elf/configure: Regenerate.
6347
6348 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6349 * sysdeps/sparc/sparc32/elf/configure: Delete.
6350 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6351 * sysdeps/sparc/sparc64/elf/configure: Delete.
6352 * sysdeps/sparc/elf/configure.in: New file.
6353 * sysdeps/sparc/elf/configure: Generate.
6354
6355 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6356 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6357 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6358 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6359 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6360
63612012-02-21 Joseph Myers <joseph@codesourcery.com>
6362
6363 * manual/install.texi: Do not mention specific glibc version
6364 numbers.
6365 * manual/libc.texinfo (VERSION, UPDATED): Update.
6366 (@copying): Use @copyright{} and range of years.
6367
63682012-02-21 Joseph Myers <joseph@codesourcery.com>
6369
6370 [BZ #13695]
6371 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6372 [crti.S not in sysdirs] (generated): Do not append.
6373 [crti.S not in sysdirs] (omit-deps): Likewise.
6374 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6375 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6376 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6377 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6378 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6379 Likewise.
6380 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6381 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6382 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6383 * csu/defs.awk: Remove file.
6384 * sysdeps/generic/initfini.c: Likewise.
6385 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6386 variable.
6387 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6388 Likewise.
6389
63902012-02-20 Joseph Myers <joseph@codesourcery.com>
6391
6392 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6393 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6397 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6398 <bits/epoll.h>.
6399 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6400 (__EPOLL_PACKED): Define to empty if not defined by
6401 <bits/epoll.h>.
6402 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6404 bits/epoll.h.
6405
64062012-02-20 Joseph Myers <joseph@codesourcery.com>
6407
6408 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6409 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6411 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6412 <bits/timerfd.h>.
6413 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6415 bits/timerfd.h.
6416
64172012-02-20 Joseph Myers <joseph@codesourcery.com>
6418
6419 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6420 in C locale.
6421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6422 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6425
64262012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6427
6428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6430
64312012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6432
6433 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6434 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6435 defined.
6436 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6437 Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6439 entry for 2.16.
6440
64412012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6442
6443 * math/w_acos.c: Use non-signaling floating-point comparisons.
6444 * math/w_acosf.c: Likewise.
6445 * math/w_acosh.c: Likewise.
6446 * math/w_acoshf.c: Likewise.
6447 * math/w_acoshl.c: Likewise.
6448 * math/w_acosl.c: Likewise.
6449 * math/w_asin.c: Likewise.
6450 * math/w_asinf.c: Likewise.
6451 * math/w_asinl.c: Likewise.
6452 * math/w_atanh.c: Likewise.
6453 * math/w_atanhf.c: Likewise.
6454 * math/w_atanhl.c: Likewise.
6455 * math/w_exp2.c: Likewise.
6456 * math/w_exp2f.c: Likewise.
6457 * math/w_exp2l.c: Likewise.
6458 * math/w_j0.c: Likewise.
6459 * math/w_j0f.c: Likewise.
6460 * math/w_j0l.c: Likewise.
6461 * math/w_j1.c: Likewise.
6462 * math/w_j1f.c: Likewise.
6463 * math/w_j1l.c: Likewise.
6464 * math/w_jn.c: Likewise.
6465 * math/w_jnf.c: Likewise.
6466 * math/w_log.c: Likewise.
6467 * math/w_log10.c: Likewise.
6468 * math/w_log10f.c: Likewise.
6469 * math/w_log10l.c: Likewise.
6470 * math/w_log2.c: Likewise.
6471 * math/w_log2f.c: Likewise.
6472 * math/w_log2l.c: Likewise.
6473 * math/w_logf.c: Likewise.
6474 * math/w_logl.c: Likewise.
6475 * math/w_sqrt.c: Likewise.
6476 * math/w_sqrtf.c: Likewise.
6477 * math/w_sqrtl.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6481 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6483
64842012-02-19 Joseph Myers <joseph@codesourcery.com>
6485
6486 [BZ #9739]
6487 * manual/string.texi (strnlen): Use correct parameter name in
6488 equivalent expression.
6489
64902012-02-19 Joseph Myers <joseph@codesourcery.com>
6491
6492 [BZ #11174]
6493 * manual/users.texi (seteuid): Consistently use neweuid for
6494 argument name.
6495
64962012-02-19 Joseph Myers <joseph@codesourcery.com>
6497
6498 [BZ #13704]
6499 * manual/nss.texi (Services in the NSS configuration): Correct
6500 list of services in example configuration file.
6501
65022012-02-19 Nick Bowler <nbowler@draconx.ca>
6503
6504 [BZ #11322]
6505 * manual/arith.texi: Remove statements about negative zero
6506 behaving identically to zero.
6507
65082012-02-18 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #5993]
6511 * manual/install.texi: Do not document upgrading from libc5.
6512
65132012-02-18 Joseph Myers <joseph@codesourcery.com>
6514
6515 [BZ #4596]
6516 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6517
65182012-02-18 David S. Miller <davem@davemloft.net>
6519
6520 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6521 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6522 %o7 across the call.
6523 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6524 instead.
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6526 SETUP_PIC_REG_LEAF.
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6528 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6529 * sysdeps/sparc/crtn.S: Likewise.
6530
65312012-02-17 Ulrich Drepper <drepper@gmail.com>
6532
6533 * aout/Makefile: Remove.
6534
65352012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6536
6537 [BZ #13058]
6538 * manual/examples/argp-ex1.c (main): Format definition in GNU
6539 style.
6540 * manual/examples/argp-ex2.c (main): Likewise.
6541 * manual/examples/argp-ex3.c (main): Likewise.
6542 * manual/examples/argp-ex4.c (main): Likewise.
6543 * manual/examples/longopt.c (main): Use new-style prototype
6544 definition.
6545 * manual/examples/strncat.c (main): Specify return type and use
6546 (void) for arguments.
6547 * manual/examples/subopt.c (main): Use char **argv argument.
6548
65492012-02-17 Joseph Myers <joseph@codesourcery.com>
6550
6551 [BZ #5077]
6552 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6553 rounding modes.
6554
65552012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6556
6557 [BZ #6907]
6558 * manual/string.texi (strchr): Change when strchrnul is
6559 recommended.
6560
65612012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6562
6563 [BZ #174]
6564 * manual/locale.texi (setlocale): Document LOCPATH.
6565
65662012-02-17 Joseph Myers <joseph@codesourcery.com>
6567
6568 [BZ #10210]
6569 * manual/process.texi (execle): Move @dots{} before last argument.
6570
65712012-02-17 Paul Bolle <pebolle@tiscali.nl>
6572
6573 [BZ #12047]
6574 * manual/charset.texi (Generic Charset Conversion): Fix typo
6575 (LC_TYPE -> LC_CTYPE).
6576
65772012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6578
6579 [BZ #5805]
6580 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6581 (scalbnf): Likewise.
6582 (scalbnl): Likewise.
6583 (scalbln): Likewise.
6584 (scalblnf): Likewise.
6585 (scalblnl): Likewise.
6586 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6587 (vwarnx): Likewise.
6588 (verr): Likewise.
6589 (verrx): Likewise.
6590 * manual/filesys.texi (telldir): Use braces around return type.
6591 * manual/llio.texi (mmap): Add space after comma.
6592 (mmap64): Likewise.
6593 * manual/math.texi (jn): Use @var{} on parameter names.
6594 (jnf): Likewise.
6595 (jnl): Likewise.
6596 (yn): Likewise.
6597 (ynf): Likewise.
6598 (ynl): Likewise.
6599 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6600 line.
6601 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6602 "...".
6603 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6604 (sched_get_priority_max): Likewise.
6605 * manual/signal.texi (sigvec): Add space after comma.
6606 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6607 names.
6608 (if_indextoname): Likewise.
6609 (if_freenameindex): Likewise.
6610 (sendto): Use ',' instead of '.' in prototype.
6611 * manual/startup.texi (syscall): Use @dots{} instead of literal
6612 "...".
6613 * manual/stdio.texi (__fpending): Separate initial words of
6614 paragraph from @deftypefun line.
6615 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6616 "...".
6617 (vsyslog): Use @var{} on parameter names.
6618 * manual/terminal.texi (stty): Use @var{} on parameter names.
6619 * manual/users.texi (getutmp): Use @var{} on parameter names.
6620 (getutmpx): Likewise.
6621
66222012-02-17 Joseph Myers <joseph@codesourcery.com>
6623
6624 [BZ #6884]
6625 * manual/stdio.texi (fopen): Fix typos in description of
6626 ",ccs=STRING".
6627
66282012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6629
6630 [BZ #4026]
6631 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6632 get clock_id definition.
6633
66342012-02-17 Thomas Schwinge <thomas@schwinge.name>
6635
6636 [BZ #4822]
6637 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6638 (madvise): Cast every argument to void on its own.
6639
66402012-02-17 Joseph Myers <joseph@codesourcery.com>
6641
6642 [BZ #9902]
6643 * manual/startup.texi (Exit Status): Fix typo.
6644
66452012-02-17 Joseph Myers <joseph@codesourcery.com>
6646
6647 [BZ #10140]
6648 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6649 * manual/examples/argp-ex2.c: Likewise.
6650 * manual/examples/argp-ex3.c: Likewise.
6651
66522012-02-16 Richard Henderson <rth@redhat.com>
6653
6654 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6655 * sysdeps/s390/s390-32/initfini.c: Remove.
6656 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6657 * sysdeps/s390/s390-64/initfini.c: Remove.
6658
66592012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6660
6661 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6662 compiler output for sysdeps/generic/initfini.c.
6663 * sysdeps/sh/elf/initfini.c: Remove file.
6664
66652012-02-16 David S. Miller <davem@davemloft.net>
6666
6667 [BZ #11494]
6668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6669
6670 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6671 * sysdeps/sparc/crti.S: New file.
6672 * sysdeps/sparc/crtn.S: New file.
6673 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6674 * sysdeps/sparc/sparc64/Makefile: Likewise.
6675
66762012-02-15 Mike Frysinger <vapier@gentoo.org>
6677
6678 [BZ #3335]
6679 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6680
66812012-02-15 Roland McGrath <roland@hack.frob.com>
6682
6683 [BZ #4822]
6684 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6685
6686 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6687 (write, read, close): Likewise.
6688 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6689
66902012-02-15 Joseph Myers <joseph@codesourcery.com>
6691
6692 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6693 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6694 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6695 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6696 <bits/signalfd.h>.
6697 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6699 bits/signalfd.h.
6700
67012012-02-14 Marek Polacek <polacek@redhat.com>
6702
6703 * sysdeps/x86_64/crti.S: New file.
6704 * sysdeps/x86_64/crtn.S: New file.
6705 * sysdeps/x86_64/elf/initfini.c: Remove file.
6706
67072012-02-13 Joseph Myers <joseph@codesourcery.com>
6708
6709 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6710 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6711 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6712 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6713 <bits/inotify.h>.
6714 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6716 bits/inotify.h.
6717
67182012-02-13 Joseph Myers <joseph@codesourcery.com>
6719
6720 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6721 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6722 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6723 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6724 <bits/eventfd.h>.
6725 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6727 bits/eventfd.h.
6728
67292012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6730
6731 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6732 __feraiseexcept instead of feraiseexcept.
6733
6734 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6735 nanosleep invocations.
6736 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6737 strings, and add error checking for a nanosleep invocations.
6738
67392012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6740
6741 Replace FSF snail mail address with URLs, as per GNU coding standards.
6742 Most of the snail mail addresses were wrong anyway, and omitting
6743 them makes the source code easier to maintain. Almost all of the
6744 changes are to license notices and to locale LC_IDENTIFICATION
6745 addresses, except for this one:
6746 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6747 not its snail mail address.
6748
67492012-02-09 Richard Henderson <rth@twiddle.net>
6750
6751 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6752 of kernel-features.h.
6753
6754 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6755
67562012-02-08 Marek Polacek <polacek@redhat.com>
6757
6758 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6759 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6760 * sysdeps/gnu/_G_config.h: Likewise.
6761 * sysdeps/generic/_G_config.h: Likewise.
6762
67632012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6764
6765 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6766 tests.
6767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768
6769 * sysdeps/powerpc/powerpc32/crti.S: New file.
6770 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6771 * sysdeps/powerpc/powerpc64/crti.S: New file.
6772 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6773
6774 * Makeconfig (have-initfini): Don't set.
6775 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6776 * configure.in (nopic_initfini): Don't substitute.
6777 * config.h.in (HAVE_INITFINI): Don't #undef.
6778 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6779 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6780
67812012-02-08 Joseph Myers <joseph@codesourcery.com>
6782
6783 Support crti.S and crtn.S provided directly by architectures.
6784 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6785 [crti.S in sysdirs] (omit-deps): Likewise.
6786 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6787 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6788 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6789 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6790 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6791 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6792 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6793 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6794 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6795 compiler output for sysdeps/generic/initfini.c.
6796 * sysdeps/i386/elf/Makefile: Remove file.
6797 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6798
67992012-02-07 Marek Polacek <polacek@redhat.com>
6800
6801 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6802 * sysdeps/gnu/_G_config.h: Likewise.
6803 * sysdeps/mach/hurd/_G_config.h: Likewise.
6804
68052012-02-07 Marek Polacek <polacek@redhat.com>
6806
6807 * math/Makefile (tests): Add tst-CMPLX2.
6808 * math/tst-CMPLX2.c: New file.
6809
68102012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6811
6812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6813
6814 * math/libm-test.inc (jn_test): Add missing L suffix.
6815
68162012-02-06 Marek Polacek <polacek@redhat.com>
6817
6818 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6819 * sysdeps/i386/fpu/e_powf.S: Likewise.
6820 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6821 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6823 * sysdeps/i386/fpu/e_pow.S: Likewise.
6824 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6826 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6827 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6828 * sysdeps/i386/fpu/e_log2.S: Likewise.
6829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6831 * sysdeps/i386/fpu/e_powl.S: Likewise.
6832 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6833 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6834 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6835 * sysdeps/i386/fpu/e_logl.S: Likewise.
6836 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6837 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6842 * sysdeps/i386/fpu/e_log.S: Likewise.
6843 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6845 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6846 * sysdeps/i386/fpu/e_logf.S: Likewise.
6847 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6848 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6849 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6850 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6851 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6852 * sysdeps/i386/fpu/e_log10.S: Likewise.
6853 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6855 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6856 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6858 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6859 * sysdeps/i386/asm-syntax.h: Likewise.
6860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6863 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6864 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6869 * sysdeps/powerpc/sysdep.h: Likewise.
6870 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6871 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6872
68732012-02-06 Joseph Myers <joseph@codesourcery.com>
6874
6875 [BZ #411]
6876 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6877
68782012-02-06 Joseph Myers <joseph@codesourcery.com>
6879
6880 * sysdeps/i386/sysdep.h: Include <features.h>.
6881 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6882 version.
6883
68842012-02-05 Joseph Myers <joseph@codesourcery.com>
6885
6886 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6887 Define.
6888 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6889 LOAD_PIC_REG_STR.
6890
68912012-02-03 Joseph Myers <joseph@codesourcery.com>
6892
6893 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6894 (SETUP_PIC_REG): Use GET_PC_THUNK.
6895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6896 macro.
6897
68982012-02-03 Joseph Myers <joseph@codesourcery.com>
6899
6900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6901 for non-PIC compilation.
6902 (SETUP_PIC_REG): Add .p2align directive.
6903 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6904 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6907 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6908 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6909 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6910 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6911 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6912 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6913 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6914 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6915 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6916 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6917 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6918 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6922 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6923 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6924 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6925 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6926 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6929 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6931 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6932 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6933 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6935 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6944
69452012-02-03 Joseph Myers <joseph@codesourcery.com>
6946
6947 * math/tst-CMPLX.c: Include <stdio.h>.
6948
69492012-01-31 Joseph Myers <joseph@codesourcery.com>
6950
6951 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6952 float.
6953 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6954 * sysdeps/sparc/bits/mathdef.h: Likewise.
6955
69562012-01-31 Marek Polacek <polacek@redhat.com>
6957
6958 * libio/libio.h: Don't define _PARAMS.
6959 * locale/programs/config.h: Don't define PARAMS.
6960 * stdlib/strtol_l.c: Likewise.
6961 (__strtol_l): Remove PARAMS from the prototype.
6962
69632012-01-31 Ulrich Drepper <drepper@gmail.com>
6964
6965 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6966 names. Just use the correct names. Remove unnecessary wrapper
6967 functions.
6968 * malloc/arena.c: Likewise.
6969 * malloc/hooks.c: Likewise.
6970
6971 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6972 ARENA_TEST says not to. Simplify test for creation of a new arena.
6973 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6974
69752012-01-30 Ulrich Drepper <drepper@gmail.com>
6976
6977 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6978 into tail calls.
6979 (update_get_addr): New function.
6980 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6981 GET_ADDR_MODULE parameter.
6982
69832012-01-30 Joseph Myers <joseph@codesourcery.com>
6984
6985 * crypt/cert.c: Remove __STDC__ conditionals.
6986 * crypt/crypt-entry.c: Likewise.
6987 * crypt/crypt_util.c: Likewise.
6988 * libio/filedoalloc.c: Likewise.
6989 * libio/fileops.c: Likewise.
6990 * libio/genops.c: Likewise.
6991 * libio/iofclose.c: Likewise.
6992 * libio/iofdopen.c: Likewise.
6993 * libio/iofopen.c: Likewise.
6994 * libio/iofopen64.c: Likewise.
6995 * libio/iogetdelim.c: Likewise.
6996 * libio/iopopen.c: Likewise.
6997 * libio/obprintf.c: Likewise.
6998 * libio/oldfileops.c: Likewise.
6999 * libio/oldiofclose.c: Likewise.
7000 * libio/oldiofdopen.c: Likewise.
7001 * libio/oldiofopen.c: Likewise.
7002 * libio/oldiopopen.c: Likewise.
7003 * libio/wfiledoalloc.c: Likewise.
7004 * libio/wgenops.c: Likewise.
7005 * locale/programs/xmalloc.c: Likewise.
7006 * misc/syslog.c: Likewise.
7007 * stdio-common/xbug.c: Likewise.
7008 * string/memchr.c: Likewise.
7009 * string/memcmp.c: Likewise.
7010 * string/memrchr.c: Likewise.
7011 * string/rawmemchr.c: Likewise.
7012 * sysdeps/posix/getcwd.c: Likewise.
7013 * time/strftime_l.c: Likewise.
7014
70152012-01-30 Joseph Myers <joseph@codesourcery.com>
7016
7017 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7018 * config.make.in (config-cflags-sse2avx): Define.
7019 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7020 Fix typo.
7021
70222012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7023
7024 * scripts/config.guess: Update from upstream config git repository.
7025 * scripts/config.sub: Likewise.
7026
70272012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7028
7029 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7030 (EM_NUM): Update.
7031 (R_TILEPRO_*, R_TILEGX_*): New macros.
7032
7033 * scripts/firstversions.awk: Fix bug in version range handling.
7034
7035 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7036
7037 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7038
7039 * include/sys/epoll.h: New file.
7040 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7041 libc_hidden_def.
7042
70432012-01-28 Ulrich Drepper <drepper@gmail.com>
7044
7045 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7046 Avoid unnecessary __WORDSIZE == 64 test.
7047 (fmaxf): Use VEX format if possible.
7048 (fmax): Likewise.
7049 (fminf): Likewise.
7050 (fmin): Likewise.
7051
7052 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7053 * math/math_private.h: Remove libc_fegetround* and
7054 libc_fesetround*.
7055 * sysdeps/i386/configure.in: Check for -msse2avx.
7056 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7057 also if SSE2AVX is defined.
7058 Remove libc_fegetround* and libc_fesetround*.
7059 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7060 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7062 of HAS_YMM_USABLE.
7063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7068
7069 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7070
70712012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072
7073 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7074 size is not set.
7075 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7076
70772012-01-27 Ulrich Drepper <drepper@gmail.com>
7078
7079 [BZ #13618]
7080 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7081 relocation.
7082 * Makeconfig (libm): Define.
7083 * elf/Makefile: Add rules to build and run tst-relsort1.
7084 * elf/tst-relsort1.c: New file.
7085 * elf/tst-relsort1mod1.c: New file.
7086 * elf/tst-relsort1mod2.c: New file.
7087
70882012-01-27 Joseph Myers <joseph@codesourcery.com>
7089
7090 * math/s_ldexp.c: Remove __STDC__ conditionals.
7091 * math/s_ldexpf.c: Likewise.
7092 * math/s_ldexpl.c: Likewise.
7093 * math/s_nextafter.c: Likewise.
7094 * math/s_nexttowardf.c: Likewise.
7095 * math/s_significand.c: Likewise.
7096 * math/s_significandf.c: Likewise.
7097 * math/s_significandl.c: Likewise.
7098 * math/w_jnl.c: Likewise.
7099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7111 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7112 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7115 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7120 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7121 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7122 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7123 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7124 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7126 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7128 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7130 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7131 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7135 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7139 * sysdeps/ieee754/k_standard.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7201 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7202 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7206 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7219 * sysdeps/ieee754/s_matherr.c: Likewise.
7220 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7221 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7224
72252012-01-26 Joseph Myers <joseph@codesourcery.com>
7226
7227 * crypt/md5.h: Remove __STDC__ conditionals.
7228 * libio/libioP.h: Likewise.
7229 * locale/programs/config.h: Likewise.
7230 * sysdeps/generic/sysdep.h: Likewise.
7231 * sysdeps/i386/asm-syntax.h: Likewise.
7232 * sysdeps/s390/asm-syntax.h: Likewise.
7233 * sysdeps/unix/sysdep.h: Likewise.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7236
72372012-01-26 Joseph Myers <joseph@codesourcery.com>
7238
7239 * libio/libio.h: Remove __STDC__ conditionals.
7240 * malloc/obstack.h: Likewise.
7241 * math/complex.h: Likewise.
7242 * math/math.h: Likewise.
7243 * sysdeps/generic/_G_config.h: Likewise.
7244 * sysdeps/gnu/_G_config.h: Likewise.
7245 * sysdeps/mach/hurd/_G_config.h: Likewise.
7246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7247 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7248 * sysdeps/sparc/bits/mathdef.h: Likewise.
7249
72502012-01-26 Ulrich Drepper <drepper@gmail.com>
7251
7252 [BZ #13583]
7253 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7254 Clean up HAS_* macros.
7255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7256 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7257 possible.
7258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7259 HAS_AVX.
7260 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7261 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7263 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7265
72662012-01-25 Joseph Myers <joseph@codesourcery.com>
7267
7268 * elf/tst-unique3.cc (gets): Remove declaration.
7269 * elf/tst-unique3lib.cc (gets): Likewise.
7270 * elf/tst-unique3lib2.cc (gets): Likewise.
7271 * elf/tst-unique4.cc (gets): Likewise.
7272
72732012-01-24 Ulrich Drepper <drepper@gmail.com>
7274
7275 * include/stdio.h: Add C++ protection. Add gets declarations and
7276 definitions.
7277 * debug/tst-chk1.c: Don't declare gets here.
7278 * stdio-common/tst-gets.c: Likewise.
7279
72802012-01-24 Joseph Myers <joseph@codesourcery.com>
7281
7282 * posix/glob: Remove directory.
7283
72842012-01-24 Joseph Myers <joseph@codesourcery.com>
7285
7286 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7287
72882012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7289
7290 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7291 of the non-standard EPFNOSUPPORT.
7292
72932011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7294
7295 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7296 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7297 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7298
72992012-01-21 Ulrich Drepper <drepper@gmail.com>
7300
7301 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7302
73032012-01-20 Ulrich Drepper <drepper@gmail.com>
7304
7305 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7306 transient errors.
7307 * nscd/grpcache.c (cache_addgr): Likewise.
7308 * nscd/hstcache.c (cache_addhst): Likewise.
7309 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7310 * nscd/pwdcache.c (cache_addpw): Likewise.
7311 * nscd/servicescache.c (cache_addserv): Likewise.
7312
73132012-01-16 Ulrich Drepper <drepper@gmail.com>
7314
7315 * malloc/malloc.c: Various cleanups.
7316 * malloc/hooks.c: Likewise.
7317
7318 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7319 * stdlib/bug-fmtmsg1.c: New file.
7320
7321 * stdlib/fmtmsg.c (init): Add missing unlock.
7322 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7323
73242012-01-12 Marek Polacek <polacek@redhat.com>
7325
7326 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7327 and _GNU_SOURCE.
7328
73292012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7330
7331 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7332 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7333 macro to ensure uniqueness of label name.
7334 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7335 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7336
73372012-01-11 Ulrich Drepper <drepper@gmail.com>
7338
7339 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7340
7341 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7342 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7345
73462012-01-10 Ulrich Drepper <drepper@gmail.com>
7347
7348 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7349
7350 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7353
7354 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7355
7356 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7360
7361 * math/bits/math-finite.h: Add ldexp support.
7362
73632012-01-10 Marek Polacek <polacek@redhat.com>
7364
7365 * locale/programs/localedef.h (show_archive_content): Add noreturn
7366 attribute.
7367
73682012-01-09 Ulrich Drepper <drepper@gmail.com>
7369
7370 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7371
73722012-01-08 Ulrich Drepper <drepper@gmail.com>
7373
7374 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7375
7376 * io/Makefile (headers): Add bits/poll2.h.
7377
73782011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7379
7380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7381 typo #include statement.
7382
73832012-01-08 Ulrich Drepper <drepper@gmail.com>
7384
7385 * include/sys/cdefs.h: Define __attribute_alloc_size.
7386 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7387 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7388 * elf/pldd.c: Likewise.
7389 * iconv/iconv_charmap.c: Likewise.
7390 * iconv/iconvconfig.c: Likewise.
7391 * iconv/strtab.c: Likewise.
7392 * locale/programs/locale.c: Likewise.
7393 * locale/programs/localedef.h: Likewise.
7394 * locale/programs/simple-hash.c: Likewise.
7395 * nscd/nscd.h: Likewise.
7396 * nss/makedb.c: Likewise.
7397 * sysdeps/generic/ldconfig.h: Likewise.
7398 * locale/programs/localedef.c: Remove xmalloc prototype.
7399 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7400
74012012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7402
7403 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7404 appropriate.
7405
74062012-01-08 Ulrich Drepper <drepper@gmail.com>
7407
7408 * math/Makefile (tests): Add tst-CMPLX.
7409 * math/tst-CMPLX.c: New file.
7410
7411 * math/complex.h (CMPLXL): Fix typo.
7412
7413 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7414 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7415 GLIBC_2.16.
7416 * debug/tst-chk1.c: Add poll and ppoll tests.
7417 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7418 * include/sys/poll.h: Add hidden proto for ppoll.
7419 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7420 * sysdeps/mach/hurd/ppoll.c: Likewise.
7421 * io/ppoll.c: Likewise.
7422 * debug/poll_chk.c: New file.
7423 * debug/ppoll_chk.c: New file.
7424 * include/bits/poll2.h: New file.
7425 * io/bits/poll2.h: New file.
7426
7427 [BZ #1350]
7428 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7429
7430 * configure.in: static is always set to yes. Remove.
7431 * config.make.in: Don't set build-static.
7432 * Makeconfig: Remove use of build-static.
7433 * dlfcn/Makefile: Likewise.
7434 * elf/Makefile: Likewise.
7435 * math/Makefile: Likewise.
7436 * misc/Makefile: Likewise.
7437 * nptl/Makefile: Likewise.
7438 * sysdeps/mach/hurd/Makefile: Likewise.
7439
7440 * configure.in: PWD_P is not used anymore.
7441 * config.make.in: Remove PWD_P entry.
7442
7443 * configure.in: Remove last remnants of RANLIB.
7444 No need to check for signed size_t anymore.
7445 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7446 and IA-64.
7447 Remove __builtin_expect test because we require at least gcc 3.4.
7448 * aclocal.m4: Likewise.
7449
7450 * wcsmbs/mbrtoc16.c: Implement using towc function.
7451 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7452 * wcsmbs/wcsmbsload.c: Likewise.
7453 * iconv/gconv_simple.c: Likewise.
7454 * iconv/gconv_int.h: Likewise.
7455 * iconv/gconv_builtin.h: Likewise.
7456 * iconv/iconv_prog.c: Remove CHAR16 handling.
7457
7458 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7459
7460 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7461
7462 * configure.in: Remove --with-elf and --enable-bounded options.
7463 Dont set base_machine for ia64. More non-ELF conditions removed.
7464 Remove testing and setting of leading underscore information.
7465 * config.make.in (build-bounded): Set to no.
7466 * config.h.in: Remove NO_UNDERSCORES entry.
7467 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7468 them.
7469 * csu/start.c: Remove !NO_UNDERSCORE code.
7470 * locale/localeinfo.h: Likewise.
7471 * sysdeps/generic/machine-gmon.h: Likewise.
7472 * sysdeps/generic/sysdep.h: Likewise.
7473 * sysdeps/i386/sysdep.h: Likewise.
7474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7475 * sysdeps/mach/sysdep.h: Likewise.
7476 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7478 * sysdeps/sh/sysdep.h: Likewise.
7479 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7480 * sysdeps/unix/i386/sysdep.S: Likewise.
7481 * sysdeps/unix/sparc/start.c: Likewise.
7482 * sysdeps/unix/sparc/sysdep.S: Likewise.
7483 * sysdeps/unix/sparc/sysdep.h: Likewise.
7484 * sysdeps/unix/start.c: Likewise.
7485 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7486 * sysdeps/x86_64/sysdep.h: Likewise.
7487
74882012-01-07 Ulrich Drepper <drepper@gmail.com>
7489
7490 [BZ #13553]
7491 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7492 for non-gcc.
7493 * argp/argp-fmtstream.h: Use const instead __const.
7494 * argp/argp.h: Likewise.
7495 * assert/assert.h: Likewise.
7496 * bits/fenv.h: Likewise.
7497 * bits/sched.h: Likewise.
7498 * bits/sigset.h: Likewise.
7499 * bits/sigthread.h: Likewise.
7500 * catgets/nl_types.h: Likewise.
7501 * conform/data/pthread.h-data: Likewise.
7502 * crypt/crypt-private.h: Likewise.
7503 * crypt/crypt.h: Likewise.
7504 * crypt/crypt_util.c: Likewise.
7505 * ctype/ctype.h: Likewise.
7506 * debug/execinfo.h: Likewise.
7507 * debug/mbsnrtowcs_chk.c: Likewise.
7508 * debug/mbsrtowcs_chk.c: Likewise.
7509 * debug/wcsnrtombs_chk.c: Likewise.
7510 * debug/wcsrtombs_chk.c: Likewise.
7511 * debug/wcstombs_chk.c: Likewise.
7512 * dirent/dirent.h: Likewise.
7513 * dlfcn/dlfcn.h: Likewise.
7514 * elf/neededtest4.c: Likewise.
7515 * grp/grp.h: Likewise.
7516 * gshadow/gshadow.h: Likewise.
7517 * iconv/gconv.h: Likewise.
7518 * iconv/gconv_int.h: Likewise.
7519 * iconv/gconv_simple.c: Likewise.
7520 * iconv/iconv.h: Likewise.
7521 * iconv/loop.c: Likewise.
7522 * iconv/skeleton.c: Likewise.
7523 * include/aio.h: Likewise.
7524 * include/aliases.h: Likewise.
7525 * include/argz.h: Likewise.
7526 * include/arpa/inet.h: Likewise.
7527 * include/assert.h: Likewise.
7528 * include/dirent.h: Likewise.
7529 * include/dlfcn.h: Likewise.
7530 * include/execinfo.h: Likewise.
7531 * include/fcntl.h: Likewise.
7532 * include/fenv.h: Likewise.
7533 * include/glob.h: Likewise.
7534 * include/grp.h: Likewise.
7535 * include/libintl.h: Likewise.
7536 * include/mntent.h: Likewise.
7537 * include/netdb.h: Likewise.
7538 * include/pwd.h: Likewise.
7539 * include/rpc/netdb.h: Likewise.
7540 * include/sched.h: Likewise.
7541 * include/search.h: Likewise.
7542 * include/shadow.h: Likewise.
7543 * include/signal.h: Likewise.
7544 * include/stdio.h: Likewise.
7545 * include/stdlib.h: Likewise.
7546 * include/string.h: Likewise.
7547 * include/sys/socket.h: Likewise.
7548 * include/sys/stat.h: Likewise.
7549 * include/sys/statfs.h: Likewise.
7550 * include/sys/statvfs.h: Likewise.
7551 * include/sys/syslog.h: Likewise.
7552 * include/sys/time.h: Likewise.
7553 * include/sys/uio.h: Likewise.
7554 * include/time.h: Likewise.
7555 * include/unistd.h: Likewise.
7556 * include/utmp.h: Likewise.
7557 * include/wchar.h: Likewise.
7558 * include/wctype.h: Likewise.
7559 * inet/aliases.h: Likewise.
7560 * inet/arpa/inet.h: Likewise.
7561 * inet/netinet/ether.h: Likewise.
7562 * inet/netinet/in.h: Likewise.
7563 * intl/libintl.h: Likewise.
7564 * io/bits/fcntl2.h: Likewise.
7565 * io/fcntl.h: Likewise.
7566 * io/ftw.h: Likewise.
7567 * io/sys/poll.h: Likewise.
7568 * io/sys/stat.h: Likewise.
7569 * io/sys/statfs.h: Likewise.
7570 * io/sys/statvfs.h: Likewise.
7571 * io/utime.h: Likewise.
7572 * libio/bits/stdio.h: Likewise.
7573 * libio/bits/stdio2.h: Likewise.
7574 * libio/libio.h: Likewise.
7575 * libio/libioP.h: Likewise.
7576 * libio/stdio.h: Likewise.
7577 * locale/lc-ctype.c: Likewise.
7578 * locale/locale.h: Likewise.
7579 * login/utmp.h: Likewise.
7580 * malloc/arena.c: Likewise.
7581 * malloc/malloc.c: Likewise.
7582 * malloc/malloc.h: Likewise.
7583 * malloc/mcheck.c: Likewise.
7584 * malloc/mtrace.c: Likewise.
7585 * math/bits/mathcalls.h: Likewise.
7586 * math/fenv.h: Likewise.
7587 * math/math_private.h: Likewise.
7588 * misc/bits/error.h: Likewise.
7589 * misc/bits/syslog.h: Likewise.
7590 * misc/err.h: Likewise.
7591 * misc/error.h: Likewise.
7592 * misc/fstab.h: Likewise.
7593 * misc/mntent.h: Likewise.
7594 * misc/regexp.h: Likewise.
7595 * misc/search.h: Likewise.
7596 * misc/sgtty.h: Likewise.
7597 * misc/sys/mman.h: Likewise.
7598 * misc/sys/syslog.h: Likewise.
7599 * misc/sys/uio.h: Likewise.
7600 * misc/sys/xattr.h: Likewise.
7601 * misc/ttyent.h: Likewise.
7602 * nis/rpcsvc/ypclnt.h: Likewise.
7603 * nss/nss.h: Likewise.
7604 * posix/bits/unistd.h: Likewise.
7605 * posix/fnmatch.h: Likewise.
7606 * posix/glob.h: Likewise.
7607 * posix/sched.h: Likewise.
7608 * posix/spawn.h: Likewise.
7609 * posix/sys/wait.h: Likewise.
7610 * posix/unistd.h: Likewise.
7611 * posix/wordexp.h: Likewise.
7612 * pwd/pwd.h: Likewise.
7613 * resolv/netdb.h: Likewise.
7614 * resource/sys/resource.h: Likewise.
7615 * rt/aio.h: Likewise.
7616 * rt/bits/mqueue2.h: Likewise.
7617 * rt/mqueue.h: Likewise.
7618 * shadow/shadow.h: Likewise.
7619 * signal/signal.h: Likewise.
7620 * socket/send.c: Likewise.
7621 * socket/sendto.c: Likewise.
7622 * socket/sys/socket.h: Likewise.
7623 * stdio-common/printf.h: Likewise.
7624 * stdlib/bits/stdlib.h: Likewise.
7625 * stdlib/fmtmsg.h: Likewise.
7626 * stdlib/monetary.h: Likewise.
7627 * stdlib/stdlib.h: Likewise.
7628 * stdlib/ucontext.h: Likewise.
7629 * streams/stropts.h: Likewise.
7630 * string/argz.h: Likewise.
7631 * string/bits/string2.h: Likewise.
7632 * string/string.h: Likewise.
7633 * string/strings.h: Likewise.
7634 * sunrpc/rpc/auth.h: Likewise.
7635 * sunrpc/rpc/auth_des.h: Likewise.
7636 * sunrpc/rpc/clnt.h: Likewise.
7637 * sunrpc/rpc/netdb.h: Likewise.
7638 * sunrpc/rpc/pmap_clnt.h: Likewise.
7639 * sunrpc/rpc/xdr.h: Likewise.
7640 * sysdeps/generic/inttypes.h: Likewise.
7641 * sysdeps/generic/net/if.h: Likewise.
7642 * sysdeps/generic/sys/swap.h: Likewise.
7643 * sysdeps/gnu/net/if.h: Likewise.
7644 * sysdeps/gnu/utmpx.h: Likewise.
7645 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7646 * sysdeps/i386/i486/bits/string.h: Likewise.
7647 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7648 * sysdeps/s390/bits/string.h: Likewise.
7649 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7650 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7651 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7652 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7653 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7654 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7655 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7656 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7657 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7658 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7659 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7660 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7661 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7662 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7663 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7664 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7665 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7667 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7670 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7671 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7672 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7673 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7674 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7675 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7677 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7679 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7680 * sysvipc/sys/ipc.h: Likewise.
7681 * sysvipc/sys/msg.h: Likewise.
7682 * sysvipc/sys/sem.h: Likewise.
7683 * sysvipc/sys/shm.h: Likewise.
7684 * termios/termios.h: Likewise.
7685 * time/sys/time.h: Likewise.
7686 * time/time.h: Likewise.
7687 * wcsmbs/bits/wchar2.h: Likewise.
7688 * wcsmbs/uchar.h: Likewise.
7689 * wcsmbs/wchar.h: Likewise.
7690 * wctype/wctype.h: Likewise.
7691
7692 [BZ #13551]
7693 * Makeconfig: Remove all but ELF support including AIX support.
7694 * Makerules: Likewise.
7695 * config.h.in: Likewise.
7696 * config.make.in: Likewise.
7697 * configure: Likewise.
7698 * configure.in: Likewise.
7699 * csu/Makefile: Likewise.
7700 * csu/version.c: Likewise.
7701 * debug/Makefile: Likewise.
7702 * dlfcn/Makefile: Likewise.
7703 * elf/Makefile: Likewise.
7704 * extra-lib.mk: Likewise.
7705 * iconv/Makefile: Likewise.
7706 * include/libc-symbols.h: Likewise.
7707 * include/shlib-compat.h: Likewise.
7708 * resolv/Makefile: Likewise.
7709 * resolv/res_libc.c: Likewise.
7710 * rt/Makefile: Likewise.
7711 * sysdeps/i386/asm-syntax.h: Likewise.
7712 * sysdeps/i386/sysdep.h: Likewise.
7713 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7714 * sysdeps/mach/sysdep.h: Likewise.
7715 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7716 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7717 * sysdeps/s390/asm-syntax.h: Likewise.
7718 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7720 * sysdeps/sh/sysdep.h: Likewise.
7721 * sysdeps/unix/sparc/sysdep.h: Likewise.
7722 * sysdeps/wordsize-32/divdi3.c: Likewise.
7723 * sysdeps/x86_64/sysdep.h: Likewise.
7724
7725 * argp/Versions: Remove _argp_unlock_xxx.
7726
7727 [BZ #13559]
7728 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7729 * abilist/libBrokenLocale.abilist: Likewise.
7730 * abilist/libanl.abilist: Likewise.
7731 * abilist/libc.abilist: Likewise.
7732 * abilist/libcrypt.abilist: Likewise.
7733 * abilist/libdl.abilist: Likewise.
7734 * abilist/libm.abilist: Likewise.
7735 * abilist/libnsl.abilist: Likewise.
7736 * abilist/libpthread.abilist: Likewise.
7737 * abilist/libresolv.abilist: Likewise.
7738 * abilist/librt.abilist: Likewise.
7739 * abilist/libthread_db.abilist: Likewise.
7740 * abilist/libutil.abilist: Likewise.
7741 * abilist/libnss_db.abilist: New file.
7742
7743 * scripts/abilist.awk: Add support for indirect functions.
7744
7745 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7746
7747 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7748
7749 * shlib-versions: Remove entries for ports architectures.
7750
7751 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7752 files in ports.
7753 * elf/stackguard-macros.h: Remove support for IA-64.
7754 * elf/tst-auditmod1.c: Likewise.
7755 * sysdeps/generic/ldsodefs.h: Likewise.
7756
7757 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7758 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7759 configure files.
7760
7761 [BZ #13552]
7762 * configure.in: Remove --enable-omitfp support.
7763 * FAQ.in: Adjust.
7764 * config.make.in: Likewise.
7765 * Makeconfig: Likewise.
7766 * manual/install.texi: Likewise.
7767
7768 In case anyone cares, the IA-64 architecture could move to ports.
7769 * sysdeps/ia64/*: Removed.
7770 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7771 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7772
7773 [BZ #13555]
7774 * configure.in: Remove entries for unsupported architectures.
7775
7776 [BZ #13533]
7777 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7778 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7779 routines.
7780 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7781 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7782 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7783 fall back to using wcrtomb.
7784 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7785 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7786 renaming.
7787 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7788 * wcsmbs/tst-c16c32-1.c: New file.
7789
7790 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7791 local variable.
7792
7793 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7794
7795 * elf/tst-unique3.cc: Add explicit declaration of gets.
7796 * elf/tst-unique3lib.cc: Likewise.
7797 * elf/tst-unique3lib2.cc: Likewise.
7798 * elf/tst-unique4.cc: Likewise.
7799
7800 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7801
78022012-01-06 Joseph Myers <joseph@codesourcery.com>
7803
7804 [BZ #13566]
7805 * assert/assert.h (static_assert): Don't define for C++.
7806 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7807 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7808
78092012-01-03 Ulrich Drepper <drepper@gmail.com>
7810
7811 * iconv/loop.c (single loop): Fix assertion in storing of
7812 remaining bytes.
7813
7814 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7815
78162012-01-01 Ulrich Drepper <drepper@gmail.com>
7817
7818 * posix/getconf.c: Update copyright year.
7819 * nss/getent.c: Likewise.
7820 * nss/makedb.c: Likewise.
7821 * iconv/iconvconfig.c: Likewise.
7822 * iconv/iconv_prog.c: Likewise.
7823 * elf/ldconfig.c: Likewise.
7824 * elf/pldd.c: Likewise.
7825 * elf/sotruss.ksh: Likewise.
7826 * catgets/gencat.c: Likewise.
7827 * csu/version.c: Likewise.
7828 * elf/ldd.bash.in: Likewise.
7829 * elf/sprof.c (print_version): Likewise.
7830 * locale/programs/locale.c: Likewise.
7831 * locale/programs/localedef.c: Likewise.
7832 * login/programs/pt_chown.c: Likewise.
7833 * nscd/nscd.c (print_version): Likewise.
7834 * debug/xtrace.sh: Likewise.
7835 * malloc/memusage.sh: Likewise.
7836 * malloc/mtrace.pl: Likewise.
7837 * debug/catchsegv.sh: Likewise.
7838
78392011-12-30 Jakub Jelinek <jakub@redhat.com>
7840
7841 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7842 pure attribute.
7843
78442011-12-24 Ulrich Drepper <drepper@gmail.com>
7845
7846 [BZ #13533]
7847 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7848 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7849 transformations.
7850 * iconv/gconv_int.h: Likewise.
7851 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7852 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7853 from libc for GLIBC_2.16.
7854 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7855 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7856 * wcsmbs/uchar.h: Really define mbstate_t.
7857 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7858 * wcsmbs/c16rtomb.c: New file.
7859 * wcsmbs/mbrtoc16.c: New file.
7860 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7861 for C/POSIX locale.
7862 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7863 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7864
7865 * wcsmbs/wchar.h: Add missing __restrict.
7866
78672011-12-23 Ulrich Drepper <drepper@gmail.com>
7868
7869 [BZ #13532]
7870 * time/Makefile (routines): Add timespec_get.
7871 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7872 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7873 timespec for ISO C11.
7874 * time/timespec_get.c: New file.
7875 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7876 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7877
7878 [BZ #13531]
7879 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7880 * stdlib/stdlib.h: Declare aligned_alloc.
7881 * Versions.def: Add GLIBC_2.16 for libc.
7882 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7883
7884 [BZ 13527]
7885 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7886 ISO C11.
7887
7888 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7889 code.
7890
7891 [BZ #13528]
7892 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7893
7894 [BZ #13529]
7895 * assert/assert.h (static_assert): Define.
7896
7897 * version.h: Update for 2.16 development version.
7898
7899 [BZ #13526]
7900 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7901 _ISOC11_SOURCE.
7902
7903 * version.h (RELEASE): Bump for 2.15 release.
7904 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7905
7906 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7907 Patch by Marek Polacek <mpolacek@redhat.com>.
7908
7909 * bits/byteswap.h: Protect long long constants with __extension__.
7910 * sysdeps/i386/bits/byteswap.h: Likewise.
7911 * sysdeps/ia64/bits/byteswap.h: Likewise.
7912 * sysdeps/s390/bits/byteswap.h: Likewise.
7913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7914
79152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7916
7917 [BZ #13540]
7918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7919 destination buffer.
7920 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7921
79222011-12-23 Marek Polacek <polacek@redhat.com>
7923
7924 * elf/dl-addr.c (determine_info): Add inline keyword.
7925 * elf/tst-auditmod4b.c (check_avx): Likewise.
7926 * elf/tst-auditmod6b.c (check_avx): Likewise.
7927 * elf/tst-auditmod6c.c (check_avx): Likewise.
7928 * elf/tst-auditmod7b.c (check_avx): Likewise.
7929
79302011-12-23 Ulrich Drepper <drepper@gmail.com>
7931
7932 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7933 !__SSE_MATH__.
7934
79352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7936
7937 [BZ #13540]
7938 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7939 processing for last bytes.
7940
79412011-08-06 Bruno Haible <bruno@clisp.org>
7942
7943 [BZ #13061]
7944 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7945 U+0385, not to U+1FEE.
7946
7947 [BZ #13062]
7948 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7949 entry for U+00A5 U+0301.
7950
79512011-12-22 Ulrich Drepper <drepper@gmail.com>
7952
7953 [BZ #13166]
7954 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7955 buffer for the output is too small.
7956
7957 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7958 optimization.
7959
7960 [BZ #13185]
7961 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7962 SSE flags if possible.
7963
79642011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7965
7966 [BZ #13540]
7967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7968 processing for last bytes.
7969
79702011-12-22 Joseph Myers <joseph@codesourcery.com>
7971
7972 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7973 (syscall-list-default-options, syscall-list-default-condition)
7974 (syscall-list-includes): Define.
7975 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7976 list of ABIs and options and #if conditions for each ABI. Do not
7977 handle common syscalls between ABIs specially.
7978 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7979 Remove.
7980 (syscall-list-variants, syscall-list-32bit-options)
7981 (syscall-list-32bit-condition, syscall-list-64bit-options)
7982 (syscall-list-64bit-condition): Define.
7983 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7984 (syscall-list-variants, syscall-list-32bit-options)
7985 (syscall-list-32bit-condition, syscall-list-64bit-options)
7986 (syscall-list-64bit-condition): Define.
7987 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7988 Remove.
7989 (syscall-list-variants, syscall-list-32bit-options)
7990 (syscall-list-32bit-condition, syscall-list-64bit-options)
7991 (syscall-list-64bit-condition): Define.
7992 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7993 Remove.
7994 (syscall-list-variants, syscall-list-32bit-options)
7995 (syscall-list-32bit-condition, syscall-list-64bit-options)
7996 (syscall-list-64bit-condition): Define.
7997
79982011-12-22 Ulrich Drepper <drepper@gmail.com>
7999
8000 * locale/iso-639.def: Add brx entry.
8001
8002 [BZ #13328]
8003 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8004 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8005
8006 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8007 __feraiseexcept_renamed.
8008
80092011-12-21 Ulrich Drepper <drepper@gmail.com>
8010
8011 [BZ #13538]
8012 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8013 EPOLLET with unsigned values.
8014 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8016
8017 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8018 to large cancellation.
8019 * math/s_cacoshf.c: Likewise.
8020 * math/s_cacoshl.c: Likewise.
8021
80222011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8023
8024 [BZ #13305]
8025 [BZ #12786]
8026 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8027 * math/s_cacoshf.c: Likewise.
8028 * math/s_cacoshl.c: Likewise.
8029
80302011-12-21 Ulrich Drepper <drepper@gmail.com>
8031
8032 [BZ #13439]
8033 * iconv/gconv.h: Define __GCONV_SWAP.
8034 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8035 * iconvdata/utf-16.c: Likewise.
8036 * iconvdata/utf-32.c: Likewise.
8037
80382011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8039
8040 [BZ #13524]
8041 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8042 numerator after shifting it by one limb.
8043
80442011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8045
8046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8047 under [__USE_EXTERN_INLINES].
8048
80492011-12-17 Ulrich Drepper <drepper@gmail.com>
8050
8051 [BZ #13446]
8052 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8053
80542011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8055
8056 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8057 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8058 optimized code.
8059 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8060 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8061 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8062 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8063 for strncasecmp/strncasecmp_l compilation.
8064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8065 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8066
80672011-12-08 Marek Polacek <mpolacek@redhat.com>
8068
8069 [BZ #13484]
8070 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8071 of __asm__.
8072
80732011-12-17 Ulrich Drepper <drepper@gmail.com>
8074
8075 [BZ #13506]
8076 * time/tzfile.c (__tzfile_read): Check values from file header.
8077
80782011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8079
8080 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8081 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8082 * powerpc/powerpc32/dl-start.S: Likewise.
8083 * powerpc/powerpc32/elf/start.S: Likewise.
8084 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8085 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8086 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8087 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8088 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8089 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8090 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8091 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8092 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8093 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8094 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8095 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8096 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8097 * powerpc/powerpc32/memset.S: Likewise.
8098 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8099 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8100 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8101 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8102 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8103 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8104 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8105 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8106 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8107 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8108 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8109 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8110 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8111
81122011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8113
8114 * math/libm-test.inc: Added more nearbyint tests.
8115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8119
81202011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8121
8122 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8123 FD_CLOEXEC.
8124
81252011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8126
8127 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8128 Add wcscpy-ssse3 wcscpy-c.
8129 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8130 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8131 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8132 * sysdeps/x86_64/wcschr.S: New file.
8133 * sysdeps/x86_64/wcsrchr.S: New file.
8134 * string/test-strcmp.c: Remove checking of wcscmp function for
8135 wrong alignments.
8136 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8137 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8138 wcsrchr-sse2 wcsrchr-c.
8139 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8140 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8141 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8142 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8143 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8144 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8145 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8146 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8147 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8148 * wcsmbc/wcschr.c (WCSCHR): New macro.
8149
81502011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8151
8152 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8153 * wcsmbs/test-wcsrchr.c: New file.
8154 * string/test-strrchr.c: Add wcsrchr support.
8155 (WIDE): New macro.
8156 * wcsmbs/test-wcscpy.c: New file.
8157 * string/test-strcpy.c: Add wcscpy support.
8158 (WIDE): New macro.
8159
81602011-12-10 Ulrich Drepper <drepper@gmail.com>
8161
8162 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8163 the inner loop.
8164
81652011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8166
8167 [BZ #13472]
8168 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8169
81702011-12-04 Ulrich Drepper <drepper@gmail.com>
8171
8172 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8173 Minor optimizations.
8174
8175 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8176 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8177 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8178
81792011-12-03 Ulrich Drepper <drepper@gmail.com>
8180
8181 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8182 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8183 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8184 for gcc to avoid warnings.
8185 * inet/Makefile (tests): Add tst-checks.
8186 * inet/tst-checks.c: New file.
8187
8188 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8189 warning.
8190
8191 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8192 __wmemcmp_sse2.
8193
8194 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8195 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8196
8197 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8198
81992011-12-02 Ulrich Drepper <drepper@gmail.com>
8200
8201 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8202 problem.
8203
8204 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8205
82062011-11-29 Joseph Myers <joseph@codesourcery.com>
8207
8208 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8209 conditional on GCC version.
8210 (__arch_compare_and_exchange_val_8_acq)
8211 (__arch_compare_and_exchange_val_16_acq)
8212 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8213 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8214 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8215
82162011-12-02 Joseph Myers <joseph@codesourcery.com>
8217
8218 * sysdeps/sh/backtrace.c: New file.
8219
82202011-12-02 Andreas Schwab <schwab@redhat.com>
8221
8222 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8223 parenthesis.
8224
82252011-12-01 Andreas Schwab <schwab@redhat.com>
8226
8227 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8228 falling back to utime.
8229
82302011-11-30 Andreas Schwab <schwab@redhat.com>
8231
8232 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8233 expectations for float.
8234
82352011-11-29 Andreas Schwab <schwab@redhat.com>
8236
8237 * locale/weight.h (findidx): Add parameter len.
8238 * locale/weightwc.h (findidx): Likewise.
8239 * posix/fnmatch_loop.c (FCT): Adjust caller.
8240 * posix/regcomp.c (build_equiv_class): Likewise.
8241 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8242 * posix/regexec.c (check_node_accept_bytes): Likewise.
8243 * string/strcoll_l.c (STRCOLL): Likewise.
8244 * string/strxfrm_l.c (STRXFRM): Likewise.
8245
82462011-11-17 Ulrich Drepper <drepper@gmail.com>
8247
8248 * Makefile.in: Remove CVSOPT handling.
8249 * configure.in: Remove use of AC_REVISION.
8250 * iconvdata/Makefile (distribute): No need to filter out CVS.
8251 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8252 handling.
8253
82542011-11-16 Andreas Schwab <schwab@redhat.com>
8255
8256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8257 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8258 [USE_AS_STRNCASECMP_L]: Likewise.
8259 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8260 NO_TLS_DIRECT_SEG_REFS.
8261 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8262 Fix argument offsets for non-PIC.
8263 [USE_AS_STRNCASECMP_L]: Likewise.
8264 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8265 NO_TLS_DIRECT_SEG_REFS.
8266
82672011-11-15 Ulrich Drepper <drepper@gmail.com>
8268
8269 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8270 O_CLOEXEC.
8271 * locale/loadlocale.c (_nl_load_locale): Likewise.
8272
82732011-11-15 Andreas Schwab <schwab@redhat.com>
8274
8275 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8276 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8277 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8278 (SYSCALL_GETTIME): Set errno on error.
8279
8280 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8281 count references to noai6ai_cached.
8282
82832011-11-15 Ulrich Drepper <drepper@gmail.com>
8284
8285 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8286
8287 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8288 FD_CLOEXEC for /proc/self/maps.
8289
8290 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8291 FD_CLOEXEC for /proc/meminfo.
8292
8293 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8294 gai.conf.
8295
8296 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8297 FD_CLOEXEC for given file.
8298
8299 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8300
8301 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8302 FD_CLOEXEC for /etc/hosts.
8303 (_gethtent): Likewise.
8304
8305 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8306
8307 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8308 cancellation and set FD_CLOEXEC for /etc/netgroup.
8309
8310 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8311 reading /etc/publickey.
8312
8313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8314 allow cancellation when reading /etc/group.
8315
8316 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8317 cancellation.
8318 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8319
8320 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8321 when using data file.
8322
8323 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8324
8325 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8326 (write_nis_obj): Use "c" and "e" in fopen.
8327
8328 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8329
8330 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8331
8332 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8333
8334 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8335
8336 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8337 locale.alias.
8338
8339 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8340
8341 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8342
8343 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8344
8345 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8346 file parsing and set FD_CLOEXEC.
8347
83482011-11-14 Ulrich Drepper <drepper@gmail.com>
8349
8350 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8351
83522011-11-14 Andreas Schwab <schwab@redhat.com>
8353
8354 * malloc/arena.c (arena_get2): Don't call reused_arena when
8355 _int_new_arena failed.
8356
83572011-11-14 Ulrich Drepper <drepper@gmail.com>
8358
8359 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8360 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8363 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8365 to compile strcasecmp and strncasecmp.
8366 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8367 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8368
8369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8370
83712011-11-13 Ulrich Drepper <drepper@gmail.com>
8372
8373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8374 locale-defines.sym to gen-as-const-headers.
8375 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8376 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8378 to compile strcasecmp and strncasecmp.
8379 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8380 strcasecmp_l and strncasecmp_l.
8381 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8382 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8383 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8384 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8385 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8386 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8387 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8388 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8389 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8390 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8391 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8392
83932011-11-12 Ulrich Drepper <drepper@gmail.com>
8394
8395 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8396 result of SYSDEP_GETTIME_CPU to retval.
8397 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8398 parameter list to macro. Remove trailing semicolon. Adjust users.
8399
8400 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8401 variable.
8402
8403 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8404 mantissa words.
8405 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8406
8407 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8408 from unused variable.
8409
8410 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8411 DWARF definitions.
8412 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8413 for assembling.
8414
8415 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8416 over namespaces.
8417
8418 * sunrpc/rpc_prot.c (rejected): Fix case value.
8419
8420 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8421 unsigned long long int to avoid warnings in shift.
8422
8423 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8424 of use of trans.
8425 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8426 variable tmp.
8427
8428 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8429 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8430 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8431
8432 * nis/nis_table.c (nis_list): Use variable of correct type for
8433 result of __follow_path call.
8434
84352011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8436
8437 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8438 of math functions ceil, trunc, floor, round, and sqrt, when
8439 avaliable on the platform.
8440 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8441 name clash.
8442 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8443 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8444 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8445
84462011-10-30 Marek Polacek <mpolacek@redhat.com>
8447
8448 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8449 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8450
84512011-11-11 Roland McGrath <roland@hack.frob.com>
8452
8453 * include/unistd.h: Fix __readlink return type.
8454 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8455
84562011-11-11 Ulrich Drepper <drepper@gmail.com>
8457
8458 * stdlib/ucontext.h: Undo last change for makecontext.
8459
84602011-11-11 Andreas Schwab <schwab@redhat.com>
8461
8462 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8463
8464 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8465 * setjmp/setjmp.h: Mark functions as non-leaf.
8466 * setjmp/bits/setjmp2.h: Likewise.
8467 * stdlib/ucontext.h: Likewise.
8468
84692011-11-10 Andreas Schwab <schwab@redhat.com>
8470
8471 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8472 (reused_arena): Don't check arena limit.
8473 (arena_get2): Atomically check arena limit.
8474
84752011-11-08 Ulrich Drepper <drepper@gmail.com>
8476
8477 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8478 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8479
8480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8481 instructions.
8482
84832011-11-07 Andreas Schwab <schwab@redhat.com>
8484
8485 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8486 handler when locking.
8487
8488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8489 Fix size of allocated buffer.
8490
84912011-11-04 Andreas Schwab <schwab@redhat.com>
8492
8493 [BZ #10103]
8494 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8495 declarations for long double functions.
8496 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8497
8498 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8499
85002011-11-03 Andreas Schwab <schwab@redhat.com>
8501
8502 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8503 installed.
8504
8505 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8506 is disabled.
8507
85082011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8509
8510 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8511
85122011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8513
8514 * include/alloca.h (stackinfo_alloca_round): Define.
8515 (extend_alloca): Use it.
8516 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8517 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8518 here.
8519
8520 * scripts/check-local-headers.sh: Ignore libaudit.h.
8521
8522 * nscd/Makefile (extra-objs): Make recursively expanded.
8523
85242011-11-01 Ulrich Drepper <drepper@gmail.com>
8525
8526 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8528
8529 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8530 * posix/tst-rfc3484-2.c: Likewise.
8531 * posix/tst-rfc3484-3.c: Likewise.
8532
8533 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8534 process_vm_writev.
8535 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8536 process_vm_writev.
8537 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8538 process_vm_writev from libc using GLIBC_2.15 version.
8539
8540 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8541
85422011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8543
8544 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8545 stack usage.
8546
85472011-10-31 Ulrich Drepper <drepper@gmail.com>
8548
8549 [BZ #13367]
8550 * nss/getent.c (initgroups_keys): Show error message in case no group
8551 names are given.
8552
8553 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8554 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8555 __bump_nl_timestamp.
8556 * nscd/connections (nscd_init): When host database is served open
8557 netlink socket and request notification about configuration changes.
8558 (main_loop_poll): Track netlink file descriptor and bump timestamp
8559 in case data becomes available.
8560 (main_loop_epoll): Likewise.
8561 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8562 (database_pers_head): Add extra_data fileds.
8563 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8565 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8566 Adjust caller.
8567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8568 in6ai data, call __free_in6ai.
8569 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8570 Add -DHAVE_NETLINK.
8571 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8572 interface information. Reuse previous data if netlink timestamp
8573 is not changed.
8574 (__bump_nl_timestamp): New function.
8575 (__free_in6ai): New function.
8576
85772011-10-30 Ulrich Drepper <drepper@gmail.com>
8578
8579 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8580 close_not_cancel_no_status here.
8581 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8582
85832011-10-29 Ulrich Drepper <drepper@gmail.com>
8584
8585 [BZ #13276]
8586 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8587 return value.
8588
8589 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8590 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8591 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8592
85932011-07-03 Andreas Jaeger <aj@suse.de>
8594
8595 [BZ #10709]
8596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8597 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8598 * math/libm-test.inc (sin_test): Add test case.
8599
86002011-10-29 Ulrich Drepper <drepper@gmail.com>
8601
8602 [BZ #13337]
8603 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8604 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8605
8606 * elf/chroot_canon.c (chroot_canon): Cleanups.
8607
8608 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8609
8610 [BZ #13335]
8611 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8612 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8613
8614 * string/test-strchr.c: Make usable for strchrnul testing.
8615 * string/test-strchrnul.c: New file.
8616 * string/Makefile (strop-tests): Add strchrnul.
8617
8618 * po/it.po: Update from translation team.
8619 * po/es.po: Likewise.
8620
86212011-10-28 Ulrich Drepper <drepper@gmail.com>
8622
8623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8624 the three constants needed as parameters. Drop the others.
8625 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8626 __m128i_strloadu_tolower.
8627 Create and initialize variable zero and use it in all the places
8628 where _mm_setzero_si128 was used.
8629
8630 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8631 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8632 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8634 anymore.
8635 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8636 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8637 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8638 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8639 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8640 __mpranred, __mptan.
8641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8648 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8649 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8650
86512011-10-28 Andreas Schwab <schwab@redhat.com>
8652
8653 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8654 redefine if SHARED.
8655 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8656
8657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8658 wide char related routines to wcsmbs subdir.
8659
86602011-10-27 Andreas Schwab <schwab@redhat.com>
8661
8662 [BZ #13344]
8663 * misc/sys/cdefs.h (__THROWNL): Define.
8664 * posix/unistd.h: Use __THREADNL instead of __THREAD
8665 for memory synchronization functions.
8666
86672011-10-26 Roland McGrath <roland@hack.frob.com>
8668
8669 [BZ #13349]
8670 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8671 doesn't exist.
8672 * manual/stdio.texi (Obstack Streams): Node removed.
8673
86742011-10-26 Andreas Schwab <schwab@redhat.com>
8675
8676 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8677 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8679
8680 * math/math_private.h (math_force_eval): Allow non-addressable
8681 arguments.
8682 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8683
86842011-10-25 Ulrich Drepper <drepper@gmail.com>
8685
8686 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8687 file is not needed.
8688
8689 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8692 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8696 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8697 Add AVX variants.
8698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8702 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8703 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8704 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8706 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8707 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8708 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8709 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8711 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8713 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8714 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8716 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8717
8718 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8719 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8720
8721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8722 place. Use VEX encoding when compiling for AVX.
8723
87242011-10-25 Andreas Schwab <schwab@redhat.com>
8725
8726 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8727 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8728
8729 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8730
87312011-10-25 Ulrich Drepper <drepper@gmail.com>
8732
8733 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8734 useless if() expression.
8735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8748 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8749 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8754
8755 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8756
87572011-10-25 Andreas Schwab <schwab@redhat.com>
8758
8759 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8760 condition.
8761 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8762
87632011-10-25 Ulrich Drepper <drepper@gmail.com>
8764
8765 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8766 .text section. Avoid duplicate constants.
8767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8777 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8784 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8790 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8791 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8792 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8793 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8796 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8797 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8808 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8809 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8810 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8811 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8812
88132011-10-24 Ulrich Drepper <drepper@gmail.com>
8814
8815 * sysdeps/x86_64/dla.h: Move to ...
8816 * sysdeps/x86_64/fpu/dla.h: ...here.
8817 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8818 situations. Use __builtin_fma only for gcc 4.6 and up.
8819
8820 * config.make.in: Add have-mfma4 entry.
8821 * configure.in: Substitute libc_cv_cc_fma4.
8822 * math/Makefile (dbl-only-routines): Add sincostab.
8823 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8824 Use __sincostab not sincos.
8825 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8826 name is a macro.
8827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8831 using __copysign.
8832 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8833 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8834 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8835 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8836 and __inv.
8837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8838 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8839 __copysign.
8840 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8841 define aliases when function name is a macro.
8842 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8843 sysdeps/ieee754/dbl-64/sincos.tbl.
8844 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8845 fma4-enabled routines.
8846 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8847 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8848 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8849 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8853 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8855 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8856 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8857 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8858 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8859 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8861 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8862 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8863 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8864 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8866 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8867 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8869 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8870 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8871 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8873 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8874 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8875 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8876
8877 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8878 rename.
8879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8887
88882011-10-24 Andreas Schwab <schwab@redhat.com>
8889
8890 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8891
88922011-10-23 Ulrich Drepper <drepper@gmail.com>
8893
8894 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8895
8896 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8897 prediction.
8898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8899
8900 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8901 Remove unused variable magic_bits.
8902 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8903
8904 * string/strnlen.c: Define and use STRNLEN macro.
8905 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8906 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8908 * wcsmbs/wcslen.c: Define and use WCSLEN.
8909 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8910 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8911 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8912 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8913 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8914 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8915 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8916
89172011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8918
8919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8920 strnlen-sse2-no-bsf.
8921 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8923 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8924 Add strnlen support.
8925 (USE_AS_STRNLEN): New macro.
8926 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8927 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8928 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8929 * sysdeps/x86_64/wcslen.S: New file.
8930
89312011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8932
8933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8934 XMM-moves are used for copying on small sizes.
8935
89362011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8937
8938 * wcsmbs/Makefile (strop-tests): Add wcschr.
8939 * wcsmbs/test-wcschr.c: New file.
8940 * string/test-strchr.c: Update.
8941 Add wcschr support.
8942 (WIDE): New macro.
8943
89442011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8945
8946 * wcsmbs/Makefile (strop-tests): Add wcslen.
8947 * wcsmbs/test-wcslen.c: New file.
8948 * string/test-strlen.c: Update.
8949 Add wcslen support.
8950 (WIDE): New macro.
8951
89522011-10-23 Ulrich Drepper <drepper@gmail.com>
8953
8954 * po/it.po: Update from translation team.
8955
89562011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8957
8958 * sysdeps/x86_64/wcscmp.S: Update.
8959 Fix wrong comparison semantics.
8960 wcscmp shall use signed comparison not unsigned.
8961 Don't use substraction to avoid overflow bug.
8962 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8963 * wcsmbc/wcscmp.c: Likewise.
8964 * string/test-strcmp.c: Likewise.
8965 Add new tests to check cases with negative values.
8966
89672011-10-23 Ulrich Drepper <drepper@gmail.com>
8968
8969 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8970 * sysdeps/x86_64/dla.h: ...here. New file.
8971 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8980
89812011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8982
8983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8984 __ynl_finite aliases.
8985
89862011-10-22 Ulrich Drepper <drepper@gmail.com>
8987
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8989
8990 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8991 define DLA_FMA.
8992 [DLA_FMA] (EMULV): Use DLA_FMA.
8993 [DLA_FMA] (MUL12): Use EMULV.
8994 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8995 that are not needed.
8996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9003
90042011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9005
9006 * math/s_nan.c: Undef __nan.
9007 * math/s_nanf.c: Undef __nanf.
9008 * math/s_nanl.c: Undef __nanl.
9009 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9010 "math_private.h".
9011
90122011-10-22 Ulrich Drepper <drepper@gmail.com>
9013
9014 * math/s_catan.c: Add branch predictions.
9015 * math/s_catanf.c: Likewise.
9016 * math/s_catanh.c: Likewise.
9017 * math/s_catanhf.c: Likewise.
9018 * math/s_catanhl.c: Likewise.
9019 * math/s_catanl.c: Likewise.
9020 * math/s_cexp.c: Likewise.
9021 * math/s_cexpf.c: Likewise.
9022 * math/s_cexpl.c: Likewise.
9023 * math/s_clog.c: Likewise.
9024 * math/s_clog10.c: Likewise.
9025 * math/s_clog10f.c: Likewise.
9026 * math/s_clog10l.c: Likewise.
9027 * math/s_clogf.c: Likewise.
9028 * math/s_clogl.c: Likewise.
9029 * math/s_csqrt.c: Likewise.
9030 * math/s_csqrtf.c: Likewise.
9031 * math/s_csqrtl.c: Likewise.
9032 * math/s_ctanf.c: Likewise.
9033 * math/s_ctanh.c: Likewise.
9034 * math/s_ctanhf.c: Likewise.
9035 * math/s_ctanhl.c: Likewise.
9036 * math/s_ctanl.c: Likewise.
9037
9038 * math/math_private.h: Define __nan, __nanf, __nanl.
9039 * math/s_cacosh.c: Include <math_private.h>.
9040 * math/s_cacoshl.c: Likewise.
9041 * math/s_casinh.c: Likewise.
9042 * math/s_casinhf.c: Likewise.
9043 * math/s_casinhl.c: Likewise.
9044 * math/s_ccos.c: Rely entire on ccosh.
9045 * math/s_ccosf.c: Rely entire on ccoshf.
9046 * math/s_ccosl.c: Rely entirely on ccoshl.
9047 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9048 Remove tests for FE_INVALID.
9049 * math/s_ccoshf.c: Likewise.
9050 * math/s_ccoshl.c: Likewise.
9051 * math/s_csin.c: Likewise.
9052 * math/s_csinf.c: Likewise.
9053 * math/s_csinh.c Likewise.
9054 * math/s_csinhf.c: Likewise.
9055 * math/s_csinhl.c: Likewise.
9056 * math/s_csinl.c: Likewise.
9057 * math/s_ctan.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9059 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9060 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9061
90622011-10-21 Ulrich Drepper <drepper@gmail.com>
9063
9064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9065 compilation problems.
9066
9067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9068 __builtin_expect.
9069
90702011-10-20 Ulrich Drepper <drepper@gmail.com>
9071
9072 * sysdeps/i386/configure.in: Test for -mfma4 option.
9073 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9074 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9075 COMMON_CPUID_INDEX_80000001.
9076 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9077 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9078 use it if FMA3 is not supported.
9079 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9080
9081 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9082 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9083
90842011-10-20 Andreas Schwab <schwab@redhat.com>
9085
9086 [BZ #12892]
9087 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9088 it would create a cycle with a link time dependency.
9089
90902011-10-19 Ulrich Drepper <drepper@gmail.com>
9091
9092 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9093 instruction.
9094 * string/Makefile (strop-tests): Add rawmemchr.
9095 * string/test-rawmemchr.c: New file.
9096
9097 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9099 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9100 when compiling str{,n}casecmp and when AVX is available. Hook up
9101 new optimized code in initializers.
9102
91032011-10-19 Andreas Schwab <schwab@redhat.com>
9104
9105 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9106 __feraiseexcept instead of feraiseexcept.
9107
91082011-10-18 Ulrich Drepper <drepper@gmail.com>
9109
9110 * math/math_private.h: Define defaults for libc_fetestexcept and
9111 libc_feupdateenv.
9112 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9113 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9114 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9116 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9117 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9118 libc_fetestexcept and libc_feupdateenv.
9119
9120 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9121 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9122 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9123 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9124 libc_feholdexcept_setround.
9125
9126 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9127 Add s_nearbyint-c and s_nearbyintf-c.
9128 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9129 nearbyintf inlines.
9130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9134
9135 * math/math_private.h: Define defaults for libc_fegetround,
9136 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9137 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9138 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9139 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9140 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9141 standard functions.
9142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9143 Remove comments and hacks for old compiler versions.
9144 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9145 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9146 libc_feholdexceptl.
9147
91482011-10-18 Andreas Schwab <schwab@redhat.com>
9149
9150 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9151 (__feraiseexcept_renamed): Add __NTH.
9152 (feraiseexcept): Add __NTH. Rename local variables to fix
9153 namespace violations.
9154
91552011-10-17 Ulrich Drepper <drepper@gmail.com>
9156
9157 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9158
9159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9160
9161 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9162 recently added interfaces.
9163 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9164
9165 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9166 about macro parameter expansion.
9167
9168 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9169 __NO_MATH_INLINES is defined. Cleanups.
9170
9171 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9172 and __floorf is target has SSE4.1.
9173 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9174 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9176 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9177
9178 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9179 name.
9180 (floorf): Likewise.
9181
9182 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9183
91842011-10-17 Andreas Schwab <schwab@redhat.com>
9185
9186 * misc/sys/cdefs.h: Fix last change.
9187
9188 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9189 database lookup.
9190
91912011-10-16 Ulrich Drepper <drepper@gmail.com>
9192
9193 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9194
9195 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9201 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9204 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9205 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9206 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9207 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9208 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9209 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9210 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9212 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9213 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9214 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9215 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9216 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9217
9218 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9219 ceil, ceilf, floor, floorf.
9220
9221 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9222 Perform IRELATIVE relocations last.
9223
9224 * elf/do-rel.h: Add another parameter nrelative, replacing the
9225 local variable with the same name. Change name of the function
9226 to end in Rel or Rela (uppercase).
9227 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9228 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9229 elf_dynamic_do_##reloc function.
9230
92312011-10-15 Ulrich Drepper <drepper@gmail.com>
9232
9233 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9234 is sufficient, at least on modern CPUs.
9235
9236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9237
9238 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9239 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9240
9241 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9242 __expl_finite.
9243 * math/bits/math-finite.h: Add entries for exp.
9244 * math/e_expl.c: Add __*_finite alias.
9245 * sysdeps/i386/fpu/e_exp.S: Likewise.
9246 * sysdeps/i386/fpu/e_expf.S: Likewise.
9247 * sysdeps/i386/fpu/e_expl.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9249 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9253 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9255
9256 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9257 is sufficient, at least on modern CPUs.
9258
9259 * ctype/ctype-info.c (__ctype_init): Define.
9260 * include/ctype.h (__ctype_init): Declare.
9261 (__ctype_b_loc): The variable is always initialized.
9262 (__ctype_toupper_loc): Likewise.
9263 (__ctype_tolower_loc): Likewise.
9264 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9265 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9266
92672011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9268
9269 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9270
9271 * configure.in: Also look in $cxxmachine/include for C++ system
9272 headers.
9273
92742011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9275
9276 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9277 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9278 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9279 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9281 (USE_AS_WMEMCMP): New macro.
9282 Fixing indents.
9283 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9284 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9285 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9286 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9288 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9289 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9290 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9291 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9292 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9294 (USE_AS_WMEMCMP): New macro.
9295 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9296 * sysdeps/string/test-memcmp.c: Update.
9297 Fix simple_wmemcmp.
9298 Add new tests.
9299 * wcsmbs/wmemcmp.c: Update.
9300 (WMEMCMP): New macro.
9301 Fix overflow bug.
9302
93032011-10-12 Andreas Jaeger <aj@suse.de>
9304
9305 [BZ #13268]
9306 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9307
93082011-10-15 Ulrich Drepper <drepper@gmail.com>
9309
9310 * libio/iofwide.c (do_length): Avoid warning.
9311
9312 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9313
93142011-10-14 Ulrich Drepper <drepper@gmail.com>
9315
9316 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9317
9318 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9319 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9320 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9321 * sysdeps/i386/i686/fpu/e_log.S: New file.
9322 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9323 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9324
9325 * ctype/ctype.h: Add support for inlined isXXX functions when
9326 compiling C++ code.
9327
93282011-10-14 Andreas Schwab <schwab@redhat.com>
9329
9330 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9331
9332 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9333
93342011-10-13 Roland McGrath <roland@hack.frob.com>
9335
9336 [BZ #13291]
9337 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9338
93392011-10-13 Andreas Schwab <schwab@redhat.com>
9340
9341 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9342 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9343 feraiseexcept.
9344
9345 * sysdeps/x86_64/memrchr.S: Check for zero size.
9346
9347 * string/stratcliff.c: Add memrchr tests.
9348
93492011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9350
9351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9352 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9353 rawmemchr-sse2 rawmemchr-sse2-bsf.
9354 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9355 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9356 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9357 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9358 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9359 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9361 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9362 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9363 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9364 * string/memrchr.c (MEMRCHR): New macro.
9365
93662011-10-12 Ulrich Drepper <drepper@gmail.com>
9367
9368 Add integration with gcc's -ffinite-math-only and optimize wrapper
9369 functions in libm.
9370 * Versions.def: Define GLIBC_2.15 version for libm.
9371 * math/Makefile (headers): Add bits/math-finite.h.
9372 * math/bits/math-finite.h: New file.
9373 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9374 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9375 * math/e_acoshl.c: Add __*_finite alias.
9376 * math/e_acosl.c: Likewise.
9377 * math/e_asinl.c: Likewise.
9378 * math/e_atan2l.c: Likewise.
9379 * math/e_atanhl.c: Likewise.
9380 * math/e_coshl.c: Likewise.
9381 * math/e_exp10.c: Likewise.
9382 * math/e_exp10f.c: Likewise.
9383 * math/e_exp10l.c: Likewise.
9384 * math/e_exp2l.c: Likewise.
9385 * math/e_fmodl.c: Likewise.
9386 * math/e_gammal_r.c: Likewise.
9387 * math/e_hypotl.c: Likewise.
9388 * math/e_j0l.c: Likewise.
9389 * math/e_j1l.c: Likewise.
9390 * math/e_jnl.c: Likewise.
9391 * math/e_lgammal_r.c: Likewise.
9392 * math/e_log10l.c: Likewise.
9393 * math/e_log2l.c: Likewise.
9394 * math/e_logl.c: Likewise.
9395 * math/e_powl.c: Likewise.
9396 * math/e_sinhl.c: Likewise.
9397 * math/e_sqrtl.c: Likewise.
9398 * math/e_scalb.c: Completely rewritten and optimized.
9399 * math/e_scalbf.c: Likewise.
9400 * math/e_scalbl.c: Likewise.
9401 * math/w_acos.c: Likewise.
9402 * math/w_acosf.c: Likewise.
9403 * math/w_acosl.c: Likewise.
9404 * math/w_acosh.c: Likewise.
9405 * math/w_acoshf.c: Likewise.
9406 * math/w_acoshl.c: Likewise.
9407 * math/w_asin.c: Likewise.
9408 * math/w_asinf.c: Likewise.
9409 * math/w_asinl.c: Likewise.
9410 * math/w_atan2.c: Likewise.
9411 * math/w_atan2f.c: Likewise.
9412 * math/w_atan2l.c: Likewise.
9413 * math/w_atanh.c: Likewise.
9414 * math/w_atanhf.c: Likewise.
9415 * math/w_atanhl.c: Likewise.
9416 * math/w_exp10.c: Likewise.
9417 * math/w_exp10f.c: Likewise.
9418 * math/w_exp10l.c: Likewise.
9419 * math/w_fmod.c: Likewise.
9420 * math/w_fmodf.c: Likewise.
9421 * math/w_fmodl.c: Likewise.
9422 * math/w_j0.c: Likewise.
9423 * math/w_j0f.c: Likewise.
9424 * math/w_j0l.c: Likewise.
9425 * math/w_j1.c: Likewise.
9426 * math/w_j1f.c: Likewise.
9427 * math/w_j1l.c: Likewise.
9428 * math/w_jn.c: Likewise.
9429 * math/w_jnf.c: Likewise.
9430 * math/w_log.c: Likewise.
9431 * math/w_logf.c: Likewise.
9432 * math/w_logl.c: Likewise.
9433 * math/w_log10.c: Likewise.
9434 * math/w_log10f.c: Likewise.
9435 * math/w_log10l.c: Likewise.
9436 * math/w_log2.c: Likewise.
9437 * math/w_log2f.c: Likewise.
9438 * math/w_log2l.c: Likewise.
9439 * math/w_pow.c: Likewise.
9440 * math/w_powf.c: Likewise.
9441 * math/w_powl.c: Likewise.
9442 * math/w_remainder.c: Likewise.
9443 * math/w_remainderf.c: Likewise.
9444 * math/w_remainderl.c: Likewise.
9445 * math/w_scalb.c: Likewise.
9446 * math/w_scalbf.c: Likewise.
9447 * math/w_scalbl.c: Likewise.
9448 * math/w_sqrt.c: Likewise.
9449 * math/w_sqrtf.c: Likewise.
9450 * math/w_sqrtl.c: Likewise.
9451 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9452 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9453 used.
9454 * math/math_private.h: Declare __kernel_standard_f.
9455 * math/w_cosh.c: Remove cruft and optimize a bit.
9456 * math/w_coshf.c: Likewise.
9457 * math/w_coshl.c: Likewise.
9458 * math/w_exp2.c: Likewise.
9459 * math/w_exp2f.c: Likewise.
9460 * math/w_exp2l.c: Likewise.
9461 * math/w_hypot.c: Likewise.
9462 * math/w_hypotf.c: Likewise.
9463 * math/w_hypotl.c: Likewise.
9464 * math/w_lgamma.c: Likewise.
9465 * math/w_lgamma_r.c: Likewise.
9466 * math/w_lgammaf.c: Likewise.
9467 * math/w_lgammaf_r.c: Likewise.
9468 * math/w_lgammal.c: Likewise.
9469 * math/w_lgammal_r.c: Likewise.
9470 * math/w_sinh.c: Likewise.
9471 * math/w_sinhf.c: Likewise.
9472 * math/w_sinhl.c: Likewise.
9473 * math/w_tgamma.c: Likewise.
9474 * math/w_tgammaf.c: Likewise.
9475 * math/w_tgammal.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9478 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9479 Minor optimizations. Pretty printing. Remove cruft.
9480 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9481 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9482 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9483 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9484 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9485 * sysdeps/i386/fpu/e_asin.S: Likewise.
9486 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9487 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9488 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9489 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9491 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9492 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9493 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9494 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9495 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9496 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9497 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9498 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9499 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9500 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9501 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9502 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9503 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9504 * sysdeps/i386/fpu/e_log.S: Likewise.
9505 * sysdeps/i386/fpu/e_log10.S: Likewise.
9506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9508 * sysdeps/i386/fpu/e_log2.S: Likewise.
9509 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9510 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9511 * sysdeps/i386/fpu/e_logf.S: Likewise.
9512 * sysdeps/i386/fpu/e_logl.S: Likewise.
9513 * sysdeps/i386/fpu/e_pow.S: Likewise.
9514 * sysdeps/i386/fpu/e_powf.S: Likewise.
9515 * sysdeps/i386/fpu/e_powl.S: Likewise.
9516 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9517 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9518 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9519 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9520 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9521 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9522 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9523 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9524 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9546 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9549 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9551 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9552 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9553 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9554 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9556 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9557 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9558 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9559 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9560 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9561 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9562 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9563 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9564 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9616 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9617 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9618 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9620 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9621 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9622 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9623 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9624 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9625 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9626 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9627 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9628 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9629 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9633 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9634 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9635 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9636 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9637 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9638 (__isnanf): Likewise.
9639 (__isinf_ns): Likewise.
9640 (__isinf_nsf): Likewise.
9641 (__finite): Likewise.
9642 (__finitef): Likewise.
9643 (__ieee754_sqrt): Define as macro.
9644 (__ieee754_sqrtf): Define as macro.
9645 (__ieee754_sqrtl): Define as macro.
9646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9647 inlined copy.
9648 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9649 __FINITE_MATH_ONLY__ consistent.
9650 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9651
96522011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9653
9654 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9655 of rawmemchr.
9656
9657 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9658
96592011-10-09 Ulrich Drepper <drepper@gmail.com>
9660
9661 * po/ja.po: Update from translation team.
9662
96632011-10-08 Roland McGrath <roland@hack.frob.com>
9664
9665 * locale/programs/locarchive.c (prepare_address_space): New function.
9666 (create_archive, enlarge_archive, open_archive): Use it.
9667
9668 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9669 inside [SHARED], where it is used.
9670
9671 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9672
9673 * nss/getent.c (netgroup_keys): Remove unused variable.
9674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9675
96762011-10-08 Ulrich Drepper <drepper@gmail.com>
9677
9678 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9679 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9682 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9683 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9684 * math/Makefile (libm-calls): Add s_isinf_ns.
9685 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9686 * math/multc3.c: Likewise.
9687 * math/s_casin.c: Likewise.
9688 * math/s_casinf.c: Likewise.
9689 * math/s_casinl.c: Likewise.
9690 * math/s_ccos.c: Likewise.
9691 * math/s_ccosf.c: Likewise.
9692 * math/s_ccosl.c: Likewise.
9693 * math/s_ctan.c: Likewise.
9694 * math/s_ctanf.c: Likewise.
9695 * math/s_ctanh.c: Likewise.
9696 * math/s_ctanhf.c: Likewise.
9697 * math/s_ctanhl.c: Likewise.
9698 * math/s_ctanl.c: Likewise.
9699 * math/w_fmod.c: Likewise.
9700 * math/w_fmodf.c: Likewise.
9701 * math/w_fmodl.c: Likewise.
9702 * math/w_remainder.c: Likewise.
9703 * math/w_remainderf.c: Likewise.
9704 * math/w_remainderl.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9706 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9707 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9709 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9710 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9711 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9712 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9713
9714 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9715 of the number.
9716 * stdio-common/printf_fphex.c: Likewise.
9717 * stdio-common/printf_size.c: Likewise.
9718
9719 * math/e_exp10.c: Include math_private.h using <...> not "...".
9720 * math/e_exp10f.c: Likewise.
9721 * math/e_exp10l.c: Likewise.
9722 * math/e_exp2l.c: Likewise.
9723 * math/e_j0l.c: Likewise.
9724 * math/e_j1l.c: Likewise.
9725 * math/e_jnl.c: Likewise.
9726 * math/e_lgammal_r.c: Likewise.
9727 * math/e_rem_pio2l.c: Likewise.
9728 * math/e_scalb.c: Likewise.
9729 * math/e_scalbf.c: Likewise.
9730 * math/e_scalbl.c: Likewise.
9731 * math/k_cosl.c: Likewise.
9732 * math/k_sinl.c: Likewise.
9733 * math/k_tanl.c: Likewise.
9734 * math/s_cacoshf.c: Likewise.
9735 * math/s_catan.c: Likewise.
9736 * math/s_catanf.c: Likewise.
9737 * math/s_catanh.c: Likewise.
9738 * math/s_catanhf.c: Likewise.
9739 * math/s_catanhl.c: Likewise.
9740 * math/s_catanl.c: Likewise.
9741 * math/s_ccosh.c: Likewise.
9742 * math/s_ccoshf.c: Likewise.
9743 * math/s_ccoshl.c: Likewise.
9744 * math/s_cexp.c: Likewise.
9745 * math/s_cexpf.c: Likewise.
9746 * math/s_cexpl.c: Likewise.
9747 * math/s_clog.c: Likewise.
9748 * math/s_clog10.c: Likewise.
9749 * math/s_clog10f.c: Likewise.
9750 * math/s_clog10l.c: Likewise.
9751 * math/s_clogf.c: Likewise.
9752 * math/s_clogl.c: Likewise.
9753 * math/s_csin.c: Likewise.
9754 * math/s_csinf.c: Likewise.
9755 * math/s_csinh.c: Likewise.
9756 * math/s_csinhf.c: Likewise.
9757 * math/s_csinhl.c: Likewise.
9758 * math/s_csinl.c: Likewise.
9759 * math/s_csqrt.c: Likewise.
9760 * math/s_csqrtf.c: Likewise.
9761 * math/s_csqrtl.c: Likewise.
9762 * math/s_ctan.c: Likewise.
9763 * math/s_ctanf.c: Likewise.
9764 * math/s_ctanh.c: Likewise.
9765 * math/s_ctanhf.c: Likewise.
9766 * math/s_ctanhl.c: Likewise.
9767 * math/s_ctanl.c: Likewise.
9768 * math/s_ldexp.c: Likewise.
9769 * math/s_ldexpf.c: Likewise.
9770 * math/s_ldexpl.c: Likewise.
9771 * math/s_significand.c: Likewise.
9772 * math/s_significandf.c: Likewise.
9773 * math/s_significandl.c: Likewise.
9774 * math/w_acos.c: Likewise.
9775 * math/w_acosf.c: Likewise.
9776 * math/w_acosh.c: Likewise.
9777 * math/w_acoshf.c: Likewise.
9778 * math/w_acoshl.c: Likewise.
9779 * math/w_acosl.c: Likewise.
9780 * math/w_asin.c: Likewise.
9781 * math/w_asinf.c: Likewise.
9782 * math/w_asinl.c: Likewise.
9783 * math/w_atan2.c: Likewise.
9784 * math/w_atan2f.c: Likewise.
9785 * math/w_atan2l.c: Likewise.
9786 * math/w_atanh.c: Likewise.
9787 * math/w_atanhf.c: Likewise.
9788 * math/w_atanhl.c: Likewise.
9789 * math/w_cosh.c: Likewise.
9790 * math/w_coshf.c: Likewise.
9791 * math/w_coshl.c: Likewise.
9792 * math/w_dremf.c: Likewise.
9793 * math/w_exp10.c: Likewise.
9794 * math/w_exp10f.c: Likewise.
9795 * math/w_exp10l.c: Likewise.
9796 * math/w_exp2.c: Likewise.
9797 * math/w_exp2f.c: Likewise.
9798 * math/w_fmod.c: Likewise.
9799 * math/w_fmodf.c: Likewise.
9800 * math/w_fmodl.c: Likewise.
9801 * math/w_hypot.c: Likewise.
9802 * math/w_hypotf.c: Likewise.
9803 * math/w_hypotl.c: Likewise.
9804 * math/w_j0.c: Likewise.
9805 * math/w_j0f.c: Likewise.
9806 * math/w_j0l.c: Likewise.
9807 * math/w_j1.c: Likewise.
9808 * math/w_j1f.c: Likewise.
9809 * math/w_j1l.c: Likewise.
9810 * math/w_jn.c: Likewise.
9811 * math/w_jnf.c: Likewise.
9812 * math/w_jnl.c: Likewise.
9813 * math/w_lgamma.c: Likewise.
9814 * math/w_lgamma_r.c: Likewise.
9815 * math/w_lgammaf.c: Likewise.
9816 * math/w_lgammaf_r.c: Likewise.
9817 * math/w_lgammal.c: Likewise.
9818 * math/w_lgammal_r.c: Likewise.
9819 * math/w_log.c: Likewise.
9820 * math/w_log10.c: Likewise.
9821 * math/w_log10f.c: Likewise.
9822 * math/w_log10l.c: Likewise.
9823 * math/w_log2.c: Likewise.
9824 * math/w_log2f.c: Likewise.
9825 * math/w_log2l.c: Likewise.
9826 * math/w_logf.c: Likewise.
9827 * math/w_logl.c: Likewise.
9828 * math/w_pow.c: Likewise.
9829 * math/w_powf.c: Likewise.
9830 * math/w_powl.c: Likewise.
9831 * math/w_remainder.c: Likewise.
9832 * math/w_remainderf.c: Likewise.
9833 * math/w_remainderl.c: Likewise.
9834 * math/w_scalb.c: Likewise.
9835 * math/w_scalbf.c: Likewise.
9836 * math/w_scalbl.c: Likewise.
9837 * math/w_sinh.c: Likewise.
9838 * math/w_sinhf.c: Likewise.
9839 * math/w_sinhl.c: Likewise.
9840 * math/w_sqrt.c: Likewise.
9841 * math/w_sqrtf.c: Likewise.
9842 * math/w_sqrtl.c: Likewise.
9843 * math/w_tgamma.c: Likewise.
9844 * math/w_tgammaf.c: Likewise.
9845 * math/w_tgammal.c: Likewise.
9846
9847 * po/ja.po: Update from translation team.
9848
98492011-09-29 Andreas Jaeger <aj@suse.de>
9850
9851 [BZ #13179]
9852 * sunrpc/netname.c (netname2host): Fix logic.
9853
9854 [BZ #6779]
9855 [BZ #6783]
9856 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9857 correctly.
9858 * math/w_remainder.c (__remainder): Likewise.
9859 * math/w_remainderf.c (__remainderf): Likewise.
9860 * math/libm-test.inc (remainder_test): Add test cases.
9861
98622011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9863
9864 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9865 sdiv_qrnnd.
9866
98672011-10-07 Ulrich Drepper <drepper@gmail.com>
9868
9869 * string/test-memcmp.c: Avoid unncessary #defines.
9870 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9871
98722011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9873
9874 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9875 Use new sse2 version for core i3 - i7 as it's faster
9876 than sse42 version.
9877 (bit_Prefer_PMINUB_for_stringop): New.
9878 * sysdeps/x86_64/rawmemchr.S: Update.
9879 Replace with faster SSE2 version.
9880 * sysdeps/x86_64/memrchr.S: New file.
9881 * sysdeps/x86_64/memchr.S: Update.
9882 Replace with faster SSE2 version.
9883
98842011-09-12 Marek Polacek <mpolacek@redhat.com>
9885
9886 * elf/dl-load.c (lose): Add cast to avoid warning.
9887
98882011-10-07 Ulrich Drepper <drepper@gmail.com>
9889
9890 * po/ca.po: Update from translation team.
9891
9892 * inet/getnetgrent_r.c: Hook up nscd.
9893 * nscd/Makefile (routines): Add nscd_netgroup.
9894 (nscd-modules): Add netgroupcache.
9895 (CFLAGS-netgroupcache.c): Define.
9896 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9897 (cache_search): Add const to second parameter.
9898 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9899 INNETGR.
9900 (dbs): Add netgrdb entry.
9901 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9902 (verify_persistent_db): Handle netgrdb.
9903 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9904 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9905 GETFDNETGR.
9906 (netgroup_response_header): Define.
9907 (innetgroup_response_header): Define.
9908 (datahead): Add netgroup_response_header and innetgroup_response_header
9909 elements.
9910 * nscd/nscd.conf: Add entries for netgroup cache.
9911 * nscd/nscd.h (dbtype): Add netgrdb.
9912 (_PATH_NSCD_NETGROUP_DB): Define.
9913 (netgroup_iov_disabled): Declare.
9914 (xmalloc, xcalloc, xrealloc): Move declarations here.
9915 (cache_search): Adjust prototype.
9916 Add netgroup-related prototypes.
9917 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9918 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9919 (__nscd_innetgr): Declare.
9920 * nscd/selinux.c (perms): Use access_vector_t as element type and
9921 add netgroup-related initializers.
9922 * nscd/netgroupcache.c: New file.
9923 * nscd/nscd_netgroup.c: New file.
9924 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9925 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9926 For four parameters use innetgr.
9927 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9928 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9929 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9930 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9931
9932 * nscd/connections.c (register_traced_file): Don't register file
9933 for disabled databases.
9934
99352011-10-06 Ulrich Drepper <drepper@gmail.com>
9936
9937 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9938
9939 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9940 from tree and freeing node.
9941
99422011-09-25 Jiri Olsa <jolsa@redhat.com>
9943
9944 * nss/nsswitch.c (__nss_database_lookup): Handle
9945 nss_parse_service_list out of memory case.
9946
99472011-09-15 Jiri Olsa <jolsa@redhat.com>
9948
9949 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9950 out of memory case.
9951
99522011-10-04 Andreas Schwab <schwab@redhat.com>
9953
9954 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9955 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9956 pass it down.
9957 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9958 elf_machine_rela, elf_machine_lazy_rel.
9959 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9960 (ELF_DYNAMIC_DO_REL): Likewise.
9961 (ELF_DYNAMIC_DO_RELA): Likewise.
9962 (ELF_DYNAMIC_RELOCATE): Likewise.
9963 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9964 to ELF_DYNAMIC_DO_REL.
9965 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9966 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9967 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9968 elf_machine_rela.
9969 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9970 skip_ifunc, don't call ifunc function if non-zero.
9971 (elf_machine_rela): Likewise.
9972 (elf_machine_lazy_rel): Likewise.
9973 (elf_machine_lazy_rela): Likewise.
9974 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9975 (elf_machine_lazy_rel): Likewise.
9976 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9977 Likewise.
9978 (elf_machine_lazy_rel): Likewise.
9979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9980 Likewise.
9981 (elf_machine_lazy_rel): Likewise.
9982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9983 (elf_machine_lazy_rel): Likewise.
9984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9985 (elf_machine_lazy_rel): Likewise.
9986 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9987 (elf_machine_lazy_rel): Likewise.
9988 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9989 (elf_machine_lazy_rel): Likewise.
9990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9991 (elf_machine_lazy_rel): Likewise.
9992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9993 (elf_machine_lazy_rel): Likewise.
9994
99952011-09-28 Ulrich Drepper <drepper@gmail.com>
9996
9997 * nss/nss_files/files-init.c (_nss_files_init): Use static
9998 initialization for all the *_traced_file variables.
9999
100002011-09-28 Andreas Schwab <schwab@redhat.com>
10001
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10003
100042011-09-27 Roland McGrath <roland@hack.frob.com>
10005
10006 [BZ #13226]
10007 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10008
100092011-09-27 Andreas Schwab <schwab@redhat.com>
10010
10011 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10012 Reread the line before reparsing it.
10013
100142011-09-26 Andreas Schwab <schwab@redhat.com>
10015
10016 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10017
100182011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10019 Maxim Kuvyrkov <maxim@codesourcery.com>
10020 Joseph Myers <joseph@codesourcery.com>
10021
10022 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10023 if needed for __stack_chk_guard.
10024
100252011-09-19 Roland McGrath <roland@hack.frob.com>
10026
10027 * sysdeps/posix/spawni.c (script_execute): Always define it.
10028 It will be optimized away if unused.
10029 (maybe_script_execute): New function.
10030 (__spawni): Call it.
10031
10032 * Makerules: Don't include tls.make.
10033 (config-tls): Always set to thread.
10034 * tls.make.c: File removed.
10035
100362011-09-19 Mike Frysinger <vapier@gentoo.org>
10037
10038 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10039 * config.make.in (CPPFLAGS-config): New substituted variable.
10040
100412011-09-15 Ulrich Drepper <drepper@gmail.com>
10042
10043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10044
10045 [BZ #13192]
10046 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10047 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10048
100492011-09-15 Roland McGrath <roland@hack.frob.com>
10050
10051 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10052 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10054 (CALL_FAIL): Likewise.
10055 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10056 (CALL_FAIL): Macro removed.
10057 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10058
100592011-09-15 Ulrich Drepper <drepper@gmail.com>
10060
10061 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10062 for __FINITE_MATH_ONLY__ == 1.
10063
100642011-09-15 Andreas Schwab <schwab@redhat.com>
10065
10066 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10067 __ieee754_sqrt instead of sqrt.
10068 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10069 __ieee754_sqrtf instead of sqrtf.
10070 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10071 __floorf instead of floorf.
10072 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10073 __floorf, __truncf instead of floorf, truncf.
10074
100752011-09-14 Ulrich Drepper <drepper@gmail.com>
10076
10077 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10078
10079 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10080 __extern_always_inline.
10081 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10082 32-bit.
10083
100842011-09-14 Andreas Schwab <schwab@redhat.com>
10085
10086 * elf/rtld.c (dl_main): Also relocate in dependency order when
10087 doing symbol dependency testing.
10088
100892011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10090
10091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10092 Always define `refsym'.
10093
100942011-09-13 Andreas Schwab <schwab@redhat.com>
10095
10096 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10097 (__FD_ELT): Renamed from __FDELT.
10098 * misc/bits/select2.h (__FD_ELT): Likewise.
10099 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10100 __FD_MASK instead of __FDELT, __FDMASK.
10101 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10102 Likewise.
10103 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10104 Likewise.
10105
10106 * elf/Makefile (gen-ldd): Fix pattern.
10107
10108 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10109 (init_tls): Likewise.
10110
101112011-09-12 Ulrich Drepper <drepper@gmail.com>
10112
10113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10114
101152011-09-12 Andreas Schwab <schwab@redhat.com>
10116
10117 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10118 `struct cmsghdr *' instead of `void *'.
10119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10120 Likewise.
10121
101222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10123
10124 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10125 if non-absolute.
10126 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10127 ldd_rewrite_script.
10128
101292011-09-11 Ulrich Drepper <drepper@gmail.com>
10130
10131 * configure.in: Remove --with-tls option.
10132 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10133 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10134 out in case it is missing.
10135 * sysdeps/ia64/elf/configure.in: Likewise.
10136 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10137 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10138 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10139 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10140 * sysdeps/sh/elf/configure.in: Likewise.
10141 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10142 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10143 * sysdeps/x86_64/elf/configure.in: Likewise.
10144 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10145 * sysdeps/mach/hurd/tls.h: Likewise.
10146
10147 [BZ #13067]
10148 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10149
10150 [BZ #13090]
10151 * configure.in: Fix use of AC_INIT.
10152
10153 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10154
101552011-09-10 Ulrich Drepper <drepper@gmail.com>
10156
10157 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10158 __set_errno.
10159 * malloc/hooks.c: Likewise.
10160
10161 [BZ #11929]
10162 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10163 variables statically.
10164 (narenas): Initialize.
10165 (list_lock): Initialize.
10166 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10167 initializtion of main_arena and list_lock. Small cleanups.
10168 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10169 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10170 Add initializers to main_arena and mp_.
10171 (malloc_state): Remove pagesize member. Change all users to use
10172 GLRO(dl_pagesize).
10173
10174 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10175 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10176 is always initialized.
10177
10178 * malloc/malloc.c: Removed unused configurations and dead code.
10179 * malloc/arena.c: Likewise.
10180 * malloc/hooks.c: Likewise.
10181 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10182
10183 * include/tls.h: Removed. USE___THREAD must always be defined.
10184 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10185 * elf/dl-libc.c: Likewise.
10186 * elf/dl-tsd.c: Likewise.
10187 * include/errno.h: Likewise.
10188 * include/netdb.h: Likewise.
10189 * include/resolv.h: Likewise.
10190 * inet/herrno-loc.c: Likewise.
10191 * inet/herrno.c: Likewise.
10192 * malloc/arena.c: Likewise.
10193 * malloc/hooks.c: Likewise.
10194 * malloc/malloc.c: Likewise.
10195 * resolv/res-state.c: Likewise.
10196 * resolv/res_libc.c: Likewise.
10197 * sysdeps/i386/dl-machine.h: Likewise.
10198 * sysdeps/ia64/dl-machine.h: Likewise.
10199 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10200 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10201 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10202 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10203 * sysdeps/sh/dl-machine.h: Likewise.
10204 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10205 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10206 * sysdeps/unix/i386/sysdep.S: Likewise.
10207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10208 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10211 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10213 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10218 * sysdeps/x86_64/dl-machine.h: Likewise.
10219 * tls.make.c: Likewise.
10220
10221 * configure.in: Remove --with-__thread option. Make tests for
10222 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10223 tls_model attribute fail if no support is available. Remove
10224 USE_IN_LIBIO.
10225 * Makeconfig: Adjust for dropped configure option. All features are
10226 now mandatory.
10227 * Makerules: Likewise.
10228 * Versions.def: Likewise.
10229 * argp/argp-fmtstream.c: Likewise.
10230 * argp/argp-fmtstream.h: Likewise.
10231 * argp/argp-help.c: Likewise.
10232 * assert/assert.c: Likewise.
10233 * config.h.in: Likewise.
10234 * config.make.in: Likewise.
10235 * configure: Likewise.
10236 * configure.in: Likewise.
10237 * csu/Versions: Likewise.
10238 * csu/init.c: Likewise.
10239 * elf/tst-audit2.c: Likewise.
10240 * elf/tst-tls10.c: Likewise.
10241 * elf/tst-tls10.h: Likewise.
10242 * elf/tst-tls11.c: Likewise.
10243 * elf/tst-tls12.c: Likewise.
10244 * elf/tst-tls14.c: Likewise.
10245 * elf/tst-tlsmod11.c: Likewise.
10246 * elf/tst-tlsmod12.c: Likewise.
10247 * elf/tst-tlsmod13.c: Likewise.
10248 * elf/tst-tlsmod13a.c: Likewise.
10249 * elf/tst-tlsmod14a.c: Likewise.
10250 * elf/tst-tlsmod15b.c: Likewise.
10251 * elf/tst-tlsmod16a.c: Likewise.
10252 * elf/tst-tlsmod16b.c: Likewise.
10253 * elf/tst-tlsmod7.c: Likewise.
10254 * elf/tst-tlsmod8.c: Likewise.
10255 * elf/tst-tlsmod9.c: Likewise.
10256 * gmon/gmon.c: Likewise.
10257 * grp/fgetgrent_r.c: Likewise.
10258 * grp/putgrent.c: Likewise.
10259 * hurd/fopenport.c: Likewise.
10260 * include/libc-symbols.h: Likewise.
10261 * include/tls.h: Likewise.
10262 * intl/gettextP.h: Likewise.
10263 * intl/loadinfo.h: Likewise.
10264 * locale/global-locale.c: Likewise.
10265 * locale/localeinfo.h: Likewise.
10266 * mach/devstream.c: Likewise.
10267 * malloc/arena.c: Likewise.
10268 * malloc/set-freeres.c: Likewise.
10269 * misc/err.c: Likewise.
10270 * misc/getttyent.c: Likewise.
10271 * misc/mntent_r.c: Likewise.
10272 * posix/getopt.c: Likewise.
10273 * posix/wordexp.c: Likewise.
10274 * pwd/fgetpwent_r.c: Likewise.
10275 * resolv/Versions: Likewise.
10276 * resolv/res_hconf.c: Likewise.
10277 * shadow/fgetspent_r.c: Likewise.
10278 * shadow/putspent.c: Likewise.
10279 * stdio-common/printf_fphex.c: Likewise.
10280 * stdio-common/tmpfile.c: Likewise.
10281 * stdlib/abort.c: Likewise.
10282 * stdlib/fmtmsg.c: Likewise.
10283 * sunrpc/auth_unix.c: Likewise.
10284 * sunrpc/clnt_perr.c: Likewise.
10285 * sunrpc/clnt_tcp.c: Likewise.
10286 * sunrpc/clnt_udp.c: Likewise.
10287 * sunrpc/clnt_unix.c: Likewise.
10288 * sunrpc/openchild.c: Likewise.
10289 * sunrpc/svc_simple.c: Likewise.
10290 * sunrpc/svc_tcp.c: Likewise.
10291 * sunrpc/svc_udp.c: Likewise.
10292 * sunrpc/svc_unix.c: Likewise.
10293 * sunrpc/xdr.c: Likewise.
10294 * sunrpc/xdr_array.c: Likewise.
10295 * sunrpc/xdr_rec.c: Likewise.
10296 * sunrpc/xdr_ref.c: Likewise.
10297 * sunrpc/xdr_stdio.c: Likewise.
10298
102992011-09-09 Ulrich Drepper <drepper@gmail.com>
10300
10301 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10302
103032011-07-03 Andreas Jaeger <aj@suse.de>
10304
10305 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10306 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10307 regenerate with gen-libm-tests.pl.
10308
103092010-05-12 Petr Baudis <pasky@suse.cz>
10310
10311 [BZ #11589]
10312 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10313 around j0() zero points by switching to j1().
10314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10318
103192011-09-09 Ulrich Drepper <drepper@gmail.com>
10320
10321 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10322 instead of 0.
10323 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10324 instead of 0. .
10325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10326 Patch in part by Pavel Roskin <proski@gnu.org>.
10327
10328 [BZ #13138]
10329 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10330 realloc.
10331 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10332 Free memory block if necessary.
10333
10334 [BZ #12847]
10335 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10336 be NULL. Don't lock in this case.
10337
103382011-09-09 Roland McGrath <roland@hack.frob.com>
10339
10340 * elf/elf.h (ELFOSABI_GNU): New macro.
10341 (ELFOSABI_LINUX): Define to that.
10342
103432011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10344
10345 * string/strncat.c (strncat): Undef the symbol in case it has been
10346 defined in bits/string.h.
10347
103482011-09-09 Ulrich Drepper <drepper@gmail.com>
10349
10350 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10351
10352 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10353 link map.
10354
103552011-08-17 Andreas Jaeger <aj@suse.de>
10356
10357 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10358
103592011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10360 Ian Lance Taylor <iant@google.com>
10361
10362 * math/libm-test.inc (lround_test): New testcase.
10363 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10364
103652011-09-08 Ulrich Drepper <drepper@gmail.com>
10366
10367 * Makefile: Remove support for automatic cvs check-ins.
10368 * Makerules: Likewise.
10369 * config.make.in: Likewise.
10370 * configure.in: Likewise.
10371 * intl/Makefile: Likewise.
10372 * locale/Makefile: Likewise.
10373 * po/Makefile: Likewise.
10374 * posix/Makefile: Likewise.
10375 * sysdeps/gnu/Makefile: Likewise.
10376 * sysdeps/mach/hurd/Makefile: Likewise.
10377 * sysdeps/sparc/sparc32/Makefile: Likewise.
10378
10379 [BZ #13118]
10380 * posix/Makefile (bug-regex32-ENV): Define.
10381 Patch by John Stanley <jpsinthemix@verizon.net>.
10382
10383 * misc/Makefile (headers): Add bits/select2.h.
10384 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10385 * misc/bits/select2.h: New file.
10386 * include/bits/select2.h: New file.
10387 * debug/Makefile (routines): Add fdelt_chk.
10388 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10389 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10390 FD_ISSET.
10391 * debug/fdelt_chk.c: New file.
10392
10393 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10394 * wcsmbs/test-wmemcmp.c: Likewise.
10395 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10396 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10397
103982011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10399
10400 * string/Makefile (strop-tests): Add memcmp.
10401 * string/test-wmemcmp.c: New file.
10402 * string/test-memcmp.c: Add wmemcmp support.
10403
104042011-09-08 Roland McGrath <roland@hack.frob.com>
10405
10406 [BZ #13153]
10407 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10408 2011-07-19 change.
10409
10410 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10411 garbage value in a __mach_port_mod_refs call in the cases of the
10412 task-self and thread-self ports.
10413
104142011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10415
10416 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10417
104182011-09-08 Andreas Schwab <schwab@redhat.com>
10419
10420 * elf/dl-load.c (lose): Check for non-null L.
10421
104222011-09-07 Ulrich Drepper <drepper@gmail.com>
10423
10424 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10425
10426 * elf/dl-libc.c (dlerror_run): Pass back error code from
10427 dl_catch_error.
10428
10429 [BZ #13123]
10430 * elf/dl-load.c (lose): Free l_origin if it is valid.
10431
10432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10433 names.
10434 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10435 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10437 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10438 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10439 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10440
104412011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10442
10443 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10444 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10445 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10446 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10447 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10448 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10449 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10450 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10451 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10452 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10453
104542011-08-15 Alan Modra <amodra@gmail.com>
10455
10456 [BZ #13092]
10457 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10458 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10459 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10460 ppc_mcount to static-only-routines.
10461 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10462 __mcount_internal.
10463 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10464 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10465
104662011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10467
10468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10469 for finite and infinity parameters.
10470
104712011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10472
10473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10474 and add nop instructions for throughput optimization.
10475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10476
104772011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10478
10479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10480 aligned copy for power7 with vector-scalar instructions.
10481 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10482
104832011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10486 AVX check.
10487
104882011-09-07 Andreas Schwab <schwab@redhat.com>
10489
10490 [BZ #13144]
10491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10492 last change.
10493
104942011-09-07 Ulrich Drepper <drepper@gmail.com>
10495
10496 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10497 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10498 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10500 clock_gettime.
10501
105022011-09-06 Ulrich Drepper <drepper@gmail.com>
10503
10504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10505 Forgot to demangle the pointer.
10506
10507 * sysdeps/i386/sysdep.h: Define atom_text_section.
10508 * sysdeps/x86_64/sysdep.h: Likewise.
10509 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10510 section with atom_text_section.
10511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10513 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10514 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10515 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10516
10517 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10519 already be defined. Change to take two parameters and don't assign
10520 result to variable. Adjust all users.
10521 Define INTERNAL_GETTIME if not already defined.
10522 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10523 call.
10524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10525 HAVE_CLOCK_GETTIME_VSYSCALL.
10526 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10527
10528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10529 gettimeofday vsyscall, just use time.
10530
105312011-09-06 Andreas Schwab <schwab@redhat.com>
10532
10533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10534 <errno.h>.
10535
105362011-09-06 Ulrich Drepper <drepper@gmail.com>
10537
10538 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10539 syscall on x86-64.
10540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10541 syscall.
10542 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10544 syscall if possible.
10545
105462011-09-05 Ulrich Drepper <drepper@gmail.com>
10547
10548 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10549 e_ident. Don't pass to find_mapsXX.
10550 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10551
105522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10553
10554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10555 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10556 * sysdeps/x86_64/multiarch/strchr.S: Update.
10557 Check bit_slow_BSF bit.
10558 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10559 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10560 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10561
105622011-09-05 Ulrich Drepper <drepper@gmail.com>
10563
10564 [BZ #13134]
10565 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10566 before glibc 2.15.
10567 (tryshell): Define.
10568 (__spawni): Change last parameter to be flag. Test
10569 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10570 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10571 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10572 * posix/spawni.c: Likewise.
10573 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10574 * posix/spawnp.c: Likewise. Change normal version to use
10575 SPAWN_XFLAGS_USE_PATH.
10576 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10577 SPAWN_XFLAGS_TRY_SHELL.
10578
10579 [BZ #13150]
10580 * posix/glob.h: Remove gcc 1.x support.
10581
10582 [BZ #13068]
10583 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10584
105852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10586
10587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10588 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10589 strrchr-sse2-bsf
10590 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10591 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10592 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10594 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10595 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10596
105972011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10598
10599 * sysdeps/x86_64/wcscmp.S: New file.
10600
10601 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10602 wcscmp-c wcscmp-sse2
10603 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10604 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10605 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10606 * wcsmbs/wcscmp.c: Allow renaming.
10607
106082011-09-05 David S. Miller <davem@davemloft.net>
10609
10610 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10611 stack slot, rather than the struct return pointer slot.
10612 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10613 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10616
106172011-09-05 Ulrich Drepper <drepper@gmail.com>
10618
10619 * po/ja.po: Update from translation team.
10620
10621 [BZ #13144]
10622 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10623 kernel in 64-bit binaries.
10624
106252011-09-01 David S. Miller <davem@davemloft.net>
10626
10627 * elf/elf.h (HWCAP_SPARC_*): Move to..
10628 * sysdeps/sparc/sysdep.h: this new file and add new values.
10629 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10630 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10631 _DL_HWCAP_COUNT to 24.
10632 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10633 entries.
10634 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10635 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10636 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10638 instead of magic constants.
10639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10640
106412011-08-31 David S. Miller <davem@davemloft.net>
10642
10643 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10645 Reimplement to do errno handling inline.
10646 (SYSCALL_ERROR_HANDLER): New macro.
10647 (__SYSCALL_STRING): Do not do errno handling in asm.
10648 (__CLONE_SYSCALL_STRING): Delete.
10649 (__INTERNAL_SYSCALL_STRING): Delete.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10651 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10652 (PSEUDO): Reimplement to do errno handling inline.
10653 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10654 (SYSCALL_ERROR_HANDLER): New macro.
10655 (__SYSCALL_STRING): Do not do errno handling in asm.
10656 (__CLONE_SYSCALL_STRING): Delete.
10657 (__INTERNAL_SYSCALL_STRING): Delete.
10658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10659 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10660 i386.
10661 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10662 (inline_syscall*): Add 'err' argument.
10663 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10664 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10665 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10666 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10667
10668 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10669 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10670
106712011-08-30 Andreas Schwab <schwab@redhat.com>
10672
10673 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10674
106752011-08-29 Jiri Olsa <jolsa@redhat.com>
10676
10677 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10678 directive.
10679
106802011-08-24 David S. Miller <davem@davemloft.net>
10681
10682 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10683
106842011-08-24 Andreas Schwab <schwab@redhat.com>
10685
10686 * elf/Makefile: Add rules to build and run unload8 test.
10687 * elf/unload8.c: New file.
10688 * elf/unload8mod1.c: New file.
10689 * elf/unload8mod1x.c: New file.
10690 * elf/unload8mod2.c: New file.
10691 * elf/unload8mod3.c: New file.
10692
10693 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10694 it wasn't used.
10695
106962011-08-23 David S. Miller <davem@davemloft.net>
10697
10698 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10699 subtract stack bias.
10700 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10701 %sp not %fp in calculations.
10702 (_JMPBUF_UNWINDS_ADJ): Likewise.
10703
10704 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10705 (aio_suspend): Call it to force an exception region around the
10706 AIO_MISC_WAIT() invocation.
10707
107082011-08-23 Andreas Schwab <schwab@redhat.com>
10709
10710 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10711 backslash.
10712
107132011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10714
10715 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10716 protection macro.
10717 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10718 and <dl-machine.h>.
10719 (Elf64_FuncDesc): Remove.
10720
107212011-08-22 David S. Miller <davem@davemloft.net>
10722
10723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10724 sigaltstack check, add missing cfi directives.
10725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10726 missing cfi directives, and sigaltstack handling.
10727
107282011-08-16 Andreas Schwab <schwab@redhat.com>
10729
10730 [BZ #11724]
10731 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10732 object is seen twice.
10733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10734
10735 * elf/Makefile (distribute): Add tst-initorder2.c.
10736 (tests): Add tst-initorder2.
10737 (modules-names): Add tst-initorder2a tst-initorder2b
10738 tst-initorder2c tst-initorder2d. Add rules to build them.
10739 ($(objpfx)tst-initorder2.out): New rule.
10740 * elf/tst-initorder2.c: New file.
10741 * elf/tst-initorder2.exp: New file.
10742
107432011-08-22 Andreas Schwab <schwab@redhat.com>
10744
10745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10746
10747 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10748 dependencies back to end of function.
10749
10750 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10751 $(elfobjdir)/ld.so.
10752
107532011-08-21 Ulrich Drepper <drepper@gmail.com>
10754
10755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10756 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10758 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10759 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10760 of __vdso_gettimeofday.
10761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10762 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10763 attribute_hidden.
10764 (_libc_vdso_platform_setup): Remove initialization of
10765 __vdso_gettimeofday and __vdso_time.
10766
107672011-08-20 Ulrich Drepper <drepper@gmail.com>
10768
10769 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10770 and fgetc_unlocked.
10771 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10772 getc_unlocked.
10773
10774 * elf/dl-open.c (add_to_global): Report additions to the global scope
10775 for LD_DEBUG=scopes.
10776 (dl_open_worker): Also print scope of newly loaded dependencies.
10777 (_dl_show_scope): Indicate if there is no scope.
10778
10779 [BZ #13114]
10780 * stdio-common/Makefile (tests): Add bug24.
10781 * stdio-common/bug24.c: New file.
10782
107832011-08-19 Andreas Jaeger <aj@suse.de>
10784
10785 [BZ #13114]
10786 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10787 non-existant file when using close-on-exec mode.
10788
107892011-08-20 Ulrich Drepper <drepper@gmail.com>
10790
10791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10792 the very first instruction.
10793
10794 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10795 the CFI state in the end.
10796 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10797 inclusion of dl-trampoline.h.
10798 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10799
108002011-08-19 Andreas Schwab <schwab@redhat.com>
10801
10802 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10803 expectations for long double.
10804
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10806 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10807
108082011-08-14 David S. Miller <davem@davemloft.net>
10809
10810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10811 artificual limit depends upon the system page size.
10812
108132011-08-17 Ulrich Drepper <drepper@gmail.com>
10814
10815 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10816 * resolv/Makefile: Define CFLAGS-libresolv.
10817
108182011-08-17 Andreas Schwab <schwab@redhat.com>
10819
10820 * nss/makedb.c (compute_tables): Make variables used in nested
10821 function static.
10822
108232011-08-17 Ulrich Drepper <drepper@gmail.com>
10824
10825 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10826 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10827 if buffer was too small.
10828
10829 * elf/pldd.c (main): Attach to all threads in the process.
10830 Rewrite /proc handling to use *at functions.
10831
108322011-08-16 Ulrich Drepper <drepper@gmail.com>
10833
10834 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10835 specifies first scope to show.
10836 (dl_open_worker): Update callers. Move printing scope of new
10837 object to before the relocation.
10838 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10839 * sysdeps/generic/ldsodefs.h: Update declaration.
10840
10841 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10842 string for the scope number.
10843
108442011-08-14 Ulrich Drepper <drepper@gmail.com>
10845
10846 * nscd/servicescache.c (cache_addserv): Make sure written is always
10847 initialized.
10848
108492011-08-14 Roland McGrath <roland@hack.frob.com>
10850
10851 * sysdeps/i386/i486/bits/atomic.h
10852 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10853 statement expression, so as to suppress "set but not used" warning.
10854 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10855
10856 * string/strncat.c (STRNCAT): Use prototype definition.
10857
10858 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10859 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10860 -Iprograms here.
10861 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10862 (localedef-modules): Add localedef.
10863 (locale-modules): Add locale.
10864
10865 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10866 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10867 to avoid a warning.
10868
108692011-08-14 David S. Miller <davem@davemloft.net>
10870
10871 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10872 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10873
108742011-08-13 Ulrich Drepper <drepper@gmail.com>
10875
10876 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10877 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10878 * elf/rtld.c (dl_main): Set l_name of vDSO.
10879 Call _dl_show_scope when DL_DEBUG_SCOPES.
10880 (process_dl_debug): Recognize scopes flag and also set it for all.
10881 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10882 Declare _dl_show_scope.
10883
10884 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10885 (do_dlopen): Pass caller_dlopen to dl_open.
10886 (__libc_dlopen_mode): Initialize caller_dlopen.
10887
10888 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10889 of libc. Make tolower call locale-independent. Optimize a bit by
10890 using isdigit instead of isalnum.
10891 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10892
108932011-08-12 Ulrich Drepper <drepper@gmail.com>
10894
10895 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10896 was a dependency or dynamically loaded.
10897
108982011-08-11 Ulrich Drepper <drepper@gmail.com>
10899
10900 * intl/l10nflist.c: Allow architecture-specific pop function.
10901 * sysdeps/x86_64/l10nflist.c: New file.
10902
10903 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10904 classification.
10905
109062011-08-10 Andreas Schwab <schwab@redhat.com>
10907
10908 * include/dirent.h: Add libc_hidden_proto for scandirat and
10909 scandirat64. Don't declare __scandirat64.
10910 * dirent/scandirat.c: Add libc_hidden_def.
10911 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10912 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10913
109142011-08-10 David S. Miller <davem@davemloft.net>
10915
10916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10917 enum.
10918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10921
109222011-08-09 Ulrich Drepper <drepper@gmail.com>
10923
10924 * Versions.def [libc]: Add GLIBC_2.15.
10925 * dirent/Makefile (routines): Add scandirat and scandirat64.
10926 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10927 GLIBC_2.15.
10928 * dirent/dirent.h: Declare scandirat and scandirat64.
10929 * dirent/scandirat.c: New file.
10930 * dirent/scandirat64.c: New file.
10931 * sysdeps/wordsize-64/scandirat.c: New file.
10932 * sysdeps/wordsize-64/scandirat64.c: New file.
10933 * dirent/opendir.c: Define opendirat.
10934 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10935 using scandirat.
10936 * dirent/scandir64.c: Adjust for scandir.c change.
10937 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10938 __scandirat64, and __scandir_cancel_handler.
10939 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10940 additional parameter and use openat instead of open (outside of ld.so).
10941 Add new __opendir as wrapper around __opendirat.
10942 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10943 here without requiring old scandirat implementation.
10944
109452011-08-08 Ulrich Drepper <drepper@gmail.com>
10946
10947 * dirent/scandir.c (cancel_handler): Renamed to
10948 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10949 defined. Adjust users.
10950 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10952
109532011-08-04 Ulrich Drepper <drepper@gmail.com>
10954
10955 * string/test-string.h (IMPL): Use __STRING to expand name and then
10956 stringify it.
10957
10958 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10959 of cleanups.
10960
109612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10962
10963 * string/Makefile: Update.
10964 (strop-tests): Append strncat.
10965 * string/test-wcscmp.c: New file.
10966 New comprehensive test for wcscmp.
10967 * string/test-strcmp.c: Update.
10968 (WIDE): New define.
10969
109702011-07-22 Andreas Schwab <schwab@redhat.com>
10971
10972 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10973 line.
10974
109752011-07-26 Andreas Schwab <schwab@redhat.com>
10976
10977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10978 encoding to ACE if AI_IDN.
10979
109802011-08-01 Jakub Jelinek <jakub@redhat.com>
10981
10982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10983 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10984
109852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10986
10987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10988 Fix overflow bug in strncat.
10989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10990
10991 * string/test-strncat.c: Update.
10992 Add new tests for checking overflow bugs.
10993
109942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10995
10996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10997 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10998 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10999 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11000 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11001 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11002 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11003 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11004 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11005
11006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11007 (USE_AS_STRCAT): Define.
11008 Add strcat and strncat support.
11009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11010
110112011-07-25 Andreas Schwab <schwab@redhat.com>
11012
11013 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11014 __n bigger than INT_MAX+1.
11015 (__strncmp_g): Likewise.
11016
110172011-07-23 Ulrich Drepper <drepper@gmail.com>
11018
11019 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11020 * libio/stido.h: Likewise.
11021
11022 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11023 (AF_NFC): Define.
11024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11025 (AF_NFC): Define.
11026
11027 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11030 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11032
11033 [BZ #13021]
11034 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11035 installed.
11036
11037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11038 typo.
11039 (_dl_x86_64_save_sse): Likewise.
11040
110412011-07-22 Ulrich Drepper <drepper@gmail.com>
11042
11043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11044 OSXSAVE.
11045 (_dl_x86_64_save_sse): Likewise.
11046
11047 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11048
11049 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11050
110512011-07-21 Andreas Schwab <schwab@redhat.com>
11052
11053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11054 change.
11055 (_dl_x86_64_save_sse): Use correct AVX check.
11056
110572011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11058
11059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11060 bug in strncpy/strncat.
11061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11062
110632011-07-21 Ulrich Drepper <drepper@gmail.com>
11064
11065 * string/tester.c (test_strcat): Add tests for different alignments
11066 of source and destination.
11067 (test_strncat): Likewise.
11068
110692011-07-20 Ulrich Drepper <drepper@gmail.com>
11070
11071 [BZ #12852]
11072 * posix/glob.c (glob): Check passed in values before using them in
11073 expressions to avoid some overflows.
11074 (glob_in_dir): Likewise.
11075
11076 [BZ #13007]
11077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11078 check for AVX enablement so that we don't crash with old kernels and
11079 new hardware.
11080 * elf/tst-audit4.c: Add same checks here.
11081 * elf/tst-audit6.c: Likewise.
11082
11083 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11084
110852011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11086
11087 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11088
110892011-07-20 Ulrich Drepper <drepper@gmail.com>
11090
11091 * po/cs.po: Update from translation team.
11092 * po/bg.po: Likewise.
11093
110942011-07-12 Marek Polacek <mpolacek@redhat.com>
11095
11096 * misc/sys/cdefs.h: Add support for const attribute.
11097 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11098 to gnu_dev_{major,minor,makedev} functions.
11099
111002011-07-20 Marek Polacek <mpolacek@redhat.com>
11101
11102 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11103
111042011-07-20 Andreas Schwab <schwab@redhat.com>
11105
11106 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11107 strlen results.
11108
111092011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11110
11111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11112 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11113 register in order to avoid conflicts with the soft frame pointer
11114 being held in r11 when necessary.
11115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11116 (INTERNAL_VSYSCALL_NCS): Likewise.
11117
111182011-07-14 Marek Polacek <mpolacek@redhat.com>
11119
11120 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11121 * elf/dl-fini.c (_dl_fini): Adjust caller.
11122 * elf/dl-close.c (_dl_close_worker): Likewise.
11123 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11124
111252011-07-15 Marek Polacek <mpolacek@redhat.com>
11126
11127 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11128 "aux_cache->nlibs < 0".
11129
11130 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11131 in the reload-count case.
11132
111332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11134
11135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11136 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11137 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11138 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11139 * sysdeps/x86_64/multiarch/strcat.S: New file.
11140 * sysdeps/x86_64/multiarch/strncat.S: New file.
11141 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11142 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11143 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11144 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11146 (USE_AS_STRCAT): Define.
11147 Add strcat and strncat support.
11148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11150 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11151 * string/strncat.c: Update.
11152 (USE_AS_STRNCAT): Define.
11153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11154 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11155 and i7.
11156 * sysdeps/x86_64/multiarch/init-arch.h
11157 (bit_Prefer_PMINUB_for_stringop): New.
11158 (index_Prefer_PMINUB_for_stringop): Likewise.
11159 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11160 bit_Prefer_PMINUB_for_stringop.
11161
111622011-07-19 Ulrich Drepper <drepper@gmail.com>
11163
11164 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11165 buffer64.
11166 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11167 of casting of buffer.
11168 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11169 buffer32 and buffer64.
11170 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11171 writes instead of casting of buffer.
11172 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11173 buffer32.
11174 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11175 casting of buffer.
11176
111772011-07-19 Andreas Schwab <schwab@redhat.com>
11178
11179 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11180
111812011-07-19 Ulrich Drepper <drepper@gmail.com>
11182
11183 * nscd/nscd.c (termination_handler): Don't do anything for a database
11184 if it has not yet been initialized.
11185
111862011-07-18 Ulrich Drepper <drepper@gmail.com>
11187
11188 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11189
111902011-07-15 Marek Polacek <mpolacek@redhat.com>
11191
11192 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11193
111942011-07-18 Ulrich Drepper <drepper@gmail.com>
11195
11196 * po/nl.po: Update from translation team.
11197 * po/sv.po: Likewise.
11198
111992011-07-16 Roland McGrath <roland@hack.frob.com>
11200
11201 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11202 now disallowed by GCC.
11203
11204 * configure.in (use-default-link): Default to yes if a test -shared
11205 link meets our qualifications.
11206 * configure: Regenerated.
11207
11208 * config.make.in (output-format): New variable.
11209 * configure.in: Check for ld --print-output-format support.
11210 * configure: Regenerated.
11211 * Makerules ($(common-objpfx)format.lds)
11212 [$(output-format) != unknown]: Just use $(output-format),
11213 instead of the linker-script munging.
11214
112152011-07-14 Roland McGrath <roland@hack.frob.com>
11216
11217 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11218 of $(common-objpfx)shlib.lds.
11219 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11220
11221 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11222 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11223
11224 * configure.in (-z relro check): Adjust test code to add a large
11225 writable data section after it.
11226 * configure: Regenerated.
11227
112282011-07-11 Roland McGrath <roland@hack.frob.com>
11229
11230 * configure.in (-z relro check): Fix test code to make the variable
11231 truly const.
11232 * configure: Regenerated.
11233
112342011-07-11 Ulrich Drepper <drepper@gmail.com>
11235
11236 * nscd/nscd.h (struct traced_file): Define.
11237 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11238 elements. Add traced_files.
11239 (inotify_fd): Declare.
11240 (register_traced_file): Declare.
11241 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11242 (inotify_fd): Export.
11243 (resolv_conf_descr): Remove.
11244 (nscd_init): Move inotify descriptor creation to main.
11245 Don't register files for notification here.
11246 (register_traced_file): New function.
11247 (invalidate_cache): Don't use reset_res to determine whether to call
11248 res_init, go through the list of registered files.
11249 (main_loop_poll): The inotify descriptors are now stored in the
11250 structures for the traced files.
11251 (main_loop_epoll): Likewise
11252 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11253 to __nss_disable_nscd.
11254 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11255 for a database anymore. Check the records for all the registered
11256 files instead.
11257 * nss/Makefile (libnss_files-routines): Add files-init.
11258 (libnss_db-routines): Add db-init.
11259 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11260 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11261 * nss/nss_db/db-init.c: New file.
11262 * nss/nss_files/files-init.c: New file.
11263 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11264 __nss_lookup_function.
11265 (__nss_lookup_function): Call nss_load_library.
11266 (nss_load_all_libraries): New function.
11267 (__nss_disable_nscd): Take parameter with callback function for files
11268 to register. Set is_nscd. Load all the DSOs for the NSS modules
11269 used for the cached services.
11270 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11271 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11272 options for features to all the files in nscd.
11273
11274 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11275
112762011-07-10 Roland McGrath <roland@hack.frob.com>
11277
11278 * csu/elf-init.c (__libc_csu_init): Comment typo.
11279
112802011-07-09 Ulrich Drepper <drepper@gmail.com>
11281
11282 * po/pl.po: Update from translation team.
11283 * po/ja.po: Likewise.
11284 * po/ru.po: Likewise.
11285 * po/ko.po: Likewise.
11286 * po/fr.po: Likewise.
11287
112882011-07-09 Roland McGrath <roland@hack.frob.com>
11289
11290 * configure.in (.ctors/.dtors header and trailer check):
11291 Use an empirical test on a built program.
11292 * configure: Regenerated.
11293
11294 * configure.in (-z relro check): Use an empirical test on a built DSO.
11295 Detect, but do not require, on ia64.
11296 * configure: Regenerated.
11297
11298 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11299 Update tests that use readelf to use $READELF instead.
11300 * configure: Regenerated.
11301
113022011-07-08 Ulrich Drepper <drepper@gmail.com>
11303
11304 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11305 if the result is not used.
11306
113072011-07-05 Andreas Jaeger <aj@suse.de>
11308
11309 [BZ#9696]
11310 * stdlib/tst-strtod.c: Add testcase.
11311
113122011-07-07 Ulrich Drepper <drepper@gmail.com>
11313
11314 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11315 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11316 The latter has a higher limit. Take additional parameter to pass to
11317 the new function.
11318 (__pathconf): Pass file to __statfs_link_max.
11319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11320 __statfs_link_max.
11321 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11322 __statfs_link_max.
11323
11324 [BZ #12868]
11325 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11327 Handle Lustre.
11328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11329 (__statfs_filesize_max): Likewise.
11330 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11331
113322011-07-05 Andreas Jaeger <aj@suse.de>
11333
11334 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11335
113362011-07-06 Marek Polacek <mpolacek@redhat.com>
11337
11338 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11339 `status' variable.
11340 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11341 Likewise.
11342
113432011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11344
11345 * Makefile (strop-tests): Add strncat.
11346 * string/test-strncat.c: New file.
11347
113482011-06-30 Marek Polacek <mpolacek@redhat.com>
11349
11350 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11351
113522011-06-21 Andreas Jaeger <aj@suse.de>
11353
11354 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11355 Copy rule from iconvdata/Makefile.
11356
113572011-07-06 Ulrich Drepper <drepper@gmail.com>
11358
11359 [BZ #12922]
11360 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11361 but no long options are defined, just return 'W'.
11362
113632011-06-22 Marek Polacek <mpolacek@redhat.com>
11364
11365 [BZ #9696]
11366 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11367
113682011-07-06 Ulrich Drepper <drepper@gmail.com>
11369
11370 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11371 netgroups to read.
11372 (innetgr): Likewise.
11373
113742011-07-05 Roland McGrath <roland@hack.frob.com>
11375
11376 * config.make.in (install_root): Default to $(DESTDIR).
11377
113782011-07-05 Ulrich Drepper <drepper@gmail.com>
11379
11380 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11381
113822011-07-02 Roland McGrath <roland@hack.frob.com>
11383
11384 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11385
11386 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11387 containing directory rather than embedding absolute directory names.
11388
11389 * scripts/check-local-headers.sh: Rewritten using awk.
11390 Match by word, not by line. Print error messages for matches.
11391 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11392
11393 * Makerules [shlib-lds-flags empty]:
11394 ($(common-objpfx)libc_pic.opts): New target.
11395 ($(common-objpfx)libc_pic.os.clean): New target.
11396 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11397
11398 * config.make.in (OBJCOPY): New variable.
11399 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11400 * configure: Regenerated.
11401
11402 * config.make.in (use-default-link): New variable.
11403 * configure.in (use_default_link): Grok --with-default-link to set it.
11404 * configure: Regenerated.
11405 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11406 (shlib-lds, shlib-lds-flags): Define to empty.
11407
11408 * Makerules (shlib-lds): New variable.
11409 (shlib-lds-flags): New variable.
11410 (build-shlib, build-moduile, build-module-asneeded): Use it.
11411 ($(common-objpfx)libc.so): Use $(shlib-lds).
11412 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11413 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11414
11415 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11416 DT_FLAGS/DT_FLAGS_1 with zero flags.
11417
11418 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11419 linker script munging.
11420
114212011-07-02 Ulrich Drepper <drepper@gmail.com>
11422
11423 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11424 as 128-bit value.
11425 * crypt/sha512.c (sha512_process_block): Perform total addition using
11426 128-bit if possible.
11427 (__sha512_finish_ctx): Likewise.
11428 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11429 as 64-bit value.
11430 * crypt/sha256.c (SWAP64): Define.
11431 (sha256_process_block): Perform total addition using 64-bit if
11432 possible.
11433 (__sha256_finish_ctx): Likewise.
11434
114352011-07-01 Ulrich Drepper <drepper@gmail.com>
11436
11437 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11439 * nscd/hstcache.c (cache_addhst): Likewise.
11440 * nscd/grpcache.c (cache_addgr): Likewise.
11441 * nscd/aicache.c (addhstaiX): Likewise
11442 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11443
114442011-07-01 Thorsten Kukuk <kukuk@suse.de>
11445
11446 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11448 * nscd/hstcache.c (cache_addhst): Likewise.
11449 * nscd/grpcache.c (cache_addgr): Likewise.
11450 * nscd/aicache.c (addhstaiX): Likewise
11451
114522011-07-01 Andreas Schwab <schwab@redhat.com>
11453
11454 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11455 domain only when needed.
11456
114572011-06-30 Andreas Schwab <schwab@redhat.com>
11458
11459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11460 is always restored.
11461
114622011-06-29 Ulrich Drepper <drepper@gmail.com>
11463
11464 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11465 are re-adding the entry.
11466 * nscd/servicescache.c (cache_addserv): Likewise.
11467
114682011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11469
11470 * sysdeps/generic/dl-irel.h: fix protection against multiple
11471 inclusions.
11472 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11473
114742011-06-28 Ulrich Drepper <drepper@gmail.com>
11475
11476 [BZ #12935]
11477 * malloc/memusage.sh: Fix quoting in message.
11478 * debug/xtrace.sh: Likewise.
11479
11480 * configure.in: Remove support for --experimental-malloc option, make
11481 it the default.
11482 * config.make.in: Likewise.
11483 * malloc/Makefile: Likewise.
11484
114852011-06-27 Andreas Schwab <schwab@redhat.com>
11486
11487 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11488 two-byte characters.
11489
114902011-06-27 Roland McGrath <roland@hack.frob.com>
11491
11492 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11493 AC_CACHE_CHECK invocation.
11494 * configure: Regenerated.
11495
11496 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11497
114982011-06-27 Ulrich Drepper <drepper@gmail.com>
11499
11500 [BZ #12350]
11501 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11502 bit from old_res_options.
11503
11504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11505
11506 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11507 value type for setfct.
11508
115092011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11512 __gettimeofday instead of gettimeofday.
11513
115142011-06-26 Ulrich Drepper <drepper@gmail.com>
11515
11516 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11517
115182011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11519
11520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11521
11522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11523 info.
11524
115252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11528 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11529 strcpy-sse2-unaligned strncpy-sse2-unaligned
11530 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11531 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11532 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11533 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11534 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11536 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11537 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11538 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11539 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11540 (STRCPY): Support SSE2 and SSSE3 versions.
11541
115422011-06-24 Ulrich Drepper <drepper@gmail.com>
11543
11544 [BZ #12874]
11545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11546 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11547 kernels which artificially limit size of requests.
11548
115492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11550
11551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11552 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11553 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11554 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11555 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11556 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11557 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11558 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11561 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11562 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11563 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11564 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11565 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11567 Enable unaligned load optimization for Intel Core i3, i5 and i7
11568 processors.
11569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11570 Define.
11571 (index_Fast_Unaligned_Load): Define.
11572 (HAS_FAST_UNALIGNED_LOAD): Define.
11573
115742011-06-23 Marek Polacek <mpolacek@redhat.com>
11575
11576 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11577
115782011-06-22 Ulrich Drepper <drepper@gmail.com>
11579
11580 [BZ #12907]
11581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11582 until it is clear that the information is realy needed.
11583 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11584
115852011-06-22 Andreas Schwab <schwab@redhat.com>
11586
11587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11588
115892011-06-22 Ulrich Drepper <drepper@gmail.com>
11590
11591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11592 /sys/devices/system/cpu/online if it is usable.
11593
11594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11595 reading the information from the /proc filesystem to once a second.
11596
115972011-06-21 Andreas Jaeger <aj@suse.de>
11598
11599 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11600 NULL after inclusion of kernel headers.
11601
116022011-06-21 Ulrich Drepper <drepper@gmail.com>
11603
11604 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11605 calls to internal_setent.
11606
11607 [BZ #12885]
11608 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11609 addresses using gethostbyname4_r ignore IPv4 addresses.
11610
11611 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11612 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11613
11614 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11615
116162011-06-20 David S. Miller <davem@davemloft.net>
11617
11618 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11619 inclusions.
11620 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11621
11622 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11623 (elf_irel): Use it.
11624 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11625 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11626 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11627 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11628 * sysdeps/x86_64/dl-irel.h: Likewise.
11629
11630 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11631 * elf/dl-sym.c: Likewise.
11632
116332011-06-15 Ulrich Drepper <drepper@gmail.com>
11634
11635 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11636 need to dereference resplen2.
11637
116382011-06-14 Andreas Schwab <schwab@redhat.com>
11639
11640 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11641
116422011-06-15 Ulrich Drepper <drepper@gmail.com>
11643
11644 * Makeconfig: Define vardbdir and inst_vardbdir.
11645 * nss/Makefile: Add rules to install db-Makefile.
11646
11647 * nss/nss_db/db-XXX.c: Cleanup.
11648
11649 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11650 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11651 GLIBC_PRIVATE.
11652 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11653 * nss/makedb.c: Implement -g option to specify that value strings
11654 are generated and should not be added to table iterated over for
11655 get*ent calls.
11656 * nss/nss_db/db-initgroups.c: New file.
11657
11658 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11659 interface.
11660
11661 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11662 (internal_getgrouplist): Adjust to name change.
11663 Update use_initgroups_entry if this is not the first call.
11664 * nss/databases.def: Add initgroups entry.
11665
11666 * nss/makedb.c (compute_tables): Check result of multiple hash table
11667 sizes to minimize maximum chain length.
11668
116692011-06-14 Ulrich Drepper <drepper@gmail.com>
11670
11671 * Versions.def: Add entry for libnss_db.
11672 * shlib-versions: Likewise.
11673 * nss/Makefile: Add rules to build libnss_db.
11674 * nss/Versions: Add libnss_db information. Organize libnss_files
11675 entries better.
11676 * nss/db-Makefile: Add gshadow support. Change rules for the new
11677 makedb progra. Some minor improvements to generate smaller files.
11678 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11679 here from...
11680 * nss/makedb.c: ...here.
11681 Improve database format to be smaller and require less memory at
11682 runtime.
11683 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11684 db anymore.
11685 * nss/nss_db/db-netgrp.c: Likewise.
11686 * nss/nss_db/db-open.c: Likewise.
11687 * nss/nss_files/flies-XXX.x: Adjust comments.
11688 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11689 * nss/nss_files/files-grp.c: Likewise.
11690 * nss/nss_files/files-hosts.c: Likewise.
11691 * nss/nss_files/files-network.c: Likewise.
11692 * nss/nss_files/files-proto.c: Likewise.
11693 * nss/nss_files/files-pwd.c: Likewise.
11694 * nss/nss_files/files-rpc.c: Likewise.
11695 * nss/nss_files/files-service.c: Likewise.
11696 * nss/nss_files/files-sgrp.c: Likewise.
11697 * nss/nss_files/files-spwd.c: Likewise.
11698 * nss/nss_db/db-alias.c: Removed.
11699 * nss/nss_db/dummy-db.h: Removed.
11700
117012011-06-02 Ulrich Drepper <drepper@gmail.com>
11702
11703 * nss/makedb.c: Rewritten to not use database library.
11704 * nss/Makefile: Update to build new makedb program.
11705
117062011-06-14 Andreas Jaeger <aj@suse.de>
11707
11708 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11709 memset declaration.
11710
117112011-06-10 Andreas Schwab <schwab@redhat.com>
11712
11713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11714 tmpbuf.
11715
117162011-06-10 Roland McGrath <roland@hack.frob.com>
11717
11718 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11719 * elf/Makefile ($(objpfx)ld.so): Likewise.
11720
11721 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11722 Don't list ld.so twice in dependencies.
11723
11724 * posix/bug-regex31.c: Include <stdlib.h>.
11725
11726 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11727
11728 * nis/nss_compat/compat-spwd.c
11729 (getspent_next_nss_netgr): Remove unused variable.
11730 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11731
11732 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11733 nonmembers" output to use the right array.
11734
11735 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11736
11737 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11738
11739 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11740 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11741 * catgets/gencat.c (read_input_file): Likewise.
11742 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11743
11744 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11745 variable definition inside #if's controlling its use.
11746
11747 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11748
11749 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11750
11751 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11752
11753 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11754 unreachable code.
11755
11756 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11757
11758 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11759 * configure: Regenerated.
11760
11761 * Makerules: Revert last change.
11762 * elf/Makefile: Likewise.
11763
117642011-06-09 Roland McGrath <roland@hack.frob.com>
11765
11766 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11767 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11768 (reloc-link): Likewise.
11769
117702011-06-09 Ulrich Drepper <drepper@gmail.com>
11771
11772 * elf/Makefile: Add rules to build pldd.
11773 * elf/pldd.c: New file.
11774 * elf/pldd-xx.c: New file.
11775
117762011-06-07 Ulrich Drepper <drepper@gmail.com>
11777
11778 * version.h: Update for 2.15 development version.
11779
117802011-06-07 David S. Miller <davem@davemloft.net>
11781
11782 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11783 ifuncs.
11784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11785 elf_machine_lazy_rel): Likewise.
11786 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11788 elf_machine_lazy_rel): Likewise.
11789 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11790 dl_hwcap via passed in argument.
11791 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11792 Likewise.
11793
117942011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11795
11796 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11797
117982011-06-06 Roland McGrath <roland@hack.frob.com>
11799
11800 [BZ #12849]
11801 * manual/fdl-1.1.texi: New file, verbatim from:
11802 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11803 * manual/lgpl-2.1.texi: New file, verbatim from:
11804 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11805 * manual/Makefile (licenses): New variable, list those new file names.
11806 (texis): Use it.
11807 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11808
11809 * manual/fdl.texi: File removed.
11810 * manual/lesser.texi: File removed.
11811 * manual/libc.texinfo (Copying, Documentation License):
11812 Use new @include file names, put @appendix directive before @include.
11813
118142011-06-04 Jakub Jelinek <jakub@redhat.com>
11815
11816 [BZ #12841]
11817 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11818 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11819 (mq_open): Add __NTH.
11820
118212011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11822
11823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11824 Assume Intel Core i3/i5/i7 processor if AVX is available.
11825
118262011-05-31 Ulrich Drepper <drepper@gmail.com>
11827
11828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11829 typo.
11830
118312011-05-31 Andreas Schwab <schwab@redhat.com>
11832
11833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11834 memory. Use alloca_account. Fix memory leak when retrying.
11835
118362011-05-31 Ulrich Drepper <drepper@gmail.com>
11837
11838 * version.h (RELEASE): Bump for 2.14 release.
11839 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11840
11841 * config.make.in (RANLIB): Remove entry.
11842
118432011-05-30 Ulrich Drepper <drepper@gmail.com>
11844
11845 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11846 (libc.pot): Work around missing support for .ksh extension in xgettext.
11847
11848 [BZ #12684]
11849 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11850 if both request failed.
11851 (send_dg): In case of server errors clear resplen or *resplen2.
11852
11853 [BZ #12454]
11854 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11855 when there are multiple maps.
11856 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11857 (_dl_fini): Remove test here.
11858
11859 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11860
118612011-05-29 Ulrich Drepper <drepper@gmail.com>
11862
11863 [BZ #12350]
11864 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11865 bit from old_res_options.
11866 (gaih_inet): Likewise.
11867
11868 [BZ #11099]
11869 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11870 as signed.
11871
11872 * resolv/res_init.c (res_setoptions): Make the code more compact.
11873
11874 [BZ #11558]
11875 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11876 set RES_USEVC.
11877
11878 [BZ #11634]
11879 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11880
11881 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11882
11883 [BZ #11781]
11884 * malloc/malloc.h: Declare malloc hook variables as volatile.
11885
11886 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11887 in last patch.
11888
11889 [BZ #11799]
11890 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11891 raise in the comment.
11892 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11894 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11895
118962011-05-28 Ulrich Drepper <drepper@gmail.com>
11897
11898 [BZ #12811]
11899 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11900 grow the buffers more if it already has to be sufficient.
11901 (build_wcs_upper_buffer): Likewise.
11902 * posix/regexec.c (check_matching): Likewise.
11903 (clean_state_log_if_needed): Likewise.
11904 (extend_buffers): Don't enlarge buffers beyond size of the input
11905 buffer.
11906 Patches mostly by Emil Wojak <emil@wojak.eu>.
11907 * posix/bug-regex32.c: New file.
11908 * posix/Makefile (tests): Add bug-regex32.
11909
11910 * locale/findlocale.c (_nl_find_locale): Return right away if
11911 _nl_explode_name failed.
11912 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11913
11914 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11915
11916 * debug/xtrace.sh: Unify messages.
11917 * malloc/memusage.sh: Likewise.
11918
11919 [BZ #12813]
11920 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11921 time symbol from vDSO. Substitute with vsyscall if not available.
11922 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11923 __vdso_time.
11924
11925 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11926 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11927 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11928 Add sendmmsg and internal_sendmmsg.
11929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11930 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11931 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11932
11933 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11934 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11935 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11936
119372011-05-27 Ulrich Drepper <drepper@gmail.com>
11938
11939 [BZ #12813]
11940 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11941 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11942 available.
11943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11944 __vdso_getcpu.
11945
11946 [BZ #12814]
11947 * iconvdata/Makefile (tests): Add bug-iconv9.
11948 * iconvdata/bug-iconv9.c: New file.
11949
119502011-05-27 Andreas Schwab <schwab@redhat.com>
11951
11952 [BZ #12814]
11953 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11954
119552011-05-25 Jakub Jelinek <jakub@redhat.com>
11956
11957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11958 (struct user_regs_struct): Change intcs field back to cs.
11959
119602011-05-25 Ulrich Drepper <drepper@gmail.com>
11961
11962 * po/ja.po: Update from translation team.
11963
119642011-05-23 Ulrich Drepper <drepper@gmail.com>
11965
11966 [BZ #12795]
11967 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11968 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11969
119702011-05-20 Andreas Schwab <schwab@redhat.com>
11971
11972 * stdlib/longlong.h: Update from GCC.
11973
119742011-05-23 Andreas Schwab <schwab@redhat.com>
11975
11976 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11977 parameter name.
11978 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11979 Add parameter name.
11980 (__sysconf): Pass it down.
11981
119822011-05-22 Ulrich Drepper <drepper@gmail.com>
11983
11984 [BZ #12671]
11985 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11986 some situations.
11987 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11988 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11989 add in in __libc_use_alloca calls. Adjust callers.
11990 (glob): Use malloc in some situations.
11991
11992 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11993 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11994 pltexit.
11995
119962011-05-21 Ulrich Drepper <drepper@gmail.com>
11997
11998 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11999 and CLOCK_BOOTTIME_ALARM.
12000
12001 [BZ #12782]
12002 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12003 is returned.
12004
12005 * string/_strerror.c (__strerror_r): Print negative errors as signed
12006 numbers.
12007
12008 [BZ #12777]
12009 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12010 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12011 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12012
12013 * configure.in: Fix typo in redirection and correct removal of test
12014 files in two cases.
12015
12016 [BZ #12788]
12017 * locale/setlocale.c (new_composite_name): Fix test to check for
12018 identical name of all categories.
12019
12020 [BZ #12792]
12021 * libio/filedoalloc.c (local_isatty): New function.
12022 (_IO_file_doallocate): Use local_isatty.
12023 * stdio-common/perror.c (perror): In case a new stream is used
12024 forward the stream error.
12025 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12026 error flag.
12027
120282011-05-20 Ulrich Drepper <drepper@gmail.com>
12029
12030 [BZ #11869]
12031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12032 alloca.
12033 * include/alloca.h (extend_alloca_account): Define.
12034
12035 [BZ #11857]
12036 * posix/regex.h: Fix comments with documentation of user-accessible
12037 fields after compilation and describe correct free'ing of pattern
12038 after re_compile_pattern.
12039 Patch by Reuben Thomas <rrt@sc3d.org>.
12040
120412011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12042
12043 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12044 and -mno-altivec to prevent the compiler from using Altivec and/or
12045 VSX instructions when the corresponding registers are not available.
12046
120472011-05-19 Andreas Schwab <schwab@redhat.com>
12048
12049 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12050
120512011-05-19 Ulrich Drepper <drepper@gmail.com>
12052
12053 * libio/freopen.c (freopen): Use __dup2, not dup2.
12054 * libio/freopen64.c (freopen64): Likewise.
12055
120562011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 [BZ #12775]
12059 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12060 * math/Makefile (tests): Add test-powl.
12061 (CFLAGS-test-powl.c): Define.
12062 * math/test-powl.c: New file.
12063
120642011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12067
120682011-05-17 Ulrich Drepper <drepper@gmail.com>
12069
12070 [BZ #11837]
12071 * iconvdata/gb18030.c: Update to GB18020-2005.
12072
120732011-05-16 Ulrich Drepper <drepper@gmail.com>
12074
12075 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12076 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12077 Patch by Aharon Robbins <arnold@skeeve.com>.
12078
12079 [BZ #11892]
12080 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12081 on the stack.
12082
12083 [BZ #11895]
12084 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12085 through underflows.
12086
12087 [BZ #12766]
12088 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12089 point to strings before performing equality test for error_one_per_line
12090 mode.
12091
12092 [BZ #11697]
12093 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12094
12095 [BZ #11820]
12096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12097 (struct user_fpregs_struct): Avoid __uint*_t types.
12098
12099 [BZ #6420]
12100 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12101 symbol info. Use it instead of calling _dl_addr locally.
12102 (lock_and_info): New function.
12103 (tr_freehook): Call lock_and_info and pass symbol info as additional
12104 parameter to tr_where.
12105 (tr_mallochook): Likewise.
12106 (tr_reallochook): Likewise.
12107 (tr_memalignhook): Likewise.
12108
12109 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12110 used and couldn't be at all thread-safe.
12111
121122011-05-15 Ulrich Drepper <drepper@gmail.com>
12113
12114 * libio/freopen.c (freopen): Don't close old file descriptor
12115 before the new one is opened. Instead dup the new file descriptor
12116 to the old one after the new stream is created.
12117 * libio/freopen64.c (freopen64): Likewise.
12118 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12119 * libio/fileops.c (_IO_new_file_close_it): Handle new
12120 _IO_FLAGS2_NOCLOSE flag.
12121 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12122 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12123 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12124 _IO_FLAGS2_NOCLOSE flag.
12125 * include/unistd.h: Add hidden_proto for dup3.
12126 Define __have_dup3.
12127 * io/dup3.c: Define hidden symbol.
12128 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12129
12130 [BZ #7101]
12131 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12132 when an incomplete long option is used.
12133 * posix/tst-getopt_long1.c: New file.
12134 * posix/Makefile (tests): Add tst-getopt_long1.
12135
12136 [BZ #10138]
12137 * scripts/config.guess: Update from autoconf-2.68.
12138 * scripts/config.sub: Likewise.
12139
12140 [BZ #10157]
12141 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12142 tests into ...
12143 (has_cpuclock): ...this. New function.
12144 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12145 macro here based on has_cpuclock code.
12146
12147 [BZ #10149]
12148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12149 First byte (not low byte) is now always NUL.
12150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12151
12152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12153 Use non-cancelable interfaces.
12154
12155 [BZ #9809]
12156 * locale/iso-639.def: Add entry for Sorani.
12157
12158 [BZ #11901]
12159 * include/stdlib.h: Move include protection to the right place.
12160 Define abort_msg_s. Declare __abort_msg with it.
12161 * stdlib/abort.c (__abort_msg): Adjust type.
12162 * assert/assert.c (__assert_fail_base): New function. Majority
12163 of code from __assert_fail. Allocate memory for __abort_msg with
12164 mmap.
12165 (__assert_fail): Now call __assert_fail_base.
12166 * assert/assert-perr.c: Remove bulk of implementation. Use
12167 __assert_fail_base.
12168 * include/assert.hL Declare __assert_fail_base.
12169 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12170 mmap.
12171 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12172
121732011-05-14 Ulrich Drepper <drepper@gmail.com>
12174
12175 [BZ #11952]
12176 [BZ #12453]
12177 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12178 until all modules are registered in the DTV.
12179 * elf/Makefile: Add rules to build and run tst-tls19.
12180 * elf/tst-tls19.c: New file.
12181 * elf/tst-tls19mod1.c: New file.
12182 * elf/tst-tls19mod2.c: New file.
12183 * elf/tst-tls19mod3.c: New file.
12184 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12185
12186 [BZ #12083]
12187 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12188 correctly.
12189
12190 [BZ #12601]
12191 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12192 two-byte sequence errors.
12193 * iconvdata/Makefile (tests): Add bug-iconv8.
12194 * iconvdata/bug-iconv8.c: New file.
12195
12196 [BZ #12626]
12197 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12198 buf2 definition.
12199
12200 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12201
12202 [BZ #12432]
12203 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12204 (dummy_getcfa): New function.
12205 (init): Get _Unwind_GetCFA address, use dummy if not found.
12206 (backtrace_helper): In recursion check, also check whether CFA changes.
12207 (__backtrace): Completely initialize arg.
12208
12209 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12210 storing incomplete byte sequence in state object. Avoid testing for
12211 guaranteed too small input if we know there is enough data available.
12212
122132011-05-11 Andreas Schwab <schwab@redhat.com>
12214
12215 * Makeconfig (+link-pie): Indent.
12216 * Rules (binaries-pie): Define if $(have-fpie) and
12217 $(build-shared).
12218 (binaries-shared): Also filter out $(binaries-pie).
12219 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12220 * nscd/Makefile (others-pie): Add nscd.
12221 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12222 ($(objpfx)nscd): Remove command override.
12223 * login/Makefile (others-pie): Add pt_chown.
12224 ($(objpfx)pt_chown): Remove command override.
12225 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12226 remove command overrides.
12227
122282011-05-13 Ulrich Drepper <drepper@gmail.com>
12229
12230 * libio/tst_putwc.c: Fix error messages.
12231
12232 [BZ #12724]
12233 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12234 currently writing and seek to current position when not.
12235 * libio/Makefile (tests): Add bug-fclose1.
12236 * libio/bug-fclose1.c: New file.
12237
122382011-05-12 Ulrich Drepper <drepper@gmail.com>
12239
12240 [BZ #12511]
12241 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12242 don't set DF_1_NODELETE here.
12243 (do_lookup_x): When entering new entry test for copy relocation
12244 and if necessary set DF_1_NODELETE flag.
12245 * elf/tst-unique4.cc: New file.
12246 * elf/tst-unique4.h: New file.
12247 * elf/tst-unique4lib.cc: New file.
12248 * elf/Makefile: Add rules to build and run tst-unique4.
12249 Patch by Piotr Bury <pbury@goahead.com>.
12250
122512011-05-11 Ulrich Drepper <drepper@gmail.com>
12252
12253 [BZ #12052]
12254 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12255
12256 [BZ #12625]
12257 * misc/mntent_r.c (addmntent): Flush the stream after the output
12258
12259 [BZ #12393]
12260 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12261 (is_trusted_path_normalize): Skip initial colon. Append slash
12262 to empty buffer. Duplicate is_trusted_path code but allow
12263 constructed patch to be prefix.
12264 (is_dst): Allow $ORIGIN followed by /.
12265 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12266 Correct testing of result of is_trusted_path_normalize
12267 (decompose_rpath): Fix warning.
12268
122692011-05-10 Ulrich Drepper <drepper@gmail.com>
12270
12271 [BZ #11257]
12272 * grp/initgroups.c (internal_getgrouplist): When we found the service
12273 list through the initgroups entry in nsswitch.conf do not always
12274 continue on a successful lookup. Don't always use the
12275 __nss_group_database value if it is set.
12276 * nss/nsswitch.conf (initgroups): Change action for successful db
12277 lookup to continue for compatibility.
12278
122792011-05-09 Ulrich Drepper <drepper@gmail.com>
12280
12281 [BZ #11532]
12282 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12283 and CP774 modules.
12284 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12285 and CP774 modules.
12286 * iconvdata/tst-tables.sh: Likewise.
12287 * iconvdata/cp770.c: New file.
12288 * iconvdata/cp771.c: New file.
12289 * iconvdata/cp772.c: New file.
12290 * iconvdata/cp773.c: New file.
12291 * iconvdata/cp774.c: New file.
12292 * iconvdata/testdata/CP770: New file.
12293 * iconvdata/testdata/CP770..UTF8: New file.
12294 * iconvdata/testdata/CP771: New file.
12295 * iconvdata/testdata/CP771..UTF8: New file.
12296 * iconvdata/testdata/CP772: New file.
12297 * iconvdata/testdata/CP772..UTF8: New file.
12298 * iconvdata/testdata/CP773: New file.
12299 * iconvdata/testdata/CP773..UTF8: New file.
12300 * iconvdata/testdata/CP774: New file.
12301 * iconvdata/testdata/CP774..UTF8: New file.
12302
12303 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12304 END CHARMAP line.
12305 * iconvdata/gen-8bit-gap.sh: Likewise.
12306 * iconvdata/gen-8bit.sh: Likewise.
12307
12308 * locale/iso-639.def: Add ary entry.
12309
12310 [BZ #11258]
12311 * locale/C-translit.h.in: Add U20A1 transliteration.
12312
12313 [BZ #12178]
12314 * locale/iso-639.def: Add wae entry.
12315 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12316
12317 [BZ #12545]
12318 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12319 for n.
12320
12321 [BZ #12711]
12322 * locale/C-translit.h.in: Add entry for U20B9.
12323 Patch by pravin.d.s@gmail.com.
12324
123252011-05-08 Ulrich Drepper <drepper@gmail.com>
12326
12327 [BZ #12713]
12328 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12329 ENAMETOOLONG use generic getcwd.
12330 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12331 in rtld. Use *stat64.
12332 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12333 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12334 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12335 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12336 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12337 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12338 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12339 __fstatat64 macros.
12340 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12341 * dirent/rewinddir.c: Add libc_hidden_def.
12342 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12343 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12344
12345 * include/dirent.h (__alloc_dir): Add flags parameter.
12346 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12347 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12348 __alloc_dir.
12349 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12350 from fdopendir if O_CLOEXEC is already set.
12351
123522011-03-15 Alan Modra <amodra@gmail.com>
12353
12354 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12355 l_tls_firstbyte_offset non-zero. Save padding offset in
12356 l_tls_firstbyte_offset for later use.
12357 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12358 freeing static tls block.
12359
123602011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12361
12362 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12363 where #ifdef was intended. The intent is to prevent ARG_MAX from
12364 being defined by the kernel headers.
12365
123662011-05-07 Ulrich Drepper <drepper@gmail.com>
12367
12368 [BZ #12734]
12369 * resolv/resolv.h: Define RES_NOTLDQUERY.
12370 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12371 no-tld-query and set RES_NOTLDQUERY.
12372 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12373 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12374 modern BIND to search name as TLD unless forbidden.
12375
123762011-05-07 Petr Baudis <pasky@suse.cz>
12377 Ulrich Drepper <drepper@gmail.com>
12378
12379 [BZ #12393]
12380 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12381 (is_trusted_path): ...to here.
12382 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12383 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12384 using is_trusted_path_normalize() in setuid scripts.
12385
123862011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12387
12388 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12389 __BEGIN/__END_DECLS.
12390
123912011-05-06 Ulrich Drepper <drepper@gmail.com>
12392
12393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12394 NSS_STATUS_NOTFOUND if no record was found.
12395
123962011-05-05 Andreas Schwab <schwab@redhat.com>
12397
12398 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12399 (headers-not-in-tirpc): Remove rpc/netdb.h
12400 * resolv/netdb.h: Revert last change.
12401
124022011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12403
12404 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12405 circular dependency between libgcc.a and libc.a.
12406
124072011-05-05 Andreas Schwab <schwab@redhat.com>
12408
12409 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12410 * nis/Makefile: Don't install rpcsvc/*.
12411 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12412 instead of <rpc/types.h>.
12413 (MAXHOSTNAMELEN): Define.
12414
124152011-05-03 Andreas Schwab <schwab@redhat.com>
12416
12417 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12418
124192011-04-28 Maciej Babinski <mbabinski@google.com>
12420
12421 [BZ #12714]
12422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12423 gethostbyname4_r when IPv6 results are possible.
12424
124252011-05-02 Ulrich Drepper <drepper@gmail.com>
12426
12427 [BZ #12723]
12428 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12429 _PC_PIPE_BUF handling.
12430
124312011-04-30 Bruno Haible <bruno@clisp.org>
12432
12433 [BZ #12717]
12434 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12435 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12436 to 'int'.
12437 * inet/getnameinfo.c (getnameinfo): Likewise.
12438
124392011-04-29 Ulrich Drepper <drepper@gmail.com>
12440
12441 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12442 to groups setting in database lookup.
12443 * nss/nsswitch.conf: Add initgroups entry.
12444
124452011-04-22 Ulrich Drepper <drepper@gmail.com>
12446
12447 [BZ #12685]
12448 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12449 mode string.
12450 Patch by Eric Blake <eblake@redhat.com>.
12451
124522011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12453
12454 * sunrpc/Makefile (need-export-routines): Add svc_run.
12455 (routines): Remove svc_run.
12456 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12457 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12458 * sunrpc/svc_run.c (svc_run): Likewise.
12459 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12460
124612011-04-21 Ulrich Drepper <drepper@gmail.com>
12462
12463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12464 problem in reallocation in last patch.
12465
124662011-04-20 Ulrich Drepper <drepper@gmail.com>
12467
12468 * sunrpc/Makefile: Move inclusion of Rules.
12469
124702011-04-19 Ulrich Drepper <drepper@gmail.com>
12471
12472 * nss/nss_files/files-initgroups.c: New file.
12473 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12474 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12475 _nss_files_initgroups_dyn.
12476
124772011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12478
12479 * elf/elf.h (R_ARM_IRELATIVE): Define.
12480
124812011-04-19 Ulrich Drepper <drepper@gmail.com>
12482
12483 * po/ru.po: Update from translation team.
12484
124852011-04-17 Ulrich Drepper <drepper@gmail.com>
12486
12487 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12488 dependencies.
12489
124902011-02-06 Mike Frysinger <vapier@gentoo.org>
12491
12492 [BZ #12653]
12493 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12494 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12498
124992011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12500
12501 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12502 differing bytes.
12503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12506
125072011-04-17 Ulrich Drepper <drepper@gmail.com>
12508
12509 [BZ #12420]
12510 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12511 storing it.
12512 * stdlib/bug-getcontext.c: New file.
12513 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12514
125152011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12516
12517 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12518 instructions into .machine "z9-109".
12519 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12520 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12521
125222011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12523
12524 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12525 between environment variables and auxiliary vector.
12526
125272011-04-16 Ulrich Drepper <drepper@gmail.com>
12528
12529 * Makefile: Add rules to build linkobj/libc.so.
12530 * include/libc-symbols.h: Define libc_hidden_nolink.
12531 * include/rpc/auth.h: Mark functions which are to be hidden.
12532 * include/rpc/auth_des.h: Likewise.
12533 * include/rpc/auth_unix.h: Likewise.
12534 * include/rpc/clnt.h: Likewise.
12535 * include/rpc/des_crypt.h: Likewise.
12536 * include/rpc/key_prot.h: Likewise.
12537 * include/rpc/pmap_clnt.h: Likewise.
12538 * include/rpc/pmap_prot.h: Likewise.
12539 * include/rpc/pmap_rmt.h: Likewise.
12540 * include/rpc/rpc_msg.h: Likewise.
12541 * include/rpc/svc.h: Likewise.
12542 * include/rpc/svc_auth.h: Likewise.
12543 * include/rpc/xdr.h: Likewise.
12544 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12545 * nss/Makefile: Likewise.
12546 * sunrpc/Makefile: Don't install headers. Build library with normal
12547 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12548 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12549 for the compat linking library. Remove use of INTDEF/INTUSE.
12550 * sunrpc/auth_none.c: Likewise.
12551 * sunrpc/auth_unix.c: Likewise.
12552 * sunrpc/authdes_prot.c: Likewise.
12553 * sunrpc/authuxprot.c: Likewise.
12554 * sunrpc/clnt_gen.c: Likewise.
12555 * sunrpc/clnt_perr.c: Likewise.
12556 * sunrpc/clnt_raw.c: Likewise.
12557 * sunrpc/clnt_simp.c: Likewise.
12558 * sunrpc/clnt_tcp.c: Likewise.
12559 * sunrpc/clnt_udp.c: Likewise.
12560 * sunrpc/clnt_unix.c: Likewise.
12561 * sunrpc/des_crypt.c: Likewise.
12562 * sunrpc/des_soft.c: Likewise.
12563 * sunrpc/get_myaddr.c: Likewise.
12564 * sunrpc/key_call.c: Likewise.
12565 * sunrpc/key_prot.c: Likewise.
12566 * sunrpc/netname.c: Likewise.
12567 * sunrpc/pm_getmaps.c: Likewise.
12568 * sunrpc/pm_getport.c: Likewise.
12569 * sunrpc/pmap_clnt.c: Likewise.
12570 * sunrpc/pmap_prot.c: Likewise.
12571 * sunrpc/pmap_prot2.c: Likewise.
12572 * sunrpc/pmap_rmt.c: Likewise.
12573 * sunrpc/publickey.c: Likewise.
12574 * sunrpc/rpc_cmsg.c: Likewise.
12575 * sunrpc/rpc_common.c: Likewise.
12576 * sunrpc/rpc_dtable.c: Likewise.
12577 * sunrpc/rpc_prot.c: Likewise.
12578 * sunrpc/rpc_thread.c: Likewise.
12579 * sunrpc/rtime.c: Likewise.
12580 * sunrpc/svc.c: Likewise.
12581 * sunrpc/svc_auth.c: Likewise.
12582 * sunrpc/svc_authux.c: Likewise.
12583 * sunrpc/svc_raw.c: Likewise.
12584 * sunrpc/svc_run.c: Likewise.
12585 * sunrpc/svc_simple.c: Likewise.
12586 * sunrpc/svc_tcp.c: Likewise.
12587 * sunrpc/svc_udp.c: Likewise.
12588 * sunrpc/svc_unix.c: Likewise.
12589 * sunrpc/svcauth_des.c: Likewise.
12590 * sunrpc/xcrypt.c: Likewise.
12591 * sunrpc/xdr.c: Likewise.
12592 * sunrpc/xdr_array.c: Likewise.
12593 * sunrpc/xdr_float.c: Likewise.
12594 * sunrpc/xdr_intXX_t.c: Likewise.
12595 * sunrpc/xdr_mem.c: Likewise.
12596 * sunrpc/xdr_rec.c: Likewise.
12597 * sunrpc/xdr_ref.c: Likewise.
12598 * sunrpc/xdr_sizeof.c: Likewise.
12599 * sunrpc/xdr_stdio.c: Likewise.
12600
126012011-04-10 Ulrich Drepper <drepper@gmail.com>
12602
12603 [BZ #12650]
12604 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12605 * sysdeps/ia64/dl-tls.h: Likewise.
12606 * sysdeps/powerpc/dl-tls.h: Likewise.
12607 * sysdeps/s390/dl-tls.h: Likewise.
12608 * sysdeps/sh/dl-tls.h: Likewise.
12609 * sysdeps/sparc/dl-tls.h: Likewise.
12610 * sysdeps/x86_64/dl-tls.h: Likewise.
12611 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12612
126132011-03-14 Andreas Schwab <schwab@redhat.com>
12614
12615 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12616 rpath element also skip the following colon.
12617 (expand_dynamic_string_token): Add is_path parameter and pass
12618 down to DL_DST_REQUIRED and _dl_dst_substitute.
12619 (decompose_rpath): Call expand_dynamic_string_token with
12620 non-zero is_path. Ignore empty rpaths.
12621 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12622 with zero is_path.
12623
126242011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12625
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12627 Make cancelable.
12628
126292011-04-09 Ulrich Drepper <drepper@gmail.com>
12630
12631 [BZ #12655]
12632 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12633 Patch by Filipe David Manana <fdmanana@apache.org>.
12634
126352011-04-07 Andreas Schwab <schwab@redhat.com>
12636
12637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12638 Maintain aligned stack.
12639 (CHECK_RSP): Remove unused macro.
12640
126412011-04-03 Ulrich Drepper <drepper@gmail.com>
12642
12643 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12644 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12645
126462011-04-02 Ulrich Drepper <drepper@gmail.com>
12647
12648 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12649
12650 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12651
126522011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12653
12654 [BZ #12518]
12655 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12656 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12657 * sysdeps/x86_64/memmove.c: New file.
12658 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12659 (memcpy): Renamed to ...
12660 (__new_memcpy): This.
12661 (memcpy): Provide GLIBC_2_14 memcpy.
12662 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12663 (memcpy): Provide GLIBC_2_2_5 memcpy.
12664
126652011-04-01 Ulrich Drepper <drepper@gmail.com>
12666
12667 [BZ #12631]
12668 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12669
126702011-03-30 Andreas Schwab <schwab@redhat.com>
12671
12672 * misc/syncfs.c: New file.
12673 * misc/Makefile (routines): Add syncfs.
12674 * posix/unistd.h: Declare syncfs.
12675 * sysdeps/unix/syscalls.list: Add syncfs.
12676
126772011-04-01 Andreas Schwab <schwab@redhat.com>
12678
12679 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12680 open_by_handle_at.
12681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12686 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12688
126892011-04-01 Ulrich Drepper <drepper@gmail.com>
12690
12691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12698
12699 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12700 sync_file_range.c with -fexceptions.
12701 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12702 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12703 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12704 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12705 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12706 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12708 sync_file_range as cancellation point
12709 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12710 now a wrapper around __call_sync_file_range with cancellation handling.
12711 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12712 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12713 function name to __call_sync_file_range.
12714 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12715 Add call_sync_file_range.
12716
127172011-04-01 Andreas Schwab <schwab@redhat.com>
12718
12719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12720 bits/timex.h.
12721
127222011-04-01 Ulrich Drepper <drepper@gmail.com>
12723
12724 * iconv/iconv.h: Fix typo in comment.
12725 * io/fcntl.h: Likewise.
12726 * libio/stdio.h: Likewise.
12727 * posix/spawn.h: Likewise.
12728 * posix/unistd.h: Likewise.
12729 * stdlib/stdlib.h: Likewise.
12730 * time/time.h: Likewise.
12731 * wcsmbs/wchar.h: Likewise.
12732
12733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12734 open_by_handle): Add.
12735 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12736 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12737 Augment a few comments.
12738 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12743 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12744 open_by_handle.
12745
12746 * io/fcntl.h (AT_EMPTY_PATH): Define.
12747
127482011-03-30 Ulrich Drepper <drepper@gmail.com>
12749
12750 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12751 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12752 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12753 to...
12754 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12755 * Versions.def: Add GLIBC_2.14.
12756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12757 Export.
12758
127592011-03-22 Ulrich Drepper <drepper@gmail.com>
12760
12761 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12762 round counter.
12763 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12764
127652011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 [BZ #12597]
12768 * string/test-strncmp.c (do_page_test): New function.
12769 (check2): Likewise.
12770 (test_main): Call check2.
12771 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12772
127732011-03-20 Ulrich Drepper <drepper@gmail.com>
12774
12775 [BZ #12587]
12776 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12777 Handle cache information in CPU leaf 4.
12778 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12779
127802011-03-18 Ulrich Drepper <drepper@gmail.com>
12781
12782 [BZ #12583]
12783 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12784 character representation.
12785 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12786
127872011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12788
12789 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12790 END(__isnan) to END(__isnanf) to match function entry point/label
12791 EALIGN(__isnanf,...).
12792
127932011-03-10 Jakub Jelinek <jakub@redhat.com>
12794
12795 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12796
127972011-03-10 Ulrich Drepper <drepper@gmail.com>
12798
12799 [BZ #12510]
12800 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12801 copy from the symbol referenced in the relocation to initialize the
12802 used variable.
12803 Patch by Piotr Bury <pbury@goahead.com>.
12804 * elf/Makefile: Add rules to build and tst-unique3.
12805 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12806 * elf/tst-unique3.cc: New file.
12807 * elf/tst-unique3.h: New file.
12808 * elf/tst-unique3lib.cc: New file.
12809 * elf/tst-unique3lib2.cc: New file.
12810
12811 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12812
128132011-03-10 Mike Frysinger <vapier@gentoo.org>
12814
12815 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12816 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12817 to _start.
12818
128192011-03-06 Ulrich Drepper <drepper@gmail.com>
12820
12821 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12822 to-be-loaded object along a path to loader is ld.so.
12823
128242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12825 Ulrich Drepper <drepper@gmail.com>
12826
12827 * sysdeps/x86_64/memset.S: After aligning destination, code
12828 branches to different locations depending on the value of
12829 misalignment, when multiarch is enabled. Fix this.
12830
128312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12832
12833 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12834 Set _x86_64_preferred_memory_instruction for AMD processsors.
12835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12836 Set bit_Prefer_SSE_for_memop for AMD processors.
12837
128382011-03-04 Ulrich Drepper <drepper@gmail.com>
12839
12840 * libio/fmemopen.c (fmemopen): Optimize a bit.
12841
128422011-03-03 Andreas Schwab <schwab@redhat.com>
12843
12844 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12845
128462011-03-03 Roland McGrath <roland@redhat.com>
12847
12848 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12849
128502011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12851
12852 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12853 __bzero_ultra1 instead of __memset_ultra1.
12854
128552011-02-23 Andreas Schwab <schwab@redhat.com>
12856 Ulrich Drepper <drepper@gmail.com>
12857
12858 [BZ #12509]
12859 * include/link.h (struct link_map): Add l_orig_initfini.
12860 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12861 returning unsuccessfully.
12862 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12863 close of a file loaded at startup, restore the original l_initfini
12864 list.
12865 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12866 list, store the pointer.
12867 * elf/Makefile ($(objpfx)noload-mem): New rule.
12868 (noload-ENV): Define.
12869 (tests): Add $(objpfx)noload-mem.
12870 * elf/noload.c: Include <memcheck.h>.
12871 (main): Call mtrace. Close all opened handles.
12872
128732011-02-17 Andreas Schwab <schwab@redhat.com>
12874
12875 [BZ #12454]
12876 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12877 dependencies are missing.
12878
128792011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12880
12881 Fix __if_freereq crash: Unlike the generic version which uses free,
12882 Hurd needs munmap.
12883 * sysdeps/mach/hurd/ifreq.h: New file.
12884
128852011-01-27 Petr Baudis <pasky@suse.cz>
12886 Ulrich Drepper <drepper@gmail.com>
12887
12888 [BZ 12445]#
12889 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12890 to extend_alloca().
12891 * stdio-common/bug23.c: New file.
12892 * stdio-common/Makefile (tests): Add bug23.
12893
128942010-09-28 Andreas Schwab <schwab@redhat.com>
12895 Ulrich Drepper <drepper@gmail.com>
12896
12897 [BZ #12489]
12898 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12899 before performing relro protection. At old place add assertion
12900 to make sure nothing changed.
12901
129022011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12903 Glauber de Oliveira Costa <glommer@gmail.com>
12904
12905 * elf/elf.h: Add new ARM TLS relocs.
12906
129072011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12908
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12910 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12911 cast from r3.
12912 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12913 'tests' variable.
12914 * sysdeps/wordsize-64/tst-writev.c: New file.
12915
129162011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12917
12918 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12919 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12920 insns in _dl_start to prevent a TOC reference before relocs are
12921 resolved.
12922
129232011-02-15 Ulrich Drepper <drepper@gmail.com>
12924
12925 [BZ #12469]
12926 * Makeconfig: Remove RANLIB definition.
12927 * Makerules: Don't use RANLIB.
12928 * aclocal.m4: Remove ranlib test.
12929 * configure.in: No need to check for ranlib.
12930 * elf/rtld-Rules: Don't use RANLIB.
12931
129322011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12933
12934 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12935 protection macro.
12936 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12937 inclusion protection macro.
12938
12939 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12940 SIGRTMIN and SIGRTMAX and print information in that case only when
12941 SIGRTMIN is defined.
12942
129432011-02-11 Jakub Jelinek <jakub@redhat.com>
12944
12945 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12946 arginfo fn returning -1.
12947
12948 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12949 and thousands string is zero terminated.
12950
129512011-02-03 Andreas Schwab <schwab@redhat.com>
12952
12953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12954 sysdeps/unix/sysv/linux/bits/socket.h.
12955
129562011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12957
12958 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12959 (__CPU_COUNT): Remove old macros.
12960 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12961 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12962 (__CPU_ALLOC, __CPU_FREE): Add macros.
12963 (__sched_cpualloc, __sched_cpufree): Add declarations.
12964
129652011-02-05 Ulrich Drepper <drepper@gmail.com>
12966
12967 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12968 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12969 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12970 (readdhstai): Return value of addhstaiX call.
12971 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12972 (addgrbyX): Return value returned by cache_addgr.
12973 (readdgrbyname): Return value returned by addgrbyX.
12974 (readdgrbygid): Likewise.
12975 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12976 (addpwbyX): Return value returned by cache_addpw.
12977 (readdpwbyname): Return value returned by addhstbyX.
12978 (readdpwbyuid): Likewise.
12979 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12980 (addservbyX): Return value returned by cache_addserv.
12981 (readdservbyname): Return value returned by addservbyX:
12982 (readdservbyport): Likewise.
12983 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12984 (addhstbyX): Return value returned by cache_addhst.
12985 (readdhstbyname): Return value returned by addhstbyX.
12986 (readdhstbyaddr): Likewise.
12987 (readdhstbynamev6): Likewise.
12988 (readdhstbyaddrv6): Likewise.
12989 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12990 (readdinitgroups): Return value returned by addinitgroupsX.
12991 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12992 (prune_cache): Keep track of timeout value of re-added entries.
12993 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12994 * nscd/nscd.h: Adjust prototypes of readd* functions.
12995
129962011-02-04 Roland McGrath <roland@redhat.com>
12997
12998 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12999 (nis_stats): Likewise.
13000 * nis/nis_modify.c (nis_modify): Likewise.
13001 * nis/nis_remove.c (nis_remove): Likewise.
13002 * nis/nis_add.c (nis_add): Likewise.
13003
13004 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13005
13006 * posix/fnmatch_loop.c: Add some consts.
13007
13008 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13009
130102011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 [BZ #12460]
13013 * config.make.in (config-cflags-novzeroupper): Define.
13014 * configure.in: Substitute libc_cv_cc_novzeroupper.
13015 * elf/Makefile (AVX-CFLAGS): Define.
13016 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13017 (CFLAGS-tst-auditmod4a.c): Likewise.
13018 (CFLAGS-tst-auditmod4b.c): Likewise.
13019 (CFLAGS-tst-auditmod6b.c): Likewise.
13020 (CFLAGS-tst-auditmod6c.c): Likewise.
13021 (CFLAGS-tst-auditmod7b.c): Likewise.
13022 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13023
130242011-02-02 Ulrich Drepper <drepper@gmail.com>
13025
13026 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13027 function to the callback.
13028 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13029
130302011-02-02 Andreas Schwab <schwab@redhat.com>
13031
13032 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13033 of errno.
13034
130352011-01-19 Ulrich Drepper <drepper@gmail.com>
13036
13037 [BZ #11724]
13038 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13039 of constructors.
13040 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13041 of destructors.
13042 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13043
13044 [BZ #11724]
13045 * elf/Makefile: Add rules to build and run new test.
13046 * elf/tst-initorder.c: New file.
13047 * elf/tst-initorder.exp: New file.
13048 * elf/tst-initordera1.c: New file.
13049 * elf/tst-initordera2.c: New file.
13050 * elf/tst-initordera3.c: New file.
13051 * elf/tst-initordera4.c: New file.
13052 * elf/tst-initorderb1.c: New file.
13053 * elf/tst-initorderb2.c: New file.
13054 * elf/tst-order-a1.c: New file.
13055 * elf/tst-order-a2.c: New file.
13056 * elf/tst-order-a3.c: New file.
13057 * elf/tst-order-a4.c: New file.
13058 * elf/tst-order-b1.c: New file.
13059 * elf/tst-order-b2.c: New file.
13060 * elf/tst-order-main.c: New file.
13061 New test case by George Gensure <werkt0@gmail.com>.
13062
130632010-10-01 Andreas Schwab <schwab@redhat.com>
13064
13065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13066 decoding ACE if AI_CANONIDN.
13067
130682011-01-18 Ulrich Drepper <drepper@gmail.com>
13069
13070 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13071
130722011-01-17 Ulrich Drepper <drepper@gmail.com>
13073
13074 * version.h (RELEASE): Bump for 2.13 release.
13075 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13076
13077 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13078
13079 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13080 MADV_NOHUGEPAGE.
13081 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13086 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13087
13088 * posix/getconf.c: Update copyright year.
13089 * catgets/gencat.c: Likewise.
13090 * csu/version.c: Likewise.
13091 * debug/catchsegv.sh: Likewise.
13092 * debug/xtrace.sh: Likewise.
13093 * elf/ldconfig.c: Likewise.
13094 * elf/ldd.bash.in: Likewise.
13095 * elf/sprof.c (print_version): Likewise.
13096 * iconv/iconv_prog.c: Likewise.
13097 * iconv/iconvconfig.c: Likewise.
13098 * locale/programs/locale.c: Likewise.
13099 * locale/programs/localedef.c: Likewise.
13100 * malloc/memusage.sh: Likewise.
13101 * malloc/mtrace.pl: Likewise.
13102 * nscd/nscd.c (print_version): Likewise.
13103 * nss/getent.c: Likewise.
13104
13105 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13106 PF_CAIF, and PF_ALG.
13107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13108
131092011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13110
13111 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13112 (modules-names): Use them.
13113 (ifunc-test-modules, ifunc-pie-tests): Define.
13114 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13115 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13116 (test-extras): Likewise.
13117 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13118 $(compile-command.c).
13119 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13120 (all-built-dso): Define.
13121 (check-textrel.out, check-execstack.out): Depend on it.
13122
13123 * configure.in: Don't override --enable-multi-arch.
13124
131252011-01-15 Ulrich Drepper <drepper@gmail.com>
13126
13127 [BZ #6812]
13128 * nscd/hstcache.c (tryagain): Define.
13129 (cache_addhst): Return tryagain not notfound for temporary errors.
13130 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13131 failed.
13132
131332011-01-14 Ulrich Drepper <drepper@gmail.com>
13134
13135 [BZ #10563]
13136 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13137 to make the syscall.
13138 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13139
13140 [BZ #12378]
13141 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13142 and fall back to matching as normal character if the string ends before
13143 the matching ']' is found. This is what POSIX requires.
13144 * posix/testfnm.c: Adjust test result.
13145 * posix/globtest.sh: Adjust test result. Add new test.
13146 * posix/tst-fnmatch.input: Likewise.
13147 * posix/tst-fnmatch2.c: Add new test.
13148
131492010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13150
13151 * elf/Makefile (check-execstack): Revert last change. Depend on
13152 check-execstack.h.
13153 (check-execstack.h): New target.
13154 (generated): Add check-execstack.h.
13155 * elf/check-execstack.c: Include "check-execstack.h".
13156 (main): Revert last change.
13157 (handle_file): Return zero if GNU_STACK is absent and
13158 DEFAULT_STACK_PERMS doesn't include PF_X.
13159
131602011-01-13 Ulrich Drepper <drepper@gmail.com>
13161
13162 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13163 in child fails because the descriptor is already closed.
13164 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13165 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13166 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13167
13168 [BZ #12397]
13169 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13170 syscall.
13171
13172 [BZ #10484]
13173 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13174 temporary buffer used to handle multi lookups locally.
13175 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13176
131772011-01-12 Ulrich Drepper <drepper@gmail.com>
13178
13179 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13180 loader is ld.so.
13181
131822011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13183
13184 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13185 alignment for SSE2.
13186
131872011-01-12 Ulrich Drepper <drepper@gmail.com>
13188
13189 [BZ #12394]
13190 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13191 characters. When rounding increased number of integer digits recompute
13192 number of groups.
13193 * stdio-common/tst-grouping.c: New file.
13194 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13195
131962011-01-09 Ulrich Drepper <drepper@gmail.com>
13197
13198 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13199 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13200
13201 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13202 void.
13203 * bits/select.h: Likewise.
13204
132052011-01-08 Ulrich Drepper <drepper@gmail.com>
13206
13207 * po/ja.po: Update from translation team.
13208
132092011-01-04 David S. Miller <davem@sunset.davemloft.net>
13210
13211 [BZ #11155]
13212 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13213 implementation just like for lxstat, fxstatat, et al.
13214
132152010-12-27 Jim Meyering <meyering@redhat.com>
13216
13217 [BZ #12348]
13218 * posix/regexec.c (build_trtable): Return failure indication upon
13219 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13220
132212010-12-25 Ulrich Drepper <drepper@gmail.com>
13222
13223 [BZ #12201]
13224 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13225 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13226 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13227 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13228
13229 [BZ #12207]
13230 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13231
13232 [BZ #12204]
13233 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13234 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13235
132362010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13239 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13240 script has SORT_BY_INIT_PRIORITY.
13241 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13242 NO_CTORS_DTORS_SECTIONS is defined.
13243 * elf/soinit.c: Likewise.
13244 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13245 NO_CTORS_DTORS_SECTIONS is defined.
13246 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13247 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13248 * sysdeps/sh/init-first.c: Likewise.
13249 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13250
132512010-12-24 Ulrich Drepper <drepper@gmail.com>
13252
13253 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13254 always use the slow path.
13255
132562010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13257
13258 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13259 similar rule which adds the sysdep directories to the header search in
13260 order to pick up the correct platform stackinfo.h.
13261 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13262 perform test if it is, otherwise return successfully without testing.
13263 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13264 DEFAULT_STACK_PERMS define in stackinfo.h.
13265 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13266 defined in stackinfo.h.
13267 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13268 DEFAULT_STACK_PERMS defined in stackinfo.h.
13269 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13270 * sysdeps/ia64/stackinfo.h: Likewise.
13271 * sysdeps/s390/stackinfo.h: Likewise.
13272 * sysdeps/sh/stackinfo.h: Likewise.
13273 * sysdeps/sparc/stackinfo.h: Likewise.
13274 * sysdeps/x86_64/stackinfo.h: Likewise.
13275 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13276 PF_X for powerpc64. Retain PF_X for powerpc32.
13277
132782010-12-19 Ulrich Drepper <drepper@gmail.com>
13279
13280 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13281 accurately.
13282 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13283 GETDENTS_64BIT_ALIGNED.
13284
132852010-12-14 Ulrich Drepper <dreper@gmail.com>
13286
13287 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13288
132892010-12-10 Andreas Schwab <schwab@redhat.com>
13290
13291 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13292 _GNU_SOURCE.
13293
13294 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13295 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13296 Remove __restrict.
13297 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13298 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13299
133002010-12-09 Ulrich Drepper <drepper@gmail.com>
13301
13302 [BZ #11655]
13303 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13304 are initialized.
13305
133062010-12-09 Jakub Jelinek <jakub@redhat.com>
13307
13308 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13309
133102010-12-03 Ulrich Drepper <drepper@gmail.com>
13311
13312 * po/it.po: Update from translation team.
13313
133142010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13317 unused codes.
13318
133192010-11-30 Ulrich Drepper <drepper@gmail.com>
13320
13321 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13322
133232010-11-24 Andreas Schwab <schwab@redhat.com>
13324
13325 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13326 specially.
13327 (gaih_getanswer_slice): Likewise.
13328
133292010-10-20 Jakub Jelinek <jakub@redhat.com>
13330
13331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13332
133332010-05-31 Petr Baudis <pasky@suse.cz>
13334
13335 [BZ #11149]
13336 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13337 silently even in the chroot mode.
13338
133392010-11-22 Ulrich Drepper <drepper@gmail.com>
13340
13341 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13342 last patch a bit. Pretty printing
13343
133442010-05-31 Petr Baudis <pasky@suse.cz>
13345
13346 [BZ #10085]
13347 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13348 initialization of skip_initgroups_dyn.
13349
133502010-11-19 Ulrich Drepper <drepper@gmail.com>
13351
13352 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13353 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13354
133552010-11-16 Ulrich Drepper <drepper@gmail.com>
13356
13357 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13358
133592010-11-11 Andreas Schwab <schwab@redhat.com>
13360
13361 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13362 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13363 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13364 ($(objpfx)tst-fnmatch-mem): New rule.
13365 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13366 * posix/tst-fnmatch.c (main): Call mtrace.
13367
133682010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13369
13370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13371 Support Intel processor model 6 and model 0x2c.
13372
133732010-11-10 Luis Machado <luisgpm@br.ibm.com>
13374
13375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13376 signed comparison.
13377
133782010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13379
13380 [BZ #12205]
13381 * string/test-strncasecmp.c (check_result): New function.
13382 (do_one_test): Use it.
13383 (check1): New function.
13384 (test_main): Use it.
13385 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13386 Support strcasecmp and strncasecmp.
13387
133882010-11-08 Ulrich Drepper <drepper@gmail.com>
13389
13390 [BZ #12194]
13391 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13393
133942010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13397 IFUNC support.
13398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13399 memset-x86-64.
13400 * sysdeps/x86_64/multiarch/bzero.S: New file.
13401 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13402 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13403 * sysdeps/x86_64/multiarch/memset.S: New file.
13404 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13406 Set bit_Prefer_SSE_for_memop for Intel processors.
13407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13408 Define.
13409 (index_Prefer_SSE_for_memop): Define.
13410 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13411
134122010-11-04 Luis Machado <luisgpm@br.ibm.com>
13413
13414 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13415 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13416
134172010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 [BZ #12191]
13420 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13421 (__x86_64_raw_data_cache_size_half): Likewise.
13422 (__x86_64_raw_shared_cache_size): Likewise.
13423 (__x86_64_raw_shared_cache_size_half): Likewise.
13424
13425 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13426 (__x86_64_raw_data_cache_size_half): Likewise.
13427 (__x86_64_raw_shared_cache_size): Likewise.
13428 (__x86_64_raw_shared_cache_size_half): Likewise.
13429 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13430 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13431 and __x86_64_raw_shared_cache_size_half. Round
13432 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13433 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13434 to multiple of 256 bytes.
13435
134362010-11-03 Ulrich Drepper <drepper@gmail.com>
13437
13438 [BZ #12167]
13439 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13440 of inacessible symlinks. Verify result of symlink before returning it.
13441 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13442 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13443
134442010-10-28 Erich Ritz <erichritz@gmail.com>
13445
13446 * math/math.h (isinf): Fix typo in comment.
13447
134482010-11-01 Ulrich Drepper <drepper@gmail.com>
13449
13450 * po/da.po: Update from translation team.
13451
134522010-10-26 Ulrich Drepper <drepper@gmail.com>
13453
13454 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13455 is added to the list.
13456
134572010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13458 Ulrich Drepper <drepper@gmail.com>
13459
13460 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13461 the global list here. Move code to...
13462 (_dl_add_to_namespace_list): ...here. New function.
13463 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13464 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13465 * elf/dl-load.c (lose): Don't remove the element from the list.
13466 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13467 (_dl_map_object): Likewise.
13468
134692010-10-25 Ulrich Drepper <drepper@gmail.com>
13470
13471 [BZ #12159]
13472 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13473 into all bytes of SSE register.
13474 Patch by Richard Li <richardpku@gmail.com>.
13475
134762010-10-24 Ulrich Drepper <drepper@gmail.com>
13477
13478 [BZ #12140]
13479 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13480 perturbing.
13481
134822010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13483
13484 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13485 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13486 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13487 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13489 submachine.
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13491
134922010-10-22 Andreas Schwab <schwab@redhat.com>
13493
13494 * include/dlfcn.h (__RTLD_SECURE): Define.
13495 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13496 mode & __RTLD_SECURE instead.
13497 (open_path): Rename preloaded parameter to secure.
13498 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13499 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13500 * elf/dl-deps.c (openaux): Likewise.
13501 * elf/rtld.c (struct map_args): Remove is_preloaded.
13502 (map_doit): Don't use it.
13503 (dl_main): Likewise.
13504 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13505 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13506
135072010-09-09 Andreas Schwab <schwab@redhat.com>
13508
13509 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13510 (sysd-rules-targets): Remove duplicates.
13511 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13512 rtld-%.$o dependency.
13513
135142010-10-18 Andreas Schwab <schwab@redhat.com>
13515
13516 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13517 _dl_map_object do it.
13518
135192010-10-19 Ulrich Drepper <drepper@gmail.com>
13520
13521 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13522 fast fma builtins, define the macros in the C99 standard.
13523 (FP_FAST_FMAF): Likewise.
13524 (FP_FAST_FMAL): Likewise.
13525 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13526
13527 * bits/mathdef.h: Update copyright year.
13528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13529
135302010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13531
13532 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13533 builtins, define the macros in the C99 standard.
13534 (FP_FAST_FMAF): Likewise.
13535 (FP_FAST_FMAL): Likewise.
13536 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13537 multiply/add.
13538 (FP_FAST_FMAF): Likewise.
13539
135402010-10-15 Jakub Jelinek <jakub@redhat.com>
13541
13542 [BZ #3268]
13543 * math/libm-test.inc (fma_test): Some new testcases.
13544 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13545 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13546 y and infinite z. Do multiplication by C already in long double.
13547 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13549 y and infinite z. Do bitwise or of inexact bit into u.d.
13550 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13551 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13552 * sysdeps/i386/fpu/s_fma.S: Removed.
13553 * sysdeps/i386/fpu/s_fmal.S: Removed.
13554
135552010-10-16 Jakub Jelinek <jakub@redhat.com>
13556
13557 [BZ #3268]
13558 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13560 computation is not scheduled after fetestexcept. Fix value
13561 of minimum denormal long double.
13562
135632010-10-14 Jakub Jelinek <jakub@redhat.com>
13564
13565 [BZ #3268]
13566 * math/libm-test.inc (fma_test): Add some more tests.
13567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13568 correctly.
13569
135702010-10-15 Andreas Schwab <schwab@redhat.com>
13571
13572 * scripts/data/localplt-s390-linux-gnu.data: New file.
13573 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13574
135752010-10-13 Jakub Jelinek <jakub@redhat.com>
13576
13577 [BZ #3268]
13578 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13579 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13580 instead of dbl-64.
13581 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13582 inlines.
13583 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13585 if one of x and y is very large and the other is subnormal.
13586 * sysdeps/s390/fpu/s_fmaf.c: New file.
13587 * sysdeps/s390/fpu/s_fma.c: New file.
13588 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13589 * sysdeps/powerpc/fpu/s_fma.S: New file.
13590 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13591 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13592 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13593
135942010-10-12 Jakub Jelinek <jakub@redhat.com>
13595
13596 [BZ #3268]
13597 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13598 fma tests.
13599 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13600 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13601 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13602 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13603 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13604 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13606
136072010-10-12 Ulrich Drepper <drepper@redhat.com>
13608
13609 [BZ #12078]
13610 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13611 * posix/bug-regex31.input: Add test case.
13612
136132010-10-11 Ulrich Drepper <drepper@gmail.com>
13614
13615 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13616 * posix/bug-regex31.input: New file.
13617
13618 [BZ #12078]
13619 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13620 (parse_sub_exp): Fix last change, use postorder.
13621
13622 * posix/bug-regex31.c: New file.
13623 * posix/Makefile: Add rules to build and run bug-regex31.
13624
13625 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13626
13627 [BZ #12078]
13628 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13629
13630 [BZ #12108]
13631 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13632 to have entries in sys_siglist.
13633
13634 [BZ #12093]
13635 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13636 be NULL.
13637
136382010-10-07 Jakub Jelinek <jakub@redhat.com>
13639
13640 [BZ #3268]
13641 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13642 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13643 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13644 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13645 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13646 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13647 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13648 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13649 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13650 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13651 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13652 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13653 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13654 * math/ftestexcept.c (fetestexcept): Likewise.
13655 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13656 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13657 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13658 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13659 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13660 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13661 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13662
136632010-10-11 Ulrich Drepper <drepper@gmail.com>
13664
13665 [BZ #12107]
13666 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13667 newline.
13668
136692010-10-06 Ulrich Drepper <drepper@gmail.com>
13670
13671 * string/bug-strstr1.c: New file.
13672 * string/Makefile: Add rules to build and run bug-strstr1.
13673
136742010-10-05 Eric Blake <eblake@redhat.com>
13675
13676 [BZ #12092]
13677 * string/str-two-way.h (two_way_long_needle): Always clear memory
13678 when skipping input due to the shift table.
13679
136802010-10-03 Ulrich Drepper <drepper@gmail.com>
13681
13682 [BZ #12005]
13683 * malloc/mcheck.c: Handle large requests.
13684
13685 [BZ #12077]
13686 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13687 for strncmp and strncasecmp.
13688 * string/stratcliff.c: Add tests for strcmp and strncmp.
13689 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13690
136912010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13692
13693 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13694 __set_fpscr.
13695
136962010-09-30 Andreas Jaeger <aj@suse.de>
13697
13698 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13699 (CGROUP_SUPER_MAGIC): Define.
13700 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13701 Handle btrfs and cgroup file systems.
13702 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13703 Likewise.
13704
137052010-09-27 Luis Machado <luisgpm@br.ibm.com>
13706
13707 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13708 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13709
137102010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13711
13712 [BZ #12067]
13713 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13714 trying to locate the ELF header.
13715
137162010-09-27 Andreas Schwab <schwab@redhat.com>
13717
13718 [BZ #11611]
13719 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13720 Mask out sign-bit copies when constructing f_fsid.
13721
137222010-09-24 Petr Baudis <pasky@suse.cz>
13723
13724 * debug/stack_chk_fail_local.c: Add missing licence exception.
13725 * debug/warning-nop.c: Likewise.
13726
137272010-09-15 Joseph Myers <joseph@codesourcery.com>
13728
13729 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13730 implementing getdents64 using getdents syscall, set d_type if
13731 __ASSUME_GETDENTS32_D_TYPE.
13732
137332010-09-16 Andreas Schwab <schwab@redhat.com>
13734
13735 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13736 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13737
137382010-09-21 Ulrich Drepper <drepper@redhat.com>
13739
13740 [BZ #12037]
13741 * posix/unistd.h: Undo change of feature selection for ftruncate from
13742 2010-01-11.
13743
137442010-09-20 Ulrich Drepper <drepper@redhat.com>
13745
13746 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13747 detection.
13748
137492010-09-20 Andreas Schwab <schwab@redhat.com>
13750
13751 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13752 fanotify_mark.
13753 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13754
137552010-09-14 Andreas Schwab <schwab@redhat.com>
13756
13757 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13758 variables after CHECK_SP call.
13759 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13760
137612010-09-13 Andreas Schwab <schwab@redhat.com>
13762 Ulrich Drepper <drepper@redhat.com>
13763
13764 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13765 re-relocationg ld.so.
13766 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13767 _dl_init_paths call.
13768 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13769 here anymore.
13770
137712010-09-14 Ulrich Drepper <drepper@redhat.com>
13772
13773 * resolv/res_init.c (__res_vinit): Count the default server we added.
13774
137752010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13776 Ulrich Drepper <drepper@redhat.com>
13777
13778 [BZ #11968]
13779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13780 (____longjmp_chk): Use %ebx for saving value across system call.
13781 Add unwind info.
13782
137832010-09-06 Andreas Schwab <schwab@redhat.com>
13784
13785 * manual/Makefile: Don't mix pattern rules with normal rules.
13786
137872010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13788
13789 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13790 operation.
13791 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13792 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13793 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13794 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13796 Likewise.
13797
137982010-09-04 Ulrich Drepper <drepper@redhat.com>
13799
13800 [BZ #11979]
13801 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13802 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13803
138042010-09-02 Ulrich Drepper <drepper@redhat.com>
13805
13806 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13807 * sysdeps/x86_64/addmul_1.S: Likewise.
13808 * sysdeps/x86_64/lshift.S: Likewise.
13809 * sysdeps/x86_64/mul_1.S: Likewise.
13810 * sysdeps/x86_64/rshift.S: Likewise.
13811 * sysdeps/x86_64/sub_n.S: Likewise.
13812 * sysdeps/x86_64/submul_1.S: Likewise.
13813
138142010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13815
13816 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13817 Define __sched_param instead of SCHED_* and sched_param when
13818 <bits/sched.h> is included with __need_schedparam defined.
13819 * bits/sched.h [__need_schedparam]
13820 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13821 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13822 (__defined_schedparam): Define to 1.
13823 (__sched_param): New structure, identical to sched_param.
13824 (__need_schedparam): Undefine.
13825
138262010-08-31 Mike Frysinger <vapier@gentoo.org>
13827
13828 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13829 (epoll_create1): Declare.
13830
13831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13832
138332010-08-31 Andreas Schwab <schwab@redhat.com>
13834
13835 [BZ #7066]
13836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13837 shifting retval into place.
13838
138392010-09-01 Ulrich Drepper <drepper@redhat.com>
13840
13841 * nis/rpcsvc/nis.h: Update copyright notice.
13842 * nis/rpcsvc/nis.x: Likewise.
13843 * nis/rpcsvc/nis_callback.h: Likewise.
13844 * nis/rpcsvc/nis_callback.x: Likewise.
13845 * nis/rpcsvc/nis_object.x: Likewise.
13846 * nis/rpcsvc/nis_tags.h: Likewise.
13847 * nis/rpcsvc/yp.h: Likewise.
13848 * nis/rpcsvc/yp.x: Likewise.
13849 * nis/rpcsvc/ypupd.h: Likewise.
13850 * nis/yp_xdr.c: Likewise.
13851 * nis/ypupdate_xdr.c: Likewise.
13852
13853 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13854 mainly the body of pmap_getport. Add parameters to specify timeouts.
13855 (pmap_getport): Use __libc_rpc_getport.
13856 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13857 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13858 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13859
138602010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13861
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13863 fanotify_mark.
13864
138652010-08-27 Roland McGrath <roland@redhat.com>
13866
13867 * sysdeps/i386/i686/multiarch/Makefile
13868 (CFLAGS-varshift.c): New variable.
13869
138702010-08-27 Ulrich Drepper <drepper@redhat.com>
13871
13872 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13873 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13874
13875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13876
13877 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13878
138792010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 * sysdeps/x86_64/strlen.S: Unroll the loop.
13882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13883 strlen-sse2 strlen-sse2-bsf.
13884 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13885 __strlen_no_bsf if bit_Slow_BSF is set.
13886 (__strlen_sse42): Removed.
13887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13888 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13889
138902010-08-25 Roland McGrath <roland@redhat.com>
13891
13892 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13893 * sysdeps/x86_64/multiarch/varshift.c: New file.
13894 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13895 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13896 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13897 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13898
138992010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13902 strlen-sse2 strlen-sse2-bsf.
13903 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13904 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13905 (__strlen_sse2): Removed.
13906 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13909 bit_Slow_BSF for Atom.
13910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13911 (index_Slow_BSF): Define.
13912 (HAS_SLOW_BSF): Define.
13913
139142010-08-25 Ulrich Drepper <drepper@redhat.com>
13915
13916 [BZ #10851]
13917 * resolv/res_init.c (__res_vinit): When no server address at all
13918 is given default to loopback.
13919
139202010-08-24 Roland McGrath <roland@redhat.com>
13921
13922 * configure.in: Remove config-name.h generation.
13923 * configure: Regenerated.
13924 * config-name.in: File removed.
13925 * scripts/config-uname.sh: New file.
13926 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13927 ($(objdir)config-name.h): New target.
13928
13929 * sunrpc/rpc_parse.h: Avoid nested comment.
13930
139312010-08-24 Richard Henderson <rth@redhat.com>
13932 Ulrich Drepper <drepper@redhat.com>
13933 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13937 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13938 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13939 _mm_alignr_epi8 with _mm_loadu_si128.
13940 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13941 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13942 (__m128i_shift_right): Removed.
13943 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13944 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13945 * sysdeps/x86_64/multiarch/varshift.h: New file.
13946 * sysdeps/x86_64/multiarch/varshift.S: New file.
13947
139482010-08-21 Mike Frysinger <vapier@gentoo.org>
13949
13950 * configure.in: Move assembler checks to before sysdep dir checking.
13951
139522010-08-20 Petr Baudis <pasky@suse.cz>
13953
13954 * LICENSES: Sync the sunrpc license.
13955
139562010-08-19 Ulrich Drepper <drepper@redhat.com>
13957
13958 * sunrpc/auth_des.c: Update copyright notice once again.
13959 * sunrpc/auth_none.c: Likewise.
13960 * sunrpc/auth_unix.c: Likewise.
13961 * sunrpc/authdes_prot.c: Likewise.
13962 * sunrpc/authuxprot.c: Likewise.
13963 * sunrpc/bindrsvprt.c: Likewise.
13964 * sunrpc/clnt_gen.c: Likewise.
13965 * sunrpc/clnt_perr.c: Likewise.
13966 * sunrpc/clnt_raw.c: Likewise.
13967 * sunrpc/clnt_simp.c: Likewise.
13968 * sunrpc/clnt_tcp.c: Likewise.
13969 * sunrpc/clnt_udp.c: Likewise.
13970 * sunrpc/clnt_unix.c: Likewise.
13971 * sunrpc/des_crypt.c: Likewise.
13972 * sunrpc/des_soft.c: Likewise.
13973 * sunrpc/get_myaddr.c: Likewise.
13974 * sunrpc/getrpcport.c: Likewise.
13975 * sunrpc/key_call.c: Likewise.
13976 * sunrpc/key_prot.c: Likewise.
13977 * sunrpc/openchild.c: Likewise.
13978 * sunrpc/pm_getmaps.c: Likewise.
13979 * sunrpc/pm_getport.c: Likewise.
13980 * sunrpc/pmap_clnt.c: Likewise.
13981 * sunrpc/pmap_prot.c: Likewise.
13982 * sunrpc/pmap_prot2.c: Likewise.
13983 * sunrpc/pmap_rmt.c: Likewise.
13984 * sunrpc/rpc/auth.h: Likewise.
13985 * sunrpc/rpc/auth_unix.h: Likewise.
13986 * sunrpc/rpc/clnt.h: Likewise.
13987 * sunrpc/rpc/des_crypt.h: Likewise.
13988 * sunrpc/rpc/key_prot.h: Likewise.
13989 * sunrpc/rpc/netdb.h: Likewise.
13990 * sunrpc/rpc/pmap_clnt.h: Likewise.
13991 * sunrpc/rpc/pmap_prot.h: Likewise.
13992 * sunrpc/rpc/pmap_rmt.h: Likewise.
13993 * sunrpc/rpc/rpc.h: Likewise.
13994 * sunrpc/rpc/rpc_des.h: Likewise.
13995 * sunrpc/rpc/rpc_msg.h: Likewise.
13996 * sunrpc/rpc/svc.h: Likewise.
13997 * sunrpc/rpc/svc_auth.h: Likewise.
13998 * sunrpc/rpc/types.h: Likewise.
13999 * sunrpc/rpc/xdr.h: Likewise.
14000 * sunrpc/rpc_clntout.c: Likewise.
14001 * sunrpc/rpc_cmsg.c: Likewise.
14002 * sunrpc/rpc_common.c: Likewise.
14003 * sunrpc/rpc_cout.c: Likewise.
14004 * sunrpc/rpc_dtable.c: Likewise.
14005 * sunrpc/rpc_hout.c: Likewise.
14006 * sunrpc/rpc_main.c: Likewise.
14007 * sunrpc/rpc_parse.c: Likewise.
14008 * sunrpc/rpc_parse.h: Likewise.
14009 * sunrpc/rpc_prot.c: Likewise.
14010 * sunrpc/rpc_sample.c: Likewise.
14011 * sunrpc/rpc_scan.c: Likewise.
14012 * sunrpc/rpc_scan.h: Likewise.
14013 * sunrpc/rpc_svcout.c: Likewise.
14014 * sunrpc/rpc_tblout.c: Likewise.
14015 * sunrpc/rpc_util.c: Likewise.
14016 * sunrpc/rpc_util.h: Likewise.
14017 * sunrpc/rpcinfo.c: Likewise.
14018 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14019 * sunrpc/rpcsvc/key_prot.x: Likewise.
14020 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14021 * sunrpc/rpcsvc/mount.x: Likewise.
14022 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14023 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14024 * sunrpc/rpcsvc/rex.x: Likewise.
14025 * sunrpc/rpcsvc/rstat.x: Likewise.
14026 * sunrpc/rpcsvc/rusers.x: Likewise.
14027 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14028 * sunrpc/rpcsvc/spray.x: Likewise.
14029 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14030 * sunrpc/rtime.c: Likewise.
14031 * sunrpc/svc.c: Likewise.
14032 * sunrpc/svc_auth.c: Likewise.
14033 * sunrpc/svc_authux.c: Likewise.
14034 * sunrpc/svc_raw.c: Likewise.
14035 * sunrpc/svc_run.c: Likewise.
14036 * sunrpc/svc_simple.c: Likewise.
14037 * sunrpc/svc_tcp.c: Likewise.
14038 * sunrpc/svc_udp.c: Likewise.
14039 * sunrpc/svc_unix.c: Likewise.
14040 * sunrpc/svcauth_des.c: Likewise.
14041 * sunrpc/xcrypt.c: Likewise.
14042 * sunrpc/xdr.c: Likewise.
14043 * sunrpc/xdr_array.c: Likewise.
14044 * sunrpc/xdr_float.c: Likewise.
14045 * sunrpc/xdr_mem.c: Likewise.
14046 * sunrpc/xdr_rec.c: Likewise.
14047 * sunrpc/xdr_ref.c: Likewise.
14048 * sunrpc/xdr_sizeof.c: Likewise.
14049 * sunrpc/xdr_stdio.c: Likewise.
14050
14051 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14052 handling.
14053
140542010-08-19 Andreas Schwab <schwab@redhat.com>
14055
14056 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14057
140582010-08-19 Luis Machado <luisgpm@br.ibm.com>
14059
14060 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14062 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14063 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14064 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14065 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14066 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14067 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14068 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14070 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14071 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14072 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14073 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14074
140752010-07-26 Anton Blanchard <anton@samba.org>
14076
14077 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14078 * malloc/arena.c (heap_trim): Likewise.
14079
140802010-08-16 Ulrich Drepper <drepper@redhat.com>
14081
14082 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14083 here. Not...
14084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14085 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14086
140872010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/i386/elf/Makefile: New file.
14090
140912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14092
14093 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14094 from fanotify_init.
14095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14097
140982010-08-15 Ulrich Drepper <drepper@redhat.com>
14099
14100 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14101 of strncasecmp_l.
14102 * sysdeps/multiarch/strcmp.S: Likewise.
14103
141042010-08-14 Ulrich Drepper <drepper@redhat.com>
14105
14106 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14107 strncase_l-nonascii.
14108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14109 Add strncase_l-ssse3.
14110 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14111 * sysdeps/x86_64/strcmp.S: Likewise.
14112 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14113 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14114 * sysdeps/x86_64/strncase.S: New file.
14115 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14116 * sysdeps/x86_64/strncase_l.S: New file.
14117 * string/Makefile (strop-tests): Add strncasecmp.
14118 * string/test-strncasecmp.c: New file.
14119
14120 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14121 warning.
14122
14123 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14124 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14125
141262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14127
14128 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14129
141302010-08-12 Ulrich Drepper <drepper@redhat.com>
14131
14132 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14133 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14135
141362010-05-01 Alan Modra <amodra@gmail.com>
14137
14138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14139 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14140 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14141 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14142 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14143 tidying. Don't tail-call __sigjmp_save for static lib.
14144 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14145 save location.
14146 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14147 (CALL_MCOUNT): Add eh info, and nop after bl.
14148 (TAIL_CALL_SYSCALL_ERROR): New macro.
14149 (PSEUDO_RET): Use it.
14150 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14151 Correct save location of integer regs and cr.
14152 (_dl_profile_resolve): Correct cr save location. Delete nops
14153 after bl when SHARED. Reduce cfi size a little by better
14154 placement of cfi directives.
14155 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14156 make a stack frame. Instead use parm save area as a temp.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14158 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14160 Don't make a stack frame for parent, use parm save area.
14161 Increase child stack frame to 112 bytes. Don't save unused reg,
14162 and adjust reg usage. Set up cfi on error recovery and
14163 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14165 (__makecontext): Add dummy nop after jump to exit.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14167 Use correct parm save area and cr save, reduce stack frame.
14168 Correct cfi for possible PSEUDO_RET frame setup.
14169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14170 Branch to local label emitted by PSEUDO_RET rather than
14171 __syscall_error.
14172
141732010-08-12 Andreas Schwab <schwab@redhat.com>
14174
14175 [BZ #11904]
14176 * locale/programs/locale.c (print_assignment): New function.
14177 (show_locale_vars): Use it.
14178
141792010-08-11 Ulrich Drepper <drepper@redhat.com>
14180
14181 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14182 field.
14183 (struct statfs64): Likewise.
14184 (_STATFS_F_FLAGS): Define.
14185 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14187 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14188 (ST_VALID): Define locally.
14189 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14190 __statvfs_getflags, use the provided value.
14191 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14192 __ASSUME_STATFS_F_FLAGS.
14193
14194 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14195
14196 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14197 Add sys/fanotify.h.
14198 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14199 fanotify_mask for GLIBC_2.13.
14200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14201 fanotify_init and fanotify_mark.
14202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14203 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14204
14205 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14206 Add prlimit.
14207 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14208 prlimit64 for GLIBC_2.13.
14209 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14210 prlimit64.
14211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14212 syscall.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14215 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14218 add prlimit alias.
14219 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14220
14221 [BZ #11903]
14222 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14223 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14224
14225 * nss/Makefile: Add rules to build and run tst-nss-test1.
14226 * shlib-versions: Add entry for libnss_test1.
14227 * nss/nss_test1.c: New file.
14228 * nss/tst-nss-test1.c: New file.
14229
14230 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14231 (__nss_configure_lookup): Set appropriate entry in
14232 __nss_configure_lookup to true.
14233 * nss/nsswitch.h: Define enum with indeces of databases in
14234 databases and __nss_database_custom arrays. Declare
14235 __nss_database_custom.
14236 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14237 to avoid using nscd when custom rules are installed.
14238 * nss/getXXbyYY_r.c: Likewise.
14239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14240
14241 * nss/nss_files/files-parse.c: Whitespace fixes.
14242
142432010-08-09 Ulrich Drepper <drepper@redhat.com>
14244
14245 [BZ #11883]
14246 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14247 * posix/fnmatch_loop.c: Likewise.
14248
142492010-07-17 Andi Kleen <ak@linux.intel.com>
14250
14251 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14252 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14253 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14254 * Versions.def [GLIBC_2.13]: Add.
14255
142562010-08-06 Ulrich Drepper <drepper@redhat.com>
14257
14258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14259 Also fail if tpwd after pwuid call is NULL.
14260
142612010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14262
14263 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14264 when converting to ms.
14265
142662010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14267
14268 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14269 EOPNOTSUPP errors with ENOTTY.
14270 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14271 EOPNOTSUPP errors with ENOTTY.
14272
142732010-07-31 Ulrich Drepper <drepper@redhat.com>
14274
14275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14276 Add strcasecmp_l-ssse3.
14277 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14278 strcasecmp.
14279 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14280 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14281 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14282
142832010-07-30 Ulrich Drepper <drepper@redhat.com>
14284
14285 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14286
14287 * string/Makefile (strop-tests): Add strcasecmp.
14288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14289 strcasecmp_l-nonascii.
14290 (gen-as-const-headers): Add locale-defines.sym.
14291 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14292 * sysdeps/x86_64/strcasecmp.S: New file.
14293 * sysdeps/x86_64/strcasecmp_l.S: New file.
14294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14295 * sysdeps/x86_64/locale-defines.sym: New file.
14296 * string/test-strcasecmp.c: New file.
14297
14298 * string/test-strcasestr.c: Test both ends of the range of characters.
14299 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14300
143012010-07-29 Roland McGrath <roland@redhat.com>
14302
14303 [BZ #11856]
14304 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14305
143062010-07-27 Ulrich Drepper <drepper@redhat.com>
14307
14308 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14309 for ld.so.
14310
143112010-07-27 Andreas Schwab <schwab@redhat.com>
14312
14313 * manual/memory.texi (Malloc Tunable Parameters): Document
14314 M_PERTURB.
14315
143162010-07-26 Roland McGrath <roland@redhat.com>
14317
14318 [BZ #11840]
14319 * configure.in (-fgnu89-inline check): Set and substitute
14320 gnu89_inline, not libc_cv_gnu89_inline.
14321 * configure: Regenerated.
14322 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14323
143242010-07-26 Ulrich Drepper <drepper@redhat.com>
14325
14326 * string/test-strnlen.c: New file.
14327 * string/Makefile (strop-tests): Add strnlen.
14328 * string/tester.c (test_strnlen): Add a few more test cases.
14329 * string/tst-strlen.c: Better error reporting.
14330
14331 * sysdeps/x86_64/strnlen.S: New file.
14332
143332010-07-24 Ulrich Drepper <drepper@redhat.com>
14334
14335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14336 lower-latency instructions.
14337
143382010-07-23 Ulrich Drepper <drepper@redhat.com>
14339
14340 * string/test-strcasestr.c: New file.
14341 * string/test-strstr.c: New file.
14342 * string/Makefile (strop-tests): Add strstr and strcasestr.
14343 * string/str-two-way.h: Don't undefine MAX.
14344 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14345
143462010-07-21 Andreas Schwab <schwab@redhat.com>
14347
14348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14349 strcasestr-nonascii.
14350 (CFLAGS-strcasestr-nonascii.c): Define.
14351 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14353 Remove unused attribute.
14354
143552010-07-20 Roland McGrath <roland@redhat.com>
14356
14357 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14358 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14359 ld.so.cache was broken. With it, there is no way to disable dsocaps
14360 like LD_HWCAP_MASK can disable hwcaps.
14361
143622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14363
14364 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14365
143662010-07-16 Ulrich Drepper <drepper@redhat.com>
14367
14368 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14369 call in strcasestr.
14370 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14371 __strcasestr_sse42_nonascii.
14372 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14373 strcasestr-nonascii.c.
14374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14375
143762010-06-15 Luis Machado <luisgpm@br.ibm.com>
14377
14378 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14380 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14381 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14382
143832010-07-09 Ulrich Drepper <drepper@redhat.com>
14384
14385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14386 fcntl.
14387
143882010-07-06 Andreas Schwab <schwab@redhat.com>
14389
14390 [BZ #11577]
14391 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14392 dl_signal_cerror.
14393
143942010-07-06 Ulrich Drepper <drepper@redhat.com>
14395
14396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14397 _PC_PIPE_BUF using F_GETPIPE_SZ.
14398
143992010-07-05 Roland McGrath <roland@redhat.com>
14400
14401 * manual/arith.texi (Rounding Functions): Fix rint description
14402 implicit in round description.
14403
144042010-07-02 Ulrich Drepper <drepper@redhat.com>
14405
14406 * elf/Makefile: Fix linking for a few tests to make recent linker
14407 happy.
14408
144092010-06-30 Andreas Schwab <schwab@redhat.com>
14410
14411 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14412 $(common-objpfx)libc_nonshared.a.
14413
144142010-06-21 Luis Machado <luisgpm@br.ibm.com>
14415
14416 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14417 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14418 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14419 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14420 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14421 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14422 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14423 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14438 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14439 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14440 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14441 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14442 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14443 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14444 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14445 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14446 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14447 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14448 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14449 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14464
144652010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14468 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14469 * string/memmove.c (memmove): Renamed to ...
14470 (MEMMOVE): ...this. Default to memmove.
14471 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14472 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14473 (END_CHK): Define.
14474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14475 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14476 mempcpy-ssse3-back memmove-ssse3-back.
14477 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14480 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14481 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14482 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14483 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14484 * sysdeps/x86_64/multiarch/memmove.c: New file.
14485 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14486 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14487 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14488 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14489 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14491 Define.
14492 (index_Fast_Copy_Backward): Define.
14493 (HAS_ARCH_FEATURE): Define.
14494 (HAS_FAST_REP_STRING): Define.
14495 (HAS_FAST_COPY_BACKWARD): Define.
14496
144972010-06-21 Andreas Schwab <schwab@redhat.com>
14498
14499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14500 Restore proper fallback handling.
14501
145022010-06-19 Ulrich Drepper <drepper@redhat.com>
14503
14504 [BZ #11701]
14505 * posix/group_member.c (__group_member): Correct checking loop.
14506
14507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14508 OOM in getpwuid_r correctly. Return error number when the caller
14509 should return, otherwise -1.
14510 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14511 call returning > 0 value.
14512 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14513
145142010-06-07 Andreas Schwab <schwab@redhat.com>
14515
14516 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14517 libc_nonshared.a from targets in modules-names.
14518
145192010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14520
14521 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14522 requires it.
14523
145242010-06-10 Luis Machado <luisgpm@br.ibm.com>
14525
14526 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14527 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14530
145312010-06-02 Andreas Schwab <schwab@redhat.com>
14532
14533 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14534
145352010-06-14 Ulrich Drepper <drepper@redhat.com>
14536
14537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14538 and F_GETPIPE_SZ.
14539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14543 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14544 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14545
145462010-06-14 Roland McGrath <roland@redhat.com>
14547
14548 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14549
145502010-06-07 Jakub Jelinek <jakub@redhat.com>
14551
14552 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14553 __REDIRECT followed by __THROW.
14554 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14555 * posix/getopt.h (getopt): Likewise.
14556
145572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14558
14559 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14560 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14561 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14562 in AT_FLAGS.
14563 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14564 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14565
145662010-05-28 Luis Machado <luisgpm@br.ibm.com>
14567
14568 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14569
145702010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14571
14572 [BZ #11640]
14573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14574 Properly check family and model.
14575
145762010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14577
14578 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14579
145802010-05-24 Luis Machado <luisgpm@br.ibm.com>
14581
14582 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14583
145842010-05-21 Ulrich Drepper <drepper@redhat.com>
14585
14586 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14587 symbol reference.
14588
145892010-05-19 Andreas Schwab <schwab@redhat.com>
14590
14591 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14592 symbol reference.
14593
145942010-05-21 Andreas Schwab <schwab@redhat.com>
14595
14596 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14597 and internal_recvmmsg.
14598 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14599 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14600 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14601 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14602
14603 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14604 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14605 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14606
146072010-05-20 Andreas Schwab <schwab@redhat.com>
14608
14609 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14610
146112010-05-17 Luis Machado <luisgpm@br.ibm.com>
14612
14613 POWER7 optimizations.
14614 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14615 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14616
146172010-05-19 Ulrich Drepper <drepper@redhat.com>
14618
14619 * version.h: Update for 2.13 development version.
14620
146212010-05-12 Andrew Stubbs <ams@codesourcery.com>
14622
14623 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14624 exceptions. Return 0.
14625
146262010-05-07 Roland McGrath <roland@redhat.com>
14627
14628 * elf/ldconfig.c (main): Add a const.
14629
146302010-05-06 Ulrich Drepper <drepper@redhat.com>
14631
14632 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14633 (args_options): Add no-idn option.
14634 (ahosts_keys_int): Add idn_flags to ai_flags.
14635 (parse_option): Handle 'i' option to clear idn_flags.
14636
14637 * malloc/malloc.c (_int_free): Possible race in the most recently
14638 added check. Only act on the data if no current modification
14639 happened.
14640
14641See ChangeLog.17 for earlier changes.