]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fold copyright years
[thirdparty/glibc.git] / ChangeLog
CommitLineData
48970aba
L
12012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * bits/types.h: Fold copyright years.
4 * bits/typesizes.h: Likewise.
5 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9 * time/time.h: Likewise.
10
bedee953
PP
112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12
13 [BZ #208]
14 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15 in instead of returning them. Return void.
16 (__libc_mallinfo): Accumulate over all arenas.
17 (__malloc_stats): Adjust for change in int_mallinfo interface.
18
61653dfb
RM
192012-05-16 Roland McGrath <roland@hack.frob.com>
20
30b99d79
RM
21 [BZ #10375]
22 * configure.in (NM): Add AC_CHECK_TOOL for it.
23 (libc_extra_cflags): New substituted variable.
24 Check for -fstack-protector being used implicitly.
25 * configure: Regenerated.
26 * config.make.in (config-extra-cflags): New variable,
27 gets @libc_extra_cflags@.
28 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29
61653dfb
RM
30 [BZ #10375]
31 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33 * configure: Regenerated.
34 * config.make.in (CPPUNDEFS): New substituted variable.
35 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38
661768bb
L
392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40
41 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42 (mq_attr): Use __syscall_slong_t.
43
d4261567
L
442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45
46 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47 Check __x86_64__ instead of __WORDSIZE.
48 (_STAT_VER_LINUX): Likewise.
49 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50 __syscall_ulong_t and __syscall_slong_t.
51 (stat64): Likewise.
52
cf3ff365
L
532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56
76cf3e4d
L
572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58
59 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60
a637753a
L
612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64 __syscall_ulong_t.
65
d5e05119
L
66 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67 include <bits/wordsize.h>. Check __x86_64__ instead of
68 __WORDSIZE.
69 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70 defined.
71 (mcontext_t): Replace "unsigned long" with "unsigned long long".
72
f62ee380
L
73 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74 include <bits/wordsize.h>. Check __x86_64__ instead of
75 __WORDSIZE.
76 (user_regs_struct): Use "__extension__ unsigned long long"
77 instead of "unsigned long" if __x86_64__ is defined.
78 (user): Likewise. Pad after pointer field if __ILP32__ is
79 defined.
80
4e124ced
JM
812012-05-16 Joseph Myers <joseph@codesourcery.com>
82
6a3951a0
JM
83 * configure.in (makeinfo): Require version 4.5 or later. Allow
84 versions 5 to 9.
85 * configure: Regenerated.
86 * manual/install.texi (texinfo): Increase version requirement to
87 4.5 or later.
88 * INSTALL: Regenerated.
89
4e124ced
JM
90 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
91
953ca31a
L
922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
95
617aca05
L
96 * sysdeps/x86_64/x32/ffs.c: New file.
97
5762f7ae
L
98 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
99 __syscall_ulong_t.
100 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
101 defined. Use __syscall_ulong_t.
102 (shminfo): Use __syscall_ulong_t.
103 (shm_info): Likewise.
104
a26b6856
L
105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
106 __syscall_ulong_t.
107
cb2b9ef7
L
108 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
109 <bits/wordsize.h>.
110 (msgqnum_t): Use __syscall_ulong_t.
111 (msglen_t): Likewise.
112 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
113 __syscall_ulong_t.
114
34683bb0
L
115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
116 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
117
84a68786
L
118 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
119
48baa5f1
L
120 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
121 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
122
180be88b
L
123 * sysvipc/sys/msg.h (msgbuf): Replace long int with
124 __syscall_slong_t.
125
5e90c8ad
L
126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
127 include <bits/wordsize.h>. Check __x86_64__ instead of
128 __WORDSIZE.
129
23dfb58b
L
130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
131 "unsigned long long int" if __x86_64__ is defined.
132 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
133
ce5d54b0
L
134 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
135 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
136 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
137
13dc9eac
L
138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
139 <stdint.h>.
140 (GET_PC): Cast to uintptr_t first.
141 (GET_FRAME): Likewise.
142 (GET_STACK): Likewise.
143
a7895d15
L
144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
150 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
151 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
155 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
157 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
159 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
161 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
163 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
165 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
167 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
169 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
170 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
171 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
173
656416c9
AS
1742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
175
5bd66283
AS
176 * Makerules (+depfiles): Also collect depfiles from .oS in
177 $(extra-objs).
178 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
179 .oS, $(libnldbl-routines)).
180
656416c9
AS
181 * Makerules (native-compile-mkdep-flags): Define.
182 * sunrpc/Makefile (extra-objs): Add $(addprefix
183 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
184 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
185 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
186 calling $(make-target-directory).
187
a46f2169
L
1882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
189
190 * bits/types.h (__snseconds_t): Removed.
191 * time/time.h (struct timespec): Replace __snseconds_t with
192 __syscall_slong_t.
193 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
194 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
195 Likewise.
196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
197 (__SNSECONDS_T_TYPE): Likewise.
198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
199 (__SNSECONDS_T_TYPE): Likewise.
200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
201 (__SNSECONDS_T_TYPE): Likewise.
202
6af6528b
L
2032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
204
205 * sysdeps/mach/hurd/bits/typesizes.h
206 (__SYSCALL_SLONG_TYPE): New macro.
207 (__SYSCALL_ULONG_TYPE): Likewise.
208
de986b56
L
2092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
210
211 * bits/types.h (__syscall_slong_t): New type.
212 (__syscall_ulong_t): Likewise.
213
214 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
215 (__SYSCALL_ULONG_TYPE): Likewise.
216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
217 (__SYSCALL_SLONG_TYPE): Likewise.
218 (__SYSCALL_ULONG_TYPE): Likewise.
219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
220 (__SYSCALL_SLONG_TYPE): Likewise.
221 (__SYSCALL_ULONG_TYPE): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
223 (__SYSCALL_SLONG_TYPE): Likewise.
224 (__SYSCALL_ULONG_TYPE): Likewise.
225
85736dc7
L
2262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
227
228 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
229 Add sigaltstack-offsets.sym.
230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
231 <sigaltstack-offsets.h>.
232 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
233 longjmp_msg pointer.
234 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
235 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
236 signal stack.
237 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
238
cc03b296
JM
2392012-05-15 Joseph Myers <joseph@codesourcery.com>
240
a9538892
JM
241 * elf/stackguard-macros.h: Remove file.
242 * sysdeps/generic/stackguard-macros.h: New file.
243 * sysdeps/i386/stackguard-macros.h: Likewise.
244 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
245 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
246 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
247 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
248 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
249 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
250 * sysdeps/x86_64/stackguard-macros.h: Likewise.
251 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
252 <elf/stackguard-macros.h>.
253
cc03b296
JM
254 [BZ #14109]
255 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
256 __aligned__ in attribute.
257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
258 (gregset_t): Likewise.
259
93171016
L
2602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
261
262 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
263 * sysdeps/x86_64/64/Implies-after: Here. New file.
264 * sysdeps/x86_64/x32/Implies-after: New file.
265
d86813a0
L
2662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
267
268 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
269 and access return value for _dl_profile_fixup. Use R10_LP to
270 load frame size.
271
2953ec75
L
2722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
273
274 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
275
3b550e9e
L
2762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
277
278 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
279 * sysdeps/x86_64/x32/sysdep.h: New file.
280
eda41706
L
2812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
282
283 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
284 * sysdeps/x86_64/setjmp.S: Likewise.
285
9ea01d93
AZ
2862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287
288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
290 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
292 remove unused global constant.
293
02a91938
CM
2942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
295
296 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
297 include of <not-cancel.h>.
298
6540185f
RM
2992012-05-15 Roland McGrath <roland@hack.frob.com>
300
301 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
302
509072a0
AJ
3032012-05-15 Jeff Law <law@redhat.com>
304 Andreas Jaeger <aj@suse.de>
305
306 [BZ #13594]
307 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
308 out from...
309 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
310 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
312 code changing __hst_map_handle.map.
313
ba75122d
RM
3142012-05-15 Roland McGrath <roland@hack.frob.com>
315
316 * configure.in (sysnames): Look for Implies-before and Implies-after
317 files.
318 * configure: Regenerated.
319
890d8bd8
L
3202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
321
322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
323 8-byte data alignment with LP_SIZE alignment.
324
f6ee6623
L
3252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
328 into R10_LP.
329
ea2626f6
L
3302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
331
332 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
333
085f715e
L
3342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
337 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
339 Likewise.
340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
341
be8498fc
L
3422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
343
344 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
345 (stackinfo_sub_sp): Likewise.
346
70bc83b9
L
3472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
348
349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
350 RAX_LP.
351
9bc0b730
L
3522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
353
354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
355 into R*_LP.
356
6d2850e7
L
3572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
358
359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
360 sizes into R*_LP.
361
3cb84561
L
3622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
363
364 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
365
54e2ed81
L
3662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
369 into R11_LP and load __x86_64_shared_cache_size_half into
370 R8_LP.
371
8a17f349
L
3722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
373
374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
375 R8_LP.
376
777b1eea
AZ
3772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
380 logb for POWER7.
381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
382 logbf for POWER7.
383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
384 logbl for POWER7.
385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
386 powerpc32/power7/fpu/s_logb.c via #include.
387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
388 powerpc32/power7/fpu/s_logbf.c via #include.
389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
390 powerpc32/power7/fpu/s_logbl.c via #include.
391
d20d4ac2
JM
3922012-05-15 Joseph Myers <joseph@codesourcery.com>
393
394 * README.libm: Remove file.
395
6cdef1ab
L
3962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
397
398 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
399 count for x32. Use R*_LP and omit operand-size suffix.
400
0b254d8f
L
4012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
402
403 * shlib-versions: Move x86_64-.*-linux.* entries to ...
404 * sysdeps/x86_64/64/shlib-versions: Here. New file.
405 * sysdeps/x86_64/x32/shlib-versions: New file.
406
ceb809dc
RM
4072012-05-14 Roland McGrath <roland@hack.frob.com>
408
409 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
410 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
411 Use _dl_fatal_printf instead.
412
37f1abd4
JM
4132012-05-14 Joseph Myers <joseph@codesourcery.com>
414
415 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
416 set if not set by the user. Do not allow for being unset.
417 * sysdeps/unix/sysv/linux/configure: Regenerated.
418
11de3a33
L
4192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
420
421 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
422 the `q' suffix from lea and replace .quad with ASM_ADDR.
423
e02f153a
L
4242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
425
426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
427 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
428 instead of $17.
429 (PTR_DEMANGLE): Likewise.
430
520ae0fd
L
4312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
432
433 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
434 (LP_OP): Likewise.
435 (ASM_ADDR): Likewise.
436 (RAX_LP): Likewise.
437 (RBP_LP): Likewise.
438 (RBX_LP): Likewise.
439 (RCX_LP): Likewise.
440 (RDI_LP): Likewise.
441 (RSI_LP): Likewise.
442 (RSP_LP): Likewise.
443 (R8_LP): Likewise.
444 (R9_LP): Likewise.
445 (R10_LP): Likewise.
446 (R10_LP): Likewise.
447 (R11_LP): Likewise.
448 (R12_LP): Likewise.
449 (R13_LP): Likewise.
450 (R14_LP): Likewise.
451 (R15_LP): Likewise.
452
b985be81
L
4532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
454
455 * sysdeps/x86_64/x32/dl-machine.h: New file.
456
6a4888ff
AJ
4572012-05-14 Andreas Jaeger <aj@suse.de>
458
459 * manual/Makefile (subdir): Remove export of subdir.
460 (all): Remove target.
461 (.PHONY): Remove all from list.
462 (mkinstalldirs): Remove.
463 (.PHONY): Remove installdirs from list.
464 ($(inst_infodir)/libc.info): Use make-target-directory.
465 (installdirs): Remove.
466 (subdir_%): Remove.
467 (glibc-targets): Remove.
468 (lib): Remove.
469 (stubs): Remove.
470 ($(objpfx)stubs ../po/manual.pot): Remove.
471 ($(objpfx)stamp%): Remove.
472 (make-target-directory): Remove.
473 (subdir_install): Remove.
474 (routines): Remove.
475 (aux): Remove.
476 (sources): Remove.
477 (objects): Remove.
478 (headers): Remove.
479
480 [BZ #13750]
481 * manual/.gitignore: Remove, it's not needed anymore.
482 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
483 all files in it.
484 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
485 directory.
486 (texis): Renamed to $(objpfx)texis.
487 (texis-path): New, contains path to generated files.
488 (chapters.%): Use texis-path for complete path, add extra argument
489 libc-texinfo.sh.
490 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
491 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
492 (summary,texi, stamp-summary): Use complete path of
493 files. Generate files in build dir.
494 (dir-add.texi): Build in build dir.
495 (libm-err.texi,stamp-libm-err): Likewise.
496 (version.texi, stamp-version): Likewise.
497 (.%c.texi): Likewise.
498 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
499 (mostlyclean): Remove target.
500 (realclean): Remove target.
501 (generated): Add new variable with contents from mostlyclean and
502 realclean, remove entries duplicated in common-mostlyclean, add
503 stamp-libm-err and stamp-version.
504 (generated-dirs): Add libc directory.
505 ($(inst_infodir)/libc.info): Install files from build dir.
506
507 * manual/install.texi (Configuring and compiling): Adjust since
508 the info files are not part of the tar ball anymore.
509
7ac77294
AJ
5102012-05-14 Andreas Jaeger <aj@suse.de>
511
512 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
513 variable.
514
ffb7875d
JM
5152012-05-14 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #13717]
518 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
519 to 2.2.0 where earlier.
520 * sysdeps/unix/sysv/linux/configure: Regenerated.
521 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
522 Remove conditional code.
523 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
524 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
525 Remove conditional code.
526 [!__NR_lchown]: Likewise.
527 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
528 [__NR_lchown]: Likewise.
529 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
530 comment referencing __ASSUME_LCHOWN_SYSCALL.
531 * sysdeps/unix/sysv/linux/i386/sigaction.c
532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
534 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
535 Remove conditional code.
536 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
537 (__protocol_available): Remove #if 0 code.
538 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
539 conditional code.
540 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
541 * sysdeps/unix/sysv/linux/kernel-features.h
542 (__ASSUME_GETCWD_SYSCALL): Don't define.
543 (__ASSUME_REALTIME_SIGNALS): Likewise.
544 (__ASSUME_PREAD_SYSCALL): Likewise.
545 (__ASSUME_PWRITE_SYSCALL): Likewise.
546 (__ASSUME_POLL_SYSCALL): Likewise.
547 (__ASSUME_LCHOWN_SYSCALL): Likewise.
548 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
549 non-SPARC.
550 (__ASSUME_SIOCGIFNAME): Don't define.
551 (__ASSUME_MSG_NOSIGNAL): Likewise.
552 (__ASSUME_SENDFILE): Define unconditionally.
553 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
554 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
555 conditional code.
556 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
557 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
559 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
561 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
562 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
587 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
588 Remove conditional code.
589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
590 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
591 Remove conditional code.
592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
593 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
594 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
595 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
596 Remove conditional code.
597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
598 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
599 Remove conditional code.
600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
601 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
602 Remove conditional code.
603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
604 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
605 Remove conditional code.
606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
607 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
608 Remove conditional code.
609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
610 * sysdeps/unix/sysv/linux/sh/pwrite64.c
611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
613 * sysdeps/unix/sysv/linux/sigaction.c
614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
616 * sysdeps/unix/sysv/linux/sigpending.c
617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
619 * sysdeps/unix/sysv/linux/sigprocmask.c
620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
622 * sysdeps/unix/sysv/linux/sigsuspend.c
623 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
624 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
626 (__libc_missing_rt_sigs): Remove.
627 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
628 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
629 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
630 Remove conditional code.
631 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
632 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
633 return 1.
634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
635 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
638
1bfb7291
AJ
6392012-05-14 Andreas Jaeger <aj@suse.de>
640
caae5a81
AJ
641 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
642 it's not used in glibc.
643 (__coshm1): Likewise.
644 (__acosh1p): Likewise.
645 (__sgn): Likewise.
646
1bfb7291
AJ
647 * manual/string.texi (Copying and Concatenation): Add missing
648 variable in concat example.
649 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
650
c044d724
L
6512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
652
144c5467 653 [BZ #14103]
c044d724
L
654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
655 __builtin_clzl with __builtin_clzll.
656
2523c62b
L
6572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
658
659 [BZ #14104]
660 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
661 libc_freeres_ptr.
662
d7bb4c42
LD
6632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
664
665 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
666 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
667 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
669
9dc4e1fb
MF
6702012-05-14 Mike Frysinger <vapier@gentoo.org>
671
672 * NEWS: Update ia64 info.
673
c7df0112
AS
6742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
675
676 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
677 used as bcopy.
678
dc70356c
TS
6792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
680
681 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
682 * sysdeps/unix/syscalls.list (dup3): Likewise.
683 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
684 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
685
9fb1a21f
L
6862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
687
688 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
689 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
690
4822a2a5
L
6912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
692
693 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
694 thread pointer.
695 (TLS_IE): Use mov/add instead of movq/addq to load thread
696 pointer.
697 (TLS_GD_PREFIX): New.
698 (TLS_GD): Use it.
699
842b81d6
DM
7002012-05-11 David S. Miller <davem@davemloft.net>
701
702 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
703 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
704 (_FPU_SETCW): Likewise.
705
1cf463cd
L
7062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
707
708 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
709 is 32-byte aligned.
710
60cc4a18
AS
7112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
712
713 [BZ #11837]
714 * iconvdata/gb18030.c: Update tables.
715 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
716 characters specially.
717 (BODY for TO_LOOP): Add encoding of missing ranges.
718
febb44a4
TS
7192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
720
721 [BZ #13673]
722 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
723 * sysdeps/mach/hurd/dup3.c: Likewise.
724 * sysdeps/mach/hurd/readlinkat.c: Likewise.
725 * sysdeps/powerpc/memmove.c:: Likewise.
726
0a10fb9e
L
7272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
728
729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
730 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
731
df8a552f
L
7322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
733
734 * elf/elf.h (R_X86_64_RELATIVE64): New.
735 (R_X86_64_NUM): Updated.
736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
737 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
738 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
739 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
740 tst-quad1pie tst-quad2pie
741 (modules-names): Add tst-quadmod1 tst-quadmod2.
742 ($(objpfx)tst-quad1): New dependency.
743 ($(objpfx)tst-quad2): Likewise.
744 ($(objpfx)tst-quad1pie): Likewise.
745 ($(objpfx)tst-quad2pie): Likewise.
746 * sysdeps/x86_64/tst-quad1.c: New file.
747 * sysdeps/x86_64/tst-quad1pie.c: New file.
748 * sysdeps/x86_64/tst-quad2.c: Likewise.
749 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
750 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
751 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
752 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
753 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
754
f34d6f84
ST
7552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
756
f42d41d1
ST
757 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
758 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
759 * streams/stropts.h (t_scalar_t): Define type.
760
3c3571fc
ST
761 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
762 (_PATH_PRESERVE): Set to "/var/lib".
763 (_PATH_RWHODIR): Set to "/var/spool/rwho".
764
61f06bd3
ST
765 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
766 instead of int.
767
918d4d71
ST
768 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
769 if __dir_mkfile succeeded.
770
f34d6f84
ST
771 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
772 checking for _hurd_dtablesize. Unlock it right after having
773 finished _hurd_dtable allocation.
774
10589b4a
TS
7752012-05-10 Thomas Schwinge <thomas@schwinge.name>
776
674cdbc7
TS
777 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
778 * sysdeps/mach/hurd/configure: Regenerated.
779 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
780 special-casing to...
781 * sysdeps/gnu/configure.in: ... this new file.
782 * sysdeps/unix/sysv/linux/configure: Regenerated.
783 * sysdeps/gnu/configure: New generated file.
784
8e41b99f
TS
785 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
786 for Linux: use nsec instead of usec, as well as:
787 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
788 members of type struct timespec.
789 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
790 New macros.
791 (struct stat64): Likewise.
792 (_STATBUF_ST_NSEC): New macro.
793 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
794
10589b4a
TS
795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
796 __strtoul_internal rather than strtoul.
797
63643c85
PT
7982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
799
800 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
801 and reject them.
802
3faebe6a
ST
8032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
804
805 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
806 which preserves existing values.
807 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
808
c6474b07
PT
8092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
810
811 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
812 TIMEOUT values. Return EINVAL for NFDS values either negative or
813 greater than FD_SETSIZE.
814
1043890b
ST
8152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
816
817 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
818 allocated, call __vm_protect to finish enabling the existing space, and
819 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
820 allocate the remainder.
821
37ed8b9b
PT
8222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
823
824 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
825 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
826
db653660
ST
8272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
828
37ed8b9b
PT
829 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
830 sysdeps/mach/hurd/readlink.c.
b29d4053 831
db653660
ST
832 * posix/tst-sysconf.c (posix_options): Only use
833 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
834 _POSIX_SYNCHRONIZED_IO when they are defined
835 * sysdeps/mach/hurd/bits/posix_opt.h:
836 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
837 (_XOPEN_REALTIME): Undefine macro.
838 (_XOPEN_REALTIME_THREADS): Undefine macro.
839 (_XOPEN_SHM): Undefine macro.
840 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
841 macro to -1.
842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
843 macro to -1.
844 (_POSIX_ASYNC_IO): Undefine macro.
845 (_POSIX_PRIORITIZED_IO): Undefine macro.
846 (_POSIX_SPIN_LOCKS): Define macro to -1.
847
ee16e894
ST
848 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
849 SA_NODEFER, SA_RESETHAND.
850 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
851 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
852 F_DUPFD_CLOEXEC.
853
6103ae3b
TS
8542012-05-10 Thomas Schwinge <thomas@schwinge.name>
855
856 * elf/Makefile (pldd-modules): Define unconditionally.
857
80b4e5f3
TS
8582012-05-10 Thomas Schwinge <thomas@schwinge.name>
859
860 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
861
edadcbd6
ST
8622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
863
864 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
865 Return ENOENT when name is empty.
866 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
867
80694780
TS
8682012-05-10 Thomas Schwinge <thomas@schwinge.name>
869
1792c087
TS
870 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
871
80694780
TS
872 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
873
6b645f0d
ST
8742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
875
80694780
TS
876 Fix mlock in all cases except non-readable pages.
877 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
878 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 879
6b645f0d
ST
880 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
881 (__mkdir): When path is `/', just fail with EEXIST.
882 * sysdeps/mach/hurd/mkdirat.c: Likewise.
883
e468f8a3
TS
8842012-05-10 Thomas Schwinge <thomas@schwinge.name>
885
886 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
887 <sys/uio.h> (for writev).
888 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
889 and <sys/param.h> (for MIN).
890
a4186cff
PT
8912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
892
893 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
894 REQUESTED_TIME. Properly set the remaining time and return EINTR
895 if interrupted.
896
510bbf14
TS
8972012-05-10 Thomas Schwinge <thomas@schwinge.name>
898
899 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
900 Depend on against $(link-rpcuserlibs).
901
5d5722e8
ST
9022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
903
a4186cff
PT
904 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
905 (__libc_stack_end): Do not use attribute_relro.
906 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
907 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 908 to libthread-provided value.
a4186cff
PT
909 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
910 attribute_relro.
5d5722e8 911
37233df9
TS
9122012-05-10 Thomas Schwinge <thomas@schwinge.name>
913
be971a2b
TS
914 [BZ #3748]
915 * bits/libc-lock.h (__libc_once_get): New macro.
916 * sysdeps/mach/bits/libc-lock.h: Likewise.
917 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
919 instead of using implementation details.
920
37233df9
TS
921 * libio/fileops.c: Unconditionally include <kernel-features.h>.
922 * libio/freopen.c: Likewise.
923 * libio/freopen64.c: Likewise.
924 * misc/syslog.c: Likewise.
925 * nscd/connections.c: Likewise.
926 * nscd/netgroupcache.c: Likewise.
927 * sysdeps/posix/getcwd.c: Likewise.
928
38de94a5
RM
9292012-05-10 Roland McGrath <roland@hack.frob.com>
930
931 * math/w_ilogbf.c: Add #include <limits.h>.
932
67530489
ST
9332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
934
a4186cff 935 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
936 path instead of returning without unlocking.
937
67530489
ST
938 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
939 immediate-write ioctls.
940 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
941
5aa3a74a
TS
9422012-05-10 Thomas Schwinge <thomas@schwinge.name>
943
18bad2ae
TS
944 * sysdeps/mach/hurd/i386/init-first.c (init): Use
945 __builtin_frame_address instead of making assumptions about the
946 location of the return address relative to DATA. Force early load of
947 the return address.
948 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
949 __builtin_frame_address.
950
5aa3a74a
TS
951 dup3 for GNU Hurd.
952 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
953 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
954 implement dup3 and do some further code clean-ups.
955 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
957
ecd0de9a
ST
9582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
959
cd9fa985
ST
960 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
961
a4186cff
PT
962 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
963 HURD_CRITICAL_END around holding _hurd_dtable_lock.
964 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
965 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
966 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
967 d->port.lock.
802ca5a5 968
a4186cff
PT
969 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
970 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
971 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 972
bcf55240
TS
9732012-05-10 Thomas Schwinge <thomas@schwinge.name>
974
6960eb42
TS
975 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
976 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
977 definitions.
978
eb43375f
TS
979 accept4 for GNU Hurd.
980 * include/sys/socket.h (__libc_accept4): New prototype.
981 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
982 to implement __libc_accept4.
983 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
984 __libc_accept4.
985 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
986
bcf55240
TS
987 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
988 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
989 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
990 signal-defines.sym.
991
6178c55b
ST
9922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
993
a4186cff 994 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 995
6f080c2f
TS
9962012-05-10 Thomas Schwinge <thomas@schwinge.name>
997
998 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
999 assertion on O_CLOEXEC flag.
1000 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1001 * hurd/intern-fd.c: Likewise.
1002 * hurd/port2fd.c: Likewise.
1003
bcfe3a54
ST
10042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1005
1006 [BZ #3906]
1007 * bits/in.h (IPV6_PKTINFO): Define new macro.
1008 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1009
89c9aa49
AZ
10102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011
1012 [BZ #13954]
1013 [BZ #13955]
1014 [BZ #13956]
1015 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1017 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1018 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1021 * math/libm-test.inc (logb_test) : Additional logb tests.
1022
021db4be
AJ
10232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1024 Andreas Jaeger <aj@suse.de>
1025
1026 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1027 * configure: Regenerated.
1028 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1029 * config.make.in (link-obsolete-rpc): New substituted variable.
1030 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1031 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1032 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1033 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1034 so that libc.a contains the symbols.
1035 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1036 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1037 * sunrpc/auth_none.c: Likewise.
1038 * sunrpc/auth_unix.c: Likewise.
1039 * sunrpc/authdes_prot.c: Likewise.
1040 * sunrpc/authuxprot.c: Likewise.
1041 * sunrpc/clnt_gen.c: Likewise.
1042 * sunrpc/clnt_perr.c: Likewise.
1043 * sunrpc/clnt_raw.c: Likewise.
1044 * sunrpc/clnt_simp.c: Likewise.
1045 * sunrpc/clnt_tcp.c: Likewise.
1046 * sunrpc/clnt_udp.c: Likewise.
1047 * sunrpc/clnt_unix.c: Likewise.
1048 * sunrpc/des_crypt.c: Likewise.
1049 * sunrpc/des_soft.c: Likewise.
1050 * sunrpc/get_myaddr.c: Likewise.
1051 * sunrpc/key_call.c: Likewise.
1052 * sunrpc/key_prot.c: Likewise.
1053 * sunrpc/netname.c: Likewise.
1054 * sunrpc/pm_getmaps.c: Likewise.
1055 * sunrpc/pm_getport.c: Likewise.
1056 * sunrpc/pmap_clnt.c: Likewise.
1057 * sunrpc/pmap_prot.c: Likewise.
1058 * sunrpc/pmap_prot2.c: Likewise.
1059 * sunrpc/pmap_rmt.c: Likewise.
1060 * sunrpc/publickey.c: Likewise.
1061 * sunrpc/rpc_cmsg.c: Likewise.
1062 * sunrpc/rpc_common.c: Likewise.
1063 * sunrpc/rpc_dtable.c: Likewise.
1064 * sunrpc/rpc_prot.c: Likewise.
1065 * sunrpc/rpc_thread.c: Likewise.
1066 * sunrpc/rtime.c: Likewise.
1067 * sunrpc/svc.c: Likewise.
1068 * sunrpc/svc_auth.c: Likewise.
1069 * sunrpc/svc_raw.c: Likewise.
1070 * sunrpc/svc_run.c: Likewise.
1071 * sunrpc/svc_tcp.c: Likewise.
1072 * sunrpc/svc_udp.c: Likewise.
1073 * sunrpc/svc_unix.c: Likewise.
1074 * sunrpc/svcauth_des.c: Likewise.
1075 * sunrpc/xcrypt.c: Likewise.
1076 * sunrpc/xdr.c: Likewise.
1077 * sunrpc/xdr_array.c: Likewise.
1078 * sunrpc/xdr_float.c: Likewise.
1079 * sunrpc/xdr_intXX_t.c: Likewise.
1080 * sunrpc/xdr_mem.c: Likewise.
1081 * sunrpc/xdr_rec.c: Likewise.
1082 * sunrpc/xdr_ref.c: Likewise.
1083 * sunrpc/xdr_sizeof.c: Likewise.
1084 * sunrpc/xdr_stdio.c: Likewise.
1085
b5c086a2
RM
10862012-05-10 Roland McGrath <roland@hack.frob.com>
1087
1088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1089 change. Update copyright years.
1090
6d74dd09
JM
10912012-05-10 Joseph Myers <joseph@codesourcery.com>
1092
1093 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1094
28e72501
MK
10952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1096 Joseph Myers <joseph@codesourcery.com>
1097 Paul Pluzhnikov <ppluzhnikov@google.com>
1098
1099 [BZ #14012]
1100 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1101 requiring rpcgen.
1102 [cross-compiling] (extra-libs): Likewise.
1103 [cross-compiling] (extra-libs-others): Likewise.
1104 [cross-compiling] (librpcsvc-routines): Likewise.
1105 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1106 [cross-compiling] (omit-deps): Likewise.
1107 (sunrpc-CPPFLAGS): New variable.
1108 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1109 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1110 (cross-rpcgen-objs): New variable.
1111 (extra-objs): Append $(cross-rpcgen-objs).
1112 ($(cross-rpcgen-objs)): New rule.
1113 ($(objpfx)cross-rpcgen): Likewise.
1114 (rpcgen-cmd): Define to use $(built-program-file). Expand
1115 comment.
1116 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1117 ($(objpfx)x%.stmp): Likewise.
1118 * sunrpc/proto.h [IS_IN_build] (_): Define.
1119 [IS_IN_build] (_libc_intl_domainname): Likewise.
1120
c8c59454
L
11212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1124 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1125 and R_X86_64_TPOFF64.
1126
6f27cd16
JM
11272012-05-10 Joseph Myers <joseph@codesourcery.com>
1128
1129 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1130 sysdeps/unix/sysv/syscalls.list.
1131 (stime): Likewise.
1132 (utime): Likewise.
1133 * sysdeps/unix/sysv/syscalls.list: Remove file.
1134
02467e1c
PE
11352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1136
1137 [BZ #3440]
1138 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1139 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1140 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1141 (__LC_IDENTIFICATION): Make these macros useful in #if
1142 expressions, as required by C99.
1143
da392631
AS
11442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1145
1146 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1147 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1148 after this.
1149
8115f29b
L
11502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * stdlib/longlong.h: Updated from GCC.
1153
bdd74070
AJ
11542012-05-09 Andreas Jaeger <aj@suse.de>
1155
edfe0dbe
AJ
1156 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1157 default is first entry.
1158 (run_mode): Set type.
1159 (main): Remove informal message about syslog.
1160 (options): Fix typo.
1161
bcfe3a54
ST
1162 [BZ #14053]
1163 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1164 to asm.
bcfe3a54
ST
1165 (lrint): Likewise.
1166 (llrintf): Likewise.
1167 (llrint): Likewise.
1168 (rint): Likewise.
1169 (rintf): Likewise.
1170 (nearbyint): Likewise.
1171 (nearbyintf): Likewise.
bdd74070 1172
91d8d69e
AJ
11732012-05-09 Andreas Jaeger <aj@suse.de>
1174 Pedro Alves <palves@redhat.com>
1175
1176 * nscd/nscd.c (run_mode): Use enum.
1177 (main): Cleanup coding style issue.
1178
bb90b80b
AJ
11792012-05-09 Alexandre Oliva <aoliva@redhat.com>
1180 Andreas Jaeger <aj@suse.de>
1181
bcfe3a54
ST
1182 * nscd/nscd.c (go_background): Replaced with...
1183 (run_mode): ... this.
bb90b80b 1184 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1185 (options): Add -F --foreground.
1186 (main): Implement it.
1187 (parse_opt): Parse it.
bb90b80b 1188
1a4b75a1
AJ
11892012-05-09 Andreas Jaeger <aj@suse.de>
1190
1191 [BZ #14083]
1192 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1193 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1194 -Wconversion warning.
1195 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1196 Likewise.
1197
b1cc2472
JM
11982012-05-09 Joseph Myers <joseph@codesourcery.com>
1199
1200 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1201 == 0.
1202 (LC_ALL): Use macro-int-constant.
1203 (LC_COLLATE): Likewise.
1204 (LC_CTYPE): Likewise.
1205 (LC_MESSAGES): Likewise.
1206 (LC_MONETARY): Likewise.
1207 (LC_NUMERIC): Likewise.
1208 (LC_TIME): Likewise.
1209 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1210 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1212 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1213 Specify type.
1214 [C99-based standards] (float_t): Expect type.
1215 [C99-based standards] (double_t): Expect type.
1216 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1217 type.
1218 [C99-based standards] (HUGE_VALL): Likewise.
1219 [C99-based standards] (INFINITY): Likewise.
1220 [C99-based standards] (NAN): Likewise.
1221 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1222 [C99-based standards] (FP_NAN): Likewise.
1223 [C99-based standards] (FP_NORMAL): Likewise.
1224 [C99-based standards] (FP_SUBNORMAL): Likewise.
1225 [C99-based standards] (FP_ZERO): Likewise.
1226 [C99-based standards] (FP_FAST_FMA): Use
1227 optional-macro-int-constant. Specify type. Require == 1.
1228 [C99-based standards] (FP_FAST_FMAF): Likewise.
1229 [C99-based standards] (FP_FAST_FMAL): Likewise.
1230 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1231 [C99-based standards] (FP_ILOGBNAN): Likewise.
1232 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1233 Specify type.
1234 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1235 [C99-based standards] (math_errhandling): Specify type.
1236 [ISO99 || ISO11] (signgam): Do not allow.
1237 [non-C99-based standards] (copysignf): Do not allow.
1238 [non-C99-based standards] (exp2f): Likewise.
1239 [non-C99-based standards] (log2f): Likewise.
1240 [non-C99-based standards] (modff): Allow.
1241 [non-C99-based standards] (erff): Do not allow.
1242 [non-C99-based standards] (erfcf): Likewise.
1243 [non-C99-based standards] (gammaf): Likewise.
1244 [non-C99-based standards] (hypotf): Likewise.
1245 [non-C99-based standards] (j0f): Likewise.
1246 [non-C99-based standards] (j1f): Likewise.
1247 [non-C99-based standards] (jnf): Likewise.
1248 [non-C99-based standards] (lgammaf): Likewise.
1249 [non-C99-based standards] (tgammaf): Likewise.
1250 [non-C99-based standards] (y0f): Likewise.
1251 [non-C99-based standards] (y1f): Likewise.
1252 [non-C99-based standards] (ynf): Likewise.
1253 [non-C99-based standards] (isnanf): Likewise.
1254 [non-C99-based standards] (acoshf): Likewise.
1255 [non-C99-based standards] (asinhf): Likewise.
1256 [non-C99-based standards] (atanhf): Likewise.
1257 [non-C99-based standards] (cbrtf): Likewise.
1258 [non-C99-based standards] (expm1f): Likewise.
1259 [non-C99-based standards] (ilogbf): Likewise.
1260 [non-C99-based standards] (log1pf): Likewise.
1261 [non-C99-based standards] (logbf): Likewise.
1262 [non-C99-based standards] (nextafterf): Likewise.
1263 [non-C99-based standards] (remainderf): Likewise.
1264 [non-C99-based standards] (rintf): Likewise.
1265 [non-C99-based standards] (scalbf): Likewise.
1266 [non-C99-based standards] (copysignl): Likewise.
1267 [non-C99-based standards] (exp2l): Likewise.
1268 [non-C99-based standards] (log2l): Likewise.
1269 [non-C99-based standards] (modfl): Allow.
1270 [non-C99-based standards] (erfl): Do not allow.
1271 [non-C99-based standards] (erfcl): Likewise.
1272 [non-C99-based standards] (gammal): Likewise.
1273 [non-C99-based standards] (hypotl): Likewise.
1274 [non-C99-based standards] (j0l): Likewise.
1275 [non-C99-based standards] (j1l): Likewise.
1276 [non-C99-based standards] (jnl): Likewise.
1277 [non-C99-based standards] (lgammal): Likewise.
1278 [non-C99-based standards] (tgammal): Likewise.
1279 [non-C99-based standards] (y0l): Likewise.
1280 [non-C99-based standards] (y1l): Likewise.
1281 [non-C99-based standards] (ynl): Likewise.
1282 [non-C99-based standards] (isnanl): Likewise.
1283 [non-C99-based standards] (acoshl): Likewise.
1284 [non-C99-based standards] (asinhl): Likewise.
1285 [non-C99-based standards] (atanhl): Likewise.
1286 [non-C99-based standards] (cbrtl): Likewise.
1287 [non-C99-based standards] (expm1l): Likewise.
1288 [non-C99-based standards] (ilogbl): Likewise.
1289 [non-C99-based standards] (log1pl): Likewise.
1290 [non-C99-based standards] (logbl): Likewise.
1291 [non-C99-based standards] (nextafterl): Likewise.
1292 [non-C99-based standards] (remainderl): Likewise.
1293 [non-C99-based standards] (rintl): Likewise.
1294 [non-C99-based standards] (scalbl): Likewise.
1295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1296 [non-C99-based standards] (FP_*): Do not allow.
1297 [C99-based standards] (FP_*): Change to
1298 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1299 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1300 allow.
1301 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1302 (SIG_ERR): Likewise.
1303 [X/Open-based standards] (SIG_HOLD): Likewise.
1304 (SIG_IGN): Likewise.
1305 (SIGABRT): Use macro-int-constant. Specify type. Require
1306 positive value.
1307 (SIGFPE): Likewise.
1308 (SIGILL): Likewise.
1309 (SIGINT): Likewise.
1310 (SIGSEGV): Likewise.
1311 (SIGTER): Likewise.
1312 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1313 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1314 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1317 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1322 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1323 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1324 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1325 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1326 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1327 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1328 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1329 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1330 [X/Open-based standards] (SIGTRAP): Likewise.
1331 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1332 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1333 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1334 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1335 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1336 allow.
1337
b9f1922d
IW
13382012-05-08 Ian Wienand <ianw@vmware.com>
1339
1340 [BZ #14080]
1341 * time/tzset.c (__tzset_parse_tz): Update default rules for
1342 daylight time changes in the Energy Policy Act of 2005.
1343
1db86e88
AJ
13442012-05-09 Andreas Jaeger <aj@suse.de>
1345
1346 [BZ #13983]
1347 * elf/ldconfig.c (parse_conf): Change string to make clear that
1348 ldconfig only issued a warning if ld.so.conf does not exist.
1349
dee4a4e3
DM
13502012-05-08 David S. Miller <davem@davemloft.net>
1351
ee0db190
DM
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1353 movxtod instead of popping the value on the stack.
1354
dee4a4e3
DM
1355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1356
6a43ec98
CD
13572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1358
1359 * config.h.in: Add HAVE_ARM_PCS_VFP.
1360
05c2c961
RMG
13612012-05-08 Roland Mc Grath <roland@hack.frob.com>
1362
bcfe3a54
ST
1363 [BZ #13979]
1364 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1365 checking but the checks are disabled for any reason.
05c2c961 1366
4b30f61a
L
13672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1368
1369 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1370 and ELF64_R_TYPE with ELFW(R_TYPE).
1371
eee2bc67
JM
13722012-05-08 Joseph Myers <joseph@codesourcery.com>
1373
7ea5391a
JM
1374 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1375 (ulimit): Likewise.
1376
eee2bc67
JM
1377 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1378 (settimeofday): Likewise.
1379
abb66a67
MF
13802012-05-08 Mike Frysinger <vapier@gentoo.org>
1381
1382 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1383 a struct th_u2 inside the union, and move tu_block/tu_code into
1384 a new th_u3 union of tu_block/tu_code inside of that. Move
1385 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1386 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1387 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1388 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1389 (th_stuff): Change to th_u1.tu_stuff.
1390 (th_data): Define.
1391 (th_msg): Change to th_u1.th_u2.tu_data.
1392
7f18b530
DM
13932012-05-07 David S. Miller <davem@davemloft.net>
1394
05760585
DM
1395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1396
7f18b530
DM
1397 [BZ #14074]
1398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1399 (SETUP_PIC_REG): Use it.
1400 (SETUP_PIC_REG_LEAF): Use it.
1401
495fd99f
JM
14022012-05-07 Joseph Myers <joseph@codesourcery.com>
1403
1404 [BZ #13885]
1405 [BZ #13923]
1406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1407 USE_AS_EXPM1L.
1408 (EXPL_FINITE): Likewise.
1409 (FLDLOG): Likewise.
1410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1411 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1412 e_expl.S.
1413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1414 USE_AS_EXPM1L.
1415 (EXPL_FINITE): Likewise.
1416 (FLDLOG): Likewise.
1417 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1418 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1419 e_expl.S.
1420 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1421 test of -max_value argument for long double.
1422 * sysdeps/i386/fpu/libm-test-ulps: Update.
1423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1424
6693d694
DM
14252012-05-06 David S. Miller <davem@davemloft.net>
1426
1427 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1428 quad soft-float symbols whose references which are compiler
1429 generated.
1430 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1431
6c23e11c
JM
14322012-05-06 Joseph Myers <joseph@codesourcery.com>
1433
d8b82cad
JM
1434 [BZ #13884]
1435 [BZ #13914]
1436 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1437 USE_AS_EXP10L.
1438 (EXPL_FINITE): Likewise.
1439 (FLDLOG): Likewise.
1440 (c0): Likewise.
1441 (c1): Likewise.
1442 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1443 Adjust comments for base varying.
1444 (__expl_finite): Change alias to EXPL_FINITE.
1445 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1446 e_expl.S.
1447 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1448 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1450 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1452 USE_AS_EXP10L.
1453 (EXPL_FINITE): Likewise.
1454 (FLDLOG): Likewise.
1455 (c0): Likewise.
1456 (c1): Likewise.
1457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1458 Adjust comments for base varying.
1459 (__expl_finite): Change alias to EXPL_FINITE.
1460 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1461 tests for bugs.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1463
6c23e11c
JM
1464 [BZ #14064]
1465 * math/libm-test.inc (check_float_internal): Correct ulp
1466 calculation for subnormal expected results.
1467
29ba805c
AJ
14682012-05-06 Andreas Jaeger <aj@suse.de>
1469
1470 * Makeconfig (+math-flags): New, set to -frounding-math.
1471 (+cflags): Add +math-flags so that all of glibc gets compiled with
1472 it.
1473
1474 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1475
7b17aeda
JM
14762012-05-05 Joseph Myers <joseph@codesourcery.com>
1477
5779f134
JM
1478 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1479 Disable one test.
1480
41498f4d
JM
1481 [BZ #13787]
1482 [BZ #13922]
1483 [BZ #14036]
1484 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1485 (__ieee754_expl): Allow for and saturate large arguments.
1486 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1487 (u_threshold): Likewise.
1488 (__exp): Call __ieee754_exp before checking for overflow and
1489 underflow.
1490 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1491 (u_threshold): Likewise.
1492 (__expf): Call __ieee754_expf before checking for overflow and
1493 underflow.
1494 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1495 (u_threshold): Likewise.
1496 (__expl): Call __ieee754_expl before checking for overflow and
1497 underflow.
1498 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1499 (__ieee754_expl): Allow for and saturate large arguments.
1500 * math/libm-test.inc (exp_test): Add another test. Do not allow
1501 missing overflow exception on overflow.
1502 (expm1_test): Do not allow missing overflow exception on overflow.
1503
6698b8bf
JM
1504 * sysdeps/i386/fpu/e_expl.c: Move to ...
1505 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1506 rather than using inline asm.
1507 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1508 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1509 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1510
7b17aeda
JM
1511 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1512 (nice): Likewise.
1513 (poll): Likewise.
1514 (signal): Likewise.
1515 (time): Likewise.
1516 (times): Likewise.
1517
f7c85819
JM
15182012-05-04 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1521 sysdeps/unix/common/syscalls.list.
1522 (fchmod): Likewise.
1523 (fchown): Likewise.
1524 (ftruncate): Likewise.
1525 (getrusage): Likewise.
1526 (gettimeofday): Likewise.
1527 (setpgid): Likewise.
1528 (setregid): Likewise.
1529 (setreuid): Likewise.
1530 (sigaction): Likewise.
1531 (truncate): Likewise.
1532 (vhangup): Likewise.
1533 * sysdeps/unix/common/syscalls.list: Remove file.
1534 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1535 * sysdeps/unix/sysv/linux/Implies: Likewise.
1536
336270d0
L
15372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1541 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1542 Moved to ...
1543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1544 Here.
1545 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1546 to ...
1547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1548 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1549 to ...
1550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1551 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1552 to ...
1553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1554 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1555 to ...
1556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1558 to ...
1559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1560 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1561 to ...
1562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1563 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1564 to ...
1565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1566 Here.
1567 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1568 to ...
1569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1570 Here.
1571 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1572 to ...
1573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1574 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1575 Moved to ...
1576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1577 Here.
1578 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1579 to ...
1580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1581
d128e450
JM
15822012-05-04 Joseph Myers <joseph@codesourcery.com>
1583
fa8ee516
JM
1584 * sysdeps/unix/common/bits/dirent.h: Remove file.
1585 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1586
d128e450
JM
1587 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1588 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1589 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1590 * sysdeps/unix/bsd/isatty.c: Likewise.
1591 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1592 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1593 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1594
ff8faaf0 15952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1596
62881be4 1597 [BZ #13563]
31dc8730
AZ
1598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1599 long double comparison inaccuracies.
1600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1602
6fef930c
AS
16032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1604
1605 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1606 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1607
8f203e6c
JM
16082012-05-04 Joseph Myers <joseph@codesourcery.com>
1609
1610 [BZ #14049]
1611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1612 nonzero digits before rounding a hex value.
1613 * stdlib/tst-strtod.c (tests): Add another test.
1614
5197d9c2
AK
16152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1616
1617 * sysdeps/s390/fpu/libm-test-ulps: Update.
1618
f0c1dedf
AJ
16192012-05-03 Andreas Jaeger <aj@suse.de>
1620
1621 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1622 does not get optimized out.
1623 (malloc_opt_barrier): New.
1624
a65ef2ae 16252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1626 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1627
2b942cb7 1628 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1629 intermediate file deletion.
2b942cb7 1630 (generated): Add .symlist files.
a65ef2ae 1631
54b71e02
JM
16322012-05-03 Joseph Myers <joseph@codesourcery.com>
1633
1634 [BZ #13775]
1635 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1636 Redirect under this condition.
1637 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1638 [__USE_GNU] (__dprintf_chk): Not under this condition.
1639 [__USE_GNU] (__vdprintf_chk): Likewise.
1640 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1641 under this condition.
1642 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1643 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1644 [__USE_XOPEN2K8] (vdprintf): Likewise.
1645 [__USE_GNU] (__dprintf_chk): Not under this condition.
1646 [__USE_GNU] (__vdprintf_chk): Likewise.
1647 [__USE_GNU] (dprintf): Likewise.
1648 [__USE_GNU] (vdprintf): Likewise.
1649
d3dfcc41
RM
16502012-05-03 Roland McGrath <roland@hack.frob.com>
1651
1652 * elf/Makefile (common-generated): Set this instead of generated for
1653 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1654 $(all-built-dso)-derived lists.
1655
7ac30cc5
AJ
16562012-05-03 Andreas Jaeger <aj@suse.de>
1657
0c51e550
AJ
1658 * sysdeps/i386/fpu/libm-test-ulps: Update.
1659
7ac30cc5
AJ
1660 * FAQ: Removed.
1661 * FAQ.in: Likewise.
1662 * scripts/gen-FAQ.pl: Likewise.
1663 * manual/install.texi (Installation): Point to online location of
1664 FAQ.
1665 * Makefile (files-for-dist): Remove FAQ.
1666 (FAQ): Remove.
1667
d4c2917f
AM
16682012-05-02 Allan McRae <allan@archlinux.org>
1669
1670 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1671 (LDFLAGS-reldepmod5.so): Likewise.
1672 (LDFLAGS-reldep6mod1.so): Likewise.
1673 (LDFLAGS-reldep6mod4.so): Likewise.
1674 (LDFLAGS-reldep8mod3.so): Likewise.
1675 (LDFLAGS-unload4mod1.so): Likewise.
1676 (LDFLAGS-unload4mod2.so): Likewise.
1677 (LDFLAGS-tst-initorder): Likewise.
1678 (LDFLAGS-tst-initordera2.so): Likewise.
1679 (LDFLAGS-tst-initordera3.so): Likewise.
1680 (LDFLAGS-tst-initordera4.so): Likewise.
1681 (LDFLAGS-tst-initorderb2.so): Likewise.
1682 (LDFLAGS-noload): Likewise.
1683 (LDFLAGS-next): Likewise.
1684 (LDFLAGS-order2mod1.so): Likewise.
1685 (LDFLAGS-order2mod2.so): Likewise.
1686 (LDFLAGS-tst-initorder2): Likewise.
1687 (LDFLAGS-tst-initorder2a.so): Likewise.
1688 (LDFLAGS-tst-initorder2b.so): Likewise.
1689 (LDFLAGS-tst-initorder2c.so): Likewise.
1690 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1691
d77f993f
DM
16922012-05-02 David S. Miller <davem@davemloft.net>
1693
1694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1695
171a70b4
PP
16962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1697
1698 [BZ #14055]
1699 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1700
0be196ad
AJ
17012012-05-02 Andreas Jaeger <aj@suse.de>
1702
1703 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1704 since we manipulate rounding mode.
1705 (CPPFLAGS-test-idouble.c): Likewise.
1706 (CPPFLAGS-test-ifloat.c): Likewise.
1707 (CFLAGS-test-ldouble.c): Likewise.
1708 (CFLAGS-test-double.c): Likewise.
1709 (CFLAGS-test-float.c): Likewise.
1710 (CFLAGS-test-misc.c): Likewise.
1711 (CFLAGS-test-test-fenv.c): Likewise.
1712
4f9d04aa
AZ
17132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714
2b942cb7
RM
1715 [BZ #2550]
1716 [BZ #2570]
1717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1718 comparisons to determine direction to adjust input.
4f9d04aa 1719
82a79e7d
RM
17202012-05-01 Roland McGrath <roland@hack.frob.com>
1721
f5a01ca9
RM
1722 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1723 output to the target.
1724
90fe4186
RM
1725 * scripts/localplt.awk: New file.
1726 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1727 (check-localplt-CFLAGS): Variable removed.
1728 ($(all-built-dso:=.jmprel)): New static pattern rule.
1729 (generated): Add those targets.
1730 (localplt-built-dso): New variable.
1731 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1732
1733 * elf/check-localplt.c: File removed.
1734
82397ed6
RM
1735 * scripts/check-execstack.awk: New file.
1736 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1737 (check-execstack-CFLAGS): Variable removed.
1738 ($(objpfx)check-execstack.h): Target removed.
1739 ($(objpfx)execstack-default): New target.
1740 (generated): Add that instead of check-execstack.h.
1741 ($(all-built-dso:=.phdr)): New static pattern rule.
1742 (generated): Add those targets.
1743 * elf/check-execstack.c: File removed.
1744
82a79e7d
RM
1745 * scripts/check-textrel.awk: New file.
1746 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1747 (check-textrel-CFLAGS): Variable removed.
1748 (all-built-dso): Use := to define.o
1749 ($(all-built-dso:=.dyn)): New static pattern rule.
1750 (generated): Add those targets.
1751 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1752 * config.make.in (READELF): New substituted variable.
1753 * elf/check-textrel.c: File removed.
1754
62fde54f 17552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1756
615605c9
JM
1757 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1758 allow.
1759 * conform/data/ctype.h-data [C99-based standards] (isblank):
1760 Expect function.
1761 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1762 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1764 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1765 Specify type. Require positive value.
1766 (EILSEQ): Likewise.
1767 (ERANGE): Likewise.
1768 [ISO || POSIX] (EILSEQ): Do not expect.
1769 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1770 Specify type. Require positive value.
1771 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1778 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1780 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1781 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1787 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1835 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1837 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1840 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1843 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1844 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1845 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1846 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1847 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1848 Require >= 2.
1849 (FLT_ROUNDS): Expect as macro, not constant.
1850 (FLT_MANT_DIG): Use macro-int-constant.
1851 (DBL_MANT_DIG): Likewise.
1852 (LDBL_MANT_DIG): Likewise.
1853 (FLT_DIG): Likewise.
1854 (DBL_DIG): Likewise.
1855 (LDBL_DIG): Likewise.
1856 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1857 (DBL_MIN_EXP): Likewise.
1858 (LDBL_MIN_EXP): Likewise.
1859 (FLT_MAX_EXP): Use macro-int-constant.
1860 (DBL_MAX_EXP): Likewise.
1861 (LDBL_MAX_EXP): Likewise.
1862 (FLT_MAX_10_EXP): Likewise.
1863 (DBL_MAX_10_EXP): Likewise.
1864 (LDBL_MAX_10_EXP): Likewise.
1865 (FLT_MAX): Use macro-constant.
1866 (DBL_MAX): Likewise.
1867 (LDBL_MAX): Likewise.
1868 (FLT_EPSILON): Use macro-constant. Give upper bound.
1869 (DBL_EPSILON): Likewise.
1870 (LDBL_EPSILON): Likewise.
1871 (FLT_MIN): Likewise.
1872 (DBL_MIN): Likewise.
1873 (LDBL_MIN): Likewise.
1874 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1875 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1876 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1877 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1878 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1879 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1880 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1881 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1882 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1883 [ISO11] (FLT_TRUE_MIN): Likewise.
1884 [ISO11] (LDBL_TRUE_MIN): Likewise.
1885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1886 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1887 (SCHAR_MIN): Use macro-int-constant. Specify type.
1888 (SCHAR_MAX): Likewise.
1889 (UCHAR_MAX): Likewise.
1890 (CHAR_MIN): Likewise.
1891 (CHAR_MAX): Likewise.
1892 (MB_LEN_MAX): Use macro-int-constant.
1893 (SHRT_MIN): Use macro-int-constant. Specify type.
1894 (SHRT_MAX): Likewise.
1895 (USHRT_MAX): Likewise.
1896 (INT_MAX): Likewise.
1897 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1898 bound negative.
1899 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1900 bound with "U".
1901 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1902 bound with "L".
1903 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1904 bound negative. Suffix upper bound with "L".
1905 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1906 bound with "UL".
1907 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1908 Specify type.
1909 [C99-based standards] (LLONG_MAX): Likewise.
1910 [C99-based standards] (ULLONG_MAX): Likewise.
1911 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1912 == 0.
1913 [ISO11] (max_align_t): Require type.
1914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1915
c9140a62
JM
1916 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1917 from $CFLAGS, without defining away __attribute__ calls.
1918 (checknamespace): Use $CFLAGS_namespace.
1919
9af0bf29
JM
1920 * conform/conformtest.pl (@keywords): Only include C99 keywords
1921 for standards based on C99 or C11.
1922
343222a2
JM
1923 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1924 Disable tests.
1925 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1926 UNIX98]: Likewise.
1927
661f8cf0
JM
1928 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1929 usability of symbols in #if.
1930
ee74b9cb
JM
1931 * conform/conformtest.pl: If macro or constant types start
1932 "promoted:", expect the symbol to be of the following type
1933 promoted by the integer promotions.
62fde54f 1934
aafc49b3
JM
1935 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1936 in one place. Also handle "macro-constant".
1937
fefdf574
JM
1938 * conform/conformtest.pl: Only accept expected macro values with
1939 "==". Parse all "macro" lines in one place.
1940 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1941
f2d922fe
JM
1942 * conform/conformtest.pl: Handle braced types on "constant" lines
1943 instead of handling "typed-constant".
1944 * conform/data/signal.h-data: Use "constant" instead of
1945 "typed-constant".
1946
d22956c9
JM
1947 * conform/conformtest.pl: Handle "optional-" at start of lines in
1948 one place rather than duplicating several cases. Handle each
1949 format of "macro" line with initial "optional-".
1950
028e2e38
JM
1951 * conform/conformtest.pl: Only accept expected constant or
1952 optional-constant values with "==". Parse all "constant" lines in
1953 one place. Parse all "optional-constant" lines in one place.
1954 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1955 * conform/data/fmtmsg.h-data: Likewise.
1956 * conform/data/netinet/in.h-data: Likewise.
1957 * conform/data/tar.h-data: Likewise.
1958 * conform/data/limits.h-data: Use "==" form on "constant" and
1959 "optional-constant" lines.
1960
1b8f2850
JM
1961 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1962 Use -std=c99 for XOPEN2K.
1963 (@knownproblems): Remove.
1964 (newtoken): Don't check %isknown.
1965
a05a144b
JM
1966 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1967 Do not expect macro.
1968 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1970 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1971 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1972 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1973 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1974 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1975 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1976 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1977 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1978 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1979 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1980 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1981 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1982 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1983 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1984 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1985 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1986 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1987 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1988 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1989 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1990 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1992 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1993 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1994 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1995 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1996 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1997 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1998 [XPG3] (acosh): Likewise.
1999 [XPG3] (asinh): Likewise.
2000 [XPG3] (atanh): Likewise.
2001 [XPG3] (cbrt): Likewise.
2002 [XPG3] (expm1): Likewise.
2003 [XPG3] (ilogb): Likewise.
2004 [XPG3] (log1p): Likewise.
2005 [XPG3] (logb): Likewise.
2006 [XPG3] (nextafter): Likewise.
2007 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2008 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2009 [XPG3] (remainder): Likewise.
2010 [XPG3] (rint): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2018 [UNIX98 || XOPEN2K] (scalb): Expect.
2019 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2020 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2156
73c5ebe3
JM
2157 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2158 _XOPEN_SOURCE_EXTENDED for XPG4.
2159
39c33b6c
JM
2160 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2161
62fde54f
JM
2162 * Makeconfig (localtime): Remove variable.
2163 (inst_localtime-file): Likewise.
2164
0741d64c
AS
21652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2168 Update.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2170 Update.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2172 Update.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2174 Update.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2176 Update.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2178 Update.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2180 Update.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2182 Update.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2184 Update.
2185
7cb029ee
JM
21862012-05-01 Joseph Myers <joseph@codesourcery.com>
2187
2188 [BZ #2550]
2189 [BZ #2570]
2190 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2191 comparisons to determine direction to adjust input.
2192 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2193 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2195 Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2197 Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2199 Likewise.
2200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2202 Likewise.
2203 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2204 Likewise.
2205 * math/libm-test.inc (nexttoward_test): Add more tests.
2206
412bd966
AS
22072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2208
2209 [BZ #14040]
2210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2211 in version GLIBC_2.1, not GLIBC_2.0.
2212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2213 Likewise.
2214
9568c0c2
JM
22152012-04-30 Joseph Myers <joseph@codesourcery.com>
2216
adfbc8ac
JM
2217 [BZ #13942]
2218 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2219 (1 - x) * (1 + x).
2220 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2221 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2222 * math/libm-test.inc (acos_test): Add more tests.
2223 (asin_test): Likewise.
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226
5ba3cc69
JM
2227 [BZ #14034]
2228 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2229 of square root.
2230 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2232 * math/libm-test.inc (acos_test_tonearest): New function.
2233 (acos_test_towardzero): Likewise.
2234 (acos_test_downward): Likewise.
2235 (acos_test_upward): Likewise.
2236 (asin_test_tonearest): Likewise.
2237 (asin_test_towardzero): Likewise.
2238 (asin_test_downward): Likewise.
2239 (asin_test_upward): Likewise.
2240 (main): Call the new functions.
2241 * sysdeps/i386/fpu/libm-test-ulps: Update.
2242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2243
9568c0c2
JM
2244 [BZ #13884]
2245 [BZ #13924]
2246 * math/e_exp10.c: Include <float.h>.
2247 (__ieee754_exp10): Handle underflow here rather than multiplying
2248 large negative argument by M_LN10.
2249 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2250 of __ieee754_expf.
2251 * math/e_exp10l.c: Include <float.h>.
2252 (__ieee754_exp10l): Handle underflow here rather than multiplying
2253 large negative argument by M_LN10l.
2254 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2255 spurious overflow exception on underflow.
2256
5ac3ea17
MP
22572012-04-29 Marek Polacek <polacek@redhat.com>
2258
2259 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2260 (__fortify_function): New macro.
2261 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2262 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2263 __extern_always_inline.
2264 * libio/bits/stdio2.h: Likewise.
2265 * libio/bits/stdio.h: Likewise.
2266 * string/string.h: Likewise.
2267 * string/bits/string3.h: Likewise.
2268 * include/stdio.h: Likewise.
2269 * stdlib/bits/stdlib.h: Likewise.
2270 * stdlib/stdlib.h: Likewise.
2271 * rt/bits/mqueue2.h: Likewise.
2272 * rt/mqueue.h: Likewise.
2273 * posix/bits/unistd.h: Likewise.
2274 * posix/unistd.h: Likewise.
2275 * io/bits/poll2.h: Likewise.
2276 * io/bits/fcntl2.h: Likewise.
2277 * io/fcntl.h: Likewise.
2278 * io/sys/poll.h: Likewise.
2279 * misc/bits/syslog.h: Likewise.
2280 * misc/bits/syslog-ldbl.h: Likewise.
2281 * misc/sys/syslog.h: Likewise.
2282 * socket/bits/socket2.h: Likewise.
2283 * socket/sys/socket.h: Likewise.
2284 * debug/tst-chk1.c: Likewise.
2285 * wcsmbs/bits/wchar2.h: Likewise.
2286 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2287 * wcsmbs/wchar.h: Likewise.
2288
ecf0ebfb
AJ
22892012-04-29 Andreas Jaeger <aj@suse.de>
2290
2291 * Makerules (tests): Remove enable-check-abi protection.
2292 (check-abi-warn): Remove.
2293 (check-abi-%): Remove check-abi-warn usage.
2294
2295 * configure.in: Remove check-abi configure option.
2296 * configure: Regenerated.
2297 * config.make.in (enable-check-abi): Remove.
2298
6d5c57fa
AS
22992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2300
24c5d07e 2301 [BZ #14033]
ded5180a
AS
2302 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2303 double functions to double *_finite functions.
2304
7e0d315d
AS
2305 [BZ #13941]
2306 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2307 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2308 LDBL_MIN_EXP.
2309 * stdio-common/Makefile (tests): Add tst-sprintf3.
2310 * stdio-common/tst-sprintf3.c: New file.
2311
6d5c57fa
AS
2312 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2313 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2314
0749ff8b
JM
23152012-04-28 Joseph Myers <joseph@codesourcery.com>
2316
2317 * conform/conformtest.pl: Remove duplicate typed-constant
2318 handling.
2319
8dbd5d7b
DM
23202012-04-28 David S. Miller <davem@davemloft.net>
2321
2322 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2323 (check-abi-%): Remove AWK script prerequisite and explicit
2324 abilist directory.
2325 (check-abi): Rewrite to just diff the symlist with the abilist.
2326 (config-tls, config-abi-config): Delete, no longer used.
2327 (update-abi-%): Remove AWK script and explicit abilist directory.
2328 (update-abi): Rewrite to simply compare and conditionally copy the
2329 symlist and the sysdep abilist file. Remove update-abi-config
2330 checks.
2331 * abilist/ld.abilist: Remove.
2332 * abilist/libBrokenLocale.abilist: Remove.
2333 * abilist/libanl.abilist: Remove.
2334 * abilist/libcrypt.abilist: Remove.
2335 * abilist/libdl.abilist: Remove.
2336 * abilist/librt.abilist: Remove.
2337 * abilist/libthread_db.abilist: Remove.
2338 * abilist/libutil.abilist: Remove.
2339 * scripts/extract-abilist.awk: Remove.
2340 * scripts/merge-abilist.awk: Remove.
2341 * sysdeps/generic/libcidn.abilist: New file.
2342 * sysdeps/generic/libnss_compat.abilist: New file.
2343 * sysdeps/generic/libnss_db.abilist: New file.
2344 * sysdeps/generic/libnss_dns.abilist: New file.
2345 * sysdeps/generic/libnss_files.abilist: New file.
2346 * sysdeps/generic/libnss_hesiod.abilist: New file.
2347 * sysdeps/generic/libnss_nis.abilist: New file.
2348 * sysdeps/generic/libnss_nisplus.abilist: New file.
2349 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2350 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2352 file.
2353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2354 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2355 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2356 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2357 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2358 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2359 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2360 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2361 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2362 file.
2363 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2364 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2366 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2367 file.
2368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2369 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2370 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2371 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2372 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2373 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2374 file.
2375 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2376 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2378 file.
2379 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2381 New file.
2382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2383 New file.
2384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2385 New file.
2386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2387 New file.
2388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2389 New file.
2390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2391 New file.
2392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2393 New file.
2394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2395 New file.
2396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2397 New file.
2398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2399 New file.
2400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2401 New file.
2402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2403 New file.
2404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2405 New file.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2407 file.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2409 New file.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2411 New file.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2413 file.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2415 New file.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2417 New file.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2419 file.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2421 New file.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2423 New file.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2425 New file.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2427 New file.
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2429 New file.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2431 New file.
2432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2434 file.
2435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2436 New file.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2438 file.
2439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2440 file.
2441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2442 file.
2443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2444 file.
2445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2446 file.
2447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2448 New file.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2450 file.
2451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2452 file.
2453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2454 New file.
2455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2456 file.
2457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2459 file.
2460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2461 New file.
2462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2463 file.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2465 file.
2466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2467 file.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2469 file.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2471 file.
2472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2473 New file.
2474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2475 file.
2476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2477 file.
2478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2479 New file.
2480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2481 file.
2482 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2483 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2484 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2485 file.
2486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2487 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2488 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2489 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2490 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2491 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2492 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2493 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2494 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2495 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2498 file.
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2500 New file.
2501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2502 file.
2503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2504 file.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2506 file.
2507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2508 file.
2509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2510 file.
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2512 New file.
2513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2514 New file.
2515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2516 file.
2517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2518 New file.
2519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2520 file.
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2523 file.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2525 New file.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2527 file.
2528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2529 file.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2531 file.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2533 file.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2535 file.
2536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2537 New file.
2538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2539 New file.
2540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2541 file.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2543 New file.
2544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2545 file.
2546
41d73a1b
JM
25472012-04-28 Joseph Myers <joseph@codesourcery.com>
2548
2549 * conform/conformtest.pl: Fix typo in handling typed-constant from
2550 allow-header.
2551
28aeeda4
JM
25522012-04-27 Joseph Myers <joseph@codesourcery.com>
2553
adae8f5e
JM
2554 * README: Cut down references to pre-2.6 Linux kernels and
2555 Linuxthreads. Update lists of configurations in libc and ports
2556 and sort alphabetically. Say "or newer" with Linux kernel version
2557 requirements.
2558
28aeeda4
JM
2559 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2560
a462cb63
RA
25612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2562
2563 [BZ #887]
2564 * math/libm-test.inc (logb_test_downward): New test to expose
2565 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2566 rounding mode.
2567
6ad3493e
JM
25682012-04-27 Joseph Myers <joseph@codesourcery.com>
2569
2570 [BZ #14027]
2571 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2572 to be done.
2573 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2574 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2575
2ce4f015
JM
25762012-04-26 Joseph Myers <joseph@codesourcery.com>
2577
5aeb141a
JM
2578 * sysdeps/unix/i386/brk.S: Remove file.
2579 * sysdeps/unix/i386/dl-brk.S: Likewise.
2580 * sysdeps/unix/i386/pipe.S: Likewise.
2581 * sysdeps/unix/i386/sigreturn.S: Likewise.
2582 * sysdeps/unix/i386/syscall.S: Likewise.
2583 * sysdeps/unix/i386/vfork.S: Likewise.
2584 * sysdeps/unix/i386/wait.S: Likewise.
2585
7143acae
JM
2586 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2587 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2588
2ce4f015
JM
2589 * configure.in (arm*-none*): Do not allow without
2590 --enable-hacker-mode.
2591 (netbsd*): Remove case setting base_os.
2592 (386bsd*): Likewise.
2593 (freebsd*): Likewise.
2594 (bsdi*): Likewise.
2595 (osf*): Likewise.
2596 (sunos*): Likewise.
2597 (ultrix*): Likewise.
2598 (newsos*): Likewise.
2599 (dynix*): Likewise.
2600 (*bsd*): Likewise.
2601 (sysv*): Likewise.
2602 (isc*): Likewise.
2603 (esix*): Likewise.
2604 (sco*): Likewise.
2605 (minix*): Likewise.
2606 (irix4*): Likewise.
2607 (irix6*): Likewise.
2608 (solaris[2-9]*): Likewise.
2609 (none): Likewise.
2610 * configure: Regenerated.
2611
0ac229c8
AZ
26122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2613
2614 [BZ #11521]
2615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2616 overflow or cancellation in calculating denominator.
2617 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2619 down expression to avoid unexpected rounding in newer GCCs.
2620 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2621
33f244f4
DM
26222012-04-26 David S. Miller <davem@davemloft.net>
2623
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2625 long-double compat symbols.
2626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2639
cfa1f3e8
DM
26402012-04-25 David S. Miller <davem@davemloft.net>
2641
2642 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2643 HWCAP_* values only after the memory barriers have been defined.
2644 (atomic_full_barrier): Define.
2645 (atomic_read_barrier): Define.
2646 (atomic_write_barrier): Define.
2647
6e236b92
SP
26482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2649
2650 * shlib-versions: Add libgcc_s version information.
2651 * sysdeps/generic/libgcc_s.h: Remove.
2652 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2653 libgcc_s.h.
2654 * sysdeps/gnu/unwind-resume.c: Likewise.
2655 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2656
aab39a09
DM
26572012-04-25 David S. Miller <davem@davemloft.net>
2658
2659 * sysdeps/unix/sparc/brk.S: Delete.
2660 * sysdeps/unix/sparc/dl-brk.S: Delete.
2661 * sysdeps/unix/sparc/pipe.S: Delete.
2662 * sysdeps/unix/sparc/sysdep.S: Delete.
2663 * sysdeps/unix/sparc/sysdep.h: Delete.
2664 * sysdeps/unix/sparc/vfork.S: Delete.
2665 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2666 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2667 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2668 ret_ERRVAL, r0, r1, MOVE): Define.
2669 (JUMPTARGET): Remove.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2671 sysdeps/unix/sparc/sysdep.h
2672 (ENTRY, END): Remove.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2674
a3cc4f48
JM
26752012-04-25 Joseph Myers <joseph@codesourcery.com>
2676
2ed8cda2
JM
2677 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2678 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2679 -DIS_IN_build.
2680
35d76d59
JM
2681 * timezone/README: Update upstream location and email address for
2682 tzcode and tzdata.
2683 * timezone/zdump.c: Update from tzcode 2012b.
2684 * timezone/zic.c: Likewise.
2685
a3cc4f48
JM
2686 * configure.in (libc_cv_as_needed): Remove test.
2687 * configure: Regenerated.
2688 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2689 conditional definition.
2690 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2691 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2692 * config.make.in (have-as-needed): Remove variable.
2693
ceab42c3
SP
26942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2695 Paul Pluzhnikov <ppluzhnikov@google.com>
2696
2697 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2698 strings correctly.
2699
3ce2865f
CLT
27002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2701
2702 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2703 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2704 * sysdeps/sh/strlen.S: Likewise.
2705
f37e0d68
JM
27062012-04-24 Joseph Myers <joseph@codesourcery.com>
2707
ae186e9a
JM
2708 * sysdeps/unix/fork.S: Remove file.
2709 * sysdeps/unix/i386/fork.S: Likewise.
2710 * sysdeps/unix/sparc/fork.S: Likewise.
2711
b96914af
JM
2712 * sysdeps/unix/system.c: Remove file.
2713 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2714
f37e0d68
JM
2715 * sysdeps/unix/getegid.S: Remove file.
2716 * sysdeps/unix/geteuid.S: Likewise.
2717
87ef29ca
RM
27182012-04-24 Roland McGrath <roland@hack.frob.com>
2719
83bcd236
RM
2720 * scripts/check-localplt.awk: New file.
2721 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2722 of diff.
2723 * scripts/data/localplt-generic.data: Add a comment.
2724
87ef29ca
RM
2725 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2726 NODE when __dir_mkfile failed.
2727 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2728 Reported by Ludovic Courtès <ludo@gnu.org>.
2729
e5a6e567
AJ
27302012-04-24 Andreas Jaeger <aj@suse.de>
2731
2732 * Makerules (common-clean): Also remove gen-as-const-headers
2733 files.
2734
c1820385
JM
27352012-04-24 Joseph Myers <joseph@codesourcery.com>
2736
2737 * Makerules (native-compile): Do not change working directory for
2738 build. Use $(OUTPUT_OPTION) in command.
2739 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2740
94e02fc4
AZ
27412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742
2743 [BZ #13886]
2744 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2745 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2746 * math/libm-test.inc (floor_test): Add more tests.
2747 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2748
3a533ca3
JM
27492012-04-24 Joseph Myers <joseph@codesourcery.com>
2750
940ab4b3
JM
2751 * sysdeps/unix/getdents.c: Remove file.
2752 * sysdeps/unix/sysv/getdents.c: Likewise.
2753 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2754
90e037bd
JM
2755 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2756 sysdeps/unix/mman/syscalls.list.
2757 (mmap): Likewise.
2758 (mprotect): Likewise.
2759 (msync): Likewise.
2760 (munmap): Likewise.
2761 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2762 * sysdeps/unix/mman/syscalls.list: Remove.
2763 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2764
3a533ca3
JM
2765 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2766 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2767 * configure: Regenerated.
2768 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2769 $(libgcc_s_suffix).
2770 * config.make.in (libgcc_s_suffix): Remove variable.
2771
1ad743de
JM
27722012-04-23 Joseph Myers <joseph@codesourcery.com>
2773
4ad451e2
JM
2774 * sysdeps/unix/sysv/gethostname.c: Move to ...
2775 * sysdeps/posix/gethostname.c: ... here.
2776
5e37ce39
JM
2777 * sysdeps/unix/execve.S: Remove file.
2778
1ad743de
JM
2779 * sysdeps/unix/_exit.S: Remove file.
2780
4e681b5b
AJ
27812012-04-23 Andreas Jaeger <aj@suse.de>
2782
2783 [BZ #13739]
2784 * manual/Makefile: Remove make dist support, there's no
2785 need for a stand-alone documentation tar ball.
2786 (TEXI2DVI): Define always, it's not in Makeconfig.
2787 (dist): Removed.
2788 (tar-it): Removed.
2789 (edition): Removed.
2790 (glibc-doc-$(edition).tar): Removed
2791 (%.Z): Removed.
2792 (%.gz): Removed.
2793 (%.uu): Removed.
2794 (ETAGS): Remove, it's in Makeconfig.
2795 (move-if-change): Remove, it's in Makeconfig.
2796
c0baea34
PE
27972013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2798
2799 [BZ #13970]
2800 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2801 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2802 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2803 (strtod_l, strtof_l, strtold_l): Remove __wur.
2804 It is not necessarily an error to ignore strtol's return value.
2805 One can reliably look at the stored endptr to decide whether
2806 the number had valid syntax.
2807
7c0616fa
AJ
28082012-04-21 Andreas Jaeger <aj@suse.de>
2809
803cb6b7 2810 [BZ #13739]
7c0616fa
AJ
2811 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2812
b0fe253f
JM
28132012-04-21 Joseph Myers <joseph@codesourcery.com>
2814
2815 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2816 * sysdeps/unix/sysv/Versions: Remove file.
2817
8280f22d
MT
28182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2819
2820 [BZ #13927]
2821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2822
75ce411f 28232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2824
2825 [BZ #7064]
2826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2827 version from __vm86.
2828
097d59fa
JM
28292012-04-20 Joseph Myers <joseph@codesourcery.com>
2830
a90f3bcb
JM
2831 * sysdeps/unix/common/lxstat.c: Remove file.
2832 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2833
edc7ea78
JM
2834 * sysdeps/unix/sysv/Makefile: Remove file.
2835
cb78c221
JM
2836 * sysdeps/unix/sysv/direct.h: Remove file.
2837
efa6a45f
JM
2838 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2839 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2840 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2841 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2842 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2843 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2844 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2845
9c9f2d0c
JM
2846 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2847
4541c83b
JM
2848 * sysdeps/unix/xmknod.c: Remove file.
2849 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2850
f5d153a0
JM
2851 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2852
aa746595
JM
2853 * sysdeps/unix/sysv/i386/time.S: Remove file.
2854
cce5905e
JM
2855 * sysdeps/unix/fxstat.c: Remove file.
2856 * sysdeps/unix/xstat.c: Likewise.
2857 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2858
37fa3841
JM
2859 * sysdeps/unix/sysv/sigaction.c: Remove file.
2860
ff1962a3
JM
2861 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2862 (sysdep_headers): Remove variable.
2863 [termio.h not in sysdep_headers] (generated): Likewise.
2864 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2865 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2866 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2867 * sysdeps/unix/sysv/tcflow.c: Likewise.
2868 * sysdeps/unix/sysv/tcflush.c: Likewise.
2869 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2870 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2871 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2872 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2873 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2874
e7740d31
JM
2875 * sysdeps/unix/siglist.c: Remove file.
2876
ee06f18b
JM
2877 * sysdeps/unix/getppid.S: Remove file.
2878
097d59fa
JM
2879 * sysdeps/unix/mkdir.c: Remove file.
2880 * sysdeps/unix/rmdir.c: Likewise.
2881
ff3d51ec
AS
28822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2883
2884 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2885 ERR_MAX value.
2886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2887 errlist-compat value.
2888
50f81fd7
DM
28892012-04-18 David S. Miller <davem@davemloft.net>
2890
2891 * sysdeps/generic/memcopy.h (reg_char): Delete.
2892 * debug/strcat_chk.c: Use char, not reg_char.
2893 * debug/strcpy_chk.c: Likewise.
2894 * debug/strncat_chk.c: Likewise.
2895 * debug/strncpy_chk.c: Likewise.
2896 * string/memchr.c: Likewise.
2897 * string/memrchr.c: Likewise.
2898 * string/rawmemchr.c: Likewise.
2899 * string/strcat.c: Likewise.
2900 * string/strchr.c: Likewise.
2901 * string/strchrnul.c: Likewise.
2902 * string/strcmp.c: Likewise.
2903 * string/strcpy.c: Likewise.
2904 * string/strncat.c: Likewise.
2905 * string/strncmp.c: Likewise.
2906 * string/strncpy.c: Likewise.
2907
8ff41c46
WS
29082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2909
2910 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2911 __builtin_memcopy is called when src and dest ranges are known to not
2912 overlap.
2913
6b652f46
WS
29142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2915
2916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2917 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2918 fwd_align_merge macro call.
2919 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2920 bwd_align_merge macro call.
2921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2922
b282631e
WS
29232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2924
2925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2926 bwd_align_merge macros.
2927 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2928 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2930
95aa737c
DM
29312012-04-18 David S. Miller <davem@davemloft.net>
2932
2933 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2934
7a99a614
AJ
29352012-04-18 Andreas Jaeger <aj@suse.de>
2936
2937 [BZ# 6794]
2938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2941
2942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2943 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2945
2946 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2947 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2948 Adjust for changed ldbl-128 files.
2949
2950 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2951 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2953
e5270c23
DM
29542012-04-17 David S. Miller <davem@davemloft.net>
2955
2956 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2957
fb5e92c9
AS
29582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2959
2960 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2961 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2962 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2963 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2965 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2966
76da7265
AZ
29672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968
2969 [BZ #6794]
2970 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2971 * math/libm-test.inc: Add ilogb errno and exception tests.
2972 * math/w_ilogb.c: New file: ilogb wrapper.
2973 * math/w_ilogbf.c: New file: ilogbf wrapper.
2974 * math/w_ilogbl.c: New file: ilogbl wrapper.
2975 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2976 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2977 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2978 exception being thrown with 0.0 as argument.
2979 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2980 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2981 exception being thrown with 0.0 as argument.
2982 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2983 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2984 exception being thrown with 0.0 as argument.
2985 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2986 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2987 exception being thrown with 0.0 as argument.
2988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2989 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2990 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2991 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2992 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2993 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2994 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2995 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2996 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2997
0396e69d
PB
29982012-04-17 Petr Baudis <pasky@ucw.cz>
2999
3000 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3001 with altivec.
3002
750b5926
MP
30032012-04-16 Marek Polacek <polacek@redhat.com>
3004
3005 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3006
751728a1
MP
30072012-04-16 Marek Polacek <polacek@redhat.com>
3008
3009 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3010 operands of fdivp instruction.
3011
34a27407
L
30122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3015 * elf/tst-auditmod3b.c: Likewise.
3016 * elf/tst-auditmod4b.c: Likewise.
3017 * elf/tst-auditmod5b.c: Likewise.
3018 * elf/tst-auditmod6b.c: Likewise.
3019 * elf/tst-auditmod6c.c: Likewise.
3020 * elf/tst-auditmod7b.c: Likewise.
3021 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3022 * sysdeps/x86_64/preconfigure.in: Likewise.
3023 * sysdeps/x86_64/preconfigure: Regenerated.
3024
7e73e17d
L
30252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3026
3027 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3028 __ILP32__.
3029
c7a6ab72
AB
30302012-04-13 Antoine Balestrat <merkil33@gmail.com>
3031
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3033 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3034
a9e8e0e0
CL
30352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3036
3037 [BZ #13973]
3038 * locale/iso-639.def: Fix gl language name. Spotted by
3039 Yaron Shahrabani.
3040
ec98af7d
RM
30412012-04-12 Roland McGrath <roland@hack.frob.com>
3042
3043 [BZ #2074]
3044 * libio/libio.h (__io_write_fn): Update comment.
3045
247c3ede
PB
30462012-04-12 Petr Baudis <pasky@ucw.cz>
3047
3048 [BZ #2074]
3049 * stdio.texi (Hook Functions): The user provided writer function
3050 is not allowed to return -1.
3051
55939d6d
DM
30522012-04-11 David S. Miller <davem@davemloft.net>
3053
3054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3055
90020f5a
MF
30562012-04-11 Mike Frysinger <vapier@gentoo.org>
3057
3058 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3059 Add a leading slash to rtkaio.
3060
288f9098
JM
30612012-04-11 Jim Meyering <meyering@redhat.com>
3062
90020f5a
MF
3063 [BZ #11959]
3064 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3065 It is not necessarily an error to ignore fwrite's return
3066 value. One can reliably use ferror to test for errors after
3067 the fact.
288f9098 3068
4be2b570
L
30692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * bits/types.h (__snseconds_t): New type.
3072 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3073
3074 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3076 (__SNSECONDS_T_TYPE): Likewise.
3077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3078 (__SNSECONDS_T_TYPE): Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3080 (__SNSECONDS_T_TYPE): Likewise.
3081
288f9098 30822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3083
3084 [BZ #2636]
3085 * manual/time.texi (Processor Time): Return type of times is
3086 elapsed real time since an arbitrary point in the past.
3087 (CPU Time): Move CLK_TCK from here...
3088 (Processor Time): ...to here. Correct description.
3089 * manual/conf.texi (Constants for Sysconf): Correct description of
3090 _SC_CLK_TCK.
3091
d7dd4413
DM
30922012-04-10 David S. Miller <davem@davemloft.net>
3093
3094 [BZ #13967]
3095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3096 where the is a gap between DT_REL(A) and DT_JMPREL.
3097
b46068fc
L
30982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3101 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3102 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3103
73d65cc3
SP
31042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3105
3106 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3107 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3108 (dl_main): Handle --inhibit-cache.
3109 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3110 _dl_inhibit_cache.
3111 * elf/dl-load.c (_dl_map_object): Use it.
3112 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3113
bcc8d661
JM
31142012-04-09 Joseph Myers <joseph@codesourcery.com>
3115
8f9a2fae
JM
3116 [BZ #13872]
3117 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3118 (__ieee754_powl): Saturate large exponents rather than testing for
3119 overflow of y*log2(x).
3120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3121 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3122 exceptions.
3123
bcc8d661
JM
3124 [BZ #11521]
3125 * math/s_ctan.c: Include <float.h>.
3126 (__ctan): Avoid internal overflow or cancellation in calculating
3127 denominator.
3128 * math/s_ctanf.c: Likewise.
3129 * math/s_ctanl.c: Likewise.
3130 * math/s_ctanh.c: Likewise.
3131 * math/s_ctanhf.c: Likewise.
3132 * math/s_ctanhl.c: Likewise.
3133 * math/libm-test.inc (ctan_test): Add more tests.
3134 (ctanh_test): Likewise.
3135 * sysdeps/i386/fpu/libm-test-ulps: Update.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137
823fbbb4
AJ
31382012-04-09 Andreas Jaeger <aj@suse.de>
3139
03879793
AJ
3140 [BZ #6894]
3141 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3142 is an optional BSD extension.
3143
823fbbb4
AJ
3144 [BZ #10254]
3145 * manual/stdio.texi (Opening Streams): Document additional fopen
3146 parameters.
3147
8de131cb
RM
31482012-04-09 Roland McGrath <roland@hack.frob.com>
3149
3150 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3151 %eax without telling the compiler.
3152
c0ed9d7d
CD
31532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3154
3155 [BZ # 13963]
3156 * manual/install.texi: Use sourceware.org.
3157
c483f6b4
JM
31582012-04-09 Joseph Myers <joseph@codesourcery.com>
3159
d7dd9453
JM
3160 [BZ #13873]
3161 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3162 (__ieee754_pow): Generate overflow and underflow using huge*huge
3163 and tiny*tiny rather than just returning constant infinity or zero
3164 for large exponents.
3165 * math/libm-test.inc (pow_test): Require overflow exceptions for
3166 applicable cases of large exponents.
3167
c483f6b4
JM
3168 [BZ #706]
3169 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3170 (__ieee754_pow): Use iterative multiplication algorithm only for
3171 integer exponents with absolute value below 1024. Check for odd
3172 integer exponents when using algorithm for real exponents.
3173 * math/libm-test.inc (pow_test): Add more tests.
3174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3175
d2de7579
JM
31762012-04-08 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #13705]
3179 * math/libm-test.inc (exp_test): Do not allow overflow exception
3180 on underflow test.
3181
f77f1232
AJ
31822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3183
3184 [BZ #13705]
3185 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3186 instead of __kernel_standard_f.
3187
3884932b
MF
31882012-04-08 Mike Frysinger <vapier@gentoo.org>
3189
3190 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3191 * sysdeps/x86_64/memset_chk.S: Likewise.
3192
54472e9c
AJ
31932012-04-08 Andreas Jaeger <aj@suse.de>
3194
6ab0fbfc
AJ
3195 [BZ #10153]
3196 * manual/startup.texi (Environment Access): Describe return value
3197 for putenv and setenv.
3198
61efba8c
AJ
3199 [BZ #6895]
3200 * manual/filesys.texi (Directory Entries): Add description for
3201 DT_LNK.
3202
95c3f29a
AJ
3203 [BZ #6890]
3204 * manual/filesys.texi (Directory Entries): Clarify that it's file
3205 system not operating system in the description of DT_UNKNOWN.
3206
54472e9c
AJ
3207 [BZ #6578]
3208 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3209
624254b1
SC
32102012-04-08 Stephen Compall <s11@member.fsf.org>
3211
3212 [BZ #6649]
3213 * manual/llio.texi (Opening and Closing Files): Add cross
3214 reference to explain mode argument.
3215
1e4920e0
MF
32162012-04-07 Mike Frysinger <vapier@gentoo.org>
3217
3218 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3219 * sysdeps/x86_64/memset_chk.S: Likewise.
3220
5ed848f3
DM
32212012-04-07 David S. Miller <davem@davemloft.net>
3222
3223 * elf/elf.h (R_SPARC_WDISP10): Define.
3224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3225 R_SPARC_SIZE32.
3226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3227 R_SPARC_SIZE64 and R_SPARC_H34.
3228
96154cd8
CD
32292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3230
3231 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3232 conditions and remove no longer applicable assertion.
3233
9904dc47
L
32342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3235
3236 * bits/byteswap.h: Include <features.h>.
3237 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3238 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3239
f8887d0a
L
32402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3241
3242 * bits/byteswap.h (__bswap_16): Removed.
3243 Include <bits/byteswap-16.h> to get __bswap_16.
3244 * sysdeps/i386/bits/byteswap.h: Likewise.
3245 * sysdeps/s390/bits/byteswap.h: Likewise.
3246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3247 * bits/byteswap-16.h: New file.
3248 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3249 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3250 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3251 * string/Makefile (headers): Add bits/byteswap-16.h.
3252
62470f60
PP
32532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3254
3255 [BZ #13895]
3256 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3257 extra indirection.
3258 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3259 * nss/tst-nss-static.c: New.
3260
4dad7bab
RM
32612012-04-06 Robert Millan <rmh@gnu.org>
3262
3263 [BZ #6486]
3264 * manual/llio.texi (File Position Primitive): lseek
3265 refers to WHENCE when it really means OFFSET.
3266
e9142a17
AJ
32672012-04-06 Andreas Jaeger <aj@suse.de>
3268
2c040eff
AJ
3269 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3270 strncmp declarations.
3271
e9142a17
AJ
3272 * abilist/libc.abilist: Add __poll and __ppoll.
3273
ff9f1c5f
DM
32742012-04-05 David S. Miller <davem@davemloft.net>
3275
dcd2ae90
DM
3276 * scripts/check-local-headers.sh: Accept a host triplet in the
3277 path matched by the exclude regexp.
3278
993eb054
DM
3279 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3280 definition.
3281 * sysdeps/powerpc/powerpc32/dl-machine.h
3282 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3283 * sysdeps/s390/s390-32/dl-machine.h
3284 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3285 * sysdeps/sparc/sparc32/dl-machine.h
3286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3287 * sysdeps/sparc/sparc64/dl-machine.h
3288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3289
ff9f1c5f
DM
3290 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3291 lazy binding.
48e2e132 3292 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3293 undefined symbol errors.
3294
48e2e132 3295 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3296 DT_NEEDED entries.
3297
e80d6f94
MM
32982012-04-05 Michael Matz <matz@suse.de>
3299
3300 [BZ #13592]
3301 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3302
349fa79f
AJ
33032012-04-05 Andreas Jaeger <aj@suse.de>
3304
3305 [BZ #13908]
3306 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3307 comment.
3308
f402708f
KK
33092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3310
3311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3312 which ROUND is no valid rounding mode.
3313
2ecccfc9
KK
33142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3315
3316 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3317 read again.
3318 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3319
8a53f50f
KK
33202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3321
3322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3323 an exception using FPU order intentionally.
3324
33252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3326
3327 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3328 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3329 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3330 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3331
d653abb7
SJ
33322012-04-05 Simon Josefsson <simon@josefsson.org>
3333
3334 [BZ #12340]
3335 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3336 EINVAL when BUFLEN is too smal.
3337
c3b1bf7d
TS
33382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3339
3340 [BZ #13553]
3341 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3342 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3343
b1aa60f3
AJ
33442012-04-03 Andreas Jaeger <aj@suse.de>
3345
c3b1bf7d 3346 [BZ #13938]
67f60a26
AJ
3347 * manual/setjmp.texi (System V contexts): Fix sentence.
3348
b1aa60f3
AJ
3349 [BZ #13926]
3350 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3351 New macro for this case.
3352 [!__GNUC__] (__bswap_64): New inline function for this case.
3353 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3354 * bits/byteswap.h: Likewise.
3355 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3356 ull, guard with __GLIBC_HAVE_LONG_LONG.
3357
3358 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3359 __GLIBC_HAVE_LONG_LONG.
3360
3361 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3362 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3363
39c59c35
TMQMF
33642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3365
3366 [BZ #13691]
3367 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3368 inptr and inend, rather than using last_ch.
3369
135ffda8
DM
33702012-04-02 David S. Miller <davem@davemloft.net>
3371
3372 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3373 * stdio-common/printf-parse.h (read_int): Change return type to
3374 'int', return -1 on INT_MAX overflow.
3375 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3376 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3377 overflows INT_MAX. Check for overflow of in-format-string precision
3378 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3379 SIZE_MAX not INT_MAX for integer overflow test.
3380 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3381 skip the construct in the format string but do not record anything.
3382 * stdio-common/bug22.c: Adjust to test both width/prevision
3383 INT_MAX overflow as well as total length INT_MAX overflow. Check
3384 explicitly for proper errno values.
3385
228c019e
TS
33862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3387
302cadd3
TS
3388 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3389 CHAR_MAX.
3390 * string/test-strcmp.c [! WIDE]: Likewise.
3391 * time/tst-mktime2.c: Likewise for INT_MAX.
3392 * string/test-string.h: #include <sys/param.h> for MIN.
3393
228c019e
TS
3394 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3395 * sysdeps/i386/init-first.c (init): Likewise.
3396 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3397 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3398 * sysdeps/sh/init-first.c (init): Likewise.
3399
cfa633f5
UD
34002012-04-01 Ulrich Drepper <drepper@gmail.com>
3401
3402 * po/ru.po: Update from translation team.
d1635ef8 3403 * po/vi.po: Likewise.
cfa633f5 3404
6cd0a5ea
SP
34052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3406
3407 * resolv/nss_dns/dns-host.c: Merge copyright years.
3408
4b43400f
LD
34092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3410
3411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3412 Optimize memcpy with prefetch if
3413 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3414 src, dst pointers have unequal 16 byte alignments.
3415
48c41d04
SP
34162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3417
3418 [BZ #13928]
3419 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3420 from a CNAME entry and return the minimum ttl for the query.
3421 (gaih_getanswer_slice): Likewise.
3422
b8dc394d
JL
34232012-03-30 Jeff Law <law@redhat.com>
3424
3425 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3426 due to long keys.
3427 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3428 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3429
2f5a5ed0
JL
3430 * resolv/nss_dns/dns-host.c: Update copyright year.
3431
1d39e359
UD
34322012-03-30 Ulrich Drepper <drepper@gmail.com>
3433
c030f70c 3434 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3435 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3436
1d39e359
UD
3437 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3438 comments for sendmmsg.
3439
34402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3441
3442 [BZ #13691]
3443 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3444 with only 1 character between 0x0041 and 0x01b0.
3445 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3446 * wcsmbs/tst-mbsnrtowcs.c: New file.
3447
20fde227
DM
34482012-03-29 David S. Miller <davem@davemloft.net>
3449
3450 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3451 small copies by hand.
3452
984a4237
JL
34532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3454
3455 [BZ #13761]
3456 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3457 _nss_compat_initgroups_dyn): Fall back to malloc/free
3458 for large group memberships.
3459
18c9d62b
DM
34602012-03-28 David S. Miller <davem@davemloft.net>
3461
88d85d4f
DM
3462 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3463 that branches into memcpy.
3464 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3467 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3469 bits.
3470 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3471 implementation too.
3472 * sysdeps/sparc/mempcpy.S: New file.
3473
e5aa83e1
DM
3474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3475 the IFUNC routine in the libc case.
3476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3477
88570753
DM
3478 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3479 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3480 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3481 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3482 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3483 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3484 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3485 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3486
249d7567
DM
3487 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3488 loop to 256 bytes instead of 64 bytes and fix test signedness.
3489
18c9d62b
DM
3490 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3491 * sysdeps/sparc/sparc32/Makefile: rather than here...
3492 * sysdeps/sparc/sparc64/Makefile: and here.
3493
05f3d1f6
UD
34942012-03-28 Ulrich Drepper <drepper@gmail.com>
3495
3496 * malloc/mallocbug.c: Avoid warnings about unused variables.
3497
86ae07a8
JL
34982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3499
3500 [BZ #13760]
3501 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3502 in the right place. Discard and retry query if response is
3503 larger than input buffer size.
3504
41bf21a1
JM
35052012-03-28 Joseph Myers <joseph@codesourcery.com>
3506
d6270972
JM
3507 [BZ #369]
3508 [BZ #2678]
3509 [BZ #3866]
3510 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3511 x for large integer exponent.
3512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3514 sign of result as needed afterwards.
3515 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3516 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3517 result for underflowing pow the same as for overflow.
3518 (__kernel_standard_l): Handle powl overflow and underflow here
3519 rather than calling __kernel_standard.
3520 * math/libm-test.inc (pow_test): Add more tests.
3521
414fca03 3522 [BZ #3868]
41bf21a1
JM
3523 [BZ #13879]
3524 [BZ #13910]
3525 [BZ #13911]
3526 [BZ #13912]
3527 [BZ #13913]
3528 [BZ #13915]
3529 [BZ #13916]
3530 [BZ #13917]
3531 [BZ #13918]
3532 [BZ #13919]
3533 [BZ #13920]
3534 [BZ #13921]
3535 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3536 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3537 (__kernel_standard_l): New function.
3538 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3539 __kernel_standard.
3540 * math/w_acosl.c (__acosl): Likewise.
3541 * math/w_asinl.c (__asinl): Likewise.
3542 * math/w_atan2l.c (__atan2l): Likewise.
3543 * math/w_atanhl.c (__atanhl): Likewise.
3544 * math/w_coshl.c (__coshl): Likewise.
3545 * math/w_exp10l.c (__exp10l): Likewise.
3546 * math/w_exp2l.c (__exp2l): Likewise.
3547 * math/w_fmodl.c (__fmodl): Likewise.
3548 * math/w_hypotl.c (__hypotl): Likewise.
3549 * math/w_j0l.c (__j0l, __y0l): Likewise.
3550 * math/w_j1l.c (__j1l, __y1l): Likewise.
3551 * math/w_jnl.c (__jnl, __ynl): Likewise.
3552 * math/w_lgammal.c (__lgammal): Likewise.
3553 * math/w_log10l.c (__log10l): Likewise.
3554 * math/w_log2l.c (__log2l): Likewise.
3555 * math/w_logl.c (__logl): Likewise.
3556 * math/w_powl.c (__powl): Likewise.
3557 * math/w_remainderl.c (__remainderl): Likewise.
3558 * math/w_scalbl.c (sysv_scalbl): Likewise.
3559 * math/w_sinhl.c (__sinhl): Likewise.
3560 * math/w_sqrtl.c (__sqrtl): Likewise.
3561 * math/w_tgammal.c (__tgammal): Likewise.
3562 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3563 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3564 * math/libm-test.inc (acos_test): Add more tests.
3565 (acosh_test): Likewise.
3566 (asin_test): Likewise.
3567 (atanh_test): Likewise.
3568 (exp_test): Likewise.
3569 (exp10_test): Likewise.
3570 (exp2_test): Likewise.
3571 (expm1_test): Likewise.
3572 (lgamma_test): Likewise.
3573 (log_test): Likewise.
3574 (log10_test): Likewise.
3575 (log1p_test): Likewise.
3576 (log2_test): Likewise.
3577 (pow_test): Do not allow some spurious overflow exceptions.
3578 (sqrt_test): Add more tests.
3579 (tgamma_test): Likewise.
3580 (y0_test): Likewise.
3581 (y1_test): Likewise.
3582 (yn_test): Likewise.
3583
dd62fda6
AB
35842012-03-27 Anton Blanchard <anton@samba.org>
3585
3586 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3587 MAP_HUGETLB.
3588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3591
1e3cdfda
AJ
35922012-03-27 David S. Miller <davem@davemloft.net>
3593
b855ab85
DM
3594 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3595
1e3cdfda
AJ
3596 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3597 have-as-vis3 check.
3598
35992012-03-27 Andreas Jaeger <aj@suse.de>
3600
3601 * sysdeps/x86_64/elf/configure.in: Moved to ...
3602 * sysdeps/x86_64/configure.in: ... here.
3603 * sysdeps/x86_64/elf/start.S: Moved to ...
3604 * sysdeps/x86_64/start.S: ... here.
3605 * sysdeps/x86_64/elf/configure: Delete.
3606
3607 * sysdeps/x86_64/configure.in: Merge contents from
3608 sysdeps/i386/configure.in (without i686 check).
3609
3610 * sysdeps/i386/elf/Versions: Merge into ...
3611 * sysdeps/i386/Versions: ... this.
3612 * sysdeps/i386/elf/Versions: Delete file.
3613 * sysdeps/i386/elf/start.S: Moved to ...
3614 * sysdeps/i386/start.S: ...here.
3615 * sysdeps/i386/elf/configure.in: Merge into...
3616 * sysdeps/i386/configure.in: ...here.
3617 * sysdeps/i386/elf/configure.in: Delete file.
3618 * sysdeps/i386/elf/configure: Delete file.
3619
3620 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3621 * debug/backtracesyms.c: ... here.
3622 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3623 * debug/backtracesymsfd.c: ... here.
3624 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3625 * sysdeps/generic/ifunc-sel.h: ... here.
3626
3627 * sysdeps/unix/i386/start.c: Delete file.
3628 * sysdeps/unix/sparc/start.c: Delete file.
3629 * sysdeps/unix/start.c: Delete file.
3630
3631 * sysdeps/sh/elf/configure.in: Moved to ...
3632 * sysdeps/sh/configure.in: ... here.
3633 * sysdeps/sh/elf/start.S: Moved to ...
3634 * sysdeps/sh/start.S: ... here.
3635 * sysdeps/sh/elf/configure: Delete file.
3636
3637 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3638 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3639 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3640 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3641 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3642 * sysdeps/powerpc/powerpc64/start.S: here.
3643 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3644 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3645 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3646 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3647 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3648
3649 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3650 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3651 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3652 * sysdeps/powerpc/powerpc32/start.S: ... here.
3653 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3654 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3655 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3656
3657 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3658 * sysdeps/powerpc/ifunc-sel.h: ... here.
3659 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3660 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3661
3662 * sysdeps/sparc/elf/configure.in: Moved to ...
3663 * sysdeps/sparc/configure.in: ... here.
3664 * sysdeps/sparc/elf/configure: Delete file.
3665 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3666 * sysdeps/sparc/sparc32/start.S: ... here.
3667 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3668 * sysdeps/sparc/sparc64/start.S: ... here.
3669 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3670 * sysdeps/sparc/sparc32/Makefile: ... this.
3671 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3672 * sysdeps/sparc/sparc64/Makefile: ... this.
3673
3674 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3675 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3676 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3677 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3678 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3679 * sysdeps/s390/s390-32/setjmp.S: ... here.
3680 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3681 * sysdeps/s390/s390-32/configure.in: ... here.
3682 * sysdeps/s390/s390-32/elf/configure: Delete file.
3683 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3684 * sysdeps/s390/s390-32/start.S: ... here.
3685
3686 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3687 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3688 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3689 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3690 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3691 * sysdeps/s390/s390-64/setjmp.S: ... here.
3692 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3693 * sysdeps/s390/s390-64/configure.in: ... here
3694 * sysdeps/s390/s390-64/elf/configure: Delete file.
3695 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3696 * sysdeps/s390/s390-64/start.S: ... here.
3697 * sysdeps/s390/s390-64/elf/configure: Delete.
3698
3699 * configure.in: Remove support for elf directories in sysdeps.
3700
3701 * configure: Regenerated.
3702 * sysdeps/i386/configure: Regenerated.
3703 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3704 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3705 * sysdeps/s390/s390-32/configure: Regenerated.
3706 * sysdeps/s390/s390-64/configure: Regenerated.
3707 * sysdeps/sh/configure: Regenerated.
3708 * sysdeps/sparc/configure: Regenerated.
3709 * sysdeps/x86_64/configure: Regenerated.
3710
a3f61311
AS
37112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3712
c876e002
AS
3713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3714
a3f61311
AS
3715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3716 denormal result into account.
3717
ac4c54f0
RM
37182012-03-25 Roland McGrath <roland@hack.frob.com>
3719
3720 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3721 Reported by Allan McRae <allan@archlinux.org>.
3722
6a9b9c02
JL
37232012-03-23 Jeff Law <law@redhat.com>
3724
3725 * nss/getnssent.c (__nss_getent): Fix typo.
3726
4c42a0c1
DM
37272012-03-23 David S. Miller <davem@davemloft.net>
3728
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3730
1532c7ac
L
37312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3734 to pad to uint64_t for each field.
3735 (dl_tls_index): Replace unsigned long with uint64_t.
3736
3ff42526
PP
37372012-03-23 Daniel Jacobowitz <dmj@google.com>
3738 Paul Pluzhnikov <ppluzhnikov@google.com>
3739
3740 [BZ #6528]
3741 * grp/Makefile (otherlibs): Don't set it.
3742 * inet/Makefile (otherlibs): Likewise.
3743 * login/Makefile (otherlibs): Likewise.
3744 * nscd/Makefile (otherlibs): Likewise.
3745 * posix/Makefile (otherlibs): Likewise.
3746 * pwd/Makefile (otherlibs): Likewise.
3747 * rt/Makefile (otherlibs): Likewise.
3748 * sunrpc/Makefile (otherlibs): Likewise.
3749 * nss/Makefile (otherlibs): Likewise.
3750 Add libnss_files to routines and static-only-routines.
3751 ($(objpfx)getent): Remove rule.
3752 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3753 static-only-routines.
3754
7c69cd14
JM
37552012-03-22 Joseph Myers <joseph@codesourcery.com>
3756
3757 [BZ #13892]
3758 * math/s_cexp.c: Include <float.h>.
3759 (__cexp): Handle exp result overflowing not necessarily
3760 overflowing both real and imaginary parts of result.
3761 * math/s_cexpf.c: Likewise.
3762 * math/s_cexpl.c: Likewise.
3763 * math/libm-test.inc (cexp_test): Add more tests.
3764 * sysdeps/i386/fpu/libm-test-ulps: Update.
3765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3766
81b035fe
L
37672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 * include/link.h (ELFW): New macro.
3770 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3771 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3772
1da7940c
L
37732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3776 with uint64_t.
3777
b749dbb9
L
37782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3781 declaration.
3782 (struct La_x32_retval): Likewise.
3783
2ff87f3f
L
37842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 * sysdeps/x86_64/preconfigure.in: New file.
3787 * sysdeps/x86_64/preconfigure: New generated file.
3788
c0df8e69
JM
37892012-03-22 Joseph Myers <joseph@codesourcery.com>
3790
48e44791
JM
3791 [BZ #13824]
3792 * math/e_exp2l.c: Include <float.h>.
3793 (__ieee754_exp2l): Handle overflow and underflow cases
3794 separately. Only pass fractional part of argument to
3795 __ieee754_expl.
3796 * math/libm-test.inc (exp2_test): Add more tests.
3797
c0df8e69
JM
3798 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3799 negating x to take absolute value.
3800 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3801 Likewise.
3802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3804 Likewise.
3805 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3806 computing low part if x was negated.
3807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3808
c8e43ba7
L
38092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3810
3811 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3812 la_x32_gnu_pltexit.
3813 (pltexit): Cast int_retval to ptrdiff_t.
3814 * elf/tst-auditmod3b.c: Likewise.
3815 * elf/tst-auditmod4b.c: Likewise.
3816 * elf/tst-auditmod5b.c: Likewise.
3817 * elf/tst-auditmod6b.c: Likewise.
3818 * elf/tst-auditmod6c.c: Likewise.
3819 * elf/tst-auditmod7b.c: Likewise.
3820
3821 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3822 and x32_gnu_pltexit.
3823
3824 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3825 __ELF_NATIVE_CLASS.
3826 (La_x32_regs): New macro.
3827 (La_x32_retval): Likewise.
3828 (la_x32_gnu_pltenter): New function prototype.
3829 (la_x32_gnu_pltexit): Likewise.
3830
7998fa78
AS
38312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3832
dcb33988
AS
3833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3834 exponent.
3835
233fc563
AS
3836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3837
7998fa78
AS
3838 * configure.in (libc_cv_cc_nofma): Check for option to disable
3839 generation of FMA instructions.
3840 * configure: Regenerate.
3841 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3842 * sysdeps/ieee754/dbl-64/Makefile: New file.
3843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3844 Remove brandred-fma4.
3845 (CFLAGS-brandred-fma4.c): Remove.
3846 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3847 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3848 define.
3849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3850 define.
3851
8e95c99a
L
38522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3853
3854 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3855 LLONG_MAX != LONG_MAX.
3856 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3857 (_fitoa_word): Likewise.
3858 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3859 LLONG_MAX != LONG_MAX.
3860 * stdio-common/_itowa.h: Include <_itoa.h>.
3861 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3862 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3863 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3864 only if not defined.
3865 (_ITOA_WORD_TYPE): Likewise.
3866 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3867 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3868
6f4db457
DM
38692012-03-21 David S. Miller <davem@davemloft.net>
3870
3871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3872
7785fe5a
L
38732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3876 of x86_64 when setting libc_cv_slibdir, libdir and
3877 libc_cv_localedir.
3878 * sysdeps/unix/sysv/linux/configure: Regenerated.
3879
4535cd55
JM
38802012-03-21 Joseph Myers <joseph@codesourcery.com>
3881
3882 * manual/lang.texi (Old Varargs): Remove section.
3883 (How Variadic): Update menu.
3884 (va_start): Do not mention varargs.h.
3885
17228132
TS
38862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3887 Joseph Myers <joseph@codesourcery.com>
3888
3889 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3890 link test.
3891 * configure: Regenerated.
3892
8149f976
TS
38932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3894
05f3d1f6
UD
3895 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3896 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3897 conformtest.pl
8149f976 3898
1a4ac776
JM
38992012-03-21 Joseph Myers <joseph@codesourcery.com>
3900
be22ce65
JM
3901 * NOTES: Remove.
3902 * Makefile (files-for-dist): Remove NOTES.
3903 (NOTES): Remove rule.
3904 * README: Don't refer to NOTES.
3905 * manual/creature.texi: Don't include macros.texi.
3906 * manual/intro.texi (creature.texi): Remove comment referring to
3907 NOTES.
3908
40b601fb
JM
3909 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3910 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3911 * configure: Regenerated.
3912 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3913 LIBC_TRY_CC_OPTION.
3914 (libc_cv_as_i686): Likewise.
3915 (libc_cv_cc_avx): Likewise.
3916 (libc_cv_cc_sse2avx): Likewise.
3917 (libc_cv_cc_fma4): Likewise.
3918 (libc_cv_cc_novzeroupper): Likewise.
3919 * sysdeps/i386/configure: Regenerated.
3920
1a4ac776
JM
3921 [BZ #13883]
3922 * sysdeps/i386/fpu/s_cexp.S: Remove.
3923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3925 * math/libm-test.inc (cexp_test): Add more tests.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928
a458e7fe
AM
39292012-03-21 Allan McRae <allan@archlinux.org>
3930
3931 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3932
0cb7efc5
JM
39332012-03-21 Joseph Myers <joseph@codesourcery.com>
3934
3935 [BZ #13871]
3936 * math/w_exp2.c: Do not include <float.h>.
3937 (o_threshold, u_threshold): Remove.
3938 (__exp2): Calculate result before checking finiteness and calling
3939 __kernel_standard.
3940 * math/w_exp2f.c: Likewise.
3941 * math/w_exp2l.c: Likewise.
3942 * math/libm-test.inc (exp2_test): Require overflow exception for
3943 1e6 input.
2460d3aa
JM
3944
3945 [BZ #3866]
3946 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3947 range of signed 64-bit integers before using fistpll. Remove
3948 checks for whether integers fit in mantissa bits.
3949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3950 the range of signed 32-bit integers before using fistpl. Remove
3951 checks for whether integers fit in mantissa bits.
3952 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3953 (__ieee754_powl): Test for y outside the range of signed 64-bit
3954 integers before using fistpll. Reduce 64-bit values to 63-bit
3955 ones as needed.
3956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3957 divide-by-zero is raised for zero to large negative powers.
3958 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3959 (__ieee754_powl): Test for y outside the range of signed 64-bit
3960 integers before using fistpll. Reduce 64-bit values to 63-bit
3961 ones as needed.
3962 * math/libm-test.inc (pow_test): Add more tests.
3963
eb96ffb0
L
39642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3967 <stdio-common/_itoa.h>.
3968 * debug/segfault.c: Likewise.
3969 * elf/dl-cache.c: Likewise.
3970 * elf/dl-minimal.c: Likewise.
3971 * elf/dl-misc.c: Likewise.
3972 * elf/dl-sysdep.c: Likewise.
3973 * elf/dl-version.c: Likewise.
3974 * elf/rtld.c: Likewise.
3975 * hurd/hurdsock.c: Likewise.
3976 * hurd/lookup-retry.c: Likewise.
3977 * malloc/malloc.c: Likewise.
3978 * malloc/mtrace.c: Likewise.
3979 * nscd/nscd_getgr_r.c: Likewise.
3980 * nscd/nscd_getpw_r.c: Likewise.
3981 * nscd/nscd_getserv_r.c: Likewise.
3982 * posix/getopt_init.c: Likewise.
3983 * posix/wordexp.c: Likewise.
3984 * stdio-common/_itoa.c: Likewise.
3985 * stdio-common/printf_fphex.c: Likewise.
3986 * stdio-common/vfprintf.c: Likewise.
3987 * string/_strerror.c: Likewise.
3988 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3989 * sysdeps/i386/i686/hp-timing.h: Likewise.
3990 * sysdeps/mach/_strerror.c: Likewise.
3991 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3992 * sysdeps/mach/hurd/sethostid.c: Likewise.
3993 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3994 * sysdeps/mach/xpg-strerror.c: Likewise.
3995 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3997 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3998 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3999 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4000 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4002 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4003 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4004 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4005 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4006 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4009 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4011 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4012 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4013 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4014 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4015 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4016
4017 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4018
4019 * stdio-common/_itoa.h: Moved to ...
4020 * sysdeps/generic/_itoa.h: Here.
4021
4022 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4023
4024 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4025 instead of "_itoa.h" and "_itowa.h".
4026 * stdio-common/vfprintf.: Likewise.
4027
d1af992d
L
40282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4031 <bits/wordsize.h>.
4032 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4033 (__signbit): Likwise.
4034 (llrintf): Likwise.
4035 (llrint): Likwise.
4036
114883e0
L
40372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4040 __WORDSIZE != 64.
4041
c135cc1b
JM
40422012-03-20 Joseph Myers <joseph@codesourcery.com>
4043
4044 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4045 OVERFLOW_EXCEPTION_OK.
4046 * math/libm-test.inc ("Philosophy"): Update comment about
4047 exception testing.
4048 (OVERFLOW_EXCEPTION): Define.
4049 (OVERFLOW_EXCEPTION_OK): Likewise.
4050 (INVALID_EXCEPTION_OK): Renumber.
4051 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4052 (IGNORE_ZERO_INF_SIGN): Likewise.
4053 (test_exceptions): Handle FE_OVERFLOW.
4054 (exp10_test): Expect overflow exceptions.
4055 (exp2_test): Likewise.
4056 (expm1_test): Likewise.
4057 (nextafter_test): Likewise.
4058 (pow_test): Likewise.
4059 (scalbn_test): Likewise.
4060 (scalbln_test): Likewise.
4061
95443d88
L
40622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/x86_64/bits/atomic.h
4065 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4066 64bit integer.
4067 (atomic_exchange_acq): Likewise.
4068 (__arch_exchange_and_add_body): Likewise.
4069 (__arch_add_body): Likewise.
4070 (atomic_add_negative): Likewise.
4071 (atomic_add_zero): Likewise.
4072
490df6c4
L
40732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4074
c2722551 4075 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4076 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4077
5e52b189
L
40782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4081 Check __x86_64__ instead of __WORDSIZE.
4082
a9879d4c
L
40832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4084
4085 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4086
5df98260
DM
40872012-03-19 David S. Miller <davem@davemloft.net>
4088
e1497744
DM
4089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4090
5df98260
DM
4091 * sysdeps/sparc/fpu/fenv_private.h: New file.
4092 * sysdeps/sparc/fpu/math_private.h: Use it.
4093 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4094 Remove.
4095 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4096 (libc_feholdexcept_setroundl): Remove.
4097 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4098 Remove.
4099 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4100 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4101
b4c35121
L
41022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4105 int64_t instead of long int.
4106 (INSERT_WORDS64): Likwise.
4107
56965fd7
L
41082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4109
4110 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4111 _Unwind_GetCFA return to _Unwind_Ptr first.
4112
83d1aec8
JM
41132012-03-19 Joseph Myers <joseph@codesourcery.com>
4114
1897ad44
JM
4115 [BZ #13629]
4116 * math/s_clog.c: Include <float.h>.
4117 (__clog): Scale large or subnormal inputs.
4118 * math/s_clogf.c: Likewise.
4119 * math/s_clogl.c: Likewise.
4120 * math/s_clog10.c: Include <float.h>.
4121 (M_LOG10_2): Define.
4122 (__clog10): Scale large or subnormal inputs.
4123 * math/s_clog10f.c: Likewise.
4124 * math/s_clog10l.c: Likewise.
4125 * math/libm-test.inc (clog_test): Add more tests.
4126 (clog10_test): Likewise.
4127 * sysdeps/i386/fpu/libm-test-ulps: Update.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4129
7726d6a9
JM
4130 [BZ #11451]
4131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4132 x and y.
4133 * math/libm-test.inc (atan2_test): Add another test.
4134
83d1aec8
JM
4135 * Makerules (common-objdir-compile): Remove.
4136 * sysdeps/unix/Makefile (config-generated): Do not add
4137 $(unix-generated) to variable.
4138 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4139 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4140 Remove rule.
4141 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4142 Likewise.
4143 [generic bits/local_lim.h] (before-compile): Do not append to
4144 variable.
4145 [generic bits/local_lim.h] (common-generated): Likewise.
4146 [generic sys/param.h] (before-compile): Do not append to variable.
4147 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4148 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4149 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4150 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4151 include.
4152 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4153 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4154 [generic sys/param.h] ($(addprefix
4155 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4156 [generic sys/param.h] (common-generated): Do not append to
4157 variable.
4158 [generic sys/param.h] (sysdep_headers): Likewise.
4159 [generic bits/errno.h] (before-compile): Do not append to
4160 variable.
4161 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4162 rule.
4163 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4164 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4165 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4166 [generic bits/errno.h] (common-generated): Do not append to
4167 variable.
4168 [generic bits/ioctls.h] (before-compile): Do not append to
4169 variable.
4170 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4171 rule.
4172 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4173 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4174 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4175 rule.
4176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4177 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4178 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4179 [generic bits/ioctls.h] (common-generated): Do not append to
4180 variable.
4181 [generic sys/syscall.h] (syscall.h): Remove variable.
4182 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4183 rule.
4184 [generic sys/syscall.h] (before-compile): Do not append to
4185 variable.
4186 [generic sys/syscall.h] (common-generated): Likewise.
4187 * sysdeps/unix/errnos-tmpl.c: Remove file.
4188 * sysdeps/unix/errnos.awk: Likewise.
4189 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4190 * sysdeps/unix/ioctls.awk: Likewise.
4191 * sysdeps/unix/mk-local_lim.c: Likewise.
4192 * sysdeps/unix/snarf-ioctls: Likewise.
4193
4851a949
RH
41942012-03-19 Richard Henderson <rth@twiddle.net>
4195
bd37f2ee
RH
4196 * sysdeps/i386/fpu/fenv_private.h: New file.
4197 * sysdeps/i386/fpu/math_private.h: Use it.
4198 (math_opt_barrier, math_force_eval): Remove.
4199 (libc_feholdexcept_setround_53bit): Remove.
4200 (libc_feupdateenv_53bit): Remove.
4201 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4202 (math_opt_barrier, math_force_eval): Remove.
4203 (libc_feholdexcept): Remove.
4204 (libc_feholdexcept_setround): Remove.
4205 (libc_fetestexcept, libc_fesetenv): Remove.
4206 (libc_feupdateenv_test): Remove.
4207 (libc_feupdateenv, libc_feholdsetround): Remove.
4208 (libc_feresetround): Remove.
4209
d0adc922
RH
4210 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4211 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4212
0fe0f1f8
RH
4213 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4214 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4215 (libc_feupdateenv_testl): New.
4216 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4217 (libc_feupdateenv_testf): New.
4218 (libc_feupdateenv): Use libc_feupdateenv_test.
4219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4221
eb92c487
RH
4222 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4223 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4224 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4225 (libc_feresetround_noex): New.
4226 (libc_feresetround_noexf): New.
4227 (libc_feresetround_noexl): New.
4228 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4229 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4230 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4232 SET_RESTORE_ROUND.
4233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4235 (__cos): Likewise.
4236 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4237 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4238 SET_RESTORE_ROUND_NOEX.
4239 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4240 SET_RESTORE_ROUND_NOEXF.
4241 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4242 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4243 (libc_feholdsetroundf): New.
4244 (libc_feresetround, libc_feresetroundf): New.
4245
7d2e8012
RH
4246 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4247 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4248 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4249
b4dabbb4
RH
4250 * sysdeps/generic/math_private.h: Include <fenv.h>.
4251 (default_libc_feholdexcept): New.
4252 (default_libc_feholdexcept_setround): New.
4253 (default_libc_fesetenv, default_libc_feupdateenv): New.
4254 (libc_feholdexcept): Only define if undefined.
4255 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4257 (libc_feholdexcept_setroundl): Likewise.
4258 (libc_feholdexcept_setround_53bit): Likewise.
4259 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4262 (libc_feupdateenv_53bit): Likewise.
4263 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4264 (libc_feholdexcept): Convert from macro to inline function.
4265 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4266 (libc_fesetenv, libc_feupdateenv): Likewise.
4267
4851a949
RH
4268 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4269 not previously defined.
4270 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4271 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4272 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4273 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4274 * sysdeps/ieee754/flt-32/math_private.h: New file.
4275 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4276 math_private.h below SET_FLOAT_WORD.
4277 (__isnan, __isinf_ns, __finite): Remove.
4278 (__isnanf, __isinf_nsf, __finitef): Remove.
4279
e79d442e
AS
42802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4281
4282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4283
90b80344
DM
42842012-03-17 David S. Miller <davem@davemloft.net>
4285
4286 [BZ #6471]
4287 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4288 for 2.16.
4289
edc21804
DM
42902012-03-16 David S. Miller <davem@davemloft.net>
4291
77e927af
DM
4292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4293 warnings.
4294
374976dd
DM
4295 [BZ #6471]
4296 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4297 properly.
4298 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4299 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4300 sysdep_routines when subdir is sysvipc.
4301 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4302 __getshmlba helper.
4303
edc21804
DM
4304 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4305
473c3ef3
L
43062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4307
4308 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4309 [__LP64__].
4310
eb0f39b6
L
43112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4312
4313 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4314 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4315 (__lround): Renamed to ...
4316 (__llround): This. Replace long int with long long int.
4317 Define lround functions as aliases of llround functions.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4319
6b6cd74b
L
43202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4323 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4324 adresses to uintptr_t. Replace "long int" and "unsigned long
4325 int" with "greg_t" on va_arg.
4326
f1a77b01
L
43272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4330 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4331
4332 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4333 Move e_machine check before EI_CLASS check. Handle x32
4334 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4335 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4336 SKIP_EM_IA_64 and include
4337 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4338
4339 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4340 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4341 (add_system_dir): New macro.
4342
4343 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4344 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4345
11b90b9f
JM
43462012-03-16 Joseph Myers <joseph@codesourcery.com>
4347
c36e1d23
JM
4348 [BZ #2551]
4349 [BZ #2552]
4350 [BZ #2553]
4351 [BZ #2554]
4352 [BZ #2562]
4353 [BZ #2563]
4354 [BZ #2565]
4355 [BZ #2566]
4356 [BZ #2576]
4357 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4358 (y0): Likewise.
4359 * math/w_j0f.c (j0f): Likewise.
4360 (y0f): Likewise.
4361 * math/w_j0l.c (__j0l): Likewise.
4362 (__y0l): Likewise.
4363 * math/w_j1.c (j1): Likewise.
4364 (y1): Likewise.
4365 * math/w_j1f.c (j1f): Likewise.
4366 (y1f): Likewise.
4367 * math/w_j1l.c (__j1l): Likewise.
4368 (__y1l): Likewise.
4369 * math/w_jn.c (jn): Likewise.
4370 (yn): Likewise.
4371 * math/w_jnf.c (jnf): Likewise.
4372 (ynf): Likewise.
4373 * math/w_jnl.c (__jnl): Likewise.
4374 (__ynl): Likewise.
4375 * math/libm-test.inc (j0_test): Add more tests.
4376 (j1_test): Likewise.
4377 (jn_test): Likewise. Add trailing semicolon to existing test.
4378 (y0_test): Likewise.
4379 (y1_test): Likewise.
4380 * sysdeps/i386/fpu/libm-test-ulps: Update.
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4382
11b90b9f
JM
4383 [BZ #13851]
4384 [BZ #13854]
4385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4386 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4387 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4389 (__tanl): Set errno for infinite argument.
4390 * sysdeps/i386/fpu/mptan.c: Remove.
4391 * sysdeps/i386/fpu/s_tan.S: Likewise.
4392 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4393 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4394 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4395 * math/libm-test.inc (tan_test): Add more tests and enable more
4396 tests for double and long double.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4399
6a1bd2a1
JK
44002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4401
4402 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4403 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4404
10a803e0
RM
44052012-03-16 Roland McGrath <roland@hack.frob.com>
4406
4407 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4408 * configure.in: Use it for both main tree and add-ons.
4409 * configure: Regenerated.
4410
f196c7f7
L
44112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4414
8848d99d
JM
44152012-03-16 Joseph Myers <joseph@codesourcery.com>
4416
96cbe7f4
JM
4417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4418 in comment.
4419
8848d99d
JM
4420 [BZ #13851]
4421 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4422 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4426 infinite argument.
4427 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4429 != 0 for prec == 2.
4430 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4431 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4432 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4433 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4434 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4435 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4436 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4437 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4438 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4439 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4440 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4441 * math/libm-test.inc (cos_test): Add more tests and enable more
4442 tests for long double.
4443 (sin_test): Likewise.
4444 (sincos_test): Likewise.
4445 * sysdeps/i386/fpu/libm-test-ulps: Update.
4446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447
dd7f4703
DM
44482012-03-16 David S. Miller <davem@davemloft.net>
4449
4450 * sysdeps/sparc/fpu/math_private.h: New file.
4451
006f1daa
DM
44522012-03-15 David S. Miller <davem@davemloft.net>
4453
c0c83bc8
DM
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4455 file.
e6a62e18 4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4458 file.
e6a62e18
DM
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4465 sysdep routines.
4466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4467
88cb87d9
DM
4468 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4469 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4470
006f1daa 4471 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4473 sparc-ifunc.h
006f1daa 4474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4476 Likewise.
4477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4478 Likewise.
006f1daa
DM
4479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4483 Likewise.
006f1daa
DM
4484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4489 Likewise.
4490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4491 Likewise.
006f1daa
DM
4492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4516
11e0098e
AS
45172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4518
4519 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4520 scaling.
4521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4522
e85b09d0
AJ
45232012-03-15 Andreas Jaeger <aj@suse.de>
4524
4525 [BZ #13852]
4526 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4527 ieee754/flt-32 implementation for sin, cos and sincos.
4528 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4529 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4530 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4531 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4532 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4533 ieee754/flt-32 implementation for tan.
4534
4535 * math/libm-test.inc (cos_test): Enable some large input tests for
4536 float as well
4537 (sin_test): Likewise.
4538 (sincos_test): Likewise.
4539 (tan_test): Add tests for large input.
4540
4541 * sysdeps/i386/fpu/libm-test-ulps: Update.
4542
81c64153
AJ
45432012-03-15 Andreas Jaeger <aj@suse.de>
4544
4545 [BZ #13658]
4546 * math/libm-test.inc (cos_test): Add more test cases.
4547 (sin_test): Likewise.
4548 (sincos_test): Likewise.
4549
7bbfa5c6
AJ
45502012-03-15 Andreas Jaeger <aj@suse.de>
4551
4552 [BZ #13837]
4553 * math/libm-test.inc (cos_test): Add a test case for large input
4554 value.
4555 (sin_test): Likewise.
4556 (sincos_test): Likewise.
4557
45582012-03-15 Andreas Jaeger <aj@suse.de>,
4559 Joseph Myers <joseph@codesourcery.com>
4560
4561 [BZ #13658]
0671f479 4562 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4563 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4564 * sysdeps/i386/fpu/branred.c: Likewise.
4565 * sysdeps/i386/fpu/dosincos.c: Likewise.
4566 * sysdeps/i386/fpu/mpa.c: Likewise.
4567 * sysdeps/i386/fpu/s_cos.S: Likewise.
4568 * sysdeps/i386/fpu/s_sin.S: Likewise.
4569 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4570 * sysdeps/i386/fpu/sincos32.c: Likewise.
4571
4572 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4573 Define.
4574 (libc_feupdateenv_53bit): Define.
4575 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4576 Define.
4577 (libc_feupdateenv_53bit): Define.
4578
4579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4580 53 bit (without extend i386 double precision).
4581
4582 * math/libm-test.inc (sincos_test): Add tests for large input.
4583 (sin): Likewise.
4584 (cos): Likewise.
4585
4586 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4587
9cad04ea
AS
45882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4589
4590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4591
f7062b9a
DM
45922012-03-15 David S. Miller <davem@davemloft.net>
4593
4594 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4595 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4596 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4597 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4610 file.
f7062b9a 4611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4613 file.
f7062b9a 4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4616 file.
f7062b9a 4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4619 file.
f7062b9a
DM
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4622 fmin/fmax sysdep routines.
4623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4624
7bd951ff
DM
46252012-03-14 David S. Miller <davem@davemloft.net>
4626
559398ab
DM
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4656 routines.
4657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4658 file.
559398ab 4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4661 file.
559398ab 4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4664 file.
559398ab 4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4667 file.
559398ab 4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4670 file.
559398ab 4671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4673 file.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4675 file.
4676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4677 file.
4678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4679 file.
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4681 New file.
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4683 file.
4684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4685 file.
559398ab 4686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4688 file.
559398ab 4689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4691 file.
559398ab 4692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4694 file.
559398ab 4695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4697 VIS3 routines.
559398ab
DM
4698
4699 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4700 New file.
4701
5a1c1e32
DM
4702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4703
eae47a36
DM
4704 * sysdeps/sparc/configure.in: New file.
4705 * sysdeps/sparc/configure: Generate.
4706 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4707 * configure: Regenerate.
4708 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4709 * config.make.in (have-as-vis3): New.
4710 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4711 available use -Av9d instead of -Av9a.
4712 * sysdeps/sparc/sparc64/Makefile: Likewise.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4715 New file.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4717 file.
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4719 New file.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4721 file.
eae47a36
DM
4722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4727
c0c83bc8
DM
4728 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4729 fzeros/fnegs to load 0x80000000 into a float register instead of
4730 using the stack.
7bd951ff
DM
4731 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4732
bd951ccb
JM
47332012-03-14 Joseph Myers <joseph@codesourcery.com>
4734
4735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4736 bits/syscall.h.
4737 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4738 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4739 ($(inst_includedir)/bits/syscall.h): Remove rule.
4740 ($(objpfx)bits/syscall.d): Include instead of
4741 $(objpfx)syscall-list.d.
4742 (generated): Change syscall-list.h and syscall-list.d to
4743 bits/syscall.h and bits/syscall.d.
4744
bb4e6db2
RM
47452012-03-14 Roland McGrath <roland@hack.frob.com>
4746
4747 [BZ #13846]
4748 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4749
aa4a2ae1
JM
47502012-03-14 Joseph Myers <joseph@codesourcery.com>
4751
e456826d
JM
4752 [BZ #13841]
4753 * math/s_csqrt.c: Include <float.h>.
4754 (__csqrt): Scale large or subnormal inputs.
4755 * math/s_csqrtf.c: Likewise.
4756 * math/s_csqrtl.c: Likewise.
4757 * math/libm-test.inc (csqrt_test): Add more tests.
4758 * sysdeps/i386/fpu/libm-test-ulps: Update.
4759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4760
aa4a2ae1
JM
4761 [BZ #13840]
4762 * math/libm-test.inc (hypot_test): Add more tests.
4763
7c10fd35
DM
47642012-03-13 David S. Miller <davem@davemloft.net>
4765
4766 [BZ #13840]
4767 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4768 double-precision for the calculation instead of scaling.
4769
f453b98b
JM
47702012-03-13 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4773 manipulate bits before adding and subtracting TWO52[sx].
4774 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4775 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4776 Likewise.
4777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4778
09a3453f
DM
47792012-03-13 David S. Miller <davem@davemloft.net>
4780
8e59da90
DM
4781 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4782 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4784 rtld-global-offsets.h
4785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4786
2a8ab7f2
DM
4787 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4788 large parameters.
4789
10f62770
DM
4790 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4791
5f0bdb18
DM
4792 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4793 'err' in the ifdef scope in which it is actually used.
4794
09a3453f
DM
4795 * nss/nss_db/db-init.c: Include string.h
4796
b4b2eb5e
DM
47972012-03-12 David S. Miller <davem@davemloft.net>
4798
98bb2f1c
DM
4799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4800 masking out of the most significant byte of random value used.
4801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4802 Fix coding style in previous change.
4803
b4b2eb5e
DM
4804 * sysdeps/unix/sysv/linux/kernel-features.h
4805 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4806 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4807 expression.
4808 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4809 later.
4810
6e226b09
DM
48112012-03-11 David S. Miller <davem@davemloft.net>
4812
a1bcbd40
DM
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4814 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4816 for 'resultvar' otherwise things get truncated on 64-bit.
4817
cb9d6174
DM
4818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4819 Fix masking out of the most significant byte of random value used.
4820
6e226b09
DM
4821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4822
058c132d
AS
48232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4824
4825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4826
2d2cd515
DM
48272012-03-09 David S. Miller <davem@davemloft.net>
4828
4829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4830 variables with appropriate CPP guards.
4831 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4832 frame pointer, not the stack pointer. Correct layout comments. Fix test
4833 on resulting framesize and the management of the outregs buffer for pltexit.
4834 Preserve floating point return values across _dl_call_pltexit call.
4835 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4836 framesize and the management of the outregs buffer for pltexit.
4837 Preserve floating point return values across _dl_call_pltexit
4838 call.
4839 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4840 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4841 (print_exit): Fix format string for return register value.
4842
9a07f9d0
JM
48432012-03-10 Joseph Myers <joseph@codesourcery.com>
4844
4845 * sunrpc/Makefile (others): Add rpcgen.
4846 ($(objpfx)rpcgen): Remove special build rule and dependency on
4847 libc.
4848 * sunrpc/rpcgen.c: New file.
4849
547b5e30
PE
48502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4851
c524201a
PE
4852 [BZ #13673]
4853 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4854 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4855 * sysdeps/i386/crti.S: Likewise.
4856 * sysdeps/i386/crtn.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4859 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4860 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4861 * sysdeps/sh/crti.S: Likewise.
4862 * sysdeps/sh/crtn.S: Likewise.
4863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4864
7b6235f2
PE
4865 [BZ #13673]
4866 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4867 with URL.
4868 * locale/programs/locfile-kw.gperf: Likewise.
4869 * locale/programs/charmap-kw.h: Regenerated.
4870 * locale/programs/locfile-kw.h: Likewise.
4871
547b5e30
PE
4872 [BZ #13673]
4873 * intl/plural.y: Replace FSF snail mail address with URL.
4874 * intl/plural.c: Regenerated.
4875
5f0a5dae
RH
48762012-03-09 Richard Henderson <rth@twiddle.net>
4877
4878 * include/math_private.h: Remove file.
4879 * math/math_private.h: Move file ...
4880 * sysdeps/generic/math_private.h: ... here.
4881
b8c03620
RH
4882 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4883 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4884 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4885
4e234f5d 4886 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4887 and <math_private.h>.
4888 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4889 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4890 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4891 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4892 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4976 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4977 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4978 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4979 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4981 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4982 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4983 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4985 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4988 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4989 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4990 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4993 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4994 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4995 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4996 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4998 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4999 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5002 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5005 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5006 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5011 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5012 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5013 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5014 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5015 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5016 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5017 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5018 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5019 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5021 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5022 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5023 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5024 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5025 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5026 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5027 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5029 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5030 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5031 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5032 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5033 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5034 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5035 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5036 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5037 * sysdeps/ieee754/k_standard.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5158 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5160 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5170 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5187 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5188 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5198 * sysdeps/ieee754/s_lib_version.c: Likewise.
5199 * sysdeps/ieee754/s_matherr.c: Likewise.
5200 * sysdeps/ieee754/s_signgam.c: Likewise.
5201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5203 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5204 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5205 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5206 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5207 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5208 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5209 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5210 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5212 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5213 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5214 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5215 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5216 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5217 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5218 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5219 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5222
1991fa03
JM
52232012-03-09 Joseph Myers <joseph@codesourcery.com>
5224
5225 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5226 * sunrpc/rpc_main.c: Likewise.
5227 * sunrpc/rpc_svcout.c: Likewise.
5228
60d6f5a6
DM
52292012-03-09 David S. Miller <davem@davemloft.net>
5230
5231 * include/math_private.h: New file.
5232
4962050e
JM
52332012-03-09 Joseph Myers <joseph@codesourcery.com>
5234
02a6f887
JM
5235 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5236 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5237 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5238 from <bits/socket_type.h>.
5239 (enum __socket_type): Don't define here.
5240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5242 bits/socket_type.h.
5243
c6e013c1
JM
5244 [BZ #13566]
5245 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5246 checking __USE_GNU.
5247
4962050e
JM
5248 * Makerules ($(inst_includedir)/%.h): New rule.
5249 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5250 (install-others): Remove variable setting.
5251 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5252
38842f45
RH
52532012-03-08 Richard Henderson <rth@twiddle.net>
5254
67bb6da6
RH
5255 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5256 from macro to inline function; merge with the
5257 !__LIBC_INTERNAL_MATH_INLINES version.
5258 (__ieee754_sqrtf): Likewise.
5259
15194b4b
RH
5260 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5261 to inline function.
5262 (__rintf, __floor, __floorf): Likewise.
5263
64e21ede
RH
5264 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5265 macro to inline function.
5266 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5267
38842f45
RH
5268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5269 not <math/math_private.h>.
5270
c64bf5fe
DM
52712012-03-08 David S. Miller <davem@davemloft.net>
5272
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5274 copyright year.
5275 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5276
82d86f28
TS
52772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5278
5279 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5280 normalization.
5281 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5282 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5283
aea5d727
UD
52842012-03-08 Ulrich Drepper <drepper@gmail.com>
5285
5286 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5287 be defined individually, they must be defined as a block. Define
5288 S for printing a string instead of hidint the different by using a
5289 macro for adding the 'l'.
5290 * stdio-common/tst-fphex-wide.c: Adjust.
5291
70bca0a3
MP
52922012-03-07 Marek Polacek <polacek@redhat.com>
5293
5294 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5295
65b81130
MP
52962012-03-08 Marek Polacek <polacek@redhat.com>
5297
5298 [BZ #13806]
5299 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5300 * stdio-common/tst-fphex.c: Define a few macros to make the
5301 test reusable. Use them.
5302 * stdio-common/tst-fphex-wide.c: New file.
5303
07037eeb
JM
53042012-03-08 Joseph Myers <joseph@codesourcery.com>
5305
a7a93d50
JM
5306 [BZ #6911]
5307 * manual/macros.texi (gnusystems): New macro.
5308 (nongnusystems): Likewise.
5309 (gnulinuxhurdsystems): Likewise.
5310 (gnuhurdsystems): Likewise..
5311 (gnulinuxsystems): Likewise.
5312 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5313 variants of the GNU system, not "GNU system".
5314 * manual/conf.texi: Likewise.
5315 * manual/errno.texi: Likewise. Update example of errno macro
5316 expansion.
5317 * manual/filesys.texi: Likewise.
5318 (getumask): Document as specific to GNU/Hurd.
5319 * manual/install.texi: Likewise. Reword some references to
5320 GNU/Linux.
5321 * manual/intro.texi: Likewise.
5322 * manual/io.texi: Likewise.
5323 (File Name Portability): Detail which constraints are inapplicable
5324 to all GNU systems and which are only inapplicable to GNU/Hurd.
5325 * manual/job.texi: Likewise.
5326 * manual/llio.texi: Likewise.
5327 (O_NOCTTY): Document as present on GNU/Linux.
5328 * manual/maint.texi: Likewise.
5329 * manual/memory.texi: Likewise.
5330 * manual/pattern.texi: Likewise.
5331 * manual/pipe.texi: Likewise.
5332 * manual/process.texi: Likewise.
5333 * manual/resource.texi: Likewise.
5334 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5335 child on GNU/Hurd.
5336 * manual/setjmp.texi: Likewise.
5337 * manual/signal.texi: Likewise.
5338 * manual/startup.texi: Likewise.
5339 * manual/stdio.texi: Likewise.
5340 * manual/terminal.texi: Likewise.
5341 (ONLCR): Document as POSIX.
5342 (OXTABS): Document availability on GNU/Linux as XTABS.
5343 (ONOEOT): Document availability separately from other bits.
5344 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5345 * manual/time.texi: Likewise.
5346 * manual/users.texi: Likewise.
5347 * INSTALL: Regenerated.
5348 * sysdeps/gnu/errlist.c: Regenerated.
5349
07037eeb
JM
5350 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5351 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5352 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5353 puts.
5354 * configure: Regenerated.
5355
d1d3431a
JM
53562012-03-07 Joseph Myers <joseph@codesourcery.com>
5357
af6a1e37
JM
5358 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5359 default includes instead of AC_HEADER_CHECK.
5360 * sysdeps/i386/configure: Regenerated.
5361
d1d3431a
JM
5362 [BZ #10716]
5363 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5364 * math/s_cacoshf.c (__cacoshf): Likewise.
5365 * math/s_cacoshl.c (__cacoshl): Likewise.
5366 * math/s_casinh.c (__casinh): Set signs of result from argument.
5367 * math/s_casinhf.c (__casinhf): Likewise.
5368 * math/s_casinhl.c (__casinhl): Likewise.
5369 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5370 (casinh_test): Add more tests.
5371 * sysdeps/i386/fpu/libm-test-ulps: Update.
5372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5373
482ff4da
UD
53742012-03-07 Ulrich Drepper <drepper@gmail.com>
5375
872fda05
UD
5376 * po/zh_TW.po: Update from translation team.
5377
a4300c7a
UD
5378 * login/Makefile (distribute): Remove variable.
5379 * catgets/Makefile: Likewise.
5380 * mach/Makefile: Likewise.
5381 * malloc/Makefile: Likewise.
5382 * misc/Makefile: Likewise.
5383 * iconv/Makefile: Likewise.
5384 * nscd/Makefile: Likewise.
5385 * hurd/Makefile: Likewise.
5386 * manual/Makefile: Likewise.
5387 * locale/Makefile: Likewise.
5388 * intl/Makefile: Likewise.
5389 * conform/Makefile: Likewise.
5390 * nss/Makefile: Likewise.
5391 * time/Makefile: Likewise.
5392 * soft-fp/Makefile: Likewise.
5393 * dirent/Makefile: Likewise.
5394 * gmon/Makefile: Likewise.
5395 * po/Makefile: Likewise.
5396 * rt/Makefile: Likewise.
5397 * socket/Makefile: Likewise.
5398 * math/Makefile: Likewise.
5399 * signal/Makefile: Likewise.
5400 * debug/Makefile: Likewise.
5401 * elf/Makefile: Likewise.
5402 * timezone/Makefile: Likewise.
5403 * stdlib/Makefile: Likewise.
5404 * iconvdata/Makefile: Likewise.
5405 * sunrpc/Makefile: Likewise.
5406 * io/Makefile: Likewise.
5407 * argp/Makefile: Likewise.
5408 * inet/Makefile: Likewise.
5409 * hesiod/Makefile: Likewise.
5410 * grp/Makefile: Likewise.
5411 * csu/Makefile: Likewise.
5412 * wctype/Makefile: Likewise.
5413 * crypt/Makefile: Likewise.
5414 * libio/Makefile: Likewise.
5415 * string/Makefile: Likewise.
5416 * nis/Makefile: Likewise.
5417 * resolv/Makefile: Likewise.
5418 * stdio-common/Makefile: Likewise.
5419 * wcsmbs/Makefile: Likewise.
5420 * dlfcn/Makefile: Likewise.
5421 * posix/Makefile: Likewise.
5422
3b7c4e74 5423 [BZ #6959]
482ff4da
UD
5424 * timezone/Makefile: Don't install timezone files, just the programs
5425 and scripts.
5426
f72ed77d
UD
54272012-03-06 Ulrich Drepper <drepper@gmail.com>
5428
a000466f
UD
5429 * nss/databases.def: Add missing gshadow entry.
5430
f72ed77d
UD
5431 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5432
a53b7a4e
MP
54332012-03-06 Marek Polacek <polacek@redhat.com>
5434
5435 [BZ #13726]
5436 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5437 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5438 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5439 * stdio-common/tst-long-dbl-fphex.c: New file.
5440
e9258400
DM
54412012-03-06 David S. Miller <davem@davemloft.net>
5442
5443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5444 (set_obp_int): New function.
5445 (get_obp_int): New function.
5446 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5448 Avoid unused variable warnings on 'val' and use builtin_expect.
5449 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5450 __builtin_expect.
e9258400
DM
5451 (INLINE_CLONE_SYSCALL): Likewise.
5452
3bd2c723
DM
54532012-03-05 David S. Miller <davem@davemloft.net>
5454
5455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5456
bbb78d03
AS
54572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5458
884c5db4
AS
5459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5460
bbb78d03
AS
5461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5462 only for |x| >= 40.
5463 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5464
1c9f702a 54652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5466
5467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5468 Replace gettimeofday with __vdso_gettimeofday.
5469
7be16f82
RM
5470 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5471 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5472 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5473
5474 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5475 time with __vdso_time.
5476
ed58a00f
JM
54772012-03-05 Joseph Myers <joseph@codesourcery.com>
5478
5479 * manual/lang.texi (size_t): Note types to which size_t may be
5480 equivalent with the GNU C Library, but do not describe when
5481 differences between them are significant.
5482
30ee4ced
AJ
54832012-03-05 Andreas Jaeger <aj@suse.de>
5484
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486
b7cd39e8
JM
54872012-03-05 Joseph Myers <joseph@codesourcery.com>
5488
5489 [BZ #3976]
5490 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5491 (__ieee754_pow): Save and restore rounding mode and use
5492 round-to-nearest for main computations.
5493 * math/libm-test.inc (pow_test_tonearest): New function.
5494 (pow_test_towardzero): Likewise.
5495 (pow_test_downward): Likewise.
5496 (pow_test_upward): Likewise.
5497 (main): Call the new functions.
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5500
5501 [BZ #3976]
5502 * math/libm-test.inc (cosh_test_tonearest): New function.
5503 (cosh_test_towardzero): Likewise.
5504 (cosh_test_downward): Likewise.
5505 (cosh_test_upward): Likewise.
5506 (sinh_test_tonearest): Likewise.
5507 (sinh_test_towardzero): Likewise.
5508 (sinh_test_downward): Likewise.
5509 (sinh_test_upward): Likewise.
5510 (main): Call the new functions.
5511 * sysdeps/i386/fpu/libm-test-ulps: Update.
5512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5513
6c6a98c9
TV
55142012-03-05 Tom de Vries <tom@codesourcery.com>
5515
5516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5517 default stack guard is set in last bytes.
5518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5519
21bb2d2e 55202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5521
21bb2d2e 5522 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5523
21bb2d2e
AJ
5524 [BZ #13656]
5525 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5526 possibly allocate from heap instead of stack.
5527 * stdio-common/bug-vfprintf-nargs.c: New file.
5528 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5529
c6922934
AS
55302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5531
5532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5533
bc957d53
MP
55342012-03-03 Marek Polacek <polacek@redhat.com>
5535
5536 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5537 * math/math_private.h: Likewise.
5538 * stdlib/tst-strtod.c: Likewise.
5539 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5540 * sysdeps/x86_64/bits/atomic.h: Likewise.
5541
6358490d
DM
55422012-03-02 David S. Miller <davem@davemloft.net>
5543
5544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5548 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5549 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5550 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5551 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5552
01ae168d
RM
55532012-03-02 Roland McGrath <roland@hack.frob.com>
5554
d9a17c07
RM
5555 [BZ #13792]
5556 * manual/examples/README: New file, says the example source files
5557 can be used under GPL>=2.
5558 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5559 line containing just "*/".
5560 * manual/examples/add.c: Add copyright header (GPL>=2).
5561 * manual/examples/argp-ex1.c: Likewise.
5562 * manual/examples/argp-ex2.c: Likewise.
5563 * manual/examples/argp-ex3.c: Likewise.
5564 * manual/examples/argp-ex4.c: Likewise.
5565 * manual/examples/atexit.c: Likewise.
5566 * manual/examples/db.c: Likewise.
5567 * manual/examples/dir.c: Likewise.
5568 * manual/examples/dir2.c: Likewise.
5569 * manual/examples/execinfo.c: Likewise.
5570 * manual/examples/filecli.c: Likewise.
5571 * manual/examples/filesrv.c: Likewise.
5572 * manual/examples/fmtmsgexpl.c: Likewise.
5573 * manual/examples/genpass.c: Likewise.
5574 * manual/examples/inetcli.c: Likewise.
5575 * manual/examples/inetsrv.c: Likewise.
5576 * manual/examples/isockad.c: Likewise.
5577 * manual/examples/longopt.c: Likewise.
5578 * manual/examples/memopen.c: Likewise.
5579 * manual/examples/memstrm.c: Likewise.
5580 * manual/examples/mkfsock.c: Likewise.
5581 * manual/examples/mkisock.c: Likewise.
5582 * manual/examples/mygetpass.c: Likewise.
5583 * manual/examples/pipe.c: Likewise.
5584 * manual/examples/popen.c: Likewise.
5585 * manual/examples/rprintf.c: Likewise.
5586 * manual/examples/search.c: Likewise.
5587 * manual/examples/select.c: Likewise.
5588 * manual/examples/setjmp.c: Likewise.
5589 * manual/examples/sigh1.c: Likewise.
5590 * manual/examples/sigusr.c: Likewise.
5591 * manual/examples/stpcpy.c: Likewise.
5592 * manual/examples/strdupa.c: Likewise.
5593 * manual/examples/strftim.c: Likewise.
5594 * manual/examples/strncat.c: Likewise.
5595 * manual/examples/subopt.c: Likewise.
5596 * manual/examples/swapcontext.c: Likewise.
5597 * manual/examples/termios.c: Likewise.
5598 * manual/examples/testopt.c: Likewise.
5599 * manual/examples/testpass.c: Likewise.
5600 * manual/examples/timeval_subtract.c: Likewise.
5601
01ae168d
RM
5602 [BZ #13792]
5603 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5604 function to ...
5605 * manual/timeval_subtract.c.texi: ... here, new file.
5606
49efa33d
DM
56072012-03-02 David S. Miller <davem@davemloft.net>
5608
5609 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5610
28afd92d
JM
56112012-03-02 Joseph Myers <joseph@codesourcery.com>
5612
804360ed
JM
5613 [BZ #3976]
5614 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5615 (__sin): Save and restore rounding mode and use round-to-nearest
5616 for all computations.
5617 (__cos): Save and restore rounding mode and use round-to-nearest
5618 for all computations.
5619 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5620 <fenv.h>.
5621 (tan): Save and restore rounding mode and use round-to-nearest for
5622 all computations.
5623 * math/libm-test.inc (cos_test_tonearest): New function.
5624 (cos_test_towardzero): Likewise.
5625 (cos_test_downward): Likewise.
5626 (cos_test_upward): Likewise.
5627 (sin_test_tonearest): Likewise.
5628 (sin_test_towardzero): Likewise.
5629 (sin_test_downward): Likewise.
5630 (sin_test_upward): Likewise.
5631 (tan_test_tonearest): Likewise.
5632 (tan_test_towardzero): Likewise.
5633 (tan_test_downward): Likewise.
5634 (tan_test_upward): Likewise.
5635 (main): Call the new functions.
5636 * sysdeps/i386/fpu/libm-test-ulps: Update.
5637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638
a6d06d7b
JM
5639 [BZ #10135]
5640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5641 small n, then large n, before computing and testing k+n.
5642 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5644 Likewise.
5645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5646 Likewise.
5647 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5648 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5649 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5655 * math/libm-test.inc (scalbn_test): Add more tests.
5656 (scalbln_test): Likewise.
5657
07e12bb3
JM
5658 * manual/filesys.texi (mode_t): Describe constraints on size and
5659 signedness, not exact equivalence to a particular type.
5660 (ino_t): Likewise.
5661 (ino64_t): Likewise.
5662 (dev_t): Likewise.
5663 (nlink_t): Likewise.
5664 (blkcnt_t): Likewise.
5665 (blkcnt64_t): Likewise.
5666 * manual/llio.texi (off_t): Likewise.
5667
28afd92d
JM
5668 [BZ #3976]
5669 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5670 (__ieee754_exp): Save and restore rounding mode and use
5671 round-to-nearest for all computations.
5672 * math/libm-test.inc (exp_test_tonearest): New function.
5673 (exp_test_towardzero): Likewise.
5674 (exp_test_downward): Likewise.
5675 (exp_test_upward): Likewise.
5676 (main): Call the new functions.
5677 * sysdeps/i386/fpu/libm-test-ulps: Update.
5678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5679
b1eeb65d
CD
56802012-03-01 Chris Demetriou <cgd@google.com>
5681
5682 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5683 have predictable order.
5684
53362a4b
DM
56852012-03-01 David S. Miller <davem@davemloft.net>
5686
3c969083
DM
5687 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5688
759707de
DM
5689 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5690 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5691 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5692 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5693
dfdb8ff2
DM
5694 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5695 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5696 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5698 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5699 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5700 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5701 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5702 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5703
ead89f96
DM
5704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5705
7f66bd07
DM
5706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5707 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5709
53362a4b
DM
5710 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5711 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5712 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5713 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5714 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5717 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5718 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5719 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5720 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5726 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5727 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5728 * sysdeps/sparc/elf/configure: Regenerated.
5729
7b1902cb
JM
57302012-03-01 Joseph Myers <joseph@codesourcery.com>
5731
bec039bc
JM
5732 * configure.in (AS, LD): Require binutils 2.20 or later.
5733 * configure: Regenerated.
5734 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5735 as required minimum version.
5736 * INSTALL: Regenerated.
5737
7b1902cb
JM
5738 [BZ #2541]
5739 [BZ #4108]
5740 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5741 before squaring exponent.
5742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5743 bottom long double and 27 bits of top long double before squaring
5744 exponent.
5745 * math/libm-test.inc (erfc_test): Add more tests.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749
f775c276
KT
57502012-03-01 Kai Tietz <ktietz@redhat.com>
5751
5752 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5753 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5754 containing bit-fields.
5755 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5756 * soft-fp/single.h (_FP_UNION_S): Likewise.
5757 * soft-fp/double.h (_FP_UNION_D): Likewise.
5758
5b8a4d4a
JM
57592012-02-29 Joseph Myers <joseph@codesourcery.com>
5760
0bab47b6
JM
5761 [BZ #13786]
5762 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5763 not include ../strcmp.S.
5764 [USE_AS_STRNCASECMP_L]: Likewise.
5765 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5766 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5767 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5768 (__strncasecmp_l_ia32): Define as alias to
5769 __strncasecmp_l_nonascii.
5770
0fcad3e2
JM
5771 [BZ #5794]
5772 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5773 * sysdeps/i386/fpu/libm-test-ulps: Update.
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775
5b8a4d4a
JM
5776 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5778
8fdceb2e
JL
57792012-02-29 Jeff Law <law@redhat.com>
5780
5781 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5782 out of bounds read.
5783
1f393a11
MP
57842012-02-29 Marek Polacek <polacek@redhat.com>
5785
5786 [BZ #13706]
5787 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5788 * elf/Makefile: Add rules to run tst-unused-dep.out.
5789
8847f037
DM
57902012-02-28 David S. Miller <davem@davemloft.net>
5791
5792 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5793 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5798
169d7f11
JM
57992012-02-29 Joseph Myers <joseph@codesourcery.com>
5800
5801 * math/libm-test.inc (llround_test): Move one test from
5802 lround_test. Use TEST_f_L in moved test.
5803 (lround_test): Move misplaced test to llround_test. Add testcase
5804 from bug 2561.
5805
39adf059
UD
58062012-02-28 Ulrich Drepper <drepper@gmail.com>
5807
5808 * sysdeps/x86_64/fpu/e_expf.S: New file.
5809 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5810
71b5d1c5
SB
58112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5812
5813 [BZ #13637]
5814 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5815 of remain_len that may cause incomplete multi-byte character and
5816 false match.
5817 * posix/bug-regex33.c: New file.
5818 * posix/Makefile (tests): Add bug-regex33.
5819
1f77f049
JM
58202012-02-28 Joseph Myers <joseph@codesourcery.com>
5821
5822 * manual/macros.texi: New file.
5823 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5824 * manual/libc.texinfo: Include macros.texi.
5825 * manual/creatute.texi: Likewise.
5826 * manual/install.texi: Likewise.
5827 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5828 @glibcadj{} in references to the GNU C Library.
5829 * manual/charset.texi: Likewise.
5830 * manual/conf.texi: Likewise.
5831 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5832 when not using those macros.
5833 * manual/creature.texi: Likewise.
5834 * manual/crypt.texi: Likewise.
5835 * manual/errno.texi: Likewise.
5836 * manual/filesys.texi: Likewise.
5837 * manual/header.texi: Likewise.
5838 * manual/install.texi: Likewise.
5839 * manual/intro.texi: Likewise.
5840 * manual/io.texi: Likewise.
5841 * manual/job.texi: Likewise.
5842 * manual/lang.texi: Likewise.
5843 * manual/libc.texiinfo: Likewise.
5844 * manual/llio.texi: Likewise.
5845 * manual/locale.texi: Likewise.
5846 * manual/maint.texi: Likewise.
5847 * manual/math.texi: Likewise.
5848 * manual/memory.texi: Likewise.
5849 * manual/message.texi: Likewise.
5850 * manual/nss.texi: Likewise.
5851 * manual/pattern.texi: Likewise.
5852 * manual/process.texi: Likewise.
5853 * manual/resource.texi: Likewise.
5854 * manual/search.texi: Likewise.
5855 * manual/setjmp.texi: Likewise.
5856 * manual/signal.texi: Likewise.
5857 * manual/socket.texi: Likewise.
5858 * manual/startup.texi: Likewise.
5859 * manual/stdio.texi: Likewise.
5860 * manual/string.texi: Likewise.
5861 * manual/sysinfo.texi: Likewise.
5862 * manual/syslog.texi: Likewise.
5863 * manual/terminal.texi: Likewise.
5864 * manual/time.texi: Likewise.
5865 * manual/users.texi: Likewise.
5866 * INSTALL: Regenerated.
5867 * NOTES: Regenerated.
d40c5d54 5868 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5869
450bf206
AS
58702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5871
5872 * include/dirent.h: Include <dirstream.h> before
5873 <dirent/dirent.h>.
5874
741a235b
DM
58752012-02-28 David S. Miller <davem@davemloft.net>
5876
5877 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5878 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5879 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5880 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5881
d6b5aa58
DM
58822012-02-27 David S. Miller <davem@davemloft.net>
5883
1aff59a3
DM
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5886 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5887 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5888
d6b5aa58
DM
5889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5890 frame pointer instead of stack pointer relative arg slot.
5891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5894
433f48bf
CD
58952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5896
5897 [BZ #3992]
5898 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5899
d674b76d
DM
59002012-02-27 David S. Miller <davem@davemloft.net>
5901
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5906 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5907 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5908 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5909 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5910
0e7727f7
JM
59112012-02-27 Joseph Myers <joseph@codesourcery.com>
5912
5913 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5914 later. Allow versions 5-9.
43be4ca2 5915 * configure: Regenerated.
0e7727f7
JM
5916 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5917 required minimum version and 4.6 as recommended version. Do not
5918 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5919 * INSTALL: Regenerated.
0e7727f7 5920
a78bc654
DM
59212012-02-27 David S. Miller <davem@davemloft.net>
5922
428d5830
DM
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5927 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5928 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5929 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5930 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5931
a78bc654
DM
5932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5933 manipulate bits before adding and subtracting TWO112[sx].
5934 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5935
4579f81c
RM
59362012-02-27 Roland McGrath <roland@hack.frob.com>
5937
36c8acb4
RM
5938 [BZ #13775]
5939 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5940 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5941 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5942 being in POSIX, because they are in 1003.1-2008.
5943
84ad622b
RM
5944 * rt/tst-aio.c: Include <fcntl.h>.
5945 * rt/tst-aio7.c: Likewise.
5946 * rt/tst-aio64.c: Likewise.
5947
4579f81c
RM
5948 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5949
abd923db
JM
59502012-02-27 Joseph Myers <joseph@codesourcery.com>
5951
5952 * manual/install.texi (--with-headers): Describe headers as
5953 interface headers, not private headers.
5954 (Specific advice for GNU/Linux systems): Describe use of headers
5955 from "make headers_install", not private headers from older
5956 kernels.
43be4ca2 5957 * INSTALL: Regenerated.
abd923db
JM
5958 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5959 Change to 2.6.19.
5960 * sysdeps/unix/sysv/linux/configure: Regenerated.
5961
6664049b
JM
5962 * manual/llio.texi (fclean): Remove documentation.
5963
bb8b6697
JM
5964 * manual/Makefile (libc-texi-generated): New variable. Include
5965 version.texi.
5966 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5967 $(libc-texi-generated), not duplicated list of files.
5968 (version.texi, stamp-version): New rules.
5969 (realclean): Remove $(libc-texi-generated), not individual files
5970 from that list. Do not remove dir-add.texinfo.
5971 * manual/libc.texinfo: Comment out uses of edition numbers and
5972 references to printed manual. Remove last-updated dates.
5973 (EDITION): Comment out.
5974 (ISBN): Likewise.
5975 (VERSION, UPDATED): Remove.
5976 (version.texi): Include.
5977
12e5c3b9
AS
59782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * sysdeps/posix/spawni.c: Include <signal.h>.
5981 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5982 * sysdeps/pthread/aio_fsync.c: Likewise.
5983
4efeffc1 59842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5985
ba63ba08
UD
5986 * conform/Makefile (tests): Run only when not cross-compiling and
5987 when fast-check is not defined.
5988
d94a4670
UD
5989 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5990 * conform/data/limits.h-data: Fixes for POSIX2008.
5991 * conform/run-conformtest.sh: Run all tests.
5992 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5993 headers.
5994 * include/bits/dlfcn.h: Likewise.
5995 * include/langinfo.h: Likewise.
5996 * include/monetary.h: Likewise.
5997 * include/sys/poll.h: Likewise.
5998
5999 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6000 for __USE_GNU.
6001 * posix/spawn.h: Define __need_sigset_t.
6002 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6003 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6004 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6005 to get sigevent_t only.
6006 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6007 only for __USE_GNU.
6008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6009 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6010 process_vm_writev only for __USE_GNU.
6011 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6012
6013 * conform/Makefile: For now ignore errors from run-conformtest.
6014 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6015 POSIX to avoid namespace pollution. Don't prepend headers.
6016 * conform/data/aio.h-data: Fixes for POSIX testing.
6017 * conform/data/fcntl.h-data: Likewise.
6018 * conform/data/glob.h-data: Likewise.
6019 * conform/data/grp.h-data: Likewise.
6020 * conform/data/pthread.h-data: Likewise.
6021 * conform/data/pwd.h-data: Likewise.
6022 * conform/data/signal.h-data: Likewise.
6023 * conform/data/spawn.h-data: Likewise.
6024 * conform/data/stdio.h-data: Likewise.
6025 * conform/data/stdlib.h-data: Likewise.
6026 * conform/data/stropts.h-data: Likewise.
6027 * conform/data/sys/mman.h-data: Likewise.
6028 * conform/data/sys/stat.h-data: Likewise.
6029 * conform/data/sys/types.h-data: Likewise.
6030 * conform/data/sys/wait.h-data: Likewise.
6031 * conform/data/time.h-data: Likewise.
6032 * conform/data/unistd.h-data: Likewise.
6033 * conform/data/utime.h-data: Likewise.
6034
6035 * io/sys/stat.h: fchmod was always in POSIX.
6036 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6037 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6038 * rt/aio.h: Define __need_timespec before including <time.h>.
6039 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6040 struct. Add forward declaration of pthread_attr_t and use it in
6041 sigevent.
6042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6044 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6045 always remove CLK_TCK definition.
6046
c20105c3
AS
60472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6048
6049 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6050
7a270350
UD
60512012-02-25 Ulrich Drepper <drepper@gmail.com>
6052
31341567
UD
6053 * conform/run-conformtest.sh: New file.
6054 * conform/Makefile: Run run-conformtest for tests.
6055 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6056 support.
6057
6058 * conform/data/uchar.h-data: New file.
6059 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6060 * conform/data/arpa/inet.h-data: Likewise.
6061 * conform/data/assert.h-data: Likewise.
6062 * conform/data/complex.h-data: Likewise.
6063 * conform/data/cpio.h-data: Likewise.
6064 * conform/data/ctype.h-data: Likewise.
6065 * conform/data/dirent.h-data: Likewise.
6066 * conform/data/dlfcn.h-data: Likewise.
6067 * conform/data/errno.h-data: Likewise.
6068 * conform/data/fcntl.h-data: Likewise.
6069 * conform/data/float.h-data: Likewise.
6070 * conform/data/fmtmsg.h-data: Likewise.
6071 * conform/data/fnmatch.h-data: Likewise.
6072 * conform/data/ftw.h-data: Likewise.
6073 * conform/data/glob.h-data: Likewise.
6074 * conform/data/grp.h-data: Likewise.
6075 * conform/data/iconv.h-data: Likewise.
6076 * conform/data/inttypes.h-data: Likewise.
6077 * conform/data/langinfo.h-data: Likewise.
6078 * conform/data/libgen.h-data: Likewise.
6079 * conform/data/limits.h-data: Likewise.
6080 * conform/data/locale.h-data: Likewise.
6081 * conform/data/math.h-data: Likewise.
6082 * conform/data/monetary.h-data: Likewise.
6083 * conform/data/mqueue.h-data: Likewise.
6084 * conform/data/ndbm.h-data: Likewise.
6085 * conform/data/net/if.h-data: Likewise.
6086 * conform/data/netdb.h-data: Likewise.
6087 * conform/data/netinet/in.h-data: Likewise.
6088 * conform/data/nl_types.h-data: Likewise.
6089 * conform/data/poll.h-data: Likewise.
6090 * conform/data/pthread.h-data: Likewise.
6091 * conform/data/pwd.h-data: Likewise.
6092 * conform/data/regex.h-data: Likewise.
6093 * conform/data/sched.h-data: Likewise.
6094 * conform/data/search.h-data: Likewise.
6095 * conform/data/semaphore.h-data: Likewise.
6096 * conform/data/setjmp.h-data: Likewise.
6097 * conform/data/signal.h-data: Likewise.
6098 * conform/data/spawn.h-data: Likewise.
6099 * conform/data/stdarg.h-data: Likewise.
6100 * conform/data/stdio.h-data: Likewise.
6101 * conform/data/stdlib.h-data: Likewise.
6102 * conform/data/string.h-data: Likewise.
6103 * conform/data/strings.h-data: Likewise.
6104 * conform/data/stropts.h-data: Likewise.
6105 * conform/data/sys/ipc.h-data: Likewise.
6106 * conform/data/sys/mman.h-data: Likewise.
6107 * conform/data/sys/msg.h-data: Likewise.
6108 * conform/data/sys/resource.h-data: Likewise.
6109 * conform/data/sys/select.h-data: Likewise.
6110 * conform/data/sys/sem.h-data: Likewise.
6111 * conform/data/sys/shm.h-data: Likewise.
6112 * conform/data/sys/socket.h-data: Likewise.
6113 * conform/data/sys/stat.h-data: Likewise.
6114 * conform/data/sys/statvfs.h-data: Likewise.
6115 * conform/data/sys/time.h-data: Likewise.
6116 * conform/data/sys/timeb.h-data: Likewise.
6117 * conform/data/sys/times.h-data: Likewise.
6118 * conform/data/sys/types.h-data: Likewise.
6119 * conform/data/sys/uio.h-data: Likewise.
6120 * conform/data/sys/un.h-data: Likewise.
6121 * conform/data/sys/utsname.h-data: Likewise.
6122 * conform/data/sys/wait.h-data: Likewise.
6123 * conform/data/syslog.h-data: Likewise.
6124 * conform/data/tar.h-data: Likewise.
6125 * conform/data/termios.h-data: Likewise.
6126 * conform/data/utime.h-data: Likewise.
6127 * conform/data/utmpx.h-data: Likewise.
6128 * conform/data/varargs.h-data: Likewise.
6129 * conform/data/wchar.h-data: Likewise.
6130 * conform/data/wctype.h-data: Likewise.
6131 * conform/data/wordexp.h-data: Likewise.
6132
6133 * include/stropts.h: New file.
6134 * include/uchar.h: New file.
6135 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6136 * include/assert.h: Likewise.
6137 * include/ctype.h: Likewise.
6138 * include/dirent.h: Likewise.
6139 * include/dlfcn.h: Likewise.
6140 * include/fcntl.h: Likewise.
6141 * include/fnmatch.h: Likewise.
6142 * include/glob.h: Likewise.
6143 * include/grp.h: Likewise.
6144 * include/libio.h: Likewise.
6145 * include/locale.h: Likewise.
6146 * include/math.h: Likewise.
6147 * include/net/if.h: Likewise.
6148 * include/netdb.h: Likewise.
6149 * include/netinet/in.h: Likewise.
6150 * include/pthread.h: Likewise.
6151 * include/pwd.h: Likewise.
6152 * include/regex.h: Likewise.
6153 * include/sched.h: Likewise.
6154 * include/search.h: Likewise.
6155 * include/setjmp.h: Likewise.
6156 * include/signal.h: Likewise.
6157 * include/stdio.h: Likewise.
6158 * include/stdlib.h: Likewise.
6159 * include/string.h: Likewise.
6160 * include/sys/cdefs.h: Likewise.
6161 * include/sys/mman.h: Likewise.
6162 * include/sys/msg.h: Likewise.
6163 * include/sys/resource.h: Likewise.
6164 * include/sys/select.h: Likewise.
6165 * include/sys/socket.h: Likewise.
6166 * include/sys/stat.h: Likewise.
6167 * include/sys/statvfs.h: Likewise.
6168 * include/sys/time.h: Likewise.
6169 * include/sys/times.h: Likewise.
6170 * include/sys/uio.h: Likewise.
6171 * include/sys/utsname.h: Likewise.
6172 * include/sys/wait.h: Likewise.
6173 * include/termios.h: Likewise.
6174 * include/time.h: Likewise.
6175 * include/ulimit.h: Likewise.
6176 * include/unistd.h: Likewise.
6177 * include/utime.h: Likewise.
6178 * include/wchar.h: Likewise.
6179 * include/wctype.h: Likewise.
6180 * include/wordexp.h: Likewise.
6181
6182 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6183
7a270350
UD
6184 * time/time.h: TIME_UTC must be a macro.
6185 Make timespec_get available for ISO C11 only as well.
6186
7724defc
UD
61872012-02-24 Ulrich Drepper <drepper@gmail.com>
6188
6189 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6190 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6191
6b1d1d46
JM
61922012-02-24 Joseph Myers <joseph@codesourcery.com>
6193
6194 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6195
0f8bbd69
JM
61962012-02-24 Joseph Myers <joseph@codesourcery.com>
6197
6198 * manual/texinfo.tex: Update to version 2012-01-19.16.
6199
66ab80bc
JM
62002012-02-24 Joseph Myers <joseph@codesourcery.com>
6201
6202 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6203
74981cc5
RM
62042012-02-24 Roland McGrath <roland@hack.frob.com>
6205
ee968201
RM
6206 [BZ #13738]
6207 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6208 * manual/fdl-1.3.texi: New file.
6209 * manual/fdl-1.1.texi: File removed.
6210
74981cc5
RM
6211 [BZ #13738]
6212 * manual/libc.texinfo (FDL_VERSION): New @set.
6213 Use it for mention of FDL in cover text.
6214 (Documentation License): Use it in @include file name.
6215
7bb764bc
JM
62162012-02-22 Joseph Myers <joseph@codesourcery.com>
6217 Roland McGrath <roland@hack.frob.com>
6218
6219 [BZ #5461]
6220 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6221 not LONG_LONG_MAX and LONG_LONG_MIN.
6222 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6223 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6224 name.
6225 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6226
6cbeae47
JM
62272012-02-22 Joseph Myers <joseph@codesourcery.com>
6228
6229 [BZ #2547]
6230 [BZ #11365]
6231 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6232 manipulate bits before adding and subtracting TWO23[sx].
6233 * math/libm-test.inc (nearbyint_test): Add more tests.
6234
fe45ce09
JM
62352012-02-22 Joseph Myers <joseph@codesourcery.com>
6236
6237 [BZ #2548]
6238 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6239 bits before adding and subtracting TWO23[sx].
6240 * math/libm-test.inc (rint_test): Add more tests.
6241 (rint_test_tonearest): Likewise.
6242 (rint_test_towardzero): Likewise.
6243 (rint_test_downward): Likewise.
6244 (rint_test_upward: Likewise.
6245
ff3b3d82
JM
62462012-02-22 Joseph Myers <joseph@codesourcery.com>
6247
6248 [BZ #10110]
6249 * include/stdc-predef.h: New file. Extracted from features.h.
6250 * include/features.h: Include stdc-predef.h.
6251 * Makefile (headers): Add stdc-predef.h.
6252 * CONFORMANCE (Compiler limitations): Update.
6253
ef0aab35
JM
62542012-02-22 Joseph Myers <joseph@codesourcery.com>
6255
6256 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6257
58639409
DM
62582012-02-21 David S. Miller <davem@davemloft.net>
6259
6260 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6261 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6262
c0e70b25
DM
62632012-02-20 David S. Miller <davem@davemloft.net>
6264
6265 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6266 using a normal save/restore sequence, rather than allocating a
6267 dummy stack frame just to store a frame pointer and restore.
6268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6269
fb06851d
JM
62702012-02-21 Joseph Myers <joseph@codesourcery.com>
6271
6272 * manual/install.texi: Fix stray word in line-wrapped comment.
6273
7a8b71c3
DM
62742012-02-20 David S. Miller <davem@davemloft.net>
6275
d510c123
DM
6276 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6277 both binutils and gcc support GOTDATA.
6278
0722d7c2
DM
6279 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6280 "rd %pc" in the PIC register setup sequences.
6281
3d2b3019
DM
6282 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6283 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6284 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6285 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6286 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6291 (SYSCALL_ERROR_HANDLER): Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6295 (SYSCALL_ERROR_HANDLER): Likewise.
6296
c80098a9
DM
6297 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6298 (HAVE_GCC_GOTDATA): New.
6299 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6300 relocation support in both binutils and gcc.
6301 * sysdeps/sparc/elf/configure: Regenerate.
6302
3a2545a0
DM
6303 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6304 * sysdeps/sparc/sparc32/elf/configure: Delete.
6305 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6306 * sysdeps/sparc/sparc64/elf/configure: Delete.
6307 * sysdeps/sparc/elf/configure.in: New file.
6308 * sysdeps/sparc/elf/configure: Generate.
6309
7a8b71c3
DM
6310 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6311 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6312 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6313 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6314 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6315
f1e86fca
JM
63162012-02-21 Joseph Myers <joseph@codesourcery.com>
6317
6318 * manual/install.texi: Do not mention specific glibc version
6319 numbers.
6320 * manual/libc.texinfo (VERSION, UPDATED): Update.
6321 (@copying): Use @copyright{} and range of years.
6322
0e7dfaef
JM
63232012-02-21 Joseph Myers <joseph@codesourcery.com>
6324
6325 [BZ #13695]
6326 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6327 [crti.S not in sysdirs] (generated): Do not append.
6328 [crti.S not in sysdirs] (omit-deps): Likewise.
6329 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6330 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6331 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6332 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6333 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6334 Likewise.
6335 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6336 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6337 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6338 * csu/defs.awk: Remove file.
6339 * sysdeps/generic/initfini.c: Likewise.
6340 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6341 variable.
6342 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6343 Likewise.
6344
599af3ca
JM
63452012-02-20 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6348 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6350 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6352 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6353 <bits/epoll.h>.
6354 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6355 (__EPOLL_PACKED): Define to empty if not defined by
6356 <bits/epoll.h>.
6357 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6359 bits/epoll.h.
6360
0e499750
JM
63612012-02-20 Joseph Myers <joseph@codesourcery.com>
6362
6363 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6364 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6366 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6367 <bits/timerfd.h>.
6368 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6370 bits/timerfd.h.
6371
5ad91f6e
JM
63722012-02-20 Joseph Myers <joseph@codesourcery.com>
6373
6374 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6375 in C locale.
6376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6377 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6378 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6380
06b99b02
AJ
63812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6382
6383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6385
7638c0fd
AS
63862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6387
6388 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6389 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6390 defined.
6391 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6392 Likewise.
6393 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6394 entry for 2.16.
6395
92221550
AJ
63962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6397
6398 * math/w_acos.c: Use non-signaling floating-point comparisons.
6399 * math/w_acosf.c: Likewise.
6400 * math/w_acosh.c: Likewise.
6401 * math/w_acoshf.c: Likewise.
6402 * math/w_acoshl.c: Likewise.
6403 * math/w_acosl.c: Likewise.
6404 * math/w_asin.c: Likewise.
6405 * math/w_asinf.c: Likewise.
6406 * math/w_asinl.c: Likewise.
6407 * math/w_atanh.c: Likewise.
6408 * math/w_atanhf.c: Likewise.
6409 * math/w_atanhl.c: Likewise.
6410 * math/w_exp2.c: Likewise.
6411 * math/w_exp2f.c: Likewise.
6412 * math/w_exp2l.c: Likewise.
6413 * math/w_j0.c: Likewise.
6414 * math/w_j0f.c: Likewise.
6415 * math/w_j0l.c: Likewise.
6416 * math/w_j1.c: Likewise.
6417 * math/w_j1f.c: Likewise.
6418 * math/w_j1l.c: Likewise.
6419 * math/w_jn.c: Likewise.
6420 * math/w_jnf.c: Likewise.
6421 * math/w_log.c: Likewise.
6422 * math/w_log10.c: Likewise.
6423 * math/w_log10f.c: Likewise.
6424 * math/w_log10l.c: Likewise.
6425 * math/w_log2.c: Likewise.
6426 * math/w_log2f.c: Likewise.
6427 * math/w_log2l.c: Likewise.
6428 * math/w_logf.c: Likewise.
6429 * math/w_logl.c: Likewise.
6430 * math/w_sqrt.c: Likewise.
6431 * math/w_sqrtf.c: Likewise.
6432 * math/w_sqrtl.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6438
ebaf36eb
JM
64392012-02-19 Joseph Myers <joseph@codesourcery.com>
6440
6441 [BZ #9739]
6442 * manual/string.texi (strnlen): Use correct parameter name in
6443 equivalent expression.
6444
71c254a6
JM
64452012-02-19 Joseph Myers <joseph@codesourcery.com>
6446
6447 [BZ #11174]
6448 * manual/users.texi (seteuid): Consistently use neweuid for
6449 argument name.
6450
16d2c631
JM
64512012-02-19 Joseph Myers <joseph@codesourcery.com>
6452
6453 [BZ #13704]
6454 * manual/nss.texi (Services in the NSS configuration): Correct
6455 list of services in example configuration file.
6456
cd837b09
NB
64572012-02-19 Nick Bowler <nbowler@draconx.ca>
6458
6459 [BZ #11322]
6460 * manual/arith.texi: Remove statements about negative zero
6461 behaving identically to zero.
6462
02c4bbad
JM
64632012-02-18 Joseph Myers <joseph@codesourcery.com>
6464
6465 [BZ #5993]
6466 * manual/install.texi: Do not document upgrading from libc5.
6467
366842e7
JM
64682012-02-18 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #4596]
6471 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6472
dd54084d
DM
64732012-02-18 David S. Miller <davem@davemloft.net>
6474
6475 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6476 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6477 %o7 across the call.
6478 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6479 instead.
6480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6481 SETUP_PIC_REG_LEAF.
6482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6483 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6484 * sysdeps/sparc/crtn.S: Likewise.
6485
2bcc53a3
UD
64862012-02-17 Ulrich Drepper <drepper@gmail.com>
6487
6488 * aout/Makefile: Remove.
6489
09c093b5
RK
64902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6491
6492 [BZ #13058]
6493 * manual/examples/argp-ex1.c (main): Format definition in GNU
6494 style.
6495 * manual/examples/argp-ex2.c (main): Likewise.
6496 * manual/examples/argp-ex3.c (main): Likewise.
6497 * manual/examples/argp-ex4.c (main): Likewise.
6498 * manual/examples/longopt.c (main): Use new-style prototype
6499 definition.
6500 * manual/examples/strncat.c (main): Specify return type and use
6501 (void) for arguments.
6502 * manual/examples/subopt.c (main): Use char **argv argument.
6503
2ee633a2
JM
65042012-02-17 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #5077]
6507 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6508 rounding modes.
6509
0520adde
FB
65102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6511
6512 [BZ #6907]
6513 * manual/string.texi (strchr): Change when strchrnul is
6514 recommended.
6515
3f4081cd
DGM
65162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6517
6518 [BZ #174]
6519 * manual/locale.texi (setlocale): Document LOCPATH.
6520
d1b10e78
JM
65212012-02-17 Joseph Myers <joseph@codesourcery.com>
6522
6523 [BZ #10210]
6524 * manual/process.texi (execle): Move @dots{} before last argument.
6525
79c6869c
PB
65262012-02-17 Paul Bolle <pebolle@tiscali.nl>
6527
6528 [BZ #12047]
6529 * manual/charset.texi (Generic Charset Conversion): Fix typo
6530 (LC_TYPE -> LC_CTYPE).
6531
cc6e48bc
NB
65322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6533
6534 [BZ #5805]
6535 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6536 (scalbnf): Likewise.
6537 (scalbnl): Likewise.
6538 (scalbln): Likewise.
6539 (scalblnf): Likewise.
6540 (scalblnl): Likewise.
6541 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6542 (vwarnx): Likewise.
6543 (verr): Likewise.
6544 (verrx): Likewise.
6545 * manual/filesys.texi (telldir): Use braces around return type.
6546 * manual/llio.texi (mmap): Add space after comma.
6547 (mmap64): Likewise.
6548 * manual/math.texi (jn): Use @var{} on parameter names.
6549 (jnf): Likewise.
6550 (jnl): Likewise.
6551 (yn): Likewise.
6552 (ynf): Likewise.
6553 (ynl): Likewise.
6554 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6555 line.
6556 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6557 "...".
6558 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6559 (sched_get_priority_max): Likewise.
6560 * manual/signal.texi (sigvec): Add space after comma.
6561 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6562 names.
6563 (if_indextoname): Likewise.
6564 (if_freenameindex): Likewise.
6565 (sendto): Use ',' instead of '.' in prototype.
6566 * manual/startup.texi (syscall): Use @dots{} instead of literal
6567 "...".
6568 * manual/stdio.texi (__fpending): Separate initial words of
6569 paragraph from @deftypefun line.
6570 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6571 "...".
6572 (vsyslog): Use @var{} on parameter names.
6573 * manual/terminal.texi (stty): Use @var{} on parameter names.
6574 * manual/users.texi (getutmp): Use @var{} on parameter names.
6575 (getutmpx): Likewise.
6576
5b23062f
JM
65772012-02-17 Joseph Myers <joseph@codesourcery.com>
6578
6579 [BZ #6884]
6580 * manual/stdio.texi (fopen): Fix typos in description of
6581 ",ccs=STRING".
6582
8dee4833
AJ
65832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6584
6585 [BZ #4026]
6586 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6587 get clock_id definition.
6588
9078ce93
TS
65892012-02-17 Thomas Schwinge <thomas@schwinge.name>
6590
6591 [BZ #4822]
6592 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6593 (madvise): Cast every argument to void on its own.
6594
3835c55f
JM
65952012-02-17 Joseph Myers <joseph@codesourcery.com>
6596
6597 [BZ #9902]
6598 * manual/startup.texi (Exit Status): Fix typo.
6599
35c47e37
JM
66002012-02-17 Joseph Myers <joseph@codesourcery.com>
6601
6602 [BZ #10140]
6603 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6604 * manual/examples/argp-ex2.c: Likewise.
6605 * manual/examples/argp-ex3.c: Likewise.
6606
e3b69ca7
RH
66072012-02-16 Richard Henderson <rth@redhat.com>
6608
6609 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6610 * sysdeps/s390/s390-32/initfini.c: Remove.
6611 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6612 * sysdeps/s390/s390-64/initfini.c: Remove.
6613
df83af67
KK
66142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6615
6616 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6617 compiler output for sysdeps/generic/initfini.c.
6618 * sysdeps/sh/elf/initfini.c: Remove file.
6619
f63f3380
DM
66202012-02-16 David S. Miller <davem@davemloft.net>
6621
fb59b3a4
DM
6622 [BZ #11494]
6623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6624
f63f3380
DM
6625 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6626 * sysdeps/sparc/crti.S: New file.
6627 * sysdeps/sparc/crtn.S: New file.
6628 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6629 * sysdeps/sparc/sparc64/Makefile: Likewise.
6630
df6a4a4a
MF
66312012-02-15 Mike Frysinger <vapier@gentoo.org>
6632
6dd8f3dc 6633 [BZ #3335]
df6a4a4a
MF
6634 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6635
1cac7236
RM
66362012-02-15 Roland McGrath <roland@hack.frob.com>
6637
d2c736f8
RM
6638 [BZ #4822]
6639 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6640
1cac7236
RM
6641 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6642 (write, read, close): Likewise.
6643 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6644
8e475601
JM
66452012-02-15 Joseph Myers <joseph@codesourcery.com>
6646
6647 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6648 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6650 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6651 <bits/signalfd.h>.
6652 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6654 bits/signalfd.h.
6655
ed656b40
MP
66562012-02-14 Marek Polacek <polacek@redhat.com>
6657
6658 * sysdeps/x86_64/crti.S: New file.
6659 * sysdeps/x86_64/crtn.S: New file.
6660 * sysdeps/x86_64/elf/initfini.c: Remove file.
6661
2a979d3a
JM
66622012-02-13 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6665 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6667 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6668 <bits/inotify.h>.
6669 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6671 bits/inotify.h.
6672
2a418ac3
JM
66732012-02-13 Joseph Myers <joseph@codesourcery.com>
6674
6675 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6676 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6678 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6679 <bits/eventfd.h>.
6680 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6682 bits/eventfd.h.
6683
fb779be7
TS
66842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6685
e19e83c5
RM
6686 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6687 __feraiseexcept instead of feraiseexcept.
7c35ffed 6688
fb779be7
TS
6689 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6690 nanosleep invocations.
6691 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6692 strings, and add error checking for a nanosleep invocations.
6693
59ba27a6
PE
66942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6695
6696 Replace FSF snail mail address with URLs, as per GNU coding standards.
6697 Most of the snail mail addresses were wrong anyway, and omitting
6698 them makes the source code easier to maintain. Almost all of the
6699 changes are to license notices and to locale LC_IDENTIFICATION
6700 addresses, except for this one:
6701 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6702 not its snail mail address.
6703
57b957eb
RH
67042012-02-09 Richard Henderson <rth@twiddle.net>
6705
af850b1c
RH
6706 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6707 of kernel-features.h.
6708
57b957eb
RH
6709 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6710
6b73181a
MP
67112012-02-08 Marek Polacek <polacek@redhat.com>
6712
6713 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6714 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6715 * sysdeps/gnu/_G_config.h: Likewise.
6716 * sysdeps/generic/_G_config.h: Likewise.
6717
26ecc33a
AS
67182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6719
6c6dbc63
AS
6720 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6721 tests.
6722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6723
e216c012
AS
6724 * sysdeps/powerpc/powerpc32/crti.S: New file.
6725 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6726 * sysdeps/powerpc/powerpc64/crti.S: New file.
6727 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6728
26ecc33a
AS
6729 * Makeconfig (have-initfini): Don't set.
6730 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6731 * configure.in (nopic_initfini): Don't substitute.
6732 * config.h.in (HAVE_INITFINI): Don't #undef.
6733 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6734 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6735
3add8e13
JM
67362012-02-08 Joseph Myers <joseph@codesourcery.com>
6737
6738 Support crti.S and crtn.S provided directly by architectures.
6739 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6740 [crti.S in sysdirs] (omit-deps): Likewise.
6741 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6742 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6743 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6744 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6745 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6746 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6747 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6748 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6749 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6750 compiler output for sysdeps/generic/initfini.c.
6751 * sysdeps/i386/elf/Makefile: Remove file.
6752 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6753
a22f12b4
MP
67542012-02-07 Marek Polacek <polacek@redhat.com>
6755
6756 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6757 * sysdeps/gnu/_G_config.h: Likewise.
6758 * sysdeps/mach/hurd/_G_config.h: Likewise.
6759
148cf100
MP
67602012-02-07 Marek Polacek <polacek@redhat.com>
6761
6762 * math/Makefile (tests): Add tst-CMPLX2.
6763 * math/tst-CMPLX2.c: New file.
6764
cfdc0dd7
AS
67652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6766
84ba42c4
AS
6767 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6768
cfdc0dd7
AS
6769 * math/libm-test.inc (jn_test): Add missing L suffix.
6770
622c86f4
MP
67712012-02-06 Marek Polacek <polacek@redhat.com>
6772
6773 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6774 * sysdeps/i386/fpu/e_powf.S: Likewise.
6775 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6776 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6777 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6778 * sysdeps/i386/fpu/e_pow.S: Likewise.
6779 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6781 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6782 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6783 * sysdeps/i386/fpu/e_log2.S: Likewise.
6784 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6786 * sysdeps/i386/fpu/e_powl.S: Likewise.
6787 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6789 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6790 * sysdeps/i386/fpu/e_logl.S: Likewise.
6791 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6792 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6793 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6794 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6795 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6796 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6797 * sysdeps/i386/fpu/e_log.S: Likewise.
6798 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6800 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6801 * sysdeps/i386/fpu/e_logf.S: Likewise.
6802 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6803 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6804 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6806 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6807 * sysdeps/i386/fpu/e_log10.S: Likewise.
6808 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6809 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6810 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6811 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6814 * sysdeps/i386/asm-syntax.h: Likewise.
6815 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6816 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6817 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6818 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6819 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6821 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6822 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6824 * sysdeps/powerpc/sysdep.h: Likewise.
6825 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6826 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6827
d4a54ac6
JM
68282012-02-06 Joseph Myers <joseph@codesourcery.com>
6829
6830 [BZ #411]
6831 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6832
314054ea
JM
68332012-02-06 Joseph Myers <joseph@codesourcery.com>
6834
6835 * sysdeps/i386/sysdep.h: Include <features.h>.
6836 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6837 version.
6838
d8e0ca50
JM
68392012-02-05 Joseph Myers <joseph@codesourcery.com>
6840
6841 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6842 Define.
6843 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6844 LOAD_PIC_REG_STR.
6845
b1da7dd9
JM
68462012-02-03 Joseph Myers <joseph@codesourcery.com>
6847
6848 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6849 (SETUP_PIC_REG): Use GET_PC_THUNK.
6850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6851 macro.
6852
9a1d9254
JM
68532012-02-03 Joseph Myers <joseph@codesourcery.com>
6854
6855 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6856 for non-PIC compilation.
6857 (SETUP_PIC_REG): Add .p2align directive.
6858 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6859 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6890 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6899
65dc3b75
JM
69002012-02-03 Joseph Myers <joseph@codesourcery.com>
6901
6902 * math/tst-CMPLX.c: Include <stdio.h>.
6903
d55bf177
JM
69042012-01-31 Joseph Myers <joseph@codesourcery.com>
6905
6906 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6907 float.
6908 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6909 * sysdeps/sparc/bits/mathdef.h: Likewise.
6910
69db4f8f
MP
69112012-01-31 Marek Polacek <polacek@redhat.com>
6912
6913 * libio/libio.h: Don't define _PARAMS.
6914 * locale/programs/config.h: Don't define PARAMS.
6915 * stdlib/strtol_l.c: Likewise.
6916 (__strtol_l): Remove PARAMS from the prototype.
6917
41b81892
UD
69182012-01-31 Ulrich Drepper <drepper@gmail.com>
6919
3b49edc0
UD
6920 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6921 names. Just use the correct names. Remove unnecessary wrapper
6922 functions.
6923 * malloc/arena.c: Likewise.
6924 * malloc/hooks.c: Likewise.
6925
41b81892
UD
6926 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6927 ARENA_TEST says not to. Simplify test for creation of a new arena.
6928 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6929
27a25b6e
UD
69302012-01-30 Ulrich Drepper <drepper@gmail.com>
6931
6932 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6933 into tail calls.
6934 (update_get_addr): New function.
6935 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6936 GET_ADDR_MODULE parameter.
6937
c8a89e7d
JM
69382012-01-30 Joseph Myers <joseph@codesourcery.com>
6939
6940 * crypt/cert.c: Remove __STDC__ conditionals.
6941 * crypt/crypt-entry.c: Likewise.
6942 * crypt/crypt_util.c: Likewise.
6943 * libio/filedoalloc.c: Likewise.
6944 * libio/fileops.c: Likewise.
6945 * libio/genops.c: Likewise.
6946 * libio/iofclose.c: Likewise.
6947 * libio/iofdopen.c: Likewise.
6948 * libio/iofopen.c: Likewise.
6949 * libio/iofopen64.c: Likewise.
6950 * libio/iogetdelim.c: Likewise.
6951 * libio/iopopen.c: Likewise.
6952 * libio/obprintf.c: Likewise.
6953 * libio/oldfileops.c: Likewise.
6954 * libio/oldiofclose.c: Likewise.
6955 * libio/oldiofdopen.c: Likewise.
6956 * libio/oldiofopen.c: Likewise.
6957 * libio/oldiopopen.c: Likewise.
6958 * libio/wfiledoalloc.c: Likewise.
6959 * libio/wgenops.c: Likewise.
6960 * locale/programs/xmalloc.c: Likewise.
6961 * misc/syslog.c: Likewise.
6962 * stdio-common/xbug.c: Likewise.
6963 * string/memchr.c: Likewise.
6964 * string/memcmp.c: Likewise.
6965 * string/memrchr.c: Likewise.
6966 * string/rawmemchr.c: Likewise.
6967 * sysdeps/posix/getcwd.c: Likewise.
6968 * time/strftime_l.c: Likewise.
6969
3b100462
JM
69702012-01-30 Joseph Myers <joseph@codesourcery.com>
6971
6972 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6973 * config.make.in (config-cflags-sse2avx): Define.
6974 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6975 Fix typo.
6976
607998af
CM
69772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6978
6979 * scripts/config.guess: Update from upstream config git repository.
6980 * scripts/config.sub: Likewise.
6981
3601428f
CM
69822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6983
3ac8b282
CM
6984 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6985 (EM_NUM): Update.
6986 (R_TILEPRO_*, R_TILEGX_*): New macros.
6987
e034841e
CM
6988 * scripts/firstversions.awk: Fix bug in version range handling.
6989
540d7568
CM
6990 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6991
3601428f
CM
6992 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6993
463de862
CM
6994 * include/sys/epoll.h: New file.
6995 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6996 libc_hidden_def.
6997
73139a76
UD
69982012-01-28 Ulrich Drepper <drepper@gmail.com>
6999
96bc5b45
UD
7000 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7001 Avoid unnecessary __WORDSIZE == 64 test.
7002 (fmaxf): Use VEX format if possible.
7003 (fmax): Likewise.
7004 (fminf): Likewise.
7005 (fmin): Likewise.
7006
56f6f6a2
UD
7007 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7008 * math/math_private.h: Remove libc_fegetround* and
7009 libc_fesetround*.
7010 * sysdeps/i386/configure.in: Check for -msse2avx.
7011 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7012 also if SSE2AVX is defined.
7013 Remove libc_fegetround* and libc_fesetround*.
7014 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7015 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7017 of HAS_YMM_USABLE.
7018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7023
73139a76
UD
7024 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7025
d73f93a4
AZ
70262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027
7028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7029 size is not set.
7030 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7031
6ee65ed6
UD
70322012-01-27 Ulrich Drepper <drepper@gmail.com>
7033
7034 [BZ #13618]
7035 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7036 relocation.
7037 * Makeconfig (libm): Define.
7038 * elf/Makefile: Add rules to build and run tst-relsort1.
7039 * elf/tst-relsort1.c: New file.
7040 * elf/tst-relsort1mod1.c: New file.
7041 * elf/tst-relsort1mod2.c: New file.
7042
8db21882
JM
70432012-01-27 Joseph Myers <joseph@codesourcery.com>
7044
7045 * math/s_ldexp.c: Remove __STDC__ conditionals.
7046 * math/s_ldexpf.c: Likewise.
7047 * math/s_ldexpl.c: Likewise.
7048 * math/s_nextafter.c: Likewise.
7049 * math/s_nexttowardf.c: Likewise.
7050 * math/s_significand.c: Likewise.
7051 * math/s_significandf.c: Likewise.
7052 * math/s_significandl.c: Likewise.
7053 * math/w_jnl.c: Likewise.
7054 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7055 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7073 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7076 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7078 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7084 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7085 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7086 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7087 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7088 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7089 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7090 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7091 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7092 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7093 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7094 * sysdeps/ieee754/k_standard.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7170 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7174 * sysdeps/ieee754/s_matherr.c: Likewise.
7175 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7176 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7178 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7179
965a54a4
JM
71802012-01-26 Joseph Myers <joseph@codesourcery.com>
7181
7182 * crypt/md5.h: Remove __STDC__ conditionals.
7183 * libio/libioP.h: Likewise.
7184 * locale/programs/config.h: Likewise.
7185 * sysdeps/generic/sysdep.h: Likewise.
7186 * sysdeps/i386/asm-syntax.h: Likewise.
7187 * sysdeps/s390/asm-syntax.h: Likewise.
7188 * sysdeps/unix/sysdep.h: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7191
7071ad79
JM
71922012-01-26 Joseph Myers <joseph@codesourcery.com>
7193
7194 * libio/libio.h: Remove __STDC__ conditionals.
7195 * malloc/obstack.h: Likewise.
7196 * math/complex.h: Likewise.
7197 * math/math.h: Likewise.
7198 * sysdeps/generic/_G_config.h: Likewise.
7199 * sysdeps/gnu/_G_config.h: Likewise.
7200 * sysdeps/mach/hurd/_G_config.h: Likewise.
7201 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7202 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7203 * sysdeps/sparc/bits/mathdef.h: Likewise.
7204
afc5ed09
UD
72052012-01-26 Ulrich Drepper <drepper@gmail.com>
7206
7207 [BZ #13583]
7208 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7209 Clean up HAS_* macros.
afc5ed09 7210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7211 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7212 possible.
7213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7214 HAS_AVX.
7215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7220
bdb6de1d
JM
72212012-01-25 Joseph Myers <joseph@codesourcery.com>
7222
7223 * elf/tst-unique3.cc (gets): Remove declaration.
7224 * elf/tst-unique3lib.cc (gets): Likewise.
7225 * elf/tst-unique3lib2.cc (gets): Likewise.
7226 * elf/tst-unique4.cc (gets): Likewise.
7227
b15549e6
UD
72282012-01-24 Ulrich Drepper <drepper@gmail.com>
7229
7230 * include/stdio.h: Add C++ protection. Add gets declarations and
7231 definitions.
7232 * debug/tst-chk1.c: Don't declare gets here.
7233 * stdio-common/tst-gets.c: Likewise.
7234
a037381f
JM
72352012-01-24 Joseph Myers <joseph@codesourcery.com>
7236
7237 * posix/glob: Remove directory.
7238
f1d4aa75
JM
72392012-01-24 Joseph Myers <joseph@codesourcery.com>
7240
7241 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7242
81c0c964
PT
72432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7244
7245 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7246 of the non-standard EPFNOSUPPORT.
7247
0ea698ae
ST
72482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7249
7250 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7251 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7252 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7253
d220b117
UD
72542012-01-21 Ulrich Drepper <drepper@gmail.com>
7255
7256 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7257
3e1aa84e
UD
72582012-01-20 Ulrich Drepper <drepper@gmail.com>
7259
7260 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7261 transient errors.
7262 * nscd/grpcache.c (cache_addgr): Likewise.
7263 * nscd/hstcache.c (cache_addhst): Likewise.
7264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7265 * nscd/pwdcache.c (cache_addpw): Likewise.
7266 * nscd/servicescache.c (cache_addserv): Likewise.
7267
400aa020
UD
72682012-01-16 Ulrich Drepper <drepper@gmail.com>
7269
d77e7869
UD
7270 * malloc/malloc.c: Various cleanups.
7271 * malloc/hooks.c: Likewise.
7272
400aa020
UD
7273 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7274 * stdlib/bug-fmtmsg1.c: New file.
7275
7276 * stdlib/fmtmsg.c (init): Add missing unlock.
7277 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7278
e0a309cf
MP
72792012-01-12 Marek Polacek <polacek@redhat.com>
7280
7281 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7282 and _GNU_SOURCE.
7283
929d11c7
WS
72842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7285
7286 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7287 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7288 macro to ensure uniqueness of label name.
7289 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7290 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7291
41d0e869
UD
72922012-01-11 Ulrich Drepper <drepper@gmail.com>
7293
0cc5ed3b
UD
7294 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7295
41d0e869
UD
7296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7300
a47a831a
UD
73012012-01-10 Ulrich Drepper <drepper@gmail.com>
7302
daa891c0
UD
7303 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7304
7305 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7306 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7308
e58ef0f2
UD
7309 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7310
a47a831a 7311 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7312 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7315
7316 * math/bits/math-finite.h: Add ldexp support.
7317
a0bfc9c7
MP
73182012-01-10 Marek Polacek <polacek@redhat.com>
7319
7320 * locale/programs/localedef.h (show_archive_content): Add noreturn
7321 attribute.
7322
d6e97a1d
UD
73232012-01-09 Ulrich Drepper <drepper@gmail.com>
7324
7325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7326
d5835c26
UD
73272012-01-08 Ulrich Drepper <drepper@gmail.com>
7328
e5f484c6
UD
7329 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7330
d5835c26
UD
7331 * io/Makefile (headers): Add bits/poll2.h.
7332
d1f741e9
WS
73332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7334
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7336 typo #include statement.
7337
ec09c1c4
UD
73382012-01-08 Ulrich Drepper <drepper@gmail.com>
7339
7340 * include/sys/cdefs.h: Define __attribute_alloc_size.
7341 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7342 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7343 * elf/pldd.c: Likewise.
7344 * iconv/iconv_charmap.c: Likewise.
7345 * iconv/iconvconfig.c: Likewise.
7346 * iconv/strtab.c: Likewise.
7347 * locale/programs/locale.c: Likewise.
7348 * locale/programs/localedef.h: Likewise.
7349 * locale/programs/simple-hash.c: Likewise.
7350 * nscd/nscd.h: Likewise.
7351 * nss/makedb.c: Likewise.
7352 * sysdeps/generic/ldconfig.h: Likewise.
7353 * locale/programs/localedef.c: Remove xmalloc prototype.
7354 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7355
20b38e03
PP
73562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7357
7358 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7359 appropriate.
7360
a0da5fe1
UD
73612012-01-08 Ulrich Drepper <drepper@gmail.com>
7362
1d5a644a 7363 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7364 * math/tst-CMPLX.c: New file.
1d5a644a 7365
8784a6db
UD
7366 * math/complex.h (CMPLXL): Fix typo.
7367
d9a216c0
UD
7368 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7369 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7370 GLIBC_2.16.
7371 * debug/tst-chk1.c: Add poll and ppoll tests.
7372 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7373 * include/sys/poll.h: Add hidden proto for ppoll.
7374 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7375 * sysdeps/mach/hurd/ppoll.c: Likewise.
7376 * io/ppoll.c: Likewise.
7377 * debug/poll_chk.c: New file.
7378 * debug/ppoll_chk.c: New file.
7379 * include/bits/poll2.h: New file.
7380 * io/bits/poll2.h: New file.
7381
ac097f5c
UD
7382 [BZ #1350]
7383 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7384
2119dcfa
UD
7385 * configure.in: static is always set to yes. Remove.
7386 * config.make.in: Don't set build-static.
7387 * Makeconfig: Remove use of build-static.
7388 * dlfcn/Makefile: Likewise.
7389 * elf/Makefile: Likewise.
7390 * math/Makefile: Likewise.
7391 * misc/Makefile: Likewise.
7392 * nptl/Makefile: Likewise.
7393 * sysdeps/mach/hurd/Makefile: Likewise.
7394
121766a9
UD
7395 * configure.in: PWD_P is not used anymore.
7396 * config.make.in: Remove PWD_P entry.
7397
51a1d39c 7398 * configure.in: Remove last remnants of RANLIB.
8720d066 7399 No need to check for signed size_t anymore.
215f4bdc
UD
7400 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7401 and IA-64.
3857022a 7402 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7403 * aclocal.m4: Likewise.
7404
d3ed7225
UD
7405 * wcsmbs/mbrtoc16.c: Implement using towc function.
7406 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7407 * wcsmbs/wcsmbsload.c: Likewise.
7408 * iconv/gconv_simple.c: Likewise.
7409 * iconv/gconv_int.h: Likewise.
7410 * iconv/gconv_builtin.h: Likewise.
7411 * iconv/iconv_prog.c: Remove CHAR16 handling.
7412
7413 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7414
7415 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7416
a0da5fe1
UD
7417 * configure.in: Remove --with-elf and --enable-bounded options.
7418 Dont set base_machine for ia64. More non-ELF conditions removed.
7419 Remove testing and setting of leading underscore information.
7420 * config.make.in (build-bounded): Set to no.
7421 * config.h.in: Remove NO_UNDERSCORES entry.
7422 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7423 them.
7424 * csu/start.c: Remove !NO_UNDERSCORE code.
7425 * locale/localeinfo.h: Likewise.
7426 * sysdeps/generic/machine-gmon.h: Likewise.
7427 * sysdeps/generic/sysdep.h: Likewise.
7428 * sysdeps/i386/sysdep.h: Likewise.
7429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7430 * sysdeps/mach/sysdep.h: Likewise.
7431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7432 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7433 * sysdeps/sh/sysdep.h: Likewise.
7434 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7435 * sysdeps/unix/i386/sysdep.S: Likewise.
7436 * sysdeps/unix/sparc/start.c: Likewise.
7437 * sysdeps/unix/sparc/sysdep.S: Likewise.
7438 * sysdeps/unix/sparc/sysdep.h: Likewise.
7439 * sysdeps/unix/start.c: Likewise.
7440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7441 * sysdeps/x86_64/sysdep.h: Likewise.
7442
df78418a
UD
74432012-01-07 Ulrich Drepper <drepper@gmail.com>
7444
a784e502
UD
7445 [BZ #13553]
7446 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7447 for non-gcc.
7448 * argp/argp-fmtstream.h: Use const instead __const.
7449 * argp/argp.h: Likewise.
7450 * assert/assert.h: Likewise.
7451 * bits/fenv.h: Likewise.
7452 * bits/sched.h: Likewise.
7453 * bits/sigset.h: Likewise.
7454 * bits/sigthread.h: Likewise.
7455 * catgets/nl_types.h: Likewise.
7456 * conform/data/pthread.h-data: Likewise.
7457 * crypt/crypt-private.h: Likewise.
7458 * crypt/crypt.h: Likewise.
7459 * crypt/crypt_util.c: Likewise.
7460 * ctype/ctype.h: Likewise.
7461 * debug/execinfo.h: Likewise.
7462 * debug/mbsnrtowcs_chk.c: Likewise.
7463 * debug/mbsrtowcs_chk.c: Likewise.
7464 * debug/wcsnrtombs_chk.c: Likewise.
7465 * debug/wcsrtombs_chk.c: Likewise.
7466 * debug/wcstombs_chk.c: Likewise.
7467 * dirent/dirent.h: Likewise.
7468 * dlfcn/dlfcn.h: Likewise.
7469 * elf/neededtest4.c: Likewise.
7470 * grp/grp.h: Likewise.
7471 * gshadow/gshadow.h: Likewise.
7472 * iconv/gconv.h: Likewise.
7473 * iconv/gconv_int.h: Likewise.
7474 * iconv/gconv_simple.c: Likewise.
7475 * iconv/iconv.h: Likewise.
7476 * iconv/loop.c: Likewise.
7477 * iconv/skeleton.c: Likewise.
7478 * include/aio.h: Likewise.
7479 * include/aliases.h: Likewise.
7480 * include/argz.h: Likewise.
7481 * include/arpa/inet.h: Likewise.
7482 * include/assert.h: Likewise.
7483 * include/dirent.h: Likewise.
7484 * include/dlfcn.h: Likewise.
7485 * include/execinfo.h: Likewise.
7486 * include/fcntl.h: Likewise.
7487 * include/fenv.h: Likewise.
7488 * include/glob.h: Likewise.
7489 * include/grp.h: Likewise.
7490 * include/libintl.h: Likewise.
7491 * include/mntent.h: Likewise.
7492 * include/netdb.h: Likewise.
7493 * include/pwd.h: Likewise.
7494 * include/rpc/netdb.h: Likewise.
7495 * include/sched.h: Likewise.
7496 * include/search.h: Likewise.
7497 * include/shadow.h: Likewise.
7498 * include/signal.h: Likewise.
7499 * include/stdio.h: Likewise.
7500 * include/stdlib.h: Likewise.
7501 * include/string.h: Likewise.
7502 * include/sys/socket.h: Likewise.
7503 * include/sys/stat.h: Likewise.
7504 * include/sys/statfs.h: Likewise.
7505 * include/sys/statvfs.h: Likewise.
7506 * include/sys/syslog.h: Likewise.
7507 * include/sys/time.h: Likewise.
7508 * include/sys/uio.h: Likewise.
7509 * include/time.h: Likewise.
7510 * include/unistd.h: Likewise.
7511 * include/utmp.h: Likewise.
7512 * include/wchar.h: Likewise.
7513 * include/wctype.h: Likewise.
7514 * inet/aliases.h: Likewise.
7515 * inet/arpa/inet.h: Likewise.
7516 * inet/netinet/ether.h: Likewise.
7517 * inet/netinet/in.h: Likewise.
7518 * intl/libintl.h: Likewise.
7519 * io/bits/fcntl2.h: Likewise.
7520 * io/fcntl.h: Likewise.
7521 * io/ftw.h: Likewise.
7522 * io/sys/poll.h: Likewise.
7523 * io/sys/stat.h: Likewise.
7524 * io/sys/statfs.h: Likewise.
7525 * io/sys/statvfs.h: Likewise.
7526 * io/utime.h: Likewise.
7527 * libio/bits/stdio.h: Likewise.
7528 * libio/bits/stdio2.h: Likewise.
7529 * libio/libio.h: Likewise.
7530 * libio/libioP.h: Likewise.
7531 * libio/stdio.h: Likewise.
7532 * locale/lc-ctype.c: Likewise.
7533 * locale/locale.h: Likewise.
7534 * login/utmp.h: Likewise.
7535 * malloc/arena.c: Likewise.
7536 * malloc/malloc.c: Likewise.
7537 * malloc/malloc.h: Likewise.
7538 * malloc/mcheck.c: Likewise.
7539 * malloc/mtrace.c: Likewise.
7540 * math/bits/mathcalls.h: Likewise.
7541 * math/fenv.h: Likewise.
7542 * math/math_private.h: Likewise.
7543 * misc/bits/error.h: Likewise.
7544 * misc/bits/syslog.h: Likewise.
7545 * misc/err.h: Likewise.
7546 * misc/error.h: Likewise.
7547 * misc/fstab.h: Likewise.
7548 * misc/mntent.h: Likewise.
7549 * misc/regexp.h: Likewise.
7550 * misc/search.h: Likewise.
7551 * misc/sgtty.h: Likewise.
7552 * misc/sys/mman.h: Likewise.
7553 * misc/sys/syslog.h: Likewise.
7554 * misc/sys/uio.h: Likewise.
7555 * misc/sys/xattr.h: Likewise.
7556 * misc/ttyent.h: Likewise.
7557 * nis/rpcsvc/ypclnt.h: Likewise.
7558 * nss/nss.h: Likewise.
7559 * posix/bits/unistd.h: Likewise.
7560 * posix/fnmatch.h: Likewise.
7561 * posix/glob.h: Likewise.
7562 * posix/sched.h: Likewise.
7563 * posix/spawn.h: Likewise.
7564 * posix/sys/wait.h: Likewise.
7565 * posix/unistd.h: Likewise.
7566 * posix/wordexp.h: Likewise.
7567 * pwd/pwd.h: Likewise.
7568 * resolv/netdb.h: Likewise.
7569 * resource/sys/resource.h: Likewise.
7570 * rt/aio.h: Likewise.
7571 * rt/bits/mqueue2.h: Likewise.
7572 * rt/mqueue.h: Likewise.
7573 * shadow/shadow.h: Likewise.
7574 * signal/signal.h: Likewise.
7575 * socket/send.c: Likewise.
7576 * socket/sendto.c: Likewise.
7577 * socket/sys/socket.h: Likewise.
7578 * stdio-common/printf.h: Likewise.
7579 * stdlib/bits/stdlib.h: Likewise.
7580 * stdlib/fmtmsg.h: Likewise.
7581 * stdlib/monetary.h: Likewise.
7582 * stdlib/stdlib.h: Likewise.
7583 * stdlib/ucontext.h: Likewise.
7584 * streams/stropts.h: Likewise.
7585 * string/argz.h: Likewise.
7586 * string/bits/string2.h: Likewise.
7587 * string/string.h: Likewise.
7588 * string/strings.h: Likewise.
7589 * sunrpc/rpc/auth.h: Likewise.
7590 * sunrpc/rpc/auth_des.h: Likewise.
7591 * sunrpc/rpc/clnt.h: Likewise.
7592 * sunrpc/rpc/netdb.h: Likewise.
7593 * sunrpc/rpc/pmap_clnt.h: Likewise.
7594 * sunrpc/rpc/xdr.h: Likewise.
7595 * sysdeps/generic/inttypes.h: Likewise.
7596 * sysdeps/generic/net/if.h: Likewise.
7597 * sysdeps/generic/sys/swap.h: Likewise.
7598 * sysdeps/gnu/net/if.h: Likewise.
7599 * sysdeps/gnu/utmpx.h: Likewise.
7600 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7601 * sysdeps/i386/i486/bits/string.h: Likewise.
7602 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7603 * sysdeps/s390/bits/string.h: Likewise.
7604 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7605 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7606 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7607 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7608 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7609 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7610 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7611 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7612 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7613 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7614 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7615 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7616 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7617 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7618 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7619 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7620 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7625 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7626 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7627 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7629 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7630 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7631 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7632 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7634 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7635 * sysvipc/sys/ipc.h: Likewise.
7636 * sysvipc/sys/msg.h: Likewise.
7637 * sysvipc/sys/sem.h: Likewise.
7638 * sysvipc/sys/shm.h: Likewise.
7639 * termios/termios.h: Likewise.
7640 * time/sys/time.h: Likewise.
7641 * time/time.h: Likewise.
7642 * wcsmbs/bits/wchar2.h: Likewise.
7643 * wcsmbs/uchar.h: Likewise.
7644 * wcsmbs/wchar.h: Likewise.
7645 * wctype/wctype.h: Likewise.
7646
0269750c
UD
7647 [BZ #13551]
7648 * Makeconfig: Remove all but ELF support including AIX support.
7649 * Makerules: Likewise.
7650 * config.h.in: Likewise.
7651 * config.make.in: Likewise.
7652 * configure: Likewise.
7653 * configure.in: Likewise.
7654 * csu/Makefile: Likewise.
7655 * csu/version.c: Likewise.
7656 * debug/Makefile: Likewise.
7657 * dlfcn/Makefile: Likewise.
7658 * elf/Makefile: Likewise.
7659 * extra-lib.mk: Likewise.
7660 * iconv/Makefile: Likewise.
7661 * include/libc-symbols.h: Likewise.
7662 * include/shlib-compat.h: Likewise.
7663 * resolv/Makefile: Likewise.
7664 * resolv/res_libc.c: Likewise.
7665 * rt/Makefile: Likewise.
7666 * sysdeps/i386/asm-syntax.h: Likewise.
7667 * sysdeps/i386/sysdep.h: Likewise.
7668 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7669 * sysdeps/mach/sysdep.h: Likewise.
7670 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7671 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7672 * sysdeps/s390/asm-syntax.h: Likewise.
7673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7675 * sysdeps/sh/sysdep.h: Likewise.
7676 * sysdeps/unix/sparc/sysdep.h: Likewise.
7677 * sysdeps/wordsize-32/divdi3.c: Likewise.
7678 * sysdeps/x86_64/sysdep.h: Likewise.
7679
00bbd29b
UD
7680 * argp/Versions: Remove _argp_unlock_xxx.
7681
7682 [BZ #13559]
7683 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7684 * abilist/libBrokenLocale.abilist: Likewise.
7685 * abilist/libanl.abilist: Likewise.
7686 * abilist/libc.abilist: Likewise.
7687 * abilist/libcrypt.abilist: Likewise.
7688 * abilist/libdl.abilist: Likewise.
7689 * abilist/libm.abilist: Likewise.
7690 * abilist/libnsl.abilist: Likewise.
7691 * abilist/libpthread.abilist: Likewise.
7692 * abilist/libresolv.abilist: Likewise.
7693 * abilist/librt.abilist: Likewise.
7694 * abilist/libthread_db.abilist: Likewise.
7695 * abilist/libutil.abilist: Likewise.
7696 * abilist/libnss_db.abilist: New file.
7697
7698 * scripts/abilist.awk: Add support for indirect functions.
7699
a2693a0e
UD
7700 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7701
3f05895f
UD
7702 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7703
ecb6fb48
UD
7704 * shlib-versions: Remove entries for ports architectures.
7705
664f8cb9
UD
7706 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7707 files in ports.
7708 * elf/stackguard-macros.h: Remove support for IA-64.
7709 * elf/tst-auditmod1.c: Likewise.
7710 * sysdeps/generic/ldsodefs.h: Likewise.
7711
7ae81d88
UD
7712 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7713 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7714 configure files.
7715
bdeba135
UD
7716 [BZ #13552]
7717 * configure.in: Remove --enable-omitfp support.
7718 * FAQ.in: Adjust.
7719 * config.make.in: Likewise.
7720 * Makeconfig: Likewise.
7721 * manual/install.texi: Likewise.
7722
d75a0a62
UD
7723 In case anyone cares, the IA-64 architecture could move to ports.
7724 * sysdeps/ia64/*: Removed.
7725 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7726 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7727
dcc9756b
UD
7728 [BZ #13555]
7729 * configure.in: Remove entries for unsupported architectures.
7730
d3761ebc 7731 [BZ #13533]
9954432e
UD
7732 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7733 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7734 routines.
7735 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7736 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7737 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7738 fall back to using wcrtomb.
7739 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7740 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7741 renaming.
7742 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7743 * wcsmbs/tst-c16c32-1.c: New file.
7744
7745 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7746 local variable.
7747
c3a87236
UD
7748 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7749
28926a1b
UD
7750 * elf/tst-unique3.cc: Add explicit declaration of gets.
7751 * elf/tst-unique3lib.cc: Likewise.
7752 * elf/tst-unique3lib2.cc: Likewise.
7753 * elf/tst-unique4.cc: Likewise.
7754
df78418a
UD
7755 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7756
8ecd6b2a
JM
77572012-01-06 Joseph Myers <joseph@codesourcery.com>
7758
7759 [BZ #13566]
7760 * assert/assert.h (static_assert): Don't define for C++.
7761 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7762 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7763
9f115170
UD
77642012-01-03 Ulrich Drepper <drepper@gmail.com>
7765
5e0d0300
UD
7766 * iconv/loop.c (single loop): Fix assertion in storing of
7767 remaining bytes.
7768
9f115170
UD
7769 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7770
81fb02b0
UD
77712012-01-01 Ulrich Drepper <drepper@gmail.com>
7772
7773 * posix/getconf.c: Update copyright year.
7774 * nss/getent.c: Likewise.
a316c1f6 7775 * nss/makedb.c: Likewise.
81fb02b0
UD
7776 * iconv/iconvconfig.c: Likewise.
7777 * iconv/iconv_prog.c: Likewise.
7778 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7779 * elf/pldd.c: Likewise.
7780 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7781 * catgets/gencat.c: Likewise.
7782 * csu/version.c: Likewise.
7783 * elf/ldd.bash.in: Likewise.
7784 * elf/sprof.c (print_version): Likewise.
7785 * locale/programs/locale.c: Likewise.
7786 * locale/programs/localedef.c: Likewise.
a316c1f6 7787 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7788 * nscd/nscd.c (print_version): Likewise.
7789 * debug/xtrace.sh: Likewise.
7790 * malloc/memusage.sh: Likewise.
7791 * malloc/mtrace.pl: Likewise.
7792 * debug/catchsegv.sh: Likewise.
7793
2ba92745
JJ
77942011-12-30 Jakub Jelinek <jakub@redhat.com>
7795
7796 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7797 pure attribute.
7798
dadebdae
UD
77992011-12-24 Ulrich Drepper <drepper@gmail.com>
7800
d3761ebc 7801 [BZ #13533]
db6af3eb
UD
7802 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7803 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7804 transformations.
7805 * iconv/gconv_int.h: Likewise.
7806 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7807 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7808 from libc for GLIBC_2.16.
7809 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7810 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7811 * wcsmbs/uchar.h: Really define mbstate_t.
7812 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7813 * wcsmbs/c16rtomb.c: New file.
7814 * wcsmbs/mbrtoc16.c: New file.
7815 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7816 for C/POSIX locale.
7817 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7818 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7819
dadebdae
UD
7820 * wcsmbs/wchar.h: Add missing __restrict.
7821
67371b56
UD
78222011-12-23 Ulrich Drepper <drepper@gmail.com>
7823
74033a25
UD
7824 [BZ #13532]
7825 * time/Makefile (routines): Add timespec_get.
7826 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7827 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7828 timespec for ISO C11.
7829 * time/timespec_get.c: New file.
7830 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7831 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7832
380d7e87
UD
7833 [BZ #13531]
7834 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7835 * stdlib/stdlib.h: Declare aligned_alloc.
7836 * Versions.def: Add GLIBC_2.16 for libc.
7837 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7838
4e9e7a35
UD
7839 [BZ 13527]
7840 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7841 ISO C11.
7842
380d7e87 7843 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7844 code.
7845
03a71829
UD
7846 [BZ #13528]
7847 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7848
839e283e
UD
7849 [BZ #13529]
7850 * assert/assert.h (static_assert): Define.
7851
ce5294e2 7852 * version.h: Update for 2.16 development version.
90fa7312 7853
8d44e150 7854 [BZ #13526]
d7809905
UD
7855 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7856 _ISOC11_SOURCE.
7857
c0da14cd
UD
7858 * version.h (RELEASE): Bump for 2.15 release.
7859 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7860
530a3249
MP
7861 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7862 Patch by Marek Polacek <mpolacek@redhat.com>.
7863
67371b56
UD
7864 * bits/byteswap.h: Protect long long constants with __extension__.
7865 * sysdeps/i386/bits/byteswap.h: Likewise.
7866 * sysdeps/ia64/bits/byteswap.h: Likewise.
7867 * sysdeps/s390/bits/byteswap.h: Likewise.
7868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7869
15db4de1
LD
78702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7871
7872 [BZ #13540]
bbe315ea
LD
7873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7874 destination buffer.
15db4de1
LD
7875 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7876
2b2596b1
MP
78772011-12-23 Marek Polacek <polacek@redhat.com>
7878
7879 * elf/dl-addr.c (determine_info): Add inline keyword.
7880 * elf/tst-auditmod4b.c (check_avx): Likewise.
7881 * elf/tst-auditmod6b.c (check_avx): Likewise.
7882 * elf/tst-auditmod6c.c (check_avx): Likewise.
7883 * elf/tst-auditmod7b.c (check_avx): Likewise.
7884
70c6c246
UD
78852011-12-23 Ulrich Drepper <drepper@gmail.com>
7886
7887 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7888 !__SSE_MATH__.
7889
c044cf14
LD
78902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7891
15db4de1 7892 [BZ #13540]
c044cf14
LD
7893 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7894 processing for last bytes.
7895
6b13d9d9
BH
78962011-08-06 Bruno Haible <bruno@clisp.org>
7897
d455f537
BH
7898 [BZ #13061]
7899 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7900 U+0385, not to U+1FEE.
7901
6b13d9d9
BH
7902 [BZ #13062]
7903 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7904 entry for U+00A5 U+0301.
7905
db910efd
UD
79062011-12-22 Ulrich Drepper <drepper@gmail.com>
7907
27deeafc
UD
7908 [BZ #13166]
7909 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7910 buffer for the output is too small.
7911
aed9d171
UD
7912 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7913 optimization.
7914
db910efd
UD
7915 [BZ #13185]
7916 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7917 SSE flags if possible.
7918
2bd779ae
LD
79192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7920
e7f9dac3 7921 [BZ #13540]
2bd779ae
LD
7922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7923 processing for last bytes.
7924
154bfc16
JM
79252011-12-22 Joseph Myers <joseph@codesourcery.com>
7926
7927 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7928 (syscall-list-default-options, syscall-list-default-condition)
7929 (syscall-list-includes): Define.
7930 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7931 list of ABIs and options and #if conditions for each ABI. Do not
7932 handle common syscalls between ABIs specially.
7933 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7934 Remove.
7935 (syscall-list-variants, syscall-list-32bit-options)
7936 (syscall-list-32bit-condition, syscall-list-64bit-options)
7937 (syscall-list-64bit-condition): Define.
7938 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7939 (syscall-list-variants, syscall-list-32bit-options)
7940 (syscall-list-32bit-condition, syscall-list-64bit-options)
7941 (syscall-list-64bit-condition): Define.
7942 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7943 Remove.
7944 (syscall-list-variants, syscall-list-32bit-options)
7945 (syscall-list-32bit-condition, syscall-list-64bit-options)
7946 (syscall-list-64bit-condition): Define.
7947 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7948 Remove.
7949 (syscall-list-variants, syscall-list-32bit-options)
7950 (syscall-list-32bit-condition, syscall-list-64bit-options)
7951 (syscall-list-64bit-condition): Define.
7952
21eaf3a5
UD
79532011-12-22 Ulrich Drepper <drepper@gmail.com>
7954
16c6f992
UD
7955 * locale/iso-639.def: Add brx entry.
7956
41043168
UD
7957 [BZ #13328]
7958 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7959 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7960
21eaf3a5
UD
7961 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7962 __feraiseexcept_renamed.
7963
e3a851a2
UD
79642011-12-21 Ulrich Drepper <drepper@gmail.com>
7965
4920765e
UD
7966 [BZ #13538]
7967 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7968 EPOLLET with unsigned values.
7969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7970 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7971
e3a851a2
UD
7972 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7973 to large cancellation.
7974 * math/s_cacoshf.c: Likewise.
7975 * math/s_cacoshl.c: Likewise.
7976
b27e24b8
RK
79772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7978
7979 [BZ #13305]
aebefeee 7980 [BZ #12786]
b27e24b8
RK
7981 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7982 * math/s_cacoshf.c: Likewise.
7983 * math/s_cacoshl.c: Likewise.
7984
ee190f67
UD
79852011-12-21 Ulrich Drepper <drepper@gmail.com>
7986
7987 [BZ #13439]
7988 * iconv/gconv.h: Define __GCONV_SWAP.
7989 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7990 * iconvdata/utf-16.c: Likewise.
7991 * iconvdata/utf-32.c: Likewise.
7992
707f25df
AS
79932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7994
7995 [BZ #13524]
7996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7997 numerator after shifting it by one limb.
7998
d2daaa1e
RÁE
79992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8000
8001 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8002 under [__USE_EXTERN_INLINES].
8003
a4647e72
UD
80042011-12-17 Ulrich Drepper <drepper@gmail.com>
8005
8006 [BZ #13446]
8007 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8008
f0b264f1
AZ
80092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8010
8011 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8012 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8013 optimized code.
8014 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8015 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8016 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8017 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8018 for strncasecmp/strncasecmp_l compilation.
8019 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8020 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8021
8ef4f244
MP
80222011-12-08 Marek Polacek <mpolacek@redhat.com>
8023
8024 [BZ #13484]
8025 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8026 of __asm__.
8027
97ac2654
UD
80282011-12-17 Ulrich Drepper <drepper@gmail.com>
8029
8030 [BZ #13506]
8031 * time/tzfile.c (__tzfile_read): Check values from file header.
8032
91d2a845
WS
80332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8034
8035 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8036 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8037 * powerpc/powerpc32/dl-start.S: Likewise.
8038 * powerpc/powerpc32/elf/start.S: Likewise.
8039 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8040 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8041 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8042 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8043 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8044 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8045 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8046 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8047 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8048 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8049 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8050 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8051 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8052 * powerpc/powerpc32/memset.S: Likewise.
8053 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8054 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8055 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8056 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8057 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8058 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8059 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8060 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8061 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8062 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8063 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8066
a1267ba1
AZ
80672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8068
8069 * math/libm-test.inc: Added more nearbyint tests.
8070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8071 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8073 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8074
ad8ac1bd
RL
80752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8076
8077 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8078 FD_CLOEXEC.
8079
1d3e4b61
UD
80802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8081
8082 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8083 Add wcscpy-ssse3 wcscpy-c.
8084 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8085 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8086 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8087 * sysdeps/x86_64/wcschr.S: New file.
8088 * sysdeps/x86_64/wcsrchr.S: New file.
8089 * string/test-strcmp.c: Remove checking of wcscmp function for
8090 wrong alignments.
8091 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8092 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8093 wcsrchr-sse2 wcsrchr-c.
8094 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8095 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8096 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8097 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8098 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8099 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8100 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8101 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8103 * wcsmbc/wcschr.c (WCSCHR): New macro.
8104
5b330a2d
UD
81052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8106
8107 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8108 * wcsmbs/test-wcsrchr.c: New file.
8109 * string/test-strrchr.c: Add wcsrchr support.
8110 (WIDE): New macro.
8111 * wcsmbs/test-wcscpy.c: New file.
8112 * string/test-strcpy.c: Add wcscpy support.
8113 (WIDE): New macro.
26428b7c 8114
f039c043
UD
81152011-12-10 Ulrich Drepper <drepper@gmail.com>
8116
8117 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8118 the inner loop.
8119
850fb039
AS
81202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8121
8122 [BZ #13472]
8123 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8124
4efbd5cb
UD
81252011-12-04 Ulrich Drepper <drepper@gmail.com>
8126
52ff5dd0 8127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8128 Minor optimizations.
52ff5dd0 8129
4efbd5cb
UD
8130 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8131 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8132 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8133
8a426e12
UD
81342011-12-03 Ulrich Drepper <drepper@gmail.com>
8135
aff2453d
UD
8136 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8137 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8138 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8139 for gcc to avoid warnings.
8140 * inet/Makefile (tests): Add tst-checks.
8141 * inet/tst-checks.c: New file.
8142
8143 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8144 warning.
8145
8146 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8147 __wmemcmp_sse2.
8148
8149 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8150 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8151
8a426e12
UD
8152 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8153
9bea3473
UD
81542011-12-02 Ulrich Drepper <drepper@gmail.com>
8155
3a965496
UD
8156 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8157 problem.
8158
9bea3473
UD
8159 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8160
f101631b
UD
81612011-11-29 Joseph Myers <joseph@codesourcery.com>
8162
8163 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8164 conditional on GCC version.
8165 (__arch_compare_and_exchange_val_8_acq)
8166 (__arch_compare_and_exchange_val_16_acq)
8167 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8168 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8169 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8170
a98275aa
UD
81712011-12-02 Joseph Myers <joseph@codesourcery.com>
8172
8173 * sysdeps/sh/backtrace.c: New file.
8174
d4cc29a2
AS
81752011-12-02 Andreas Schwab <schwab@redhat.com>
8176
8177 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8178 parenthesis.
8179
6257af2d
AS
81802011-12-01 Andreas Schwab <schwab@redhat.com>
8181
8182 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8183 falling back to utime.
8184
b5f44c1a
AS
81852011-11-30 Andreas Schwab <schwab@redhat.com>
8186
8187 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8188 expectations for float.
8189
f3a6cc0a
AS
81902011-11-29 Andreas Schwab <schwab@redhat.com>
8191
8192 * locale/weight.h (findidx): Add parameter len.
8193 * locale/weightwc.h (findidx): Likewise.
8194 * posix/fnmatch_loop.c (FCT): Adjust caller.
8195 * posix/regcomp.c (build_equiv_class): Likewise.
8196 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8197 * posix/regexec.c (check_node_accept_bytes): Likewise.
8198 * string/strcoll_l.c (STRCOLL): Likewise.
8199 * string/strxfrm_l.c (STRXFRM): Likewise.
8200
9d65ea3a
UD
82012011-11-17 Ulrich Drepper <drepper@gmail.com>
8202
8203 * Makefile.in: Remove CVSOPT handling.
8204 * configure.in: Remove use of AC_REVISION.
8205 * iconvdata/Makefile (distribute): No need to filter out CVS.
8206 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8207 handling.
8208
5583a086
AS
82092011-11-16 Andreas Schwab <schwab@redhat.com>
8210
8211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8212 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8213 [USE_AS_STRNCASECMP_L]: Likewise.
8214 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8215 NO_TLS_DIRECT_SEG_REFS.
8216 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8217 Fix argument offsets for non-PIC.
8218 [USE_AS_STRNCASECMP_L]: Likewise.
8219 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8220 NO_TLS_DIRECT_SEG_REFS.
8221
d62a8200
UD
82222011-11-15 Ulrich Drepper <drepper@gmail.com>
8223
9d65ea3a 8224 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8225 O_CLOEXEC.
8226 * locale/loadlocale.c (_nl_load_locale): Likewise.
8227
09f93bd3
AS
82282011-11-15 Andreas Schwab <schwab@redhat.com>
8229
446514f9
AS
8230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8231 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8233 (SYSCALL_GETTIME): Set errno on error.
8234
09f93bd3
AS
8235 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8236 count references to noai6ai_cached.
8237
312be3f9
UD
82382011-11-15 Ulrich Drepper <drepper@gmail.com>
8239
8240 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8241
8242 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8243 FD_CLOEXEC for /proc/self/maps.
8244
8245 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8246 FD_CLOEXEC for /proc/meminfo.
8247
8248 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8249 gai.conf.
8250
8251 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8252 FD_CLOEXEC for given file.
8253
8254 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8255
8256 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8257 FD_CLOEXEC for /etc/hosts.
8258 (_gethtent): Likewise.
8259
8260 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8261
8262 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8263 cancellation and set FD_CLOEXEC for /etc/netgroup.
8264
8265 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8266 reading /etc/publickey.
8267
8268 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8269 allow cancellation when reading /etc/group.
8270
8271 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8272 cancellation.
8273 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8274
8275 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8276 when using data file.
8277
8278 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8279
8280 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8281 (write_nis_obj): Use "c" and "e" in fopen.
8282
8283 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8284
8285 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8286
8287 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8288
8289 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8290
8291 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8292 locale.alias.
8293
8294 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8295
8296 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8297
8298 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8299
8300 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8301 file parsing and set FD_CLOEXEC.
8302
82af0fa8
UD
83032011-11-14 Ulrich Drepper <drepper@gmail.com>
8304
8305 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8306
a5fb313c
AS
83072011-11-14 Andreas Schwab <schwab@redhat.com>
8308
8309 * malloc/arena.c (arena_get2): Don't call reused_arena when
8310 _int_new_arena failed.
8311
6abf3465
UD
83122011-11-14 Ulrich Drepper <drepper@gmail.com>
8313
8314 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8315 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8317 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8320 to compile strcasecmp and strncasecmp.
8321 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8322 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8323
8324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8325
76e3966e
UD
83262011-11-13 Ulrich Drepper <drepper@gmail.com>
8327
8328 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8329 locale-defines.sym to gen-as-const-headers.
8330 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8331 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8333 to compile strcasecmp and strncasecmp.
8334 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8335 strcasecmp_l and strncasecmp_l.
8336 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8337 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8338 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8339 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8340 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8341 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8342 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8343 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8344 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8345 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8346 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8347
ab26144e
UD
83482011-11-12 Ulrich Drepper <drepper@gmail.com>
8349
7edb22ef
UD
8350 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8351 result of SYSDEP_GETTIME_CPU to retval.
8352 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8353 parameter list to macro. Remove trailing semicolon. Adjust users.
8354
9694fc44
UD
8355 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8356 variable.
8357
8ad89ef8
UD
8358 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8359 mantissa words.
8360 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8361
0c822ef9
UD
8362 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8363 from unused variable.
8364
874e0564
UD
8365 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8366 DWARF definitions.
8367 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8368 for assembling.
8369
3a2edc79
UD
8370 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8371 over namespaces.
8372
f3c2577f
UD
8373 * sunrpc/rpc_prot.c (rejected): Fix case value.
8374
294ce126
UD
8375 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8376 unsigned long long int to avoid warnings in shift.
8377
5e2b63c6
UD
8378 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8379 of use of trans.
8380 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8381 variable tmp.
8382
e7f4b08e
UD
8383 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8384 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8385 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8386
ab26144e
UD
8387 * nis/nis_table.c (nis_list): Use variable of correct type for
8388 result of __follow_path call.
8389
8a6d5255
AZ
83902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8391
8392 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8393 of math functions ceil, trunc, floor, round, and sqrt, when
8394 avaliable on the platform.
8395 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8396 name clash.
8397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8398 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8399 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8400
aaddc98c
MP
84012011-10-30 Marek Polacek <mpolacek@redhat.com>
8402
8403 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8405
95b7042b
RM
84062011-11-11 Roland McGrath <roland@hack.frob.com>
8407
8408 * include/unistd.h: Fix __readlink return type.
8409 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8410
57769839
UD
84112011-11-11 Ulrich Drepper <drepper@gmail.com>
8412
8413 * stdlib/ucontext.h: Undo last change for makecontext.
8414
edc5984d
AS
84152011-11-11 Andreas Schwab <schwab@redhat.com>
8416
98591e58
AS
8417 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8418
edc5984d
AS
8419 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8420 * setjmp/setjmp.h: Mark functions as non-leaf.
8421 * setjmp/bits/setjmp2.h: Likewise.
8422 * stdlib/ucontext.h: Likewise.
8423
77cdc054
AS
84242011-11-10 Andreas Schwab <schwab@redhat.com>
8425
8426 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8427 (reused_arena): Don't check arena limit.
8428 (arena_get2): Atomically check arena limit.
8429
fe72eebd
UD
84302011-11-08 Ulrich Drepper <drepper@gmail.com>
8431
5f078c32
UD
8432 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8433 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8434
fe72eebd
UD
8435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8436 instructions.
8437
ae1bc2fa
AS
84382011-11-07 Andreas Schwab <schwab@redhat.com>
8439
7583a88d
AS
8440 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8441 handler when locking.
8442
ae1bc2fa
AS
8443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8444 Fix size of allocated buffer.
8445
10fb0bfa
AS
84462011-11-04 Andreas Schwab <schwab@redhat.com>
8447
998832a4
AS
8448 [BZ #10103]
8449 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8450 declarations for long double functions.
8451 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8452
10fb0bfa
AS
8453 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8454
3d7ba52b
AS
84552011-11-03 Andreas Schwab <schwab@redhat.com>
8456
a9ae54a1
AS
8457 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8458 installed.
8459
3d7ba52b
AS
8460 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8461 is disabled.
8462
bc8db248
ST
84632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8464
8465 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8466
45b96dd6
AS
84672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8468
647776f6
AS
8469 * include/alloca.h (stackinfo_alloca_round): Define.
8470 (extend_alloca): Use it.
8471 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8472 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8473 here.
8474
d91a8b93
AS
8475 * scripts/check-local-headers.sh: Ignore libaudit.h.
8476
45b96dd6
AS
8477 * nscd/Makefile (extra-objs): Make recursively expanded.
8478
432d41ce
UD
84792011-11-01 Ulrich Drepper <drepper@gmail.com>
8480
34372fc6
UD
8481 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8483
fadb59f8
UD
8484 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8485 * posix/tst-rfc3484-2.c: Likewise.
8486 * posix/tst-rfc3484-3.c: Likewise.
8487
78239589
UD
8488 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8489 process_vm_writev.
8490 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8491 process_vm_writev.
8492 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8493 process_vm_writev from libc using GLIBC_2.15 version.
8494
432d41ce
UD
8495 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8496
02f9c6cf
PP
84972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8498
8499 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8500 stack usage.
8501
3a2c0242
UD
85022011-10-31 Ulrich Drepper <drepper@gmail.com>
8503
f4ec4833
UD
8504 [BZ #13367]
8505 * nss/getent.c (initgroups_keys): Show error message in case no group
8506 names are given.
8507
3a2c0242
UD
8508 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8509 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8510 __bump_nl_timestamp.
8511 * nscd/connections (nscd_init): When host database is served open
8512 netlink socket and request notification about configuration changes.
8513 (main_loop_poll): Track netlink file descriptor and bump timestamp
8514 in case data becomes available.
8515 (main_loop_epoll): Likewise.
8516 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8517 (database_pers_head): Add extra_data fileds.
8518 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8519 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8520 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8521 Adjust caller.
8522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8523 in6ai data, call __free_in6ai.
8524 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8525 Add -DHAVE_NETLINK.
8526 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8527 interface information. Reuse previous data if netlink timestamp
8528 is not changed.
8529 (__bump_nl_timestamp): New function.
8530 (__free_in6ai): New function.
8531
636064eb
UD
85322011-10-30 Ulrich Drepper <drepper@gmail.com>
8533
8534 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8535 close_not_cancel_no_status here.
8536 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8537
9beb2334
UD
85382011-10-29 Ulrich Drepper <drepper@gmail.com>
8539
6ef76f3b
UD
8540 [BZ #13276]
8541 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8542 return value.
8543
0ffc4f3e 8544 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8545 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8546 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8547
cb95113e
UD
85482011-07-03 Andreas Jaeger <aj@suse.de>
8549
8550 [BZ #10709]
8551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8552 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8553 * math/libm-test.inc (sin_test): Add test case.
8554
a1b560ff
UD
85552011-10-29 Ulrich Drepper <drepper@gmail.com>
8556
c9aaface
UD
8557 [BZ #13337]
8558 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8559 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8560
d272e7f1
UD
8561 * elf/chroot_canon.c (chroot_canon): Cleanups.
8562
1bc33071
UD
8563 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8564
1760874d
TJ
8565 [BZ #13335]
8566 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8567 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8568
51d91b18
UD
8569 * string/test-strchr.c: Make usable for strchrnul testing.
8570 * string/test-strchrnul.c: New file.
8571 * string/Makefile (strop-tests): Add strchrnul.
8572
a1b560ff 8573 * po/it.po: Update from translation team.
b611fb81 8574 * po/es.po: Likewise.
a1b560ff 8575
a5b81e1f
UD
85762011-10-28 Ulrich Drepper <drepper@gmail.com>
8577
fd52bc6d
UD
8578 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8579 the three constants needed as parameters. Drop the others.
8580 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8581 __m128i_strloadu_tolower.
52e4b9eb
UD
8582 Create and initialize variable zero and use it in all the places
8583 where _mm_setzero_si128 was used.
fd52bc6d 8584
a5b81e1f
UD
8585 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8586 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8587 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8588 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8589 anymore.
8590 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8591 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8592 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8593 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8594 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8595 __mpranred, __mptan.
8596 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8597 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8598 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8599 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8603 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8605
b4343346
AS
86062011-10-28 Andreas Schwab <schwab@redhat.com>
8607
0c92d8a8
AS
8608 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8609 redefine if SHARED.
8610 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8611
b4343346
AS
8612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8613 wide char related routines to wcsmbs subdir.
8614
3871f58f
AS
86152011-10-27 Andreas Schwab <schwab@redhat.com>
8616
8617 [BZ #13344]
8618 * misc/sys/cdefs.h (__THROWNL): Define.
8619 * posix/unistd.h: Use __THREADNL instead of __THREAD
8620 for memory synchronization functions.
8621
94d44d9f
RM
86222011-10-26 Roland McGrath <roland@hack.frob.com>
8623
21b64b15 8624 [BZ #13349]
94d44d9f
RM
8625 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8626 doesn't exist.
8627 * manual/stdio.texi (Obstack Streams): Node removed.
8628
f6ce9294
AS
86292011-10-26 Andreas Schwab <schwab@redhat.com>
8630
80479147
AS
8631 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8633 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8634
f6ce9294
AS
8635 * math/math_private.h (math_force_eval): Allow non-addressable
8636 arguments.
8637 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8638
618280a1
UD
86392011-10-25 Ulrich Drepper <drepper@gmail.com>
8640
e0016b11
UD
8641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8642 file is not needed.
8643
8644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8645 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8651 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8652 Add AVX variants.
8653 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8654 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8655 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8656 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8657 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8658 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8659 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8660 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8661 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8662 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8663 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8664 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8666 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8667 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8668 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8669 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8670 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8671 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8672
8673 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8674 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8675
618280a1
UD
8676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8677 place. Use VEX encoding when compiling for AVX.
8678
37822576
AS
86792011-10-25 Andreas Schwab <schwab@redhat.com>
8680
1f1e1947
AS
8681 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8682 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8683
37822576
AS
8684 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8685
31ea014d
UD
86862011-10-25 Ulrich Drepper <drepper@gmail.com>
8687
d7826aa1 8688 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8689 useless if() expression.
d7826aa1
UD
8690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8699 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8701 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8708 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8709
31ea014d
UD
8710 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8711
16437fec
AS
87122011-10-25 Andreas Schwab <schwab@redhat.com>
8713
8714 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8715 condition.
8716 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8717
31d3cc00
UD
87182011-10-25 Ulrich Drepper <drepper@gmail.com>
8719
8720 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8721 .text section. Avoid duplicate constants.
8722 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8734 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8737 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8739 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8745 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8747 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8748 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8751 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8752 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8764 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8765 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8766 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8767
58985aa9
UD
87682011-10-24 Ulrich Drepper <drepper@gmail.com>
8769
202c9deb
UD
8770 * sysdeps/x86_64/dla.h: Move to ...
8771 * sysdeps/x86_64/fpu/dla.h: ...here.
8772 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8773 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8774
af968f62
UD
8775 * config.make.in: Add have-mfma4 entry.
8776 * configure.in: Substitute libc_cv_cc_fma4.
8777 * math/Makefile (dbl-only-routines): Add sincostab.
8778 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8779 Use __sincostab not sincos.
8780 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8781 name is a macro.
8782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8786 using __copysign.
8787 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8788 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8789 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8790 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8791 and __inv.
8792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8793 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8794 __copysign.
8795 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8796 define aliases when function name is a macro.
8797 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8798 sysdeps/ieee754/dbl-64/sincos.tbl.
8799 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8800 fma4-enabled routines.
8801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8806 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8808 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8811 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8812 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8813 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8814 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8818 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8819 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8821 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8822 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8824 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8825 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8831
58985aa9
UD
8832 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8833 rename.
8834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8842
a201fbcf
AS
88432011-10-24 Andreas Schwab <schwab@redhat.com>
8844
8845 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8846
fc2ee42a
LD
88472011-10-23 Ulrich Drepper <drepper@gmail.com>
8848
bb3129bd
UD
8849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8850
0275fff8
UD
8851 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8852 prediction.
8853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8854
2fa2ae85
UD
8855 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8856 Remove unused variable magic_bits.
8857 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8858
fc2ee42a
LD
8859 * string/strnlen.c: Define and use STRNLEN macro.
8860 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8861 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8863 * wcsmbs/wcslen.c: Define and use WCSLEN.
8864 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8865 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8866 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8867 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8868 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8869 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8870 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8871
ce7dd29f
LD
88722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8873
8874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8875 strnlen-sse2-no-bsf.
8876 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8878 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8879 Add strnlen support.
8880 (USE_AS_STRNLEN): New macro.
8881 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8882 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8883 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8884 * sysdeps/x86_64/wcslen.S: New file.
8885
979c70a3
MZ
88862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8887
8888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8889 XMM-moves are used for copying on small sizes.
8890
2d09f82f
LD
88912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8892
8893 * wcsmbs/Makefile (strop-tests): Add wcschr.
8894 * wcsmbs/test-wcschr.c: New file.
8895 * string/test-strchr.c: Update.
8896 Add wcschr support.
8897 (WIDE): New macro.
8898
619fccca
LD
88992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8900
2d09f82f 8901 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8902 * wcsmbs/test-wcslen.c: New file.
8903 * string/test-strlen.c: Update.
8904 Add wcslen support.
8905 (WIDE): New macro.
8906
09f699ea
UD
89072011-10-23 Ulrich Drepper <drepper@gmail.com>
8908
8909 * po/it.po: Update from translation team.
8910
95584d3b
LD
89112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8912
8913 * sysdeps/x86_64/wcscmp.S: Update.
8914 Fix wrong comparison semantics.
8915 wcscmp shall use signed comparison not unsigned.
8916 Don't use substraction to avoid overflow bug.
8917 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8918 * wcsmbc/wcscmp.c: Likewise.
8919 * string/test-strcmp.c: Likewise.
8920 Add new tests to check cases with negative values.
8921
c8b3296b
UD
89222011-10-23 Ulrich Drepper <drepper@gmail.com>
8923
8924 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8925 * sysdeps/x86_64/dla.h: ...here. New file.
8926 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8935
246ad57a
AS
89362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8939 __ynl_finite aliases.
8940
a1a87169
UD
89412011-10-22 Ulrich Drepper <drepper@gmail.com>
8942
0d355eb7
UD
8943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8944
a1a87169
UD
8945 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8946 define DLA_FMA.
8947 [DLA_FMA] (EMULV): Use DLA_FMA.
8948 [DLA_FMA] (MUL12): Use EMULV.
8949 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8950 that are not needed.
8951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8958
ee2aafe0
AS
89592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8960
8961 * math/s_nan.c: Undef __nan.
8962 * math/s_nanf.c: Undef __nanf.
8963 * math/s_nanl.c: Undef __nanl.
8964 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8965 "math_private.h".
8966
bc62c2fb
UD
89672011-10-22 Ulrich Drepper <drepper@gmail.com>
8968
77425c63
UD
8969 * math/s_catan.c: Add branch predictions.
8970 * math/s_catanf.c: Likewise.
8971 * math/s_catanh.c: Likewise.
8972 * math/s_catanhf.c: Likewise.
8973 * math/s_catanhl.c: Likewise.
8974 * math/s_catanl.c: Likewise.
8975 * math/s_cexp.c: Likewise.
8976 * math/s_cexpf.c: Likewise.
8977 * math/s_cexpl.c: Likewise.
8978 * math/s_clog.c: Likewise.
8979 * math/s_clog10.c: Likewise.
8980 * math/s_clog10f.c: Likewise.
8981 * math/s_clog10l.c: Likewise.
8982 * math/s_clogf.c: Likewise.
8983 * math/s_clogl.c: Likewise.
8984 * math/s_csqrt.c: Likewise.
8985 * math/s_csqrtf.c: Likewise.
8986 * math/s_csqrtl.c: Likewise.
8987 * math/s_ctanf.c: Likewise.
8988 * math/s_ctanh.c: Likewise.
8989 * math/s_ctanhf.c: Likewise.
8990 * math/s_ctanhl.c: Likewise.
8991 * math/s_ctanl.c: Likewise.
8992
bc62c2fb
UD
8993 * math/math_private.h: Define __nan, __nanf, __nanl.
8994 * math/s_cacosh.c: Include <math_private.h>.
8995 * math/s_cacoshl.c: Likewise.
8996 * math/s_casinh.c: Likewise.
8997 * math/s_casinhf.c: Likewise.
8998 * math/s_casinhl.c: Likewise.
8999 * math/s_ccos.c: Rely entire on ccosh.
9000 * math/s_ccosf.c: Rely entire on ccoshf.
9001 * math/s_ccosl.c: Rely entirely on ccoshl.
9002 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9003 Remove tests for FE_INVALID.
9004 * math/s_ccoshf.c: Likewise.
9005 * math/s_ccoshl.c: Likewise.
9006 * math/s_csin.c: Likewise.
9007 * math/s_csinf.c: Likewise.
9008 * math/s_csinh.c Likewise.
9009 * math/s_csinhf.c: Likewise.
9010 * math/s_csinhl.c: Likewise.
9011 * math/s_csinl.c: Likewise.
9012 * math/s_ctan.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9014 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9015 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9016
8ec250a4
UD
90172011-10-21 Ulrich Drepper <drepper@gmail.com>
9018
c196fed8
UD
9019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9020 compilation problems.
9021
8ec250a4
UD
9022 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9023 __builtin_expect.
9024
8d4f46c6
UD
90252011-10-20 Ulrich Drepper <drepper@gmail.com>
9026
ed72b654
UD
9027 * sysdeps/i386/configure.in: Test for -mfma4 option.
9028 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9029 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9030 COMMON_CPUID_INDEX_80000001.
9031 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9032 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9033 use it if FMA3 is not supported.
9034 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9035
8d4f46c6
UD
9036 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9037 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9038
d45c60c2
AS
90392011-10-20 Andreas Schwab <schwab@redhat.com>
9040
9041 [BZ #12892]
9042 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9043 it would create a cycle with a link time dependency.
9044
d9a4d2ab
UD
90452011-10-19 Ulrich Drepper <drepper@gmail.com>
9046
855d1560
UD
9047 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9048 instruction.
9049 * string/Makefile (strop-tests): Add rawmemchr.
9050 * string/test-rawmemchr.c: New file.
9051
d9a4d2ab
UD
9052 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9054 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9055 when compiling str{,n}casecmp and when AVX is available. Hook up
9056 new optimized code in initializers.
9057
8f3b1ffe
AS
90582011-10-19 Andreas Schwab <schwab@redhat.com>
9059
9060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9061 __feraiseexcept instead of feraiseexcept.
9062
d38f1dba
UD
90632011-10-18 Ulrich Drepper <drepper@gmail.com>
9064
d9a8d0ab
UD
9065 * math/math_private.h: Define defaults for libc_fetestexcept and
9066 libc_feupdateenv.
9067 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9068 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9069 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9070 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9071 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9072 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9073 libc_fetestexcept and libc_feupdateenv.
9074
4855e3dd
UD
9075 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9076 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9077 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9078 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9079 libc_feholdexcept_setround.
9080
581d30e3
UD
9081 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9082 Add s_nearbyint-c and s_nearbyintf-c.
9083 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9084 nearbyintf inlines.
9085 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9087 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9089
d38f1dba
UD
9090 * math/math_private.h: Define defaults for libc_fegetround,
9091 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9092 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9093 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9094 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9095 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9096 standard functions.
9097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9098 Remove comments and hacks for old compiler versions.
9099 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9100 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9101 libc_feholdexceptl.
9102
caa6c9d8
AS
91032011-10-18 Andreas Schwab <schwab@redhat.com>
9104
9105 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9106 (__feraiseexcept_renamed): Add __NTH.
9107 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9108 namespace violations.
9109
97c066e6
UD
91102011-10-17 Ulrich Drepper <drepper@gmail.com>
9111
99ce7b04
UD
9112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9113
1004d182
UD
9114 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9115
228a984d
UD
9116 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9117 recently added interfaces.
9118 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9119
c8553a6a
UD
9120 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9121 about macro parameter expansion.
9122
ed22dcf6
UD
9123 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9124 __NO_MATH_INLINES is defined. Cleanups.
9125
9126 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9127 and __floorf is target has SSE4.1.
9128 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9129 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9130 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9131 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9132
b171c137
UD
9133 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9134 name.
9135 (floorf): Likewise.
9136
97c066e6
UD
9137 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9138
629f62ef
AS
91392011-10-17 Andreas Schwab <schwab@redhat.com>
9140
49a43d80
AS
9141 * misc/sys/cdefs.h: Fix last change.
9142
629f62ef
AS
9143 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9144 database lookup.
9145
e453f6cd
UD
91462011-10-16 Ulrich Drepper <drepper@gmail.com>
9147
aa78043a
UD
9148 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9149
ad0f5cad
UD
9150 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9158 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9159 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9160 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9161 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9162 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9163 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9164 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9165 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9166 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9167 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9168 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9169 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9170 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9171 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9172
9173 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9174 ceil, ceilf, floor, floorf.
9175
9176 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9177 Perform IRELATIVE relocations last.
9178
e453f6cd
UD
9179 * elf/do-rel.h: Add another parameter nrelative, replacing the
9180 local variable with the same name. Change name of the function
9181 to end in Rel or Rela (uppercase).
9182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9183 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9184 elf_dynamic_do_##reloc function.
9185
fd5bdc09
UD
91862011-10-15 Ulrich Drepper <drepper@gmail.com>
9187
79b195b5
UD
9188 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9189 is sufficient, at least on modern CPUs.
9190
d4a28569
UD
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9192
b61099b5
UD
9193 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9194 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9195
bcf01e6d
UD
9196 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9197 __expl_finite.
9198 * math/bits/math-finite.h: Add entries for exp.
9199 * math/e_expl.c: Add __*_finite alias.
9200 * sysdeps/i386/fpu/e_exp.S: Likewise.
9201 * sysdeps/i386/fpu/e_expf.S: Likewise.
9202 * sysdeps/i386/fpu/e_expl.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9208 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9210
ba1a0d59
UD
9211 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9212 is sufficient, at least on modern CPUs.
9213
fd5bdc09
UD
9214 * ctype/ctype-info.c (__ctype_init): Define.
9215 * include/ctype.h (__ctype_init): Declare.
9216 (__ctype_b_loc): The variable is always initialized.
9217 (__ctype_toupper_loc): Likewise.
9218 (__ctype_tolower_loc): Likewise.
9219 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9220 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9221
7872cfb0
AS
92222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9223
b468825a
AS
9224 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9225
7872cfb0
AS
9226 * configure.in: Also look in $cxxmachine/include for C++ system
9227 headers.
9228
be13f7bf
LD
92292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9230
9231 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9232 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9233 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9234 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9236 (USE_AS_WMEMCMP): New macro.
9237 Fixing indents.
9238 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9239 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9240 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9241 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9243 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9244 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9245 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9246 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9247 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9248 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9249 (USE_AS_WMEMCMP): New macro.
9250 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9251 * sysdeps/string/test-memcmp.c: Update.
9252 Fix simple_wmemcmp.
9253 Add new tests.
9254 * wcsmbs/wmemcmp.c: Update.
9255 (WMEMCMP): New macro.
9256 Fix overflow bug.
9257
556a2007
AJ
92582011-10-12 Andreas Jaeger <aj@suse.de>
9259
9260 [BZ #13268]
9261 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9262
538faaa7
UD
92632011-10-15 Ulrich Drepper <drepper@gmail.com>
9264
ab6737ff
UD
9265 * libio/iofwide.c (do_length): Avoid warning.
9266
538faaa7
UD
9267 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9268
396a21b1
UD
92692011-10-14 Ulrich Drepper <drepper@gmail.com>
9270
cdf2901f
UD
9271 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9272
38ad40ce
UD
9273 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9274 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9275 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9276 * sysdeps/i386/i686/fpu/e_log.S: New file.
9277 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9278 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9279
396a21b1
UD
9280 * ctype/ctype.h: Add support for inlined isXXX functions when
9281 compiling C++ code.
9282
6b1f68c9
AS
92832011-10-14 Andreas Schwab <schwab@redhat.com>
9284
349290c0
AS
9285 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9286
6b1f68c9
AS
9287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9288
f2282d42
RM
92892011-10-13 Roland McGrath <roland@hack.frob.com>
9290
9291 [BZ #13291]
9292 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9293
5298ffa8
AS
92942011-10-13 Andreas Schwab <schwab@redhat.com>
9295
714fad23
AS
9296 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9297 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9298 feraiseexcept.
9299
81dcc7fb
AS
9300 * sysdeps/x86_64/memrchr.S: Check for zero size.
9301
5298ffa8
AS
9302 * string/stratcliff.c: Add memrchr tests.
9303
951fbcec
LD
93042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9305
9306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9307 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9308 rawmemchr-sse2 rawmemchr-sse2-bsf.
9309 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9310 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9311 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9312 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9313 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9314 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9315 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9316 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9317 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9318 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9319 * string/memrchr.c (MEMRCHR): New macro.
9320
0ac5ae23
UD
93212011-10-12 Ulrich Drepper <drepper@gmail.com>
9322
9323 Add integration with gcc's -ffinite-math-only and optimize wrapper
9324 functions in libm.
9325 * Versions.def: Define GLIBC_2.15 version for libm.
9326 * math/Makefile (headers): Add bits/math-finite.h.
9327 * math/bits/math-finite.h: New file.
9328 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9329 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9330 * math/e_acoshl.c: Add __*_finite alias.
9331 * math/e_acosl.c: Likewise.
9332 * math/e_asinl.c: Likewise.
9333 * math/e_atan2l.c: Likewise.
9334 * math/e_atanhl.c: Likewise.
9335 * math/e_coshl.c: Likewise.
9336 * math/e_exp10.c: Likewise.
9337 * math/e_exp10f.c: Likewise.
9338 * math/e_exp10l.c: Likewise.
9339 * math/e_exp2l.c: Likewise.
9340 * math/e_fmodl.c: Likewise.
9341 * math/e_gammal_r.c: Likewise.
9342 * math/e_hypotl.c: Likewise.
9343 * math/e_j0l.c: Likewise.
9344 * math/e_j1l.c: Likewise.
9345 * math/e_jnl.c: Likewise.
9346 * math/e_lgammal_r.c: Likewise.
9347 * math/e_log10l.c: Likewise.
9348 * math/e_log2l.c: Likewise.
9349 * math/e_logl.c: Likewise.
9350 * math/e_powl.c: Likewise.
9351 * math/e_sinhl.c: Likewise.
9352 * math/e_sqrtl.c: Likewise.
9353 * math/e_scalb.c: Completely rewritten and optimized.
9354 * math/e_scalbf.c: Likewise.
9355 * math/e_scalbl.c: Likewise.
9356 * math/w_acos.c: Likewise.
9357 * math/w_acosf.c: Likewise.
9358 * math/w_acosl.c: Likewise.
9359 * math/w_acosh.c: Likewise.
9360 * math/w_acoshf.c: Likewise.
9361 * math/w_acoshl.c: Likewise.
9362 * math/w_asin.c: Likewise.
9363 * math/w_asinf.c: Likewise.
9364 * math/w_asinl.c: Likewise.
9365 * math/w_atan2.c: Likewise.
9366 * math/w_atan2f.c: Likewise.
9367 * math/w_atan2l.c: Likewise.
9368 * math/w_atanh.c: Likewise.
9369 * math/w_atanhf.c: Likewise.
9370 * math/w_atanhl.c: Likewise.
9371 * math/w_exp10.c: Likewise.
9372 * math/w_exp10f.c: Likewise.
9373 * math/w_exp10l.c: Likewise.
9374 * math/w_fmod.c: Likewise.
9375 * math/w_fmodf.c: Likewise.
9376 * math/w_fmodl.c: Likewise.
9377 * math/w_j0.c: Likewise.
9378 * math/w_j0f.c: Likewise.
9379 * math/w_j0l.c: Likewise.
9380 * math/w_j1.c: Likewise.
9381 * math/w_j1f.c: Likewise.
9382 * math/w_j1l.c: Likewise.
9383 * math/w_jn.c: Likewise.
9384 * math/w_jnf.c: Likewise.
9385 * math/w_log.c: Likewise.
9386 * math/w_logf.c: Likewise.
9387 * math/w_logl.c: Likewise.
9388 * math/w_log10.c: Likewise.
9389 * math/w_log10f.c: Likewise.
9390 * math/w_log10l.c: Likewise.
9391 * math/w_log2.c: Likewise.
9392 * math/w_log2f.c: Likewise.
9393 * math/w_log2l.c: Likewise.
9394 * math/w_pow.c: Likewise.
9395 * math/w_powf.c: Likewise.
9396 * math/w_powl.c: Likewise.
9397 * math/w_remainder.c: Likewise.
9398 * math/w_remainderf.c: Likewise.
9399 * math/w_remainderl.c: Likewise.
9400 * math/w_scalb.c: Likewise.
9401 * math/w_scalbf.c: Likewise.
9402 * math/w_scalbl.c: Likewise.
9403 * math/w_sqrt.c: Likewise.
9404 * math/w_sqrtf.c: Likewise.
9405 * math/w_sqrtl.c: Likewise.
9406 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9407 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9408 used.
9409 * math/math_private.h: Declare __kernel_standard_f.
9410 * math/w_cosh.c: Remove cruft and optimize a bit.
9411 * math/w_coshf.c: Likewise.
9412 * math/w_coshl.c: Likewise.
9413 * math/w_exp2.c: Likewise.
9414 * math/w_exp2f.c: Likewise.
9415 * math/w_exp2l.c: Likewise.
9416 * math/w_hypot.c: Likewise.
9417 * math/w_hypotf.c: Likewise.
9418 * math/w_hypotl.c: Likewise.
9419 * math/w_lgamma.c: Likewise.
9420 * math/w_lgamma_r.c: Likewise.
9421 * math/w_lgammaf.c: Likewise.
9422 * math/w_lgammaf_r.c: Likewise.
9423 * math/w_lgammal.c: Likewise.
9424 * math/w_lgammal_r.c: Likewise.
9425 * math/w_sinh.c: Likewise.
9426 * math/w_sinhf.c: Likewise.
9427 * math/w_sinhl.c: Likewise.
9428 * math/w_tgamma.c: Likewise.
9429 * math/w_tgammaf.c: Likewise.
9430 * math/w_tgammal.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9433 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9434 Minor optimizations. Pretty printing. Remove cruft.
9435 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9436 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9439 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9440 * sysdeps/i386/fpu/e_asin.S: Likewise.
9441 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9442 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9443 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9444 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9445 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9447 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9448 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9449 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9450 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9451 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9452 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9453 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9454 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9455 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9456 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9457 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9458 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9459 * sysdeps/i386/fpu/e_log.S: Likewise.
9460 * sysdeps/i386/fpu/e_log10.S: Likewise.
9461 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9463 * sysdeps/i386/fpu/e_log2.S: Likewise.
9464 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9466 * sysdeps/i386/fpu/e_logf.S: Likewise.
9467 * sysdeps/i386/fpu/e_logl.S: Likewise.
9468 * sysdeps/i386/fpu/e_pow.S: Likewise.
9469 * sysdeps/i386/fpu/e_powf.S: Likewise.
9470 * sysdeps/i386/fpu/e_powl.S: Likewise.
9471 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9472 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9473 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9474 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9477 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9478 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9479 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9501 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9505 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9507 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9509 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9511 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9513 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9514 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9515 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9516 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9517 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9519 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9571 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9572 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9573 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9574 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9575 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9576 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9577 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9578 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9579 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9580 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9581 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9582 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9583 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9585 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9586 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9588 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9589 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9590 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9591 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9592 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9593 (__isnanf): Likewise.
9594 (__isinf_ns): Likewise.
9595 (__isinf_nsf): Likewise.
9596 (__finite): Likewise.
9597 (__finitef): Likewise.
9598 (__ieee754_sqrt): Define as macro.
9599 (__ieee754_sqrtf): Define as macro.
9600 (__ieee754_sqrtl): Define as macro.
9601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9602 inlined copy.
9603 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9604 __FINITE_MATH_ONLY__ consistent.
9605 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9606
12cc2fcd
AS
96072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9608
a843a204
AS
9609 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9610 of rawmemchr.
9611
12cc2fcd
AS
9612 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9613
c853acd5
UD
96142011-10-09 Ulrich Drepper <drepper@gmail.com>
9615
9616 * po/ja.po: Update from translation team.
9617
c658d255
RM
96182011-10-08 Roland McGrath <roland@hack.frob.com>
9619
110946e4
RM
9620 * locale/programs/locarchive.c (prepare_address_space): New function.
9621 (create_archive, enlarge_archive, open_archive): Use it.
9622
50604220
RM
9623 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9624 inside [SHARED], where it is used.
9625
c658d255
RM
9626 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9627
9628 * nss/getent.c (netgroup_keys): Remove unused variable.
9629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9630
6a621eb7
UD
96312011-10-08 Ulrich Drepper <drepper@gmail.com>
9632
7edb55ce
UD
9633 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9634 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9636 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9637 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9638 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9639 * math/Makefile (libm-calls): Add s_isinf_ns.
9640 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9641 * math/multc3.c: Likewise.
9642 * math/s_casin.c: Likewise.
9643 * math/s_casinf.c: Likewise.
9644 * math/s_casinl.c: Likewise.
9645 * math/s_ccos.c: Likewise.
9646 * math/s_ccosf.c: Likewise.
9647 * math/s_ccosl.c: Likewise.
9648 * math/s_ctan.c: Likewise.
9649 * math/s_ctanf.c: Likewise.
9650 * math/s_ctanh.c: Likewise.
9651 * math/s_ctanhf.c: Likewise.
9652 * math/s_ctanhl.c: Likewise.
9653 * math/s_ctanl.c: Likewise.
9654 * math/w_fmod.c: Likewise.
9655 * math/w_fmodf.c: Likewise.
9656 * math/w_fmodl.c: Likewise.
9657 * math/w_remainder.c: Likewise.
9658 * math/w_remainderf.c: Likewise.
9659 * math/w_remainderl.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9661 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9664 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9665 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9666 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9667 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9668
187da0ae
UD
9669 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9670 of the number.
9671 * stdio-common/printf_fphex.c: Likewise.
9672 * stdio-common/printf_size.c: Likewise.
9673
9277c064
UD
9674 * math/e_exp10.c: Include math_private.h using <...> not "...".
9675 * math/e_exp10f.c: Likewise.
9676 * math/e_exp10l.c: Likewise.
9677 * math/e_exp2l.c: Likewise.
9678 * math/e_j0l.c: Likewise.
9679 * math/e_j1l.c: Likewise.
9680 * math/e_jnl.c: Likewise.
9681 * math/e_lgammal_r.c: Likewise.
9682 * math/e_rem_pio2l.c: Likewise.
9683 * math/e_scalb.c: Likewise.
9684 * math/e_scalbf.c: Likewise.
9685 * math/e_scalbl.c: Likewise.
9686 * math/k_cosl.c: Likewise.
9687 * math/k_sinl.c: Likewise.
9688 * math/k_tanl.c: Likewise.
9689 * math/s_cacoshf.c: Likewise.
9690 * math/s_catan.c: Likewise.
9691 * math/s_catanf.c: Likewise.
9692 * math/s_catanh.c: Likewise.
9693 * math/s_catanhf.c: Likewise.
9694 * math/s_catanhl.c: Likewise.
9695 * math/s_catanl.c: Likewise.
9696 * math/s_ccosh.c: Likewise.
9697 * math/s_ccoshf.c: Likewise.
9698 * math/s_ccoshl.c: Likewise.
9699 * math/s_cexp.c: Likewise.
9700 * math/s_cexpf.c: Likewise.
9701 * math/s_cexpl.c: Likewise.
9702 * math/s_clog.c: Likewise.
9703 * math/s_clog10.c: Likewise.
9704 * math/s_clog10f.c: Likewise.
9705 * math/s_clog10l.c: Likewise.
9706 * math/s_clogf.c: Likewise.
9707 * math/s_clogl.c: Likewise.
9708 * math/s_csin.c: Likewise.
9709 * math/s_csinf.c: Likewise.
9710 * math/s_csinh.c: Likewise.
9711 * math/s_csinhf.c: Likewise.
9712 * math/s_csinhl.c: Likewise.
9713 * math/s_csinl.c: Likewise.
9714 * math/s_csqrt.c: Likewise.
9715 * math/s_csqrtf.c: Likewise.
9716 * math/s_csqrtl.c: Likewise.
9717 * math/s_ctan.c: Likewise.
9718 * math/s_ctanf.c: Likewise.
9719 * math/s_ctanh.c: Likewise.
9720 * math/s_ctanhf.c: Likewise.
9721 * math/s_ctanhl.c: Likewise.
9722 * math/s_ctanl.c: Likewise.
9723 * math/s_ldexp.c: Likewise.
9724 * math/s_ldexpf.c: Likewise.
9725 * math/s_ldexpl.c: Likewise.
9726 * math/s_significand.c: Likewise.
9727 * math/s_significandf.c: Likewise.
9728 * math/s_significandl.c: Likewise.
9729 * math/w_acos.c: Likewise.
9730 * math/w_acosf.c: Likewise.
9731 * math/w_acosh.c: Likewise.
9732 * math/w_acoshf.c: Likewise.
9733 * math/w_acoshl.c: Likewise.
9734 * math/w_acosl.c: Likewise.
9735 * math/w_asin.c: Likewise.
9736 * math/w_asinf.c: Likewise.
9737 * math/w_asinl.c: Likewise.
9738 * math/w_atan2.c: Likewise.
9739 * math/w_atan2f.c: Likewise.
9740 * math/w_atan2l.c: Likewise.
9741 * math/w_atanh.c: Likewise.
9742 * math/w_atanhf.c: Likewise.
9743 * math/w_atanhl.c: Likewise.
9744 * math/w_cosh.c: Likewise.
9745 * math/w_coshf.c: Likewise.
9746 * math/w_coshl.c: Likewise.
9747 * math/w_dremf.c: Likewise.
9748 * math/w_exp10.c: Likewise.
9749 * math/w_exp10f.c: Likewise.
9750 * math/w_exp10l.c: Likewise.
9751 * math/w_exp2.c: Likewise.
9752 * math/w_exp2f.c: Likewise.
9753 * math/w_fmod.c: Likewise.
9754 * math/w_fmodf.c: Likewise.
9755 * math/w_fmodl.c: Likewise.
9756 * math/w_hypot.c: Likewise.
9757 * math/w_hypotf.c: Likewise.
9758 * math/w_hypotl.c: Likewise.
9759 * math/w_j0.c: Likewise.
9760 * math/w_j0f.c: Likewise.
9761 * math/w_j0l.c: Likewise.
9762 * math/w_j1.c: Likewise.
9763 * math/w_j1f.c: Likewise.
9764 * math/w_j1l.c: Likewise.
9765 * math/w_jn.c: Likewise.
9766 * math/w_jnf.c: Likewise.
9767 * math/w_jnl.c: Likewise.
9768 * math/w_lgamma.c: Likewise.
9769 * math/w_lgamma_r.c: Likewise.
9770 * math/w_lgammaf.c: Likewise.
9771 * math/w_lgammaf_r.c: Likewise.
9772 * math/w_lgammal.c: Likewise.
9773 * math/w_lgammal_r.c: Likewise.
9774 * math/w_log.c: Likewise.
9775 * math/w_log10.c: Likewise.
9776 * math/w_log10f.c: Likewise.
9777 * math/w_log10l.c: Likewise.
9778 * math/w_log2.c: Likewise.
9779 * math/w_log2f.c: Likewise.
9780 * math/w_log2l.c: Likewise.
9781 * math/w_logf.c: Likewise.
9782 * math/w_logl.c: Likewise.
9783 * math/w_pow.c: Likewise.
9784 * math/w_powf.c: Likewise.
9785 * math/w_powl.c: Likewise.
9786 * math/w_remainder.c: Likewise.
9787 * math/w_remainderf.c: Likewise.
9788 * math/w_remainderl.c: Likewise.
9789 * math/w_scalb.c: Likewise.
9790 * math/w_scalbf.c: Likewise.
9791 * math/w_scalbl.c: Likewise.
9792 * math/w_sinh.c: Likewise.
9793 * math/w_sinhf.c: Likewise.
9794 * math/w_sinhl.c: Likewise.
9795 * math/w_sqrt.c: Likewise.
9796 * math/w_sqrtf.c: Likewise.
9797 * math/w_sqrtl.c: Likewise.
9798 * math/w_tgamma.c: Likewise.
9799 * math/w_tgammaf.c: Likewise.
9800 * math/w_tgammal.c: Likewise.
9801
6a621eb7
UD
9802 * po/ja.po: Update from translation team.
9803
bf582445
AJ
98042011-09-29 Andreas Jaeger <aj@suse.de>
9805
f9efbf3a
AJ
9806 [BZ #13179]
9807 * sunrpc/netname.c (netname2host): Fix logic.
9808
bf582445
AJ
9809 [BZ #6779]
9810 [BZ #6783]
9811 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9812 correctly.
9813 * math/w_remainder.c (__remainder): Likewise.
9814 * math/w_remainderf.c (__remainderf): Likewise.
9815 * math/libm-test.inc (remainder_test): Add test cases.
9816
48693bea
AK
98172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9818
9819 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9820 sdiv_qrnnd.
9821
42622229
LD
98222011-10-07 Ulrich Drepper <drepper@gmail.com>
9823
9824 * string/test-memcmp.c: Avoid unncessary #defines.
9825 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9826
093ecf92
LD
98272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9828
9829 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9830 Use new sse2 version for core i3 - i7 as it's faster
9831 than sse42 version.
9832 (bit_Prefer_PMINUB_for_stringop): New.
9833 * sysdeps/x86_64/rawmemchr.S: Update.
9834 Replace with faster SSE2 version.
9835 * sysdeps/x86_64/memrchr.S: New file.
9836 * sysdeps/x86_64/memchr.S: Update.
9837 Replace with faster SSE2 version.
9838
fde56e5c
MP
98392011-09-12 Marek Polacek <mpolacek@redhat.com>
9840
9841 * elf/dl-load.c (lose): Add cast to avoid warning.
9842
21fd49a9
UD
98432011-10-07 Ulrich Drepper <drepper@gmail.com>
9844
5a06e643
UD
9845 * po/ca.po: Update from translation team.
9846
684ae515
UD
9847 * inet/getnetgrent_r.c: Hook up nscd.
9848 * nscd/Makefile (routines): Add nscd_netgroup.
9849 (nscd-modules): Add netgroupcache.
9850 (CFLAGS-netgroupcache.c): Define.
9851 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9852 (cache_search): Add const to second parameter.
9853 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9854 INNETGR.
9855 (dbs): Add netgrdb entry.
9856 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9857 (verify_persistent_db): Handle netgrdb.
9858 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9859 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9860 GETFDNETGR.
9861 (netgroup_response_header): Define.
9862 (innetgroup_response_header): Define.
9863 (datahead): Add netgroup_response_header and innetgroup_response_header
9864 elements.
9865 * nscd/nscd.conf: Add entries for netgroup cache.
9866 * nscd/nscd.h (dbtype): Add netgrdb.
9867 (_PATH_NSCD_NETGROUP_DB): Define.
9868 (netgroup_iov_disabled): Declare.
9869 (xmalloc, xcalloc, xrealloc): Move declarations here.
9870 (cache_search): Adjust prototype.
9871 Add netgroup-related prototypes.
9872 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9873 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9874 (__nscd_innetgr): Declare.
9875 * nscd/selinux.c (perms): Use access_vector_t as element type and
9876 add netgroup-related initializers.
9877 * nscd/netgroupcache.c: New file.
9878 * nscd/nscd_netgroup.c: New file.
9879 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9880 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9881 For four parameters use innetgr.
9882 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9883 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9884 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9885 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9886
21fd49a9
UD
9887 * nscd/connections.c (register_traced_file): Don't register file
9888 for disabled databases.
9889
054c0457
UD
98902011-10-06 Ulrich Drepper <drepper@gmail.com>
9891
32b63198
UD
9892 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9893
054c0457
UD
9894 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9895 from tree and freeing node.
9896
64031225
JO
98972011-09-25 Jiri Olsa <jolsa@redhat.com>
9898
9899 * nss/nsswitch.c (__nss_database_lookup): Handle
9900 nss_parse_service_list out of memory case.
9901
0490345c
JO
99022011-09-15 Jiri Olsa <jolsa@redhat.com>
9903
9904 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9905 out of memory case.
9906
3a62d00d
AS
99072011-10-04 Andreas Schwab <schwab@redhat.com>
9908
9909 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9910 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9911 pass it down.
9912 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9913 elf_machine_rela, elf_machine_lazy_rel.
9914 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9915 (ELF_DYNAMIC_DO_REL): Likewise.
9916 (ELF_DYNAMIC_DO_RELA): Likewise.
9917 (ELF_DYNAMIC_RELOCATE): Likewise.
9918 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9919 to ELF_DYNAMIC_DO_REL.
9920 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9921 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9922 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9923 elf_machine_rela.
9924 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9925 skip_ifunc, don't call ifunc function if non-zero.
9926 (elf_machine_rela): Likewise.
9927 (elf_machine_lazy_rel): Likewise.
9928 (elf_machine_lazy_rela): Likewise.
9929 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9930 (elf_machine_lazy_rel): Likewise.
9931 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9932 Likewise.
9933 (elf_machine_lazy_rel): Likewise.
9934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9935 Likewise.
9936 (elf_machine_lazy_rel): Likewise.
9937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9938 (elf_machine_lazy_rel): Likewise.
9939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9940 (elf_machine_lazy_rel): Likewise.
9941 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9942 (elf_machine_lazy_rel): Likewise.
9943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9944 (elf_machine_lazy_rel): Likewise.
9945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9946 (elf_machine_lazy_rel): Likewise.
9947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9948 (elf_machine_lazy_rel): Likewise.
9949
68577918
UD
99502011-09-28 Ulrich Drepper <drepper@gmail.com>
9951
9952 * nss/nss_files/files-init.c (_nss_files_init): Use static
9953 initialization for all the *_traced_file variables.
9954
68822d74
AS
99552011-09-28 Andreas Schwab <schwab@redhat.com>
9956
9957 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9958
2056100b
RM
99592011-09-27 Roland McGrath <roland@hack.frob.com>
9960
9961 [BZ #13226]
9962 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9963
32c76b63
AS
99642011-09-27 Andreas Schwab <schwab@redhat.com>
9965
9966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9967 Reread the line before reparsing it.
9968
bf972c9d
AS
99692011-09-26 Andreas Schwab <schwab@redhat.com>
9970
9971 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9972
e057a1b5
JM
99732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9974 Maxim Kuvyrkov <maxim@codesourcery.com>
9975 Joseph Myers <joseph@codesourcery.com>
9976
9977 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9978 if needed for __stack_chk_guard.
9979
bc7e1c36
RM
99802011-09-19 Roland McGrath <roland@hack.frob.com>
9981
ecb1482f
RM
9982 * sysdeps/posix/spawni.c (script_execute): Always define it.
9983 It will be optimized away if unused.
9984 (maybe_script_execute): New function.
9985 (__spawni): Call it.
9986
bc7e1c36
RM
9987 * Makerules: Don't include tls.make.
9988 (config-tls): Always set to thread.
9989 * tls.make.c: File removed.
9990
1c3b002b
MF
99912011-09-19 Mike Frysinger <vapier@gentoo.org>
9992
9993 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9994 * config.make.in (CPPFLAGS-config): New substituted variable.
9995
2840865d
UD
99962011-09-15 Ulrich Drepper <drepper@gmail.com>
9997
88738eb6
UD
9998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9999
cbf645a6 10000 [BZ #13192]
2840865d
UD
10001 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10002 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10003
b402e91a
RM
100042011-09-15 Roland McGrath <roland@hack.frob.com>
10005
10006 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10007 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10009 (CALL_FAIL): Likewise.
10010 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10011 (CALL_FAIL): Macro removed.
10012 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10013
4c1a1f71
UD
100142011-09-15 Ulrich Drepper <drepper@gmail.com>
10015
10016 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10017 for __FINITE_MATH_ONLY__ == 1.
10018
edc121be
AS
100192011-09-15 Andreas Schwab <schwab@redhat.com>
10020
10021 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10022 __ieee754_sqrt instead of sqrt.
10023 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10024 __ieee754_sqrtf instead of sqrtf.
10025 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10026 __floorf instead of floorf.
10027 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10028 __floorf, __truncf instead of floorf, truncf.
10029
cd205654
UD
100302011-09-14 Ulrich Drepper <drepper@gmail.com>
10031
ee4d0315
UD
10032 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10033
cd205654
UD
10034 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10035 __extern_always_inline.
10036 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10037 32-bit.
10038
48b67d71
AS
100392011-09-14 Andreas Schwab <schwab@redhat.com>
10040
10041 * elf/rtld.c (dl_main): Also relocate in dependency order when
10042 doing symbol dependency testing.
10043
1ae12c75
AS
100442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10045
10046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10047 Always define `refsym'.
10048
995a80df
AS
100492011-09-13 Andreas Schwab <schwab@redhat.com>
10050
e529793b
AS
10051 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10052 (__FD_ELT): Renamed from __FDELT.
10053 * misc/bits/select2.h (__FD_ELT): Likewise.
10054 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10055 __FD_MASK instead of __FDELT, __FDMASK.
10056 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10057 Likewise.
10058 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10059 Likewise.
10060
52d4fef8
AS
10061 * elf/Makefile (gen-ldd): Fix pattern.
10062
995a80df
AS
10063 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10064 (init_tls): Likewise.
10065
8682f8b0
UD
100662011-09-12 Ulrich Drepper <drepper@gmail.com>
10067
10068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10069
de82006d
AS
100702011-09-12 Andreas Schwab <schwab@redhat.com>
10071
a7c8e6a1
AS
10072 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10073 `struct cmsghdr *' instead of `void *'.
10074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10075 Likewise.
10076
0f31fe77
AS
100772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10078
10079 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10080 if non-absolute.
10081 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10082 ldd_rewrite_script.
0f31fe77 10083
32b4c839
UD
100842011-09-11 Ulrich Drepper <drepper@gmail.com>
10085
83cd1420
UD
10086 * configure.in: Remove --with-tls option.
10087 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10088 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10089 out in case it is missing.
10090 * sysdeps/ia64/elf/configure.in: Likewise.
10091 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10092 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10093 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10094 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10095 * sysdeps/sh/elf/configure.in: Likewise.
10096 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10097 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10098 * sysdeps/x86_64/elf/configure.in: Likewise.
10099 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10100 * sysdeps/mach/hurd/tls.h: Likewise.
10101
633f745d
UD
10102 [BZ #13067]
10103 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10104
f318beb8
UD
10105 [BZ #13090]
10106 * configure.in: Fix use of AC_INIT.
10107
32b4c839
UD
10108 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10109
3ce1f295
UD
101102011-09-10 Ulrich Drepper <drepper@gmail.com>
10111
bb016596
UD
10112 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10113 __set_errno.
8e58439c
UD
10114 * malloc/hooks.c: Likewise.
10115
aebae053 10116 [BZ #11929]
02d46fc4
UD
10117 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10118 variables statically.
10119 (narenas): Initialize.
10120 (list_lock): Initialize.
bb016596
UD
10121 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10122 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10123 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10124 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10125 Add initializers to main_arena and mp_.
10126 (malloc_state): Remove pagesize member. Change all users to use
10127 GLRO(dl_pagesize).
10128
10129 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10130 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10131 is always initialized.
10132
22a89187
UD
10133 * malloc/malloc.c: Removed unused configurations and dead code.
10134 * malloc/arena.c: Likewise.
10135 * malloc/hooks.c: Likewise.
02d46fc4 10136 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10137
d063d164
UD
10138 * include/tls.h: Removed. USE___THREAD must always be defined.
10139 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10140 * elf/dl-libc.c: Likewise.
10141 * elf/dl-tsd.c: Likewise.
10142 * include/errno.h: Likewise.
10143 * include/netdb.h: Likewise.
10144 * include/resolv.h: Likewise.
10145 * inet/herrno-loc.c: Likewise.
10146 * inet/herrno.c: Likewise.
10147 * malloc/arena.c: Likewise.
10148 * malloc/hooks.c: Likewise.
10149 * malloc/malloc.c: Likewise.
10150 * resolv/res-state.c: Likewise.
10151 * resolv/res_libc.c: Likewise.
10152 * sysdeps/i386/dl-machine.h: Likewise.
10153 * sysdeps/ia64/dl-machine.h: Likewise.
10154 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10155 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10156 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10157 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10158 * sysdeps/sh/dl-machine.h: Likewise.
10159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10161 * sysdeps/unix/i386/sysdep.S: Likewise.
10162 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10163 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10165 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10167 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10168 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10172 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10173 * sysdeps/x86_64/dl-machine.h: Likewise.
10174 * tls.make.c: Likewise.
10175
3ce1f295
UD
10176 * configure.in: Remove --with-__thread option. Make tests for
10177 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10178 tls_model attribute fail if no support is available. Remove
10179 USE_IN_LIBIO.
10180 * Makeconfig: Adjust for dropped configure option. All features are
10181 now mandatory.
10182 * Makerules: Likewise.
10183 * Versions.def: Likewise.
10184 * argp/argp-fmtstream.c: Likewise.
10185 * argp/argp-fmtstream.h: Likewise.
10186 * argp/argp-help.c: Likewise.
10187 * assert/assert.c: Likewise.
10188 * config.h.in: Likewise.
10189 * config.make.in: Likewise.
10190 * configure: Likewise.
10191 * configure.in: Likewise.
10192 * csu/Versions: Likewise.
10193 * csu/init.c: Likewise.
10194 * elf/tst-audit2.c: Likewise.
10195 * elf/tst-tls10.c: Likewise.
10196 * elf/tst-tls10.h: Likewise.
10197 * elf/tst-tls11.c: Likewise.
10198 * elf/tst-tls12.c: Likewise.
10199 * elf/tst-tls14.c: Likewise.
10200 * elf/tst-tlsmod11.c: Likewise.
10201 * elf/tst-tlsmod12.c: Likewise.
10202 * elf/tst-tlsmod13.c: Likewise.
10203 * elf/tst-tlsmod13a.c: Likewise.
10204 * elf/tst-tlsmod14a.c: Likewise.
10205 * elf/tst-tlsmod15b.c: Likewise.
10206 * elf/tst-tlsmod16a.c: Likewise.
10207 * elf/tst-tlsmod16b.c: Likewise.
10208 * elf/tst-tlsmod7.c: Likewise.
10209 * elf/tst-tlsmod8.c: Likewise.
10210 * elf/tst-tlsmod9.c: Likewise.
10211 * gmon/gmon.c: Likewise.
10212 * grp/fgetgrent_r.c: Likewise.
10213 * grp/putgrent.c: Likewise.
10214 * hurd/fopenport.c: Likewise.
10215 * include/libc-symbols.h: Likewise.
10216 * include/tls.h: Likewise.
10217 * intl/gettextP.h: Likewise.
10218 * intl/loadinfo.h: Likewise.
10219 * locale/global-locale.c: Likewise.
10220 * locale/localeinfo.h: Likewise.
10221 * mach/devstream.c: Likewise.
10222 * malloc/arena.c: Likewise.
10223 * malloc/set-freeres.c: Likewise.
10224 * misc/err.c: Likewise.
10225 * misc/getttyent.c: Likewise.
10226 * misc/mntent_r.c: Likewise.
10227 * posix/getopt.c: Likewise.
10228 * posix/wordexp.c: Likewise.
10229 * pwd/fgetpwent_r.c: Likewise.
10230 * resolv/Versions: Likewise.
10231 * resolv/res_hconf.c: Likewise.
10232 * shadow/fgetspent_r.c: Likewise.
10233 * shadow/putspent.c: Likewise.
10234 * stdio-common/printf_fphex.c: Likewise.
10235 * stdio-common/tmpfile.c: Likewise.
10236 * stdlib/abort.c: Likewise.
10237 * stdlib/fmtmsg.c: Likewise.
10238 * sunrpc/auth_unix.c: Likewise.
10239 * sunrpc/clnt_perr.c: Likewise.
10240 * sunrpc/clnt_tcp.c: Likewise.
10241 * sunrpc/clnt_udp.c: Likewise.
10242 * sunrpc/clnt_unix.c: Likewise.
10243 * sunrpc/openchild.c: Likewise.
10244 * sunrpc/svc_simple.c: Likewise.
10245 * sunrpc/svc_tcp.c: Likewise.
10246 * sunrpc/svc_udp.c: Likewise.
10247 * sunrpc/svc_unix.c: Likewise.
10248 * sunrpc/xdr.c: Likewise.
10249 * sunrpc/xdr_array.c: Likewise.
10250 * sunrpc/xdr_rec.c: Likewise.
10251 * sunrpc/xdr_ref.c: Likewise.
10252 * sunrpc/xdr_stdio.c: Likewise.
10253
1248c1c4
PB
102542011-09-09 Ulrich Drepper <drepper@gmail.com>
10255
10256 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10257
102582011-07-03 Andreas Jaeger <aj@suse.de>
10259
10260 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10261 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10262 regenerate with gen-libm-tests.pl.
10263
102642010-05-12 Petr Baudis <pasky@suse.cz>
10265
10266 [BZ #11589]
10267 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10268 around j0() zero points by switching to j1().
10269 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10273
f22e1074
UD
102742011-09-09 Ulrich Drepper <drepper@gmail.com>
10275
f19009c1
UD
10276 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10277 instead of 0.
10278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10279 instead of 0. .
10280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10281 Patch in part by Pavel Roskin <proski@gnu.org>.
10282
3f8cc204
UD
10283 [BZ #13138]
10284 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10285 realloc.
10286 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10287 Free memory block if necessary.
10288
f22e1074
UD
10289 [BZ #12847]
10290 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10291 be NULL. Don't lock in this case.
10292
0a2349f9
RM
102932011-09-09 Roland McGrath <roland@hack.frob.com>
10294
10295 * elf/elf.h (ELFOSABI_GNU): New macro.
10296 (ELFOSABI_LINUX): Define to that.
10297
f3cdd467
DZ
102982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10299
10300 * string/strncat.c (strncat): Undef the symbol in case it has been
10301 defined in bits/string.h.
10302
74718d13
UD
103032011-09-09 Ulrich Drepper <drepper@gmail.com>
10304
633e9e0f
UD
10305 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10306
0a2349f9 10307 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10308 link map.
10309
f9924780
AJ
103102011-08-17 Andreas Jaeger <aj@suse.de>
10311
10312 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10313
7f5517aa
PP
103142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10315 Ian Lance Taylor <iant@google.com>
10316
10317 * math/libm-test.inc (lround_test): New testcase.
10318 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10319
762011fe
UD
103202011-09-08 Ulrich Drepper <drepper@gmail.com>
10321
92963737
UD
10322 * Makefile: Remove support for automatic cvs check-ins.
10323 * Makerules: Likewise.
10324 * config.make.in: Likewise.
10325 * configure.in: Likewise.
10326 * intl/Makefile: Likewise.
10327 * locale/Makefile: Likewise.
10328 * po/Makefile: Likewise.
10329 * posix/Makefile: Likewise.
10330 * sysdeps/gnu/Makefile: Likewise.
10331 * sysdeps/mach/hurd/Makefile: Likewise.
10332 * sysdeps/sparc/sparc32/Makefile: Likewise.
10333
b0727fd8
JS
10334 [BZ #13118]
10335 * posix/Makefile (bug-regex32-ENV): Define.
10336 Patch by John Stanley <jpsinthemix@verizon.net>.
10337
a0f33f99
UD
10338 * misc/Makefile (headers): Add bits/select2.h.
10339 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10340 * misc/bits/select2.h: New file.
10341 * include/bits/select2.h: New file.
10342 * debug/Makefile (routines): Add fdelt_chk.
10343 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10344 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10345 FD_ISSET.
10346 * debug/fdelt_chk.c: New file.
10347
762011fe
UD
10348 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10349 * wcsmbs/test-wmemcmp.c: Likewise.
10350 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10351 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10352
103532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10354
10355 * string/Makefile (strop-tests): Add memcmp.
10356 * string/test-wmemcmp.c: New file.
10357 * string/test-memcmp.c: Add wmemcmp support.
10358
7f513ec8
RM
103592011-09-08 Roland McGrath <roland@hack.frob.com>
10360
0442afb4
RM
10361 [BZ #13153]
10362 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10363 2011-07-19 change.
10364
7f513ec8
RM
10365 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10366 garbage value in a __mach_port_mod_refs call in the cases of the
10367 task-self and thread-self ports.
10368
a12b2239
ST
103692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10370
10371 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10372
610f9ab4
AS
103732011-09-08 Andreas Schwab <schwab@redhat.com>
10374
7f513ec8 10375 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10376
48882a1a
LD
103772011-09-07 Ulrich Drepper <drepper@gmail.com>
10378
b49865be
UD
10379 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10380
fdc86bc9
UD
10381 * elf/dl-libc.c (dlerror_run): Pass back error code from
10382 dl_catch_error.
10383
c966526a
UD
10384 [BZ #13123]
10385 * elf/dl-load.c (lose): Free l_origin if it is valid.
10386
48882a1a
LD
10387 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10388 names.
10389 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10390 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10392 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10393 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10394 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10395
77a2a8b4
AZ
103962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10397
10398 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10399 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10400 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10401 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10402 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10403 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10404 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10405 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10406 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10407 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10408
24f579d8
AM
104092011-08-15 Alan Modra <amodra@gmail.com>
10410
10411 [BZ #13092]
10412 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10413 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10414 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10415 ppc_mcount to static-only-routines.
10416 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10417 __mcount_internal.
10418 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10419 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10420
3d4837df
UD
104212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10422
10423 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10424 for finite and infinity parameters.
10425
22700377
WS
104262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10427
10428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10429 and add nop instructions for throughput optimization.
10430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10431
5025581e
WS
104322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10433
10434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10435 aligned copy for power7 with vector-scalar instructions.
10436 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10437
08a300c9
L
104382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10439
10440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10441 AVX check.
10442
59178ef9
AS
104432011-09-07 Andreas Schwab <schwab@redhat.com>
10444
10445 [BZ #13144]
10446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10447 last change.
10448
e38ba7ab
UD
104492011-09-07 Ulrich Drepper <drepper@gmail.com>
10450
10451 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10452 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10453 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10454 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10455 clock_gettime.
10456
d53a73ac
UD
104572011-09-06 Ulrich Drepper <drepper@gmail.com>
10458
fc8bffcc
UD
10459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10460 Forgot to demangle the pointer.
10461
ceaa0c5d
UD
10462 * sysdeps/i386/sysdep.h: Define atom_text_section.
10463 * sysdeps/x86_64/sysdep.h: Likewise.
10464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10465 section with atom_text_section.
10466 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10467 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10468 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10470 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10471
a77d3c17
UD
10472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10474 already be defined. Change to take two parameters and don't assign
10475 result to variable. Adjust all users.
10476 Define INTERNAL_GETTIME if not already defined.
10477 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10478 call.
10479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10480 HAVE_CLOCK_GETTIME_VSYSCALL.
10481 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10482
d53a73ac
UD
10483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10484 gettimeofday vsyscall, just use time.
10485
a8f84144
AS
104862011-09-06 Andreas Schwab <schwab@redhat.com>
10487
10488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10489 <errno.h>.
10490
ef606249
UD
104912011-09-06 Ulrich Drepper <drepper@gmail.com>
10492
10493 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10494 syscall on x86-64.
10495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10496 syscall.
10497 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10499 syscall if possible.
10500
6585cb60
UD
105012011-09-05 Ulrich Drepper <drepper@gmail.com>
10502
10503 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10504 e_ident. Don't pass to find_mapsXX.
10505 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10506
a5f524e4
LD
105072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10508
10509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10510 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10511 * sysdeps/x86_64/multiarch/strchr.S: Update.
10512 Check bit_slow_BSF bit.
10513 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10514 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10515 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10516
554881ef
UD
105172011-09-05 Ulrich Drepper <drepper@gmail.com>
10518
d96de963
UD
10519 [BZ #13134]
10520 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10521 before glibc 2.15.
10522 (tryshell): Define.
10523 (__spawni): Change last parameter to be flag. Test
10524 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10525 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10526 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10527 * posix/spawni.c: Likewise.
10528 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10529 * posix/spawnp.c: Likewise. Change normal version to use
10530 SPAWN_XFLAGS_USE_PATH.
10531 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10532 SPAWN_XFLAGS_TRY_SHELL.
10533
d48e5868
UD
10534 [BZ #13150]
10535 * posix/glob.h: Remove gcc 1.x support.
10536
554881ef
UD
10537 [BZ #13068]
10538 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10539
693fb948
LD
105402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10541
10542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10543 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10544 strrchr-sse2-bsf
10545 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10546 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10547 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10549 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10551
1b48c537
UD
105522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10553
49d42c37
UD
10554 * sysdeps/x86_64/wcscmp.S: New file.
10555
1b48c537
UD
10556 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10557 wcscmp-c wcscmp-sse2
10558 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10559 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10560 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10561 * wcsmbs/wcscmp.c: Allow renaming.
10562
15c95c5d
DM
105632011-09-05 David S. Miller <davem@davemloft.net>
10564
10565 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10566 stack slot, rather than the struct return pointer slot.
10567 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10568 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10570 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10571
2f0ad8f3
UD
105722011-09-05 Ulrich Drepper <drepper@gmail.com>
10573
d88ae418
UD
10574 * po/ja.po: Update from translation team.
10575
2f0ad8f3
UD
10576 [BZ #13144]
10577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10578 kernel in 64-bit binaries.
10579
5f4318d1
DM
105802011-09-01 David S. Miller <davem@davemloft.net>
10581
10582 * elf/elf.h (HWCAP_SPARC_*): Move to..
10583 * sysdeps/sparc/sysdep.h: this new file and add new values.
10584 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10585 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10586 _DL_HWCAP_COUNT to 24.
10587 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10588 entries.
10589 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10590 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10591 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10593 instead of magic constants.
10594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10595
3ba57516
DM
105962011-08-31 David S. Miller <davem@davemloft.net>
10597
10598 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10600 Reimplement to do errno handling inline.
10601 (SYSCALL_ERROR_HANDLER): New macro.
10602 (__SYSCALL_STRING): Do not do errno handling in asm.
10603 (__CLONE_SYSCALL_STRING): Delete.
10604 (__INTERNAL_SYSCALL_STRING): Delete.
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10606 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10607 (PSEUDO): Reimplement to do errno handling inline.
10608 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10609 (SYSCALL_ERROR_HANDLER): New macro.
10610 (__SYSCALL_STRING): Do not do errno handling in asm.
10611 (__CLONE_SYSCALL_STRING): Delete.
10612 (__INTERNAL_SYSCALL_STRING): Delete.
10613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10614 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10615 i386.
10616 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10617 (inline_syscall*): Add 'err' argument.
10618 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10619 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10620 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10621 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10622
10623 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10624 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10625
2bc17433
AS
106262011-08-30 Andreas Schwab <schwab@redhat.com>
10627
10628 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10629
fbeb5f4d
JO
106302011-08-29 Jiri Olsa <jolsa@redhat.com>
10631
10632 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10633 directive.
10634
ad69cc26
DM
106352011-08-24 David S. Miller <davem@davemloft.net>
10636
10637 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10638
39dd69df
AS
106392011-08-24 Andreas Schwab <schwab@redhat.com>
10640
10641 * elf/Makefile: Add rules to build and run unload8 test.
10642 * elf/unload8.c: New file.
10643 * elf/unload8mod1.c: New file.
10644 * elf/unload8mod1x.c: New file.
10645 * elf/unload8mod2.c: New file.
10646 * elf/unload8mod3.c: New file.
10647
10648 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10649 it wasn't used.
10650
2c0b250a
DM
106512011-08-23 David S. Miller <davem@davemloft.net>
10652
10653 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10654 subtract stack bias.
10655 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10656 %sp not %fp in calculations.
10657 (_JMPBUF_UNWINDS_ADJ): Likewise.
10658
22044b48
DM
10659 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10660 (aio_suspend): Call it to force an exception region around the
10661 AIO_MISC_WAIT() invocation.
10662
2cae4995
AS
106632011-08-23 Andreas Schwab <schwab@redhat.com>
10664
10665 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10666 backslash.
10667
873a772e
AJ
106682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10669
10670 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10671 protection macro.
10672 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10673 and <dl-machine.h>.
10674 (Elf64_FuncDesc): Remove.
10675
25ad0df1
DM
106762011-08-22 David S. Miller <davem@davemloft.net>
10677
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10679 sigaltstack check, add missing cfi directives.
10680 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10681 missing cfi directives, and sigaltstack handling.
10682
e888bcbe
AS
106832011-08-16 Andreas Schwab <schwab@redhat.com>
10684
10685 [BZ #11724]
10686 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10687 object is seen twice.
10688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10689
10690 * elf/Makefile (distribute): Add tst-initorder2.c.
10691 (tests): Add tst-initorder2.
10692 (modules-names): Add tst-initorder2a tst-initorder2b
10693 tst-initorder2c tst-initorder2d. Add rules to build them.
10694 ($(objpfx)tst-initorder2.out): New rule.
10695 * elf/tst-initorder2.c: New file.
10696 * elf/tst-initorder2.exp: New file.
10697
87162f46
AS
106982011-08-22 Andreas Schwab <schwab@redhat.com>
10699
70538b7f
AS
10700 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10701
f55ffe58
AS
10702 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10703 dependencies back to end of function.
10704
87162f46
AS
10705 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10706 $(elfobjdir)/ld.so.
10707
91b392a4
UD
107082011-08-21 Ulrich Drepper <drepper@gmail.com>
10709
10710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10711 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10713 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10714 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10715 of __vdso_gettimeofday.
10716 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10717 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10718 attribute_hidden.
10719 (_libc_vdso_platform_setup): Remove initialization of
10720 __vdso_gettimeofday and __vdso_time.
10721
5c43483f
UD
107222011-08-20 Ulrich Drepper <drepper@gmail.com>
10723
775a77e7
UD
10724 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10725 and fgetc_unlocked.
10726 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10727 getc_unlocked.
89f447ed 10728
49c74ba9
UD
10729 * elf/dl-open.c (add_to_global): Report additions to the global scope
10730 for LD_DEBUG=scopes.
10731 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10732 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10733
5c43483f
UD
10734 [BZ #13114]
10735 * stdio-common/Makefile (tests): Add bug24.
10736 * stdio-common/bug24.c: New file.
10737
a101b025
AJ
107382011-08-19 Andreas Jaeger <aj@suse.de>
10739
10740 [BZ #13114]
10741 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10742 non-existant file when using close-on-exec mode.
10743
c88f1766
UD
107442011-08-20 Ulrich Drepper <drepper@gmail.com>
10745
0276a718
UD
10746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10747 the very first instruction.
10748
c88f1766
UD
10749 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10750 the CFI state in the end.
10751 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10752 inclusion of dl-trampoline.h.
10753 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10754
51ccffa0
AS
107552011-08-19 Andreas Schwab <schwab@redhat.com>
10756
94d7165f
AS
10757 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10758 expectations for long double.
10759
51ccffa0
AS
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10761 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10762
fd708658 107632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10764
10765 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10766 artificual limit depends upon the system page size.
10767
44f0a71e
UD
107682011-08-17 Ulrich Drepper <drepper@gmail.com>
10769
10770 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10771 * resolv/Makefile: Define CFLAGS-libresolv.
10772
8de79a24
AS
107732011-08-17 Andreas Schwab <schwab@redhat.com>
10774
10775 * nss/makedb.c (compute_tables): Make variables used in nested
10776 function static.
10777
27724598
UD
107782011-08-17 Ulrich Drepper <drepper@gmail.com>
10779
c5305d88
UD
10780 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10781 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10782 if buffer was too small.
10783
27724598
UD
10784 * elf/pldd.c (main): Attach to all threads in the process.
10785 Rewrite /proc handling to use *at functions.
10786
076fe015
UD
107872011-08-16 Ulrich Drepper <drepper@gmail.com>
10788
174baab3
UD
10789 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10790 specifies first scope to show.
10791 (dl_open_worker): Update callers. Move printing scope of new
10792 object to before the relocation.
44f0a71e 10793 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10794 * sysdeps/generic/ldsodefs.h: Update declaration.
10795
076fe015
UD
10796 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10797 string for the scope number.
10798
a60df2c3
UD
107992011-08-14 Ulrich Drepper <drepper@gmail.com>
10800
10801 * nscd/servicescache.c (cache_addserv): Make sure written is always
10802 initialized.
10803
5e4287d1
RM
108042011-08-14 Roland McGrath <roland@hack.frob.com>
10805
85ae0589
RM
10806 * sysdeps/i386/i486/bits/atomic.h
10807 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10808 statement expression, so as to suppress "set but not used" warning.
10809 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10810
69f63097
RM
10811 * string/strncat.c (STRNCAT): Use prototype definition.
10812
675456ef
RM
10813 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10814 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10815 -Iprograms here.
10816 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10817 (localedef-modules): Add localedef.
10818 (locale-modules): Add locale.
10819
5e4287d1
RM
10820 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10821 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10822 to avoid a warning.
10823
9c96ff23
DM
108242011-08-14 David S. Miller <davem@davemloft.net>
10825
10826 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10827 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10828
f9ddf089
UD
108292011-08-13 Ulrich Drepper <drepper@gmail.com>
10830
44f0a71e 10831 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10832 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10833 * elf/rtld.c (dl_main): Set l_name of vDSO.
10834 Call _dl_show_scope when DL_DEBUG_SCOPES.
10835 (process_dl_debug): Recognize scopes flag and also set it for all.
10836 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10837 Declare _dl_show_scope.
10838
1dc27704
UD
10839 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10840 (do_dlopen): Pass caller_dlopen to dl_open.
10841 (__libc_dlopen_mode): Initialize caller_dlopen.
10842
f9ddf089
UD
10843 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10844 of libc. Make tolower call locale-independent. Optimize a bit by
10845 using isdigit instead of isalnum.
10846 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10847
9ac533d3
UD
108482011-08-12 Ulrich Drepper <drepper@gmail.com>
10849
10850 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10851 was a dependency or dynamically loaded.
10852
89edf2e9
UD
108532011-08-11 Ulrich Drepper <drepper@gmail.com>
10854
8e999d29
UD
10855 * intl/l10nflist.c: Allow architecture-specific pop function.
10856 * sysdeps/x86_64/l10nflist.c: New file.
10857
89edf2e9
UD
10858 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10859 classification.
10860
14d96785
AS
108612011-08-10 Andreas Schwab <schwab@redhat.com>
10862
10863 * include/dirent.h: Add libc_hidden_proto for scandirat and
10864 scandirat64. Don't declare __scandirat64.
10865 * dirent/scandirat.c: Add libc_hidden_def.
10866 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10867 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10868
6761ac04
DM
108692011-08-10 David S. Miller <davem@davemloft.net>
10870
10871 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10872 enum.
10873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10876
c55fbd1e
UD
108772011-08-09 Ulrich Drepper <drepper@gmail.com>
10878
10879 * Versions.def [libc]: Add GLIBC_2.15.
10880 * dirent/Makefile (routines): Add scandirat and scandirat64.
10881 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10882 GLIBC_2.15.
10883 * dirent/dirent.h: Declare scandirat and scandirat64.
10884 * dirent/scandirat.c: New file.
10885 * dirent/scandirat64.c: New file.
10886 * sysdeps/wordsize-64/scandirat.c: New file.
10887 * sysdeps/wordsize-64/scandirat64.c: New file.
10888 * dirent/opendir.c: Define opendirat.
10889 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10890 using scandirat.
10891 * dirent/scandir64.c: Adjust for scandir.c change.
10892 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10893 __scandirat64, and __scandir_cancel_handler.
10894 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10895 additional parameter and use openat instead of open (outside of ld.so).
10896 Add new __opendir as wrapper around __opendirat.
10897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10898 here without requiring old scandirat implementation.
10899
879165f2
UD
109002011-08-08 Ulrich Drepper <drepper@gmail.com>
10901
10902 * dirent/scandir.c (cancel_handler): Renamed to
10903 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10904 defined. Adjust users.
10905 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10907
cb7e923b
UD
109082011-08-04 Ulrich Drepper <drepper@gmail.com>
10909
16292edd
UD
10910 * string/test-string.h (IMPL): Use __STRING to expand name and then
10911 stringify it.
10912
cb7e923b
UD
10913 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10914 of cleanups.
10915
cff82933
LD
109162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10917
10918 * string/Makefile: Update.
10919 (strop-tests): Append strncat.
10920 * string/test-wcscmp.c: New file.
10921 New comprehensive test for wcscmp.
10922 * string/test-strcmp.c: Update.
10923 (WIDE): New define.
10924
9be9bfcc
AS
109252011-07-22 Andreas Schwab <schwab@redhat.com>
10926
10927 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10928 line.
10929
2e96f1c7
AS
109302011-07-26 Andreas Schwab <schwab@redhat.com>
10931
10932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10933 encoding to ACE if AI_IDN.
10934
85188888
JJ
109352011-08-01 Jakub Jelinek <jakub@redhat.com>
10936
10937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10938 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10939
5fa16e9b
LD
109402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10941
10942 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10943 Fix overflow bug in strncat.
10944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10945
10946 * string/test-strncat.c: Update.
10947 Add new tests for checking overflow bugs.
10948
109492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10950
10951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10952 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10953 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10954 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10955 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10956 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10957 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10958 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10959 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10960
10961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10962 (USE_AS_STRCAT): Define.
10963 Add strcat and strncat support.
10964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10965
8c1a459f
AS
109662011-07-25 Andreas Schwab <schwab@redhat.com>
10967
10968 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10969 __n bigger than INT_MAX+1.
10970 (__strncmp_g): Likewise.
10971
bba33c28
UD
109722011-07-23 Ulrich Drepper <drepper@gmail.com>
10973
798be72d
UD
10974 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10975 * libio/stido.h: Likewise.
10976
8accd4dc
UD
10977 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10978 (AF_NFC): Define.
10979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10980 (AF_NFC): Define.
10981
cbff0d96
UD
10982 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10983 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10985 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10987
9191c04a
UD
10988 [BZ #13021]
10989 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10990 installed.
10991
bba33c28
UD
10992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10993 typo.
10994 (_dl_x86_64_save_sse): Likewise.
10995
90f139dd
UD
109962011-07-22 Ulrich Drepper <drepper@gmail.com>
10997
1aae088a
UD
10998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10999 OSXSAVE.
11000 (_dl_x86_64_save_sse): Likewise.
11001
8e2045f5
UD
11002 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11003
90f139dd
UD
11004 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11005
1d002f25
AS
110062011-07-21 Andreas Schwab <schwab@redhat.com>
11007
11008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11009 change.
11010 (_dl_x86_64_save_sse): Use correct AVX check.
11011
21137f89
UD
110122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11013
11014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11015 bug in strncpy/strncat.
11016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11017
a65c0b7a
UD
110182011-07-21 Ulrich Drepper <drepper@gmail.com>
11019
11020 * string/tester.c (test_strcat): Add tests for different alignments
11021 of source and destination.
11022 (test_strncat): Likewise.
11023
6986b98a
UD
110242011-07-20 Ulrich Drepper <drepper@gmail.com>
11025
90bb2039
UD
11026 [BZ #12852]
11027 * posix/glob.c (glob): Check passed in values before using them in
11028 expressions to avoid some overflows.
11029 (glob_in_dir): Likewise.
11030
5644ef54
UD
11031 [BZ #13007]
11032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11033 check for AVX enablement so that we don't crash with old kernels and
11034 new hardware.
11035 * elf/tst-audit4.c: Add same checks here.
11036 * elf/tst-audit6.c: Likewise.
11037
11038 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11039
bfc9dc9b
AS
110402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11041
11042 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11043
702e64bb
UD
110442011-07-20 Ulrich Drepper <drepper@gmail.com>
11045
11046 * po/cs.po: Update from translation team.
11047 * po/bg.po: Likewise.
11048
295e904f
MP
110492011-07-12 Marek Polacek <mpolacek@redhat.com>
11050
11051 * misc/sys/cdefs.h: Add support for const attribute.
11052 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11053 to gnu_dev_{major,minor,makedev} functions.
11054
3ff94596
MP
110552011-07-20 Marek Polacek <mpolacek@redhat.com>
11056
11057 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11058
28b59fca
AS
110592011-07-20 Andreas Schwab <schwab@redhat.com>
11060
11061 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11062 strlen results.
11063
19df733e
AK
110642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11065
11066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11067 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11068 register in order to avoid conflicts with the soft frame pointer
11069 being held in r11 when necessary.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11071 (INTERNAL_VSYSCALL_NCS): Likewise.
11072
c8835729
MP
110732011-07-14 Marek Polacek <mpolacek@redhat.com>
11074
11075 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11076 * elf/dl-fini.c (_dl_fini): Adjust caller.
11077 * elf/dl-close.c (_dl_close_worker): Likewise.
11078 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11079
b902330c
MP
110802011-07-15 Marek Polacek <mpolacek@redhat.com>
11081
8991e135
MP
11082 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11083 "aux_cache->nlibs < 0".
11084
b902330c
MP
11085 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11086 in the reload-count case.
11087
99710781
LD
110882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11089
11090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11091 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11092 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11093 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11094 * sysdeps/x86_64/multiarch/strcat.S: New file.
11095 * sysdeps/x86_64/multiarch/strncat.S: New file.
11096 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11097 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11098 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11099 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11101 (USE_AS_STRCAT): Define.
11102 Add strcat and strncat support.
11103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11105 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11106 * string/strncat.c: Update.
11107 (USE_AS_STRNCAT): Define.
11108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11109 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11110 and i7.
11111 * sysdeps/x86_64/multiarch/init-arch.h
11112 (bit_Prefer_PMINUB_for_stringop): New.
11113 (index_Prefer_PMINUB_for_stringop): Likewise.
11114 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11115 bit_Prefer_PMINUB_for_stringop.
11116
7dc6bd90
UD
111172011-07-19 Ulrich Drepper <drepper@gmail.com>
11118
11119 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11120 buffer64.
11121 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11122 of casting of buffer.
11123 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11124 buffer32 and buffer64.
11125 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11126 writes instead of casting of buffer.
11127 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11128 buffer32.
11129 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11130 casting of buffer.
11131
e0e72284
AS
111322011-07-19 Andreas Schwab <schwab@redhat.com>
11133
11134 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11135
feb1eb0b
UD
111362011-07-19 Ulrich Drepper <drepper@gmail.com>
11137
11138 * nscd/nscd.c (termination_handler): Don't do anything for a database
11139 if it has not yet been initialized.
11140
298711ff
UD
111412011-07-18 Ulrich Drepper <drepper@gmail.com>
11142
11143 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11144
111452011-07-15 Marek Polacek <mpolacek@redhat.com>
11146
11147 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11148
f9d68389
UD
111492011-07-18 Ulrich Drepper <drepper@gmail.com>
11150
11151 * po/nl.po: Update from translation team.
11152 * po/sv.po: Likewise.
11153
db290cf5
RM
111542011-07-16 Roland McGrath <roland@hack.frob.com>
11155
11156 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11157 now disallowed by GCC.
5c550700 11158
fd5e21c7
RM
11159 * configure.in (use-default-link): Default to yes if a test -shared
11160 link meets our qualifications.
11161 * configure: Regenerated.
11162
5c550700
RM
11163 * config.make.in (output-format): New variable.
11164 * configure.in: Check for ld --print-output-format support.
11165 * configure: Regenerated.
11166 * Makerules ($(common-objpfx)format.lds)
11167 [$(output-format) != unknown]: Just use $(output-format),
11168 instead of the linker-script munging.
11169
9fa2c032
RM
111702011-07-14 Roland McGrath <roland@hack.frob.com>
11171
a6928d51
RM
11172 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11173 of $(common-objpfx)shlib.lds.
11174 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11175
661607b3
RM
11176 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11177 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11178
9fa2c032
RM
11179 * configure.in (-z relro check): Adjust test code to add a large
11180 writable data section after it.
11181 * configure: Regenerated.
11182
defe9061
RM
111832011-07-11 Roland McGrath <roland@hack.frob.com>
11184
11185 * configure.in (-z relro check): Fix test code to make the variable
11186 truly const.
11187 * configure: Regenerated.
11188
319b9ad4
UD
111892011-07-11 Ulrich Drepper <drepper@gmail.com>
11190
11191 * nscd/nscd.h (struct traced_file): Define.
11192 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11193 elements. Add traced_files.
11194 (inotify_fd): Declare.
11195 (register_traced_file): Declare.
11196 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11197 (inotify_fd): Export.
11198 (resolv_conf_descr): Remove.
11199 (nscd_init): Move inotify descriptor creation to main.
11200 Don't register files for notification here.
11201 (register_traced_file): New function.
11202 (invalidate_cache): Don't use reset_res to determine whether to call
11203 res_init, go through the list of registered files.
11204 (main_loop_poll): The inotify descriptors are now stored in the
11205 structures for the traced files.
11206 (main_loop_epoll): Likewise
11207 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11208 to __nss_disable_nscd.
11209 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11210 for a database anymore. Check the records for all the registered
11211 files instead.
11212 * nss/Makefile (libnss_files-routines): Add files-init.
11213 (libnss_db-routines): Add db-init.
11214 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11215 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11216 * nss/nss_db/db-init.c: New file.
11217 * nss/nss_files/files-init.c: New file.
11218 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11219 __nss_lookup_function.
11220 (__nss_lookup_function): Call nss_load_library.
11221 (nss_load_all_libraries): New function.
11222 (__nss_disable_nscd): Take parameter with callback function for files
11223 to register. Set is_nscd. Load all the DSOs for the NSS modules
11224 used for the cached services.
11225 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11226 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11227 options for features to all the files in nscd.
11228
11229 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11230
23bee3e8
RM
112312011-07-10 Roland McGrath <roland@hack.frob.com>
11232
11233 * csu/elf-init.c (__libc_csu_init): Comment typo.
11234
46a5b7f0
UD
112352011-07-09 Ulrich Drepper <drepper@gmail.com>
11236
11237 * po/pl.po: Update from translation team.
11238 * po/ja.po: Likewise.
11239 * po/ru.po: Likewise.
11240 * po/ko.po: Likewise.
11241 * po/fr.po: Likewise.
11242
d30cf5bb
RM
112432011-07-09 Roland McGrath <roland@hack.frob.com>
11244
113ddea4
RM
11245 * configure.in (.ctors/.dtors header and trailer check):
11246 Use an empirical test on a built program.
11247 * configure: Regenerated.
11248
574920b4
RM
11249 * configure.in (-z relro check): Use an empirical test on a built DSO.
11250 Detect, but do not require, on ia64.
11251 * configure: Regenerated.
11252
d30cf5bb
RM
11253 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11254 Update tests that use readelf to use $READELF instead.
11255 * configure: Regenerated.
11256
8538fdb3
UD
112572011-07-08 Ulrich Drepper <drepper@gmail.com>
11258
11259 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11260 if the result is not used.
11261
04d08991
AJ
112622011-07-05 Andreas Jaeger <aj@suse.de>
11263
11264 [BZ#9696]
11265 * stdlib/tst-strtod.c: Add testcase.
11266
de283087
AD
112672011-07-07 Ulrich Drepper <drepper@gmail.com>
11268
4e5f31c8 11269 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11270 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11271 The latter has a higher limit. Take additional parameter to pass to
11272 the new function.
11273 (__pathconf): Pass file to __statfs_link_max.
11274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11275 __statfs_link_max.
11276 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11277 __statfs_link_max.
11278
de283087
AD
11279 [BZ #12868]
11280 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11282 Handle Lustre.
11283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11284 (__statfs_filesize_max): Likewise.
11285 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11286
c75fa153
AJ
112872011-07-05 Andreas Jaeger <aj@suse.de>
11288
11289 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11290
1a544854
UD
112912011-07-06 Marek Polacek <mpolacek@redhat.com>
11292
11293 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11294 `status' variable.
11295 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11296 Likewise.
11297
6f0eec67
UD
112982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * Makefile (strop-tests): Add strncat.
11301 * string/test-strncat.c: New file.
11302
aae30307
UD
113032011-06-30 Marek Polacek <mpolacek@redhat.com>
11304
11305 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11306
c0cfb5eb
UD
113072011-06-21 Andreas Jaeger <aj@suse.de>
11308
11309 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11310 Copy rule from iconvdata/Makefile.
11311
01636b21
UD
113122011-07-06 Ulrich Drepper <drepper@gmail.com>
11313
11314 [BZ #12922]
11315 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11316 but no long options are defined, just return 'W'.
11317
9895c8bc
UD
113182011-06-22 Marek Polacek <mpolacek@redhat.com>
11319
11320 [BZ #9696]
11321 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11322
5d4cf042
UD
113232011-07-06 Ulrich Drepper <drepper@gmail.com>
11324
11325 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11326 netgroups to read.
960e5535 11327 (innetgr): Likewise.
5d4cf042 11328
751eb97e
RM
113292011-07-05 Roland McGrath <roland@hack.frob.com>
11330
11331 * config.make.in (install_root): Default to $(DESTDIR).
11332
f15f1e45
UD
113332011-07-05 Ulrich Drepper <drepper@gmail.com>
11334
11335 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11336
4e34ac6a
RM
113372011-07-02 Roland McGrath <roland@hack.frob.com>
11338
5e9b6af4
RM
11339 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11340
84f9ea0f
RM
11341 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11342 containing directory rather than embedding absolute directory names.
11343
ea5ee9f7
RM
11344 * scripts/check-local-headers.sh: Rewritten using awk.
11345 Match by word, not by line. Print error messages for matches.
11346 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11347
1b74661a
RM
11348 * Makerules [shlib-lds-flags empty]:
11349 ($(common-objpfx)libc_pic.opts): New target.
11350 ($(common-objpfx)libc_pic.os.clean): New target.
11351 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11352
11353 * config.make.in (OBJCOPY): New variable.
11354 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11355 * configure: Regenerated.
11356
f781ef40
RM
11357 * config.make.in (use-default-link): New variable.
11358 * configure.in (use_default_link): Grok --with-default-link to set it.
11359 * configure: Regenerated.
11360 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11361 (shlib-lds, shlib-lds-flags): Define to empty.
11362
2d4fa81e
RM
11363 * Makerules (shlib-lds): New variable.
11364 (shlib-lds-flags): New variable.
11365 (build-shlib, build-moduile, build-module-asneeded): Use it.
11366 ($(common-objpfx)libc.so): Use $(shlib-lds).
11367 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11368 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11369
31fffa6b
RM
11370 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11371 DT_FLAGS/DT_FLAGS_1 with zero flags.
11372
4e34ac6a
RM
11373 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11374 linker script munging.
11375
fcfc776b
UD
113762011-07-02 Ulrich Drepper <drepper@gmail.com>
11377
11378 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11379 as 128-bit value.
11380 * crypt/sha512.c (sha512_process_block): Perform total addition using
11381 128-bit if possible.
11382 (__sha512_finish_ctx): Likewise.
11383 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11384 as 64-bit value.
11385 * crypt/sha256.c (SWAP64): Define.
11386 (sha256_process_block): Perform total addition using 64-bit if
11387 possible.
11388 (__sha256_finish_ctx): Likewise.
11389
99231d9a
UD
113902011-07-01 Ulrich Drepper <drepper@gmail.com>
11391
11392 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11394 * nscd/hstcache.c (cache_addhst): Likewise.
11395 * nscd/grpcache.c (cache_addgr): Likewise.
11396 * nscd/aicache.c (addhstaiX): Likewise
11397 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11398
445b4a53
TK
113992011-07-01 Thorsten Kukuk <kukuk@suse.de>
11400
11401 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11403 * nscd/hstcache.c (cache_addhst): Likewise.
11404 * nscd/grpcache.c (cache_addgr): Likewise.
11405 * nscd/aicache.c (addhstaiX): Likewise
11406
6d4d8e8e
AS
114072011-07-01 Andreas Schwab <schwab@redhat.com>
11408
11409 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11410 domain only when needed.
11411
89f654c5
AS
114122011-06-30 Andreas Schwab <schwab@redhat.com>
11413
11414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11415 is always restored.
11416
cf3b23ff
UD
114172011-06-29 Ulrich Drepper <drepper@gmail.com>
11418
11419 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11420 are re-adding the entry.
11421 * nscd/servicescache.c (cache_addserv): Likewise.
11422
751626f9
AJ
114232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11424
11425 * sysdeps/generic/dl-irel.h: fix protection against multiple
11426 inclusions.
11427 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11428
9113ea1f
UD
114292011-06-28 Ulrich Drepper <drepper@gmail.com>
11430
5c0b8d90
UD
11431 [BZ #12935]
11432 * malloc/memusage.sh: Fix quoting in message.
11433 * debug/xtrace.sh: Likewise.
11434
9113ea1f
UD
11435 * configure.in: Remove support for --experimental-malloc option, make
11436 it the default.
11437 * config.make.in: Likewise.
11438 * malloc/Makefile: Likewise.
11439
a4172181
AS
114402011-06-27 Andreas Schwab <schwab@redhat.com>
11441
11442 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11443 two-byte characters.
11444
78a7eee7
RM
114452011-06-27 Roland McGrath <roland@hack.frob.com>
11446
62bede13
RM
11447 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11448 AC_CACHE_CHECK invocation.
11449 * configure: Regenerated.
11450
78a7eee7
RM
11451 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11452
5ce33a62
UD
114532011-06-27 Ulrich Drepper <drepper@gmail.com>
11454
034807a9
UD
11455 [BZ #12350]
11456 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11457 bit from old_res_options.
11458
4902da17
UD
11459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11460
5ce33a62
UD
11461 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11462 value type for setfct.
11463
c2344f56
L
114642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11465
11466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11467 __gettimeofday instead of gettimeofday.
11468
68468076
UD
114692011-06-26 Ulrich Drepper <drepper@gmail.com>
11470
11471 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11472
acb0d739
L
114732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11474
11475 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11476
11477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11478 info.
11479
8912479f
L
114802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11481
11482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11483 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11484 strcpy-sse2-unaligned strncpy-sse2-unaligned
11485 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11486 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11487 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11488 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11489 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11490 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11491 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11492 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11493 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11494 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11495 (STRCPY): Support SSE2 and SSSE3 versions.
11496
d5495a11
UD
114972011-06-24 Ulrich Drepper <drepper@gmail.com>
11498
11499 [BZ #12874]
11500 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11501 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11502 kernels which artificially limit size of requests.
11503
0b1cbaae
L
115042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11505
11506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11507 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11508 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11509 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11510 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11511 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11512 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11513 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11516 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11517 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11518 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11519 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11520 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11522 Enable unaligned load optimization for Intel Core i3, i5 and i7
11523 processors.
11524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11525 Define.
11526 (index_Fast_Unaligned_Load): Define.
11527 (HAS_FAST_UNALIGNED_LOAD): Define.
11528
07f494a0
MP
115292011-06-23 Marek Polacek <mpolacek@redhat.com>
11530
11531 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11532
fa3fc0fe
UD
115332011-06-22 Ulrich Drepper <drepper@gmail.com>
11534
11535 [BZ #12907]
11536 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11537 until it is clear that the information is realy needed.
11538 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11539
e12df166
AS
115402011-06-22 Andreas Schwab <schwab@redhat.com>
11541
11542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11543
852eb34d
UD
115442011-06-22 Ulrich Drepper <drepper@gmail.com>
11545
84e2a551
UD
11546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11547 /sys/devices/system/cpu/online if it is usable.
11548
852eb34d
UD
11549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11550 reading the information from the /proc filesystem to once a second.
11551
6e502e19
UD
115522011-06-21 Andreas Jaeger <aj@suse.de>
11553
11554 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11555 NULL after inclusion of kernel headers.
11556
75d39ff2
UD
115572011-06-21 Ulrich Drepper <drepper@gmail.com>
11558
51f9aa6a
UD
11559 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11560 calls to internal_setent.
11561
c0244a9d
UD
11562 [BZ #12885]
11563 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11564 addresses using gethostbyname4_r ignore IPv4 addresses.
11565
c5e3c2ae
UD
11566 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11567 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11568
75d39ff2
UD
11569 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11570
42675c6f
DM
115712011-06-20 David S. Miller <davem@davemloft.net>
11572
11573 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11574 inclusions.
11575 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11576
11577 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11578 (elf_irel): Use it.
11579 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11580 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11581 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11582 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11583 * sysdeps/x86_64/dl-irel.h: Likewise.
11584
11585 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11586 * elf/dl-sym.c: Likewise.
11587
57912a71
UD
115882011-06-15 Ulrich Drepper <drepper@gmail.com>
11589
11590 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11591 need to dereference resplen2.
11592
ee22793d
AS
115932011-06-14 Andreas Schwab <schwab@redhat.com>
11594
11595 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11596
a9e836b0
UD
115972011-06-15 Ulrich Drepper <drepper@gmail.com>
11598
77fb9117
UD
11599 * Makeconfig: Define vardbdir and inst_vardbdir.
11600 * nss/Makefile: Add rules to install db-Makefile.
11601
40c1b22c
UD
11602 * nss/nss_db/db-XXX.c: Cleanup.
11603
9f2da732
UD
11604 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11605 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11606 GLIBC_PRIVATE.
11607 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11608 * nss/makedb.c: Implement -g option to specify that value strings
11609 are generated and should not be added to table iterated over for
11610 get*ent calls.
11611 * nss/nss_db/db-initgroups.c: New file.
11612
82e9a1f7
UD
11613 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11614 interface.
11615
c41af17e
UD
11616 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11617 (internal_getgrouplist): Adjust to name change.
11618 Update use_initgroups_entry if this is not the first call.
11619 * nss/databases.def: Add initgroups entry.
11620
a9e836b0
UD
11621 * nss/makedb.c (compute_tables): Check result of multiple hash table
11622 sizes to minimize maximum chain length.
11623
2666d441
UD
116242011-06-14 Ulrich Drepper <drepper@gmail.com>
11625
11626 * Versions.def: Add entry for libnss_db.
11627 * shlib-versions: Likewise.
11628 * nss/Makefile: Add rules to build libnss_db.
11629 * nss/Versions: Add libnss_db information. Organize libnss_files
11630 entries better.
11631 * nss/db-Makefile: Add gshadow support. Change rules for the new
11632 makedb progra. Some minor improvements to generate smaller files.
11633 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11634 here from...
11635 * nss/makedb.c: ...here.
11636 Improve database format to be smaller and require less memory at
11637 runtime.
11638 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11639 db anymore.
11640 * nss/nss_db/db-netgrp.c: Likewise.
11641 * nss/nss_db/db-open.c: Likewise.
11642 * nss/nss_files/flies-XXX.x: Adjust comments.
11643 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11644 * nss/nss_files/files-grp.c: Likewise.
11645 * nss/nss_files/files-hosts.c: Likewise.
11646 * nss/nss_files/files-network.c: Likewise.
11647 * nss/nss_files/files-proto.c: Likewise.
11648 * nss/nss_files/files-pwd.c: Likewise.
11649 * nss/nss_files/files-rpc.c: Likewise.
11650 * nss/nss_files/files-service.c: Likewise.
11651 * nss/nss_files/files-sgrp.c: Likewise.
11652 * nss/nss_files/files-spwd.c: Likewise.
11653 * nss/nss_db/db-alias.c: Removed.
11654 * nss/nss_db/dummy-db.h: Removed.
11655
9ee76b5a
UD
116562011-06-02 Ulrich Drepper <drepper@gmail.com>
11657
11658 * nss/makedb.c: Rewritten to not use database library.
11659 * nss/Makefile: Update to build new makedb program.
11660
c71ca1f8
AJ
116612011-06-14 Andreas Jaeger <aj@suse.de>
11662
11663 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11664 memset declaration.
11665
3154bfb8
UD
116662011-06-10 Andreas Schwab <schwab@redhat.com>
11667
11668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11669 tmpbuf.
11670
b350afab
RM
116712011-06-10 Roland McGrath <roland@hack.frob.com>
11672
decd4e50
RM
11673 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11674 * elf/Makefile ($(objpfx)ld.so): Likewise.
11675
5615eaf2
RM
11676 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11677 Don't list ld.so twice in dependencies.
11678
11679 * posix/bug-regex31.c: Include <stdlib.h>.
11680
11681 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11682
11683 * nis/nss_compat/compat-spwd.c
11684 (getspent_next_nss_netgr): Remove unused variable.
11685 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11686
11687 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11688 nonmembers" output to use the right array.
11689
11690 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11691
11692 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11693
11694 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11695 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11696 * catgets/gencat.c (read_input_file): Likewise.
11697 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11698
11699 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11700 variable definition inside #if's controlling its use.
11701
11702 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11703
11704 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11705
11706 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11707
11708 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11709 unreachable code.
11710
11711 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11712
b68e08db
RM
11713 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11714 * configure: Regenerated.
11715
b350afab
RM
11716 * Makerules: Revert last change.
11717 * elf/Makefile: Likewise.
11718
28368601
RM
117192011-06-09 Roland McGrath <roland@hack.frob.com>
11720
11721 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11722 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11723 (reloc-link): Likewise.
11724
11988f8f
UD
117252011-06-09 Ulrich Drepper <drepper@gmail.com>
11726
11727 * elf/Makefile: Add rules to build pldd.
11728 * elf/pldd.c: New file.
11729 * elf/pldd-xx.c: New file.
11730
e80fab37
UD
117312011-06-07 Ulrich Drepper <drepper@gmail.com>
11732
11733 * version.h: Update for 2.15 development version.
11734
9b849836
DM
117352011-06-07 David S. Miller <davem@davemloft.net>
11736
11737 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11738 ifuncs.
11739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11740 elf_machine_lazy_rel): Likewise.
11741 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11743 elf_machine_lazy_rel): Likewise.
11744 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11745 dl_hwcap via passed in argument.
11746 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11747 Likewise.
11748
5a31b283
AK
117492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11750
11751 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11752
069e52f8
RM
117532011-06-06 Roland McGrath <roland@hack.frob.com>
11754
11755 [BZ #12849]
11756 * manual/fdl-1.1.texi: New file, verbatim from:
11757 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11758 * manual/lgpl-2.1.texi: New file, verbatim from:
11759 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11760 * manual/Makefile (licenses): New variable, list those new file names.
11761 (texis): Use it.
11762 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11763
11764 * manual/fdl.texi: File removed.
11765 * manual/lesser.texi: File removed.
11766 * manual/libc.texinfo (Copying, Documentation License):
11767 Use new @include file names, put @appendix directive before @include.
11768
f16846a5
JJ
117692011-06-04 Jakub Jelinek <jakub@redhat.com>
11770
11771 [BZ #12841]
11772 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11773 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11774 (mq_open): Add __NTH.
11775
3d29045b
L
117762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11779 Assume Intel Core i3/i5/i7 processor if AVX is available.
11780
8c297311
UD
117812011-05-31 Ulrich Drepper <drepper@gmail.com>
11782
11783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11784 typo.
11785
c8fc0c91
UD
117862011-05-31 Andreas Schwab <schwab@redhat.com>
11787
11788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11789 memory. Use alloca_account. Fix memory leak when retrying.
11790
5b27a807
UD
117912011-05-31 Ulrich Drepper <drepper@gmail.com>
11792
356f8bc6
UD
11793 * version.h (RELEASE): Bump for 2.14 release.
11794 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11795
5b27a807
UD
11796 * config.make.in (RANLIB): Remove entry.
11797
01f16ab0
UD
117982011-05-30 Ulrich Drepper <drepper@gmail.com>
11799
41fce8bd
UD
11800 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11801 (libc.pot): Work around missing support for .ksh extension in xgettext.
11802
4769ae77
UD
11803 [BZ #12684]
11804 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11805 if both request failed.
11806 (send_dg): In case of server errors clear resplen or *resplen2.
11807
6b1e7d19
UD
11808 [BZ #12454]
11809 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11810 when there are multiple maps.
11811 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11812 (_dl_fini): Remove test here.
11813
01f16ab0
UD
11814 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11815
b1ebd700
UD
118162011-05-29 Ulrich Drepper <drepper@gmail.com>
11817
7ae22829
UD
11818 [BZ #12350]
11819 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11820 bit from old_res_options.
11821 (gaih_inet): Likewise.
11822
553149f6 11823 [BZ #11099]
18a84741 11824 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11825 as signed.
11826
652ffab1
UD
11827 * resolv/res_init.c (res_setoptions): Make the code more compact.
11828
16985fd0
UD
11829 [BZ #11558]
11830 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11831 set RES_USEVC.
11832
0464f746
UD
11833 [BZ #11634]
11834 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11835
7d17596c
UD
11836 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11837
cf6bbbd7
UD
11838 [BZ #11781]
11839 * malloc/malloc.h: Declare malloc hook variables as volatile.
11840
13f1ab36
UD
11841 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11842 in last patch.
11843
b1ebd700
UD
11844 [BZ #11799]
11845 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11846 raise in the comment.
80e2212d
UD
11847 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11849 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11850
ce67228d
UD
118512011-05-28 Ulrich Drepper <drepper@gmail.com>
11852
8887a920
UD
11853 [BZ #12811]
11854 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11855 grow the buffers more if it already has to be sufficient.
11856 (build_wcs_upper_buffer): Likewise.
11857 * posix/regexec.c (check_matching): Likewise.
11858 (clean_state_log_if_needed): Likewise.
11859 (extend_buffers): Don't enlarge buffers beyond size of the input
11860 buffer.
11861 Patches mostly by Emil Wojak <emil@wojak.eu>.
11862 * posix/bug-regex32.c: New file.
11863 * posix/Makefile (tests): Add bug-regex32.
11864
4f031072
UD
11865 * locale/findlocale.c (_nl_find_locale): Return right away if
11866 _nl_explode_name failed.
11867 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11868
d0478f0c
UD
11869 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11870
de81b246
UD
11871 * debug/xtrace.sh: Unify messages.
11872 * malloc/memusage.sh: Likewise.
11873
c738465a
UD
11874 [BZ #12813]
11875 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11876 time symbol from vDSO. Substitute with vsyscall if not available.
11877 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11878 __vdso_time.
11879
f1f929d7
UD
11880 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11881 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11882 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11883 Add sendmmsg and internal_sendmmsg.
11884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11885 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11887
ce67228d
UD
11888 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11889 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11890 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11891
e57420c6
UD
118922011-05-27 Ulrich Drepper <drepper@gmail.com>
11893
a8509ca5
UD
11894 [BZ #12813]
11895 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11896 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11897 available.
11898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11899 __vdso_getcpu.
11900
e57420c6
UD
11901 [BZ #12814]
11902 * iconvdata/Makefile (tests): Add bug-iconv9.
11903 * iconvdata/bug-iconv9.c: New file.
11904
4d07db15
AS
119052011-05-27 Andreas Schwab <schwab@redhat.com>
11906
11907 [BZ #12814]
11908 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11909
ea486f69
JJ
119102011-05-25 Jakub Jelinek <jakub@redhat.com>
11911
11912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11913 (struct user_regs_struct): Change intcs field back to cs.
11914
6f038433
UD
119152011-05-25 Ulrich Drepper <drepper@gmail.com>
11916
11917 * po/ja.po: Update from translation team.
11918
67f86a25
UD
119192011-05-23 Ulrich Drepper <drepper@gmail.com>
11920
11921 [BZ #12795]
11922 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11923 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11924
def7fbd6
AS
119252011-05-20 Andreas Schwab <schwab@redhat.com>
11926
11927 * stdlib/longlong.h: Update from GCC.
11928
f50ef8f1
AS
119292011-05-23 Andreas Schwab <schwab@redhat.com>
11930
11931 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11932 parameter name.
11933 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11934 Add parameter name.
11935 (__sysconf): Pass it down.
11936
de7ce8f1
UD
119372011-05-22 Ulrich Drepper <drepper@gmail.com>
11938
f2962a71
UD
11939 [BZ #12671]
11940 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11941 some situations.
11942 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11943 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11944 add in in __libc_use_alloca calls. Adjust callers.
11945 (glob): Use malloc in some situations.
11946
de7ce8f1
UD
11947 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11948 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11949 pltexit.
11950
aec84f53
UD
119512011-05-21 Ulrich Drepper <drepper@gmail.com>
11952
05bb4a68
UD
11953 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11954 and CLOCK_BOOTTIME_ALARM.
11955
7ea72f99
UD
11956 [BZ #12782]
11957 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11958 is returned.
11959
7e4afad5
UD
11960 * string/_strerror.c (__strerror_r): Print negative errors as signed
11961 numbers.
11962
8e211fec
UD
11963 [BZ #12777]
11964 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11965 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11966 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11967
f7d82dc9
UD
11968 * configure.in: Fix typo in redirection and correct removal of test
11969 files in two cases.
11970
cc9e536d
UD
11971 [BZ #12788]
11972 * locale/setlocale.c (new_composite_name): Fix test to check for
11973 identical name of all categories.
11974
aec84f53
UD
11975 [BZ #12792]
11976 * libio/filedoalloc.c (local_isatty): New function.
11977 (_IO_file_doallocate): Use local_isatty.
11978 * stdio-common/perror.c (perror): In case a new stream is used
11979 forward the stream error.
11980 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11981 error flag.
11982
78e64fdc
RT
119832011-05-20 Ulrich Drepper <drepper@gmail.com>
11984
34a9094f
UD
11985 [BZ #11869]
11986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11987 alloca.
11988 * include/alloca.h (extend_alloca_account): Define.
11989
78e64fdc
RT
11990 [BZ #11857]
11991 * posix/regex.h: Fix comments with documentation of user-accessible
11992 fields after compilation and describe correct free'ing of pattern
11993 after re_compile_pattern.
11994 Patch by Reuben Thomas <rrt@sc3d.org>.
11995
457bddfc
RA
119962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11997
11998 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11999 and -mno-altivec to prevent the compiler from using Altivec and/or
12000 VSX instructions when the corresponding registers are not available.
12001
a4527b51
AS
120022011-05-19 Andreas Schwab <schwab@redhat.com>
12003
12004 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12005
ed690b2f
UD
120062011-05-19 Ulrich Drepper <drepper@gmail.com>
12007
12008 * libio/freopen.c (freopen): Use __dup2, not dup2.
12009 * libio/freopen64.c (freopen64): Likewise.
12010
8db73634
L
120112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12012
12013 [BZ #12775]
12014 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12015 * math/Makefile (tests): Add test-powl.
12016 (CFLAGS-test-powl.c): Define.
12017 * math/test-powl.c: New file.
12018
0a197a9d
L
120192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12020
12021 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12022
ee30c380
UD
120232011-05-17 Ulrich Drepper <drepper@gmail.com>
12024
12025 [BZ #11837]
12026 * iconvdata/gb18030.c: Update to GB18020-2005.
12027
6ce75379
UD
120282011-05-16 Ulrich Drepper <drepper@gmail.com>
12029
a4b89fd8
AR
12030 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12031 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12032 Patch by Aharon Robbins <arnold@skeeve.com>.
12033
ea389b12
UD
12034 [BZ #11892]
12035 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12036 on the stack.
12037
68a3f91f
UD
12038 [BZ #11895]
12039 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12040 through underflows.
12041
15cc7dd1
UD
12042 [BZ #12766]
12043 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12044 point to strings before performing equality test for error_one_per_line
12045 mode.
12046
f3799213
UD
12047 [BZ #11697]
12048 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12049
d79a9c94
UD
12050 [BZ #11820]
12051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12052 (struct user_fpregs_struct): Avoid __uint*_t types.
12053
56e5eb46
UD
12054 [BZ #6420]
12055 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12056 symbol info. Use it instead of calling _dl_addr locally.
12057 (lock_and_info): New function.
12058 (tr_freehook): Call lock_and_info and pass symbol info as additional
12059 parameter to tr_where.
12060 (tr_mallochook): Likewise.
12061 (tr_reallochook): Likewise.
12062 (tr_memalignhook): Likewise.
12063
6ce75379
UD
12064 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12065 used and couldn't be at all thread-safe.
12066
f8a3b5bf
UD
120672011-05-15 Ulrich Drepper <drepper@gmail.com>
12068
94b7cc37
UD
12069 * libio/freopen.c (freopen): Don't close old file descriptor
12070 before the new one is opened. Instead dup the new file descriptor
12071 to the old one after the new stream is created.
12072 * libio/freopen64.c (freopen64): Likewise.
12073 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12074 * libio/fileops.c (_IO_new_file_close_it): Handle new
12075 _IO_FLAGS2_NOCLOSE flag.
12076 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12077 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12078 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12079 _IO_FLAGS2_NOCLOSE flag.
12080 * include/unistd.h: Add hidden_proto for dup3.
12081 Define __have_dup3.
12082 * io/dup3.c: Define hidden symbol.
12083 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12084
bd25564e
UD
12085 [BZ #7101]
12086 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12087 when an incomplete long option is used.
12088 * posix/tst-getopt_long1.c: New file.
12089 * posix/Makefile (tests): Add tst-getopt_long1.
12090
c84cfef4
UD
12091 [BZ #10138]
12092 * scripts/config.guess: Update from autoconf-2.68.
12093 * scripts/config.sub: Likewise.
12094
3b85df27
UD
12095 [BZ #10157]
12096 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12097 tests into ...
12098 (has_cpuclock): ...this. New function.
12099 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12100 macro here based on has_cpuclock code.
12101
15a856b1
UD
12102 [BZ #10149]
12103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12104 First byte (not low byte) is now always NUL.
12105 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12106
05f399e6
UD
12107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12108 Use non-cancelable interfaces.
12109
10a52685 12110 [BZ #9809]
94ecc67d
UD
12111 * locale/iso-639.def: Add entry for Sorani.
12112
f8a3b5bf
UD
12113 [BZ #11901]
12114 * include/stdlib.h: Move include protection to the right place.
12115 Define abort_msg_s. Declare __abort_msg with it.
12116 * stdlib/abort.c (__abort_msg): Adjust type.
12117 * assert/assert.c (__assert_fail_base): New function. Majority
12118 of code from __assert_fail. Allocate memory for __abort_msg with
12119 mmap.
12120 (__assert_fail): Now call __assert_fail_base.
12121 * assert/assert-perr.c: Remove bulk of implementation. Use
12122 __assert_fail_base.
12123 * include/assert.hL Declare __assert_fail_base.
12124 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12125 mmap.
12126 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12127
1af4e298
UD
121282011-05-14 Ulrich Drepper <drepper@gmail.com>
12129
f8a3b5bf 12130 [BZ #11952]
d26dfc60
MG
12131 [BZ #12453]
12132 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12133 until all modules are registered in the DTV.
12134 * elf/Makefile: Add rules to build and run tst-tls19.
12135 * elf/tst-tls19.c: New file.
12136 * elf/tst-tls19mod1.c: New file.
12137 * elf/tst-tls19mod2.c: New file.
12138 * elf/tst-tls19mod3.c: New file.
12139 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12140
2fc54d6f
UD
12141 [BZ #12083]
12142 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12143 correctly.
12144
98d76b46
UD
12145 [BZ #12601]
12146 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12147 two-byte sequence errors.
12148 * iconvdata/Makefile (tests): Add bug-iconv8.
12149 * iconvdata/bug-iconv8.c: New file.
12150
da3c19ef
UD
12151 [BZ #12626]
12152 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12153 buf2 definition.
12154
ca408c15
UD
12155 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12156
d6f67f7d
UD
12157 [BZ #12432]
12158 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12159 (dummy_getcfa): New function.
12160 (init): Get _Unwind_GetCFA address, use dummy if not found.
12161 (backtrace_helper): In recursion check, also check whether CFA changes.
12162 (__backtrace): Completely initialize arg.
12163
1af4e298 12164 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12165 storing incomplete byte sequence in state object. Avoid testing for
12166 guaranteed too small input if we know there is enough data available.
1af4e298 12167
da62f81b
AS
121682011-05-11 Andreas Schwab <schwab@redhat.com>
12169
12170 * Makeconfig (+link-pie): Indent.
12171 * Rules (binaries-pie): Define if $(have-fpie) and
12172 $(build-shared).
12173 (binaries-shared): Also filter out $(binaries-pie).
12174 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12175 * nscd/Makefile (others-pie): Add nscd.
12176 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12177 ($(objpfx)nscd): Remove command override.
12178 * login/Makefile (others-pie): Add pt_chown.
12179 ($(objpfx)pt_chown): Remove command override.
12180 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12181 remove command overrides.
12182
fcabc0f8
UD
121832011-05-13 Ulrich Drepper <drepper@gmail.com>
12184
20030ae6
UD
12185 * libio/tst_putwc.c: Fix error messages.
12186
fcabc0f8
UD
12187 [BZ #12724]
12188 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12189 currently writing and seek to current position when not.
12190 * libio/Makefile (tests): Add bug-fclose1.
12191 * libio/bug-fclose1.c: New file.
12192
320a5dc0
PB
121932011-05-12 Ulrich Drepper <drepper@gmail.com>
12194
12195 [BZ #12511]
12196 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12197 don't set DF_1_NODELETE here.
12198 (do_lookup_x): When entering new entry test for copy relocation
12199 and if necessary set DF_1_NODELETE flag.
12200 * elf/tst-unique4.cc: New file.
12201 * elf/tst-unique4.h: New file.
12202 * elf/tst-unique4lib.cc: New file.
12203 * elf/Makefile: Add rules to build and run tst-unique4.
12204 Patch by Piotr Bury <pbury@goahead.com>.
12205
22836f52
UD
122062011-05-11 Ulrich Drepper <drepper@gmail.com>
12207
f574184a
UD
12208 [BZ #12052]
12209 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12210
e1fb097f
UD
12211 [BZ #12625]
12212 * misc/mntent_r.c (addmntent): Flush the stream after the output
12213
22836f52
UD
12214 [BZ #12393]
12215 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12216 (is_trusted_path_normalize): Skip initial colon. Append slash
12217 to empty buffer. Duplicate is_trusted_path code but allow
12218 constructed patch to be prefix.
12219 (is_dst): Allow $ORIGIN followed by /.
12220 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12221 Correct testing of result of is_trusted_path_normalize
12222 (decompose_rpath): Fix warning.
12223
7b3b0b2a
UD
122242011-05-10 Ulrich Drepper <drepper@gmail.com>
12225
12226 [BZ #11257]
12227 * grp/initgroups.c (internal_getgrouplist): When we found the service
12228 list through the initgroups entry in nsswitch.conf do not always
12229 continue on a successful lookup. Don't always use the
eac80ce2 12230 __nss_group_database value if it is set.
7b3b0b2a
UD
12231 * nss/nsswitch.conf (initgroups): Change action for successful db
12232 lookup to continue for compatibility.
12233
2a81eaa5
UD
122342011-05-09 Ulrich Drepper <drepper@gmail.com>
12235
be97a69e
UD
12236 [BZ #11532]
12237 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12238 and CP774 modules.
12239 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12240 and CP774 modules.
12241 * iconvdata/tst-tables.sh: Likewise.
12242 * iconvdata/cp770.c: New file.
12243 * iconvdata/cp771.c: New file.
12244 * iconvdata/cp772.c: New file.
12245 * iconvdata/cp773.c: New file.
12246 * iconvdata/cp774.c: New file.
12247 * iconvdata/testdata/CP770: New file.
12248 * iconvdata/testdata/CP770..UTF8: New file.
12249 * iconvdata/testdata/CP771: New file.
12250 * iconvdata/testdata/CP771..UTF8: New file.
12251 * iconvdata/testdata/CP772: New file.
12252 * iconvdata/testdata/CP772..UTF8: New file.
12253 * iconvdata/testdata/CP773: New file.
12254 * iconvdata/testdata/CP773..UTF8: New file.
12255 * iconvdata/testdata/CP774: New file.
12256 * iconvdata/testdata/CP774..UTF8: New file.
12257
12258 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12259 END CHARMAP line.
12260 * iconvdata/gen-8bit-gap.sh: Likewise.
12261 * iconvdata/gen-8bit.sh: Likewise.
12262
c1e9e399
UD
12263 * locale/iso-639.def: Add ary entry.
12264
24c55fb3 12265 [BZ #11258]
96b4b1b0
UD
12266 * locale/C-translit.h.in: Add U20A1 transliteration.
12267
bdc2f971
KB
12268 [BZ #12178]
12269 * locale/iso-639.def: Add wae entry.
12270 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12271
2952b117
UD
12272 [BZ #12545]
12273 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12274 for n.
12275
2a81eaa5
UD
12276 [BZ #12711]
12277 * locale/C-translit.h.in: Add entry for U20B9.
12278 Patch by pravin.d.s@gmail.com.
12279
28377d1b
UD
122802011-05-08 Ulrich Drepper <drepper@gmail.com>
12281
7fb90fb8
UD
12282 [BZ #12713]
12283 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12284 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12285 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12286 in rtld. Use *stat64.
7fb90fb8 12287 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12288 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12289 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12290 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12291 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12292 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12293 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12294 __fstatat64 macros.
7fb90fb8
UD
12295 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12296 * dirent/rewinddir.c: Add libc_hidden_def.
12297 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12298 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12299
28377d1b
UD
12300 * include/dirent.h (__alloc_dir): Add flags parameter.
12301 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12302 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12303 __alloc_dir.
12304 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12305 from fdopendir if O_CLOEXEC is already set.
12306
66bdbaa4
AM
123072011-03-15 Alan Modra <amodra@gmail.com>
12308
12309 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12310 l_tls_firstbyte_offset non-zero. Save padding offset in
12311 l_tls_firstbyte_offset for later use.
12312 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12313 freeing static tls block.
12314
95721191
JN
123152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12316
12317 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12318 where #ifdef was intended. The intent is to prevent ARG_MAX from
12319 being defined by the kernel headers.
12320
f87dfb1f
UD
123212011-05-07 Ulrich Drepper <drepper@gmail.com>
12322
12323 [BZ #12734]
12324 * resolv/resolv.h: Define RES_NOTLDQUERY.
12325 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12326 no-tld-query and set RES_NOTLDQUERY.
12327 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12328 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12329 modern BIND to search name as TLD unless forbidden.
12330
47c3cd7a
UD
123312011-05-07 Petr Baudis <pasky@suse.cz>
12332 Ulrich Drepper <drepper@gmail.com>
12333
12334 [BZ #12393]
12335 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12336 (is_trusted_path): ...to here.
c1e9ea35 12337 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12338 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12339 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12340
8a35c912
PP
123412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12342
12343 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12344 __BEGIN/__END_DECLS.
12345
acd41f47
UD
123462011-05-06 Ulrich Drepper <drepper@gmail.com>
12347
12348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12349 NSS_STATUS_NOTFOUND if no record was found.
12350
597df647
AS
123512011-05-05 Andreas Schwab <schwab@redhat.com>
12352
12353 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12354 (headers-not-in-tirpc): Remove rpc/netdb.h
12355 * resolv/netdb.h: Revert last change.
12356
b9af1301
PP
123572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12358
12359 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12360 circular dependency between libgcc.a and libc.a.
12361
4e34d5f5
AS
123622011-05-05 Andreas Schwab <schwab@redhat.com>
12363
12364 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12365 * nis/Makefile: Don't install rpcsvc/*.
12366 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12367 instead of <rpc/types.h>.
12368 (MAXHOSTNAMELEN): Define.
12369
00ee369c
AS
123702011-05-03 Andreas Schwab <schwab@redhat.com>
12371
12372 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12373
0b592a30
MB
123742011-04-28 Maciej Babinski <mbabinski@google.com>
12375
12376 [BZ #12714]
12377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12378 gethostbyname4_r when IPv6 results are possible.
12379
6e04cbbe
UD
123802011-05-02 Ulrich Drepper <drepper@gmail.com>
12381
12382 [BZ #12723]
12383 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12384 _PC_PIPE_BUF handling.
12385
e4ecafe0
BH
123862011-04-30 Bruno Haible <bruno@clisp.org>
12387
12388 [BZ #12717]
12389 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12390 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12391 to 'int'.
12392 * inet/getnameinfo.c (getnameinfo): Likewise.
12393
125ee683
UD
123942011-04-29 Ulrich Drepper <drepper@gmail.com>
12395
12396 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12397 to groups setting in database lookup.
12398 * nss/nsswitch.conf: Add initgroups entry.
12399
b722481a
EB
124002011-04-22 Ulrich Drepper <drepper@gmail.com>
12401
12402 [BZ #12685]
12403 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12404 mode string.
12405 Patch by Eric Blake <eblake@redhat.com>.
12406
4df46dbd
L
124072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * sunrpc/Makefile (need-export-routines): Add svc_run.
12410 (routines): Remove svc_run.
12411 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12412 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12413 * sunrpc/svc_run.c (svc_run): Likewise.
12414 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12415
e84142d2
UD
124162011-04-21 Ulrich Drepper <drepper@gmail.com>
12417
12418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12419 problem in reallocation in last patch.
12420
877175d8
UD
124212011-04-20 Ulrich Drepper <drepper@gmail.com>
12422
12423 * sunrpc/Makefile: Move inclusion of Rules.
12424
ab8eed78
UD
124252011-04-19 Ulrich Drepper <drepper@gmail.com>
12426
12427 * nss/nss_files/files-initgroups.c: New file.
12428 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12429 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12430 _nss_files_initgroups_dyn.
12431
e3d8f584
RS
124322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12433
12434 * elf/elf.h (R_ARM_IRELATIVE): Define.
12435
af190f45
UD
124362011-04-19 Ulrich Drepper <drepper@gmail.com>
12437
12438 * po/ru.po: Update from translation team.
12439
53cf59ef
UD
124402011-04-17 Ulrich Drepper <drepper@gmail.com>
12441
12442 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12443 dependencies.
12444
4c559bcd
MF
124452011-02-06 Mike Frysinger <vapier@gentoo.org>
12446
12447 [BZ #12653]
12448 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12449 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12450 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12453
4420675c
AS
124542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12455
12456 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12457 differing bytes.
12458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12461
75ea32ab
UD
124622011-04-17 Ulrich Drepper <drepper@gmail.com>
12463
12464 [BZ #12420]
12465 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12466 storing it.
12467 * stdlib/bug-getcontext.c: New file.
12468 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12469
27390476
AK
124702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12471
12472 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12473 instructions into .machine "z9-109".
12474 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12475 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12476
10442705
AK
124772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12478
12479 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12480 between environment variables and auxiliary vector.
12481
7b57bfe5
UD
124822011-04-16 Ulrich Drepper <drepper@gmail.com>
12483
12484 * Makefile: Add rules to build linkobj/libc.so.
12485 * include/libc-symbols.h: Define libc_hidden_nolink.
12486 * include/rpc/auth.h: Mark functions which are to be hidden.
12487 * include/rpc/auth_des.h: Likewise.
12488 * include/rpc/auth_unix.h: Likewise.
12489 * include/rpc/clnt.h: Likewise.
12490 * include/rpc/des_crypt.h: Likewise.
12491 * include/rpc/key_prot.h: Likewise.
12492 * include/rpc/pmap_clnt.h: Likewise.
12493 * include/rpc/pmap_prot.h: Likewise.
12494 * include/rpc/pmap_rmt.h: Likewise.
12495 * include/rpc/rpc_msg.h: Likewise.
12496 * include/rpc/svc.h: Likewise.
12497 * include/rpc/svc_auth.h: Likewise.
12498 * include/rpc/xdr.h: Likewise.
12499 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12500 * nss/Makefile: Likewise.
12501 * sunrpc/Makefile: Don't install headers. Build library with normal
12502 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12503 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12504 for the compat linking library. Remove use of INTDEF/INTUSE.
12505 * sunrpc/auth_none.c: Likewise.
12506 * sunrpc/auth_unix.c: Likewise.
12507 * sunrpc/authdes_prot.c: Likewise.
12508 * sunrpc/authuxprot.c: Likewise.
12509 * sunrpc/clnt_gen.c: Likewise.
12510 * sunrpc/clnt_perr.c: Likewise.
12511 * sunrpc/clnt_raw.c: Likewise.
12512 * sunrpc/clnt_simp.c: Likewise.
12513 * sunrpc/clnt_tcp.c: Likewise.
12514 * sunrpc/clnt_udp.c: Likewise.
12515 * sunrpc/clnt_unix.c: Likewise.
12516 * sunrpc/des_crypt.c: Likewise.
12517 * sunrpc/des_soft.c: Likewise.
12518 * sunrpc/get_myaddr.c: Likewise.
12519 * sunrpc/key_call.c: Likewise.
12520 * sunrpc/key_prot.c: Likewise.
12521 * sunrpc/netname.c: Likewise.
12522 * sunrpc/pm_getmaps.c: Likewise.
12523 * sunrpc/pm_getport.c: Likewise.
12524 * sunrpc/pmap_clnt.c: Likewise.
12525 * sunrpc/pmap_prot.c: Likewise.
12526 * sunrpc/pmap_prot2.c: Likewise.
12527 * sunrpc/pmap_rmt.c: Likewise.
12528 * sunrpc/publickey.c: Likewise.
12529 * sunrpc/rpc_cmsg.c: Likewise.
12530 * sunrpc/rpc_common.c: Likewise.
12531 * sunrpc/rpc_dtable.c: Likewise.
12532 * sunrpc/rpc_prot.c: Likewise.
12533 * sunrpc/rpc_thread.c: Likewise.
12534 * sunrpc/rtime.c: Likewise.
12535 * sunrpc/svc.c: Likewise.
12536 * sunrpc/svc_auth.c: Likewise.
12537 * sunrpc/svc_authux.c: Likewise.
12538 * sunrpc/svc_raw.c: Likewise.
12539 * sunrpc/svc_run.c: Likewise.
12540 * sunrpc/svc_simple.c: Likewise.
12541 * sunrpc/svc_tcp.c: Likewise.
12542 * sunrpc/svc_udp.c: Likewise.
12543 * sunrpc/svc_unix.c: Likewise.
12544 * sunrpc/svcauth_des.c: Likewise.
12545 * sunrpc/xcrypt.c: Likewise.
12546 * sunrpc/xdr.c: Likewise.
12547 * sunrpc/xdr_array.c: Likewise.
12548 * sunrpc/xdr_float.c: Likewise.
12549 * sunrpc/xdr_intXX_t.c: Likewise.
12550 * sunrpc/xdr_mem.c: Likewise.
12551 * sunrpc/xdr_rec.c: Likewise.
12552 * sunrpc/xdr_ref.c: Likewise.
12553 * sunrpc/xdr_sizeof.c: Likewise.
12554 * sunrpc/xdr_stdio.c: Likewise.
12555
e6c61494
UD
125562011-04-10 Ulrich Drepper <drepper@gmail.com>
12557
12558 [BZ #12650]
12559 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12560 * sysdeps/ia64/dl-tls.h: Likewise.
12561 * sysdeps/powerpc/dl-tls.h: Likewise.
12562 * sysdeps/s390/dl-tls.h: Likewise.
12563 * sysdeps/sh/dl-tls.h: Likewise.
12564 * sysdeps/sparc/dl-tls.h: Likewise.
12565 * sysdeps/x86_64/dl-tls.h: Likewise.
12566 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12567
34fe483e
AS
125682011-03-14 Andreas Schwab <schwab@redhat.com>
12569
12570 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12571 rpath element also skip the following colon.
12572 (expand_dynamic_string_token): Add is_path parameter and pass
12573 down to DL_DST_REQUIRED and _dl_dst_substitute.
12574 (decompose_rpath): Call expand_dynamic_string_token with
12575 non-zero is_path. Ignore empty rpaths.
12576 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12577 with zero is_path.
12578
f12a32e6
AS
125792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12580
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12582 Make cancelable.
12583
38a7d692
UD
125842011-04-09 Ulrich Drepper <drepper@gmail.com>
12585
12586 [BZ #12655]
12587 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12588 Patch by Filipe David Manana <fdmanana@apache.org>.
12589
e451d22b
AS
125902011-04-07 Andreas Schwab <schwab@redhat.com>
12591
12592 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12593 Maintain aligned stack.
12594 (CHECK_RSP): Remove unused macro.
12595
dedc7c7b
UD
125962011-04-03 Ulrich Drepper <drepper@gmail.com>
12597
12598 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12600
94521213
UD
126012011-04-02 Ulrich Drepper <drepper@gmail.com>
12602
12603 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12604
8cb700c0 12605 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12606
0354e355
L
126072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12608
12609 [BZ #12518]
12610 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12611 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12612 * sysdeps/x86_64/memmove.c: New file.
12613 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12614 (memcpy): Renamed to ...
12615 (__new_memcpy): This.
12616 (memcpy): Provide GLIBC_2_14 memcpy.
12617 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12618 (memcpy): Provide GLIBC_2_2_5 memcpy.
12619
8593482f
UD
126202011-04-01 Ulrich Drepper <drepper@gmail.com>
12621
12622 [BZ #12631]
12623 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12624
81a5726b
AS
126252011-03-30 Andreas Schwab <schwab@redhat.com>
12626
12627 * misc/syncfs.c: New file.
12628 * misc/Makefile (routines): Add syncfs.
12629 * posix/unistd.h: Declare syncfs.
12630 * sysdeps/unix/syscalls.list: Add syncfs.
12631
00e5419f
AS
126322011-04-01 Andreas Schwab <schwab@redhat.com>
12633
12634 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12635 open_by_handle_at.
12636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12637 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12641 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12643
748876bf
UD
126442011-04-01 Ulrich Drepper <drepper@gmail.com>
12645
658e451d
UD
12646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12653
748876bf
UD
12654 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12655 sync_file_range.c with -fexceptions.
12656 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12657 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12658 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12659 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12660 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12661 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12663 sync_file_range as cancellation point
12664 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12665 now a wrapper around __call_sync_file_range with cancellation handling.
12666 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12667 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12668 function name to __call_sync_file_range.
12669 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12670 Add call_sync_file_range.
748876bf 12671
6e63d5e1
AS
126722011-04-01 Andreas Schwab <schwab@redhat.com>
12673
12674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12675 bits/timex.h.
6e63d5e1 12676
46998f74
UD
126772011-04-01 Ulrich Drepper <drepper@gmail.com>
12678
4c1423ed
UD
12679 * iconv/iconv.h: Fix typo in comment.
12680 * io/fcntl.h: Likewise.
12681 * libio/stdio.h: Likewise.
12682 * posix/spawn.h: Likewise.
12683 * posix/unistd.h: Likewise.
12684 * stdlib/stdlib.h: Likewise.
12685 * time/time.h: Likewise.
12686 * wcsmbs/wchar.h: Likewise.
12687
158648c0
UD
12688 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12689 open_by_handle): Add.
12690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12691 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12692 Augment a few comments.
12693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12698 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12699 open_by_handle.
12700
46998f74
UD
12701 * io/fcntl.h (AT_EMPTY_PATH): Define.
12702
83fe108b
UD
127032011-03-30 Ulrich Drepper <drepper@gmail.com>
12704
12705 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12706 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12707 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12708 to...
12709 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12710 * Versions.def: Add GLIBC_2.14.
12711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12712 Export.
83fe108b 12713
bb242059
UD
127142011-03-22 Ulrich Drepper <drepper@gmail.com>
12715
12716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12717 round counter.
12718 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12719
c97a1282
L
127202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12721
12722 [BZ #12597]
12723 * string/test-strncmp.c (do_page_test): New function.
12724 (check2): Likewise.
12725 (test_main): Call check2.
12726 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12727
2a115601
UD
127282011-03-20 Ulrich Drepper <drepper@gmail.com>
12729
12730 [BZ #12587]
12731 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12732 Handle cache information in CPU leaf 4.
12733 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12734
8126d904
UD
127352011-03-18 Ulrich Drepper <drepper@gmail.com>
12736
042c49c6 12737 [BZ #12583]
8126d904
UD
12738 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12739 character representation.
12740 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12741
ccfe366e
RA
127422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12743
12744 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12745 END(__isnan) to END(__isnanf) to match function entry point/label
12746 EALIGN(__isnanf,...).
12747
c6e13027
JJ
127482011-03-10 Jakub Jelinek <jakub@redhat.com>
12749
12750 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12751
33f85a3f
UD
127522011-03-10 Ulrich Drepper <drepper@gmail.com>
12753
028478fa
UD
12754 [BZ #12510]
12755 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12756 copy from the symbol referenced in the relocation to initialize the
12757 used variable.
12758 Patch by Piotr Bury <pbury@goahead.com>.
12759 * elf/Makefile: Add rules to build and tst-unique3.
12760 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12761 * elf/tst-unique3.cc: New file.
12762 * elf/tst-unique3.h: New file.
12763 * elf/tst-unique3lib.cc: New file.
12764 * elf/tst-unique3lib2.cc: New file.
12765
33f85a3f
UD
12766 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12767
03592fc7
MF
127682011-03-10 Mike Frysinger <vapier@gentoo.org>
12769
12770 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12771 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12772 to _start.
03592fc7 12773
6a5ee102
UD
127742011-03-06 Ulrich Drepper <drepper@gmail.com>
12775
12776 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12777 to-be-loaded object along a path to loader is ld.so.
12778
7e4ba49c
HJ
127792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12780 Ulrich Drepper <drepper@gmail.com>
12781
12782 * sysdeps/x86_64/memset.S: After aligning destination, code
12783 branches to different locations depending on the value of
12784 misalignment, when multiarch is enabled. Fix this.
12785
127862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12787
12788 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12789 Set _x86_64_preferred_memory_instruction for AMD processsors.
12790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12791 Set bit_Prefer_SSE_for_memop for AMD processors.
12792
13a804de
UD
127932011-03-04 Ulrich Drepper <drepper@gmail.com>
12794
12795 * libio/fmemopen.c (fmemopen): Optimize a bit.
12796
9d25c392
AS
127972011-03-03 Andreas Schwab <schwab@redhat.com>
12798
12799 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12800
a5543c6a
RM
128012011-03-03 Roland McGrath <roland@redhat.com>
12802
12803 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12804
012d35f7
DM
128052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12806
7e4ba49c 12807 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12808 __bzero_ultra1 instead of __memset_ultra1.
12809
4bff6e01
AS
128102011-02-23 Andreas Schwab <schwab@redhat.com>
12811 Ulrich Drepper <drepper@gmail.com>
12812
12813 [BZ #12509]
12814 * include/link.h (struct link_map): Add l_orig_initfini.
12815 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12816 returning unsuccessfully.
12817 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12818 close of a file loaded at startup, restore the original l_initfini
12819 list.
12820 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12821 list, store the pointer.
12822 * elf/Makefile ($(objpfx)noload-mem): New rule.
12823 (noload-ENV): Define.
12824 (tests): Add $(objpfx)noload-mem.
12825 * elf/noload.c: Include <memcheck.h>.
12826 (main): Call mtrace. Close all opened handles.
12827
f2092faf
AS
128282011-02-17 Andreas Schwab <schwab@redhat.com>
12829
12830 [BZ #12454]
12831 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12832 dependencies are missing.
12833
6c8a2e88
ST
128342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12835
f2092faf 12836 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12837 Hurd needs munmap.
12838 * sysdeps/mach/hurd/ifreq.h: New file.
12839
84a42118
PB
128402011-01-27 Petr Baudis <pasky@suse.cz>
12841 Ulrich Drepper <drepper@gmail.com>
12842
071f805e 12843 [BZ 12445]#
84a42118
PB
12844 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12845 to extend_alloca().
12846 * stdio-common/bug23.c: New file.
12847 * stdio-common/Makefile (tests): Add bug23.
12848
e23fe25b
AS
128492010-09-28 Andreas Schwab <schwab@redhat.com>
12850 Ulrich Drepper <drepper@gmail.com>
12851
12852 [BZ #12489]
12853 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12854 before performing relro protection. At old place add assertion
12855 to make sure nothing changed.
12856
d3f02e10
NS
128572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12858 Glauber de Oliveira Costa <glommer@gmail.com>
12859
12860 * elf/elf.h: Add new ARM TLS relocs.
12861
d55fd7a5
RA
128622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12863
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12865 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12866 cast from r3.
12867 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12868 'tests' variable.
12869 * sysdeps/wordsize-64/tst-writev.c: New file.
12870
2206397e
RA
128712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12872
12873 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12874 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12875 insns in _dl_start to prevent a TOC reference before relocs are
12876 resolved.
12877
e9433893
UD
128782011-02-15 Ulrich Drepper <drepper@gmail.com>
12879
12880 [BZ #12469]
12881 * Makeconfig: Remove RANLIB definition.
12882 * Makerules: Don't use RANLIB.
12883 * aclocal.m4: Remove ranlib test.
12884 * configure.in: No need to check for ranlib.
12885 * elf/rtld-Rules: Don't use RANLIB.
12886
f75286c6
ST
128872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12888
8e31c82d
ST
12889 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12890 protection macro.
12891 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12892 inclusion protection macro.
12893
f75286c6
ST
12894 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12895 SIGRTMIN and SIGRTMAX and print information in that case only when
12896 SIGRTMIN is defined.
12897
c1d0e639
JJ
128982011-02-11 Jakub Jelinek <jakub@redhat.com>
12899
12900 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12901 arginfo fn returning -1.
12902
12903 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12904 and thousands string is zero terminated.
12905
edf9294e
AS
129062011-02-03 Andreas Schwab <schwab@redhat.com>
12907
12908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12909 sysdeps/unix/sysv/linux/bits/socket.h.
12910
2b7e92df
ST
129112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12912
edf9294e
AS
12913 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12914 (__CPU_COUNT): Remove old macros.
12915 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12916 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12917 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12918 (__sched_cpualloc, __sched_cpufree): Add declarations.
12919
a4c7ea7b
UD
129202011-02-05 Ulrich Drepper <drepper@gmail.com>
12921
12922 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12923 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12924 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12925 (readdhstai): Return value of addhstaiX call.
12926 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12927 (addgrbyX): Return value returned by cache_addgr.
12928 (readdgrbyname): Return value returned by addgrbyX.
12929 (readdgrbygid): Likewise.
12930 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12931 (addpwbyX): Return value returned by cache_addpw.
12932 (readdpwbyname): Return value returned by addhstbyX.
12933 (readdpwbyuid): Likewise.
12934 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12935 (addservbyX): Return value returned by cache_addserv.
12936 (readdservbyname): Return value returned by addservbyX:
12937 (readdservbyport): Likewise.
12938 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12939 (addhstbyX): Return value returned by cache_addhst.
12940 (readdhstbyname): Return value returned by addhstbyX.
12941 (readdhstbyaddr): Likewise.
12942 (readdhstbynamev6): Likewise.
12943 (readdhstbyaddrv6): Likewise.
12944 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12945 (readdinitgroups): Return value returned by addinitgroupsX.
12946 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12947 (prune_cache): Keep track of timeout value of re-added entries.
12948 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12949 * nscd/nscd.h: Adjust prototypes of readd* functions.
12950
a0bf67cc
RM
129512011-02-04 Roland McGrath <roland@redhat.com>
12952
12953 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12954 (nis_stats): Likewise.
12955 * nis/nis_modify.c (nis_modify): Likewise.
12956 * nis/nis_remove.c (nis_remove): Likewise.
12957 * nis/nis_add.c (nis_add): Likewise.
12958
12959 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12960
12961 * posix/fnmatch_loop.c: Add some consts.
12962
12963 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12964
435b95eb
L
129652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12966
12967 [BZ #12460]
12968 * config.make.in (config-cflags-novzeroupper): Define.
12969 * configure.in: Substitute libc_cv_cc_novzeroupper.
12970 * elf/Makefile (AVX-CFLAGS): Define.
12971 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12972 (CFLAGS-tst-auditmod4a.c): Likewise.
12973 (CFLAGS-tst-auditmod4b.c): Likewise.
12974 (CFLAGS-tst-auditmod6b.c): Likewise.
12975 (CFLAGS-tst-auditmod6c.c): Likewise.
12976 (CFLAGS-tst-auditmod7b.c): Likewise.
12977 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12978
8517b15e
UD
129792011-02-02 Ulrich Drepper <drepper@gmail.com>
12980
12981 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12982 function to the callback.
12983 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12984
10a656fe
AS
129852011-02-02 Andreas Schwab <schwab@redhat.com>
12986
12987 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12988 of errno.
12989
968dad0a
UD
129902011-01-19 Ulrich Drepper <drepper@gmail.com>
12991
9f94d2ea 12992 [BZ #11724]
968dad0a
UD
12993 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12994 of constructors.
12995 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12996 of destructors.
12997 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12998
12999 [BZ #11724]
13000 * elf/Makefile: Add rules to build and run new test.
13001 * elf/tst-initorder.c: New file.
13002 * elf/tst-initorder.exp: New file.
13003 * elf/tst-initordera1.c: New file.
13004 * elf/tst-initordera2.c: New file.
13005 * elf/tst-initordera3.c: New file.
13006 * elf/tst-initordera4.c: New file.
13007 * elf/tst-initorderb1.c: New file.
13008 * elf/tst-initorderb2.c: New file.
13009 * elf/tst-order-a1.c: New file.
13010 * elf/tst-order-a2.c: New file.
13011 * elf/tst-order-a3.c: New file.
13012 * elf/tst-order-a4.c: New file.
13013 * elf/tst-order-b1.c: New file.
13014 * elf/tst-order-b2.c: New file.
13015 * elf/tst-order-main.c: New file.
13016 New test case by George Gensure <werkt0@gmail.com>.
13017
86e92359
UD
130182010-10-01 Andreas Schwab <schwab@redhat.com>
13019
13020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13021 decoding ACE if AI_CANONIDN.
13022
5d5732b0
UD
130232011-01-18 Ulrich Drepper <drepper@gmail.com>
13024
13025 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13026
a77e8cbc
UD
130272011-01-17 Ulrich Drepper <drepper@gmail.com>
13028
6392473f
UD
13029 * version.h (RELEASE): Bump for 2.13 release.
13030 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13031
620a0529
UD
13032 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13033
18ba70a5
UD
13034 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13035 MADV_NOHUGEPAGE.
32465c3e
UD
13036 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13038 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13041 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13042
c0dafcf1
UD
13043 * posix/getconf.c: Update copyright year.
13044 * catgets/gencat.c: Likewise.
13045 * csu/version.c: Likewise.
13046 * debug/catchsegv.sh: Likewise.
13047 * debug/xtrace.sh: Likewise.
13048 * elf/ldconfig.c: Likewise.
13049 * elf/ldd.bash.in: Likewise.
13050 * elf/sprof.c (print_version): Likewise.
13051 * iconv/iconv_prog.c: Likewise.
13052 * iconv/iconvconfig.c: Likewise.
13053 * locale/programs/locale.c: Likewise.
13054 * locale/programs/localedef.c: Likewise.
13055 * malloc/memusage.sh: Likewise.
13056 * malloc/mtrace.pl: Likewise.
13057 * nscd/nscd.c (print_version): Likewise.
13058 * nss/getent.c: Likewise.
13059
a77e8cbc
UD
13060 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13061 PF_CAIF, and PF_ALG.
13062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13063
77e8bddf
AS
130642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13065
1f20b93a
AS
13066 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13067 (modules-names): Use them.
13068 (ifunc-test-modules, ifunc-pie-tests): Define.
13069 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13070 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13071 (test-extras): Likewise.
13072 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13073 $(compile-command.c).
13074 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13075 (all-built-dso): Define.
13076 (check-textrel.out, check-execstack.out): Depend on it.
13077
77e8bddf
AS
13078 * configure.in: Don't override --enable-multi-arch.
13079
bc425b33
UD
130802011-01-15 Ulrich Drepper <drepper@gmail.com>
13081
13082 [BZ #6812]
13083 * nscd/hstcache.c (tryagain): Define.
13084 (cache_addhst): Return tryagain not notfound for temporary errors.
13085 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13086 failed.
13087
794c3ad3
UD
130882011-01-14 Ulrich Drepper <drepper@gmail.com>
13089
70181fdd
UD
13090 [BZ #10563]
13091 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13092 to make the syscall.
13093 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13094
794c3ad3
UD
13095 [BZ #12378]
13096 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13097 and fall back to matching as normal character if the string ends before
13098 the matching ']' is found. This is what POSIX requires.
13099 * posix/testfnm.c: Adjust test result.
13100 * posix/globtest.sh: Adjust test result. Add new test.
13101 * posix/tst-fnmatch.input: Likewise.
13102 * posix/tst-fnmatch2.c: Add new test.
13103
68dc9497
AS
131042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13105
13106 * elf/Makefile (check-execstack): Revert last change. Depend on
13107 check-execstack.h.
13108 (check-execstack.h): New target.
13109 (generated): Add check-execstack.h.
13110 * elf/check-execstack.c: Include "check-execstack.h".
13111 (main): Revert last change.
13112 (handle_file): Return zero if GNU_STACK is absent and
13113 DEFAULT_STACK_PERMS doesn't include PF_X.
13114
451f001b
UD
131152011-01-13 Ulrich Drepper <drepper@gmail.com>
13116
cfa28e56
UD
13117 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13118 in child fails because the descriptor is already closed.
8cf8ce17
UD
13119 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13120 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13121 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13122
1086d70d
UD
13123 [BZ #12397]
13124 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13125 syscall.
13126
451f001b
UD
13127 [BZ #10484]
13128 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13129 temporary buffer used to handle multi lookups locally.
a85b5cb4 13130 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13131
08769175
UD
131322011-01-12 Ulrich Drepper <drepper@gmail.com>
13133
13134 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13135 loader is ld.so.
13136
5e49c52e
UD
131372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13138
13139 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13140 alignment for SSE2.
13141
60522a5f
UD
131422011-01-12 Ulrich Drepper <drepper@gmail.com>
13143
13144 [BZ #12394]
13145 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13146 characters. When rounding increased number of integer digits recompute
13147 number of groups.
13148 * stdio-common/tst-grouping.c: New file.
13149 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13150
f257bbd7
UD
131512011-01-09 Ulrich Drepper <drepper@gmail.com>
13152
13153 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13154 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13155
13156 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13157 void.
13158 * bits/select.h: Likewise.
13159
fa9c15cb
UD
131602011-01-08 Ulrich Drepper <drepper@gmail.com>
13161
13162 * po/ja.po: Update from translation team.
13163
16c2895f
DM
131642011-01-04 David S. Miller <davem@sunset.davemloft.net>
13165
13166 [BZ #11155]
13167 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13168 implementation just like for lxstat, fxstatat, et al.
13169
2543fef2
JM
131702010-12-27 Jim Meyering <meyering@redhat.com>
13171
13172 [BZ #12348]
13173 * posix/regexec.c (build_trtable): Return failure indication upon
13174 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13175
98727dbe
UD
131762010-12-25 Ulrich Drepper <drepper@gmail.com>
13177
5bd6dc5c
UD
13178 [BZ #12201]
13179 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13180 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13181 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13182 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13183
97983464
UD
13184 [BZ #12207]
13185 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13186
98727dbe
UD
13187 [BZ #12204]
13188 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13189 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13190
4a531bb0
L
131912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13192
13193 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13194 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13195 script has SORT_BY_INIT_PRIORITY.
13196 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13197 NO_CTORS_DTORS_SECTIONS is defined.
13198 * elf/soinit.c: Likewise.
13199 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13200 NO_CTORS_DTORS_SECTIONS is defined.
13201 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13202 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13203 * sysdeps/sh/init-first.c: Likewise.
13204 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13205
07eb4b71
UD
132062010-12-24 Ulrich Drepper <drepper@gmail.com>
13207
13208 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13209 always use the slow path.
13210
30950a5f
RA
132112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13212
13213 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13214 similar rule which adds the sysdep directories to the header search in
13215 order to pick up the correct platform stackinfo.h.
13216 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13217 perform test if it is, otherwise return successfully without testing.
13218 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13219 DEFAULT_STACK_PERMS define in stackinfo.h.
13220 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13221 defined in stackinfo.h.
13222 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13223 DEFAULT_STACK_PERMS defined in stackinfo.h.
13224 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13225 * sysdeps/ia64/stackinfo.h: Likewise.
13226 * sysdeps/s390/stackinfo.h: Likewise.
13227 * sysdeps/sh/stackinfo.h: Likewise.
13228 * sysdeps/sparc/stackinfo.h: Likewise.
13229 * sysdeps/x86_64/stackinfo.h: Likewise.
13230 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13231 PF_X for powerpc64. Retain PF_X for powerpc32.
13232
db753e2c
UD
132332010-12-19 Ulrich Drepper <drepper@gmail.com>
13234
14b697f7
UD
13235 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13236 accurately.
db753e2c
UD
13237 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13238 GETDENTS_64BIT_ALIGNED.
13239
28300719
UD
132402010-12-14 Ulrich Drepper <dreper@gmail.com>
13241
14b697f7 13242 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13243
4f197237
AS
132442010-12-10 Andreas Schwab <schwab@redhat.com>
13245
dbb0472f
AS
13246 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13247 _GNU_SOURCE.
13248
4f197237
AS
13249 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13250 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13251 Remove __restrict.
13252 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13253 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13254
fb88ac72
UD
132552010-12-09 Ulrich Drepper <drepper@gmail.com>
13256
13257 [BZ #11655]
13258 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13259 are initialized.
13260
42acbb92
JJ
132612010-12-09 Jakub Jelinek <jakub@redhat.com>
13262
13263 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13264
c038d98d
UD
132652010-12-03 Ulrich Drepper <drepper@gmail.com>
13266
13267 * po/it.po: Update from translation team.
13268
3a4a2499
L
132692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13272 unused codes.
13273
1e24cf6e
UD
132742010-11-30 Ulrich Drepper <drepper@gmail.com>
13275
13276 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13277
a7690819
AS
132782010-11-24 Andreas Schwab <schwab@redhat.com>
13279
13280 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13281 specially.
13282 (gaih_getanswer_slice): Likewise.
13283
3bf8d1b1
JJ
132842010-10-20 Jakub Jelinek <jakub@redhat.com>
13285
13286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13287
6db52fbb
PB
132882010-05-31 Petr Baudis <pasky@suse.cz>
13289
13290 [BZ #11149]
13291 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13292 silently even in the chroot mode.
13293
eaca7569
UD
132942010-11-22 Ulrich Drepper <drepper@gmail.com>
13295
13296 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13297 last patch a bit. Pretty printing
13298
3056dcdb
UD
132992010-05-31 Petr Baudis <pasky@suse.cz>
13300
13301 [BZ #10085]
13302 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13303 initialization of skip_initgroups_dyn.
13304
cf7c9078
UD
133052010-11-19 Ulrich Drepper <drepper@gmail.com>
13306
13307 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13309
a1fb5e3e
UD
133102010-11-16 Ulrich Drepper <drepper@gmail.com>
13311
13312 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13313
3540d66b
AS
133142010-11-11 Andreas Schwab <schwab@redhat.com>
13315
13316 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13317 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13318 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13319 ($(objpfx)tst-fnmatch-mem): New rule.
13320 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13321 * posix/tst-fnmatch.c (main): Call mtrace.
13322
13b69574
L
133232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13326 Support Intel processor model 6 and model 0x2c.
13327
da93d214
LM
133282010-11-10 Luis Machado <luisgpm@br.ibm.com>
13329
13330 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13331 signed comparison.
13332
8ca52c6e
L
133332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13334
13335 [BZ #12205]
13336 * string/test-strncasecmp.c (check_result): New function.
13337 (do_one_test): Use it.
13338 (check1): New function.
13339 (test_main): Use it.
13340 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13341 Support strcasecmp and strncasecmp.
13342
69da074d
UD
133432010-11-08 Ulrich Drepper <drepper@gmail.com>
13344
13345 [BZ #12194]
13346 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13348
ff02d528
L
133492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13352 IFUNC support.
13353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13354 memset-x86-64.
13355 * sysdeps/x86_64/multiarch/bzero.S: New file.
13356 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13357 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13358 * sysdeps/x86_64/multiarch/memset.S: New file.
13359 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13361 Set bit_Prefer_SSE_for_memop for Intel processors.
13362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13363 Define.
13364 (index_Prefer_SSE_for_memop): Define.
13365 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13366
344d0b54
LM
133672010-11-04 Luis Machado <luisgpm@br.ibm.com>
13368
13369 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13371
c0dde15b
UD
133722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 [BZ #12191]
13375 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13376 (__x86_64_raw_data_cache_size_half): Likewise.
13377 (__x86_64_raw_shared_cache_size): Likewise.
13378 (__x86_64_raw_shared_cache_size_half): Likewise.
13379
13380 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13381 (__x86_64_raw_data_cache_size_half): Likewise.
13382 (__x86_64_raw_shared_cache_size): Likewise.
13383 (__x86_64_raw_shared_cache_size_half): Likewise.
13384 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13385 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13386 and __x86_64_raw_shared_cache_size_half. Round
13387 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13388 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13389 to multiple of 256 bytes.
13390
0e516e0e
MS
133912010-11-03 Ulrich Drepper <drepper@gmail.com>
13392
13393 [BZ #12167]
13394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13395 of inacessible symlinks. Verify result of symlink before returning it.
13396 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13397 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13398
0e012e87
ER
133992010-10-28 Erich Ritz <erichritz@gmail.com>
13400
13401 * math/math.h (isinf): Fix typo in comment.
13402
de0ff7bc
UD
134032010-11-01 Ulrich Drepper <drepper@gmail.com>
13404
13405 * po/da.po: Update from translation team.
13406
fa41c84d
UD
134072010-10-26 Ulrich Drepper <drepper@gmail.com>
13408
13409 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13410 is added to the list.
13411
f0967738
AK
134122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13413 Ulrich Drepper <drepper@gmail.com>
13414
13415 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13416 the global list here. Move code to...
13417 (_dl_add_to_namespace_list): ...here. New function.
13418 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13419 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13420 * elf/dl-load.c (lose): Don't remove the element from the list.
13421 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13422 (_dl_map_object): Likewise.
13423
134242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13425
13426 [BZ #12159]
13427 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13428 into all bytes of SSE register.
13429 Patch by Richard Li <richardpku@gmail.com>.
13430
f0967738 134312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13432
13433 [BZ #12140]
13434 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13435 perturbing.
13436
d0b9e94f
MB
134372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13438
13439 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13440 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13441 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13442 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13444 submachine.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13446
8e9f92e9
AS
134472010-10-22 Andreas Schwab <schwab@redhat.com>
13448
13449 * include/dlfcn.h (__RTLD_SECURE): Define.
13450 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13451 mode & __RTLD_SECURE instead.
13452 (open_path): Rename preloaded parameter to secure.
13453 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13454 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13455 * elf/dl-deps.c (openaux): Likewise.
13456 * elf/rtld.c (struct map_args): Remove is_preloaded.
13457 (map_doit): Don't use it.
13458 (dl_main): Likewise.
13459 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13460 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13461
bc96fbda
AS
134622010-09-09 Andreas Schwab <schwab@redhat.com>
13463
13464 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13465 (sysd-rules-targets): Remove duplicates.
13466 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13467 rtld-%.$o dependency.
13468
22cd1c9b
AS
134692010-10-18 Andreas Schwab <schwab@redhat.com>
13470
13471 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13472 _dl_map_object do it.
13473
18edac48
UD
134742010-10-19 Ulrich Drepper <drepper@gmail.com>
13475
13476 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13477 fast fma builtins, define the macros in the C99 standard.
13478 (FP_FAST_FMAF): Likewise.
13479 (FP_FAST_FMAL): Likewise.
13480 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13481
13482 * bits/mathdef.h: Update copyright year.
13483 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13484
d2050124
MM
134852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13486
13487 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13488 builtins, define the macros in the C99 standard.
13489 (FP_FAST_FMAF): Likewise.
13490 (FP_FAST_FMAL): Likewise.
13491 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13492 multiply/add.
13493 (FP_FAST_FMAF): Likewise.
13494
475facd1
JJ
134952010-10-15 Jakub Jelinek <jakub@redhat.com>
13496
13497 [BZ #3268]
13498 * math/libm-test.inc (fma_test): Some new testcases.
13499 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13500 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13501 y and infinite z. Do multiplication by C already in long double.
13502 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13504 y and infinite z. Do bitwise or of inexact bit into u.d.
13505 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13506 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13507 * sysdeps/i386/fpu/s_fma.S: Removed.
13508 * sysdeps/i386/fpu/s_fmal.S: Removed.
13509
7c08a05c
JJ
135102010-10-16 Jakub Jelinek <jakub@redhat.com>
13511
13512 [BZ #3268]
13513 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13515 computation is not scheduled after fetestexcept. Fix value
13516 of minimum denormal long double.
13517
f3f7372d
JJ
135182010-10-14 Jakub Jelinek <jakub@redhat.com>
13519
13520 [BZ #3268]
13521 * math/libm-test.inc (fma_test): Add some more tests.
13522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13523 correctly.
13524
14d43591
AS
135252010-10-15 Andreas Schwab <schwab@redhat.com>
13526
13527 * scripts/data/localplt-s390-linux-gnu.data: New file.
13528 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13529
5e908464
JJ
135302010-10-13 Jakub Jelinek <jakub@redhat.com>
13531
13532 [BZ #3268]
13533 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13534 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13535 instead of dbl-64.
13536 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13537 inlines.
13538 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13540 if one of x and y is very large and the other is subnormal.
13541 * sysdeps/s390/fpu/s_fmaf.c: New file.
13542 * sysdeps/s390/fpu/s_fma.c: New file.
13543 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13544 * sysdeps/powerpc/fpu/s_fma.S: New file.
13545 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13546 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13547 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13548
135492010-10-12 Jakub Jelinek <jakub@redhat.com>
13550
13551 [BZ #3268]
13552 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13553 fma tests.
13554 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13555 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13556 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13557 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13558 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13559 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13561
b833d51f
UD
135622010-10-12 Ulrich Drepper <drepper@redhat.com>
13563
13564 [BZ #12078]
13565 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13566 * posix/bug-regex31.input: Add test case.
13567
1751705d
UD
135682010-10-11 Ulrich Drepper <drepper@gmail.com>
13569
e9b9cbf5
UD
13570 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13571 * posix/bug-regex31.input: New file.
13572
13573 [BZ #12078]
13574 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13575 (parse_sub_exp): Fix last change, use postorder.
13576
ef06edbe
UD
13577 * posix/bug-regex31.c: New file.
13578 * posix/Makefile: Add rules to build and run bug-regex31.
13579
a129c80d
UD
13580 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13581
13582 [BZ #12078]
13583 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13584
b76b818e
UD
13585 [BZ #12108]
13586 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13587 to have entries in sys_siglist.
13588
1751705d
UD
13589 [BZ #12093]
13590 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13591 be NULL.
13592
9ff8d36f
JJ
135932010-10-07 Jakub Jelinek <jakub@redhat.com>
13594
13595 [BZ #3268]
13596 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13597 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13598 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13599 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13600 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13601 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13602 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13603 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13604 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13605 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13606 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13607 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13608 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13609 * math/ftestexcept.c (fetestexcept): Likewise.
13610 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13611 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13612 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13613 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13614 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13615 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13616 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13617
af325969
UD
136182010-10-11 Ulrich Drepper <drepper@gmail.com>
13619
c579b202 13620 [BZ #12107]
af325969
UD
13621 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13622 newline.
13623
67a67b95
UD
136242010-10-06 Ulrich Drepper <drepper@gmail.com>
13625
13626 * string/bug-strstr1.c: New file.
13627 * string/Makefile: Add rules to build and run bug-strstr1.
13628
5fb308bc
EB
136292010-10-05 Eric Blake <eblake@redhat.com>
13630
13631 [BZ #12092]
13632 * string/str-two-way.h (two_way_long_needle): Always clear memory
13633 when skipping input due to the shift table.
13634
45db99c7
UD
136352010-10-03 Ulrich Drepper <drepper@gmail.com>
13636
3b111893
UD
13637 [BZ #12005]
13638 * malloc/mcheck.c: Handle large requests.
13639
45db99c7
UD
13640 [BZ #12077]
13641 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13642 for strncmp and strncasecmp.
13643 * string/stratcliff.c: Add tests for strcmp and strncmp.
13644 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13645
cf7a1eb8
NI
136462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13647
13648 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13649 __set_fpscr.
13650
6484ba5e
AJ
136512010-09-30 Andreas Jaeger <aj@suse.de>
13652
13653 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13654 (CGROUP_SUPER_MAGIC): Define.
13655 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13656 Handle btrfs and cgroup file systems.
13657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13658 Likewise.
13659
91c42559
LM
136602010-09-27 Luis Machado <luisgpm@br.ibm.com>
13661
13662 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13663 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13664
87a97932
AK
136652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13666
13667 [BZ #12067]
13668 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13669 trying to locate the ELF header.
13670
c21cc9bc
AS
136712010-09-27 Andreas Schwab <schwab@redhat.com>
13672
13673 [BZ #11611]
13674 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13675 Mask out sign-bit copies when constructing f_fsid.
13676
315970f6
PB
136772010-09-24 Petr Baudis <pasky@suse.cz>
13678
13679 * debug/stack_chk_fail_local.c: Add missing licence exception.
13680 * debug/warning-nop.c: Likewise.
13681
1ac7a2c7
JM
136822010-09-15 Joseph Myers <joseph@codesourcery.com>
13683
13684 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13685 implementing getdents64 using getdents syscall, set d_type if
13686 __ASSUME_GETDENTS32_D_TYPE.
13687
56801c50
AS
136882010-09-16 Andreas Schwab <schwab@redhat.com>
13689
13690 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13691 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13692
dda51327
UD
136932010-09-21 Ulrich Drepper <drepper@redhat.com>
13694
13695 [BZ #12037]
13696 * posix/unistd.h: Undo change of feature selection for ftruncate from
13697 2010-01-11.
13698
8ffcee4a
UD
136992010-09-20 Ulrich Drepper <drepper@redhat.com>
13700
a545ecd9 13701 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13702 detection.
13703
e24f0a8b
AS
137042010-09-20 Andreas Schwab <schwab@redhat.com>
13705
13706 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13707 fanotify_mark.
13708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13709
7291c56f
AS
137102010-09-14 Andreas Schwab <schwab@redhat.com>
13711
13712 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13713 variables after CHECK_SP call.
13714 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13715
bc5fb037
AS
137162010-09-13 Andreas Schwab <schwab@redhat.com>
13717 Ulrich Drepper <drepper@redhat.com>
13718
13719 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13720 re-relocationg ld.so.
13721 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13722 _dl_init_paths call.
13723 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13724 here anymore.
13725
e66e7419
UD
137262010-09-14 Ulrich Drepper <drepper@redhat.com>
13727
13728 * resolv/res_init.c (__res_vinit): Count the default server we added.
13729
c044aa75
CLT
137302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13731 Ulrich Drepper <drepper@redhat.com>
13732
13733 [BZ #11968]
13734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13735 (____longjmp_chk): Use %ebx for saving value across system call.
13736 Add unwind info.
13737
32cf4069
AS
137382010-09-06 Andreas Schwab <schwab@redhat.com>
13739
13740 * manual/Makefile: Don't mix pattern rules with normal rules.
13741
817328ee
AS
137422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13743
13744 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13745 operation.
13746 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13747 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13748 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13749 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13751 Likewise.
13752
29fddf61
UD
137532010-09-04 Ulrich Drepper <drepper@redhat.com>
13754
13755 [BZ #11979]
13756 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13757 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13758
0959ffc9
UD
137592010-09-02 Ulrich Drepper <drepper@redhat.com>
13760
13761 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13762 * sysdeps/x86_64/addmul_1.S: Likewise.
13763 * sysdeps/x86_64/lshift.S: Likewise.
13764 * sysdeps/x86_64/mul_1.S: Likewise.
13765 * sysdeps/x86_64/rshift.S: Likewise.
13766 * sysdeps/x86_64/sub_n.S: Likewise.
13767 * sysdeps/x86_64/submul_1.S: Likewise.
13768
ece29840
ST
137692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13770
0959ffc9
UD
13771 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13772 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13773 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13774 * bits/sched.h [__need_schedparam]
ece29840 13775 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13776 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13777 (__defined_schedparam): Define to 1.
ece29840
ST
13778 (__sched_param): New structure, identical to sched_param.
13779 (__need_schedparam): Undefine.
13780
e53a31fe
MF
137812010-08-31 Mike Frysinger <vapier@gentoo.org>
13782
fdc0c10d
MF
13783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13784 (epoll_create1): Declare.
13785
e53a31fe
MF
13786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13787
a726d796
AS
137882010-08-31 Andreas Schwab <schwab@redhat.com>
13789
13790 [BZ #7066]
13791 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13792 shifting retval into place.
13793
2f3e3dc7
UD
137942010-09-01 Ulrich Drepper <drepper@redhat.com>
13795
f2933da9
UD
13796 * nis/rpcsvc/nis.h: Update copyright notice.
13797 * nis/rpcsvc/nis.x: Likewise.
13798 * nis/rpcsvc/nis_callback.h: Likewise.
13799 * nis/rpcsvc/nis_callback.x: Likewise.
13800 * nis/rpcsvc/nis_object.x: Likewise.
13801 * nis/rpcsvc/nis_tags.h: Likewise.
13802 * nis/rpcsvc/yp.h: Likewise.
13803 * nis/rpcsvc/yp.x: Likewise.
13804 * nis/rpcsvc/ypupd.h: Likewise.
13805 * nis/yp_xdr.c: Likewise.
13806 * nis/ypupdate_xdr.c: Likewise.
13807
2f3e3dc7
UD
13808 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13809 mainly the body of pmap_getport. Add parameters to specify timeouts.
13810 (pmap_getport): Use __libc_rpc_getport.
13811 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13812 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13813 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13814
f3dcc2f9
AS
138152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13816
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13818 fanotify_mark.
13819
6d34eb5b
RM
138202010-08-27 Roland McGrath <roland@redhat.com>
13821
13822 * sysdeps/i386/i686/multiarch/Makefile
13823 (CFLAGS-varshift.c): New variable.
13824
9ea3de11
UD
138252010-08-27 Ulrich Drepper <drepper@redhat.com>
13826
c96d23fc
UD
13827 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13828 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13829
9ea3de11
UD
13830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13831
13832 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13833
623aac7f
L
138342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13835
13836 * sysdeps/x86_64/strlen.S: Unroll the loop.
13837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13838 strlen-sse2 strlen-sse2-bsf.
13839 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13840 __strlen_no_bsf if bit_Slow_BSF is set.
13841 (__strlen_sse42): Removed.
13842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13843 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13844
8b2b7715
RM
138452010-08-25 Roland McGrath <roland@redhat.com>
13846
13847 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13848 * sysdeps/x86_64/multiarch/varshift.c: New file.
13849 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13850 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13851 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13852 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13853
e73015f2
L
138542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13855
13856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13857 strlen-sse2 strlen-sse2-bsf.
13858 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13859 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13860 (__strlen_sse2): Removed.
13861 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13864 bit_Slow_BSF for Atom.
13865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13866 (index_Slow_BSF): Define.
13867 (HAS_SLOW_BSF): Define.
13868
df24a73e
UD
138692010-08-25 Ulrich Drepper <drepper@redhat.com>
13870
13871 [BZ #10851]
13872 * resolv/res_init.c (__res_vinit): When no server address at all
13873 is given default to loopback.
13874
f2ac4868
RM
138752010-08-24 Roland McGrath <roland@redhat.com>
13876
09055553
RM
13877 * configure.in: Remove config-name.h generation.
13878 * configure: Regenerated.
13879 * config-name.in: File removed.
13880 * scripts/config-uname.sh: New file.
13881 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13882 ($(objdir)config-name.h): New target.
13883
f2ac4868
RM
13884 * sunrpc/rpc_parse.h: Avoid nested comment.
13885
73f27d5e
RH
138862010-08-24 Richard Henderson <rth@redhat.com>
13887 Ulrich Drepper <drepper@redhat.com>
13888 H.J. Lu <hongjiu.lu@intel.com>
13889
13890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13892 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13893 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13894 _mm_alignr_epi8 with _mm_loadu_si128.
13895 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13896 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13897 (__m128i_shift_right): Removed.
13898 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13899 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13900 * sysdeps/x86_64/multiarch/varshift.h: New file.
13901 * sysdeps/x86_64/multiarch/varshift.S: New file.
13902
84b9230c
MF
139032010-08-21 Mike Frysinger <vapier@gentoo.org>
13904
13905 * configure.in: Move assembler checks to before sysdep dir checking.
13906
9bbd0ddc
PB
139072010-08-20 Petr Baudis <pasky@suse.cz>
13908
13909 * LICENSES: Sync the sunrpc license.
13910
9da4bb31
UD
139112010-08-19 Ulrich Drepper <drepper@redhat.com>
13912
a7ab6ec8
UD
13913 * sunrpc/auth_des.c: Update copyright notice once again.
13914 * sunrpc/auth_none.c: Likewise.
13915 * sunrpc/auth_unix.c: Likewise.
13916 * sunrpc/authdes_prot.c: Likewise.
13917 * sunrpc/authuxprot.c: Likewise.
13918 * sunrpc/bindrsvprt.c: Likewise.
13919 * sunrpc/clnt_gen.c: Likewise.
13920 * sunrpc/clnt_perr.c: Likewise.
13921 * sunrpc/clnt_raw.c: Likewise.
13922 * sunrpc/clnt_simp.c: Likewise.
13923 * sunrpc/clnt_tcp.c: Likewise.
13924 * sunrpc/clnt_udp.c: Likewise.
13925 * sunrpc/clnt_unix.c: Likewise.
13926 * sunrpc/des_crypt.c: Likewise.
13927 * sunrpc/des_soft.c: Likewise.
13928 * sunrpc/get_myaddr.c: Likewise.
13929 * sunrpc/getrpcport.c: Likewise.
13930 * sunrpc/key_call.c: Likewise.
13931 * sunrpc/key_prot.c: Likewise.
13932 * sunrpc/openchild.c: Likewise.
13933 * sunrpc/pm_getmaps.c: Likewise.
13934 * sunrpc/pm_getport.c: Likewise.
13935 * sunrpc/pmap_clnt.c: Likewise.
13936 * sunrpc/pmap_prot.c: Likewise.
13937 * sunrpc/pmap_prot2.c: Likewise.
13938 * sunrpc/pmap_rmt.c: Likewise.
13939 * sunrpc/rpc/auth.h: Likewise.
13940 * sunrpc/rpc/auth_unix.h: Likewise.
13941 * sunrpc/rpc/clnt.h: Likewise.
13942 * sunrpc/rpc/des_crypt.h: Likewise.
13943 * sunrpc/rpc/key_prot.h: Likewise.
13944 * sunrpc/rpc/netdb.h: Likewise.
13945 * sunrpc/rpc/pmap_clnt.h: Likewise.
13946 * sunrpc/rpc/pmap_prot.h: Likewise.
13947 * sunrpc/rpc/pmap_rmt.h: Likewise.
13948 * sunrpc/rpc/rpc.h: Likewise.
13949 * sunrpc/rpc/rpc_des.h: Likewise.
13950 * sunrpc/rpc/rpc_msg.h: Likewise.
13951 * sunrpc/rpc/svc.h: Likewise.
13952 * sunrpc/rpc/svc_auth.h: Likewise.
13953 * sunrpc/rpc/types.h: Likewise.
13954 * sunrpc/rpc/xdr.h: Likewise.
13955 * sunrpc/rpc_clntout.c: Likewise.
13956 * sunrpc/rpc_cmsg.c: Likewise.
13957 * sunrpc/rpc_common.c: Likewise.
13958 * sunrpc/rpc_cout.c: Likewise.
13959 * sunrpc/rpc_dtable.c: Likewise.
13960 * sunrpc/rpc_hout.c: Likewise.
13961 * sunrpc/rpc_main.c: Likewise.
13962 * sunrpc/rpc_parse.c: Likewise.
13963 * sunrpc/rpc_parse.h: Likewise.
13964 * sunrpc/rpc_prot.c: Likewise.
13965 * sunrpc/rpc_sample.c: Likewise.
13966 * sunrpc/rpc_scan.c: Likewise.
13967 * sunrpc/rpc_scan.h: Likewise.
13968 * sunrpc/rpc_svcout.c: Likewise.
13969 * sunrpc/rpc_tblout.c: Likewise.
13970 * sunrpc/rpc_util.c: Likewise.
13971 * sunrpc/rpc_util.h: Likewise.
13972 * sunrpc/rpcinfo.c: Likewise.
13973 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13974 * sunrpc/rpcsvc/key_prot.x: Likewise.
13975 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13976 * sunrpc/rpcsvc/mount.x: Likewise.
13977 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13978 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13979 * sunrpc/rpcsvc/rex.x: Likewise.
13980 * sunrpc/rpcsvc/rstat.x: Likewise.
13981 * sunrpc/rpcsvc/rusers.x: Likewise.
13982 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13983 * sunrpc/rpcsvc/spray.x: Likewise.
13984 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13985 * sunrpc/rtime.c: Likewise.
13986 * sunrpc/svc.c: Likewise.
13987 * sunrpc/svc_auth.c: Likewise.
13988 * sunrpc/svc_authux.c: Likewise.
13989 * sunrpc/svc_raw.c: Likewise.
13990 * sunrpc/svc_run.c: Likewise.
13991 * sunrpc/svc_simple.c: Likewise.
13992 * sunrpc/svc_tcp.c: Likewise.
13993 * sunrpc/svc_udp.c: Likewise.
13994 * sunrpc/svc_unix.c: Likewise.
13995 * sunrpc/svcauth_des.c: Likewise.
13996 * sunrpc/xcrypt.c: Likewise.
13997 * sunrpc/xdr.c: Likewise.
13998 * sunrpc/xdr_array.c: Likewise.
13999 * sunrpc/xdr_float.c: Likewise.
14000 * sunrpc/xdr_mem.c: Likewise.
14001 * sunrpc/xdr_rec.c: Likewise.
14002 * sunrpc/xdr_ref.c: Likewise.
14003 * sunrpc/xdr_sizeof.c: Likewise.
14004 * sunrpc/xdr_stdio.c: Likewise.
14005
9da4bb31
UD
14006 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14007 handling.
14008
bdaa77bc
AS
140092010-08-19 Andreas Schwab <schwab@redhat.com>
14010
14011 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14012
fe2f79db
LM
140132010-08-19 Luis Machado <luisgpm@br.ibm.com>
14014
14015 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14017 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14018 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14020 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14021 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14022 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14023 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14024 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14025 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14026 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14027 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14028 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14029
b9b42ee0
AB
140302010-07-26 Anton Blanchard <anton@samba.org>
14031
14032 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14033 * malloc/arena.c (heap_trim): Likewise.
14034
1c06ba31
UD
140352010-08-16 Ulrich Drepper <drepper@redhat.com>
14036
14037 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14038 here. Not...
14039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14040 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14041
f8392f40
L
140422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * sysdeps/i386/elf/Makefile: New file.
14045
3162f12e
AS
140462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14047
14048 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14049 from fanotify_init.
14050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14052
28c90b2c
UD
140532010-08-15 Ulrich Drepper <drepper@redhat.com>
14054
14055 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14056 of strncasecmp_l.
1feccb6c 14057 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14058
ca6bb004
UD
140592010-08-14 Ulrich Drepper <drepper@redhat.com>
14060
e9f82e0d
UD
14061 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14062 strncase_l-nonascii.
14063 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14064 Add strncase_l-ssse3.
14065 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14066 * sysdeps/x86_64/strcmp.S: Likewise.
14067 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14068 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14069 * sysdeps/x86_64/strncase.S: New file.
14070 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14071 * sysdeps/x86_64/strncase_l.S: New file.
14072 * string/Makefile (strop-tests): Add strncasecmp.
14073 * string/test-strncasecmp.c: New file.
14074
14075 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14076 warning.
14077
ca6bb004
UD
14078 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14079 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14080
052fa7b3
AS
140812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14082
14083 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14084
962dba78
UD
140852010-08-12 Ulrich Drepper <drepper@redhat.com>
14086
14087 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14090
bebff237
AM
140912010-05-01 Alan Modra <amodra@gmail.com>
14092
14093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14094 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14095 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14096 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14097 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14098 tidying. Don't tail-call __sigjmp_save for static lib.
14099 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14100 save location.
14101 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14102 (CALL_MCOUNT): Add eh info, and nop after bl.
14103 (TAIL_CALL_SYSCALL_ERROR): New macro.
14104 (PSEUDO_RET): Use it.
14105 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14106 Correct save location of integer regs and cr.
14107 (_dl_profile_resolve): Correct cr save location. Delete nops
14108 after bl when SHARED. Reduce cfi size a little by better
14109 placement of cfi directives.
14110 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14111 make a stack frame. Instead use parm save area as a temp.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14113 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14115 Don't make a stack frame for parent, use parm save area.
14116 Increase child stack frame to 112 bytes. Don't save unused reg,
14117 and adjust reg usage. Set up cfi on error recovery and
14118 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14120 (__makecontext): Add dummy nop after jump to exit.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14122 Use correct parm save area and cr save, reduce stack frame.
14123 Correct cfi for possible PSEUDO_RET frame setup.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14125 Branch to local label emitted by PSEUDO_RET rather than
14126 __syscall_error.
14127
02637374
AS
141282010-08-12 Andreas Schwab <schwab@redhat.com>
14129
14130 [BZ #11904]
14131 * locale/programs/locale.c (print_assignment): New function.
14132 (show_locale_vars): Use it.
14133
c3e2f19b
UD
141342010-08-11 Ulrich Drepper <drepper@redhat.com>
14135
3cdaa6ad
UD
14136 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14137 field.
14138 (struct statfs64): Likewise.
14139 (_STATFS_F_FLAGS): Define.
14140 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14141 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14142 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14143 (ST_VALID): Define locally.
14144 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14145 __statvfs_getflags, use the provided value.
14146 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14147 __ASSUME_STATFS_F_FLAGS.
14148
754f7da3
UD
14149 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14150
10b3bedc
UD
14151 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14152 Add sys/fanotify.h.
14153 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14154 fanotify_mask for GLIBC_2.13.
14155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14156 fanotify_init and fanotify_mark.
14157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14158 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14159
c08fb0d7
UD
14160 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14161 Add prlimit.
14162 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14163 prlimit64 for GLIBC_2.13.
14164 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14165 prlimit64.
14166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14167 syscall.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14170 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14173 add prlimit alias.
14174 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14175
15bac72b
UD
14176 [BZ #11903]
14177 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14178 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14179
c3e2f19b
UD
14180 * nss/Makefile: Add rules to build and run tst-nss-test1.
14181 * shlib-versions: Add entry for libnss_test1.
14182 * nss/nss_test1.c: New file.
14183 * nss/tst-nss-test1.c: New file.
14184
14185 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14186 (__nss_configure_lookup): Set appropriate entry in
14187 __nss_configure_lookup to true.
14188 * nss/nsswitch.h: Define enum with indeces of databases in
14189 databases and __nss_database_custom arrays. Declare
14190 __nss_database_custom.
14191 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14192 to avoid using nscd when custom rules are installed.
14193 * nss/getXXbyYY_r.c: Likewise.
14194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14195
14196 * nss/nss_files/files-parse.c: Whitespace fixes.
14197
f15ce4d8
UD
141982010-08-09 Ulrich Drepper <drepper@redhat.com>
14199
14200 [BZ #11883]
14201 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14202 * posix/fnmatch_loop.c: Likewise.
14203
d22e4cc9
AK
142042010-07-17 Andi Kleen <ak@linux.intel.com>
14205
14206 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14207 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14208 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14209 * Versions.def [GLIBC_2.13]: Add.
14210
805bc17d
UD
142112010-08-06 Ulrich Drepper <drepper@redhat.com>
14212
14213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14214 Also fail if tpwd after pwuid call is NULL.
14215
5a42321d
ST
142162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14217
14218 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14219 when converting to ms.
14220
fd3ebeda
ST
142212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14222
14223 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14224 EOPNOTSUPP errors with ENOTTY.
14225 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14226 EOPNOTSUPP errors with ENOTTY.
14227
73507d3a
UD
142282010-07-31 Ulrich Drepper <drepper@redhat.com>
14229
14230 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14231 Add strcasecmp_l-ssse3.
14232 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14233 strcasecmp.
14234 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14235 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14236 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14237
fe36dd02
UD
142382010-07-30 Ulrich Drepper <drepper@redhat.com>
14239
66f6765a
UD
14240 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14241
42e08a54
UD
14242 * string/Makefile (strop-tests): Add strcasecmp.
14243 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14244 strcasecmp_l-nonascii.
14245 (gen-as-const-headers): Add locale-defines.sym.
14246 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14247 * sysdeps/x86_64/strcasecmp.S: New file.
14248 * sysdeps/x86_64/strcasecmp_l.S: New file.
14249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14250 * sysdeps/x86_64/locale-defines.sym: New file.
14251 * string/test-strcasecmp.c: New file.
14252
fe36dd02
UD
14253 * string/test-strcasestr.c: Test both ends of the range of characters.
14254 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14255
48cbc0d6
RM
142562010-07-29 Roland McGrath <roland@redhat.com>
14257
76e6d6bc 14258 [BZ #11856]
48cbc0d6
RM
14259 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14260
880113d9
UD
142612010-07-27 Ulrich Drepper <drepper@redhat.com>
14262
14263 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14264 for ld.so.
14265
deb9cabb
AS
142662010-07-27 Andreas Schwab <schwab@redhat.com>
14267
14268 * manual/memory.texi (Malloc Tunable Parameters): Document
14269 M_PERTURB.
14270
1c7570ff
RM
142712010-07-26 Roland McGrath <roland@redhat.com>
14272
14273 [BZ #11840]
14274 * configure.in (-fgnu89-inline check): Set and substitute
14275 gnu89_inline, not libc_cv_gnu89_inline.
14276 * configure: Regenerated.
14277 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14278
24fb0f88
UD
142792010-07-26 Ulrich Drepper <drepper@redhat.com>
14280
14281 * string/test-strnlen.c: New file.
14282 * string/Makefile (strop-tests): Add strnlen.
14283 * string/tester.c (test_strnlen): Add a few more test cases.
14284 * string/tst-strlen.c: Better error reporting.
14285
14286 * sysdeps/x86_64/strnlen.S: New file.
14287
8e96b93a
UD
142882010-07-24 Ulrich Drepper <drepper@redhat.com>
14289
14290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14291 lower-latency instructions.
14292
dbc676d4
UD
142932010-07-23 Ulrich Drepper <drepper@redhat.com>
14294
14295 * string/test-strcasestr.c: New file.
14296 * string/test-strstr.c: New file.
14297 * string/Makefile (strop-tests): Add strstr and strcasestr.
14298 * string/str-two-way.h: Don't undefine MAX.
14299 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14300
f6a31e0e
AS
143012010-07-21 Andreas Schwab <schwab@redhat.com>
14302
14303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14304 strcasestr-nonascii.
14305 (CFLAGS-strcasestr-nonascii.c): Define.
14306 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14308 Remove unused attribute.
14309
5dbc3b6c
RM
143102010-07-20 Roland McGrath <roland@redhat.com>
14311
14312 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14313 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14314 ld.so.cache was broken. With it, there is no way to disable dsocaps
14315 like LD_HWCAP_MASK can disable hwcaps.
14316
23d101d8
EPM
143172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14318
14319 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14320
cc9f2e47
UD
143212010-07-16 Ulrich Drepper <drepper@redhat.com>
14322
14323 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14324 call in strcasestr.
14325 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14326 __strcasestr_sse42_nonascii.
14327 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14328 strcasestr-nonascii.c.
14329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14330
77c1b069
LM
143312010-06-15 Luis Machado <luisgpm@br.ibm.com>
14332
14333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14334 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14337
440566c3
UD
143382010-07-09 Ulrich Drepper <drepper@redhat.com>
14339
14340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14341 fcntl.
14342
5be9d05d
AS
143432010-07-06 Andreas Schwab <schwab@redhat.com>
14344
c30b7ee2 14345 [BZ #11577]
5be9d05d
AS
14346 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14347 dl_signal_cerror.
14348
8a492a67
UD
143492010-07-06 Ulrich Drepper <drepper@redhat.com>
14350
14351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14352 _PC_PIPE_BUF using F_GETPIPE_SZ.
14353
713df3d5
RM
143542010-07-05 Roland McGrath <roland@redhat.com>
14355
14356 * manual/arith.texi (Rounding Functions): Fix rint description
14357 implicit in round description.
14358
702e8f14
UD
143592010-07-02 Ulrich Drepper <drepper@redhat.com>
14360
14361 * elf/Makefile: Fix linking for a few tests to make recent linker
14362 happy.
14363
52ed8be9
AS
143642010-06-30 Andreas Schwab <schwab@redhat.com>
14365
14366 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14367 $(common-objpfx)libc_nonshared.a.
14368
f47c9a11
LM
143692010-06-21 Luis Machado <luisgpm@br.ibm.com>
14370
14371 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14372 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14373 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14374 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14375 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14376 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14377 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14378 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14393 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14394 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14395 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14396 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14397 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14398 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14399 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14400 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14401 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14402 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14403 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14404 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14419
6fb8cbcb
L
144202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14423 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14424 * string/memmove.c (memmove): Renamed to ...
14425 (MEMMOVE): ...this. Default to memmove.
14426 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14427 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14428 (END_CHK): Define.
14429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14430 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14431 mempcpy-ssse3-back memmove-ssse3-back.
14432 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14433 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14435 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14436 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14437 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14438 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14439 * sysdeps/x86_64/multiarch/memmove.c: New file.
14440 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14441 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14442 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14443 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14444 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14446 Define.
14447 (index_Fast_Copy_Backward): Define.
14448 (HAS_ARCH_FEATURE): Define.
14449 (HAS_FAST_REP_STRING): Define.
14450 (HAS_FAST_COPY_BACKWARD): Define.
14451
4e733bac 144522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14453
14454 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14455 Restore proper fallback handling.
14456
63c4ed22
UD
144572010-06-19 Ulrich Drepper <drepper@redhat.com>
14458
ac2b484c
UD
14459 [BZ #11701]
14460 * posix/group_member.c (__group_member): Correct checking loop.
14461
63c4ed22
UD
14462 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14463 OOM in getpwuid_r correctly. Return error number when the caller
14464 should return, otherwise -1.
14465 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14466 call returning > 0 value.
14467 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14468
765ade4b
AS
144692010-06-07 Andreas Schwab <schwab@redhat.com>
14470
14471 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14472 libc_nonshared.a from targets in modules-names.
14473
80da2e09
KS
144742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14475
14476 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14477 requires it.
14478
158db122
LM
144792010-06-10 Luis Machado <luisgpm@br.ibm.com>
14480
14481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14485
caa78cf8
AS
144862010-06-02 Andreas Schwab <schwab@redhat.com>
14487
14488 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14489
b2ef2c01
UD
144902010-06-14 Ulrich Drepper <drepper@redhat.com>
14491
14492 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14493 and F_GETPIPE_SZ.
14494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14500
fbd643b6
RM
145012010-06-14 Roland McGrath <roland@redhat.com>
14502
14503 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14504
f32f2869
JJ
145052010-06-07 Jakub Jelinek <jakub@redhat.com>
14506
14507 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14508 __REDIRECT followed by __THROW.
14509 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14510 * posix/getopt.h (getopt): Likewise.
14511
2a50c078
EPM
145122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14513
14514 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14515 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14516 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14517 in AT_FLAGS.
14518 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14519 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14520
eb5ad2eb
LM
145212010-05-28 Luis Machado <luisgpm@br.ibm.com>
14522
14523 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14524
3c88fe1e
L
145252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14526
14527 [BZ #11640]
14528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14529 Properly check family and model.
14530
d2f73151
TY
145312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14532
14533 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14534
ebd2e13d
LM
145352010-05-24 Luis Machado <luisgpm@br.ibm.com>
14536
14537 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14538
b32b8b45
UD
145392010-05-21 Ulrich Drepper <drepper@redhat.com>
14540
14541 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14542 symbol reference.
14543
9acbe24d
AS
145442010-05-19 Andreas Schwab <schwab@redhat.com>
14545
14546 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14547 symbol reference.
14548
f0ccf6ea
AS
145492010-05-21 Andreas Schwab <schwab@redhat.com>
14550
3d04ff3a
AS
14551 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14552 and internal_recvmmsg.
14553 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14554 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14555 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14556 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14557
f0ccf6ea
AS
14558 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14559 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14560 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14561
5b08ac57
AS
145622010-05-20 Andreas Schwab <schwab@redhat.com>
14563
14564 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14565
4828935d
LM
145662010-05-17 Luis Machado <luisgpm@br.ibm.com>
14567
14568 POWER7 optimizations.
14569 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14570 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14571
373d545e
UD
145722010-05-19 Ulrich Drepper <drepper@redhat.com>
14573
14574 * version.h: Update for 2.13 development version.
14575
21a2b1ae
AS
145762010-05-12 Andrew Stubbs <ams@codesourcery.com>
14577
14578 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14579 exceptions. Return 0.
14580
3f7dcb2b
RM
145812010-05-07 Roland McGrath <roland@redhat.com>
14582
14583 * elf/ldconfig.c (main): Add a const.
14584
5f24d53a 145852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14586
a160f8d8
UD
14587 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14588 (args_options): Add no-idn option.
14589 (ahosts_keys_int): Add idn_flags to ai_flags.
14590 (parse_option): Handle 'i' option to clear idn_flags.
14591
5f24d53a
UD
14592 * malloc/malloc.c (_int_free): Possible race in the most recently
14593 added check. Only act on the data if no current modification
14594 happened.
265bb1ce
UD
14595
14596See ChangeLog.17 for earlier changes.