]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix warnings on Linux/i686
[glibc.git] / ChangeLog
CommitLineData
de7f5ce7
AJ
12012-05-17 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4 when it is used.
5
286abc3d
CM
62012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7
8 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9
477cc68e
L
102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11
12 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14
1a0994f5
CD
152012-05-17 Andreas Jaeger <aj@suse.de>
16 Carlos O'Donell <carlos_odonell@mentor.com>
17
18 [BZ #14059]
19 * sysdeps/x86_64/multiarch/init-arch.h
20 (bit_YMM_Usable): Rename to...
21 (bit_AVX_Usable): ... this.
22 (bit_FMA4_Usable): New macro.
23 (bit_XMM_state): New macro.
24 (bit_YMM_state): New macro.
25 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28 (CPUID_OSXSAVE): New macro.
29 (CPUID_AVX): New macro.
30 (CPUID_FMA4): New macro.
31 (index_YMM_Usable): Rename to...
32 (index_AVX_Usable): ... this.
33 (HAS_AVX): Use HAS_ARCH_FEATURE.
34 (HAS_FMA4): Likewise.
35 (HAS_YMM_USABLE): Remove.
36 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38 are present.
39 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44
0af797de
CM
452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46
47 * math/libm-test.c: Support platforms without multiple rounding modes.
48 * math/bug-nextafter.c: Support platforms without FP exceptions.
49 * math/bug-nexttoward.c: Likewise.
50 * math/test-fenv.c: Likewise.
51 * math/test-misc.c: Likewise.
52 * stdlib/bug-getcontext.c: Likewise.
53
e39745ff
AJ
542012-05-17 Andreas Jaeger <aj@suse.de>
55
56 * manual/examples/search.c (critter_cmp): Change signature to
57 avoid warnings.
58 * manual/string.texi (Collation Functions): Likewise.
59
48970aba
L
602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
61
62 * bits/types.h: Fold copyright years.
63 * bits/typesizes.h: Likewise.
64 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68 * time/time.h: Likewise.
69
bedee953
PP
702012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71
72 [BZ #208]
73 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74 in instead of returning them. Return void.
75 (__libc_mallinfo): Accumulate over all arenas.
76 (__malloc_stats): Adjust for change in int_mallinfo interface.
77
61653dfb
RM
782012-05-16 Roland McGrath <roland@hack.frob.com>
79
30b99d79
RM
80 [BZ #10375]
81 * configure.in (NM): Add AC_CHECK_TOOL for it.
82 (libc_extra_cflags): New substituted variable.
83 Check for -fstack-protector being used implicitly.
84 * configure: Regenerated.
85 * config.make.in (config-extra-cflags): New variable,
86 gets @libc_extra_cflags@.
87 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
88
61653dfb
RM
89 [BZ #10375]
90 * configure.in: Check for _FORTIFY_SOURCE being predefined.
91 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
92 * configure: Regenerated.
93 * config.make.in (CPPUNDEFS): New substituted variable.
94 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
95 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
96 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
97
661768bb
L
982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
99
100 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
101 (mq_attr): Use __syscall_slong_t.
102
d4261567
L
1032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
104
105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
106 Check __x86_64__ instead of __WORDSIZE.
107 (_STAT_VER_LINUX): Likewise.
108 (stat): Check __x86_64__ instead of __WORDSIZE. Use
109 __syscall_ulong_t and __syscall_slong_t.
110 (stat64): Likewise.
111
cf3ff365
L
1122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
115
76cf3e4d
L
1162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
117
118 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
119
a637753a
L
1202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
121
122 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
123 __syscall_ulong_t.
124
d5e05119
L
125 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
126 include <bits/wordsize.h>. Check __x86_64__ instead of
127 __WORDSIZE.
128 (greg_t): Use "__extension__ long long int" if __x86_64__ is
129 defined.
130 (mcontext_t): Replace "unsigned long" with "unsigned long long".
131
f62ee380
L
132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
133 include <bits/wordsize.h>. Check __x86_64__ instead of
134 __WORDSIZE.
135 (user_regs_struct): Use "__extension__ unsigned long long"
136 instead of "unsigned long" if __x86_64__ is defined.
137 (user): Likewise. Pad after pointer field if __ILP32__ is
138 defined.
139
4e124ced
JM
1402012-05-16 Joseph Myers <joseph@codesourcery.com>
141
6a3951a0
JM
142 * configure.in (makeinfo): Require version 4.5 or later. Allow
143 versions 5 to 9.
144 * configure: Regenerated.
145 * manual/install.texi (texinfo): Increase version requirement to
146 4.5 or later.
147 * INSTALL: Regenerated.
148
4e124ced
JM
149 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
150
953ca31a
L
1512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
152
153 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
154
617aca05
L
155 * sysdeps/x86_64/x32/ffs.c: New file.
156
5762f7ae
L
157 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
158 __syscall_ulong_t.
159 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
160 defined. Use __syscall_ulong_t.
161 (shminfo): Use __syscall_ulong_t.
162 (shm_info): Likewise.
163
a26b6856
L
164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
165 __syscall_ulong_t.
166
cb2b9ef7
L
167 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
168 <bits/wordsize.h>.
169 (msgqnum_t): Use __syscall_ulong_t.
170 (msglen_t): Likewise.
171 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
172 __syscall_ulong_t.
173
34683bb0
L
174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
175 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
176
84a68786
L
177 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
178
48baa5f1
L
179 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
180 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
181
180be88b
L
182 * sysvipc/sys/msg.h (msgbuf): Replace long int with
183 __syscall_slong_t.
184
5e90c8ad
L
185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
186 include <bits/wordsize.h>. Check __x86_64__ instead of
187 __WORDSIZE.
188
23dfb58b
L
189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
190 "unsigned long long int" if __x86_64__ is defined.
191 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
192
ce5d54b0
L
193 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
195 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
196
13dc9eac
L
197 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
198 <stdint.h>.
199 (GET_PC): Cast to uintptr_t first.
200 (GET_FRAME): Likewise.
201 (GET_STACK): Likewise.
202
a7895d15
L
203 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
204 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
205 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
210 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
211 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
214 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
216 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
217 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
222 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
228 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
232
656416c9
AS
2332012-05-16 Andreas Schwab <schwab@linux-m68k.org>
234
5bd66283
AS
235 * Makerules (+depfiles): Also collect depfiles from .oS in
236 $(extra-objs).
237 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
238 .oS, $(libnldbl-routines)).
239
656416c9
AS
240 * Makerules (native-compile-mkdep-flags): Define.
241 * sunrpc/Makefile (extra-objs): Add $(addprefix
242 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
243 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
244 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
245 calling $(make-target-directory).
246
a46f2169
L
2472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
248
249 * bits/types.h (__snseconds_t): Removed.
250 * time/time.h (struct timespec): Replace __snseconds_t with
251 __syscall_slong_t.
252 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
253 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
254 Likewise.
255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
256 (__SNSECONDS_T_TYPE): Likewise.
257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
258 (__SNSECONDS_T_TYPE): Likewise.
259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
260 (__SNSECONDS_T_TYPE): Likewise.
261
6af6528b
L
2622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
263
264 * sysdeps/mach/hurd/bits/typesizes.h
265 (__SYSCALL_SLONG_TYPE): New macro.
266 (__SYSCALL_ULONG_TYPE): Likewise.
267
de986b56
L
2682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
269
270 * bits/types.h (__syscall_slong_t): New type.
271 (__syscall_ulong_t): Likewise.
272
273 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
274 (__SYSCALL_ULONG_TYPE): Likewise.
275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
276 (__SYSCALL_SLONG_TYPE): Likewise.
277 (__SYSCALL_ULONG_TYPE): Likewise.
278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
279 (__SYSCALL_SLONG_TYPE): Likewise.
280 (__SYSCALL_ULONG_TYPE): Likewise.
281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
282 (__SYSCALL_SLONG_TYPE): Likewise.
283 (__SYSCALL_ULONG_TYPE): Likewise.
284
85736dc7
L
2852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
286
287 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
288 Add sigaltstack-offsets.sym.
289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
290 <sigaltstack-offsets.h>.
291 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
292 longjmp_msg pointer.
293 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
294 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
295 signal stack.
296 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
297
cc03b296
JM
2982012-05-15 Joseph Myers <joseph@codesourcery.com>
299
a9538892
JM
300 * elf/stackguard-macros.h: Remove file.
301 * sysdeps/generic/stackguard-macros.h: New file.
302 * sysdeps/i386/stackguard-macros.h: Likewise.
303 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
304 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
305 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
306 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
307 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
308 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
309 * sysdeps/x86_64/stackguard-macros.h: Likewise.
310 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
311 <elf/stackguard-macros.h>.
312
cc03b296
JM
313 [BZ #14109]
314 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
315 __aligned__ in attribute.
316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
317 (gregset_t): Likewise.
318
93171016
L
3192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
320
321 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
322 * sysdeps/x86_64/64/Implies-after: Here. New file.
323 * sysdeps/x86_64/x32/Implies-after: New file.
324
d86813a0
L
3252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
328 and access return value for _dl_profile_fixup. Use R10_LP to
329 load frame size.
330
2953ec75
L
3312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
332
333 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
334
3b550e9e
L
3352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
336
337 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
338 * sysdeps/x86_64/x32/sysdep.h: New file.
339
eda41706
L
3402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
341
342 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
343 * sysdeps/x86_64/setjmp.S: Likewise.
344
9ea01d93
AZ
3452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346
347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
348 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
349 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
350 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
351 remove unused global constant.
352
02a91938
CM
3532012-05-15 Chris Metcalf <cmetcalf@tilera.com>
354
355 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
356 include of <not-cancel.h>.
357
6540185f
RM
3582012-05-15 Roland McGrath <roland@hack.frob.com>
359
360 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
361
509072a0
AJ
3622012-05-15 Jeff Law <law@redhat.com>
363 Andreas Jaeger <aj@suse.de>
364
365 [BZ #13594]
366 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
367 out from...
368 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
369 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
370 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
371 code changing __hst_map_handle.map.
372
ba75122d
RM
3732012-05-15 Roland McGrath <roland@hack.frob.com>
374
375 * configure.in (sysnames): Look for Implies-before and Implies-after
376 files.
377 * configure: Regenerated.
378
890d8bd8
L
3792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
380
381 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
382 8-byte data alignment with LP_SIZE alignment.
383
f6ee6623
L
3842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
385
386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
387 into R10_LP.
388
ea2626f6
L
3892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
390
391 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
392
085f715e
L
3932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
394
395 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
396 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
398 Likewise.
399 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
400
be8498fc
L
4012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
402
403 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
404 (stackinfo_sub_sp): Likewise.
405
70bc83b9
L
4062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
407
408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
409 RAX_LP.
410
9bc0b730
L
4112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
412
413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
414 into R*_LP.
415
6d2850e7
L
4162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
417
418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
419 sizes into R*_LP.
420
3cb84561
L
4212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
424
54e2ed81
L
4252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
426
427 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
428 into R11_LP and load __x86_64_shared_cache_size_half into
429 R8_LP.
430
8a17f349
L
4312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
432
433 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
434 R8_LP.
435
777b1eea
AZ
4362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437
438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
439 logb for POWER7.
440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
441 logbf for POWER7.
442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
443 logbl for POWER7.
444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
445 powerpc32/power7/fpu/s_logb.c via #include.
446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
447 powerpc32/power7/fpu/s_logbf.c via #include.
448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
449 powerpc32/power7/fpu/s_logbl.c via #include.
450
d20d4ac2
JM
4512012-05-15 Joseph Myers <joseph@codesourcery.com>
452
453 * README.libm: Remove file.
454
6cdef1ab
L
4552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
456
457 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
458 count for x32. Use R*_LP and omit operand-size suffix.
459
0b254d8f
L
4602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
461
462 * shlib-versions: Move x86_64-.*-linux.* entries to ...
463 * sysdeps/x86_64/64/shlib-versions: Here. New file.
464 * sysdeps/x86_64/x32/shlib-versions: New file.
465
ceb809dc
RM
4662012-05-14 Roland McGrath <roland@hack.frob.com>
467
468 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
469 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
470 Use _dl_fatal_printf instead.
471
37f1abd4
JM
4722012-05-14 Joseph Myers <joseph@codesourcery.com>
473
474 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
475 set if not set by the user. Do not allow for being unset.
476 * sysdeps/unix/sysv/linux/configure: Regenerated.
477
11de3a33
L
4782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
479
480 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
481 the `q' suffix from lea and replace .quad with ASM_ADDR.
482
e02f153a
L
4832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
484
485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
486 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
487 instead of $17.
488 (PTR_DEMANGLE): Likewise.
489
520ae0fd
L
4902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
491
492 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
493 (LP_OP): Likewise.
494 (ASM_ADDR): Likewise.
495 (RAX_LP): Likewise.
496 (RBP_LP): Likewise.
497 (RBX_LP): Likewise.
498 (RCX_LP): Likewise.
499 (RDI_LP): Likewise.
500 (RSI_LP): Likewise.
501 (RSP_LP): Likewise.
502 (R8_LP): Likewise.
503 (R9_LP): Likewise.
504 (R10_LP): Likewise.
505 (R10_LP): Likewise.
506 (R11_LP): Likewise.
507 (R12_LP): Likewise.
508 (R13_LP): Likewise.
509 (R14_LP): Likewise.
510 (R15_LP): Likewise.
511
b985be81
L
5122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/x86_64/x32/dl-machine.h: New file.
515
6a4888ff
AJ
5162012-05-14 Andreas Jaeger <aj@suse.de>
517
518 * manual/Makefile (subdir): Remove export of subdir.
519 (all): Remove target.
520 (.PHONY): Remove all from list.
521 (mkinstalldirs): Remove.
522 (.PHONY): Remove installdirs from list.
523 ($(inst_infodir)/libc.info): Use make-target-directory.
524 (installdirs): Remove.
525 (subdir_%): Remove.
526 (glibc-targets): Remove.
527 (lib): Remove.
528 (stubs): Remove.
529 ($(objpfx)stubs ../po/manual.pot): Remove.
530 ($(objpfx)stamp%): Remove.
531 (make-target-directory): Remove.
532 (subdir_install): Remove.
533 (routines): Remove.
534 (aux): Remove.
535 (sources): Remove.
536 (objects): Remove.
537 (headers): Remove.
538
539 [BZ #13750]
540 * manual/.gitignore: Remove, it's not needed anymore.
541 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
542 all files in it.
543 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
544 directory.
545 (texis): Renamed to $(objpfx)texis.
546 (texis-path): New, contains path to generated files.
547 (chapters.%): Use texis-path for complete path, add extra argument
548 libc-texinfo.sh.
549 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
550 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
551 (summary,texi, stamp-summary): Use complete path of
552 files. Generate files in build dir.
553 (dir-add.texi): Build in build dir.
554 (libm-err.texi,stamp-libm-err): Likewise.
555 (version.texi, stamp-version): Likewise.
556 (.%c.texi): Likewise.
557 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
558 (mostlyclean): Remove target.
559 (realclean): Remove target.
560 (generated): Add new variable with contents from mostlyclean and
561 realclean, remove entries duplicated in common-mostlyclean, add
562 stamp-libm-err and stamp-version.
563 (generated-dirs): Add libc directory.
564 ($(inst_infodir)/libc.info): Install files from build dir.
565
566 * manual/install.texi (Configuring and compiling): Adjust since
567 the info files are not part of the tar ball anymore.
568
7ac77294
AJ
5692012-05-14 Andreas Jaeger <aj@suse.de>
570
571 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
572 variable.
573
ffb7875d
JM
5742012-05-14 Joseph Myers <joseph@codesourcery.com>
575
576 [BZ #13717]
577 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
578 to 2.2.0 where earlier.
579 * sysdeps/unix/sysv/linux/configure: Regenerated.
580 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
581 Remove conditional code.
582 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
583 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
584 Remove conditional code.
585 [!__NR_lchown]: Likewise.
586 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
587 [__NR_lchown]: Likewise.
588 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
589 comment referencing __ASSUME_LCHOWN_SYSCALL.
590 * sysdeps/unix/sysv/linux/i386/sigaction.c
591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
593 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
594 Remove conditional code.
595 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
596 (__protocol_available): Remove #if 0 code.
597 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
598 conditional code.
599 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/kernel-features.h
601 (__ASSUME_GETCWD_SYSCALL): Don't define.
602 (__ASSUME_REALTIME_SIGNALS): Likewise.
603 (__ASSUME_PREAD_SYSCALL): Likewise.
604 (__ASSUME_PWRITE_SYSCALL): Likewise.
605 (__ASSUME_POLL_SYSCALL): Likewise.
606 (__ASSUME_LCHOWN_SYSCALL): Likewise.
607 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
608 non-SPARC.
609 (__ASSUME_SIOCGIFNAME): Don't define.
610 (__ASSUME_MSG_NOSIGNAL): Likewise.
611 (__ASSUME_SENDFILE): Define unconditionally.
612 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
613 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
614 conditional code.
615 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
616 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
618 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
619 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
620 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
621 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
646 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
647 Remove conditional code.
648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
649 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
650 Remove conditional code.
651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
652 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
653 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
654 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
655 Remove conditional code.
656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
657 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
658 Remove conditional code.
659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
660 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
661 Remove conditional code.
662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
663 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
664 Remove conditional code.
665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
666 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
667 Remove conditional code.
668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
669 * sysdeps/unix/sysv/linux/sh/pwrite64.c
670 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
672 * sysdeps/unix/sysv/linux/sigaction.c
673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
675 * sysdeps/unix/sysv/linux/sigpending.c
676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
678 * sysdeps/unix/sysv/linux/sigprocmask.c
679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
681 * sysdeps/unix/sysv/linux/sigsuspend.c
682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
685 (__libc_missing_rt_sigs): Remove.
686 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
687 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
688 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
689 Remove conditional code.
690 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
691 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
692 return 1.
693 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
694 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
695 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
696 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
697
1bfb7291
AJ
6982012-05-14 Andreas Jaeger <aj@suse.de>
699
caae5a81
AJ
700 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
701 it's not used in glibc.
702 (__coshm1): Likewise.
703 (__acosh1p): Likewise.
704 (__sgn): Likewise.
705
1bfb7291
AJ
706 * manual/string.texi (Copying and Concatenation): Add missing
707 variable in concat example.
708 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
709
c044d724
L
7102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
711
144c5467 712 [BZ #14103]
c044d724
L
713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
714 __builtin_clzl with __builtin_clzll.
715
2523c62b
L
7162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
717
718 [BZ #14104]
719 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
720 libc_freeres_ptr.
721
d7bb4c42
LD
7222012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
723
724 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
725 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
726 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
727 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
728
9dc4e1fb
MF
7292012-05-14 Mike Frysinger <vapier@gentoo.org>
730
731 * NEWS: Update ia64 info.
732
c7df0112
AS
7332012-05-12 Andreas Schwab <schwab@linux-m68k.org>
734
735 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
736 used as bcopy.
737
dc70356c
TS
7382012-05-12 Thomas Schwinge <thomas@codesourcery.com>
739
740 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
741 * sysdeps/unix/syscalls.list (dup3): Likewise.
742 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
743 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
744
9fb1a21f
L
7452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
746
747 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
748 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
749
4822a2a5
L
7502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
751
752 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
753 thread pointer.
754 (TLS_IE): Use mov/add instead of movq/addq to load thread
755 pointer.
756 (TLS_GD_PREFIX): New.
757 (TLS_GD): Use it.
758
842b81d6
DM
7592012-05-11 David S. Miller <davem@davemloft.net>
760
761 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
762 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
763 (_FPU_SETCW): Likewise.
764
1cf463cd
L
7652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
766
767 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
768 is 32-byte aligned.
769
60cc4a18
AS
7702012-05-11 Andreas Schwab <schwab@linux-m68k.org>
771
772 [BZ #11837]
773 * iconvdata/gb18030.c: Update tables.
774 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
775 characters specially.
776 (BODY for TO_LOOP): Add encoding of missing ranges.
777
febb44a4
TS
7782012-05-11 Thomas Schwinge <thomas@codesourcery.com>
779
780 [BZ #13673]
781 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
782 * sysdeps/mach/hurd/dup3.c: Likewise.
783 * sysdeps/mach/hurd/readlinkat.c: Likewise.
784 * sysdeps/powerpc/memmove.c:: Likewise.
785
0a10fb9e
L
7862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
787
788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
789 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
790
df8a552f
L
7912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
792
793 * elf/elf.h (R_X86_64_RELATIVE64): New.
794 (R_X86_64_NUM): Updated.
795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
796 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
797 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
798 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
799 tst-quad1pie tst-quad2pie
800 (modules-names): Add tst-quadmod1 tst-quadmod2.
801 ($(objpfx)tst-quad1): New dependency.
802 ($(objpfx)tst-quad2): Likewise.
803 ($(objpfx)tst-quad1pie): Likewise.
804 ($(objpfx)tst-quad2pie): Likewise.
805 * sysdeps/x86_64/tst-quad1.c: New file.
806 * sysdeps/x86_64/tst-quad1pie.c: New file.
807 * sysdeps/x86_64/tst-quad2.c: Likewise.
808 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
809 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
810 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
811 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
812 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
813
f34d6f84
ST
8142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
815
f42d41d1
ST
816 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
817 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
818 * streams/stropts.h (t_scalar_t): Define type.
819
3c3571fc
ST
820 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
821 (_PATH_PRESERVE): Set to "/var/lib".
822 (_PATH_RWHODIR): Set to "/var/spool/rwho".
823
61f06bd3
ST
824 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
825 instead of int.
826
918d4d71
ST
827 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
828 if __dir_mkfile succeeded.
829
f34d6f84
ST
830 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
831 checking for _hurd_dtablesize. Unlock it right after having
832 finished _hurd_dtable allocation.
833
10589b4a
TS
8342012-05-10 Thomas Schwinge <thomas@schwinge.name>
835
674cdbc7
TS
836 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
837 * sysdeps/mach/hurd/configure: Regenerated.
838 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
839 special-casing to...
840 * sysdeps/gnu/configure.in: ... this new file.
841 * sysdeps/unix/sysv/linux/configure: Regenerated.
842 * sysdeps/gnu/configure: New generated file.
843
8e41b99f
TS
844 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
845 for Linux: use nsec instead of usec, as well as:
846 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
847 members of type struct timespec.
848 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
849 New macros.
850 (struct stat64): Likewise.
851 (_STATBUF_ST_NSEC): New macro.
852 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
853
10589b4a
TS
854 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
855 __strtoul_internal rather than strtoul.
856
63643c85
PT
8572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
858
859 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
860 and reject them.
861
3faebe6a
ST
8622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
863
864 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
865 which preserves existing values.
866 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
867
c6474b07
PT
8682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
869
870 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
871 TIMEOUT values. Return EINVAL for NFDS values either negative or
872 greater than FD_SETSIZE.
873
1043890b
ST
8742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
875
876 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
877 allocated, call __vm_protect to finish enabling the existing space, and
878 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
879 allocate the remainder.
880
37ed8b9b
PT
8812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
882
883 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
884 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
885
db653660
ST
8862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
887
37ed8b9b
PT
888 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
889 sysdeps/mach/hurd/readlink.c.
b29d4053 890
db653660
ST
891 * posix/tst-sysconf.c (posix_options): Only use
892 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
893 _POSIX_SYNCHRONIZED_IO when they are defined
894 * sysdeps/mach/hurd/bits/posix_opt.h:
895 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
896 (_XOPEN_REALTIME): Undefine macro.
897 (_XOPEN_REALTIME_THREADS): Undefine macro.
898 (_XOPEN_SHM): Undefine macro.
899 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
900 macro to -1.
901 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
902 macro to -1.
903 (_POSIX_ASYNC_IO): Undefine macro.
904 (_POSIX_PRIORITIZED_IO): Undefine macro.
905 (_POSIX_SPIN_LOCKS): Define macro to -1.
906
ee16e894
ST
907 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
908 SA_NODEFER, SA_RESETHAND.
909 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
910 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
911 F_DUPFD_CLOEXEC.
912
6103ae3b
TS
9132012-05-10 Thomas Schwinge <thomas@schwinge.name>
914
915 * elf/Makefile (pldd-modules): Define unconditionally.
916
80b4e5f3
TS
9172012-05-10 Thomas Schwinge <thomas@schwinge.name>
918
919 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
920
edadcbd6
ST
9212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
922
923 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
924 Return ENOENT when name is empty.
925 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
926
80694780
TS
9272012-05-10 Thomas Schwinge <thomas@schwinge.name>
928
1792c087
TS
929 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
930
80694780
TS
931 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
932
6b645f0d
ST
9332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
934
80694780
TS
935 Fix mlock in all cases except non-readable pages.
936 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
937 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 938
6b645f0d
ST
939 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
940 (__mkdir): When path is `/', just fail with EEXIST.
941 * sysdeps/mach/hurd/mkdirat.c: Likewise.
942
e468f8a3
TS
9432012-05-10 Thomas Schwinge <thomas@schwinge.name>
944
945 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
946 <sys/uio.h> (for writev).
947 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
948 and <sys/param.h> (for MIN).
949
a4186cff
PT
9502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
951
952 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
953 REQUESTED_TIME. Properly set the remaining time and return EINTR
954 if interrupted.
955
510bbf14
TS
9562012-05-10 Thomas Schwinge <thomas@schwinge.name>
957
958 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
959 Depend on against $(link-rpcuserlibs).
960
5d5722e8
ST
9612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
962
a4186cff
PT
963 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
964 (__libc_stack_end): Do not use attribute_relro.
965 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
966 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 967 to libthread-provided value.
a4186cff
PT
968 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
969 attribute_relro.
5d5722e8 970
37233df9
TS
9712012-05-10 Thomas Schwinge <thomas@schwinge.name>
972
be971a2b
TS
973 [BZ #3748]
974 * bits/libc-lock.h (__libc_once_get): New macro.
975 * sysdeps/mach/bits/libc-lock.h: Likewise.
976 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
977 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
978 instead of using implementation details.
979
37233df9
TS
980 * libio/fileops.c: Unconditionally include <kernel-features.h>.
981 * libio/freopen.c: Likewise.
982 * libio/freopen64.c: Likewise.
983 * misc/syslog.c: Likewise.
984 * nscd/connections.c: Likewise.
985 * nscd/netgroupcache.c: Likewise.
986 * sysdeps/posix/getcwd.c: Likewise.
987
38de94a5
RM
9882012-05-10 Roland McGrath <roland@hack.frob.com>
989
990 * math/w_ilogbf.c: Add #include <limits.h>.
991
67530489
ST
9922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
993
a4186cff 994 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
995 path instead of returning without unlocking.
996
67530489
ST
997 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
998 immediate-write ioctls.
999 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1000
5aa3a74a
TS
10012012-05-10 Thomas Schwinge <thomas@schwinge.name>
1002
18bad2ae
TS
1003 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1004 __builtin_frame_address instead of making assumptions about the
1005 location of the return address relative to DATA. Force early load of
1006 the return address.
1007 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1008 __builtin_frame_address.
1009
5aa3a74a
TS
1010 dup3 for GNU Hurd.
1011 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1012 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1013 implement dup3 and do some further code clean-ups.
1014 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1015 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1016
ecd0de9a
ST
10172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1018
cd9fa985
ST
1019 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1020
a4186cff
PT
1021 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1022 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1023 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1024 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1025 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1026 d->port.lock.
802ca5a5 1027
a4186cff
PT
1028 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1029 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1030 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1031
bcf55240
TS
10322012-05-10 Thomas Schwinge <thomas@schwinge.name>
1033
6960eb42
TS
1034 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1035 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1036 definitions.
1037
eb43375f
TS
1038 accept4 for GNU Hurd.
1039 * include/sys/socket.h (__libc_accept4): New prototype.
1040 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1041 to implement __libc_accept4.
1042 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1043 __libc_accept4.
1044 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1045
bcf55240
TS
1046 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1047 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1048 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1049 signal-defines.sym.
1050
6178c55b
ST
10512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1052
a4186cff 1053 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1054
6f080c2f
TS
10552012-05-10 Thomas Schwinge <thomas@schwinge.name>
1056
1057 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1058 assertion on O_CLOEXEC flag.
1059 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1060 * hurd/intern-fd.c: Likewise.
1061 * hurd/port2fd.c: Likewise.
1062
bcfe3a54
ST
10632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1064
1065 [BZ #3906]
1066 * bits/in.h (IPV6_PKTINFO): Define new macro.
1067 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1068
89c9aa49
AZ
10692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070
1071 [BZ #13954]
1072 [BZ #13955]
1073 [BZ #13956]
1074 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1075 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1076 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1077 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1080 * math/libm-test.inc (logb_test) : Additional logb tests.
1081
021db4be
AJ
10822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1083 Andreas Jaeger <aj@suse.de>
1084
1085 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1086 * configure: Regenerated.
1087 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1088 * config.make.in (link-obsolete-rpc): New substituted variable.
1089 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1090 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1091 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1092 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1093 so that libc.a contains the symbols.
1094 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1095 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1096 * sunrpc/auth_none.c: Likewise.
1097 * sunrpc/auth_unix.c: Likewise.
1098 * sunrpc/authdes_prot.c: Likewise.
1099 * sunrpc/authuxprot.c: Likewise.
1100 * sunrpc/clnt_gen.c: Likewise.
1101 * sunrpc/clnt_perr.c: Likewise.
1102 * sunrpc/clnt_raw.c: Likewise.
1103 * sunrpc/clnt_simp.c: Likewise.
1104 * sunrpc/clnt_tcp.c: Likewise.
1105 * sunrpc/clnt_udp.c: Likewise.
1106 * sunrpc/clnt_unix.c: Likewise.
1107 * sunrpc/des_crypt.c: Likewise.
1108 * sunrpc/des_soft.c: Likewise.
1109 * sunrpc/get_myaddr.c: Likewise.
1110 * sunrpc/key_call.c: Likewise.
1111 * sunrpc/key_prot.c: Likewise.
1112 * sunrpc/netname.c: Likewise.
1113 * sunrpc/pm_getmaps.c: Likewise.
1114 * sunrpc/pm_getport.c: Likewise.
1115 * sunrpc/pmap_clnt.c: Likewise.
1116 * sunrpc/pmap_prot.c: Likewise.
1117 * sunrpc/pmap_prot2.c: Likewise.
1118 * sunrpc/pmap_rmt.c: Likewise.
1119 * sunrpc/publickey.c: Likewise.
1120 * sunrpc/rpc_cmsg.c: Likewise.
1121 * sunrpc/rpc_common.c: Likewise.
1122 * sunrpc/rpc_dtable.c: Likewise.
1123 * sunrpc/rpc_prot.c: Likewise.
1124 * sunrpc/rpc_thread.c: Likewise.
1125 * sunrpc/rtime.c: Likewise.
1126 * sunrpc/svc.c: Likewise.
1127 * sunrpc/svc_auth.c: Likewise.
1128 * sunrpc/svc_raw.c: Likewise.
1129 * sunrpc/svc_run.c: Likewise.
1130 * sunrpc/svc_tcp.c: Likewise.
1131 * sunrpc/svc_udp.c: Likewise.
1132 * sunrpc/svc_unix.c: Likewise.
1133 * sunrpc/svcauth_des.c: Likewise.
1134 * sunrpc/xcrypt.c: Likewise.
1135 * sunrpc/xdr.c: Likewise.
1136 * sunrpc/xdr_array.c: Likewise.
1137 * sunrpc/xdr_float.c: Likewise.
1138 * sunrpc/xdr_intXX_t.c: Likewise.
1139 * sunrpc/xdr_mem.c: Likewise.
1140 * sunrpc/xdr_rec.c: Likewise.
1141 * sunrpc/xdr_ref.c: Likewise.
1142 * sunrpc/xdr_sizeof.c: Likewise.
1143 * sunrpc/xdr_stdio.c: Likewise.
1144
b5c086a2
RM
11452012-05-10 Roland McGrath <roland@hack.frob.com>
1146
1147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1148 change. Update copyright years.
1149
6d74dd09
JM
11502012-05-10 Joseph Myers <joseph@codesourcery.com>
1151
1152 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1153
28e72501
MK
11542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1155 Joseph Myers <joseph@codesourcery.com>
1156 Paul Pluzhnikov <ppluzhnikov@google.com>
1157
1158 [BZ #14012]
1159 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1160 requiring rpcgen.
1161 [cross-compiling] (extra-libs): Likewise.
1162 [cross-compiling] (extra-libs-others): Likewise.
1163 [cross-compiling] (librpcsvc-routines): Likewise.
1164 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1165 [cross-compiling] (omit-deps): Likewise.
1166 (sunrpc-CPPFLAGS): New variable.
1167 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1168 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1169 (cross-rpcgen-objs): New variable.
1170 (extra-objs): Append $(cross-rpcgen-objs).
1171 ($(cross-rpcgen-objs)): New rule.
1172 ($(objpfx)cross-rpcgen): Likewise.
1173 (rpcgen-cmd): Define to use $(built-program-file). Expand
1174 comment.
1175 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1176 ($(objpfx)x%.stmp): Likewise.
1177 * sunrpc/proto.h [IS_IN_build] (_): Define.
1178 [IS_IN_build] (_libc_intl_domainname): Likewise.
1179
c8c59454
L
11802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1183 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1184 and R_X86_64_TPOFF64.
1185
6f27cd16
JM
11862012-05-10 Joseph Myers <joseph@codesourcery.com>
1187
1188 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1189 sysdeps/unix/sysv/syscalls.list.
1190 (stime): Likewise.
1191 (utime): Likewise.
1192 * sysdeps/unix/sysv/syscalls.list: Remove file.
1193
02467e1c
PE
11942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1195
1196 [BZ #3440]
1197 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1198 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1199 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1200 (__LC_IDENTIFICATION): Make these macros useful in #if
1201 expressions, as required by C99.
1202
da392631
AS
12032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1204
1205 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1206 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1207 after this.
1208
8115f29b
L
12092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 * stdlib/longlong.h: Updated from GCC.
1212
bdd74070
AJ
12132012-05-09 Andreas Jaeger <aj@suse.de>
1214
edfe0dbe
AJ
1215 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1216 default is first entry.
1217 (run_mode): Set type.
1218 (main): Remove informal message about syslog.
1219 (options): Fix typo.
1220
bcfe3a54
ST
1221 [BZ #14053]
1222 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1223 to asm.
bcfe3a54
ST
1224 (lrint): Likewise.
1225 (llrintf): Likewise.
1226 (llrint): Likewise.
1227 (rint): Likewise.
1228 (rintf): Likewise.
1229 (nearbyint): Likewise.
1230 (nearbyintf): Likewise.
bdd74070 1231
91d8d69e
AJ
12322012-05-09 Andreas Jaeger <aj@suse.de>
1233 Pedro Alves <palves@redhat.com>
1234
1235 * nscd/nscd.c (run_mode): Use enum.
1236 (main): Cleanup coding style issue.
1237
bb90b80b
AJ
12382012-05-09 Alexandre Oliva <aoliva@redhat.com>
1239 Andreas Jaeger <aj@suse.de>
1240
bcfe3a54
ST
1241 * nscd/nscd.c (go_background): Replaced with...
1242 (run_mode): ... this.
bb90b80b 1243 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1244 (options): Add -F --foreground.
1245 (main): Implement it.
1246 (parse_opt): Parse it.
bb90b80b 1247
1a4b75a1
AJ
12482012-05-09 Andreas Jaeger <aj@suse.de>
1249
1250 [BZ #14083]
1251 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1252 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1253 -Wconversion warning.
1254 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1255 Likewise.
1256
b1cc2472
JM
12572012-05-09 Joseph Myers <joseph@codesourcery.com>
1258
1259 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1260 == 0.
1261 (LC_ALL): Use macro-int-constant.
1262 (LC_COLLATE): Likewise.
1263 (LC_CTYPE): Likewise.
1264 (LC_MESSAGES): Likewise.
1265 (LC_MONETARY): Likewise.
1266 (LC_NUMERIC): Likewise.
1267 (LC_TIME): Likewise.
1268 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1269 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1271 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1272 Specify type.
1273 [C99-based standards] (float_t): Expect type.
1274 [C99-based standards] (double_t): Expect type.
1275 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1276 type.
1277 [C99-based standards] (HUGE_VALL): Likewise.
1278 [C99-based standards] (INFINITY): Likewise.
1279 [C99-based standards] (NAN): Likewise.
1280 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1281 [C99-based standards] (FP_NAN): Likewise.
1282 [C99-based standards] (FP_NORMAL): Likewise.
1283 [C99-based standards] (FP_SUBNORMAL): Likewise.
1284 [C99-based standards] (FP_ZERO): Likewise.
1285 [C99-based standards] (FP_FAST_FMA): Use
1286 optional-macro-int-constant. Specify type. Require == 1.
1287 [C99-based standards] (FP_FAST_FMAF): Likewise.
1288 [C99-based standards] (FP_FAST_FMAL): Likewise.
1289 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1290 [C99-based standards] (FP_ILOGBNAN): Likewise.
1291 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1292 Specify type.
1293 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1294 [C99-based standards] (math_errhandling): Specify type.
1295 [ISO99 || ISO11] (signgam): Do not allow.
1296 [non-C99-based standards] (copysignf): Do not allow.
1297 [non-C99-based standards] (exp2f): Likewise.
1298 [non-C99-based standards] (log2f): Likewise.
1299 [non-C99-based standards] (modff): Allow.
1300 [non-C99-based standards] (erff): Do not allow.
1301 [non-C99-based standards] (erfcf): Likewise.
1302 [non-C99-based standards] (gammaf): Likewise.
1303 [non-C99-based standards] (hypotf): Likewise.
1304 [non-C99-based standards] (j0f): Likewise.
1305 [non-C99-based standards] (j1f): Likewise.
1306 [non-C99-based standards] (jnf): Likewise.
1307 [non-C99-based standards] (lgammaf): Likewise.
1308 [non-C99-based standards] (tgammaf): Likewise.
1309 [non-C99-based standards] (y0f): Likewise.
1310 [non-C99-based standards] (y1f): Likewise.
1311 [non-C99-based standards] (ynf): Likewise.
1312 [non-C99-based standards] (isnanf): Likewise.
1313 [non-C99-based standards] (acoshf): Likewise.
1314 [non-C99-based standards] (asinhf): Likewise.
1315 [non-C99-based standards] (atanhf): Likewise.
1316 [non-C99-based standards] (cbrtf): Likewise.
1317 [non-C99-based standards] (expm1f): Likewise.
1318 [non-C99-based standards] (ilogbf): Likewise.
1319 [non-C99-based standards] (log1pf): Likewise.
1320 [non-C99-based standards] (logbf): Likewise.
1321 [non-C99-based standards] (nextafterf): Likewise.
1322 [non-C99-based standards] (remainderf): Likewise.
1323 [non-C99-based standards] (rintf): Likewise.
1324 [non-C99-based standards] (scalbf): Likewise.
1325 [non-C99-based standards] (copysignl): Likewise.
1326 [non-C99-based standards] (exp2l): Likewise.
1327 [non-C99-based standards] (log2l): Likewise.
1328 [non-C99-based standards] (modfl): Allow.
1329 [non-C99-based standards] (erfl): Do not allow.
1330 [non-C99-based standards] (erfcl): Likewise.
1331 [non-C99-based standards] (gammal): Likewise.
1332 [non-C99-based standards] (hypotl): Likewise.
1333 [non-C99-based standards] (j0l): Likewise.
1334 [non-C99-based standards] (j1l): Likewise.
1335 [non-C99-based standards] (jnl): Likewise.
1336 [non-C99-based standards] (lgammal): Likewise.
1337 [non-C99-based standards] (tgammal): Likewise.
1338 [non-C99-based standards] (y0l): Likewise.
1339 [non-C99-based standards] (y1l): Likewise.
1340 [non-C99-based standards] (ynl): Likewise.
1341 [non-C99-based standards] (isnanl): Likewise.
1342 [non-C99-based standards] (acoshl): Likewise.
1343 [non-C99-based standards] (asinhl): Likewise.
1344 [non-C99-based standards] (atanhl): Likewise.
1345 [non-C99-based standards] (cbrtl): Likewise.
1346 [non-C99-based standards] (expm1l): Likewise.
1347 [non-C99-based standards] (ilogbl): Likewise.
1348 [non-C99-based standards] (log1pl): Likewise.
1349 [non-C99-based standards] (logbl): Likewise.
1350 [non-C99-based standards] (nextafterl): Likewise.
1351 [non-C99-based standards] (remainderl): Likewise.
1352 [non-C99-based standards] (rintl): Likewise.
1353 [non-C99-based standards] (scalbl): Likewise.
1354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1355 [non-C99-based standards] (FP_*): Do not allow.
1356 [C99-based standards] (FP_*): Change to
1357 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1358 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1359 allow.
1360 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1361 (SIG_ERR): Likewise.
1362 [X/Open-based standards] (SIG_HOLD): Likewise.
1363 (SIG_IGN): Likewise.
1364 (SIGABRT): Use macro-int-constant. Specify type. Require
1365 positive value.
1366 (SIGFPE): Likewise.
1367 (SIGILL): Likewise.
1368 (SIGINT): Likewise.
1369 (SIGSEGV): Likewise.
1370 (SIGTER): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1389 [X/Open-based standards] (SIGTRAP): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1394 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1395 allow.
1396
b9f1922d
IW
13972012-05-08 Ian Wienand <ianw@vmware.com>
1398
1399 [BZ #14080]
1400 * time/tzset.c (__tzset_parse_tz): Update default rules for
1401 daylight time changes in the Energy Policy Act of 2005.
1402
1db86e88
AJ
14032012-05-09 Andreas Jaeger <aj@suse.de>
1404
1405 [BZ #13983]
1406 * elf/ldconfig.c (parse_conf): Change string to make clear that
1407 ldconfig only issued a warning if ld.so.conf does not exist.
1408
dee4a4e3
DM
14092012-05-08 David S. Miller <davem@davemloft.net>
1410
ee0db190
DM
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1412 movxtod instead of popping the value on the stack.
1413
dee4a4e3
DM
1414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1415
6a43ec98
CD
14162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1417
1418 * config.h.in: Add HAVE_ARM_PCS_VFP.
1419
05c2c961
RMG
14202012-05-08 Roland Mc Grath <roland@hack.frob.com>
1421
bcfe3a54
ST
1422 [BZ #13979]
1423 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1424 checking but the checks are disabled for any reason.
05c2c961 1425
4b30f61a
L
14262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1429 and ELF64_R_TYPE with ELFW(R_TYPE).
1430
eee2bc67
JM
14312012-05-08 Joseph Myers <joseph@codesourcery.com>
1432
7ea5391a
JM
1433 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1434 (ulimit): Likewise.
1435
eee2bc67
JM
1436 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1437 (settimeofday): Likewise.
1438
abb66a67
MF
14392012-05-08 Mike Frysinger <vapier@gentoo.org>
1440
1441 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1442 a struct th_u2 inside the union, and move tu_block/tu_code into
1443 a new th_u3 union of tu_block/tu_code inside of that. Move
1444 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1445 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1446 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1447 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1448 (th_stuff): Change to th_u1.tu_stuff.
1449 (th_data): Define.
1450 (th_msg): Change to th_u1.th_u2.tu_data.
1451
7f18b530
DM
14522012-05-07 David S. Miller <davem@davemloft.net>
1453
05760585
DM
1454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1455
7f18b530
DM
1456 [BZ #14074]
1457 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1458 (SETUP_PIC_REG): Use it.
1459 (SETUP_PIC_REG_LEAF): Use it.
1460
495fd99f
JM
14612012-05-07 Joseph Myers <joseph@codesourcery.com>
1462
1463 [BZ #13885]
1464 [BZ #13923]
1465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1466 USE_AS_EXPM1L.
1467 (EXPL_FINITE): Likewise.
1468 (FLDLOG): Likewise.
1469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1470 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1471 e_expl.S.
1472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1473 USE_AS_EXPM1L.
1474 (EXPL_FINITE): Likewise.
1475 (FLDLOG): Likewise.
1476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1477 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1478 e_expl.S.
1479 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1480 test of -max_value argument for long double.
1481 * sysdeps/i386/fpu/libm-test-ulps: Update.
1482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1483
6693d694
DM
14842012-05-06 David S. Miller <davem@davemloft.net>
1485
1486 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1487 quad soft-float symbols whose references which are compiler
1488 generated.
1489 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1490
6c23e11c
JM
14912012-05-06 Joseph Myers <joseph@codesourcery.com>
1492
d8b82cad
JM
1493 [BZ #13884]
1494 [BZ #13914]
1495 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1496 USE_AS_EXP10L.
1497 (EXPL_FINITE): Likewise.
1498 (FLDLOG): Likewise.
1499 (c0): Likewise.
1500 (c1): Likewise.
1501 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1502 Adjust comments for base varying.
1503 (__expl_finite): Change alias to EXPL_FINITE.
1504 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1505 e_expl.S.
1506 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1507 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1509 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1511 USE_AS_EXP10L.
1512 (EXPL_FINITE): Likewise.
1513 (FLDLOG): Likewise.
1514 (c0): Likewise.
1515 (c1): Likewise.
1516 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1517 Adjust comments for base varying.
1518 (__expl_finite): Change alias to EXPL_FINITE.
1519 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1520 tests for bugs.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1522
6c23e11c
JM
1523 [BZ #14064]
1524 * math/libm-test.inc (check_float_internal): Correct ulp
1525 calculation for subnormal expected results.
1526
29ba805c
AJ
15272012-05-06 Andreas Jaeger <aj@suse.de>
1528
1529 * Makeconfig (+math-flags): New, set to -frounding-math.
1530 (+cflags): Add +math-flags so that all of glibc gets compiled with
1531 it.
1532
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1534
7b17aeda
JM
15352012-05-05 Joseph Myers <joseph@codesourcery.com>
1536
5779f134
JM
1537 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1538 Disable one test.
1539
41498f4d
JM
1540 [BZ #13787]
1541 [BZ #13922]
1542 [BZ #14036]
1543 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1544 (__ieee754_expl): Allow for and saturate large arguments.
1545 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1546 (u_threshold): Likewise.
1547 (__exp): Call __ieee754_exp before checking for overflow and
1548 underflow.
1549 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1550 (u_threshold): Likewise.
1551 (__expf): Call __ieee754_expf before checking for overflow and
1552 underflow.
1553 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1554 (u_threshold): Likewise.
1555 (__expl): Call __ieee754_expl before checking for overflow and
1556 underflow.
1557 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1558 (__ieee754_expl): Allow for and saturate large arguments.
1559 * math/libm-test.inc (exp_test): Add another test. Do not allow
1560 missing overflow exception on overflow.
1561 (expm1_test): Do not allow missing overflow exception on overflow.
1562
6698b8bf
JM
1563 * sysdeps/i386/fpu/e_expl.c: Move to ...
1564 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1565 rather than using inline asm.
1566 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1567 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1568 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1569
7b17aeda
JM
1570 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1571 (nice): Likewise.
1572 (poll): Likewise.
1573 (signal): Likewise.
1574 (time): Likewise.
1575 (times): Likewise.
1576
f7c85819
JM
15772012-05-04 Joseph Myers <joseph@codesourcery.com>
1578
1579 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1580 sysdeps/unix/common/syscalls.list.
1581 (fchmod): Likewise.
1582 (fchown): Likewise.
1583 (ftruncate): Likewise.
1584 (getrusage): Likewise.
1585 (gettimeofday): Likewise.
1586 (setpgid): Likewise.
1587 (setregid): Likewise.
1588 (setreuid): Likewise.
1589 (sigaction): Likewise.
1590 (truncate): Likewise.
1591 (vhangup): Likewise.
1592 * sysdeps/unix/common/syscalls.list: Remove file.
1593 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1594 * sysdeps/unix/sysv/linux/Implies: Likewise.
1595
336270d0
L
15962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1600 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1601 Moved to ...
1602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1603 Here.
1604 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1605 to ...
1606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1607 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1608 to ...
1609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1610 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1611 to ...
1612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1613 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1614 to ...
1615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1616 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1617 to ...
1618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1619 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1620 to ...
1621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1622 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1623 to ...
1624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1625 Here.
1626 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1627 to ...
1628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1629 Here.
1630 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1631 to ...
1632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1633 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1634 Moved to ...
1635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1636 Here.
1637 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1638 to ...
1639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1640
d128e450
JM
16412012-05-04 Joseph Myers <joseph@codesourcery.com>
1642
fa8ee516
JM
1643 * sysdeps/unix/common/bits/dirent.h: Remove file.
1644 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1645
d128e450
JM
1646 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1647 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1648 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1649 * sysdeps/unix/bsd/isatty.c: Likewise.
1650 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1651 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1652 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1653
ff8faaf0 16542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1655
62881be4 1656 [BZ #13563]
31dc8730
AZ
1657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1658 long double comparison inaccuracies.
1659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1661
6fef930c
AS
16622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1663
1664 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1666
8f203e6c
JM
16672012-05-04 Joseph Myers <joseph@codesourcery.com>
1668
1669 [BZ #14049]
1670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1671 nonzero digits before rounding a hex value.
1672 * stdlib/tst-strtod.c (tests): Add another test.
1673
5197d9c2
AK
16742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1675
1676 * sysdeps/s390/fpu/libm-test-ulps: Update.
1677
f0c1dedf
AJ
16782012-05-03 Andreas Jaeger <aj@suse.de>
1679
1680 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1681 does not get optimized out.
1682 (malloc_opt_barrier): New.
1683
a65ef2ae 16842012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1685 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1686
2b942cb7 1687 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1688 intermediate file deletion.
2b942cb7 1689 (generated): Add .symlist files.
a65ef2ae 1690
54b71e02
JM
16912012-05-03 Joseph Myers <joseph@codesourcery.com>
1692
1693 [BZ #13775]
1694 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1695 Redirect under this condition.
1696 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1697 [__USE_GNU] (__dprintf_chk): Not under this condition.
1698 [__USE_GNU] (__vdprintf_chk): Likewise.
1699 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1700 under this condition.
1701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1702 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1703 [__USE_XOPEN2K8] (vdprintf): Likewise.
1704 [__USE_GNU] (__dprintf_chk): Not under this condition.
1705 [__USE_GNU] (__vdprintf_chk): Likewise.
1706 [__USE_GNU] (dprintf): Likewise.
1707 [__USE_GNU] (vdprintf): Likewise.
1708
d3dfcc41
RM
17092012-05-03 Roland McGrath <roland@hack.frob.com>
1710
1711 * elf/Makefile (common-generated): Set this instead of generated for
1712 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1713 $(all-built-dso)-derived lists.
1714
7ac30cc5
AJ
17152012-05-03 Andreas Jaeger <aj@suse.de>
1716
0c51e550
AJ
1717 * sysdeps/i386/fpu/libm-test-ulps: Update.
1718
7ac30cc5
AJ
1719 * FAQ: Removed.
1720 * FAQ.in: Likewise.
1721 * scripts/gen-FAQ.pl: Likewise.
1722 * manual/install.texi (Installation): Point to online location of
1723 FAQ.
1724 * Makefile (files-for-dist): Remove FAQ.
1725 (FAQ): Remove.
1726
d4c2917f
AM
17272012-05-02 Allan McRae <allan@archlinux.org>
1728
1729 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1730 (LDFLAGS-reldepmod5.so): Likewise.
1731 (LDFLAGS-reldep6mod1.so): Likewise.
1732 (LDFLAGS-reldep6mod4.so): Likewise.
1733 (LDFLAGS-reldep8mod3.so): Likewise.
1734 (LDFLAGS-unload4mod1.so): Likewise.
1735 (LDFLAGS-unload4mod2.so): Likewise.
1736 (LDFLAGS-tst-initorder): Likewise.
1737 (LDFLAGS-tst-initordera2.so): Likewise.
1738 (LDFLAGS-tst-initordera3.so): Likewise.
1739 (LDFLAGS-tst-initordera4.so): Likewise.
1740 (LDFLAGS-tst-initorderb2.so): Likewise.
1741 (LDFLAGS-noload): Likewise.
1742 (LDFLAGS-next): Likewise.
1743 (LDFLAGS-order2mod1.so): Likewise.
1744 (LDFLAGS-order2mod2.so): Likewise.
1745 (LDFLAGS-tst-initorder2): Likewise.
1746 (LDFLAGS-tst-initorder2a.so): Likewise.
1747 (LDFLAGS-tst-initorder2b.so): Likewise.
1748 (LDFLAGS-tst-initorder2c.so): Likewise.
1749 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1750
d77f993f
DM
17512012-05-02 David S. Miller <davem@davemloft.net>
1752
1753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1754
171a70b4
PP
17552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1756
1757 [BZ #14055]
1758 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1759
0be196ad
AJ
17602012-05-02 Andreas Jaeger <aj@suse.de>
1761
1762 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1763 since we manipulate rounding mode.
1764 (CPPFLAGS-test-idouble.c): Likewise.
1765 (CPPFLAGS-test-ifloat.c): Likewise.
1766 (CFLAGS-test-ldouble.c): Likewise.
1767 (CFLAGS-test-double.c): Likewise.
1768 (CFLAGS-test-float.c): Likewise.
1769 (CFLAGS-test-misc.c): Likewise.
1770 (CFLAGS-test-test-fenv.c): Likewise.
1771
4f9d04aa
AZ
17722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773
2b942cb7
RM
1774 [BZ #2550]
1775 [BZ #2570]
1776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1777 comparisons to determine direction to adjust input.
4f9d04aa 1778
82a79e7d
RM
17792012-05-01 Roland McGrath <roland@hack.frob.com>
1780
f5a01ca9
RM
1781 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1782 output to the target.
1783
90fe4186
RM
1784 * scripts/localplt.awk: New file.
1785 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1786 (check-localplt-CFLAGS): Variable removed.
1787 ($(all-built-dso:=.jmprel)): New static pattern rule.
1788 (generated): Add those targets.
1789 (localplt-built-dso): New variable.
1790 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1791
1792 * elf/check-localplt.c: File removed.
1793
82397ed6
RM
1794 * scripts/check-execstack.awk: New file.
1795 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1796 (check-execstack-CFLAGS): Variable removed.
1797 ($(objpfx)check-execstack.h): Target removed.
1798 ($(objpfx)execstack-default): New target.
1799 (generated): Add that instead of check-execstack.h.
1800 ($(all-built-dso:=.phdr)): New static pattern rule.
1801 (generated): Add those targets.
1802 * elf/check-execstack.c: File removed.
1803
82a79e7d
RM
1804 * scripts/check-textrel.awk: New file.
1805 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1806 (check-textrel-CFLAGS): Variable removed.
1807 (all-built-dso): Use := to define.o
1808 ($(all-built-dso:=.dyn)): New static pattern rule.
1809 (generated): Add those targets.
1810 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1811 * config.make.in (READELF): New substituted variable.
1812 * elf/check-textrel.c: File removed.
1813
62fde54f 18142012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1815
615605c9
JM
1816 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1817 allow.
1818 * conform/data/ctype.h-data [C99-based standards] (isblank):
1819 Expect function.
1820 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1821 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1823 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1824 Specify type. Require positive value.
1825 (EILSEQ): Likewise.
1826 (ERANGE): Likewise.
1827 [ISO || POSIX] (EILSEQ): Do not expect.
1828 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1829 Specify type. Require positive value.
1830 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1835 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1837 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1840 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1843 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1844 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1845 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1846 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1847 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1848 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1849 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1850 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1851 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1852 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1853 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1854 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1855 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1856 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1857 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1858 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1859 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1860 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1861 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1862 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1863 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1864 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1865 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1866 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1867 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1868 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1869 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1870 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1871 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1872 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1873 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1874 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1875 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1876 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1877 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1878 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1879 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1880 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1881 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1882 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1883 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1884 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1890 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1891 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1892 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1895 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1896 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1897 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1898 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1899 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1900 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1904 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1905 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1906 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1907 Require >= 2.
1908 (FLT_ROUNDS): Expect as macro, not constant.
1909 (FLT_MANT_DIG): Use macro-int-constant.
1910 (DBL_MANT_DIG): Likewise.
1911 (LDBL_MANT_DIG): Likewise.
1912 (FLT_DIG): Likewise.
1913 (DBL_DIG): Likewise.
1914 (LDBL_DIG): Likewise.
1915 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1916 (DBL_MIN_EXP): Likewise.
1917 (LDBL_MIN_EXP): Likewise.
1918 (FLT_MAX_EXP): Use macro-int-constant.
1919 (DBL_MAX_EXP): Likewise.
1920 (LDBL_MAX_EXP): Likewise.
1921 (FLT_MAX_10_EXP): Likewise.
1922 (DBL_MAX_10_EXP): Likewise.
1923 (LDBL_MAX_10_EXP): Likewise.
1924 (FLT_MAX): Use macro-constant.
1925 (DBL_MAX): Likewise.
1926 (LDBL_MAX): Likewise.
1927 (FLT_EPSILON): Use macro-constant. Give upper bound.
1928 (DBL_EPSILON): Likewise.
1929 (LDBL_EPSILON): Likewise.
1930 (FLT_MIN): Likewise.
1931 (DBL_MIN): Likewise.
1932 (LDBL_MIN): Likewise.
1933 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1934 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1935 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1936 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1937 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1938 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1939 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1940 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1941 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1942 [ISO11] (FLT_TRUE_MIN): Likewise.
1943 [ISO11] (LDBL_TRUE_MIN): Likewise.
1944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1945 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1946 (SCHAR_MIN): Use macro-int-constant. Specify type.
1947 (SCHAR_MAX): Likewise.
1948 (UCHAR_MAX): Likewise.
1949 (CHAR_MIN): Likewise.
1950 (CHAR_MAX): Likewise.
1951 (MB_LEN_MAX): Use macro-int-constant.
1952 (SHRT_MIN): Use macro-int-constant. Specify type.
1953 (SHRT_MAX): Likewise.
1954 (USHRT_MAX): Likewise.
1955 (INT_MAX): Likewise.
1956 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1957 bound negative.
1958 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1959 bound with "U".
1960 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1961 bound with "L".
1962 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1963 bound negative. Suffix upper bound with "L".
1964 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1965 bound with "UL".
1966 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1967 Specify type.
1968 [C99-based standards] (LLONG_MAX): Likewise.
1969 [C99-based standards] (ULLONG_MAX): Likewise.
1970 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1971 == 0.
1972 [ISO11] (max_align_t): Require type.
1973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1974
c9140a62
JM
1975 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1976 from $CFLAGS, without defining away __attribute__ calls.
1977 (checknamespace): Use $CFLAGS_namespace.
1978
9af0bf29
JM
1979 * conform/conformtest.pl (@keywords): Only include C99 keywords
1980 for standards based on C99 or C11.
1981
343222a2
JM
1982 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1983 Disable tests.
1984 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1985 UNIX98]: Likewise.
1986
661f8cf0
JM
1987 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1988 usability of symbols in #if.
1989
ee74b9cb
JM
1990 * conform/conformtest.pl: If macro or constant types start
1991 "promoted:", expect the symbol to be of the following type
1992 promoted by the integer promotions.
62fde54f 1993
aafc49b3
JM
1994 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1995 in one place. Also handle "macro-constant".
1996
fefdf574
JM
1997 * conform/conformtest.pl: Only accept expected macro values with
1998 "==". Parse all "macro" lines in one place.
1999 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2000
f2d922fe
JM
2001 * conform/conformtest.pl: Handle braced types on "constant" lines
2002 instead of handling "typed-constant".
2003 * conform/data/signal.h-data: Use "constant" instead of
2004 "typed-constant".
2005
d22956c9
JM
2006 * conform/conformtest.pl: Handle "optional-" at start of lines in
2007 one place rather than duplicating several cases. Handle each
2008 format of "macro" line with initial "optional-".
2009
028e2e38
JM
2010 * conform/conformtest.pl: Only accept expected constant or
2011 optional-constant values with "==". Parse all "constant" lines in
2012 one place. Parse all "optional-constant" lines in one place.
2013 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2014 * conform/data/fmtmsg.h-data: Likewise.
2015 * conform/data/netinet/in.h-data: Likewise.
2016 * conform/data/tar.h-data: Likewise.
2017 * conform/data/limits.h-data: Use "==" form on "constant" and
2018 "optional-constant" lines.
2019
1b8f2850
JM
2020 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2021 Use -std=c99 for XOPEN2K.
2022 (@knownproblems): Remove.
2023 (newtoken): Don't check %isknown.
2024
a05a144b
JM
2025 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2026 Do not expect macro.
2027 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2039 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2040 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2057 [XPG3] (acosh): Likewise.
2058 [XPG3] (asinh): Likewise.
2059 [XPG3] (atanh): Likewise.
2060 [XPG3] (cbrt): Likewise.
2061 [XPG3] (expm1): Likewise.
2062 [XPG3] (ilogb): Likewise.
2063 [XPG3] (log1p): Likewise.
2064 [XPG3] (logb): Likewise.
2065 [XPG3] (nextafter): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2068 [XPG3] (remainder): Likewise.
2069 [XPG3] (rint): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2077 [UNIX98 || XOPEN2K] (scalb): Expect.
2078 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2079 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2159 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2160 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2161 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2164 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2165 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2167 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2171 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2179 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2215
73c5ebe3
JM
2216 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2217 _XOPEN_SOURCE_EXTENDED for XPG4.
2218
39c33b6c
JM
2219 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2220
62fde54f
JM
2221 * Makeconfig (localtime): Remove variable.
2222 (inst_localtime-file): Likewise.
2223
0741d64c
AS
22242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2225
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2227 Update.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2229 Update.
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2231 Update.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2233 Update.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2235 Update.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2237 Update.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2239 Update.
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2241 Update.
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2243 Update.
2244
7cb029ee
JM
22452012-05-01 Joseph Myers <joseph@codesourcery.com>
2246
2247 [BZ #2550]
2248 [BZ #2570]
2249 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2250 comparisons to determine direction to adjust input.
2251 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2252 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2254 Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2256 Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2258 Likewise.
2259 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2260 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2261 Likewise.
2262 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2263 Likewise.
2264 * math/libm-test.inc (nexttoward_test): Add more tests.
2265
412bd966
AS
22662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2267
2268 [BZ #14040]
2269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2270 in version GLIBC_2.1, not GLIBC_2.0.
2271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2272 Likewise.
2273
9568c0c2
JM
22742012-04-30 Joseph Myers <joseph@codesourcery.com>
2275
adfbc8ac
JM
2276 [BZ #13942]
2277 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2278 (1 - x) * (1 + x).
2279 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2280 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2281 * math/libm-test.inc (acos_test): Add more tests.
2282 (asin_test): Likewise.
2283 * sysdeps/i386/fpu/libm-test-ulps: Update.
2284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2285
5ba3cc69
JM
2286 [BZ #14034]
2287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2288 of square root.
2289 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2290 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2291 * math/libm-test.inc (acos_test_tonearest): New function.
2292 (acos_test_towardzero): Likewise.
2293 (acos_test_downward): Likewise.
2294 (acos_test_upward): Likewise.
2295 (asin_test_tonearest): Likewise.
2296 (asin_test_towardzero): Likewise.
2297 (asin_test_downward): Likewise.
2298 (asin_test_upward): Likewise.
2299 (main): Call the new functions.
2300 * sysdeps/i386/fpu/libm-test-ulps: Update.
2301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2302
9568c0c2
JM
2303 [BZ #13884]
2304 [BZ #13924]
2305 * math/e_exp10.c: Include <float.h>.
2306 (__ieee754_exp10): Handle underflow here rather than multiplying
2307 large negative argument by M_LN10.
2308 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2309 of __ieee754_expf.
2310 * math/e_exp10l.c: Include <float.h>.
2311 (__ieee754_exp10l): Handle underflow here rather than multiplying
2312 large negative argument by M_LN10l.
2313 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2314 spurious overflow exception on underflow.
2315
5ac3ea17
MP
23162012-04-29 Marek Polacek <polacek@redhat.com>
2317
2318 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2319 (__fortify_function): New macro.
2320 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2321 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2322 __extern_always_inline.
2323 * libio/bits/stdio2.h: Likewise.
2324 * libio/bits/stdio.h: Likewise.
2325 * string/string.h: Likewise.
2326 * string/bits/string3.h: Likewise.
2327 * include/stdio.h: Likewise.
2328 * stdlib/bits/stdlib.h: Likewise.
2329 * stdlib/stdlib.h: Likewise.
2330 * rt/bits/mqueue2.h: Likewise.
2331 * rt/mqueue.h: Likewise.
2332 * posix/bits/unistd.h: Likewise.
2333 * posix/unistd.h: Likewise.
2334 * io/bits/poll2.h: Likewise.
2335 * io/bits/fcntl2.h: Likewise.
2336 * io/fcntl.h: Likewise.
2337 * io/sys/poll.h: Likewise.
2338 * misc/bits/syslog.h: Likewise.
2339 * misc/bits/syslog-ldbl.h: Likewise.
2340 * misc/sys/syslog.h: Likewise.
2341 * socket/bits/socket2.h: Likewise.
2342 * socket/sys/socket.h: Likewise.
2343 * debug/tst-chk1.c: Likewise.
2344 * wcsmbs/bits/wchar2.h: Likewise.
2345 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2346 * wcsmbs/wchar.h: Likewise.
2347
ecf0ebfb
AJ
23482012-04-29 Andreas Jaeger <aj@suse.de>
2349
2350 * Makerules (tests): Remove enable-check-abi protection.
2351 (check-abi-warn): Remove.
2352 (check-abi-%): Remove check-abi-warn usage.
2353
2354 * configure.in: Remove check-abi configure option.
2355 * configure: Regenerated.
2356 * config.make.in (enable-check-abi): Remove.
2357
6d5c57fa
AS
23582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2359
24c5d07e 2360 [BZ #14033]
ded5180a
AS
2361 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2362 double functions to double *_finite functions.
2363
7e0d315d
AS
2364 [BZ #13941]
2365 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2366 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2367 LDBL_MIN_EXP.
2368 * stdio-common/Makefile (tests): Add tst-sprintf3.
2369 * stdio-common/tst-sprintf3.c: New file.
2370
6d5c57fa
AS
2371 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2372 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2373
0749ff8b
JM
23742012-04-28 Joseph Myers <joseph@codesourcery.com>
2375
2376 * conform/conformtest.pl: Remove duplicate typed-constant
2377 handling.
2378
8dbd5d7b
DM
23792012-04-28 David S. Miller <davem@davemloft.net>
2380
2381 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2382 (check-abi-%): Remove AWK script prerequisite and explicit
2383 abilist directory.
2384 (check-abi): Rewrite to just diff the symlist with the abilist.
2385 (config-tls, config-abi-config): Delete, no longer used.
2386 (update-abi-%): Remove AWK script and explicit abilist directory.
2387 (update-abi): Rewrite to simply compare and conditionally copy the
2388 symlist and the sysdep abilist file. Remove update-abi-config
2389 checks.
2390 * abilist/ld.abilist: Remove.
2391 * abilist/libBrokenLocale.abilist: Remove.
2392 * abilist/libanl.abilist: Remove.
2393 * abilist/libcrypt.abilist: Remove.
2394 * abilist/libdl.abilist: Remove.
2395 * abilist/librt.abilist: Remove.
2396 * abilist/libthread_db.abilist: Remove.
2397 * abilist/libutil.abilist: Remove.
2398 * scripts/extract-abilist.awk: Remove.
2399 * scripts/merge-abilist.awk: Remove.
2400 * sysdeps/generic/libcidn.abilist: New file.
2401 * sysdeps/generic/libnss_compat.abilist: New file.
2402 * sysdeps/generic/libnss_db.abilist: New file.
2403 * sysdeps/generic/libnss_dns.abilist: New file.
2404 * sysdeps/generic/libnss_files.abilist: New file.
2405 * sysdeps/generic/libnss_hesiod.abilist: New file.
2406 * sysdeps/generic/libnss_nis.abilist: New file.
2407 * sysdeps/generic/libnss_nisplus.abilist: New file.
2408 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2409 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2410 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2411 file.
2412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2413 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2414 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2415 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2416 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2417 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2418 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2419 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2420 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2421 file.
2422 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2423 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2424 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2425 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2426 file.
2427 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2428 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2429 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2430 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2431 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2432 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2433 file.
2434 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2435 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2436 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2437 file.
2438 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2440 New file.
2441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2442 New file.
2443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2444 New file.
2445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2446 New file.
2447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2448 New file.
2449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2450 New file.
2451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2452 New file.
2453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2454 New file.
2455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2456 New file.
2457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2458 New file.
2459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2460 New file.
2461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2462 New file.
2463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2464 New file.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2466 file.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2468 New file.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2470 New file.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2472 file.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2474 New file.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2476 New file.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2478 file.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2480 New file.
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2482 New file.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2484 New file.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2486 New file.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2488 New file.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2490 New file.
2491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2493 file.
2494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2495 New file.
2496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2497 file.
2498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2499 file.
2500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2501 file.
2502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2503 file.
2504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2505 file.
2506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2507 New file.
2508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2509 file.
2510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2511 file.
2512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2513 New file.
2514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2515 file.
2516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2518 file.
2519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2520 New file.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2522 file.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2524 file.
2525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2526 file.
2527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2528 file.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2530 file.
2531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2532 New file.
2533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2534 file.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2536 file.
2537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2538 New file.
2539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2540 file.
2541 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2542 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2543 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2544 file.
2545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2546 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2547 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2549 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2550 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2551 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2552 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2553 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2554 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2557 file.
2558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2559 New file.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2561 file.
2562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2563 file.
2564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2565 file.
2566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2567 file.
2568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2569 file.
2570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2571 New file.
2572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2573 New file.
2574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2575 file.
2576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2577 New file.
2578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2579 file.
2580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2582 file.
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2584 New file.
2585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2586 file.
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2588 file.
2589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2590 file.
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2592 file.
2593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2594 file.
2595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2596 New file.
2597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2598 New file.
2599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2600 file.
2601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2602 New file.
2603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2604 file.
2605
41d73a1b
JM
26062012-04-28 Joseph Myers <joseph@codesourcery.com>
2607
2608 * conform/conformtest.pl: Fix typo in handling typed-constant from
2609 allow-header.
2610
28aeeda4
JM
26112012-04-27 Joseph Myers <joseph@codesourcery.com>
2612
adae8f5e
JM
2613 * README: Cut down references to pre-2.6 Linux kernels and
2614 Linuxthreads. Update lists of configurations in libc and ports
2615 and sort alphabetically. Say "or newer" with Linux kernel version
2616 requirements.
2617
28aeeda4
JM
2618 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2619
a462cb63
RA
26202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2621
2622 [BZ #887]
2623 * math/libm-test.inc (logb_test_downward): New test to expose
2624 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2625 rounding mode.
2626
6ad3493e
JM
26272012-04-27 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #14027]
2630 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2631 to be done.
2632 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2633 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2634
2ce4f015
JM
26352012-04-26 Joseph Myers <joseph@codesourcery.com>
2636
5aeb141a
JM
2637 * sysdeps/unix/i386/brk.S: Remove file.
2638 * sysdeps/unix/i386/dl-brk.S: Likewise.
2639 * sysdeps/unix/i386/pipe.S: Likewise.
2640 * sysdeps/unix/i386/sigreturn.S: Likewise.
2641 * sysdeps/unix/i386/syscall.S: Likewise.
2642 * sysdeps/unix/i386/vfork.S: Likewise.
2643 * sysdeps/unix/i386/wait.S: Likewise.
2644
7143acae
JM
2645 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2646 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2647
2ce4f015
JM
2648 * configure.in (arm*-none*): Do not allow without
2649 --enable-hacker-mode.
2650 (netbsd*): Remove case setting base_os.
2651 (386bsd*): Likewise.
2652 (freebsd*): Likewise.
2653 (bsdi*): Likewise.
2654 (osf*): Likewise.
2655 (sunos*): Likewise.
2656 (ultrix*): Likewise.
2657 (newsos*): Likewise.
2658 (dynix*): Likewise.
2659 (*bsd*): Likewise.
2660 (sysv*): Likewise.
2661 (isc*): Likewise.
2662 (esix*): Likewise.
2663 (sco*): Likewise.
2664 (minix*): Likewise.
2665 (irix4*): Likewise.
2666 (irix6*): Likewise.
2667 (solaris[2-9]*): Likewise.
2668 (none): Likewise.
2669 * configure: Regenerated.
2670
0ac229c8
AZ
26712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672
2673 [BZ #11521]
2674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2675 overflow or cancellation in calculating denominator.
2676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2678 down expression to avoid unexpected rounding in newer GCCs.
2679 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2680
33f244f4
DM
26812012-04-26 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2684 long-double compat symbols.
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2698
cfa1f3e8
DM
26992012-04-25 David S. Miller <davem@davemloft.net>
2700
2701 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2702 HWCAP_* values only after the memory barriers have been defined.
2703 (atomic_full_barrier): Define.
2704 (atomic_read_barrier): Define.
2705 (atomic_write_barrier): Define.
2706
6e236b92
SP
27072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2708
2709 * shlib-versions: Add libgcc_s version information.
2710 * sysdeps/generic/libgcc_s.h: Remove.
2711 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2712 libgcc_s.h.
2713 * sysdeps/gnu/unwind-resume.c: Likewise.
2714 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2715
aab39a09
DM
27162012-04-25 David S. Miller <davem@davemloft.net>
2717
2718 * sysdeps/unix/sparc/brk.S: Delete.
2719 * sysdeps/unix/sparc/dl-brk.S: Delete.
2720 * sysdeps/unix/sparc/pipe.S: Delete.
2721 * sysdeps/unix/sparc/sysdep.S: Delete.
2722 * sysdeps/unix/sparc/sysdep.h: Delete.
2723 * sysdeps/unix/sparc/vfork.S: Delete.
2724 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2725 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2727 ret_ERRVAL, r0, r1, MOVE): Define.
2728 (JUMPTARGET): Remove.
2729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2730 sysdeps/unix/sparc/sysdep.h
2731 (ENTRY, END): Remove.
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2733
a3cc4f48
JM
27342012-04-25 Joseph Myers <joseph@codesourcery.com>
2735
2ed8cda2
JM
2736 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2737 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2738 -DIS_IN_build.
2739
35d76d59
JM
2740 * timezone/README: Update upstream location and email address for
2741 tzcode and tzdata.
2742 * timezone/zdump.c: Update from tzcode 2012b.
2743 * timezone/zic.c: Likewise.
2744
a3cc4f48
JM
2745 * configure.in (libc_cv_as_needed): Remove test.
2746 * configure: Regenerated.
2747 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2748 conditional definition.
2749 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2750 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2751 * config.make.in (have-as-needed): Remove variable.
2752
ceab42c3
SP
27532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2754 Paul Pluzhnikov <ppluzhnikov@google.com>
2755
2756 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2757 strings correctly.
2758
3ce2865f
CLT
27592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2760
2761 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2762 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2763 * sysdeps/sh/strlen.S: Likewise.
2764
f37e0d68
JM
27652012-04-24 Joseph Myers <joseph@codesourcery.com>
2766
ae186e9a
JM
2767 * sysdeps/unix/fork.S: Remove file.
2768 * sysdeps/unix/i386/fork.S: Likewise.
2769 * sysdeps/unix/sparc/fork.S: Likewise.
2770
b96914af
JM
2771 * sysdeps/unix/system.c: Remove file.
2772 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2773
f37e0d68
JM
2774 * sysdeps/unix/getegid.S: Remove file.
2775 * sysdeps/unix/geteuid.S: Likewise.
2776
87ef29ca
RM
27772012-04-24 Roland McGrath <roland@hack.frob.com>
2778
83bcd236
RM
2779 * scripts/check-localplt.awk: New file.
2780 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2781 of diff.
2782 * scripts/data/localplt-generic.data: Add a comment.
2783
87ef29ca
RM
2784 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2785 NODE when __dir_mkfile failed.
2786 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2787 Reported by Ludovic Courtès <ludo@gnu.org>.
2788
e5a6e567
AJ
27892012-04-24 Andreas Jaeger <aj@suse.de>
2790
2791 * Makerules (common-clean): Also remove gen-as-const-headers
2792 files.
2793
c1820385
JM
27942012-04-24 Joseph Myers <joseph@codesourcery.com>
2795
2796 * Makerules (native-compile): Do not change working directory for
2797 build. Use $(OUTPUT_OPTION) in command.
2798 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2799
94e02fc4
AZ
28002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 [BZ #13886]
2803 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2804 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2805 * math/libm-test.inc (floor_test): Add more tests.
2806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2807
3a533ca3
JM
28082012-04-24 Joseph Myers <joseph@codesourcery.com>
2809
940ab4b3
JM
2810 * sysdeps/unix/getdents.c: Remove file.
2811 * sysdeps/unix/sysv/getdents.c: Likewise.
2812 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2813
90e037bd
JM
2814 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2815 sysdeps/unix/mman/syscalls.list.
2816 (mmap): Likewise.
2817 (mprotect): Likewise.
2818 (msync): Likewise.
2819 (munmap): Likewise.
2820 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2821 * sysdeps/unix/mman/syscalls.list: Remove.
2822 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2823
3a533ca3
JM
2824 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2825 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2826 * configure: Regenerated.
2827 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2828 $(libgcc_s_suffix).
2829 * config.make.in (libgcc_s_suffix): Remove variable.
2830
1ad743de
JM
28312012-04-23 Joseph Myers <joseph@codesourcery.com>
2832
4ad451e2
JM
2833 * sysdeps/unix/sysv/gethostname.c: Move to ...
2834 * sysdeps/posix/gethostname.c: ... here.
2835
5e37ce39
JM
2836 * sysdeps/unix/execve.S: Remove file.
2837
1ad743de
JM
2838 * sysdeps/unix/_exit.S: Remove file.
2839
4e681b5b
AJ
28402012-04-23 Andreas Jaeger <aj@suse.de>
2841
2842 [BZ #13739]
2843 * manual/Makefile: Remove make dist support, there's no
2844 need for a stand-alone documentation tar ball.
2845 (TEXI2DVI): Define always, it's not in Makeconfig.
2846 (dist): Removed.
2847 (tar-it): Removed.
2848 (edition): Removed.
2849 (glibc-doc-$(edition).tar): Removed
2850 (%.Z): Removed.
2851 (%.gz): Removed.
2852 (%.uu): Removed.
2853 (ETAGS): Remove, it's in Makeconfig.
2854 (move-if-change): Remove, it's in Makeconfig.
2855
c0baea34
PE
28562013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2857
2858 [BZ #13970]
2859 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2860 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2861 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2862 (strtod_l, strtof_l, strtold_l): Remove __wur.
2863 It is not necessarily an error to ignore strtol's return value.
2864 One can reliably look at the stored endptr to decide whether
2865 the number had valid syntax.
2866
7c0616fa
AJ
28672012-04-21 Andreas Jaeger <aj@suse.de>
2868
803cb6b7 2869 [BZ #13739]
7c0616fa
AJ
2870 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2871
b0fe253f
JM
28722012-04-21 Joseph Myers <joseph@codesourcery.com>
2873
2874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2875 * sysdeps/unix/sysv/Versions: Remove file.
2876
8280f22d
MT
28772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2878
2879 [BZ #13927]
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2881
75ce411f 28822012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2883
2884 [BZ #7064]
2885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2886 version from __vm86.
2887
097d59fa
JM
28882012-04-20 Joseph Myers <joseph@codesourcery.com>
2889
a90f3bcb
JM
2890 * sysdeps/unix/common/lxstat.c: Remove file.
2891 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2892
edc7ea78
JM
2893 * sysdeps/unix/sysv/Makefile: Remove file.
2894
cb78c221
JM
2895 * sysdeps/unix/sysv/direct.h: Remove file.
2896
efa6a45f
JM
2897 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2898 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2899 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2900 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2901 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2902 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2903 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2904
9c9f2d0c
JM
2905 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2906
4541c83b
JM
2907 * sysdeps/unix/xmknod.c: Remove file.
2908 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2909
f5d153a0
JM
2910 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2911
aa746595
JM
2912 * sysdeps/unix/sysv/i386/time.S: Remove file.
2913
cce5905e
JM
2914 * sysdeps/unix/fxstat.c: Remove file.
2915 * sysdeps/unix/xstat.c: Likewise.
2916 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2917
37fa3841
JM
2918 * sysdeps/unix/sysv/sigaction.c: Remove file.
2919
ff1962a3
JM
2920 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2921 (sysdep_headers): Remove variable.
2922 [termio.h not in sysdep_headers] (generated): Likewise.
2923 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2924 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2925 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2926 * sysdeps/unix/sysv/tcflow.c: Likewise.
2927 * sysdeps/unix/sysv/tcflush.c: Likewise.
2928 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2929 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2930 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2931 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2932 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2933
e7740d31
JM
2934 * sysdeps/unix/siglist.c: Remove file.
2935
ee06f18b
JM
2936 * sysdeps/unix/getppid.S: Remove file.
2937
097d59fa
JM
2938 * sysdeps/unix/mkdir.c: Remove file.
2939 * sysdeps/unix/rmdir.c: Likewise.
2940
ff3d51ec
AS
29412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2942
2943 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2944 ERR_MAX value.
2945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2946 errlist-compat value.
2947
50f81fd7
DM
29482012-04-18 David S. Miller <davem@davemloft.net>
2949
2950 * sysdeps/generic/memcopy.h (reg_char): Delete.
2951 * debug/strcat_chk.c: Use char, not reg_char.
2952 * debug/strcpy_chk.c: Likewise.
2953 * debug/strncat_chk.c: Likewise.
2954 * debug/strncpy_chk.c: Likewise.
2955 * string/memchr.c: Likewise.
2956 * string/memrchr.c: Likewise.
2957 * string/rawmemchr.c: Likewise.
2958 * string/strcat.c: Likewise.
2959 * string/strchr.c: Likewise.
2960 * string/strchrnul.c: Likewise.
2961 * string/strcmp.c: Likewise.
2962 * string/strcpy.c: Likewise.
2963 * string/strncat.c: Likewise.
2964 * string/strncmp.c: Likewise.
2965 * string/strncpy.c: Likewise.
2966
8ff41c46
WS
29672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2968
2969 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2970 __builtin_memcopy is called when src and dest ranges are known to not
2971 overlap.
2972
6b652f46
WS
29732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2974
2975 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2976 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2977 fwd_align_merge macro call.
2978 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2979 bwd_align_merge macro call.
2980 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2981
b282631e
WS
29822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2983
2984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2985 bwd_align_merge macros.
2986 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2987 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2989
95aa737c
DM
29902012-04-18 David S. Miller <davem@davemloft.net>
2991
2992 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2993
7a99a614
AJ
29942012-04-18 Andreas Jaeger <aj@suse.de>
2995
2996 [BZ# 6794]
2997 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2998 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2999 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3000
3001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3002 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3003 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3004
3005 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3006 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3007 Adjust for changed ldbl-128 files.
3008
3009 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3010 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3012
e5270c23
DM
30132012-04-17 David S. Miller <davem@davemloft.net>
3014
3015 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3016
fb5e92c9
AS
30172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3018
3019 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3020 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3021 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3022 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3023 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3024 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3025
76da7265
AZ
30262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3027
3028 [BZ #6794]
3029 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3030 * math/libm-test.inc: Add ilogb errno and exception tests.
3031 * math/w_ilogb.c: New file: ilogb wrapper.
3032 * math/w_ilogbf.c: New file: ilogbf wrapper.
3033 * math/w_ilogbl.c: New file: ilogbl wrapper.
3034 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3035 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3036 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3037 exception being thrown with 0.0 as argument.
3038 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3039 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3040 exception being thrown with 0.0 as argument.
3041 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3042 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3043 exception being thrown with 0.0 as argument.
3044 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3045 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3046 exception being thrown with 0.0 as argument.
3047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3048 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3049 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3050 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3052 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3053 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3054 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3055 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3056
0396e69d
PB
30572012-04-17 Petr Baudis <pasky@ucw.cz>
3058
3059 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3060 with altivec.
3061
750b5926
MP
30622012-04-16 Marek Polacek <polacek@redhat.com>
3063
3064 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3065
751728a1
MP
30662012-04-16 Marek Polacek <polacek@redhat.com>
3067
3068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3069 operands of fdivp instruction.
3070
34a27407
L
30712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3074 * elf/tst-auditmod3b.c: Likewise.
3075 * elf/tst-auditmod4b.c: Likewise.
3076 * elf/tst-auditmod5b.c: Likewise.
3077 * elf/tst-auditmod6b.c: Likewise.
3078 * elf/tst-auditmod6c.c: Likewise.
3079 * elf/tst-auditmod7b.c: Likewise.
3080 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3081 * sysdeps/x86_64/preconfigure.in: Likewise.
3082 * sysdeps/x86_64/preconfigure: Regenerated.
3083
7e73e17d
L
30842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3087 __ILP32__.
3088
c7a6ab72
AB
30892012-04-13 Antoine Balestrat <merkil33@gmail.com>
3090
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3092 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3093
a9e8e0e0
CL
30942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3095
3096 [BZ #13973]
3097 * locale/iso-639.def: Fix gl language name. Spotted by
3098 Yaron Shahrabani.
3099
ec98af7d
RM
31002012-04-12 Roland McGrath <roland@hack.frob.com>
3101
3102 [BZ #2074]
3103 * libio/libio.h (__io_write_fn): Update comment.
3104
247c3ede
PB
31052012-04-12 Petr Baudis <pasky@ucw.cz>
3106
3107 [BZ #2074]
3108 * stdio.texi (Hook Functions): The user provided writer function
3109 is not allowed to return -1.
3110
55939d6d
DM
31112012-04-11 David S. Miller <davem@davemloft.net>
3112
3113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3114
90020f5a
MF
31152012-04-11 Mike Frysinger <vapier@gentoo.org>
3116
3117 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3118 Add a leading slash to rtkaio.
3119
288f9098
JM
31202012-04-11 Jim Meyering <meyering@redhat.com>
3121
90020f5a
MF
3122 [BZ #11959]
3123 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3124 It is not necessarily an error to ignore fwrite's return
3125 value. One can reliably use ferror to test for errors after
3126 the fact.
288f9098 3127
4be2b570
L
31282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * bits/types.h (__snseconds_t): New type.
3131 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3132
3133 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3135 (__SNSECONDS_T_TYPE): Likewise.
3136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3137 (__SNSECONDS_T_TYPE): Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3139 (__SNSECONDS_T_TYPE): Likewise.
3140
288f9098 31412012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3142
3143 [BZ #2636]
3144 * manual/time.texi (Processor Time): Return type of times is
3145 elapsed real time since an arbitrary point in the past.
3146 (CPU Time): Move CLK_TCK from here...
3147 (Processor Time): ...to here. Correct description.
3148 * manual/conf.texi (Constants for Sysconf): Correct description of
3149 _SC_CLK_TCK.
3150
d7dd4413
DM
31512012-04-10 David S. Miller <davem@davemloft.net>
3152
3153 [BZ #13967]
3154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3155 where the is a gap between DT_REL(A) and DT_JMPREL.
3156
b46068fc
L
31572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3160 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3161 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3162
73d65cc3
SP
31632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3164
3165 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3166 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3167 (dl_main): Handle --inhibit-cache.
3168 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3169 _dl_inhibit_cache.
3170 * elf/dl-load.c (_dl_map_object): Use it.
3171 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3172
bcc8d661
JM
31732012-04-09 Joseph Myers <joseph@codesourcery.com>
3174
8f9a2fae
JM
3175 [BZ #13872]
3176 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3177 (__ieee754_powl): Saturate large exponents rather than testing for
3178 overflow of y*log2(x).
3179 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3180 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3181 exceptions.
3182
bcc8d661
JM
3183 [BZ #11521]
3184 * math/s_ctan.c: Include <float.h>.
3185 (__ctan): Avoid internal overflow or cancellation in calculating
3186 denominator.
3187 * math/s_ctanf.c: Likewise.
3188 * math/s_ctanl.c: Likewise.
3189 * math/s_ctanh.c: Likewise.
3190 * math/s_ctanhf.c: Likewise.
3191 * math/s_ctanhl.c: Likewise.
3192 * math/libm-test.inc (ctan_test): Add more tests.
3193 (ctanh_test): Likewise.
3194 * sysdeps/i386/fpu/libm-test-ulps: Update.
3195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196
823fbbb4
AJ
31972012-04-09 Andreas Jaeger <aj@suse.de>
3198
03879793
AJ
3199 [BZ #6894]
3200 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3201 is an optional BSD extension.
3202
823fbbb4
AJ
3203 [BZ #10254]
3204 * manual/stdio.texi (Opening Streams): Document additional fopen
3205 parameters.
3206
8de131cb
RM
32072012-04-09 Roland McGrath <roland@hack.frob.com>
3208
3209 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3210 %eax without telling the compiler.
3211
c0ed9d7d
CD
32122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3213
3214 [BZ # 13963]
3215 * manual/install.texi: Use sourceware.org.
3216
c483f6b4
JM
32172012-04-09 Joseph Myers <joseph@codesourcery.com>
3218
d7dd9453
JM
3219 [BZ #13873]
3220 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3221 (__ieee754_pow): Generate overflow and underflow using huge*huge
3222 and tiny*tiny rather than just returning constant infinity or zero
3223 for large exponents.
3224 * math/libm-test.inc (pow_test): Require overflow exceptions for
3225 applicable cases of large exponents.
3226
c483f6b4
JM
3227 [BZ #706]
3228 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3229 (__ieee754_pow): Use iterative multiplication algorithm only for
3230 integer exponents with absolute value below 1024. Check for odd
3231 integer exponents when using algorithm for real exponents.
3232 * math/libm-test.inc (pow_test): Add more tests.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3234
d2de7579
JM
32352012-04-08 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #13705]
3238 * math/libm-test.inc (exp_test): Do not allow overflow exception
3239 on underflow test.
3240
f77f1232
AJ
32412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3242
3243 [BZ #13705]
3244 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3245 instead of __kernel_standard_f.
3246
3884932b
MF
32472012-04-08 Mike Frysinger <vapier@gentoo.org>
3248
3249 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3250 * sysdeps/x86_64/memset_chk.S: Likewise.
3251
54472e9c
AJ
32522012-04-08 Andreas Jaeger <aj@suse.de>
3253
6ab0fbfc
AJ
3254 [BZ #10153]
3255 * manual/startup.texi (Environment Access): Describe return value
3256 for putenv and setenv.
3257
61efba8c
AJ
3258 [BZ #6895]
3259 * manual/filesys.texi (Directory Entries): Add description for
3260 DT_LNK.
3261
95c3f29a
AJ
3262 [BZ #6890]
3263 * manual/filesys.texi (Directory Entries): Clarify that it's file
3264 system not operating system in the description of DT_UNKNOWN.
3265
54472e9c
AJ
3266 [BZ #6578]
3267 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3268
624254b1
SC
32692012-04-08 Stephen Compall <s11@member.fsf.org>
3270
3271 [BZ #6649]
3272 * manual/llio.texi (Opening and Closing Files): Add cross
3273 reference to explain mode argument.
3274
1e4920e0
MF
32752012-04-07 Mike Frysinger <vapier@gentoo.org>
3276
3277 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3278 * sysdeps/x86_64/memset_chk.S: Likewise.
3279
5ed848f3
DM
32802012-04-07 David S. Miller <davem@davemloft.net>
3281
3282 * elf/elf.h (R_SPARC_WDISP10): Define.
3283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3284 R_SPARC_SIZE32.
3285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3286 R_SPARC_SIZE64 and R_SPARC_H34.
3287
96154cd8
CD
32882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3289
3290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3291 conditions and remove no longer applicable assertion.
3292
9904dc47
L
32932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3294
3295 * bits/byteswap.h: Include <features.h>.
3296 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3297 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3298
f8887d0a
L
32992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * bits/byteswap.h (__bswap_16): Removed.
3302 Include <bits/byteswap-16.h> to get __bswap_16.
3303 * sysdeps/i386/bits/byteswap.h: Likewise.
3304 * sysdeps/s390/bits/byteswap.h: Likewise.
3305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3306 * bits/byteswap-16.h: New file.
3307 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3308 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3309 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3310 * string/Makefile (headers): Add bits/byteswap-16.h.
3311
62470f60
PP
33122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3313
3314 [BZ #13895]
3315 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3316 extra indirection.
3317 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3318 * nss/tst-nss-static.c: New.
3319
4dad7bab
RM
33202012-04-06 Robert Millan <rmh@gnu.org>
3321
3322 [BZ #6486]
3323 * manual/llio.texi (File Position Primitive): lseek
3324 refers to WHENCE when it really means OFFSET.
3325
e9142a17
AJ
33262012-04-06 Andreas Jaeger <aj@suse.de>
3327
2c040eff
AJ
3328 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3329 strncmp declarations.
3330
e9142a17
AJ
3331 * abilist/libc.abilist: Add __poll and __ppoll.
3332
ff9f1c5f
DM
33332012-04-05 David S. Miller <davem@davemloft.net>
3334
dcd2ae90
DM
3335 * scripts/check-local-headers.sh: Accept a host triplet in the
3336 path matched by the exclude regexp.
3337
993eb054
DM
3338 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3339 definition.
3340 * sysdeps/powerpc/powerpc32/dl-machine.h
3341 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3342 * sysdeps/s390/s390-32/dl-machine.h
3343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3344 * sysdeps/sparc/sparc32/dl-machine.h
3345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3346 * sysdeps/sparc/sparc64/dl-machine.h
3347 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3348
ff9f1c5f
DM
3349 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3350 lazy binding.
48e2e132 3351 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3352 undefined symbol errors.
3353
48e2e132 3354 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3355 DT_NEEDED entries.
3356
e80d6f94
MM
33572012-04-05 Michael Matz <matz@suse.de>
3358
3359 [BZ #13592]
3360 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3361
349fa79f
AJ
33622012-04-05 Andreas Jaeger <aj@suse.de>
3363
3364 [BZ #13908]
3365 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3366 comment.
3367
f402708f
KK
33682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3369
3370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3371 which ROUND is no valid rounding mode.
3372
2ecccfc9
KK
33732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3374
3375 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3376 read again.
3377 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3378
8a53f50f
KK
33792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3380
3381 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3382 an exception using FPU order intentionally.
3383
33842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3385
3386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3387 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3388 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3389 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3390
d653abb7
SJ
33912012-04-05 Simon Josefsson <simon@josefsson.org>
3392
3393 [BZ #12340]
3394 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3395 EINVAL when BUFLEN is too smal.
3396
c3b1bf7d
TS
33972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3398
3399 [BZ #13553]
3400 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3401 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3402
b1aa60f3
AJ
34032012-04-03 Andreas Jaeger <aj@suse.de>
3404
c3b1bf7d 3405 [BZ #13938]
67f60a26
AJ
3406 * manual/setjmp.texi (System V contexts): Fix sentence.
3407
b1aa60f3
AJ
3408 [BZ #13926]
3409 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3410 New macro for this case.
3411 [!__GNUC__] (__bswap_64): New inline function for this case.
3412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3413 * bits/byteswap.h: Likewise.
3414 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3415 ull, guard with __GLIBC_HAVE_LONG_LONG.
3416
3417 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3418 __GLIBC_HAVE_LONG_LONG.
3419
3420 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3421 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3422
39c59c35
TMQMF
34232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3424
3425 [BZ #13691]
3426 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3427 inptr and inend, rather than using last_ch.
3428
135ffda8
DM
34292012-04-02 David S. Miller <davem@davemloft.net>
3430
3431 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3432 * stdio-common/printf-parse.h (read_int): Change return type to
3433 'int', return -1 on INT_MAX overflow.
3434 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3435 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3436 overflows INT_MAX. Check for overflow of in-format-string precision
3437 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3438 SIZE_MAX not INT_MAX for integer overflow test.
3439 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3440 skip the construct in the format string but do not record anything.
3441 * stdio-common/bug22.c: Adjust to test both width/prevision
3442 INT_MAX overflow as well as total length INT_MAX overflow. Check
3443 explicitly for proper errno values.
3444
228c019e
TS
34452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3446
302cadd3
TS
3447 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3448 CHAR_MAX.
3449 * string/test-strcmp.c [! WIDE]: Likewise.
3450 * time/tst-mktime2.c: Likewise for INT_MAX.
3451 * string/test-string.h: #include <sys/param.h> for MIN.
3452
228c019e
TS
3453 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3454 * sysdeps/i386/init-first.c (init): Likewise.
3455 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3456 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3457 * sysdeps/sh/init-first.c (init): Likewise.
3458
cfa633f5
UD
34592012-04-01 Ulrich Drepper <drepper@gmail.com>
3460
3461 * po/ru.po: Update from translation team.
d1635ef8 3462 * po/vi.po: Likewise.
cfa633f5 3463
6cd0a5ea
SP
34642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3465
3466 * resolv/nss_dns/dns-host.c: Merge copyright years.
3467
4b43400f
LD
34682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3469
3470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3471 Optimize memcpy with prefetch if
3472 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3473 src, dst pointers have unequal 16 byte alignments.
3474
48c41d04
SP
34752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3476
3477 [BZ #13928]
3478 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3479 from a CNAME entry and return the minimum ttl for the query.
3480 (gaih_getanswer_slice): Likewise.
3481
b8dc394d
JL
34822012-03-30 Jeff Law <law@redhat.com>
3483
3484 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3485 due to long keys.
3486 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3487 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3488
2f5a5ed0
JL
3489 * resolv/nss_dns/dns-host.c: Update copyright year.
3490
1d39e359
UD
34912012-03-30 Ulrich Drepper <drepper@gmail.com>
3492
c030f70c 3493 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3494 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3495
1d39e359
UD
3496 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3497 comments for sendmmsg.
3498
34992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3500
3501 [BZ #13691]
3502 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3503 with only 1 character between 0x0041 and 0x01b0.
3504 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3505 * wcsmbs/tst-mbsnrtowcs.c: New file.
3506
20fde227
DM
35072012-03-29 David S. Miller <davem@davemloft.net>
3508
3509 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3510 small copies by hand.
3511
984a4237
JL
35122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3513
3514 [BZ #13761]
3515 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3516 _nss_compat_initgroups_dyn): Fall back to malloc/free
3517 for large group memberships.
3518
18c9d62b
DM
35192012-03-28 David S. Miller <davem@davemloft.net>
3520
88d85d4f
DM
3521 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3522 that branches into memcpy.
3523 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3526 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3528 bits.
3529 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3530 implementation too.
3531 * sysdeps/sparc/mempcpy.S: New file.
3532
e5aa83e1
DM
3533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3534 the IFUNC routine in the libc case.
3535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3536
88570753
DM
3537 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3538 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3539 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3540 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3541 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3542 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3543 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3544 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3545
249d7567
DM
3546 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3547 loop to 256 bytes instead of 64 bytes and fix test signedness.
3548
18c9d62b
DM
3549 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3550 * sysdeps/sparc/sparc32/Makefile: rather than here...
3551 * sysdeps/sparc/sparc64/Makefile: and here.
3552
05f3d1f6
UD
35532012-03-28 Ulrich Drepper <drepper@gmail.com>
3554
3555 * malloc/mallocbug.c: Avoid warnings about unused variables.
3556
86ae07a8
JL
35572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
3559 [BZ #13760]
3560 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3561 in the right place. Discard and retry query if response is
3562 larger than input buffer size.
3563
41bf21a1
JM
35642012-03-28 Joseph Myers <joseph@codesourcery.com>
3565
d6270972
JM
3566 [BZ #369]
3567 [BZ #2678]
3568 [BZ #3866]
3569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3570 x for large integer exponent.
3571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3572 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3573 sign of result as needed afterwards.
3574 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3576 result for underflowing pow the same as for overflow.
3577 (__kernel_standard_l): Handle powl overflow and underflow here
3578 rather than calling __kernel_standard.
3579 * math/libm-test.inc (pow_test): Add more tests.
3580
414fca03 3581 [BZ #3868]
41bf21a1
JM
3582 [BZ #13879]
3583 [BZ #13910]
3584 [BZ #13911]
3585 [BZ #13912]
3586 [BZ #13913]
3587 [BZ #13915]
3588 [BZ #13916]
3589 [BZ #13917]
3590 [BZ #13918]
3591 [BZ #13919]
3592 [BZ #13920]
3593 [BZ #13921]
3594 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3595 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3596 (__kernel_standard_l): New function.
3597 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3598 __kernel_standard.
3599 * math/w_acosl.c (__acosl): Likewise.
3600 * math/w_asinl.c (__asinl): Likewise.
3601 * math/w_atan2l.c (__atan2l): Likewise.
3602 * math/w_atanhl.c (__atanhl): Likewise.
3603 * math/w_coshl.c (__coshl): Likewise.
3604 * math/w_exp10l.c (__exp10l): Likewise.
3605 * math/w_exp2l.c (__exp2l): Likewise.
3606 * math/w_fmodl.c (__fmodl): Likewise.
3607 * math/w_hypotl.c (__hypotl): Likewise.
3608 * math/w_j0l.c (__j0l, __y0l): Likewise.
3609 * math/w_j1l.c (__j1l, __y1l): Likewise.
3610 * math/w_jnl.c (__jnl, __ynl): Likewise.
3611 * math/w_lgammal.c (__lgammal): Likewise.
3612 * math/w_log10l.c (__log10l): Likewise.
3613 * math/w_log2l.c (__log2l): Likewise.
3614 * math/w_logl.c (__logl): Likewise.
3615 * math/w_powl.c (__powl): Likewise.
3616 * math/w_remainderl.c (__remainderl): Likewise.
3617 * math/w_scalbl.c (sysv_scalbl): Likewise.
3618 * math/w_sinhl.c (__sinhl): Likewise.
3619 * math/w_sqrtl.c (__sqrtl): Likewise.
3620 * math/w_tgammal.c (__tgammal): Likewise.
3621 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3622 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3623 * math/libm-test.inc (acos_test): Add more tests.
3624 (acosh_test): Likewise.
3625 (asin_test): Likewise.
3626 (atanh_test): Likewise.
3627 (exp_test): Likewise.
3628 (exp10_test): Likewise.
3629 (exp2_test): Likewise.
3630 (expm1_test): Likewise.
3631 (lgamma_test): Likewise.
3632 (log_test): Likewise.
3633 (log10_test): Likewise.
3634 (log1p_test): Likewise.
3635 (log2_test): Likewise.
3636 (pow_test): Do not allow some spurious overflow exceptions.
3637 (sqrt_test): Add more tests.
3638 (tgamma_test): Likewise.
3639 (y0_test): Likewise.
3640 (y1_test): Likewise.
3641 (yn_test): Likewise.
3642
dd62fda6
AB
36432012-03-27 Anton Blanchard <anton@samba.org>
3644
3645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3646 MAP_HUGETLB.
3647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3650
1e3cdfda
AJ
36512012-03-27 David S. Miller <davem@davemloft.net>
3652
b855ab85
DM
3653 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3654
1e3cdfda
AJ
3655 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3656 have-as-vis3 check.
3657
36582012-03-27 Andreas Jaeger <aj@suse.de>
3659
3660 * sysdeps/x86_64/elf/configure.in: Moved to ...
3661 * sysdeps/x86_64/configure.in: ... here.
3662 * sysdeps/x86_64/elf/start.S: Moved to ...
3663 * sysdeps/x86_64/start.S: ... here.
3664 * sysdeps/x86_64/elf/configure: Delete.
3665
3666 * sysdeps/x86_64/configure.in: Merge contents from
3667 sysdeps/i386/configure.in (without i686 check).
3668
3669 * sysdeps/i386/elf/Versions: Merge into ...
3670 * sysdeps/i386/Versions: ... this.
3671 * sysdeps/i386/elf/Versions: Delete file.
3672 * sysdeps/i386/elf/start.S: Moved to ...
3673 * sysdeps/i386/start.S: ...here.
3674 * sysdeps/i386/elf/configure.in: Merge into...
3675 * sysdeps/i386/configure.in: ...here.
3676 * sysdeps/i386/elf/configure.in: Delete file.
3677 * sysdeps/i386/elf/configure: Delete file.
3678
3679 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3680 * debug/backtracesyms.c: ... here.
3681 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3682 * debug/backtracesymsfd.c: ... here.
3683 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3684 * sysdeps/generic/ifunc-sel.h: ... here.
3685
3686 * sysdeps/unix/i386/start.c: Delete file.
3687 * sysdeps/unix/sparc/start.c: Delete file.
3688 * sysdeps/unix/start.c: Delete file.
3689
3690 * sysdeps/sh/elf/configure.in: Moved to ...
3691 * sysdeps/sh/configure.in: ... here.
3692 * sysdeps/sh/elf/start.S: Moved to ...
3693 * sysdeps/sh/start.S: ... here.
3694 * sysdeps/sh/elf/configure: Delete file.
3695
3696 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3697 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3698 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3699 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3700 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3701 * sysdeps/powerpc/powerpc64/start.S: here.
3702 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3703 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3704 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3705 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3706 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3707
3708 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3709 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3710 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3711 * sysdeps/powerpc/powerpc32/start.S: ... here.
3712 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3713 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3714 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3715
3716 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3717 * sysdeps/powerpc/ifunc-sel.h: ... here.
3718 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3719 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3720
3721 * sysdeps/sparc/elf/configure.in: Moved to ...
3722 * sysdeps/sparc/configure.in: ... here.
3723 * sysdeps/sparc/elf/configure: Delete file.
3724 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3725 * sysdeps/sparc/sparc32/start.S: ... here.
3726 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3727 * sysdeps/sparc/sparc64/start.S: ... here.
3728 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3729 * sysdeps/sparc/sparc32/Makefile: ... this.
3730 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3731 * sysdeps/sparc/sparc64/Makefile: ... this.
3732
3733 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3734 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3735 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3736 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3737 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3738 * sysdeps/s390/s390-32/setjmp.S: ... here.
3739 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3740 * sysdeps/s390/s390-32/configure.in: ... here.
3741 * sysdeps/s390/s390-32/elf/configure: Delete file.
3742 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3743 * sysdeps/s390/s390-32/start.S: ... here.
3744
3745 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3746 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3747 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3748 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3749 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3750 * sysdeps/s390/s390-64/setjmp.S: ... here.
3751 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3752 * sysdeps/s390/s390-64/configure.in: ... here
3753 * sysdeps/s390/s390-64/elf/configure: Delete file.
3754 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3755 * sysdeps/s390/s390-64/start.S: ... here.
3756 * sysdeps/s390/s390-64/elf/configure: Delete.
3757
3758 * configure.in: Remove support for elf directories in sysdeps.
3759
3760 * configure: Regenerated.
3761 * sysdeps/i386/configure: Regenerated.
3762 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3763 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3764 * sysdeps/s390/s390-32/configure: Regenerated.
3765 * sysdeps/s390/s390-64/configure: Regenerated.
3766 * sysdeps/sh/configure: Regenerated.
3767 * sysdeps/sparc/configure: Regenerated.
3768 * sysdeps/x86_64/configure: Regenerated.
3769
a3f61311
AS
37702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3771
c876e002
AS
3772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3773
a3f61311
AS
3774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3775 denormal result into account.
3776
ac4c54f0
RM
37772012-03-25 Roland McGrath <roland@hack.frob.com>
3778
3779 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3780 Reported by Allan McRae <allan@archlinux.org>.
3781
6a9b9c02
JL
37822012-03-23 Jeff Law <law@redhat.com>
3783
3784 * nss/getnssent.c (__nss_getent): Fix typo.
3785
4c42a0c1
DM
37862012-03-23 David S. Miller <davem@davemloft.net>
3787
3788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3789
1532c7ac
L
37902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3793 to pad to uint64_t for each field.
3794 (dl_tls_index): Replace unsigned long with uint64_t.
3795
3ff42526
PP
37962012-03-23 Daniel Jacobowitz <dmj@google.com>
3797 Paul Pluzhnikov <ppluzhnikov@google.com>
3798
3799 [BZ #6528]
3800 * grp/Makefile (otherlibs): Don't set it.
3801 * inet/Makefile (otherlibs): Likewise.
3802 * login/Makefile (otherlibs): Likewise.
3803 * nscd/Makefile (otherlibs): Likewise.
3804 * posix/Makefile (otherlibs): Likewise.
3805 * pwd/Makefile (otherlibs): Likewise.
3806 * rt/Makefile (otherlibs): Likewise.
3807 * sunrpc/Makefile (otherlibs): Likewise.
3808 * nss/Makefile (otherlibs): Likewise.
3809 Add libnss_files to routines and static-only-routines.
3810 ($(objpfx)getent): Remove rule.
3811 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3812 static-only-routines.
3813
7c69cd14
JM
38142012-03-22 Joseph Myers <joseph@codesourcery.com>
3815
3816 [BZ #13892]
3817 * math/s_cexp.c: Include <float.h>.
3818 (__cexp): Handle exp result overflowing not necessarily
3819 overflowing both real and imaginary parts of result.
3820 * math/s_cexpf.c: Likewise.
3821 * math/s_cexpl.c: Likewise.
3822 * math/libm-test.inc (cexp_test): Add more tests.
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825
81b035fe
L
38262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * include/link.h (ELFW): New macro.
3829 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3830 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3831
1da7940c
L
38322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3835 with uint64_t.
3836
b749dbb9
L
38372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3840 declaration.
3841 (struct La_x32_retval): Likewise.
3842
2ff87f3f
L
38432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3844
3845 * sysdeps/x86_64/preconfigure.in: New file.
3846 * sysdeps/x86_64/preconfigure: New generated file.
3847
c0df8e69
JM
38482012-03-22 Joseph Myers <joseph@codesourcery.com>
3849
48e44791
JM
3850 [BZ #13824]
3851 * math/e_exp2l.c: Include <float.h>.
3852 (__ieee754_exp2l): Handle overflow and underflow cases
3853 separately. Only pass fractional part of argument to
3854 __ieee754_expl.
3855 * math/libm-test.inc (exp2_test): Add more tests.
3856
c0df8e69
JM
3857 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3858 negating x to take absolute value.
3859 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3860 Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3863 Likewise.
3864 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3865 computing low part if x was negated.
3866 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3867
c8e43ba7
L
38682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3871 la_x32_gnu_pltexit.
3872 (pltexit): Cast int_retval to ptrdiff_t.
3873 * elf/tst-auditmod3b.c: Likewise.
3874 * elf/tst-auditmod4b.c: Likewise.
3875 * elf/tst-auditmod5b.c: Likewise.
3876 * elf/tst-auditmod6b.c: Likewise.
3877 * elf/tst-auditmod6c.c: Likewise.
3878 * elf/tst-auditmod7b.c: Likewise.
3879
3880 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3881 and x32_gnu_pltexit.
3882
3883 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3884 __ELF_NATIVE_CLASS.
3885 (La_x32_regs): New macro.
3886 (La_x32_retval): Likewise.
3887 (la_x32_gnu_pltenter): New function prototype.
3888 (la_x32_gnu_pltexit): Likewise.
3889
7998fa78
AS
38902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3891
dcb33988
AS
3892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3893 exponent.
3894
233fc563
AS
3895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3896
7998fa78
AS
3897 * configure.in (libc_cv_cc_nofma): Check for option to disable
3898 generation of FMA instructions.
3899 * configure: Regenerate.
3900 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3901 * sysdeps/ieee754/dbl-64/Makefile: New file.
3902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3903 Remove brandred-fma4.
3904 (CFLAGS-brandred-fma4.c): Remove.
3905 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3907 define.
3908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3909 define.
3910
8e95c99a
L
39112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3914 LLONG_MAX != LONG_MAX.
3915 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3916 (_fitoa_word): Likewise.
3917 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3918 LLONG_MAX != LONG_MAX.
3919 * stdio-common/_itowa.h: Include <_itoa.h>.
3920 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3921 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3922 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3923 only if not defined.
3924 (_ITOA_WORD_TYPE): Likewise.
3925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3926 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3927
6f4db457
DM
39282012-03-21 David S. Miller <davem@davemloft.net>
3929
3930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3931
7785fe5a
L
39322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3935 of x86_64 when setting libc_cv_slibdir, libdir and
3936 libc_cv_localedir.
3937 * sysdeps/unix/sysv/linux/configure: Regenerated.
3938
4535cd55
JM
39392012-03-21 Joseph Myers <joseph@codesourcery.com>
3940
3941 * manual/lang.texi (Old Varargs): Remove section.
3942 (How Variadic): Update menu.
3943 (va_start): Do not mention varargs.h.
3944
17228132
TS
39452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3946 Joseph Myers <joseph@codesourcery.com>
3947
3948 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3949 link test.
3950 * configure: Regenerated.
3951
8149f976
TS
39522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3953
05f3d1f6
UD
3954 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3955 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3956 conformtest.pl
8149f976 3957
1a4ac776
JM
39582012-03-21 Joseph Myers <joseph@codesourcery.com>
3959
be22ce65
JM
3960 * NOTES: Remove.
3961 * Makefile (files-for-dist): Remove NOTES.
3962 (NOTES): Remove rule.
3963 * README: Don't refer to NOTES.
3964 * manual/creature.texi: Don't include macros.texi.
3965 * manual/intro.texi (creature.texi): Remove comment referring to
3966 NOTES.
3967
40b601fb
JM
3968 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3969 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3970 * configure: Regenerated.
3971 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3972 LIBC_TRY_CC_OPTION.
3973 (libc_cv_as_i686): Likewise.
3974 (libc_cv_cc_avx): Likewise.
3975 (libc_cv_cc_sse2avx): Likewise.
3976 (libc_cv_cc_fma4): Likewise.
3977 (libc_cv_cc_novzeroupper): Likewise.
3978 * sysdeps/i386/configure: Regenerated.
3979
1a4ac776
JM
3980 [BZ #13883]
3981 * sysdeps/i386/fpu/s_cexp.S: Remove.
3982 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3983 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3984 * math/libm-test.inc (cexp_test): Add more tests.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3987
a458e7fe
AM
39882012-03-21 Allan McRae <allan@archlinux.org>
3989
3990 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3991
0cb7efc5
JM
39922012-03-21 Joseph Myers <joseph@codesourcery.com>
3993
3994 [BZ #13871]
3995 * math/w_exp2.c: Do not include <float.h>.
3996 (o_threshold, u_threshold): Remove.
3997 (__exp2): Calculate result before checking finiteness and calling
3998 __kernel_standard.
3999 * math/w_exp2f.c: Likewise.
4000 * math/w_exp2l.c: Likewise.
4001 * math/libm-test.inc (exp2_test): Require overflow exception for
4002 1e6 input.
2460d3aa
JM
4003
4004 [BZ #3866]
4005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4006 range of signed 64-bit integers before using fistpll. Remove
4007 checks for whether integers fit in mantissa bits.
4008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4009 the range of signed 32-bit integers before using fistpl. Remove
4010 checks for whether integers fit in mantissa bits.
4011 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4012 (__ieee754_powl): Test for y outside the range of signed 64-bit
4013 integers before using fistpll. Reduce 64-bit values to 63-bit
4014 ones as needed.
4015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4016 divide-by-zero is raised for zero to large negative powers.
4017 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4018 (__ieee754_powl): Test for y outside the range of signed 64-bit
4019 integers before using fistpll. Reduce 64-bit values to 63-bit
4020 ones as needed.
4021 * math/libm-test.inc (pow_test): Add more tests.
4022
eb96ffb0
L
40232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4026 <stdio-common/_itoa.h>.
4027 * debug/segfault.c: Likewise.
4028 * elf/dl-cache.c: Likewise.
4029 * elf/dl-minimal.c: Likewise.
4030 * elf/dl-misc.c: Likewise.
4031 * elf/dl-sysdep.c: Likewise.
4032 * elf/dl-version.c: Likewise.
4033 * elf/rtld.c: Likewise.
4034 * hurd/hurdsock.c: Likewise.
4035 * hurd/lookup-retry.c: Likewise.
4036 * malloc/malloc.c: Likewise.
4037 * malloc/mtrace.c: Likewise.
4038 * nscd/nscd_getgr_r.c: Likewise.
4039 * nscd/nscd_getpw_r.c: Likewise.
4040 * nscd/nscd_getserv_r.c: Likewise.
4041 * posix/getopt_init.c: Likewise.
4042 * posix/wordexp.c: Likewise.
4043 * stdio-common/_itoa.c: Likewise.
4044 * stdio-common/printf_fphex.c: Likewise.
4045 * stdio-common/vfprintf.c: Likewise.
4046 * string/_strerror.c: Likewise.
4047 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4048 * sysdeps/i386/i686/hp-timing.h: Likewise.
4049 * sysdeps/mach/_strerror.c: Likewise.
4050 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4051 * sysdeps/mach/hurd/sethostid.c: Likewise.
4052 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4053 * sysdeps/mach/xpg-strerror.c: Likewise.
4054 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4055 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4056 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4057 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4058 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4059 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4061 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4062 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4063 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4064 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4065 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4066 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4067 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4068 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4071 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4072 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4073 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4074 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4075
4076 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4077
4078 * stdio-common/_itoa.h: Moved to ...
4079 * sysdeps/generic/_itoa.h: Here.
4080
4081 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4082
4083 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4084 instead of "_itoa.h" and "_itowa.h".
4085 * stdio-common/vfprintf.: Likewise.
4086
d1af992d
L
40872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4088
4089 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4090 <bits/wordsize.h>.
4091 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4092 (__signbit): Likwise.
4093 (llrintf): Likwise.
4094 (llrint): Likwise.
4095
114883e0
L
40962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4097
4098 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4099 __WORDSIZE != 64.
4100
c135cc1b
JM
41012012-03-20 Joseph Myers <joseph@codesourcery.com>
4102
4103 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4104 OVERFLOW_EXCEPTION_OK.
4105 * math/libm-test.inc ("Philosophy"): Update comment about
4106 exception testing.
4107 (OVERFLOW_EXCEPTION): Define.
4108 (OVERFLOW_EXCEPTION_OK): Likewise.
4109 (INVALID_EXCEPTION_OK): Renumber.
4110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4111 (IGNORE_ZERO_INF_SIGN): Likewise.
4112 (test_exceptions): Handle FE_OVERFLOW.
4113 (exp10_test): Expect overflow exceptions.
4114 (exp2_test): Likewise.
4115 (expm1_test): Likewise.
4116 (nextafter_test): Likewise.
4117 (pow_test): Likewise.
4118 (scalbn_test): Likewise.
4119 (scalbln_test): Likewise.
4120
95443d88
L
41212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 * sysdeps/x86_64/bits/atomic.h
4124 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4125 64bit integer.
4126 (atomic_exchange_acq): Likewise.
4127 (__arch_exchange_and_add_body): Likewise.
4128 (__arch_add_body): Likewise.
4129 (atomic_add_negative): Likewise.
4130 (atomic_add_zero): Likewise.
4131
490df6c4
L
41322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4133
c2722551 4134 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4135 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4136
5e52b189
L
41372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4140 Check __x86_64__ instead of __WORDSIZE.
4141
a9879d4c
L
41422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4145
5df98260
DM
41462012-03-19 David S. Miller <davem@davemloft.net>
4147
e1497744
DM
4148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4149
5df98260
DM
4150 * sysdeps/sparc/fpu/fenv_private.h: New file.
4151 * sysdeps/sparc/fpu/math_private.h: Use it.
4152 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4153 Remove.
4154 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4155 (libc_feholdexcept_setroundl): Remove.
4156 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4157 Remove.
4158 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4159 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4160
b4c35121
L
41612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4164 int64_t instead of long int.
4165 (INSERT_WORDS64): Likwise.
4166
56965fd7
L
41672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4170 _Unwind_GetCFA return to _Unwind_Ptr first.
4171
83d1aec8
JM
41722012-03-19 Joseph Myers <joseph@codesourcery.com>
4173
1897ad44
JM
4174 [BZ #13629]
4175 * math/s_clog.c: Include <float.h>.
4176 (__clog): Scale large or subnormal inputs.
4177 * math/s_clogf.c: Likewise.
4178 * math/s_clogl.c: Likewise.
4179 * math/s_clog10.c: Include <float.h>.
4180 (M_LOG10_2): Define.
4181 (__clog10): Scale large or subnormal inputs.
4182 * math/s_clog10f.c: Likewise.
4183 * math/s_clog10l.c: Likewise.
4184 * math/libm-test.inc (clog_test): Add more tests.
4185 (clog10_test): Likewise.
4186 * sysdeps/i386/fpu/libm-test-ulps: Update.
4187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4188
7726d6a9
JM
4189 [BZ #11451]
4190 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4191 x and y.
4192 * math/libm-test.inc (atan2_test): Add another test.
4193
83d1aec8
JM
4194 * Makerules (common-objdir-compile): Remove.
4195 * sysdeps/unix/Makefile (config-generated): Do not add
4196 $(unix-generated) to variable.
4197 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4198 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4199 Remove rule.
4200 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4201 Likewise.
4202 [generic bits/local_lim.h] (before-compile): Do not append to
4203 variable.
4204 [generic bits/local_lim.h] (common-generated): Likewise.
4205 [generic sys/param.h] (before-compile): Do not append to variable.
4206 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4207 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4208 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4209 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4210 include.
4211 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4212 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4213 [generic sys/param.h] ($(addprefix
4214 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4215 [generic sys/param.h] (common-generated): Do not append to
4216 variable.
4217 [generic sys/param.h] (sysdep_headers): Likewise.
4218 [generic bits/errno.h] (before-compile): Do not append to
4219 variable.
4220 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4221 rule.
4222 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4223 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4224 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4225 [generic bits/errno.h] (common-generated): Do not append to
4226 variable.
4227 [generic bits/ioctls.h] (before-compile): Do not append to
4228 variable.
4229 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4230 rule.
4231 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4232 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4234 rule.
4235 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4236 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4237 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4238 [generic bits/ioctls.h] (common-generated): Do not append to
4239 variable.
4240 [generic sys/syscall.h] (syscall.h): Remove variable.
4241 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4242 rule.
4243 [generic sys/syscall.h] (before-compile): Do not append to
4244 variable.
4245 [generic sys/syscall.h] (common-generated): Likewise.
4246 * sysdeps/unix/errnos-tmpl.c: Remove file.
4247 * sysdeps/unix/errnos.awk: Likewise.
4248 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4249 * sysdeps/unix/ioctls.awk: Likewise.
4250 * sysdeps/unix/mk-local_lim.c: Likewise.
4251 * sysdeps/unix/snarf-ioctls: Likewise.
4252
4851a949
RH
42532012-03-19 Richard Henderson <rth@twiddle.net>
4254
bd37f2ee
RH
4255 * sysdeps/i386/fpu/fenv_private.h: New file.
4256 * sysdeps/i386/fpu/math_private.h: Use it.
4257 (math_opt_barrier, math_force_eval): Remove.
4258 (libc_feholdexcept_setround_53bit): Remove.
4259 (libc_feupdateenv_53bit): Remove.
4260 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4261 (math_opt_barrier, math_force_eval): Remove.
4262 (libc_feholdexcept): Remove.
4263 (libc_feholdexcept_setround): Remove.
4264 (libc_fetestexcept, libc_fesetenv): Remove.
4265 (libc_feupdateenv_test): Remove.
4266 (libc_feupdateenv, libc_feholdsetround): Remove.
4267 (libc_feresetround): Remove.
4268
d0adc922
RH
4269 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4270 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4271
0fe0f1f8
RH
4272 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4273 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4274 (libc_feupdateenv_testl): New.
4275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4276 (libc_feupdateenv_testf): New.
4277 (libc_feupdateenv): Use libc_feupdateenv_test.
4278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4280
eb92c487
RH
4281 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4282 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4283 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4284 (libc_feresetround_noex): New.
4285 (libc_feresetround_noexf): New.
4286 (libc_feresetround_noexl): New.
4287 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4288 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4289 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4290 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4291 SET_RESTORE_ROUND.
4292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4294 (__cos): Likewise.
4295 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4296 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4297 SET_RESTORE_ROUND_NOEX.
4298 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4299 SET_RESTORE_ROUND_NOEXF.
4300 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4301 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4302 (libc_feholdsetroundf): New.
4303 (libc_feresetround, libc_feresetroundf): New.
4304
7d2e8012
RH
4305 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4306 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4307 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4308
b4dabbb4
RH
4309 * sysdeps/generic/math_private.h: Include <fenv.h>.
4310 (default_libc_feholdexcept): New.
4311 (default_libc_feholdexcept_setround): New.
4312 (default_libc_fesetenv, default_libc_feupdateenv): New.
4313 (libc_feholdexcept): Only define if undefined.
4314 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4315 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4316 (libc_feholdexcept_setroundl): Likewise.
4317 (libc_feholdexcept_setround_53bit): Likewise.
4318 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4319 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4320 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4321 (libc_feupdateenv_53bit): Likewise.
4322 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4323 (libc_feholdexcept): Convert from macro to inline function.
4324 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4325 (libc_fesetenv, libc_feupdateenv): Likewise.
4326
4851a949
RH
4327 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4328 not previously defined.
4329 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4330 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4331 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4332 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4333 * sysdeps/ieee754/flt-32/math_private.h: New file.
4334 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4335 math_private.h below SET_FLOAT_WORD.
4336 (__isnan, __isinf_ns, __finite): Remove.
4337 (__isnanf, __isinf_nsf, __finitef): Remove.
4338
e79d442e
AS
43392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4340
4341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4342
90b80344
DM
43432012-03-17 David S. Miller <davem@davemloft.net>
4344
4345 [BZ #6471]
4346 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4347 for 2.16.
4348
edc21804
DM
43492012-03-16 David S. Miller <davem@davemloft.net>
4350
77e927af
DM
4351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4352 warnings.
4353
374976dd
DM
4354 [BZ #6471]
4355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4356 properly.
4357 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4358 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4359 sysdep_routines when subdir is sysvipc.
4360 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4361 __getshmlba helper.
4362
edc21804
DM
4363 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4364
473c3ef3
L
43652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4368 [__LP64__].
4369
eb0f39b6
L
43702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4373 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4374 (__lround): Renamed to ...
4375 (__llround): This. Replace long int with long long int.
4376 Define lround functions as aliases of llround functions.
4377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4378
6b6cd74b
L
43792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4380
4381 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4382 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4383 adresses to uintptr_t. Replace "long int" and "unsigned long
4384 int" with "greg_t" on va_arg.
4385
f1a77b01
L
43862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4387
4388 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4389 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4390
4391 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4392 Move e_machine check before EI_CLASS check. Handle x32
4393 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4394 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4395 SKIP_EM_IA_64 and include
4396 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4397
4398 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4399 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4400 (add_system_dir): New macro.
4401
4402 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4403 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4404
11b90b9f
JM
44052012-03-16 Joseph Myers <joseph@codesourcery.com>
4406
c36e1d23
JM
4407 [BZ #2551]
4408 [BZ #2552]
4409 [BZ #2553]
4410 [BZ #2554]
4411 [BZ #2562]
4412 [BZ #2563]
4413 [BZ #2565]
4414 [BZ #2566]
4415 [BZ #2576]
4416 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4417 (y0): Likewise.
4418 * math/w_j0f.c (j0f): Likewise.
4419 (y0f): Likewise.
4420 * math/w_j0l.c (__j0l): Likewise.
4421 (__y0l): Likewise.
4422 * math/w_j1.c (j1): Likewise.
4423 (y1): Likewise.
4424 * math/w_j1f.c (j1f): Likewise.
4425 (y1f): Likewise.
4426 * math/w_j1l.c (__j1l): Likewise.
4427 (__y1l): Likewise.
4428 * math/w_jn.c (jn): Likewise.
4429 (yn): Likewise.
4430 * math/w_jnf.c (jnf): Likewise.
4431 (ynf): Likewise.
4432 * math/w_jnl.c (__jnl): Likewise.
4433 (__ynl): Likewise.
4434 * math/libm-test.inc (j0_test): Add more tests.
4435 (j1_test): Likewise.
4436 (jn_test): Likewise. Add trailing semicolon to existing test.
4437 (y0_test): Likewise.
4438 (y1_test): Likewise.
4439 * sysdeps/i386/fpu/libm-test-ulps: Update.
4440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441
11b90b9f
JM
4442 [BZ #13851]
4443 [BZ #13854]
4444 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4445 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4446 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4448 (__tanl): Set errno for infinite argument.
4449 * sysdeps/i386/fpu/mptan.c: Remove.
4450 * sysdeps/i386/fpu/s_tan.S: Likewise.
4451 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4452 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4453 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4454 * math/libm-test.inc (tan_test): Add more tests and enable more
4455 tests for double and long double.
4456 * sysdeps/i386/fpu/libm-test-ulps: Update.
4457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458
6a1bd2a1
JK
44592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4462 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4463
10a803e0
RM
44642012-03-16 Roland McGrath <roland@hack.frob.com>
4465
4466 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4467 * configure.in: Use it for both main tree and add-ons.
4468 * configure: Regenerated.
4469
f196c7f7
L
44702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4473
8848d99d
JM
44742012-03-16 Joseph Myers <joseph@codesourcery.com>
4475
96cbe7f4
JM
4476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4477 in comment.
4478
8848d99d
JM
4479 [BZ #13851]
4480 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4481 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4485 infinite argument.
4486 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4488 != 0 for prec == 2.
4489 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4490 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4491 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4492 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4493 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4494 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4495 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4496 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4497 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4498 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4499 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4500 * math/libm-test.inc (cos_test): Add more tests and enable more
4501 tests for long double.
4502 (sin_test): Likewise.
4503 (sincos_test): Likewise.
4504 * sysdeps/i386/fpu/libm-test-ulps: Update.
4505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4506
dd7f4703
DM
45072012-03-16 David S. Miller <davem@davemloft.net>
4508
4509 * sysdeps/sparc/fpu/math_private.h: New file.
4510
006f1daa
DM
45112012-03-15 David S. Miller <davem@davemloft.net>
4512
c0c83bc8
DM
4513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4514 file.
e6a62e18 4515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4517 file.
e6a62e18
DM
4518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4524 sysdep routines.
4525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4526
88cb87d9
DM
4527 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4528 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4529
006f1daa 4530 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4532 sparc-ifunc.h
006f1daa 4533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4535 Likewise.
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4537 Likewise.
006f1daa
DM
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4542 Likewise.
006f1daa
DM
4543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4548 Likewise.
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4550 Likewise.
006f1daa
DM
4551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4575
11e0098e
AS
45762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4577
4578 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4579 scaling.
4580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4581
e85b09d0
AJ
45822012-03-15 Andreas Jaeger <aj@suse.de>
4583
4584 [BZ #13852]
4585 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4586 ieee754/flt-32 implementation for sin, cos and sincos.
4587 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4588 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4589 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4590 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4591 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4592 ieee754/flt-32 implementation for tan.
4593
4594 * math/libm-test.inc (cos_test): Enable some large input tests for
4595 float as well
4596 (sin_test): Likewise.
4597 (sincos_test): Likewise.
4598 (tan_test): Add tests for large input.
4599
4600 * sysdeps/i386/fpu/libm-test-ulps: Update.
4601
81c64153
AJ
46022012-03-15 Andreas Jaeger <aj@suse.de>
4603
4604 [BZ #13658]
4605 * math/libm-test.inc (cos_test): Add more test cases.
4606 (sin_test): Likewise.
4607 (sincos_test): Likewise.
4608
7bbfa5c6
AJ
46092012-03-15 Andreas Jaeger <aj@suse.de>
4610
4611 [BZ #13837]
4612 * math/libm-test.inc (cos_test): Add a test case for large input
4613 value.
4614 (sin_test): Likewise.
4615 (sincos_test): Likewise.
4616
46172012-03-15 Andreas Jaeger <aj@suse.de>,
4618 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #13658]
0671f479 4621 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4622 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4623 * sysdeps/i386/fpu/branred.c: Likewise.
4624 * sysdeps/i386/fpu/dosincos.c: Likewise.
4625 * sysdeps/i386/fpu/mpa.c: Likewise.
4626 * sysdeps/i386/fpu/s_cos.S: Likewise.
4627 * sysdeps/i386/fpu/s_sin.S: Likewise.
4628 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4629 * sysdeps/i386/fpu/sincos32.c: Likewise.
4630
4631 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4632 Define.
4633 (libc_feupdateenv_53bit): Define.
4634 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4635 Define.
4636 (libc_feupdateenv_53bit): Define.
4637
4638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4639 53 bit (without extend i386 double precision).
4640
4641 * math/libm-test.inc (sincos_test): Add tests for large input.
4642 (sin): Likewise.
4643 (cos): Likewise.
4644
4645 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4646
9cad04ea
AS
46472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4648
4649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4650
f7062b9a
DM
46512012-03-15 David S. Miller <davem@davemloft.net>
4652
4653 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4654 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4655 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4656 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4669 file.
f7062b9a 4670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4672 file.
f7062b9a 4673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4675 file.
f7062b9a 4676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4678 file.
f7062b9a
DM
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4681 fmin/fmax sysdep routines.
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4683
7bd951ff
DM
46842012-03-14 David S. Miller <davem@davemloft.net>
4685
559398ab
DM
4686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4715 routines.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4717 file.
559398ab 4718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4720 file.
559398ab 4721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4723 file.
559398ab 4724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4726 file.
559398ab 4727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4729 file.
559398ab 4730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4732 file.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4734 file.
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4736 file.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4738 file.
4739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4740 New file.
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4742 file.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4744 file.
559398ab 4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4747 file.
559398ab 4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4750 file.
559398ab 4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4753 file.
559398ab 4754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4756 VIS3 routines.
559398ab
DM
4757
4758 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4759 New file.
4760
5a1c1e32
DM
4761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4762
eae47a36
DM
4763 * sysdeps/sparc/configure.in: New file.
4764 * sysdeps/sparc/configure: Generate.
4765 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4766 * configure: Regenerate.
4767 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4768 * config.make.in (have-as-vis3): New.
4769 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4770 available use -Av9d instead of -Av9a.
4771 * sysdeps/sparc/sparc64/Makefile: Likewise.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4774 New file.
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4776 file.
4777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4778 New file.
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4780 file.
eae47a36
DM
4781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4786
c0c83bc8
DM
4787 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4788 fzeros/fnegs to load 0x80000000 into a float register instead of
4789 using the stack.
7bd951ff
DM
4790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4791
bd951ccb
JM
47922012-03-14 Joseph Myers <joseph@codesourcery.com>
4793
4794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4795 bits/syscall.h.
4796 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4797 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4798 ($(inst_includedir)/bits/syscall.h): Remove rule.
4799 ($(objpfx)bits/syscall.d): Include instead of
4800 $(objpfx)syscall-list.d.
4801 (generated): Change syscall-list.h and syscall-list.d to
4802 bits/syscall.h and bits/syscall.d.
4803
bb4e6db2
RM
48042012-03-14 Roland McGrath <roland@hack.frob.com>
4805
4806 [BZ #13846]
4807 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4808
aa4a2ae1
JM
48092012-03-14 Joseph Myers <joseph@codesourcery.com>
4810
e456826d
JM
4811 [BZ #13841]
4812 * math/s_csqrt.c: Include <float.h>.
4813 (__csqrt): Scale large or subnormal inputs.
4814 * math/s_csqrtf.c: Likewise.
4815 * math/s_csqrtl.c: Likewise.
4816 * math/libm-test.inc (csqrt_test): Add more tests.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
aa4a2ae1
JM
4820 [BZ #13840]
4821 * math/libm-test.inc (hypot_test): Add more tests.
4822
7c10fd35
DM
48232012-03-13 David S. Miller <davem@davemloft.net>
4824
4825 [BZ #13840]
4826 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4827 double-precision for the calculation instead of scaling.
4828
f453b98b
JM
48292012-03-13 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4832 manipulate bits before adding and subtracting TWO52[sx].
4833 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4834 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4835 Likewise.
4836 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4837
09a3453f
DM
48382012-03-13 David S. Miller <davem@davemloft.net>
4839
8e59da90
DM
4840 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4841 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4843 rtld-global-offsets.h
4844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4845
2a8ab7f2
DM
4846 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4847 large parameters.
4848
10f62770
DM
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4850
5f0bdb18
DM
4851 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4852 'err' in the ifdef scope in which it is actually used.
4853
09a3453f
DM
4854 * nss/nss_db/db-init.c: Include string.h
4855
b4b2eb5e
DM
48562012-03-12 David S. Miller <davem@davemloft.net>
4857
98bb2f1c
DM
4858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4859 masking out of the most significant byte of random value used.
4860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4861 Fix coding style in previous change.
4862
b4b2eb5e
DM
4863 * sysdeps/unix/sysv/linux/kernel-features.h
4864 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4865 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4866 expression.
4867 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4868 later.
4869
6e226b09
DM
48702012-03-11 David S. Miller <davem@davemloft.net>
4871
a1bcbd40
DM
4872 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4873 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4875 for 'resultvar' otherwise things get truncated on 64-bit.
4876
cb9d6174
DM
4877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4878 Fix masking out of the most significant byte of random value used.
4879
6e226b09
DM
4880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4881
058c132d
AS
48822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4883
4884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4885
2d2cd515
DM
48862012-03-09 David S. Miller <davem@davemloft.net>
4887
4888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4889 variables with appropriate CPP guards.
4890 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4891 frame pointer, not the stack pointer. Correct layout comments. Fix test
4892 on resulting framesize and the management of the outregs buffer for pltexit.
4893 Preserve floating point return values across _dl_call_pltexit call.
4894 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4895 framesize and the management of the outregs buffer for pltexit.
4896 Preserve floating point return values across _dl_call_pltexit
4897 call.
4898 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4899 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4900 (print_exit): Fix format string for return register value.
4901
9a07f9d0
JM
49022012-03-10 Joseph Myers <joseph@codesourcery.com>
4903
4904 * sunrpc/Makefile (others): Add rpcgen.
4905 ($(objpfx)rpcgen): Remove special build rule and dependency on
4906 libc.
4907 * sunrpc/rpcgen.c: New file.
4908
547b5e30
PE
49092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4910
c524201a
PE
4911 [BZ #13673]
4912 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4913 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4914 * sysdeps/i386/crti.S: Likewise.
4915 * sysdeps/i386/crtn.S: Likewise.
4916 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4919 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4920 * sysdeps/sh/crti.S: Likewise.
4921 * sysdeps/sh/crtn.S: Likewise.
4922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4923
7b6235f2
PE
4924 [BZ #13673]
4925 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4926 with URL.
4927 * locale/programs/locfile-kw.gperf: Likewise.
4928 * locale/programs/charmap-kw.h: Regenerated.
4929 * locale/programs/locfile-kw.h: Likewise.
4930
547b5e30
PE
4931 [BZ #13673]
4932 * intl/plural.y: Replace FSF snail mail address with URL.
4933 * intl/plural.c: Regenerated.
4934
5f0a5dae
RH
49352012-03-09 Richard Henderson <rth@twiddle.net>
4936
4937 * include/math_private.h: Remove file.
4938 * math/math_private.h: Move file ...
4939 * sysdeps/generic/math_private.h: ... here.
4940
b8c03620
RH
4941 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4942 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4943 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4944
4e234f5d 4945 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4946 and <math_private.h>.
4947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5061 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5070 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5074 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5078 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5080 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5081 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5085 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5090 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5091 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5092 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5093 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5094 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5096 * sysdeps/ieee754/k_standard.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5257 * sysdeps/ieee754/s_lib_version.c: Likewise.
5258 * sysdeps/ieee754/s_matherr.c: Likewise.
5259 * sysdeps/ieee754/s_signgam.c: Likewise.
5260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5263 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5264 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5266 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5267 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5268 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5269 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5270 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5271 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5272 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5281
1991fa03
JM
52822012-03-09 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5285 * sunrpc/rpc_main.c: Likewise.
5286 * sunrpc/rpc_svcout.c: Likewise.
5287
60d6f5a6
DM
52882012-03-09 David S. Miller <davem@davemloft.net>
5289
5290 * include/math_private.h: New file.
5291
4962050e
JM
52922012-03-09 Joseph Myers <joseph@codesourcery.com>
5293
02a6f887
JM
5294 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5295 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5296 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5297 from <bits/socket_type.h>.
5298 (enum __socket_type): Don't define here.
5299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5301 bits/socket_type.h.
5302
c6e013c1
JM
5303 [BZ #13566]
5304 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5305 checking __USE_GNU.
5306
4962050e
JM
5307 * Makerules ($(inst_includedir)/%.h): New rule.
5308 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5309 (install-others): Remove variable setting.
5310 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5311
38842f45
RH
53122012-03-08 Richard Henderson <rth@twiddle.net>
5313
67bb6da6
RH
5314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5315 from macro to inline function; merge with the
5316 !__LIBC_INTERNAL_MATH_INLINES version.
5317 (__ieee754_sqrtf): Likewise.
5318
15194b4b
RH
5319 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5320 to inline function.
5321 (__rintf, __floor, __floorf): Likewise.
5322
64e21ede
RH
5323 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5324 macro to inline function.
5325 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5326
38842f45
RH
5327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5328 not <math/math_private.h>.
5329
c64bf5fe
DM
53302012-03-08 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5333 copyright year.
5334 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5335
82d86f28
TS
53362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5337
5338 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5339 normalization.
5340 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5342
aea5d727
UD
53432012-03-08 Ulrich Drepper <drepper@gmail.com>
5344
5345 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5346 be defined individually, they must be defined as a block. Define
5347 S for printing a string instead of hidint the different by using a
5348 macro for adding the 'l'.
5349 * stdio-common/tst-fphex-wide.c: Adjust.
5350
70bca0a3
MP
53512012-03-07 Marek Polacek <polacek@redhat.com>
5352
5353 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5354
65b81130
MP
53552012-03-08 Marek Polacek <polacek@redhat.com>
5356
5357 [BZ #13806]
5358 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5359 * stdio-common/tst-fphex.c: Define a few macros to make the
5360 test reusable. Use them.
5361 * stdio-common/tst-fphex-wide.c: New file.
5362
07037eeb
JM
53632012-03-08 Joseph Myers <joseph@codesourcery.com>
5364
a7a93d50
JM
5365 [BZ #6911]
5366 * manual/macros.texi (gnusystems): New macro.
5367 (nongnusystems): Likewise.
5368 (gnulinuxhurdsystems): Likewise.
5369 (gnuhurdsystems): Likewise..
5370 (gnulinuxsystems): Likewise.
5371 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5372 variants of the GNU system, not "GNU system".
5373 * manual/conf.texi: Likewise.
5374 * manual/errno.texi: Likewise. Update example of errno macro
5375 expansion.
5376 * manual/filesys.texi: Likewise.
5377 (getumask): Document as specific to GNU/Hurd.
5378 * manual/install.texi: Likewise. Reword some references to
5379 GNU/Linux.
5380 * manual/intro.texi: Likewise.
5381 * manual/io.texi: Likewise.
5382 (File Name Portability): Detail which constraints are inapplicable
5383 to all GNU systems and which are only inapplicable to GNU/Hurd.
5384 * manual/job.texi: Likewise.
5385 * manual/llio.texi: Likewise.
5386 (O_NOCTTY): Document as present on GNU/Linux.
5387 * manual/maint.texi: Likewise.
5388 * manual/memory.texi: Likewise.
5389 * manual/pattern.texi: Likewise.
5390 * manual/pipe.texi: Likewise.
5391 * manual/process.texi: Likewise.
5392 * manual/resource.texi: Likewise.
5393 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5394 child on GNU/Hurd.
5395 * manual/setjmp.texi: Likewise.
5396 * manual/signal.texi: Likewise.
5397 * manual/startup.texi: Likewise.
5398 * manual/stdio.texi: Likewise.
5399 * manual/terminal.texi: Likewise.
5400 (ONLCR): Document as POSIX.
5401 (OXTABS): Document availability on GNU/Linux as XTABS.
5402 (ONOEOT): Document availability separately from other bits.
5403 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5404 * manual/time.texi: Likewise.
5405 * manual/users.texi: Likewise.
5406 * INSTALL: Regenerated.
5407 * sysdeps/gnu/errlist.c: Regenerated.
5408
07037eeb
JM
5409 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5410 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5411 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5412 puts.
5413 * configure: Regenerated.
5414
d1d3431a
JM
54152012-03-07 Joseph Myers <joseph@codesourcery.com>
5416
af6a1e37
JM
5417 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5418 default includes instead of AC_HEADER_CHECK.
5419 * sysdeps/i386/configure: Regenerated.
5420
d1d3431a
JM
5421 [BZ #10716]
5422 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5423 * math/s_cacoshf.c (__cacoshf): Likewise.
5424 * math/s_cacoshl.c (__cacoshl): Likewise.
5425 * math/s_casinh.c (__casinh): Set signs of result from argument.
5426 * math/s_casinhf.c (__casinhf): Likewise.
5427 * math/s_casinhl.c (__casinhl): Likewise.
5428 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5429 (casinh_test): Add more tests.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432
482ff4da
UD
54332012-03-07 Ulrich Drepper <drepper@gmail.com>
5434
872fda05
UD
5435 * po/zh_TW.po: Update from translation team.
5436
a4300c7a
UD
5437 * login/Makefile (distribute): Remove variable.
5438 * catgets/Makefile: Likewise.
5439 * mach/Makefile: Likewise.
5440 * malloc/Makefile: Likewise.
5441 * misc/Makefile: Likewise.
5442 * iconv/Makefile: Likewise.
5443 * nscd/Makefile: Likewise.
5444 * hurd/Makefile: Likewise.
5445 * manual/Makefile: Likewise.
5446 * locale/Makefile: Likewise.
5447 * intl/Makefile: Likewise.
5448 * conform/Makefile: Likewise.
5449 * nss/Makefile: Likewise.
5450 * time/Makefile: Likewise.
5451 * soft-fp/Makefile: Likewise.
5452 * dirent/Makefile: Likewise.
5453 * gmon/Makefile: Likewise.
5454 * po/Makefile: Likewise.
5455 * rt/Makefile: Likewise.
5456 * socket/Makefile: Likewise.
5457 * math/Makefile: Likewise.
5458 * signal/Makefile: Likewise.
5459 * debug/Makefile: Likewise.
5460 * elf/Makefile: Likewise.
5461 * timezone/Makefile: Likewise.
5462 * stdlib/Makefile: Likewise.
5463 * iconvdata/Makefile: Likewise.
5464 * sunrpc/Makefile: Likewise.
5465 * io/Makefile: Likewise.
5466 * argp/Makefile: Likewise.
5467 * inet/Makefile: Likewise.
5468 * hesiod/Makefile: Likewise.
5469 * grp/Makefile: Likewise.
5470 * csu/Makefile: Likewise.
5471 * wctype/Makefile: Likewise.
5472 * crypt/Makefile: Likewise.
5473 * libio/Makefile: Likewise.
5474 * string/Makefile: Likewise.
5475 * nis/Makefile: Likewise.
5476 * resolv/Makefile: Likewise.
5477 * stdio-common/Makefile: Likewise.
5478 * wcsmbs/Makefile: Likewise.
5479 * dlfcn/Makefile: Likewise.
5480 * posix/Makefile: Likewise.
5481
3b7c4e74 5482 [BZ #6959]
482ff4da
UD
5483 * timezone/Makefile: Don't install timezone files, just the programs
5484 and scripts.
5485
f72ed77d
UD
54862012-03-06 Ulrich Drepper <drepper@gmail.com>
5487
a000466f
UD
5488 * nss/databases.def: Add missing gshadow entry.
5489
f72ed77d
UD
5490 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5491
a53b7a4e
MP
54922012-03-06 Marek Polacek <polacek@redhat.com>
5493
5494 [BZ #13726]
5495 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5496 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5497 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5498 * stdio-common/tst-long-dbl-fphex.c: New file.
5499
e9258400
DM
55002012-03-06 David S. Miller <davem@davemloft.net>
5501
5502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5503 (set_obp_int): New function.
5504 (get_obp_int): New function.
5505 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5507 Avoid unused variable warnings on 'val' and use builtin_expect.
5508 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5509 __builtin_expect.
e9258400
DM
5510 (INLINE_CLONE_SYSCALL): Likewise.
5511
3bd2c723
DM
55122012-03-05 David S. Miller <davem@davemloft.net>
5513
5514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5515
bbb78d03
AS
55162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5517
884c5db4
AS
5518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5519
bbb78d03
AS
5520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5521 only for |x| >= 40.
5522 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5523
1c9f702a 55242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5525
5526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5527 Replace gettimeofday with __vdso_gettimeofday.
5528
7be16f82
RM
5529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5530 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5531 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5532
5533 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5534 time with __vdso_time.
5535
ed58a00f
JM
55362012-03-05 Joseph Myers <joseph@codesourcery.com>
5537
5538 * manual/lang.texi (size_t): Note types to which size_t may be
5539 equivalent with the GNU C Library, but do not describe when
5540 differences between them are significant.
5541
30ee4ced
AJ
55422012-03-05 Andreas Jaeger <aj@suse.de>
5543
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545
b7cd39e8
JM
55462012-03-05 Joseph Myers <joseph@codesourcery.com>
5547
5548 [BZ #3976]
5549 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5550 (__ieee754_pow): Save and restore rounding mode and use
5551 round-to-nearest for main computations.
5552 * math/libm-test.inc (pow_test_tonearest): New function.
5553 (pow_test_towardzero): Likewise.
5554 (pow_test_downward): Likewise.
5555 (pow_test_upward): Likewise.
5556 (main): Call the new functions.
5557 * sysdeps/i386/fpu/libm-test-ulps: Update.
5558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5559
5560 [BZ #3976]
5561 * math/libm-test.inc (cosh_test_tonearest): New function.
5562 (cosh_test_towardzero): Likewise.
5563 (cosh_test_downward): Likewise.
5564 (cosh_test_upward): Likewise.
5565 (sinh_test_tonearest): Likewise.
5566 (sinh_test_towardzero): Likewise.
5567 (sinh_test_downward): Likewise.
5568 (sinh_test_upward): Likewise.
5569 (main): Call the new functions.
5570 * sysdeps/i386/fpu/libm-test-ulps: Update.
5571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5572
6c6a98c9
TV
55732012-03-05 Tom de Vries <tom@codesourcery.com>
5574
5575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5576 default stack guard is set in last bytes.
5577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5578
21bb2d2e 55792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5580
21bb2d2e 5581 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5582
21bb2d2e
AJ
5583 [BZ #13656]
5584 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5585 possibly allocate from heap instead of stack.
5586 * stdio-common/bug-vfprintf-nargs.c: New file.
5587 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5588
c6922934
AS
55892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5592
bc957d53
MP
55932012-03-03 Marek Polacek <polacek@redhat.com>
5594
5595 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5596 * math/math_private.h: Likewise.
5597 * stdlib/tst-strtod.c: Likewise.
5598 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5599 * sysdeps/x86_64/bits/atomic.h: Likewise.
5600
6358490d
DM
56012012-03-02 David S. Miller <davem@davemloft.net>
5602
5603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5607 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5608 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5609 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5611
01ae168d
RM
56122012-03-02 Roland McGrath <roland@hack.frob.com>
5613
d9a17c07
RM
5614 [BZ #13792]
5615 * manual/examples/README: New file, says the example source files
5616 can be used under GPL>=2.
5617 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5618 line containing just "*/".
5619 * manual/examples/add.c: Add copyright header (GPL>=2).
5620 * manual/examples/argp-ex1.c: Likewise.
5621 * manual/examples/argp-ex2.c: Likewise.
5622 * manual/examples/argp-ex3.c: Likewise.
5623 * manual/examples/argp-ex4.c: Likewise.
5624 * manual/examples/atexit.c: Likewise.
5625 * manual/examples/db.c: Likewise.
5626 * manual/examples/dir.c: Likewise.
5627 * manual/examples/dir2.c: Likewise.
5628 * manual/examples/execinfo.c: Likewise.
5629 * manual/examples/filecli.c: Likewise.
5630 * manual/examples/filesrv.c: Likewise.
5631 * manual/examples/fmtmsgexpl.c: Likewise.
5632 * manual/examples/genpass.c: Likewise.
5633 * manual/examples/inetcli.c: Likewise.
5634 * manual/examples/inetsrv.c: Likewise.
5635 * manual/examples/isockad.c: Likewise.
5636 * manual/examples/longopt.c: Likewise.
5637 * manual/examples/memopen.c: Likewise.
5638 * manual/examples/memstrm.c: Likewise.
5639 * manual/examples/mkfsock.c: Likewise.
5640 * manual/examples/mkisock.c: Likewise.
5641 * manual/examples/mygetpass.c: Likewise.
5642 * manual/examples/pipe.c: Likewise.
5643 * manual/examples/popen.c: Likewise.
5644 * manual/examples/rprintf.c: Likewise.
5645 * manual/examples/search.c: Likewise.
5646 * manual/examples/select.c: Likewise.
5647 * manual/examples/setjmp.c: Likewise.
5648 * manual/examples/sigh1.c: Likewise.
5649 * manual/examples/sigusr.c: Likewise.
5650 * manual/examples/stpcpy.c: Likewise.
5651 * manual/examples/strdupa.c: Likewise.
5652 * manual/examples/strftim.c: Likewise.
5653 * manual/examples/strncat.c: Likewise.
5654 * manual/examples/subopt.c: Likewise.
5655 * manual/examples/swapcontext.c: Likewise.
5656 * manual/examples/termios.c: Likewise.
5657 * manual/examples/testopt.c: Likewise.
5658 * manual/examples/testpass.c: Likewise.
5659 * manual/examples/timeval_subtract.c: Likewise.
5660
01ae168d
RM
5661 [BZ #13792]
5662 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5663 function to ...
5664 * manual/timeval_subtract.c.texi: ... here, new file.
5665
49efa33d
DM
56662012-03-02 David S. Miller <davem@davemloft.net>
5667
5668 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5669
28afd92d
JM
56702012-03-02 Joseph Myers <joseph@codesourcery.com>
5671
804360ed
JM
5672 [BZ #3976]
5673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5674 (__sin): Save and restore rounding mode and use round-to-nearest
5675 for all computations.
5676 (__cos): Save and restore rounding mode and use round-to-nearest
5677 for all computations.
5678 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5679 <fenv.h>.
5680 (tan): Save and restore rounding mode and use round-to-nearest for
5681 all computations.
5682 * math/libm-test.inc (cos_test_tonearest): New function.
5683 (cos_test_towardzero): Likewise.
5684 (cos_test_downward): Likewise.
5685 (cos_test_upward): Likewise.
5686 (sin_test_tonearest): Likewise.
5687 (sin_test_towardzero): Likewise.
5688 (sin_test_downward): Likewise.
5689 (sin_test_upward): Likewise.
5690 (tan_test_tonearest): Likewise.
5691 (tan_test_towardzero): Likewise.
5692 (tan_test_downward): Likewise.
5693 (tan_test_upward): Likewise.
5694 (main): Call the new functions.
5695 * sysdeps/i386/fpu/libm-test-ulps: Update.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697
a6d06d7b
JM
5698 [BZ #10135]
5699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5700 small n, then large n, before computing and testing k+n.
5701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5703 Likewise.
5704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5705 Likewise.
5706 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5707 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5714 * math/libm-test.inc (scalbn_test): Add more tests.
5715 (scalbln_test): Likewise.
5716
07e12bb3
JM
5717 * manual/filesys.texi (mode_t): Describe constraints on size and
5718 signedness, not exact equivalence to a particular type.
5719 (ino_t): Likewise.
5720 (ino64_t): Likewise.
5721 (dev_t): Likewise.
5722 (nlink_t): Likewise.
5723 (blkcnt_t): Likewise.
5724 (blkcnt64_t): Likewise.
5725 * manual/llio.texi (off_t): Likewise.
5726
28afd92d
JM
5727 [BZ #3976]
5728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5729 (__ieee754_exp): Save and restore rounding mode and use
5730 round-to-nearest for all computations.
5731 * math/libm-test.inc (exp_test_tonearest): New function.
5732 (exp_test_towardzero): Likewise.
5733 (exp_test_downward): Likewise.
5734 (exp_test_upward): Likewise.
5735 (main): Call the new functions.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738
b1eeb65d
CD
57392012-03-01 Chris Demetriou <cgd@google.com>
5740
5741 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5742 have predictable order.
5743
53362a4b
DM
57442012-03-01 David S. Miller <davem@davemloft.net>
5745
3c969083
DM
5746 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5747
759707de
DM
5748 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5749 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5750 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5751 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5752
dfdb8ff2
DM
5753 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5754 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5755 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5757 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5758 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5759 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5760 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5761 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5762
ead89f96
DM
5763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5764
7f66bd07
DM
5765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5766 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5768
53362a4b
DM
5769 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5771 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5785 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5786 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5787 * sysdeps/sparc/elf/configure: Regenerated.
5788
7b1902cb
JM
57892012-03-01 Joseph Myers <joseph@codesourcery.com>
5790
bec039bc
JM
5791 * configure.in (AS, LD): Require binutils 2.20 or later.
5792 * configure: Regenerated.
5793 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5794 as required minimum version.
5795 * INSTALL: Regenerated.
5796
7b1902cb
JM
5797 [BZ #2541]
5798 [BZ #4108]
5799 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5800 before squaring exponent.
5801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5802 bottom long double and 27 bits of top long double before squaring
5803 exponent.
5804 * math/libm-test.inc (erfc_test): Add more tests.
5805 * sysdeps/i386/fpu/libm-test-ulps: Update.
5806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5808
f775c276
KT
58092012-03-01 Kai Tietz <ktietz@redhat.com>
5810
5811 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5812 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5813 containing bit-fields.
5814 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5815 * soft-fp/single.h (_FP_UNION_S): Likewise.
5816 * soft-fp/double.h (_FP_UNION_D): Likewise.
5817
5b8a4d4a
JM
58182012-02-29 Joseph Myers <joseph@codesourcery.com>
5819
0bab47b6
JM
5820 [BZ #13786]
5821 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5822 not include ../strcmp.S.
5823 [USE_AS_STRNCASECMP_L]: Likewise.
5824 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5825 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5826 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5827 (__strncasecmp_l_ia32): Define as alias to
5828 __strncasecmp_l_nonascii.
5829
0fcad3e2
JM
5830 [BZ #5794]
5831 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
5b8a4d4a
JM
5835 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5837
8fdceb2e
JL
58382012-02-29 Jeff Law <law@redhat.com>
5839
5840 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5841 out of bounds read.
5842
1f393a11
MP
58432012-02-29 Marek Polacek <polacek@redhat.com>
5844
5845 [BZ #13706]
5846 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5847 * elf/Makefile: Add rules to run tst-unused-dep.out.
5848
8847f037
DM
58492012-02-28 David S. Miller <davem@davemloft.net>
5850
5851 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5852 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5857
169d7f11
JM
58582012-02-29 Joseph Myers <joseph@codesourcery.com>
5859
5860 * math/libm-test.inc (llround_test): Move one test from
5861 lround_test. Use TEST_f_L in moved test.
5862 (lround_test): Move misplaced test to llround_test. Add testcase
5863 from bug 2561.
5864
39adf059
UD
58652012-02-28 Ulrich Drepper <drepper@gmail.com>
5866
5867 * sysdeps/x86_64/fpu/e_expf.S: New file.
5868 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5869
71b5d1c5
SB
58702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5871
5872 [BZ #13637]
5873 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5874 of remain_len that may cause incomplete multi-byte character and
5875 false match.
5876 * posix/bug-regex33.c: New file.
5877 * posix/Makefile (tests): Add bug-regex33.
5878
1f77f049
JM
58792012-02-28 Joseph Myers <joseph@codesourcery.com>
5880
5881 * manual/macros.texi: New file.
5882 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5883 * manual/libc.texinfo: Include macros.texi.
5884 * manual/creatute.texi: Likewise.
5885 * manual/install.texi: Likewise.
5886 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5887 @glibcadj{} in references to the GNU C Library.
5888 * manual/charset.texi: Likewise.
5889 * manual/conf.texi: Likewise.
5890 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5891 when not using those macros.
5892 * manual/creature.texi: Likewise.
5893 * manual/crypt.texi: Likewise.
5894 * manual/errno.texi: Likewise.
5895 * manual/filesys.texi: Likewise.
5896 * manual/header.texi: Likewise.
5897 * manual/install.texi: Likewise.
5898 * manual/intro.texi: Likewise.
5899 * manual/io.texi: Likewise.
5900 * manual/job.texi: Likewise.
5901 * manual/lang.texi: Likewise.
5902 * manual/libc.texiinfo: Likewise.
5903 * manual/llio.texi: Likewise.
5904 * manual/locale.texi: Likewise.
5905 * manual/maint.texi: Likewise.
5906 * manual/math.texi: Likewise.
5907 * manual/memory.texi: Likewise.
5908 * manual/message.texi: Likewise.
5909 * manual/nss.texi: Likewise.
5910 * manual/pattern.texi: Likewise.
5911 * manual/process.texi: Likewise.
5912 * manual/resource.texi: Likewise.
5913 * manual/search.texi: Likewise.
5914 * manual/setjmp.texi: Likewise.
5915 * manual/signal.texi: Likewise.
5916 * manual/socket.texi: Likewise.
5917 * manual/startup.texi: Likewise.
5918 * manual/stdio.texi: Likewise.
5919 * manual/string.texi: Likewise.
5920 * manual/sysinfo.texi: Likewise.
5921 * manual/syslog.texi: Likewise.
5922 * manual/terminal.texi: Likewise.
5923 * manual/time.texi: Likewise.
5924 * manual/users.texi: Likewise.
5925 * INSTALL: Regenerated.
5926 * NOTES: Regenerated.
d40c5d54 5927 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5928
450bf206
AS
59292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5930
5931 * include/dirent.h: Include <dirstream.h> before
5932 <dirent/dirent.h>.
5933
741a235b
DM
59342012-02-28 David S. Miller <davem@davemloft.net>
5935
5936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5937 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5938 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5940
d6b5aa58
DM
59412012-02-27 David S. Miller <davem@davemloft.net>
5942
1aff59a3
DM
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5945 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5946 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5947
d6b5aa58
DM
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5949 frame pointer instead of stack pointer relative arg slot.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5953
433f48bf
CD
59542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5955
5956 [BZ #3992]
5957 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5958
d674b76d
DM
59592012-02-27 David S. Miller <davem@davemloft.net>
5960
5961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5967 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5969
0e7727f7
JM
59702012-02-27 Joseph Myers <joseph@codesourcery.com>
5971
5972 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5973 later. Allow versions 5-9.
43be4ca2 5974 * configure: Regenerated.
0e7727f7
JM
5975 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5976 required minimum version and 4.6 as recommended version. Do not
5977 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5978 * INSTALL: Regenerated.
0e7727f7 5979
a78bc654
DM
59802012-02-27 David S. Miller <davem@davemloft.net>
5981
428d5830
DM
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5988 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5990
a78bc654
DM
5991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5992 manipulate bits before adding and subtracting TWO112[sx].
5993 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5994
4579f81c
RM
59952012-02-27 Roland McGrath <roland@hack.frob.com>
5996
36c8acb4
RM
5997 [BZ #13775]
5998 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5999 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6000 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6001 being in POSIX, because they are in 1003.1-2008.
6002
84ad622b
RM
6003 * rt/tst-aio.c: Include <fcntl.h>.
6004 * rt/tst-aio7.c: Likewise.
6005 * rt/tst-aio64.c: Likewise.
6006
4579f81c
RM
6007 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6008
abd923db
JM
60092012-02-27 Joseph Myers <joseph@codesourcery.com>
6010
6011 * manual/install.texi (--with-headers): Describe headers as
6012 interface headers, not private headers.
6013 (Specific advice for GNU/Linux systems): Describe use of headers
6014 from "make headers_install", not private headers from older
6015 kernels.
43be4ca2 6016 * INSTALL: Regenerated.
abd923db
JM
6017 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6018 Change to 2.6.19.
6019 * sysdeps/unix/sysv/linux/configure: Regenerated.
6020
6664049b
JM
6021 * manual/llio.texi (fclean): Remove documentation.
6022
bb8b6697
JM
6023 * manual/Makefile (libc-texi-generated): New variable. Include
6024 version.texi.
6025 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6026 $(libc-texi-generated), not duplicated list of files.
6027 (version.texi, stamp-version): New rules.
6028 (realclean): Remove $(libc-texi-generated), not individual files
6029 from that list. Do not remove dir-add.texinfo.
6030 * manual/libc.texinfo: Comment out uses of edition numbers and
6031 references to printed manual. Remove last-updated dates.
6032 (EDITION): Comment out.
6033 (ISBN): Likewise.
6034 (VERSION, UPDATED): Remove.
6035 (version.texi): Include.
6036
12e5c3b9
AS
60372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6038
6039 * sysdeps/posix/spawni.c: Include <signal.h>.
6040 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6041 * sysdeps/pthread/aio_fsync.c: Likewise.
6042
4efeffc1 60432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6044
ba63ba08
UD
6045 * conform/Makefile (tests): Run only when not cross-compiling and
6046 when fast-check is not defined.
6047
d94a4670
UD
6048 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6049 * conform/data/limits.h-data: Fixes for POSIX2008.
6050 * conform/run-conformtest.sh: Run all tests.
6051 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6052 headers.
6053 * include/bits/dlfcn.h: Likewise.
6054 * include/langinfo.h: Likewise.
6055 * include/monetary.h: Likewise.
6056 * include/sys/poll.h: Likewise.
6057
6058 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6059 for __USE_GNU.
6060 * posix/spawn.h: Define __need_sigset_t.
6061 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6062 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6063 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6064 to get sigevent_t only.
6065 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6066 only for __USE_GNU.
6067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6069 process_vm_writev only for __USE_GNU.
6070 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6071
6072 * conform/Makefile: For now ignore errors from run-conformtest.
6073 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6074 POSIX to avoid namespace pollution. Don't prepend headers.
6075 * conform/data/aio.h-data: Fixes for POSIX testing.
6076 * conform/data/fcntl.h-data: Likewise.
6077 * conform/data/glob.h-data: Likewise.
6078 * conform/data/grp.h-data: Likewise.
6079 * conform/data/pthread.h-data: Likewise.
6080 * conform/data/pwd.h-data: Likewise.
6081 * conform/data/signal.h-data: Likewise.
6082 * conform/data/spawn.h-data: Likewise.
6083 * conform/data/stdio.h-data: Likewise.
6084 * conform/data/stdlib.h-data: Likewise.
6085 * conform/data/stropts.h-data: Likewise.
6086 * conform/data/sys/mman.h-data: Likewise.
6087 * conform/data/sys/stat.h-data: Likewise.
6088 * conform/data/sys/types.h-data: Likewise.
6089 * conform/data/sys/wait.h-data: Likewise.
6090 * conform/data/time.h-data: Likewise.
6091 * conform/data/unistd.h-data: Likewise.
6092 * conform/data/utime.h-data: Likewise.
6093
6094 * io/sys/stat.h: fchmod was always in POSIX.
6095 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6096 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6097 * rt/aio.h: Define __need_timespec before including <time.h>.
6098 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6099 struct. Add forward declaration of pthread_attr_t and use it in
6100 sigevent.
6101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6103 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6104 always remove CLK_TCK definition.
6105
c20105c3
AS
61062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6107
6108 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6109
7a270350
UD
61102012-02-25 Ulrich Drepper <drepper@gmail.com>
6111
31341567
UD
6112 * conform/run-conformtest.sh: New file.
6113 * conform/Makefile: Run run-conformtest for tests.
6114 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6115 support.
6116
6117 * conform/data/uchar.h-data: New file.
6118 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6119 * conform/data/arpa/inet.h-data: Likewise.
6120 * conform/data/assert.h-data: Likewise.
6121 * conform/data/complex.h-data: Likewise.
6122 * conform/data/cpio.h-data: Likewise.
6123 * conform/data/ctype.h-data: Likewise.
6124 * conform/data/dirent.h-data: Likewise.
6125 * conform/data/dlfcn.h-data: Likewise.
6126 * conform/data/errno.h-data: Likewise.
6127 * conform/data/fcntl.h-data: Likewise.
6128 * conform/data/float.h-data: Likewise.
6129 * conform/data/fmtmsg.h-data: Likewise.
6130 * conform/data/fnmatch.h-data: Likewise.
6131 * conform/data/ftw.h-data: Likewise.
6132 * conform/data/glob.h-data: Likewise.
6133 * conform/data/grp.h-data: Likewise.
6134 * conform/data/iconv.h-data: Likewise.
6135 * conform/data/inttypes.h-data: Likewise.
6136 * conform/data/langinfo.h-data: Likewise.
6137 * conform/data/libgen.h-data: Likewise.
6138 * conform/data/limits.h-data: Likewise.
6139 * conform/data/locale.h-data: Likewise.
6140 * conform/data/math.h-data: Likewise.
6141 * conform/data/monetary.h-data: Likewise.
6142 * conform/data/mqueue.h-data: Likewise.
6143 * conform/data/ndbm.h-data: Likewise.
6144 * conform/data/net/if.h-data: Likewise.
6145 * conform/data/netdb.h-data: Likewise.
6146 * conform/data/netinet/in.h-data: Likewise.
6147 * conform/data/nl_types.h-data: Likewise.
6148 * conform/data/poll.h-data: Likewise.
6149 * conform/data/pthread.h-data: Likewise.
6150 * conform/data/pwd.h-data: Likewise.
6151 * conform/data/regex.h-data: Likewise.
6152 * conform/data/sched.h-data: Likewise.
6153 * conform/data/search.h-data: Likewise.
6154 * conform/data/semaphore.h-data: Likewise.
6155 * conform/data/setjmp.h-data: Likewise.
6156 * conform/data/signal.h-data: Likewise.
6157 * conform/data/spawn.h-data: Likewise.
6158 * conform/data/stdarg.h-data: Likewise.
6159 * conform/data/stdio.h-data: Likewise.
6160 * conform/data/stdlib.h-data: Likewise.
6161 * conform/data/string.h-data: Likewise.
6162 * conform/data/strings.h-data: Likewise.
6163 * conform/data/stropts.h-data: Likewise.
6164 * conform/data/sys/ipc.h-data: Likewise.
6165 * conform/data/sys/mman.h-data: Likewise.
6166 * conform/data/sys/msg.h-data: Likewise.
6167 * conform/data/sys/resource.h-data: Likewise.
6168 * conform/data/sys/select.h-data: Likewise.
6169 * conform/data/sys/sem.h-data: Likewise.
6170 * conform/data/sys/shm.h-data: Likewise.
6171 * conform/data/sys/socket.h-data: Likewise.
6172 * conform/data/sys/stat.h-data: Likewise.
6173 * conform/data/sys/statvfs.h-data: Likewise.
6174 * conform/data/sys/time.h-data: Likewise.
6175 * conform/data/sys/timeb.h-data: Likewise.
6176 * conform/data/sys/times.h-data: Likewise.
6177 * conform/data/sys/types.h-data: Likewise.
6178 * conform/data/sys/uio.h-data: Likewise.
6179 * conform/data/sys/un.h-data: Likewise.
6180 * conform/data/sys/utsname.h-data: Likewise.
6181 * conform/data/sys/wait.h-data: Likewise.
6182 * conform/data/syslog.h-data: Likewise.
6183 * conform/data/tar.h-data: Likewise.
6184 * conform/data/termios.h-data: Likewise.
6185 * conform/data/utime.h-data: Likewise.
6186 * conform/data/utmpx.h-data: Likewise.
6187 * conform/data/varargs.h-data: Likewise.
6188 * conform/data/wchar.h-data: Likewise.
6189 * conform/data/wctype.h-data: Likewise.
6190 * conform/data/wordexp.h-data: Likewise.
6191
6192 * include/stropts.h: New file.
6193 * include/uchar.h: New file.
6194 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6195 * include/assert.h: Likewise.
6196 * include/ctype.h: Likewise.
6197 * include/dirent.h: Likewise.
6198 * include/dlfcn.h: Likewise.
6199 * include/fcntl.h: Likewise.
6200 * include/fnmatch.h: Likewise.
6201 * include/glob.h: Likewise.
6202 * include/grp.h: Likewise.
6203 * include/libio.h: Likewise.
6204 * include/locale.h: Likewise.
6205 * include/math.h: Likewise.
6206 * include/net/if.h: Likewise.
6207 * include/netdb.h: Likewise.
6208 * include/netinet/in.h: Likewise.
6209 * include/pthread.h: Likewise.
6210 * include/pwd.h: Likewise.
6211 * include/regex.h: Likewise.
6212 * include/sched.h: Likewise.
6213 * include/search.h: Likewise.
6214 * include/setjmp.h: Likewise.
6215 * include/signal.h: Likewise.
6216 * include/stdio.h: Likewise.
6217 * include/stdlib.h: Likewise.
6218 * include/string.h: Likewise.
6219 * include/sys/cdefs.h: Likewise.
6220 * include/sys/mman.h: Likewise.
6221 * include/sys/msg.h: Likewise.
6222 * include/sys/resource.h: Likewise.
6223 * include/sys/select.h: Likewise.
6224 * include/sys/socket.h: Likewise.
6225 * include/sys/stat.h: Likewise.
6226 * include/sys/statvfs.h: Likewise.
6227 * include/sys/time.h: Likewise.
6228 * include/sys/times.h: Likewise.
6229 * include/sys/uio.h: Likewise.
6230 * include/sys/utsname.h: Likewise.
6231 * include/sys/wait.h: Likewise.
6232 * include/termios.h: Likewise.
6233 * include/time.h: Likewise.
6234 * include/ulimit.h: Likewise.
6235 * include/unistd.h: Likewise.
6236 * include/utime.h: Likewise.
6237 * include/wchar.h: Likewise.
6238 * include/wctype.h: Likewise.
6239 * include/wordexp.h: Likewise.
6240
6241 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6242
7a270350
UD
6243 * time/time.h: TIME_UTC must be a macro.
6244 Make timespec_get available for ISO C11 only as well.
6245
7724defc
UD
62462012-02-24 Ulrich Drepper <drepper@gmail.com>
6247
6248 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6249 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6250
6b1d1d46
JM
62512012-02-24 Joseph Myers <joseph@codesourcery.com>
6252
6253 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6254
0f8bbd69
JM
62552012-02-24 Joseph Myers <joseph@codesourcery.com>
6256
6257 * manual/texinfo.tex: Update to version 2012-01-19.16.
6258
66ab80bc
JM
62592012-02-24 Joseph Myers <joseph@codesourcery.com>
6260
6261 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6262
74981cc5
RM
62632012-02-24 Roland McGrath <roland@hack.frob.com>
6264
ee968201
RM
6265 [BZ #13738]
6266 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6267 * manual/fdl-1.3.texi: New file.
6268 * manual/fdl-1.1.texi: File removed.
6269
74981cc5
RM
6270 [BZ #13738]
6271 * manual/libc.texinfo (FDL_VERSION): New @set.
6272 Use it for mention of FDL in cover text.
6273 (Documentation License): Use it in @include file name.
6274
7bb764bc
JM
62752012-02-22 Joseph Myers <joseph@codesourcery.com>
6276 Roland McGrath <roland@hack.frob.com>
6277
6278 [BZ #5461]
6279 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6280 not LONG_LONG_MAX and LONG_LONG_MIN.
6281 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6282 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6283 name.
6284 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6285
6cbeae47
JM
62862012-02-22 Joseph Myers <joseph@codesourcery.com>
6287
6288 [BZ #2547]
6289 [BZ #11365]
6290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6291 manipulate bits before adding and subtracting TWO23[sx].
6292 * math/libm-test.inc (nearbyint_test): Add more tests.
6293
fe45ce09
JM
62942012-02-22 Joseph Myers <joseph@codesourcery.com>
6295
6296 [BZ #2548]
6297 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6298 bits before adding and subtracting TWO23[sx].
6299 * math/libm-test.inc (rint_test): Add more tests.
6300 (rint_test_tonearest): Likewise.
6301 (rint_test_towardzero): Likewise.
6302 (rint_test_downward): Likewise.
6303 (rint_test_upward: Likewise.
6304
ff3b3d82
JM
63052012-02-22 Joseph Myers <joseph@codesourcery.com>
6306
6307 [BZ #10110]
6308 * include/stdc-predef.h: New file. Extracted from features.h.
6309 * include/features.h: Include stdc-predef.h.
6310 * Makefile (headers): Add stdc-predef.h.
6311 * CONFORMANCE (Compiler limitations): Update.
6312
ef0aab35
JM
63132012-02-22 Joseph Myers <joseph@codesourcery.com>
6314
6315 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6316
58639409
DM
63172012-02-21 David S. Miller <davem@davemloft.net>
6318
6319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6321
c0e70b25
DM
63222012-02-20 David S. Miller <davem@davemloft.net>
6323
6324 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6325 using a normal save/restore sequence, rather than allocating a
6326 dummy stack frame just to store a frame pointer and restore.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6328
fb06851d
JM
63292012-02-21 Joseph Myers <joseph@codesourcery.com>
6330
6331 * manual/install.texi: Fix stray word in line-wrapped comment.
6332
7a8b71c3
DM
63332012-02-20 David S. Miller <davem@davemloft.net>
6334
d510c123
DM
6335 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6336 both binutils and gcc support GOTDATA.
6337
0722d7c2
DM
6338 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6339 "rd %pc" in the PIC register setup sequences.
6340
3d2b3019
DM
6341 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6344 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6345 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6350 (SYSCALL_ERROR_HANDLER): Likewise.
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6354 (SYSCALL_ERROR_HANDLER): Likewise.
6355
c80098a9
DM
6356 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6357 (HAVE_GCC_GOTDATA): New.
6358 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6359 relocation support in both binutils and gcc.
6360 * sysdeps/sparc/elf/configure: Regenerate.
6361
3a2545a0
DM
6362 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6363 * sysdeps/sparc/sparc32/elf/configure: Delete.
6364 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6365 * sysdeps/sparc/sparc64/elf/configure: Delete.
6366 * sysdeps/sparc/elf/configure.in: New file.
6367 * sysdeps/sparc/elf/configure: Generate.
6368
7a8b71c3
DM
6369 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6370 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6372 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6373 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6374
f1e86fca
JM
63752012-02-21 Joseph Myers <joseph@codesourcery.com>
6376
6377 * manual/install.texi: Do not mention specific glibc version
6378 numbers.
6379 * manual/libc.texinfo (VERSION, UPDATED): Update.
6380 (@copying): Use @copyright{} and range of years.
6381
0e7dfaef
JM
63822012-02-21 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #13695]
6385 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6386 [crti.S not in sysdirs] (generated): Do not append.
6387 [crti.S not in sysdirs] (omit-deps): Likewise.
6388 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6389 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6390 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6391 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6392 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6393 Likewise.
6394 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6395 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6396 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6397 * csu/defs.awk: Remove file.
6398 * sysdeps/generic/initfini.c: Likewise.
6399 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6400 variable.
6401 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6402 Likewise.
6403
599af3ca
JM
64042012-02-20 Joseph Myers <joseph@codesourcery.com>
6405
6406 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6411 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6412 <bits/epoll.h>.
6413 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6414 (__EPOLL_PACKED): Define to empty if not defined by
6415 <bits/epoll.h>.
6416 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6418 bits/epoll.h.
6419
0e499750
JM
64202012-02-20 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6423 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6425 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6426 <bits/timerfd.h>.
6427 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6429 bits/timerfd.h.
6430
5ad91f6e
JM
64312012-02-20 Joseph Myers <joseph@codesourcery.com>
6432
6433 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6434 in C locale.
6435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6439
06b99b02
AJ
64402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6441
6442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6444
7638c0fd
AS
64452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6446
6447 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6448 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6449 defined.
6450 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6453 entry for 2.16.
6454
92221550
AJ
64552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6456
6457 * math/w_acos.c: Use non-signaling floating-point comparisons.
6458 * math/w_acosf.c: Likewise.
6459 * math/w_acosh.c: Likewise.
6460 * math/w_acoshf.c: Likewise.
6461 * math/w_acoshl.c: Likewise.
6462 * math/w_acosl.c: Likewise.
6463 * math/w_asin.c: Likewise.
6464 * math/w_asinf.c: Likewise.
6465 * math/w_asinl.c: Likewise.
6466 * math/w_atanh.c: Likewise.
6467 * math/w_atanhf.c: Likewise.
6468 * math/w_atanhl.c: Likewise.
6469 * math/w_exp2.c: Likewise.
6470 * math/w_exp2f.c: Likewise.
6471 * math/w_exp2l.c: Likewise.
6472 * math/w_j0.c: Likewise.
6473 * math/w_j0f.c: Likewise.
6474 * math/w_j0l.c: Likewise.
6475 * math/w_j1.c: Likewise.
6476 * math/w_j1f.c: Likewise.
6477 * math/w_j1l.c: Likewise.
6478 * math/w_jn.c: Likewise.
6479 * math/w_jnf.c: Likewise.
6480 * math/w_log.c: Likewise.
6481 * math/w_log10.c: Likewise.
6482 * math/w_log10f.c: Likewise.
6483 * math/w_log10l.c: Likewise.
6484 * math/w_log2.c: Likewise.
6485 * math/w_log2f.c: Likewise.
6486 * math/w_log2l.c: Likewise.
6487 * math/w_logf.c: Likewise.
6488 * math/w_logl.c: Likewise.
6489 * math/w_sqrt.c: Likewise.
6490 * math/w_sqrtf.c: Likewise.
6491 * math/w_sqrtl.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6497
ebaf36eb
JM
64982012-02-19 Joseph Myers <joseph@codesourcery.com>
6499
6500 [BZ #9739]
6501 * manual/string.texi (strnlen): Use correct parameter name in
6502 equivalent expression.
6503
71c254a6
JM
65042012-02-19 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #11174]
6507 * manual/users.texi (seteuid): Consistently use neweuid for
6508 argument name.
6509
16d2c631
JM
65102012-02-19 Joseph Myers <joseph@codesourcery.com>
6511
6512 [BZ #13704]
6513 * manual/nss.texi (Services in the NSS configuration): Correct
6514 list of services in example configuration file.
6515
cd837b09
NB
65162012-02-19 Nick Bowler <nbowler@draconx.ca>
6517
6518 [BZ #11322]
6519 * manual/arith.texi: Remove statements about negative zero
6520 behaving identically to zero.
6521
02c4bbad
JM
65222012-02-18 Joseph Myers <joseph@codesourcery.com>
6523
6524 [BZ #5993]
6525 * manual/install.texi: Do not document upgrading from libc5.
6526
366842e7
JM
65272012-02-18 Joseph Myers <joseph@codesourcery.com>
6528
6529 [BZ #4596]
6530 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6531
dd54084d
DM
65322012-02-18 David S. Miller <davem@davemloft.net>
6533
6534 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6535 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6536 %o7 across the call.
6537 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6538 instead.
6539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6540 SETUP_PIC_REG_LEAF.
6541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6542 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6543 * sysdeps/sparc/crtn.S: Likewise.
6544
2bcc53a3
UD
65452012-02-17 Ulrich Drepper <drepper@gmail.com>
6546
6547 * aout/Makefile: Remove.
6548
09c093b5
RK
65492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6550
6551 [BZ #13058]
6552 * manual/examples/argp-ex1.c (main): Format definition in GNU
6553 style.
6554 * manual/examples/argp-ex2.c (main): Likewise.
6555 * manual/examples/argp-ex3.c (main): Likewise.
6556 * manual/examples/argp-ex4.c (main): Likewise.
6557 * manual/examples/longopt.c (main): Use new-style prototype
6558 definition.
6559 * manual/examples/strncat.c (main): Specify return type and use
6560 (void) for arguments.
6561 * manual/examples/subopt.c (main): Use char **argv argument.
6562
2ee633a2
JM
65632012-02-17 Joseph Myers <joseph@codesourcery.com>
6564
6565 [BZ #5077]
6566 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6567 rounding modes.
6568
0520adde
FB
65692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6570
6571 [BZ #6907]
6572 * manual/string.texi (strchr): Change when strchrnul is
6573 recommended.
6574
3f4081cd
DGM
65752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6576
6577 [BZ #174]
6578 * manual/locale.texi (setlocale): Document LOCPATH.
6579
d1b10e78
JM
65802012-02-17 Joseph Myers <joseph@codesourcery.com>
6581
6582 [BZ #10210]
6583 * manual/process.texi (execle): Move @dots{} before last argument.
6584
79c6869c
PB
65852012-02-17 Paul Bolle <pebolle@tiscali.nl>
6586
6587 [BZ #12047]
6588 * manual/charset.texi (Generic Charset Conversion): Fix typo
6589 (LC_TYPE -> LC_CTYPE).
6590
cc6e48bc
NB
65912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6592
6593 [BZ #5805]
6594 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6595 (scalbnf): Likewise.
6596 (scalbnl): Likewise.
6597 (scalbln): Likewise.
6598 (scalblnf): Likewise.
6599 (scalblnl): Likewise.
6600 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6601 (vwarnx): Likewise.
6602 (verr): Likewise.
6603 (verrx): Likewise.
6604 * manual/filesys.texi (telldir): Use braces around return type.
6605 * manual/llio.texi (mmap): Add space after comma.
6606 (mmap64): Likewise.
6607 * manual/math.texi (jn): Use @var{} on parameter names.
6608 (jnf): Likewise.
6609 (jnl): Likewise.
6610 (yn): Likewise.
6611 (ynf): Likewise.
6612 (ynl): Likewise.
6613 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6614 line.
6615 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6616 "...".
6617 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6618 (sched_get_priority_max): Likewise.
6619 * manual/signal.texi (sigvec): Add space after comma.
6620 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6621 names.
6622 (if_indextoname): Likewise.
6623 (if_freenameindex): Likewise.
6624 (sendto): Use ',' instead of '.' in prototype.
6625 * manual/startup.texi (syscall): Use @dots{} instead of literal
6626 "...".
6627 * manual/stdio.texi (__fpending): Separate initial words of
6628 paragraph from @deftypefun line.
6629 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6630 "...".
6631 (vsyslog): Use @var{} on parameter names.
6632 * manual/terminal.texi (stty): Use @var{} on parameter names.
6633 * manual/users.texi (getutmp): Use @var{} on parameter names.
6634 (getutmpx): Likewise.
6635
5b23062f
JM
66362012-02-17 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #6884]
6639 * manual/stdio.texi (fopen): Fix typos in description of
6640 ",ccs=STRING".
6641
8dee4833
AJ
66422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6643
6644 [BZ #4026]
6645 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6646 get clock_id definition.
6647
9078ce93
TS
66482012-02-17 Thomas Schwinge <thomas@schwinge.name>
6649
6650 [BZ #4822]
6651 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6652 (madvise): Cast every argument to void on its own.
6653
3835c55f
JM
66542012-02-17 Joseph Myers <joseph@codesourcery.com>
6655
6656 [BZ #9902]
6657 * manual/startup.texi (Exit Status): Fix typo.
6658
35c47e37
JM
66592012-02-17 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #10140]
6662 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6663 * manual/examples/argp-ex2.c: Likewise.
6664 * manual/examples/argp-ex3.c: Likewise.
6665
e3b69ca7
RH
66662012-02-16 Richard Henderson <rth@redhat.com>
6667
6668 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6669 * sysdeps/s390/s390-32/initfini.c: Remove.
6670 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6671 * sysdeps/s390/s390-64/initfini.c: Remove.
6672
df83af67
KK
66732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6674
6675 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6676 compiler output for sysdeps/generic/initfini.c.
6677 * sysdeps/sh/elf/initfini.c: Remove file.
6678
f63f3380
DM
66792012-02-16 David S. Miller <davem@davemloft.net>
6680
fb59b3a4
DM
6681 [BZ #11494]
6682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6683
f63f3380
DM
6684 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6685 * sysdeps/sparc/crti.S: New file.
6686 * sysdeps/sparc/crtn.S: New file.
6687 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6688 * sysdeps/sparc/sparc64/Makefile: Likewise.
6689
df6a4a4a
MF
66902012-02-15 Mike Frysinger <vapier@gentoo.org>
6691
6dd8f3dc 6692 [BZ #3335]
df6a4a4a
MF
6693 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6694
1cac7236
RM
66952012-02-15 Roland McGrath <roland@hack.frob.com>
6696
d2c736f8
RM
6697 [BZ #4822]
6698 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6699
1cac7236
RM
6700 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6701 (write, read, close): Likewise.
6702 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6703
8e475601
JM
67042012-02-15 Joseph Myers <joseph@codesourcery.com>
6705
6706 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6707 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6708 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6709 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6710 <bits/signalfd.h>.
6711 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6713 bits/signalfd.h.
6714
ed656b40
MP
67152012-02-14 Marek Polacek <polacek@redhat.com>
6716
6717 * sysdeps/x86_64/crti.S: New file.
6718 * sysdeps/x86_64/crtn.S: New file.
6719 * sysdeps/x86_64/elf/initfini.c: Remove file.
6720
2a979d3a
JM
67212012-02-13 Joseph Myers <joseph@codesourcery.com>
6722
6723 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6724 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6725 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6726 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6727 <bits/inotify.h>.
6728 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6730 bits/inotify.h.
6731
2a418ac3
JM
67322012-02-13 Joseph Myers <joseph@codesourcery.com>
6733
6734 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6735 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6737 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6738 <bits/eventfd.h>.
6739 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6741 bits/eventfd.h.
6742
fb779be7
TS
67432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6744
e19e83c5
RM
6745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6746 __feraiseexcept instead of feraiseexcept.
7c35ffed 6747
fb779be7
TS
6748 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6749 nanosleep invocations.
6750 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6751 strings, and add error checking for a nanosleep invocations.
6752
59ba27a6
PE
67532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6754
6755 Replace FSF snail mail address with URLs, as per GNU coding standards.
6756 Most of the snail mail addresses were wrong anyway, and omitting
6757 them makes the source code easier to maintain. Almost all of the
6758 changes are to license notices and to locale LC_IDENTIFICATION
6759 addresses, except for this one:
6760 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6761 not its snail mail address.
6762
57b957eb
RH
67632012-02-09 Richard Henderson <rth@twiddle.net>
6764
af850b1c
RH
6765 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6766 of kernel-features.h.
6767
57b957eb
RH
6768 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6769
6b73181a
MP
67702012-02-08 Marek Polacek <polacek@redhat.com>
6771
6772 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6773 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6774 * sysdeps/gnu/_G_config.h: Likewise.
6775 * sysdeps/generic/_G_config.h: Likewise.
6776
26ecc33a
AS
67772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6778
6c6dbc63
AS
6779 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6780 tests.
6781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6782
e216c012
AS
6783 * sysdeps/powerpc/powerpc32/crti.S: New file.
6784 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6785 * sysdeps/powerpc/powerpc64/crti.S: New file.
6786 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6787
26ecc33a
AS
6788 * Makeconfig (have-initfini): Don't set.
6789 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6790 * configure.in (nopic_initfini): Don't substitute.
6791 * config.h.in (HAVE_INITFINI): Don't #undef.
6792 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6793 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6794
3add8e13
JM
67952012-02-08 Joseph Myers <joseph@codesourcery.com>
6796
6797 Support crti.S and crtn.S provided directly by architectures.
6798 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6799 [crti.S in sysdirs] (omit-deps): Likewise.
6800 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6801 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6802 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6803 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6804 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6805 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6806 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6807 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6808 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6809 compiler output for sysdeps/generic/initfini.c.
6810 * sysdeps/i386/elf/Makefile: Remove file.
6811 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6812
a22f12b4
MP
68132012-02-07 Marek Polacek <polacek@redhat.com>
6814
6815 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6816 * sysdeps/gnu/_G_config.h: Likewise.
6817 * sysdeps/mach/hurd/_G_config.h: Likewise.
6818
148cf100
MP
68192012-02-07 Marek Polacek <polacek@redhat.com>
6820
6821 * math/Makefile (tests): Add tst-CMPLX2.
6822 * math/tst-CMPLX2.c: New file.
6823
cfdc0dd7
AS
68242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6825
84ba42c4
AS
6826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6827
cfdc0dd7
AS
6828 * math/libm-test.inc (jn_test): Add missing L suffix.
6829
622c86f4
MP
68302012-02-06 Marek Polacek <polacek@redhat.com>
6831
6832 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6833 * sysdeps/i386/fpu/e_powf.S: Likewise.
6834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6836 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6837 * sysdeps/i386/fpu/e_pow.S: Likewise.
6838 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6840 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6841 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6842 * sysdeps/i386/fpu/e_log2.S: Likewise.
6843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6844 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6845 * sysdeps/i386/fpu/e_powl.S: Likewise.
6846 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6848 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6849 * sysdeps/i386/fpu/e_logl.S: Likewise.
6850 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6851 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6856 * sysdeps/i386/fpu/e_log.S: Likewise.
6857 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6859 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6860 * sysdeps/i386/fpu/e_logf.S: Likewise.
6861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6863 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6864 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6866 * sysdeps/i386/fpu/e_log10.S: Likewise.
6867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6872 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6873 * sysdeps/i386/asm-syntax.h: Likewise.
6874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6877 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6878 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6883 * sysdeps/powerpc/sysdep.h: Likewise.
6884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6886
d4a54ac6
JM
68872012-02-06 Joseph Myers <joseph@codesourcery.com>
6888
6889 [BZ #411]
6890 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6891
314054ea
JM
68922012-02-06 Joseph Myers <joseph@codesourcery.com>
6893
6894 * sysdeps/i386/sysdep.h: Include <features.h>.
6895 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6896 version.
6897
d8e0ca50
JM
68982012-02-05 Joseph Myers <joseph@codesourcery.com>
6899
6900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6901 Define.
6902 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6903 LOAD_PIC_REG_STR.
6904
b1da7dd9
JM
69052012-02-03 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6908 (SETUP_PIC_REG): Use GET_PC_THUNK.
6909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6910 macro.
6911
9a1d9254
JM
69122012-02-03 Joseph Myers <joseph@codesourcery.com>
6913
6914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6915 for non-PIC compilation.
6916 (SETUP_PIC_REG): Add .p2align directive.
6917 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6934 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6935 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6936 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6939 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6940 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6945 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6946 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6947 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6952 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6953 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6954 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6955 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6956 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6957 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6958
65dc3b75
JM
69592012-02-03 Joseph Myers <joseph@codesourcery.com>
6960
6961 * math/tst-CMPLX.c: Include <stdio.h>.
6962
d55bf177
JM
69632012-01-31 Joseph Myers <joseph@codesourcery.com>
6964
6965 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6966 float.
6967 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6968 * sysdeps/sparc/bits/mathdef.h: Likewise.
6969
69db4f8f
MP
69702012-01-31 Marek Polacek <polacek@redhat.com>
6971
6972 * libio/libio.h: Don't define _PARAMS.
6973 * locale/programs/config.h: Don't define PARAMS.
6974 * stdlib/strtol_l.c: Likewise.
6975 (__strtol_l): Remove PARAMS from the prototype.
6976
41b81892
UD
69772012-01-31 Ulrich Drepper <drepper@gmail.com>
6978
3b49edc0
UD
6979 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6980 names. Just use the correct names. Remove unnecessary wrapper
6981 functions.
6982 * malloc/arena.c: Likewise.
6983 * malloc/hooks.c: Likewise.
6984
41b81892
UD
6985 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6986 ARENA_TEST says not to. Simplify test for creation of a new arena.
6987 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6988
27a25b6e
UD
69892012-01-30 Ulrich Drepper <drepper@gmail.com>
6990
6991 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6992 into tail calls.
6993 (update_get_addr): New function.
6994 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6995 GET_ADDR_MODULE parameter.
6996
c8a89e7d
JM
69972012-01-30 Joseph Myers <joseph@codesourcery.com>
6998
6999 * crypt/cert.c: Remove __STDC__ conditionals.
7000 * crypt/crypt-entry.c: Likewise.
7001 * crypt/crypt_util.c: Likewise.
7002 * libio/filedoalloc.c: Likewise.
7003 * libio/fileops.c: Likewise.
7004 * libio/genops.c: Likewise.
7005 * libio/iofclose.c: Likewise.
7006 * libio/iofdopen.c: Likewise.
7007 * libio/iofopen.c: Likewise.
7008 * libio/iofopen64.c: Likewise.
7009 * libio/iogetdelim.c: Likewise.
7010 * libio/iopopen.c: Likewise.
7011 * libio/obprintf.c: Likewise.
7012 * libio/oldfileops.c: Likewise.
7013 * libio/oldiofclose.c: Likewise.
7014 * libio/oldiofdopen.c: Likewise.
7015 * libio/oldiofopen.c: Likewise.
7016 * libio/oldiopopen.c: Likewise.
7017 * libio/wfiledoalloc.c: Likewise.
7018 * libio/wgenops.c: Likewise.
7019 * locale/programs/xmalloc.c: Likewise.
7020 * misc/syslog.c: Likewise.
7021 * stdio-common/xbug.c: Likewise.
7022 * string/memchr.c: Likewise.
7023 * string/memcmp.c: Likewise.
7024 * string/memrchr.c: Likewise.
7025 * string/rawmemchr.c: Likewise.
7026 * sysdeps/posix/getcwd.c: Likewise.
7027 * time/strftime_l.c: Likewise.
7028
3b100462
JM
70292012-01-30 Joseph Myers <joseph@codesourcery.com>
7030
7031 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7032 * config.make.in (config-cflags-sse2avx): Define.
7033 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7034 Fix typo.
7035
607998af
CM
70362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7037
7038 * scripts/config.guess: Update from upstream config git repository.
7039 * scripts/config.sub: Likewise.
7040
3601428f
CM
70412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7042
3ac8b282
CM
7043 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7044 (EM_NUM): Update.
7045 (R_TILEPRO_*, R_TILEGX_*): New macros.
7046
e034841e
CM
7047 * scripts/firstversions.awk: Fix bug in version range handling.
7048
540d7568
CM
7049 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7050
3601428f
CM
7051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7052
463de862
CM
7053 * include/sys/epoll.h: New file.
7054 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7055 libc_hidden_def.
7056
73139a76
UD
70572012-01-28 Ulrich Drepper <drepper@gmail.com>
7058
96bc5b45
UD
7059 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7060 Avoid unnecessary __WORDSIZE == 64 test.
7061 (fmaxf): Use VEX format if possible.
7062 (fmax): Likewise.
7063 (fminf): Likewise.
7064 (fmin): Likewise.
7065
56f6f6a2
UD
7066 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7067 * math/math_private.h: Remove libc_fegetround* and
7068 libc_fesetround*.
7069 * sysdeps/i386/configure.in: Check for -msse2avx.
7070 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7071 also if SSE2AVX is defined.
7072 Remove libc_fegetround* and libc_fesetround*.
7073 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7074 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7076 of HAS_YMM_USABLE.
7077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7082
73139a76
UD
7083 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7084
d73f93a4
AZ
70852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7086
7087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7088 size is not set.
7089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7090
6ee65ed6
UD
70912012-01-27 Ulrich Drepper <drepper@gmail.com>
7092
7093 [BZ #13618]
7094 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7095 relocation.
7096 * Makeconfig (libm): Define.
7097 * elf/Makefile: Add rules to build and run tst-relsort1.
7098 * elf/tst-relsort1.c: New file.
7099 * elf/tst-relsort1mod1.c: New file.
7100 * elf/tst-relsort1mod2.c: New file.
7101
8db21882
JM
71022012-01-27 Joseph Myers <joseph@codesourcery.com>
7103
7104 * math/s_ldexp.c: Remove __STDC__ conditionals.
7105 * math/s_ldexpf.c: Likewise.
7106 * math/s_ldexpl.c: Likewise.
7107 * math/s_nextafter.c: Likewise.
7108 * math/s_nexttowardf.c: Likewise.
7109 * math/s_significand.c: Likewise.
7110 * math/s_significandf.c: Likewise.
7111 * math/s_significandl.c: Likewise.
7112 * math/w_jnl.c: Likewise.
7113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7119 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7143 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7144 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7153 * sysdeps/ieee754/k_standard.c: Likewise.
7154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7233 * sysdeps/ieee754/s_matherr.c: Likewise.
7234 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7238
965a54a4
JM
72392012-01-26 Joseph Myers <joseph@codesourcery.com>
7240
7241 * crypt/md5.h: Remove __STDC__ conditionals.
7242 * libio/libioP.h: Likewise.
7243 * locale/programs/config.h: Likewise.
7244 * sysdeps/generic/sysdep.h: Likewise.
7245 * sysdeps/i386/asm-syntax.h: Likewise.
7246 * sysdeps/s390/asm-syntax.h: Likewise.
7247 * sysdeps/unix/sysdep.h: Likewise.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7250
7071ad79
JM
72512012-01-26 Joseph Myers <joseph@codesourcery.com>
7252
7253 * libio/libio.h: Remove __STDC__ conditionals.
7254 * malloc/obstack.h: Likewise.
7255 * math/complex.h: Likewise.
7256 * math/math.h: Likewise.
7257 * sysdeps/generic/_G_config.h: Likewise.
7258 * sysdeps/gnu/_G_config.h: Likewise.
7259 * sysdeps/mach/hurd/_G_config.h: Likewise.
7260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7261 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7262 * sysdeps/sparc/bits/mathdef.h: Likewise.
7263
afc5ed09
UD
72642012-01-26 Ulrich Drepper <drepper@gmail.com>
7265
7266 [BZ #13583]
7267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7268 Clean up HAS_* macros.
afc5ed09 7269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7270 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7271 possible.
7272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7273 HAS_AVX.
7274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7279
bdb6de1d
JM
72802012-01-25 Joseph Myers <joseph@codesourcery.com>
7281
7282 * elf/tst-unique3.cc (gets): Remove declaration.
7283 * elf/tst-unique3lib.cc (gets): Likewise.
7284 * elf/tst-unique3lib2.cc (gets): Likewise.
7285 * elf/tst-unique4.cc (gets): Likewise.
7286
b15549e6
UD
72872012-01-24 Ulrich Drepper <drepper@gmail.com>
7288
7289 * include/stdio.h: Add C++ protection. Add gets declarations and
7290 definitions.
7291 * debug/tst-chk1.c: Don't declare gets here.
7292 * stdio-common/tst-gets.c: Likewise.
7293
a037381f
JM
72942012-01-24 Joseph Myers <joseph@codesourcery.com>
7295
7296 * posix/glob: Remove directory.
7297
f1d4aa75
JM
72982012-01-24 Joseph Myers <joseph@codesourcery.com>
7299
7300 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7301
81c0c964
PT
73022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7303
7304 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7305 of the non-standard EPFNOSUPPORT.
7306
0ea698ae
ST
73072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7308
7309 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7310 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7311 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7312
d220b117
UD
73132012-01-21 Ulrich Drepper <drepper@gmail.com>
7314
7315 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7316
3e1aa84e
UD
73172012-01-20 Ulrich Drepper <drepper@gmail.com>
7318
7319 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7320 transient errors.
7321 * nscd/grpcache.c (cache_addgr): Likewise.
7322 * nscd/hstcache.c (cache_addhst): Likewise.
7323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7324 * nscd/pwdcache.c (cache_addpw): Likewise.
7325 * nscd/servicescache.c (cache_addserv): Likewise.
7326
400aa020
UD
73272012-01-16 Ulrich Drepper <drepper@gmail.com>
7328
d77e7869
UD
7329 * malloc/malloc.c: Various cleanups.
7330 * malloc/hooks.c: Likewise.
7331
400aa020
UD
7332 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7333 * stdlib/bug-fmtmsg1.c: New file.
7334
7335 * stdlib/fmtmsg.c (init): Add missing unlock.
7336 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7337
e0a309cf
MP
73382012-01-12 Marek Polacek <polacek@redhat.com>
7339
7340 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7341 and _GNU_SOURCE.
7342
929d11c7
WS
73432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7344
7345 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7346 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7347 macro to ensure uniqueness of label name.
7348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7350
41d0e869
UD
73512012-01-11 Ulrich Drepper <drepper@gmail.com>
7352
0cc5ed3b
UD
7353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7354
41d0e869
UD
7355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7359
a47a831a
UD
73602012-01-10 Ulrich Drepper <drepper@gmail.com>
7361
daa891c0
UD
7362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7363
7364 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7367
e58ef0f2
UD
7368 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7369
a47a831a 7370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7374
7375 * math/bits/math-finite.h: Add ldexp support.
7376
a0bfc9c7
MP
73772012-01-10 Marek Polacek <polacek@redhat.com>
7378
7379 * locale/programs/localedef.h (show_archive_content): Add noreturn
7380 attribute.
7381
d6e97a1d
UD
73822012-01-09 Ulrich Drepper <drepper@gmail.com>
7383
7384 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7385
d5835c26
UD
73862012-01-08 Ulrich Drepper <drepper@gmail.com>
7387
e5f484c6
UD
7388 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7389
d5835c26
UD
7390 * io/Makefile (headers): Add bits/poll2.h.
7391
d1f741e9
WS
73922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7393
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7395 typo #include statement.
7396
ec09c1c4
UD
73972012-01-08 Ulrich Drepper <drepper@gmail.com>
7398
7399 * include/sys/cdefs.h: Define __attribute_alloc_size.
7400 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7401 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7402 * elf/pldd.c: Likewise.
7403 * iconv/iconv_charmap.c: Likewise.
7404 * iconv/iconvconfig.c: Likewise.
7405 * iconv/strtab.c: Likewise.
7406 * locale/programs/locale.c: Likewise.
7407 * locale/programs/localedef.h: Likewise.
7408 * locale/programs/simple-hash.c: Likewise.
7409 * nscd/nscd.h: Likewise.
7410 * nss/makedb.c: Likewise.
7411 * sysdeps/generic/ldconfig.h: Likewise.
7412 * locale/programs/localedef.c: Remove xmalloc prototype.
7413 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7414
20b38e03
PP
74152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7416
7417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7418 appropriate.
7419
a0da5fe1
UD
74202012-01-08 Ulrich Drepper <drepper@gmail.com>
7421
1d5a644a 7422 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7423 * math/tst-CMPLX.c: New file.
1d5a644a 7424
8784a6db
UD
7425 * math/complex.h (CMPLXL): Fix typo.
7426
d9a216c0
UD
7427 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7428 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7429 GLIBC_2.16.
7430 * debug/tst-chk1.c: Add poll and ppoll tests.
7431 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7432 * include/sys/poll.h: Add hidden proto for ppoll.
7433 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7434 * sysdeps/mach/hurd/ppoll.c: Likewise.
7435 * io/ppoll.c: Likewise.
7436 * debug/poll_chk.c: New file.
7437 * debug/ppoll_chk.c: New file.
7438 * include/bits/poll2.h: New file.
7439 * io/bits/poll2.h: New file.
7440
ac097f5c
UD
7441 [BZ #1350]
7442 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7443
2119dcfa
UD
7444 * configure.in: static is always set to yes. Remove.
7445 * config.make.in: Don't set build-static.
7446 * Makeconfig: Remove use of build-static.
7447 * dlfcn/Makefile: Likewise.
7448 * elf/Makefile: Likewise.
7449 * math/Makefile: Likewise.
7450 * misc/Makefile: Likewise.
7451 * nptl/Makefile: Likewise.
7452 * sysdeps/mach/hurd/Makefile: Likewise.
7453
121766a9
UD
7454 * configure.in: PWD_P is not used anymore.
7455 * config.make.in: Remove PWD_P entry.
7456
51a1d39c 7457 * configure.in: Remove last remnants of RANLIB.
8720d066 7458 No need to check for signed size_t anymore.
215f4bdc
UD
7459 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7460 and IA-64.
3857022a 7461 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7462 * aclocal.m4: Likewise.
7463
d3ed7225
UD
7464 * wcsmbs/mbrtoc16.c: Implement using towc function.
7465 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7466 * wcsmbs/wcsmbsload.c: Likewise.
7467 * iconv/gconv_simple.c: Likewise.
7468 * iconv/gconv_int.h: Likewise.
7469 * iconv/gconv_builtin.h: Likewise.
7470 * iconv/iconv_prog.c: Remove CHAR16 handling.
7471
7472 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7473
7474 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7475
a0da5fe1
UD
7476 * configure.in: Remove --with-elf and --enable-bounded options.
7477 Dont set base_machine for ia64. More non-ELF conditions removed.
7478 Remove testing and setting of leading underscore information.
7479 * config.make.in (build-bounded): Set to no.
7480 * config.h.in: Remove NO_UNDERSCORES entry.
7481 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7482 them.
7483 * csu/start.c: Remove !NO_UNDERSCORE code.
7484 * locale/localeinfo.h: Likewise.
7485 * sysdeps/generic/machine-gmon.h: Likewise.
7486 * sysdeps/generic/sysdep.h: Likewise.
7487 * sysdeps/i386/sysdep.h: Likewise.
7488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7489 * sysdeps/mach/sysdep.h: Likewise.
7490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7492 * sysdeps/sh/sysdep.h: Likewise.
7493 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7494 * sysdeps/unix/i386/sysdep.S: Likewise.
7495 * sysdeps/unix/sparc/start.c: Likewise.
7496 * sysdeps/unix/sparc/sysdep.S: Likewise.
7497 * sysdeps/unix/sparc/sysdep.h: Likewise.
7498 * sysdeps/unix/start.c: Likewise.
7499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7500 * sysdeps/x86_64/sysdep.h: Likewise.
7501
df78418a
UD
75022012-01-07 Ulrich Drepper <drepper@gmail.com>
7503
a784e502
UD
7504 [BZ #13553]
7505 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7506 for non-gcc.
7507 * argp/argp-fmtstream.h: Use const instead __const.
7508 * argp/argp.h: Likewise.
7509 * assert/assert.h: Likewise.
7510 * bits/fenv.h: Likewise.
7511 * bits/sched.h: Likewise.
7512 * bits/sigset.h: Likewise.
7513 * bits/sigthread.h: Likewise.
7514 * catgets/nl_types.h: Likewise.
7515 * conform/data/pthread.h-data: Likewise.
7516 * crypt/crypt-private.h: Likewise.
7517 * crypt/crypt.h: Likewise.
7518 * crypt/crypt_util.c: Likewise.
7519 * ctype/ctype.h: Likewise.
7520 * debug/execinfo.h: Likewise.
7521 * debug/mbsnrtowcs_chk.c: Likewise.
7522 * debug/mbsrtowcs_chk.c: Likewise.
7523 * debug/wcsnrtombs_chk.c: Likewise.
7524 * debug/wcsrtombs_chk.c: Likewise.
7525 * debug/wcstombs_chk.c: Likewise.
7526 * dirent/dirent.h: Likewise.
7527 * dlfcn/dlfcn.h: Likewise.
7528 * elf/neededtest4.c: Likewise.
7529 * grp/grp.h: Likewise.
7530 * gshadow/gshadow.h: Likewise.
7531 * iconv/gconv.h: Likewise.
7532 * iconv/gconv_int.h: Likewise.
7533 * iconv/gconv_simple.c: Likewise.
7534 * iconv/iconv.h: Likewise.
7535 * iconv/loop.c: Likewise.
7536 * iconv/skeleton.c: Likewise.
7537 * include/aio.h: Likewise.
7538 * include/aliases.h: Likewise.
7539 * include/argz.h: Likewise.
7540 * include/arpa/inet.h: Likewise.
7541 * include/assert.h: Likewise.
7542 * include/dirent.h: Likewise.
7543 * include/dlfcn.h: Likewise.
7544 * include/execinfo.h: Likewise.
7545 * include/fcntl.h: Likewise.
7546 * include/fenv.h: Likewise.
7547 * include/glob.h: Likewise.
7548 * include/grp.h: Likewise.
7549 * include/libintl.h: Likewise.
7550 * include/mntent.h: Likewise.
7551 * include/netdb.h: Likewise.
7552 * include/pwd.h: Likewise.
7553 * include/rpc/netdb.h: Likewise.
7554 * include/sched.h: Likewise.
7555 * include/search.h: Likewise.
7556 * include/shadow.h: Likewise.
7557 * include/signal.h: Likewise.
7558 * include/stdio.h: Likewise.
7559 * include/stdlib.h: Likewise.
7560 * include/string.h: Likewise.
7561 * include/sys/socket.h: Likewise.
7562 * include/sys/stat.h: Likewise.
7563 * include/sys/statfs.h: Likewise.
7564 * include/sys/statvfs.h: Likewise.
7565 * include/sys/syslog.h: Likewise.
7566 * include/sys/time.h: Likewise.
7567 * include/sys/uio.h: Likewise.
7568 * include/time.h: Likewise.
7569 * include/unistd.h: Likewise.
7570 * include/utmp.h: Likewise.
7571 * include/wchar.h: Likewise.
7572 * include/wctype.h: Likewise.
7573 * inet/aliases.h: Likewise.
7574 * inet/arpa/inet.h: Likewise.
7575 * inet/netinet/ether.h: Likewise.
7576 * inet/netinet/in.h: Likewise.
7577 * intl/libintl.h: Likewise.
7578 * io/bits/fcntl2.h: Likewise.
7579 * io/fcntl.h: Likewise.
7580 * io/ftw.h: Likewise.
7581 * io/sys/poll.h: Likewise.
7582 * io/sys/stat.h: Likewise.
7583 * io/sys/statfs.h: Likewise.
7584 * io/sys/statvfs.h: Likewise.
7585 * io/utime.h: Likewise.
7586 * libio/bits/stdio.h: Likewise.
7587 * libio/bits/stdio2.h: Likewise.
7588 * libio/libio.h: Likewise.
7589 * libio/libioP.h: Likewise.
7590 * libio/stdio.h: Likewise.
7591 * locale/lc-ctype.c: Likewise.
7592 * locale/locale.h: Likewise.
7593 * login/utmp.h: Likewise.
7594 * malloc/arena.c: Likewise.
7595 * malloc/malloc.c: Likewise.
7596 * malloc/malloc.h: Likewise.
7597 * malloc/mcheck.c: Likewise.
7598 * malloc/mtrace.c: Likewise.
7599 * math/bits/mathcalls.h: Likewise.
7600 * math/fenv.h: Likewise.
7601 * math/math_private.h: Likewise.
7602 * misc/bits/error.h: Likewise.
7603 * misc/bits/syslog.h: Likewise.
7604 * misc/err.h: Likewise.
7605 * misc/error.h: Likewise.
7606 * misc/fstab.h: Likewise.
7607 * misc/mntent.h: Likewise.
7608 * misc/regexp.h: Likewise.
7609 * misc/search.h: Likewise.
7610 * misc/sgtty.h: Likewise.
7611 * misc/sys/mman.h: Likewise.
7612 * misc/sys/syslog.h: Likewise.
7613 * misc/sys/uio.h: Likewise.
7614 * misc/sys/xattr.h: Likewise.
7615 * misc/ttyent.h: Likewise.
7616 * nis/rpcsvc/ypclnt.h: Likewise.
7617 * nss/nss.h: Likewise.
7618 * posix/bits/unistd.h: Likewise.
7619 * posix/fnmatch.h: Likewise.
7620 * posix/glob.h: Likewise.
7621 * posix/sched.h: Likewise.
7622 * posix/spawn.h: Likewise.
7623 * posix/sys/wait.h: Likewise.
7624 * posix/unistd.h: Likewise.
7625 * posix/wordexp.h: Likewise.
7626 * pwd/pwd.h: Likewise.
7627 * resolv/netdb.h: Likewise.
7628 * resource/sys/resource.h: Likewise.
7629 * rt/aio.h: Likewise.
7630 * rt/bits/mqueue2.h: Likewise.
7631 * rt/mqueue.h: Likewise.
7632 * shadow/shadow.h: Likewise.
7633 * signal/signal.h: Likewise.
7634 * socket/send.c: Likewise.
7635 * socket/sendto.c: Likewise.
7636 * socket/sys/socket.h: Likewise.
7637 * stdio-common/printf.h: Likewise.
7638 * stdlib/bits/stdlib.h: Likewise.
7639 * stdlib/fmtmsg.h: Likewise.
7640 * stdlib/monetary.h: Likewise.
7641 * stdlib/stdlib.h: Likewise.
7642 * stdlib/ucontext.h: Likewise.
7643 * streams/stropts.h: Likewise.
7644 * string/argz.h: Likewise.
7645 * string/bits/string2.h: Likewise.
7646 * string/string.h: Likewise.
7647 * string/strings.h: Likewise.
7648 * sunrpc/rpc/auth.h: Likewise.
7649 * sunrpc/rpc/auth_des.h: Likewise.
7650 * sunrpc/rpc/clnt.h: Likewise.
7651 * sunrpc/rpc/netdb.h: Likewise.
7652 * sunrpc/rpc/pmap_clnt.h: Likewise.
7653 * sunrpc/rpc/xdr.h: Likewise.
7654 * sysdeps/generic/inttypes.h: Likewise.
7655 * sysdeps/generic/net/if.h: Likewise.
7656 * sysdeps/generic/sys/swap.h: Likewise.
7657 * sysdeps/gnu/net/if.h: Likewise.
7658 * sysdeps/gnu/utmpx.h: Likewise.
7659 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7660 * sysdeps/i386/i486/bits/string.h: Likewise.
7661 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7662 * sysdeps/s390/bits/string.h: Likewise.
7663 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7664 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7665 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7666 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7667 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7668 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7669 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7671 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7673 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7675 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7676 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7677 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7685 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7686 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7687 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7688 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7691 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7693 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7694 * sysvipc/sys/ipc.h: Likewise.
7695 * sysvipc/sys/msg.h: Likewise.
7696 * sysvipc/sys/sem.h: Likewise.
7697 * sysvipc/sys/shm.h: Likewise.
7698 * termios/termios.h: Likewise.
7699 * time/sys/time.h: Likewise.
7700 * time/time.h: Likewise.
7701 * wcsmbs/bits/wchar2.h: Likewise.
7702 * wcsmbs/uchar.h: Likewise.
7703 * wcsmbs/wchar.h: Likewise.
7704 * wctype/wctype.h: Likewise.
7705
0269750c
UD
7706 [BZ #13551]
7707 * Makeconfig: Remove all but ELF support including AIX support.
7708 * Makerules: Likewise.
7709 * config.h.in: Likewise.
7710 * config.make.in: Likewise.
7711 * configure: Likewise.
7712 * configure.in: Likewise.
7713 * csu/Makefile: Likewise.
7714 * csu/version.c: Likewise.
7715 * debug/Makefile: Likewise.
7716 * dlfcn/Makefile: Likewise.
7717 * elf/Makefile: Likewise.
7718 * extra-lib.mk: Likewise.
7719 * iconv/Makefile: Likewise.
7720 * include/libc-symbols.h: Likewise.
7721 * include/shlib-compat.h: Likewise.
7722 * resolv/Makefile: Likewise.
7723 * resolv/res_libc.c: Likewise.
7724 * rt/Makefile: Likewise.
7725 * sysdeps/i386/asm-syntax.h: Likewise.
7726 * sysdeps/i386/sysdep.h: Likewise.
7727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7728 * sysdeps/mach/sysdep.h: Likewise.
7729 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7730 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7731 * sysdeps/s390/asm-syntax.h: Likewise.
7732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7734 * sysdeps/sh/sysdep.h: Likewise.
7735 * sysdeps/unix/sparc/sysdep.h: Likewise.
7736 * sysdeps/wordsize-32/divdi3.c: Likewise.
7737 * sysdeps/x86_64/sysdep.h: Likewise.
7738
00bbd29b
UD
7739 * argp/Versions: Remove _argp_unlock_xxx.
7740
7741 [BZ #13559]
7742 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7743 * abilist/libBrokenLocale.abilist: Likewise.
7744 * abilist/libanl.abilist: Likewise.
7745 * abilist/libc.abilist: Likewise.
7746 * abilist/libcrypt.abilist: Likewise.
7747 * abilist/libdl.abilist: Likewise.
7748 * abilist/libm.abilist: Likewise.
7749 * abilist/libnsl.abilist: Likewise.
7750 * abilist/libpthread.abilist: Likewise.
7751 * abilist/libresolv.abilist: Likewise.
7752 * abilist/librt.abilist: Likewise.
7753 * abilist/libthread_db.abilist: Likewise.
7754 * abilist/libutil.abilist: Likewise.
7755 * abilist/libnss_db.abilist: New file.
7756
7757 * scripts/abilist.awk: Add support for indirect functions.
7758
a2693a0e
UD
7759 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7760
3f05895f
UD
7761 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7762
ecb6fb48
UD
7763 * shlib-versions: Remove entries for ports architectures.
7764
664f8cb9
UD
7765 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7766 files in ports.
7767 * elf/stackguard-macros.h: Remove support for IA-64.
7768 * elf/tst-auditmod1.c: Likewise.
7769 * sysdeps/generic/ldsodefs.h: Likewise.
7770
7ae81d88
UD
7771 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7772 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7773 configure files.
7774
bdeba135
UD
7775 [BZ #13552]
7776 * configure.in: Remove --enable-omitfp support.
7777 * FAQ.in: Adjust.
7778 * config.make.in: Likewise.
7779 * Makeconfig: Likewise.
7780 * manual/install.texi: Likewise.
7781
d75a0a62
UD
7782 In case anyone cares, the IA-64 architecture could move to ports.
7783 * sysdeps/ia64/*: Removed.
7784 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7786
dcc9756b
UD
7787 [BZ #13555]
7788 * configure.in: Remove entries for unsupported architectures.
7789
d3761ebc 7790 [BZ #13533]
9954432e
UD
7791 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7792 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7793 routines.
7794 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7795 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7796 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7797 fall back to using wcrtomb.
7798 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7799 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7800 renaming.
7801 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7802 * wcsmbs/tst-c16c32-1.c: New file.
7803
7804 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7805 local variable.
7806
c3a87236
UD
7807 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7808
28926a1b
UD
7809 * elf/tst-unique3.cc: Add explicit declaration of gets.
7810 * elf/tst-unique3lib.cc: Likewise.
7811 * elf/tst-unique3lib2.cc: Likewise.
7812 * elf/tst-unique4.cc: Likewise.
7813
df78418a
UD
7814 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7815
8ecd6b2a
JM
78162012-01-06 Joseph Myers <joseph@codesourcery.com>
7817
7818 [BZ #13566]
7819 * assert/assert.h (static_assert): Don't define for C++.
7820 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7821 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7822
9f115170
UD
78232012-01-03 Ulrich Drepper <drepper@gmail.com>
7824
5e0d0300
UD
7825 * iconv/loop.c (single loop): Fix assertion in storing of
7826 remaining bytes.
7827
9f115170
UD
7828 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7829
81fb02b0
UD
78302012-01-01 Ulrich Drepper <drepper@gmail.com>
7831
7832 * posix/getconf.c: Update copyright year.
7833 * nss/getent.c: Likewise.
a316c1f6 7834 * nss/makedb.c: Likewise.
81fb02b0
UD
7835 * iconv/iconvconfig.c: Likewise.
7836 * iconv/iconv_prog.c: Likewise.
7837 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7838 * elf/pldd.c: Likewise.
7839 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7840 * catgets/gencat.c: Likewise.
7841 * csu/version.c: Likewise.
7842 * elf/ldd.bash.in: Likewise.
7843 * elf/sprof.c (print_version): Likewise.
7844 * locale/programs/locale.c: Likewise.
7845 * locale/programs/localedef.c: Likewise.
a316c1f6 7846 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7847 * nscd/nscd.c (print_version): Likewise.
7848 * debug/xtrace.sh: Likewise.
7849 * malloc/memusage.sh: Likewise.
7850 * malloc/mtrace.pl: Likewise.
7851 * debug/catchsegv.sh: Likewise.
7852
2ba92745
JJ
78532011-12-30 Jakub Jelinek <jakub@redhat.com>
7854
7855 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7856 pure attribute.
7857
dadebdae
UD
78582011-12-24 Ulrich Drepper <drepper@gmail.com>
7859
d3761ebc 7860 [BZ #13533]
db6af3eb
UD
7861 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7862 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7863 transformations.
7864 * iconv/gconv_int.h: Likewise.
7865 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7866 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7867 from libc for GLIBC_2.16.
7868 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7869 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7870 * wcsmbs/uchar.h: Really define mbstate_t.
7871 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7872 * wcsmbs/c16rtomb.c: New file.
7873 * wcsmbs/mbrtoc16.c: New file.
7874 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7875 for C/POSIX locale.
7876 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7877 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7878
dadebdae
UD
7879 * wcsmbs/wchar.h: Add missing __restrict.
7880
67371b56
UD
78812011-12-23 Ulrich Drepper <drepper@gmail.com>
7882
74033a25
UD
7883 [BZ #13532]
7884 * time/Makefile (routines): Add timespec_get.
7885 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7886 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7887 timespec for ISO C11.
7888 * time/timespec_get.c: New file.
7889 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7891
380d7e87
UD
7892 [BZ #13531]
7893 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7894 * stdlib/stdlib.h: Declare aligned_alloc.
7895 * Versions.def: Add GLIBC_2.16 for libc.
7896 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7897
4e9e7a35
UD
7898 [BZ 13527]
7899 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7900 ISO C11.
7901
380d7e87 7902 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7903 code.
7904
03a71829
UD
7905 [BZ #13528]
7906 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7907
839e283e
UD
7908 [BZ #13529]
7909 * assert/assert.h (static_assert): Define.
7910
ce5294e2 7911 * version.h: Update for 2.16 development version.
90fa7312 7912
8d44e150 7913 [BZ #13526]
d7809905
UD
7914 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7915 _ISOC11_SOURCE.
7916
c0da14cd
UD
7917 * version.h (RELEASE): Bump for 2.15 release.
7918 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7919
530a3249
MP
7920 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7921 Patch by Marek Polacek <mpolacek@redhat.com>.
7922
67371b56
UD
7923 * bits/byteswap.h: Protect long long constants with __extension__.
7924 * sysdeps/i386/bits/byteswap.h: Likewise.
7925 * sysdeps/ia64/bits/byteswap.h: Likewise.
7926 * sysdeps/s390/bits/byteswap.h: Likewise.
7927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7928
15db4de1
LD
79292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7930
7931 [BZ #13540]
bbe315ea
LD
7932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7933 destination buffer.
15db4de1
LD
7934 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7935
2b2596b1
MP
79362011-12-23 Marek Polacek <polacek@redhat.com>
7937
7938 * elf/dl-addr.c (determine_info): Add inline keyword.
7939 * elf/tst-auditmod4b.c (check_avx): Likewise.
7940 * elf/tst-auditmod6b.c (check_avx): Likewise.
7941 * elf/tst-auditmod6c.c (check_avx): Likewise.
7942 * elf/tst-auditmod7b.c (check_avx): Likewise.
7943
70c6c246
UD
79442011-12-23 Ulrich Drepper <drepper@gmail.com>
7945
7946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7947 !__SSE_MATH__.
7948
c044cf14
LD
79492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7950
15db4de1 7951 [BZ #13540]
c044cf14
LD
7952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7953 processing for last bytes.
7954
6b13d9d9
BH
79552011-08-06 Bruno Haible <bruno@clisp.org>
7956
d455f537
BH
7957 [BZ #13061]
7958 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7959 U+0385, not to U+1FEE.
7960
6b13d9d9
BH
7961 [BZ #13062]
7962 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7963 entry for U+00A5 U+0301.
7964
db910efd
UD
79652011-12-22 Ulrich Drepper <drepper@gmail.com>
7966
27deeafc
UD
7967 [BZ #13166]
7968 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7969 buffer for the output is too small.
7970
aed9d171
UD
7971 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7972 optimization.
7973
db910efd
UD
7974 [BZ #13185]
7975 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7976 SSE flags if possible.
7977
2bd779ae
LD
79782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7979
e7f9dac3 7980 [BZ #13540]
2bd779ae
LD
7981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7982 processing for last bytes.
7983
154bfc16
JM
79842011-12-22 Joseph Myers <joseph@codesourcery.com>
7985
7986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7987 (syscall-list-default-options, syscall-list-default-condition)
7988 (syscall-list-includes): Define.
7989 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7990 list of ABIs and options and #if conditions for each ABI. Do not
7991 handle common syscalls between ABIs specially.
7992 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7998 (syscall-list-variants, syscall-list-32bit-options)
7999 (syscall-list-32bit-condition, syscall-list-64bit-options)
8000 (syscall-list-64bit-condition): Define.
8001 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8002 Remove.
8003 (syscall-list-variants, syscall-list-32bit-options)
8004 (syscall-list-32bit-condition, syscall-list-64bit-options)
8005 (syscall-list-64bit-condition): Define.
8006 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8007 Remove.
8008 (syscall-list-variants, syscall-list-32bit-options)
8009 (syscall-list-32bit-condition, syscall-list-64bit-options)
8010 (syscall-list-64bit-condition): Define.
8011
21eaf3a5
UD
80122011-12-22 Ulrich Drepper <drepper@gmail.com>
8013
16c6f992
UD
8014 * locale/iso-639.def: Add brx entry.
8015
41043168
UD
8016 [BZ #13328]
8017 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8018 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8019
21eaf3a5
UD
8020 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8021 __feraiseexcept_renamed.
8022
e3a851a2
UD
80232011-12-21 Ulrich Drepper <drepper@gmail.com>
8024
4920765e
UD
8025 [BZ #13538]
8026 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8027 EPOLLET with unsigned values.
8028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8030
e3a851a2
UD
8031 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8032 to large cancellation.
8033 * math/s_cacoshf.c: Likewise.
8034 * math/s_cacoshl.c: Likewise.
8035
b27e24b8
RK
80362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8037
8038 [BZ #13305]
aebefeee 8039 [BZ #12786]
b27e24b8
RK
8040 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8041 * math/s_cacoshf.c: Likewise.
8042 * math/s_cacoshl.c: Likewise.
8043
ee190f67
UD
80442011-12-21 Ulrich Drepper <drepper@gmail.com>
8045
8046 [BZ #13439]
8047 * iconv/gconv.h: Define __GCONV_SWAP.
8048 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8049 * iconvdata/utf-16.c: Likewise.
8050 * iconvdata/utf-32.c: Likewise.
8051
707f25df
AS
80522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8053
8054 [BZ #13524]
8055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8056 numerator after shifting it by one limb.
8057
d2daaa1e
RÁE
80582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8059
8060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8061 under [__USE_EXTERN_INLINES].
8062
a4647e72
UD
80632011-12-17 Ulrich Drepper <drepper@gmail.com>
8064
8065 [BZ #13446]
8066 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8067
f0b264f1
AZ
80682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8069
8070 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8071 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8072 optimized code.
8073 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8075 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8076 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8077 for strncasecmp/strncasecmp_l compilation.
8078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8079 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8080
8ef4f244
MP
80812011-12-08 Marek Polacek <mpolacek@redhat.com>
8082
8083 [BZ #13484]
8084 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8085 of __asm__.
8086
97ac2654
UD
80872011-12-17 Ulrich Drepper <drepper@gmail.com>
8088
8089 [BZ #13506]
8090 * time/tzfile.c (__tzfile_read): Check values from file header.
8091
91d2a845
WS
80922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8093
8094 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8095 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8096 * powerpc/powerpc32/dl-start.S: Likewise.
8097 * powerpc/powerpc32/elf/start.S: Likewise.
8098 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8099 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8100 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8101 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8102 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8103 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8104 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8105 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8106 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8107 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8108 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8109 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8110 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8111 * powerpc/powerpc32/memset.S: Likewise.
8112 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8113 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8114 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8115 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8116 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8117 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8118 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8119 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8120 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8121 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8122 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8125
a1267ba1
AZ
81262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127
8128 * math/libm-test.inc: Added more nearbyint tests.
8129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8133
ad8ac1bd
RL
81342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8135
8136 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8137 FD_CLOEXEC.
8138
1d3e4b61
UD
81392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8140
8141 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8142 Add wcscpy-ssse3 wcscpy-c.
8143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8144 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8145 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8146 * sysdeps/x86_64/wcschr.S: New file.
8147 * sysdeps/x86_64/wcsrchr.S: New file.
8148 * string/test-strcmp.c: Remove checking of wcscmp function for
8149 wrong alignments.
8150 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8151 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8152 wcsrchr-sse2 wcsrchr-c.
8153 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8154 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8156 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8157 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8158 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8159 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8162 * wcsmbc/wcschr.c (WCSCHR): New macro.
8163
5b330a2d
UD
81642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8165
8166 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8167 * wcsmbs/test-wcsrchr.c: New file.
8168 * string/test-strrchr.c: Add wcsrchr support.
8169 (WIDE): New macro.
8170 * wcsmbs/test-wcscpy.c: New file.
8171 * string/test-strcpy.c: Add wcscpy support.
8172 (WIDE): New macro.
26428b7c 8173
f039c043
UD
81742011-12-10 Ulrich Drepper <drepper@gmail.com>
8175
8176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8177 the inner loop.
8178
850fb039
AS
81792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8180
8181 [BZ #13472]
8182 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8183
4efbd5cb
UD
81842011-12-04 Ulrich Drepper <drepper@gmail.com>
8185
52ff5dd0 8186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8187 Minor optimizations.
52ff5dd0 8188
4efbd5cb
UD
8189 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8190 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8191 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8192
8a426e12
UD
81932011-12-03 Ulrich Drepper <drepper@gmail.com>
8194
aff2453d
UD
8195 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8196 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8197 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8198 for gcc to avoid warnings.
8199 * inet/Makefile (tests): Add tst-checks.
8200 * inet/tst-checks.c: New file.
8201
8202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8203 warning.
8204
8205 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8206 __wmemcmp_sse2.
8207
8208 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8209 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8210
8a426e12
UD
8211 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8212
9bea3473
UD
82132011-12-02 Ulrich Drepper <drepper@gmail.com>
8214
3a965496
UD
8215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8216 problem.
8217
9bea3473
UD
8218 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8219
f101631b
UD
82202011-11-29 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8223 conditional on GCC version.
8224 (__arch_compare_and_exchange_val_8_acq)
8225 (__arch_compare_and_exchange_val_16_acq)
8226 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8227 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8228 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8229
a98275aa
UD
82302011-12-02 Joseph Myers <joseph@codesourcery.com>
8231
8232 * sysdeps/sh/backtrace.c: New file.
8233
d4cc29a2
AS
82342011-12-02 Andreas Schwab <schwab@redhat.com>
8235
8236 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8237 parenthesis.
8238
6257af2d
AS
82392011-12-01 Andreas Schwab <schwab@redhat.com>
8240
8241 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8242 falling back to utime.
8243
b5f44c1a
AS
82442011-11-30 Andreas Schwab <schwab@redhat.com>
8245
8246 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8247 expectations for float.
8248
f3a6cc0a
AS
82492011-11-29 Andreas Schwab <schwab@redhat.com>
8250
8251 * locale/weight.h (findidx): Add parameter len.
8252 * locale/weightwc.h (findidx): Likewise.
8253 * posix/fnmatch_loop.c (FCT): Adjust caller.
8254 * posix/regcomp.c (build_equiv_class): Likewise.
8255 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8256 * posix/regexec.c (check_node_accept_bytes): Likewise.
8257 * string/strcoll_l.c (STRCOLL): Likewise.
8258 * string/strxfrm_l.c (STRXFRM): Likewise.
8259
9d65ea3a
UD
82602011-11-17 Ulrich Drepper <drepper@gmail.com>
8261
8262 * Makefile.in: Remove CVSOPT handling.
8263 * configure.in: Remove use of AC_REVISION.
8264 * iconvdata/Makefile (distribute): No need to filter out CVS.
8265 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8266 handling.
8267
5583a086
AS
82682011-11-16 Andreas Schwab <schwab@redhat.com>
8269
8270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8271 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8272 [USE_AS_STRNCASECMP_L]: Likewise.
8273 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8274 NO_TLS_DIRECT_SEG_REFS.
8275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8276 Fix argument offsets for non-PIC.
8277 [USE_AS_STRNCASECMP_L]: Likewise.
8278 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8279 NO_TLS_DIRECT_SEG_REFS.
8280
d62a8200
UD
82812011-11-15 Ulrich Drepper <drepper@gmail.com>
8282
9d65ea3a 8283 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8284 O_CLOEXEC.
8285 * locale/loadlocale.c (_nl_load_locale): Likewise.
8286
09f93bd3
AS
82872011-11-15 Andreas Schwab <schwab@redhat.com>
8288
446514f9
AS
8289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8290 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8292 (SYSCALL_GETTIME): Set errno on error.
8293
09f93bd3
AS
8294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8295 count references to noai6ai_cached.
8296
312be3f9
UD
82972011-11-15 Ulrich Drepper <drepper@gmail.com>
8298
8299 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8300
8301 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8302 FD_CLOEXEC for /proc/self/maps.
8303
8304 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8305 FD_CLOEXEC for /proc/meminfo.
8306
8307 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8308 gai.conf.
8309
8310 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8311 FD_CLOEXEC for given file.
8312
8313 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8314
8315 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8316 FD_CLOEXEC for /etc/hosts.
8317 (_gethtent): Likewise.
8318
8319 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8320
8321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8322 cancellation and set FD_CLOEXEC for /etc/netgroup.
8323
8324 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8325 reading /etc/publickey.
8326
8327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8328 allow cancellation when reading /etc/group.
8329
8330 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8331 cancellation.
8332 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8333
8334 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8335 when using data file.
8336
8337 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8338
8339 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8340 (write_nis_obj): Use "c" and "e" in fopen.
8341
8342 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8343
8344 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8345
8346 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8347
8348 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8349
8350 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8351 locale.alias.
8352
8353 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8354
8355 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8356
8357 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8358
8359 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8360 file parsing and set FD_CLOEXEC.
8361
82af0fa8
UD
83622011-11-14 Ulrich Drepper <drepper@gmail.com>
8363
8364 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8365
a5fb313c
AS
83662011-11-14 Andreas Schwab <schwab@redhat.com>
8367
8368 * malloc/arena.c (arena_get2): Don't call reused_arena when
8369 _int_new_arena failed.
8370
6abf3465
UD
83712011-11-14 Ulrich Drepper <drepper@gmail.com>
8372
8373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8374 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8379 to compile strcasecmp and strncasecmp.
8380 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8381 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8382
8383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8384
76e3966e
UD
83852011-11-13 Ulrich Drepper <drepper@gmail.com>
8386
8387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8388 locale-defines.sym to gen-as-const-headers.
8389 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8390 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8392 to compile strcasecmp and strncasecmp.
8393 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8394 strcasecmp_l and strncasecmp_l.
8395 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8396 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8397 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8398 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8399 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8401 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8402 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8403 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8404 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8405 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8406
ab26144e
UD
84072011-11-12 Ulrich Drepper <drepper@gmail.com>
8408
7edb22ef
UD
8409 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8410 result of SYSDEP_GETTIME_CPU to retval.
8411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8412 parameter list to macro. Remove trailing semicolon. Adjust users.
8413
9694fc44
UD
8414 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8415 variable.
8416
8ad89ef8
UD
8417 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8418 mantissa words.
8419 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8420
0c822ef9
UD
8421 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8422 from unused variable.
8423
874e0564
UD
8424 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8425 DWARF definitions.
8426 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8427 for assembling.
8428
3a2edc79
UD
8429 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8430 over namespaces.
8431
f3c2577f
UD
8432 * sunrpc/rpc_prot.c (rejected): Fix case value.
8433
294ce126
UD
8434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8435 unsigned long long int to avoid warnings in shift.
8436
5e2b63c6
UD
8437 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8438 of use of trans.
8439 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8440 variable tmp.
8441
e7f4b08e
UD
8442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8445
ab26144e
UD
8446 * nis/nis_table.c (nis_list): Use variable of correct type for
8447 result of __follow_path call.
8448
8a6d5255
AZ
84492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8450
8451 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8452 of math functions ceil, trunc, floor, round, and sqrt, when
8453 avaliable on the platform.
8454 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8455 name clash.
8456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8459
aaddc98c
MP
84602011-10-30 Marek Polacek <mpolacek@redhat.com>
8461
8462 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8464
95b7042b
RM
84652011-11-11 Roland McGrath <roland@hack.frob.com>
8466
8467 * include/unistd.h: Fix __readlink return type.
8468 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8469
57769839
UD
84702011-11-11 Ulrich Drepper <drepper@gmail.com>
8471
8472 * stdlib/ucontext.h: Undo last change for makecontext.
8473
edc5984d
AS
84742011-11-11 Andreas Schwab <schwab@redhat.com>
8475
98591e58
AS
8476 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8477
edc5984d
AS
8478 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8479 * setjmp/setjmp.h: Mark functions as non-leaf.
8480 * setjmp/bits/setjmp2.h: Likewise.
8481 * stdlib/ucontext.h: Likewise.
8482
77cdc054
AS
84832011-11-10 Andreas Schwab <schwab@redhat.com>
8484
8485 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8486 (reused_arena): Don't check arena limit.
8487 (arena_get2): Atomically check arena limit.
8488
fe72eebd
UD
84892011-11-08 Ulrich Drepper <drepper@gmail.com>
8490
5f078c32
UD
8491 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8492 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8493
fe72eebd
UD
8494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8495 instructions.
8496
ae1bc2fa
AS
84972011-11-07 Andreas Schwab <schwab@redhat.com>
8498
7583a88d
AS
8499 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8500 handler when locking.
8501
ae1bc2fa
AS
8502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8503 Fix size of allocated buffer.
8504
10fb0bfa
AS
85052011-11-04 Andreas Schwab <schwab@redhat.com>
8506
998832a4
AS
8507 [BZ #10103]
8508 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8509 declarations for long double functions.
8510 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8511
10fb0bfa
AS
8512 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8513
3d7ba52b
AS
85142011-11-03 Andreas Schwab <schwab@redhat.com>
8515
a9ae54a1
AS
8516 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8517 installed.
8518
3d7ba52b
AS
8519 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8520 is disabled.
8521
bc8db248
ST
85222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8523
8524 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8525
45b96dd6
AS
85262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8527
647776f6
AS
8528 * include/alloca.h (stackinfo_alloca_round): Define.
8529 (extend_alloca): Use it.
8530 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8531 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8532 here.
8533
d91a8b93
AS
8534 * scripts/check-local-headers.sh: Ignore libaudit.h.
8535
45b96dd6
AS
8536 * nscd/Makefile (extra-objs): Make recursively expanded.
8537
432d41ce
UD
85382011-11-01 Ulrich Drepper <drepper@gmail.com>
8539
34372fc6
UD
8540 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8542
fadb59f8
UD
8543 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8544 * posix/tst-rfc3484-2.c: Likewise.
8545 * posix/tst-rfc3484-3.c: Likewise.
8546
78239589
UD
8547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8548 process_vm_writev.
8549 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8550 process_vm_writev.
8551 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8552 process_vm_writev from libc using GLIBC_2.15 version.
8553
432d41ce
UD
8554 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8555
02f9c6cf
PP
85562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8557
8558 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8559 stack usage.
8560
3a2c0242
UD
85612011-10-31 Ulrich Drepper <drepper@gmail.com>
8562
f4ec4833
UD
8563 [BZ #13367]
8564 * nss/getent.c (initgroups_keys): Show error message in case no group
8565 names are given.
8566
3a2c0242
UD
8567 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8568 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8569 __bump_nl_timestamp.
8570 * nscd/connections (nscd_init): When host database is served open
8571 netlink socket and request notification about configuration changes.
8572 (main_loop_poll): Track netlink file descriptor and bump timestamp
8573 in case data becomes available.
8574 (main_loop_epoll): Likewise.
8575 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8576 (database_pers_head): Add extra_data fileds.
8577 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8578 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8579 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8580 Adjust caller.
8581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8582 in6ai data, call __free_in6ai.
8583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8584 Add -DHAVE_NETLINK.
8585 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8586 interface information. Reuse previous data if netlink timestamp
8587 is not changed.
8588 (__bump_nl_timestamp): New function.
8589 (__free_in6ai): New function.
8590
636064eb
UD
85912011-10-30 Ulrich Drepper <drepper@gmail.com>
8592
8593 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8594 close_not_cancel_no_status here.
8595 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8596
9beb2334
UD
85972011-10-29 Ulrich Drepper <drepper@gmail.com>
8598
6ef76f3b
UD
8599 [BZ #13276]
8600 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8601 return value.
8602
0ffc4f3e 8603 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8604 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8605 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8606
cb95113e
UD
86072011-07-03 Andreas Jaeger <aj@suse.de>
8608
8609 [BZ #10709]
8610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8611 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8612 * math/libm-test.inc (sin_test): Add test case.
8613
a1b560ff
UD
86142011-10-29 Ulrich Drepper <drepper@gmail.com>
8615
c9aaface
UD
8616 [BZ #13337]
8617 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8618 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8619
d272e7f1
UD
8620 * elf/chroot_canon.c (chroot_canon): Cleanups.
8621
1bc33071
UD
8622 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8623
1760874d
TJ
8624 [BZ #13335]
8625 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8627
51d91b18
UD
8628 * string/test-strchr.c: Make usable for strchrnul testing.
8629 * string/test-strchrnul.c: New file.
8630 * string/Makefile (strop-tests): Add strchrnul.
8631
a1b560ff 8632 * po/it.po: Update from translation team.
b611fb81 8633 * po/es.po: Likewise.
a1b560ff 8634
a5b81e1f
UD
86352011-10-28 Ulrich Drepper <drepper@gmail.com>
8636
fd52bc6d
UD
8637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8638 the three constants needed as parameters. Drop the others.
8639 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8640 __m128i_strloadu_tolower.
52e4b9eb
UD
8641 Create and initialize variable zero and use it in all the places
8642 where _mm_setzero_si128 was used.
fd52bc6d 8643
a5b81e1f
UD
8644 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8645 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8646 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8648 anymore.
8649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8652 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8654 __mpranred, __mptan.
8655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8664
b4343346
AS
86652011-10-28 Andreas Schwab <schwab@redhat.com>
8666
0c92d8a8
AS
8667 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8668 redefine if SHARED.
8669 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8670
b4343346
AS
8671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8672 wide char related routines to wcsmbs subdir.
8673
3871f58f
AS
86742011-10-27 Andreas Schwab <schwab@redhat.com>
8675
8676 [BZ #13344]
8677 * misc/sys/cdefs.h (__THROWNL): Define.
8678 * posix/unistd.h: Use __THREADNL instead of __THREAD
8679 for memory synchronization functions.
8680
94d44d9f
RM
86812011-10-26 Roland McGrath <roland@hack.frob.com>
8682
21b64b15 8683 [BZ #13349]
94d44d9f
RM
8684 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8685 doesn't exist.
8686 * manual/stdio.texi (Obstack Streams): Node removed.
8687
f6ce9294
AS
86882011-10-26 Andreas Schwab <schwab@redhat.com>
8689
80479147
AS
8690 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8693
f6ce9294
AS
8694 * math/math_private.h (math_force_eval): Allow non-addressable
8695 arguments.
8696 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8697
618280a1
UD
86982011-10-25 Ulrich Drepper <drepper@gmail.com>
8699
e0016b11
UD
8700 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8701 file is not needed.
8702
8703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8710 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8711 Add AVX variants.
8712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8716 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8718 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8722 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8723 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8726 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8727 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8728 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8729 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8731
8732 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8733 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8734
618280a1
UD
8735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8736 place. Use VEX encoding when compiling for AVX.
8737
37822576
AS
87382011-10-25 Andreas Schwab <schwab@redhat.com>
8739
1f1e1947
AS
8740 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8742
37822576
AS
8743 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8744
31ea014d
UD
87452011-10-25 Ulrich Drepper <drepper@gmail.com>
8746
d7826aa1 8747 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8748 useless if() expression.
d7826aa1
UD
8749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8768
31ea014d
UD
8769 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8770
16437fec
AS
87712011-10-25 Andreas Schwab <schwab@redhat.com>
8772
8773 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8774 condition.
8775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8776
31d3cc00
UD
87772011-10-25 Ulrich Drepper <drepper@gmail.com>
8778
8779 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8780 .text section. Avoid duplicate constants.
8781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8809 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8826
58985aa9
UD
88272011-10-24 Ulrich Drepper <drepper@gmail.com>
8828
202c9deb
UD
8829 * sysdeps/x86_64/dla.h: Move to ...
8830 * sysdeps/x86_64/fpu/dla.h: ...here.
8831 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8832 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8833
af968f62
UD
8834 * config.make.in: Add have-mfma4 entry.
8835 * configure.in: Substitute libc_cv_cc_fma4.
8836 * math/Makefile (dbl-only-routines): Add sincostab.
8837 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8838 Use __sincostab not sincos.
8839 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8840 name is a macro.
8841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8845 using __copysign.
8846 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8847 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8848 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8849 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8850 and __inv.
8851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8852 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8853 __copysign.
8854 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8855 define aliases when function name is a macro.
8856 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8857 sysdeps/ieee754/dbl-64/sincos.tbl.
8858 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8859 fma4-enabled routines.
8860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8870 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8872 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8890
58985aa9
UD
8891 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8892 rename.
8893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8901
a201fbcf
AS
89022011-10-24 Andreas Schwab <schwab@redhat.com>
8903
8904 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8905
fc2ee42a
LD
89062011-10-23 Ulrich Drepper <drepper@gmail.com>
8907
bb3129bd
UD
8908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8909
0275fff8
UD
8910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8911 prediction.
8912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8913
2fa2ae85
UD
8914 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8915 Remove unused variable magic_bits.
8916 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8917
fc2ee42a
LD
8918 * string/strnlen.c: Define and use STRNLEN macro.
8919 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8920 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8922 * wcsmbs/wcslen.c: Define and use WCSLEN.
8923 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8924 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8925 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8926 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8928 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8929 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8930
ce7dd29f
LD
89312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8932
8933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8934 strnlen-sse2-no-bsf.
8935 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8938 Add strnlen support.
8939 (USE_AS_STRNLEN): New macro.
8940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8942 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8943 * sysdeps/x86_64/wcslen.S: New file.
8944
979c70a3
MZ
89452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8946
8947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8948 XMM-moves are used for copying on small sizes.
8949
2d09f82f
LD
89502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8951
8952 * wcsmbs/Makefile (strop-tests): Add wcschr.
8953 * wcsmbs/test-wcschr.c: New file.
8954 * string/test-strchr.c: Update.
8955 Add wcschr support.
8956 (WIDE): New macro.
8957
619fccca
LD
89582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8959
2d09f82f 8960 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8961 * wcsmbs/test-wcslen.c: New file.
8962 * string/test-strlen.c: Update.
8963 Add wcslen support.
8964 (WIDE): New macro.
8965
09f699ea
UD
89662011-10-23 Ulrich Drepper <drepper@gmail.com>
8967
8968 * po/it.po: Update from translation team.
8969
95584d3b
LD
89702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8971
8972 * sysdeps/x86_64/wcscmp.S: Update.
8973 Fix wrong comparison semantics.
8974 wcscmp shall use signed comparison not unsigned.
8975 Don't use substraction to avoid overflow bug.
8976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8977 * wcsmbc/wcscmp.c: Likewise.
8978 * string/test-strcmp.c: Likewise.
8979 Add new tests to check cases with negative values.
8980
c8b3296b
UD
89812011-10-23 Ulrich Drepper <drepper@gmail.com>
8982
8983 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8984 * sysdeps/x86_64/dla.h: ...here. New file.
8985 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8994
246ad57a
AS
89952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8996
8997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8998 __ynl_finite aliases.
8999
a1a87169
UD
90002011-10-22 Ulrich Drepper <drepper@gmail.com>
9001
0d355eb7
UD
9002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9003
a1a87169
UD
9004 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9005 define DLA_FMA.
9006 [DLA_FMA] (EMULV): Use DLA_FMA.
9007 [DLA_FMA] (MUL12): Use EMULV.
9008 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9009 that are not needed.
9010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9017
ee2aafe0
AS
90182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9019
9020 * math/s_nan.c: Undef __nan.
9021 * math/s_nanf.c: Undef __nanf.
9022 * math/s_nanl.c: Undef __nanl.
9023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9024 "math_private.h".
9025
bc62c2fb
UD
90262011-10-22 Ulrich Drepper <drepper@gmail.com>
9027
77425c63
UD
9028 * math/s_catan.c: Add branch predictions.
9029 * math/s_catanf.c: Likewise.
9030 * math/s_catanh.c: Likewise.
9031 * math/s_catanhf.c: Likewise.
9032 * math/s_catanhl.c: Likewise.
9033 * math/s_catanl.c: Likewise.
9034 * math/s_cexp.c: Likewise.
9035 * math/s_cexpf.c: Likewise.
9036 * math/s_cexpl.c: Likewise.
9037 * math/s_clog.c: Likewise.
9038 * math/s_clog10.c: Likewise.
9039 * math/s_clog10f.c: Likewise.
9040 * math/s_clog10l.c: Likewise.
9041 * math/s_clogf.c: Likewise.
9042 * math/s_clogl.c: Likewise.
9043 * math/s_csqrt.c: Likewise.
9044 * math/s_csqrtf.c: Likewise.
9045 * math/s_csqrtl.c: Likewise.
9046 * math/s_ctanf.c: Likewise.
9047 * math/s_ctanh.c: Likewise.
9048 * math/s_ctanhf.c: Likewise.
9049 * math/s_ctanhl.c: Likewise.
9050 * math/s_ctanl.c: Likewise.
9051
bc62c2fb
UD
9052 * math/math_private.h: Define __nan, __nanf, __nanl.
9053 * math/s_cacosh.c: Include <math_private.h>.
9054 * math/s_cacoshl.c: Likewise.
9055 * math/s_casinh.c: Likewise.
9056 * math/s_casinhf.c: Likewise.
9057 * math/s_casinhl.c: Likewise.
9058 * math/s_ccos.c: Rely entire on ccosh.
9059 * math/s_ccosf.c: Rely entire on ccoshf.
9060 * math/s_ccosl.c: Rely entirely on ccoshl.
9061 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9062 Remove tests for FE_INVALID.
9063 * math/s_ccoshf.c: Likewise.
9064 * math/s_ccoshl.c: Likewise.
9065 * math/s_csin.c: Likewise.
9066 * math/s_csinf.c: Likewise.
9067 * math/s_csinh.c Likewise.
9068 * math/s_csinhf.c: Likewise.
9069 * math/s_csinhl.c: Likewise.
9070 * math/s_csinl.c: Likewise.
9071 * math/s_ctan.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9073 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9075
8ec250a4
UD
90762011-10-21 Ulrich Drepper <drepper@gmail.com>
9077
c196fed8
UD
9078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9079 compilation problems.
9080
8ec250a4
UD
9081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9082 __builtin_expect.
9083
8d4f46c6
UD
90842011-10-20 Ulrich Drepper <drepper@gmail.com>
9085
ed72b654
UD
9086 * sysdeps/i386/configure.in: Test for -mfma4 option.
9087 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9088 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9089 COMMON_CPUID_INDEX_80000001.
9090 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9091 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9092 use it if FMA3 is not supported.
9093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9094
8d4f46c6
UD
9095 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9097
d45c60c2
AS
90982011-10-20 Andreas Schwab <schwab@redhat.com>
9099
9100 [BZ #12892]
9101 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9102 it would create a cycle with a link time dependency.
9103
d9a4d2ab
UD
91042011-10-19 Ulrich Drepper <drepper@gmail.com>
9105
855d1560
UD
9106 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9107 instruction.
9108 * string/Makefile (strop-tests): Add rawmemchr.
9109 * string/test-rawmemchr.c: New file.
9110
d9a4d2ab
UD
9111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9113 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9114 when compiling str{,n}casecmp and when AVX is available. Hook up
9115 new optimized code in initializers.
9116
8f3b1ffe
AS
91172011-10-19 Andreas Schwab <schwab@redhat.com>
9118
9119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9120 __feraiseexcept instead of feraiseexcept.
9121
d38f1dba
UD
91222011-10-18 Ulrich Drepper <drepper@gmail.com>
9123
d9a8d0ab
UD
9124 * math/math_private.h: Define defaults for libc_fetestexcept and
9125 libc_feupdateenv.
9126 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9127 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9132 libc_fetestexcept and libc_feupdateenv.
9133
4855e3dd
UD
9134 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9135 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9136 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9137 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9138 libc_feholdexcept_setround.
9139
581d30e3
UD
9140 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9141 Add s_nearbyint-c and s_nearbyintf-c.
9142 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9143 nearbyintf inlines.
9144 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9145 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9146 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9147 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9148
d38f1dba
UD
9149 * math/math_private.h: Define defaults for libc_fegetround,
9150 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9151 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9152 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9154 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9155 standard functions.
9156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9157 Remove comments and hacks for old compiler versions.
9158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9159 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9160 libc_feholdexceptl.
9161
caa6c9d8
AS
91622011-10-18 Andreas Schwab <schwab@redhat.com>
9163
9164 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9165 (__feraiseexcept_renamed): Add __NTH.
9166 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9167 namespace violations.
9168
97c066e6
UD
91692011-10-17 Ulrich Drepper <drepper@gmail.com>
9170
99ce7b04
UD
9171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9172
1004d182
UD
9173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9174
228a984d
UD
9175 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9176 recently added interfaces.
9177 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9178
c8553a6a
UD
9179 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9180 about macro parameter expansion.
9181
ed22dcf6
UD
9182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9183 __NO_MATH_INLINES is defined. Cleanups.
9184
9185 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9186 and __floorf is target has SSE4.1.
9187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9191
b171c137
UD
9192 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9193 name.
9194 (floorf): Likewise.
9195
97c066e6
UD
9196 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9197
629f62ef
AS
91982011-10-17 Andreas Schwab <schwab@redhat.com>
9199
49a43d80
AS
9200 * misc/sys/cdefs.h: Fix last change.
9201
629f62ef
AS
9202 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9203 database lookup.
9204
e453f6cd
UD
92052011-10-16 Ulrich Drepper <drepper@gmail.com>
9206
aa78043a
UD
9207 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9208
ad0f5cad
UD
9209 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9218 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9219 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9220 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9221 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9222 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9224 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9227 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9228 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9231
9232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9233 ceil, ceilf, floor, floorf.
9234
9235 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9236 Perform IRELATIVE relocations last.
9237
e453f6cd
UD
9238 * elf/do-rel.h: Add another parameter nrelative, replacing the
9239 local variable with the same name. Change name of the function
9240 to end in Rel or Rela (uppercase).
9241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9242 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9243 elf_dynamic_do_##reloc function.
9244
fd5bdc09
UD
92452011-10-15 Ulrich Drepper <drepper@gmail.com>
9246
79b195b5
UD
9247 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9248 is sufficient, at least on modern CPUs.
9249
d4a28569
UD
9250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9251
b61099b5
UD
9252 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9254
bcf01e6d
UD
9255 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9256 __expl_finite.
9257 * math/bits/math-finite.h: Add entries for exp.
9258 * math/e_expl.c: Add __*_finite alias.
9259 * sysdeps/i386/fpu/e_exp.S: Likewise.
9260 * sysdeps/i386/fpu/e_expf.S: Likewise.
9261 * sysdeps/i386/fpu/e_expl.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9267 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9269
ba1a0d59
UD
9270 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9271 is sufficient, at least on modern CPUs.
9272
fd5bdc09
UD
9273 * ctype/ctype-info.c (__ctype_init): Define.
9274 * include/ctype.h (__ctype_init): Declare.
9275 (__ctype_b_loc): The variable is always initialized.
9276 (__ctype_toupper_loc): Likewise.
9277 (__ctype_tolower_loc): Likewise.
9278 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9279 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9280
7872cfb0
AS
92812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9282
b468825a
AS
9283 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9284
7872cfb0
AS
9285 * configure.in: Also look in $cxxmachine/include for C++ system
9286 headers.
9287
be13f7bf
LD
92882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9289
9290 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9291 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9292 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9293 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9295 (USE_AS_WMEMCMP): New macro.
9296 Fixing indents.
9297 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9298 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9299 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9300 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9302 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9303 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9305 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9306 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9308 (USE_AS_WMEMCMP): New macro.
9309 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9310 * sysdeps/string/test-memcmp.c: Update.
9311 Fix simple_wmemcmp.
9312 Add new tests.
9313 * wcsmbs/wmemcmp.c: Update.
9314 (WMEMCMP): New macro.
9315 Fix overflow bug.
9316
556a2007
AJ
93172011-10-12 Andreas Jaeger <aj@suse.de>
9318
9319 [BZ #13268]
9320 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9321
538faaa7
UD
93222011-10-15 Ulrich Drepper <drepper@gmail.com>
9323
ab6737ff
UD
9324 * libio/iofwide.c (do_length): Avoid warning.
9325
538faaa7
UD
9326 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9327
396a21b1
UD
93282011-10-14 Ulrich Drepper <drepper@gmail.com>
9329
cdf2901f
UD
9330 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9331
38ad40ce
UD
9332 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9333 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9334 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9335 * sysdeps/i386/i686/fpu/e_log.S: New file.
9336 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9337 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9338
396a21b1
UD
9339 * ctype/ctype.h: Add support for inlined isXXX functions when
9340 compiling C++ code.
9341
6b1f68c9
AS
93422011-10-14 Andreas Schwab <schwab@redhat.com>
9343
349290c0
AS
9344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9345
6b1f68c9
AS
9346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9347
f2282d42
RM
93482011-10-13 Roland McGrath <roland@hack.frob.com>
9349
9350 [BZ #13291]
9351 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9352
5298ffa8
AS
93532011-10-13 Andreas Schwab <schwab@redhat.com>
9354
714fad23
AS
9355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9356 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9357 feraiseexcept.
9358
81dcc7fb
AS
9359 * sysdeps/x86_64/memrchr.S: Check for zero size.
9360
5298ffa8
AS
9361 * string/stratcliff.c: Add memrchr tests.
9362
951fbcec
LD
93632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9364
9365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9366 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9367 rawmemchr-sse2 rawmemchr-sse2-bsf.
9368 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9369 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9370 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9371 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9372 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9373 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9374 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9375 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9376 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9377 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9378 * string/memrchr.c (MEMRCHR): New macro.
9379
0ac5ae23
UD
93802011-10-12 Ulrich Drepper <drepper@gmail.com>
9381
9382 Add integration with gcc's -ffinite-math-only and optimize wrapper
9383 functions in libm.
9384 * Versions.def: Define GLIBC_2.15 version for libm.
9385 * math/Makefile (headers): Add bits/math-finite.h.
9386 * math/bits/math-finite.h: New file.
9387 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9388 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9389 * math/e_acoshl.c: Add __*_finite alias.
9390 * math/e_acosl.c: Likewise.
9391 * math/e_asinl.c: Likewise.
9392 * math/e_atan2l.c: Likewise.
9393 * math/e_atanhl.c: Likewise.
9394 * math/e_coshl.c: Likewise.
9395 * math/e_exp10.c: Likewise.
9396 * math/e_exp10f.c: Likewise.
9397 * math/e_exp10l.c: Likewise.
9398 * math/e_exp2l.c: Likewise.
9399 * math/e_fmodl.c: Likewise.
9400 * math/e_gammal_r.c: Likewise.
9401 * math/e_hypotl.c: Likewise.
9402 * math/e_j0l.c: Likewise.
9403 * math/e_j1l.c: Likewise.
9404 * math/e_jnl.c: Likewise.
9405 * math/e_lgammal_r.c: Likewise.
9406 * math/e_log10l.c: Likewise.
9407 * math/e_log2l.c: Likewise.
9408 * math/e_logl.c: Likewise.
9409 * math/e_powl.c: Likewise.
9410 * math/e_sinhl.c: Likewise.
9411 * math/e_sqrtl.c: Likewise.
9412 * math/e_scalb.c: Completely rewritten and optimized.
9413 * math/e_scalbf.c: Likewise.
9414 * math/e_scalbl.c: Likewise.
9415 * math/w_acos.c: Likewise.
9416 * math/w_acosf.c: Likewise.
9417 * math/w_acosl.c: Likewise.
9418 * math/w_acosh.c: Likewise.
9419 * math/w_acoshf.c: Likewise.
9420 * math/w_acoshl.c: Likewise.
9421 * math/w_asin.c: Likewise.
9422 * math/w_asinf.c: Likewise.
9423 * math/w_asinl.c: Likewise.
9424 * math/w_atan2.c: Likewise.
9425 * math/w_atan2f.c: Likewise.
9426 * math/w_atan2l.c: Likewise.
9427 * math/w_atanh.c: Likewise.
9428 * math/w_atanhf.c: Likewise.
9429 * math/w_atanhl.c: Likewise.
9430 * math/w_exp10.c: Likewise.
9431 * math/w_exp10f.c: Likewise.
9432 * math/w_exp10l.c: Likewise.
9433 * math/w_fmod.c: Likewise.
9434 * math/w_fmodf.c: Likewise.
9435 * math/w_fmodl.c: Likewise.
9436 * math/w_j0.c: Likewise.
9437 * math/w_j0f.c: Likewise.
9438 * math/w_j0l.c: Likewise.
9439 * math/w_j1.c: Likewise.
9440 * math/w_j1f.c: Likewise.
9441 * math/w_j1l.c: Likewise.
9442 * math/w_jn.c: Likewise.
9443 * math/w_jnf.c: Likewise.
9444 * math/w_log.c: Likewise.
9445 * math/w_logf.c: Likewise.
9446 * math/w_logl.c: Likewise.
9447 * math/w_log10.c: Likewise.
9448 * math/w_log10f.c: Likewise.
9449 * math/w_log10l.c: Likewise.
9450 * math/w_log2.c: Likewise.
9451 * math/w_log2f.c: Likewise.
9452 * math/w_log2l.c: Likewise.
9453 * math/w_pow.c: Likewise.
9454 * math/w_powf.c: Likewise.
9455 * math/w_powl.c: Likewise.
9456 * math/w_remainder.c: Likewise.
9457 * math/w_remainderf.c: Likewise.
9458 * math/w_remainderl.c: Likewise.
9459 * math/w_scalb.c: Likewise.
9460 * math/w_scalbf.c: Likewise.
9461 * math/w_scalbl.c: Likewise.
9462 * math/w_sqrt.c: Likewise.
9463 * math/w_sqrtf.c: Likewise.
9464 * math/w_sqrtl.c: Likewise.
9465 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9466 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9467 used.
9468 * math/math_private.h: Declare __kernel_standard_f.
9469 * math/w_cosh.c: Remove cruft and optimize a bit.
9470 * math/w_coshf.c: Likewise.
9471 * math/w_coshl.c: Likewise.
9472 * math/w_exp2.c: Likewise.
9473 * math/w_exp2f.c: Likewise.
9474 * math/w_exp2l.c: Likewise.
9475 * math/w_hypot.c: Likewise.
9476 * math/w_hypotf.c: Likewise.
9477 * math/w_hypotl.c: Likewise.
9478 * math/w_lgamma.c: Likewise.
9479 * math/w_lgamma_r.c: Likewise.
9480 * math/w_lgammaf.c: Likewise.
9481 * math/w_lgammaf_r.c: Likewise.
9482 * math/w_lgammal.c: Likewise.
9483 * math/w_lgammal_r.c: Likewise.
9484 * math/w_sinh.c: Likewise.
9485 * math/w_sinhf.c: Likewise.
9486 * math/w_sinhl.c: Likewise.
9487 * math/w_tgamma.c: Likewise.
9488 * math/w_tgammaf.c: Likewise.
9489 * math/w_tgammal.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9492 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9493 Minor optimizations. Pretty printing. Remove cruft.
9494 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9498 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9499 * sysdeps/i386/fpu/e_asin.S: Likewise.
9500 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9501 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9502 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9503 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9507 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9508 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9509 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9510 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9511 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9512 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9513 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9514 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9515 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9516 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9517 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9518 * sysdeps/i386/fpu/e_log.S: Likewise.
9519 * sysdeps/i386/fpu/e_log10.S: Likewise.
9520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9522 * sysdeps/i386/fpu/e_log2.S: Likewise.
9523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9525 * sysdeps/i386/fpu/e_logf.S: Likewise.
9526 * sysdeps/i386/fpu/e_logl.S: Likewise.
9527 * sysdeps/i386/fpu/e_pow.S: Likewise.
9528 * sysdeps/i386/fpu/e_powf.S: Likewise.
9529 * sysdeps/i386/fpu/e_powl.S: Likewise.
9530 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9531 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9532 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9536 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9537 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9538 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9564 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9568 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9570 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9573 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9574 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9575 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9576 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9632 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9636 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9637 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9638 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9639 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9640 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9641 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9642 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9643 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9647 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9649 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9650 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9651 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9652 (__isnanf): Likewise.
9653 (__isinf_ns): Likewise.
9654 (__isinf_nsf): Likewise.
9655 (__finite): Likewise.
9656 (__finitef): Likewise.
9657 (__ieee754_sqrt): Define as macro.
9658 (__ieee754_sqrtf): Define as macro.
9659 (__ieee754_sqrtl): Define as macro.
9660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9661 inlined copy.
9662 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9663 __FINITE_MATH_ONLY__ consistent.
9664 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9665
12cc2fcd
AS
96662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9667
a843a204
AS
9668 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9669 of rawmemchr.
9670
12cc2fcd
AS
9671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9672
c853acd5
UD
96732011-10-09 Ulrich Drepper <drepper@gmail.com>
9674
9675 * po/ja.po: Update from translation team.
9676
c658d255
RM
96772011-10-08 Roland McGrath <roland@hack.frob.com>
9678
110946e4
RM
9679 * locale/programs/locarchive.c (prepare_address_space): New function.
9680 (create_archive, enlarge_archive, open_archive): Use it.
9681
50604220
RM
9682 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9683 inside [SHARED], where it is used.
9684
c658d255
RM
9685 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9686
9687 * nss/getent.c (netgroup_keys): Remove unused variable.
9688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9689
6a621eb7
UD
96902011-10-08 Ulrich Drepper <drepper@gmail.com>
9691
7edb55ce
UD
9692 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9696 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9698 * math/Makefile (libm-calls): Add s_isinf_ns.
9699 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9700 * math/multc3.c: Likewise.
9701 * math/s_casin.c: Likewise.
9702 * math/s_casinf.c: Likewise.
9703 * math/s_casinl.c: Likewise.
9704 * math/s_ccos.c: Likewise.
9705 * math/s_ccosf.c: Likewise.
9706 * math/s_ccosl.c: Likewise.
9707 * math/s_ctan.c: Likewise.
9708 * math/s_ctanf.c: Likewise.
9709 * math/s_ctanh.c: Likewise.
9710 * math/s_ctanhf.c: Likewise.
9711 * math/s_ctanhl.c: Likewise.
9712 * math/s_ctanl.c: Likewise.
9713 * math/w_fmod.c: Likewise.
9714 * math/w_fmodf.c: Likewise.
9715 * math/w_fmodl.c: Likewise.
9716 * math/w_remainder.c: Likewise.
9717 * math/w_remainderf.c: Likewise.
9718 * math/w_remainderl.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9720 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9723 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9724 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9725 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9726 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9727
187da0ae
UD
9728 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9729 of the number.
9730 * stdio-common/printf_fphex.c: Likewise.
9731 * stdio-common/printf_size.c: Likewise.
9732
9277c064
UD
9733 * math/e_exp10.c: Include math_private.h using <...> not "...".
9734 * math/e_exp10f.c: Likewise.
9735 * math/e_exp10l.c: Likewise.
9736 * math/e_exp2l.c: Likewise.
9737 * math/e_j0l.c: Likewise.
9738 * math/e_j1l.c: Likewise.
9739 * math/e_jnl.c: Likewise.
9740 * math/e_lgammal_r.c: Likewise.
9741 * math/e_rem_pio2l.c: Likewise.
9742 * math/e_scalb.c: Likewise.
9743 * math/e_scalbf.c: Likewise.
9744 * math/e_scalbl.c: Likewise.
9745 * math/k_cosl.c: Likewise.
9746 * math/k_sinl.c: Likewise.
9747 * math/k_tanl.c: Likewise.
9748 * math/s_cacoshf.c: Likewise.
9749 * math/s_catan.c: Likewise.
9750 * math/s_catanf.c: Likewise.
9751 * math/s_catanh.c: Likewise.
9752 * math/s_catanhf.c: Likewise.
9753 * math/s_catanhl.c: Likewise.
9754 * math/s_catanl.c: Likewise.
9755 * math/s_ccosh.c: Likewise.
9756 * math/s_ccoshf.c: Likewise.
9757 * math/s_ccoshl.c: Likewise.
9758 * math/s_cexp.c: Likewise.
9759 * math/s_cexpf.c: Likewise.
9760 * math/s_cexpl.c: Likewise.
9761 * math/s_clog.c: Likewise.
9762 * math/s_clog10.c: Likewise.
9763 * math/s_clog10f.c: Likewise.
9764 * math/s_clog10l.c: Likewise.
9765 * math/s_clogf.c: Likewise.
9766 * math/s_clogl.c: Likewise.
9767 * math/s_csin.c: Likewise.
9768 * math/s_csinf.c: Likewise.
9769 * math/s_csinh.c: Likewise.
9770 * math/s_csinhf.c: Likewise.
9771 * math/s_csinhl.c: Likewise.
9772 * math/s_csinl.c: Likewise.
9773 * math/s_csqrt.c: Likewise.
9774 * math/s_csqrtf.c: Likewise.
9775 * math/s_csqrtl.c: Likewise.
9776 * math/s_ctan.c: Likewise.
9777 * math/s_ctanf.c: Likewise.
9778 * math/s_ctanh.c: Likewise.
9779 * math/s_ctanhf.c: Likewise.
9780 * math/s_ctanhl.c: Likewise.
9781 * math/s_ctanl.c: Likewise.
9782 * math/s_ldexp.c: Likewise.
9783 * math/s_ldexpf.c: Likewise.
9784 * math/s_ldexpl.c: Likewise.
9785 * math/s_significand.c: Likewise.
9786 * math/s_significandf.c: Likewise.
9787 * math/s_significandl.c: Likewise.
9788 * math/w_acos.c: Likewise.
9789 * math/w_acosf.c: Likewise.
9790 * math/w_acosh.c: Likewise.
9791 * math/w_acoshf.c: Likewise.
9792 * math/w_acoshl.c: Likewise.
9793 * math/w_acosl.c: Likewise.
9794 * math/w_asin.c: Likewise.
9795 * math/w_asinf.c: Likewise.
9796 * math/w_asinl.c: Likewise.
9797 * math/w_atan2.c: Likewise.
9798 * math/w_atan2f.c: Likewise.
9799 * math/w_atan2l.c: Likewise.
9800 * math/w_atanh.c: Likewise.
9801 * math/w_atanhf.c: Likewise.
9802 * math/w_atanhl.c: Likewise.
9803 * math/w_cosh.c: Likewise.
9804 * math/w_coshf.c: Likewise.
9805 * math/w_coshl.c: Likewise.
9806 * math/w_dremf.c: Likewise.
9807 * math/w_exp10.c: Likewise.
9808 * math/w_exp10f.c: Likewise.
9809 * math/w_exp10l.c: Likewise.
9810 * math/w_exp2.c: Likewise.
9811 * math/w_exp2f.c: Likewise.
9812 * math/w_fmod.c: Likewise.
9813 * math/w_fmodf.c: Likewise.
9814 * math/w_fmodl.c: Likewise.
9815 * math/w_hypot.c: Likewise.
9816 * math/w_hypotf.c: Likewise.
9817 * math/w_hypotl.c: Likewise.
9818 * math/w_j0.c: Likewise.
9819 * math/w_j0f.c: Likewise.
9820 * math/w_j0l.c: Likewise.
9821 * math/w_j1.c: Likewise.
9822 * math/w_j1f.c: Likewise.
9823 * math/w_j1l.c: Likewise.
9824 * math/w_jn.c: Likewise.
9825 * math/w_jnf.c: Likewise.
9826 * math/w_jnl.c: Likewise.
9827 * math/w_lgamma.c: Likewise.
9828 * math/w_lgamma_r.c: Likewise.
9829 * math/w_lgammaf.c: Likewise.
9830 * math/w_lgammaf_r.c: Likewise.
9831 * math/w_lgammal.c: Likewise.
9832 * math/w_lgammal_r.c: Likewise.
9833 * math/w_log.c: Likewise.
9834 * math/w_log10.c: Likewise.
9835 * math/w_log10f.c: Likewise.
9836 * math/w_log10l.c: Likewise.
9837 * math/w_log2.c: Likewise.
9838 * math/w_log2f.c: Likewise.
9839 * math/w_log2l.c: Likewise.
9840 * math/w_logf.c: Likewise.
9841 * math/w_logl.c: Likewise.
9842 * math/w_pow.c: Likewise.
9843 * math/w_powf.c: Likewise.
9844 * math/w_powl.c: Likewise.
9845 * math/w_remainder.c: Likewise.
9846 * math/w_remainderf.c: Likewise.
9847 * math/w_remainderl.c: Likewise.
9848 * math/w_scalb.c: Likewise.
9849 * math/w_scalbf.c: Likewise.
9850 * math/w_scalbl.c: Likewise.
9851 * math/w_sinh.c: Likewise.
9852 * math/w_sinhf.c: Likewise.
9853 * math/w_sinhl.c: Likewise.
9854 * math/w_sqrt.c: Likewise.
9855 * math/w_sqrtf.c: Likewise.
9856 * math/w_sqrtl.c: Likewise.
9857 * math/w_tgamma.c: Likewise.
9858 * math/w_tgammaf.c: Likewise.
9859 * math/w_tgammal.c: Likewise.
9860
6a621eb7
UD
9861 * po/ja.po: Update from translation team.
9862
bf582445
AJ
98632011-09-29 Andreas Jaeger <aj@suse.de>
9864
f9efbf3a
AJ
9865 [BZ #13179]
9866 * sunrpc/netname.c (netname2host): Fix logic.
9867
bf582445
AJ
9868 [BZ #6779]
9869 [BZ #6783]
9870 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9871 correctly.
9872 * math/w_remainder.c (__remainder): Likewise.
9873 * math/w_remainderf.c (__remainderf): Likewise.
9874 * math/libm-test.inc (remainder_test): Add test cases.
9875
48693bea
AK
98762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9877
9878 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9879 sdiv_qrnnd.
9880
42622229
LD
98812011-10-07 Ulrich Drepper <drepper@gmail.com>
9882
9883 * string/test-memcmp.c: Avoid unncessary #defines.
9884 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9885
093ecf92
LD
98862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9887
9888 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9889 Use new sse2 version for core i3 - i7 as it's faster
9890 than sse42 version.
9891 (bit_Prefer_PMINUB_for_stringop): New.
9892 * sysdeps/x86_64/rawmemchr.S: Update.
9893 Replace with faster SSE2 version.
9894 * sysdeps/x86_64/memrchr.S: New file.
9895 * sysdeps/x86_64/memchr.S: Update.
9896 Replace with faster SSE2 version.
9897
fde56e5c
MP
98982011-09-12 Marek Polacek <mpolacek@redhat.com>
9899
9900 * elf/dl-load.c (lose): Add cast to avoid warning.
9901
21fd49a9
UD
99022011-10-07 Ulrich Drepper <drepper@gmail.com>
9903
5a06e643
UD
9904 * po/ca.po: Update from translation team.
9905
684ae515
UD
9906 * inet/getnetgrent_r.c: Hook up nscd.
9907 * nscd/Makefile (routines): Add nscd_netgroup.
9908 (nscd-modules): Add netgroupcache.
9909 (CFLAGS-netgroupcache.c): Define.
9910 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9911 (cache_search): Add const to second parameter.
9912 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9913 INNETGR.
9914 (dbs): Add netgrdb entry.
9915 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9916 (verify_persistent_db): Handle netgrdb.
9917 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9918 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9919 GETFDNETGR.
9920 (netgroup_response_header): Define.
9921 (innetgroup_response_header): Define.
9922 (datahead): Add netgroup_response_header and innetgroup_response_header
9923 elements.
9924 * nscd/nscd.conf: Add entries for netgroup cache.
9925 * nscd/nscd.h (dbtype): Add netgrdb.
9926 (_PATH_NSCD_NETGROUP_DB): Define.
9927 (netgroup_iov_disabled): Declare.
9928 (xmalloc, xcalloc, xrealloc): Move declarations here.
9929 (cache_search): Adjust prototype.
9930 Add netgroup-related prototypes.
9931 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9932 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9933 (__nscd_innetgr): Declare.
9934 * nscd/selinux.c (perms): Use access_vector_t as element type and
9935 add netgroup-related initializers.
9936 * nscd/netgroupcache.c: New file.
9937 * nscd/nscd_netgroup.c: New file.
9938 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9939 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9940 For four parameters use innetgr.
9941 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9942 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9943 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9944 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9945
21fd49a9
UD
9946 * nscd/connections.c (register_traced_file): Don't register file
9947 for disabled databases.
9948
054c0457
UD
99492011-10-06 Ulrich Drepper <drepper@gmail.com>
9950
32b63198
UD
9951 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9952
054c0457
UD
9953 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9954 from tree and freeing node.
9955
64031225
JO
99562011-09-25 Jiri Olsa <jolsa@redhat.com>
9957
9958 * nss/nsswitch.c (__nss_database_lookup): Handle
9959 nss_parse_service_list out of memory case.
9960
0490345c
JO
99612011-09-15 Jiri Olsa <jolsa@redhat.com>
9962
9963 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9964 out of memory case.
9965
3a62d00d
AS
99662011-10-04 Andreas Schwab <schwab@redhat.com>
9967
9968 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9969 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9970 pass it down.
9971 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9972 elf_machine_rela, elf_machine_lazy_rel.
9973 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9974 (ELF_DYNAMIC_DO_REL): Likewise.
9975 (ELF_DYNAMIC_DO_RELA): Likewise.
9976 (ELF_DYNAMIC_RELOCATE): Likewise.
9977 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9978 to ELF_DYNAMIC_DO_REL.
9979 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9980 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9981 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9982 elf_machine_rela.
9983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9984 skip_ifunc, don't call ifunc function if non-zero.
9985 (elf_machine_rela): Likewise.
9986 (elf_machine_lazy_rel): Likewise.
9987 (elf_machine_lazy_rela): Likewise.
9988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9989 (elf_machine_lazy_rel): Likewise.
9990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9991 Likewise.
9992 (elf_machine_lazy_rel): Likewise.
9993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9994 Likewise.
9995 (elf_machine_lazy_rel): Likewise.
9996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9997 (elf_machine_lazy_rel): Likewise.
9998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9999 (elf_machine_lazy_rel): Likewise.
10000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10001 (elf_machine_lazy_rel): Likewise.
10002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10003 (elf_machine_lazy_rel): Likewise.
10004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10005 (elf_machine_lazy_rel): Likewise.
10006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10007 (elf_machine_lazy_rel): Likewise.
10008
68577918
UD
100092011-09-28 Ulrich Drepper <drepper@gmail.com>
10010
10011 * nss/nss_files/files-init.c (_nss_files_init): Use static
10012 initialization for all the *_traced_file variables.
10013
68822d74
AS
100142011-09-28 Andreas Schwab <schwab@redhat.com>
10015
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10017
2056100b
RM
100182011-09-27 Roland McGrath <roland@hack.frob.com>
10019
10020 [BZ #13226]
10021 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10022
32c76b63
AS
100232011-09-27 Andreas Schwab <schwab@redhat.com>
10024
10025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10026 Reread the line before reparsing it.
10027
bf972c9d
AS
100282011-09-26 Andreas Schwab <schwab@redhat.com>
10029
10030 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10031
e057a1b5
JM
100322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10033 Maxim Kuvyrkov <maxim@codesourcery.com>
10034 Joseph Myers <joseph@codesourcery.com>
10035
10036 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10037 if needed for __stack_chk_guard.
10038
bc7e1c36
RM
100392011-09-19 Roland McGrath <roland@hack.frob.com>
10040
ecb1482f
RM
10041 * sysdeps/posix/spawni.c (script_execute): Always define it.
10042 It will be optimized away if unused.
10043 (maybe_script_execute): New function.
10044 (__spawni): Call it.
10045
bc7e1c36
RM
10046 * Makerules: Don't include tls.make.
10047 (config-tls): Always set to thread.
10048 * tls.make.c: File removed.
10049
1c3b002b
MF
100502011-09-19 Mike Frysinger <vapier@gentoo.org>
10051
10052 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10053 * config.make.in (CPPFLAGS-config): New substituted variable.
10054
2840865d
UD
100552011-09-15 Ulrich Drepper <drepper@gmail.com>
10056
88738eb6
UD
10057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10058
cbf645a6 10059 [BZ #13192]
2840865d
UD
10060 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10061 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10062
b402e91a
RM
100632011-09-15 Roland McGrath <roland@hack.frob.com>
10064
10065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10066 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10068 (CALL_FAIL): Likewise.
10069 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10070 (CALL_FAIL): Macro removed.
10071 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10072
4c1a1f71
UD
100732011-09-15 Ulrich Drepper <drepper@gmail.com>
10074
10075 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10076 for __FINITE_MATH_ONLY__ == 1.
10077
edc121be
AS
100782011-09-15 Andreas Schwab <schwab@redhat.com>
10079
10080 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10081 __ieee754_sqrt instead of sqrt.
10082 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10083 __ieee754_sqrtf instead of sqrtf.
10084 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10085 __floorf instead of floorf.
10086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10087 __floorf, __truncf instead of floorf, truncf.
10088
cd205654
UD
100892011-09-14 Ulrich Drepper <drepper@gmail.com>
10090
ee4d0315
UD
10091 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10092
cd205654
UD
10093 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10094 __extern_always_inline.
10095 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10096 32-bit.
10097
48b67d71
AS
100982011-09-14 Andreas Schwab <schwab@redhat.com>
10099
10100 * elf/rtld.c (dl_main): Also relocate in dependency order when
10101 doing symbol dependency testing.
10102
1ae12c75
AS
101032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10104
10105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10106 Always define `refsym'.
10107
995a80df
AS
101082011-09-13 Andreas Schwab <schwab@redhat.com>
10109
e529793b
AS
10110 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10111 (__FD_ELT): Renamed from __FDELT.
10112 * misc/bits/select2.h (__FD_ELT): Likewise.
10113 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10114 __FD_MASK instead of __FDELT, __FDMASK.
10115 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10116 Likewise.
10117 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10118 Likewise.
10119
52d4fef8
AS
10120 * elf/Makefile (gen-ldd): Fix pattern.
10121
995a80df
AS
10122 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10123 (init_tls): Likewise.
10124
8682f8b0
UD
101252011-09-12 Ulrich Drepper <drepper@gmail.com>
10126
10127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10128
de82006d
AS
101292011-09-12 Andreas Schwab <schwab@redhat.com>
10130
a7c8e6a1
AS
10131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10132 `struct cmsghdr *' instead of `void *'.
10133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10134 Likewise.
10135
0f31fe77
AS
101362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10137
10138 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10139 if non-absolute.
10140 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10141 ldd_rewrite_script.
0f31fe77 10142
32b4c839
UD
101432011-09-11 Ulrich Drepper <drepper@gmail.com>
10144
83cd1420
UD
10145 * configure.in: Remove --with-tls option.
10146 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10147 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10148 out in case it is missing.
10149 * sysdeps/ia64/elf/configure.in: Likewise.
10150 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10151 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10152 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10153 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10154 * sysdeps/sh/elf/configure.in: Likewise.
10155 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10157 * sysdeps/x86_64/elf/configure.in: Likewise.
10158 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10159 * sysdeps/mach/hurd/tls.h: Likewise.
10160
633f745d
UD
10161 [BZ #13067]
10162 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10163
f318beb8
UD
10164 [BZ #13090]
10165 * configure.in: Fix use of AC_INIT.
10166
32b4c839
UD
10167 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10168
3ce1f295
UD
101692011-09-10 Ulrich Drepper <drepper@gmail.com>
10170
bb016596
UD
10171 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10172 __set_errno.
8e58439c
UD
10173 * malloc/hooks.c: Likewise.
10174
aebae053 10175 [BZ #11929]
02d46fc4
UD
10176 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10177 variables statically.
10178 (narenas): Initialize.
10179 (list_lock): Initialize.
bb016596
UD
10180 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10181 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10182 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10183 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10184 Add initializers to main_arena and mp_.
10185 (malloc_state): Remove pagesize member. Change all users to use
10186 GLRO(dl_pagesize).
10187
10188 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10189 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10190 is always initialized.
10191
22a89187
UD
10192 * malloc/malloc.c: Removed unused configurations and dead code.
10193 * malloc/arena.c: Likewise.
10194 * malloc/hooks.c: Likewise.
02d46fc4 10195 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10196
d063d164
UD
10197 * include/tls.h: Removed. USE___THREAD must always be defined.
10198 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10199 * elf/dl-libc.c: Likewise.
10200 * elf/dl-tsd.c: Likewise.
10201 * include/errno.h: Likewise.
10202 * include/netdb.h: Likewise.
10203 * include/resolv.h: Likewise.
10204 * inet/herrno-loc.c: Likewise.
10205 * inet/herrno.c: Likewise.
10206 * malloc/arena.c: Likewise.
10207 * malloc/hooks.c: Likewise.
10208 * malloc/malloc.c: Likewise.
10209 * resolv/res-state.c: Likewise.
10210 * resolv/res_libc.c: Likewise.
10211 * sysdeps/i386/dl-machine.h: Likewise.
10212 * sysdeps/ia64/dl-machine.h: Likewise.
10213 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10214 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10215 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10216 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10217 * sysdeps/sh/dl-machine.h: Likewise.
10218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10220 * sysdeps/unix/i386/sysdep.S: Likewise.
10221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10222 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10232 * sysdeps/x86_64/dl-machine.h: Likewise.
10233 * tls.make.c: Likewise.
10234
3ce1f295
UD
10235 * configure.in: Remove --with-__thread option. Make tests for
10236 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10237 tls_model attribute fail if no support is available. Remove
10238 USE_IN_LIBIO.
10239 * Makeconfig: Adjust for dropped configure option. All features are
10240 now mandatory.
10241 * Makerules: Likewise.
10242 * Versions.def: Likewise.
10243 * argp/argp-fmtstream.c: Likewise.
10244 * argp/argp-fmtstream.h: Likewise.
10245 * argp/argp-help.c: Likewise.
10246 * assert/assert.c: Likewise.
10247 * config.h.in: Likewise.
10248 * config.make.in: Likewise.
10249 * configure: Likewise.
10250 * configure.in: Likewise.
10251 * csu/Versions: Likewise.
10252 * csu/init.c: Likewise.
10253 * elf/tst-audit2.c: Likewise.
10254 * elf/tst-tls10.c: Likewise.
10255 * elf/tst-tls10.h: Likewise.
10256 * elf/tst-tls11.c: Likewise.
10257 * elf/tst-tls12.c: Likewise.
10258 * elf/tst-tls14.c: Likewise.
10259 * elf/tst-tlsmod11.c: Likewise.
10260 * elf/tst-tlsmod12.c: Likewise.
10261 * elf/tst-tlsmod13.c: Likewise.
10262 * elf/tst-tlsmod13a.c: Likewise.
10263 * elf/tst-tlsmod14a.c: Likewise.
10264 * elf/tst-tlsmod15b.c: Likewise.
10265 * elf/tst-tlsmod16a.c: Likewise.
10266 * elf/tst-tlsmod16b.c: Likewise.
10267 * elf/tst-tlsmod7.c: Likewise.
10268 * elf/tst-tlsmod8.c: Likewise.
10269 * elf/tst-tlsmod9.c: Likewise.
10270 * gmon/gmon.c: Likewise.
10271 * grp/fgetgrent_r.c: Likewise.
10272 * grp/putgrent.c: Likewise.
10273 * hurd/fopenport.c: Likewise.
10274 * include/libc-symbols.h: Likewise.
10275 * include/tls.h: Likewise.
10276 * intl/gettextP.h: Likewise.
10277 * intl/loadinfo.h: Likewise.
10278 * locale/global-locale.c: Likewise.
10279 * locale/localeinfo.h: Likewise.
10280 * mach/devstream.c: Likewise.
10281 * malloc/arena.c: Likewise.
10282 * malloc/set-freeres.c: Likewise.
10283 * misc/err.c: Likewise.
10284 * misc/getttyent.c: Likewise.
10285 * misc/mntent_r.c: Likewise.
10286 * posix/getopt.c: Likewise.
10287 * posix/wordexp.c: Likewise.
10288 * pwd/fgetpwent_r.c: Likewise.
10289 * resolv/Versions: Likewise.
10290 * resolv/res_hconf.c: Likewise.
10291 * shadow/fgetspent_r.c: Likewise.
10292 * shadow/putspent.c: Likewise.
10293 * stdio-common/printf_fphex.c: Likewise.
10294 * stdio-common/tmpfile.c: Likewise.
10295 * stdlib/abort.c: Likewise.
10296 * stdlib/fmtmsg.c: Likewise.
10297 * sunrpc/auth_unix.c: Likewise.
10298 * sunrpc/clnt_perr.c: Likewise.
10299 * sunrpc/clnt_tcp.c: Likewise.
10300 * sunrpc/clnt_udp.c: Likewise.
10301 * sunrpc/clnt_unix.c: Likewise.
10302 * sunrpc/openchild.c: Likewise.
10303 * sunrpc/svc_simple.c: Likewise.
10304 * sunrpc/svc_tcp.c: Likewise.
10305 * sunrpc/svc_udp.c: Likewise.
10306 * sunrpc/svc_unix.c: Likewise.
10307 * sunrpc/xdr.c: Likewise.
10308 * sunrpc/xdr_array.c: Likewise.
10309 * sunrpc/xdr_rec.c: Likewise.
10310 * sunrpc/xdr_ref.c: Likewise.
10311 * sunrpc/xdr_stdio.c: Likewise.
10312
1248c1c4
PB
103132011-09-09 Ulrich Drepper <drepper@gmail.com>
10314
10315 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10316
103172011-07-03 Andreas Jaeger <aj@suse.de>
10318
10319 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10321 regenerate with gen-libm-tests.pl.
10322
103232010-05-12 Petr Baudis <pasky@suse.cz>
10324
10325 [BZ #11589]
10326 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10327 around j0() zero points by switching to j1().
10328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10332
f22e1074
UD
103332011-09-09 Ulrich Drepper <drepper@gmail.com>
10334
f19009c1
UD
10335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10336 instead of 0.
10337 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10338 instead of 0. .
10339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10340 Patch in part by Pavel Roskin <proski@gnu.org>.
10341
3f8cc204
UD
10342 [BZ #13138]
10343 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10344 realloc.
10345 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10346 Free memory block if necessary.
10347
f22e1074
UD
10348 [BZ #12847]
10349 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10350 be NULL. Don't lock in this case.
10351
0a2349f9
RM
103522011-09-09 Roland McGrath <roland@hack.frob.com>
10353
10354 * elf/elf.h (ELFOSABI_GNU): New macro.
10355 (ELFOSABI_LINUX): Define to that.
10356
f3cdd467
DZ
103572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10358
10359 * string/strncat.c (strncat): Undef the symbol in case it has been
10360 defined in bits/string.h.
10361
74718d13
UD
103622011-09-09 Ulrich Drepper <drepper@gmail.com>
10363
633e9e0f
UD
10364 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10365
0a2349f9 10366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10367 link map.
10368
f9924780
AJ
103692011-08-17 Andreas Jaeger <aj@suse.de>
10370
10371 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10372
7f5517aa
PP
103732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10374 Ian Lance Taylor <iant@google.com>
10375
10376 * math/libm-test.inc (lround_test): New testcase.
10377 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10378
762011fe
UD
103792011-09-08 Ulrich Drepper <drepper@gmail.com>
10380
92963737
UD
10381 * Makefile: Remove support for automatic cvs check-ins.
10382 * Makerules: Likewise.
10383 * config.make.in: Likewise.
10384 * configure.in: Likewise.
10385 * intl/Makefile: Likewise.
10386 * locale/Makefile: Likewise.
10387 * po/Makefile: Likewise.
10388 * posix/Makefile: Likewise.
10389 * sysdeps/gnu/Makefile: Likewise.
10390 * sysdeps/mach/hurd/Makefile: Likewise.
10391 * sysdeps/sparc/sparc32/Makefile: Likewise.
10392
b0727fd8
JS
10393 [BZ #13118]
10394 * posix/Makefile (bug-regex32-ENV): Define.
10395 Patch by John Stanley <jpsinthemix@verizon.net>.
10396
a0f33f99
UD
10397 * misc/Makefile (headers): Add bits/select2.h.
10398 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10399 * misc/bits/select2.h: New file.
10400 * include/bits/select2.h: New file.
10401 * debug/Makefile (routines): Add fdelt_chk.
10402 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10403 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10404 FD_ISSET.
10405 * debug/fdelt_chk.c: New file.
10406
762011fe
UD
10407 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10408 * wcsmbs/test-wmemcmp.c: Likewise.
10409 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10410 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10411
104122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10413
10414 * string/Makefile (strop-tests): Add memcmp.
10415 * string/test-wmemcmp.c: New file.
10416 * string/test-memcmp.c: Add wmemcmp support.
10417
7f513ec8
RM
104182011-09-08 Roland McGrath <roland@hack.frob.com>
10419
0442afb4
RM
10420 [BZ #13153]
10421 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10422 2011-07-19 change.
10423
7f513ec8
RM
10424 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10425 garbage value in a __mach_port_mod_refs call in the cases of the
10426 task-self and thread-self ports.
10427
a12b2239
ST
104282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10429
10430 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10431
610f9ab4
AS
104322011-09-08 Andreas Schwab <schwab@redhat.com>
10433
7f513ec8 10434 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10435
48882a1a
LD
104362011-09-07 Ulrich Drepper <drepper@gmail.com>
10437
b49865be
UD
10438 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10439
fdc86bc9
UD
10440 * elf/dl-libc.c (dlerror_run): Pass back error code from
10441 dl_catch_error.
10442
c966526a
UD
10443 [BZ #13123]
10444 * elf/dl-load.c (lose): Free l_origin if it is valid.
10445
48882a1a
LD
10446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10447 names.
10448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10453 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10454
77a2a8b4
AZ
104552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456
10457 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10458 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10461 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10462 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10463 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10464 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10465 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10466 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10467
24f579d8
AM
104682011-08-15 Alan Modra <amodra@gmail.com>
10469
10470 [BZ #13092]
10471 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10472 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10473 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10474 ppc_mcount to static-only-routines.
10475 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10476 __mcount_internal.
10477 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10478 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10479
3d4837df
UD
104802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10481
10482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10483 for finite and infinity parameters.
10484
22700377
WS
104852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10486
10487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10488 and add nop instructions for throughput optimization.
10489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10490
5025581e
WS
104912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10492
10493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10494 aligned copy for power7 with vector-scalar instructions.
10495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10496
08a300c9
L
104972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10500 AVX check.
10501
59178ef9
AS
105022011-09-07 Andreas Schwab <schwab@redhat.com>
10503
10504 [BZ #13144]
10505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10506 last change.
10507
e38ba7ab
UD
105082011-09-07 Ulrich Drepper <drepper@gmail.com>
10509
10510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10511 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10512 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10514 clock_gettime.
10515
d53a73ac
UD
105162011-09-06 Ulrich Drepper <drepper@gmail.com>
10517
fc8bffcc
UD
10518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10519 Forgot to demangle the pointer.
10520
ceaa0c5d
UD
10521 * sysdeps/i386/sysdep.h: Define atom_text_section.
10522 * sysdeps/x86_64/sysdep.h: Likewise.
10523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10524 section with atom_text_section.
10525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10530
a77d3c17
UD
10531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10533 already be defined. Change to take two parameters and don't assign
10534 result to variable. Adjust all users.
10535 Define INTERNAL_GETTIME if not already defined.
10536 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10537 call.
10538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10539 HAVE_CLOCK_GETTIME_VSYSCALL.
10540 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10541
d53a73ac
UD
10542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10543 gettimeofday vsyscall, just use time.
10544
a8f84144
AS
105452011-09-06 Andreas Schwab <schwab@redhat.com>
10546
10547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10548 <errno.h>.
10549
ef606249
UD
105502011-09-06 Ulrich Drepper <drepper@gmail.com>
10551
10552 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10553 syscall on x86-64.
10554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10555 syscall.
10556 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10558 syscall if possible.
10559
6585cb60
UD
105602011-09-05 Ulrich Drepper <drepper@gmail.com>
10561
10562 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10563 e_ident. Don't pass to find_mapsXX.
10564 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10565
a5f524e4
LD
105662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10567
10568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10569 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10570 * sysdeps/x86_64/multiarch/strchr.S: Update.
10571 Check bit_slow_BSF bit.
10572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10573 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10574 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10575
554881ef
UD
105762011-09-05 Ulrich Drepper <drepper@gmail.com>
10577
d96de963
UD
10578 [BZ #13134]
10579 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10580 before glibc 2.15.
10581 (tryshell): Define.
10582 (__spawni): Change last parameter to be flag. Test
10583 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10584 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10585 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10586 * posix/spawni.c: Likewise.
10587 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10588 * posix/spawnp.c: Likewise. Change normal version to use
10589 SPAWN_XFLAGS_USE_PATH.
10590 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10591 SPAWN_XFLAGS_TRY_SHELL.
10592
d48e5868
UD
10593 [BZ #13150]
10594 * posix/glob.h: Remove gcc 1.x support.
10595
554881ef
UD
10596 [BZ #13068]
10597 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10598
693fb948
LD
105992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10600
10601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10602 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10603 strrchr-sse2-bsf
10604 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10605 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10610
1b48c537
UD
106112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10612
49d42c37
UD
10613 * sysdeps/x86_64/wcscmp.S: New file.
10614
1b48c537
UD
10615 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10616 wcscmp-c wcscmp-sse2
10617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10618 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10620 * wcsmbs/wcscmp.c: Allow renaming.
10621
15c95c5d
DM
106222011-09-05 David S. Miller <davem@davemloft.net>
10623
10624 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10625 stack slot, rather than the struct return pointer slot.
10626 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10627 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10629 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10630
2f0ad8f3
UD
106312011-09-05 Ulrich Drepper <drepper@gmail.com>
10632
d88ae418
UD
10633 * po/ja.po: Update from translation team.
10634
2f0ad8f3
UD
10635 [BZ #13144]
10636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10637 kernel in 64-bit binaries.
10638
5f4318d1
DM
106392011-09-01 David S. Miller <davem@davemloft.net>
10640
10641 * elf/elf.h (HWCAP_SPARC_*): Move to..
10642 * sysdeps/sparc/sysdep.h: this new file and add new values.
10643 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10644 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10645 _DL_HWCAP_COUNT to 24.
10646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10647 entries.
10648 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10649 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10650 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10652 instead of magic constants.
10653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10654
3ba57516
DM
106552011-08-31 David S. Miller <davem@davemloft.net>
10656
10657 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10659 Reimplement to do errno handling inline.
10660 (SYSCALL_ERROR_HANDLER): New macro.
10661 (__SYSCALL_STRING): Do not do errno handling in asm.
10662 (__CLONE_SYSCALL_STRING): Delete.
10663 (__INTERNAL_SYSCALL_STRING): Delete.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10665 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10666 (PSEUDO): Reimplement to do errno handling inline.
10667 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10668 (SYSCALL_ERROR_HANDLER): New macro.
10669 (__SYSCALL_STRING): Do not do errno handling in asm.
10670 (__CLONE_SYSCALL_STRING): Delete.
10671 (__INTERNAL_SYSCALL_STRING): Delete.
10672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10673 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10674 i386.
10675 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10676 (inline_syscall*): Add 'err' argument.
10677 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10678 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10679 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10680 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10681
10682 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10684
2bc17433
AS
106852011-08-30 Andreas Schwab <schwab@redhat.com>
10686
10687 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10688
fbeb5f4d
JO
106892011-08-29 Jiri Olsa <jolsa@redhat.com>
10690
10691 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10692 directive.
10693
ad69cc26
DM
106942011-08-24 David S. Miller <davem@davemloft.net>
10695
10696 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10697
39dd69df
AS
106982011-08-24 Andreas Schwab <schwab@redhat.com>
10699
10700 * elf/Makefile: Add rules to build and run unload8 test.
10701 * elf/unload8.c: New file.
10702 * elf/unload8mod1.c: New file.
10703 * elf/unload8mod1x.c: New file.
10704 * elf/unload8mod2.c: New file.
10705 * elf/unload8mod3.c: New file.
10706
10707 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10708 it wasn't used.
10709
2c0b250a
DM
107102011-08-23 David S. Miller <davem@davemloft.net>
10711
10712 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10713 subtract stack bias.
10714 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10715 %sp not %fp in calculations.
10716 (_JMPBUF_UNWINDS_ADJ): Likewise.
10717
22044b48
DM
10718 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10719 (aio_suspend): Call it to force an exception region around the
10720 AIO_MISC_WAIT() invocation.
10721
2cae4995
AS
107222011-08-23 Andreas Schwab <schwab@redhat.com>
10723
10724 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10725 backslash.
10726
873a772e
AJ
107272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10728
10729 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10730 protection macro.
10731 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10732 and <dl-machine.h>.
10733 (Elf64_FuncDesc): Remove.
10734
25ad0df1
DM
107352011-08-22 David S. Miller <davem@davemloft.net>
10736
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10738 sigaltstack check, add missing cfi directives.
10739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10740 missing cfi directives, and sigaltstack handling.
10741
e888bcbe
AS
107422011-08-16 Andreas Schwab <schwab@redhat.com>
10743
10744 [BZ #11724]
10745 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10746 object is seen twice.
10747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10748
10749 * elf/Makefile (distribute): Add tst-initorder2.c.
10750 (tests): Add tst-initorder2.
10751 (modules-names): Add tst-initorder2a tst-initorder2b
10752 tst-initorder2c tst-initorder2d. Add rules to build them.
10753 ($(objpfx)tst-initorder2.out): New rule.
10754 * elf/tst-initorder2.c: New file.
10755 * elf/tst-initorder2.exp: New file.
10756
87162f46
AS
107572011-08-22 Andreas Schwab <schwab@redhat.com>
10758
70538b7f
AS
10759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10760
f55ffe58
AS
10761 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10762 dependencies back to end of function.
10763
87162f46
AS
10764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10765 $(elfobjdir)/ld.so.
10766
91b392a4
UD
107672011-08-21 Ulrich Drepper <drepper@gmail.com>
10768
10769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10770 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10772 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10773 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10774 of __vdso_gettimeofday.
10775 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10776 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10777 attribute_hidden.
10778 (_libc_vdso_platform_setup): Remove initialization of
10779 __vdso_gettimeofday and __vdso_time.
10780
5c43483f
UD
107812011-08-20 Ulrich Drepper <drepper@gmail.com>
10782
775a77e7
UD
10783 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10784 and fgetc_unlocked.
10785 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10786 getc_unlocked.
89f447ed 10787
49c74ba9
UD
10788 * elf/dl-open.c (add_to_global): Report additions to the global scope
10789 for LD_DEBUG=scopes.
10790 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10791 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10792
5c43483f
UD
10793 [BZ #13114]
10794 * stdio-common/Makefile (tests): Add bug24.
10795 * stdio-common/bug24.c: New file.
10796
a101b025
AJ
107972011-08-19 Andreas Jaeger <aj@suse.de>
10798
10799 [BZ #13114]
10800 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10801 non-existant file when using close-on-exec mode.
10802
c88f1766
UD
108032011-08-20 Ulrich Drepper <drepper@gmail.com>
10804
0276a718
UD
10805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10806 the very first instruction.
10807
c88f1766
UD
10808 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10809 the CFI state in the end.
10810 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10811 inclusion of dl-trampoline.h.
10812 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10813
51ccffa0
AS
108142011-08-19 Andreas Schwab <schwab@redhat.com>
10815
94d7165f
AS
10816 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10817 expectations for long double.
10818
51ccffa0
AS
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10820 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10821
fd708658 108222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10823
10824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10825 artificual limit depends upon the system page size.
10826
44f0a71e
UD
108272011-08-17 Ulrich Drepper <drepper@gmail.com>
10828
10829 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10830 * resolv/Makefile: Define CFLAGS-libresolv.
10831
8de79a24
AS
108322011-08-17 Andreas Schwab <schwab@redhat.com>
10833
10834 * nss/makedb.c (compute_tables): Make variables used in nested
10835 function static.
10836
27724598
UD
108372011-08-17 Ulrich Drepper <drepper@gmail.com>
10838
c5305d88
UD
10839 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10840 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10841 if buffer was too small.
10842
27724598
UD
10843 * elf/pldd.c (main): Attach to all threads in the process.
10844 Rewrite /proc handling to use *at functions.
10845
076fe015
UD
108462011-08-16 Ulrich Drepper <drepper@gmail.com>
10847
174baab3
UD
10848 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10849 specifies first scope to show.
10850 (dl_open_worker): Update callers. Move printing scope of new
10851 object to before the relocation.
44f0a71e 10852 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10853 * sysdeps/generic/ldsodefs.h: Update declaration.
10854
076fe015
UD
10855 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10856 string for the scope number.
10857
a60df2c3
UD
108582011-08-14 Ulrich Drepper <drepper@gmail.com>
10859
10860 * nscd/servicescache.c (cache_addserv): Make sure written is always
10861 initialized.
10862
5e4287d1
RM
108632011-08-14 Roland McGrath <roland@hack.frob.com>
10864
85ae0589
RM
10865 * sysdeps/i386/i486/bits/atomic.h
10866 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10867 statement expression, so as to suppress "set but not used" warning.
10868 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10869
69f63097
RM
10870 * string/strncat.c (STRNCAT): Use prototype definition.
10871
675456ef
RM
10872 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10873 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10874 -Iprograms here.
10875 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10876 (localedef-modules): Add localedef.
10877 (locale-modules): Add locale.
10878
5e4287d1
RM
10879 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10880 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10881 to avoid a warning.
10882
9c96ff23
DM
108832011-08-14 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10886 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10887
f9ddf089
UD
108882011-08-13 Ulrich Drepper <drepper@gmail.com>
10889
44f0a71e 10890 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10891 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10892 * elf/rtld.c (dl_main): Set l_name of vDSO.
10893 Call _dl_show_scope when DL_DEBUG_SCOPES.
10894 (process_dl_debug): Recognize scopes flag and also set it for all.
10895 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10896 Declare _dl_show_scope.
10897
1dc27704
UD
10898 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10899 (do_dlopen): Pass caller_dlopen to dl_open.
10900 (__libc_dlopen_mode): Initialize caller_dlopen.
10901
f9ddf089
UD
10902 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10903 of libc. Make tolower call locale-independent. Optimize a bit by
10904 using isdigit instead of isalnum.
10905 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10906
9ac533d3
UD
109072011-08-12 Ulrich Drepper <drepper@gmail.com>
10908
10909 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10910 was a dependency or dynamically loaded.
10911
89edf2e9
UD
109122011-08-11 Ulrich Drepper <drepper@gmail.com>
10913
8e999d29
UD
10914 * intl/l10nflist.c: Allow architecture-specific pop function.
10915 * sysdeps/x86_64/l10nflist.c: New file.
10916
89edf2e9
UD
10917 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10918 classification.
10919
14d96785
AS
109202011-08-10 Andreas Schwab <schwab@redhat.com>
10921
10922 * include/dirent.h: Add libc_hidden_proto for scandirat and
10923 scandirat64. Don't declare __scandirat64.
10924 * dirent/scandirat.c: Add libc_hidden_def.
10925 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10926 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10927
6761ac04
DM
109282011-08-10 David S. Miller <davem@davemloft.net>
10929
10930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10931 enum.
10932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10935
c55fbd1e
UD
109362011-08-09 Ulrich Drepper <drepper@gmail.com>
10937
10938 * Versions.def [libc]: Add GLIBC_2.15.
10939 * dirent/Makefile (routines): Add scandirat and scandirat64.
10940 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10941 GLIBC_2.15.
10942 * dirent/dirent.h: Declare scandirat and scandirat64.
10943 * dirent/scandirat.c: New file.
10944 * dirent/scandirat64.c: New file.
10945 * sysdeps/wordsize-64/scandirat.c: New file.
10946 * sysdeps/wordsize-64/scandirat64.c: New file.
10947 * dirent/opendir.c: Define opendirat.
10948 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10949 using scandirat.
10950 * dirent/scandir64.c: Adjust for scandir.c change.
10951 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10952 __scandirat64, and __scandir_cancel_handler.
10953 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10954 additional parameter and use openat instead of open (outside of ld.so).
10955 Add new __opendir as wrapper around __opendirat.
10956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10957 here without requiring old scandirat implementation.
10958
879165f2
UD
109592011-08-08 Ulrich Drepper <drepper@gmail.com>
10960
10961 * dirent/scandir.c (cancel_handler): Renamed to
10962 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10963 defined. Adjust users.
10964 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10966
cb7e923b
UD
109672011-08-04 Ulrich Drepper <drepper@gmail.com>
10968
16292edd
UD
10969 * string/test-string.h (IMPL): Use __STRING to expand name and then
10970 stringify it.
10971
cb7e923b
UD
10972 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10973 of cleanups.
10974
cff82933
LD
109752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10976
10977 * string/Makefile: Update.
10978 (strop-tests): Append strncat.
10979 * string/test-wcscmp.c: New file.
10980 New comprehensive test for wcscmp.
10981 * string/test-strcmp.c: Update.
10982 (WIDE): New define.
10983
9be9bfcc
AS
109842011-07-22 Andreas Schwab <schwab@redhat.com>
10985
10986 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10987 line.
10988
2e96f1c7
AS
109892011-07-26 Andreas Schwab <schwab@redhat.com>
10990
10991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10992 encoding to ACE if AI_IDN.
10993
85188888
JJ
109942011-08-01 Jakub Jelinek <jakub@redhat.com>
10995
10996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10997 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10998
5fa16e9b
LD
109992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11000
11001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11002 Fix overflow bug in strncat.
11003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11004
11005 * string/test-strncat.c: Update.
11006 Add new tests for checking overflow bugs.
11007
110082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11009
11010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11011 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11012 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11013 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11015 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11016 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11017 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11018 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11019
11020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11021 (USE_AS_STRCAT): Define.
11022 Add strcat and strncat support.
11023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11024
8c1a459f
AS
110252011-07-25 Andreas Schwab <schwab@redhat.com>
11026
11027 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11028 __n bigger than INT_MAX+1.
11029 (__strncmp_g): Likewise.
11030
bba33c28
UD
110312011-07-23 Ulrich Drepper <drepper@gmail.com>
11032
798be72d
UD
11033 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11034 * libio/stido.h: Likewise.
11035
8accd4dc
UD
11036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11037 (AF_NFC): Define.
11038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11039 (AF_NFC): Define.
11040
cbff0d96
UD
11041 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11046
9191c04a
UD
11047 [BZ #13021]
11048 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11049 installed.
11050
bba33c28
UD
11051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11052 typo.
11053 (_dl_x86_64_save_sse): Likewise.
11054
90f139dd
UD
110552011-07-22 Ulrich Drepper <drepper@gmail.com>
11056
1aae088a
UD
11057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11058 OSXSAVE.
11059 (_dl_x86_64_save_sse): Likewise.
11060
8e2045f5
UD
11061 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11062
90f139dd
UD
11063 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11064
1d002f25
AS
110652011-07-21 Andreas Schwab <schwab@redhat.com>
11066
11067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11068 change.
11069 (_dl_x86_64_save_sse): Use correct AVX check.
11070
21137f89
UD
110712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11072
11073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11074 bug in strncpy/strncat.
11075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11076
a65c0b7a
UD
110772011-07-21 Ulrich Drepper <drepper@gmail.com>
11078
11079 * string/tester.c (test_strcat): Add tests for different alignments
11080 of source and destination.
11081 (test_strncat): Likewise.
11082
6986b98a
UD
110832011-07-20 Ulrich Drepper <drepper@gmail.com>
11084
90bb2039
UD
11085 [BZ #12852]
11086 * posix/glob.c (glob): Check passed in values before using them in
11087 expressions to avoid some overflows.
11088 (glob_in_dir): Likewise.
11089
5644ef54
UD
11090 [BZ #13007]
11091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11092 check for AVX enablement so that we don't crash with old kernels and
11093 new hardware.
11094 * elf/tst-audit4.c: Add same checks here.
11095 * elf/tst-audit6.c: Likewise.
11096
11097 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11098
bfc9dc9b
AS
110992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11102
702e64bb
UD
111032011-07-20 Ulrich Drepper <drepper@gmail.com>
11104
11105 * po/cs.po: Update from translation team.
11106 * po/bg.po: Likewise.
11107
295e904f
MP
111082011-07-12 Marek Polacek <mpolacek@redhat.com>
11109
11110 * misc/sys/cdefs.h: Add support for const attribute.
11111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11112 to gnu_dev_{major,minor,makedev} functions.
11113
3ff94596
MP
111142011-07-20 Marek Polacek <mpolacek@redhat.com>
11115
11116 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11117
28b59fca
AS
111182011-07-20 Andreas Schwab <schwab@redhat.com>
11119
11120 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11121 strlen results.
11122
19df733e
AK
111232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11124
11125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11126 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11127 register in order to avoid conflicts with the soft frame pointer
11128 being held in r11 when necessary.
11129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11130 (INTERNAL_VSYSCALL_NCS): Likewise.
11131
c8835729
MP
111322011-07-14 Marek Polacek <mpolacek@redhat.com>
11133
11134 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11135 * elf/dl-fini.c (_dl_fini): Adjust caller.
11136 * elf/dl-close.c (_dl_close_worker): Likewise.
11137 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11138
b902330c
MP
111392011-07-15 Marek Polacek <mpolacek@redhat.com>
11140
8991e135
MP
11141 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11142 "aux_cache->nlibs < 0".
11143
b902330c
MP
11144 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11145 in the reload-count case.
11146
99710781
LD
111472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11148
11149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11150 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11151 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11153 * sysdeps/x86_64/multiarch/strcat.S: New file.
11154 * sysdeps/x86_64/multiarch/strncat.S: New file.
11155 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11157 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11158 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11160 (USE_AS_STRCAT): Define.
11161 Add strcat and strncat support.
11162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11165 * string/strncat.c: Update.
11166 (USE_AS_STRNCAT): Define.
11167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11168 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11169 and i7.
11170 * sysdeps/x86_64/multiarch/init-arch.h
11171 (bit_Prefer_PMINUB_for_stringop): New.
11172 (index_Prefer_PMINUB_for_stringop): Likewise.
11173 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11174 bit_Prefer_PMINUB_for_stringop.
11175
7dc6bd90
UD
111762011-07-19 Ulrich Drepper <drepper@gmail.com>
11177
11178 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11179 buffer64.
11180 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11181 of casting of buffer.
11182 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11183 buffer32 and buffer64.
11184 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11185 writes instead of casting of buffer.
11186 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11187 buffer32.
11188 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11189 casting of buffer.
11190
e0e72284
AS
111912011-07-19 Andreas Schwab <schwab@redhat.com>
11192
11193 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11194
feb1eb0b
UD
111952011-07-19 Ulrich Drepper <drepper@gmail.com>
11196
11197 * nscd/nscd.c (termination_handler): Don't do anything for a database
11198 if it has not yet been initialized.
11199
298711ff
UD
112002011-07-18 Ulrich Drepper <drepper@gmail.com>
11201
11202 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11203
112042011-07-15 Marek Polacek <mpolacek@redhat.com>
11205
11206 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11207
f9d68389
UD
112082011-07-18 Ulrich Drepper <drepper@gmail.com>
11209
11210 * po/nl.po: Update from translation team.
11211 * po/sv.po: Likewise.
11212
db290cf5
RM
112132011-07-16 Roland McGrath <roland@hack.frob.com>
11214
11215 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11216 now disallowed by GCC.
5c550700 11217
fd5e21c7
RM
11218 * configure.in (use-default-link): Default to yes if a test -shared
11219 link meets our qualifications.
11220 * configure: Regenerated.
11221
5c550700
RM
11222 * config.make.in (output-format): New variable.
11223 * configure.in: Check for ld --print-output-format support.
11224 * configure: Regenerated.
11225 * Makerules ($(common-objpfx)format.lds)
11226 [$(output-format) != unknown]: Just use $(output-format),
11227 instead of the linker-script munging.
11228
9fa2c032
RM
112292011-07-14 Roland McGrath <roland@hack.frob.com>
11230
a6928d51
RM
11231 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11232 of $(common-objpfx)shlib.lds.
11233 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11234
661607b3
RM
11235 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11236 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11237
9fa2c032
RM
11238 * configure.in (-z relro check): Adjust test code to add a large
11239 writable data section after it.
11240 * configure: Regenerated.
11241
defe9061
RM
112422011-07-11 Roland McGrath <roland@hack.frob.com>
11243
11244 * configure.in (-z relro check): Fix test code to make the variable
11245 truly const.
11246 * configure: Regenerated.
11247
319b9ad4
UD
112482011-07-11 Ulrich Drepper <drepper@gmail.com>
11249
11250 * nscd/nscd.h (struct traced_file): Define.
11251 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11252 elements. Add traced_files.
11253 (inotify_fd): Declare.
11254 (register_traced_file): Declare.
11255 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11256 (inotify_fd): Export.
11257 (resolv_conf_descr): Remove.
11258 (nscd_init): Move inotify descriptor creation to main.
11259 Don't register files for notification here.
11260 (register_traced_file): New function.
11261 (invalidate_cache): Don't use reset_res to determine whether to call
11262 res_init, go through the list of registered files.
11263 (main_loop_poll): The inotify descriptors are now stored in the
11264 structures for the traced files.
11265 (main_loop_epoll): Likewise
11266 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11267 to __nss_disable_nscd.
11268 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11269 for a database anymore. Check the records for all the registered
11270 files instead.
11271 * nss/Makefile (libnss_files-routines): Add files-init.
11272 (libnss_db-routines): Add db-init.
11273 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11274 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11275 * nss/nss_db/db-init.c: New file.
11276 * nss/nss_files/files-init.c: New file.
11277 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11278 __nss_lookup_function.
11279 (__nss_lookup_function): Call nss_load_library.
11280 (nss_load_all_libraries): New function.
11281 (__nss_disable_nscd): Take parameter with callback function for files
11282 to register. Set is_nscd. Load all the DSOs for the NSS modules
11283 used for the cached services.
11284 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11285 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11286 options for features to all the files in nscd.
11287
11288 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11289
23bee3e8
RM
112902011-07-10 Roland McGrath <roland@hack.frob.com>
11291
11292 * csu/elf-init.c (__libc_csu_init): Comment typo.
11293
46a5b7f0
UD
112942011-07-09 Ulrich Drepper <drepper@gmail.com>
11295
11296 * po/pl.po: Update from translation team.
11297 * po/ja.po: Likewise.
11298 * po/ru.po: Likewise.
11299 * po/ko.po: Likewise.
11300 * po/fr.po: Likewise.
11301
d30cf5bb
RM
113022011-07-09 Roland McGrath <roland@hack.frob.com>
11303
113ddea4
RM
11304 * configure.in (.ctors/.dtors header and trailer check):
11305 Use an empirical test on a built program.
11306 * configure: Regenerated.
11307
574920b4
RM
11308 * configure.in (-z relro check): Use an empirical test on a built DSO.
11309 Detect, but do not require, on ia64.
11310 * configure: Regenerated.
11311
d30cf5bb
RM
11312 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11313 Update tests that use readelf to use $READELF instead.
11314 * configure: Regenerated.
11315
8538fdb3
UD
113162011-07-08 Ulrich Drepper <drepper@gmail.com>
11317
11318 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11319 if the result is not used.
11320
04d08991
AJ
113212011-07-05 Andreas Jaeger <aj@suse.de>
11322
11323 [BZ#9696]
11324 * stdlib/tst-strtod.c: Add testcase.
11325
de283087
AD
113262011-07-07 Ulrich Drepper <drepper@gmail.com>
11327
4e5f31c8 11328 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11329 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11330 The latter has a higher limit. Take additional parameter to pass to
11331 the new function.
11332 (__pathconf): Pass file to __statfs_link_max.
11333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11334 __statfs_link_max.
11335 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11336 __statfs_link_max.
11337
de283087
AD
11338 [BZ #12868]
11339 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11341 Handle Lustre.
11342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11343 (__statfs_filesize_max): Likewise.
11344 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11345
c75fa153
AJ
113462011-07-05 Andreas Jaeger <aj@suse.de>
11347
11348 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11349
1a544854
UD
113502011-07-06 Marek Polacek <mpolacek@redhat.com>
11351
11352 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11353 `status' variable.
11354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11355 Likewise.
11356
6f0eec67
UD
113572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 * Makefile (strop-tests): Add strncat.
11360 * string/test-strncat.c: New file.
11361
aae30307
UD
113622011-06-30 Marek Polacek <mpolacek@redhat.com>
11363
11364 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11365
c0cfb5eb
UD
113662011-06-21 Andreas Jaeger <aj@suse.de>
11367
11368 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11369 Copy rule from iconvdata/Makefile.
11370
01636b21
UD
113712011-07-06 Ulrich Drepper <drepper@gmail.com>
11372
11373 [BZ #12922]
11374 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11375 but no long options are defined, just return 'W'.
11376
9895c8bc
UD
113772011-06-22 Marek Polacek <mpolacek@redhat.com>
11378
11379 [BZ #9696]
11380 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11381
5d4cf042
UD
113822011-07-06 Ulrich Drepper <drepper@gmail.com>
11383
11384 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11385 netgroups to read.
960e5535 11386 (innetgr): Likewise.
5d4cf042 11387
751eb97e
RM
113882011-07-05 Roland McGrath <roland@hack.frob.com>
11389
11390 * config.make.in (install_root): Default to $(DESTDIR).
11391
f15f1e45
UD
113922011-07-05 Ulrich Drepper <drepper@gmail.com>
11393
11394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11395
4e34ac6a
RM
113962011-07-02 Roland McGrath <roland@hack.frob.com>
11397
5e9b6af4
RM
11398 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11399
84f9ea0f
RM
11400 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11401 containing directory rather than embedding absolute directory names.
11402
ea5ee9f7
RM
11403 * scripts/check-local-headers.sh: Rewritten using awk.
11404 Match by word, not by line. Print error messages for matches.
11405 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11406
1b74661a
RM
11407 * Makerules [shlib-lds-flags empty]:
11408 ($(common-objpfx)libc_pic.opts): New target.
11409 ($(common-objpfx)libc_pic.os.clean): New target.
11410 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11411
11412 * config.make.in (OBJCOPY): New variable.
11413 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11414 * configure: Regenerated.
11415
f781ef40
RM
11416 * config.make.in (use-default-link): New variable.
11417 * configure.in (use_default_link): Grok --with-default-link to set it.
11418 * configure: Regenerated.
11419 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11420 (shlib-lds, shlib-lds-flags): Define to empty.
11421
2d4fa81e
RM
11422 * Makerules (shlib-lds): New variable.
11423 (shlib-lds-flags): New variable.
11424 (build-shlib, build-moduile, build-module-asneeded): Use it.
11425 ($(common-objpfx)libc.so): Use $(shlib-lds).
11426 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11428
31fffa6b
RM
11429 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11430 DT_FLAGS/DT_FLAGS_1 with zero flags.
11431
4e34ac6a
RM
11432 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11433 linker script munging.
11434
fcfc776b
UD
114352011-07-02 Ulrich Drepper <drepper@gmail.com>
11436
11437 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11438 as 128-bit value.
11439 * crypt/sha512.c (sha512_process_block): Perform total addition using
11440 128-bit if possible.
11441 (__sha512_finish_ctx): Likewise.
11442 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11443 as 64-bit value.
11444 * crypt/sha256.c (SWAP64): Define.
11445 (sha256_process_block): Perform total addition using 64-bit if
11446 possible.
11447 (__sha256_finish_ctx): Likewise.
11448
99231d9a
UD
114492011-07-01 Ulrich Drepper <drepper@gmail.com>
11450
11451 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11453 * nscd/hstcache.c (cache_addhst): Likewise.
11454 * nscd/grpcache.c (cache_addgr): Likewise.
11455 * nscd/aicache.c (addhstaiX): Likewise
11456 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11457
445b4a53
TK
114582011-07-01 Thorsten Kukuk <kukuk@suse.de>
11459
11460 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11462 * nscd/hstcache.c (cache_addhst): Likewise.
11463 * nscd/grpcache.c (cache_addgr): Likewise.
11464 * nscd/aicache.c (addhstaiX): Likewise
11465
6d4d8e8e
AS
114662011-07-01 Andreas Schwab <schwab@redhat.com>
11467
11468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11469 domain only when needed.
11470
89f654c5
AS
114712011-06-30 Andreas Schwab <schwab@redhat.com>
11472
11473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11474 is always restored.
11475
cf3b23ff
UD
114762011-06-29 Ulrich Drepper <drepper@gmail.com>
11477
11478 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11479 are re-adding the entry.
11480 * nscd/servicescache.c (cache_addserv): Likewise.
11481
751626f9
AJ
114822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11483
11484 * sysdeps/generic/dl-irel.h: fix protection against multiple
11485 inclusions.
11486 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11487
9113ea1f
UD
114882011-06-28 Ulrich Drepper <drepper@gmail.com>
11489
5c0b8d90
UD
11490 [BZ #12935]
11491 * malloc/memusage.sh: Fix quoting in message.
11492 * debug/xtrace.sh: Likewise.
11493
9113ea1f
UD
11494 * configure.in: Remove support for --experimental-malloc option, make
11495 it the default.
11496 * config.make.in: Likewise.
11497 * malloc/Makefile: Likewise.
11498
a4172181
AS
114992011-06-27 Andreas Schwab <schwab@redhat.com>
11500
11501 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11502 two-byte characters.
11503
78a7eee7
RM
115042011-06-27 Roland McGrath <roland@hack.frob.com>
11505
62bede13
RM
11506 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11507 AC_CACHE_CHECK invocation.
11508 * configure: Regenerated.
11509
78a7eee7
RM
11510 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11511
5ce33a62
UD
115122011-06-27 Ulrich Drepper <drepper@gmail.com>
11513
034807a9
UD
11514 [BZ #12350]
11515 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11516 bit from old_res_options.
11517
4902da17
UD
11518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11519
5ce33a62
UD
11520 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11521 value type for setfct.
11522
c2344f56
L
115232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11526 __gettimeofday instead of gettimeofday.
11527
68468076
UD
115282011-06-26 Ulrich Drepper <drepper@gmail.com>
11529
11530 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11531
acb0d739
L
115322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11535
11536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11537 info.
11538
8912479f
L
115392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11540
11541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11542 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11543 strcpy-sse2-unaligned strncpy-sse2-unaligned
11544 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11545 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11546 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11547 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11548 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11551 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11552 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11553 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11554 (STRCPY): Support SSE2 and SSSE3 versions.
11555
d5495a11
UD
115562011-06-24 Ulrich Drepper <drepper@gmail.com>
11557
11558 [BZ #12874]
11559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11560 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11561 kernels which artificially limit size of requests.
11562
0b1cbaae
L
115632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11564
11565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11566 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11567 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11568 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11569 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11570 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11571 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11572 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11575 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11576 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11577 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11578 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11579 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11581 Enable unaligned load optimization for Intel Core i3, i5 and i7
11582 processors.
11583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11584 Define.
11585 (index_Fast_Unaligned_Load): Define.
11586 (HAS_FAST_UNALIGNED_LOAD): Define.
11587
07f494a0
MP
115882011-06-23 Marek Polacek <mpolacek@redhat.com>
11589
11590 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11591
fa3fc0fe
UD
115922011-06-22 Ulrich Drepper <drepper@gmail.com>
11593
11594 [BZ #12907]
11595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11596 until it is clear that the information is realy needed.
11597 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11598
e12df166
AS
115992011-06-22 Andreas Schwab <schwab@redhat.com>
11600
11601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11602
852eb34d
UD
116032011-06-22 Ulrich Drepper <drepper@gmail.com>
11604
84e2a551
UD
11605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11606 /sys/devices/system/cpu/online if it is usable.
11607
852eb34d
UD
11608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11609 reading the information from the /proc filesystem to once a second.
11610
6e502e19
UD
116112011-06-21 Andreas Jaeger <aj@suse.de>
11612
11613 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11614 NULL after inclusion of kernel headers.
11615
75d39ff2
UD
116162011-06-21 Ulrich Drepper <drepper@gmail.com>
11617
51f9aa6a
UD
11618 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11619 calls to internal_setent.
11620
c0244a9d
UD
11621 [BZ #12885]
11622 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11623 addresses using gethostbyname4_r ignore IPv4 addresses.
11624
c5e3c2ae
UD
11625 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11626 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11627
75d39ff2
UD
11628 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11629
42675c6f
DM
116302011-06-20 David S. Miller <davem@davemloft.net>
11631
11632 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11633 inclusions.
11634 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11635
11636 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11637 (elf_irel): Use it.
11638 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11639 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11640 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11641 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11642 * sysdeps/x86_64/dl-irel.h: Likewise.
11643
11644 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11645 * elf/dl-sym.c: Likewise.
11646
57912a71
UD
116472011-06-15 Ulrich Drepper <drepper@gmail.com>
11648
11649 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11650 need to dereference resplen2.
11651
ee22793d
AS
116522011-06-14 Andreas Schwab <schwab@redhat.com>
11653
11654 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11655
a9e836b0
UD
116562011-06-15 Ulrich Drepper <drepper@gmail.com>
11657
77fb9117
UD
11658 * Makeconfig: Define vardbdir and inst_vardbdir.
11659 * nss/Makefile: Add rules to install db-Makefile.
11660
40c1b22c
UD
11661 * nss/nss_db/db-XXX.c: Cleanup.
11662
9f2da732
UD
11663 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11664 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11665 GLIBC_PRIVATE.
11666 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11667 * nss/makedb.c: Implement -g option to specify that value strings
11668 are generated and should not be added to table iterated over for
11669 get*ent calls.
11670 * nss/nss_db/db-initgroups.c: New file.
11671
82e9a1f7
UD
11672 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11673 interface.
11674
c41af17e
UD
11675 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11676 (internal_getgrouplist): Adjust to name change.
11677 Update use_initgroups_entry if this is not the first call.
11678 * nss/databases.def: Add initgroups entry.
11679
a9e836b0
UD
11680 * nss/makedb.c (compute_tables): Check result of multiple hash table
11681 sizes to minimize maximum chain length.
11682
2666d441
UD
116832011-06-14 Ulrich Drepper <drepper@gmail.com>
11684
11685 * Versions.def: Add entry for libnss_db.
11686 * shlib-versions: Likewise.
11687 * nss/Makefile: Add rules to build libnss_db.
11688 * nss/Versions: Add libnss_db information. Organize libnss_files
11689 entries better.
11690 * nss/db-Makefile: Add gshadow support. Change rules for the new
11691 makedb progra. Some minor improvements to generate smaller files.
11692 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11693 here from...
11694 * nss/makedb.c: ...here.
11695 Improve database format to be smaller and require less memory at
11696 runtime.
11697 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11698 db anymore.
11699 * nss/nss_db/db-netgrp.c: Likewise.
11700 * nss/nss_db/db-open.c: Likewise.
11701 * nss/nss_files/flies-XXX.x: Adjust comments.
11702 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11703 * nss/nss_files/files-grp.c: Likewise.
11704 * nss/nss_files/files-hosts.c: Likewise.
11705 * nss/nss_files/files-network.c: Likewise.
11706 * nss/nss_files/files-proto.c: Likewise.
11707 * nss/nss_files/files-pwd.c: Likewise.
11708 * nss/nss_files/files-rpc.c: Likewise.
11709 * nss/nss_files/files-service.c: Likewise.
11710 * nss/nss_files/files-sgrp.c: Likewise.
11711 * nss/nss_files/files-spwd.c: Likewise.
11712 * nss/nss_db/db-alias.c: Removed.
11713 * nss/nss_db/dummy-db.h: Removed.
11714
9ee76b5a
UD
117152011-06-02 Ulrich Drepper <drepper@gmail.com>
11716
11717 * nss/makedb.c: Rewritten to not use database library.
11718 * nss/Makefile: Update to build new makedb program.
11719
c71ca1f8
AJ
117202011-06-14 Andreas Jaeger <aj@suse.de>
11721
11722 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11723 memset declaration.
11724
3154bfb8
UD
117252011-06-10 Andreas Schwab <schwab@redhat.com>
11726
11727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11728 tmpbuf.
11729
b350afab
RM
117302011-06-10 Roland McGrath <roland@hack.frob.com>
11731
decd4e50
RM
11732 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11733 * elf/Makefile ($(objpfx)ld.so): Likewise.
11734
5615eaf2
RM
11735 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11736 Don't list ld.so twice in dependencies.
11737
11738 * posix/bug-regex31.c: Include <stdlib.h>.
11739
11740 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11741
11742 * nis/nss_compat/compat-spwd.c
11743 (getspent_next_nss_netgr): Remove unused variable.
11744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11745
11746 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11747 nonmembers" output to use the right array.
11748
11749 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11750
11751 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11752
11753 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11754 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11755 * catgets/gencat.c (read_input_file): Likewise.
11756 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11757
11758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11759 variable definition inside #if's controlling its use.
11760
11761 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11762
11763 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11764
11765 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11766
11767 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11768 unreachable code.
11769
11770 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11771
b68e08db
RM
11772 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11773 * configure: Regenerated.
11774
b350afab
RM
11775 * Makerules: Revert last change.
11776 * elf/Makefile: Likewise.
11777
28368601
RM
117782011-06-09 Roland McGrath <roland@hack.frob.com>
11779
11780 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11781 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11782 (reloc-link): Likewise.
11783
11988f8f
UD
117842011-06-09 Ulrich Drepper <drepper@gmail.com>
11785
11786 * elf/Makefile: Add rules to build pldd.
11787 * elf/pldd.c: New file.
11788 * elf/pldd-xx.c: New file.
11789
e80fab37
UD
117902011-06-07 Ulrich Drepper <drepper@gmail.com>
11791
11792 * version.h: Update for 2.15 development version.
11793
9b849836
DM
117942011-06-07 David S. Miller <davem@davemloft.net>
11795
11796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11797 ifuncs.
11798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11799 elf_machine_lazy_rel): Likewise.
11800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11802 elf_machine_lazy_rel): Likewise.
11803 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11804 dl_hwcap via passed in argument.
11805 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11806 Likewise.
11807
5a31b283
AK
118082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11809
11810 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11811
069e52f8
RM
118122011-06-06 Roland McGrath <roland@hack.frob.com>
11813
11814 [BZ #12849]
11815 * manual/fdl-1.1.texi: New file, verbatim from:
11816 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11817 * manual/lgpl-2.1.texi: New file, verbatim from:
11818 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11819 * manual/Makefile (licenses): New variable, list those new file names.
11820 (texis): Use it.
11821 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11822
11823 * manual/fdl.texi: File removed.
11824 * manual/lesser.texi: File removed.
11825 * manual/libc.texinfo (Copying, Documentation License):
11826 Use new @include file names, put @appendix directive before @include.
11827
f16846a5
JJ
118282011-06-04 Jakub Jelinek <jakub@redhat.com>
11829
11830 [BZ #12841]
11831 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11832 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11833 (mq_open): Add __NTH.
11834
3d29045b
L
118352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11838 Assume Intel Core i3/i5/i7 processor if AVX is available.
11839
8c297311
UD
118402011-05-31 Ulrich Drepper <drepper@gmail.com>
11841
11842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11843 typo.
11844
c8fc0c91
UD
118452011-05-31 Andreas Schwab <schwab@redhat.com>
11846
11847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11848 memory. Use alloca_account. Fix memory leak when retrying.
11849
5b27a807
UD
118502011-05-31 Ulrich Drepper <drepper@gmail.com>
11851
356f8bc6
UD
11852 * version.h (RELEASE): Bump for 2.14 release.
11853 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11854
5b27a807
UD
11855 * config.make.in (RANLIB): Remove entry.
11856
01f16ab0
UD
118572011-05-30 Ulrich Drepper <drepper@gmail.com>
11858
41fce8bd
UD
11859 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11860 (libc.pot): Work around missing support for .ksh extension in xgettext.
11861
4769ae77
UD
11862 [BZ #12684]
11863 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11864 if both request failed.
11865 (send_dg): In case of server errors clear resplen or *resplen2.
11866
6b1e7d19
UD
11867 [BZ #12454]
11868 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11869 when there are multiple maps.
11870 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11871 (_dl_fini): Remove test here.
11872
01f16ab0
UD
11873 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11874
b1ebd700
UD
118752011-05-29 Ulrich Drepper <drepper@gmail.com>
11876
7ae22829
UD
11877 [BZ #12350]
11878 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11879 bit from old_res_options.
11880 (gaih_inet): Likewise.
11881
553149f6 11882 [BZ #11099]
18a84741 11883 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11884 as signed.
11885
652ffab1
UD
11886 * resolv/res_init.c (res_setoptions): Make the code more compact.
11887
16985fd0
UD
11888 [BZ #11558]
11889 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11890 set RES_USEVC.
11891
0464f746
UD
11892 [BZ #11634]
11893 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11894
7d17596c
UD
11895 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11896
cf6bbbd7
UD
11897 [BZ #11781]
11898 * malloc/malloc.h: Declare malloc hook variables as volatile.
11899
13f1ab36
UD
11900 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11901 in last patch.
11902
b1ebd700
UD
11903 [BZ #11799]
11904 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11905 raise in the comment.
80e2212d
UD
11906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11909
ce67228d
UD
119102011-05-28 Ulrich Drepper <drepper@gmail.com>
11911
8887a920
UD
11912 [BZ #12811]
11913 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11914 grow the buffers more if it already has to be sufficient.
11915 (build_wcs_upper_buffer): Likewise.
11916 * posix/regexec.c (check_matching): Likewise.
11917 (clean_state_log_if_needed): Likewise.
11918 (extend_buffers): Don't enlarge buffers beyond size of the input
11919 buffer.
11920 Patches mostly by Emil Wojak <emil@wojak.eu>.
11921 * posix/bug-regex32.c: New file.
11922 * posix/Makefile (tests): Add bug-regex32.
11923
4f031072
UD
11924 * locale/findlocale.c (_nl_find_locale): Return right away if
11925 _nl_explode_name failed.
11926 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11927
d0478f0c
UD
11928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11929
de81b246
UD
11930 * debug/xtrace.sh: Unify messages.
11931 * malloc/memusage.sh: Likewise.
11932
c738465a
UD
11933 [BZ #12813]
11934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11935 time symbol from vDSO. Substitute with vsyscall if not available.
11936 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11937 __vdso_time.
11938
f1f929d7
UD
11939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11940 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11942 Add sendmmsg and internal_sendmmsg.
11943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11946
ce67228d
UD
11947 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11948 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11950
e57420c6
UD
119512011-05-27 Ulrich Drepper <drepper@gmail.com>
11952
a8509ca5
UD
11953 [BZ #12813]
11954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11955 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11956 available.
11957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11958 __vdso_getcpu.
11959
e57420c6
UD
11960 [BZ #12814]
11961 * iconvdata/Makefile (tests): Add bug-iconv9.
11962 * iconvdata/bug-iconv9.c: New file.
11963
4d07db15
AS
119642011-05-27 Andreas Schwab <schwab@redhat.com>
11965
11966 [BZ #12814]
11967 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11968
ea486f69
JJ
119692011-05-25 Jakub Jelinek <jakub@redhat.com>
11970
11971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11972 (struct user_regs_struct): Change intcs field back to cs.
11973
6f038433
UD
119742011-05-25 Ulrich Drepper <drepper@gmail.com>
11975
11976 * po/ja.po: Update from translation team.
11977
67f86a25
UD
119782011-05-23 Ulrich Drepper <drepper@gmail.com>
11979
11980 [BZ #12795]
11981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11982 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11983
def7fbd6
AS
119842011-05-20 Andreas Schwab <schwab@redhat.com>
11985
11986 * stdlib/longlong.h: Update from GCC.
11987
f50ef8f1
AS
119882011-05-23 Andreas Schwab <schwab@redhat.com>
11989
11990 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11991 parameter name.
11992 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11993 Add parameter name.
11994 (__sysconf): Pass it down.
11995
de7ce8f1
UD
119962011-05-22 Ulrich Drepper <drepper@gmail.com>
11997
f2962a71
UD
11998 [BZ #12671]
11999 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12000 some situations.
12001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12002 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12003 add in in __libc_use_alloca calls. Adjust callers.
12004 (glob): Use malloc in some situations.
12005
de7ce8f1
UD
12006 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12007 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12008 pltexit.
12009
aec84f53
UD
120102011-05-21 Ulrich Drepper <drepper@gmail.com>
12011
05bb4a68
UD
12012 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12013 and CLOCK_BOOTTIME_ALARM.
12014
7ea72f99
UD
12015 [BZ #12782]
12016 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12017 is returned.
12018
7e4afad5
UD
12019 * string/_strerror.c (__strerror_r): Print negative errors as signed
12020 numbers.
12021
8e211fec
UD
12022 [BZ #12777]
12023 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12024 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12025 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12026
f7d82dc9
UD
12027 * configure.in: Fix typo in redirection and correct removal of test
12028 files in two cases.
12029
cc9e536d
UD
12030 [BZ #12788]
12031 * locale/setlocale.c (new_composite_name): Fix test to check for
12032 identical name of all categories.
12033
aec84f53
UD
12034 [BZ #12792]
12035 * libio/filedoalloc.c (local_isatty): New function.
12036 (_IO_file_doallocate): Use local_isatty.
12037 * stdio-common/perror.c (perror): In case a new stream is used
12038 forward the stream error.
12039 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12040 error flag.
12041
78e64fdc
RT
120422011-05-20 Ulrich Drepper <drepper@gmail.com>
12043
34a9094f
UD
12044 [BZ #11869]
12045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12046 alloca.
12047 * include/alloca.h (extend_alloca_account): Define.
12048
78e64fdc
RT
12049 [BZ #11857]
12050 * posix/regex.h: Fix comments with documentation of user-accessible
12051 fields after compilation and describe correct free'ing of pattern
12052 after re_compile_pattern.
12053 Patch by Reuben Thomas <rrt@sc3d.org>.
12054
457bddfc
RA
120552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12056
12057 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12058 and -mno-altivec to prevent the compiler from using Altivec and/or
12059 VSX instructions when the corresponding registers are not available.
12060
a4527b51
AS
120612011-05-19 Andreas Schwab <schwab@redhat.com>
12062
12063 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12064
ed690b2f
UD
120652011-05-19 Ulrich Drepper <drepper@gmail.com>
12066
12067 * libio/freopen.c (freopen): Use __dup2, not dup2.
12068 * libio/freopen64.c (freopen64): Likewise.
12069
8db73634
L
120702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12071
12072 [BZ #12775]
12073 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12074 * math/Makefile (tests): Add test-powl.
12075 (CFLAGS-test-powl.c): Define.
12076 * math/test-powl.c: New file.
12077
0a197a9d
L
120782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12081
ee30c380
UD
120822011-05-17 Ulrich Drepper <drepper@gmail.com>
12083
12084 [BZ #11837]
12085 * iconvdata/gb18030.c: Update to GB18020-2005.
12086
6ce75379
UD
120872011-05-16 Ulrich Drepper <drepper@gmail.com>
12088
a4b89fd8
AR
12089 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12090 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12091 Patch by Aharon Robbins <arnold@skeeve.com>.
12092
ea389b12
UD
12093 [BZ #11892]
12094 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12095 on the stack.
12096
68a3f91f
UD
12097 [BZ #11895]
12098 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12099 through underflows.
12100
15cc7dd1
UD
12101 [BZ #12766]
12102 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12103 point to strings before performing equality test for error_one_per_line
12104 mode.
12105
f3799213
UD
12106 [BZ #11697]
12107 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12108
d79a9c94
UD
12109 [BZ #11820]
12110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12111 (struct user_fpregs_struct): Avoid __uint*_t types.
12112
56e5eb46
UD
12113 [BZ #6420]
12114 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12115 symbol info. Use it instead of calling _dl_addr locally.
12116 (lock_and_info): New function.
12117 (tr_freehook): Call lock_and_info and pass symbol info as additional
12118 parameter to tr_where.
12119 (tr_mallochook): Likewise.
12120 (tr_reallochook): Likewise.
12121 (tr_memalignhook): Likewise.
12122
6ce75379
UD
12123 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12124 used and couldn't be at all thread-safe.
12125
f8a3b5bf
UD
121262011-05-15 Ulrich Drepper <drepper@gmail.com>
12127
94b7cc37
UD
12128 * libio/freopen.c (freopen): Don't close old file descriptor
12129 before the new one is opened. Instead dup the new file descriptor
12130 to the old one after the new stream is created.
12131 * libio/freopen64.c (freopen64): Likewise.
12132 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12133 * libio/fileops.c (_IO_new_file_close_it): Handle new
12134 _IO_FLAGS2_NOCLOSE flag.
12135 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12136 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12137 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12138 _IO_FLAGS2_NOCLOSE flag.
12139 * include/unistd.h: Add hidden_proto for dup3.
12140 Define __have_dup3.
12141 * io/dup3.c: Define hidden symbol.
12142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12143
bd25564e
UD
12144 [BZ #7101]
12145 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12146 when an incomplete long option is used.
12147 * posix/tst-getopt_long1.c: New file.
12148 * posix/Makefile (tests): Add tst-getopt_long1.
12149
c84cfef4
UD
12150 [BZ #10138]
12151 * scripts/config.guess: Update from autoconf-2.68.
12152 * scripts/config.sub: Likewise.
12153
3b85df27
UD
12154 [BZ #10157]
12155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12156 tests into ...
12157 (has_cpuclock): ...this. New function.
12158 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12159 macro here based on has_cpuclock code.
12160
15a856b1
UD
12161 [BZ #10149]
12162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12163 First byte (not low byte) is now always NUL.
12164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12165
05f399e6
UD
12166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12167 Use non-cancelable interfaces.
12168
10a52685 12169 [BZ #9809]
94ecc67d
UD
12170 * locale/iso-639.def: Add entry for Sorani.
12171
f8a3b5bf
UD
12172 [BZ #11901]
12173 * include/stdlib.h: Move include protection to the right place.
12174 Define abort_msg_s. Declare __abort_msg with it.
12175 * stdlib/abort.c (__abort_msg): Adjust type.
12176 * assert/assert.c (__assert_fail_base): New function. Majority
12177 of code from __assert_fail. Allocate memory for __abort_msg with
12178 mmap.
12179 (__assert_fail): Now call __assert_fail_base.
12180 * assert/assert-perr.c: Remove bulk of implementation. Use
12181 __assert_fail_base.
12182 * include/assert.hL Declare __assert_fail_base.
12183 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12184 mmap.
12185 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12186
1af4e298
UD
121872011-05-14 Ulrich Drepper <drepper@gmail.com>
12188
f8a3b5bf 12189 [BZ #11952]
d26dfc60
MG
12190 [BZ #12453]
12191 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12192 until all modules are registered in the DTV.
12193 * elf/Makefile: Add rules to build and run tst-tls19.
12194 * elf/tst-tls19.c: New file.
12195 * elf/tst-tls19mod1.c: New file.
12196 * elf/tst-tls19mod2.c: New file.
12197 * elf/tst-tls19mod3.c: New file.
12198 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12199
2fc54d6f
UD
12200 [BZ #12083]
12201 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12202 correctly.
12203
98d76b46
UD
12204 [BZ #12601]
12205 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12206 two-byte sequence errors.
12207 * iconvdata/Makefile (tests): Add bug-iconv8.
12208 * iconvdata/bug-iconv8.c: New file.
12209
da3c19ef
UD
12210 [BZ #12626]
12211 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12212 buf2 definition.
12213
ca408c15
UD
12214 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12215
d6f67f7d
UD
12216 [BZ #12432]
12217 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12218 (dummy_getcfa): New function.
12219 (init): Get _Unwind_GetCFA address, use dummy if not found.
12220 (backtrace_helper): In recursion check, also check whether CFA changes.
12221 (__backtrace): Completely initialize arg.
12222
1af4e298 12223 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12224 storing incomplete byte sequence in state object. Avoid testing for
12225 guaranteed too small input if we know there is enough data available.
1af4e298 12226
da62f81b
AS
122272011-05-11 Andreas Schwab <schwab@redhat.com>
12228
12229 * Makeconfig (+link-pie): Indent.
12230 * Rules (binaries-pie): Define if $(have-fpie) and
12231 $(build-shared).
12232 (binaries-shared): Also filter out $(binaries-pie).
12233 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12234 * nscd/Makefile (others-pie): Add nscd.
12235 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12236 ($(objpfx)nscd): Remove command override.
12237 * login/Makefile (others-pie): Add pt_chown.
12238 ($(objpfx)pt_chown): Remove command override.
12239 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12240 remove command overrides.
12241
fcabc0f8
UD
122422011-05-13 Ulrich Drepper <drepper@gmail.com>
12243
20030ae6
UD
12244 * libio/tst_putwc.c: Fix error messages.
12245
fcabc0f8
UD
12246 [BZ #12724]
12247 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12248 currently writing and seek to current position when not.
12249 * libio/Makefile (tests): Add bug-fclose1.
12250 * libio/bug-fclose1.c: New file.
12251
320a5dc0
PB
122522011-05-12 Ulrich Drepper <drepper@gmail.com>
12253
12254 [BZ #12511]
12255 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12256 don't set DF_1_NODELETE here.
12257 (do_lookup_x): When entering new entry test for copy relocation
12258 and if necessary set DF_1_NODELETE flag.
12259 * elf/tst-unique4.cc: New file.
12260 * elf/tst-unique4.h: New file.
12261 * elf/tst-unique4lib.cc: New file.
12262 * elf/Makefile: Add rules to build and run tst-unique4.
12263 Patch by Piotr Bury <pbury@goahead.com>.
12264
22836f52
UD
122652011-05-11 Ulrich Drepper <drepper@gmail.com>
12266
f574184a
UD
12267 [BZ #12052]
12268 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12269
e1fb097f
UD
12270 [BZ #12625]
12271 * misc/mntent_r.c (addmntent): Flush the stream after the output
12272
22836f52
UD
12273 [BZ #12393]
12274 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12275 (is_trusted_path_normalize): Skip initial colon. Append slash
12276 to empty buffer. Duplicate is_trusted_path code but allow
12277 constructed patch to be prefix.
12278 (is_dst): Allow $ORIGIN followed by /.
12279 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12280 Correct testing of result of is_trusted_path_normalize
12281 (decompose_rpath): Fix warning.
12282
7b3b0b2a
UD
122832011-05-10 Ulrich Drepper <drepper@gmail.com>
12284
12285 [BZ #11257]
12286 * grp/initgroups.c (internal_getgrouplist): When we found the service
12287 list through the initgroups entry in nsswitch.conf do not always
12288 continue on a successful lookup. Don't always use the
eac80ce2 12289 __nss_group_database value if it is set.
7b3b0b2a
UD
12290 * nss/nsswitch.conf (initgroups): Change action for successful db
12291 lookup to continue for compatibility.
12292
2a81eaa5
UD
122932011-05-09 Ulrich Drepper <drepper@gmail.com>
12294
be97a69e
UD
12295 [BZ #11532]
12296 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12297 and CP774 modules.
12298 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12299 and CP774 modules.
12300 * iconvdata/tst-tables.sh: Likewise.
12301 * iconvdata/cp770.c: New file.
12302 * iconvdata/cp771.c: New file.
12303 * iconvdata/cp772.c: New file.
12304 * iconvdata/cp773.c: New file.
12305 * iconvdata/cp774.c: New file.
12306 * iconvdata/testdata/CP770: New file.
12307 * iconvdata/testdata/CP770..UTF8: New file.
12308 * iconvdata/testdata/CP771: New file.
12309 * iconvdata/testdata/CP771..UTF8: New file.
12310 * iconvdata/testdata/CP772: New file.
12311 * iconvdata/testdata/CP772..UTF8: New file.
12312 * iconvdata/testdata/CP773: New file.
12313 * iconvdata/testdata/CP773..UTF8: New file.
12314 * iconvdata/testdata/CP774: New file.
12315 * iconvdata/testdata/CP774..UTF8: New file.
12316
12317 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12318 END CHARMAP line.
12319 * iconvdata/gen-8bit-gap.sh: Likewise.
12320 * iconvdata/gen-8bit.sh: Likewise.
12321
c1e9e399
UD
12322 * locale/iso-639.def: Add ary entry.
12323
24c55fb3 12324 [BZ #11258]
96b4b1b0
UD
12325 * locale/C-translit.h.in: Add U20A1 transliteration.
12326
bdc2f971
KB
12327 [BZ #12178]
12328 * locale/iso-639.def: Add wae entry.
12329 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12330
2952b117
UD
12331 [BZ #12545]
12332 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12333 for n.
12334
2a81eaa5
UD
12335 [BZ #12711]
12336 * locale/C-translit.h.in: Add entry for U20B9.
12337 Patch by pravin.d.s@gmail.com.
12338
28377d1b
UD
123392011-05-08 Ulrich Drepper <drepper@gmail.com>
12340
7fb90fb8
UD
12341 [BZ #12713]
12342 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12343 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12344 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12345 in rtld. Use *stat64.
7fb90fb8 12346 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12347 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12348 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12349 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12350 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12351 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12352 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12353 __fstatat64 macros.
7fb90fb8
UD
12354 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12355 * dirent/rewinddir.c: Add libc_hidden_def.
12356 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12357 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12358
28377d1b
UD
12359 * include/dirent.h (__alloc_dir): Add flags parameter.
12360 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12361 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12362 __alloc_dir.
12363 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12364 from fdopendir if O_CLOEXEC is already set.
12365
66bdbaa4
AM
123662011-03-15 Alan Modra <amodra@gmail.com>
12367
12368 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12369 l_tls_firstbyte_offset non-zero. Save padding offset in
12370 l_tls_firstbyte_offset for later use.
12371 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12372 freeing static tls block.
12373
95721191
JN
123742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12375
12376 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12377 where #ifdef was intended. The intent is to prevent ARG_MAX from
12378 being defined by the kernel headers.
12379
f87dfb1f
UD
123802011-05-07 Ulrich Drepper <drepper@gmail.com>
12381
12382 [BZ #12734]
12383 * resolv/resolv.h: Define RES_NOTLDQUERY.
12384 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12385 no-tld-query and set RES_NOTLDQUERY.
12386 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12387 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12388 modern BIND to search name as TLD unless forbidden.
12389
47c3cd7a
UD
123902011-05-07 Petr Baudis <pasky@suse.cz>
12391 Ulrich Drepper <drepper@gmail.com>
12392
12393 [BZ #12393]
12394 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12395 (is_trusted_path): ...to here.
c1e9ea35 12396 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12397 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12398 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12399
8a35c912
PP
124002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12401
12402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12403 __BEGIN/__END_DECLS.
12404
acd41f47
UD
124052011-05-06 Ulrich Drepper <drepper@gmail.com>
12406
12407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12408 NSS_STATUS_NOTFOUND if no record was found.
12409
597df647
AS
124102011-05-05 Andreas Schwab <schwab@redhat.com>
12411
12412 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12413 (headers-not-in-tirpc): Remove rpc/netdb.h
12414 * resolv/netdb.h: Revert last change.
12415
b9af1301
PP
124162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12417
12418 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12419 circular dependency between libgcc.a and libc.a.
12420
4e34d5f5
AS
124212011-05-05 Andreas Schwab <schwab@redhat.com>
12422
12423 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12424 * nis/Makefile: Don't install rpcsvc/*.
12425 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12426 instead of <rpc/types.h>.
12427 (MAXHOSTNAMELEN): Define.
12428
00ee369c
AS
124292011-05-03 Andreas Schwab <schwab@redhat.com>
12430
12431 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12432
0b592a30
MB
124332011-04-28 Maciej Babinski <mbabinski@google.com>
12434
12435 [BZ #12714]
12436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12437 gethostbyname4_r when IPv6 results are possible.
12438
6e04cbbe
UD
124392011-05-02 Ulrich Drepper <drepper@gmail.com>
12440
12441 [BZ #12723]
12442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12443 _PC_PIPE_BUF handling.
12444
e4ecafe0
BH
124452011-04-30 Bruno Haible <bruno@clisp.org>
12446
12447 [BZ #12717]
12448 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12449 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12450 to 'int'.
12451 * inet/getnameinfo.c (getnameinfo): Likewise.
12452
125ee683
UD
124532011-04-29 Ulrich Drepper <drepper@gmail.com>
12454
12455 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12456 to groups setting in database lookup.
12457 * nss/nsswitch.conf: Add initgroups entry.
12458
b722481a
EB
124592011-04-22 Ulrich Drepper <drepper@gmail.com>
12460
12461 [BZ #12685]
12462 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12463 mode string.
12464 Patch by Eric Blake <eblake@redhat.com>.
12465
4df46dbd
L
124662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sunrpc/Makefile (need-export-routines): Add svc_run.
12469 (routines): Remove svc_run.
12470 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12471 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12472 * sunrpc/svc_run.c (svc_run): Likewise.
12473 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12474
e84142d2
UD
124752011-04-21 Ulrich Drepper <drepper@gmail.com>
12476
12477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12478 problem in reallocation in last patch.
12479
877175d8
UD
124802011-04-20 Ulrich Drepper <drepper@gmail.com>
12481
12482 * sunrpc/Makefile: Move inclusion of Rules.
12483
ab8eed78
UD
124842011-04-19 Ulrich Drepper <drepper@gmail.com>
12485
12486 * nss/nss_files/files-initgroups.c: New file.
12487 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12488 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12489 _nss_files_initgroups_dyn.
12490
e3d8f584
RS
124912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12492
12493 * elf/elf.h (R_ARM_IRELATIVE): Define.
12494
af190f45
UD
124952011-04-19 Ulrich Drepper <drepper@gmail.com>
12496
12497 * po/ru.po: Update from translation team.
12498
53cf59ef
UD
124992011-04-17 Ulrich Drepper <drepper@gmail.com>
12500
12501 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12502 dependencies.
12503
4c559bcd
MF
125042011-02-06 Mike Frysinger <vapier@gentoo.org>
12505
12506 [BZ #12653]
12507 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12508 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12512
4420675c
AS
125132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12514
12515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12516 differing bytes.
12517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12520
75ea32ab
UD
125212011-04-17 Ulrich Drepper <drepper@gmail.com>
12522
12523 [BZ #12420]
12524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12525 storing it.
12526 * stdlib/bug-getcontext.c: New file.
12527 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12528
27390476
AK
125292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12530
12531 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12532 instructions into .machine "z9-109".
12533 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12534 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12535
10442705
AK
125362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12537
12538 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12539 between environment variables and auxiliary vector.
12540
7b57bfe5
UD
125412011-04-16 Ulrich Drepper <drepper@gmail.com>
12542
12543 * Makefile: Add rules to build linkobj/libc.so.
12544 * include/libc-symbols.h: Define libc_hidden_nolink.
12545 * include/rpc/auth.h: Mark functions which are to be hidden.
12546 * include/rpc/auth_des.h: Likewise.
12547 * include/rpc/auth_unix.h: Likewise.
12548 * include/rpc/clnt.h: Likewise.
12549 * include/rpc/des_crypt.h: Likewise.
12550 * include/rpc/key_prot.h: Likewise.
12551 * include/rpc/pmap_clnt.h: Likewise.
12552 * include/rpc/pmap_prot.h: Likewise.
12553 * include/rpc/pmap_rmt.h: Likewise.
12554 * include/rpc/rpc_msg.h: Likewise.
12555 * include/rpc/svc.h: Likewise.
12556 * include/rpc/svc_auth.h: Likewise.
12557 * include/rpc/xdr.h: Likewise.
12558 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12559 * nss/Makefile: Likewise.
12560 * sunrpc/Makefile: Don't install headers. Build library with normal
12561 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12562 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12563 for the compat linking library. Remove use of INTDEF/INTUSE.
12564 * sunrpc/auth_none.c: Likewise.
12565 * sunrpc/auth_unix.c: Likewise.
12566 * sunrpc/authdes_prot.c: Likewise.
12567 * sunrpc/authuxprot.c: Likewise.
12568 * sunrpc/clnt_gen.c: Likewise.
12569 * sunrpc/clnt_perr.c: Likewise.
12570 * sunrpc/clnt_raw.c: Likewise.
12571 * sunrpc/clnt_simp.c: Likewise.
12572 * sunrpc/clnt_tcp.c: Likewise.
12573 * sunrpc/clnt_udp.c: Likewise.
12574 * sunrpc/clnt_unix.c: Likewise.
12575 * sunrpc/des_crypt.c: Likewise.
12576 * sunrpc/des_soft.c: Likewise.
12577 * sunrpc/get_myaddr.c: Likewise.
12578 * sunrpc/key_call.c: Likewise.
12579 * sunrpc/key_prot.c: Likewise.
12580 * sunrpc/netname.c: Likewise.
12581 * sunrpc/pm_getmaps.c: Likewise.
12582 * sunrpc/pm_getport.c: Likewise.
12583 * sunrpc/pmap_clnt.c: Likewise.
12584 * sunrpc/pmap_prot.c: Likewise.
12585 * sunrpc/pmap_prot2.c: Likewise.
12586 * sunrpc/pmap_rmt.c: Likewise.
12587 * sunrpc/publickey.c: Likewise.
12588 * sunrpc/rpc_cmsg.c: Likewise.
12589 * sunrpc/rpc_common.c: Likewise.
12590 * sunrpc/rpc_dtable.c: Likewise.
12591 * sunrpc/rpc_prot.c: Likewise.
12592 * sunrpc/rpc_thread.c: Likewise.
12593 * sunrpc/rtime.c: Likewise.
12594 * sunrpc/svc.c: Likewise.
12595 * sunrpc/svc_auth.c: Likewise.
12596 * sunrpc/svc_authux.c: Likewise.
12597 * sunrpc/svc_raw.c: Likewise.
12598 * sunrpc/svc_run.c: Likewise.
12599 * sunrpc/svc_simple.c: Likewise.
12600 * sunrpc/svc_tcp.c: Likewise.
12601 * sunrpc/svc_udp.c: Likewise.
12602 * sunrpc/svc_unix.c: Likewise.
12603 * sunrpc/svcauth_des.c: Likewise.
12604 * sunrpc/xcrypt.c: Likewise.
12605 * sunrpc/xdr.c: Likewise.
12606 * sunrpc/xdr_array.c: Likewise.
12607 * sunrpc/xdr_float.c: Likewise.
12608 * sunrpc/xdr_intXX_t.c: Likewise.
12609 * sunrpc/xdr_mem.c: Likewise.
12610 * sunrpc/xdr_rec.c: Likewise.
12611 * sunrpc/xdr_ref.c: Likewise.
12612 * sunrpc/xdr_sizeof.c: Likewise.
12613 * sunrpc/xdr_stdio.c: Likewise.
12614
e6c61494
UD
126152011-04-10 Ulrich Drepper <drepper@gmail.com>
12616
12617 [BZ #12650]
12618 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12619 * sysdeps/ia64/dl-tls.h: Likewise.
12620 * sysdeps/powerpc/dl-tls.h: Likewise.
12621 * sysdeps/s390/dl-tls.h: Likewise.
12622 * sysdeps/sh/dl-tls.h: Likewise.
12623 * sysdeps/sparc/dl-tls.h: Likewise.
12624 * sysdeps/x86_64/dl-tls.h: Likewise.
12625 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12626
34fe483e
AS
126272011-03-14 Andreas Schwab <schwab@redhat.com>
12628
12629 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12630 rpath element also skip the following colon.
12631 (expand_dynamic_string_token): Add is_path parameter and pass
12632 down to DL_DST_REQUIRED and _dl_dst_substitute.
12633 (decompose_rpath): Call expand_dynamic_string_token with
12634 non-zero is_path. Ignore empty rpaths.
12635 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12636 with zero is_path.
12637
f12a32e6
AS
126382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12639
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12641 Make cancelable.
12642
38a7d692
UD
126432011-04-09 Ulrich Drepper <drepper@gmail.com>
12644
12645 [BZ #12655]
12646 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12647 Patch by Filipe David Manana <fdmanana@apache.org>.
12648
e451d22b
AS
126492011-04-07 Andreas Schwab <schwab@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12652 Maintain aligned stack.
12653 (CHECK_RSP): Remove unused macro.
12654
dedc7c7b
UD
126552011-04-03 Ulrich Drepper <drepper@gmail.com>
12656
12657 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12659
94521213
UD
126602011-04-02 Ulrich Drepper <drepper@gmail.com>
12661
12662 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12663
8cb700c0 12664 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12665
0354e355
L
126662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 [BZ #12518]
12669 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12670 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12671 * sysdeps/x86_64/memmove.c: New file.
12672 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12673 (memcpy): Renamed to ...
12674 (__new_memcpy): This.
12675 (memcpy): Provide GLIBC_2_14 memcpy.
12676 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12677 (memcpy): Provide GLIBC_2_2_5 memcpy.
12678
8593482f
UD
126792011-04-01 Ulrich Drepper <drepper@gmail.com>
12680
12681 [BZ #12631]
12682 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12683
81a5726b
AS
126842011-03-30 Andreas Schwab <schwab@redhat.com>
12685
12686 * misc/syncfs.c: New file.
12687 * misc/Makefile (routines): Add syncfs.
12688 * posix/unistd.h: Declare syncfs.
12689 * sysdeps/unix/syscalls.list: Add syncfs.
12690
00e5419f
AS
126912011-04-01 Andreas Schwab <schwab@redhat.com>
12692
12693 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12694 open_by_handle_at.
12695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12700 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12702
748876bf
UD
127032011-04-01 Ulrich Drepper <drepper@gmail.com>
12704
658e451d
UD
12705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12712
748876bf
UD
12713 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12714 sync_file_range.c with -fexceptions.
12715 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12716 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12717 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12718 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12722 sync_file_range as cancellation point
12723 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12724 now a wrapper around __call_sync_file_range with cancellation handling.
12725 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12727 function name to __call_sync_file_range.
12728 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12729 Add call_sync_file_range.
748876bf 12730
6e63d5e1
AS
127312011-04-01 Andreas Schwab <schwab@redhat.com>
12732
12733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12734 bits/timex.h.
6e63d5e1 12735
46998f74
UD
127362011-04-01 Ulrich Drepper <drepper@gmail.com>
12737
4c1423ed
UD
12738 * iconv/iconv.h: Fix typo in comment.
12739 * io/fcntl.h: Likewise.
12740 * libio/stdio.h: Likewise.
12741 * posix/spawn.h: Likewise.
12742 * posix/unistd.h: Likewise.
12743 * stdlib/stdlib.h: Likewise.
12744 * time/time.h: Likewise.
12745 * wcsmbs/wchar.h: Likewise.
12746
158648c0
UD
12747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12748 open_by_handle): Add.
12749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12750 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12751 Augment a few comments.
12752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12757 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12758 open_by_handle.
12759
46998f74
UD
12760 * io/fcntl.h (AT_EMPTY_PATH): Define.
12761
83fe108b
UD
127622011-03-30 Ulrich Drepper <drepper@gmail.com>
12763
12764 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12765 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12766 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12767 to...
12768 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12769 * Versions.def: Add GLIBC_2.14.
12770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12771 Export.
83fe108b 12772
bb242059
UD
127732011-03-22 Ulrich Drepper <drepper@gmail.com>
12774
12775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12776 round counter.
12777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12778
c97a1282
L
127792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12780
12781 [BZ #12597]
12782 * string/test-strncmp.c (do_page_test): New function.
12783 (check2): Likewise.
12784 (test_main): Call check2.
12785 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12786
2a115601
UD
127872011-03-20 Ulrich Drepper <drepper@gmail.com>
12788
12789 [BZ #12587]
12790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12791 Handle cache information in CPU leaf 4.
12792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12793
8126d904
UD
127942011-03-18 Ulrich Drepper <drepper@gmail.com>
12795
042c49c6 12796 [BZ #12583]
8126d904
UD
12797 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12798 character representation.
12799 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12800
ccfe366e
RA
128012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12802
12803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12804 END(__isnan) to END(__isnanf) to match function entry point/label
12805 EALIGN(__isnanf,...).
12806
c6e13027
JJ
128072011-03-10 Jakub Jelinek <jakub@redhat.com>
12808
12809 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12810
33f85a3f
UD
128112011-03-10 Ulrich Drepper <drepper@gmail.com>
12812
028478fa
UD
12813 [BZ #12510]
12814 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12815 copy from the symbol referenced in the relocation to initialize the
12816 used variable.
12817 Patch by Piotr Bury <pbury@goahead.com>.
12818 * elf/Makefile: Add rules to build and tst-unique3.
12819 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12820 * elf/tst-unique3.cc: New file.
12821 * elf/tst-unique3.h: New file.
12822 * elf/tst-unique3lib.cc: New file.
12823 * elf/tst-unique3lib2.cc: New file.
12824
33f85a3f
UD
12825 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12826
03592fc7
MF
128272011-03-10 Mike Frysinger <vapier@gentoo.org>
12828
12829 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12830 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12831 to _start.
03592fc7 12832
6a5ee102
UD
128332011-03-06 Ulrich Drepper <drepper@gmail.com>
12834
12835 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12836 to-be-loaded object along a path to loader is ld.so.
12837
7e4ba49c
HJ
128382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12839 Ulrich Drepper <drepper@gmail.com>
12840
12841 * sysdeps/x86_64/memset.S: After aligning destination, code
12842 branches to different locations depending on the value of
12843 misalignment, when multiarch is enabled. Fix this.
12844
128452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12846
12847 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12848 Set _x86_64_preferred_memory_instruction for AMD processsors.
12849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12850 Set bit_Prefer_SSE_for_memop for AMD processors.
12851
13a804de
UD
128522011-03-04 Ulrich Drepper <drepper@gmail.com>
12853
12854 * libio/fmemopen.c (fmemopen): Optimize a bit.
12855
9d25c392
AS
128562011-03-03 Andreas Schwab <schwab@redhat.com>
12857
12858 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12859
a5543c6a
RM
128602011-03-03 Roland McGrath <roland@redhat.com>
12861
12862 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12863
012d35f7
DM
128642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12865
7e4ba49c 12866 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12867 __bzero_ultra1 instead of __memset_ultra1.
12868
4bff6e01
AS
128692011-02-23 Andreas Schwab <schwab@redhat.com>
12870 Ulrich Drepper <drepper@gmail.com>
12871
12872 [BZ #12509]
12873 * include/link.h (struct link_map): Add l_orig_initfini.
12874 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12875 returning unsuccessfully.
12876 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12877 close of a file loaded at startup, restore the original l_initfini
12878 list.
12879 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12880 list, store the pointer.
12881 * elf/Makefile ($(objpfx)noload-mem): New rule.
12882 (noload-ENV): Define.
12883 (tests): Add $(objpfx)noload-mem.
12884 * elf/noload.c: Include <memcheck.h>.
12885 (main): Call mtrace. Close all opened handles.
12886
f2092faf
AS
128872011-02-17 Andreas Schwab <schwab@redhat.com>
12888
12889 [BZ #12454]
12890 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12891 dependencies are missing.
12892
6c8a2e88
ST
128932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12894
f2092faf 12895 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12896 Hurd needs munmap.
12897 * sysdeps/mach/hurd/ifreq.h: New file.
12898
84a42118
PB
128992011-01-27 Petr Baudis <pasky@suse.cz>
12900 Ulrich Drepper <drepper@gmail.com>
12901
071f805e 12902 [BZ 12445]#
84a42118
PB
12903 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12904 to extend_alloca().
12905 * stdio-common/bug23.c: New file.
12906 * stdio-common/Makefile (tests): Add bug23.
12907
e23fe25b
AS
129082010-09-28 Andreas Schwab <schwab@redhat.com>
12909 Ulrich Drepper <drepper@gmail.com>
12910
12911 [BZ #12489]
12912 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12913 before performing relro protection. At old place add assertion
12914 to make sure nothing changed.
12915
d3f02e10
NS
129162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12917 Glauber de Oliveira Costa <glommer@gmail.com>
12918
12919 * elf/elf.h: Add new ARM TLS relocs.
12920
d55fd7a5
RA
129212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12922
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12924 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12925 cast from r3.
12926 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12927 'tests' variable.
12928 * sysdeps/wordsize-64/tst-writev.c: New file.
12929
2206397e
RA
129302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12931
12932 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12933 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12934 insns in _dl_start to prevent a TOC reference before relocs are
12935 resolved.
12936
e9433893
UD
129372011-02-15 Ulrich Drepper <drepper@gmail.com>
12938
12939 [BZ #12469]
12940 * Makeconfig: Remove RANLIB definition.
12941 * Makerules: Don't use RANLIB.
12942 * aclocal.m4: Remove ranlib test.
12943 * configure.in: No need to check for ranlib.
12944 * elf/rtld-Rules: Don't use RANLIB.
12945
f75286c6
ST
129462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12947
8e31c82d
ST
12948 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12949 protection macro.
12950 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12951 inclusion protection macro.
12952
f75286c6
ST
12953 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12954 SIGRTMIN and SIGRTMAX and print information in that case only when
12955 SIGRTMIN is defined.
12956
c1d0e639
JJ
129572011-02-11 Jakub Jelinek <jakub@redhat.com>
12958
12959 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12960 arginfo fn returning -1.
12961
12962 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12963 and thousands string is zero terminated.
12964
edf9294e
AS
129652011-02-03 Andreas Schwab <schwab@redhat.com>
12966
12967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12968 sysdeps/unix/sysv/linux/bits/socket.h.
12969
2b7e92df
ST
129702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12971
edf9294e
AS
12972 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12973 (__CPU_COUNT): Remove old macros.
12974 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12975 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12976 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12977 (__sched_cpualloc, __sched_cpufree): Add declarations.
12978
a4c7ea7b
UD
129792011-02-05 Ulrich Drepper <drepper@gmail.com>
12980
12981 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12982 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12983 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12984 (readdhstai): Return value of addhstaiX call.
12985 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12986 (addgrbyX): Return value returned by cache_addgr.
12987 (readdgrbyname): Return value returned by addgrbyX.
12988 (readdgrbygid): Likewise.
12989 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12990 (addpwbyX): Return value returned by cache_addpw.
12991 (readdpwbyname): Return value returned by addhstbyX.
12992 (readdpwbyuid): Likewise.
12993 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12994 (addservbyX): Return value returned by cache_addserv.
12995 (readdservbyname): Return value returned by addservbyX:
12996 (readdservbyport): Likewise.
12997 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12998 (addhstbyX): Return value returned by cache_addhst.
12999 (readdhstbyname): Return value returned by addhstbyX.
13000 (readdhstbyaddr): Likewise.
13001 (readdhstbynamev6): Likewise.
13002 (readdhstbyaddrv6): Likewise.
13003 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13004 (readdinitgroups): Return value returned by addinitgroupsX.
13005 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13006 (prune_cache): Keep track of timeout value of re-added entries.
13007 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13008 * nscd/nscd.h: Adjust prototypes of readd* functions.
13009
a0bf67cc
RM
130102011-02-04 Roland McGrath <roland@redhat.com>
13011
13012 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13013 (nis_stats): Likewise.
13014 * nis/nis_modify.c (nis_modify): Likewise.
13015 * nis/nis_remove.c (nis_remove): Likewise.
13016 * nis/nis_add.c (nis_add): Likewise.
13017
13018 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13019
13020 * posix/fnmatch_loop.c: Add some consts.
13021
13022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13023
435b95eb
L
130242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 [BZ #12460]
13027 * config.make.in (config-cflags-novzeroupper): Define.
13028 * configure.in: Substitute libc_cv_cc_novzeroupper.
13029 * elf/Makefile (AVX-CFLAGS): Define.
13030 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13031 (CFLAGS-tst-auditmod4a.c): Likewise.
13032 (CFLAGS-tst-auditmod4b.c): Likewise.
13033 (CFLAGS-tst-auditmod6b.c): Likewise.
13034 (CFLAGS-tst-auditmod6c.c): Likewise.
13035 (CFLAGS-tst-auditmod7b.c): Likewise.
13036 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13037
8517b15e
UD
130382011-02-02 Ulrich Drepper <drepper@gmail.com>
13039
13040 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13041 function to the callback.
13042 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13043
10a656fe
AS
130442011-02-02 Andreas Schwab <schwab@redhat.com>
13045
13046 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13047 of errno.
13048
968dad0a
UD
130492011-01-19 Ulrich Drepper <drepper@gmail.com>
13050
9f94d2ea 13051 [BZ #11724]
968dad0a
UD
13052 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13053 of constructors.
13054 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13055 of destructors.
13056 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13057
13058 [BZ #11724]
13059 * elf/Makefile: Add rules to build and run new test.
13060 * elf/tst-initorder.c: New file.
13061 * elf/tst-initorder.exp: New file.
13062 * elf/tst-initordera1.c: New file.
13063 * elf/tst-initordera2.c: New file.
13064 * elf/tst-initordera3.c: New file.
13065 * elf/tst-initordera4.c: New file.
13066 * elf/tst-initorderb1.c: New file.
13067 * elf/tst-initorderb2.c: New file.
13068 * elf/tst-order-a1.c: New file.
13069 * elf/tst-order-a2.c: New file.
13070 * elf/tst-order-a3.c: New file.
13071 * elf/tst-order-a4.c: New file.
13072 * elf/tst-order-b1.c: New file.
13073 * elf/tst-order-b2.c: New file.
13074 * elf/tst-order-main.c: New file.
13075 New test case by George Gensure <werkt0@gmail.com>.
13076
86e92359
UD
130772010-10-01 Andreas Schwab <schwab@redhat.com>
13078
13079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13080 decoding ACE if AI_CANONIDN.
13081
5d5732b0
UD
130822011-01-18 Ulrich Drepper <drepper@gmail.com>
13083
13084 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13085
a77e8cbc
UD
130862011-01-17 Ulrich Drepper <drepper@gmail.com>
13087
6392473f
UD
13088 * version.h (RELEASE): Bump for 2.13 release.
13089 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13090
620a0529
UD
13091 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13092
18ba70a5
UD
13093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13094 MADV_NOHUGEPAGE.
32465c3e
UD
13095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13101
c0dafcf1
UD
13102 * posix/getconf.c: Update copyright year.
13103 * catgets/gencat.c: Likewise.
13104 * csu/version.c: Likewise.
13105 * debug/catchsegv.sh: Likewise.
13106 * debug/xtrace.sh: Likewise.
13107 * elf/ldconfig.c: Likewise.
13108 * elf/ldd.bash.in: Likewise.
13109 * elf/sprof.c (print_version): Likewise.
13110 * iconv/iconv_prog.c: Likewise.
13111 * iconv/iconvconfig.c: Likewise.
13112 * locale/programs/locale.c: Likewise.
13113 * locale/programs/localedef.c: Likewise.
13114 * malloc/memusage.sh: Likewise.
13115 * malloc/mtrace.pl: Likewise.
13116 * nscd/nscd.c (print_version): Likewise.
13117 * nss/getent.c: Likewise.
13118
a77e8cbc
UD
13119 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13120 PF_CAIF, and PF_ALG.
13121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13122
77e8bddf
AS
131232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13124
1f20b93a
AS
13125 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13126 (modules-names): Use them.
13127 (ifunc-test-modules, ifunc-pie-tests): Define.
13128 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13129 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13130 (test-extras): Likewise.
13131 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13132 $(compile-command.c).
13133 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13134 (all-built-dso): Define.
13135 (check-textrel.out, check-execstack.out): Depend on it.
13136
77e8bddf
AS
13137 * configure.in: Don't override --enable-multi-arch.
13138
bc425b33
UD
131392011-01-15 Ulrich Drepper <drepper@gmail.com>
13140
13141 [BZ #6812]
13142 * nscd/hstcache.c (tryagain): Define.
13143 (cache_addhst): Return tryagain not notfound for temporary errors.
13144 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13145 failed.
13146
794c3ad3
UD
131472011-01-14 Ulrich Drepper <drepper@gmail.com>
13148
70181fdd
UD
13149 [BZ #10563]
13150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13151 to make the syscall.
13152 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13153
794c3ad3
UD
13154 [BZ #12378]
13155 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13156 and fall back to matching as normal character if the string ends before
13157 the matching ']' is found. This is what POSIX requires.
13158 * posix/testfnm.c: Adjust test result.
13159 * posix/globtest.sh: Adjust test result. Add new test.
13160 * posix/tst-fnmatch.input: Likewise.
13161 * posix/tst-fnmatch2.c: Add new test.
13162
68dc9497
AS
131632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13164
13165 * elf/Makefile (check-execstack): Revert last change. Depend on
13166 check-execstack.h.
13167 (check-execstack.h): New target.
13168 (generated): Add check-execstack.h.
13169 * elf/check-execstack.c: Include "check-execstack.h".
13170 (main): Revert last change.
13171 (handle_file): Return zero if GNU_STACK is absent and
13172 DEFAULT_STACK_PERMS doesn't include PF_X.
13173
451f001b
UD
131742011-01-13 Ulrich Drepper <drepper@gmail.com>
13175
cfa28e56
UD
13176 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13177 in child fails because the descriptor is already closed.
8cf8ce17
UD
13178 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13179 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13181
1086d70d
UD
13182 [BZ #12397]
13183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13184 syscall.
13185
451f001b
UD
13186 [BZ #10484]
13187 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13188 temporary buffer used to handle multi lookups locally.
a85b5cb4 13189 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13190
08769175
UD
131912011-01-12 Ulrich Drepper <drepper@gmail.com>
13192
13193 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13194 loader is ld.so.
13195
5e49c52e
UD
131962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13197
13198 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13199 alignment for SSE2.
13200
60522a5f
UD
132012011-01-12 Ulrich Drepper <drepper@gmail.com>
13202
13203 [BZ #12394]
13204 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13205 characters. When rounding increased number of integer digits recompute
13206 number of groups.
13207 * stdio-common/tst-grouping.c: New file.
13208 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13209
f257bbd7
UD
132102011-01-09 Ulrich Drepper <drepper@gmail.com>
13211
13212 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13213 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13214
13215 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13216 void.
13217 * bits/select.h: Likewise.
13218
fa9c15cb
UD
132192011-01-08 Ulrich Drepper <drepper@gmail.com>
13220
13221 * po/ja.po: Update from translation team.
13222
16c2895f
DM
132232011-01-04 David S. Miller <davem@sunset.davemloft.net>
13224
13225 [BZ #11155]
13226 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13227 implementation just like for lxstat, fxstatat, et al.
13228
2543fef2
JM
132292010-12-27 Jim Meyering <meyering@redhat.com>
13230
13231 [BZ #12348]
13232 * posix/regexec.c (build_trtable): Return failure indication upon
13233 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13234
98727dbe
UD
132352010-12-25 Ulrich Drepper <drepper@gmail.com>
13236
5bd6dc5c
UD
13237 [BZ #12201]
13238 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13239 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13242
97983464
UD
13243 [BZ #12207]
13244 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13245
98727dbe
UD
13246 [BZ #12204]
13247 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13248 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13249
4a531bb0
L
132502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13251
13252 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13253 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13254 script has SORT_BY_INIT_PRIORITY.
13255 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13256 NO_CTORS_DTORS_SECTIONS is defined.
13257 * elf/soinit.c: Likewise.
13258 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13259 NO_CTORS_DTORS_SECTIONS is defined.
13260 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13261 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13262 * sysdeps/sh/init-first.c: Likewise.
13263 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13264
07eb4b71
UD
132652010-12-24 Ulrich Drepper <drepper@gmail.com>
13266
13267 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13268 always use the slow path.
13269
30950a5f
RA
132702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13271
13272 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13273 similar rule which adds the sysdep directories to the header search in
13274 order to pick up the correct platform stackinfo.h.
13275 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13276 perform test if it is, otherwise return successfully without testing.
13277 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13278 DEFAULT_STACK_PERMS define in stackinfo.h.
13279 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13280 defined in stackinfo.h.
13281 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13282 DEFAULT_STACK_PERMS defined in stackinfo.h.
13283 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13284 * sysdeps/ia64/stackinfo.h: Likewise.
13285 * sysdeps/s390/stackinfo.h: Likewise.
13286 * sysdeps/sh/stackinfo.h: Likewise.
13287 * sysdeps/sparc/stackinfo.h: Likewise.
13288 * sysdeps/x86_64/stackinfo.h: Likewise.
13289 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13290 PF_X for powerpc64. Retain PF_X for powerpc32.
13291
db753e2c
UD
132922010-12-19 Ulrich Drepper <drepper@gmail.com>
13293
14b697f7
UD
13294 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13295 accurately.
db753e2c
UD
13296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13297 GETDENTS_64BIT_ALIGNED.
13298
28300719
UD
132992010-12-14 Ulrich Drepper <dreper@gmail.com>
13300
14b697f7 13301 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13302
4f197237
AS
133032010-12-10 Andreas Schwab <schwab@redhat.com>
13304
dbb0472f
AS
13305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13306 _GNU_SOURCE.
13307
4f197237
AS
13308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13309 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13310 Remove __restrict.
13311 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13312 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13313
fb88ac72
UD
133142010-12-09 Ulrich Drepper <drepper@gmail.com>
13315
13316 [BZ #11655]
13317 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13318 are initialized.
13319
42acbb92
JJ
133202010-12-09 Jakub Jelinek <jakub@redhat.com>
13321
13322 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13323
c038d98d
UD
133242010-12-03 Ulrich Drepper <drepper@gmail.com>
13325
13326 * po/it.po: Update from translation team.
13327
3a4a2499
L
133282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13329
13330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13331 unused codes.
13332
1e24cf6e
UD
133332010-11-30 Ulrich Drepper <drepper@gmail.com>
13334
13335 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13336
a7690819
AS
133372010-11-24 Andreas Schwab <schwab@redhat.com>
13338
13339 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13340 specially.
13341 (gaih_getanswer_slice): Likewise.
13342
3bf8d1b1
JJ
133432010-10-20 Jakub Jelinek <jakub@redhat.com>
13344
13345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13346
6db52fbb
PB
133472010-05-31 Petr Baudis <pasky@suse.cz>
13348
13349 [BZ #11149]
13350 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13351 silently even in the chroot mode.
13352
eaca7569
UD
133532010-11-22 Ulrich Drepper <drepper@gmail.com>
13354
13355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13356 last patch a bit. Pretty printing
13357
3056dcdb
UD
133582010-05-31 Petr Baudis <pasky@suse.cz>
13359
13360 [BZ #10085]
13361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13362 initialization of skip_initgroups_dyn.
13363
cf7c9078
UD
133642010-11-19 Ulrich Drepper <drepper@gmail.com>
13365
13366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13367 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13368
a1fb5e3e
UD
133692010-11-16 Ulrich Drepper <drepper@gmail.com>
13370
13371 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13372
3540d66b
AS
133732010-11-11 Andreas Schwab <schwab@redhat.com>
13374
13375 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13376 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13377 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13378 ($(objpfx)tst-fnmatch-mem): New rule.
13379 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13380 * posix/tst-fnmatch.c (main): Call mtrace.
13381
13b69574
L
133822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13383
13384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13385 Support Intel processor model 6 and model 0x2c.
13386
da93d214
LM
133872010-11-10 Luis Machado <luisgpm@br.ibm.com>
13388
13389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13390 signed comparison.
13391
8ca52c6e
L
133922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13393
13394 [BZ #12205]
13395 * string/test-strncasecmp.c (check_result): New function.
13396 (do_one_test): Use it.
13397 (check1): New function.
13398 (test_main): Use it.
13399 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13400 Support strcasecmp and strncasecmp.
13401
69da074d
UD
134022010-11-08 Ulrich Drepper <drepper@gmail.com>
13403
13404 [BZ #12194]
13405 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13407
ff02d528
L
134082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13411 IFUNC support.
13412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13413 memset-x86-64.
13414 * sysdeps/x86_64/multiarch/bzero.S: New file.
13415 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13416 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13417 * sysdeps/x86_64/multiarch/memset.S: New file.
13418 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13420 Set bit_Prefer_SSE_for_memop for Intel processors.
13421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13422 Define.
13423 (index_Prefer_SSE_for_memop): Define.
13424 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13425
344d0b54
LM
134262010-11-04 Luis Machado <luisgpm@br.ibm.com>
13427
13428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13429 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13430
c0dde15b
UD
134312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13432
13433 [BZ #12191]
13434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13435 (__x86_64_raw_data_cache_size_half): Likewise.
13436 (__x86_64_raw_shared_cache_size): Likewise.
13437 (__x86_64_raw_shared_cache_size_half): Likewise.
13438
13439 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13440 (__x86_64_raw_data_cache_size_half): Likewise.
13441 (__x86_64_raw_shared_cache_size): Likewise.
13442 (__x86_64_raw_shared_cache_size_half): Likewise.
13443 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13444 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13445 and __x86_64_raw_shared_cache_size_half. Round
13446 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13447 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13448 to multiple of 256 bytes.
13449
0e516e0e
MS
134502010-11-03 Ulrich Drepper <drepper@gmail.com>
13451
13452 [BZ #12167]
13453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13454 of inacessible symlinks. Verify result of symlink before returning it.
13455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13456 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13457
0e012e87
ER
134582010-10-28 Erich Ritz <erichritz@gmail.com>
13459
13460 * math/math.h (isinf): Fix typo in comment.
13461
de0ff7bc
UD
134622010-11-01 Ulrich Drepper <drepper@gmail.com>
13463
13464 * po/da.po: Update from translation team.
13465
fa41c84d
UD
134662010-10-26 Ulrich Drepper <drepper@gmail.com>
13467
13468 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13469 is added to the list.
13470
f0967738
AK
134712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13472 Ulrich Drepper <drepper@gmail.com>
13473
13474 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13475 the global list here. Move code to...
13476 (_dl_add_to_namespace_list): ...here. New function.
13477 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13478 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13479 * elf/dl-load.c (lose): Don't remove the element from the list.
13480 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13481 (_dl_map_object): Likewise.
13482
134832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13484
13485 [BZ #12159]
13486 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13487 into all bytes of SSE register.
13488 Patch by Richard Li <richardpku@gmail.com>.
13489
f0967738 134902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13491
13492 [BZ #12140]
13493 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13494 perturbing.
13495
d0b9e94f
MB
134962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13497
13498 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13499 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13503 submachine.
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13505
8e9f92e9
AS
135062010-10-22 Andreas Schwab <schwab@redhat.com>
13507
13508 * include/dlfcn.h (__RTLD_SECURE): Define.
13509 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13510 mode & __RTLD_SECURE instead.
13511 (open_path): Rename preloaded parameter to secure.
13512 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13513 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13514 * elf/dl-deps.c (openaux): Likewise.
13515 * elf/rtld.c (struct map_args): Remove is_preloaded.
13516 (map_doit): Don't use it.
13517 (dl_main): Likewise.
13518 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13519 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13520
bc96fbda
AS
135212010-09-09 Andreas Schwab <schwab@redhat.com>
13522
13523 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13524 (sysd-rules-targets): Remove duplicates.
13525 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13526 rtld-%.$o dependency.
13527
22cd1c9b
AS
135282010-10-18 Andreas Schwab <schwab@redhat.com>
13529
13530 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13531 _dl_map_object do it.
13532
18edac48
UD
135332010-10-19 Ulrich Drepper <drepper@gmail.com>
13534
13535 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13536 fast fma builtins, define the macros in the C99 standard.
13537 (FP_FAST_FMAF): Likewise.
13538 (FP_FAST_FMAL): Likewise.
13539 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13540
13541 * bits/mathdef.h: Update copyright year.
13542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13543
d2050124
MM
135442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13545
13546 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13547 builtins, define the macros in the C99 standard.
13548 (FP_FAST_FMAF): Likewise.
13549 (FP_FAST_FMAL): Likewise.
13550 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13551 multiply/add.
13552 (FP_FAST_FMAF): Likewise.
13553
475facd1
JJ
135542010-10-15 Jakub Jelinek <jakub@redhat.com>
13555
13556 [BZ #3268]
13557 * math/libm-test.inc (fma_test): Some new testcases.
13558 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13560 y and infinite z. Do multiplication by C already in long double.
13561 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13563 y and infinite z. Do bitwise or of inexact bit into u.d.
13564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13565 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13566 * sysdeps/i386/fpu/s_fma.S: Removed.
13567 * sysdeps/i386/fpu/s_fmal.S: Removed.
13568
7c08a05c
JJ
135692010-10-16 Jakub Jelinek <jakub@redhat.com>
13570
13571 [BZ #3268]
13572 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13574 computation is not scheduled after fetestexcept. Fix value
13575 of minimum denormal long double.
13576
f3f7372d
JJ
135772010-10-14 Jakub Jelinek <jakub@redhat.com>
13578
13579 [BZ #3268]
13580 * math/libm-test.inc (fma_test): Add some more tests.
13581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13582 correctly.
13583
14d43591
AS
135842010-10-15 Andreas Schwab <schwab@redhat.com>
13585
13586 * scripts/data/localplt-s390-linux-gnu.data: New file.
13587 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13588
5e908464
JJ
135892010-10-13 Jakub Jelinek <jakub@redhat.com>
13590
13591 [BZ #3268]
13592 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13593 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13594 instead of dbl-64.
13595 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13596 inlines.
13597 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13599 if one of x and y is very large and the other is subnormal.
13600 * sysdeps/s390/fpu/s_fmaf.c: New file.
13601 * sysdeps/s390/fpu/s_fma.c: New file.
13602 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13603 * sysdeps/powerpc/fpu/s_fma.S: New file.
13604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13605 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13606 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13607
136082010-10-12 Jakub Jelinek <jakub@redhat.com>
13609
13610 [BZ #3268]
13611 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13612 fma tests.
13613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13614 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13615 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13616 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13617 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13618 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13620
b833d51f
UD
136212010-10-12 Ulrich Drepper <drepper@redhat.com>
13622
13623 [BZ #12078]
13624 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13625 * posix/bug-regex31.input: Add test case.
13626
1751705d
UD
136272010-10-11 Ulrich Drepper <drepper@gmail.com>
13628
e9b9cbf5
UD
13629 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13630 * posix/bug-regex31.input: New file.
13631
13632 [BZ #12078]
13633 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13634 (parse_sub_exp): Fix last change, use postorder.
13635
ef06edbe
UD
13636 * posix/bug-regex31.c: New file.
13637 * posix/Makefile: Add rules to build and run bug-regex31.
13638
a129c80d
UD
13639 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13640
13641 [BZ #12078]
13642 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13643
b76b818e
UD
13644 [BZ #12108]
13645 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13646 to have entries in sys_siglist.
13647
1751705d
UD
13648 [BZ #12093]
13649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13650 be NULL.
13651
9ff8d36f
JJ
136522010-10-07 Jakub Jelinek <jakub@redhat.com>
13653
13654 [BZ #3268]
13655 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13656 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13657 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13658 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13660 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13661 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13662 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13663 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13664 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13665 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13667 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13668 * math/ftestexcept.c (fetestexcept): Likewise.
13669 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13670 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13671 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13672 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13673 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13676
af325969
UD
136772010-10-11 Ulrich Drepper <drepper@gmail.com>
13678
c579b202 13679 [BZ #12107]
af325969
UD
13680 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13681 newline.
13682
67a67b95
UD
136832010-10-06 Ulrich Drepper <drepper@gmail.com>
13684
13685 * string/bug-strstr1.c: New file.
13686 * string/Makefile: Add rules to build and run bug-strstr1.
13687
5fb308bc
EB
136882010-10-05 Eric Blake <eblake@redhat.com>
13689
13690 [BZ #12092]
13691 * string/str-two-way.h (two_way_long_needle): Always clear memory
13692 when skipping input due to the shift table.
13693
45db99c7
UD
136942010-10-03 Ulrich Drepper <drepper@gmail.com>
13695
3b111893
UD
13696 [BZ #12005]
13697 * malloc/mcheck.c: Handle large requests.
13698
45db99c7
UD
13699 [BZ #12077]
13700 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13701 for strncmp and strncasecmp.
13702 * string/stratcliff.c: Add tests for strcmp and strncmp.
13703 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13704
cf7a1eb8
NI
137052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13706
13707 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13708 __set_fpscr.
13709
6484ba5e
AJ
137102010-09-30 Andreas Jaeger <aj@suse.de>
13711
13712 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13713 (CGROUP_SUPER_MAGIC): Define.
13714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13715 Handle btrfs and cgroup file systems.
13716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13717 Likewise.
13718
91c42559
LM
137192010-09-27 Luis Machado <luisgpm@br.ibm.com>
13720
13721 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13722 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13723
87a97932
AK
137242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13725
13726 [BZ #12067]
13727 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13728 trying to locate the ELF header.
13729
c21cc9bc
AS
137302010-09-27 Andreas Schwab <schwab@redhat.com>
13731
13732 [BZ #11611]
13733 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13734 Mask out sign-bit copies when constructing f_fsid.
13735
315970f6
PB
137362010-09-24 Petr Baudis <pasky@suse.cz>
13737
13738 * debug/stack_chk_fail_local.c: Add missing licence exception.
13739 * debug/warning-nop.c: Likewise.
13740
1ac7a2c7
JM
137412010-09-15 Joseph Myers <joseph@codesourcery.com>
13742
13743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13744 implementing getdents64 using getdents syscall, set d_type if
13745 __ASSUME_GETDENTS32_D_TYPE.
13746
56801c50
AS
137472010-09-16 Andreas Schwab <schwab@redhat.com>
13748
13749 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13750 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13751
dda51327
UD
137522010-09-21 Ulrich Drepper <drepper@redhat.com>
13753
13754 [BZ #12037]
13755 * posix/unistd.h: Undo change of feature selection for ftruncate from
13756 2010-01-11.
13757
8ffcee4a
UD
137582010-09-20 Ulrich Drepper <drepper@redhat.com>
13759
a545ecd9 13760 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13761 detection.
13762
e24f0a8b
AS
137632010-09-20 Andreas Schwab <schwab@redhat.com>
13764
13765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13766 fanotify_mark.
13767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13768
7291c56f
AS
137692010-09-14 Andreas Schwab <schwab@redhat.com>
13770
13771 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13772 variables after CHECK_SP call.
13773 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13774
bc5fb037
AS
137752010-09-13 Andreas Schwab <schwab@redhat.com>
13776 Ulrich Drepper <drepper@redhat.com>
13777
13778 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13779 re-relocationg ld.so.
13780 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13781 _dl_init_paths call.
13782 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13783 here anymore.
13784
e66e7419
UD
137852010-09-14 Ulrich Drepper <drepper@redhat.com>
13786
13787 * resolv/res_init.c (__res_vinit): Count the default server we added.
13788
c044aa75
CLT
137892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13790 Ulrich Drepper <drepper@redhat.com>
13791
13792 [BZ #11968]
13793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13794 (____longjmp_chk): Use %ebx for saving value across system call.
13795 Add unwind info.
13796
32cf4069
AS
137972010-09-06 Andreas Schwab <schwab@redhat.com>
13798
13799 * manual/Makefile: Don't mix pattern rules with normal rules.
13800
817328ee
AS
138012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13802
13803 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13804 operation.
13805 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13806 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13807 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13808 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13810 Likewise.
13811
29fddf61
UD
138122010-09-04 Ulrich Drepper <drepper@redhat.com>
13813
13814 [BZ #11979]
13815 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13816 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13817
0959ffc9
UD
138182010-09-02 Ulrich Drepper <drepper@redhat.com>
13819
13820 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13821 * sysdeps/x86_64/addmul_1.S: Likewise.
13822 * sysdeps/x86_64/lshift.S: Likewise.
13823 * sysdeps/x86_64/mul_1.S: Likewise.
13824 * sysdeps/x86_64/rshift.S: Likewise.
13825 * sysdeps/x86_64/sub_n.S: Likewise.
13826 * sysdeps/x86_64/submul_1.S: Likewise.
13827
ece29840
ST
138282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13829
0959ffc9
UD
13830 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13831 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13832 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13833 * bits/sched.h [__need_schedparam]
ece29840 13834 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13835 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13836 (__defined_schedparam): Define to 1.
ece29840
ST
13837 (__sched_param): New structure, identical to sched_param.
13838 (__need_schedparam): Undefine.
13839
e53a31fe
MF
138402010-08-31 Mike Frysinger <vapier@gentoo.org>
13841
fdc0c10d
MF
13842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13843 (epoll_create1): Declare.
13844
e53a31fe
MF
13845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13846
a726d796
AS
138472010-08-31 Andreas Schwab <schwab@redhat.com>
13848
13849 [BZ #7066]
13850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13851 shifting retval into place.
13852
2f3e3dc7
UD
138532010-09-01 Ulrich Drepper <drepper@redhat.com>
13854
f2933da9
UD
13855 * nis/rpcsvc/nis.h: Update copyright notice.
13856 * nis/rpcsvc/nis.x: Likewise.
13857 * nis/rpcsvc/nis_callback.h: Likewise.
13858 * nis/rpcsvc/nis_callback.x: Likewise.
13859 * nis/rpcsvc/nis_object.x: Likewise.
13860 * nis/rpcsvc/nis_tags.h: Likewise.
13861 * nis/rpcsvc/yp.h: Likewise.
13862 * nis/rpcsvc/yp.x: Likewise.
13863 * nis/rpcsvc/ypupd.h: Likewise.
13864 * nis/yp_xdr.c: Likewise.
13865 * nis/ypupdate_xdr.c: Likewise.
13866
2f3e3dc7
UD
13867 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13868 mainly the body of pmap_getport. Add parameters to specify timeouts.
13869 (pmap_getport): Use __libc_rpc_getport.
13870 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13871 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13872 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13873
f3dcc2f9
AS
138742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13875
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13877 fanotify_mark.
13878
6d34eb5b
RM
138792010-08-27 Roland McGrath <roland@redhat.com>
13880
13881 * sysdeps/i386/i686/multiarch/Makefile
13882 (CFLAGS-varshift.c): New variable.
13883
9ea3de11
UD
138842010-08-27 Ulrich Drepper <drepper@redhat.com>
13885
c96d23fc
UD
13886 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13887 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13888
9ea3de11
UD
13889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13890
13891 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13892
623aac7f
L
138932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * sysdeps/x86_64/strlen.S: Unroll the loop.
13896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13897 strlen-sse2 strlen-sse2-bsf.
13898 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13899 __strlen_no_bsf if bit_Slow_BSF is set.
13900 (__strlen_sse42): Removed.
13901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13902 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13903
8b2b7715
RM
139042010-08-25 Roland McGrath <roland@redhat.com>
13905
13906 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13907 * sysdeps/x86_64/multiarch/varshift.c: New file.
13908 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13909 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13910 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13912
e73015f2
L
139132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13916 strlen-sse2 strlen-sse2-bsf.
13917 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13918 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13919 (__strlen_sse2): Removed.
13920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13923 bit_Slow_BSF for Atom.
13924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13925 (index_Slow_BSF): Define.
13926 (HAS_SLOW_BSF): Define.
13927
df24a73e
UD
139282010-08-25 Ulrich Drepper <drepper@redhat.com>
13929
13930 [BZ #10851]
13931 * resolv/res_init.c (__res_vinit): When no server address at all
13932 is given default to loopback.
13933
f2ac4868
RM
139342010-08-24 Roland McGrath <roland@redhat.com>
13935
09055553
RM
13936 * configure.in: Remove config-name.h generation.
13937 * configure: Regenerated.
13938 * config-name.in: File removed.
13939 * scripts/config-uname.sh: New file.
13940 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13941 ($(objdir)config-name.h): New target.
13942
f2ac4868
RM
13943 * sunrpc/rpc_parse.h: Avoid nested comment.
13944
73f27d5e
RH
139452010-08-24 Richard Henderson <rth@redhat.com>
13946 Ulrich Drepper <drepper@redhat.com>
13947 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13951 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13952 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13953 _mm_alignr_epi8 with _mm_loadu_si128.
13954 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13955 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13956 (__m128i_shift_right): Removed.
13957 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13958 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13959 * sysdeps/x86_64/multiarch/varshift.h: New file.
13960 * sysdeps/x86_64/multiarch/varshift.S: New file.
13961
84b9230c
MF
139622010-08-21 Mike Frysinger <vapier@gentoo.org>
13963
13964 * configure.in: Move assembler checks to before sysdep dir checking.
13965
9bbd0ddc
PB
139662010-08-20 Petr Baudis <pasky@suse.cz>
13967
13968 * LICENSES: Sync the sunrpc license.
13969
9da4bb31
UD
139702010-08-19 Ulrich Drepper <drepper@redhat.com>
13971
a7ab6ec8
UD
13972 * sunrpc/auth_des.c: Update copyright notice once again.
13973 * sunrpc/auth_none.c: Likewise.
13974 * sunrpc/auth_unix.c: Likewise.
13975 * sunrpc/authdes_prot.c: Likewise.
13976 * sunrpc/authuxprot.c: Likewise.
13977 * sunrpc/bindrsvprt.c: Likewise.
13978 * sunrpc/clnt_gen.c: Likewise.
13979 * sunrpc/clnt_perr.c: Likewise.
13980 * sunrpc/clnt_raw.c: Likewise.
13981 * sunrpc/clnt_simp.c: Likewise.
13982 * sunrpc/clnt_tcp.c: Likewise.
13983 * sunrpc/clnt_udp.c: Likewise.
13984 * sunrpc/clnt_unix.c: Likewise.
13985 * sunrpc/des_crypt.c: Likewise.
13986 * sunrpc/des_soft.c: Likewise.
13987 * sunrpc/get_myaddr.c: Likewise.
13988 * sunrpc/getrpcport.c: Likewise.
13989 * sunrpc/key_call.c: Likewise.
13990 * sunrpc/key_prot.c: Likewise.
13991 * sunrpc/openchild.c: Likewise.
13992 * sunrpc/pm_getmaps.c: Likewise.
13993 * sunrpc/pm_getport.c: Likewise.
13994 * sunrpc/pmap_clnt.c: Likewise.
13995 * sunrpc/pmap_prot.c: Likewise.
13996 * sunrpc/pmap_prot2.c: Likewise.
13997 * sunrpc/pmap_rmt.c: Likewise.
13998 * sunrpc/rpc/auth.h: Likewise.
13999 * sunrpc/rpc/auth_unix.h: Likewise.
14000 * sunrpc/rpc/clnt.h: Likewise.
14001 * sunrpc/rpc/des_crypt.h: Likewise.
14002 * sunrpc/rpc/key_prot.h: Likewise.
14003 * sunrpc/rpc/netdb.h: Likewise.
14004 * sunrpc/rpc/pmap_clnt.h: Likewise.
14005 * sunrpc/rpc/pmap_prot.h: Likewise.
14006 * sunrpc/rpc/pmap_rmt.h: Likewise.
14007 * sunrpc/rpc/rpc.h: Likewise.
14008 * sunrpc/rpc/rpc_des.h: Likewise.
14009 * sunrpc/rpc/rpc_msg.h: Likewise.
14010 * sunrpc/rpc/svc.h: Likewise.
14011 * sunrpc/rpc/svc_auth.h: Likewise.
14012 * sunrpc/rpc/types.h: Likewise.
14013 * sunrpc/rpc/xdr.h: Likewise.
14014 * sunrpc/rpc_clntout.c: Likewise.
14015 * sunrpc/rpc_cmsg.c: Likewise.
14016 * sunrpc/rpc_common.c: Likewise.
14017 * sunrpc/rpc_cout.c: Likewise.
14018 * sunrpc/rpc_dtable.c: Likewise.
14019 * sunrpc/rpc_hout.c: Likewise.
14020 * sunrpc/rpc_main.c: Likewise.
14021 * sunrpc/rpc_parse.c: Likewise.
14022 * sunrpc/rpc_parse.h: Likewise.
14023 * sunrpc/rpc_prot.c: Likewise.
14024 * sunrpc/rpc_sample.c: Likewise.
14025 * sunrpc/rpc_scan.c: Likewise.
14026 * sunrpc/rpc_scan.h: Likewise.
14027 * sunrpc/rpc_svcout.c: Likewise.
14028 * sunrpc/rpc_tblout.c: Likewise.
14029 * sunrpc/rpc_util.c: Likewise.
14030 * sunrpc/rpc_util.h: Likewise.
14031 * sunrpc/rpcinfo.c: Likewise.
14032 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14033 * sunrpc/rpcsvc/key_prot.x: Likewise.
14034 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14035 * sunrpc/rpcsvc/mount.x: Likewise.
14036 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14037 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14038 * sunrpc/rpcsvc/rex.x: Likewise.
14039 * sunrpc/rpcsvc/rstat.x: Likewise.
14040 * sunrpc/rpcsvc/rusers.x: Likewise.
14041 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14042 * sunrpc/rpcsvc/spray.x: Likewise.
14043 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14044 * sunrpc/rtime.c: Likewise.
14045 * sunrpc/svc.c: Likewise.
14046 * sunrpc/svc_auth.c: Likewise.
14047 * sunrpc/svc_authux.c: Likewise.
14048 * sunrpc/svc_raw.c: Likewise.
14049 * sunrpc/svc_run.c: Likewise.
14050 * sunrpc/svc_simple.c: Likewise.
14051 * sunrpc/svc_tcp.c: Likewise.
14052 * sunrpc/svc_udp.c: Likewise.
14053 * sunrpc/svc_unix.c: Likewise.
14054 * sunrpc/svcauth_des.c: Likewise.
14055 * sunrpc/xcrypt.c: Likewise.
14056 * sunrpc/xdr.c: Likewise.
14057 * sunrpc/xdr_array.c: Likewise.
14058 * sunrpc/xdr_float.c: Likewise.
14059 * sunrpc/xdr_mem.c: Likewise.
14060 * sunrpc/xdr_rec.c: Likewise.
14061 * sunrpc/xdr_ref.c: Likewise.
14062 * sunrpc/xdr_sizeof.c: Likewise.
14063 * sunrpc/xdr_stdio.c: Likewise.
14064
9da4bb31
UD
14065 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14066 handling.
14067
bdaa77bc
AS
140682010-08-19 Andreas Schwab <schwab@redhat.com>
14069
14070 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14071
fe2f79db
LM
140722010-08-19 Luis Machado <luisgpm@br.ibm.com>
14073
14074 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14077 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14079 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14080 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14081 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14084 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14086 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14087 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14088
b9b42ee0
AB
140892010-07-26 Anton Blanchard <anton@samba.org>
14090
14091 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14092 * malloc/arena.c (heap_trim): Likewise.
14093
1c06ba31
UD
140942010-08-16 Ulrich Drepper <drepper@redhat.com>
14095
14096 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14097 here. Not...
14098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14099 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14100
f8392f40
L
141012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 * sysdeps/i386/elf/Makefile: New file.
14104
3162f12e
AS
141052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14106
14107 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14108 from fanotify_init.
14109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14111
28c90b2c
UD
141122010-08-15 Ulrich Drepper <drepper@redhat.com>
14113
14114 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14115 of strncasecmp_l.
1feccb6c 14116 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14117
ca6bb004
UD
141182010-08-14 Ulrich Drepper <drepper@redhat.com>
14119
e9f82e0d
UD
14120 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14121 strncase_l-nonascii.
14122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14123 Add strncase_l-ssse3.
14124 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14125 * sysdeps/x86_64/strcmp.S: Likewise.
14126 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14127 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14128 * sysdeps/x86_64/strncase.S: New file.
14129 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14130 * sysdeps/x86_64/strncase_l.S: New file.
14131 * string/Makefile (strop-tests): Add strncasecmp.
14132 * string/test-strncasecmp.c: New file.
14133
14134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14135 warning.
14136
ca6bb004
UD
14137 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14138 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14139
052fa7b3
AS
141402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14141
14142 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14143
962dba78
UD
141442010-08-12 Ulrich Drepper <drepper@redhat.com>
14145
14146 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14149
bebff237
AM
141502010-05-01 Alan Modra <amodra@gmail.com>
14151
14152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14153 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14154 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14155 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14156 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14157 tidying. Don't tail-call __sigjmp_save for static lib.
14158 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14159 save location.
14160 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14161 (CALL_MCOUNT): Add eh info, and nop after bl.
14162 (TAIL_CALL_SYSCALL_ERROR): New macro.
14163 (PSEUDO_RET): Use it.
14164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14165 Correct save location of integer regs and cr.
14166 (_dl_profile_resolve): Correct cr save location. Delete nops
14167 after bl when SHARED. Reduce cfi size a little by better
14168 placement of cfi directives.
14169 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14170 make a stack frame. Instead use parm save area as a temp.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14172 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14174 Don't make a stack frame for parent, use parm save area.
14175 Increase child stack frame to 112 bytes. Don't save unused reg,
14176 and adjust reg usage. Set up cfi on error recovery and
14177 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14179 (__makecontext): Add dummy nop after jump to exit.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14181 Use correct parm save area and cr save, reduce stack frame.
14182 Correct cfi for possible PSEUDO_RET frame setup.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14184 Branch to local label emitted by PSEUDO_RET rather than
14185 __syscall_error.
14186
02637374
AS
141872010-08-12 Andreas Schwab <schwab@redhat.com>
14188
14189 [BZ #11904]
14190 * locale/programs/locale.c (print_assignment): New function.
14191 (show_locale_vars): Use it.
14192
c3e2f19b
UD
141932010-08-11 Ulrich Drepper <drepper@redhat.com>
14194
3cdaa6ad
UD
14195 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14196 field.
14197 (struct statfs64): Likewise.
14198 (_STATFS_F_FLAGS): Define.
14199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14201 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14202 (ST_VALID): Define locally.
14203 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14204 __statvfs_getflags, use the provided value.
14205 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14206 __ASSUME_STATFS_F_FLAGS.
14207
754f7da3
UD
14208 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14209
10b3bedc
UD
14210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14211 Add sys/fanotify.h.
14212 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14213 fanotify_mask for GLIBC_2.13.
14214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14215 fanotify_init and fanotify_mark.
14216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14217 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14218
c08fb0d7
UD
14219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14220 Add prlimit.
14221 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14222 prlimit64 for GLIBC_2.13.
14223 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14224 prlimit64.
14225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14226 syscall.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14229 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14232 add prlimit alias.
14233 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14234
15bac72b
UD
14235 [BZ #11903]
14236 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14237 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14238
c3e2f19b
UD
14239 * nss/Makefile: Add rules to build and run tst-nss-test1.
14240 * shlib-versions: Add entry for libnss_test1.
14241 * nss/nss_test1.c: New file.
14242 * nss/tst-nss-test1.c: New file.
14243
14244 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14245 (__nss_configure_lookup): Set appropriate entry in
14246 __nss_configure_lookup to true.
14247 * nss/nsswitch.h: Define enum with indeces of databases in
14248 databases and __nss_database_custom arrays. Declare
14249 __nss_database_custom.
14250 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14251 to avoid using nscd when custom rules are installed.
14252 * nss/getXXbyYY_r.c: Likewise.
14253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14254
14255 * nss/nss_files/files-parse.c: Whitespace fixes.
14256
f15ce4d8
UD
142572010-08-09 Ulrich Drepper <drepper@redhat.com>
14258
14259 [BZ #11883]
14260 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14261 * posix/fnmatch_loop.c: Likewise.
14262
d22e4cc9
AK
142632010-07-17 Andi Kleen <ak@linux.intel.com>
14264
14265 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14266 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14267 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14268 * Versions.def [GLIBC_2.13]: Add.
14269
805bc17d
UD
142702010-08-06 Ulrich Drepper <drepper@redhat.com>
14271
14272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14273 Also fail if tpwd after pwuid call is NULL.
14274
5a42321d
ST
142752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14276
14277 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14278 when converting to ms.
14279
fd3ebeda
ST
142802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14281
14282 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14283 EOPNOTSUPP errors with ENOTTY.
14284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14285 EOPNOTSUPP errors with ENOTTY.
14286
73507d3a
UD
142872010-07-31 Ulrich Drepper <drepper@redhat.com>
14288
14289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14290 Add strcasecmp_l-ssse3.
14291 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14292 strcasecmp.
14293 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14296
fe36dd02
UD
142972010-07-30 Ulrich Drepper <drepper@redhat.com>
14298
66f6765a
UD
14299 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14300
42e08a54
UD
14301 * string/Makefile (strop-tests): Add strcasecmp.
14302 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14303 strcasecmp_l-nonascii.
14304 (gen-as-const-headers): Add locale-defines.sym.
14305 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14306 * sysdeps/x86_64/strcasecmp.S: New file.
14307 * sysdeps/x86_64/strcasecmp_l.S: New file.
14308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14309 * sysdeps/x86_64/locale-defines.sym: New file.
14310 * string/test-strcasecmp.c: New file.
14311
fe36dd02
UD
14312 * string/test-strcasestr.c: Test both ends of the range of characters.
14313 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14314
48cbc0d6
RM
143152010-07-29 Roland McGrath <roland@redhat.com>
14316
76e6d6bc 14317 [BZ #11856]
48cbc0d6
RM
14318 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14319
880113d9
UD
143202010-07-27 Ulrich Drepper <drepper@redhat.com>
14321
14322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14323 for ld.so.
14324
deb9cabb
AS
143252010-07-27 Andreas Schwab <schwab@redhat.com>
14326
14327 * manual/memory.texi (Malloc Tunable Parameters): Document
14328 M_PERTURB.
14329
1c7570ff
RM
143302010-07-26 Roland McGrath <roland@redhat.com>
14331
14332 [BZ #11840]
14333 * configure.in (-fgnu89-inline check): Set and substitute
14334 gnu89_inline, not libc_cv_gnu89_inline.
14335 * configure: Regenerated.
14336 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14337
24fb0f88
UD
143382010-07-26 Ulrich Drepper <drepper@redhat.com>
14339
14340 * string/test-strnlen.c: New file.
14341 * string/Makefile (strop-tests): Add strnlen.
14342 * string/tester.c (test_strnlen): Add a few more test cases.
14343 * string/tst-strlen.c: Better error reporting.
14344
14345 * sysdeps/x86_64/strnlen.S: New file.
14346
8e96b93a
UD
143472010-07-24 Ulrich Drepper <drepper@redhat.com>
14348
14349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14350 lower-latency instructions.
14351
dbc676d4
UD
143522010-07-23 Ulrich Drepper <drepper@redhat.com>
14353
14354 * string/test-strcasestr.c: New file.
14355 * string/test-strstr.c: New file.
14356 * string/Makefile (strop-tests): Add strstr and strcasestr.
14357 * string/str-two-way.h: Don't undefine MAX.
14358 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14359
f6a31e0e
AS
143602010-07-21 Andreas Schwab <schwab@redhat.com>
14361
14362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14363 strcasestr-nonascii.
14364 (CFLAGS-strcasestr-nonascii.c): Define.
14365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14367 Remove unused attribute.
14368
5dbc3b6c
RM
143692010-07-20 Roland McGrath <roland@redhat.com>
14370
14371 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14372 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14373 ld.so.cache was broken. With it, there is no way to disable dsocaps
14374 like LD_HWCAP_MASK can disable hwcaps.
14375
23d101d8
EPM
143762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14377
14378 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14379
cc9f2e47
UD
143802010-07-16 Ulrich Drepper <drepper@redhat.com>
14381
14382 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14383 call in strcasestr.
14384 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14385 __strcasestr_sse42_nonascii.
14386 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14387 strcasestr-nonascii.c.
14388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14389
77c1b069
LM
143902010-06-15 Luis Machado <luisgpm@br.ibm.com>
14391
14392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14393 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14396
440566c3
UD
143972010-07-09 Ulrich Drepper <drepper@redhat.com>
14398
14399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14400 fcntl.
14401
5be9d05d
AS
144022010-07-06 Andreas Schwab <schwab@redhat.com>
14403
c30b7ee2 14404 [BZ #11577]
5be9d05d
AS
14405 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14406 dl_signal_cerror.
14407
8a492a67
UD
144082010-07-06 Ulrich Drepper <drepper@redhat.com>
14409
14410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14411 _PC_PIPE_BUF using F_GETPIPE_SZ.
14412
713df3d5
RM
144132010-07-05 Roland McGrath <roland@redhat.com>
14414
14415 * manual/arith.texi (Rounding Functions): Fix rint description
14416 implicit in round description.
14417
702e8f14
UD
144182010-07-02 Ulrich Drepper <drepper@redhat.com>
14419
14420 * elf/Makefile: Fix linking for a few tests to make recent linker
14421 happy.
14422
52ed8be9
AS
144232010-06-30 Andreas Schwab <schwab@redhat.com>
14424
14425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14426 $(common-objpfx)libc_nonshared.a.
14427
f47c9a11
LM
144282010-06-21 Luis Machado <luisgpm@br.ibm.com>
14429
14430 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14431 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14432 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14433 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14434 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14435 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14436 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14452 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14453 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14454 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14455 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14456 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14457 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14458 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14459 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14460 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14461 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14462 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14463 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14478
6fb8cbcb
L
144792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14480
14481 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14482 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14483 * string/memmove.c (memmove): Renamed to ...
14484 (MEMMOVE): ...this. Default to memmove.
14485 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14486 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14487 (END_CHK): Define.
14488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14489 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14490 mempcpy-ssse3-back memmove-ssse3-back.
14491 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14494 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14495 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14496 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14497 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14498 * sysdeps/x86_64/multiarch/memmove.c: New file.
14499 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14500 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14501 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14502 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14505 Define.
14506 (index_Fast_Copy_Backward): Define.
14507 (HAS_ARCH_FEATURE): Define.
14508 (HAS_FAST_REP_STRING): Define.
14509 (HAS_FAST_COPY_BACKWARD): Define.
14510
4e733bac 145112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14512
14513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14514 Restore proper fallback handling.
14515
63c4ed22
UD
145162010-06-19 Ulrich Drepper <drepper@redhat.com>
14517
ac2b484c
UD
14518 [BZ #11701]
14519 * posix/group_member.c (__group_member): Correct checking loop.
14520
63c4ed22
UD
14521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14522 OOM in getpwuid_r correctly. Return error number when the caller
14523 should return, otherwise -1.
14524 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14525 call returning > 0 value.
14526 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14527
765ade4b
AS
145282010-06-07 Andreas Schwab <schwab@redhat.com>
14529
14530 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14531 libc_nonshared.a from targets in modules-names.
14532
80da2e09
KS
145332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14534
14535 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14536 requires it.
14537
158db122
LM
145382010-06-10 Luis Machado <luisgpm@br.ibm.com>
14539
14540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14544
caa78cf8
AS
145452010-06-02 Andreas Schwab <schwab@redhat.com>
14546
14547 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14548
b2ef2c01
UD
145492010-06-14 Ulrich Drepper <drepper@redhat.com>
14550
14551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14552 and F_GETPIPE_SZ.
14553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14559
fbd643b6
RM
145602010-06-14 Roland McGrath <roland@redhat.com>
14561
14562 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14563
f32f2869
JJ
145642010-06-07 Jakub Jelinek <jakub@redhat.com>
14565
14566 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14567 __REDIRECT followed by __THROW.
14568 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14569 * posix/getopt.h (getopt): Likewise.
14570
2a50c078
EPM
145712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14572
14573 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14574 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14575 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14576 in AT_FLAGS.
14577 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14578 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14579
eb5ad2eb
LM
145802010-05-28 Luis Machado <luisgpm@br.ibm.com>
14581
14582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14583
3c88fe1e
L
145842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14585
14586 [BZ #11640]
14587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14588 Properly check family and model.
14589
d2f73151
TY
145902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14591
14592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14593
ebd2e13d
LM
145942010-05-24 Luis Machado <luisgpm@br.ibm.com>
14595
14596 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14597
b32b8b45
UD
145982010-05-21 Ulrich Drepper <drepper@redhat.com>
14599
14600 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14601 symbol reference.
14602
9acbe24d
AS
146032010-05-19 Andreas Schwab <schwab@redhat.com>
14604
14605 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14606 symbol reference.
14607
f0ccf6ea
AS
146082010-05-21 Andreas Schwab <schwab@redhat.com>
14609
3d04ff3a
AS
14610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14611 and internal_recvmmsg.
14612 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14613 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14615 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14616
f0ccf6ea
AS
14617 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14618 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14619 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14620
5b08ac57
AS
146212010-05-20 Andreas Schwab <schwab@redhat.com>
14622
14623 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14624
4828935d
LM
146252010-05-17 Luis Machado <luisgpm@br.ibm.com>
14626
14627 POWER7 optimizations.
14628 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14629 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14630
373d545e
UD
146312010-05-19 Ulrich Drepper <drepper@redhat.com>
14632
14633 * version.h: Update for 2.13 development version.
14634
21a2b1ae
AS
146352010-05-12 Andrew Stubbs <ams@codesourcery.com>
14636
14637 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14638 exceptions. Return 0.
14639
3f7dcb2b
RM
146402010-05-07 Roland McGrath <roland@redhat.com>
14641
14642 * elf/ldconfig.c (main): Add a const.
14643
5f24d53a 146442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14645
a160f8d8
UD
14646 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14647 (args_options): Add no-idn option.
14648 (ahosts_keys_int): Add idn_flags to ai_flags.
14649 (parse_option): Handle 'i' option to clear idn_flags.
14650
5f24d53a
UD
14651 * malloc/malloc.c (_int_free): Possible race in the most recently
14652 added check. Only act on the data if no current modification
14653 happened.
265bb1ce
UD
14654
14655See ChangeLog.17 for earlier changes.
This page took 1.894577 seconds and 5 git commands to generate.