]> sourceware.org Git - glibc.git/blame - ChangeLog
Add x86-64 bits/typesizes.h
[glibc.git] / ChangeLog
CommitLineData
cf3ff365
L
12012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4
76cf3e4d
L
52012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6
7 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8
a637753a
L
92012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10
11 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12 __syscall_ulong_t.
13
d5e05119
L
142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15
16 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17 include <bits/wordsize.h>. Check __x86_64__ instead of
18 __WORDSIZE.
19 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20 defined.
21 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22
f62ee380
L
232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24
25 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26 include <bits/wordsize.h>. Check __x86_64__ instead of
27 __WORDSIZE.
28 (user_regs_struct): Use "__extension__ unsigned long long"
29 instead of "unsigned long" if __x86_64__ is defined.
30 (user): Likewise. Pad after pointer field if __ILP32__ is
31 defined.
32
4e124ced
JM
332012-05-16 Joseph Myers <joseph@codesourcery.com>
34
6a3951a0
JM
35 * configure.in (makeinfo): Require version 4.5 or later. Allow
36 versions 5 to 9.
37 * configure: Regenerated.
38 * manual/install.texi (texinfo): Increase version requirement to
39 4.5 or later.
40 * INSTALL: Regenerated.
41
4e124ced
JM
42 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43
953ca31a
L
442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45
46 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47
617aca05
L
482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/x86_64/x32/ffs.c: New file.
51
5762f7ae
L
522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
53
54 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55 __syscall_ulong_t.
56 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57 defined. Use __syscall_ulong_t.
58 (shminfo): Use __syscall_ulong_t.
59 (shm_info): Likewise.
60
a26b6856
L
612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64 __syscall_ulong_t.
65
cb2b9ef7
L
662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
67
68 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69 <bits/wordsize.h>.
70 (msgqnum_t): Use __syscall_ulong_t.
71 (msglen_t): Likewise.
72 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
73 __syscall_ulong_t.
74
34683bb0
L
752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
76
77 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
79
84a68786
L
802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81
82 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
83
48baa5f1
L
842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
85
86 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
87 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
88
180be88b
L
892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
90
91 * sysvipc/sys/msg.h (msgbuf): Replace long int with
92 __syscall_slong_t.
93
5e90c8ad
L
942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
95
96 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
97 include <bits/wordsize.h>. Check __x86_64__ instead of
98 __WORDSIZE.
99
23dfb58b
L
1002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
101
102 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
103 "unsigned long long int" if __x86_64__ is defined.
104 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
105
ce5d54b0
L
1062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
107
108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
110 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
111
13dc9eac
L
1122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
115 <stdint.h>.
116 (GET_PC): Cast to uintptr_t first.
117 (GET_FRAME): Likewise.
118 (GET_STACK): Likewise.
119
a7895d15
L
1202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
121
122 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
124 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
125 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
128 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
129 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
132 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
145 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
151
656416c9
AS
1522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
153
5bd66283
AS
154 * Makerules (+depfiles): Also collect depfiles from .oS in
155 $(extra-objs).
156 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
157 .oS, $(libnldbl-routines)).
158
656416c9
AS
159 * Makerules (native-compile-mkdep-flags): Define.
160 * sunrpc/Makefile (extra-objs): Add $(addprefix
161 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
162 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
163 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
164 calling $(make-target-directory).
165
a46f2169
L
1662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
167
168 * bits/types.h (__snseconds_t): Removed.
169 * time/time.h (struct timespec): Replace __snseconds_t with
170 __syscall_slong_t.
171 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
172 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
173 Likewise.
174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
175 (__SNSECONDS_T_TYPE): Likewise.
176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
177 (__SNSECONDS_T_TYPE): Likewise.
178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
179 (__SNSECONDS_T_TYPE): Likewise.
180
6af6528b
L
1812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
182
183 * sysdeps/mach/hurd/bits/typesizes.h
184 (__SYSCALL_SLONG_TYPE): New macro.
185 (__SYSCALL_ULONG_TYPE): Likewise.
186
de986b56
L
1872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
188
189 * bits/types.h (__syscall_slong_t): New type.
190 (__syscall_ulong_t): Likewise.
191
192 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
193 (__SYSCALL_ULONG_TYPE): Likewise.
194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
195 (__SYSCALL_SLONG_TYPE): Likewise.
196 (__SYSCALL_ULONG_TYPE): Likewise.
197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
198 (__SYSCALL_SLONG_TYPE): Likewise.
199 (__SYSCALL_ULONG_TYPE): Likewise.
200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
201 (__SYSCALL_SLONG_TYPE): Likewise.
202 (__SYSCALL_ULONG_TYPE): Likewise.
203
85736dc7
L
2042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
205
206 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
207 Add sigaltstack-offsets.sym.
208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
209 <sigaltstack-offsets.h>.
210 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
211 longjmp_msg pointer.
212 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
213 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
214 signal stack.
215 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
216
cc03b296
JM
2172012-05-15 Joseph Myers <joseph@codesourcery.com>
218
a9538892
JM
219 * elf/stackguard-macros.h: Remove file.
220 * sysdeps/generic/stackguard-macros.h: New file.
221 * sysdeps/i386/stackguard-macros.h: Likewise.
222 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
223 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
224 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
225 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
226 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
227 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
228 * sysdeps/x86_64/stackguard-macros.h: Likewise.
229 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
230 <elf/stackguard-macros.h>.
231
cc03b296
JM
232 [BZ #14109]
233 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
234 __aligned__ in attribute.
235 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
236 (gregset_t): Likewise.
237
93171016
L
2382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
239
240 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
241 * sysdeps/x86_64/64/Implies-after: Here. New file.
242 * sysdeps/x86_64/x32/Implies-after: New file.
243
d86813a0
L
2442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
245
246 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
247 and access return value for _dl_profile_fixup. Use R10_LP to
248 load frame size.
249
2953ec75
L
2502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
251
252 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
253
3b550e9e
L
2542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
255
256 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
257 * sysdeps/x86_64/x32/sysdep.h: New file.
258
eda41706
L
2592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
260
261 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
262 * sysdeps/x86_64/setjmp.S: Likewise.
263
9ea01d93
AZ
2642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
265
266 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
268 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
269 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
270 remove unused global constant.
271
02a91938
CM
2722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
273
274 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
275 include of <not-cancel.h>.
276
6540185f
RM
2772012-05-15 Roland McGrath <roland@hack.frob.com>
278
279 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
280
509072a0
AJ
2812012-05-15 Jeff Law <law@redhat.com>
282 Andreas Jaeger <aj@suse.de>
283
284 [BZ #13594]
285 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
286 out from...
287 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
288 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
289 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
290 code changing __hst_map_handle.map.
291
ba75122d
RM
2922012-05-15 Roland McGrath <roland@hack.frob.com>
293
294 * configure.in (sysnames): Look for Implies-before and Implies-after
295 files.
296 * configure: Regenerated.
297
890d8bd8
L
2982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
299
300 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
301 8-byte data alignment with LP_SIZE alignment.
302
f6ee6623
L
3032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
306 into R10_LP.
307
ea2626f6
L
3082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
309
310 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
311
085f715e
L
3122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
313
314 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
315 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
317 Likewise.
318 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
319
be8498fc
L
3202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
321
322 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
323 (stackinfo_sub_sp): Likewise.
324
70bc83b9
L
3252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
328 RAX_LP.
329
9bc0b730
L
3302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
331
332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
333 into R*_LP.
334
6d2850e7
L
3352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
336
337 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
338 sizes into R*_LP.
339
3cb84561
L
3402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
341
342 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
343
54e2ed81
L
3442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
345
346 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
347 into R11_LP and load __x86_64_shared_cache_size_half into
348 R8_LP.
349
8a17f349
L
3502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
351
352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
353 R8_LP.
354
777b1eea
AZ
3552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
356
357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
358 logb for POWER7.
359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
360 logbf for POWER7.
361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
362 logbl for POWER7.
363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
364 powerpc32/power7/fpu/s_logb.c via #include.
365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
366 powerpc32/power7/fpu/s_logbf.c via #include.
367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
368 powerpc32/power7/fpu/s_logbl.c via #include.
369
d20d4ac2
JM
3702012-05-15 Joseph Myers <joseph@codesourcery.com>
371
372 * README.libm: Remove file.
373
6cdef1ab
L
3742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
375
376 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
377 count for x32. Use R*_LP and omit operand-size suffix.
378
0b254d8f
L
3792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
380
381 * shlib-versions: Move x86_64-.*-linux.* entries to ...
382 * sysdeps/x86_64/64/shlib-versions: Here. New file.
383 * sysdeps/x86_64/x32/shlib-versions: New file.
384
ceb809dc
RM
3852012-05-14 Roland McGrath <roland@hack.frob.com>
386
387 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
388 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
389 Use _dl_fatal_printf instead.
390
37f1abd4
JM
3912012-05-14 Joseph Myers <joseph@codesourcery.com>
392
393 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
394 set if not set by the user. Do not allow for being unset.
395 * sysdeps/unix/sysv/linux/configure: Regenerated.
396
11de3a33
L
3972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
398
399 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
400 the `q' suffix from lea and replace .quad with ASM_ADDR.
401
e02f153a
L
4022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
403
404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
405 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
406 instead of $17.
407 (PTR_DEMANGLE): Likewise.
408
520ae0fd
L
4092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
410
411 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
412 (LP_OP): Likewise.
413 (ASM_ADDR): Likewise.
414 (RAX_LP): Likewise.
415 (RBP_LP): Likewise.
416 (RBX_LP): Likewise.
417 (RCX_LP): Likewise.
418 (RDI_LP): Likewise.
419 (RSI_LP): Likewise.
420 (RSP_LP): Likewise.
421 (R8_LP): Likewise.
422 (R9_LP): Likewise.
423 (R10_LP): Likewise.
424 (R10_LP): Likewise.
425 (R11_LP): Likewise.
426 (R12_LP): Likewise.
427 (R13_LP): Likewise.
428 (R14_LP): Likewise.
429 (R15_LP): Likewise.
430
b985be81
L
4312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
432
433 * sysdeps/x86_64/x32/dl-machine.h: New file.
434
6a4888ff
AJ
4352012-05-14 Andreas Jaeger <aj@suse.de>
436
437 * manual/Makefile (subdir): Remove export of subdir.
438 (all): Remove target.
439 (.PHONY): Remove all from list.
440 (mkinstalldirs): Remove.
441 (.PHONY): Remove installdirs from list.
442 ($(inst_infodir)/libc.info): Use make-target-directory.
443 (installdirs): Remove.
444 (subdir_%): Remove.
445 (glibc-targets): Remove.
446 (lib): Remove.
447 (stubs): Remove.
448 ($(objpfx)stubs ../po/manual.pot): Remove.
449 ($(objpfx)stamp%): Remove.
450 (make-target-directory): Remove.
451 (subdir_install): Remove.
452 (routines): Remove.
453 (aux): Remove.
454 (sources): Remove.
455 (objects): Remove.
456 (headers): Remove.
457
458 [BZ #13750]
459 * manual/.gitignore: Remove, it's not needed anymore.
460 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
461 all files in it.
462 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
463 directory.
464 (texis): Renamed to $(objpfx)texis.
465 (texis-path): New, contains path to generated files.
466 (chapters.%): Use texis-path for complete path, add extra argument
467 libc-texinfo.sh.
468 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
469 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
470 (summary,texi, stamp-summary): Use complete path of
471 files. Generate files in build dir.
472 (dir-add.texi): Build in build dir.
473 (libm-err.texi,stamp-libm-err): Likewise.
474 (version.texi, stamp-version): Likewise.
475 (.%c.texi): Likewise.
476 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
477 (mostlyclean): Remove target.
478 (realclean): Remove target.
479 (generated): Add new variable with contents from mostlyclean and
480 realclean, remove entries duplicated in common-mostlyclean, add
481 stamp-libm-err and stamp-version.
482 (generated-dirs): Add libc directory.
483 ($(inst_infodir)/libc.info): Install files from build dir.
484
485 * manual/install.texi (Configuring and compiling): Adjust since
486 the info files are not part of the tar ball anymore.
487
7ac77294
AJ
4882012-05-14 Andreas Jaeger <aj@suse.de>
489
490 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
491 variable.
492
ffb7875d
JM
4932012-05-14 Joseph Myers <joseph@codesourcery.com>
494
495 [BZ #13717]
496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
497 to 2.2.0 where earlier.
498 * sysdeps/unix/sysv/linux/configure: Regenerated.
499 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
500 Remove conditional code.
501 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
502 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
503 Remove conditional code.
504 [!__NR_lchown]: Likewise.
505 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
506 [__NR_lchown]: Likewise.
507 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
508 comment referencing __ASSUME_LCHOWN_SYSCALL.
509 * sysdeps/unix/sysv/linux/i386/sigaction.c
510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
512 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
513 Remove conditional code.
514 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
515 (__protocol_available): Remove #if 0 code.
516 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
517 conditional code.
518 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
519 * sysdeps/unix/sysv/linux/kernel-features.h
520 (__ASSUME_GETCWD_SYSCALL): Don't define.
521 (__ASSUME_REALTIME_SIGNALS): Likewise.
522 (__ASSUME_PREAD_SYSCALL): Likewise.
523 (__ASSUME_PWRITE_SYSCALL): Likewise.
524 (__ASSUME_POLL_SYSCALL): Likewise.
525 (__ASSUME_LCHOWN_SYSCALL): Likewise.
526 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
527 non-SPARC.
528 (__ASSUME_SIOCGIFNAME): Don't define.
529 (__ASSUME_MSG_NOSIGNAL): Likewise.
530 (__ASSUME_SENDFILE): Define unconditionally.
531 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
532 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
533 conditional code.
534 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
535 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
536 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
537 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
538 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
539 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
540 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
565 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
566 Remove conditional code.
567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
568 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
569 Remove conditional code.
570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
571 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
572 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
573 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
574 Remove conditional code.
575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
576 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
577 Remove conditional code.
578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
579 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
580 Remove conditional code.
581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
582 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
583 Remove conditional code.
584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
585 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
586 Remove conditional code.
587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
588 * sysdeps/unix/sysv/linux/sh/pwrite64.c
589 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
591 * sysdeps/unix/sysv/linux/sigaction.c
592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
594 * sysdeps/unix/sysv/linux/sigpending.c
595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
597 * sysdeps/unix/sysv/linux/sigprocmask.c
598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/sigsuspend.c
601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
603 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
604 (__libc_missing_rt_sigs): Remove.
605 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
606 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
607 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
608 Remove conditional code.
609 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
610 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
611 return 1.
612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
613 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
615 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
616
1bfb7291
AJ
6172012-05-14 Andreas Jaeger <aj@suse.de>
618
caae5a81
AJ
619 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
620 it's not used in glibc.
621 (__coshm1): Likewise.
622 (__acosh1p): Likewise.
623 (__sgn): Likewise.
624
1bfb7291
AJ
625 * manual/string.texi (Copying and Concatenation): Add missing
626 variable in concat example.
627 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
628
c044d724
L
6292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
630
144c5467 631 [BZ #14103]
c044d724
L
632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
633 __builtin_clzl with __builtin_clzll.
634
2523c62b
L
6352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
636
637 [BZ #14104]
638 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
639 libc_freeres_ptr.
640
d7bb4c42
LD
6412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
642
643 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
644 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
645 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
646 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
647
9dc4e1fb
MF
6482012-05-14 Mike Frysinger <vapier@gentoo.org>
649
650 * NEWS: Update ia64 info.
651
c7df0112
AS
6522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
653
654 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
655 used as bcopy.
656
dc70356c
TS
6572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
658
659 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
660 * sysdeps/unix/syscalls.list (dup3): Likewise.
661 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
662 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
663
9fb1a21f
L
6642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
665
666 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
667 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
668
4822a2a5
L
6692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
670
671 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
672 thread pointer.
673 (TLS_IE): Use mov/add instead of movq/addq to load thread
674 pointer.
675 (TLS_GD_PREFIX): New.
676 (TLS_GD): Use it.
677
842b81d6
DM
6782012-05-11 David S. Miller <davem@davemloft.net>
679
680 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
681 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
682 (_FPU_SETCW): Likewise.
683
1cf463cd
L
6842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
685
686 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
687 is 32-byte aligned.
688
60cc4a18
AS
6892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
690
691 [BZ #11837]
692 * iconvdata/gb18030.c: Update tables.
693 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
694 characters specially.
695 (BODY for TO_LOOP): Add encoding of missing ranges.
696
febb44a4
TS
6972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
698
699 [BZ #13673]
700 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
701 * sysdeps/mach/hurd/dup3.c: Likewise.
702 * sysdeps/mach/hurd/readlinkat.c: Likewise.
703 * sysdeps/powerpc/memmove.c:: Likewise.
704
0a10fb9e
L
7052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
706
707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
708 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
709
df8a552f
L
7102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
711
712 * elf/elf.h (R_X86_64_RELATIVE64): New.
713 (R_X86_64_NUM): Updated.
714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
715 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
716 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
717 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
718 tst-quad1pie tst-quad2pie
719 (modules-names): Add tst-quadmod1 tst-quadmod2.
720 ($(objpfx)tst-quad1): New dependency.
721 ($(objpfx)tst-quad2): Likewise.
722 ($(objpfx)tst-quad1pie): Likewise.
723 ($(objpfx)tst-quad2pie): Likewise.
724 * sysdeps/x86_64/tst-quad1.c: New file.
725 * sysdeps/x86_64/tst-quad1pie.c: New file.
726 * sysdeps/x86_64/tst-quad2.c: Likewise.
727 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
728 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
729 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
730 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
731 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
732
f34d6f84
ST
7332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
734
f42d41d1
ST
735 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
736 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
737 * streams/stropts.h (t_scalar_t): Define type.
738
3c3571fc
ST
739 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
740 (_PATH_PRESERVE): Set to "/var/lib".
741 (_PATH_RWHODIR): Set to "/var/spool/rwho".
742
61f06bd3
ST
743 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
744 instead of int.
745
918d4d71
ST
746 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
747 if __dir_mkfile succeeded.
748
f34d6f84
ST
749 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
750 checking for _hurd_dtablesize. Unlock it right after having
751 finished _hurd_dtable allocation.
752
10589b4a
TS
7532012-05-10 Thomas Schwinge <thomas@schwinge.name>
754
674cdbc7
TS
755 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
756 * sysdeps/mach/hurd/configure: Regenerated.
757 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
758 special-casing to...
759 * sysdeps/gnu/configure.in: ... this new file.
760 * sysdeps/unix/sysv/linux/configure: Regenerated.
761 * sysdeps/gnu/configure: New generated file.
762
8e41b99f
TS
763 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
764 for Linux: use nsec instead of usec, as well as:
765 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
766 members of type struct timespec.
767 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
768 New macros.
769 (struct stat64): Likewise.
770 (_STATBUF_ST_NSEC): New macro.
771 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
772
10589b4a
TS
773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
774 __strtoul_internal rather than strtoul.
775
63643c85
PT
7762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
777
778 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
779 and reject them.
780
3faebe6a
ST
7812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
782
783 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
784 which preserves existing values.
785 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
786
c6474b07
PT
7872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
788
789 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
790 TIMEOUT values. Return EINVAL for NFDS values either negative or
791 greater than FD_SETSIZE.
792
1043890b
ST
7932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
794
795 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
796 allocated, call __vm_protect to finish enabling the existing space, and
797 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
798 allocate the remainder.
799
37ed8b9b
PT
8002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
801
802 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
803 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
804
db653660
ST
8052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
806
37ed8b9b
PT
807 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
808 sysdeps/mach/hurd/readlink.c.
b29d4053 809
db653660
ST
810 * posix/tst-sysconf.c (posix_options): Only use
811 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
812 _POSIX_SYNCHRONIZED_IO when they are defined
813 * sysdeps/mach/hurd/bits/posix_opt.h:
814 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
815 (_XOPEN_REALTIME): Undefine macro.
816 (_XOPEN_REALTIME_THREADS): Undefine macro.
817 (_XOPEN_SHM): Undefine macro.
818 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
819 macro to -1.
820 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
821 macro to -1.
822 (_POSIX_ASYNC_IO): Undefine macro.
823 (_POSIX_PRIORITIZED_IO): Undefine macro.
824 (_POSIX_SPIN_LOCKS): Define macro to -1.
825
ee16e894
ST
826 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
827 SA_NODEFER, SA_RESETHAND.
828 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
829 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
830 F_DUPFD_CLOEXEC.
831
6103ae3b
TS
8322012-05-10 Thomas Schwinge <thomas@schwinge.name>
833
834 * elf/Makefile (pldd-modules): Define unconditionally.
835
80b4e5f3
TS
8362012-05-10 Thomas Schwinge <thomas@schwinge.name>
837
838 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
839
edadcbd6
ST
8402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
841
842 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
843 Return ENOENT when name is empty.
844 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
845
80694780
TS
8462012-05-10 Thomas Schwinge <thomas@schwinge.name>
847
1792c087
TS
848 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
849
80694780
TS
850 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
851
6b645f0d
ST
8522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
853
80694780
TS
854 Fix mlock in all cases except non-readable pages.
855 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
856 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 857
6b645f0d
ST
858 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
859 (__mkdir): When path is `/', just fail with EEXIST.
860 * sysdeps/mach/hurd/mkdirat.c: Likewise.
861
e468f8a3
TS
8622012-05-10 Thomas Schwinge <thomas@schwinge.name>
863
864 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
865 <sys/uio.h> (for writev).
866 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
867 and <sys/param.h> (for MIN).
868
a4186cff
PT
8692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
870
871 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
872 REQUESTED_TIME. Properly set the remaining time and return EINTR
873 if interrupted.
874
510bbf14
TS
8752012-05-10 Thomas Schwinge <thomas@schwinge.name>
876
877 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
878 Depend on against $(link-rpcuserlibs).
879
5d5722e8
ST
8802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
881
a4186cff
PT
882 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
883 (__libc_stack_end): Do not use attribute_relro.
884 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
885 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 886 to libthread-provided value.
a4186cff
PT
887 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
888 attribute_relro.
5d5722e8 889
37233df9
TS
8902012-05-10 Thomas Schwinge <thomas@schwinge.name>
891
be971a2b
TS
892 [BZ #3748]
893 * bits/libc-lock.h (__libc_once_get): New macro.
894 * sysdeps/mach/bits/libc-lock.h: Likewise.
895 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
897 instead of using implementation details.
898
37233df9
TS
899 * libio/fileops.c: Unconditionally include <kernel-features.h>.
900 * libio/freopen.c: Likewise.
901 * libio/freopen64.c: Likewise.
902 * misc/syslog.c: Likewise.
903 * nscd/connections.c: Likewise.
904 * nscd/netgroupcache.c: Likewise.
905 * sysdeps/posix/getcwd.c: Likewise.
906
38de94a5
RM
9072012-05-10 Roland McGrath <roland@hack.frob.com>
908
909 * math/w_ilogbf.c: Add #include <limits.h>.
910
67530489
ST
9112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
912
a4186cff 913 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
914 path instead of returning without unlocking.
915
67530489
ST
916 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
917 immediate-write ioctls.
918 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
919
5aa3a74a
TS
9202012-05-10 Thomas Schwinge <thomas@schwinge.name>
921
18bad2ae
TS
922 * sysdeps/mach/hurd/i386/init-first.c (init): Use
923 __builtin_frame_address instead of making assumptions about the
924 location of the return address relative to DATA. Force early load of
925 the return address.
926 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
927 __builtin_frame_address.
928
5aa3a74a
TS
929 dup3 for GNU Hurd.
930 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
931 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
932 implement dup3 and do some further code clean-ups.
933 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
934 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
935
ecd0de9a
ST
9362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
937
cd9fa985
ST
938 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
939
a4186cff
PT
940 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
941 HURD_CRITICAL_END around holding _hurd_dtable_lock.
942 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
943 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
944 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
945 d->port.lock.
802ca5a5 946
a4186cff
PT
947 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
948 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
949 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 950
bcf55240
TS
9512012-05-10 Thomas Schwinge <thomas@schwinge.name>
952
6960eb42
TS
953 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
954 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
955 definitions.
956
eb43375f
TS
957 accept4 for GNU Hurd.
958 * include/sys/socket.h (__libc_accept4): New prototype.
959 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
960 to implement __libc_accept4.
961 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
962 __libc_accept4.
963 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
964
bcf55240
TS
965 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
966 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
967 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
968 signal-defines.sym.
969
6178c55b
ST
9702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
971
a4186cff 972 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 973
6f080c2f
TS
9742012-05-10 Thomas Schwinge <thomas@schwinge.name>
975
976 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
977 assertion on O_CLOEXEC flag.
978 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
979 * hurd/intern-fd.c: Likewise.
980 * hurd/port2fd.c: Likewise.
981
bcfe3a54
ST
9822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
983
984 [BZ #3906]
985 * bits/in.h (IPV6_PKTINFO): Define new macro.
986 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
987
89c9aa49
AZ
9882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 [BZ #13954]
991 [BZ #13955]
992 [BZ #13956]
993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
995 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
996 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
998 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
999 * math/libm-test.inc (logb_test) : Additional logb tests.
1000
021db4be
AJ
10012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1002 Andreas Jaeger <aj@suse.de>
1003
1004 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1005 * configure: Regenerated.
1006 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1007 * config.make.in (link-obsolete-rpc): New substituted variable.
1008 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1009 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1010 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1011 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1012 so that libc.a contains the symbols.
1013 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1014 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1015 * sunrpc/auth_none.c: Likewise.
1016 * sunrpc/auth_unix.c: Likewise.
1017 * sunrpc/authdes_prot.c: Likewise.
1018 * sunrpc/authuxprot.c: Likewise.
1019 * sunrpc/clnt_gen.c: Likewise.
1020 * sunrpc/clnt_perr.c: Likewise.
1021 * sunrpc/clnt_raw.c: Likewise.
1022 * sunrpc/clnt_simp.c: Likewise.
1023 * sunrpc/clnt_tcp.c: Likewise.
1024 * sunrpc/clnt_udp.c: Likewise.
1025 * sunrpc/clnt_unix.c: Likewise.
1026 * sunrpc/des_crypt.c: Likewise.
1027 * sunrpc/des_soft.c: Likewise.
1028 * sunrpc/get_myaddr.c: Likewise.
1029 * sunrpc/key_call.c: Likewise.
1030 * sunrpc/key_prot.c: Likewise.
1031 * sunrpc/netname.c: Likewise.
1032 * sunrpc/pm_getmaps.c: Likewise.
1033 * sunrpc/pm_getport.c: Likewise.
1034 * sunrpc/pmap_clnt.c: Likewise.
1035 * sunrpc/pmap_prot.c: Likewise.
1036 * sunrpc/pmap_prot2.c: Likewise.
1037 * sunrpc/pmap_rmt.c: Likewise.
1038 * sunrpc/publickey.c: Likewise.
1039 * sunrpc/rpc_cmsg.c: Likewise.
1040 * sunrpc/rpc_common.c: Likewise.
1041 * sunrpc/rpc_dtable.c: Likewise.
1042 * sunrpc/rpc_prot.c: Likewise.
1043 * sunrpc/rpc_thread.c: Likewise.
1044 * sunrpc/rtime.c: Likewise.
1045 * sunrpc/svc.c: Likewise.
1046 * sunrpc/svc_auth.c: Likewise.
1047 * sunrpc/svc_raw.c: Likewise.
1048 * sunrpc/svc_run.c: Likewise.
1049 * sunrpc/svc_tcp.c: Likewise.
1050 * sunrpc/svc_udp.c: Likewise.
1051 * sunrpc/svc_unix.c: Likewise.
1052 * sunrpc/svcauth_des.c: Likewise.
1053 * sunrpc/xcrypt.c: Likewise.
1054 * sunrpc/xdr.c: Likewise.
1055 * sunrpc/xdr_array.c: Likewise.
1056 * sunrpc/xdr_float.c: Likewise.
1057 * sunrpc/xdr_intXX_t.c: Likewise.
1058 * sunrpc/xdr_mem.c: Likewise.
1059 * sunrpc/xdr_rec.c: Likewise.
1060 * sunrpc/xdr_ref.c: Likewise.
1061 * sunrpc/xdr_sizeof.c: Likewise.
1062 * sunrpc/xdr_stdio.c: Likewise.
1063
b5c086a2
RM
10642012-05-10 Roland McGrath <roland@hack.frob.com>
1065
1066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1067 change. Update copyright years.
1068
6d74dd09
JM
10692012-05-10 Joseph Myers <joseph@codesourcery.com>
1070
1071 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1072
28e72501
MK
10732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1074 Joseph Myers <joseph@codesourcery.com>
1075 Paul Pluzhnikov <ppluzhnikov@google.com>
1076
1077 [BZ #14012]
1078 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1079 requiring rpcgen.
1080 [cross-compiling] (extra-libs): Likewise.
1081 [cross-compiling] (extra-libs-others): Likewise.
1082 [cross-compiling] (librpcsvc-routines): Likewise.
1083 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1084 [cross-compiling] (omit-deps): Likewise.
1085 (sunrpc-CPPFLAGS): New variable.
1086 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1087 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1088 (cross-rpcgen-objs): New variable.
1089 (extra-objs): Append $(cross-rpcgen-objs).
1090 ($(cross-rpcgen-objs)): New rule.
1091 ($(objpfx)cross-rpcgen): Likewise.
1092 (rpcgen-cmd): Define to use $(built-program-file). Expand
1093 comment.
1094 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1095 ($(objpfx)x%.stmp): Likewise.
1096 * sunrpc/proto.h [IS_IN_build] (_): Define.
1097 [IS_IN_build] (_libc_intl_domainname): Likewise.
1098
c8c59454
L
10992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1102 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1103 and R_X86_64_TPOFF64.
1104
6f27cd16
JM
11052012-05-10 Joseph Myers <joseph@codesourcery.com>
1106
1107 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1108 sysdeps/unix/sysv/syscalls.list.
1109 (stime): Likewise.
1110 (utime): Likewise.
1111 * sysdeps/unix/sysv/syscalls.list: Remove file.
1112
02467e1c
PE
11132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1114
1115 [BZ #3440]
1116 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1117 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1118 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1119 (__LC_IDENTIFICATION): Make these macros useful in #if
1120 expressions, as required by C99.
1121
da392631
AS
11222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1123
1124 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1125 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1126 after this.
1127
8115f29b
L
11282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * stdlib/longlong.h: Updated from GCC.
1131
bdd74070
AJ
11322012-05-09 Andreas Jaeger <aj@suse.de>
1133
edfe0dbe
AJ
1134 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1135 default is first entry.
1136 (run_mode): Set type.
1137 (main): Remove informal message about syslog.
1138 (options): Fix typo.
1139
bcfe3a54
ST
1140 [BZ #14053]
1141 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1142 to asm.
bcfe3a54
ST
1143 (lrint): Likewise.
1144 (llrintf): Likewise.
1145 (llrint): Likewise.
1146 (rint): Likewise.
1147 (rintf): Likewise.
1148 (nearbyint): Likewise.
1149 (nearbyintf): Likewise.
bdd74070 1150
91d8d69e
AJ
11512012-05-09 Andreas Jaeger <aj@suse.de>
1152 Pedro Alves <palves@redhat.com>
1153
1154 * nscd/nscd.c (run_mode): Use enum.
1155 (main): Cleanup coding style issue.
1156
bb90b80b
AJ
11572012-05-09 Alexandre Oliva <aoliva@redhat.com>
1158 Andreas Jaeger <aj@suse.de>
1159
bcfe3a54
ST
1160 * nscd/nscd.c (go_background): Replaced with...
1161 (run_mode): ... this.
bb90b80b 1162 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1163 (options): Add -F --foreground.
1164 (main): Implement it.
1165 (parse_opt): Parse it.
bb90b80b 1166
1a4b75a1
AJ
11672012-05-09 Andreas Jaeger <aj@suse.de>
1168
1169 [BZ #14083]
1170 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1171 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1172 -Wconversion warning.
1173 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1174 Likewise.
1175
b1cc2472
JM
11762012-05-09 Joseph Myers <joseph@codesourcery.com>
1177
1178 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1179 == 0.
1180 (LC_ALL): Use macro-int-constant.
1181 (LC_COLLATE): Likewise.
1182 (LC_CTYPE): Likewise.
1183 (LC_MESSAGES): Likewise.
1184 (LC_MONETARY): Likewise.
1185 (LC_NUMERIC): Likewise.
1186 (LC_TIME): Likewise.
1187 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1188 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1190 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1191 Specify type.
1192 [C99-based standards] (float_t): Expect type.
1193 [C99-based standards] (double_t): Expect type.
1194 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1195 type.
1196 [C99-based standards] (HUGE_VALL): Likewise.
1197 [C99-based standards] (INFINITY): Likewise.
1198 [C99-based standards] (NAN): Likewise.
1199 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1200 [C99-based standards] (FP_NAN): Likewise.
1201 [C99-based standards] (FP_NORMAL): Likewise.
1202 [C99-based standards] (FP_SUBNORMAL): Likewise.
1203 [C99-based standards] (FP_ZERO): Likewise.
1204 [C99-based standards] (FP_FAST_FMA): Use
1205 optional-macro-int-constant. Specify type. Require == 1.
1206 [C99-based standards] (FP_FAST_FMAF): Likewise.
1207 [C99-based standards] (FP_FAST_FMAL): Likewise.
1208 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1209 [C99-based standards] (FP_ILOGBNAN): Likewise.
1210 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1211 Specify type.
1212 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1213 [C99-based standards] (math_errhandling): Specify type.
1214 [ISO99 || ISO11] (signgam): Do not allow.
1215 [non-C99-based standards] (copysignf): Do not allow.
1216 [non-C99-based standards] (exp2f): Likewise.
1217 [non-C99-based standards] (log2f): Likewise.
1218 [non-C99-based standards] (modff): Allow.
1219 [non-C99-based standards] (erff): Do not allow.
1220 [non-C99-based standards] (erfcf): Likewise.
1221 [non-C99-based standards] (gammaf): Likewise.
1222 [non-C99-based standards] (hypotf): Likewise.
1223 [non-C99-based standards] (j0f): Likewise.
1224 [non-C99-based standards] (j1f): Likewise.
1225 [non-C99-based standards] (jnf): Likewise.
1226 [non-C99-based standards] (lgammaf): Likewise.
1227 [non-C99-based standards] (tgammaf): Likewise.
1228 [non-C99-based standards] (y0f): Likewise.
1229 [non-C99-based standards] (y1f): Likewise.
1230 [non-C99-based standards] (ynf): Likewise.
1231 [non-C99-based standards] (isnanf): Likewise.
1232 [non-C99-based standards] (acoshf): Likewise.
1233 [non-C99-based standards] (asinhf): Likewise.
1234 [non-C99-based standards] (atanhf): Likewise.
1235 [non-C99-based standards] (cbrtf): Likewise.
1236 [non-C99-based standards] (expm1f): Likewise.
1237 [non-C99-based standards] (ilogbf): Likewise.
1238 [non-C99-based standards] (log1pf): Likewise.
1239 [non-C99-based standards] (logbf): Likewise.
1240 [non-C99-based standards] (nextafterf): Likewise.
1241 [non-C99-based standards] (remainderf): Likewise.
1242 [non-C99-based standards] (rintf): Likewise.
1243 [non-C99-based standards] (scalbf): Likewise.
1244 [non-C99-based standards] (copysignl): Likewise.
1245 [non-C99-based standards] (exp2l): Likewise.
1246 [non-C99-based standards] (log2l): Likewise.
1247 [non-C99-based standards] (modfl): Allow.
1248 [non-C99-based standards] (erfl): Do not allow.
1249 [non-C99-based standards] (erfcl): Likewise.
1250 [non-C99-based standards] (gammal): Likewise.
1251 [non-C99-based standards] (hypotl): Likewise.
1252 [non-C99-based standards] (j0l): Likewise.
1253 [non-C99-based standards] (j1l): Likewise.
1254 [non-C99-based standards] (jnl): Likewise.
1255 [non-C99-based standards] (lgammal): Likewise.
1256 [non-C99-based standards] (tgammal): Likewise.
1257 [non-C99-based standards] (y0l): Likewise.
1258 [non-C99-based standards] (y1l): Likewise.
1259 [non-C99-based standards] (ynl): Likewise.
1260 [non-C99-based standards] (isnanl): Likewise.
1261 [non-C99-based standards] (acoshl): Likewise.
1262 [non-C99-based standards] (asinhl): Likewise.
1263 [non-C99-based standards] (atanhl): Likewise.
1264 [non-C99-based standards] (cbrtl): Likewise.
1265 [non-C99-based standards] (expm1l): Likewise.
1266 [non-C99-based standards] (ilogbl): Likewise.
1267 [non-C99-based standards] (log1pl): Likewise.
1268 [non-C99-based standards] (logbl): Likewise.
1269 [non-C99-based standards] (nextafterl): Likewise.
1270 [non-C99-based standards] (remainderl): Likewise.
1271 [non-C99-based standards] (rintl): Likewise.
1272 [non-C99-based standards] (scalbl): Likewise.
1273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1274 [non-C99-based standards] (FP_*): Do not allow.
1275 [C99-based standards] (FP_*): Change to
1276 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1277 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1278 allow.
1279 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1280 (SIG_ERR): Likewise.
1281 [X/Open-based standards] (SIG_HOLD): Likewise.
1282 (SIG_IGN): Likewise.
1283 (SIGABRT): Use macro-int-constant. Specify type. Require
1284 positive value.
1285 (SIGFPE): Likewise.
1286 (SIGILL): Likewise.
1287 (SIGINT): Likewise.
1288 (SIGSEGV): Likewise.
1289 (SIGTER): Likewise.
1290 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1291 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1292 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1293 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1294 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1295 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1296 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1297 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1298 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1299 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1300 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1301 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1303 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1305 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1308 [X/Open-based standards] (SIGTRAP): Likewise.
1309 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1310 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1311 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1312 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1313 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1314 allow.
1315
b9f1922d
IW
13162012-05-08 Ian Wienand <ianw@vmware.com>
1317
1318 [BZ #14080]
1319 * time/tzset.c (__tzset_parse_tz): Update default rules for
1320 daylight time changes in the Energy Policy Act of 2005.
1321
1db86e88
AJ
13222012-05-09 Andreas Jaeger <aj@suse.de>
1323
1324 [BZ #13983]
1325 * elf/ldconfig.c (parse_conf): Change string to make clear that
1326 ldconfig only issued a warning if ld.so.conf does not exist.
1327
dee4a4e3
DM
13282012-05-08 David S. Miller <davem@davemloft.net>
1329
ee0db190
DM
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1331 movxtod instead of popping the value on the stack.
1332
dee4a4e3
DM
1333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1334
6a43ec98
CD
13352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1336
1337 * config.h.in: Add HAVE_ARM_PCS_VFP.
1338
05c2c961
RMG
13392012-05-08 Roland Mc Grath <roland@hack.frob.com>
1340
bcfe3a54
ST
1341 [BZ #13979]
1342 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1343 checking but the checks are disabled for any reason.
05c2c961 1344
4b30f61a
L
13452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1348 and ELF64_R_TYPE with ELFW(R_TYPE).
1349
eee2bc67
JM
13502012-05-08 Joseph Myers <joseph@codesourcery.com>
1351
7ea5391a
JM
1352 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1353 (ulimit): Likewise.
1354
eee2bc67
JM
1355 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1356 (settimeofday): Likewise.
1357
abb66a67
MF
13582012-05-08 Mike Frysinger <vapier@gentoo.org>
1359
1360 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1361 a struct th_u2 inside the union, and move tu_block/tu_code into
1362 a new th_u3 union of tu_block/tu_code inside of that. Move
1363 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1364 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1365 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1366 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1367 (th_stuff): Change to th_u1.tu_stuff.
1368 (th_data): Define.
1369 (th_msg): Change to th_u1.th_u2.tu_data.
1370
7f18b530
DM
13712012-05-07 David S. Miller <davem@davemloft.net>
1372
05760585
DM
1373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1374
7f18b530
DM
1375 [BZ #14074]
1376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1377 (SETUP_PIC_REG): Use it.
1378 (SETUP_PIC_REG_LEAF): Use it.
1379
495fd99f
JM
13802012-05-07 Joseph Myers <joseph@codesourcery.com>
1381
1382 [BZ #13885]
1383 [BZ #13923]
1384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1385 USE_AS_EXPM1L.
1386 (EXPL_FINITE): Likewise.
1387 (FLDLOG): Likewise.
1388 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1389 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1390 e_expl.S.
1391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1392 USE_AS_EXPM1L.
1393 (EXPL_FINITE): Likewise.
1394 (FLDLOG): Likewise.
1395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1396 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1397 e_expl.S.
1398 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1399 test of -max_value argument for long double.
1400 * sysdeps/i386/fpu/libm-test-ulps: Update.
1401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1402
6693d694
DM
14032012-05-06 David S. Miller <davem@davemloft.net>
1404
1405 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1406 quad soft-float symbols whose references which are compiler
1407 generated.
1408 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1409
6c23e11c
JM
14102012-05-06 Joseph Myers <joseph@codesourcery.com>
1411
d8b82cad
JM
1412 [BZ #13884]
1413 [BZ #13914]
1414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1415 USE_AS_EXP10L.
1416 (EXPL_FINITE): Likewise.
1417 (FLDLOG): Likewise.
1418 (c0): Likewise.
1419 (c1): Likewise.
1420 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1421 Adjust comments for base varying.
1422 (__expl_finite): Change alias to EXPL_FINITE.
1423 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1424 e_expl.S.
1425 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1426 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1427 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1428 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1430 USE_AS_EXP10L.
1431 (EXPL_FINITE): Likewise.
1432 (FLDLOG): Likewise.
1433 (c0): Likewise.
1434 (c1): Likewise.
1435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1436 Adjust comments for base varying.
1437 (__expl_finite): Change alias to EXPL_FINITE.
1438 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1439 tests for bugs.
1440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1441
6c23e11c
JM
1442 [BZ #14064]
1443 * math/libm-test.inc (check_float_internal): Correct ulp
1444 calculation for subnormal expected results.
1445
29ba805c
AJ
14462012-05-06 Andreas Jaeger <aj@suse.de>
1447
1448 * Makeconfig (+math-flags): New, set to -frounding-math.
1449 (+cflags): Add +math-flags so that all of glibc gets compiled with
1450 it.
1451
1452 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1453
7b17aeda
JM
14542012-05-05 Joseph Myers <joseph@codesourcery.com>
1455
5779f134
JM
1456 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1457 Disable one test.
1458
41498f4d
JM
1459 [BZ #13787]
1460 [BZ #13922]
1461 [BZ #14036]
1462 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1463 (__ieee754_expl): Allow for and saturate large arguments.
1464 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1465 (u_threshold): Likewise.
1466 (__exp): Call __ieee754_exp before checking for overflow and
1467 underflow.
1468 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1469 (u_threshold): Likewise.
1470 (__expf): Call __ieee754_expf before checking for overflow and
1471 underflow.
1472 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1473 (u_threshold): Likewise.
1474 (__expl): Call __ieee754_expl before checking for overflow and
1475 underflow.
1476 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1477 (__ieee754_expl): Allow for and saturate large arguments.
1478 * math/libm-test.inc (exp_test): Add another test. Do not allow
1479 missing overflow exception on overflow.
1480 (expm1_test): Do not allow missing overflow exception on overflow.
1481
6698b8bf
JM
1482 * sysdeps/i386/fpu/e_expl.c: Move to ...
1483 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1484 rather than using inline asm.
1485 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1486 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1487 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1488
7b17aeda
JM
1489 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1490 (nice): Likewise.
1491 (poll): Likewise.
1492 (signal): Likewise.
1493 (time): Likewise.
1494 (times): Likewise.
1495
f7c85819
JM
14962012-05-04 Joseph Myers <joseph@codesourcery.com>
1497
1498 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1499 sysdeps/unix/common/syscalls.list.
1500 (fchmod): Likewise.
1501 (fchown): Likewise.
1502 (ftruncate): Likewise.
1503 (getrusage): Likewise.
1504 (gettimeofday): Likewise.
1505 (setpgid): Likewise.
1506 (setregid): Likewise.
1507 (setreuid): Likewise.
1508 (sigaction): Likewise.
1509 (truncate): Likewise.
1510 (vhangup): Likewise.
1511 * sysdeps/unix/common/syscalls.list: Remove file.
1512 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1513 * sysdeps/unix/sysv/linux/Implies: Likewise.
1514
336270d0
L
15152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1516
1517 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1519 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1520 Moved to ...
1521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1522 Here.
1523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1524 to ...
1525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1527 to ...
1528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1529 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1530 to ...
1531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1532 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1533 to ...
1534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1536 to ...
1537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1538 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1539 to ...
1540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1541 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1542 to ...
1543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1544 Here.
1545 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1546 to ...
1547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1548 Here.
1549 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1550 to ...
1551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1552 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1553 Moved to ...
1554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1555 Here.
1556 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1557 to ...
1558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1559
d128e450
JM
15602012-05-04 Joseph Myers <joseph@codesourcery.com>
1561
fa8ee516
JM
1562 * sysdeps/unix/common/bits/dirent.h: Remove file.
1563 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1564
d128e450
JM
1565 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1566 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1567 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1568 * sysdeps/unix/bsd/isatty.c: Likewise.
1569 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1570 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1571 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1572
ff8faaf0 15732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1574
62881be4 1575 [BZ #13563]
31dc8730
AZ
1576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1577 long double comparison inaccuracies.
1578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1580
6fef930c
AS
15812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1582
1583 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1585
8f203e6c
JM
15862012-05-04 Joseph Myers <joseph@codesourcery.com>
1587
1588 [BZ #14049]
1589 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1590 nonzero digits before rounding a hex value.
1591 * stdlib/tst-strtod.c (tests): Add another test.
1592
5197d9c2
AK
15932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1594
1595 * sysdeps/s390/fpu/libm-test-ulps: Update.
1596
f0c1dedf
AJ
15972012-05-03 Andreas Jaeger <aj@suse.de>
1598
1599 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1600 does not get optimized out.
1601 (malloc_opt_barrier): New.
1602
a65ef2ae 16032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1604 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1605
2b942cb7 1606 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1607 intermediate file deletion.
2b942cb7 1608 (generated): Add .symlist files.
a65ef2ae 1609
54b71e02
JM
16102012-05-03 Joseph Myers <joseph@codesourcery.com>
1611
1612 [BZ #13775]
1613 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1614 Redirect under this condition.
1615 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1616 [__USE_GNU] (__dprintf_chk): Not under this condition.
1617 [__USE_GNU] (__vdprintf_chk): Likewise.
1618 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1619 under this condition.
1620 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1621 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1622 [__USE_XOPEN2K8] (vdprintf): Likewise.
1623 [__USE_GNU] (__dprintf_chk): Not under this condition.
1624 [__USE_GNU] (__vdprintf_chk): Likewise.
1625 [__USE_GNU] (dprintf): Likewise.
1626 [__USE_GNU] (vdprintf): Likewise.
1627
d3dfcc41
RM
16282012-05-03 Roland McGrath <roland@hack.frob.com>
1629
1630 * elf/Makefile (common-generated): Set this instead of generated for
1631 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1632 $(all-built-dso)-derived lists.
1633
7ac30cc5
AJ
16342012-05-03 Andreas Jaeger <aj@suse.de>
1635
0c51e550
AJ
1636 * sysdeps/i386/fpu/libm-test-ulps: Update.
1637
7ac30cc5
AJ
1638 * FAQ: Removed.
1639 * FAQ.in: Likewise.
1640 * scripts/gen-FAQ.pl: Likewise.
1641 * manual/install.texi (Installation): Point to online location of
1642 FAQ.
1643 * Makefile (files-for-dist): Remove FAQ.
1644 (FAQ): Remove.
1645
d4c2917f
AM
16462012-05-02 Allan McRae <allan@archlinux.org>
1647
1648 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1649 (LDFLAGS-reldepmod5.so): Likewise.
1650 (LDFLAGS-reldep6mod1.so): Likewise.
1651 (LDFLAGS-reldep6mod4.so): Likewise.
1652 (LDFLAGS-reldep8mod3.so): Likewise.
1653 (LDFLAGS-unload4mod1.so): Likewise.
1654 (LDFLAGS-unload4mod2.so): Likewise.
1655 (LDFLAGS-tst-initorder): Likewise.
1656 (LDFLAGS-tst-initordera2.so): Likewise.
1657 (LDFLAGS-tst-initordera3.so): Likewise.
1658 (LDFLAGS-tst-initordera4.so): Likewise.
1659 (LDFLAGS-tst-initorderb2.so): Likewise.
1660 (LDFLAGS-noload): Likewise.
1661 (LDFLAGS-next): Likewise.
1662 (LDFLAGS-order2mod1.so): Likewise.
1663 (LDFLAGS-order2mod2.so): Likewise.
1664 (LDFLAGS-tst-initorder2): Likewise.
1665 (LDFLAGS-tst-initorder2a.so): Likewise.
1666 (LDFLAGS-tst-initorder2b.so): Likewise.
1667 (LDFLAGS-tst-initorder2c.so): Likewise.
1668 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1669
d77f993f
DM
16702012-05-02 David S. Miller <davem@davemloft.net>
1671
1672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1673
171a70b4
PP
16742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1675
1676 [BZ #14055]
1677 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1678
0be196ad
AJ
16792012-05-02 Andreas Jaeger <aj@suse.de>
1680
1681 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1682 since we manipulate rounding mode.
1683 (CPPFLAGS-test-idouble.c): Likewise.
1684 (CPPFLAGS-test-ifloat.c): Likewise.
1685 (CFLAGS-test-ldouble.c): Likewise.
1686 (CFLAGS-test-double.c): Likewise.
1687 (CFLAGS-test-float.c): Likewise.
1688 (CFLAGS-test-misc.c): Likewise.
1689 (CFLAGS-test-test-fenv.c): Likewise.
1690
4f9d04aa
AZ
16912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692
2b942cb7
RM
1693 [BZ #2550]
1694 [BZ #2570]
1695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1696 comparisons to determine direction to adjust input.
4f9d04aa 1697
82a79e7d
RM
16982012-05-01 Roland McGrath <roland@hack.frob.com>
1699
f5a01ca9
RM
1700 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1701 output to the target.
1702
90fe4186
RM
1703 * scripts/localplt.awk: New file.
1704 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1705 (check-localplt-CFLAGS): Variable removed.
1706 ($(all-built-dso:=.jmprel)): New static pattern rule.
1707 (generated): Add those targets.
1708 (localplt-built-dso): New variable.
1709 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1710
1711 * elf/check-localplt.c: File removed.
1712
82397ed6
RM
1713 * scripts/check-execstack.awk: New file.
1714 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1715 (check-execstack-CFLAGS): Variable removed.
1716 ($(objpfx)check-execstack.h): Target removed.
1717 ($(objpfx)execstack-default): New target.
1718 (generated): Add that instead of check-execstack.h.
1719 ($(all-built-dso:=.phdr)): New static pattern rule.
1720 (generated): Add those targets.
1721 * elf/check-execstack.c: File removed.
1722
82a79e7d
RM
1723 * scripts/check-textrel.awk: New file.
1724 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1725 (check-textrel-CFLAGS): Variable removed.
1726 (all-built-dso): Use := to define.o
1727 ($(all-built-dso:=.dyn)): New static pattern rule.
1728 (generated): Add those targets.
1729 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1730 * config.make.in (READELF): New substituted variable.
1731 * elf/check-textrel.c: File removed.
1732
62fde54f 17332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1734
615605c9
JM
1735 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1736 allow.
1737 * conform/data/ctype.h-data [C99-based standards] (isblank):
1738 Expect function.
1739 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1740 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1742 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1743 Specify type. Require positive value.
1744 (EILSEQ): Likewise.
1745 (ERANGE): Likewise.
1746 [ISO || POSIX] (EILSEQ): Do not expect.
1747 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1748 Specify type. Require positive value.
1749 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1778 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1780 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1781 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1787 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1823 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1824 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1825 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1826 Require >= 2.
1827 (FLT_ROUNDS): Expect as macro, not constant.
1828 (FLT_MANT_DIG): Use macro-int-constant.
1829 (DBL_MANT_DIG): Likewise.
1830 (LDBL_MANT_DIG): Likewise.
1831 (FLT_DIG): Likewise.
1832 (DBL_DIG): Likewise.
1833 (LDBL_DIG): Likewise.
1834 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1835 (DBL_MIN_EXP): Likewise.
1836 (LDBL_MIN_EXP): Likewise.
1837 (FLT_MAX_EXP): Use macro-int-constant.
1838 (DBL_MAX_EXP): Likewise.
1839 (LDBL_MAX_EXP): Likewise.
1840 (FLT_MAX_10_EXP): Likewise.
1841 (DBL_MAX_10_EXP): Likewise.
1842 (LDBL_MAX_10_EXP): Likewise.
1843 (FLT_MAX): Use macro-constant.
1844 (DBL_MAX): Likewise.
1845 (LDBL_MAX): Likewise.
1846 (FLT_EPSILON): Use macro-constant. Give upper bound.
1847 (DBL_EPSILON): Likewise.
1848 (LDBL_EPSILON): Likewise.
1849 (FLT_MIN): Likewise.
1850 (DBL_MIN): Likewise.
1851 (LDBL_MIN): Likewise.
1852 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1853 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1854 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1855 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1856 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1857 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1858 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1859 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1860 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1861 [ISO11] (FLT_TRUE_MIN): Likewise.
1862 [ISO11] (LDBL_TRUE_MIN): Likewise.
1863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1864 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1865 (SCHAR_MIN): Use macro-int-constant. Specify type.
1866 (SCHAR_MAX): Likewise.
1867 (UCHAR_MAX): Likewise.
1868 (CHAR_MIN): Likewise.
1869 (CHAR_MAX): Likewise.
1870 (MB_LEN_MAX): Use macro-int-constant.
1871 (SHRT_MIN): Use macro-int-constant. Specify type.
1872 (SHRT_MAX): Likewise.
1873 (USHRT_MAX): Likewise.
1874 (INT_MAX): Likewise.
1875 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1876 bound negative.
1877 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1878 bound with "U".
1879 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1880 bound with "L".
1881 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1882 bound negative. Suffix upper bound with "L".
1883 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1884 bound with "UL".
1885 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1886 Specify type.
1887 [C99-based standards] (LLONG_MAX): Likewise.
1888 [C99-based standards] (ULLONG_MAX): Likewise.
1889 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1890 == 0.
1891 [ISO11] (max_align_t): Require type.
1892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1893
c9140a62
JM
1894 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1895 from $CFLAGS, without defining away __attribute__ calls.
1896 (checknamespace): Use $CFLAGS_namespace.
1897
9af0bf29
JM
1898 * conform/conformtest.pl (@keywords): Only include C99 keywords
1899 for standards based on C99 or C11.
1900
343222a2
JM
1901 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1902 Disable tests.
1903 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1904 UNIX98]: Likewise.
1905
661f8cf0
JM
1906 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1907 usability of symbols in #if.
1908
ee74b9cb
JM
1909 * conform/conformtest.pl: If macro or constant types start
1910 "promoted:", expect the symbol to be of the following type
1911 promoted by the integer promotions.
62fde54f 1912
aafc49b3
JM
1913 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1914 in one place. Also handle "macro-constant".
1915
fefdf574
JM
1916 * conform/conformtest.pl: Only accept expected macro values with
1917 "==". Parse all "macro" lines in one place.
1918 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1919
f2d922fe
JM
1920 * conform/conformtest.pl: Handle braced types on "constant" lines
1921 instead of handling "typed-constant".
1922 * conform/data/signal.h-data: Use "constant" instead of
1923 "typed-constant".
1924
d22956c9
JM
1925 * conform/conformtest.pl: Handle "optional-" at start of lines in
1926 one place rather than duplicating several cases. Handle each
1927 format of "macro" line with initial "optional-".
1928
028e2e38
JM
1929 * conform/conformtest.pl: Only accept expected constant or
1930 optional-constant values with "==". Parse all "constant" lines in
1931 one place. Parse all "optional-constant" lines in one place.
1932 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1933 * conform/data/fmtmsg.h-data: Likewise.
1934 * conform/data/netinet/in.h-data: Likewise.
1935 * conform/data/tar.h-data: Likewise.
1936 * conform/data/limits.h-data: Use "==" form on "constant" and
1937 "optional-constant" lines.
1938
1b8f2850
JM
1939 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1940 Use -std=c99 for XOPEN2K.
1941 (@knownproblems): Remove.
1942 (newtoken): Don't check %isknown.
1943
a05a144b
JM
1944 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1945 Do not expect macro.
1946 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1947 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1948 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1949 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1950 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1951 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1952 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1953 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1954 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1955 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1956 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1957 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1958 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1959 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1967 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1968 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1970 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1971 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1972 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1973 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1974 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1975 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1976 [XPG3] (acosh): Likewise.
1977 [XPG3] (asinh): Likewise.
1978 [XPG3] (atanh): Likewise.
1979 [XPG3] (cbrt): Likewise.
1980 [XPG3] (expm1): Likewise.
1981 [XPG3] (ilogb): Likewise.
1982 [XPG3] (log1p): Likewise.
1983 [XPG3] (logb): Likewise.
1984 [XPG3] (nextafter): Likewise.
1985 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1986 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1987 [XPG3] (remainder): Likewise.
1988 [XPG3] (rint): Likewise.
1989 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1990 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1991 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1992 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1993 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1994 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1995 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1996 [UNIX98 || XOPEN2K] (scalb): Expect.
1997 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1998 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1999 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2000 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2001 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2002 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2003 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2004 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2005 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2006 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2007 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2008 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2009 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2010 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2134
73c5ebe3
JM
2135 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2136 _XOPEN_SOURCE_EXTENDED for XPG4.
2137
39c33b6c
JM
2138 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2139
62fde54f
JM
2140 * Makeconfig (localtime): Remove variable.
2141 (inst_localtime-file): Likewise.
2142
0741d64c
AS
21432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2144
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2146 Update.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2148 Update.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2150 Update.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2152 Update.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2154 Update.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2156 Update.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2158 Update.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2160 Update.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2162 Update.
2163
7cb029ee
JM
21642012-05-01 Joseph Myers <joseph@codesourcery.com>
2165
2166 [BZ #2550]
2167 [BZ #2570]
2168 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2169 comparisons to determine direction to adjust input.
2170 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2171 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2172 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2173 Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2175 Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2177 Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2180 Likewise.
2181 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2182 Likewise.
2183 * math/libm-test.inc (nexttoward_test): Add more tests.
2184
412bd966
AS
21852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2186
2187 [BZ #14040]
2188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2189 in version GLIBC_2.1, not GLIBC_2.0.
2190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2191 Likewise.
2192
9568c0c2
JM
21932012-04-30 Joseph Myers <joseph@codesourcery.com>
2194
adfbc8ac
JM
2195 [BZ #13942]
2196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2197 (1 - x) * (1 + x).
2198 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2199 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2200 * math/libm-test.inc (acos_test): Add more tests.
2201 (asin_test): Likewise.
2202 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204
5ba3cc69
JM
2205 [BZ #14034]
2206 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2207 of square root.
2208 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2209 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2210 * math/libm-test.inc (acos_test_tonearest): New function.
2211 (acos_test_towardzero): Likewise.
2212 (acos_test_downward): Likewise.
2213 (acos_test_upward): Likewise.
2214 (asin_test_tonearest): Likewise.
2215 (asin_test_towardzero): Likewise.
2216 (asin_test_downward): Likewise.
2217 (asin_test_upward): Likewise.
2218 (main): Call the new functions.
2219 * sysdeps/i386/fpu/libm-test-ulps: Update.
2220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2221
9568c0c2
JM
2222 [BZ #13884]
2223 [BZ #13924]
2224 * math/e_exp10.c: Include <float.h>.
2225 (__ieee754_exp10): Handle underflow here rather than multiplying
2226 large negative argument by M_LN10.
2227 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2228 of __ieee754_expf.
2229 * math/e_exp10l.c: Include <float.h>.
2230 (__ieee754_exp10l): Handle underflow here rather than multiplying
2231 large negative argument by M_LN10l.
2232 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2233 spurious overflow exception on underflow.
2234
5ac3ea17
MP
22352012-04-29 Marek Polacek <polacek@redhat.com>
2236
2237 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2238 (__fortify_function): New macro.
2239 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2240 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2241 __extern_always_inline.
2242 * libio/bits/stdio2.h: Likewise.
2243 * libio/bits/stdio.h: Likewise.
2244 * string/string.h: Likewise.
2245 * string/bits/string3.h: Likewise.
2246 * include/stdio.h: Likewise.
2247 * stdlib/bits/stdlib.h: Likewise.
2248 * stdlib/stdlib.h: Likewise.
2249 * rt/bits/mqueue2.h: Likewise.
2250 * rt/mqueue.h: Likewise.
2251 * posix/bits/unistd.h: Likewise.
2252 * posix/unistd.h: Likewise.
2253 * io/bits/poll2.h: Likewise.
2254 * io/bits/fcntl2.h: Likewise.
2255 * io/fcntl.h: Likewise.
2256 * io/sys/poll.h: Likewise.
2257 * misc/bits/syslog.h: Likewise.
2258 * misc/bits/syslog-ldbl.h: Likewise.
2259 * misc/sys/syslog.h: Likewise.
2260 * socket/bits/socket2.h: Likewise.
2261 * socket/sys/socket.h: Likewise.
2262 * debug/tst-chk1.c: Likewise.
2263 * wcsmbs/bits/wchar2.h: Likewise.
2264 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2265 * wcsmbs/wchar.h: Likewise.
2266
ecf0ebfb
AJ
22672012-04-29 Andreas Jaeger <aj@suse.de>
2268
2269 * Makerules (tests): Remove enable-check-abi protection.
2270 (check-abi-warn): Remove.
2271 (check-abi-%): Remove check-abi-warn usage.
2272
2273 * configure.in: Remove check-abi configure option.
2274 * configure: Regenerated.
2275 * config.make.in (enable-check-abi): Remove.
2276
6d5c57fa
AS
22772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2278
24c5d07e 2279 [BZ #14033]
ded5180a
AS
2280 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2281 double functions to double *_finite functions.
2282
7e0d315d
AS
2283 [BZ #13941]
2284 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2285 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2286 LDBL_MIN_EXP.
2287 * stdio-common/Makefile (tests): Add tst-sprintf3.
2288 * stdio-common/tst-sprintf3.c: New file.
2289
6d5c57fa
AS
2290 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2291 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2292
0749ff8b
JM
22932012-04-28 Joseph Myers <joseph@codesourcery.com>
2294
2295 * conform/conformtest.pl: Remove duplicate typed-constant
2296 handling.
2297
8dbd5d7b
DM
22982012-04-28 David S. Miller <davem@davemloft.net>
2299
2300 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2301 (check-abi-%): Remove AWK script prerequisite and explicit
2302 abilist directory.
2303 (check-abi): Rewrite to just diff the symlist with the abilist.
2304 (config-tls, config-abi-config): Delete, no longer used.
2305 (update-abi-%): Remove AWK script and explicit abilist directory.
2306 (update-abi): Rewrite to simply compare and conditionally copy the
2307 symlist and the sysdep abilist file. Remove update-abi-config
2308 checks.
2309 * abilist/ld.abilist: Remove.
2310 * abilist/libBrokenLocale.abilist: Remove.
2311 * abilist/libanl.abilist: Remove.
2312 * abilist/libcrypt.abilist: Remove.
2313 * abilist/libdl.abilist: Remove.
2314 * abilist/librt.abilist: Remove.
2315 * abilist/libthread_db.abilist: Remove.
2316 * abilist/libutil.abilist: Remove.
2317 * scripts/extract-abilist.awk: Remove.
2318 * scripts/merge-abilist.awk: Remove.
2319 * sysdeps/generic/libcidn.abilist: New file.
2320 * sysdeps/generic/libnss_compat.abilist: New file.
2321 * sysdeps/generic/libnss_db.abilist: New file.
2322 * sysdeps/generic/libnss_dns.abilist: New file.
2323 * sysdeps/generic/libnss_files.abilist: New file.
2324 * sysdeps/generic/libnss_hesiod.abilist: New file.
2325 * sysdeps/generic/libnss_nis.abilist: New file.
2326 * sysdeps/generic/libnss_nisplus.abilist: New file.
2327 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2328 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2329 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2330 file.
2331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2333 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2335 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2337 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2338 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2339 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2340 file.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2343 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2345 file.
2346 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2348 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2349 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2351 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2352 file.
2353 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2354 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2356 file.
2357 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2359 New file.
2360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2361 New file.
2362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2363 New file.
2364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2365 New file.
2366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2367 New file.
2368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2369 New file.
2370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2371 New file.
2372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2373 New file.
2374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2375 New file.
2376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2377 New file.
2378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2379 New file.
2380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2381 New file.
2382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2383 New file.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2385 file.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2387 New file.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2389 New file.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2391 file.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2393 New file.
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2395 New file.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2397 file.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2399 New file.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2401 New file.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2403 New file.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2405 New file.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2407 New file.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2409 New file.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2412 file.
2413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2414 New file.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2416 file.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2418 file.
2419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2420 file.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2422 file.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2424 file.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2426 New file.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2428 file.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2430 file.
2431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2432 New file.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2434 file.
2435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2437 file.
2438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2439 New file.
2440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2441 file.
2442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2443 file.
2444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2445 file.
2446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2447 file.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2449 file.
2450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2451 New file.
2452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2453 file.
2454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2455 file.
2456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2457 New file.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2459 file.
2460 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2461 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2462 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2463 file.
2464 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2465 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2466 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2467 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2468 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2469 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2470 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2471 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2472 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2473 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2476 file.
2477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2478 New file.
2479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2480 file.
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2482 file.
2483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2484 file.
2485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2486 file.
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2488 file.
2489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2490 New file.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2492 New file.
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2494 file.
2495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2496 New file.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2498 file.
2499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2501 file.
2502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2503 New file.
2504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2505 file.
2506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2507 file.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2509 file.
2510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2511 file.
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2513 file.
2514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2515 New file.
2516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2517 New file.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2519 file.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2521 New file.
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2523 file.
2524
41d73a1b
JM
25252012-04-28 Joseph Myers <joseph@codesourcery.com>
2526
2527 * conform/conformtest.pl: Fix typo in handling typed-constant from
2528 allow-header.
2529
28aeeda4
JM
25302012-04-27 Joseph Myers <joseph@codesourcery.com>
2531
adae8f5e
JM
2532 * README: Cut down references to pre-2.6 Linux kernels and
2533 Linuxthreads. Update lists of configurations in libc and ports
2534 and sort alphabetically. Say "or newer" with Linux kernel version
2535 requirements.
2536
28aeeda4
JM
2537 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2538
a462cb63
RA
25392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2540
2541 [BZ #887]
2542 * math/libm-test.inc (logb_test_downward): New test to expose
2543 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2544 rounding mode.
2545
6ad3493e
JM
25462012-04-27 Joseph Myers <joseph@codesourcery.com>
2547
2548 [BZ #14027]
2549 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2550 to be done.
2551 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2552 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2553
2ce4f015
JM
25542012-04-26 Joseph Myers <joseph@codesourcery.com>
2555
5aeb141a
JM
2556 * sysdeps/unix/i386/brk.S: Remove file.
2557 * sysdeps/unix/i386/dl-brk.S: Likewise.
2558 * sysdeps/unix/i386/pipe.S: Likewise.
2559 * sysdeps/unix/i386/sigreturn.S: Likewise.
2560 * sysdeps/unix/i386/syscall.S: Likewise.
2561 * sysdeps/unix/i386/vfork.S: Likewise.
2562 * sysdeps/unix/i386/wait.S: Likewise.
2563
7143acae
JM
2564 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2565 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2566
2ce4f015
JM
2567 * configure.in (arm*-none*): Do not allow without
2568 --enable-hacker-mode.
2569 (netbsd*): Remove case setting base_os.
2570 (386bsd*): Likewise.
2571 (freebsd*): Likewise.
2572 (bsdi*): Likewise.
2573 (osf*): Likewise.
2574 (sunos*): Likewise.
2575 (ultrix*): Likewise.
2576 (newsos*): Likewise.
2577 (dynix*): Likewise.
2578 (*bsd*): Likewise.
2579 (sysv*): Likewise.
2580 (isc*): Likewise.
2581 (esix*): Likewise.
2582 (sco*): Likewise.
2583 (minix*): Likewise.
2584 (irix4*): Likewise.
2585 (irix6*): Likewise.
2586 (solaris[2-9]*): Likewise.
2587 (none): Likewise.
2588 * configure: Regenerated.
2589
0ac229c8
AZ
25902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591
2592 [BZ #11521]
2593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2594 overflow or cancellation in calculating denominator.
2595 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2597 down expression to avoid unexpected rounding in newer GCCs.
2598 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2599
33f244f4
DM
26002012-04-26 David S. Miller <davem@davemloft.net>
2601
2602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2603 long-double compat symbols.
2604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2617
cfa1f3e8
DM
26182012-04-25 David S. Miller <davem@davemloft.net>
2619
2620 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2621 HWCAP_* values only after the memory barriers have been defined.
2622 (atomic_full_barrier): Define.
2623 (atomic_read_barrier): Define.
2624 (atomic_write_barrier): Define.
2625
6e236b92
SP
26262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2627
2628 * shlib-versions: Add libgcc_s version information.
2629 * sysdeps/generic/libgcc_s.h: Remove.
2630 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2631 libgcc_s.h.
2632 * sysdeps/gnu/unwind-resume.c: Likewise.
2633 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2634
aab39a09
DM
26352012-04-25 David S. Miller <davem@davemloft.net>
2636
2637 * sysdeps/unix/sparc/brk.S: Delete.
2638 * sysdeps/unix/sparc/dl-brk.S: Delete.
2639 * sysdeps/unix/sparc/pipe.S: Delete.
2640 * sysdeps/unix/sparc/sysdep.S: Delete.
2641 * sysdeps/unix/sparc/sysdep.h: Delete.
2642 * sysdeps/unix/sparc/vfork.S: Delete.
2643 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2644 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2646 ret_ERRVAL, r0, r1, MOVE): Define.
2647 (JUMPTARGET): Remove.
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2649 sysdeps/unix/sparc/sysdep.h
2650 (ENTRY, END): Remove.
2651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2652
a3cc4f48
JM
26532012-04-25 Joseph Myers <joseph@codesourcery.com>
2654
2ed8cda2
JM
2655 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2656 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2657 -DIS_IN_build.
2658
35d76d59
JM
2659 * timezone/README: Update upstream location and email address for
2660 tzcode and tzdata.
2661 * timezone/zdump.c: Update from tzcode 2012b.
2662 * timezone/zic.c: Likewise.
2663
a3cc4f48
JM
2664 * configure.in (libc_cv_as_needed): Remove test.
2665 * configure: Regenerated.
2666 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2667 conditional definition.
2668 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2669 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2670 * config.make.in (have-as-needed): Remove variable.
2671
ceab42c3
SP
26722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2673 Paul Pluzhnikov <ppluzhnikov@google.com>
2674
2675 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2676 strings correctly.
2677
3ce2865f
CLT
26782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2679
2680 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2681 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2682 * sysdeps/sh/strlen.S: Likewise.
2683
f37e0d68
JM
26842012-04-24 Joseph Myers <joseph@codesourcery.com>
2685
ae186e9a
JM
2686 * sysdeps/unix/fork.S: Remove file.
2687 * sysdeps/unix/i386/fork.S: Likewise.
2688 * sysdeps/unix/sparc/fork.S: Likewise.
2689
b96914af
JM
2690 * sysdeps/unix/system.c: Remove file.
2691 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2692
f37e0d68
JM
2693 * sysdeps/unix/getegid.S: Remove file.
2694 * sysdeps/unix/geteuid.S: Likewise.
2695
87ef29ca
RM
26962012-04-24 Roland McGrath <roland@hack.frob.com>
2697
83bcd236
RM
2698 * scripts/check-localplt.awk: New file.
2699 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2700 of diff.
2701 * scripts/data/localplt-generic.data: Add a comment.
2702
87ef29ca
RM
2703 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2704 NODE when __dir_mkfile failed.
2705 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2706 Reported by Ludovic Courtès <ludo@gnu.org>.
2707
e5a6e567
AJ
27082012-04-24 Andreas Jaeger <aj@suse.de>
2709
2710 * Makerules (common-clean): Also remove gen-as-const-headers
2711 files.
2712
c1820385
JM
27132012-04-24 Joseph Myers <joseph@codesourcery.com>
2714
2715 * Makerules (native-compile): Do not change working directory for
2716 build. Use $(OUTPUT_OPTION) in command.
2717 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2718
94e02fc4
AZ
27192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720
2721 [BZ #13886]
2722 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2723 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2724 * math/libm-test.inc (floor_test): Add more tests.
2725 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2726
3a533ca3
JM
27272012-04-24 Joseph Myers <joseph@codesourcery.com>
2728
940ab4b3
JM
2729 * sysdeps/unix/getdents.c: Remove file.
2730 * sysdeps/unix/sysv/getdents.c: Likewise.
2731 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2732
90e037bd
JM
2733 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2734 sysdeps/unix/mman/syscalls.list.
2735 (mmap): Likewise.
2736 (mprotect): Likewise.
2737 (msync): Likewise.
2738 (munmap): Likewise.
2739 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2740 * sysdeps/unix/mman/syscalls.list: Remove.
2741 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2742
3a533ca3
JM
2743 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2744 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2745 * configure: Regenerated.
2746 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2747 $(libgcc_s_suffix).
2748 * config.make.in (libgcc_s_suffix): Remove variable.
2749
1ad743de
JM
27502012-04-23 Joseph Myers <joseph@codesourcery.com>
2751
4ad451e2
JM
2752 * sysdeps/unix/sysv/gethostname.c: Move to ...
2753 * sysdeps/posix/gethostname.c: ... here.
2754
5e37ce39
JM
2755 * sysdeps/unix/execve.S: Remove file.
2756
1ad743de
JM
2757 * sysdeps/unix/_exit.S: Remove file.
2758
4e681b5b
AJ
27592012-04-23 Andreas Jaeger <aj@suse.de>
2760
2761 [BZ #13739]
2762 * manual/Makefile: Remove make dist support, there's no
2763 need for a stand-alone documentation tar ball.
2764 (TEXI2DVI): Define always, it's not in Makeconfig.
2765 (dist): Removed.
2766 (tar-it): Removed.
2767 (edition): Removed.
2768 (glibc-doc-$(edition).tar): Removed
2769 (%.Z): Removed.
2770 (%.gz): Removed.
2771 (%.uu): Removed.
2772 (ETAGS): Remove, it's in Makeconfig.
2773 (move-if-change): Remove, it's in Makeconfig.
2774
c0baea34
PE
27752013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2776
2777 [BZ #13970]
2778 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2779 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2780 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2781 (strtod_l, strtof_l, strtold_l): Remove __wur.
2782 It is not necessarily an error to ignore strtol's return value.
2783 One can reliably look at the stored endptr to decide whether
2784 the number had valid syntax.
2785
7c0616fa
AJ
27862012-04-21 Andreas Jaeger <aj@suse.de>
2787
803cb6b7 2788 [BZ #13739]
7c0616fa
AJ
2789 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2790
b0fe253f
JM
27912012-04-21 Joseph Myers <joseph@codesourcery.com>
2792
2793 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2794 * sysdeps/unix/sysv/Versions: Remove file.
2795
8280f22d
MT
27962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2797
2798 [BZ #13927]
2799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2800
75ce411f 28012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2802
2803 [BZ #7064]
2804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2805 version from __vm86.
2806
097d59fa
JM
28072012-04-20 Joseph Myers <joseph@codesourcery.com>
2808
a90f3bcb
JM
2809 * sysdeps/unix/common/lxstat.c: Remove file.
2810 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2811
edc7ea78
JM
2812 * sysdeps/unix/sysv/Makefile: Remove file.
2813
cb78c221
JM
2814 * sysdeps/unix/sysv/direct.h: Remove file.
2815
efa6a45f
JM
2816 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2817 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2818 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2819 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2820 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2821 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2822 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2823
9c9f2d0c
JM
2824 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2825
4541c83b
JM
2826 * sysdeps/unix/xmknod.c: Remove file.
2827 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2828
f5d153a0
JM
2829 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2830
aa746595
JM
2831 * sysdeps/unix/sysv/i386/time.S: Remove file.
2832
cce5905e
JM
2833 * sysdeps/unix/fxstat.c: Remove file.
2834 * sysdeps/unix/xstat.c: Likewise.
2835 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2836
37fa3841
JM
2837 * sysdeps/unix/sysv/sigaction.c: Remove file.
2838
ff1962a3
JM
2839 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2840 (sysdep_headers): Remove variable.
2841 [termio.h not in sysdep_headers] (generated): Likewise.
2842 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2843 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2844 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2845 * sysdeps/unix/sysv/tcflow.c: Likewise.
2846 * sysdeps/unix/sysv/tcflush.c: Likewise.
2847 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2848 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2849 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2850 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2851 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2852
e7740d31
JM
2853 * sysdeps/unix/siglist.c: Remove file.
2854
ee06f18b
JM
2855 * sysdeps/unix/getppid.S: Remove file.
2856
097d59fa
JM
2857 * sysdeps/unix/mkdir.c: Remove file.
2858 * sysdeps/unix/rmdir.c: Likewise.
2859
ff3d51ec
AS
28602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2861
2862 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2863 ERR_MAX value.
2864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2865 errlist-compat value.
2866
50f81fd7
DM
28672012-04-18 David S. Miller <davem@davemloft.net>
2868
2869 * sysdeps/generic/memcopy.h (reg_char): Delete.
2870 * debug/strcat_chk.c: Use char, not reg_char.
2871 * debug/strcpy_chk.c: Likewise.
2872 * debug/strncat_chk.c: Likewise.
2873 * debug/strncpy_chk.c: Likewise.
2874 * string/memchr.c: Likewise.
2875 * string/memrchr.c: Likewise.
2876 * string/rawmemchr.c: Likewise.
2877 * string/strcat.c: Likewise.
2878 * string/strchr.c: Likewise.
2879 * string/strchrnul.c: Likewise.
2880 * string/strcmp.c: Likewise.
2881 * string/strcpy.c: Likewise.
2882 * string/strncat.c: Likewise.
2883 * string/strncmp.c: Likewise.
2884 * string/strncpy.c: Likewise.
2885
8ff41c46
WS
28862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2887
2888 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2889 __builtin_memcopy is called when src and dest ranges are known to not
2890 overlap.
2891
6b652f46
WS
28922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2893
2894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2895 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2896 fwd_align_merge macro call.
2897 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2898 bwd_align_merge macro call.
2899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2900
b282631e
WS
29012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2904 bwd_align_merge macros.
2905 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2906 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2908
95aa737c
DM
29092012-04-18 David S. Miller <davem@davemloft.net>
2910
2911 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2912
7a99a614
AJ
29132012-04-18 Andreas Jaeger <aj@suse.de>
2914
2915 [BZ# 6794]
2916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2917 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2919
2920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2921 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2923
2924 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2925 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2926 Adjust for changed ldbl-128 files.
2927
2928 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2929 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2931
e5270c23
DM
29322012-04-17 David S. Miller <davem@davemloft.net>
2933
2934 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2935
fb5e92c9
AS
29362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2937
2938 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2939 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2940 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2941 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2942 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2943 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2944
76da7265
AZ
29452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2946
2947 [BZ #6794]
2948 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2949 * math/libm-test.inc: Add ilogb errno and exception tests.
2950 * math/w_ilogb.c: New file: ilogb wrapper.
2951 * math/w_ilogbf.c: New file: ilogbf wrapper.
2952 * math/w_ilogbl.c: New file: ilogbl wrapper.
2953 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2954 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2955 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2956 exception being thrown with 0.0 as argument.
2957 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2958 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2959 exception being thrown with 0.0 as argument.
2960 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2961 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2962 exception being thrown with 0.0 as argument.
2963 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2964 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2965 exception being thrown with 0.0 as argument.
2966 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2967 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2968 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2969 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2971 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2972 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2973 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2974 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2975
0396e69d
PB
29762012-04-17 Petr Baudis <pasky@ucw.cz>
2977
2978 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2979 with altivec.
2980
750b5926
MP
29812012-04-16 Marek Polacek <polacek@redhat.com>
2982
2983 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2984
751728a1
MP
29852012-04-16 Marek Polacek <polacek@redhat.com>
2986
2987 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2988 operands of fdivp instruction.
2989
34a27407
L
29902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2993 * elf/tst-auditmod3b.c: Likewise.
2994 * elf/tst-auditmod4b.c: Likewise.
2995 * elf/tst-auditmod5b.c: Likewise.
2996 * elf/tst-auditmod6b.c: Likewise.
2997 * elf/tst-auditmod6c.c: Likewise.
2998 * elf/tst-auditmod7b.c: Likewise.
2999 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3000 * sysdeps/x86_64/preconfigure.in: Likewise.
3001 * sysdeps/x86_64/preconfigure: Regenerated.
3002
7e73e17d
L
30032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3006 __ILP32__.
3007
c7a6ab72
AB
30082012-04-13 Antoine Balestrat <merkil33@gmail.com>
3009
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3011 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3012
a9e8e0e0
CL
30132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3014
3015 [BZ #13973]
3016 * locale/iso-639.def: Fix gl language name. Spotted by
3017 Yaron Shahrabani.
3018
ec98af7d
RM
30192012-04-12 Roland McGrath <roland@hack.frob.com>
3020
3021 [BZ #2074]
3022 * libio/libio.h (__io_write_fn): Update comment.
3023
247c3ede
PB
30242012-04-12 Petr Baudis <pasky@ucw.cz>
3025
3026 [BZ #2074]
3027 * stdio.texi (Hook Functions): The user provided writer function
3028 is not allowed to return -1.
3029
55939d6d
DM
30302012-04-11 David S. Miller <davem@davemloft.net>
3031
3032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3033
90020f5a
MF
30342012-04-11 Mike Frysinger <vapier@gentoo.org>
3035
3036 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3037 Add a leading slash to rtkaio.
3038
288f9098
JM
30392012-04-11 Jim Meyering <meyering@redhat.com>
3040
90020f5a
MF
3041 [BZ #11959]
3042 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3043 It is not necessarily an error to ignore fwrite's return
3044 value. One can reliably use ferror to test for errors after
3045 the fact.
288f9098 3046
4be2b570
L
30472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * bits/types.h (__snseconds_t): New type.
3050 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3051
3052 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3054 (__SNSECONDS_T_TYPE): Likewise.
3055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3056 (__SNSECONDS_T_TYPE): Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3058 (__SNSECONDS_T_TYPE): Likewise.
3059
288f9098 30602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3061
3062 [BZ #2636]
3063 * manual/time.texi (Processor Time): Return type of times is
3064 elapsed real time since an arbitrary point in the past.
3065 (CPU Time): Move CLK_TCK from here...
3066 (Processor Time): ...to here. Correct description.
3067 * manual/conf.texi (Constants for Sysconf): Correct description of
3068 _SC_CLK_TCK.
3069
d7dd4413
DM
30702012-04-10 David S. Miller <davem@davemloft.net>
3071
3072 [BZ #13967]
3073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3074 where the is a gap between DT_REL(A) and DT_JMPREL.
3075
b46068fc
L
30762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3079 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3080 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3081
73d65cc3
SP
30822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3083
3084 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3085 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3086 (dl_main): Handle --inhibit-cache.
3087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3088 _dl_inhibit_cache.
3089 * elf/dl-load.c (_dl_map_object): Use it.
3090 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3091
bcc8d661
JM
30922012-04-09 Joseph Myers <joseph@codesourcery.com>
3093
8f9a2fae
JM
3094 [BZ #13872]
3095 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3096 (__ieee754_powl): Saturate large exponents rather than testing for
3097 overflow of y*log2(x).
3098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3099 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3100 exceptions.
3101
bcc8d661
JM
3102 [BZ #11521]
3103 * math/s_ctan.c: Include <float.h>.
3104 (__ctan): Avoid internal overflow or cancellation in calculating
3105 denominator.
3106 * math/s_ctanf.c: Likewise.
3107 * math/s_ctanl.c: Likewise.
3108 * math/s_ctanh.c: Likewise.
3109 * math/s_ctanhf.c: Likewise.
3110 * math/s_ctanhl.c: Likewise.
3111 * math/libm-test.inc (ctan_test): Add more tests.
3112 (ctanh_test): Likewise.
3113 * sysdeps/i386/fpu/libm-test-ulps: Update.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
823fbbb4
AJ
31162012-04-09 Andreas Jaeger <aj@suse.de>
3117
03879793
AJ
3118 [BZ #6894]
3119 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3120 is an optional BSD extension.
3121
823fbbb4
AJ
3122 [BZ #10254]
3123 * manual/stdio.texi (Opening Streams): Document additional fopen
3124 parameters.
3125
8de131cb
RM
31262012-04-09 Roland McGrath <roland@hack.frob.com>
3127
3128 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3129 %eax without telling the compiler.
3130
c0ed9d7d
CD
31312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3132
3133 [BZ # 13963]
3134 * manual/install.texi: Use sourceware.org.
3135
c483f6b4
JM
31362012-04-09 Joseph Myers <joseph@codesourcery.com>
3137
d7dd9453
JM
3138 [BZ #13873]
3139 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3140 (__ieee754_pow): Generate overflow and underflow using huge*huge
3141 and tiny*tiny rather than just returning constant infinity or zero
3142 for large exponents.
3143 * math/libm-test.inc (pow_test): Require overflow exceptions for
3144 applicable cases of large exponents.
3145
c483f6b4
JM
3146 [BZ #706]
3147 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3148 (__ieee754_pow): Use iterative multiplication algorithm only for
3149 integer exponents with absolute value below 1024. Check for odd
3150 integer exponents when using algorithm for real exponents.
3151 * math/libm-test.inc (pow_test): Add more tests.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3153
d2de7579
JM
31542012-04-08 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #13705]
3157 * math/libm-test.inc (exp_test): Do not allow overflow exception
3158 on underflow test.
3159
f77f1232
AJ
31602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3161
3162 [BZ #13705]
3163 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3164 instead of __kernel_standard_f.
3165
3884932b
MF
31662012-04-08 Mike Frysinger <vapier@gentoo.org>
3167
3168 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3169 * sysdeps/x86_64/memset_chk.S: Likewise.
3170
54472e9c
AJ
31712012-04-08 Andreas Jaeger <aj@suse.de>
3172
6ab0fbfc
AJ
3173 [BZ #10153]
3174 * manual/startup.texi (Environment Access): Describe return value
3175 for putenv and setenv.
3176
61efba8c
AJ
3177 [BZ #6895]
3178 * manual/filesys.texi (Directory Entries): Add description for
3179 DT_LNK.
3180
95c3f29a
AJ
3181 [BZ #6890]
3182 * manual/filesys.texi (Directory Entries): Clarify that it's file
3183 system not operating system in the description of DT_UNKNOWN.
3184
54472e9c
AJ
3185 [BZ #6578]
3186 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3187
624254b1
SC
31882012-04-08 Stephen Compall <s11@member.fsf.org>
3189
3190 [BZ #6649]
3191 * manual/llio.texi (Opening and Closing Files): Add cross
3192 reference to explain mode argument.
3193
1e4920e0
MF
31942012-04-07 Mike Frysinger <vapier@gentoo.org>
3195
3196 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3197 * sysdeps/x86_64/memset_chk.S: Likewise.
3198
5ed848f3
DM
31992012-04-07 David S. Miller <davem@davemloft.net>
3200
3201 * elf/elf.h (R_SPARC_WDISP10): Define.
3202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3203 R_SPARC_SIZE32.
3204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3205 R_SPARC_SIZE64 and R_SPARC_H34.
3206
96154cd8
CD
32072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3208
3209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3210 conditions and remove no longer applicable assertion.
3211
9904dc47
L
32122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3213
3214 * bits/byteswap.h: Include <features.h>.
3215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3217
f8887d0a
L
32182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3219
3220 * bits/byteswap.h (__bswap_16): Removed.
3221 Include <bits/byteswap-16.h> to get __bswap_16.
3222 * sysdeps/i386/bits/byteswap.h: Likewise.
3223 * sysdeps/s390/bits/byteswap.h: Likewise.
3224 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3225 * bits/byteswap-16.h: New file.
3226 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3227 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3228 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3229 * string/Makefile (headers): Add bits/byteswap-16.h.
3230
62470f60
PP
32312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3232
3233 [BZ #13895]
3234 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3235 extra indirection.
3236 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3237 * nss/tst-nss-static.c: New.
3238
4dad7bab
RM
32392012-04-06 Robert Millan <rmh@gnu.org>
3240
3241 [BZ #6486]
3242 * manual/llio.texi (File Position Primitive): lseek
3243 refers to WHENCE when it really means OFFSET.
3244
e9142a17
AJ
32452012-04-06 Andreas Jaeger <aj@suse.de>
3246
2c040eff
AJ
3247 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3248 strncmp declarations.
3249
e9142a17
AJ
3250 * abilist/libc.abilist: Add __poll and __ppoll.
3251
ff9f1c5f
DM
32522012-04-05 David S. Miller <davem@davemloft.net>
3253
dcd2ae90
DM
3254 * scripts/check-local-headers.sh: Accept a host triplet in the
3255 path matched by the exclude regexp.
3256
993eb054
DM
3257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3258 definition.
3259 * sysdeps/powerpc/powerpc32/dl-machine.h
3260 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3261 * sysdeps/s390/s390-32/dl-machine.h
3262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3263 * sysdeps/sparc/sparc32/dl-machine.h
3264 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3265 * sysdeps/sparc/sparc64/dl-machine.h
3266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3267
ff9f1c5f
DM
3268 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3269 lazy binding.
48e2e132 3270 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3271 undefined symbol errors.
3272
48e2e132 3273 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3274 DT_NEEDED entries.
3275
e80d6f94
MM
32762012-04-05 Michael Matz <matz@suse.de>
3277
3278 [BZ #13592]
3279 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3280
349fa79f
AJ
32812012-04-05 Andreas Jaeger <aj@suse.de>
3282
3283 [BZ #13908]
3284 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3285 comment.
3286
f402708f
KK
32872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3288
3289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3290 which ROUND is no valid rounding mode.
3291
2ecccfc9
KK
32922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3293
3294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3295 read again.
3296 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3297
8a53f50f
KK
32982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3299
3300 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3301 an exception using FPU order intentionally.
3302
33032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3304
3305 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3306 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3307 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3308 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3309
d653abb7
SJ
33102012-04-05 Simon Josefsson <simon@josefsson.org>
3311
3312 [BZ #12340]
3313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3314 EINVAL when BUFLEN is too smal.
3315
c3b1bf7d
TS
33162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3317
3318 [BZ #13553]
3319 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3320 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3321
b1aa60f3
AJ
33222012-04-03 Andreas Jaeger <aj@suse.de>
3323
c3b1bf7d 3324 [BZ #13938]
67f60a26
AJ
3325 * manual/setjmp.texi (System V contexts): Fix sentence.
3326
b1aa60f3
AJ
3327 [BZ #13926]
3328 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3329 New macro for this case.
3330 [!__GNUC__] (__bswap_64): New inline function for this case.
3331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3332 * bits/byteswap.h: Likewise.
3333 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3334 ull, guard with __GLIBC_HAVE_LONG_LONG.
3335
3336 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3337 __GLIBC_HAVE_LONG_LONG.
3338
3339 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3340 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3341
39c59c35
TMQMF
33422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3343
3344 [BZ #13691]
3345 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3346 inptr and inend, rather than using last_ch.
3347
135ffda8
DM
33482012-04-02 David S. Miller <davem@davemloft.net>
3349
3350 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3351 * stdio-common/printf-parse.h (read_int): Change return type to
3352 'int', return -1 on INT_MAX overflow.
3353 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3354 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3355 overflows INT_MAX. Check for overflow of in-format-string precision
3356 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3357 SIZE_MAX not INT_MAX for integer overflow test.
3358 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3359 skip the construct in the format string but do not record anything.
3360 * stdio-common/bug22.c: Adjust to test both width/prevision
3361 INT_MAX overflow as well as total length INT_MAX overflow. Check
3362 explicitly for proper errno values.
3363
228c019e
TS
33642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3365
302cadd3
TS
3366 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3367 CHAR_MAX.
3368 * string/test-strcmp.c [! WIDE]: Likewise.
3369 * time/tst-mktime2.c: Likewise for INT_MAX.
3370 * string/test-string.h: #include <sys/param.h> for MIN.
3371
228c019e
TS
3372 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3373 * sysdeps/i386/init-first.c (init): Likewise.
3374 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3375 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3376 * sysdeps/sh/init-first.c (init): Likewise.
3377
cfa633f5
UD
33782012-04-01 Ulrich Drepper <drepper@gmail.com>
3379
3380 * po/ru.po: Update from translation team.
d1635ef8 3381 * po/vi.po: Likewise.
cfa633f5 3382
6cd0a5ea
SP
33832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3384
3385 * resolv/nss_dns/dns-host.c: Merge copyright years.
3386
4b43400f
LD
33872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3388
3389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3390 Optimize memcpy with prefetch if
3391 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3392 src, dst pointers have unequal 16 byte alignments.
3393
48c41d04
SP
33942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3395
3396 [BZ #13928]
3397 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3398 from a CNAME entry and return the minimum ttl for the query.
3399 (gaih_getanswer_slice): Likewise.
3400
b8dc394d
JL
34012012-03-30 Jeff Law <law@redhat.com>
3402
3403 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3404 due to long keys.
3405 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3406 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3407
2f5a5ed0
JL
3408 * resolv/nss_dns/dns-host.c: Update copyright year.
3409
1d39e359
UD
34102012-03-30 Ulrich Drepper <drepper@gmail.com>
3411
c030f70c 3412 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3413 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3414
1d39e359
UD
3415 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3416 comments for sendmmsg.
3417
34182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3419
3420 [BZ #13691]
3421 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3422 with only 1 character between 0x0041 and 0x01b0.
3423 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3424 * wcsmbs/tst-mbsnrtowcs.c: New file.
3425
20fde227
DM
34262012-03-29 David S. Miller <davem@davemloft.net>
3427
3428 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3429 small copies by hand.
3430
984a4237
JL
34312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 [BZ #13761]
3434 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3435 _nss_compat_initgroups_dyn): Fall back to malloc/free
3436 for large group memberships.
3437
18c9d62b
DM
34382012-03-28 David S. Miller <davem@davemloft.net>
3439
88d85d4f
DM
3440 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3441 that branches into memcpy.
3442 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3445 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3447 bits.
3448 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3449 implementation too.
3450 * sysdeps/sparc/mempcpy.S: New file.
3451
e5aa83e1
DM
3452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3453 the IFUNC routine in the libc case.
3454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3455
88570753
DM
3456 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3457 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3458 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3459 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3460 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3461 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3462 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3463 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3464
249d7567
DM
3465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3466 loop to 256 bytes instead of 64 bytes and fix test signedness.
3467
18c9d62b
DM
3468 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3469 * sysdeps/sparc/sparc32/Makefile: rather than here...
3470 * sysdeps/sparc/sparc64/Makefile: and here.
3471
05f3d1f6
UD
34722012-03-28 Ulrich Drepper <drepper@gmail.com>
3473
3474 * malloc/mallocbug.c: Avoid warnings about unused variables.
3475
86ae07a8
JL
34762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3477
3478 [BZ #13760]
3479 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3480 in the right place. Discard and retry query if response is
3481 larger than input buffer size.
3482
41bf21a1
JM
34832012-03-28 Joseph Myers <joseph@codesourcery.com>
3484
d6270972
JM
3485 [BZ #369]
3486 [BZ #2678]
3487 [BZ #3866]
3488 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3489 x for large integer exponent.
3490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3491 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3492 sign of result as needed afterwards.
3493 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3495 result for underflowing pow the same as for overflow.
3496 (__kernel_standard_l): Handle powl overflow and underflow here
3497 rather than calling __kernel_standard.
3498 * math/libm-test.inc (pow_test): Add more tests.
3499
414fca03 3500 [BZ #3868]
41bf21a1
JM
3501 [BZ #13879]
3502 [BZ #13910]
3503 [BZ #13911]
3504 [BZ #13912]
3505 [BZ #13913]
3506 [BZ #13915]
3507 [BZ #13916]
3508 [BZ #13917]
3509 [BZ #13918]
3510 [BZ #13919]
3511 [BZ #13920]
3512 [BZ #13921]
3513 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3514 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3515 (__kernel_standard_l): New function.
3516 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3517 __kernel_standard.
3518 * math/w_acosl.c (__acosl): Likewise.
3519 * math/w_asinl.c (__asinl): Likewise.
3520 * math/w_atan2l.c (__atan2l): Likewise.
3521 * math/w_atanhl.c (__atanhl): Likewise.
3522 * math/w_coshl.c (__coshl): Likewise.
3523 * math/w_exp10l.c (__exp10l): Likewise.
3524 * math/w_exp2l.c (__exp2l): Likewise.
3525 * math/w_fmodl.c (__fmodl): Likewise.
3526 * math/w_hypotl.c (__hypotl): Likewise.
3527 * math/w_j0l.c (__j0l, __y0l): Likewise.
3528 * math/w_j1l.c (__j1l, __y1l): Likewise.
3529 * math/w_jnl.c (__jnl, __ynl): Likewise.
3530 * math/w_lgammal.c (__lgammal): Likewise.
3531 * math/w_log10l.c (__log10l): Likewise.
3532 * math/w_log2l.c (__log2l): Likewise.
3533 * math/w_logl.c (__logl): Likewise.
3534 * math/w_powl.c (__powl): Likewise.
3535 * math/w_remainderl.c (__remainderl): Likewise.
3536 * math/w_scalbl.c (sysv_scalbl): Likewise.
3537 * math/w_sinhl.c (__sinhl): Likewise.
3538 * math/w_sqrtl.c (__sqrtl): Likewise.
3539 * math/w_tgammal.c (__tgammal): Likewise.
3540 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3541 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3542 * math/libm-test.inc (acos_test): Add more tests.
3543 (acosh_test): Likewise.
3544 (asin_test): Likewise.
3545 (atanh_test): Likewise.
3546 (exp_test): Likewise.
3547 (exp10_test): Likewise.
3548 (exp2_test): Likewise.
3549 (expm1_test): Likewise.
3550 (lgamma_test): Likewise.
3551 (log_test): Likewise.
3552 (log10_test): Likewise.
3553 (log1p_test): Likewise.
3554 (log2_test): Likewise.
3555 (pow_test): Do not allow some spurious overflow exceptions.
3556 (sqrt_test): Add more tests.
3557 (tgamma_test): Likewise.
3558 (y0_test): Likewise.
3559 (y1_test): Likewise.
3560 (yn_test): Likewise.
3561
dd62fda6
AB
35622012-03-27 Anton Blanchard <anton@samba.org>
3563
3564 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3565 MAP_HUGETLB.
3566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3569
1e3cdfda
AJ
35702012-03-27 David S. Miller <davem@davemloft.net>
3571
b855ab85
DM
3572 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3573
1e3cdfda
AJ
3574 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3575 have-as-vis3 check.
3576
35772012-03-27 Andreas Jaeger <aj@suse.de>
3578
3579 * sysdeps/x86_64/elf/configure.in: Moved to ...
3580 * sysdeps/x86_64/configure.in: ... here.
3581 * sysdeps/x86_64/elf/start.S: Moved to ...
3582 * sysdeps/x86_64/start.S: ... here.
3583 * sysdeps/x86_64/elf/configure: Delete.
3584
3585 * sysdeps/x86_64/configure.in: Merge contents from
3586 sysdeps/i386/configure.in (without i686 check).
3587
3588 * sysdeps/i386/elf/Versions: Merge into ...
3589 * sysdeps/i386/Versions: ... this.
3590 * sysdeps/i386/elf/Versions: Delete file.
3591 * sysdeps/i386/elf/start.S: Moved to ...
3592 * sysdeps/i386/start.S: ...here.
3593 * sysdeps/i386/elf/configure.in: Merge into...
3594 * sysdeps/i386/configure.in: ...here.
3595 * sysdeps/i386/elf/configure.in: Delete file.
3596 * sysdeps/i386/elf/configure: Delete file.
3597
3598 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3599 * debug/backtracesyms.c: ... here.
3600 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3601 * debug/backtracesymsfd.c: ... here.
3602 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3603 * sysdeps/generic/ifunc-sel.h: ... here.
3604
3605 * sysdeps/unix/i386/start.c: Delete file.
3606 * sysdeps/unix/sparc/start.c: Delete file.
3607 * sysdeps/unix/start.c: Delete file.
3608
3609 * sysdeps/sh/elf/configure.in: Moved to ...
3610 * sysdeps/sh/configure.in: ... here.
3611 * sysdeps/sh/elf/start.S: Moved to ...
3612 * sysdeps/sh/start.S: ... here.
3613 * sysdeps/sh/elf/configure: Delete file.
3614
3615 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3616 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3617 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3618 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3619 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3620 * sysdeps/powerpc/powerpc64/start.S: here.
3621 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3622 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3623 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3624 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3625 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3626
3627 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3628 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3629 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3630 * sysdeps/powerpc/powerpc32/start.S: ... here.
3631 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3632 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3633 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3634
3635 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3636 * sysdeps/powerpc/ifunc-sel.h: ... here.
3637 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3638 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3639
3640 * sysdeps/sparc/elf/configure.in: Moved to ...
3641 * sysdeps/sparc/configure.in: ... here.
3642 * sysdeps/sparc/elf/configure: Delete file.
3643 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3644 * sysdeps/sparc/sparc32/start.S: ... here.
3645 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3646 * sysdeps/sparc/sparc64/start.S: ... here.
3647 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3648 * sysdeps/sparc/sparc32/Makefile: ... this.
3649 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3650 * sysdeps/sparc/sparc64/Makefile: ... this.
3651
3652 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3653 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3654 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3655 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3656 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3657 * sysdeps/s390/s390-32/setjmp.S: ... here.
3658 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3659 * sysdeps/s390/s390-32/configure.in: ... here.
3660 * sysdeps/s390/s390-32/elf/configure: Delete file.
3661 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3662 * sysdeps/s390/s390-32/start.S: ... here.
3663
3664 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3665 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3666 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3667 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3668 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3669 * sysdeps/s390/s390-64/setjmp.S: ... here.
3670 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3671 * sysdeps/s390/s390-64/configure.in: ... here
3672 * sysdeps/s390/s390-64/elf/configure: Delete file.
3673 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3674 * sysdeps/s390/s390-64/start.S: ... here.
3675 * sysdeps/s390/s390-64/elf/configure: Delete.
3676
3677 * configure.in: Remove support for elf directories in sysdeps.
3678
3679 * configure: Regenerated.
3680 * sysdeps/i386/configure: Regenerated.
3681 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3682 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3683 * sysdeps/s390/s390-32/configure: Regenerated.
3684 * sysdeps/s390/s390-64/configure: Regenerated.
3685 * sysdeps/sh/configure: Regenerated.
3686 * sysdeps/sparc/configure: Regenerated.
3687 * sysdeps/x86_64/configure: Regenerated.
3688
a3f61311
AS
36892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3690
c876e002
AS
3691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3692
a3f61311
AS
3693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3694 denormal result into account.
3695
ac4c54f0
RM
36962012-03-25 Roland McGrath <roland@hack.frob.com>
3697
3698 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3699 Reported by Allan McRae <allan@archlinux.org>.
3700
6a9b9c02
JL
37012012-03-23 Jeff Law <law@redhat.com>
3702
3703 * nss/getnssent.c (__nss_getent): Fix typo.
3704
4c42a0c1
DM
37052012-03-23 David S. Miller <davem@davemloft.net>
3706
3707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3708
1532c7ac
L
37092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3712 to pad to uint64_t for each field.
3713 (dl_tls_index): Replace unsigned long with uint64_t.
3714
3ff42526
PP
37152012-03-23 Daniel Jacobowitz <dmj@google.com>
3716 Paul Pluzhnikov <ppluzhnikov@google.com>
3717
3718 [BZ #6528]
3719 * grp/Makefile (otherlibs): Don't set it.
3720 * inet/Makefile (otherlibs): Likewise.
3721 * login/Makefile (otherlibs): Likewise.
3722 * nscd/Makefile (otherlibs): Likewise.
3723 * posix/Makefile (otherlibs): Likewise.
3724 * pwd/Makefile (otherlibs): Likewise.
3725 * rt/Makefile (otherlibs): Likewise.
3726 * sunrpc/Makefile (otherlibs): Likewise.
3727 * nss/Makefile (otherlibs): Likewise.
3728 Add libnss_files to routines and static-only-routines.
3729 ($(objpfx)getent): Remove rule.
3730 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3731 static-only-routines.
3732
7c69cd14
JM
37332012-03-22 Joseph Myers <joseph@codesourcery.com>
3734
3735 [BZ #13892]
3736 * math/s_cexp.c: Include <float.h>.
3737 (__cexp): Handle exp result overflowing not necessarily
3738 overflowing both real and imaginary parts of result.
3739 * math/s_cexpf.c: Likewise.
3740 * math/s_cexpl.c: Likewise.
3741 * math/libm-test.inc (cexp_test): Add more tests.
3742 * sysdeps/i386/fpu/libm-test-ulps: Update.
3743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3744
81b035fe
L
37452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 * include/link.h (ELFW): New macro.
3748 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3749 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3750
1da7940c
L
37512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3754 with uint64_t.
3755
b749dbb9
L
37562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3759 declaration.
3760 (struct La_x32_retval): Likewise.
3761
2ff87f3f
L
37622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 * sysdeps/x86_64/preconfigure.in: New file.
3765 * sysdeps/x86_64/preconfigure: New generated file.
3766
c0df8e69
JM
37672012-03-22 Joseph Myers <joseph@codesourcery.com>
3768
48e44791
JM
3769 [BZ #13824]
3770 * math/e_exp2l.c: Include <float.h>.
3771 (__ieee754_exp2l): Handle overflow and underflow cases
3772 separately. Only pass fractional part of argument to
3773 __ieee754_expl.
3774 * math/libm-test.inc (exp2_test): Add more tests.
3775
c0df8e69
JM
3776 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3777 negating x to take absolute value.
3778 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3779 Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3782 Likewise.
3783 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3784 computing low part if x was negated.
3785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3786
c8e43ba7
L
37872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3788
3789 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3790 la_x32_gnu_pltexit.
3791 (pltexit): Cast int_retval to ptrdiff_t.
3792 * elf/tst-auditmod3b.c: Likewise.
3793 * elf/tst-auditmod4b.c: Likewise.
3794 * elf/tst-auditmod5b.c: Likewise.
3795 * elf/tst-auditmod6b.c: Likewise.
3796 * elf/tst-auditmod6c.c: Likewise.
3797 * elf/tst-auditmod7b.c: Likewise.
3798
3799 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3800 and x32_gnu_pltexit.
3801
3802 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3803 __ELF_NATIVE_CLASS.
3804 (La_x32_regs): New macro.
3805 (La_x32_retval): Likewise.
3806 (la_x32_gnu_pltenter): New function prototype.
3807 (la_x32_gnu_pltexit): Likewise.
3808
7998fa78
AS
38092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3810
dcb33988
AS
3811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3812 exponent.
3813
233fc563
AS
3814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3815
7998fa78
AS
3816 * configure.in (libc_cv_cc_nofma): Check for option to disable
3817 generation of FMA instructions.
3818 * configure: Regenerate.
3819 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3820 * sysdeps/ieee754/dbl-64/Makefile: New file.
3821 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3822 Remove brandred-fma4.
3823 (CFLAGS-brandred-fma4.c): Remove.
3824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3825 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3826 define.
3827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3828 define.
3829
8e95c99a
L
38302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3831
3832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3833 LLONG_MAX != LONG_MAX.
3834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3835 (_fitoa_word): Likewise.
3836 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3837 LLONG_MAX != LONG_MAX.
3838 * stdio-common/_itowa.h: Include <_itoa.h>.
3839 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3840 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3841 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3842 only if not defined.
3843 (_ITOA_WORD_TYPE): Likewise.
3844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3845 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3846
6f4db457
DM
38472012-03-21 David S. Miller <davem@davemloft.net>
3848
3849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3850
7785fe5a
L
38512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3854 of x86_64 when setting libc_cv_slibdir, libdir and
3855 libc_cv_localedir.
3856 * sysdeps/unix/sysv/linux/configure: Regenerated.
3857
4535cd55
JM
38582012-03-21 Joseph Myers <joseph@codesourcery.com>
3859
3860 * manual/lang.texi (Old Varargs): Remove section.
3861 (How Variadic): Update menu.
3862 (va_start): Do not mention varargs.h.
3863
17228132
TS
38642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3865 Joseph Myers <joseph@codesourcery.com>
3866
3867 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3868 link test.
3869 * configure: Regenerated.
3870
8149f976
TS
38712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3872
05f3d1f6
UD
3873 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3874 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3875 conformtest.pl
8149f976 3876
1a4ac776
JM
38772012-03-21 Joseph Myers <joseph@codesourcery.com>
3878
be22ce65
JM
3879 * NOTES: Remove.
3880 * Makefile (files-for-dist): Remove NOTES.
3881 (NOTES): Remove rule.
3882 * README: Don't refer to NOTES.
3883 * manual/creature.texi: Don't include macros.texi.
3884 * manual/intro.texi (creature.texi): Remove comment referring to
3885 NOTES.
3886
40b601fb
JM
3887 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3888 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3889 * configure: Regenerated.
3890 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3891 LIBC_TRY_CC_OPTION.
3892 (libc_cv_as_i686): Likewise.
3893 (libc_cv_cc_avx): Likewise.
3894 (libc_cv_cc_sse2avx): Likewise.
3895 (libc_cv_cc_fma4): Likewise.
3896 (libc_cv_cc_novzeroupper): Likewise.
3897 * sysdeps/i386/configure: Regenerated.
3898
1a4ac776
JM
3899 [BZ #13883]
3900 * sysdeps/i386/fpu/s_cexp.S: Remove.
3901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3902 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3903 * math/libm-test.inc (cexp_test): Add more tests.
3904 * sysdeps/i386/fpu/libm-test-ulps: Update.
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906
a458e7fe
AM
39072012-03-21 Allan McRae <allan@archlinux.org>
3908
3909 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3910
0cb7efc5
JM
39112012-03-21 Joseph Myers <joseph@codesourcery.com>
3912
3913 [BZ #13871]
3914 * math/w_exp2.c: Do not include <float.h>.
3915 (o_threshold, u_threshold): Remove.
3916 (__exp2): Calculate result before checking finiteness and calling
3917 __kernel_standard.
3918 * math/w_exp2f.c: Likewise.
3919 * math/w_exp2l.c: Likewise.
3920 * math/libm-test.inc (exp2_test): Require overflow exception for
3921 1e6 input.
2460d3aa
JM
3922
3923 [BZ #3866]
3924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3925 range of signed 64-bit integers before using fistpll. Remove
3926 checks for whether integers fit in mantissa bits.
3927 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3928 the range of signed 32-bit integers before using fistpl. Remove
3929 checks for whether integers fit in mantissa bits.
3930 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3931 (__ieee754_powl): Test for y outside the range of signed 64-bit
3932 integers before using fistpll. Reduce 64-bit values to 63-bit
3933 ones as needed.
3934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3935 divide-by-zero is raised for zero to large negative powers.
3936 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3937 (__ieee754_powl): Test for y outside the range of signed 64-bit
3938 integers before using fistpll. Reduce 64-bit values to 63-bit
3939 ones as needed.
3940 * math/libm-test.inc (pow_test): Add more tests.
3941
eb96ffb0
L
39422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3943
3944 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3945 <stdio-common/_itoa.h>.
3946 * debug/segfault.c: Likewise.
3947 * elf/dl-cache.c: Likewise.
3948 * elf/dl-minimal.c: Likewise.
3949 * elf/dl-misc.c: Likewise.
3950 * elf/dl-sysdep.c: Likewise.
3951 * elf/dl-version.c: Likewise.
3952 * elf/rtld.c: Likewise.
3953 * hurd/hurdsock.c: Likewise.
3954 * hurd/lookup-retry.c: Likewise.
3955 * malloc/malloc.c: Likewise.
3956 * malloc/mtrace.c: Likewise.
3957 * nscd/nscd_getgr_r.c: Likewise.
3958 * nscd/nscd_getpw_r.c: Likewise.
3959 * nscd/nscd_getserv_r.c: Likewise.
3960 * posix/getopt_init.c: Likewise.
3961 * posix/wordexp.c: Likewise.
3962 * stdio-common/_itoa.c: Likewise.
3963 * stdio-common/printf_fphex.c: Likewise.
3964 * stdio-common/vfprintf.c: Likewise.
3965 * string/_strerror.c: Likewise.
3966 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3967 * sysdeps/i386/i686/hp-timing.h: Likewise.
3968 * sysdeps/mach/_strerror.c: Likewise.
3969 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3970 * sysdeps/mach/hurd/sethostid.c: Likewise.
3971 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3972 * sysdeps/mach/xpg-strerror.c: Likewise.
3973 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3974 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3975 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3976 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3977 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3978 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3980 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3981 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3982 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3983 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3988 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3991 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3992 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3993 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3994
3995 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3996
3997 * stdio-common/_itoa.h: Moved to ...
3998 * sysdeps/generic/_itoa.h: Here.
3999
4000 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4001
4002 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4003 instead of "_itoa.h" and "_itowa.h".
4004 * stdio-common/vfprintf.: Likewise.
4005
d1af992d
L
40062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4009 <bits/wordsize.h>.
4010 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4011 (__signbit): Likwise.
4012 (llrintf): Likwise.
4013 (llrint): Likwise.
4014
114883e0
L
40152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4016
4017 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4018 __WORDSIZE != 64.
4019
c135cc1b
JM
40202012-03-20 Joseph Myers <joseph@codesourcery.com>
4021
4022 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4023 OVERFLOW_EXCEPTION_OK.
4024 * math/libm-test.inc ("Philosophy"): Update comment about
4025 exception testing.
4026 (OVERFLOW_EXCEPTION): Define.
4027 (OVERFLOW_EXCEPTION_OK): Likewise.
4028 (INVALID_EXCEPTION_OK): Renumber.
4029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4030 (IGNORE_ZERO_INF_SIGN): Likewise.
4031 (test_exceptions): Handle FE_OVERFLOW.
4032 (exp10_test): Expect overflow exceptions.
4033 (exp2_test): Likewise.
4034 (expm1_test): Likewise.
4035 (nextafter_test): Likewise.
4036 (pow_test): Likewise.
4037 (scalbn_test): Likewise.
4038 (scalbln_test): Likewise.
4039
95443d88
L
40402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * sysdeps/x86_64/bits/atomic.h
4043 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4044 64bit integer.
4045 (atomic_exchange_acq): Likewise.
4046 (__arch_exchange_and_add_body): Likewise.
4047 (__arch_add_body): Likewise.
4048 (atomic_add_negative): Likewise.
4049 (atomic_add_zero): Likewise.
4050
490df6c4
L
40512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4052
c2722551 4053 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4054 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4055
5e52b189
L
40562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4059 Check __x86_64__ instead of __WORDSIZE.
4060
a9879d4c
L
40612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4062
4063 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4064
5df98260
DM
40652012-03-19 David S. Miller <davem@davemloft.net>
4066
e1497744
DM
4067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4068
5df98260
DM
4069 * sysdeps/sparc/fpu/fenv_private.h: New file.
4070 * sysdeps/sparc/fpu/math_private.h: Use it.
4071 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4072 Remove.
4073 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4074 (libc_feholdexcept_setroundl): Remove.
4075 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4076 Remove.
4077 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4078 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4079
b4c35121
L
40802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4081
4082 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4083 int64_t instead of long int.
4084 (INSERT_WORDS64): Likwise.
4085
56965fd7
L
40862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4089 _Unwind_GetCFA return to _Unwind_Ptr first.
4090
83d1aec8
JM
40912012-03-19 Joseph Myers <joseph@codesourcery.com>
4092
1897ad44
JM
4093 [BZ #13629]
4094 * math/s_clog.c: Include <float.h>.
4095 (__clog): Scale large or subnormal inputs.
4096 * math/s_clogf.c: Likewise.
4097 * math/s_clogl.c: Likewise.
4098 * math/s_clog10.c: Include <float.h>.
4099 (M_LOG10_2): Define.
4100 (__clog10): Scale large or subnormal inputs.
4101 * math/s_clog10f.c: Likewise.
4102 * math/s_clog10l.c: Likewise.
4103 * math/libm-test.inc (clog_test): Add more tests.
4104 (clog10_test): Likewise.
4105 * sysdeps/i386/fpu/libm-test-ulps: Update.
4106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4107
7726d6a9
JM
4108 [BZ #11451]
4109 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4110 x and y.
4111 * math/libm-test.inc (atan2_test): Add another test.
4112
83d1aec8
JM
4113 * Makerules (common-objdir-compile): Remove.
4114 * sysdeps/unix/Makefile (config-generated): Do not add
4115 $(unix-generated) to variable.
4116 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4117 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4118 Remove rule.
4119 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4120 Likewise.
4121 [generic bits/local_lim.h] (before-compile): Do not append to
4122 variable.
4123 [generic bits/local_lim.h] (common-generated): Likewise.
4124 [generic sys/param.h] (before-compile): Do not append to variable.
4125 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4126 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4127 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4128 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4129 include.
4130 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4131 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4132 [generic sys/param.h] ($(addprefix
4133 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4134 [generic sys/param.h] (common-generated): Do not append to
4135 variable.
4136 [generic sys/param.h] (sysdep_headers): Likewise.
4137 [generic bits/errno.h] (before-compile): Do not append to
4138 variable.
4139 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4140 rule.
4141 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4142 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4143 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4144 [generic bits/errno.h] (common-generated): Do not append to
4145 variable.
4146 [generic bits/ioctls.h] (before-compile): Do not append to
4147 variable.
4148 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4149 rule.
4150 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4151 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4152 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4153 rule.
4154 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4155 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4156 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4157 [generic bits/ioctls.h] (common-generated): Do not append to
4158 variable.
4159 [generic sys/syscall.h] (syscall.h): Remove variable.
4160 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4161 rule.
4162 [generic sys/syscall.h] (before-compile): Do not append to
4163 variable.
4164 [generic sys/syscall.h] (common-generated): Likewise.
4165 * sysdeps/unix/errnos-tmpl.c: Remove file.
4166 * sysdeps/unix/errnos.awk: Likewise.
4167 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4168 * sysdeps/unix/ioctls.awk: Likewise.
4169 * sysdeps/unix/mk-local_lim.c: Likewise.
4170 * sysdeps/unix/snarf-ioctls: Likewise.
4171
4851a949
RH
41722012-03-19 Richard Henderson <rth@twiddle.net>
4173
bd37f2ee
RH
4174 * sysdeps/i386/fpu/fenv_private.h: New file.
4175 * sysdeps/i386/fpu/math_private.h: Use it.
4176 (math_opt_barrier, math_force_eval): Remove.
4177 (libc_feholdexcept_setround_53bit): Remove.
4178 (libc_feupdateenv_53bit): Remove.
4179 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4180 (math_opt_barrier, math_force_eval): Remove.
4181 (libc_feholdexcept): Remove.
4182 (libc_feholdexcept_setround): Remove.
4183 (libc_fetestexcept, libc_fesetenv): Remove.
4184 (libc_feupdateenv_test): Remove.
4185 (libc_feupdateenv, libc_feholdsetround): Remove.
4186 (libc_feresetround): Remove.
4187
d0adc922
RH
4188 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4189 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4190
0fe0f1f8
RH
4191 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4192 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4193 (libc_feupdateenv_testl): New.
4194 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4195 (libc_feupdateenv_testf): New.
4196 (libc_feupdateenv): Use libc_feupdateenv_test.
4197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4199
eb92c487
RH
4200 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4201 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4202 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4203 (libc_feresetround_noex): New.
4204 (libc_feresetround_noexf): New.
4205 (libc_feresetround_noexl): New.
4206 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4207 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4208 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4209 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4210 SET_RESTORE_ROUND.
4211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4213 (__cos): Likewise.
4214 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4216 SET_RESTORE_ROUND_NOEX.
4217 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4218 SET_RESTORE_ROUND_NOEXF.
4219 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4220 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4221 (libc_feholdsetroundf): New.
4222 (libc_feresetround, libc_feresetroundf): New.
4223
7d2e8012
RH
4224 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4225 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4226 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4227
b4dabbb4
RH
4228 * sysdeps/generic/math_private.h: Include <fenv.h>.
4229 (default_libc_feholdexcept): New.
4230 (default_libc_feholdexcept_setround): New.
4231 (default_libc_fesetenv, default_libc_feupdateenv): New.
4232 (libc_feholdexcept): Only define if undefined.
4233 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4234 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4235 (libc_feholdexcept_setroundl): Likewise.
4236 (libc_feholdexcept_setround_53bit): Likewise.
4237 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4238 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4239 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4240 (libc_feupdateenv_53bit): Likewise.
4241 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4242 (libc_feholdexcept): Convert from macro to inline function.
4243 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4244 (libc_fesetenv, libc_feupdateenv): Likewise.
4245
4851a949
RH
4246 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4247 not previously defined.
4248 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4249 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4250 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4252 * sysdeps/ieee754/flt-32/math_private.h: New file.
4253 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4254 math_private.h below SET_FLOAT_WORD.
4255 (__isnan, __isinf_ns, __finite): Remove.
4256 (__isnanf, __isinf_nsf, __finitef): Remove.
4257
e79d442e
AS
42582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4259
4260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4261
90b80344
DM
42622012-03-17 David S. Miller <davem@davemloft.net>
4263
4264 [BZ #6471]
4265 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4266 for 2.16.
4267
edc21804
DM
42682012-03-16 David S. Miller <davem@davemloft.net>
4269
77e927af
DM
4270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4271 warnings.
4272
374976dd
DM
4273 [BZ #6471]
4274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4275 properly.
4276 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4277 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4278 sysdep_routines when subdir is sysvipc.
4279 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4280 __getshmlba helper.
4281
edc21804
DM
4282 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4283
473c3ef3
L
42842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4285
4286 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4287 [__LP64__].
4288
eb0f39b6
L
42892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4293 (__lround): Renamed to ...
4294 (__llround): This. Replace long int with long long int.
4295 Define lround functions as aliases of llround functions.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4297
6b6cd74b
L
42982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4301 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4302 adresses to uintptr_t. Replace "long int" and "unsigned long
4303 int" with "greg_t" on va_arg.
4304
f1a77b01
L
43052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4306
4307 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4308 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4309
4310 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4311 Move e_machine check before EI_CLASS check. Handle x32
4312 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4313 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4314 SKIP_EM_IA_64 and include
4315 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4316
4317 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4318 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4319 (add_system_dir): New macro.
4320
4321 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4322 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4323
11b90b9f
JM
43242012-03-16 Joseph Myers <joseph@codesourcery.com>
4325
c36e1d23
JM
4326 [BZ #2551]
4327 [BZ #2552]
4328 [BZ #2553]
4329 [BZ #2554]
4330 [BZ #2562]
4331 [BZ #2563]
4332 [BZ #2565]
4333 [BZ #2566]
4334 [BZ #2576]
4335 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4336 (y0): Likewise.
4337 * math/w_j0f.c (j0f): Likewise.
4338 (y0f): Likewise.
4339 * math/w_j0l.c (__j0l): Likewise.
4340 (__y0l): Likewise.
4341 * math/w_j1.c (j1): Likewise.
4342 (y1): Likewise.
4343 * math/w_j1f.c (j1f): Likewise.
4344 (y1f): Likewise.
4345 * math/w_j1l.c (__j1l): Likewise.
4346 (__y1l): Likewise.
4347 * math/w_jn.c (jn): Likewise.
4348 (yn): Likewise.
4349 * math/w_jnf.c (jnf): Likewise.
4350 (ynf): Likewise.
4351 * math/w_jnl.c (__jnl): Likewise.
4352 (__ynl): Likewise.
4353 * math/libm-test.inc (j0_test): Add more tests.
4354 (j1_test): Likewise.
4355 (jn_test): Likewise. Add trailing semicolon to existing test.
4356 (y0_test): Likewise.
4357 (y1_test): Likewise.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360
11b90b9f
JM
4361 [BZ #13851]
4362 [BZ #13854]
4363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4364 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4365 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4366 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4367 (__tanl): Set errno for infinite argument.
4368 * sysdeps/i386/fpu/mptan.c: Remove.
4369 * sysdeps/i386/fpu/s_tan.S: Likewise.
4370 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4371 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4372 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4373 * math/libm-test.inc (tan_test): Add more tests and enable more
4374 tests for double and long double.
4375 * sysdeps/i386/fpu/libm-test-ulps: Update.
4376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4377
6a1bd2a1
JK
43782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4379
4380 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4381 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4382
10a803e0
RM
43832012-03-16 Roland McGrath <roland@hack.frob.com>
4384
4385 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4386 * configure.in: Use it for both main tree and add-ons.
4387 * configure: Regenerated.
4388
f196c7f7
L
43892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4392
8848d99d
JM
43932012-03-16 Joseph Myers <joseph@codesourcery.com>
4394
96cbe7f4
JM
4395 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4396 in comment.
4397
8848d99d
JM
4398 [BZ #13851]
4399 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4400 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4404 infinite argument.
4405 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4407 != 0 for prec == 2.
4408 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4409 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4410 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4411 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4412 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4413 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4414 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4415 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4416 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4417 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4418 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4419 * math/libm-test.inc (cos_test): Add more tests and enable more
4420 tests for long double.
4421 (sin_test): Likewise.
4422 (sincos_test): Likewise.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4425
dd7f4703
DM
44262012-03-16 David S. Miller <davem@davemloft.net>
4427
4428 * sysdeps/sparc/fpu/math_private.h: New file.
4429
006f1daa
DM
44302012-03-15 David S. Miller <davem@davemloft.net>
4431
c0c83bc8
DM
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4433 file.
e6a62e18 4434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4436 file.
e6a62e18
DM
4437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4443 sysdep routines.
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4445
88cb87d9
DM
4446 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4447 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4448
006f1daa 4449 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4451 sparc-ifunc.h
006f1daa 4452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4454 Likewise.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4456 Likewise.
006f1daa
DM
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4461 Likewise.
006f1daa
DM
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4467 Likewise.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4469 Likewise.
006f1daa
DM
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4494
11e0098e
AS
44952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4496
4497 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4498 scaling.
4499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4500
e85b09d0
AJ
45012012-03-15 Andreas Jaeger <aj@suse.de>
4502
4503 [BZ #13852]
4504 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4505 ieee754/flt-32 implementation for sin, cos and sincos.
4506 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4507 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4508 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4509 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4510 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4511 ieee754/flt-32 implementation for tan.
4512
4513 * math/libm-test.inc (cos_test): Enable some large input tests for
4514 float as well
4515 (sin_test): Likewise.
4516 (sincos_test): Likewise.
4517 (tan_test): Add tests for large input.
4518
4519 * sysdeps/i386/fpu/libm-test-ulps: Update.
4520
81c64153
AJ
45212012-03-15 Andreas Jaeger <aj@suse.de>
4522
4523 [BZ #13658]
4524 * math/libm-test.inc (cos_test): Add more test cases.
4525 (sin_test): Likewise.
4526 (sincos_test): Likewise.
4527
7bbfa5c6
AJ
45282012-03-15 Andreas Jaeger <aj@suse.de>
4529
4530 [BZ #13837]
4531 * math/libm-test.inc (cos_test): Add a test case for large input
4532 value.
4533 (sin_test): Likewise.
4534 (sincos_test): Likewise.
4535
45362012-03-15 Andreas Jaeger <aj@suse.de>,
4537 Joseph Myers <joseph@codesourcery.com>
4538
4539 [BZ #13658]
0671f479 4540 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4541 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4542 * sysdeps/i386/fpu/branred.c: Likewise.
4543 * sysdeps/i386/fpu/dosincos.c: Likewise.
4544 * sysdeps/i386/fpu/mpa.c: Likewise.
4545 * sysdeps/i386/fpu/s_cos.S: Likewise.
4546 * sysdeps/i386/fpu/s_sin.S: Likewise.
4547 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4548 * sysdeps/i386/fpu/sincos32.c: Likewise.
4549
4550 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4551 Define.
4552 (libc_feupdateenv_53bit): Define.
4553 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4554 Define.
4555 (libc_feupdateenv_53bit): Define.
4556
4557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4558 53 bit (without extend i386 double precision).
4559
4560 * math/libm-test.inc (sincos_test): Add tests for large input.
4561 (sin): Likewise.
4562 (cos): Likewise.
4563
4564 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4565
9cad04ea
AS
45662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4567
4568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4569
f7062b9a
DM
45702012-03-15 David S. Miller <davem@davemloft.net>
4571
4572 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4573 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4574 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4588 file.
f7062b9a 4589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4591 file.
f7062b9a 4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4594 file.
f7062b9a 4595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4597 file.
f7062b9a
DM
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4600 fmin/fmax sysdep routines.
4601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4602
7bd951ff
DM
46032012-03-14 David S. Miller <davem@davemloft.net>
4604
559398ab
DM
4605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4634 routines.
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4636 file.
559398ab 4637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4639 file.
559398ab 4640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4642 file.
559398ab 4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4645 file.
559398ab 4646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4648 file.
559398ab 4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4651 file.
4652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4653 file.
4654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4655 file.
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4657 file.
4658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4659 New file.
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4661 file.
4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4663 file.
559398ab 4664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4666 file.
559398ab 4667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4669 file.
559398ab 4670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4672 file.
559398ab 4673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4675 VIS3 routines.
559398ab
DM
4676
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4678 New file.
4679
5a1c1e32
DM
4680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4681
eae47a36
DM
4682 * sysdeps/sparc/configure.in: New file.
4683 * sysdeps/sparc/configure: Generate.
4684 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4685 * configure: Regenerate.
4686 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4687 * config.make.in (have-as-vis3): New.
4688 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4689 available use -Av9d instead of -Av9a.
4690 * sysdeps/sparc/sparc64/Makefile: Likewise.
4691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4693 New file.
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4695 file.
4696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4697 New file.
4698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4699 file.
eae47a36
DM
4700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4705
c0c83bc8
DM
4706 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4707 fzeros/fnegs to load 0x80000000 into a float register instead of
4708 using the stack.
7bd951ff
DM
4709 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4710
bd951ccb
JM
47112012-03-14 Joseph Myers <joseph@codesourcery.com>
4712
4713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4714 bits/syscall.h.
4715 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4716 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4717 ($(inst_includedir)/bits/syscall.h): Remove rule.
4718 ($(objpfx)bits/syscall.d): Include instead of
4719 $(objpfx)syscall-list.d.
4720 (generated): Change syscall-list.h and syscall-list.d to
4721 bits/syscall.h and bits/syscall.d.
4722
bb4e6db2
RM
47232012-03-14 Roland McGrath <roland@hack.frob.com>
4724
4725 [BZ #13846]
4726 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4727
aa4a2ae1
JM
47282012-03-14 Joseph Myers <joseph@codesourcery.com>
4729
e456826d
JM
4730 [BZ #13841]
4731 * math/s_csqrt.c: Include <float.h>.
4732 (__csqrt): Scale large or subnormal inputs.
4733 * math/s_csqrtf.c: Likewise.
4734 * math/s_csqrtl.c: Likewise.
4735 * math/libm-test.inc (csqrt_test): Add more tests.
4736 * sysdeps/i386/fpu/libm-test-ulps: Update.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
aa4a2ae1
JM
4739 [BZ #13840]
4740 * math/libm-test.inc (hypot_test): Add more tests.
4741
7c10fd35
DM
47422012-03-13 David S. Miller <davem@davemloft.net>
4743
4744 [BZ #13840]
4745 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4746 double-precision for the calculation instead of scaling.
4747
f453b98b
JM
47482012-03-13 Joseph Myers <joseph@codesourcery.com>
4749
4750 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4751 manipulate bits before adding and subtracting TWO52[sx].
4752 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4754 Likewise.
4755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4756
09a3453f
DM
47572012-03-13 David S. Miller <davem@davemloft.net>
4758
8e59da90
DM
4759 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4760 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4762 rtld-global-offsets.h
4763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4764
2a8ab7f2
DM
4765 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4766 large parameters.
4767
10f62770
DM
4768 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4769
5f0bdb18
DM
4770 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4771 'err' in the ifdef scope in which it is actually used.
4772
09a3453f
DM
4773 * nss/nss_db/db-init.c: Include string.h
4774
b4b2eb5e
DM
47752012-03-12 David S. Miller <davem@davemloft.net>
4776
98bb2f1c
DM
4777 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4778 masking out of the most significant byte of random value used.
4779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4780 Fix coding style in previous change.
4781
b4b2eb5e
DM
4782 * sysdeps/unix/sysv/linux/kernel-features.h
4783 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4784 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4785 expression.
4786 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4787 later.
4788
6e226b09
DM
47892012-03-11 David S. Miller <davem@davemloft.net>
4790
a1bcbd40
DM
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4792 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4793 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4794 for 'resultvar' otherwise things get truncated on 64-bit.
4795
cb9d6174
DM
4796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4797 Fix masking out of the most significant byte of random value used.
4798
6e226b09
DM
4799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4800
058c132d
AS
48012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4802
4803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4804
2d2cd515
DM
48052012-03-09 David S. Miller <davem@davemloft.net>
4806
4807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4808 variables with appropriate CPP guards.
4809 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4810 frame pointer, not the stack pointer. Correct layout comments. Fix test
4811 on resulting framesize and the management of the outregs buffer for pltexit.
4812 Preserve floating point return values across _dl_call_pltexit call.
4813 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4814 framesize and the management of the outregs buffer for pltexit.
4815 Preserve floating point return values across _dl_call_pltexit
4816 call.
4817 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4818 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4819 (print_exit): Fix format string for return register value.
4820
9a07f9d0
JM
48212012-03-10 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sunrpc/Makefile (others): Add rpcgen.
4824 ($(objpfx)rpcgen): Remove special build rule and dependency on
4825 libc.
4826 * sunrpc/rpcgen.c: New file.
4827
547b5e30
PE
48282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4829
c524201a
PE
4830 [BZ #13673]
4831 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4832 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4833 * sysdeps/i386/crti.S: Likewise.
4834 * sysdeps/i386/crtn.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4839 * sysdeps/sh/crti.S: Likewise.
4840 * sysdeps/sh/crtn.S: Likewise.
4841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4842
7b6235f2
PE
4843 [BZ #13673]
4844 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4845 with URL.
4846 * locale/programs/locfile-kw.gperf: Likewise.
4847 * locale/programs/charmap-kw.h: Regenerated.
4848 * locale/programs/locfile-kw.h: Likewise.
4849
547b5e30
PE
4850 [BZ #13673]
4851 * intl/plural.y: Replace FSF snail mail address with URL.
4852 * intl/plural.c: Regenerated.
4853
5f0a5dae
RH
48542012-03-09 Richard Henderson <rth@twiddle.net>
4855
4856 * include/math_private.h: Remove file.
4857 * math/math_private.h: Move file ...
4858 * sysdeps/generic/math_private.h: ... here.
4859
b8c03620
RH
4860 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4861 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4862 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4863
4e234f5d 4864 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4865 and <math_private.h>.
4866 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4867 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4868 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4869 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4870 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4954 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4957 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4959 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4960 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4961 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4963 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4964 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4965 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4966 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4967 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4968 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4969 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4971 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4972 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4973 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4978 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4979 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4980 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4983 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4985 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4986 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4989 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4990 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4993 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4995 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4996 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4998 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4999 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5001 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5003 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5006 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5010 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5011 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5012 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5013 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5014 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5015 * sysdeps/ieee754/k_standard.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5023 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5024 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5029 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5030 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5138 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5147 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5148 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5166 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5176 * sysdeps/ieee754/s_lib_version.c: Likewise.
5177 * sysdeps/ieee754/s_matherr.c: Likewise.
5178 * sysdeps/ieee754/s_signgam.c: Likewise.
5179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5181 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5182 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5183 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5184 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5185 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5186 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5187 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5188 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5189 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5190 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5191 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5192 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5193 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5194 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5195 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5200
1991fa03
JM
52012012-03-09 Joseph Myers <joseph@codesourcery.com>
5202
5203 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5204 * sunrpc/rpc_main.c: Likewise.
5205 * sunrpc/rpc_svcout.c: Likewise.
5206
60d6f5a6
DM
52072012-03-09 David S. Miller <davem@davemloft.net>
5208
5209 * include/math_private.h: New file.
5210
4962050e
JM
52112012-03-09 Joseph Myers <joseph@codesourcery.com>
5212
02a6f887
JM
5213 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5214 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5215 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5216 from <bits/socket_type.h>.
5217 (enum __socket_type): Don't define here.
5218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5220 bits/socket_type.h.
5221
c6e013c1
JM
5222 [BZ #13566]
5223 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5224 checking __USE_GNU.
5225
4962050e
JM
5226 * Makerules ($(inst_includedir)/%.h): New rule.
5227 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5228 (install-others): Remove variable setting.
5229 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5230
38842f45
RH
52312012-03-08 Richard Henderson <rth@twiddle.net>
5232
67bb6da6
RH
5233 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5234 from macro to inline function; merge with the
5235 !__LIBC_INTERNAL_MATH_INLINES version.
5236 (__ieee754_sqrtf): Likewise.
5237
15194b4b
RH
5238 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5239 to inline function.
5240 (__rintf, __floor, __floorf): Likewise.
5241
64e21ede
RH
5242 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5243 macro to inline function.
5244 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5245
38842f45
RH
5246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5247 not <math/math_private.h>.
5248
c64bf5fe
DM
52492012-03-08 David S. Miller <davem@davemloft.net>
5250
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5252 copyright year.
5253 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5254
82d86f28
TS
52552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5256
5257 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5258 normalization.
5259 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5260 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5261
aea5d727
UD
52622012-03-08 Ulrich Drepper <drepper@gmail.com>
5263
5264 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5265 be defined individually, they must be defined as a block. Define
5266 S for printing a string instead of hidint the different by using a
5267 macro for adding the 'l'.
5268 * stdio-common/tst-fphex-wide.c: Adjust.
5269
70bca0a3
MP
52702012-03-07 Marek Polacek <polacek@redhat.com>
5271
5272 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5273
65b81130
MP
52742012-03-08 Marek Polacek <polacek@redhat.com>
5275
5276 [BZ #13806]
5277 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5278 * stdio-common/tst-fphex.c: Define a few macros to make the
5279 test reusable. Use them.
5280 * stdio-common/tst-fphex-wide.c: New file.
5281
07037eeb
JM
52822012-03-08 Joseph Myers <joseph@codesourcery.com>
5283
a7a93d50
JM
5284 [BZ #6911]
5285 * manual/macros.texi (gnusystems): New macro.
5286 (nongnusystems): Likewise.
5287 (gnulinuxhurdsystems): Likewise.
5288 (gnuhurdsystems): Likewise..
5289 (gnulinuxsystems): Likewise.
5290 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5291 variants of the GNU system, not "GNU system".
5292 * manual/conf.texi: Likewise.
5293 * manual/errno.texi: Likewise. Update example of errno macro
5294 expansion.
5295 * manual/filesys.texi: Likewise.
5296 (getumask): Document as specific to GNU/Hurd.
5297 * manual/install.texi: Likewise. Reword some references to
5298 GNU/Linux.
5299 * manual/intro.texi: Likewise.
5300 * manual/io.texi: Likewise.
5301 (File Name Portability): Detail which constraints are inapplicable
5302 to all GNU systems and which are only inapplicable to GNU/Hurd.
5303 * manual/job.texi: Likewise.
5304 * manual/llio.texi: Likewise.
5305 (O_NOCTTY): Document as present on GNU/Linux.
5306 * manual/maint.texi: Likewise.
5307 * manual/memory.texi: Likewise.
5308 * manual/pattern.texi: Likewise.
5309 * manual/pipe.texi: Likewise.
5310 * manual/process.texi: Likewise.
5311 * manual/resource.texi: Likewise.
5312 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5313 child on GNU/Hurd.
5314 * manual/setjmp.texi: Likewise.
5315 * manual/signal.texi: Likewise.
5316 * manual/startup.texi: Likewise.
5317 * manual/stdio.texi: Likewise.
5318 * manual/terminal.texi: Likewise.
5319 (ONLCR): Document as POSIX.
5320 (OXTABS): Document availability on GNU/Linux as XTABS.
5321 (ONOEOT): Document availability separately from other bits.
5322 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5323 * manual/time.texi: Likewise.
5324 * manual/users.texi: Likewise.
5325 * INSTALL: Regenerated.
5326 * sysdeps/gnu/errlist.c: Regenerated.
5327
07037eeb
JM
5328 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5329 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5330 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5331 puts.
5332 * configure: Regenerated.
5333
d1d3431a
JM
53342012-03-07 Joseph Myers <joseph@codesourcery.com>
5335
af6a1e37
JM
5336 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5337 default includes instead of AC_HEADER_CHECK.
5338 * sysdeps/i386/configure: Regenerated.
5339
d1d3431a
JM
5340 [BZ #10716]
5341 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5342 * math/s_cacoshf.c (__cacoshf): Likewise.
5343 * math/s_cacoshl.c (__cacoshl): Likewise.
5344 * math/s_casinh.c (__casinh): Set signs of result from argument.
5345 * math/s_casinhf.c (__casinhf): Likewise.
5346 * math/s_casinhl.c (__casinhl): Likewise.
5347 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5348 (casinh_test): Add more tests.
5349 * sysdeps/i386/fpu/libm-test-ulps: Update.
5350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5351
482ff4da
UD
53522012-03-07 Ulrich Drepper <drepper@gmail.com>
5353
872fda05
UD
5354 * po/zh_TW.po: Update from translation team.
5355
a4300c7a
UD
5356 * login/Makefile (distribute): Remove variable.
5357 * catgets/Makefile: Likewise.
5358 * mach/Makefile: Likewise.
5359 * malloc/Makefile: Likewise.
5360 * misc/Makefile: Likewise.
5361 * iconv/Makefile: Likewise.
5362 * nscd/Makefile: Likewise.
5363 * hurd/Makefile: Likewise.
5364 * manual/Makefile: Likewise.
5365 * locale/Makefile: Likewise.
5366 * intl/Makefile: Likewise.
5367 * conform/Makefile: Likewise.
5368 * nss/Makefile: Likewise.
5369 * time/Makefile: Likewise.
5370 * soft-fp/Makefile: Likewise.
5371 * dirent/Makefile: Likewise.
5372 * gmon/Makefile: Likewise.
5373 * po/Makefile: Likewise.
5374 * rt/Makefile: Likewise.
5375 * socket/Makefile: Likewise.
5376 * math/Makefile: Likewise.
5377 * signal/Makefile: Likewise.
5378 * debug/Makefile: Likewise.
5379 * elf/Makefile: Likewise.
5380 * timezone/Makefile: Likewise.
5381 * stdlib/Makefile: Likewise.
5382 * iconvdata/Makefile: Likewise.
5383 * sunrpc/Makefile: Likewise.
5384 * io/Makefile: Likewise.
5385 * argp/Makefile: Likewise.
5386 * inet/Makefile: Likewise.
5387 * hesiod/Makefile: Likewise.
5388 * grp/Makefile: Likewise.
5389 * csu/Makefile: Likewise.
5390 * wctype/Makefile: Likewise.
5391 * crypt/Makefile: Likewise.
5392 * libio/Makefile: Likewise.
5393 * string/Makefile: Likewise.
5394 * nis/Makefile: Likewise.
5395 * resolv/Makefile: Likewise.
5396 * stdio-common/Makefile: Likewise.
5397 * wcsmbs/Makefile: Likewise.
5398 * dlfcn/Makefile: Likewise.
5399 * posix/Makefile: Likewise.
5400
3b7c4e74 5401 [BZ #6959]
482ff4da
UD
5402 * timezone/Makefile: Don't install timezone files, just the programs
5403 and scripts.
5404
f72ed77d
UD
54052012-03-06 Ulrich Drepper <drepper@gmail.com>
5406
a000466f
UD
5407 * nss/databases.def: Add missing gshadow entry.
5408
f72ed77d
UD
5409 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5410
a53b7a4e
MP
54112012-03-06 Marek Polacek <polacek@redhat.com>
5412
5413 [BZ #13726]
5414 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5415 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5416 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5417 * stdio-common/tst-long-dbl-fphex.c: New file.
5418
e9258400
DM
54192012-03-06 David S. Miller <davem@davemloft.net>
5420
5421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5422 (set_obp_int): New function.
5423 (get_obp_int): New function.
5424 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5426 Avoid unused variable warnings on 'val' and use builtin_expect.
5427 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5428 __builtin_expect.
e9258400
DM
5429 (INLINE_CLONE_SYSCALL): Likewise.
5430
3bd2c723
DM
54312012-03-05 David S. Miller <davem@davemloft.net>
5432
5433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5434
bbb78d03
AS
54352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5436
884c5db4
AS
5437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5438
bbb78d03
AS
5439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5440 only for |x| >= 40.
5441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5442
1c9f702a 54432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5444
5445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5446 Replace gettimeofday with __vdso_gettimeofday.
5447
7be16f82
RM
5448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5449 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5450 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5451
5452 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5453 time with __vdso_time.
5454
ed58a00f
JM
54552012-03-05 Joseph Myers <joseph@codesourcery.com>
5456
5457 * manual/lang.texi (size_t): Note types to which size_t may be
5458 equivalent with the GNU C Library, but do not describe when
5459 differences between them are significant.
5460
30ee4ced
AJ
54612012-03-05 Andreas Jaeger <aj@suse.de>
5462
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5464
b7cd39e8
JM
54652012-03-05 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #3976]
5468 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5469 (__ieee754_pow): Save and restore rounding mode and use
5470 round-to-nearest for main computations.
5471 * math/libm-test.inc (pow_test_tonearest): New function.
5472 (pow_test_towardzero): Likewise.
5473 (pow_test_downward): Likewise.
5474 (pow_test_upward): Likewise.
5475 (main): Call the new functions.
5476 * sysdeps/i386/fpu/libm-test-ulps: Update.
5477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5478
5479 [BZ #3976]
5480 * math/libm-test.inc (cosh_test_tonearest): New function.
5481 (cosh_test_towardzero): Likewise.
5482 (cosh_test_downward): Likewise.
5483 (cosh_test_upward): Likewise.
5484 (sinh_test_tonearest): Likewise.
5485 (sinh_test_towardzero): Likewise.
5486 (sinh_test_downward): Likewise.
5487 (sinh_test_upward): Likewise.
5488 (main): Call the new functions.
5489 * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5491
6c6a98c9
TV
54922012-03-05 Tom de Vries <tom@codesourcery.com>
5493
5494 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5495 default stack guard is set in last bytes.
5496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5497
21bb2d2e 54982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5499
21bb2d2e 5500 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5501
21bb2d2e
AJ
5502 [BZ #13656]
5503 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5504 possibly allocate from heap instead of stack.
5505 * stdio-common/bug-vfprintf-nargs.c: New file.
5506 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5507
c6922934
AS
55082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5509
5510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5511
bc957d53
MP
55122012-03-03 Marek Polacek <polacek@redhat.com>
5513
5514 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5515 * math/math_private.h: Likewise.
5516 * stdlib/tst-strtod.c: Likewise.
5517 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5518 * sysdeps/x86_64/bits/atomic.h: Likewise.
5519
6358490d
DM
55202012-03-02 David S. Miller <davem@davemloft.net>
5521
5522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5526 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5527 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5528 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5529 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5530
01ae168d
RM
55312012-03-02 Roland McGrath <roland@hack.frob.com>
5532
d9a17c07
RM
5533 [BZ #13792]
5534 * manual/examples/README: New file, says the example source files
5535 can be used under GPL>=2.
5536 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5537 line containing just "*/".
5538 * manual/examples/add.c: Add copyright header (GPL>=2).
5539 * manual/examples/argp-ex1.c: Likewise.
5540 * manual/examples/argp-ex2.c: Likewise.
5541 * manual/examples/argp-ex3.c: Likewise.
5542 * manual/examples/argp-ex4.c: Likewise.
5543 * manual/examples/atexit.c: Likewise.
5544 * manual/examples/db.c: Likewise.
5545 * manual/examples/dir.c: Likewise.
5546 * manual/examples/dir2.c: Likewise.
5547 * manual/examples/execinfo.c: Likewise.
5548 * manual/examples/filecli.c: Likewise.
5549 * manual/examples/filesrv.c: Likewise.
5550 * manual/examples/fmtmsgexpl.c: Likewise.
5551 * manual/examples/genpass.c: Likewise.
5552 * manual/examples/inetcli.c: Likewise.
5553 * manual/examples/inetsrv.c: Likewise.
5554 * manual/examples/isockad.c: Likewise.
5555 * manual/examples/longopt.c: Likewise.
5556 * manual/examples/memopen.c: Likewise.
5557 * manual/examples/memstrm.c: Likewise.
5558 * manual/examples/mkfsock.c: Likewise.
5559 * manual/examples/mkisock.c: Likewise.
5560 * manual/examples/mygetpass.c: Likewise.
5561 * manual/examples/pipe.c: Likewise.
5562 * manual/examples/popen.c: Likewise.
5563 * manual/examples/rprintf.c: Likewise.
5564 * manual/examples/search.c: Likewise.
5565 * manual/examples/select.c: Likewise.
5566 * manual/examples/setjmp.c: Likewise.
5567 * manual/examples/sigh1.c: Likewise.
5568 * manual/examples/sigusr.c: Likewise.
5569 * manual/examples/stpcpy.c: Likewise.
5570 * manual/examples/strdupa.c: Likewise.
5571 * manual/examples/strftim.c: Likewise.
5572 * manual/examples/strncat.c: Likewise.
5573 * manual/examples/subopt.c: Likewise.
5574 * manual/examples/swapcontext.c: Likewise.
5575 * manual/examples/termios.c: Likewise.
5576 * manual/examples/testopt.c: Likewise.
5577 * manual/examples/testpass.c: Likewise.
5578 * manual/examples/timeval_subtract.c: Likewise.
5579
01ae168d
RM
5580 [BZ #13792]
5581 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5582 function to ...
5583 * manual/timeval_subtract.c.texi: ... here, new file.
5584
49efa33d
DM
55852012-03-02 David S. Miller <davem@davemloft.net>
5586
5587 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5588
28afd92d
JM
55892012-03-02 Joseph Myers <joseph@codesourcery.com>
5590
804360ed
JM
5591 [BZ #3976]
5592 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5593 (__sin): Save and restore rounding mode and use round-to-nearest
5594 for all computations.
5595 (__cos): Save and restore rounding mode and use round-to-nearest
5596 for all computations.
5597 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5598 <fenv.h>.
5599 (tan): Save and restore rounding mode and use round-to-nearest for
5600 all computations.
5601 * math/libm-test.inc (cos_test_tonearest): New function.
5602 (cos_test_towardzero): Likewise.
5603 (cos_test_downward): Likewise.
5604 (cos_test_upward): Likewise.
5605 (sin_test_tonearest): Likewise.
5606 (sin_test_towardzero): Likewise.
5607 (sin_test_downward): Likewise.
5608 (sin_test_upward): Likewise.
5609 (tan_test_tonearest): Likewise.
5610 (tan_test_towardzero): Likewise.
5611 (tan_test_downward): Likewise.
5612 (tan_test_upward): Likewise.
5613 (main): Call the new functions.
5614 * sysdeps/i386/fpu/libm-test-ulps: Update.
5615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5616
a6d06d7b
JM
5617 [BZ #10135]
5618 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5619 small n, then large n, before computing and testing k+n.
5620 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5622 Likewise.
5623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5624 Likewise.
5625 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5626 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5633 * math/libm-test.inc (scalbn_test): Add more tests.
5634 (scalbln_test): Likewise.
5635
07e12bb3
JM
5636 * manual/filesys.texi (mode_t): Describe constraints on size and
5637 signedness, not exact equivalence to a particular type.
5638 (ino_t): Likewise.
5639 (ino64_t): Likewise.
5640 (dev_t): Likewise.
5641 (nlink_t): Likewise.
5642 (blkcnt_t): Likewise.
5643 (blkcnt64_t): Likewise.
5644 * manual/llio.texi (off_t): Likewise.
5645
28afd92d
JM
5646 [BZ #3976]
5647 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5648 (__ieee754_exp): Save and restore rounding mode and use
5649 round-to-nearest for all computations.
5650 * math/libm-test.inc (exp_test_tonearest): New function.
5651 (exp_test_towardzero): Likewise.
5652 (exp_test_downward): Likewise.
5653 (exp_test_upward): Likewise.
5654 (main): Call the new functions.
5655 * sysdeps/i386/fpu/libm-test-ulps: Update.
5656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657
b1eeb65d
CD
56582012-03-01 Chris Demetriou <cgd@google.com>
5659
5660 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5661 have predictable order.
5662
53362a4b
DM
56632012-03-01 David S. Miller <davem@davemloft.net>
5664
3c969083
DM
5665 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5666
759707de
DM
5667 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5668 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5669 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5670 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5671
dfdb8ff2
DM
5672 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5673 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5674 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5676 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5677 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5678 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5679 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5680 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5681
ead89f96
DM
5682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5683
7f66bd07
DM
5684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5685 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5687
53362a4b
DM
5688 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5690 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5691 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5692 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5695 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5696 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5697 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5698 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5704 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5705 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5706 * sysdeps/sparc/elf/configure: Regenerated.
5707
7b1902cb
JM
57082012-03-01 Joseph Myers <joseph@codesourcery.com>
5709
bec039bc
JM
5710 * configure.in (AS, LD): Require binutils 2.20 or later.
5711 * configure: Regenerated.
5712 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5713 as required minimum version.
5714 * INSTALL: Regenerated.
5715
7b1902cb
JM
5716 [BZ #2541]
5717 [BZ #4108]
5718 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5719 before squaring exponent.
5720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5721 bottom long double and 27 bits of top long double before squaring
5722 exponent.
5723 * math/libm-test.inc (erfc_test): Add more tests.
5724 * sysdeps/i386/fpu/libm-test-ulps: Update.
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727
f775c276
KT
57282012-03-01 Kai Tietz <ktietz@redhat.com>
5729
5730 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5731 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5732 containing bit-fields.
5733 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5734 * soft-fp/single.h (_FP_UNION_S): Likewise.
5735 * soft-fp/double.h (_FP_UNION_D): Likewise.
5736
5b8a4d4a
JM
57372012-02-29 Joseph Myers <joseph@codesourcery.com>
5738
0bab47b6
JM
5739 [BZ #13786]
5740 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5741 not include ../strcmp.S.
5742 [USE_AS_STRNCASECMP_L]: Likewise.
5743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5744 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5745 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5746 (__strncasecmp_l_ia32): Define as alias to
5747 __strncasecmp_l_nonascii.
5748
0fcad3e2
JM
5749 [BZ #5794]
5750 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5751 * sysdeps/i386/fpu/libm-test-ulps: Update.
5752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5753
5b8a4d4a
JM
5754 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5756
8fdceb2e
JL
57572012-02-29 Jeff Law <law@redhat.com>
5758
5759 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5760 out of bounds read.
5761
1f393a11
MP
57622012-02-29 Marek Polacek <polacek@redhat.com>
5763
5764 [BZ #13706]
5765 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5766 * elf/Makefile: Add rules to run tst-unused-dep.out.
5767
8847f037
DM
57682012-02-28 David S. Miller <davem@davemloft.net>
5769
5770 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5771 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5773 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5774 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5775 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5776
169d7f11
JM
57772012-02-29 Joseph Myers <joseph@codesourcery.com>
5778
5779 * math/libm-test.inc (llround_test): Move one test from
5780 lround_test. Use TEST_f_L in moved test.
5781 (lround_test): Move misplaced test to llround_test. Add testcase
5782 from bug 2561.
5783
39adf059
UD
57842012-02-28 Ulrich Drepper <drepper@gmail.com>
5785
5786 * sysdeps/x86_64/fpu/e_expf.S: New file.
5787 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5788
71b5d1c5
SB
57892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5790
5791 [BZ #13637]
5792 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5793 of remain_len that may cause incomplete multi-byte character and
5794 false match.
5795 * posix/bug-regex33.c: New file.
5796 * posix/Makefile (tests): Add bug-regex33.
5797
1f77f049
JM
57982012-02-28 Joseph Myers <joseph@codesourcery.com>
5799
5800 * manual/macros.texi: New file.
5801 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5802 * manual/libc.texinfo: Include macros.texi.
5803 * manual/creatute.texi: Likewise.
5804 * manual/install.texi: Likewise.
5805 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5806 @glibcadj{} in references to the GNU C Library.
5807 * manual/charset.texi: Likewise.
5808 * manual/conf.texi: Likewise.
5809 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5810 when not using those macros.
5811 * manual/creature.texi: Likewise.
5812 * manual/crypt.texi: Likewise.
5813 * manual/errno.texi: Likewise.
5814 * manual/filesys.texi: Likewise.
5815 * manual/header.texi: Likewise.
5816 * manual/install.texi: Likewise.
5817 * manual/intro.texi: Likewise.
5818 * manual/io.texi: Likewise.
5819 * manual/job.texi: Likewise.
5820 * manual/lang.texi: Likewise.
5821 * manual/libc.texiinfo: Likewise.
5822 * manual/llio.texi: Likewise.
5823 * manual/locale.texi: Likewise.
5824 * manual/maint.texi: Likewise.
5825 * manual/math.texi: Likewise.
5826 * manual/memory.texi: Likewise.
5827 * manual/message.texi: Likewise.
5828 * manual/nss.texi: Likewise.
5829 * manual/pattern.texi: Likewise.
5830 * manual/process.texi: Likewise.
5831 * manual/resource.texi: Likewise.
5832 * manual/search.texi: Likewise.
5833 * manual/setjmp.texi: Likewise.
5834 * manual/signal.texi: Likewise.
5835 * manual/socket.texi: Likewise.
5836 * manual/startup.texi: Likewise.
5837 * manual/stdio.texi: Likewise.
5838 * manual/string.texi: Likewise.
5839 * manual/sysinfo.texi: Likewise.
5840 * manual/syslog.texi: Likewise.
5841 * manual/terminal.texi: Likewise.
5842 * manual/time.texi: Likewise.
5843 * manual/users.texi: Likewise.
5844 * INSTALL: Regenerated.
5845 * NOTES: Regenerated.
d40c5d54 5846 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5847
450bf206
AS
58482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5849
5850 * include/dirent.h: Include <dirstream.h> before
5851 <dirent/dirent.h>.
5852
741a235b
DM
58532012-02-28 David S. Miller <davem@davemloft.net>
5854
5855 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5856 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5859
d6b5aa58
DM
58602012-02-27 David S. Miller <davem@davemloft.net>
5861
1aff59a3
DM
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5864 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5866
d6b5aa58
DM
5867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5868 frame pointer instead of stack pointer relative arg slot.
5869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5872
433f48bf
CD
58732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5874
5875 [BZ #3992]
5876 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5877
d674b76d
DM
58782012-02-27 David S. Miller <davem@davemloft.net>
5879
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5884 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5885 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5886 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5887 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5888
0e7727f7
JM
58892012-02-27 Joseph Myers <joseph@codesourcery.com>
5890
5891 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5892 later. Allow versions 5-9.
43be4ca2 5893 * configure: Regenerated.
0e7727f7
JM
5894 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5895 required minimum version and 4.6 as recommended version. Do not
5896 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5897 * INSTALL: Regenerated.
0e7727f7 5898
a78bc654
DM
58992012-02-27 David S. Miller <davem@davemloft.net>
5900
428d5830
DM
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5908 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5909
a78bc654
DM
5910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5911 manipulate bits before adding and subtracting TWO112[sx].
5912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5913
4579f81c
RM
59142012-02-27 Roland McGrath <roland@hack.frob.com>
5915
36c8acb4
RM
5916 [BZ #13775]
5917 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5918 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5919 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5920 being in POSIX, because they are in 1003.1-2008.
5921
84ad622b
RM
5922 * rt/tst-aio.c: Include <fcntl.h>.
5923 * rt/tst-aio7.c: Likewise.
5924 * rt/tst-aio64.c: Likewise.
5925
4579f81c
RM
5926 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5927
abd923db
JM
59282012-02-27 Joseph Myers <joseph@codesourcery.com>
5929
5930 * manual/install.texi (--with-headers): Describe headers as
5931 interface headers, not private headers.
5932 (Specific advice for GNU/Linux systems): Describe use of headers
5933 from "make headers_install", not private headers from older
5934 kernels.
43be4ca2 5935 * INSTALL: Regenerated.
abd923db
JM
5936 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5937 Change to 2.6.19.
5938 * sysdeps/unix/sysv/linux/configure: Regenerated.
5939
6664049b
JM
5940 * manual/llio.texi (fclean): Remove documentation.
5941
bb8b6697
JM
5942 * manual/Makefile (libc-texi-generated): New variable. Include
5943 version.texi.
5944 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5945 $(libc-texi-generated), not duplicated list of files.
5946 (version.texi, stamp-version): New rules.
5947 (realclean): Remove $(libc-texi-generated), not individual files
5948 from that list. Do not remove dir-add.texinfo.
5949 * manual/libc.texinfo: Comment out uses of edition numbers and
5950 references to printed manual. Remove last-updated dates.
5951 (EDITION): Comment out.
5952 (ISBN): Likewise.
5953 (VERSION, UPDATED): Remove.
5954 (version.texi): Include.
5955
12e5c3b9
AS
59562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5957
5958 * sysdeps/posix/spawni.c: Include <signal.h>.
5959 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5960 * sysdeps/pthread/aio_fsync.c: Likewise.
5961
4efeffc1 59622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5963
ba63ba08
UD
5964 * conform/Makefile (tests): Run only when not cross-compiling and
5965 when fast-check is not defined.
5966
d94a4670
UD
5967 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5968 * conform/data/limits.h-data: Fixes for POSIX2008.
5969 * conform/run-conformtest.sh: Run all tests.
5970 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5971 headers.
5972 * include/bits/dlfcn.h: Likewise.
5973 * include/langinfo.h: Likewise.
5974 * include/monetary.h: Likewise.
5975 * include/sys/poll.h: Likewise.
5976
5977 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5978 for __USE_GNU.
5979 * posix/spawn.h: Define __need_sigset_t.
5980 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5981 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5982 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5983 to get sigevent_t only.
5984 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5985 only for __USE_GNU.
5986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5987 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5988 process_vm_writev only for __USE_GNU.
5989 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5990
5991 * conform/Makefile: For now ignore errors from run-conformtest.
5992 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5993 POSIX to avoid namespace pollution. Don't prepend headers.
5994 * conform/data/aio.h-data: Fixes for POSIX testing.
5995 * conform/data/fcntl.h-data: Likewise.
5996 * conform/data/glob.h-data: Likewise.
5997 * conform/data/grp.h-data: Likewise.
5998 * conform/data/pthread.h-data: Likewise.
5999 * conform/data/pwd.h-data: Likewise.
6000 * conform/data/signal.h-data: Likewise.
6001 * conform/data/spawn.h-data: Likewise.
6002 * conform/data/stdio.h-data: Likewise.
6003 * conform/data/stdlib.h-data: Likewise.
6004 * conform/data/stropts.h-data: Likewise.
6005 * conform/data/sys/mman.h-data: Likewise.
6006 * conform/data/sys/stat.h-data: Likewise.
6007 * conform/data/sys/types.h-data: Likewise.
6008 * conform/data/sys/wait.h-data: Likewise.
6009 * conform/data/time.h-data: Likewise.
6010 * conform/data/unistd.h-data: Likewise.
6011 * conform/data/utime.h-data: Likewise.
6012
6013 * io/sys/stat.h: fchmod was always in POSIX.
6014 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6015 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6016 * rt/aio.h: Define __need_timespec before including <time.h>.
6017 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6018 struct. Add forward declaration of pthread_attr_t and use it in
6019 sigevent.
6020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6022 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6023 always remove CLK_TCK definition.
6024
c20105c3
AS
60252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6028
7a270350
UD
60292012-02-25 Ulrich Drepper <drepper@gmail.com>
6030
31341567
UD
6031 * conform/run-conformtest.sh: New file.
6032 * conform/Makefile: Run run-conformtest for tests.
6033 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6034 support.
6035
6036 * conform/data/uchar.h-data: New file.
6037 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6038 * conform/data/arpa/inet.h-data: Likewise.
6039 * conform/data/assert.h-data: Likewise.
6040 * conform/data/complex.h-data: Likewise.
6041 * conform/data/cpio.h-data: Likewise.
6042 * conform/data/ctype.h-data: Likewise.
6043 * conform/data/dirent.h-data: Likewise.
6044 * conform/data/dlfcn.h-data: Likewise.
6045 * conform/data/errno.h-data: Likewise.
6046 * conform/data/fcntl.h-data: Likewise.
6047 * conform/data/float.h-data: Likewise.
6048 * conform/data/fmtmsg.h-data: Likewise.
6049 * conform/data/fnmatch.h-data: Likewise.
6050 * conform/data/ftw.h-data: Likewise.
6051 * conform/data/glob.h-data: Likewise.
6052 * conform/data/grp.h-data: Likewise.
6053 * conform/data/iconv.h-data: Likewise.
6054 * conform/data/inttypes.h-data: Likewise.
6055 * conform/data/langinfo.h-data: Likewise.
6056 * conform/data/libgen.h-data: Likewise.
6057 * conform/data/limits.h-data: Likewise.
6058 * conform/data/locale.h-data: Likewise.
6059 * conform/data/math.h-data: Likewise.
6060 * conform/data/monetary.h-data: Likewise.
6061 * conform/data/mqueue.h-data: Likewise.
6062 * conform/data/ndbm.h-data: Likewise.
6063 * conform/data/net/if.h-data: Likewise.
6064 * conform/data/netdb.h-data: Likewise.
6065 * conform/data/netinet/in.h-data: Likewise.
6066 * conform/data/nl_types.h-data: Likewise.
6067 * conform/data/poll.h-data: Likewise.
6068 * conform/data/pthread.h-data: Likewise.
6069 * conform/data/pwd.h-data: Likewise.
6070 * conform/data/regex.h-data: Likewise.
6071 * conform/data/sched.h-data: Likewise.
6072 * conform/data/search.h-data: Likewise.
6073 * conform/data/semaphore.h-data: Likewise.
6074 * conform/data/setjmp.h-data: Likewise.
6075 * conform/data/signal.h-data: Likewise.
6076 * conform/data/spawn.h-data: Likewise.
6077 * conform/data/stdarg.h-data: Likewise.
6078 * conform/data/stdio.h-data: Likewise.
6079 * conform/data/stdlib.h-data: Likewise.
6080 * conform/data/string.h-data: Likewise.
6081 * conform/data/strings.h-data: Likewise.
6082 * conform/data/stropts.h-data: Likewise.
6083 * conform/data/sys/ipc.h-data: Likewise.
6084 * conform/data/sys/mman.h-data: Likewise.
6085 * conform/data/sys/msg.h-data: Likewise.
6086 * conform/data/sys/resource.h-data: Likewise.
6087 * conform/data/sys/select.h-data: Likewise.
6088 * conform/data/sys/sem.h-data: Likewise.
6089 * conform/data/sys/shm.h-data: Likewise.
6090 * conform/data/sys/socket.h-data: Likewise.
6091 * conform/data/sys/stat.h-data: Likewise.
6092 * conform/data/sys/statvfs.h-data: Likewise.
6093 * conform/data/sys/time.h-data: Likewise.
6094 * conform/data/sys/timeb.h-data: Likewise.
6095 * conform/data/sys/times.h-data: Likewise.
6096 * conform/data/sys/types.h-data: Likewise.
6097 * conform/data/sys/uio.h-data: Likewise.
6098 * conform/data/sys/un.h-data: Likewise.
6099 * conform/data/sys/utsname.h-data: Likewise.
6100 * conform/data/sys/wait.h-data: Likewise.
6101 * conform/data/syslog.h-data: Likewise.
6102 * conform/data/tar.h-data: Likewise.
6103 * conform/data/termios.h-data: Likewise.
6104 * conform/data/utime.h-data: Likewise.
6105 * conform/data/utmpx.h-data: Likewise.
6106 * conform/data/varargs.h-data: Likewise.
6107 * conform/data/wchar.h-data: Likewise.
6108 * conform/data/wctype.h-data: Likewise.
6109 * conform/data/wordexp.h-data: Likewise.
6110
6111 * include/stropts.h: New file.
6112 * include/uchar.h: New file.
6113 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6114 * include/assert.h: Likewise.
6115 * include/ctype.h: Likewise.
6116 * include/dirent.h: Likewise.
6117 * include/dlfcn.h: Likewise.
6118 * include/fcntl.h: Likewise.
6119 * include/fnmatch.h: Likewise.
6120 * include/glob.h: Likewise.
6121 * include/grp.h: Likewise.
6122 * include/libio.h: Likewise.
6123 * include/locale.h: Likewise.
6124 * include/math.h: Likewise.
6125 * include/net/if.h: Likewise.
6126 * include/netdb.h: Likewise.
6127 * include/netinet/in.h: Likewise.
6128 * include/pthread.h: Likewise.
6129 * include/pwd.h: Likewise.
6130 * include/regex.h: Likewise.
6131 * include/sched.h: Likewise.
6132 * include/search.h: Likewise.
6133 * include/setjmp.h: Likewise.
6134 * include/signal.h: Likewise.
6135 * include/stdio.h: Likewise.
6136 * include/stdlib.h: Likewise.
6137 * include/string.h: Likewise.
6138 * include/sys/cdefs.h: Likewise.
6139 * include/sys/mman.h: Likewise.
6140 * include/sys/msg.h: Likewise.
6141 * include/sys/resource.h: Likewise.
6142 * include/sys/select.h: Likewise.
6143 * include/sys/socket.h: Likewise.
6144 * include/sys/stat.h: Likewise.
6145 * include/sys/statvfs.h: Likewise.
6146 * include/sys/time.h: Likewise.
6147 * include/sys/times.h: Likewise.
6148 * include/sys/uio.h: Likewise.
6149 * include/sys/utsname.h: Likewise.
6150 * include/sys/wait.h: Likewise.
6151 * include/termios.h: Likewise.
6152 * include/time.h: Likewise.
6153 * include/ulimit.h: Likewise.
6154 * include/unistd.h: Likewise.
6155 * include/utime.h: Likewise.
6156 * include/wchar.h: Likewise.
6157 * include/wctype.h: Likewise.
6158 * include/wordexp.h: Likewise.
6159
6160 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6161
7a270350
UD
6162 * time/time.h: TIME_UTC must be a macro.
6163 Make timespec_get available for ISO C11 only as well.
6164
7724defc
UD
61652012-02-24 Ulrich Drepper <drepper@gmail.com>
6166
6167 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6168 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6169
6b1d1d46
JM
61702012-02-24 Joseph Myers <joseph@codesourcery.com>
6171
6172 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6173
0f8bbd69
JM
61742012-02-24 Joseph Myers <joseph@codesourcery.com>
6175
6176 * manual/texinfo.tex: Update to version 2012-01-19.16.
6177
66ab80bc
JM
61782012-02-24 Joseph Myers <joseph@codesourcery.com>
6179
6180 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6181
74981cc5
RM
61822012-02-24 Roland McGrath <roland@hack.frob.com>
6183
ee968201
RM
6184 [BZ #13738]
6185 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6186 * manual/fdl-1.3.texi: New file.
6187 * manual/fdl-1.1.texi: File removed.
6188
74981cc5
RM
6189 [BZ #13738]
6190 * manual/libc.texinfo (FDL_VERSION): New @set.
6191 Use it for mention of FDL in cover text.
6192 (Documentation License): Use it in @include file name.
6193
7bb764bc
JM
61942012-02-22 Joseph Myers <joseph@codesourcery.com>
6195 Roland McGrath <roland@hack.frob.com>
6196
6197 [BZ #5461]
6198 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6199 not LONG_LONG_MAX and LONG_LONG_MIN.
6200 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6201 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6202 name.
6203 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6204
6cbeae47
JM
62052012-02-22 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #2547]
6208 [BZ #11365]
6209 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6210 manipulate bits before adding and subtracting TWO23[sx].
6211 * math/libm-test.inc (nearbyint_test): Add more tests.
6212
fe45ce09
JM
62132012-02-22 Joseph Myers <joseph@codesourcery.com>
6214
6215 [BZ #2548]
6216 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6217 bits before adding and subtracting TWO23[sx].
6218 * math/libm-test.inc (rint_test): Add more tests.
6219 (rint_test_tonearest): Likewise.
6220 (rint_test_towardzero): Likewise.
6221 (rint_test_downward): Likewise.
6222 (rint_test_upward: Likewise.
6223
ff3b3d82
JM
62242012-02-22 Joseph Myers <joseph@codesourcery.com>
6225
6226 [BZ #10110]
6227 * include/stdc-predef.h: New file. Extracted from features.h.
6228 * include/features.h: Include stdc-predef.h.
6229 * Makefile (headers): Add stdc-predef.h.
6230 * CONFORMANCE (Compiler limitations): Update.
6231
ef0aab35
JM
62322012-02-22 Joseph Myers <joseph@codesourcery.com>
6233
6234 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6235
58639409
DM
62362012-02-21 David S. Miller <davem@davemloft.net>
6237
6238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6240
c0e70b25
DM
62412012-02-20 David S. Miller <davem@davemloft.net>
6242
6243 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6244 using a normal save/restore sequence, rather than allocating a
6245 dummy stack frame just to store a frame pointer and restore.
6246 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6247
fb06851d
JM
62482012-02-21 Joseph Myers <joseph@codesourcery.com>
6249
6250 * manual/install.texi: Fix stray word in line-wrapped comment.
6251
7a8b71c3
DM
62522012-02-20 David S. Miller <davem@davemloft.net>
6253
d510c123
DM
6254 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6255 both binutils and gcc support GOTDATA.
6256
0722d7c2
DM
6257 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6258 "rd %pc" in the PIC register setup sequences.
6259
3d2b3019
DM
6260 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6261 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6263 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6269 (SYSCALL_ERROR_HANDLER): Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6273 (SYSCALL_ERROR_HANDLER): Likewise.
6274
c80098a9
DM
6275 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6276 (HAVE_GCC_GOTDATA): New.
6277 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6278 relocation support in both binutils and gcc.
6279 * sysdeps/sparc/elf/configure: Regenerate.
6280
3a2545a0
DM
6281 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6282 * sysdeps/sparc/sparc32/elf/configure: Delete.
6283 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6284 * sysdeps/sparc/sparc64/elf/configure: Delete.
6285 * sysdeps/sparc/elf/configure.in: New file.
6286 * sysdeps/sparc/elf/configure: Generate.
6287
7a8b71c3
DM
6288 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6289 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6290 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6291 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6292 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6293
f1e86fca
JM
62942012-02-21 Joseph Myers <joseph@codesourcery.com>
6295
6296 * manual/install.texi: Do not mention specific glibc version
6297 numbers.
6298 * manual/libc.texinfo (VERSION, UPDATED): Update.
6299 (@copying): Use @copyright{} and range of years.
6300
0e7dfaef
JM
63012012-02-21 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #13695]
6304 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6305 [crti.S not in sysdirs] (generated): Do not append.
6306 [crti.S not in sysdirs] (omit-deps): Likewise.
6307 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6308 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6309 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6310 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6311 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6312 Likewise.
6313 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6314 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6315 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6316 * csu/defs.awk: Remove file.
6317 * sysdeps/generic/initfini.c: Likewise.
6318 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6319 variable.
6320 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6321 Likewise.
6322
599af3ca
JM
63232012-02-20 Joseph Myers <joseph@codesourcery.com>
6324
6325 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6326 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6327 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6328 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6330 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6331 <bits/epoll.h>.
6332 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6333 (__EPOLL_PACKED): Define to empty if not defined by
6334 <bits/epoll.h>.
6335 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6337 bits/epoll.h.
6338
0e499750
JM
63392012-02-20 Joseph Myers <joseph@codesourcery.com>
6340
6341 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6342 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6344 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6345 <bits/timerfd.h>.
6346 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6348 bits/timerfd.h.
6349
5ad91f6e
JM
63502012-02-20 Joseph Myers <joseph@codesourcery.com>
6351
6352 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6353 in C locale.
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6358
06b99b02
AJ
63592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6360
6361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6362 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6363
7638c0fd
AS
63642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6365
6366 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6367 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6368 defined.
6369 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6370 Likewise.
6371 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6372 entry for 2.16.
6373
92221550
AJ
63742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6375
6376 * math/w_acos.c: Use non-signaling floating-point comparisons.
6377 * math/w_acosf.c: Likewise.
6378 * math/w_acosh.c: Likewise.
6379 * math/w_acoshf.c: Likewise.
6380 * math/w_acoshl.c: Likewise.
6381 * math/w_acosl.c: Likewise.
6382 * math/w_asin.c: Likewise.
6383 * math/w_asinf.c: Likewise.
6384 * math/w_asinl.c: Likewise.
6385 * math/w_atanh.c: Likewise.
6386 * math/w_atanhf.c: Likewise.
6387 * math/w_atanhl.c: Likewise.
6388 * math/w_exp2.c: Likewise.
6389 * math/w_exp2f.c: Likewise.
6390 * math/w_exp2l.c: Likewise.
6391 * math/w_j0.c: Likewise.
6392 * math/w_j0f.c: Likewise.
6393 * math/w_j0l.c: Likewise.
6394 * math/w_j1.c: Likewise.
6395 * math/w_j1f.c: Likewise.
6396 * math/w_j1l.c: Likewise.
6397 * math/w_jn.c: Likewise.
6398 * math/w_jnf.c: Likewise.
6399 * math/w_log.c: Likewise.
6400 * math/w_log10.c: Likewise.
6401 * math/w_log10f.c: Likewise.
6402 * math/w_log10l.c: Likewise.
6403 * math/w_log2.c: Likewise.
6404 * math/w_log2f.c: Likewise.
6405 * math/w_log2l.c: Likewise.
6406 * math/w_logf.c: Likewise.
6407 * math/w_logl.c: Likewise.
6408 * math/w_sqrt.c: Likewise.
6409 * math/w_sqrtf.c: Likewise.
6410 * math/w_sqrtl.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6413 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6416
ebaf36eb
JM
64172012-02-19 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #9739]
6420 * manual/string.texi (strnlen): Use correct parameter name in
6421 equivalent expression.
6422
71c254a6
JM
64232012-02-19 Joseph Myers <joseph@codesourcery.com>
6424
6425 [BZ #11174]
6426 * manual/users.texi (seteuid): Consistently use neweuid for
6427 argument name.
6428
16d2c631
JM
64292012-02-19 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #13704]
6432 * manual/nss.texi (Services in the NSS configuration): Correct
6433 list of services in example configuration file.
6434
cd837b09
NB
64352012-02-19 Nick Bowler <nbowler@draconx.ca>
6436
6437 [BZ #11322]
6438 * manual/arith.texi: Remove statements about negative zero
6439 behaving identically to zero.
6440
02c4bbad
JM
64412012-02-18 Joseph Myers <joseph@codesourcery.com>
6442
6443 [BZ #5993]
6444 * manual/install.texi: Do not document upgrading from libc5.
6445
366842e7
JM
64462012-02-18 Joseph Myers <joseph@codesourcery.com>
6447
6448 [BZ #4596]
6449 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6450
dd54084d
DM
64512012-02-18 David S. Miller <davem@davemloft.net>
6452
6453 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6454 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6455 %o7 across the call.
6456 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6457 instead.
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6459 SETUP_PIC_REG_LEAF.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6461 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6462 * sysdeps/sparc/crtn.S: Likewise.
6463
2bcc53a3
UD
64642012-02-17 Ulrich Drepper <drepper@gmail.com>
6465
6466 * aout/Makefile: Remove.
6467
09c093b5
RK
64682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6469
6470 [BZ #13058]
6471 * manual/examples/argp-ex1.c (main): Format definition in GNU
6472 style.
6473 * manual/examples/argp-ex2.c (main): Likewise.
6474 * manual/examples/argp-ex3.c (main): Likewise.
6475 * manual/examples/argp-ex4.c (main): Likewise.
6476 * manual/examples/longopt.c (main): Use new-style prototype
6477 definition.
6478 * manual/examples/strncat.c (main): Specify return type and use
6479 (void) for arguments.
6480 * manual/examples/subopt.c (main): Use char **argv argument.
6481
2ee633a2
JM
64822012-02-17 Joseph Myers <joseph@codesourcery.com>
6483
6484 [BZ #5077]
6485 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6486 rounding modes.
6487
0520adde
FB
64882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6489
6490 [BZ #6907]
6491 * manual/string.texi (strchr): Change when strchrnul is
6492 recommended.
6493
3f4081cd
DGM
64942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6495
6496 [BZ #174]
6497 * manual/locale.texi (setlocale): Document LOCPATH.
6498
d1b10e78
JM
64992012-02-17 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #10210]
6502 * manual/process.texi (execle): Move @dots{} before last argument.
6503
79c6869c
PB
65042012-02-17 Paul Bolle <pebolle@tiscali.nl>
6505
6506 [BZ #12047]
6507 * manual/charset.texi (Generic Charset Conversion): Fix typo
6508 (LC_TYPE -> LC_CTYPE).
6509
cc6e48bc
NB
65102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6511
6512 [BZ #5805]
6513 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6514 (scalbnf): Likewise.
6515 (scalbnl): Likewise.
6516 (scalbln): Likewise.
6517 (scalblnf): Likewise.
6518 (scalblnl): Likewise.
6519 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6520 (vwarnx): Likewise.
6521 (verr): Likewise.
6522 (verrx): Likewise.
6523 * manual/filesys.texi (telldir): Use braces around return type.
6524 * manual/llio.texi (mmap): Add space after comma.
6525 (mmap64): Likewise.
6526 * manual/math.texi (jn): Use @var{} on parameter names.
6527 (jnf): Likewise.
6528 (jnl): Likewise.
6529 (yn): Likewise.
6530 (ynf): Likewise.
6531 (ynl): Likewise.
6532 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6533 line.
6534 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6535 "...".
6536 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6537 (sched_get_priority_max): Likewise.
6538 * manual/signal.texi (sigvec): Add space after comma.
6539 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6540 names.
6541 (if_indextoname): Likewise.
6542 (if_freenameindex): Likewise.
6543 (sendto): Use ',' instead of '.' in prototype.
6544 * manual/startup.texi (syscall): Use @dots{} instead of literal
6545 "...".
6546 * manual/stdio.texi (__fpending): Separate initial words of
6547 paragraph from @deftypefun line.
6548 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6549 "...".
6550 (vsyslog): Use @var{} on parameter names.
6551 * manual/terminal.texi (stty): Use @var{} on parameter names.
6552 * manual/users.texi (getutmp): Use @var{} on parameter names.
6553 (getutmpx): Likewise.
6554
5b23062f
JM
65552012-02-17 Joseph Myers <joseph@codesourcery.com>
6556
6557 [BZ #6884]
6558 * manual/stdio.texi (fopen): Fix typos in description of
6559 ",ccs=STRING".
6560
8dee4833
AJ
65612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6562
6563 [BZ #4026]
6564 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6565 get clock_id definition.
6566
9078ce93
TS
65672012-02-17 Thomas Schwinge <thomas@schwinge.name>
6568
6569 [BZ #4822]
6570 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6571 (madvise): Cast every argument to void on its own.
6572
3835c55f
JM
65732012-02-17 Joseph Myers <joseph@codesourcery.com>
6574
6575 [BZ #9902]
6576 * manual/startup.texi (Exit Status): Fix typo.
6577
35c47e37
JM
65782012-02-17 Joseph Myers <joseph@codesourcery.com>
6579
6580 [BZ #10140]
6581 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6582 * manual/examples/argp-ex2.c: Likewise.
6583 * manual/examples/argp-ex3.c: Likewise.
6584
e3b69ca7
RH
65852012-02-16 Richard Henderson <rth@redhat.com>
6586
6587 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6588 * sysdeps/s390/s390-32/initfini.c: Remove.
6589 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6590 * sysdeps/s390/s390-64/initfini.c: Remove.
6591
df83af67
KK
65922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6593
6594 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6595 compiler output for sysdeps/generic/initfini.c.
6596 * sysdeps/sh/elf/initfini.c: Remove file.
6597
f63f3380
DM
65982012-02-16 David S. Miller <davem@davemloft.net>
6599
fb59b3a4
DM
6600 [BZ #11494]
6601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6602
f63f3380
DM
6603 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6604 * sysdeps/sparc/crti.S: New file.
6605 * sysdeps/sparc/crtn.S: New file.
6606 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6607 * sysdeps/sparc/sparc64/Makefile: Likewise.
6608
df6a4a4a
MF
66092012-02-15 Mike Frysinger <vapier@gentoo.org>
6610
6dd8f3dc 6611 [BZ #3335]
df6a4a4a
MF
6612 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6613
1cac7236
RM
66142012-02-15 Roland McGrath <roland@hack.frob.com>
6615
d2c736f8
RM
6616 [BZ #4822]
6617 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6618
1cac7236
RM
6619 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6620 (write, read, close): Likewise.
6621 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6622
8e475601
JM
66232012-02-15 Joseph Myers <joseph@codesourcery.com>
6624
6625 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6626 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6627 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6628 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6629 <bits/signalfd.h>.
6630 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6632 bits/signalfd.h.
6633
ed656b40
MP
66342012-02-14 Marek Polacek <polacek@redhat.com>
6635
6636 * sysdeps/x86_64/crti.S: New file.
6637 * sysdeps/x86_64/crtn.S: New file.
6638 * sysdeps/x86_64/elf/initfini.c: Remove file.
6639
2a979d3a
JM
66402012-02-13 Joseph Myers <joseph@codesourcery.com>
6641
6642 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6643 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6645 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6646 <bits/inotify.h>.
6647 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6649 bits/inotify.h.
6650
2a418ac3
JM
66512012-02-13 Joseph Myers <joseph@codesourcery.com>
6652
6653 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6654 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6656 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6657 <bits/eventfd.h>.
6658 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6660 bits/eventfd.h.
6661
fb779be7
TS
66622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6663
e19e83c5
RM
6664 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6665 __feraiseexcept instead of feraiseexcept.
7c35ffed 6666
fb779be7
TS
6667 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6668 nanosleep invocations.
6669 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6670 strings, and add error checking for a nanosleep invocations.
6671
59ba27a6
PE
66722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6673
6674 Replace FSF snail mail address with URLs, as per GNU coding standards.
6675 Most of the snail mail addresses were wrong anyway, and omitting
6676 them makes the source code easier to maintain. Almost all of the
6677 changes are to license notices and to locale LC_IDENTIFICATION
6678 addresses, except for this one:
6679 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6680 not its snail mail address.
6681
57b957eb
RH
66822012-02-09 Richard Henderson <rth@twiddle.net>
6683
af850b1c
RH
6684 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6685 of kernel-features.h.
6686
57b957eb
RH
6687 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6688
6b73181a
MP
66892012-02-08 Marek Polacek <polacek@redhat.com>
6690
6691 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6692 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6693 * sysdeps/gnu/_G_config.h: Likewise.
6694 * sysdeps/generic/_G_config.h: Likewise.
6695
26ecc33a
AS
66962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6697
6c6dbc63
AS
6698 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6699 tests.
6700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6701
e216c012
AS
6702 * sysdeps/powerpc/powerpc32/crti.S: New file.
6703 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6704 * sysdeps/powerpc/powerpc64/crti.S: New file.
6705 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6706
26ecc33a
AS
6707 * Makeconfig (have-initfini): Don't set.
6708 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6709 * configure.in (nopic_initfini): Don't substitute.
6710 * config.h.in (HAVE_INITFINI): Don't #undef.
6711 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6712 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6713
3add8e13
JM
67142012-02-08 Joseph Myers <joseph@codesourcery.com>
6715
6716 Support crti.S and crtn.S provided directly by architectures.
6717 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6718 [crti.S in sysdirs] (omit-deps): Likewise.
6719 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6720 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6721 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6722 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6723 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6724 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6725 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6726 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6727 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6728 compiler output for sysdeps/generic/initfini.c.
6729 * sysdeps/i386/elf/Makefile: Remove file.
6730 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6731
a22f12b4
MP
67322012-02-07 Marek Polacek <polacek@redhat.com>
6733
6734 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6735 * sysdeps/gnu/_G_config.h: Likewise.
6736 * sysdeps/mach/hurd/_G_config.h: Likewise.
6737
148cf100
MP
67382012-02-07 Marek Polacek <polacek@redhat.com>
6739
6740 * math/Makefile (tests): Add tst-CMPLX2.
6741 * math/tst-CMPLX2.c: New file.
6742
cfdc0dd7
AS
67432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6744
84ba42c4
AS
6745 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6746
cfdc0dd7
AS
6747 * math/libm-test.inc (jn_test): Add missing L suffix.
6748
622c86f4
MP
67492012-02-06 Marek Polacek <polacek@redhat.com>
6750
6751 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6752 * sysdeps/i386/fpu/e_powf.S: Likewise.
6753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6754 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6755 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6756 * sysdeps/i386/fpu/e_pow.S: Likewise.
6757 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6758 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6759 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6760 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6761 * sysdeps/i386/fpu/e_log2.S: Likewise.
6762 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6764 * sysdeps/i386/fpu/e_powl.S: Likewise.
6765 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6767 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6768 * sysdeps/i386/fpu/e_logl.S: Likewise.
6769 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6770 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6771 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6772 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6774 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6775 * sysdeps/i386/fpu/e_log.S: Likewise.
6776 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6778 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6779 * sysdeps/i386/fpu/e_logf.S: Likewise.
6780 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6781 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6782 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6783 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6784 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6785 * sysdeps/i386/fpu/e_log10.S: Likewise.
6786 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6787 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6788 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6789 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6791 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6792 * sysdeps/i386/asm-syntax.h: Likewise.
6793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6796 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6797 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6798 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6799 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6800 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6802 * sysdeps/powerpc/sysdep.h: Likewise.
6803 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6804 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6805
d4a54ac6
JM
68062012-02-06 Joseph Myers <joseph@codesourcery.com>
6807
6808 [BZ #411]
6809 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6810
314054ea
JM
68112012-02-06 Joseph Myers <joseph@codesourcery.com>
6812
6813 * sysdeps/i386/sysdep.h: Include <features.h>.
6814 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6815 version.
6816
d8e0ca50
JM
68172012-02-05 Joseph Myers <joseph@codesourcery.com>
6818
6819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6820 Define.
6821 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6822 LOAD_PIC_REG_STR.
6823
b1da7dd9
JM
68242012-02-03 Joseph Myers <joseph@codesourcery.com>
6825
6826 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6827 (SETUP_PIC_REG): Use GET_PC_THUNK.
6828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6829 macro.
6830
9a1d9254
JM
68312012-02-03 Joseph Myers <joseph@codesourcery.com>
6832
6833 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6834 for non-PIC compilation.
6835 (SETUP_PIC_REG): Add .p2align directive.
6836 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6837 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6838 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6839 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6877
65dc3b75
JM
68782012-02-03 Joseph Myers <joseph@codesourcery.com>
6879
6880 * math/tst-CMPLX.c: Include <stdio.h>.
6881
d55bf177
JM
68822012-01-31 Joseph Myers <joseph@codesourcery.com>
6883
6884 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6885 float.
6886 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6887 * sysdeps/sparc/bits/mathdef.h: Likewise.
6888
69db4f8f
MP
68892012-01-31 Marek Polacek <polacek@redhat.com>
6890
6891 * libio/libio.h: Don't define _PARAMS.
6892 * locale/programs/config.h: Don't define PARAMS.
6893 * stdlib/strtol_l.c: Likewise.
6894 (__strtol_l): Remove PARAMS from the prototype.
6895
41b81892
UD
68962012-01-31 Ulrich Drepper <drepper@gmail.com>
6897
3b49edc0
UD
6898 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6899 names. Just use the correct names. Remove unnecessary wrapper
6900 functions.
6901 * malloc/arena.c: Likewise.
6902 * malloc/hooks.c: Likewise.
6903
41b81892
UD
6904 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6905 ARENA_TEST says not to. Simplify test for creation of a new arena.
6906 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6907
27a25b6e
UD
69082012-01-30 Ulrich Drepper <drepper@gmail.com>
6909
6910 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6911 into tail calls.
6912 (update_get_addr): New function.
6913 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6914 GET_ADDR_MODULE parameter.
6915
c8a89e7d
JM
69162012-01-30 Joseph Myers <joseph@codesourcery.com>
6917
6918 * crypt/cert.c: Remove __STDC__ conditionals.
6919 * crypt/crypt-entry.c: Likewise.
6920 * crypt/crypt_util.c: Likewise.
6921 * libio/filedoalloc.c: Likewise.
6922 * libio/fileops.c: Likewise.
6923 * libio/genops.c: Likewise.
6924 * libio/iofclose.c: Likewise.
6925 * libio/iofdopen.c: Likewise.
6926 * libio/iofopen.c: Likewise.
6927 * libio/iofopen64.c: Likewise.
6928 * libio/iogetdelim.c: Likewise.
6929 * libio/iopopen.c: Likewise.
6930 * libio/obprintf.c: Likewise.
6931 * libio/oldfileops.c: Likewise.
6932 * libio/oldiofclose.c: Likewise.
6933 * libio/oldiofdopen.c: Likewise.
6934 * libio/oldiofopen.c: Likewise.
6935 * libio/oldiopopen.c: Likewise.
6936 * libio/wfiledoalloc.c: Likewise.
6937 * libio/wgenops.c: Likewise.
6938 * locale/programs/xmalloc.c: Likewise.
6939 * misc/syslog.c: Likewise.
6940 * stdio-common/xbug.c: Likewise.
6941 * string/memchr.c: Likewise.
6942 * string/memcmp.c: Likewise.
6943 * string/memrchr.c: Likewise.
6944 * string/rawmemchr.c: Likewise.
6945 * sysdeps/posix/getcwd.c: Likewise.
6946 * time/strftime_l.c: Likewise.
6947
3b100462
JM
69482012-01-30 Joseph Myers <joseph@codesourcery.com>
6949
6950 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6951 * config.make.in (config-cflags-sse2avx): Define.
6952 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6953 Fix typo.
6954
607998af
CM
69552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6956
6957 * scripts/config.guess: Update from upstream config git repository.
6958 * scripts/config.sub: Likewise.
6959
3601428f
CM
69602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6961
3ac8b282
CM
6962 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6963 (EM_NUM): Update.
6964 (R_TILEPRO_*, R_TILEGX_*): New macros.
6965
e034841e
CM
6966 * scripts/firstversions.awk: Fix bug in version range handling.
6967
540d7568
CM
6968 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6969
3601428f
CM
6970 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6971
463de862
CM
6972 * include/sys/epoll.h: New file.
6973 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6974 libc_hidden_def.
6975
73139a76
UD
69762012-01-28 Ulrich Drepper <drepper@gmail.com>
6977
96bc5b45
UD
6978 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6979 Avoid unnecessary __WORDSIZE == 64 test.
6980 (fmaxf): Use VEX format if possible.
6981 (fmax): Likewise.
6982 (fminf): Likewise.
6983 (fmin): Likewise.
6984
56f6f6a2
UD
6985 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6986 * math/math_private.h: Remove libc_fegetround* and
6987 libc_fesetround*.
6988 * sysdeps/i386/configure.in: Check for -msse2avx.
6989 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6990 also if SSE2AVX is defined.
6991 Remove libc_fegetround* and libc_fesetround*.
6992 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6993 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6995 of HAS_YMM_USABLE.
6996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6997 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6998 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7001
73139a76
UD
7002 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7003
d73f93a4
AZ
70042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7005
7006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7007 size is not set.
7008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7009
6ee65ed6
UD
70102012-01-27 Ulrich Drepper <drepper@gmail.com>
7011
7012 [BZ #13618]
7013 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7014 relocation.
7015 * Makeconfig (libm): Define.
7016 * elf/Makefile: Add rules to build and run tst-relsort1.
7017 * elf/tst-relsort1.c: New file.
7018 * elf/tst-relsort1mod1.c: New file.
7019 * elf/tst-relsort1mod2.c: New file.
7020
8db21882
JM
70212012-01-27 Joseph Myers <joseph@codesourcery.com>
7022
7023 * math/s_ldexp.c: Remove __STDC__ conditionals.
7024 * math/s_ldexpf.c: Likewise.
7025 * math/s_ldexpl.c: Likewise.
7026 * math/s_nextafter.c: Likewise.
7027 * math/s_nexttowardf.c: Likewise.
7028 * math/s_significand.c: Likewise.
7029 * math/s_significandf.c: Likewise.
7030 * math/s_significandl.c: Likewise.
7031 * math/w_jnl.c: Likewise.
7032 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7033 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7034 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7035 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7036 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7054 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7055 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7056 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7057 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7058 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7059 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7060 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7061 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7062 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7063 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7068 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7072 * sysdeps/ieee754/k_standard.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7134 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7152 * sysdeps/ieee754/s_matherr.c: Likewise.
7153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7157
965a54a4
JM
71582012-01-26 Joseph Myers <joseph@codesourcery.com>
7159
7160 * crypt/md5.h: Remove __STDC__ conditionals.
7161 * libio/libioP.h: Likewise.
7162 * locale/programs/config.h: Likewise.
7163 * sysdeps/generic/sysdep.h: Likewise.
7164 * sysdeps/i386/asm-syntax.h: Likewise.
7165 * sysdeps/s390/asm-syntax.h: Likewise.
7166 * sysdeps/unix/sysdep.h: Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7169
7071ad79
JM
71702012-01-26 Joseph Myers <joseph@codesourcery.com>
7171
7172 * libio/libio.h: Remove __STDC__ conditionals.
7173 * malloc/obstack.h: Likewise.
7174 * math/complex.h: Likewise.
7175 * math/math.h: Likewise.
7176 * sysdeps/generic/_G_config.h: Likewise.
7177 * sysdeps/gnu/_G_config.h: Likewise.
7178 * sysdeps/mach/hurd/_G_config.h: Likewise.
7179 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7181 * sysdeps/sparc/bits/mathdef.h: Likewise.
7182
afc5ed09
UD
71832012-01-26 Ulrich Drepper <drepper@gmail.com>
7184
7185 [BZ #13583]
7186 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7187 Clean up HAS_* macros.
afc5ed09 7188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7189 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7190 possible.
7191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7192 HAS_AVX.
7193 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7194 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7195 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7196 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7197 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7198
bdb6de1d
JM
71992012-01-25 Joseph Myers <joseph@codesourcery.com>
7200
7201 * elf/tst-unique3.cc (gets): Remove declaration.
7202 * elf/tst-unique3lib.cc (gets): Likewise.
7203 * elf/tst-unique3lib2.cc (gets): Likewise.
7204 * elf/tst-unique4.cc (gets): Likewise.
7205
b15549e6
UD
72062012-01-24 Ulrich Drepper <drepper@gmail.com>
7207
7208 * include/stdio.h: Add C++ protection. Add gets declarations and
7209 definitions.
7210 * debug/tst-chk1.c: Don't declare gets here.
7211 * stdio-common/tst-gets.c: Likewise.
7212
a037381f
JM
72132012-01-24 Joseph Myers <joseph@codesourcery.com>
7214
7215 * posix/glob: Remove directory.
7216
f1d4aa75
JM
72172012-01-24 Joseph Myers <joseph@codesourcery.com>
7218
7219 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7220
81c0c964
PT
72212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7222
7223 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7224 of the non-standard EPFNOSUPPORT.
7225
0ea698ae
ST
72262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7227
7228 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7229 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7230 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7231
d220b117
UD
72322012-01-21 Ulrich Drepper <drepper@gmail.com>
7233
7234 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7235
3e1aa84e
UD
72362012-01-20 Ulrich Drepper <drepper@gmail.com>
7237
7238 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7239 transient errors.
7240 * nscd/grpcache.c (cache_addgr): Likewise.
7241 * nscd/hstcache.c (cache_addhst): Likewise.
7242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7243 * nscd/pwdcache.c (cache_addpw): Likewise.
7244 * nscd/servicescache.c (cache_addserv): Likewise.
7245
400aa020
UD
72462012-01-16 Ulrich Drepper <drepper@gmail.com>
7247
d77e7869
UD
7248 * malloc/malloc.c: Various cleanups.
7249 * malloc/hooks.c: Likewise.
7250
400aa020
UD
7251 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7252 * stdlib/bug-fmtmsg1.c: New file.
7253
7254 * stdlib/fmtmsg.c (init): Add missing unlock.
7255 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7256
e0a309cf
MP
72572012-01-12 Marek Polacek <polacek@redhat.com>
7258
7259 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7260 and _GNU_SOURCE.
7261
929d11c7
WS
72622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7263
7264 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7265 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7266 macro to ensure uniqueness of label name.
7267 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7268 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7269
41d0e869
UD
72702012-01-11 Ulrich Drepper <drepper@gmail.com>
7271
0cc5ed3b
UD
7272 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7273
41d0e869
UD
7274 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7278
a47a831a
UD
72792012-01-10 Ulrich Drepper <drepper@gmail.com>
7280
daa891c0
UD
7281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7282
7283 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7284 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7286
e58ef0f2
UD
7287 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7288
a47a831a 7289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7290 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7293
7294 * math/bits/math-finite.h: Add ldexp support.
7295
a0bfc9c7
MP
72962012-01-10 Marek Polacek <polacek@redhat.com>
7297
7298 * locale/programs/localedef.h (show_archive_content): Add noreturn
7299 attribute.
7300
d6e97a1d
UD
73012012-01-09 Ulrich Drepper <drepper@gmail.com>
7302
7303 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7304
d5835c26
UD
73052012-01-08 Ulrich Drepper <drepper@gmail.com>
7306
e5f484c6
UD
7307 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7308
d5835c26
UD
7309 * io/Makefile (headers): Add bits/poll2.h.
7310
d1f741e9
WS
73112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7312
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7314 typo #include statement.
7315
ec09c1c4
UD
73162012-01-08 Ulrich Drepper <drepper@gmail.com>
7317
7318 * include/sys/cdefs.h: Define __attribute_alloc_size.
7319 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7320 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7321 * elf/pldd.c: Likewise.
7322 * iconv/iconv_charmap.c: Likewise.
7323 * iconv/iconvconfig.c: Likewise.
7324 * iconv/strtab.c: Likewise.
7325 * locale/programs/locale.c: Likewise.
7326 * locale/programs/localedef.h: Likewise.
7327 * locale/programs/simple-hash.c: Likewise.
7328 * nscd/nscd.h: Likewise.
7329 * nss/makedb.c: Likewise.
7330 * sysdeps/generic/ldconfig.h: Likewise.
7331 * locale/programs/localedef.c: Remove xmalloc prototype.
7332 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7333
20b38e03
PP
73342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7335
7336 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7337 appropriate.
7338
a0da5fe1
UD
73392012-01-08 Ulrich Drepper <drepper@gmail.com>
7340
1d5a644a 7341 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7342 * math/tst-CMPLX.c: New file.
1d5a644a 7343
8784a6db
UD
7344 * math/complex.h (CMPLXL): Fix typo.
7345
d9a216c0
UD
7346 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7347 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7348 GLIBC_2.16.
7349 * debug/tst-chk1.c: Add poll and ppoll tests.
7350 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7351 * include/sys/poll.h: Add hidden proto for ppoll.
7352 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7353 * sysdeps/mach/hurd/ppoll.c: Likewise.
7354 * io/ppoll.c: Likewise.
7355 * debug/poll_chk.c: New file.
7356 * debug/ppoll_chk.c: New file.
7357 * include/bits/poll2.h: New file.
7358 * io/bits/poll2.h: New file.
7359
ac097f5c
UD
7360 [BZ #1350]
7361 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7362
2119dcfa
UD
7363 * configure.in: static is always set to yes. Remove.
7364 * config.make.in: Don't set build-static.
7365 * Makeconfig: Remove use of build-static.
7366 * dlfcn/Makefile: Likewise.
7367 * elf/Makefile: Likewise.
7368 * math/Makefile: Likewise.
7369 * misc/Makefile: Likewise.
7370 * nptl/Makefile: Likewise.
7371 * sysdeps/mach/hurd/Makefile: Likewise.
7372
121766a9
UD
7373 * configure.in: PWD_P is not used anymore.
7374 * config.make.in: Remove PWD_P entry.
7375
51a1d39c 7376 * configure.in: Remove last remnants of RANLIB.
8720d066 7377 No need to check for signed size_t anymore.
215f4bdc
UD
7378 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7379 and IA-64.
3857022a 7380 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7381 * aclocal.m4: Likewise.
7382
d3ed7225
UD
7383 * wcsmbs/mbrtoc16.c: Implement using towc function.
7384 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7385 * wcsmbs/wcsmbsload.c: Likewise.
7386 * iconv/gconv_simple.c: Likewise.
7387 * iconv/gconv_int.h: Likewise.
7388 * iconv/gconv_builtin.h: Likewise.
7389 * iconv/iconv_prog.c: Remove CHAR16 handling.
7390
7391 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7392
7393 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7394
a0da5fe1
UD
7395 * configure.in: Remove --with-elf and --enable-bounded options.
7396 Dont set base_machine for ia64. More non-ELF conditions removed.
7397 Remove testing and setting of leading underscore information.
7398 * config.make.in (build-bounded): Set to no.
7399 * config.h.in: Remove NO_UNDERSCORES entry.
7400 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7401 them.
7402 * csu/start.c: Remove !NO_UNDERSCORE code.
7403 * locale/localeinfo.h: Likewise.
7404 * sysdeps/generic/machine-gmon.h: Likewise.
7405 * sysdeps/generic/sysdep.h: Likewise.
7406 * sysdeps/i386/sysdep.h: Likewise.
7407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7408 * sysdeps/mach/sysdep.h: Likewise.
7409 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7411 * sysdeps/sh/sysdep.h: Likewise.
7412 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7413 * sysdeps/unix/i386/sysdep.S: Likewise.
7414 * sysdeps/unix/sparc/start.c: Likewise.
7415 * sysdeps/unix/sparc/sysdep.S: Likewise.
7416 * sysdeps/unix/sparc/sysdep.h: Likewise.
7417 * sysdeps/unix/start.c: Likewise.
7418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7419 * sysdeps/x86_64/sysdep.h: Likewise.
7420
df78418a
UD
74212012-01-07 Ulrich Drepper <drepper@gmail.com>
7422
a784e502
UD
7423 [BZ #13553]
7424 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7425 for non-gcc.
7426 * argp/argp-fmtstream.h: Use const instead __const.
7427 * argp/argp.h: Likewise.
7428 * assert/assert.h: Likewise.
7429 * bits/fenv.h: Likewise.
7430 * bits/sched.h: Likewise.
7431 * bits/sigset.h: Likewise.
7432 * bits/sigthread.h: Likewise.
7433 * catgets/nl_types.h: Likewise.
7434 * conform/data/pthread.h-data: Likewise.
7435 * crypt/crypt-private.h: Likewise.
7436 * crypt/crypt.h: Likewise.
7437 * crypt/crypt_util.c: Likewise.
7438 * ctype/ctype.h: Likewise.
7439 * debug/execinfo.h: Likewise.
7440 * debug/mbsnrtowcs_chk.c: Likewise.
7441 * debug/mbsrtowcs_chk.c: Likewise.
7442 * debug/wcsnrtombs_chk.c: Likewise.
7443 * debug/wcsrtombs_chk.c: Likewise.
7444 * debug/wcstombs_chk.c: Likewise.
7445 * dirent/dirent.h: Likewise.
7446 * dlfcn/dlfcn.h: Likewise.
7447 * elf/neededtest4.c: Likewise.
7448 * grp/grp.h: Likewise.
7449 * gshadow/gshadow.h: Likewise.
7450 * iconv/gconv.h: Likewise.
7451 * iconv/gconv_int.h: Likewise.
7452 * iconv/gconv_simple.c: Likewise.
7453 * iconv/iconv.h: Likewise.
7454 * iconv/loop.c: Likewise.
7455 * iconv/skeleton.c: Likewise.
7456 * include/aio.h: Likewise.
7457 * include/aliases.h: Likewise.
7458 * include/argz.h: Likewise.
7459 * include/arpa/inet.h: Likewise.
7460 * include/assert.h: Likewise.
7461 * include/dirent.h: Likewise.
7462 * include/dlfcn.h: Likewise.
7463 * include/execinfo.h: Likewise.
7464 * include/fcntl.h: Likewise.
7465 * include/fenv.h: Likewise.
7466 * include/glob.h: Likewise.
7467 * include/grp.h: Likewise.
7468 * include/libintl.h: Likewise.
7469 * include/mntent.h: Likewise.
7470 * include/netdb.h: Likewise.
7471 * include/pwd.h: Likewise.
7472 * include/rpc/netdb.h: Likewise.
7473 * include/sched.h: Likewise.
7474 * include/search.h: Likewise.
7475 * include/shadow.h: Likewise.
7476 * include/signal.h: Likewise.
7477 * include/stdio.h: Likewise.
7478 * include/stdlib.h: Likewise.
7479 * include/string.h: Likewise.
7480 * include/sys/socket.h: Likewise.
7481 * include/sys/stat.h: Likewise.
7482 * include/sys/statfs.h: Likewise.
7483 * include/sys/statvfs.h: Likewise.
7484 * include/sys/syslog.h: Likewise.
7485 * include/sys/time.h: Likewise.
7486 * include/sys/uio.h: Likewise.
7487 * include/time.h: Likewise.
7488 * include/unistd.h: Likewise.
7489 * include/utmp.h: Likewise.
7490 * include/wchar.h: Likewise.
7491 * include/wctype.h: Likewise.
7492 * inet/aliases.h: Likewise.
7493 * inet/arpa/inet.h: Likewise.
7494 * inet/netinet/ether.h: Likewise.
7495 * inet/netinet/in.h: Likewise.
7496 * intl/libintl.h: Likewise.
7497 * io/bits/fcntl2.h: Likewise.
7498 * io/fcntl.h: Likewise.
7499 * io/ftw.h: Likewise.
7500 * io/sys/poll.h: Likewise.
7501 * io/sys/stat.h: Likewise.
7502 * io/sys/statfs.h: Likewise.
7503 * io/sys/statvfs.h: Likewise.
7504 * io/utime.h: Likewise.
7505 * libio/bits/stdio.h: Likewise.
7506 * libio/bits/stdio2.h: Likewise.
7507 * libio/libio.h: Likewise.
7508 * libio/libioP.h: Likewise.
7509 * libio/stdio.h: Likewise.
7510 * locale/lc-ctype.c: Likewise.
7511 * locale/locale.h: Likewise.
7512 * login/utmp.h: Likewise.
7513 * malloc/arena.c: Likewise.
7514 * malloc/malloc.c: Likewise.
7515 * malloc/malloc.h: Likewise.
7516 * malloc/mcheck.c: Likewise.
7517 * malloc/mtrace.c: Likewise.
7518 * math/bits/mathcalls.h: Likewise.
7519 * math/fenv.h: Likewise.
7520 * math/math_private.h: Likewise.
7521 * misc/bits/error.h: Likewise.
7522 * misc/bits/syslog.h: Likewise.
7523 * misc/err.h: Likewise.
7524 * misc/error.h: Likewise.
7525 * misc/fstab.h: Likewise.
7526 * misc/mntent.h: Likewise.
7527 * misc/regexp.h: Likewise.
7528 * misc/search.h: Likewise.
7529 * misc/sgtty.h: Likewise.
7530 * misc/sys/mman.h: Likewise.
7531 * misc/sys/syslog.h: Likewise.
7532 * misc/sys/uio.h: Likewise.
7533 * misc/sys/xattr.h: Likewise.
7534 * misc/ttyent.h: Likewise.
7535 * nis/rpcsvc/ypclnt.h: Likewise.
7536 * nss/nss.h: Likewise.
7537 * posix/bits/unistd.h: Likewise.
7538 * posix/fnmatch.h: Likewise.
7539 * posix/glob.h: Likewise.
7540 * posix/sched.h: Likewise.
7541 * posix/spawn.h: Likewise.
7542 * posix/sys/wait.h: Likewise.
7543 * posix/unistd.h: Likewise.
7544 * posix/wordexp.h: Likewise.
7545 * pwd/pwd.h: Likewise.
7546 * resolv/netdb.h: Likewise.
7547 * resource/sys/resource.h: Likewise.
7548 * rt/aio.h: Likewise.
7549 * rt/bits/mqueue2.h: Likewise.
7550 * rt/mqueue.h: Likewise.
7551 * shadow/shadow.h: Likewise.
7552 * signal/signal.h: Likewise.
7553 * socket/send.c: Likewise.
7554 * socket/sendto.c: Likewise.
7555 * socket/sys/socket.h: Likewise.
7556 * stdio-common/printf.h: Likewise.
7557 * stdlib/bits/stdlib.h: Likewise.
7558 * stdlib/fmtmsg.h: Likewise.
7559 * stdlib/monetary.h: Likewise.
7560 * stdlib/stdlib.h: Likewise.
7561 * stdlib/ucontext.h: Likewise.
7562 * streams/stropts.h: Likewise.
7563 * string/argz.h: Likewise.
7564 * string/bits/string2.h: Likewise.
7565 * string/string.h: Likewise.
7566 * string/strings.h: Likewise.
7567 * sunrpc/rpc/auth.h: Likewise.
7568 * sunrpc/rpc/auth_des.h: Likewise.
7569 * sunrpc/rpc/clnt.h: Likewise.
7570 * sunrpc/rpc/netdb.h: Likewise.
7571 * sunrpc/rpc/pmap_clnt.h: Likewise.
7572 * sunrpc/rpc/xdr.h: Likewise.
7573 * sysdeps/generic/inttypes.h: Likewise.
7574 * sysdeps/generic/net/if.h: Likewise.
7575 * sysdeps/generic/sys/swap.h: Likewise.
7576 * sysdeps/gnu/net/if.h: Likewise.
7577 * sysdeps/gnu/utmpx.h: Likewise.
7578 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7579 * sysdeps/i386/i486/bits/string.h: Likewise.
7580 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7581 * sysdeps/s390/bits/string.h: Likewise.
7582 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7583 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7584 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7585 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7586 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7587 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7588 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7589 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7590 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7591 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7592 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7593 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7594 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7595 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7596 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7597 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7598 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7602 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7604 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7605 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7606 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7607 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7608 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7609 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7610 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7612 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7613 * sysvipc/sys/ipc.h: Likewise.
7614 * sysvipc/sys/msg.h: Likewise.
7615 * sysvipc/sys/sem.h: Likewise.
7616 * sysvipc/sys/shm.h: Likewise.
7617 * termios/termios.h: Likewise.
7618 * time/sys/time.h: Likewise.
7619 * time/time.h: Likewise.
7620 * wcsmbs/bits/wchar2.h: Likewise.
7621 * wcsmbs/uchar.h: Likewise.
7622 * wcsmbs/wchar.h: Likewise.
7623 * wctype/wctype.h: Likewise.
7624
0269750c
UD
7625 [BZ #13551]
7626 * Makeconfig: Remove all but ELF support including AIX support.
7627 * Makerules: Likewise.
7628 * config.h.in: Likewise.
7629 * config.make.in: Likewise.
7630 * configure: Likewise.
7631 * configure.in: Likewise.
7632 * csu/Makefile: Likewise.
7633 * csu/version.c: Likewise.
7634 * debug/Makefile: Likewise.
7635 * dlfcn/Makefile: Likewise.
7636 * elf/Makefile: Likewise.
7637 * extra-lib.mk: Likewise.
7638 * iconv/Makefile: Likewise.
7639 * include/libc-symbols.h: Likewise.
7640 * include/shlib-compat.h: Likewise.
7641 * resolv/Makefile: Likewise.
7642 * resolv/res_libc.c: Likewise.
7643 * rt/Makefile: Likewise.
7644 * sysdeps/i386/asm-syntax.h: Likewise.
7645 * sysdeps/i386/sysdep.h: Likewise.
7646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7647 * sysdeps/mach/sysdep.h: Likewise.
7648 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7649 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7650 * sysdeps/s390/asm-syntax.h: Likewise.
7651 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7652 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7653 * sysdeps/sh/sysdep.h: Likewise.
7654 * sysdeps/unix/sparc/sysdep.h: Likewise.
7655 * sysdeps/wordsize-32/divdi3.c: Likewise.
7656 * sysdeps/x86_64/sysdep.h: Likewise.
7657
00bbd29b
UD
7658 * argp/Versions: Remove _argp_unlock_xxx.
7659
7660 [BZ #13559]
7661 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7662 * abilist/libBrokenLocale.abilist: Likewise.
7663 * abilist/libanl.abilist: Likewise.
7664 * abilist/libc.abilist: Likewise.
7665 * abilist/libcrypt.abilist: Likewise.
7666 * abilist/libdl.abilist: Likewise.
7667 * abilist/libm.abilist: Likewise.
7668 * abilist/libnsl.abilist: Likewise.
7669 * abilist/libpthread.abilist: Likewise.
7670 * abilist/libresolv.abilist: Likewise.
7671 * abilist/librt.abilist: Likewise.
7672 * abilist/libthread_db.abilist: Likewise.
7673 * abilist/libutil.abilist: Likewise.
7674 * abilist/libnss_db.abilist: New file.
7675
7676 * scripts/abilist.awk: Add support for indirect functions.
7677
a2693a0e
UD
7678 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7679
3f05895f
UD
7680 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7681
ecb6fb48
UD
7682 * shlib-versions: Remove entries for ports architectures.
7683
664f8cb9
UD
7684 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7685 files in ports.
7686 * elf/stackguard-macros.h: Remove support for IA-64.
7687 * elf/tst-auditmod1.c: Likewise.
7688 * sysdeps/generic/ldsodefs.h: Likewise.
7689
7ae81d88
UD
7690 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7691 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7692 configure files.
7693
bdeba135
UD
7694 [BZ #13552]
7695 * configure.in: Remove --enable-omitfp support.
7696 * FAQ.in: Adjust.
7697 * config.make.in: Likewise.
7698 * Makeconfig: Likewise.
7699 * manual/install.texi: Likewise.
7700
d75a0a62
UD
7701 In case anyone cares, the IA-64 architecture could move to ports.
7702 * sysdeps/ia64/*: Removed.
7703 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7704 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7705
dcc9756b
UD
7706 [BZ #13555]
7707 * configure.in: Remove entries for unsupported architectures.
7708
d3761ebc 7709 [BZ #13533]
9954432e
UD
7710 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7711 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7712 routines.
7713 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7714 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7715 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7716 fall back to using wcrtomb.
7717 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7718 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7719 renaming.
7720 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7721 * wcsmbs/tst-c16c32-1.c: New file.
7722
7723 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7724 local variable.
7725
c3a87236
UD
7726 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7727
28926a1b
UD
7728 * elf/tst-unique3.cc: Add explicit declaration of gets.
7729 * elf/tst-unique3lib.cc: Likewise.
7730 * elf/tst-unique3lib2.cc: Likewise.
7731 * elf/tst-unique4.cc: Likewise.
7732
df78418a
UD
7733 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7734
8ecd6b2a
JM
77352012-01-06 Joseph Myers <joseph@codesourcery.com>
7736
7737 [BZ #13566]
7738 * assert/assert.h (static_assert): Don't define for C++.
7739 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7740 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7741
9f115170
UD
77422012-01-03 Ulrich Drepper <drepper@gmail.com>
7743
5e0d0300
UD
7744 * iconv/loop.c (single loop): Fix assertion in storing of
7745 remaining bytes.
7746
9f115170
UD
7747 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7748
81fb02b0
UD
77492012-01-01 Ulrich Drepper <drepper@gmail.com>
7750
7751 * posix/getconf.c: Update copyright year.
7752 * nss/getent.c: Likewise.
a316c1f6 7753 * nss/makedb.c: Likewise.
81fb02b0
UD
7754 * iconv/iconvconfig.c: Likewise.
7755 * iconv/iconv_prog.c: Likewise.
7756 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7757 * elf/pldd.c: Likewise.
7758 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7759 * catgets/gencat.c: Likewise.
7760 * csu/version.c: Likewise.
7761 * elf/ldd.bash.in: Likewise.
7762 * elf/sprof.c (print_version): Likewise.
7763 * locale/programs/locale.c: Likewise.
7764 * locale/programs/localedef.c: Likewise.
a316c1f6 7765 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7766 * nscd/nscd.c (print_version): Likewise.
7767 * debug/xtrace.sh: Likewise.
7768 * malloc/memusage.sh: Likewise.
7769 * malloc/mtrace.pl: Likewise.
7770 * debug/catchsegv.sh: Likewise.
7771
2ba92745
JJ
77722011-12-30 Jakub Jelinek <jakub@redhat.com>
7773
7774 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7775 pure attribute.
7776
dadebdae
UD
77772011-12-24 Ulrich Drepper <drepper@gmail.com>
7778
d3761ebc 7779 [BZ #13533]
db6af3eb
UD
7780 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7781 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7782 transformations.
7783 * iconv/gconv_int.h: Likewise.
7784 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7785 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7786 from libc for GLIBC_2.16.
7787 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7788 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7789 * wcsmbs/uchar.h: Really define mbstate_t.
7790 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7791 * wcsmbs/c16rtomb.c: New file.
7792 * wcsmbs/mbrtoc16.c: New file.
7793 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7794 for C/POSIX locale.
7795 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7796 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7797
dadebdae
UD
7798 * wcsmbs/wchar.h: Add missing __restrict.
7799
67371b56
UD
78002011-12-23 Ulrich Drepper <drepper@gmail.com>
7801
74033a25
UD
7802 [BZ #13532]
7803 * time/Makefile (routines): Add timespec_get.
7804 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7805 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7806 timespec for ISO C11.
7807 * time/timespec_get.c: New file.
7808 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7809 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7810
380d7e87
UD
7811 [BZ #13531]
7812 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7813 * stdlib/stdlib.h: Declare aligned_alloc.
7814 * Versions.def: Add GLIBC_2.16 for libc.
7815 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7816
4e9e7a35
UD
7817 [BZ 13527]
7818 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7819 ISO C11.
7820
380d7e87 7821 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7822 code.
7823
03a71829
UD
7824 [BZ #13528]
7825 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7826
839e283e
UD
7827 [BZ #13529]
7828 * assert/assert.h (static_assert): Define.
7829
ce5294e2 7830 * version.h: Update for 2.16 development version.
90fa7312 7831
8d44e150 7832 [BZ #13526]
d7809905
UD
7833 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7834 _ISOC11_SOURCE.
7835
c0da14cd
UD
7836 * version.h (RELEASE): Bump for 2.15 release.
7837 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7838
530a3249
MP
7839 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7840 Patch by Marek Polacek <mpolacek@redhat.com>.
7841
67371b56
UD
7842 * bits/byteswap.h: Protect long long constants with __extension__.
7843 * sysdeps/i386/bits/byteswap.h: Likewise.
7844 * sysdeps/ia64/bits/byteswap.h: Likewise.
7845 * sysdeps/s390/bits/byteswap.h: Likewise.
7846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7847
15db4de1
LD
78482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7849
7850 [BZ #13540]
bbe315ea
LD
7851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7852 destination buffer.
15db4de1
LD
7853 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7854
2b2596b1
MP
78552011-12-23 Marek Polacek <polacek@redhat.com>
7856
7857 * elf/dl-addr.c (determine_info): Add inline keyword.
7858 * elf/tst-auditmod4b.c (check_avx): Likewise.
7859 * elf/tst-auditmod6b.c (check_avx): Likewise.
7860 * elf/tst-auditmod6c.c (check_avx): Likewise.
7861 * elf/tst-auditmod7b.c (check_avx): Likewise.
7862
70c6c246
UD
78632011-12-23 Ulrich Drepper <drepper@gmail.com>
7864
7865 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7866 !__SSE_MATH__.
7867
c044cf14
LD
78682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7869
15db4de1 7870 [BZ #13540]
c044cf14
LD
7871 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7872 processing for last bytes.
7873
6b13d9d9
BH
78742011-08-06 Bruno Haible <bruno@clisp.org>
7875
d455f537
BH
7876 [BZ #13061]
7877 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7878 U+0385, not to U+1FEE.
7879
6b13d9d9
BH
7880 [BZ #13062]
7881 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7882 entry for U+00A5 U+0301.
7883
db910efd
UD
78842011-12-22 Ulrich Drepper <drepper@gmail.com>
7885
27deeafc
UD
7886 [BZ #13166]
7887 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7888 buffer for the output is too small.
7889
aed9d171
UD
7890 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7891 optimization.
7892
db910efd
UD
7893 [BZ #13185]
7894 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7895 SSE flags if possible.
7896
2bd779ae
LD
78972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7898
e7f9dac3 7899 [BZ #13540]
2bd779ae
LD
7900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7901 processing for last bytes.
7902
154bfc16
JM
79032011-12-22 Joseph Myers <joseph@codesourcery.com>
7904
7905 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7906 (syscall-list-default-options, syscall-list-default-condition)
7907 (syscall-list-includes): Define.
7908 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7909 list of ABIs and options and #if conditions for each ABI. Do not
7910 handle common syscalls between ABIs specially.
7911 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7912 Remove.
7913 (syscall-list-variants, syscall-list-32bit-options)
7914 (syscall-list-32bit-condition, syscall-list-64bit-options)
7915 (syscall-list-64bit-condition): Define.
7916 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7917 (syscall-list-variants, syscall-list-32bit-options)
7918 (syscall-list-32bit-condition, syscall-list-64bit-options)
7919 (syscall-list-64bit-condition): Define.
7920 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7921 Remove.
7922 (syscall-list-variants, syscall-list-32bit-options)
7923 (syscall-list-32bit-condition, syscall-list-64bit-options)
7924 (syscall-list-64bit-condition): Define.
7925 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7926 Remove.
7927 (syscall-list-variants, syscall-list-32bit-options)
7928 (syscall-list-32bit-condition, syscall-list-64bit-options)
7929 (syscall-list-64bit-condition): Define.
7930
21eaf3a5
UD
79312011-12-22 Ulrich Drepper <drepper@gmail.com>
7932
16c6f992
UD
7933 * locale/iso-639.def: Add brx entry.
7934
41043168
UD
7935 [BZ #13328]
7936 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7937 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7938
21eaf3a5
UD
7939 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7940 __feraiseexcept_renamed.
7941
e3a851a2
UD
79422011-12-21 Ulrich Drepper <drepper@gmail.com>
7943
4920765e
UD
7944 [BZ #13538]
7945 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7946 EPOLLET with unsigned values.
7947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7949
e3a851a2
UD
7950 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7951 to large cancellation.
7952 * math/s_cacoshf.c: Likewise.
7953 * math/s_cacoshl.c: Likewise.
7954
b27e24b8
RK
79552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7956
7957 [BZ #13305]
aebefeee 7958 [BZ #12786]
b27e24b8
RK
7959 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7960 * math/s_cacoshf.c: Likewise.
7961 * math/s_cacoshl.c: Likewise.
7962
ee190f67
UD
79632011-12-21 Ulrich Drepper <drepper@gmail.com>
7964
7965 [BZ #13439]
7966 * iconv/gconv.h: Define __GCONV_SWAP.
7967 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7968 * iconvdata/utf-16.c: Likewise.
7969 * iconvdata/utf-32.c: Likewise.
7970
707f25df
AS
79712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7972
7973 [BZ #13524]
7974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7975 numerator after shifting it by one limb.
7976
d2daaa1e
RÁE
79772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7978
7979 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7980 under [__USE_EXTERN_INLINES].
7981
a4647e72
UD
79822011-12-17 Ulrich Drepper <drepper@gmail.com>
7983
7984 [BZ #13446]
7985 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7986
f0b264f1
AZ
79872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7988
7989 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7990 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7991 optimized code.
7992 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7993 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7994 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7995 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7996 for strncasecmp/strncasecmp_l compilation.
7997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7998 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7999
8ef4f244
MP
80002011-12-08 Marek Polacek <mpolacek@redhat.com>
8001
8002 [BZ #13484]
8003 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8004 of __asm__.
8005
97ac2654
UD
80062011-12-17 Ulrich Drepper <drepper@gmail.com>
8007
8008 [BZ #13506]
8009 * time/tzfile.c (__tzfile_read): Check values from file header.
8010
91d2a845
WS
80112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8012
8013 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8014 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8015 * powerpc/powerpc32/dl-start.S: Likewise.
8016 * powerpc/powerpc32/elf/start.S: Likewise.
8017 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8018 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8019 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8020 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8021 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8022 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8023 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8024 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8025 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8026 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8027 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8028 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8029 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8030 * powerpc/powerpc32/memset.S: Likewise.
8031 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8032 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8033 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8034 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8035 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8036 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8037 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8038 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8039 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8040 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8041 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8042 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8043 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8044
a1267ba1
AZ
80452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8046
8047 * math/libm-test.inc: Added more nearbyint tests.
8048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8050 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8052
ad8ac1bd
RL
80532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8054
8055 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8056 FD_CLOEXEC.
8057
1d3e4b61
UD
80582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8059
8060 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8061 Add wcscpy-ssse3 wcscpy-c.
8062 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8063 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8064 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8065 * sysdeps/x86_64/wcschr.S: New file.
8066 * sysdeps/x86_64/wcsrchr.S: New file.
8067 * string/test-strcmp.c: Remove checking of wcscmp function for
8068 wrong alignments.
8069 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8070 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8071 wcsrchr-sse2 wcsrchr-c.
8072 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8073 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8074 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8075 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8076 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8077 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8078 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8079 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8080 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8081 * wcsmbc/wcschr.c (WCSCHR): New macro.
8082
5b330a2d
UD
80832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8084
8085 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8086 * wcsmbs/test-wcsrchr.c: New file.
8087 * string/test-strrchr.c: Add wcsrchr support.
8088 (WIDE): New macro.
8089 * wcsmbs/test-wcscpy.c: New file.
8090 * string/test-strcpy.c: Add wcscpy support.
8091 (WIDE): New macro.
26428b7c 8092
f039c043
UD
80932011-12-10 Ulrich Drepper <drepper@gmail.com>
8094
8095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8096 the inner loop.
8097
850fb039
AS
80982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8099
8100 [BZ #13472]
8101 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8102
4efbd5cb
UD
81032011-12-04 Ulrich Drepper <drepper@gmail.com>
8104
52ff5dd0 8105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8106 Minor optimizations.
52ff5dd0 8107
4efbd5cb
UD
8108 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8109 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8110 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8111
8a426e12
UD
81122011-12-03 Ulrich Drepper <drepper@gmail.com>
8113
aff2453d
UD
8114 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8115 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8116 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8117 for gcc to avoid warnings.
8118 * inet/Makefile (tests): Add tst-checks.
8119 * inet/tst-checks.c: New file.
8120
8121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8122 warning.
8123
8124 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8125 __wmemcmp_sse2.
8126
8127 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8128 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8129
8a426e12
UD
8130 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8131
9bea3473
UD
81322011-12-02 Ulrich Drepper <drepper@gmail.com>
8133
3a965496
UD
8134 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8135 problem.
8136
9bea3473
UD
8137 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8138
f101631b
UD
81392011-11-29 Joseph Myers <joseph@codesourcery.com>
8140
8141 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8142 conditional on GCC version.
8143 (__arch_compare_and_exchange_val_8_acq)
8144 (__arch_compare_and_exchange_val_16_acq)
8145 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8146 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8147 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8148
a98275aa
UD
81492011-12-02 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/sh/backtrace.c: New file.
8152
d4cc29a2
AS
81532011-12-02 Andreas Schwab <schwab@redhat.com>
8154
8155 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8156 parenthesis.
8157
6257af2d
AS
81582011-12-01 Andreas Schwab <schwab@redhat.com>
8159
8160 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8161 falling back to utime.
8162
b5f44c1a
AS
81632011-11-30 Andreas Schwab <schwab@redhat.com>
8164
8165 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8166 expectations for float.
8167
f3a6cc0a
AS
81682011-11-29 Andreas Schwab <schwab@redhat.com>
8169
8170 * locale/weight.h (findidx): Add parameter len.
8171 * locale/weightwc.h (findidx): Likewise.
8172 * posix/fnmatch_loop.c (FCT): Adjust caller.
8173 * posix/regcomp.c (build_equiv_class): Likewise.
8174 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8175 * posix/regexec.c (check_node_accept_bytes): Likewise.
8176 * string/strcoll_l.c (STRCOLL): Likewise.
8177 * string/strxfrm_l.c (STRXFRM): Likewise.
8178
9d65ea3a
UD
81792011-11-17 Ulrich Drepper <drepper@gmail.com>
8180
8181 * Makefile.in: Remove CVSOPT handling.
8182 * configure.in: Remove use of AC_REVISION.
8183 * iconvdata/Makefile (distribute): No need to filter out CVS.
8184 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8185 handling.
8186
5583a086
AS
81872011-11-16 Andreas Schwab <schwab@redhat.com>
8188
8189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8190 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8191 [USE_AS_STRNCASECMP_L]: Likewise.
8192 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8193 NO_TLS_DIRECT_SEG_REFS.
8194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8195 Fix argument offsets for non-PIC.
8196 [USE_AS_STRNCASECMP_L]: Likewise.
8197 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8198 NO_TLS_DIRECT_SEG_REFS.
8199
d62a8200
UD
82002011-11-15 Ulrich Drepper <drepper@gmail.com>
8201
9d65ea3a 8202 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8203 O_CLOEXEC.
8204 * locale/loadlocale.c (_nl_load_locale): Likewise.
8205
09f93bd3
AS
82062011-11-15 Andreas Schwab <schwab@redhat.com>
8207
446514f9
AS
8208 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8209 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8210 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8211 (SYSCALL_GETTIME): Set errno on error.
8212
09f93bd3
AS
8213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8214 count references to noai6ai_cached.
8215
312be3f9
UD
82162011-11-15 Ulrich Drepper <drepper@gmail.com>
8217
8218 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8219
8220 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8221 FD_CLOEXEC for /proc/self/maps.
8222
8223 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8224 FD_CLOEXEC for /proc/meminfo.
8225
8226 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8227 gai.conf.
8228
8229 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8230 FD_CLOEXEC for given file.
8231
8232 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8233
8234 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8235 FD_CLOEXEC for /etc/hosts.
8236 (_gethtent): Likewise.
8237
8238 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8239
8240 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8241 cancellation and set FD_CLOEXEC for /etc/netgroup.
8242
8243 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8244 reading /etc/publickey.
8245
8246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8247 allow cancellation when reading /etc/group.
8248
8249 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8250 cancellation.
8251 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8252
8253 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8254 when using data file.
8255
8256 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8257
8258 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8259 (write_nis_obj): Use "c" and "e" in fopen.
8260
8261 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8262
8263 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8264
8265 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8266
8267 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8268
8269 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8270 locale.alias.
8271
8272 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8273
8274 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8275
8276 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8277
8278 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8279 file parsing and set FD_CLOEXEC.
8280
82af0fa8
UD
82812011-11-14 Ulrich Drepper <drepper@gmail.com>
8282
8283 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8284
a5fb313c
AS
82852011-11-14 Andreas Schwab <schwab@redhat.com>
8286
8287 * malloc/arena.c (arena_get2): Don't call reused_arena when
8288 _int_new_arena failed.
8289
6abf3465
UD
82902011-11-14 Ulrich Drepper <drepper@gmail.com>
8291
8292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8293 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8298 to compile strcasecmp and strncasecmp.
8299 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8300 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8301
8302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8303
76e3966e
UD
83042011-11-13 Ulrich Drepper <drepper@gmail.com>
8305
8306 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8307 locale-defines.sym to gen-as-const-headers.
8308 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8309 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8311 to compile strcasecmp and strncasecmp.
8312 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8313 strcasecmp_l and strncasecmp_l.
8314 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8315 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8316 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8317 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8318 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8319 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8320 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8321 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8322 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8323 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8324 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8325
ab26144e
UD
83262011-11-12 Ulrich Drepper <drepper@gmail.com>
8327
7edb22ef
UD
8328 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8329 result of SYSDEP_GETTIME_CPU to retval.
8330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8331 parameter list to macro. Remove trailing semicolon. Adjust users.
8332
9694fc44
UD
8333 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8334 variable.
8335
8ad89ef8
UD
8336 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8337 mantissa words.
8338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8339
0c822ef9
UD
8340 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8341 from unused variable.
8342
874e0564
UD
8343 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8344 DWARF definitions.
8345 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8346 for assembling.
8347
3a2edc79
UD
8348 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8349 over namespaces.
8350
f3c2577f
UD
8351 * sunrpc/rpc_prot.c (rejected): Fix case value.
8352
294ce126
UD
8353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8354 unsigned long long int to avoid warnings in shift.
8355
5e2b63c6
UD
8356 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8357 of use of trans.
8358 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8359 variable tmp.
8360
e7f4b08e
UD
8361 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8362 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8363 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8364
ab26144e
UD
8365 * nis/nis_table.c (nis_list): Use variable of correct type for
8366 result of __follow_path call.
8367
8a6d5255
AZ
83682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8369
8370 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8371 of math functions ceil, trunc, floor, round, and sqrt, when
8372 avaliable on the platform.
8373 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8374 name clash.
8375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8376 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8377 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8378
aaddc98c
MP
83792011-10-30 Marek Polacek <mpolacek@redhat.com>
8380
8381 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8383
95b7042b
RM
83842011-11-11 Roland McGrath <roland@hack.frob.com>
8385
8386 * include/unistd.h: Fix __readlink return type.
8387 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8388
57769839
UD
83892011-11-11 Ulrich Drepper <drepper@gmail.com>
8390
8391 * stdlib/ucontext.h: Undo last change for makecontext.
8392
edc5984d
AS
83932011-11-11 Andreas Schwab <schwab@redhat.com>
8394
98591e58
AS
8395 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8396
edc5984d
AS
8397 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8398 * setjmp/setjmp.h: Mark functions as non-leaf.
8399 * setjmp/bits/setjmp2.h: Likewise.
8400 * stdlib/ucontext.h: Likewise.
8401
77cdc054
AS
84022011-11-10 Andreas Schwab <schwab@redhat.com>
8403
8404 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8405 (reused_arena): Don't check arena limit.
8406 (arena_get2): Atomically check arena limit.
8407
fe72eebd
UD
84082011-11-08 Ulrich Drepper <drepper@gmail.com>
8409
5f078c32
UD
8410 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8411 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8412
fe72eebd
UD
8413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8414 instructions.
8415
ae1bc2fa
AS
84162011-11-07 Andreas Schwab <schwab@redhat.com>
8417
7583a88d
AS
8418 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8419 handler when locking.
8420
ae1bc2fa
AS
8421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8422 Fix size of allocated buffer.
8423
10fb0bfa
AS
84242011-11-04 Andreas Schwab <schwab@redhat.com>
8425
998832a4
AS
8426 [BZ #10103]
8427 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8428 declarations for long double functions.
8429 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8430
10fb0bfa
AS
8431 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8432
3d7ba52b
AS
84332011-11-03 Andreas Schwab <schwab@redhat.com>
8434
a9ae54a1
AS
8435 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8436 installed.
8437
3d7ba52b
AS
8438 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8439 is disabled.
8440
bc8db248
ST
84412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8442
8443 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8444
45b96dd6
AS
84452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8446
647776f6
AS
8447 * include/alloca.h (stackinfo_alloca_round): Define.
8448 (extend_alloca): Use it.
8449 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8450 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8451 here.
8452
d91a8b93
AS
8453 * scripts/check-local-headers.sh: Ignore libaudit.h.
8454
45b96dd6
AS
8455 * nscd/Makefile (extra-objs): Make recursively expanded.
8456
432d41ce
UD
84572011-11-01 Ulrich Drepper <drepper@gmail.com>
8458
34372fc6
UD
8459 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8461
fadb59f8
UD
8462 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8463 * posix/tst-rfc3484-2.c: Likewise.
8464 * posix/tst-rfc3484-3.c: Likewise.
8465
78239589
UD
8466 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8467 process_vm_writev.
8468 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8469 process_vm_writev.
8470 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8471 process_vm_writev from libc using GLIBC_2.15 version.
8472
432d41ce
UD
8473 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8474
02f9c6cf
PP
84752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8476
8477 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8478 stack usage.
8479
3a2c0242
UD
84802011-10-31 Ulrich Drepper <drepper@gmail.com>
8481
f4ec4833
UD
8482 [BZ #13367]
8483 * nss/getent.c (initgroups_keys): Show error message in case no group
8484 names are given.
8485
3a2c0242
UD
8486 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8487 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8488 __bump_nl_timestamp.
8489 * nscd/connections (nscd_init): When host database is served open
8490 netlink socket and request notification about configuration changes.
8491 (main_loop_poll): Track netlink file descriptor and bump timestamp
8492 in case data becomes available.
8493 (main_loop_epoll): Likewise.
8494 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8495 (database_pers_head): Add extra_data fileds.
8496 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8498 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8499 Adjust caller.
8500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8501 in6ai data, call __free_in6ai.
8502 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8503 Add -DHAVE_NETLINK.
8504 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8505 interface information. Reuse previous data if netlink timestamp
8506 is not changed.
8507 (__bump_nl_timestamp): New function.
8508 (__free_in6ai): New function.
8509
636064eb
UD
85102011-10-30 Ulrich Drepper <drepper@gmail.com>
8511
8512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8513 close_not_cancel_no_status here.
8514 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8515
9beb2334
UD
85162011-10-29 Ulrich Drepper <drepper@gmail.com>
8517
6ef76f3b
UD
8518 [BZ #13276]
8519 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8520 return value.
8521
0ffc4f3e 8522 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8523 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8524 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8525
cb95113e
UD
85262011-07-03 Andreas Jaeger <aj@suse.de>
8527
8528 [BZ #10709]
8529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8530 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8531 * math/libm-test.inc (sin_test): Add test case.
8532
a1b560ff
UD
85332011-10-29 Ulrich Drepper <drepper@gmail.com>
8534
c9aaface
UD
8535 [BZ #13337]
8536 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8537 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8538
d272e7f1
UD
8539 * elf/chroot_canon.c (chroot_canon): Cleanups.
8540
1bc33071
UD
8541 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8542
1760874d
TJ
8543 [BZ #13335]
8544 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8546
51d91b18
UD
8547 * string/test-strchr.c: Make usable for strchrnul testing.
8548 * string/test-strchrnul.c: New file.
8549 * string/Makefile (strop-tests): Add strchrnul.
8550
a1b560ff 8551 * po/it.po: Update from translation team.
b611fb81 8552 * po/es.po: Likewise.
a1b560ff 8553
a5b81e1f
UD
85542011-10-28 Ulrich Drepper <drepper@gmail.com>
8555
fd52bc6d
UD
8556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8557 the three constants needed as parameters. Drop the others.
8558 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8559 __m128i_strloadu_tolower.
52e4b9eb
UD
8560 Create and initialize variable zero and use it in all the places
8561 where _mm_setzero_si128 was used.
fd52bc6d 8562
a5b81e1f
UD
8563 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8564 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8565 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8566 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8567 anymore.
8568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8569 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8570 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8571 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8572 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8573 __mpranred, __mptan.
8574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8578 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8579 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8581 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8582 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8583
b4343346
AS
85842011-10-28 Andreas Schwab <schwab@redhat.com>
8585
0c92d8a8
AS
8586 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8587 redefine if SHARED.
8588 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8589
b4343346
AS
8590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8591 wide char related routines to wcsmbs subdir.
8592
3871f58f
AS
85932011-10-27 Andreas Schwab <schwab@redhat.com>
8594
8595 [BZ #13344]
8596 * misc/sys/cdefs.h (__THROWNL): Define.
8597 * posix/unistd.h: Use __THREADNL instead of __THREAD
8598 for memory synchronization functions.
8599
94d44d9f
RM
86002011-10-26 Roland McGrath <roland@hack.frob.com>
8601
21b64b15 8602 [BZ #13349]
94d44d9f
RM
8603 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8604 doesn't exist.
8605 * manual/stdio.texi (Obstack Streams): Node removed.
8606
f6ce9294
AS
86072011-10-26 Andreas Schwab <schwab@redhat.com>
8608
80479147
AS
8609 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8612
f6ce9294
AS
8613 * math/math_private.h (math_force_eval): Allow non-addressable
8614 arguments.
8615 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8616
618280a1
UD
86172011-10-25 Ulrich Drepper <drepper@gmail.com>
8618
e0016b11
UD
8619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8620 file is not needed.
8621
8622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8629 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8630 Add AVX variants.
8631 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8632 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8633 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8634 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8635 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8636 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8637 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8638 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8639 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8640 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8641 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8642 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8643 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8644 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8645 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8646 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8647 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8648 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8649 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8650
8651 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8652 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8653
618280a1
UD
8654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8655 place. Use VEX encoding when compiling for AVX.
8656
37822576
AS
86572011-10-25 Andreas Schwab <schwab@redhat.com>
8658
1f1e1947
AS
8659 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8661
37822576
AS
8662 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8663
31ea014d
UD
86642011-10-25 Ulrich Drepper <drepper@gmail.com>
8665
d7826aa1 8666 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8667 useless if() expression.
d7826aa1
UD
8668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8687
31ea014d
UD
8688 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8689
16437fec
AS
86902011-10-25 Andreas Schwab <schwab@redhat.com>
8691
8692 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8693 condition.
8694 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8695
31d3cc00
UD
86962011-10-25 Ulrich Drepper <drepper@gmail.com>
8697
8698 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8699 .text section. Avoid duplicate constants.
8700 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8710 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8712 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8715 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8717 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8723 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8724 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8725 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8726 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8728 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8729 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8733 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8734 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8739 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8740 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8741 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8742 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8743 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8744 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8745
58985aa9
UD
87462011-10-24 Ulrich Drepper <drepper@gmail.com>
8747
202c9deb
UD
8748 * sysdeps/x86_64/dla.h: Move to ...
8749 * sysdeps/x86_64/fpu/dla.h: ...here.
8750 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8751 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8752
af968f62
UD
8753 * config.make.in: Add have-mfma4 entry.
8754 * configure.in: Substitute libc_cv_cc_fma4.
8755 * math/Makefile (dbl-only-routines): Add sincostab.
8756 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8757 Use __sincostab not sincos.
8758 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8759 name is a macro.
8760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8764 using __copysign.
8765 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8766 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8767 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8768 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8769 and __inv.
8770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8771 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8772 __copysign.
8773 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8774 define aliases when function name is a macro.
8775 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8776 sysdeps/ieee754/dbl-64/sincos.tbl.
8777 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8778 fma4-enabled routines.
8779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8784 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8786 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8788 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8789 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8791 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8792 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8794 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8796 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8797 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8799 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8806 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8808 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8809
58985aa9
UD
8810 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8811 rename.
8812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8820
a201fbcf
AS
88212011-10-24 Andreas Schwab <schwab@redhat.com>
8822
8823 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8824
fc2ee42a
LD
88252011-10-23 Ulrich Drepper <drepper@gmail.com>
8826
bb3129bd
UD
8827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8828
0275fff8
UD
8829 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8830 prediction.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8832
2fa2ae85
UD
8833 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8834 Remove unused variable magic_bits.
8835 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8836
fc2ee42a
LD
8837 * string/strnlen.c: Define and use STRNLEN macro.
8838 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8839 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8841 * wcsmbs/wcslen.c: Define and use WCSLEN.
8842 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8843 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8844 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8845 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8846 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8847 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8848 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8849
ce7dd29f
LD
88502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8851
8852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8853 strnlen-sse2-no-bsf.
8854 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8856 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8857 Add strnlen support.
8858 (USE_AS_STRNLEN): New macro.
8859 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8861 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8862 * sysdeps/x86_64/wcslen.S: New file.
8863
979c70a3
MZ
88642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8865
8866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8867 XMM-moves are used for copying on small sizes.
8868
2d09f82f
LD
88692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8870
8871 * wcsmbs/Makefile (strop-tests): Add wcschr.
8872 * wcsmbs/test-wcschr.c: New file.
8873 * string/test-strchr.c: Update.
8874 Add wcschr support.
8875 (WIDE): New macro.
8876
619fccca
LD
88772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8878
2d09f82f 8879 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8880 * wcsmbs/test-wcslen.c: New file.
8881 * string/test-strlen.c: Update.
8882 Add wcslen support.
8883 (WIDE): New macro.
8884
09f699ea
UD
88852011-10-23 Ulrich Drepper <drepper@gmail.com>
8886
8887 * po/it.po: Update from translation team.
8888
95584d3b
LD
88892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8890
8891 * sysdeps/x86_64/wcscmp.S: Update.
8892 Fix wrong comparison semantics.
8893 wcscmp shall use signed comparison not unsigned.
8894 Don't use substraction to avoid overflow bug.
8895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8896 * wcsmbc/wcscmp.c: Likewise.
8897 * string/test-strcmp.c: Likewise.
8898 Add new tests to check cases with negative values.
8899
c8b3296b
UD
89002011-10-23 Ulrich Drepper <drepper@gmail.com>
8901
8902 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8903 * sysdeps/x86_64/dla.h: ...here. New file.
8904 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8913
246ad57a
AS
89142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8915
8916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8917 __ynl_finite aliases.
8918
a1a87169
UD
89192011-10-22 Ulrich Drepper <drepper@gmail.com>
8920
0d355eb7
UD
8921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8922
a1a87169
UD
8923 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8924 define DLA_FMA.
8925 [DLA_FMA] (EMULV): Use DLA_FMA.
8926 [DLA_FMA] (MUL12): Use EMULV.
8927 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8928 that are not needed.
8929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8936
ee2aafe0
AS
89372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8938
8939 * math/s_nan.c: Undef __nan.
8940 * math/s_nanf.c: Undef __nanf.
8941 * math/s_nanl.c: Undef __nanl.
8942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8943 "math_private.h".
8944
bc62c2fb
UD
89452011-10-22 Ulrich Drepper <drepper@gmail.com>
8946
77425c63
UD
8947 * math/s_catan.c: Add branch predictions.
8948 * math/s_catanf.c: Likewise.
8949 * math/s_catanh.c: Likewise.
8950 * math/s_catanhf.c: Likewise.
8951 * math/s_catanhl.c: Likewise.
8952 * math/s_catanl.c: Likewise.
8953 * math/s_cexp.c: Likewise.
8954 * math/s_cexpf.c: Likewise.
8955 * math/s_cexpl.c: Likewise.
8956 * math/s_clog.c: Likewise.
8957 * math/s_clog10.c: Likewise.
8958 * math/s_clog10f.c: Likewise.
8959 * math/s_clog10l.c: Likewise.
8960 * math/s_clogf.c: Likewise.
8961 * math/s_clogl.c: Likewise.
8962 * math/s_csqrt.c: Likewise.
8963 * math/s_csqrtf.c: Likewise.
8964 * math/s_csqrtl.c: Likewise.
8965 * math/s_ctanf.c: Likewise.
8966 * math/s_ctanh.c: Likewise.
8967 * math/s_ctanhf.c: Likewise.
8968 * math/s_ctanhl.c: Likewise.
8969 * math/s_ctanl.c: Likewise.
8970
bc62c2fb
UD
8971 * math/math_private.h: Define __nan, __nanf, __nanl.
8972 * math/s_cacosh.c: Include <math_private.h>.
8973 * math/s_cacoshl.c: Likewise.
8974 * math/s_casinh.c: Likewise.
8975 * math/s_casinhf.c: Likewise.
8976 * math/s_casinhl.c: Likewise.
8977 * math/s_ccos.c: Rely entire on ccosh.
8978 * math/s_ccosf.c: Rely entire on ccoshf.
8979 * math/s_ccosl.c: Rely entirely on ccoshl.
8980 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8981 Remove tests for FE_INVALID.
8982 * math/s_ccoshf.c: Likewise.
8983 * math/s_ccoshl.c: Likewise.
8984 * math/s_csin.c: Likewise.
8985 * math/s_csinf.c: Likewise.
8986 * math/s_csinh.c Likewise.
8987 * math/s_csinhf.c: Likewise.
8988 * math/s_csinhl.c: Likewise.
8989 * math/s_csinl.c: Likewise.
8990 * math/s_ctan.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8992 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8993 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8994
8ec250a4
UD
89952011-10-21 Ulrich Drepper <drepper@gmail.com>
8996
c196fed8
UD
8997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8998 compilation problems.
8999
8ec250a4
UD
9000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9001 __builtin_expect.
9002
8d4f46c6
UD
90032011-10-20 Ulrich Drepper <drepper@gmail.com>
9004
ed72b654
UD
9005 * sysdeps/i386/configure.in: Test for -mfma4 option.
9006 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9007 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9008 COMMON_CPUID_INDEX_80000001.
9009 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9010 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9011 use it if FMA3 is not supported.
9012 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9013
8d4f46c6
UD
9014 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9015 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9016
d45c60c2
AS
90172011-10-20 Andreas Schwab <schwab@redhat.com>
9018
9019 [BZ #12892]
9020 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9021 it would create a cycle with a link time dependency.
9022
d9a4d2ab
UD
90232011-10-19 Ulrich Drepper <drepper@gmail.com>
9024
855d1560
UD
9025 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9026 instruction.
9027 * string/Makefile (strop-tests): Add rawmemchr.
9028 * string/test-rawmemchr.c: New file.
9029
d9a4d2ab
UD
9030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9032 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9033 when compiling str{,n}casecmp and when AVX is available. Hook up
9034 new optimized code in initializers.
9035
8f3b1ffe
AS
90362011-10-19 Andreas Schwab <schwab@redhat.com>
9037
9038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9039 __feraiseexcept instead of feraiseexcept.
9040
d38f1dba
UD
90412011-10-18 Ulrich Drepper <drepper@gmail.com>
9042
d9a8d0ab
UD
9043 * math/math_private.h: Define defaults for libc_fetestexcept and
9044 libc_feupdateenv.
9045 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9046 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9048 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9051 libc_fetestexcept and libc_feupdateenv.
9052
4855e3dd
UD
9053 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9054 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9055 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9056 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9057 libc_feholdexcept_setround.
9058
581d30e3
UD
9059 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9060 Add s_nearbyint-c and s_nearbyintf-c.
9061 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9062 nearbyintf inlines.
9063 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9064 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9065 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9066 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9067
d38f1dba
UD
9068 * math/math_private.h: Define defaults for libc_fegetround,
9069 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9070 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9071 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9073 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9074 standard functions.
9075 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9076 Remove comments and hacks for old compiler versions.
9077 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9078 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9079 libc_feholdexceptl.
9080
caa6c9d8
AS
90812011-10-18 Andreas Schwab <schwab@redhat.com>
9082
9083 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9084 (__feraiseexcept_renamed): Add __NTH.
9085 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9086 namespace violations.
9087
97c066e6
UD
90882011-10-17 Ulrich Drepper <drepper@gmail.com>
9089
99ce7b04
UD
9090 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9091
1004d182
UD
9092 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9093
228a984d
UD
9094 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9095 recently added interfaces.
9096 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9097
c8553a6a
UD
9098 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9099 about macro parameter expansion.
9100
ed22dcf6
UD
9101 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9102 __NO_MATH_INLINES is defined. Cleanups.
9103
9104 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9105 and __floorf is target has SSE4.1.
9106 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9107 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9108 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9110
b171c137
UD
9111 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9112 name.
9113 (floorf): Likewise.
9114
97c066e6
UD
9115 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9116
629f62ef
AS
91172011-10-17 Andreas Schwab <schwab@redhat.com>
9118
49a43d80
AS
9119 * misc/sys/cdefs.h: Fix last change.
9120
629f62ef
AS
9121 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9122 database lookup.
9123
e453f6cd
UD
91242011-10-16 Ulrich Drepper <drepper@gmail.com>
9125
aa78043a
UD
9126 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9127
ad0f5cad
UD
9128 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9135 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9136 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9137 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9138 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9139 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9140 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9141 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9142 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9143 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9144 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9145 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9146 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9147 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9149 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9150
9151 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9152 ceil, ceilf, floor, floorf.
9153
9154 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9155 Perform IRELATIVE relocations last.
9156
e453f6cd
UD
9157 * elf/do-rel.h: Add another parameter nrelative, replacing the
9158 local variable with the same name. Change name of the function
9159 to end in Rel or Rela (uppercase).
9160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9161 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9162 elf_dynamic_do_##reloc function.
9163
fd5bdc09
UD
91642011-10-15 Ulrich Drepper <drepper@gmail.com>
9165
79b195b5
UD
9166 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9167 is sufficient, at least on modern CPUs.
9168
d4a28569
UD
9169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9170
b61099b5
UD
9171 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9173
bcf01e6d
UD
9174 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9175 __expl_finite.
9176 * math/bits/math-finite.h: Add entries for exp.
9177 * math/e_expl.c: Add __*_finite alias.
9178 * sysdeps/i386/fpu/e_exp.S: Likewise.
9179 * sysdeps/i386/fpu/e_expf.S: Likewise.
9180 * sysdeps/i386/fpu/e_expl.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9182 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9186 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9188
ba1a0d59
UD
9189 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9190 is sufficient, at least on modern CPUs.
9191
fd5bdc09
UD
9192 * ctype/ctype-info.c (__ctype_init): Define.
9193 * include/ctype.h (__ctype_init): Declare.
9194 (__ctype_b_loc): The variable is always initialized.
9195 (__ctype_toupper_loc): Likewise.
9196 (__ctype_tolower_loc): Likewise.
9197 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9198 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9199
7872cfb0
AS
92002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9201
b468825a
AS
9202 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9203
7872cfb0
AS
9204 * configure.in: Also look in $cxxmachine/include for C++ system
9205 headers.
9206
be13f7bf
LD
92072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9208
9209 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9210 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9211 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9212 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9214 (USE_AS_WMEMCMP): New macro.
9215 Fixing indents.
9216 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9217 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9218 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9219 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9221 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9222 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9223 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9224 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9225 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9226 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9227 (USE_AS_WMEMCMP): New macro.
9228 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9229 * sysdeps/string/test-memcmp.c: Update.
9230 Fix simple_wmemcmp.
9231 Add new tests.
9232 * wcsmbs/wmemcmp.c: Update.
9233 (WMEMCMP): New macro.
9234 Fix overflow bug.
9235
556a2007
AJ
92362011-10-12 Andreas Jaeger <aj@suse.de>
9237
9238 [BZ #13268]
9239 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9240
538faaa7
UD
92412011-10-15 Ulrich Drepper <drepper@gmail.com>
9242
ab6737ff
UD
9243 * libio/iofwide.c (do_length): Avoid warning.
9244
538faaa7
UD
9245 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9246
396a21b1
UD
92472011-10-14 Ulrich Drepper <drepper@gmail.com>
9248
cdf2901f
UD
9249 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9250
38ad40ce
UD
9251 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9252 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9253 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9254 * sysdeps/i386/i686/fpu/e_log.S: New file.
9255 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9256 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9257
396a21b1
UD
9258 * ctype/ctype.h: Add support for inlined isXXX functions when
9259 compiling C++ code.
9260
6b1f68c9
AS
92612011-10-14 Andreas Schwab <schwab@redhat.com>
9262
349290c0
AS
9263 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9264
6b1f68c9
AS
9265 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9266
f2282d42
RM
92672011-10-13 Roland McGrath <roland@hack.frob.com>
9268
9269 [BZ #13291]
9270 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9271
5298ffa8
AS
92722011-10-13 Andreas Schwab <schwab@redhat.com>
9273
714fad23
AS
9274 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9275 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9276 feraiseexcept.
9277
81dcc7fb
AS
9278 * sysdeps/x86_64/memrchr.S: Check for zero size.
9279
5298ffa8
AS
9280 * string/stratcliff.c: Add memrchr tests.
9281
951fbcec
LD
92822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9283
9284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9285 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9286 rawmemchr-sse2 rawmemchr-sse2-bsf.
9287 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9288 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9289 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9290 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9291 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9292 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9293 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9294 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9295 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9296 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9297 * string/memrchr.c (MEMRCHR): New macro.
9298
0ac5ae23
UD
92992011-10-12 Ulrich Drepper <drepper@gmail.com>
9300
9301 Add integration with gcc's -ffinite-math-only and optimize wrapper
9302 functions in libm.
9303 * Versions.def: Define GLIBC_2.15 version for libm.
9304 * math/Makefile (headers): Add bits/math-finite.h.
9305 * math/bits/math-finite.h: New file.
9306 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9307 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9308 * math/e_acoshl.c: Add __*_finite alias.
9309 * math/e_acosl.c: Likewise.
9310 * math/e_asinl.c: Likewise.
9311 * math/e_atan2l.c: Likewise.
9312 * math/e_atanhl.c: Likewise.
9313 * math/e_coshl.c: Likewise.
9314 * math/e_exp10.c: Likewise.
9315 * math/e_exp10f.c: Likewise.
9316 * math/e_exp10l.c: Likewise.
9317 * math/e_exp2l.c: Likewise.
9318 * math/e_fmodl.c: Likewise.
9319 * math/e_gammal_r.c: Likewise.
9320 * math/e_hypotl.c: Likewise.
9321 * math/e_j0l.c: Likewise.
9322 * math/e_j1l.c: Likewise.
9323 * math/e_jnl.c: Likewise.
9324 * math/e_lgammal_r.c: Likewise.
9325 * math/e_log10l.c: Likewise.
9326 * math/e_log2l.c: Likewise.
9327 * math/e_logl.c: Likewise.
9328 * math/e_powl.c: Likewise.
9329 * math/e_sinhl.c: Likewise.
9330 * math/e_sqrtl.c: Likewise.
9331 * math/e_scalb.c: Completely rewritten and optimized.
9332 * math/e_scalbf.c: Likewise.
9333 * math/e_scalbl.c: Likewise.
9334 * math/w_acos.c: Likewise.
9335 * math/w_acosf.c: Likewise.
9336 * math/w_acosl.c: Likewise.
9337 * math/w_acosh.c: Likewise.
9338 * math/w_acoshf.c: Likewise.
9339 * math/w_acoshl.c: Likewise.
9340 * math/w_asin.c: Likewise.
9341 * math/w_asinf.c: Likewise.
9342 * math/w_asinl.c: Likewise.
9343 * math/w_atan2.c: Likewise.
9344 * math/w_atan2f.c: Likewise.
9345 * math/w_atan2l.c: Likewise.
9346 * math/w_atanh.c: Likewise.
9347 * math/w_atanhf.c: Likewise.
9348 * math/w_atanhl.c: Likewise.
9349 * math/w_exp10.c: Likewise.
9350 * math/w_exp10f.c: Likewise.
9351 * math/w_exp10l.c: Likewise.
9352 * math/w_fmod.c: Likewise.
9353 * math/w_fmodf.c: Likewise.
9354 * math/w_fmodl.c: Likewise.
9355 * math/w_j0.c: Likewise.
9356 * math/w_j0f.c: Likewise.
9357 * math/w_j0l.c: Likewise.
9358 * math/w_j1.c: Likewise.
9359 * math/w_j1f.c: Likewise.
9360 * math/w_j1l.c: Likewise.
9361 * math/w_jn.c: Likewise.
9362 * math/w_jnf.c: Likewise.
9363 * math/w_log.c: Likewise.
9364 * math/w_logf.c: Likewise.
9365 * math/w_logl.c: Likewise.
9366 * math/w_log10.c: Likewise.
9367 * math/w_log10f.c: Likewise.
9368 * math/w_log10l.c: Likewise.
9369 * math/w_log2.c: Likewise.
9370 * math/w_log2f.c: Likewise.
9371 * math/w_log2l.c: Likewise.
9372 * math/w_pow.c: Likewise.
9373 * math/w_powf.c: Likewise.
9374 * math/w_powl.c: Likewise.
9375 * math/w_remainder.c: Likewise.
9376 * math/w_remainderf.c: Likewise.
9377 * math/w_remainderl.c: Likewise.
9378 * math/w_scalb.c: Likewise.
9379 * math/w_scalbf.c: Likewise.
9380 * math/w_scalbl.c: Likewise.
9381 * math/w_sqrt.c: Likewise.
9382 * math/w_sqrtf.c: Likewise.
9383 * math/w_sqrtl.c: Likewise.
9384 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9385 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9386 used.
9387 * math/math_private.h: Declare __kernel_standard_f.
9388 * math/w_cosh.c: Remove cruft and optimize a bit.
9389 * math/w_coshf.c: Likewise.
9390 * math/w_coshl.c: Likewise.
9391 * math/w_exp2.c: Likewise.
9392 * math/w_exp2f.c: Likewise.
9393 * math/w_exp2l.c: Likewise.
9394 * math/w_hypot.c: Likewise.
9395 * math/w_hypotf.c: Likewise.
9396 * math/w_hypotl.c: Likewise.
9397 * math/w_lgamma.c: Likewise.
9398 * math/w_lgamma_r.c: Likewise.
9399 * math/w_lgammaf.c: Likewise.
9400 * math/w_lgammaf_r.c: Likewise.
9401 * math/w_lgammal.c: Likewise.
9402 * math/w_lgammal_r.c: Likewise.
9403 * math/w_sinh.c: Likewise.
9404 * math/w_sinhf.c: Likewise.
9405 * math/w_sinhl.c: Likewise.
9406 * math/w_tgamma.c: Likewise.
9407 * math/w_tgammaf.c: Likewise.
9408 * math/w_tgammal.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9411 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9412 Minor optimizations. Pretty printing. Remove cruft.
9413 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9414 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9415 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9417 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9418 * sysdeps/i386/fpu/e_asin.S: Likewise.
9419 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9420 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9421 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9422 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9426 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9427 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9428 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9429 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9430 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9431 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9432 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9433 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9434 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9435 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9436 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9437 * sysdeps/i386/fpu/e_log.S: Likewise.
9438 * sysdeps/i386/fpu/e_log10.S: Likewise.
9439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9440 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9441 * sysdeps/i386/fpu/e_log2.S: Likewise.
9442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9444 * sysdeps/i386/fpu/e_logf.S: Likewise.
9445 * sysdeps/i386/fpu/e_logl.S: Likewise.
9446 * sysdeps/i386/fpu/e_pow.S: Likewise.
9447 * sysdeps/i386/fpu/e_powf.S: Likewise.
9448 * sysdeps/i386/fpu/e_powl.S: Likewise.
9449 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9450 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9451 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9454 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9455 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9456 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9457 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9479 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9483 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9485 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9487 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9499 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9549 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9550 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9551 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9553 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9554 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9555 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9556 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9557 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9558 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9559 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9560 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9561 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9564 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9566 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9567 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9568 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9569 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9570 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9571 (__isnanf): Likewise.
9572 (__isinf_ns): Likewise.
9573 (__isinf_nsf): Likewise.
9574 (__finite): Likewise.
9575 (__finitef): Likewise.
9576 (__ieee754_sqrt): Define as macro.
9577 (__ieee754_sqrtf): Define as macro.
9578 (__ieee754_sqrtl): Define as macro.
9579 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9580 inlined copy.
9581 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9582 __FINITE_MATH_ONLY__ consistent.
9583 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9584
12cc2fcd
AS
95852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9586
a843a204
AS
9587 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9588 of rawmemchr.
9589
12cc2fcd
AS
9590 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9591
c853acd5
UD
95922011-10-09 Ulrich Drepper <drepper@gmail.com>
9593
9594 * po/ja.po: Update from translation team.
9595
c658d255
RM
95962011-10-08 Roland McGrath <roland@hack.frob.com>
9597
110946e4
RM
9598 * locale/programs/locarchive.c (prepare_address_space): New function.
9599 (create_archive, enlarge_archive, open_archive): Use it.
9600
50604220
RM
9601 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9602 inside [SHARED], where it is used.
9603
c658d255
RM
9604 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9605
9606 * nss/getent.c (netgroup_keys): Remove unused variable.
9607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9608
6a621eb7
UD
96092011-10-08 Ulrich Drepper <drepper@gmail.com>
9610
7edb55ce
UD
9611 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9612 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9616 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9617 * math/Makefile (libm-calls): Add s_isinf_ns.
9618 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9619 * math/multc3.c: Likewise.
9620 * math/s_casin.c: Likewise.
9621 * math/s_casinf.c: Likewise.
9622 * math/s_casinl.c: Likewise.
9623 * math/s_ccos.c: Likewise.
9624 * math/s_ccosf.c: Likewise.
9625 * math/s_ccosl.c: Likewise.
9626 * math/s_ctan.c: Likewise.
9627 * math/s_ctanf.c: Likewise.
9628 * math/s_ctanh.c: Likewise.
9629 * math/s_ctanhf.c: Likewise.
9630 * math/s_ctanhl.c: Likewise.
9631 * math/s_ctanl.c: Likewise.
9632 * math/w_fmod.c: Likewise.
9633 * math/w_fmodf.c: Likewise.
9634 * math/w_fmodl.c: Likewise.
9635 * math/w_remainder.c: Likewise.
9636 * math/w_remainderf.c: Likewise.
9637 * math/w_remainderl.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9639 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9640 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9642 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9643 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9644 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9645 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9646
187da0ae
UD
9647 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9648 of the number.
9649 * stdio-common/printf_fphex.c: Likewise.
9650 * stdio-common/printf_size.c: Likewise.
9651
9277c064
UD
9652 * math/e_exp10.c: Include math_private.h using <...> not "...".
9653 * math/e_exp10f.c: Likewise.
9654 * math/e_exp10l.c: Likewise.
9655 * math/e_exp2l.c: Likewise.
9656 * math/e_j0l.c: Likewise.
9657 * math/e_j1l.c: Likewise.
9658 * math/e_jnl.c: Likewise.
9659 * math/e_lgammal_r.c: Likewise.
9660 * math/e_rem_pio2l.c: Likewise.
9661 * math/e_scalb.c: Likewise.
9662 * math/e_scalbf.c: Likewise.
9663 * math/e_scalbl.c: Likewise.
9664 * math/k_cosl.c: Likewise.
9665 * math/k_sinl.c: Likewise.
9666 * math/k_tanl.c: Likewise.
9667 * math/s_cacoshf.c: Likewise.
9668 * math/s_catan.c: Likewise.
9669 * math/s_catanf.c: Likewise.
9670 * math/s_catanh.c: Likewise.
9671 * math/s_catanhf.c: Likewise.
9672 * math/s_catanhl.c: Likewise.
9673 * math/s_catanl.c: Likewise.
9674 * math/s_ccosh.c: Likewise.
9675 * math/s_ccoshf.c: Likewise.
9676 * math/s_ccoshl.c: Likewise.
9677 * math/s_cexp.c: Likewise.
9678 * math/s_cexpf.c: Likewise.
9679 * math/s_cexpl.c: Likewise.
9680 * math/s_clog.c: Likewise.
9681 * math/s_clog10.c: Likewise.
9682 * math/s_clog10f.c: Likewise.
9683 * math/s_clog10l.c: Likewise.
9684 * math/s_clogf.c: Likewise.
9685 * math/s_clogl.c: Likewise.
9686 * math/s_csin.c: Likewise.
9687 * math/s_csinf.c: Likewise.
9688 * math/s_csinh.c: Likewise.
9689 * math/s_csinhf.c: Likewise.
9690 * math/s_csinhl.c: Likewise.
9691 * math/s_csinl.c: Likewise.
9692 * math/s_csqrt.c: Likewise.
9693 * math/s_csqrtf.c: Likewise.
9694 * math/s_csqrtl.c: Likewise.
9695 * math/s_ctan.c: Likewise.
9696 * math/s_ctanf.c: Likewise.
9697 * math/s_ctanh.c: Likewise.
9698 * math/s_ctanhf.c: Likewise.
9699 * math/s_ctanhl.c: Likewise.
9700 * math/s_ctanl.c: Likewise.
9701 * math/s_ldexp.c: Likewise.
9702 * math/s_ldexpf.c: Likewise.
9703 * math/s_ldexpl.c: Likewise.
9704 * math/s_significand.c: Likewise.
9705 * math/s_significandf.c: Likewise.
9706 * math/s_significandl.c: Likewise.
9707 * math/w_acos.c: Likewise.
9708 * math/w_acosf.c: Likewise.
9709 * math/w_acosh.c: Likewise.
9710 * math/w_acoshf.c: Likewise.
9711 * math/w_acoshl.c: Likewise.
9712 * math/w_acosl.c: Likewise.
9713 * math/w_asin.c: Likewise.
9714 * math/w_asinf.c: Likewise.
9715 * math/w_asinl.c: Likewise.
9716 * math/w_atan2.c: Likewise.
9717 * math/w_atan2f.c: Likewise.
9718 * math/w_atan2l.c: Likewise.
9719 * math/w_atanh.c: Likewise.
9720 * math/w_atanhf.c: Likewise.
9721 * math/w_atanhl.c: Likewise.
9722 * math/w_cosh.c: Likewise.
9723 * math/w_coshf.c: Likewise.
9724 * math/w_coshl.c: Likewise.
9725 * math/w_dremf.c: Likewise.
9726 * math/w_exp10.c: Likewise.
9727 * math/w_exp10f.c: Likewise.
9728 * math/w_exp10l.c: Likewise.
9729 * math/w_exp2.c: Likewise.
9730 * math/w_exp2f.c: Likewise.
9731 * math/w_fmod.c: Likewise.
9732 * math/w_fmodf.c: Likewise.
9733 * math/w_fmodl.c: Likewise.
9734 * math/w_hypot.c: Likewise.
9735 * math/w_hypotf.c: Likewise.
9736 * math/w_hypotl.c: Likewise.
9737 * math/w_j0.c: Likewise.
9738 * math/w_j0f.c: Likewise.
9739 * math/w_j0l.c: Likewise.
9740 * math/w_j1.c: Likewise.
9741 * math/w_j1f.c: Likewise.
9742 * math/w_j1l.c: Likewise.
9743 * math/w_jn.c: Likewise.
9744 * math/w_jnf.c: Likewise.
9745 * math/w_jnl.c: Likewise.
9746 * math/w_lgamma.c: Likewise.
9747 * math/w_lgamma_r.c: Likewise.
9748 * math/w_lgammaf.c: Likewise.
9749 * math/w_lgammaf_r.c: Likewise.
9750 * math/w_lgammal.c: Likewise.
9751 * math/w_lgammal_r.c: Likewise.
9752 * math/w_log.c: Likewise.
9753 * math/w_log10.c: Likewise.
9754 * math/w_log10f.c: Likewise.
9755 * math/w_log10l.c: Likewise.
9756 * math/w_log2.c: Likewise.
9757 * math/w_log2f.c: Likewise.
9758 * math/w_log2l.c: Likewise.
9759 * math/w_logf.c: Likewise.
9760 * math/w_logl.c: Likewise.
9761 * math/w_pow.c: Likewise.
9762 * math/w_powf.c: Likewise.
9763 * math/w_powl.c: Likewise.
9764 * math/w_remainder.c: Likewise.
9765 * math/w_remainderf.c: Likewise.
9766 * math/w_remainderl.c: Likewise.
9767 * math/w_scalb.c: Likewise.
9768 * math/w_scalbf.c: Likewise.
9769 * math/w_scalbl.c: Likewise.
9770 * math/w_sinh.c: Likewise.
9771 * math/w_sinhf.c: Likewise.
9772 * math/w_sinhl.c: Likewise.
9773 * math/w_sqrt.c: Likewise.
9774 * math/w_sqrtf.c: Likewise.
9775 * math/w_sqrtl.c: Likewise.
9776 * math/w_tgamma.c: Likewise.
9777 * math/w_tgammaf.c: Likewise.
9778 * math/w_tgammal.c: Likewise.
9779
6a621eb7
UD
9780 * po/ja.po: Update from translation team.
9781
bf582445
AJ
97822011-09-29 Andreas Jaeger <aj@suse.de>
9783
f9efbf3a
AJ
9784 [BZ #13179]
9785 * sunrpc/netname.c (netname2host): Fix logic.
9786
bf582445
AJ
9787 [BZ #6779]
9788 [BZ #6783]
9789 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9790 correctly.
9791 * math/w_remainder.c (__remainder): Likewise.
9792 * math/w_remainderf.c (__remainderf): Likewise.
9793 * math/libm-test.inc (remainder_test): Add test cases.
9794
48693bea
AK
97952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9796
9797 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9798 sdiv_qrnnd.
9799
42622229
LD
98002011-10-07 Ulrich Drepper <drepper@gmail.com>
9801
9802 * string/test-memcmp.c: Avoid unncessary #defines.
9803 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9804
093ecf92
LD
98052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9806
9807 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9808 Use new sse2 version for core i3 - i7 as it's faster
9809 than sse42 version.
9810 (bit_Prefer_PMINUB_for_stringop): New.
9811 * sysdeps/x86_64/rawmemchr.S: Update.
9812 Replace with faster SSE2 version.
9813 * sysdeps/x86_64/memrchr.S: New file.
9814 * sysdeps/x86_64/memchr.S: Update.
9815 Replace with faster SSE2 version.
9816
fde56e5c
MP
98172011-09-12 Marek Polacek <mpolacek@redhat.com>
9818
9819 * elf/dl-load.c (lose): Add cast to avoid warning.
9820
21fd49a9
UD
98212011-10-07 Ulrich Drepper <drepper@gmail.com>
9822
5a06e643
UD
9823 * po/ca.po: Update from translation team.
9824
684ae515
UD
9825 * inet/getnetgrent_r.c: Hook up nscd.
9826 * nscd/Makefile (routines): Add nscd_netgroup.
9827 (nscd-modules): Add netgroupcache.
9828 (CFLAGS-netgroupcache.c): Define.
9829 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9830 (cache_search): Add const to second parameter.
9831 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9832 INNETGR.
9833 (dbs): Add netgrdb entry.
9834 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9835 (verify_persistent_db): Handle netgrdb.
9836 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9837 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9838 GETFDNETGR.
9839 (netgroup_response_header): Define.
9840 (innetgroup_response_header): Define.
9841 (datahead): Add netgroup_response_header and innetgroup_response_header
9842 elements.
9843 * nscd/nscd.conf: Add entries for netgroup cache.
9844 * nscd/nscd.h (dbtype): Add netgrdb.
9845 (_PATH_NSCD_NETGROUP_DB): Define.
9846 (netgroup_iov_disabled): Declare.
9847 (xmalloc, xcalloc, xrealloc): Move declarations here.
9848 (cache_search): Adjust prototype.
9849 Add netgroup-related prototypes.
9850 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9851 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9852 (__nscd_innetgr): Declare.
9853 * nscd/selinux.c (perms): Use access_vector_t as element type and
9854 add netgroup-related initializers.
9855 * nscd/netgroupcache.c: New file.
9856 * nscd/nscd_netgroup.c: New file.
9857 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9858 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9859 For four parameters use innetgr.
9860 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9861 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9862 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9863 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9864
21fd49a9
UD
9865 * nscd/connections.c (register_traced_file): Don't register file
9866 for disabled databases.
9867
054c0457
UD
98682011-10-06 Ulrich Drepper <drepper@gmail.com>
9869
32b63198
UD
9870 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9871
054c0457
UD
9872 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9873 from tree and freeing node.
9874
64031225
JO
98752011-09-25 Jiri Olsa <jolsa@redhat.com>
9876
9877 * nss/nsswitch.c (__nss_database_lookup): Handle
9878 nss_parse_service_list out of memory case.
9879
0490345c
JO
98802011-09-15 Jiri Olsa <jolsa@redhat.com>
9881
9882 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9883 out of memory case.
9884
3a62d00d
AS
98852011-10-04 Andreas Schwab <schwab@redhat.com>
9886
9887 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9888 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9889 pass it down.
9890 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9891 elf_machine_rela, elf_machine_lazy_rel.
9892 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9893 (ELF_DYNAMIC_DO_REL): Likewise.
9894 (ELF_DYNAMIC_DO_RELA): Likewise.
9895 (ELF_DYNAMIC_RELOCATE): Likewise.
9896 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9897 to ELF_DYNAMIC_DO_REL.
9898 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9899 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9900 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9901 elf_machine_rela.
9902 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9903 skip_ifunc, don't call ifunc function if non-zero.
9904 (elf_machine_rela): Likewise.
9905 (elf_machine_lazy_rel): Likewise.
9906 (elf_machine_lazy_rela): Likewise.
9907 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9908 (elf_machine_lazy_rel): Likewise.
9909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9910 Likewise.
9911 (elf_machine_lazy_rel): Likewise.
9912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9913 Likewise.
9914 (elf_machine_lazy_rel): Likewise.
9915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9916 (elf_machine_lazy_rel): Likewise.
9917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9918 (elf_machine_lazy_rel): Likewise.
9919 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9920 (elf_machine_lazy_rel): Likewise.
9921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9922 (elf_machine_lazy_rel): Likewise.
9923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9924 (elf_machine_lazy_rel): Likewise.
9925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9926 (elf_machine_lazy_rel): Likewise.
9927
68577918
UD
99282011-09-28 Ulrich Drepper <drepper@gmail.com>
9929
9930 * nss/nss_files/files-init.c (_nss_files_init): Use static
9931 initialization for all the *_traced_file variables.
9932
68822d74
AS
99332011-09-28 Andreas Schwab <schwab@redhat.com>
9934
9935 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9936
2056100b
RM
99372011-09-27 Roland McGrath <roland@hack.frob.com>
9938
9939 [BZ #13226]
9940 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9941
32c76b63
AS
99422011-09-27 Andreas Schwab <schwab@redhat.com>
9943
9944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9945 Reread the line before reparsing it.
9946
bf972c9d
AS
99472011-09-26 Andreas Schwab <schwab@redhat.com>
9948
9949 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9950
e057a1b5
JM
99512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9952 Maxim Kuvyrkov <maxim@codesourcery.com>
9953 Joseph Myers <joseph@codesourcery.com>
9954
9955 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9956 if needed for __stack_chk_guard.
9957
bc7e1c36
RM
99582011-09-19 Roland McGrath <roland@hack.frob.com>
9959
ecb1482f
RM
9960 * sysdeps/posix/spawni.c (script_execute): Always define it.
9961 It will be optimized away if unused.
9962 (maybe_script_execute): New function.
9963 (__spawni): Call it.
9964
bc7e1c36
RM
9965 * Makerules: Don't include tls.make.
9966 (config-tls): Always set to thread.
9967 * tls.make.c: File removed.
9968
1c3b002b
MF
99692011-09-19 Mike Frysinger <vapier@gentoo.org>
9970
9971 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9972 * config.make.in (CPPFLAGS-config): New substituted variable.
9973
2840865d
UD
99742011-09-15 Ulrich Drepper <drepper@gmail.com>
9975
88738eb6
UD
9976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9977
cbf645a6 9978 [BZ #13192]
2840865d
UD
9979 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9980 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9981
b402e91a
RM
99822011-09-15 Roland McGrath <roland@hack.frob.com>
9983
9984 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9985 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9987 (CALL_FAIL): Likewise.
9988 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9989 (CALL_FAIL): Macro removed.
9990 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9991
4c1a1f71
UD
99922011-09-15 Ulrich Drepper <drepper@gmail.com>
9993
9994 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9995 for __FINITE_MATH_ONLY__ == 1.
9996
edc121be
AS
99972011-09-15 Andreas Schwab <schwab@redhat.com>
9998
9999 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10000 __ieee754_sqrt instead of sqrt.
10001 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10002 __ieee754_sqrtf instead of sqrtf.
10003 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10004 __floorf instead of floorf.
10005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10006 __floorf, __truncf instead of floorf, truncf.
10007
cd205654
UD
100082011-09-14 Ulrich Drepper <drepper@gmail.com>
10009
ee4d0315
UD
10010 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10011
cd205654
UD
10012 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10013 __extern_always_inline.
10014 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10015 32-bit.
10016
48b67d71
AS
100172011-09-14 Andreas Schwab <schwab@redhat.com>
10018
10019 * elf/rtld.c (dl_main): Also relocate in dependency order when
10020 doing symbol dependency testing.
10021
1ae12c75
AS
100222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10023
10024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10025 Always define `refsym'.
10026
995a80df
AS
100272011-09-13 Andreas Schwab <schwab@redhat.com>
10028
e529793b
AS
10029 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10030 (__FD_ELT): Renamed from __FDELT.
10031 * misc/bits/select2.h (__FD_ELT): Likewise.
10032 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10033 __FD_MASK instead of __FDELT, __FDMASK.
10034 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10035 Likewise.
10036 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10037 Likewise.
10038
52d4fef8
AS
10039 * elf/Makefile (gen-ldd): Fix pattern.
10040
995a80df
AS
10041 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10042 (init_tls): Likewise.
10043
8682f8b0
UD
100442011-09-12 Ulrich Drepper <drepper@gmail.com>
10045
10046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10047
de82006d
AS
100482011-09-12 Andreas Schwab <schwab@redhat.com>
10049
a7c8e6a1
AS
10050 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10051 `struct cmsghdr *' instead of `void *'.
10052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10053 Likewise.
10054
0f31fe77
AS
100552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10056
10057 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10058 if non-absolute.
10059 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10060 ldd_rewrite_script.
0f31fe77 10061
32b4c839
UD
100622011-09-11 Ulrich Drepper <drepper@gmail.com>
10063
83cd1420
UD
10064 * configure.in: Remove --with-tls option.
10065 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10066 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10067 out in case it is missing.
10068 * sysdeps/ia64/elf/configure.in: Likewise.
10069 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10070 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10071 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10072 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10073 * sysdeps/sh/elf/configure.in: Likewise.
10074 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10076 * sysdeps/x86_64/elf/configure.in: Likewise.
10077 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10078 * sysdeps/mach/hurd/tls.h: Likewise.
10079
633f745d
UD
10080 [BZ #13067]
10081 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10082
f318beb8
UD
10083 [BZ #13090]
10084 * configure.in: Fix use of AC_INIT.
10085
32b4c839
UD
10086 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10087
3ce1f295
UD
100882011-09-10 Ulrich Drepper <drepper@gmail.com>
10089
bb016596
UD
10090 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10091 __set_errno.
8e58439c
UD
10092 * malloc/hooks.c: Likewise.
10093
aebae053 10094 [BZ #11929]
02d46fc4
UD
10095 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10096 variables statically.
10097 (narenas): Initialize.
10098 (list_lock): Initialize.
bb016596
UD
10099 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10100 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10101 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10102 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10103 Add initializers to main_arena and mp_.
10104 (malloc_state): Remove pagesize member. Change all users to use
10105 GLRO(dl_pagesize).
10106
10107 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10108 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10109 is always initialized.
10110
22a89187
UD
10111 * malloc/malloc.c: Removed unused configurations and dead code.
10112 * malloc/arena.c: Likewise.
10113 * malloc/hooks.c: Likewise.
02d46fc4 10114 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10115
d063d164
UD
10116 * include/tls.h: Removed. USE___THREAD must always be defined.
10117 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10118 * elf/dl-libc.c: Likewise.
10119 * elf/dl-tsd.c: Likewise.
10120 * include/errno.h: Likewise.
10121 * include/netdb.h: Likewise.
10122 * include/resolv.h: Likewise.
10123 * inet/herrno-loc.c: Likewise.
10124 * inet/herrno.c: Likewise.
10125 * malloc/arena.c: Likewise.
10126 * malloc/hooks.c: Likewise.
10127 * malloc/malloc.c: Likewise.
10128 * resolv/res-state.c: Likewise.
10129 * resolv/res_libc.c: Likewise.
10130 * sysdeps/i386/dl-machine.h: Likewise.
10131 * sysdeps/ia64/dl-machine.h: Likewise.
10132 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10133 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10134 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10135 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10136 * sysdeps/sh/dl-machine.h: Likewise.
10137 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10138 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10139 * sysdeps/unix/i386/sysdep.S: Likewise.
10140 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10141 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10146 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10151 * sysdeps/x86_64/dl-machine.h: Likewise.
10152 * tls.make.c: Likewise.
10153
3ce1f295
UD
10154 * configure.in: Remove --with-__thread option. Make tests for
10155 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10156 tls_model attribute fail if no support is available. Remove
10157 USE_IN_LIBIO.
10158 * Makeconfig: Adjust for dropped configure option. All features are
10159 now mandatory.
10160 * Makerules: Likewise.
10161 * Versions.def: Likewise.
10162 * argp/argp-fmtstream.c: Likewise.
10163 * argp/argp-fmtstream.h: Likewise.
10164 * argp/argp-help.c: Likewise.
10165 * assert/assert.c: Likewise.
10166 * config.h.in: Likewise.
10167 * config.make.in: Likewise.
10168 * configure: Likewise.
10169 * configure.in: Likewise.
10170 * csu/Versions: Likewise.
10171 * csu/init.c: Likewise.
10172 * elf/tst-audit2.c: Likewise.
10173 * elf/tst-tls10.c: Likewise.
10174 * elf/tst-tls10.h: Likewise.
10175 * elf/tst-tls11.c: Likewise.
10176 * elf/tst-tls12.c: Likewise.
10177 * elf/tst-tls14.c: Likewise.
10178 * elf/tst-tlsmod11.c: Likewise.
10179 * elf/tst-tlsmod12.c: Likewise.
10180 * elf/tst-tlsmod13.c: Likewise.
10181 * elf/tst-tlsmod13a.c: Likewise.
10182 * elf/tst-tlsmod14a.c: Likewise.
10183 * elf/tst-tlsmod15b.c: Likewise.
10184 * elf/tst-tlsmod16a.c: Likewise.
10185 * elf/tst-tlsmod16b.c: Likewise.
10186 * elf/tst-tlsmod7.c: Likewise.
10187 * elf/tst-tlsmod8.c: Likewise.
10188 * elf/tst-tlsmod9.c: Likewise.
10189 * gmon/gmon.c: Likewise.
10190 * grp/fgetgrent_r.c: Likewise.
10191 * grp/putgrent.c: Likewise.
10192 * hurd/fopenport.c: Likewise.
10193 * include/libc-symbols.h: Likewise.
10194 * include/tls.h: Likewise.
10195 * intl/gettextP.h: Likewise.
10196 * intl/loadinfo.h: Likewise.
10197 * locale/global-locale.c: Likewise.
10198 * locale/localeinfo.h: Likewise.
10199 * mach/devstream.c: Likewise.
10200 * malloc/arena.c: Likewise.
10201 * malloc/set-freeres.c: Likewise.
10202 * misc/err.c: Likewise.
10203 * misc/getttyent.c: Likewise.
10204 * misc/mntent_r.c: Likewise.
10205 * posix/getopt.c: Likewise.
10206 * posix/wordexp.c: Likewise.
10207 * pwd/fgetpwent_r.c: Likewise.
10208 * resolv/Versions: Likewise.
10209 * resolv/res_hconf.c: Likewise.
10210 * shadow/fgetspent_r.c: Likewise.
10211 * shadow/putspent.c: Likewise.
10212 * stdio-common/printf_fphex.c: Likewise.
10213 * stdio-common/tmpfile.c: Likewise.
10214 * stdlib/abort.c: Likewise.
10215 * stdlib/fmtmsg.c: Likewise.
10216 * sunrpc/auth_unix.c: Likewise.
10217 * sunrpc/clnt_perr.c: Likewise.
10218 * sunrpc/clnt_tcp.c: Likewise.
10219 * sunrpc/clnt_udp.c: Likewise.
10220 * sunrpc/clnt_unix.c: Likewise.
10221 * sunrpc/openchild.c: Likewise.
10222 * sunrpc/svc_simple.c: Likewise.
10223 * sunrpc/svc_tcp.c: Likewise.
10224 * sunrpc/svc_udp.c: Likewise.
10225 * sunrpc/svc_unix.c: Likewise.
10226 * sunrpc/xdr.c: Likewise.
10227 * sunrpc/xdr_array.c: Likewise.
10228 * sunrpc/xdr_rec.c: Likewise.
10229 * sunrpc/xdr_ref.c: Likewise.
10230 * sunrpc/xdr_stdio.c: Likewise.
10231
1248c1c4
PB
102322011-09-09 Ulrich Drepper <drepper@gmail.com>
10233
10234 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10235
102362011-07-03 Andreas Jaeger <aj@suse.de>
10237
10238 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10240 regenerate with gen-libm-tests.pl.
10241
102422010-05-12 Petr Baudis <pasky@suse.cz>
10243
10244 [BZ #11589]
10245 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10246 around j0() zero points by switching to j1().
10247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10251
f22e1074
UD
102522011-09-09 Ulrich Drepper <drepper@gmail.com>
10253
f19009c1
UD
10254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10255 instead of 0.
10256 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10257 instead of 0. .
10258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10259 Patch in part by Pavel Roskin <proski@gnu.org>.
10260
3f8cc204
UD
10261 [BZ #13138]
10262 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10263 realloc.
10264 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10265 Free memory block if necessary.
10266
f22e1074
UD
10267 [BZ #12847]
10268 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10269 be NULL. Don't lock in this case.
10270
0a2349f9
RM
102712011-09-09 Roland McGrath <roland@hack.frob.com>
10272
10273 * elf/elf.h (ELFOSABI_GNU): New macro.
10274 (ELFOSABI_LINUX): Define to that.
10275
f3cdd467
DZ
102762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10277
10278 * string/strncat.c (strncat): Undef the symbol in case it has been
10279 defined in bits/string.h.
10280
74718d13
UD
102812011-09-09 Ulrich Drepper <drepper@gmail.com>
10282
633e9e0f
UD
10283 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10284
0a2349f9 10285 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10286 link map.
10287
f9924780
AJ
102882011-08-17 Andreas Jaeger <aj@suse.de>
10289
10290 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10291
7f5517aa
PP
102922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10293 Ian Lance Taylor <iant@google.com>
10294
10295 * math/libm-test.inc (lround_test): New testcase.
10296 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10297
762011fe
UD
102982011-09-08 Ulrich Drepper <drepper@gmail.com>
10299
92963737
UD
10300 * Makefile: Remove support for automatic cvs check-ins.
10301 * Makerules: Likewise.
10302 * config.make.in: Likewise.
10303 * configure.in: Likewise.
10304 * intl/Makefile: Likewise.
10305 * locale/Makefile: Likewise.
10306 * po/Makefile: Likewise.
10307 * posix/Makefile: Likewise.
10308 * sysdeps/gnu/Makefile: Likewise.
10309 * sysdeps/mach/hurd/Makefile: Likewise.
10310 * sysdeps/sparc/sparc32/Makefile: Likewise.
10311
b0727fd8
JS
10312 [BZ #13118]
10313 * posix/Makefile (bug-regex32-ENV): Define.
10314 Patch by John Stanley <jpsinthemix@verizon.net>.
10315
a0f33f99
UD
10316 * misc/Makefile (headers): Add bits/select2.h.
10317 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10318 * misc/bits/select2.h: New file.
10319 * include/bits/select2.h: New file.
10320 * debug/Makefile (routines): Add fdelt_chk.
10321 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10322 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10323 FD_ISSET.
10324 * debug/fdelt_chk.c: New file.
10325
762011fe
UD
10326 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10327 * wcsmbs/test-wmemcmp.c: Likewise.
10328 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10329 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10330
103312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10332
10333 * string/Makefile (strop-tests): Add memcmp.
10334 * string/test-wmemcmp.c: New file.
10335 * string/test-memcmp.c: Add wmemcmp support.
10336
7f513ec8
RM
103372011-09-08 Roland McGrath <roland@hack.frob.com>
10338
0442afb4
RM
10339 [BZ #13153]
10340 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10341 2011-07-19 change.
10342
7f513ec8
RM
10343 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10344 garbage value in a __mach_port_mod_refs call in the cases of the
10345 task-self and thread-self ports.
10346
a12b2239
ST
103472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10348
10349 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10350
610f9ab4
AS
103512011-09-08 Andreas Schwab <schwab@redhat.com>
10352
7f513ec8 10353 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10354
48882a1a
LD
103552011-09-07 Ulrich Drepper <drepper@gmail.com>
10356
b49865be
UD
10357 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10358
fdc86bc9
UD
10359 * elf/dl-libc.c (dlerror_run): Pass back error code from
10360 dl_catch_error.
10361
c966526a
UD
10362 [BZ #13123]
10363 * elf/dl-load.c (lose): Free l_origin if it is valid.
10364
48882a1a
LD
10365 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10366 names.
10367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10372 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10373
77a2a8b4
AZ
103742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375
10376 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10377 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10378 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10379 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10380 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10381 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10382 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10383 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10384 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10385 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10386
24f579d8
AM
103872011-08-15 Alan Modra <amodra@gmail.com>
10388
10389 [BZ #13092]
10390 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10391 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10392 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10393 ppc_mcount to static-only-routines.
10394 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10395 __mcount_internal.
10396 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10397 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10398
3d4837df
UD
103992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10400
10401 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10402 for finite and infinity parameters.
10403
22700377
WS
104042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10405
10406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10407 and add nop instructions for throughput optimization.
10408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10409
5025581e
WS
104102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10411
10412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10413 aligned copy for power7 with vector-scalar instructions.
10414 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10415
08a300c9
L
104162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10417
10418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10419 AVX check.
10420
59178ef9
AS
104212011-09-07 Andreas Schwab <schwab@redhat.com>
10422
10423 [BZ #13144]
10424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10425 last change.
10426
e38ba7ab
UD
104272011-09-07 Ulrich Drepper <drepper@gmail.com>
10428
10429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10430 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10431 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10433 clock_gettime.
10434
d53a73ac
UD
104352011-09-06 Ulrich Drepper <drepper@gmail.com>
10436
fc8bffcc
UD
10437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10438 Forgot to demangle the pointer.
10439
ceaa0c5d
UD
10440 * sysdeps/i386/sysdep.h: Define atom_text_section.
10441 * sysdeps/x86_64/sysdep.h: Likewise.
10442 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10443 section with atom_text_section.
10444 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10446 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10448 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10449
a77d3c17
UD
10450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10451 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10452 already be defined. Change to take two parameters and don't assign
10453 result to variable. Adjust all users.
10454 Define INTERNAL_GETTIME if not already defined.
10455 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10456 call.
10457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10458 HAVE_CLOCK_GETTIME_VSYSCALL.
10459 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10460
d53a73ac
UD
10461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10462 gettimeofday vsyscall, just use time.
10463
a8f84144
AS
104642011-09-06 Andreas Schwab <schwab@redhat.com>
10465
10466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10467 <errno.h>.
10468
ef606249
UD
104692011-09-06 Ulrich Drepper <drepper@gmail.com>
10470
10471 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10472 syscall on x86-64.
10473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10474 syscall.
10475 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10477 syscall if possible.
10478
6585cb60
UD
104792011-09-05 Ulrich Drepper <drepper@gmail.com>
10480
10481 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10482 e_ident. Don't pass to find_mapsXX.
10483 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10484
a5f524e4
LD
104852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10486
10487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10488 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10489 * sysdeps/x86_64/multiarch/strchr.S: Update.
10490 Check bit_slow_BSF bit.
10491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10492 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10494
554881ef
UD
104952011-09-05 Ulrich Drepper <drepper@gmail.com>
10496
d96de963
UD
10497 [BZ #13134]
10498 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10499 before glibc 2.15.
10500 (tryshell): Define.
10501 (__spawni): Change last parameter to be flag. Test
10502 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10503 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10504 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10505 * posix/spawni.c: Likewise.
10506 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10507 * posix/spawnp.c: Likewise. Change normal version to use
10508 SPAWN_XFLAGS_USE_PATH.
10509 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10510 SPAWN_XFLAGS_TRY_SHELL.
10511
d48e5868
UD
10512 [BZ #13150]
10513 * posix/glob.h: Remove gcc 1.x support.
10514
554881ef
UD
10515 [BZ #13068]
10516 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10517
693fb948
LD
105182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10519
10520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10521 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10522 strrchr-sse2-bsf
10523 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10524 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10525 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10527 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10529
1b48c537
UD
105302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10531
49d42c37
UD
10532 * sysdeps/x86_64/wcscmp.S: New file.
10533
1b48c537
UD
10534 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10535 wcscmp-c wcscmp-sse2
10536 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10537 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10538 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10539 * wcsmbs/wcscmp.c: Allow renaming.
10540
15c95c5d
DM
105412011-09-05 David S. Miller <davem@davemloft.net>
10542
10543 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10544 stack slot, rather than the struct return pointer slot.
10545 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10546 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10548 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10549
2f0ad8f3
UD
105502011-09-05 Ulrich Drepper <drepper@gmail.com>
10551
d88ae418
UD
10552 * po/ja.po: Update from translation team.
10553
2f0ad8f3
UD
10554 [BZ #13144]
10555 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10556 kernel in 64-bit binaries.
10557
5f4318d1
DM
105582011-09-01 David S. Miller <davem@davemloft.net>
10559
10560 * elf/elf.h (HWCAP_SPARC_*): Move to..
10561 * sysdeps/sparc/sysdep.h: this new file and add new values.
10562 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10563 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10564 _DL_HWCAP_COUNT to 24.
10565 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10566 entries.
10567 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10568 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10569 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10571 instead of magic constants.
10572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10573
3ba57516
DM
105742011-08-31 David S. Miller <davem@davemloft.net>
10575
10576 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10578 Reimplement to do errno handling inline.
10579 (SYSCALL_ERROR_HANDLER): New macro.
10580 (__SYSCALL_STRING): Do not do errno handling in asm.
10581 (__CLONE_SYSCALL_STRING): Delete.
10582 (__INTERNAL_SYSCALL_STRING): Delete.
10583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10584 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10585 (PSEUDO): Reimplement to do errno handling inline.
10586 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10587 (SYSCALL_ERROR_HANDLER): New macro.
10588 (__SYSCALL_STRING): Do not do errno handling in asm.
10589 (__CLONE_SYSCALL_STRING): Delete.
10590 (__INTERNAL_SYSCALL_STRING): Delete.
10591 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10592 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10593 i386.
10594 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10595 (inline_syscall*): Add 'err' argument.
10596 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10597 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10598 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10599 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10600
10601 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10602 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10603
2bc17433
AS
106042011-08-30 Andreas Schwab <schwab@redhat.com>
10605
10606 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10607
fbeb5f4d
JO
106082011-08-29 Jiri Olsa <jolsa@redhat.com>
10609
10610 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10611 directive.
10612
ad69cc26
DM
106132011-08-24 David S. Miller <davem@davemloft.net>
10614
10615 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10616
39dd69df
AS
106172011-08-24 Andreas Schwab <schwab@redhat.com>
10618
10619 * elf/Makefile: Add rules to build and run unload8 test.
10620 * elf/unload8.c: New file.
10621 * elf/unload8mod1.c: New file.
10622 * elf/unload8mod1x.c: New file.
10623 * elf/unload8mod2.c: New file.
10624 * elf/unload8mod3.c: New file.
10625
10626 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10627 it wasn't used.
10628
2c0b250a
DM
106292011-08-23 David S. Miller <davem@davemloft.net>
10630
10631 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10632 subtract stack bias.
10633 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10634 %sp not %fp in calculations.
10635 (_JMPBUF_UNWINDS_ADJ): Likewise.
10636
22044b48
DM
10637 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10638 (aio_suspend): Call it to force an exception region around the
10639 AIO_MISC_WAIT() invocation.
10640
2cae4995
AS
106412011-08-23 Andreas Schwab <schwab@redhat.com>
10642
10643 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10644 backslash.
10645
873a772e
AJ
106462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10647
10648 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10649 protection macro.
10650 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10651 and <dl-machine.h>.
10652 (Elf64_FuncDesc): Remove.
10653
25ad0df1
DM
106542011-08-22 David S. Miller <davem@davemloft.net>
10655
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10657 sigaltstack check, add missing cfi directives.
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10659 missing cfi directives, and sigaltstack handling.
10660
e888bcbe
AS
106612011-08-16 Andreas Schwab <schwab@redhat.com>
10662
10663 [BZ #11724]
10664 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10665 object is seen twice.
10666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10667
10668 * elf/Makefile (distribute): Add tst-initorder2.c.
10669 (tests): Add tst-initorder2.
10670 (modules-names): Add tst-initorder2a tst-initorder2b
10671 tst-initorder2c tst-initorder2d. Add rules to build them.
10672 ($(objpfx)tst-initorder2.out): New rule.
10673 * elf/tst-initorder2.c: New file.
10674 * elf/tst-initorder2.exp: New file.
10675
87162f46
AS
106762011-08-22 Andreas Schwab <schwab@redhat.com>
10677
70538b7f
AS
10678 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10679
f55ffe58
AS
10680 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10681 dependencies back to end of function.
10682
87162f46
AS
10683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10684 $(elfobjdir)/ld.so.
10685
91b392a4
UD
106862011-08-21 Ulrich Drepper <drepper@gmail.com>
10687
10688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10689 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10691 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10692 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10693 of __vdso_gettimeofday.
10694 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10695 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10696 attribute_hidden.
10697 (_libc_vdso_platform_setup): Remove initialization of
10698 __vdso_gettimeofday and __vdso_time.
10699
5c43483f
UD
107002011-08-20 Ulrich Drepper <drepper@gmail.com>
10701
775a77e7
UD
10702 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10703 and fgetc_unlocked.
10704 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10705 getc_unlocked.
89f447ed 10706
49c74ba9
UD
10707 * elf/dl-open.c (add_to_global): Report additions to the global scope
10708 for LD_DEBUG=scopes.
10709 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10710 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10711
5c43483f
UD
10712 [BZ #13114]
10713 * stdio-common/Makefile (tests): Add bug24.
10714 * stdio-common/bug24.c: New file.
10715
a101b025
AJ
107162011-08-19 Andreas Jaeger <aj@suse.de>
10717
10718 [BZ #13114]
10719 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10720 non-existant file when using close-on-exec mode.
10721
c88f1766
UD
107222011-08-20 Ulrich Drepper <drepper@gmail.com>
10723
0276a718
UD
10724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10725 the very first instruction.
10726
c88f1766
UD
10727 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10728 the CFI state in the end.
10729 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10730 inclusion of dl-trampoline.h.
10731 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10732
51ccffa0
AS
107332011-08-19 Andreas Schwab <schwab@redhat.com>
10734
94d7165f
AS
10735 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10736 expectations for long double.
10737
51ccffa0
AS
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10739 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10740
fd708658 107412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10742
10743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10744 artificual limit depends upon the system page size.
10745
44f0a71e
UD
107462011-08-17 Ulrich Drepper <drepper@gmail.com>
10747
10748 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10749 * resolv/Makefile: Define CFLAGS-libresolv.
10750
8de79a24
AS
107512011-08-17 Andreas Schwab <schwab@redhat.com>
10752
10753 * nss/makedb.c (compute_tables): Make variables used in nested
10754 function static.
10755
27724598
UD
107562011-08-17 Ulrich Drepper <drepper@gmail.com>
10757
c5305d88
UD
10758 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10759 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10760 if buffer was too small.
10761
27724598
UD
10762 * elf/pldd.c (main): Attach to all threads in the process.
10763 Rewrite /proc handling to use *at functions.
10764
076fe015
UD
107652011-08-16 Ulrich Drepper <drepper@gmail.com>
10766
174baab3
UD
10767 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10768 specifies first scope to show.
10769 (dl_open_worker): Update callers. Move printing scope of new
10770 object to before the relocation.
44f0a71e 10771 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10772 * sysdeps/generic/ldsodefs.h: Update declaration.
10773
076fe015
UD
10774 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10775 string for the scope number.
10776
a60df2c3
UD
107772011-08-14 Ulrich Drepper <drepper@gmail.com>
10778
10779 * nscd/servicescache.c (cache_addserv): Make sure written is always
10780 initialized.
10781
5e4287d1
RM
107822011-08-14 Roland McGrath <roland@hack.frob.com>
10783
85ae0589
RM
10784 * sysdeps/i386/i486/bits/atomic.h
10785 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10786 statement expression, so as to suppress "set but not used" warning.
10787 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10788
69f63097
RM
10789 * string/strncat.c (STRNCAT): Use prototype definition.
10790
675456ef
RM
10791 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10792 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10793 -Iprograms here.
10794 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10795 (localedef-modules): Add localedef.
10796 (locale-modules): Add locale.
10797
5e4287d1
RM
10798 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10799 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10800 to avoid a warning.
10801
9c96ff23
DM
108022011-08-14 David S. Miller <davem@davemloft.net>
10803
10804 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10805 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10806
f9ddf089
UD
108072011-08-13 Ulrich Drepper <drepper@gmail.com>
10808
44f0a71e 10809 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10810 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10811 * elf/rtld.c (dl_main): Set l_name of vDSO.
10812 Call _dl_show_scope when DL_DEBUG_SCOPES.
10813 (process_dl_debug): Recognize scopes flag and also set it for all.
10814 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10815 Declare _dl_show_scope.
10816
1dc27704
UD
10817 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10818 (do_dlopen): Pass caller_dlopen to dl_open.
10819 (__libc_dlopen_mode): Initialize caller_dlopen.
10820
f9ddf089
UD
10821 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10822 of libc. Make tolower call locale-independent. Optimize a bit by
10823 using isdigit instead of isalnum.
10824 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10825
9ac533d3
UD
108262011-08-12 Ulrich Drepper <drepper@gmail.com>
10827
10828 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10829 was a dependency or dynamically loaded.
10830
89edf2e9
UD
108312011-08-11 Ulrich Drepper <drepper@gmail.com>
10832
8e999d29
UD
10833 * intl/l10nflist.c: Allow architecture-specific pop function.
10834 * sysdeps/x86_64/l10nflist.c: New file.
10835
89edf2e9
UD
10836 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10837 classification.
10838
14d96785
AS
108392011-08-10 Andreas Schwab <schwab@redhat.com>
10840
10841 * include/dirent.h: Add libc_hidden_proto for scandirat and
10842 scandirat64. Don't declare __scandirat64.
10843 * dirent/scandirat.c: Add libc_hidden_def.
10844 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10845 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10846
6761ac04
DM
108472011-08-10 David S. Miller <davem@davemloft.net>
10848
10849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10850 enum.
10851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10854
c55fbd1e
UD
108552011-08-09 Ulrich Drepper <drepper@gmail.com>
10856
10857 * Versions.def [libc]: Add GLIBC_2.15.
10858 * dirent/Makefile (routines): Add scandirat and scandirat64.
10859 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10860 GLIBC_2.15.
10861 * dirent/dirent.h: Declare scandirat and scandirat64.
10862 * dirent/scandirat.c: New file.
10863 * dirent/scandirat64.c: New file.
10864 * sysdeps/wordsize-64/scandirat.c: New file.
10865 * sysdeps/wordsize-64/scandirat64.c: New file.
10866 * dirent/opendir.c: Define opendirat.
10867 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10868 using scandirat.
10869 * dirent/scandir64.c: Adjust for scandir.c change.
10870 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10871 __scandirat64, and __scandir_cancel_handler.
10872 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10873 additional parameter and use openat instead of open (outside of ld.so).
10874 Add new __opendir as wrapper around __opendirat.
10875 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10876 here without requiring old scandirat implementation.
10877
879165f2
UD
108782011-08-08 Ulrich Drepper <drepper@gmail.com>
10879
10880 * dirent/scandir.c (cancel_handler): Renamed to
10881 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10882 defined. Adjust users.
10883 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10885
cb7e923b
UD
108862011-08-04 Ulrich Drepper <drepper@gmail.com>
10887
16292edd
UD
10888 * string/test-string.h (IMPL): Use __STRING to expand name and then
10889 stringify it.
10890
cb7e923b
UD
10891 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10892 of cleanups.
10893
cff82933
LD
108942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10895
10896 * string/Makefile: Update.
10897 (strop-tests): Append strncat.
10898 * string/test-wcscmp.c: New file.
10899 New comprehensive test for wcscmp.
10900 * string/test-strcmp.c: Update.
10901 (WIDE): New define.
10902
9be9bfcc
AS
109032011-07-22 Andreas Schwab <schwab@redhat.com>
10904
10905 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10906 line.
10907
2e96f1c7
AS
109082011-07-26 Andreas Schwab <schwab@redhat.com>
10909
10910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10911 encoding to ACE if AI_IDN.
10912
85188888
JJ
109132011-08-01 Jakub Jelinek <jakub@redhat.com>
10914
10915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10916 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10917
5fa16e9b
LD
109182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10919
10920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10921 Fix overflow bug in strncat.
10922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10923
10924 * string/test-strncat.c: Update.
10925 Add new tests for checking overflow bugs.
10926
109272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10928
10929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10930 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10931 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10932 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10934 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10935 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10936 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10937 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10938
10939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10940 (USE_AS_STRCAT): Define.
10941 Add strcat and strncat support.
10942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10943
8c1a459f
AS
109442011-07-25 Andreas Schwab <schwab@redhat.com>
10945
10946 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10947 __n bigger than INT_MAX+1.
10948 (__strncmp_g): Likewise.
10949
bba33c28
UD
109502011-07-23 Ulrich Drepper <drepper@gmail.com>
10951
798be72d
UD
10952 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10953 * libio/stido.h: Likewise.
10954
8accd4dc
UD
10955 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10956 (AF_NFC): Define.
10957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10958 (AF_NFC): Define.
10959
cbff0d96
UD
10960 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10965
9191c04a
UD
10966 [BZ #13021]
10967 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10968 installed.
10969
bba33c28
UD
10970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10971 typo.
10972 (_dl_x86_64_save_sse): Likewise.
10973
90f139dd
UD
109742011-07-22 Ulrich Drepper <drepper@gmail.com>
10975
1aae088a
UD
10976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10977 OSXSAVE.
10978 (_dl_x86_64_save_sse): Likewise.
10979
8e2045f5
UD
10980 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10981
90f139dd
UD
10982 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10983
1d002f25
AS
109842011-07-21 Andreas Schwab <schwab@redhat.com>
10985
10986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10987 change.
10988 (_dl_x86_64_save_sse): Use correct AVX check.
10989
21137f89
UD
109902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10991
10992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10993 bug in strncpy/strncat.
10994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10995
a65c0b7a
UD
109962011-07-21 Ulrich Drepper <drepper@gmail.com>
10997
10998 * string/tester.c (test_strcat): Add tests for different alignments
10999 of source and destination.
11000 (test_strncat): Likewise.
11001
6986b98a
UD
110022011-07-20 Ulrich Drepper <drepper@gmail.com>
11003
90bb2039
UD
11004 [BZ #12852]
11005 * posix/glob.c (glob): Check passed in values before using them in
11006 expressions to avoid some overflows.
11007 (glob_in_dir): Likewise.
11008
5644ef54
UD
11009 [BZ #13007]
11010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11011 check for AVX enablement so that we don't crash with old kernels and
11012 new hardware.
11013 * elf/tst-audit4.c: Add same checks here.
11014 * elf/tst-audit6.c: Likewise.
11015
11016 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11017
bfc9dc9b
AS
110182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11019
11020 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11021
702e64bb
UD
110222011-07-20 Ulrich Drepper <drepper@gmail.com>
11023
11024 * po/cs.po: Update from translation team.
11025 * po/bg.po: Likewise.
11026
295e904f
MP
110272011-07-12 Marek Polacek <mpolacek@redhat.com>
11028
11029 * misc/sys/cdefs.h: Add support for const attribute.
11030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11031 to gnu_dev_{major,minor,makedev} functions.
11032
3ff94596
MP
110332011-07-20 Marek Polacek <mpolacek@redhat.com>
11034
11035 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11036
28b59fca
AS
110372011-07-20 Andreas Schwab <schwab@redhat.com>
11038
11039 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11040 strlen results.
11041
19df733e
AK
110422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11043
11044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11045 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11046 register in order to avoid conflicts with the soft frame pointer
11047 being held in r11 when necessary.
11048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11049 (INTERNAL_VSYSCALL_NCS): Likewise.
11050
c8835729
MP
110512011-07-14 Marek Polacek <mpolacek@redhat.com>
11052
11053 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11054 * elf/dl-fini.c (_dl_fini): Adjust caller.
11055 * elf/dl-close.c (_dl_close_worker): Likewise.
11056 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11057
b902330c
MP
110582011-07-15 Marek Polacek <mpolacek@redhat.com>
11059
8991e135
MP
11060 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11061 "aux_cache->nlibs < 0".
11062
b902330c
MP
11063 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11064 in the reload-count case.
11065
99710781
LD
110662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11067
11068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11069 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11070 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11071 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11072 * sysdeps/x86_64/multiarch/strcat.S: New file.
11073 * sysdeps/x86_64/multiarch/strncat.S: New file.
11074 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11075 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11076 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11077 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11079 (USE_AS_STRCAT): Define.
11080 Add strcat and strncat support.
11081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11083 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11084 * string/strncat.c: Update.
11085 (USE_AS_STRNCAT): Define.
11086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11087 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11088 and i7.
11089 * sysdeps/x86_64/multiarch/init-arch.h
11090 (bit_Prefer_PMINUB_for_stringop): New.
11091 (index_Prefer_PMINUB_for_stringop): Likewise.
11092 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11093 bit_Prefer_PMINUB_for_stringop.
11094
7dc6bd90
UD
110952011-07-19 Ulrich Drepper <drepper@gmail.com>
11096
11097 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11098 buffer64.
11099 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11100 of casting of buffer.
11101 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11102 buffer32 and buffer64.
11103 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11104 writes instead of casting of buffer.
11105 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11106 buffer32.
11107 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11108 casting of buffer.
11109
e0e72284
AS
111102011-07-19 Andreas Schwab <schwab@redhat.com>
11111
11112 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11113
feb1eb0b
UD
111142011-07-19 Ulrich Drepper <drepper@gmail.com>
11115
11116 * nscd/nscd.c (termination_handler): Don't do anything for a database
11117 if it has not yet been initialized.
11118
298711ff
UD
111192011-07-18 Ulrich Drepper <drepper@gmail.com>
11120
11121 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11122
111232011-07-15 Marek Polacek <mpolacek@redhat.com>
11124
11125 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11126
f9d68389
UD
111272011-07-18 Ulrich Drepper <drepper@gmail.com>
11128
11129 * po/nl.po: Update from translation team.
11130 * po/sv.po: Likewise.
11131
db290cf5
RM
111322011-07-16 Roland McGrath <roland@hack.frob.com>
11133
11134 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11135 now disallowed by GCC.
5c550700 11136
fd5e21c7
RM
11137 * configure.in (use-default-link): Default to yes if a test -shared
11138 link meets our qualifications.
11139 * configure: Regenerated.
11140
5c550700
RM
11141 * config.make.in (output-format): New variable.
11142 * configure.in: Check for ld --print-output-format support.
11143 * configure: Regenerated.
11144 * Makerules ($(common-objpfx)format.lds)
11145 [$(output-format) != unknown]: Just use $(output-format),
11146 instead of the linker-script munging.
11147
9fa2c032
RM
111482011-07-14 Roland McGrath <roland@hack.frob.com>
11149
a6928d51
RM
11150 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11151 of $(common-objpfx)shlib.lds.
11152 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11153
661607b3
RM
11154 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11155 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11156
9fa2c032
RM
11157 * configure.in (-z relro check): Adjust test code to add a large
11158 writable data section after it.
11159 * configure: Regenerated.
11160
defe9061
RM
111612011-07-11 Roland McGrath <roland@hack.frob.com>
11162
11163 * configure.in (-z relro check): Fix test code to make the variable
11164 truly const.
11165 * configure: Regenerated.
11166
319b9ad4
UD
111672011-07-11 Ulrich Drepper <drepper@gmail.com>
11168
11169 * nscd/nscd.h (struct traced_file): Define.
11170 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11171 elements. Add traced_files.
11172 (inotify_fd): Declare.
11173 (register_traced_file): Declare.
11174 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11175 (inotify_fd): Export.
11176 (resolv_conf_descr): Remove.
11177 (nscd_init): Move inotify descriptor creation to main.
11178 Don't register files for notification here.
11179 (register_traced_file): New function.
11180 (invalidate_cache): Don't use reset_res to determine whether to call
11181 res_init, go through the list of registered files.
11182 (main_loop_poll): The inotify descriptors are now stored in the
11183 structures for the traced files.
11184 (main_loop_epoll): Likewise
11185 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11186 to __nss_disable_nscd.
11187 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11188 for a database anymore. Check the records for all the registered
11189 files instead.
11190 * nss/Makefile (libnss_files-routines): Add files-init.
11191 (libnss_db-routines): Add db-init.
11192 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11193 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11194 * nss/nss_db/db-init.c: New file.
11195 * nss/nss_files/files-init.c: New file.
11196 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11197 __nss_lookup_function.
11198 (__nss_lookup_function): Call nss_load_library.
11199 (nss_load_all_libraries): New function.
11200 (__nss_disable_nscd): Take parameter with callback function for files
11201 to register. Set is_nscd. Load all the DSOs for the NSS modules
11202 used for the cached services.
11203 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11204 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11205 options for features to all the files in nscd.
11206
11207 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11208
23bee3e8
RM
112092011-07-10 Roland McGrath <roland@hack.frob.com>
11210
11211 * csu/elf-init.c (__libc_csu_init): Comment typo.
11212
46a5b7f0
UD
112132011-07-09 Ulrich Drepper <drepper@gmail.com>
11214
11215 * po/pl.po: Update from translation team.
11216 * po/ja.po: Likewise.
11217 * po/ru.po: Likewise.
11218 * po/ko.po: Likewise.
11219 * po/fr.po: Likewise.
11220
d30cf5bb
RM
112212011-07-09 Roland McGrath <roland@hack.frob.com>
11222
113ddea4
RM
11223 * configure.in (.ctors/.dtors header and trailer check):
11224 Use an empirical test on a built program.
11225 * configure: Regenerated.
11226
574920b4
RM
11227 * configure.in (-z relro check): Use an empirical test on a built DSO.
11228 Detect, but do not require, on ia64.
11229 * configure: Regenerated.
11230
d30cf5bb
RM
11231 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11232 Update tests that use readelf to use $READELF instead.
11233 * configure: Regenerated.
11234
8538fdb3
UD
112352011-07-08 Ulrich Drepper <drepper@gmail.com>
11236
11237 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11238 if the result is not used.
11239
04d08991
AJ
112402011-07-05 Andreas Jaeger <aj@suse.de>
11241
11242 [BZ#9696]
11243 * stdlib/tst-strtod.c: Add testcase.
11244
de283087
AD
112452011-07-07 Ulrich Drepper <drepper@gmail.com>
11246
4e5f31c8 11247 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11248 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11249 The latter has a higher limit. Take additional parameter to pass to
11250 the new function.
11251 (__pathconf): Pass file to __statfs_link_max.
11252 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11253 __statfs_link_max.
11254 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11255 __statfs_link_max.
11256
de283087
AD
11257 [BZ #12868]
11258 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11260 Handle Lustre.
11261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11262 (__statfs_filesize_max): Likewise.
11263 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11264
c75fa153
AJ
112652011-07-05 Andreas Jaeger <aj@suse.de>
11266
11267 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11268
1a544854
UD
112692011-07-06 Marek Polacek <mpolacek@redhat.com>
11270
11271 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11272 `status' variable.
11273 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11274 Likewise.
11275
6f0eec67
UD
112762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * Makefile (strop-tests): Add strncat.
11279 * string/test-strncat.c: New file.
11280
aae30307
UD
112812011-06-30 Marek Polacek <mpolacek@redhat.com>
11282
11283 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11284
c0cfb5eb
UD
112852011-06-21 Andreas Jaeger <aj@suse.de>
11286
11287 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11288 Copy rule from iconvdata/Makefile.
11289
01636b21
UD
112902011-07-06 Ulrich Drepper <drepper@gmail.com>
11291
11292 [BZ #12922]
11293 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11294 but no long options are defined, just return 'W'.
11295
9895c8bc
UD
112962011-06-22 Marek Polacek <mpolacek@redhat.com>
11297
11298 [BZ #9696]
11299 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11300
5d4cf042
UD
113012011-07-06 Ulrich Drepper <drepper@gmail.com>
11302
11303 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11304 netgroups to read.
960e5535 11305 (innetgr): Likewise.
5d4cf042 11306
751eb97e
RM
113072011-07-05 Roland McGrath <roland@hack.frob.com>
11308
11309 * config.make.in (install_root): Default to $(DESTDIR).
11310
f15f1e45
UD
113112011-07-05 Ulrich Drepper <drepper@gmail.com>
11312
11313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11314
4e34ac6a
RM
113152011-07-02 Roland McGrath <roland@hack.frob.com>
11316
5e9b6af4
RM
11317 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11318
84f9ea0f
RM
11319 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11320 containing directory rather than embedding absolute directory names.
11321
ea5ee9f7
RM
11322 * scripts/check-local-headers.sh: Rewritten using awk.
11323 Match by word, not by line. Print error messages for matches.
11324 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11325
1b74661a
RM
11326 * Makerules [shlib-lds-flags empty]:
11327 ($(common-objpfx)libc_pic.opts): New target.
11328 ($(common-objpfx)libc_pic.os.clean): New target.
11329 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11330
11331 * config.make.in (OBJCOPY): New variable.
11332 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11333 * configure: Regenerated.
11334
f781ef40
RM
11335 * config.make.in (use-default-link): New variable.
11336 * configure.in (use_default_link): Grok --with-default-link to set it.
11337 * configure: Regenerated.
11338 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11339 (shlib-lds, shlib-lds-flags): Define to empty.
11340
2d4fa81e
RM
11341 * Makerules (shlib-lds): New variable.
11342 (shlib-lds-flags): New variable.
11343 (build-shlib, build-moduile, build-module-asneeded): Use it.
11344 ($(common-objpfx)libc.so): Use $(shlib-lds).
11345 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11346 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11347
31fffa6b
RM
11348 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11349 DT_FLAGS/DT_FLAGS_1 with zero flags.
11350
4e34ac6a
RM
11351 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11352 linker script munging.
11353
fcfc776b
UD
113542011-07-02 Ulrich Drepper <drepper@gmail.com>
11355
11356 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11357 as 128-bit value.
11358 * crypt/sha512.c (sha512_process_block): Perform total addition using
11359 128-bit if possible.
11360 (__sha512_finish_ctx): Likewise.
11361 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11362 as 64-bit value.
11363 * crypt/sha256.c (SWAP64): Define.
11364 (sha256_process_block): Perform total addition using 64-bit if
11365 possible.
11366 (__sha256_finish_ctx): Likewise.
11367
99231d9a
UD
113682011-07-01 Ulrich Drepper <drepper@gmail.com>
11369
11370 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11372 * nscd/hstcache.c (cache_addhst): Likewise.
11373 * nscd/grpcache.c (cache_addgr): Likewise.
11374 * nscd/aicache.c (addhstaiX): Likewise
11375 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11376
445b4a53
TK
113772011-07-01 Thorsten Kukuk <kukuk@suse.de>
11378
11379 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11381 * nscd/hstcache.c (cache_addhst): Likewise.
11382 * nscd/grpcache.c (cache_addgr): Likewise.
11383 * nscd/aicache.c (addhstaiX): Likewise
11384
6d4d8e8e
AS
113852011-07-01 Andreas Schwab <schwab@redhat.com>
11386
11387 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11388 domain only when needed.
11389
89f654c5
AS
113902011-06-30 Andreas Schwab <schwab@redhat.com>
11391
11392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11393 is always restored.
11394
cf3b23ff
UD
113952011-06-29 Ulrich Drepper <drepper@gmail.com>
11396
11397 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11398 are re-adding the entry.
11399 * nscd/servicescache.c (cache_addserv): Likewise.
11400
751626f9
AJ
114012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11402
11403 * sysdeps/generic/dl-irel.h: fix protection against multiple
11404 inclusions.
11405 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11406
9113ea1f
UD
114072011-06-28 Ulrich Drepper <drepper@gmail.com>
11408
5c0b8d90
UD
11409 [BZ #12935]
11410 * malloc/memusage.sh: Fix quoting in message.
11411 * debug/xtrace.sh: Likewise.
11412
9113ea1f
UD
11413 * configure.in: Remove support for --experimental-malloc option, make
11414 it the default.
11415 * config.make.in: Likewise.
11416 * malloc/Makefile: Likewise.
11417
a4172181
AS
114182011-06-27 Andreas Schwab <schwab@redhat.com>
11419
11420 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11421 two-byte characters.
11422
78a7eee7
RM
114232011-06-27 Roland McGrath <roland@hack.frob.com>
11424
62bede13
RM
11425 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11426 AC_CACHE_CHECK invocation.
11427 * configure: Regenerated.
11428
78a7eee7
RM
11429 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11430
5ce33a62
UD
114312011-06-27 Ulrich Drepper <drepper@gmail.com>
11432
034807a9
UD
11433 [BZ #12350]
11434 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11435 bit from old_res_options.
11436
4902da17
UD
11437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11438
5ce33a62
UD
11439 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11440 value type for setfct.
11441
c2344f56
L
114422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11445 __gettimeofday instead of gettimeofday.
11446
68468076
UD
114472011-06-26 Ulrich Drepper <drepper@gmail.com>
11448
11449 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11450
acb0d739
L
114512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11452
11453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11454
11455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11456 info.
11457
8912479f
L
114582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11459
11460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11461 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11462 strcpy-sse2-unaligned strncpy-sse2-unaligned
11463 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11464 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11465 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11466 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11467 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11470 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11471 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11472 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11473 (STRCPY): Support SSE2 and SSSE3 versions.
11474
d5495a11
UD
114752011-06-24 Ulrich Drepper <drepper@gmail.com>
11476
11477 [BZ #12874]
11478 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11479 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11480 kernels which artificially limit size of requests.
11481
0b1cbaae
L
114822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11483
11484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11485 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11486 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11487 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11488 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11489 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11490 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11491 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11494 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11495 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11496 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11497 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11498 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11500 Enable unaligned load optimization for Intel Core i3, i5 and i7
11501 processors.
11502 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11503 Define.
11504 (index_Fast_Unaligned_Load): Define.
11505 (HAS_FAST_UNALIGNED_LOAD): Define.
11506
07f494a0
MP
115072011-06-23 Marek Polacek <mpolacek@redhat.com>
11508
11509 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11510
fa3fc0fe
UD
115112011-06-22 Ulrich Drepper <drepper@gmail.com>
11512
11513 [BZ #12907]
11514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11515 until it is clear that the information is realy needed.
11516 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11517
e12df166
AS
115182011-06-22 Andreas Schwab <schwab@redhat.com>
11519
11520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11521
852eb34d
UD
115222011-06-22 Ulrich Drepper <drepper@gmail.com>
11523
84e2a551
UD
11524 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11525 /sys/devices/system/cpu/online if it is usable.
11526
852eb34d
UD
11527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11528 reading the information from the /proc filesystem to once a second.
11529
6e502e19
UD
115302011-06-21 Andreas Jaeger <aj@suse.de>
11531
11532 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11533 NULL after inclusion of kernel headers.
11534
75d39ff2
UD
115352011-06-21 Ulrich Drepper <drepper@gmail.com>
11536
51f9aa6a
UD
11537 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11538 calls to internal_setent.
11539
c0244a9d
UD
11540 [BZ #12885]
11541 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11542 addresses using gethostbyname4_r ignore IPv4 addresses.
11543
c5e3c2ae
UD
11544 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11545 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11546
75d39ff2
UD
11547 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11548
42675c6f
DM
115492011-06-20 David S. Miller <davem@davemloft.net>
11550
11551 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11552 inclusions.
11553 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11554
11555 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11556 (elf_irel): Use it.
11557 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11558 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11559 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11560 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11561 * sysdeps/x86_64/dl-irel.h: Likewise.
11562
11563 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11564 * elf/dl-sym.c: Likewise.
11565
57912a71
UD
115662011-06-15 Ulrich Drepper <drepper@gmail.com>
11567
11568 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11569 need to dereference resplen2.
11570
ee22793d
AS
115712011-06-14 Andreas Schwab <schwab@redhat.com>
11572
11573 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11574
a9e836b0
UD
115752011-06-15 Ulrich Drepper <drepper@gmail.com>
11576
77fb9117
UD
11577 * Makeconfig: Define vardbdir and inst_vardbdir.
11578 * nss/Makefile: Add rules to install db-Makefile.
11579
40c1b22c
UD
11580 * nss/nss_db/db-XXX.c: Cleanup.
11581
9f2da732
UD
11582 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11583 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11584 GLIBC_PRIVATE.
11585 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11586 * nss/makedb.c: Implement -g option to specify that value strings
11587 are generated and should not be added to table iterated over for
11588 get*ent calls.
11589 * nss/nss_db/db-initgroups.c: New file.
11590
82e9a1f7
UD
11591 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11592 interface.
11593
c41af17e
UD
11594 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11595 (internal_getgrouplist): Adjust to name change.
11596 Update use_initgroups_entry if this is not the first call.
11597 * nss/databases.def: Add initgroups entry.
11598
a9e836b0
UD
11599 * nss/makedb.c (compute_tables): Check result of multiple hash table
11600 sizes to minimize maximum chain length.
11601
2666d441
UD
116022011-06-14 Ulrich Drepper <drepper@gmail.com>
11603
11604 * Versions.def: Add entry for libnss_db.
11605 * shlib-versions: Likewise.
11606 * nss/Makefile: Add rules to build libnss_db.
11607 * nss/Versions: Add libnss_db information. Organize libnss_files
11608 entries better.
11609 * nss/db-Makefile: Add gshadow support. Change rules for the new
11610 makedb progra. Some minor improvements to generate smaller files.
11611 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11612 here from...
11613 * nss/makedb.c: ...here.
11614 Improve database format to be smaller and require less memory at
11615 runtime.
11616 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11617 db anymore.
11618 * nss/nss_db/db-netgrp.c: Likewise.
11619 * nss/nss_db/db-open.c: Likewise.
11620 * nss/nss_files/flies-XXX.x: Adjust comments.
11621 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11622 * nss/nss_files/files-grp.c: Likewise.
11623 * nss/nss_files/files-hosts.c: Likewise.
11624 * nss/nss_files/files-network.c: Likewise.
11625 * nss/nss_files/files-proto.c: Likewise.
11626 * nss/nss_files/files-pwd.c: Likewise.
11627 * nss/nss_files/files-rpc.c: Likewise.
11628 * nss/nss_files/files-service.c: Likewise.
11629 * nss/nss_files/files-sgrp.c: Likewise.
11630 * nss/nss_files/files-spwd.c: Likewise.
11631 * nss/nss_db/db-alias.c: Removed.
11632 * nss/nss_db/dummy-db.h: Removed.
11633
9ee76b5a
UD
116342011-06-02 Ulrich Drepper <drepper@gmail.com>
11635
11636 * nss/makedb.c: Rewritten to not use database library.
11637 * nss/Makefile: Update to build new makedb program.
11638
c71ca1f8
AJ
116392011-06-14 Andreas Jaeger <aj@suse.de>
11640
11641 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11642 memset declaration.
11643
3154bfb8
UD
116442011-06-10 Andreas Schwab <schwab@redhat.com>
11645
11646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11647 tmpbuf.
11648
b350afab
RM
116492011-06-10 Roland McGrath <roland@hack.frob.com>
11650
decd4e50
RM
11651 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11652 * elf/Makefile ($(objpfx)ld.so): Likewise.
11653
5615eaf2
RM
11654 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11655 Don't list ld.so twice in dependencies.
11656
11657 * posix/bug-regex31.c: Include <stdlib.h>.
11658
11659 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11660
11661 * nis/nss_compat/compat-spwd.c
11662 (getspent_next_nss_netgr): Remove unused variable.
11663 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11664
11665 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11666 nonmembers" output to use the right array.
11667
11668 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11669
11670 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11671
11672 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11673 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11674 * catgets/gencat.c (read_input_file): Likewise.
11675 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11676
11677 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11678 variable definition inside #if's controlling its use.
11679
11680 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11681
11682 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11683
11684 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11685
11686 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11687 unreachable code.
11688
11689 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11690
b68e08db
RM
11691 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11692 * configure: Regenerated.
11693
b350afab
RM
11694 * Makerules: Revert last change.
11695 * elf/Makefile: Likewise.
11696
28368601
RM
116972011-06-09 Roland McGrath <roland@hack.frob.com>
11698
11699 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11700 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11701 (reloc-link): Likewise.
11702
11988f8f
UD
117032011-06-09 Ulrich Drepper <drepper@gmail.com>
11704
11705 * elf/Makefile: Add rules to build pldd.
11706 * elf/pldd.c: New file.
11707 * elf/pldd-xx.c: New file.
11708
e80fab37
UD
117092011-06-07 Ulrich Drepper <drepper@gmail.com>
11710
11711 * version.h: Update for 2.15 development version.
11712
9b849836
DM
117132011-06-07 David S. Miller <davem@davemloft.net>
11714
11715 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11716 ifuncs.
11717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11718 elf_machine_lazy_rel): Likewise.
11719 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11721 elf_machine_lazy_rel): Likewise.
11722 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11723 dl_hwcap via passed in argument.
11724 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11725 Likewise.
11726
5a31b283
AK
117272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11728
11729 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11730
069e52f8
RM
117312011-06-06 Roland McGrath <roland@hack.frob.com>
11732
11733 [BZ #12849]
11734 * manual/fdl-1.1.texi: New file, verbatim from:
11735 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11736 * manual/lgpl-2.1.texi: New file, verbatim from:
11737 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11738 * manual/Makefile (licenses): New variable, list those new file names.
11739 (texis): Use it.
11740 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11741
11742 * manual/fdl.texi: File removed.
11743 * manual/lesser.texi: File removed.
11744 * manual/libc.texinfo (Copying, Documentation License):
11745 Use new @include file names, put @appendix directive before @include.
11746
f16846a5
JJ
117472011-06-04 Jakub Jelinek <jakub@redhat.com>
11748
11749 [BZ #12841]
11750 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11751 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11752 (mq_open): Add __NTH.
11753
3d29045b
L
117542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11757 Assume Intel Core i3/i5/i7 processor if AVX is available.
11758
8c297311
UD
117592011-05-31 Ulrich Drepper <drepper@gmail.com>
11760
11761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11762 typo.
11763
c8fc0c91
UD
117642011-05-31 Andreas Schwab <schwab@redhat.com>
11765
11766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11767 memory. Use alloca_account. Fix memory leak when retrying.
11768
5b27a807
UD
117692011-05-31 Ulrich Drepper <drepper@gmail.com>
11770
356f8bc6
UD
11771 * version.h (RELEASE): Bump for 2.14 release.
11772 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11773
5b27a807
UD
11774 * config.make.in (RANLIB): Remove entry.
11775
01f16ab0
UD
117762011-05-30 Ulrich Drepper <drepper@gmail.com>
11777
41fce8bd
UD
11778 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11779 (libc.pot): Work around missing support for .ksh extension in xgettext.
11780
4769ae77
UD
11781 [BZ #12684]
11782 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11783 if both request failed.
11784 (send_dg): In case of server errors clear resplen or *resplen2.
11785
6b1e7d19
UD
11786 [BZ #12454]
11787 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11788 when there are multiple maps.
11789 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11790 (_dl_fini): Remove test here.
11791
01f16ab0
UD
11792 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11793
b1ebd700
UD
117942011-05-29 Ulrich Drepper <drepper@gmail.com>
11795
7ae22829
UD
11796 [BZ #12350]
11797 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11798 bit from old_res_options.
11799 (gaih_inet): Likewise.
11800
553149f6 11801 [BZ #11099]
18a84741 11802 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11803 as signed.
11804
652ffab1
UD
11805 * resolv/res_init.c (res_setoptions): Make the code more compact.
11806
16985fd0
UD
11807 [BZ #11558]
11808 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11809 set RES_USEVC.
11810
0464f746
UD
11811 [BZ #11634]
11812 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11813
7d17596c
UD
11814 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11815
cf6bbbd7
UD
11816 [BZ #11781]
11817 * malloc/malloc.h: Declare malloc hook variables as volatile.
11818
13f1ab36
UD
11819 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11820 in last patch.
11821
b1ebd700
UD
11822 [BZ #11799]
11823 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11824 raise in the comment.
80e2212d
UD
11825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11827 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11828
ce67228d
UD
118292011-05-28 Ulrich Drepper <drepper@gmail.com>
11830
8887a920
UD
11831 [BZ #12811]
11832 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11833 grow the buffers more if it already has to be sufficient.
11834 (build_wcs_upper_buffer): Likewise.
11835 * posix/regexec.c (check_matching): Likewise.
11836 (clean_state_log_if_needed): Likewise.
11837 (extend_buffers): Don't enlarge buffers beyond size of the input
11838 buffer.
11839 Patches mostly by Emil Wojak <emil@wojak.eu>.
11840 * posix/bug-regex32.c: New file.
11841 * posix/Makefile (tests): Add bug-regex32.
11842
4f031072
UD
11843 * locale/findlocale.c (_nl_find_locale): Return right away if
11844 _nl_explode_name failed.
11845 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11846
d0478f0c
UD
11847 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11848
de81b246
UD
11849 * debug/xtrace.sh: Unify messages.
11850 * malloc/memusage.sh: Likewise.
11851
c738465a
UD
11852 [BZ #12813]
11853 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11854 time symbol from vDSO. Substitute with vsyscall if not available.
11855 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11856 __vdso_time.
11857
f1f929d7
UD
11858 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11859 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11860 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11861 Add sendmmsg and internal_sendmmsg.
11862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11863 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11865
ce67228d
UD
11866 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11867 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11869
e57420c6
UD
118702011-05-27 Ulrich Drepper <drepper@gmail.com>
11871
a8509ca5
UD
11872 [BZ #12813]
11873 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11874 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11875 available.
11876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11877 __vdso_getcpu.
11878
e57420c6
UD
11879 [BZ #12814]
11880 * iconvdata/Makefile (tests): Add bug-iconv9.
11881 * iconvdata/bug-iconv9.c: New file.
11882
4d07db15
AS
118832011-05-27 Andreas Schwab <schwab@redhat.com>
11884
11885 [BZ #12814]
11886 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11887
ea486f69
JJ
118882011-05-25 Jakub Jelinek <jakub@redhat.com>
11889
11890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11891 (struct user_regs_struct): Change intcs field back to cs.
11892
6f038433
UD
118932011-05-25 Ulrich Drepper <drepper@gmail.com>
11894
11895 * po/ja.po: Update from translation team.
11896
67f86a25
UD
118972011-05-23 Ulrich Drepper <drepper@gmail.com>
11898
11899 [BZ #12795]
11900 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11901 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11902
def7fbd6
AS
119032011-05-20 Andreas Schwab <schwab@redhat.com>
11904
11905 * stdlib/longlong.h: Update from GCC.
11906
f50ef8f1
AS
119072011-05-23 Andreas Schwab <schwab@redhat.com>
11908
11909 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11910 parameter name.
11911 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11912 Add parameter name.
11913 (__sysconf): Pass it down.
11914
de7ce8f1
UD
119152011-05-22 Ulrich Drepper <drepper@gmail.com>
11916
f2962a71
UD
11917 [BZ #12671]
11918 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11919 some situations.
11920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11921 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11922 add in in __libc_use_alloca calls. Adjust callers.
11923 (glob): Use malloc in some situations.
11924
de7ce8f1
UD
11925 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11926 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11927 pltexit.
11928
aec84f53
UD
119292011-05-21 Ulrich Drepper <drepper@gmail.com>
11930
05bb4a68
UD
11931 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11932 and CLOCK_BOOTTIME_ALARM.
11933
7ea72f99
UD
11934 [BZ #12782]
11935 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11936 is returned.
11937
7e4afad5
UD
11938 * string/_strerror.c (__strerror_r): Print negative errors as signed
11939 numbers.
11940
8e211fec
UD
11941 [BZ #12777]
11942 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11943 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11944 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11945
f7d82dc9
UD
11946 * configure.in: Fix typo in redirection and correct removal of test
11947 files in two cases.
11948
cc9e536d
UD
11949 [BZ #12788]
11950 * locale/setlocale.c (new_composite_name): Fix test to check for
11951 identical name of all categories.
11952
aec84f53
UD
11953 [BZ #12792]
11954 * libio/filedoalloc.c (local_isatty): New function.
11955 (_IO_file_doallocate): Use local_isatty.
11956 * stdio-common/perror.c (perror): In case a new stream is used
11957 forward the stream error.
11958 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11959 error flag.
11960
78e64fdc
RT
119612011-05-20 Ulrich Drepper <drepper@gmail.com>
11962
34a9094f
UD
11963 [BZ #11869]
11964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11965 alloca.
11966 * include/alloca.h (extend_alloca_account): Define.
11967
78e64fdc
RT
11968 [BZ #11857]
11969 * posix/regex.h: Fix comments with documentation of user-accessible
11970 fields after compilation and describe correct free'ing of pattern
11971 after re_compile_pattern.
11972 Patch by Reuben Thomas <rrt@sc3d.org>.
11973
457bddfc
RA
119742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11975
11976 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11977 and -mno-altivec to prevent the compiler from using Altivec and/or
11978 VSX instructions when the corresponding registers are not available.
11979
a4527b51
AS
119802011-05-19 Andreas Schwab <schwab@redhat.com>
11981
11982 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11983
ed690b2f
UD
119842011-05-19 Ulrich Drepper <drepper@gmail.com>
11985
11986 * libio/freopen.c (freopen): Use __dup2, not dup2.
11987 * libio/freopen64.c (freopen64): Likewise.
11988
8db73634
L
119892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 [BZ #12775]
11992 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11993 * math/Makefile (tests): Add test-powl.
11994 (CFLAGS-test-powl.c): Define.
11995 * math/test-powl.c: New file.
11996
0a197a9d
L
119972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12000
ee30c380
UD
120012011-05-17 Ulrich Drepper <drepper@gmail.com>
12002
12003 [BZ #11837]
12004 * iconvdata/gb18030.c: Update to GB18020-2005.
12005
6ce75379
UD
120062011-05-16 Ulrich Drepper <drepper@gmail.com>
12007
a4b89fd8
AR
12008 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12009 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12010 Patch by Aharon Robbins <arnold@skeeve.com>.
12011
ea389b12
UD
12012 [BZ #11892]
12013 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12014 on the stack.
12015
68a3f91f
UD
12016 [BZ #11895]
12017 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12018 through underflows.
12019
15cc7dd1
UD
12020 [BZ #12766]
12021 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12022 point to strings before performing equality test for error_one_per_line
12023 mode.
12024
f3799213
UD
12025 [BZ #11697]
12026 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12027
d79a9c94
UD
12028 [BZ #11820]
12029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12030 (struct user_fpregs_struct): Avoid __uint*_t types.
12031
56e5eb46
UD
12032 [BZ #6420]
12033 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12034 symbol info. Use it instead of calling _dl_addr locally.
12035 (lock_and_info): New function.
12036 (tr_freehook): Call lock_and_info and pass symbol info as additional
12037 parameter to tr_where.
12038 (tr_mallochook): Likewise.
12039 (tr_reallochook): Likewise.
12040 (tr_memalignhook): Likewise.
12041
6ce75379
UD
12042 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12043 used and couldn't be at all thread-safe.
12044
f8a3b5bf
UD
120452011-05-15 Ulrich Drepper <drepper@gmail.com>
12046
94b7cc37
UD
12047 * libio/freopen.c (freopen): Don't close old file descriptor
12048 before the new one is opened. Instead dup the new file descriptor
12049 to the old one after the new stream is created.
12050 * libio/freopen64.c (freopen64): Likewise.
12051 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12052 * libio/fileops.c (_IO_new_file_close_it): Handle new
12053 _IO_FLAGS2_NOCLOSE flag.
12054 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12055 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12056 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12057 _IO_FLAGS2_NOCLOSE flag.
12058 * include/unistd.h: Add hidden_proto for dup3.
12059 Define __have_dup3.
12060 * io/dup3.c: Define hidden symbol.
12061 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12062
bd25564e
UD
12063 [BZ #7101]
12064 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12065 when an incomplete long option is used.
12066 * posix/tst-getopt_long1.c: New file.
12067 * posix/Makefile (tests): Add tst-getopt_long1.
12068
c84cfef4
UD
12069 [BZ #10138]
12070 * scripts/config.guess: Update from autoconf-2.68.
12071 * scripts/config.sub: Likewise.
12072
3b85df27
UD
12073 [BZ #10157]
12074 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12075 tests into ...
12076 (has_cpuclock): ...this. New function.
12077 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12078 macro here based on has_cpuclock code.
12079
15a856b1
UD
12080 [BZ #10149]
12081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12082 First byte (not low byte) is now always NUL.
12083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12084
05f399e6
UD
12085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12086 Use non-cancelable interfaces.
12087
10a52685 12088 [BZ #9809]
94ecc67d
UD
12089 * locale/iso-639.def: Add entry for Sorani.
12090
f8a3b5bf
UD
12091 [BZ #11901]
12092 * include/stdlib.h: Move include protection to the right place.
12093 Define abort_msg_s. Declare __abort_msg with it.
12094 * stdlib/abort.c (__abort_msg): Adjust type.
12095 * assert/assert.c (__assert_fail_base): New function. Majority
12096 of code from __assert_fail. Allocate memory for __abort_msg with
12097 mmap.
12098 (__assert_fail): Now call __assert_fail_base.
12099 * assert/assert-perr.c: Remove bulk of implementation. Use
12100 __assert_fail_base.
12101 * include/assert.hL Declare __assert_fail_base.
12102 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12103 mmap.
12104 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12105
1af4e298
UD
121062011-05-14 Ulrich Drepper <drepper@gmail.com>
12107
f8a3b5bf 12108 [BZ #11952]
d26dfc60
MG
12109 [BZ #12453]
12110 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12111 until all modules are registered in the DTV.
12112 * elf/Makefile: Add rules to build and run tst-tls19.
12113 * elf/tst-tls19.c: New file.
12114 * elf/tst-tls19mod1.c: New file.
12115 * elf/tst-tls19mod2.c: New file.
12116 * elf/tst-tls19mod3.c: New file.
12117 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12118
2fc54d6f
UD
12119 [BZ #12083]
12120 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12121 correctly.
12122
98d76b46
UD
12123 [BZ #12601]
12124 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12125 two-byte sequence errors.
12126 * iconvdata/Makefile (tests): Add bug-iconv8.
12127 * iconvdata/bug-iconv8.c: New file.
12128
da3c19ef
UD
12129 [BZ #12626]
12130 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12131 buf2 definition.
12132
ca408c15
UD
12133 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12134
d6f67f7d
UD
12135 [BZ #12432]
12136 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12137 (dummy_getcfa): New function.
12138 (init): Get _Unwind_GetCFA address, use dummy if not found.
12139 (backtrace_helper): In recursion check, also check whether CFA changes.
12140 (__backtrace): Completely initialize arg.
12141
1af4e298 12142 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12143 storing incomplete byte sequence in state object. Avoid testing for
12144 guaranteed too small input if we know there is enough data available.
1af4e298 12145
da62f81b
AS
121462011-05-11 Andreas Schwab <schwab@redhat.com>
12147
12148 * Makeconfig (+link-pie): Indent.
12149 * Rules (binaries-pie): Define if $(have-fpie) and
12150 $(build-shared).
12151 (binaries-shared): Also filter out $(binaries-pie).
12152 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12153 * nscd/Makefile (others-pie): Add nscd.
12154 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12155 ($(objpfx)nscd): Remove command override.
12156 * login/Makefile (others-pie): Add pt_chown.
12157 ($(objpfx)pt_chown): Remove command override.
12158 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12159 remove command overrides.
12160
fcabc0f8
UD
121612011-05-13 Ulrich Drepper <drepper@gmail.com>
12162
20030ae6
UD
12163 * libio/tst_putwc.c: Fix error messages.
12164
fcabc0f8
UD
12165 [BZ #12724]
12166 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12167 currently writing and seek to current position when not.
12168 * libio/Makefile (tests): Add bug-fclose1.
12169 * libio/bug-fclose1.c: New file.
12170
320a5dc0
PB
121712011-05-12 Ulrich Drepper <drepper@gmail.com>
12172
12173 [BZ #12511]
12174 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12175 don't set DF_1_NODELETE here.
12176 (do_lookup_x): When entering new entry test for copy relocation
12177 and if necessary set DF_1_NODELETE flag.
12178 * elf/tst-unique4.cc: New file.
12179 * elf/tst-unique4.h: New file.
12180 * elf/tst-unique4lib.cc: New file.
12181 * elf/Makefile: Add rules to build and run tst-unique4.
12182 Patch by Piotr Bury <pbury@goahead.com>.
12183
22836f52
UD
121842011-05-11 Ulrich Drepper <drepper@gmail.com>
12185
f574184a
UD
12186 [BZ #12052]
12187 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12188
e1fb097f
UD
12189 [BZ #12625]
12190 * misc/mntent_r.c (addmntent): Flush the stream after the output
12191
22836f52
UD
12192 [BZ #12393]
12193 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12194 (is_trusted_path_normalize): Skip initial colon. Append slash
12195 to empty buffer. Duplicate is_trusted_path code but allow
12196 constructed patch to be prefix.
12197 (is_dst): Allow $ORIGIN followed by /.
12198 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12199 Correct testing of result of is_trusted_path_normalize
12200 (decompose_rpath): Fix warning.
12201
7b3b0b2a
UD
122022011-05-10 Ulrich Drepper <drepper@gmail.com>
12203
12204 [BZ #11257]
12205 * grp/initgroups.c (internal_getgrouplist): When we found the service
12206 list through the initgroups entry in nsswitch.conf do not always
12207 continue on a successful lookup. Don't always use the
eac80ce2 12208 __nss_group_database value if it is set.
7b3b0b2a
UD
12209 * nss/nsswitch.conf (initgroups): Change action for successful db
12210 lookup to continue for compatibility.
12211
2a81eaa5
UD
122122011-05-09 Ulrich Drepper <drepper@gmail.com>
12213
be97a69e
UD
12214 [BZ #11532]
12215 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12216 and CP774 modules.
12217 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12218 and CP774 modules.
12219 * iconvdata/tst-tables.sh: Likewise.
12220 * iconvdata/cp770.c: New file.
12221 * iconvdata/cp771.c: New file.
12222 * iconvdata/cp772.c: New file.
12223 * iconvdata/cp773.c: New file.
12224 * iconvdata/cp774.c: New file.
12225 * iconvdata/testdata/CP770: New file.
12226 * iconvdata/testdata/CP770..UTF8: New file.
12227 * iconvdata/testdata/CP771: New file.
12228 * iconvdata/testdata/CP771..UTF8: New file.
12229 * iconvdata/testdata/CP772: New file.
12230 * iconvdata/testdata/CP772..UTF8: New file.
12231 * iconvdata/testdata/CP773: New file.
12232 * iconvdata/testdata/CP773..UTF8: New file.
12233 * iconvdata/testdata/CP774: New file.
12234 * iconvdata/testdata/CP774..UTF8: New file.
12235
12236 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12237 END CHARMAP line.
12238 * iconvdata/gen-8bit-gap.sh: Likewise.
12239 * iconvdata/gen-8bit.sh: Likewise.
12240
c1e9e399
UD
12241 * locale/iso-639.def: Add ary entry.
12242
24c55fb3 12243 [BZ #11258]
96b4b1b0
UD
12244 * locale/C-translit.h.in: Add U20A1 transliteration.
12245
bdc2f971
KB
12246 [BZ #12178]
12247 * locale/iso-639.def: Add wae entry.
12248 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12249
2952b117
UD
12250 [BZ #12545]
12251 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12252 for n.
12253
2a81eaa5
UD
12254 [BZ #12711]
12255 * locale/C-translit.h.in: Add entry for U20B9.
12256 Patch by pravin.d.s@gmail.com.
12257
28377d1b
UD
122582011-05-08 Ulrich Drepper <drepper@gmail.com>
12259
7fb90fb8
UD
12260 [BZ #12713]
12261 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12262 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12263 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12264 in rtld. Use *stat64.
7fb90fb8 12265 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12266 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12267 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12268 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12269 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12270 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12271 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12272 __fstatat64 macros.
7fb90fb8
UD
12273 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12274 * dirent/rewinddir.c: Add libc_hidden_def.
12275 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12276 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12277
28377d1b
UD
12278 * include/dirent.h (__alloc_dir): Add flags parameter.
12279 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12280 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12281 __alloc_dir.
12282 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12283 from fdopendir if O_CLOEXEC is already set.
12284
66bdbaa4
AM
122852011-03-15 Alan Modra <amodra@gmail.com>
12286
12287 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12288 l_tls_firstbyte_offset non-zero. Save padding offset in
12289 l_tls_firstbyte_offset for later use.
12290 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12291 freeing static tls block.
12292
95721191
JN
122932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12294
12295 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12296 where #ifdef was intended. The intent is to prevent ARG_MAX from
12297 being defined by the kernel headers.
12298
f87dfb1f
UD
122992011-05-07 Ulrich Drepper <drepper@gmail.com>
12300
12301 [BZ #12734]
12302 * resolv/resolv.h: Define RES_NOTLDQUERY.
12303 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12304 no-tld-query and set RES_NOTLDQUERY.
12305 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12306 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12307 modern BIND to search name as TLD unless forbidden.
12308
47c3cd7a
UD
123092011-05-07 Petr Baudis <pasky@suse.cz>
12310 Ulrich Drepper <drepper@gmail.com>
12311
12312 [BZ #12393]
12313 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12314 (is_trusted_path): ...to here.
c1e9ea35 12315 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12316 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12317 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12318
8a35c912
PP
123192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12320
12321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12322 __BEGIN/__END_DECLS.
12323
acd41f47
UD
123242011-05-06 Ulrich Drepper <drepper@gmail.com>
12325
12326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12327 NSS_STATUS_NOTFOUND if no record was found.
12328
597df647
AS
123292011-05-05 Andreas Schwab <schwab@redhat.com>
12330
12331 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12332 (headers-not-in-tirpc): Remove rpc/netdb.h
12333 * resolv/netdb.h: Revert last change.
12334
b9af1301
PP
123352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12336
12337 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12338 circular dependency between libgcc.a and libc.a.
12339
4e34d5f5
AS
123402011-05-05 Andreas Schwab <schwab@redhat.com>
12341
12342 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12343 * nis/Makefile: Don't install rpcsvc/*.
12344 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12345 instead of <rpc/types.h>.
12346 (MAXHOSTNAMELEN): Define.
12347
00ee369c
AS
123482011-05-03 Andreas Schwab <schwab@redhat.com>
12349
12350 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12351
0b592a30
MB
123522011-04-28 Maciej Babinski <mbabinski@google.com>
12353
12354 [BZ #12714]
12355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12356 gethostbyname4_r when IPv6 results are possible.
12357
6e04cbbe
UD
123582011-05-02 Ulrich Drepper <drepper@gmail.com>
12359
12360 [BZ #12723]
12361 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12362 _PC_PIPE_BUF handling.
12363
e4ecafe0
BH
123642011-04-30 Bruno Haible <bruno@clisp.org>
12365
12366 [BZ #12717]
12367 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12368 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12369 to 'int'.
12370 * inet/getnameinfo.c (getnameinfo): Likewise.
12371
125ee683
UD
123722011-04-29 Ulrich Drepper <drepper@gmail.com>
12373
12374 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12375 to groups setting in database lookup.
12376 * nss/nsswitch.conf: Add initgroups entry.
12377
b722481a
EB
123782011-04-22 Ulrich Drepper <drepper@gmail.com>
12379
12380 [BZ #12685]
12381 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12382 mode string.
12383 Patch by Eric Blake <eblake@redhat.com>.
12384
4df46dbd
L
123852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 * sunrpc/Makefile (need-export-routines): Add svc_run.
12388 (routines): Remove svc_run.
12389 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12390 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12391 * sunrpc/svc_run.c (svc_run): Likewise.
12392 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12393
e84142d2
UD
123942011-04-21 Ulrich Drepper <drepper@gmail.com>
12395
12396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12397 problem in reallocation in last patch.
12398
877175d8
UD
123992011-04-20 Ulrich Drepper <drepper@gmail.com>
12400
12401 * sunrpc/Makefile: Move inclusion of Rules.
12402
ab8eed78
UD
124032011-04-19 Ulrich Drepper <drepper@gmail.com>
12404
12405 * nss/nss_files/files-initgroups.c: New file.
12406 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12407 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12408 _nss_files_initgroups_dyn.
12409
e3d8f584
RS
124102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12411
12412 * elf/elf.h (R_ARM_IRELATIVE): Define.
12413
af190f45
UD
124142011-04-19 Ulrich Drepper <drepper@gmail.com>
12415
12416 * po/ru.po: Update from translation team.
12417
53cf59ef
UD
124182011-04-17 Ulrich Drepper <drepper@gmail.com>
12419
12420 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12421 dependencies.
12422
4c559bcd
MF
124232011-02-06 Mike Frysinger <vapier@gentoo.org>
12424
12425 [BZ #12653]
12426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12427 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12431
4420675c
AS
124322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12433
12434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12435 differing bytes.
12436 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12439
75ea32ab
UD
124402011-04-17 Ulrich Drepper <drepper@gmail.com>
12441
12442 [BZ #12420]
12443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12444 storing it.
12445 * stdlib/bug-getcontext.c: New file.
12446 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12447
27390476
AK
124482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12449
12450 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12451 instructions into .machine "z9-109".
12452 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12453 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12454
10442705
AK
124552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12456
12457 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12458 between environment variables and auxiliary vector.
12459
7b57bfe5
UD
124602011-04-16 Ulrich Drepper <drepper@gmail.com>
12461
12462 * Makefile: Add rules to build linkobj/libc.so.
12463 * include/libc-symbols.h: Define libc_hidden_nolink.
12464 * include/rpc/auth.h: Mark functions which are to be hidden.
12465 * include/rpc/auth_des.h: Likewise.
12466 * include/rpc/auth_unix.h: Likewise.
12467 * include/rpc/clnt.h: Likewise.
12468 * include/rpc/des_crypt.h: Likewise.
12469 * include/rpc/key_prot.h: Likewise.
12470 * include/rpc/pmap_clnt.h: Likewise.
12471 * include/rpc/pmap_prot.h: Likewise.
12472 * include/rpc/pmap_rmt.h: Likewise.
12473 * include/rpc/rpc_msg.h: Likewise.
12474 * include/rpc/svc.h: Likewise.
12475 * include/rpc/svc_auth.h: Likewise.
12476 * include/rpc/xdr.h: Likewise.
12477 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12478 * nss/Makefile: Likewise.
12479 * sunrpc/Makefile: Don't install headers. Build library with normal
12480 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12481 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12482 for the compat linking library. Remove use of INTDEF/INTUSE.
12483 * sunrpc/auth_none.c: Likewise.
12484 * sunrpc/auth_unix.c: Likewise.
12485 * sunrpc/authdes_prot.c: Likewise.
12486 * sunrpc/authuxprot.c: Likewise.
12487 * sunrpc/clnt_gen.c: Likewise.
12488 * sunrpc/clnt_perr.c: Likewise.
12489 * sunrpc/clnt_raw.c: Likewise.
12490 * sunrpc/clnt_simp.c: Likewise.
12491 * sunrpc/clnt_tcp.c: Likewise.
12492 * sunrpc/clnt_udp.c: Likewise.
12493 * sunrpc/clnt_unix.c: Likewise.
12494 * sunrpc/des_crypt.c: Likewise.
12495 * sunrpc/des_soft.c: Likewise.
12496 * sunrpc/get_myaddr.c: Likewise.
12497 * sunrpc/key_call.c: Likewise.
12498 * sunrpc/key_prot.c: Likewise.
12499 * sunrpc/netname.c: Likewise.
12500 * sunrpc/pm_getmaps.c: Likewise.
12501 * sunrpc/pm_getport.c: Likewise.
12502 * sunrpc/pmap_clnt.c: Likewise.
12503 * sunrpc/pmap_prot.c: Likewise.
12504 * sunrpc/pmap_prot2.c: Likewise.
12505 * sunrpc/pmap_rmt.c: Likewise.
12506 * sunrpc/publickey.c: Likewise.
12507 * sunrpc/rpc_cmsg.c: Likewise.
12508 * sunrpc/rpc_common.c: Likewise.
12509 * sunrpc/rpc_dtable.c: Likewise.
12510 * sunrpc/rpc_prot.c: Likewise.
12511 * sunrpc/rpc_thread.c: Likewise.
12512 * sunrpc/rtime.c: Likewise.
12513 * sunrpc/svc.c: Likewise.
12514 * sunrpc/svc_auth.c: Likewise.
12515 * sunrpc/svc_authux.c: Likewise.
12516 * sunrpc/svc_raw.c: Likewise.
12517 * sunrpc/svc_run.c: Likewise.
12518 * sunrpc/svc_simple.c: Likewise.
12519 * sunrpc/svc_tcp.c: Likewise.
12520 * sunrpc/svc_udp.c: Likewise.
12521 * sunrpc/svc_unix.c: Likewise.
12522 * sunrpc/svcauth_des.c: Likewise.
12523 * sunrpc/xcrypt.c: Likewise.
12524 * sunrpc/xdr.c: Likewise.
12525 * sunrpc/xdr_array.c: Likewise.
12526 * sunrpc/xdr_float.c: Likewise.
12527 * sunrpc/xdr_intXX_t.c: Likewise.
12528 * sunrpc/xdr_mem.c: Likewise.
12529 * sunrpc/xdr_rec.c: Likewise.
12530 * sunrpc/xdr_ref.c: Likewise.
12531 * sunrpc/xdr_sizeof.c: Likewise.
12532 * sunrpc/xdr_stdio.c: Likewise.
12533
e6c61494
UD
125342011-04-10 Ulrich Drepper <drepper@gmail.com>
12535
12536 [BZ #12650]
12537 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12538 * sysdeps/ia64/dl-tls.h: Likewise.
12539 * sysdeps/powerpc/dl-tls.h: Likewise.
12540 * sysdeps/s390/dl-tls.h: Likewise.
12541 * sysdeps/sh/dl-tls.h: Likewise.
12542 * sysdeps/sparc/dl-tls.h: Likewise.
12543 * sysdeps/x86_64/dl-tls.h: Likewise.
12544 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12545
34fe483e
AS
125462011-03-14 Andreas Schwab <schwab@redhat.com>
12547
12548 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12549 rpath element also skip the following colon.
12550 (expand_dynamic_string_token): Add is_path parameter and pass
12551 down to DL_DST_REQUIRED and _dl_dst_substitute.
12552 (decompose_rpath): Call expand_dynamic_string_token with
12553 non-zero is_path. Ignore empty rpaths.
12554 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12555 with zero is_path.
12556
f12a32e6
AS
125572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12558
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12560 Make cancelable.
12561
38a7d692
UD
125622011-04-09 Ulrich Drepper <drepper@gmail.com>
12563
12564 [BZ #12655]
12565 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12566 Patch by Filipe David Manana <fdmanana@apache.org>.
12567
e451d22b
AS
125682011-04-07 Andreas Schwab <schwab@redhat.com>
12569
12570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12571 Maintain aligned stack.
12572 (CHECK_RSP): Remove unused macro.
12573
dedc7c7b
UD
125742011-04-03 Ulrich Drepper <drepper@gmail.com>
12575
12576 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12578
94521213
UD
125792011-04-02 Ulrich Drepper <drepper@gmail.com>
12580
12581 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12582
8cb700c0 12583 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12584
0354e355
L
125852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12586
12587 [BZ #12518]
12588 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12589 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12590 * sysdeps/x86_64/memmove.c: New file.
12591 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12592 (memcpy): Renamed to ...
12593 (__new_memcpy): This.
12594 (memcpy): Provide GLIBC_2_14 memcpy.
12595 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12596 (memcpy): Provide GLIBC_2_2_5 memcpy.
12597
8593482f
UD
125982011-04-01 Ulrich Drepper <drepper@gmail.com>
12599
12600 [BZ #12631]
12601 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12602
81a5726b
AS
126032011-03-30 Andreas Schwab <schwab@redhat.com>
12604
12605 * misc/syncfs.c: New file.
12606 * misc/Makefile (routines): Add syncfs.
12607 * posix/unistd.h: Declare syncfs.
12608 * sysdeps/unix/syscalls.list: Add syncfs.
12609
00e5419f
AS
126102011-04-01 Andreas Schwab <schwab@redhat.com>
12611
12612 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12613 open_by_handle_at.
12614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12619 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12621
748876bf
UD
126222011-04-01 Ulrich Drepper <drepper@gmail.com>
12623
658e451d
UD
12624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12631
748876bf
UD
12632 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12633 sync_file_range.c with -fexceptions.
12634 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12635 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12636 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12637 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12638 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12639 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12641 sync_file_range as cancellation point
12642 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12643 now a wrapper around __call_sync_file_range with cancellation handling.
12644 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12645 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12646 function name to __call_sync_file_range.
12647 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12648 Add call_sync_file_range.
748876bf 12649
6e63d5e1
AS
126502011-04-01 Andreas Schwab <schwab@redhat.com>
12651
12652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12653 bits/timex.h.
6e63d5e1 12654
46998f74
UD
126552011-04-01 Ulrich Drepper <drepper@gmail.com>
12656
4c1423ed
UD
12657 * iconv/iconv.h: Fix typo in comment.
12658 * io/fcntl.h: Likewise.
12659 * libio/stdio.h: Likewise.
12660 * posix/spawn.h: Likewise.
12661 * posix/unistd.h: Likewise.
12662 * stdlib/stdlib.h: Likewise.
12663 * time/time.h: Likewise.
12664 * wcsmbs/wchar.h: Likewise.
12665
158648c0
UD
12666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12667 open_by_handle): Add.
12668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12669 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12670 Augment a few comments.
12671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12676 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12677 open_by_handle.
12678
46998f74
UD
12679 * io/fcntl.h (AT_EMPTY_PATH): Define.
12680
83fe108b
UD
126812011-03-30 Ulrich Drepper <drepper@gmail.com>
12682
12683 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12684 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12685 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12686 to...
12687 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12688 * Versions.def: Add GLIBC_2.14.
12689 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12690 Export.
83fe108b 12691
bb242059
UD
126922011-03-22 Ulrich Drepper <drepper@gmail.com>
12693
12694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12695 round counter.
12696 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12697
c97a1282
L
126982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12699
12700 [BZ #12597]
12701 * string/test-strncmp.c (do_page_test): New function.
12702 (check2): Likewise.
12703 (test_main): Call check2.
12704 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12705
2a115601
UD
127062011-03-20 Ulrich Drepper <drepper@gmail.com>
12707
12708 [BZ #12587]
12709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12710 Handle cache information in CPU leaf 4.
12711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12712
8126d904
UD
127132011-03-18 Ulrich Drepper <drepper@gmail.com>
12714
042c49c6 12715 [BZ #12583]
8126d904
UD
12716 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12717 character representation.
12718 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12719
ccfe366e
RA
127202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12721
12722 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12723 END(__isnan) to END(__isnanf) to match function entry point/label
12724 EALIGN(__isnanf,...).
12725
c6e13027
JJ
127262011-03-10 Jakub Jelinek <jakub@redhat.com>
12727
12728 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12729
33f85a3f
UD
127302011-03-10 Ulrich Drepper <drepper@gmail.com>
12731
028478fa
UD
12732 [BZ #12510]
12733 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12734 copy from the symbol referenced in the relocation to initialize the
12735 used variable.
12736 Patch by Piotr Bury <pbury@goahead.com>.
12737 * elf/Makefile: Add rules to build and tst-unique3.
12738 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12739 * elf/tst-unique3.cc: New file.
12740 * elf/tst-unique3.h: New file.
12741 * elf/tst-unique3lib.cc: New file.
12742 * elf/tst-unique3lib2.cc: New file.
12743
33f85a3f
UD
12744 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12745
03592fc7
MF
127462011-03-10 Mike Frysinger <vapier@gentoo.org>
12747
12748 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12749 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12750 to _start.
03592fc7 12751
6a5ee102
UD
127522011-03-06 Ulrich Drepper <drepper@gmail.com>
12753
12754 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12755 to-be-loaded object along a path to loader is ld.so.
12756
7e4ba49c
HJ
127572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12758 Ulrich Drepper <drepper@gmail.com>
12759
12760 * sysdeps/x86_64/memset.S: After aligning destination, code
12761 branches to different locations depending on the value of
12762 misalignment, when multiarch is enabled. Fix this.
12763
127642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12765
12766 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12767 Set _x86_64_preferred_memory_instruction for AMD processsors.
12768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12769 Set bit_Prefer_SSE_for_memop for AMD processors.
12770
13a804de
UD
127712011-03-04 Ulrich Drepper <drepper@gmail.com>
12772
12773 * libio/fmemopen.c (fmemopen): Optimize a bit.
12774
9d25c392
AS
127752011-03-03 Andreas Schwab <schwab@redhat.com>
12776
12777 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12778
a5543c6a
RM
127792011-03-03 Roland McGrath <roland@redhat.com>
12780
12781 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12782
012d35f7
DM
127832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12784
7e4ba49c 12785 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12786 __bzero_ultra1 instead of __memset_ultra1.
12787
4bff6e01
AS
127882011-02-23 Andreas Schwab <schwab@redhat.com>
12789 Ulrich Drepper <drepper@gmail.com>
12790
12791 [BZ #12509]
12792 * include/link.h (struct link_map): Add l_orig_initfini.
12793 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12794 returning unsuccessfully.
12795 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12796 close of a file loaded at startup, restore the original l_initfini
12797 list.
12798 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12799 list, store the pointer.
12800 * elf/Makefile ($(objpfx)noload-mem): New rule.
12801 (noload-ENV): Define.
12802 (tests): Add $(objpfx)noload-mem.
12803 * elf/noload.c: Include <memcheck.h>.
12804 (main): Call mtrace. Close all opened handles.
12805
f2092faf
AS
128062011-02-17 Andreas Schwab <schwab@redhat.com>
12807
12808 [BZ #12454]
12809 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12810 dependencies are missing.
12811
6c8a2e88
ST
128122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12813
f2092faf 12814 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12815 Hurd needs munmap.
12816 * sysdeps/mach/hurd/ifreq.h: New file.
12817
84a42118
PB
128182011-01-27 Petr Baudis <pasky@suse.cz>
12819 Ulrich Drepper <drepper@gmail.com>
12820
071f805e 12821 [BZ 12445]#
84a42118
PB
12822 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12823 to extend_alloca().
12824 * stdio-common/bug23.c: New file.
12825 * stdio-common/Makefile (tests): Add bug23.
12826
e23fe25b
AS
128272010-09-28 Andreas Schwab <schwab@redhat.com>
12828 Ulrich Drepper <drepper@gmail.com>
12829
12830 [BZ #12489]
12831 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12832 before performing relro protection. At old place add assertion
12833 to make sure nothing changed.
12834
d3f02e10
NS
128352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12836 Glauber de Oliveira Costa <glommer@gmail.com>
12837
12838 * elf/elf.h: Add new ARM TLS relocs.
12839
d55fd7a5
RA
128402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12841
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12843 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12844 cast from r3.
12845 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12846 'tests' variable.
12847 * sysdeps/wordsize-64/tst-writev.c: New file.
12848
2206397e
RA
128492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12850
12851 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12852 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12853 insns in _dl_start to prevent a TOC reference before relocs are
12854 resolved.
12855
e9433893
UD
128562011-02-15 Ulrich Drepper <drepper@gmail.com>
12857
12858 [BZ #12469]
12859 * Makeconfig: Remove RANLIB definition.
12860 * Makerules: Don't use RANLIB.
12861 * aclocal.m4: Remove ranlib test.
12862 * configure.in: No need to check for ranlib.
12863 * elf/rtld-Rules: Don't use RANLIB.
12864
f75286c6
ST
128652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12866
8e31c82d
ST
12867 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12868 protection macro.
12869 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12870 inclusion protection macro.
12871
f75286c6
ST
12872 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12873 SIGRTMIN and SIGRTMAX and print information in that case only when
12874 SIGRTMIN is defined.
12875
c1d0e639
JJ
128762011-02-11 Jakub Jelinek <jakub@redhat.com>
12877
12878 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12879 arginfo fn returning -1.
12880
12881 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12882 and thousands string is zero terminated.
12883
edf9294e
AS
128842011-02-03 Andreas Schwab <schwab@redhat.com>
12885
12886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12887 sysdeps/unix/sysv/linux/bits/socket.h.
12888
2b7e92df
ST
128892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12890
edf9294e
AS
12891 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12892 (__CPU_COUNT): Remove old macros.
12893 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12894 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12895 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12896 (__sched_cpualloc, __sched_cpufree): Add declarations.
12897
a4c7ea7b
UD
128982011-02-05 Ulrich Drepper <drepper@gmail.com>
12899
12900 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12901 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12902 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12903 (readdhstai): Return value of addhstaiX call.
12904 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12905 (addgrbyX): Return value returned by cache_addgr.
12906 (readdgrbyname): Return value returned by addgrbyX.
12907 (readdgrbygid): Likewise.
12908 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12909 (addpwbyX): Return value returned by cache_addpw.
12910 (readdpwbyname): Return value returned by addhstbyX.
12911 (readdpwbyuid): Likewise.
12912 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12913 (addservbyX): Return value returned by cache_addserv.
12914 (readdservbyname): Return value returned by addservbyX:
12915 (readdservbyport): Likewise.
12916 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12917 (addhstbyX): Return value returned by cache_addhst.
12918 (readdhstbyname): Return value returned by addhstbyX.
12919 (readdhstbyaddr): Likewise.
12920 (readdhstbynamev6): Likewise.
12921 (readdhstbyaddrv6): Likewise.
12922 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12923 (readdinitgroups): Return value returned by addinitgroupsX.
12924 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12925 (prune_cache): Keep track of timeout value of re-added entries.
12926 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12927 * nscd/nscd.h: Adjust prototypes of readd* functions.
12928
a0bf67cc
RM
129292011-02-04 Roland McGrath <roland@redhat.com>
12930
12931 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12932 (nis_stats): Likewise.
12933 * nis/nis_modify.c (nis_modify): Likewise.
12934 * nis/nis_remove.c (nis_remove): Likewise.
12935 * nis/nis_add.c (nis_add): Likewise.
12936
12937 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12938
12939 * posix/fnmatch_loop.c: Add some consts.
12940
12941 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12942
435b95eb
L
129432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 [BZ #12460]
12946 * config.make.in (config-cflags-novzeroupper): Define.
12947 * configure.in: Substitute libc_cv_cc_novzeroupper.
12948 * elf/Makefile (AVX-CFLAGS): Define.
12949 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12950 (CFLAGS-tst-auditmod4a.c): Likewise.
12951 (CFLAGS-tst-auditmod4b.c): Likewise.
12952 (CFLAGS-tst-auditmod6b.c): Likewise.
12953 (CFLAGS-tst-auditmod6c.c): Likewise.
12954 (CFLAGS-tst-auditmod7b.c): Likewise.
12955 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12956
8517b15e
UD
129572011-02-02 Ulrich Drepper <drepper@gmail.com>
12958
12959 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12960 function to the callback.
12961 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12962
10a656fe
AS
129632011-02-02 Andreas Schwab <schwab@redhat.com>
12964
12965 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12966 of errno.
12967
968dad0a
UD
129682011-01-19 Ulrich Drepper <drepper@gmail.com>
12969
9f94d2ea 12970 [BZ #11724]
968dad0a
UD
12971 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12972 of constructors.
12973 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12974 of destructors.
12975 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12976
12977 [BZ #11724]
12978 * elf/Makefile: Add rules to build and run new test.
12979 * elf/tst-initorder.c: New file.
12980 * elf/tst-initorder.exp: New file.
12981 * elf/tst-initordera1.c: New file.
12982 * elf/tst-initordera2.c: New file.
12983 * elf/tst-initordera3.c: New file.
12984 * elf/tst-initordera4.c: New file.
12985 * elf/tst-initorderb1.c: New file.
12986 * elf/tst-initorderb2.c: New file.
12987 * elf/tst-order-a1.c: New file.
12988 * elf/tst-order-a2.c: New file.
12989 * elf/tst-order-a3.c: New file.
12990 * elf/tst-order-a4.c: New file.
12991 * elf/tst-order-b1.c: New file.
12992 * elf/tst-order-b2.c: New file.
12993 * elf/tst-order-main.c: New file.
12994 New test case by George Gensure <werkt0@gmail.com>.
12995
86e92359
UD
129962010-10-01 Andreas Schwab <schwab@redhat.com>
12997
12998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12999 decoding ACE if AI_CANONIDN.
13000
5d5732b0
UD
130012011-01-18 Ulrich Drepper <drepper@gmail.com>
13002
13003 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13004
a77e8cbc
UD
130052011-01-17 Ulrich Drepper <drepper@gmail.com>
13006
6392473f
UD
13007 * version.h (RELEASE): Bump for 2.13 release.
13008 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13009
620a0529
UD
13010 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13011
18ba70a5
UD
13012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13013 MADV_NOHUGEPAGE.
32465c3e
UD
13014 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13020
c0dafcf1
UD
13021 * posix/getconf.c: Update copyright year.
13022 * catgets/gencat.c: Likewise.
13023 * csu/version.c: Likewise.
13024 * debug/catchsegv.sh: Likewise.
13025 * debug/xtrace.sh: Likewise.
13026 * elf/ldconfig.c: Likewise.
13027 * elf/ldd.bash.in: Likewise.
13028 * elf/sprof.c (print_version): Likewise.
13029 * iconv/iconv_prog.c: Likewise.
13030 * iconv/iconvconfig.c: Likewise.
13031 * locale/programs/locale.c: Likewise.
13032 * locale/programs/localedef.c: Likewise.
13033 * malloc/memusage.sh: Likewise.
13034 * malloc/mtrace.pl: Likewise.
13035 * nscd/nscd.c (print_version): Likewise.
13036 * nss/getent.c: Likewise.
13037
a77e8cbc
UD
13038 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13039 PF_CAIF, and PF_ALG.
13040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13041
77e8bddf
AS
130422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13043
1f20b93a
AS
13044 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13045 (modules-names): Use them.
13046 (ifunc-test-modules, ifunc-pie-tests): Define.
13047 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13048 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13049 (test-extras): Likewise.
13050 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13051 $(compile-command.c).
13052 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13053 (all-built-dso): Define.
13054 (check-textrel.out, check-execstack.out): Depend on it.
13055
77e8bddf
AS
13056 * configure.in: Don't override --enable-multi-arch.
13057
bc425b33
UD
130582011-01-15 Ulrich Drepper <drepper@gmail.com>
13059
13060 [BZ #6812]
13061 * nscd/hstcache.c (tryagain): Define.
13062 (cache_addhst): Return tryagain not notfound for temporary errors.
13063 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13064 failed.
13065
794c3ad3
UD
130662011-01-14 Ulrich Drepper <drepper@gmail.com>
13067
70181fdd
UD
13068 [BZ #10563]
13069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13070 to make the syscall.
13071 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13072
794c3ad3
UD
13073 [BZ #12378]
13074 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13075 and fall back to matching as normal character if the string ends before
13076 the matching ']' is found. This is what POSIX requires.
13077 * posix/testfnm.c: Adjust test result.
13078 * posix/globtest.sh: Adjust test result. Add new test.
13079 * posix/tst-fnmatch.input: Likewise.
13080 * posix/tst-fnmatch2.c: Add new test.
13081
68dc9497
AS
130822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13083
13084 * elf/Makefile (check-execstack): Revert last change. Depend on
13085 check-execstack.h.
13086 (check-execstack.h): New target.
13087 (generated): Add check-execstack.h.
13088 * elf/check-execstack.c: Include "check-execstack.h".
13089 (main): Revert last change.
13090 (handle_file): Return zero if GNU_STACK is absent and
13091 DEFAULT_STACK_PERMS doesn't include PF_X.
13092
451f001b
UD
130932011-01-13 Ulrich Drepper <drepper@gmail.com>
13094
cfa28e56
UD
13095 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13096 in child fails because the descriptor is already closed.
8cf8ce17
UD
13097 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13098 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13100
1086d70d
UD
13101 [BZ #12397]
13102 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13103 syscall.
13104
451f001b
UD
13105 [BZ #10484]
13106 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13107 temporary buffer used to handle multi lookups locally.
a85b5cb4 13108 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13109
08769175
UD
131102011-01-12 Ulrich Drepper <drepper@gmail.com>
13111
13112 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13113 loader is ld.so.
13114
5e49c52e
UD
131152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13116
13117 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13118 alignment for SSE2.
13119
60522a5f
UD
131202011-01-12 Ulrich Drepper <drepper@gmail.com>
13121
13122 [BZ #12394]
13123 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13124 characters. When rounding increased number of integer digits recompute
13125 number of groups.
13126 * stdio-common/tst-grouping.c: New file.
13127 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13128
f257bbd7
UD
131292011-01-09 Ulrich Drepper <drepper@gmail.com>
13130
13131 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13132 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13133
13134 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13135 void.
13136 * bits/select.h: Likewise.
13137
fa9c15cb
UD
131382011-01-08 Ulrich Drepper <drepper@gmail.com>
13139
13140 * po/ja.po: Update from translation team.
13141
16c2895f
DM
131422011-01-04 David S. Miller <davem@sunset.davemloft.net>
13143
13144 [BZ #11155]
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13146 implementation just like for lxstat, fxstatat, et al.
13147
2543fef2
JM
131482010-12-27 Jim Meyering <meyering@redhat.com>
13149
13150 [BZ #12348]
13151 * posix/regexec.c (build_trtable): Return failure indication upon
13152 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13153
98727dbe
UD
131542010-12-25 Ulrich Drepper <drepper@gmail.com>
13155
5bd6dc5c
UD
13156 [BZ #12201]
13157 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13158 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13161
97983464
UD
13162 [BZ #12207]
13163 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13164
98727dbe
UD
13165 [BZ #12204]
13166 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13167 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13168
4a531bb0
L
131692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13172 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13173 script has SORT_BY_INIT_PRIORITY.
13174 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13175 NO_CTORS_DTORS_SECTIONS is defined.
13176 * elf/soinit.c: Likewise.
13177 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13178 NO_CTORS_DTORS_SECTIONS is defined.
13179 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13180 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13181 * sysdeps/sh/init-first.c: Likewise.
13182 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13183
07eb4b71
UD
131842010-12-24 Ulrich Drepper <drepper@gmail.com>
13185
13186 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13187 always use the slow path.
13188
30950a5f
RA
131892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13190
13191 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13192 similar rule which adds the sysdep directories to the header search in
13193 order to pick up the correct platform stackinfo.h.
13194 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13195 perform test if it is, otherwise return successfully without testing.
13196 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13197 DEFAULT_STACK_PERMS define in stackinfo.h.
13198 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13199 defined in stackinfo.h.
13200 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13201 DEFAULT_STACK_PERMS defined in stackinfo.h.
13202 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13203 * sysdeps/ia64/stackinfo.h: Likewise.
13204 * sysdeps/s390/stackinfo.h: Likewise.
13205 * sysdeps/sh/stackinfo.h: Likewise.
13206 * sysdeps/sparc/stackinfo.h: Likewise.
13207 * sysdeps/x86_64/stackinfo.h: Likewise.
13208 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13209 PF_X for powerpc64. Retain PF_X for powerpc32.
13210
db753e2c
UD
132112010-12-19 Ulrich Drepper <drepper@gmail.com>
13212
14b697f7
UD
13213 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13214 accurately.
db753e2c
UD
13215 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13216 GETDENTS_64BIT_ALIGNED.
13217
28300719
UD
132182010-12-14 Ulrich Drepper <dreper@gmail.com>
13219
14b697f7 13220 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13221
4f197237
AS
132222010-12-10 Andreas Schwab <schwab@redhat.com>
13223
dbb0472f
AS
13224 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13225 _GNU_SOURCE.
13226
4f197237
AS
13227 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13228 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13229 Remove __restrict.
13230 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13231 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13232
fb88ac72
UD
132332010-12-09 Ulrich Drepper <drepper@gmail.com>
13234
13235 [BZ #11655]
13236 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13237 are initialized.
13238
42acbb92
JJ
132392010-12-09 Jakub Jelinek <jakub@redhat.com>
13240
13241 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13242
c038d98d
UD
132432010-12-03 Ulrich Drepper <drepper@gmail.com>
13244
13245 * po/it.po: Update from translation team.
13246
3a4a2499
L
132472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13248
13249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13250 unused codes.
13251
1e24cf6e
UD
132522010-11-30 Ulrich Drepper <drepper@gmail.com>
13253
13254 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13255
a7690819
AS
132562010-11-24 Andreas Schwab <schwab@redhat.com>
13257
13258 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13259 specially.
13260 (gaih_getanswer_slice): Likewise.
13261
3bf8d1b1
JJ
132622010-10-20 Jakub Jelinek <jakub@redhat.com>
13263
13264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13265
6db52fbb
PB
132662010-05-31 Petr Baudis <pasky@suse.cz>
13267
13268 [BZ #11149]
13269 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13270 silently even in the chroot mode.
13271
eaca7569
UD
132722010-11-22 Ulrich Drepper <drepper@gmail.com>
13273
13274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13275 last patch a bit. Pretty printing
13276
3056dcdb
UD
132772010-05-31 Petr Baudis <pasky@suse.cz>
13278
13279 [BZ #10085]
13280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13281 initialization of skip_initgroups_dyn.
13282
cf7c9078
UD
132832010-11-19 Ulrich Drepper <drepper@gmail.com>
13284
13285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13286 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13287
a1fb5e3e
UD
132882010-11-16 Ulrich Drepper <drepper@gmail.com>
13289
13290 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13291
3540d66b
AS
132922010-11-11 Andreas Schwab <schwab@redhat.com>
13293
13294 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13295 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13296 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13297 ($(objpfx)tst-fnmatch-mem): New rule.
13298 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13299 * posix/tst-fnmatch.c (main): Call mtrace.
13300
13b69574
L
133012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13304 Support Intel processor model 6 and model 0x2c.
13305
da93d214
LM
133062010-11-10 Luis Machado <luisgpm@br.ibm.com>
13307
13308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13309 signed comparison.
13310
8ca52c6e
L
133112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13312
13313 [BZ #12205]
13314 * string/test-strncasecmp.c (check_result): New function.
13315 (do_one_test): Use it.
13316 (check1): New function.
13317 (test_main): Use it.
13318 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13319 Support strcasecmp and strncasecmp.
13320
69da074d
UD
133212010-11-08 Ulrich Drepper <drepper@gmail.com>
13322
13323 [BZ #12194]
13324 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13326
ff02d528
L
133272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13330 IFUNC support.
13331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13332 memset-x86-64.
13333 * sysdeps/x86_64/multiarch/bzero.S: New file.
13334 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13335 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13336 * sysdeps/x86_64/multiarch/memset.S: New file.
13337 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13339 Set bit_Prefer_SSE_for_memop for Intel processors.
13340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13341 Define.
13342 (index_Prefer_SSE_for_memop): Define.
13343 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13344
344d0b54
LM
133452010-11-04 Luis Machado <luisgpm@br.ibm.com>
13346
13347 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13348 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13349
c0dde15b
UD
133502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 [BZ #12191]
13353 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13354 (__x86_64_raw_data_cache_size_half): Likewise.
13355 (__x86_64_raw_shared_cache_size): Likewise.
13356 (__x86_64_raw_shared_cache_size_half): Likewise.
13357
13358 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13359 (__x86_64_raw_data_cache_size_half): Likewise.
13360 (__x86_64_raw_shared_cache_size): Likewise.
13361 (__x86_64_raw_shared_cache_size_half): Likewise.
13362 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13363 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13364 and __x86_64_raw_shared_cache_size_half. Round
13365 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13366 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13367 to multiple of 256 bytes.
13368
0e516e0e
MS
133692010-11-03 Ulrich Drepper <drepper@gmail.com>
13370
13371 [BZ #12167]
13372 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13373 of inacessible symlinks. Verify result of symlink before returning it.
13374 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13375 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13376
0e012e87
ER
133772010-10-28 Erich Ritz <erichritz@gmail.com>
13378
13379 * math/math.h (isinf): Fix typo in comment.
13380
de0ff7bc
UD
133812010-11-01 Ulrich Drepper <drepper@gmail.com>
13382
13383 * po/da.po: Update from translation team.
13384
fa41c84d
UD
133852010-10-26 Ulrich Drepper <drepper@gmail.com>
13386
13387 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13388 is added to the list.
13389
f0967738
AK
133902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13391 Ulrich Drepper <drepper@gmail.com>
13392
13393 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13394 the global list here. Move code to...
13395 (_dl_add_to_namespace_list): ...here. New function.
13396 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13397 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13398 * elf/dl-load.c (lose): Don't remove the element from the list.
13399 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13400 (_dl_map_object): Likewise.
13401
134022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13403
13404 [BZ #12159]
13405 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13406 into all bytes of SSE register.
13407 Patch by Richard Li <richardpku@gmail.com>.
13408
f0967738 134092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13410
13411 [BZ #12140]
13412 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13413 perturbing.
13414
d0b9e94f
MB
134152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13416
13417 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13418 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13422 submachine.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13424
8e9f92e9
AS
134252010-10-22 Andreas Schwab <schwab@redhat.com>
13426
13427 * include/dlfcn.h (__RTLD_SECURE): Define.
13428 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13429 mode & __RTLD_SECURE instead.
13430 (open_path): Rename preloaded parameter to secure.
13431 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13432 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13433 * elf/dl-deps.c (openaux): Likewise.
13434 * elf/rtld.c (struct map_args): Remove is_preloaded.
13435 (map_doit): Don't use it.
13436 (dl_main): Likewise.
13437 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13438 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13439
bc96fbda
AS
134402010-09-09 Andreas Schwab <schwab@redhat.com>
13441
13442 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13443 (sysd-rules-targets): Remove duplicates.
13444 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13445 rtld-%.$o dependency.
13446
22cd1c9b
AS
134472010-10-18 Andreas Schwab <schwab@redhat.com>
13448
13449 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13450 _dl_map_object do it.
13451
18edac48
UD
134522010-10-19 Ulrich Drepper <drepper@gmail.com>
13453
13454 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13455 fast fma builtins, define the macros in the C99 standard.
13456 (FP_FAST_FMAF): Likewise.
13457 (FP_FAST_FMAL): Likewise.
13458 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13459
13460 * bits/mathdef.h: Update copyright year.
13461 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13462
d2050124
MM
134632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13464
13465 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13466 builtins, define the macros in the C99 standard.
13467 (FP_FAST_FMAF): Likewise.
13468 (FP_FAST_FMAL): Likewise.
13469 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13470 multiply/add.
13471 (FP_FAST_FMAF): Likewise.
13472
475facd1
JJ
134732010-10-15 Jakub Jelinek <jakub@redhat.com>
13474
13475 [BZ #3268]
13476 * math/libm-test.inc (fma_test): Some new testcases.
13477 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13479 y and infinite z. Do multiplication by C already in long double.
13480 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13482 y and infinite z. Do bitwise or of inexact bit into u.d.
13483 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13484 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13485 * sysdeps/i386/fpu/s_fma.S: Removed.
13486 * sysdeps/i386/fpu/s_fmal.S: Removed.
13487
7c08a05c
JJ
134882010-10-16 Jakub Jelinek <jakub@redhat.com>
13489
13490 [BZ #3268]
13491 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13493 computation is not scheduled after fetestexcept. Fix value
13494 of minimum denormal long double.
13495
f3f7372d
JJ
134962010-10-14 Jakub Jelinek <jakub@redhat.com>
13497
13498 [BZ #3268]
13499 * math/libm-test.inc (fma_test): Add some more tests.
13500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13501 correctly.
13502
14d43591
AS
135032010-10-15 Andreas Schwab <schwab@redhat.com>
13504
13505 * scripts/data/localplt-s390-linux-gnu.data: New file.
13506 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13507
5e908464
JJ
135082010-10-13 Jakub Jelinek <jakub@redhat.com>
13509
13510 [BZ #3268]
13511 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13512 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13513 instead of dbl-64.
13514 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13515 inlines.
13516 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13518 if one of x and y is very large and the other is subnormal.
13519 * sysdeps/s390/fpu/s_fmaf.c: New file.
13520 * sysdeps/s390/fpu/s_fma.c: New file.
13521 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13522 * sysdeps/powerpc/fpu/s_fma.S: New file.
13523 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13524 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13525 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13526
135272010-10-12 Jakub Jelinek <jakub@redhat.com>
13528
13529 [BZ #3268]
13530 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13531 fma tests.
13532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13533 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13534 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13535 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13536 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13537 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13539
b833d51f
UD
135402010-10-12 Ulrich Drepper <drepper@redhat.com>
13541
13542 [BZ #12078]
13543 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13544 * posix/bug-regex31.input: Add test case.
13545
1751705d
UD
135462010-10-11 Ulrich Drepper <drepper@gmail.com>
13547
e9b9cbf5
UD
13548 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13549 * posix/bug-regex31.input: New file.
13550
13551 [BZ #12078]
13552 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13553 (parse_sub_exp): Fix last change, use postorder.
13554
ef06edbe
UD
13555 * posix/bug-regex31.c: New file.
13556 * posix/Makefile: Add rules to build and run bug-regex31.
13557
a129c80d
UD
13558 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13559
13560 [BZ #12078]
13561 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13562
b76b818e
UD
13563 [BZ #12108]
13564 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13565 to have entries in sys_siglist.
13566
1751705d
UD
13567 [BZ #12093]
13568 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13569 be NULL.
13570
9ff8d36f
JJ
135712010-10-07 Jakub Jelinek <jakub@redhat.com>
13572
13573 [BZ #3268]
13574 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13575 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13576 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13577 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13578 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13579 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13580 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13581 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13582 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13583 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13584 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13585 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13586 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13587 * math/ftestexcept.c (fetestexcept): Likewise.
13588 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13589 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13590 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13591 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13592 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13593 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13594 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13595
af325969
UD
135962010-10-11 Ulrich Drepper <drepper@gmail.com>
13597
c579b202 13598 [BZ #12107]
af325969
UD
13599 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13600 newline.
13601
67a67b95
UD
136022010-10-06 Ulrich Drepper <drepper@gmail.com>
13603
13604 * string/bug-strstr1.c: New file.
13605 * string/Makefile: Add rules to build and run bug-strstr1.
13606
5fb308bc
EB
136072010-10-05 Eric Blake <eblake@redhat.com>
13608
13609 [BZ #12092]
13610 * string/str-two-way.h (two_way_long_needle): Always clear memory
13611 when skipping input due to the shift table.
13612
45db99c7
UD
136132010-10-03 Ulrich Drepper <drepper@gmail.com>
13614
3b111893
UD
13615 [BZ #12005]
13616 * malloc/mcheck.c: Handle large requests.
13617
45db99c7
UD
13618 [BZ #12077]
13619 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13620 for strncmp and strncasecmp.
13621 * string/stratcliff.c: Add tests for strcmp and strncmp.
13622 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13623
cf7a1eb8
NI
136242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13625
13626 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13627 __set_fpscr.
13628
6484ba5e
AJ
136292010-09-30 Andreas Jaeger <aj@suse.de>
13630
13631 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13632 (CGROUP_SUPER_MAGIC): Define.
13633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13634 Handle btrfs and cgroup file systems.
13635 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13636 Likewise.
13637
91c42559
LM
136382010-09-27 Luis Machado <luisgpm@br.ibm.com>
13639
13640 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13641 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13642
87a97932
AK
136432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13644
13645 [BZ #12067]
13646 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13647 trying to locate the ELF header.
13648
c21cc9bc
AS
136492010-09-27 Andreas Schwab <schwab@redhat.com>
13650
13651 [BZ #11611]
13652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13653 Mask out sign-bit copies when constructing f_fsid.
13654
315970f6
PB
136552010-09-24 Petr Baudis <pasky@suse.cz>
13656
13657 * debug/stack_chk_fail_local.c: Add missing licence exception.
13658 * debug/warning-nop.c: Likewise.
13659
1ac7a2c7
JM
136602010-09-15 Joseph Myers <joseph@codesourcery.com>
13661
13662 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13663 implementing getdents64 using getdents syscall, set d_type if
13664 __ASSUME_GETDENTS32_D_TYPE.
13665
56801c50
AS
136662010-09-16 Andreas Schwab <schwab@redhat.com>
13667
13668 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13669 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13670
dda51327
UD
136712010-09-21 Ulrich Drepper <drepper@redhat.com>
13672
13673 [BZ #12037]
13674 * posix/unistd.h: Undo change of feature selection for ftruncate from
13675 2010-01-11.
13676
8ffcee4a
UD
136772010-09-20 Ulrich Drepper <drepper@redhat.com>
13678
a545ecd9 13679 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13680 detection.
13681
e24f0a8b
AS
136822010-09-20 Andreas Schwab <schwab@redhat.com>
13683
13684 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13685 fanotify_mark.
13686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13687
7291c56f
AS
136882010-09-14 Andreas Schwab <schwab@redhat.com>
13689
13690 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13691 variables after CHECK_SP call.
13692 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13693
bc5fb037
AS
136942010-09-13 Andreas Schwab <schwab@redhat.com>
13695 Ulrich Drepper <drepper@redhat.com>
13696
13697 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13698 re-relocationg ld.so.
13699 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13700 _dl_init_paths call.
13701 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13702 here anymore.
13703
e66e7419
UD
137042010-09-14 Ulrich Drepper <drepper@redhat.com>
13705
13706 * resolv/res_init.c (__res_vinit): Count the default server we added.
13707
c044aa75
CLT
137082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13709 Ulrich Drepper <drepper@redhat.com>
13710
13711 [BZ #11968]
13712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13713 (____longjmp_chk): Use %ebx for saving value across system call.
13714 Add unwind info.
13715
32cf4069
AS
137162010-09-06 Andreas Schwab <schwab@redhat.com>
13717
13718 * manual/Makefile: Don't mix pattern rules with normal rules.
13719
817328ee
AS
137202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13721
13722 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13723 operation.
13724 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13725 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13726 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13727 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13729 Likewise.
13730
29fddf61
UD
137312010-09-04 Ulrich Drepper <drepper@redhat.com>
13732
13733 [BZ #11979]
13734 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13735 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13736
0959ffc9
UD
137372010-09-02 Ulrich Drepper <drepper@redhat.com>
13738
13739 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13740 * sysdeps/x86_64/addmul_1.S: Likewise.
13741 * sysdeps/x86_64/lshift.S: Likewise.
13742 * sysdeps/x86_64/mul_1.S: Likewise.
13743 * sysdeps/x86_64/rshift.S: Likewise.
13744 * sysdeps/x86_64/sub_n.S: Likewise.
13745 * sysdeps/x86_64/submul_1.S: Likewise.
13746
ece29840
ST
137472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13748
0959ffc9
UD
13749 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13750 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13751 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13752 * bits/sched.h [__need_schedparam]
ece29840 13753 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13754 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13755 (__defined_schedparam): Define to 1.
ece29840
ST
13756 (__sched_param): New structure, identical to sched_param.
13757 (__need_schedparam): Undefine.
13758
e53a31fe
MF
137592010-08-31 Mike Frysinger <vapier@gentoo.org>
13760
fdc0c10d
MF
13761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13762 (epoll_create1): Declare.
13763
e53a31fe
MF
13764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13765
a726d796
AS
137662010-08-31 Andreas Schwab <schwab@redhat.com>
13767
13768 [BZ #7066]
13769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13770 shifting retval into place.
13771
2f3e3dc7
UD
137722010-09-01 Ulrich Drepper <drepper@redhat.com>
13773
f2933da9
UD
13774 * nis/rpcsvc/nis.h: Update copyright notice.
13775 * nis/rpcsvc/nis.x: Likewise.
13776 * nis/rpcsvc/nis_callback.h: Likewise.
13777 * nis/rpcsvc/nis_callback.x: Likewise.
13778 * nis/rpcsvc/nis_object.x: Likewise.
13779 * nis/rpcsvc/nis_tags.h: Likewise.
13780 * nis/rpcsvc/yp.h: Likewise.
13781 * nis/rpcsvc/yp.x: Likewise.
13782 * nis/rpcsvc/ypupd.h: Likewise.
13783 * nis/yp_xdr.c: Likewise.
13784 * nis/ypupdate_xdr.c: Likewise.
13785
2f3e3dc7
UD
13786 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13787 mainly the body of pmap_getport. Add parameters to specify timeouts.
13788 (pmap_getport): Use __libc_rpc_getport.
13789 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13790 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13791 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13792
f3dcc2f9
AS
137932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13794
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13796 fanotify_mark.
13797
6d34eb5b
RM
137982010-08-27 Roland McGrath <roland@redhat.com>
13799
13800 * sysdeps/i386/i686/multiarch/Makefile
13801 (CFLAGS-varshift.c): New variable.
13802
9ea3de11
UD
138032010-08-27 Ulrich Drepper <drepper@redhat.com>
13804
c96d23fc
UD
13805 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13806 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13807
9ea3de11
UD
13808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13809
13810 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13811
623aac7f
L
138122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * sysdeps/x86_64/strlen.S: Unroll the loop.
13815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13816 strlen-sse2 strlen-sse2-bsf.
13817 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13818 __strlen_no_bsf if bit_Slow_BSF is set.
13819 (__strlen_sse42): Removed.
13820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13821 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13822
8b2b7715
RM
138232010-08-25 Roland McGrath <roland@redhat.com>
13824
13825 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13826 * sysdeps/x86_64/multiarch/varshift.c: New file.
13827 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13828 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13829 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13830 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13831
e73015f2
L
138322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13833
13834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13835 strlen-sse2 strlen-sse2-bsf.
13836 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13837 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13838 (__strlen_sse2): Removed.
13839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13842 bit_Slow_BSF for Atom.
13843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13844 (index_Slow_BSF): Define.
13845 (HAS_SLOW_BSF): Define.
13846
df24a73e
UD
138472010-08-25 Ulrich Drepper <drepper@redhat.com>
13848
13849 [BZ #10851]
13850 * resolv/res_init.c (__res_vinit): When no server address at all
13851 is given default to loopback.
13852
f2ac4868
RM
138532010-08-24 Roland McGrath <roland@redhat.com>
13854
09055553
RM
13855 * configure.in: Remove config-name.h generation.
13856 * configure: Regenerated.
13857 * config-name.in: File removed.
13858 * scripts/config-uname.sh: New file.
13859 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13860 ($(objdir)config-name.h): New target.
13861
f2ac4868
RM
13862 * sunrpc/rpc_parse.h: Avoid nested comment.
13863
73f27d5e
RH
138642010-08-24 Richard Henderson <rth@redhat.com>
13865 Ulrich Drepper <drepper@redhat.com>
13866 H.J. Lu <hongjiu.lu@intel.com>
13867
13868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13870 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13871 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13872 _mm_alignr_epi8 with _mm_loadu_si128.
13873 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13874 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13875 (__m128i_shift_right): Removed.
13876 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13877 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13878 * sysdeps/x86_64/multiarch/varshift.h: New file.
13879 * sysdeps/x86_64/multiarch/varshift.S: New file.
13880
84b9230c
MF
138812010-08-21 Mike Frysinger <vapier@gentoo.org>
13882
13883 * configure.in: Move assembler checks to before sysdep dir checking.
13884
9bbd0ddc
PB
138852010-08-20 Petr Baudis <pasky@suse.cz>
13886
13887 * LICENSES: Sync the sunrpc license.
13888
9da4bb31
UD
138892010-08-19 Ulrich Drepper <drepper@redhat.com>
13890
a7ab6ec8
UD
13891 * sunrpc/auth_des.c: Update copyright notice once again.
13892 * sunrpc/auth_none.c: Likewise.
13893 * sunrpc/auth_unix.c: Likewise.
13894 * sunrpc/authdes_prot.c: Likewise.
13895 * sunrpc/authuxprot.c: Likewise.
13896 * sunrpc/bindrsvprt.c: Likewise.
13897 * sunrpc/clnt_gen.c: Likewise.
13898 * sunrpc/clnt_perr.c: Likewise.
13899 * sunrpc/clnt_raw.c: Likewise.
13900 * sunrpc/clnt_simp.c: Likewise.
13901 * sunrpc/clnt_tcp.c: Likewise.
13902 * sunrpc/clnt_udp.c: Likewise.
13903 * sunrpc/clnt_unix.c: Likewise.
13904 * sunrpc/des_crypt.c: Likewise.
13905 * sunrpc/des_soft.c: Likewise.
13906 * sunrpc/get_myaddr.c: Likewise.
13907 * sunrpc/getrpcport.c: Likewise.
13908 * sunrpc/key_call.c: Likewise.
13909 * sunrpc/key_prot.c: Likewise.
13910 * sunrpc/openchild.c: Likewise.
13911 * sunrpc/pm_getmaps.c: Likewise.
13912 * sunrpc/pm_getport.c: Likewise.
13913 * sunrpc/pmap_clnt.c: Likewise.
13914 * sunrpc/pmap_prot.c: Likewise.
13915 * sunrpc/pmap_prot2.c: Likewise.
13916 * sunrpc/pmap_rmt.c: Likewise.
13917 * sunrpc/rpc/auth.h: Likewise.
13918 * sunrpc/rpc/auth_unix.h: Likewise.
13919 * sunrpc/rpc/clnt.h: Likewise.
13920 * sunrpc/rpc/des_crypt.h: Likewise.
13921 * sunrpc/rpc/key_prot.h: Likewise.
13922 * sunrpc/rpc/netdb.h: Likewise.
13923 * sunrpc/rpc/pmap_clnt.h: Likewise.
13924 * sunrpc/rpc/pmap_prot.h: Likewise.
13925 * sunrpc/rpc/pmap_rmt.h: Likewise.
13926 * sunrpc/rpc/rpc.h: Likewise.
13927 * sunrpc/rpc/rpc_des.h: Likewise.
13928 * sunrpc/rpc/rpc_msg.h: Likewise.
13929 * sunrpc/rpc/svc.h: Likewise.
13930 * sunrpc/rpc/svc_auth.h: Likewise.
13931 * sunrpc/rpc/types.h: Likewise.
13932 * sunrpc/rpc/xdr.h: Likewise.
13933 * sunrpc/rpc_clntout.c: Likewise.
13934 * sunrpc/rpc_cmsg.c: Likewise.
13935 * sunrpc/rpc_common.c: Likewise.
13936 * sunrpc/rpc_cout.c: Likewise.
13937 * sunrpc/rpc_dtable.c: Likewise.
13938 * sunrpc/rpc_hout.c: Likewise.
13939 * sunrpc/rpc_main.c: Likewise.
13940 * sunrpc/rpc_parse.c: Likewise.
13941 * sunrpc/rpc_parse.h: Likewise.
13942 * sunrpc/rpc_prot.c: Likewise.
13943 * sunrpc/rpc_sample.c: Likewise.
13944 * sunrpc/rpc_scan.c: Likewise.
13945 * sunrpc/rpc_scan.h: Likewise.
13946 * sunrpc/rpc_svcout.c: Likewise.
13947 * sunrpc/rpc_tblout.c: Likewise.
13948 * sunrpc/rpc_util.c: Likewise.
13949 * sunrpc/rpc_util.h: Likewise.
13950 * sunrpc/rpcinfo.c: Likewise.
13951 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13952 * sunrpc/rpcsvc/key_prot.x: Likewise.
13953 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13954 * sunrpc/rpcsvc/mount.x: Likewise.
13955 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13956 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13957 * sunrpc/rpcsvc/rex.x: Likewise.
13958 * sunrpc/rpcsvc/rstat.x: Likewise.
13959 * sunrpc/rpcsvc/rusers.x: Likewise.
13960 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13961 * sunrpc/rpcsvc/spray.x: Likewise.
13962 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13963 * sunrpc/rtime.c: Likewise.
13964 * sunrpc/svc.c: Likewise.
13965 * sunrpc/svc_auth.c: Likewise.
13966 * sunrpc/svc_authux.c: Likewise.
13967 * sunrpc/svc_raw.c: Likewise.
13968 * sunrpc/svc_run.c: Likewise.
13969 * sunrpc/svc_simple.c: Likewise.
13970 * sunrpc/svc_tcp.c: Likewise.
13971 * sunrpc/svc_udp.c: Likewise.
13972 * sunrpc/svc_unix.c: Likewise.
13973 * sunrpc/svcauth_des.c: Likewise.
13974 * sunrpc/xcrypt.c: Likewise.
13975 * sunrpc/xdr.c: Likewise.
13976 * sunrpc/xdr_array.c: Likewise.
13977 * sunrpc/xdr_float.c: Likewise.
13978 * sunrpc/xdr_mem.c: Likewise.
13979 * sunrpc/xdr_rec.c: Likewise.
13980 * sunrpc/xdr_ref.c: Likewise.
13981 * sunrpc/xdr_sizeof.c: Likewise.
13982 * sunrpc/xdr_stdio.c: Likewise.
13983
9da4bb31
UD
13984 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13985 handling.
13986
bdaa77bc
AS
139872010-08-19 Andreas Schwab <schwab@redhat.com>
13988
13989 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13990
fe2f79db
LM
139912010-08-19 Luis Machado <luisgpm@br.ibm.com>
13992
13993 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13995 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13996 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13998 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13999 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14000 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14003 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14004 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14005 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14006 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14007
b9b42ee0
AB
140082010-07-26 Anton Blanchard <anton@samba.org>
14009
14010 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14011 * malloc/arena.c (heap_trim): Likewise.
14012
1c06ba31
UD
140132010-08-16 Ulrich Drepper <drepper@redhat.com>
14014
14015 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14016 here. Not...
14017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14018 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14019
f8392f40
L
140202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14021
14022 * sysdeps/i386/elf/Makefile: New file.
14023
3162f12e
AS
140242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14025
14026 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14027 from fanotify_init.
14028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14030
28c90b2c
UD
140312010-08-15 Ulrich Drepper <drepper@redhat.com>
14032
14033 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14034 of strncasecmp_l.
1feccb6c 14035 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14036
ca6bb004
UD
140372010-08-14 Ulrich Drepper <drepper@redhat.com>
14038
e9f82e0d
UD
14039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14040 strncase_l-nonascii.
14041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14042 Add strncase_l-ssse3.
14043 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14044 * sysdeps/x86_64/strcmp.S: Likewise.
14045 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14046 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14047 * sysdeps/x86_64/strncase.S: New file.
14048 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14049 * sysdeps/x86_64/strncase_l.S: New file.
14050 * string/Makefile (strop-tests): Add strncasecmp.
14051 * string/test-strncasecmp.c: New file.
14052
14053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14054 warning.
14055
ca6bb004
UD
14056 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14057 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14058
052fa7b3
AS
140592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14060
14061 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14062
962dba78
UD
140632010-08-12 Ulrich Drepper <drepper@redhat.com>
14064
14065 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14068
bebff237
AM
140692010-05-01 Alan Modra <amodra@gmail.com>
14070
14071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14072 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14073 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14074 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14075 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14076 tidying. Don't tail-call __sigjmp_save for static lib.
14077 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14078 save location.
14079 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14080 (CALL_MCOUNT): Add eh info, and nop after bl.
14081 (TAIL_CALL_SYSCALL_ERROR): New macro.
14082 (PSEUDO_RET): Use it.
14083 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14084 Correct save location of integer regs and cr.
14085 (_dl_profile_resolve): Correct cr save location. Delete nops
14086 after bl when SHARED. Reduce cfi size a little by better
14087 placement of cfi directives.
14088 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14089 make a stack frame. Instead use parm save area as a temp.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14091 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14093 Don't make a stack frame for parent, use parm save area.
14094 Increase child stack frame to 112 bytes. Don't save unused reg,
14095 and adjust reg usage. Set up cfi on error recovery and
14096 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14098 (__makecontext): Add dummy nop after jump to exit.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14100 Use correct parm save area and cr save, reduce stack frame.
14101 Correct cfi for possible PSEUDO_RET frame setup.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14103 Branch to local label emitted by PSEUDO_RET rather than
14104 __syscall_error.
14105
02637374
AS
141062010-08-12 Andreas Schwab <schwab@redhat.com>
14107
14108 [BZ #11904]
14109 * locale/programs/locale.c (print_assignment): New function.
14110 (show_locale_vars): Use it.
14111
c3e2f19b
UD
141122010-08-11 Ulrich Drepper <drepper@redhat.com>
14113
3cdaa6ad
UD
14114 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14115 field.
14116 (struct statfs64): Likewise.
14117 (_STATFS_F_FLAGS): Define.
14118 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14120 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14121 (ST_VALID): Define locally.
14122 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14123 __statvfs_getflags, use the provided value.
14124 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14125 __ASSUME_STATFS_F_FLAGS.
14126
754f7da3
UD
14127 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14128
10b3bedc
UD
14129 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14130 Add sys/fanotify.h.
14131 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14132 fanotify_mask for GLIBC_2.13.
14133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14134 fanotify_init and fanotify_mark.
14135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14136 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14137
c08fb0d7
UD
14138 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14139 Add prlimit.
14140 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14141 prlimit64 for GLIBC_2.13.
14142 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14143 prlimit64.
14144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14145 syscall.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14151 add prlimit alias.
14152 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14153
15bac72b
UD
14154 [BZ #11903]
14155 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14156 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14157
c3e2f19b
UD
14158 * nss/Makefile: Add rules to build and run tst-nss-test1.
14159 * shlib-versions: Add entry for libnss_test1.
14160 * nss/nss_test1.c: New file.
14161 * nss/tst-nss-test1.c: New file.
14162
14163 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14164 (__nss_configure_lookup): Set appropriate entry in
14165 __nss_configure_lookup to true.
14166 * nss/nsswitch.h: Define enum with indeces of databases in
14167 databases and __nss_database_custom arrays. Declare
14168 __nss_database_custom.
14169 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14170 to avoid using nscd when custom rules are installed.
14171 * nss/getXXbyYY_r.c: Likewise.
14172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14173
14174 * nss/nss_files/files-parse.c: Whitespace fixes.
14175
f15ce4d8
UD
141762010-08-09 Ulrich Drepper <drepper@redhat.com>
14177
14178 [BZ #11883]
14179 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14180 * posix/fnmatch_loop.c: Likewise.
14181
d22e4cc9
AK
141822010-07-17 Andi Kleen <ak@linux.intel.com>
14183
14184 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14185 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14186 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14187 * Versions.def [GLIBC_2.13]: Add.
14188
805bc17d
UD
141892010-08-06 Ulrich Drepper <drepper@redhat.com>
14190
14191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14192 Also fail if tpwd after pwuid call is NULL.
14193
5a42321d
ST
141942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14195
14196 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14197 when converting to ms.
14198
fd3ebeda
ST
141992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14200
14201 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14202 EOPNOTSUPP errors with ENOTTY.
14203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14204 EOPNOTSUPP errors with ENOTTY.
14205
73507d3a
UD
142062010-07-31 Ulrich Drepper <drepper@redhat.com>
14207
14208 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14209 Add strcasecmp_l-ssse3.
14210 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14211 strcasecmp.
14212 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14213 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14214 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14215
fe36dd02
UD
142162010-07-30 Ulrich Drepper <drepper@redhat.com>
14217
66f6765a
UD
14218 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14219
42e08a54
UD
14220 * string/Makefile (strop-tests): Add strcasecmp.
14221 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14222 strcasecmp_l-nonascii.
14223 (gen-as-const-headers): Add locale-defines.sym.
14224 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14225 * sysdeps/x86_64/strcasecmp.S: New file.
14226 * sysdeps/x86_64/strcasecmp_l.S: New file.
14227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14228 * sysdeps/x86_64/locale-defines.sym: New file.
14229 * string/test-strcasecmp.c: New file.
14230
fe36dd02
UD
14231 * string/test-strcasestr.c: Test both ends of the range of characters.
14232 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14233
48cbc0d6
RM
142342010-07-29 Roland McGrath <roland@redhat.com>
14235
76e6d6bc 14236 [BZ #11856]
48cbc0d6
RM
14237 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14238
880113d9
UD
142392010-07-27 Ulrich Drepper <drepper@redhat.com>
14240
14241 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14242 for ld.so.
14243
deb9cabb
AS
142442010-07-27 Andreas Schwab <schwab@redhat.com>
14245
14246 * manual/memory.texi (Malloc Tunable Parameters): Document
14247 M_PERTURB.
14248
1c7570ff
RM
142492010-07-26 Roland McGrath <roland@redhat.com>
14250
14251 [BZ #11840]
14252 * configure.in (-fgnu89-inline check): Set and substitute
14253 gnu89_inline, not libc_cv_gnu89_inline.
14254 * configure: Regenerated.
14255 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14256
24fb0f88
UD
142572010-07-26 Ulrich Drepper <drepper@redhat.com>
14258
14259 * string/test-strnlen.c: New file.
14260 * string/Makefile (strop-tests): Add strnlen.
14261 * string/tester.c (test_strnlen): Add a few more test cases.
14262 * string/tst-strlen.c: Better error reporting.
14263
14264 * sysdeps/x86_64/strnlen.S: New file.
14265
8e96b93a
UD
142662010-07-24 Ulrich Drepper <drepper@redhat.com>
14267
14268 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14269 lower-latency instructions.
14270
dbc676d4
UD
142712010-07-23 Ulrich Drepper <drepper@redhat.com>
14272
14273 * string/test-strcasestr.c: New file.
14274 * string/test-strstr.c: New file.
14275 * string/Makefile (strop-tests): Add strstr and strcasestr.
14276 * string/str-two-way.h: Don't undefine MAX.
14277 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14278
f6a31e0e
AS
142792010-07-21 Andreas Schwab <schwab@redhat.com>
14280
14281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14282 strcasestr-nonascii.
14283 (CFLAGS-strcasestr-nonascii.c): Define.
14284 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14286 Remove unused attribute.
14287
5dbc3b6c
RM
142882010-07-20 Roland McGrath <roland@redhat.com>
14289
14290 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14291 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14292 ld.so.cache was broken. With it, there is no way to disable dsocaps
14293 like LD_HWCAP_MASK can disable hwcaps.
14294
23d101d8
EPM
142952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14296
14297 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14298
cc9f2e47
UD
142992010-07-16 Ulrich Drepper <drepper@redhat.com>
14300
14301 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14302 call in strcasestr.
14303 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14304 __strcasestr_sse42_nonascii.
14305 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14306 strcasestr-nonascii.c.
14307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14308
77c1b069
LM
143092010-06-15 Luis Machado <luisgpm@br.ibm.com>
14310
14311 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14314 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14315
440566c3
UD
143162010-07-09 Ulrich Drepper <drepper@redhat.com>
14317
14318 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14319 fcntl.
14320
5be9d05d
AS
143212010-07-06 Andreas Schwab <schwab@redhat.com>
14322
c30b7ee2 14323 [BZ #11577]
5be9d05d
AS
14324 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14325 dl_signal_cerror.
14326
8a492a67
UD
143272010-07-06 Ulrich Drepper <drepper@redhat.com>
14328
14329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14330 _PC_PIPE_BUF using F_GETPIPE_SZ.
14331
713df3d5
RM
143322010-07-05 Roland McGrath <roland@redhat.com>
14333
14334 * manual/arith.texi (Rounding Functions): Fix rint description
14335 implicit in round description.
14336
702e8f14
UD
143372010-07-02 Ulrich Drepper <drepper@redhat.com>
14338
14339 * elf/Makefile: Fix linking for a few tests to make recent linker
14340 happy.
14341
52ed8be9
AS
143422010-06-30 Andreas Schwab <schwab@redhat.com>
14343
14344 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14345 $(common-objpfx)libc_nonshared.a.
14346
f47c9a11
LM
143472010-06-21 Luis Machado <luisgpm@br.ibm.com>
14348
14349 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14350 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14351 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14352 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14353 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14354 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14356 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14371 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14372 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14373 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14374 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14375 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14376 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14377 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14378 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14379 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14380 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14381 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14382 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14397
6fb8cbcb
L
143982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14399
14400 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14401 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14402 * string/memmove.c (memmove): Renamed to ...
14403 (MEMMOVE): ...this. Default to memmove.
14404 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14405 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14406 (END_CHK): Define.
14407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14408 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14409 mempcpy-ssse3-back memmove-ssse3-back.
14410 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14412 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14413 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14414 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14415 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14416 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14417 * sysdeps/x86_64/multiarch/memmove.c: New file.
14418 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14419 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14420 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14421 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14422 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14424 Define.
14425 (index_Fast_Copy_Backward): Define.
14426 (HAS_ARCH_FEATURE): Define.
14427 (HAS_FAST_REP_STRING): Define.
14428 (HAS_FAST_COPY_BACKWARD): Define.
14429
4e733bac 144302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14431
14432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14433 Restore proper fallback handling.
14434
63c4ed22
UD
144352010-06-19 Ulrich Drepper <drepper@redhat.com>
14436
ac2b484c
UD
14437 [BZ #11701]
14438 * posix/group_member.c (__group_member): Correct checking loop.
14439
63c4ed22
UD
14440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14441 OOM in getpwuid_r correctly. Return error number when the caller
14442 should return, otherwise -1.
14443 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14444 call returning > 0 value.
14445 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14446
765ade4b
AS
144472010-06-07 Andreas Schwab <schwab@redhat.com>
14448
14449 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14450 libc_nonshared.a from targets in modules-names.
14451
80da2e09
KS
144522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14453
14454 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14455 requires it.
14456
158db122
LM
144572010-06-10 Luis Machado <luisgpm@br.ibm.com>
14458
14459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14463
caa78cf8
AS
144642010-06-02 Andreas Schwab <schwab@redhat.com>
14465
14466 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14467
b2ef2c01
UD
144682010-06-14 Ulrich Drepper <drepper@redhat.com>
14469
14470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14471 and F_GETPIPE_SZ.
14472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14478
fbd643b6
RM
144792010-06-14 Roland McGrath <roland@redhat.com>
14480
14481 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14482
f32f2869
JJ
144832010-06-07 Jakub Jelinek <jakub@redhat.com>
14484
14485 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14486 __REDIRECT followed by __THROW.
14487 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14488 * posix/getopt.h (getopt): Likewise.
14489
2a50c078
EPM
144902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14491
14492 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14493 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14494 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14495 in AT_FLAGS.
14496 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14497 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14498
eb5ad2eb
LM
144992010-05-28 Luis Machado <luisgpm@br.ibm.com>
14500
14501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14502
3c88fe1e
L
145032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14504
14505 [BZ #11640]
14506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14507 Properly check family and model.
14508
d2f73151
TY
145092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14510
14511 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14512
ebd2e13d
LM
145132010-05-24 Luis Machado <luisgpm@br.ibm.com>
14514
14515 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14516
b32b8b45
UD
145172010-05-21 Ulrich Drepper <drepper@redhat.com>
14518
14519 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14520 symbol reference.
14521
9acbe24d
AS
145222010-05-19 Andreas Schwab <schwab@redhat.com>
14523
14524 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14525 symbol reference.
14526
f0ccf6ea
AS
145272010-05-21 Andreas Schwab <schwab@redhat.com>
14528
3d04ff3a
AS
14529 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14530 and internal_recvmmsg.
14531 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14532 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14533 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14534 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14535
f0ccf6ea
AS
14536 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14537 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14538 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14539
5b08ac57
AS
145402010-05-20 Andreas Schwab <schwab@redhat.com>
14541
14542 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14543
4828935d
LM
145442010-05-17 Luis Machado <luisgpm@br.ibm.com>
14545
14546 POWER7 optimizations.
14547 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14548 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14549
373d545e
UD
145502010-05-19 Ulrich Drepper <drepper@redhat.com>
14551
14552 * version.h: Update for 2.13 development version.
14553
21a2b1ae
AS
145542010-05-12 Andrew Stubbs <ams@codesourcery.com>
14555
14556 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14557 exceptions. Return 0.
14558
3f7dcb2b
RM
145592010-05-07 Roland McGrath <roland@redhat.com>
14560
14561 * elf/ldconfig.c (main): Add a const.
14562
5f24d53a 145632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14564
a160f8d8
UD
14565 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14566 (args_options): Add no-idn option.
14567 (ahosts_keys_int): Add idn_flags to ai_flags.
14568 (parse_option): Handle 'i' option to clear idn_flags.
14569
5f24d53a
UD
14570 * malloc/malloc.c (_int_free): Possible race in the most recently
14571 added check. Only act on the data if no current modification
14572 happened.
265bb1ce
UD
14573
14574See ChangeLog.17 for earlier changes.
This page took 1.858212 seconds and 5 git commands to generate.