]> sourceware.org Git - glibc.git/blame - ChangeLog
BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.
[glibc.git] / ChangeLog
CommitLineData
61653dfb
RM
12012-05-16 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #10375]
4 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6 * configure: Regenerated.
7 * config.make.in (CPPUNDEFS): New substituted variable.
8 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11
661768bb
L
122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13
14 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15 (mq_attr): Use __syscall_slong_t.
16
d4261567
L
172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18
19 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20 Check __x86_64__ instead of __WORDSIZE.
21 (_STAT_VER_LINUX): Likewise.
22 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23 __syscall_ulong_t and __syscall_slong_t.
24 (stat64): Likewise.
25
cf3ff365
L
262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27
28 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29
76cf3e4d
L
302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31
32 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33
a637753a
L
342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35
36 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37 __syscall_ulong_t.
38
d5e05119
L
39 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40 include <bits/wordsize.h>. Check __x86_64__ instead of
41 __WORDSIZE.
42 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43 defined.
44 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45
f62ee380
L
46 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47 include <bits/wordsize.h>. Check __x86_64__ instead of
48 __WORDSIZE.
49 (user_regs_struct): Use "__extension__ unsigned long long"
50 instead of "unsigned long" if __x86_64__ is defined.
51 (user): Likewise. Pad after pointer field if __ILP32__ is
52 defined.
53
4e124ced
JM
542012-05-16 Joseph Myers <joseph@codesourcery.com>
55
6a3951a0
JM
56 * configure.in (makeinfo): Require version 4.5 or later. Allow
57 versions 5 to 9.
58 * configure: Regenerated.
59 * manual/install.texi (texinfo): Increase version requirement to
60 4.5 or later.
61 * INSTALL: Regenerated.
62
4e124ced
JM
63 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64
953ca31a
L
652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66
67 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68
617aca05
L
69 * sysdeps/x86_64/x32/ffs.c: New file.
70
5762f7ae
L
71 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
72 __syscall_ulong_t.
73 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74 defined. Use __syscall_ulong_t.
75 (shminfo): Use __syscall_ulong_t.
76 (shm_info): Likewise.
77
a26b6856
L
78 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79 __syscall_ulong_t.
80
cb2b9ef7
L
81 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82 <bits/wordsize.h>.
83 (msgqnum_t): Use __syscall_ulong_t.
84 (msglen_t): Likewise.
85 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
86 __syscall_ulong_t.
87
34683bb0
L
88 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
89 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
90
84a68786
L
91 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
92
48baa5f1
L
93 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
94 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
95
180be88b
L
96 * sysvipc/sys/msg.h (msgbuf): Replace long int with
97 __syscall_slong_t.
98
5e90c8ad
L
99 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
100 include <bits/wordsize.h>. Check __x86_64__ instead of
101 __WORDSIZE.
102
23dfb58b
L
103 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
104 "unsigned long long int" if __x86_64__ is defined.
105 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
106
ce5d54b0
L
107 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
108 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
109 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
110
13dc9eac
L
111 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
112 <stdint.h>.
113 (GET_PC): Cast to uintptr_t first.
114 (GET_FRAME): Likewise.
115 (GET_STACK): Likewise.
116
a7895d15
L
117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
119 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
121 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
123 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
124 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
125 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
132 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
134 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
146
656416c9
AS
1472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
148
5bd66283
AS
149 * Makerules (+depfiles): Also collect depfiles from .oS in
150 $(extra-objs).
151 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
152 .oS, $(libnldbl-routines)).
153
656416c9
AS
154 * Makerules (native-compile-mkdep-flags): Define.
155 * sunrpc/Makefile (extra-objs): Add $(addprefix
156 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
157 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
158 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
159 calling $(make-target-directory).
160
a46f2169
L
1612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
162
163 * bits/types.h (__snseconds_t): Removed.
164 * time/time.h (struct timespec): Replace __snseconds_t with
165 __syscall_slong_t.
166 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
167 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
168 Likewise.
169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
170 (__SNSECONDS_T_TYPE): Likewise.
171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
172 (__SNSECONDS_T_TYPE): Likewise.
173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
174 (__SNSECONDS_T_TYPE): Likewise.
175
6af6528b
L
1762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
177
178 * sysdeps/mach/hurd/bits/typesizes.h
179 (__SYSCALL_SLONG_TYPE): New macro.
180 (__SYSCALL_ULONG_TYPE): Likewise.
181
de986b56
L
1822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
183
184 * bits/types.h (__syscall_slong_t): New type.
185 (__syscall_ulong_t): Likewise.
186
187 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
188 (__SYSCALL_ULONG_TYPE): Likewise.
189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
190 (__SYSCALL_SLONG_TYPE): Likewise.
191 (__SYSCALL_ULONG_TYPE): Likewise.
192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
193 (__SYSCALL_SLONG_TYPE): Likewise.
194 (__SYSCALL_ULONG_TYPE): Likewise.
195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
196 (__SYSCALL_SLONG_TYPE): Likewise.
197 (__SYSCALL_ULONG_TYPE): Likewise.
198
85736dc7
L
1992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
200
201 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
202 Add sigaltstack-offsets.sym.
203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
204 <sigaltstack-offsets.h>.
205 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
206 longjmp_msg pointer.
207 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
208 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
209 signal stack.
210 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
211
cc03b296
JM
2122012-05-15 Joseph Myers <joseph@codesourcery.com>
213
a9538892
JM
214 * elf/stackguard-macros.h: Remove file.
215 * sysdeps/generic/stackguard-macros.h: New file.
216 * sysdeps/i386/stackguard-macros.h: Likewise.
217 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
218 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
219 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
220 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
221 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
222 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
223 * sysdeps/x86_64/stackguard-macros.h: Likewise.
224 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
225 <elf/stackguard-macros.h>.
226
cc03b296
JM
227 [BZ #14109]
228 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
229 __aligned__ in attribute.
230 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
231 (gregset_t): Likewise.
232
93171016
L
2332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
234
235 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
236 * sysdeps/x86_64/64/Implies-after: Here. New file.
237 * sysdeps/x86_64/x32/Implies-after: New file.
238
d86813a0
L
2392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
240
241 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
242 and access return value for _dl_profile_fixup. Use R10_LP to
243 load frame size.
244
2953ec75
L
2452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
248
3b550e9e
L
2492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
250
251 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
252 * sysdeps/x86_64/x32/sysdep.h: New file.
253
eda41706
L
2542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
255
256 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
257 * sysdeps/x86_64/setjmp.S: Likewise.
258
9ea01d93
AZ
2592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260
261 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
263 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
265 remove unused global constant.
266
02a91938
CM
2672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
268
269 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
270 include of <not-cancel.h>.
271
6540185f
RM
2722012-05-15 Roland McGrath <roland@hack.frob.com>
273
274 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
275
509072a0
AJ
2762012-05-15 Jeff Law <law@redhat.com>
277 Andreas Jaeger <aj@suse.de>
278
279 [BZ #13594]
280 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
281 out from...
282 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
283 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
284 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
285 code changing __hst_map_handle.map.
286
ba75122d
RM
2872012-05-15 Roland McGrath <roland@hack.frob.com>
288
289 * configure.in (sysnames): Look for Implies-before and Implies-after
290 files.
291 * configure: Regenerated.
292
890d8bd8
L
2932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
294
295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
296 8-byte data alignment with LP_SIZE alignment.
297
f6ee6623
L
2982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
299
300 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
301 into R10_LP.
302
ea2626f6
L
3032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
306
085f715e
L
3072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
308
309 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
310 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
312 Likewise.
313 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
314
be8498fc
L
3152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
316
317 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
318 (stackinfo_sub_sp): Likewise.
319
70bc83b9
L
3202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
321
322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
323 RAX_LP.
324
9bc0b730
L
3252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
328 into R*_LP.
329
6d2850e7
L
3302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
331
332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
333 sizes into R*_LP.
334
3cb84561
L
3352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
336
337 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
338
54e2ed81
L
3392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
340
341 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
342 into R11_LP and load __x86_64_shared_cache_size_half into
343 R8_LP.
344
8a17f349
L
3452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
346
347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
348 R8_LP.
349
777b1eea
AZ
3502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
353 logb for POWER7.
354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
355 logbf for POWER7.
356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
357 logbl for POWER7.
358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
359 powerpc32/power7/fpu/s_logb.c via #include.
360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
361 powerpc32/power7/fpu/s_logbf.c via #include.
362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
363 powerpc32/power7/fpu/s_logbl.c via #include.
364
d20d4ac2
JM
3652012-05-15 Joseph Myers <joseph@codesourcery.com>
366
367 * README.libm: Remove file.
368
6cdef1ab
L
3692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
370
371 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
372 count for x32. Use R*_LP and omit operand-size suffix.
373
0b254d8f
L
3742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
375
376 * shlib-versions: Move x86_64-.*-linux.* entries to ...
377 * sysdeps/x86_64/64/shlib-versions: Here. New file.
378 * sysdeps/x86_64/x32/shlib-versions: New file.
379
ceb809dc
RM
3802012-05-14 Roland McGrath <roland@hack.frob.com>
381
382 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
383 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
384 Use _dl_fatal_printf instead.
385
37f1abd4
JM
3862012-05-14 Joseph Myers <joseph@codesourcery.com>
387
388 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
389 set if not set by the user. Do not allow for being unset.
390 * sysdeps/unix/sysv/linux/configure: Regenerated.
391
11de3a33
L
3922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
393
394 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
395 the `q' suffix from lea and replace .quad with ASM_ADDR.
396
e02f153a
L
3972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
398
399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
400 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
401 instead of $17.
402 (PTR_DEMANGLE): Likewise.
403
520ae0fd
L
4042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
405
406 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
407 (LP_OP): Likewise.
408 (ASM_ADDR): Likewise.
409 (RAX_LP): Likewise.
410 (RBP_LP): Likewise.
411 (RBX_LP): Likewise.
412 (RCX_LP): Likewise.
413 (RDI_LP): Likewise.
414 (RSI_LP): Likewise.
415 (RSP_LP): Likewise.
416 (R8_LP): Likewise.
417 (R9_LP): Likewise.
418 (R10_LP): Likewise.
419 (R10_LP): Likewise.
420 (R11_LP): Likewise.
421 (R12_LP): Likewise.
422 (R13_LP): Likewise.
423 (R14_LP): Likewise.
424 (R15_LP): Likewise.
425
b985be81
L
4262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
427
428 * sysdeps/x86_64/x32/dl-machine.h: New file.
429
6a4888ff
AJ
4302012-05-14 Andreas Jaeger <aj@suse.de>
431
432 * manual/Makefile (subdir): Remove export of subdir.
433 (all): Remove target.
434 (.PHONY): Remove all from list.
435 (mkinstalldirs): Remove.
436 (.PHONY): Remove installdirs from list.
437 ($(inst_infodir)/libc.info): Use make-target-directory.
438 (installdirs): Remove.
439 (subdir_%): Remove.
440 (glibc-targets): Remove.
441 (lib): Remove.
442 (stubs): Remove.
443 ($(objpfx)stubs ../po/manual.pot): Remove.
444 ($(objpfx)stamp%): Remove.
445 (make-target-directory): Remove.
446 (subdir_install): Remove.
447 (routines): Remove.
448 (aux): Remove.
449 (sources): Remove.
450 (objects): Remove.
451 (headers): Remove.
452
453 [BZ #13750]
454 * manual/.gitignore: Remove, it's not needed anymore.
455 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
456 all files in it.
457 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
458 directory.
459 (texis): Renamed to $(objpfx)texis.
460 (texis-path): New, contains path to generated files.
461 (chapters.%): Use texis-path for complete path, add extra argument
462 libc-texinfo.sh.
463 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
464 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
465 (summary,texi, stamp-summary): Use complete path of
466 files. Generate files in build dir.
467 (dir-add.texi): Build in build dir.
468 (libm-err.texi,stamp-libm-err): Likewise.
469 (version.texi, stamp-version): Likewise.
470 (.%c.texi): Likewise.
471 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
472 (mostlyclean): Remove target.
473 (realclean): Remove target.
474 (generated): Add new variable with contents from mostlyclean and
475 realclean, remove entries duplicated in common-mostlyclean, add
476 stamp-libm-err and stamp-version.
477 (generated-dirs): Add libc directory.
478 ($(inst_infodir)/libc.info): Install files from build dir.
479
480 * manual/install.texi (Configuring and compiling): Adjust since
481 the info files are not part of the tar ball anymore.
482
7ac77294
AJ
4832012-05-14 Andreas Jaeger <aj@suse.de>
484
485 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
486 variable.
487
ffb7875d
JM
4882012-05-14 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #13717]
491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
492 to 2.2.0 where earlier.
493 * sysdeps/unix/sysv/linux/configure: Regenerated.
494 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
495 Remove conditional code.
496 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
497 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
498 Remove conditional code.
499 [!__NR_lchown]: Likewise.
500 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
501 [__NR_lchown]: Likewise.
502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
503 comment referencing __ASSUME_LCHOWN_SYSCALL.
504 * sysdeps/unix/sysv/linux/i386/sigaction.c
505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
507 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
508 Remove conditional code.
509 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
510 (__protocol_available): Remove #if 0 code.
511 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
512 conditional code.
513 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/kernel-features.h
515 (__ASSUME_GETCWD_SYSCALL): Don't define.
516 (__ASSUME_REALTIME_SIGNALS): Likewise.
517 (__ASSUME_PREAD_SYSCALL): Likewise.
518 (__ASSUME_PWRITE_SYSCALL): Likewise.
519 (__ASSUME_POLL_SYSCALL): Likewise.
520 (__ASSUME_LCHOWN_SYSCALL): Likewise.
521 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
522 non-SPARC.
523 (__ASSUME_SIOCGIFNAME): Don't define.
524 (__ASSUME_MSG_NOSIGNAL): Likewise.
525 (__ASSUME_SENDFILE): Define unconditionally.
526 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
527 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
528 conditional code.
529 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
530 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
531 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
532 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
533 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
534 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
535 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
540 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
552 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
560 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
561 Remove conditional code.
562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
563 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
564 Remove conditional code.
565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
566 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
567 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
569 Remove conditional code.
570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
571 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
572 Remove conditional code.
573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
574 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
575 Remove conditional code.
576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
577 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
578 Remove conditional code.
579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
580 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
581 Remove conditional code.
582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
583 * sysdeps/unix/sysv/linux/sh/pwrite64.c
584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
586 * sysdeps/unix/sysv/linux/sigaction.c
587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
589 * sysdeps/unix/sysv/linux/sigpending.c
590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
592 * sysdeps/unix/sysv/linux/sigprocmask.c
593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
595 * sysdeps/unix/sysv/linux/sigsuspend.c
596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
599 (__libc_missing_rt_sigs): Remove.
600 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
601 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
602 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
603 Remove conditional code.
604 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
605 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
606 return 1.
607 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
608 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
609 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
610 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
611
1bfb7291
AJ
6122012-05-14 Andreas Jaeger <aj@suse.de>
613
caae5a81
AJ
614 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
615 it's not used in glibc.
616 (__coshm1): Likewise.
617 (__acosh1p): Likewise.
618 (__sgn): Likewise.
619
1bfb7291
AJ
620 * manual/string.texi (Copying and Concatenation): Add missing
621 variable in concat example.
622 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
623
c044d724
L
6242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
625
144c5467 626 [BZ #14103]
c044d724
L
627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
628 __builtin_clzl with __builtin_clzll.
629
2523c62b
L
6302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
631
632 [BZ #14104]
633 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
634 libc_freeres_ptr.
635
d7bb4c42
LD
6362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
637
638 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
639 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
640 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
641 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
642
9dc4e1fb
MF
6432012-05-14 Mike Frysinger <vapier@gentoo.org>
644
645 * NEWS: Update ia64 info.
646
c7df0112
AS
6472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
648
649 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
650 used as bcopy.
651
dc70356c
TS
6522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
653
654 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
655 * sysdeps/unix/syscalls.list (dup3): Likewise.
656 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
657 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
658
9fb1a21f
L
6592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
660
661 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
662 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
663
4822a2a5
L
6642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
665
666 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
667 thread pointer.
668 (TLS_IE): Use mov/add instead of movq/addq to load thread
669 pointer.
670 (TLS_GD_PREFIX): New.
671 (TLS_GD): Use it.
672
842b81d6
DM
6732012-05-11 David S. Miller <davem@davemloft.net>
674
675 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
676 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
677 (_FPU_SETCW): Likewise.
678
1cf463cd
L
6792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
680
681 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
682 is 32-byte aligned.
683
60cc4a18
AS
6842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
685
686 [BZ #11837]
687 * iconvdata/gb18030.c: Update tables.
688 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
689 characters specially.
690 (BODY for TO_LOOP): Add encoding of missing ranges.
691
febb44a4
TS
6922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
693
694 [BZ #13673]
695 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
696 * sysdeps/mach/hurd/dup3.c: Likewise.
697 * sysdeps/mach/hurd/readlinkat.c: Likewise.
698 * sysdeps/powerpc/memmove.c:: Likewise.
699
0a10fb9e
L
7002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
701
702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
703 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
704
df8a552f
L
7052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
706
707 * elf/elf.h (R_X86_64_RELATIVE64): New.
708 (R_X86_64_NUM): Updated.
709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
710 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
711 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
712 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
713 tst-quad1pie tst-quad2pie
714 (modules-names): Add tst-quadmod1 tst-quadmod2.
715 ($(objpfx)tst-quad1): New dependency.
716 ($(objpfx)tst-quad2): Likewise.
717 ($(objpfx)tst-quad1pie): Likewise.
718 ($(objpfx)tst-quad2pie): Likewise.
719 * sysdeps/x86_64/tst-quad1.c: New file.
720 * sysdeps/x86_64/tst-quad1pie.c: New file.
721 * sysdeps/x86_64/tst-quad2.c: Likewise.
722 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
723 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
724 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
725 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
726 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
727
f34d6f84
ST
7282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
729
f42d41d1
ST
730 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
731 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
732 * streams/stropts.h (t_scalar_t): Define type.
733
3c3571fc
ST
734 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
735 (_PATH_PRESERVE): Set to "/var/lib".
736 (_PATH_RWHODIR): Set to "/var/spool/rwho".
737
61f06bd3
ST
738 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
739 instead of int.
740
918d4d71
ST
741 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
742 if __dir_mkfile succeeded.
743
f34d6f84
ST
744 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
745 checking for _hurd_dtablesize. Unlock it right after having
746 finished _hurd_dtable allocation.
747
10589b4a
TS
7482012-05-10 Thomas Schwinge <thomas@schwinge.name>
749
674cdbc7
TS
750 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
751 * sysdeps/mach/hurd/configure: Regenerated.
752 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
753 special-casing to...
754 * sysdeps/gnu/configure.in: ... this new file.
755 * sysdeps/unix/sysv/linux/configure: Regenerated.
756 * sysdeps/gnu/configure: New generated file.
757
8e41b99f
TS
758 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
759 for Linux: use nsec instead of usec, as well as:
760 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
761 members of type struct timespec.
762 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
763 New macros.
764 (struct stat64): Likewise.
765 (_STATBUF_ST_NSEC): New macro.
766 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
767
10589b4a
TS
768 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
769 __strtoul_internal rather than strtoul.
770
63643c85
PT
7712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
772
773 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
774 and reject them.
775
3faebe6a
ST
7762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
777
778 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
779 which preserves existing values.
780 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
781
c6474b07
PT
7822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
783
784 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
785 TIMEOUT values. Return EINVAL for NFDS values either negative or
786 greater than FD_SETSIZE.
787
1043890b
ST
7882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
789
790 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
791 allocated, call __vm_protect to finish enabling the existing space, and
792 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
793 allocate the remainder.
794
37ed8b9b
PT
7952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
796
797 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
798 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
799
db653660
ST
8002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
801
37ed8b9b
PT
802 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
803 sysdeps/mach/hurd/readlink.c.
b29d4053 804
db653660
ST
805 * posix/tst-sysconf.c (posix_options): Only use
806 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
807 _POSIX_SYNCHRONIZED_IO when they are defined
808 * sysdeps/mach/hurd/bits/posix_opt.h:
809 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
810 (_XOPEN_REALTIME): Undefine macro.
811 (_XOPEN_REALTIME_THREADS): Undefine macro.
812 (_XOPEN_SHM): Undefine macro.
813 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
814 macro to -1.
815 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
816 macro to -1.
817 (_POSIX_ASYNC_IO): Undefine macro.
818 (_POSIX_PRIORITIZED_IO): Undefine macro.
819 (_POSIX_SPIN_LOCKS): Define macro to -1.
820
ee16e894
ST
821 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
822 SA_NODEFER, SA_RESETHAND.
823 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
824 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
825 F_DUPFD_CLOEXEC.
826
6103ae3b
TS
8272012-05-10 Thomas Schwinge <thomas@schwinge.name>
828
829 * elf/Makefile (pldd-modules): Define unconditionally.
830
80b4e5f3
TS
8312012-05-10 Thomas Schwinge <thomas@schwinge.name>
832
833 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
834
edadcbd6
ST
8352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
836
837 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
838 Return ENOENT when name is empty.
839 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
840
80694780
TS
8412012-05-10 Thomas Schwinge <thomas@schwinge.name>
842
1792c087
TS
843 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
844
80694780
TS
845 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
846
6b645f0d
ST
8472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
848
80694780
TS
849 Fix mlock in all cases except non-readable pages.
850 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
851 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 852
6b645f0d
ST
853 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
854 (__mkdir): When path is `/', just fail with EEXIST.
855 * sysdeps/mach/hurd/mkdirat.c: Likewise.
856
e468f8a3
TS
8572012-05-10 Thomas Schwinge <thomas@schwinge.name>
858
859 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
860 <sys/uio.h> (for writev).
861 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
862 and <sys/param.h> (for MIN).
863
a4186cff
PT
8642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
865
866 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
867 REQUESTED_TIME. Properly set the remaining time and return EINTR
868 if interrupted.
869
510bbf14
TS
8702012-05-10 Thomas Schwinge <thomas@schwinge.name>
871
872 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
873 Depend on against $(link-rpcuserlibs).
874
5d5722e8
ST
8752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
876
a4186cff
PT
877 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
878 (__libc_stack_end): Do not use attribute_relro.
879 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
880 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 881 to libthread-provided value.
a4186cff
PT
882 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
883 attribute_relro.
5d5722e8 884
37233df9
TS
8852012-05-10 Thomas Schwinge <thomas@schwinge.name>
886
be971a2b
TS
887 [BZ #3748]
888 * bits/libc-lock.h (__libc_once_get): New macro.
889 * sysdeps/mach/bits/libc-lock.h: Likewise.
890 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
892 instead of using implementation details.
893
37233df9
TS
894 * libio/fileops.c: Unconditionally include <kernel-features.h>.
895 * libio/freopen.c: Likewise.
896 * libio/freopen64.c: Likewise.
897 * misc/syslog.c: Likewise.
898 * nscd/connections.c: Likewise.
899 * nscd/netgroupcache.c: Likewise.
900 * sysdeps/posix/getcwd.c: Likewise.
901
38de94a5
RM
9022012-05-10 Roland McGrath <roland@hack.frob.com>
903
904 * math/w_ilogbf.c: Add #include <limits.h>.
905
67530489
ST
9062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
907
a4186cff 908 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
909 path instead of returning without unlocking.
910
67530489
ST
911 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
912 immediate-write ioctls.
913 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
914
5aa3a74a
TS
9152012-05-10 Thomas Schwinge <thomas@schwinge.name>
916
18bad2ae
TS
917 * sysdeps/mach/hurd/i386/init-first.c (init): Use
918 __builtin_frame_address instead of making assumptions about the
919 location of the return address relative to DATA. Force early load of
920 the return address.
921 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
922 __builtin_frame_address.
923
5aa3a74a
TS
924 dup3 for GNU Hurd.
925 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
926 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
927 implement dup3 and do some further code clean-ups.
928 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
929 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
930
ecd0de9a
ST
9312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
932
cd9fa985
ST
933 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
934
a4186cff
PT
935 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
936 HURD_CRITICAL_END around holding _hurd_dtable_lock.
937 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
938 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
939 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
940 d->port.lock.
802ca5a5 941
a4186cff
PT
942 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
943 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
944 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 945
bcf55240
TS
9462012-05-10 Thomas Schwinge <thomas@schwinge.name>
947
6960eb42
TS
948 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
949 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
950 definitions.
951
eb43375f
TS
952 accept4 for GNU Hurd.
953 * include/sys/socket.h (__libc_accept4): New prototype.
954 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
955 to implement __libc_accept4.
956 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
957 __libc_accept4.
958 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
959
bcf55240
TS
960 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
961 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
962 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
963 signal-defines.sym.
964
6178c55b
ST
9652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
966
a4186cff 967 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 968
6f080c2f
TS
9692012-05-10 Thomas Schwinge <thomas@schwinge.name>
970
971 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
972 assertion on O_CLOEXEC flag.
973 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
974 * hurd/intern-fd.c: Likewise.
975 * hurd/port2fd.c: Likewise.
976
bcfe3a54
ST
9772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
978
979 [BZ #3906]
980 * bits/in.h (IPV6_PKTINFO): Define new macro.
981 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
982
89c9aa49
AZ
9832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 [BZ #13954]
986 [BZ #13955]
987 [BZ #13956]
988 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
990 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
991 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
993 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
994 * math/libm-test.inc (logb_test) : Additional logb tests.
995
021db4be
AJ
9962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
997 Andreas Jaeger <aj@suse.de>
998
999 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1000 * configure: Regenerated.
1001 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1002 * config.make.in (link-obsolete-rpc): New substituted variable.
1003 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1004 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1005 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1006 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1007 so that libc.a contains the symbols.
1008 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1009 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1010 * sunrpc/auth_none.c: Likewise.
1011 * sunrpc/auth_unix.c: Likewise.
1012 * sunrpc/authdes_prot.c: Likewise.
1013 * sunrpc/authuxprot.c: Likewise.
1014 * sunrpc/clnt_gen.c: Likewise.
1015 * sunrpc/clnt_perr.c: Likewise.
1016 * sunrpc/clnt_raw.c: Likewise.
1017 * sunrpc/clnt_simp.c: Likewise.
1018 * sunrpc/clnt_tcp.c: Likewise.
1019 * sunrpc/clnt_udp.c: Likewise.
1020 * sunrpc/clnt_unix.c: Likewise.
1021 * sunrpc/des_crypt.c: Likewise.
1022 * sunrpc/des_soft.c: Likewise.
1023 * sunrpc/get_myaddr.c: Likewise.
1024 * sunrpc/key_call.c: Likewise.
1025 * sunrpc/key_prot.c: Likewise.
1026 * sunrpc/netname.c: Likewise.
1027 * sunrpc/pm_getmaps.c: Likewise.
1028 * sunrpc/pm_getport.c: Likewise.
1029 * sunrpc/pmap_clnt.c: Likewise.
1030 * sunrpc/pmap_prot.c: Likewise.
1031 * sunrpc/pmap_prot2.c: Likewise.
1032 * sunrpc/pmap_rmt.c: Likewise.
1033 * sunrpc/publickey.c: Likewise.
1034 * sunrpc/rpc_cmsg.c: Likewise.
1035 * sunrpc/rpc_common.c: Likewise.
1036 * sunrpc/rpc_dtable.c: Likewise.
1037 * sunrpc/rpc_prot.c: Likewise.
1038 * sunrpc/rpc_thread.c: Likewise.
1039 * sunrpc/rtime.c: Likewise.
1040 * sunrpc/svc.c: Likewise.
1041 * sunrpc/svc_auth.c: Likewise.
1042 * sunrpc/svc_raw.c: Likewise.
1043 * sunrpc/svc_run.c: Likewise.
1044 * sunrpc/svc_tcp.c: Likewise.
1045 * sunrpc/svc_udp.c: Likewise.
1046 * sunrpc/svc_unix.c: Likewise.
1047 * sunrpc/svcauth_des.c: Likewise.
1048 * sunrpc/xcrypt.c: Likewise.
1049 * sunrpc/xdr.c: Likewise.
1050 * sunrpc/xdr_array.c: Likewise.
1051 * sunrpc/xdr_float.c: Likewise.
1052 * sunrpc/xdr_intXX_t.c: Likewise.
1053 * sunrpc/xdr_mem.c: Likewise.
1054 * sunrpc/xdr_rec.c: Likewise.
1055 * sunrpc/xdr_ref.c: Likewise.
1056 * sunrpc/xdr_sizeof.c: Likewise.
1057 * sunrpc/xdr_stdio.c: Likewise.
1058
b5c086a2
RM
10592012-05-10 Roland McGrath <roland@hack.frob.com>
1060
1061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1062 change. Update copyright years.
1063
6d74dd09
JM
10642012-05-10 Joseph Myers <joseph@codesourcery.com>
1065
1066 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1067
28e72501
MK
10682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1069 Joseph Myers <joseph@codesourcery.com>
1070 Paul Pluzhnikov <ppluzhnikov@google.com>
1071
1072 [BZ #14012]
1073 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1074 requiring rpcgen.
1075 [cross-compiling] (extra-libs): Likewise.
1076 [cross-compiling] (extra-libs-others): Likewise.
1077 [cross-compiling] (librpcsvc-routines): Likewise.
1078 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1079 [cross-compiling] (omit-deps): Likewise.
1080 (sunrpc-CPPFLAGS): New variable.
1081 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1082 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1083 (cross-rpcgen-objs): New variable.
1084 (extra-objs): Append $(cross-rpcgen-objs).
1085 ($(cross-rpcgen-objs)): New rule.
1086 ($(objpfx)cross-rpcgen): Likewise.
1087 (rpcgen-cmd): Define to use $(built-program-file). Expand
1088 comment.
1089 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1090 ($(objpfx)x%.stmp): Likewise.
1091 * sunrpc/proto.h [IS_IN_build] (_): Define.
1092 [IS_IN_build] (_libc_intl_domainname): Likewise.
1093
c8c59454
L
10942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1097 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1098 and R_X86_64_TPOFF64.
1099
6f27cd16
JM
11002012-05-10 Joseph Myers <joseph@codesourcery.com>
1101
1102 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1103 sysdeps/unix/sysv/syscalls.list.
1104 (stime): Likewise.
1105 (utime): Likewise.
1106 * sysdeps/unix/sysv/syscalls.list: Remove file.
1107
02467e1c
PE
11082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1109
1110 [BZ #3440]
1111 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1112 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1113 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1114 (__LC_IDENTIFICATION): Make these macros useful in #if
1115 expressions, as required by C99.
1116
da392631
AS
11172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1120 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1121 after this.
1122
8115f29b
L
11232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * stdlib/longlong.h: Updated from GCC.
1126
bdd74070
AJ
11272012-05-09 Andreas Jaeger <aj@suse.de>
1128
edfe0dbe
AJ
1129 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1130 default is first entry.
1131 (run_mode): Set type.
1132 (main): Remove informal message about syslog.
1133 (options): Fix typo.
1134
bcfe3a54
ST
1135 [BZ #14053]
1136 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1137 to asm.
bcfe3a54
ST
1138 (lrint): Likewise.
1139 (llrintf): Likewise.
1140 (llrint): Likewise.
1141 (rint): Likewise.
1142 (rintf): Likewise.
1143 (nearbyint): Likewise.
1144 (nearbyintf): Likewise.
bdd74070 1145
91d8d69e
AJ
11462012-05-09 Andreas Jaeger <aj@suse.de>
1147 Pedro Alves <palves@redhat.com>
1148
1149 * nscd/nscd.c (run_mode): Use enum.
1150 (main): Cleanup coding style issue.
1151
bb90b80b
AJ
11522012-05-09 Alexandre Oliva <aoliva@redhat.com>
1153 Andreas Jaeger <aj@suse.de>
1154
bcfe3a54
ST
1155 * nscd/nscd.c (go_background): Replaced with...
1156 (run_mode): ... this.
bb90b80b 1157 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1158 (options): Add -F --foreground.
1159 (main): Implement it.
1160 (parse_opt): Parse it.
bb90b80b 1161
1a4b75a1
AJ
11622012-05-09 Andreas Jaeger <aj@suse.de>
1163
1164 [BZ #14083]
1165 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1166 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1167 -Wconversion warning.
1168 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1169 Likewise.
1170
b1cc2472
JM
11712012-05-09 Joseph Myers <joseph@codesourcery.com>
1172
1173 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1174 == 0.
1175 (LC_ALL): Use macro-int-constant.
1176 (LC_COLLATE): Likewise.
1177 (LC_CTYPE): Likewise.
1178 (LC_MESSAGES): Likewise.
1179 (LC_MONETARY): Likewise.
1180 (LC_NUMERIC): Likewise.
1181 (LC_TIME): Likewise.
1182 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1183 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1185 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1186 Specify type.
1187 [C99-based standards] (float_t): Expect type.
1188 [C99-based standards] (double_t): Expect type.
1189 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1190 type.
1191 [C99-based standards] (HUGE_VALL): Likewise.
1192 [C99-based standards] (INFINITY): Likewise.
1193 [C99-based standards] (NAN): Likewise.
1194 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1195 [C99-based standards] (FP_NAN): Likewise.
1196 [C99-based standards] (FP_NORMAL): Likewise.
1197 [C99-based standards] (FP_SUBNORMAL): Likewise.
1198 [C99-based standards] (FP_ZERO): Likewise.
1199 [C99-based standards] (FP_FAST_FMA): Use
1200 optional-macro-int-constant. Specify type. Require == 1.
1201 [C99-based standards] (FP_FAST_FMAF): Likewise.
1202 [C99-based standards] (FP_FAST_FMAL): Likewise.
1203 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1204 [C99-based standards] (FP_ILOGBNAN): Likewise.
1205 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1206 Specify type.
1207 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1208 [C99-based standards] (math_errhandling): Specify type.
1209 [ISO99 || ISO11] (signgam): Do not allow.
1210 [non-C99-based standards] (copysignf): Do not allow.
1211 [non-C99-based standards] (exp2f): Likewise.
1212 [non-C99-based standards] (log2f): Likewise.
1213 [non-C99-based standards] (modff): Allow.
1214 [non-C99-based standards] (erff): Do not allow.
1215 [non-C99-based standards] (erfcf): Likewise.
1216 [non-C99-based standards] (gammaf): Likewise.
1217 [non-C99-based standards] (hypotf): Likewise.
1218 [non-C99-based standards] (j0f): Likewise.
1219 [non-C99-based standards] (j1f): Likewise.
1220 [non-C99-based standards] (jnf): Likewise.
1221 [non-C99-based standards] (lgammaf): Likewise.
1222 [non-C99-based standards] (tgammaf): Likewise.
1223 [non-C99-based standards] (y0f): Likewise.
1224 [non-C99-based standards] (y1f): Likewise.
1225 [non-C99-based standards] (ynf): Likewise.
1226 [non-C99-based standards] (isnanf): Likewise.
1227 [non-C99-based standards] (acoshf): Likewise.
1228 [non-C99-based standards] (asinhf): Likewise.
1229 [non-C99-based standards] (atanhf): Likewise.
1230 [non-C99-based standards] (cbrtf): Likewise.
1231 [non-C99-based standards] (expm1f): Likewise.
1232 [non-C99-based standards] (ilogbf): Likewise.
1233 [non-C99-based standards] (log1pf): Likewise.
1234 [non-C99-based standards] (logbf): Likewise.
1235 [non-C99-based standards] (nextafterf): Likewise.
1236 [non-C99-based standards] (remainderf): Likewise.
1237 [non-C99-based standards] (rintf): Likewise.
1238 [non-C99-based standards] (scalbf): Likewise.
1239 [non-C99-based standards] (copysignl): Likewise.
1240 [non-C99-based standards] (exp2l): Likewise.
1241 [non-C99-based standards] (log2l): Likewise.
1242 [non-C99-based standards] (modfl): Allow.
1243 [non-C99-based standards] (erfl): Do not allow.
1244 [non-C99-based standards] (erfcl): Likewise.
1245 [non-C99-based standards] (gammal): Likewise.
1246 [non-C99-based standards] (hypotl): Likewise.
1247 [non-C99-based standards] (j0l): Likewise.
1248 [non-C99-based standards] (j1l): Likewise.
1249 [non-C99-based standards] (jnl): Likewise.
1250 [non-C99-based standards] (lgammal): Likewise.
1251 [non-C99-based standards] (tgammal): Likewise.
1252 [non-C99-based standards] (y0l): Likewise.
1253 [non-C99-based standards] (y1l): Likewise.
1254 [non-C99-based standards] (ynl): Likewise.
1255 [non-C99-based standards] (isnanl): Likewise.
1256 [non-C99-based standards] (acoshl): Likewise.
1257 [non-C99-based standards] (asinhl): Likewise.
1258 [non-C99-based standards] (atanhl): Likewise.
1259 [non-C99-based standards] (cbrtl): Likewise.
1260 [non-C99-based standards] (expm1l): Likewise.
1261 [non-C99-based standards] (ilogbl): Likewise.
1262 [non-C99-based standards] (log1pl): Likewise.
1263 [non-C99-based standards] (logbl): Likewise.
1264 [non-C99-based standards] (nextafterl): Likewise.
1265 [non-C99-based standards] (remainderl): Likewise.
1266 [non-C99-based standards] (rintl): Likewise.
1267 [non-C99-based standards] (scalbl): Likewise.
1268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1269 [non-C99-based standards] (FP_*): Do not allow.
1270 [C99-based standards] (FP_*): Change to
1271 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1272 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1273 allow.
1274 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1275 (SIG_ERR): Likewise.
1276 [X/Open-based standards] (SIG_HOLD): Likewise.
1277 (SIG_IGN): Likewise.
1278 (SIGABRT): Use macro-int-constant. Specify type. Require
1279 positive value.
1280 (SIGFPE): Likewise.
1281 (SIGILL): Likewise.
1282 (SIGINT): Likewise.
1283 (SIGSEGV): Likewise.
1284 (SIGTER): Likewise.
1285 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1286 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1287 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1288 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1289 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1290 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1291 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1292 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1293 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1294 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1295 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1296 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1297 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1298 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1299 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1300 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1301 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1303 [X/Open-based standards] (SIGTRAP): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1305 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1308 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1309 allow.
1310
b9f1922d
IW
13112012-05-08 Ian Wienand <ianw@vmware.com>
1312
1313 [BZ #14080]
1314 * time/tzset.c (__tzset_parse_tz): Update default rules for
1315 daylight time changes in the Energy Policy Act of 2005.
1316
1db86e88
AJ
13172012-05-09 Andreas Jaeger <aj@suse.de>
1318
1319 [BZ #13983]
1320 * elf/ldconfig.c (parse_conf): Change string to make clear that
1321 ldconfig only issued a warning if ld.so.conf does not exist.
1322
dee4a4e3
DM
13232012-05-08 David S. Miller <davem@davemloft.net>
1324
ee0db190
DM
1325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1326 movxtod instead of popping the value on the stack.
1327
dee4a4e3
DM
1328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1329
6a43ec98
CD
13302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1331
1332 * config.h.in: Add HAVE_ARM_PCS_VFP.
1333
05c2c961
RMG
13342012-05-08 Roland Mc Grath <roland@hack.frob.com>
1335
bcfe3a54
ST
1336 [BZ #13979]
1337 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1338 checking but the checks are disabled for any reason.
05c2c961 1339
4b30f61a
L
13402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1343 and ELF64_R_TYPE with ELFW(R_TYPE).
1344
eee2bc67
JM
13452012-05-08 Joseph Myers <joseph@codesourcery.com>
1346
7ea5391a
JM
1347 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1348 (ulimit): Likewise.
1349
eee2bc67
JM
1350 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1351 (settimeofday): Likewise.
1352
abb66a67
MF
13532012-05-08 Mike Frysinger <vapier@gentoo.org>
1354
1355 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1356 a struct th_u2 inside the union, and move tu_block/tu_code into
1357 a new th_u3 union of tu_block/tu_code inside of that. Move
1358 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1359 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1360 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1361 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1362 (th_stuff): Change to th_u1.tu_stuff.
1363 (th_data): Define.
1364 (th_msg): Change to th_u1.th_u2.tu_data.
1365
7f18b530
DM
13662012-05-07 David S. Miller <davem@davemloft.net>
1367
05760585
DM
1368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1369
7f18b530
DM
1370 [BZ #14074]
1371 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1372 (SETUP_PIC_REG): Use it.
1373 (SETUP_PIC_REG_LEAF): Use it.
1374
495fd99f
JM
13752012-05-07 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #13885]
1378 [BZ #13923]
1379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1380 USE_AS_EXPM1L.
1381 (EXPL_FINITE): Likewise.
1382 (FLDLOG): Likewise.
1383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1384 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1385 e_expl.S.
1386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1387 USE_AS_EXPM1L.
1388 (EXPL_FINITE): Likewise.
1389 (FLDLOG): Likewise.
1390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1391 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1392 e_expl.S.
1393 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1394 test of -max_value argument for long double.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1397
6693d694
DM
13982012-05-06 David S. Miller <davem@davemloft.net>
1399
1400 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1401 quad soft-float symbols whose references which are compiler
1402 generated.
1403 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1404
6c23e11c
JM
14052012-05-06 Joseph Myers <joseph@codesourcery.com>
1406
d8b82cad
JM
1407 [BZ #13884]
1408 [BZ #13914]
1409 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1410 USE_AS_EXP10L.
1411 (EXPL_FINITE): Likewise.
1412 (FLDLOG): Likewise.
1413 (c0): Likewise.
1414 (c1): Likewise.
1415 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1416 Adjust comments for base varying.
1417 (__expl_finite): Change alias to EXPL_FINITE.
1418 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1419 e_expl.S.
1420 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1421 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1422 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1423 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1425 USE_AS_EXP10L.
1426 (EXPL_FINITE): Likewise.
1427 (FLDLOG): Likewise.
1428 (c0): Likewise.
1429 (c1): Likewise.
1430 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1431 Adjust comments for base varying.
1432 (__expl_finite): Change alias to EXPL_FINITE.
1433 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1434 tests for bugs.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1436
6c23e11c
JM
1437 [BZ #14064]
1438 * math/libm-test.inc (check_float_internal): Correct ulp
1439 calculation for subnormal expected results.
1440
29ba805c
AJ
14412012-05-06 Andreas Jaeger <aj@suse.de>
1442
1443 * Makeconfig (+math-flags): New, set to -frounding-math.
1444 (+cflags): Add +math-flags so that all of glibc gets compiled with
1445 it.
1446
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1448
7b17aeda
JM
14492012-05-05 Joseph Myers <joseph@codesourcery.com>
1450
5779f134
JM
1451 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1452 Disable one test.
1453
41498f4d
JM
1454 [BZ #13787]
1455 [BZ #13922]
1456 [BZ #14036]
1457 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1458 (__ieee754_expl): Allow for and saturate large arguments.
1459 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1460 (u_threshold): Likewise.
1461 (__exp): Call __ieee754_exp before checking for overflow and
1462 underflow.
1463 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1464 (u_threshold): Likewise.
1465 (__expf): Call __ieee754_expf before checking for overflow and
1466 underflow.
1467 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1468 (u_threshold): Likewise.
1469 (__expl): Call __ieee754_expl before checking for overflow and
1470 underflow.
1471 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1472 (__ieee754_expl): Allow for and saturate large arguments.
1473 * math/libm-test.inc (exp_test): Add another test. Do not allow
1474 missing overflow exception on overflow.
1475 (expm1_test): Do not allow missing overflow exception on overflow.
1476
6698b8bf
JM
1477 * sysdeps/i386/fpu/e_expl.c: Move to ...
1478 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1479 rather than using inline asm.
1480 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1481 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1482 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1483
7b17aeda
JM
1484 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1485 (nice): Likewise.
1486 (poll): Likewise.
1487 (signal): Likewise.
1488 (time): Likewise.
1489 (times): Likewise.
1490
f7c85819
JM
14912012-05-04 Joseph Myers <joseph@codesourcery.com>
1492
1493 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1494 sysdeps/unix/common/syscalls.list.
1495 (fchmod): Likewise.
1496 (fchown): Likewise.
1497 (ftruncate): Likewise.
1498 (getrusage): Likewise.
1499 (gettimeofday): Likewise.
1500 (setpgid): Likewise.
1501 (setregid): Likewise.
1502 (setreuid): Likewise.
1503 (sigaction): Likewise.
1504 (truncate): Likewise.
1505 (vhangup): Likewise.
1506 * sysdeps/unix/common/syscalls.list: Remove file.
1507 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1508 * sysdeps/unix/sysv/linux/Implies: Likewise.
1509
336270d0
L
15102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1514 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1515 Moved to ...
1516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1517 Here.
1518 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1519 to ...
1520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1521 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1522 to ...
1523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1524 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1525 to ...
1526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1527 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1528 to ...
1529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1530 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1531 to ...
1532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1534 to ...
1535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1536 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1537 to ...
1538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1539 Here.
1540 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1541 to ...
1542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1543 Here.
1544 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1545 to ...
1546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1547 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1548 Moved to ...
1549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1550 Here.
1551 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1552 to ...
1553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1554
d128e450
JM
15552012-05-04 Joseph Myers <joseph@codesourcery.com>
1556
fa8ee516
JM
1557 * sysdeps/unix/common/bits/dirent.h: Remove file.
1558 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1559
d128e450
JM
1560 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1561 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1562 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1563 * sysdeps/unix/bsd/isatty.c: Likewise.
1564 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1565 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1566 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1567
ff8faaf0 15682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1569
62881be4 1570 [BZ #13563]
31dc8730
AZ
1571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1572 long double comparison inaccuracies.
1573 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1575
6fef930c
AS
15762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1577
1578 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1580
8f203e6c
JM
15812012-05-04 Joseph Myers <joseph@codesourcery.com>
1582
1583 [BZ #14049]
1584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1585 nonzero digits before rounding a hex value.
1586 * stdlib/tst-strtod.c (tests): Add another test.
1587
5197d9c2
AK
15882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1589
1590 * sysdeps/s390/fpu/libm-test-ulps: Update.
1591
f0c1dedf
AJ
15922012-05-03 Andreas Jaeger <aj@suse.de>
1593
1594 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1595 does not get optimized out.
1596 (malloc_opt_barrier): New.
1597
a65ef2ae 15982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1599 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1600
2b942cb7 1601 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1602 intermediate file deletion.
2b942cb7 1603 (generated): Add .symlist files.
a65ef2ae 1604
54b71e02
JM
16052012-05-03 Joseph Myers <joseph@codesourcery.com>
1606
1607 [BZ #13775]
1608 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1609 Redirect under this condition.
1610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1611 [__USE_GNU] (__dprintf_chk): Not under this condition.
1612 [__USE_GNU] (__vdprintf_chk): Likewise.
1613 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1614 under this condition.
1615 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1616 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1617 [__USE_XOPEN2K8] (vdprintf): Likewise.
1618 [__USE_GNU] (__dprintf_chk): Not under this condition.
1619 [__USE_GNU] (__vdprintf_chk): Likewise.
1620 [__USE_GNU] (dprintf): Likewise.
1621 [__USE_GNU] (vdprintf): Likewise.
1622
d3dfcc41
RM
16232012-05-03 Roland McGrath <roland@hack.frob.com>
1624
1625 * elf/Makefile (common-generated): Set this instead of generated for
1626 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1627 $(all-built-dso)-derived lists.
1628
7ac30cc5
AJ
16292012-05-03 Andreas Jaeger <aj@suse.de>
1630
0c51e550
AJ
1631 * sysdeps/i386/fpu/libm-test-ulps: Update.
1632
7ac30cc5
AJ
1633 * FAQ: Removed.
1634 * FAQ.in: Likewise.
1635 * scripts/gen-FAQ.pl: Likewise.
1636 * manual/install.texi (Installation): Point to online location of
1637 FAQ.
1638 * Makefile (files-for-dist): Remove FAQ.
1639 (FAQ): Remove.
1640
d4c2917f
AM
16412012-05-02 Allan McRae <allan@archlinux.org>
1642
1643 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1644 (LDFLAGS-reldepmod5.so): Likewise.
1645 (LDFLAGS-reldep6mod1.so): Likewise.
1646 (LDFLAGS-reldep6mod4.so): Likewise.
1647 (LDFLAGS-reldep8mod3.so): Likewise.
1648 (LDFLAGS-unload4mod1.so): Likewise.
1649 (LDFLAGS-unload4mod2.so): Likewise.
1650 (LDFLAGS-tst-initorder): Likewise.
1651 (LDFLAGS-tst-initordera2.so): Likewise.
1652 (LDFLAGS-tst-initordera3.so): Likewise.
1653 (LDFLAGS-tst-initordera4.so): Likewise.
1654 (LDFLAGS-tst-initorderb2.so): Likewise.
1655 (LDFLAGS-noload): Likewise.
1656 (LDFLAGS-next): Likewise.
1657 (LDFLAGS-order2mod1.so): Likewise.
1658 (LDFLAGS-order2mod2.so): Likewise.
1659 (LDFLAGS-tst-initorder2): Likewise.
1660 (LDFLAGS-tst-initorder2a.so): Likewise.
1661 (LDFLAGS-tst-initorder2b.so): Likewise.
1662 (LDFLAGS-tst-initorder2c.so): Likewise.
1663 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1664
d77f993f
DM
16652012-05-02 David S. Miller <davem@davemloft.net>
1666
1667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1668
171a70b4
PP
16692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1670
1671 [BZ #14055]
1672 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1673
0be196ad
AJ
16742012-05-02 Andreas Jaeger <aj@suse.de>
1675
1676 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1677 since we manipulate rounding mode.
1678 (CPPFLAGS-test-idouble.c): Likewise.
1679 (CPPFLAGS-test-ifloat.c): Likewise.
1680 (CFLAGS-test-ldouble.c): Likewise.
1681 (CFLAGS-test-double.c): Likewise.
1682 (CFLAGS-test-float.c): Likewise.
1683 (CFLAGS-test-misc.c): Likewise.
1684 (CFLAGS-test-test-fenv.c): Likewise.
1685
4f9d04aa
AZ
16862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
2b942cb7
RM
1688 [BZ #2550]
1689 [BZ #2570]
1690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1691 comparisons to determine direction to adjust input.
4f9d04aa 1692
82a79e7d
RM
16932012-05-01 Roland McGrath <roland@hack.frob.com>
1694
f5a01ca9
RM
1695 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1696 output to the target.
1697
90fe4186
RM
1698 * scripts/localplt.awk: New file.
1699 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1700 (check-localplt-CFLAGS): Variable removed.
1701 ($(all-built-dso:=.jmprel)): New static pattern rule.
1702 (generated): Add those targets.
1703 (localplt-built-dso): New variable.
1704 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1705
1706 * elf/check-localplt.c: File removed.
1707
82397ed6
RM
1708 * scripts/check-execstack.awk: New file.
1709 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1710 (check-execstack-CFLAGS): Variable removed.
1711 ($(objpfx)check-execstack.h): Target removed.
1712 ($(objpfx)execstack-default): New target.
1713 (generated): Add that instead of check-execstack.h.
1714 ($(all-built-dso:=.phdr)): New static pattern rule.
1715 (generated): Add those targets.
1716 * elf/check-execstack.c: File removed.
1717
82a79e7d
RM
1718 * scripts/check-textrel.awk: New file.
1719 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1720 (check-textrel-CFLAGS): Variable removed.
1721 (all-built-dso): Use := to define.o
1722 ($(all-built-dso:=.dyn)): New static pattern rule.
1723 (generated): Add those targets.
1724 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1725 * config.make.in (READELF): New substituted variable.
1726 * elf/check-textrel.c: File removed.
1727
62fde54f 17282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1729
615605c9
JM
1730 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1731 allow.
1732 * conform/data/ctype.h-data [C99-based standards] (isblank):
1733 Expect function.
1734 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1735 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1737 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1738 Specify type. Require positive value.
1739 (EILSEQ): Likewise.
1740 (ERANGE): Likewise.
1741 [ISO || POSIX] (EILSEQ): Do not expect.
1742 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1743 Specify type. Require positive value.
1744 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1778 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1780 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1781 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1787 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1818 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1819 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1820 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1821 Require >= 2.
1822 (FLT_ROUNDS): Expect as macro, not constant.
1823 (FLT_MANT_DIG): Use macro-int-constant.
1824 (DBL_MANT_DIG): Likewise.
1825 (LDBL_MANT_DIG): Likewise.
1826 (FLT_DIG): Likewise.
1827 (DBL_DIG): Likewise.
1828 (LDBL_DIG): Likewise.
1829 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1830 (DBL_MIN_EXP): Likewise.
1831 (LDBL_MIN_EXP): Likewise.
1832 (FLT_MAX_EXP): Use macro-int-constant.
1833 (DBL_MAX_EXP): Likewise.
1834 (LDBL_MAX_EXP): Likewise.
1835 (FLT_MAX_10_EXP): Likewise.
1836 (DBL_MAX_10_EXP): Likewise.
1837 (LDBL_MAX_10_EXP): Likewise.
1838 (FLT_MAX): Use macro-constant.
1839 (DBL_MAX): Likewise.
1840 (LDBL_MAX): Likewise.
1841 (FLT_EPSILON): Use macro-constant. Give upper bound.
1842 (DBL_EPSILON): Likewise.
1843 (LDBL_EPSILON): Likewise.
1844 (FLT_MIN): Likewise.
1845 (DBL_MIN): Likewise.
1846 (LDBL_MIN): Likewise.
1847 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1848 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1849 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1850 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1851 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1852 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1853 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1854 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1855 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1856 [ISO11] (FLT_TRUE_MIN): Likewise.
1857 [ISO11] (LDBL_TRUE_MIN): Likewise.
1858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1859 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1860 (SCHAR_MIN): Use macro-int-constant. Specify type.
1861 (SCHAR_MAX): Likewise.
1862 (UCHAR_MAX): Likewise.
1863 (CHAR_MIN): Likewise.
1864 (CHAR_MAX): Likewise.
1865 (MB_LEN_MAX): Use macro-int-constant.
1866 (SHRT_MIN): Use macro-int-constant. Specify type.
1867 (SHRT_MAX): Likewise.
1868 (USHRT_MAX): Likewise.
1869 (INT_MAX): Likewise.
1870 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1871 bound negative.
1872 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1873 bound with "U".
1874 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1875 bound with "L".
1876 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1877 bound negative. Suffix upper bound with "L".
1878 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1879 bound with "UL".
1880 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1881 Specify type.
1882 [C99-based standards] (LLONG_MAX): Likewise.
1883 [C99-based standards] (ULLONG_MAX): Likewise.
1884 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1885 == 0.
1886 [ISO11] (max_align_t): Require type.
1887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1888
c9140a62
JM
1889 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1890 from $CFLAGS, without defining away __attribute__ calls.
1891 (checknamespace): Use $CFLAGS_namespace.
1892
9af0bf29
JM
1893 * conform/conformtest.pl (@keywords): Only include C99 keywords
1894 for standards based on C99 or C11.
1895
343222a2
JM
1896 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1897 Disable tests.
1898 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1899 UNIX98]: Likewise.
1900
661f8cf0
JM
1901 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1902 usability of symbols in #if.
1903
ee74b9cb
JM
1904 * conform/conformtest.pl: If macro or constant types start
1905 "promoted:", expect the symbol to be of the following type
1906 promoted by the integer promotions.
62fde54f 1907
aafc49b3
JM
1908 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1909 in one place. Also handle "macro-constant".
1910
fefdf574
JM
1911 * conform/conformtest.pl: Only accept expected macro values with
1912 "==". Parse all "macro" lines in one place.
1913 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1914
f2d922fe
JM
1915 * conform/conformtest.pl: Handle braced types on "constant" lines
1916 instead of handling "typed-constant".
1917 * conform/data/signal.h-data: Use "constant" instead of
1918 "typed-constant".
1919
d22956c9
JM
1920 * conform/conformtest.pl: Handle "optional-" at start of lines in
1921 one place rather than duplicating several cases. Handle each
1922 format of "macro" line with initial "optional-".
1923
028e2e38
JM
1924 * conform/conformtest.pl: Only accept expected constant or
1925 optional-constant values with "==". Parse all "constant" lines in
1926 one place. Parse all "optional-constant" lines in one place.
1927 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1928 * conform/data/fmtmsg.h-data: Likewise.
1929 * conform/data/netinet/in.h-data: Likewise.
1930 * conform/data/tar.h-data: Likewise.
1931 * conform/data/limits.h-data: Use "==" form on "constant" and
1932 "optional-constant" lines.
1933
1b8f2850
JM
1934 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1935 Use -std=c99 for XOPEN2K.
1936 (@knownproblems): Remove.
1937 (newtoken): Don't check %isknown.
1938
a05a144b
JM
1939 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1940 Do not expect macro.
1941 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1942 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1943 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1944 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1945 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1946 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1947 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1948 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1949 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1950 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1951 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1952 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1953 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1954 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1955 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1956 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1957 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1958 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1959 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1967 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1968 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1970 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1971 [XPG3] (acosh): Likewise.
1972 [XPG3] (asinh): Likewise.
1973 [XPG3] (atanh): Likewise.
1974 [XPG3] (cbrt): Likewise.
1975 [XPG3] (expm1): Likewise.
1976 [XPG3] (ilogb): Likewise.
1977 [XPG3] (log1p): Likewise.
1978 [XPG3] (logb): Likewise.
1979 [XPG3] (nextafter): Likewise.
1980 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1981 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1982 [XPG3] (remainder): Likewise.
1983 [XPG3] (rint): Likewise.
1984 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1985 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1986 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1987 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1988 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1989 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1990 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1991 [UNIX98 || XOPEN2K] (scalb): Expect.
1992 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1993 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1994 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1995 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1996 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1997 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1998 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1999 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2000 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2001 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2002 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2003 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2004 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2005 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2006 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2007 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2008 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2009 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2010 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2129
73c5ebe3
JM
2130 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2131 _XOPEN_SOURCE_EXTENDED for XPG4.
2132
39c33b6c
JM
2133 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2134
62fde54f
JM
2135 * Makeconfig (localtime): Remove variable.
2136 (inst_localtime-file): Likewise.
2137
0741d64c
AS
21382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2141 Update.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2143 Update.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2145 Update.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2147 Update.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2149 Update.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2151 Update.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2153 Update.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2155 Update.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2157 Update.
2158
7cb029ee
JM
21592012-05-01 Joseph Myers <joseph@codesourcery.com>
2160
2161 [BZ #2550]
2162 [BZ #2570]
2163 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2164 comparisons to determine direction to adjust input.
2165 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2166 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2168 Likewise.
2169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2170 Likewise.
2171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2172 Likewise.
2173 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2174 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2175 Likewise.
2176 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2177 Likewise.
2178 * math/libm-test.inc (nexttoward_test): Add more tests.
2179
412bd966
AS
21802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2181
2182 [BZ #14040]
2183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2184 in version GLIBC_2.1, not GLIBC_2.0.
2185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2186 Likewise.
2187
9568c0c2
JM
21882012-04-30 Joseph Myers <joseph@codesourcery.com>
2189
adfbc8ac
JM
2190 [BZ #13942]
2191 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2192 (1 - x) * (1 + x).
2193 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2194 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2195 * math/libm-test.inc (acos_test): Add more tests.
2196 (asin_test): Likewise.
2197 * sysdeps/i386/fpu/libm-test-ulps: Update.
2198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2199
5ba3cc69
JM
2200 [BZ #14034]
2201 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2202 of square root.
2203 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2204 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2205 * math/libm-test.inc (acos_test_tonearest): New function.
2206 (acos_test_towardzero): Likewise.
2207 (acos_test_downward): Likewise.
2208 (acos_test_upward): Likewise.
2209 (asin_test_tonearest): Likewise.
2210 (asin_test_towardzero): Likewise.
2211 (asin_test_downward): Likewise.
2212 (asin_test_upward): Likewise.
2213 (main): Call the new functions.
2214 * sysdeps/i386/fpu/libm-test-ulps: Update.
2215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2216
9568c0c2
JM
2217 [BZ #13884]
2218 [BZ #13924]
2219 * math/e_exp10.c: Include <float.h>.
2220 (__ieee754_exp10): Handle underflow here rather than multiplying
2221 large negative argument by M_LN10.
2222 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2223 of __ieee754_expf.
2224 * math/e_exp10l.c: Include <float.h>.
2225 (__ieee754_exp10l): Handle underflow here rather than multiplying
2226 large negative argument by M_LN10l.
2227 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2228 spurious overflow exception on underflow.
2229
5ac3ea17
MP
22302012-04-29 Marek Polacek <polacek@redhat.com>
2231
2232 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2233 (__fortify_function): New macro.
2234 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2235 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2236 __extern_always_inline.
2237 * libio/bits/stdio2.h: Likewise.
2238 * libio/bits/stdio.h: Likewise.
2239 * string/string.h: Likewise.
2240 * string/bits/string3.h: Likewise.
2241 * include/stdio.h: Likewise.
2242 * stdlib/bits/stdlib.h: Likewise.
2243 * stdlib/stdlib.h: Likewise.
2244 * rt/bits/mqueue2.h: Likewise.
2245 * rt/mqueue.h: Likewise.
2246 * posix/bits/unistd.h: Likewise.
2247 * posix/unistd.h: Likewise.
2248 * io/bits/poll2.h: Likewise.
2249 * io/bits/fcntl2.h: Likewise.
2250 * io/fcntl.h: Likewise.
2251 * io/sys/poll.h: Likewise.
2252 * misc/bits/syslog.h: Likewise.
2253 * misc/bits/syslog-ldbl.h: Likewise.
2254 * misc/sys/syslog.h: Likewise.
2255 * socket/bits/socket2.h: Likewise.
2256 * socket/sys/socket.h: Likewise.
2257 * debug/tst-chk1.c: Likewise.
2258 * wcsmbs/bits/wchar2.h: Likewise.
2259 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2260 * wcsmbs/wchar.h: Likewise.
2261
ecf0ebfb
AJ
22622012-04-29 Andreas Jaeger <aj@suse.de>
2263
2264 * Makerules (tests): Remove enable-check-abi protection.
2265 (check-abi-warn): Remove.
2266 (check-abi-%): Remove check-abi-warn usage.
2267
2268 * configure.in: Remove check-abi configure option.
2269 * configure: Regenerated.
2270 * config.make.in (enable-check-abi): Remove.
2271
6d5c57fa
AS
22722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2273
24c5d07e 2274 [BZ #14033]
ded5180a
AS
2275 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2276 double functions to double *_finite functions.
2277
7e0d315d
AS
2278 [BZ #13941]
2279 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2280 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2281 LDBL_MIN_EXP.
2282 * stdio-common/Makefile (tests): Add tst-sprintf3.
2283 * stdio-common/tst-sprintf3.c: New file.
2284
6d5c57fa
AS
2285 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2286 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2287
0749ff8b
JM
22882012-04-28 Joseph Myers <joseph@codesourcery.com>
2289
2290 * conform/conformtest.pl: Remove duplicate typed-constant
2291 handling.
2292
8dbd5d7b
DM
22932012-04-28 David S. Miller <davem@davemloft.net>
2294
2295 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2296 (check-abi-%): Remove AWK script prerequisite and explicit
2297 abilist directory.
2298 (check-abi): Rewrite to just diff the symlist with the abilist.
2299 (config-tls, config-abi-config): Delete, no longer used.
2300 (update-abi-%): Remove AWK script and explicit abilist directory.
2301 (update-abi): Rewrite to simply compare and conditionally copy the
2302 symlist and the sysdep abilist file. Remove update-abi-config
2303 checks.
2304 * abilist/ld.abilist: Remove.
2305 * abilist/libBrokenLocale.abilist: Remove.
2306 * abilist/libanl.abilist: Remove.
2307 * abilist/libcrypt.abilist: Remove.
2308 * abilist/libdl.abilist: Remove.
2309 * abilist/librt.abilist: Remove.
2310 * abilist/libthread_db.abilist: Remove.
2311 * abilist/libutil.abilist: Remove.
2312 * scripts/extract-abilist.awk: Remove.
2313 * scripts/merge-abilist.awk: Remove.
2314 * sysdeps/generic/libcidn.abilist: New file.
2315 * sysdeps/generic/libnss_compat.abilist: New file.
2316 * sysdeps/generic/libnss_db.abilist: New file.
2317 * sysdeps/generic/libnss_dns.abilist: New file.
2318 * sysdeps/generic/libnss_files.abilist: New file.
2319 * sysdeps/generic/libnss_hesiod.abilist: New file.
2320 * sysdeps/generic/libnss_nis.abilist: New file.
2321 * sysdeps/generic/libnss_nisplus.abilist: New file.
2322 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2323 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2324 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2325 file.
2326 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2327 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2328 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2329 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2330 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2331 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2333 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2335 file.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2337 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2338 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2339 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2340 file.
2341 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2342 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2343 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2344 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2345 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2346 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2347 file.
2348 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2349 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2350 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2351 file.
2352 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2354 New file.
2355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2356 New file.
2357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2358 New file.
2359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2360 New file.
2361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2362 New file.
2363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2364 New file.
2365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2366 New file.
2367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2368 New file.
2369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2370 New file.
2371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2372 New file.
2373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2374 New file.
2375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2376 New file.
2377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2378 New file.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2380 file.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2382 New file.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2384 New file.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2386 file.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2388 New file.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2390 New file.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2392 file.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2394 New file.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2396 New file.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2398 New file.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2400 New file.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2402 New file.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2404 New file.
2405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2407 file.
2408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2409 New file.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2411 file.
2412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2413 file.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2415 file.
2416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2417 file.
2418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2419 file.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2421 New file.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2423 file.
2424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2425 file.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2427 New file.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2429 file.
2430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2432 file.
2433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2434 New file.
2435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2436 file.
2437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2438 file.
2439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2440 file.
2441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2442 file.
2443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2444 file.
2445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2446 New file.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2448 file.
2449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2450 file.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2452 New file.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2454 file.
2455 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2456 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2457 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2458 file.
2459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2460 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2461 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2462 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2463 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2464 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2465 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2466 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2467 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2468 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2471 file.
2472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2473 New file.
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2475 file.
2476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2477 file.
2478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2479 file.
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2481 file.
2482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2483 file.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2485 New file.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2487 New file.
2488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2489 file.
2490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2491 New file.
2492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2493 file.
2494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2496 file.
2497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2498 New file.
2499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2500 file.
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2502 file.
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2504 file.
2505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2506 file.
2507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2508 file.
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2510 New file.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2512 New file.
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2514 file.
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2516 New file.
2517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2518 file.
2519
41d73a1b
JM
25202012-04-28 Joseph Myers <joseph@codesourcery.com>
2521
2522 * conform/conformtest.pl: Fix typo in handling typed-constant from
2523 allow-header.
2524
28aeeda4
JM
25252012-04-27 Joseph Myers <joseph@codesourcery.com>
2526
adae8f5e
JM
2527 * README: Cut down references to pre-2.6 Linux kernels and
2528 Linuxthreads. Update lists of configurations in libc and ports
2529 and sort alphabetically. Say "or newer" with Linux kernel version
2530 requirements.
2531
28aeeda4
JM
2532 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2533
a462cb63
RA
25342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2535
2536 [BZ #887]
2537 * math/libm-test.inc (logb_test_downward): New test to expose
2538 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2539 rounding mode.
2540
6ad3493e
JM
25412012-04-27 Joseph Myers <joseph@codesourcery.com>
2542
2543 [BZ #14027]
2544 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2545 to be done.
2546 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2547 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2548
2ce4f015
JM
25492012-04-26 Joseph Myers <joseph@codesourcery.com>
2550
5aeb141a
JM
2551 * sysdeps/unix/i386/brk.S: Remove file.
2552 * sysdeps/unix/i386/dl-brk.S: Likewise.
2553 * sysdeps/unix/i386/pipe.S: Likewise.
2554 * sysdeps/unix/i386/sigreturn.S: Likewise.
2555 * sysdeps/unix/i386/syscall.S: Likewise.
2556 * sysdeps/unix/i386/vfork.S: Likewise.
2557 * sysdeps/unix/i386/wait.S: Likewise.
2558
7143acae
JM
2559 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2560 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2561
2ce4f015
JM
2562 * configure.in (arm*-none*): Do not allow without
2563 --enable-hacker-mode.
2564 (netbsd*): Remove case setting base_os.
2565 (386bsd*): Likewise.
2566 (freebsd*): Likewise.
2567 (bsdi*): Likewise.
2568 (osf*): Likewise.
2569 (sunos*): Likewise.
2570 (ultrix*): Likewise.
2571 (newsos*): Likewise.
2572 (dynix*): Likewise.
2573 (*bsd*): Likewise.
2574 (sysv*): Likewise.
2575 (isc*): Likewise.
2576 (esix*): Likewise.
2577 (sco*): Likewise.
2578 (minix*): Likewise.
2579 (irix4*): Likewise.
2580 (irix6*): Likewise.
2581 (solaris[2-9]*): Likewise.
2582 (none): Likewise.
2583 * configure: Regenerated.
2584
0ac229c8
AZ
25852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2586
2587 [BZ #11521]
2588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2589 overflow or cancellation in calculating denominator.
2590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2591 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2592 down expression to avoid unexpected rounding in newer GCCs.
2593 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2594
33f244f4
DM
25952012-04-26 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2598 long-double compat symbols.
2599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2612
cfa1f3e8
DM
26132012-04-25 David S. Miller <davem@davemloft.net>
2614
2615 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2616 HWCAP_* values only after the memory barriers have been defined.
2617 (atomic_full_barrier): Define.
2618 (atomic_read_barrier): Define.
2619 (atomic_write_barrier): Define.
2620
6e236b92
SP
26212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2622
2623 * shlib-versions: Add libgcc_s version information.
2624 * sysdeps/generic/libgcc_s.h: Remove.
2625 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2626 libgcc_s.h.
2627 * sysdeps/gnu/unwind-resume.c: Likewise.
2628 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2629
aab39a09
DM
26302012-04-25 David S. Miller <davem@davemloft.net>
2631
2632 * sysdeps/unix/sparc/brk.S: Delete.
2633 * sysdeps/unix/sparc/dl-brk.S: Delete.
2634 * sysdeps/unix/sparc/pipe.S: Delete.
2635 * sysdeps/unix/sparc/sysdep.S: Delete.
2636 * sysdeps/unix/sparc/sysdep.h: Delete.
2637 * sysdeps/unix/sparc/vfork.S: Delete.
2638 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2639 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2640 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2641 ret_ERRVAL, r0, r1, MOVE): Define.
2642 (JUMPTARGET): Remove.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2644 sysdeps/unix/sparc/sysdep.h
2645 (ENTRY, END): Remove.
2646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2647
a3cc4f48
JM
26482012-04-25 Joseph Myers <joseph@codesourcery.com>
2649
2ed8cda2
JM
2650 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2651 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2652 -DIS_IN_build.
2653
35d76d59
JM
2654 * timezone/README: Update upstream location and email address for
2655 tzcode and tzdata.
2656 * timezone/zdump.c: Update from tzcode 2012b.
2657 * timezone/zic.c: Likewise.
2658
a3cc4f48
JM
2659 * configure.in (libc_cv_as_needed): Remove test.
2660 * configure: Regenerated.
2661 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2662 conditional definition.
2663 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2664 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2665 * config.make.in (have-as-needed): Remove variable.
2666
ceab42c3
SP
26672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2668 Paul Pluzhnikov <ppluzhnikov@google.com>
2669
2670 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2671 strings correctly.
2672
3ce2865f
CLT
26732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2674
2675 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2676 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2677 * sysdeps/sh/strlen.S: Likewise.
2678
f37e0d68
JM
26792012-04-24 Joseph Myers <joseph@codesourcery.com>
2680
ae186e9a
JM
2681 * sysdeps/unix/fork.S: Remove file.
2682 * sysdeps/unix/i386/fork.S: Likewise.
2683 * sysdeps/unix/sparc/fork.S: Likewise.
2684
b96914af
JM
2685 * sysdeps/unix/system.c: Remove file.
2686 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2687
f37e0d68
JM
2688 * sysdeps/unix/getegid.S: Remove file.
2689 * sysdeps/unix/geteuid.S: Likewise.
2690
87ef29ca
RM
26912012-04-24 Roland McGrath <roland@hack.frob.com>
2692
83bcd236
RM
2693 * scripts/check-localplt.awk: New file.
2694 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2695 of diff.
2696 * scripts/data/localplt-generic.data: Add a comment.
2697
87ef29ca
RM
2698 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2699 NODE when __dir_mkfile failed.
2700 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2701 Reported by Ludovic Courtès <ludo@gnu.org>.
2702
e5a6e567
AJ
27032012-04-24 Andreas Jaeger <aj@suse.de>
2704
2705 * Makerules (common-clean): Also remove gen-as-const-headers
2706 files.
2707
c1820385
JM
27082012-04-24 Joseph Myers <joseph@codesourcery.com>
2709
2710 * Makerules (native-compile): Do not change working directory for
2711 build. Use $(OUTPUT_OPTION) in command.
2712 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2713
94e02fc4
AZ
27142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715
2716 [BZ #13886]
2717 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2718 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2719 * math/libm-test.inc (floor_test): Add more tests.
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2721
3a533ca3
JM
27222012-04-24 Joseph Myers <joseph@codesourcery.com>
2723
940ab4b3
JM
2724 * sysdeps/unix/getdents.c: Remove file.
2725 * sysdeps/unix/sysv/getdents.c: Likewise.
2726 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2727
90e037bd
JM
2728 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2729 sysdeps/unix/mman/syscalls.list.
2730 (mmap): Likewise.
2731 (mprotect): Likewise.
2732 (msync): Likewise.
2733 (munmap): Likewise.
2734 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2735 * sysdeps/unix/mman/syscalls.list: Remove.
2736 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2737
3a533ca3
JM
2738 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2739 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2740 * configure: Regenerated.
2741 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2742 $(libgcc_s_suffix).
2743 * config.make.in (libgcc_s_suffix): Remove variable.
2744
1ad743de
JM
27452012-04-23 Joseph Myers <joseph@codesourcery.com>
2746
4ad451e2
JM
2747 * sysdeps/unix/sysv/gethostname.c: Move to ...
2748 * sysdeps/posix/gethostname.c: ... here.
2749
5e37ce39
JM
2750 * sysdeps/unix/execve.S: Remove file.
2751
1ad743de
JM
2752 * sysdeps/unix/_exit.S: Remove file.
2753
4e681b5b
AJ
27542012-04-23 Andreas Jaeger <aj@suse.de>
2755
2756 [BZ #13739]
2757 * manual/Makefile: Remove make dist support, there's no
2758 need for a stand-alone documentation tar ball.
2759 (TEXI2DVI): Define always, it's not in Makeconfig.
2760 (dist): Removed.
2761 (tar-it): Removed.
2762 (edition): Removed.
2763 (glibc-doc-$(edition).tar): Removed
2764 (%.Z): Removed.
2765 (%.gz): Removed.
2766 (%.uu): Removed.
2767 (ETAGS): Remove, it's in Makeconfig.
2768 (move-if-change): Remove, it's in Makeconfig.
2769
c0baea34
PE
27702013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2771
2772 [BZ #13970]
2773 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2774 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2775 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2776 (strtod_l, strtof_l, strtold_l): Remove __wur.
2777 It is not necessarily an error to ignore strtol's return value.
2778 One can reliably look at the stored endptr to decide whether
2779 the number had valid syntax.
2780
7c0616fa
AJ
27812012-04-21 Andreas Jaeger <aj@suse.de>
2782
803cb6b7 2783 [BZ #13739]
7c0616fa
AJ
2784 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2785
b0fe253f
JM
27862012-04-21 Joseph Myers <joseph@codesourcery.com>
2787
2788 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2789 * sysdeps/unix/sysv/Versions: Remove file.
2790
8280f22d
MT
27912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2792
2793 [BZ #13927]
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2795
75ce411f 27962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2797
2798 [BZ #7064]
2799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2800 version from __vm86.
2801
097d59fa
JM
28022012-04-20 Joseph Myers <joseph@codesourcery.com>
2803
a90f3bcb
JM
2804 * sysdeps/unix/common/lxstat.c: Remove file.
2805 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2806
edc7ea78
JM
2807 * sysdeps/unix/sysv/Makefile: Remove file.
2808
cb78c221
JM
2809 * sysdeps/unix/sysv/direct.h: Remove file.
2810
efa6a45f
JM
2811 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2812 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2813 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2814 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2815 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2816 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2817 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2818
9c9f2d0c
JM
2819 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2820
4541c83b
JM
2821 * sysdeps/unix/xmknod.c: Remove file.
2822 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2823
f5d153a0
JM
2824 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2825
aa746595
JM
2826 * sysdeps/unix/sysv/i386/time.S: Remove file.
2827
cce5905e
JM
2828 * sysdeps/unix/fxstat.c: Remove file.
2829 * sysdeps/unix/xstat.c: Likewise.
2830 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2831
37fa3841
JM
2832 * sysdeps/unix/sysv/sigaction.c: Remove file.
2833
ff1962a3
JM
2834 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2835 (sysdep_headers): Remove variable.
2836 [termio.h not in sysdep_headers] (generated): Likewise.
2837 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2838 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2839 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2840 * sysdeps/unix/sysv/tcflow.c: Likewise.
2841 * sysdeps/unix/sysv/tcflush.c: Likewise.
2842 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2843 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2844 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2845 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2846 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2847
e7740d31
JM
2848 * sysdeps/unix/siglist.c: Remove file.
2849
ee06f18b
JM
2850 * sysdeps/unix/getppid.S: Remove file.
2851
097d59fa
JM
2852 * sysdeps/unix/mkdir.c: Remove file.
2853 * sysdeps/unix/rmdir.c: Likewise.
2854
ff3d51ec
AS
28552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2856
2857 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2858 ERR_MAX value.
2859 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2860 errlist-compat value.
2861
50f81fd7
DM
28622012-04-18 David S. Miller <davem@davemloft.net>
2863
2864 * sysdeps/generic/memcopy.h (reg_char): Delete.
2865 * debug/strcat_chk.c: Use char, not reg_char.
2866 * debug/strcpy_chk.c: Likewise.
2867 * debug/strncat_chk.c: Likewise.
2868 * debug/strncpy_chk.c: Likewise.
2869 * string/memchr.c: Likewise.
2870 * string/memrchr.c: Likewise.
2871 * string/rawmemchr.c: Likewise.
2872 * string/strcat.c: Likewise.
2873 * string/strchr.c: Likewise.
2874 * string/strchrnul.c: Likewise.
2875 * string/strcmp.c: Likewise.
2876 * string/strcpy.c: Likewise.
2877 * string/strncat.c: Likewise.
2878 * string/strncmp.c: Likewise.
2879 * string/strncpy.c: Likewise.
2880
8ff41c46
WS
28812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2882
2883 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2884 __builtin_memcopy is called when src and dest ranges are known to not
2885 overlap.
2886
6b652f46
WS
28872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2888
2889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2890 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2891 fwd_align_merge macro call.
2892 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2893 bwd_align_merge macro call.
2894 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2895
b282631e
WS
28962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2897
2898 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2899 bwd_align_merge macros.
2900 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2901 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2903
95aa737c
DM
29042012-04-18 David S. Miller <davem@davemloft.net>
2905
2906 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2907
7a99a614
AJ
29082012-04-18 Andreas Jaeger <aj@suse.de>
2909
2910 [BZ# 6794]
2911 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2912 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2913 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2914
2915 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2916 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2917 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2918
2919 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2920 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2921 Adjust for changed ldbl-128 files.
2922
2923 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2924 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2925 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2926
e5270c23
DM
29272012-04-17 David S. Miller <davem@davemloft.net>
2928
2929 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2930
fb5e92c9
AS
29312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2932
2933 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2934 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2935 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2936 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2937 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2938 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2939
76da7265
AZ
29402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2941
2942 [BZ #6794]
2943 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2944 * math/libm-test.inc: Add ilogb errno and exception tests.
2945 * math/w_ilogb.c: New file: ilogb wrapper.
2946 * math/w_ilogbf.c: New file: ilogbf wrapper.
2947 * math/w_ilogbl.c: New file: ilogbl wrapper.
2948 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2949 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2950 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2951 exception being thrown with 0.0 as argument.
2952 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2953 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2954 exception being thrown with 0.0 as argument.
2955 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2956 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2957 exception being thrown with 0.0 as argument.
2958 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2959 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2960 exception being thrown with 0.0 as argument.
2961 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2962 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2963 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2964 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2965 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2966 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2967 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2968 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2969 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2970
0396e69d
PB
29712012-04-17 Petr Baudis <pasky@ucw.cz>
2972
2973 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2974 with altivec.
2975
750b5926
MP
29762012-04-16 Marek Polacek <polacek@redhat.com>
2977
2978 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2979
751728a1
MP
29802012-04-16 Marek Polacek <polacek@redhat.com>
2981
2982 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2983 operands of fdivp instruction.
2984
34a27407
L
29852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2988 * elf/tst-auditmod3b.c: Likewise.
2989 * elf/tst-auditmod4b.c: Likewise.
2990 * elf/tst-auditmod5b.c: Likewise.
2991 * elf/tst-auditmod6b.c: Likewise.
2992 * elf/tst-auditmod6c.c: Likewise.
2993 * elf/tst-auditmod7b.c: Likewise.
2994 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2995 * sysdeps/x86_64/preconfigure.in: Likewise.
2996 * sysdeps/x86_64/preconfigure: Regenerated.
2997
7e73e17d
L
29982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3001 __ILP32__.
3002
c7a6ab72
AB
30032012-04-13 Antoine Balestrat <merkil33@gmail.com>
3004
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3006 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3007
a9e8e0e0
CL
30082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3009
3010 [BZ #13973]
3011 * locale/iso-639.def: Fix gl language name. Spotted by
3012 Yaron Shahrabani.
3013
ec98af7d
RM
30142012-04-12 Roland McGrath <roland@hack.frob.com>
3015
3016 [BZ #2074]
3017 * libio/libio.h (__io_write_fn): Update comment.
3018
247c3ede
PB
30192012-04-12 Petr Baudis <pasky@ucw.cz>
3020
3021 [BZ #2074]
3022 * stdio.texi (Hook Functions): The user provided writer function
3023 is not allowed to return -1.
3024
55939d6d
DM
30252012-04-11 David S. Miller <davem@davemloft.net>
3026
3027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3028
90020f5a
MF
30292012-04-11 Mike Frysinger <vapier@gentoo.org>
3030
3031 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3032 Add a leading slash to rtkaio.
3033
288f9098
JM
30342012-04-11 Jim Meyering <meyering@redhat.com>
3035
90020f5a
MF
3036 [BZ #11959]
3037 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3038 It is not necessarily an error to ignore fwrite's return
3039 value. One can reliably use ferror to test for errors after
3040 the fact.
288f9098 3041
4be2b570
L
30422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 * bits/types.h (__snseconds_t): New type.
3045 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3046
3047 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3049 (__SNSECONDS_T_TYPE): Likewise.
3050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3051 (__SNSECONDS_T_TYPE): Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3053 (__SNSECONDS_T_TYPE): Likewise.
3054
288f9098 30552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3056
3057 [BZ #2636]
3058 * manual/time.texi (Processor Time): Return type of times is
3059 elapsed real time since an arbitrary point in the past.
3060 (CPU Time): Move CLK_TCK from here...
3061 (Processor Time): ...to here. Correct description.
3062 * manual/conf.texi (Constants for Sysconf): Correct description of
3063 _SC_CLK_TCK.
3064
d7dd4413
DM
30652012-04-10 David S. Miller <davem@davemloft.net>
3066
3067 [BZ #13967]
3068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3069 where the is a gap between DT_REL(A) and DT_JMPREL.
3070
b46068fc
L
30712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3074 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3075 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3076
73d65cc3
SP
30772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
3079 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3080 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3081 (dl_main): Handle --inhibit-cache.
3082 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3083 _dl_inhibit_cache.
3084 * elf/dl-load.c (_dl_map_object): Use it.
3085 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3086
bcc8d661
JM
30872012-04-09 Joseph Myers <joseph@codesourcery.com>
3088
8f9a2fae
JM
3089 [BZ #13872]
3090 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3091 (__ieee754_powl): Saturate large exponents rather than testing for
3092 overflow of y*log2(x).
3093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3094 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3095 exceptions.
3096
bcc8d661
JM
3097 [BZ #11521]
3098 * math/s_ctan.c: Include <float.h>.
3099 (__ctan): Avoid internal overflow or cancellation in calculating
3100 denominator.
3101 * math/s_ctanf.c: Likewise.
3102 * math/s_ctanl.c: Likewise.
3103 * math/s_ctanh.c: Likewise.
3104 * math/s_ctanhf.c: Likewise.
3105 * math/s_ctanhl.c: Likewise.
3106 * math/libm-test.inc (ctan_test): Add more tests.
3107 (ctanh_test): Likewise.
3108 * sysdeps/i386/fpu/libm-test-ulps: Update.
3109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3110
823fbbb4
AJ
31112012-04-09 Andreas Jaeger <aj@suse.de>
3112
03879793
AJ
3113 [BZ #6894]
3114 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3115 is an optional BSD extension.
3116
823fbbb4
AJ
3117 [BZ #10254]
3118 * manual/stdio.texi (Opening Streams): Document additional fopen
3119 parameters.
3120
8de131cb
RM
31212012-04-09 Roland McGrath <roland@hack.frob.com>
3122
3123 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3124 %eax without telling the compiler.
3125
c0ed9d7d
CD
31262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3127
3128 [BZ # 13963]
3129 * manual/install.texi: Use sourceware.org.
3130
c483f6b4
JM
31312012-04-09 Joseph Myers <joseph@codesourcery.com>
3132
d7dd9453
JM
3133 [BZ #13873]
3134 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3135 (__ieee754_pow): Generate overflow and underflow using huge*huge
3136 and tiny*tiny rather than just returning constant infinity or zero
3137 for large exponents.
3138 * math/libm-test.inc (pow_test): Require overflow exceptions for
3139 applicable cases of large exponents.
3140
c483f6b4
JM
3141 [BZ #706]
3142 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3143 (__ieee754_pow): Use iterative multiplication algorithm only for
3144 integer exponents with absolute value below 1024. Check for odd
3145 integer exponents when using algorithm for real exponents.
3146 * math/libm-test.inc (pow_test): Add more tests.
3147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3148
d2de7579
JM
31492012-04-08 Joseph Myers <joseph@codesourcery.com>
3150
3151 [BZ #13705]
3152 * math/libm-test.inc (exp_test): Do not allow overflow exception
3153 on underflow test.
3154
f77f1232
AJ
31552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3156
3157 [BZ #13705]
3158 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3159 instead of __kernel_standard_f.
3160
3884932b
MF
31612012-04-08 Mike Frysinger <vapier@gentoo.org>
3162
3163 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3164 * sysdeps/x86_64/memset_chk.S: Likewise.
3165
54472e9c
AJ
31662012-04-08 Andreas Jaeger <aj@suse.de>
3167
6ab0fbfc
AJ
3168 [BZ #10153]
3169 * manual/startup.texi (Environment Access): Describe return value
3170 for putenv and setenv.
3171
61efba8c
AJ
3172 [BZ #6895]
3173 * manual/filesys.texi (Directory Entries): Add description for
3174 DT_LNK.
3175
95c3f29a
AJ
3176 [BZ #6890]
3177 * manual/filesys.texi (Directory Entries): Clarify that it's file
3178 system not operating system in the description of DT_UNKNOWN.
3179
54472e9c
AJ
3180 [BZ #6578]
3181 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3182
624254b1
SC
31832012-04-08 Stephen Compall <s11@member.fsf.org>
3184
3185 [BZ #6649]
3186 * manual/llio.texi (Opening and Closing Files): Add cross
3187 reference to explain mode argument.
3188
1e4920e0
MF
31892012-04-07 Mike Frysinger <vapier@gentoo.org>
3190
3191 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3192 * sysdeps/x86_64/memset_chk.S: Likewise.
3193
5ed848f3
DM
31942012-04-07 David S. Miller <davem@davemloft.net>
3195
3196 * elf/elf.h (R_SPARC_WDISP10): Define.
3197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3198 R_SPARC_SIZE32.
3199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3200 R_SPARC_SIZE64 and R_SPARC_H34.
3201
96154cd8
CD
32022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3203
3204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3205 conditions and remove no longer applicable assertion.
3206
9904dc47
L
32072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 * bits/byteswap.h: Include <features.h>.
3210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3212
f8887d0a
L
32132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 * bits/byteswap.h (__bswap_16): Removed.
3216 Include <bits/byteswap-16.h> to get __bswap_16.
3217 * sysdeps/i386/bits/byteswap.h: Likewise.
3218 * sysdeps/s390/bits/byteswap.h: Likewise.
3219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3220 * bits/byteswap-16.h: New file.
3221 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3222 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3223 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3224 * string/Makefile (headers): Add bits/byteswap-16.h.
3225
62470f60
PP
32262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3227
3228 [BZ #13895]
3229 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3230 extra indirection.
3231 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3232 * nss/tst-nss-static.c: New.
3233
4dad7bab
RM
32342012-04-06 Robert Millan <rmh@gnu.org>
3235
3236 [BZ #6486]
3237 * manual/llio.texi (File Position Primitive): lseek
3238 refers to WHENCE when it really means OFFSET.
3239
e9142a17
AJ
32402012-04-06 Andreas Jaeger <aj@suse.de>
3241
2c040eff
AJ
3242 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3243 strncmp declarations.
3244
e9142a17
AJ
3245 * abilist/libc.abilist: Add __poll and __ppoll.
3246
ff9f1c5f
DM
32472012-04-05 David S. Miller <davem@davemloft.net>
3248
dcd2ae90
DM
3249 * scripts/check-local-headers.sh: Accept a host triplet in the
3250 path matched by the exclude regexp.
3251
993eb054
DM
3252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3253 definition.
3254 * sysdeps/powerpc/powerpc32/dl-machine.h
3255 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3256 * sysdeps/s390/s390-32/dl-machine.h
3257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3258 * sysdeps/sparc/sparc32/dl-machine.h
3259 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3260 * sysdeps/sparc/sparc64/dl-machine.h
3261 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3262
ff9f1c5f
DM
3263 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3264 lazy binding.
48e2e132 3265 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3266 undefined symbol errors.
3267
48e2e132 3268 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3269 DT_NEEDED entries.
3270
e80d6f94
MM
32712012-04-05 Michael Matz <matz@suse.de>
3272
3273 [BZ #13592]
3274 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3275
349fa79f
AJ
32762012-04-05 Andreas Jaeger <aj@suse.de>
3277
3278 [BZ #13908]
3279 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3280 comment.
3281
f402708f
KK
32822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3283
3284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3285 which ROUND is no valid rounding mode.
3286
2ecccfc9
KK
32872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3288
3289 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3290 read again.
3291 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3292
8a53f50f
KK
32932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3294
3295 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3296 an exception using FPU order intentionally.
3297
32982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3299
3300 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3301 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3302 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3303 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3304
d653abb7
SJ
33052012-04-05 Simon Josefsson <simon@josefsson.org>
3306
3307 [BZ #12340]
3308 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3309 EINVAL when BUFLEN is too smal.
3310
c3b1bf7d
TS
33112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3312
3313 [BZ #13553]
3314 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3315 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3316
b1aa60f3
AJ
33172012-04-03 Andreas Jaeger <aj@suse.de>
3318
c3b1bf7d 3319 [BZ #13938]
67f60a26
AJ
3320 * manual/setjmp.texi (System V contexts): Fix sentence.
3321
b1aa60f3
AJ
3322 [BZ #13926]
3323 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3324 New macro for this case.
3325 [!__GNUC__] (__bswap_64): New inline function for this case.
3326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3327 * bits/byteswap.h: Likewise.
3328 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3329 ull, guard with __GLIBC_HAVE_LONG_LONG.
3330
3331 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3332 __GLIBC_HAVE_LONG_LONG.
3333
3334 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3335 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3336
39c59c35
TMQMF
33372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3338
3339 [BZ #13691]
3340 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3341 inptr and inend, rather than using last_ch.
3342
135ffda8
DM
33432012-04-02 David S. Miller <davem@davemloft.net>
3344
3345 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3346 * stdio-common/printf-parse.h (read_int): Change return type to
3347 'int', return -1 on INT_MAX overflow.
3348 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3349 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3350 overflows INT_MAX. Check for overflow of in-format-string precision
3351 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3352 SIZE_MAX not INT_MAX for integer overflow test.
3353 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3354 skip the construct in the format string but do not record anything.
3355 * stdio-common/bug22.c: Adjust to test both width/prevision
3356 INT_MAX overflow as well as total length INT_MAX overflow. Check
3357 explicitly for proper errno values.
3358
228c019e
TS
33592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3360
302cadd3
TS
3361 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3362 CHAR_MAX.
3363 * string/test-strcmp.c [! WIDE]: Likewise.
3364 * time/tst-mktime2.c: Likewise for INT_MAX.
3365 * string/test-string.h: #include <sys/param.h> for MIN.
3366
228c019e
TS
3367 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3368 * sysdeps/i386/init-first.c (init): Likewise.
3369 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3370 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3371 * sysdeps/sh/init-first.c (init): Likewise.
3372
cfa633f5
UD
33732012-04-01 Ulrich Drepper <drepper@gmail.com>
3374
3375 * po/ru.po: Update from translation team.
d1635ef8 3376 * po/vi.po: Likewise.
cfa633f5 3377
6cd0a5ea
SP
33782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3379
3380 * resolv/nss_dns/dns-host.c: Merge copyright years.
3381
4b43400f
LD
33822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3383
3384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3385 Optimize memcpy with prefetch if
3386 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3387 src, dst pointers have unequal 16 byte alignments.
3388
48c41d04
SP
33892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
3391 [BZ #13928]
3392 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3393 from a CNAME entry and return the minimum ttl for the query.
3394 (gaih_getanswer_slice): Likewise.
3395
b8dc394d
JL
33962012-03-30 Jeff Law <law@redhat.com>
3397
3398 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3399 due to long keys.
3400 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3401 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3402
2f5a5ed0
JL
3403 * resolv/nss_dns/dns-host.c: Update copyright year.
3404
1d39e359
UD
34052012-03-30 Ulrich Drepper <drepper@gmail.com>
3406
c030f70c 3407 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3408 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3409
1d39e359
UD
3410 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3411 comments for sendmmsg.
3412
34132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3414
3415 [BZ #13691]
3416 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3417 with only 1 character between 0x0041 and 0x01b0.
3418 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3419 * wcsmbs/tst-mbsnrtowcs.c: New file.
3420
20fde227
DM
34212012-03-29 David S. Miller <davem@davemloft.net>
3422
3423 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3424 small copies by hand.
3425
984a4237
JL
34262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3427
3428 [BZ #13761]
3429 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3430 _nss_compat_initgroups_dyn): Fall back to malloc/free
3431 for large group memberships.
3432
18c9d62b
DM
34332012-03-28 David S. Miller <davem@davemloft.net>
3434
88d85d4f
DM
3435 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3436 that branches into memcpy.
3437 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3440 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3442 bits.
3443 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3444 implementation too.
3445 * sysdeps/sparc/mempcpy.S: New file.
3446
e5aa83e1
DM
3447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3448 the IFUNC routine in the libc case.
3449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3450
88570753
DM
3451 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3452 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3453 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3454 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3455 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3456 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3457 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3458 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3459
249d7567
DM
3460 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3461 loop to 256 bytes instead of 64 bytes and fix test signedness.
3462
18c9d62b
DM
3463 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3464 * sysdeps/sparc/sparc32/Makefile: rather than here...
3465 * sysdeps/sparc/sparc64/Makefile: and here.
3466
05f3d1f6
UD
34672012-03-28 Ulrich Drepper <drepper@gmail.com>
3468
3469 * malloc/mallocbug.c: Avoid warnings about unused variables.
3470
86ae07a8
JL
34712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
3473 [BZ #13760]
3474 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3475 in the right place. Discard and retry query if response is
3476 larger than input buffer size.
3477
41bf21a1
JM
34782012-03-28 Joseph Myers <joseph@codesourcery.com>
3479
d6270972
JM
3480 [BZ #369]
3481 [BZ #2678]
3482 [BZ #3866]
3483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3484 x for large integer exponent.
3485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3486 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3487 sign of result as needed afterwards.
3488 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3489 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3490 result for underflowing pow the same as for overflow.
3491 (__kernel_standard_l): Handle powl overflow and underflow here
3492 rather than calling __kernel_standard.
3493 * math/libm-test.inc (pow_test): Add more tests.
3494
414fca03 3495 [BZ #3868]
41bf21a1
JM
3496 [BZ #13879]
3497 [BZ #13910]
3498 [BZ #13911]
3499 [BZ #13912]
3500 [BZ #13913]
3501 [BZ #13915]
3502 [BZ #13916]
3503 [BZ #13917]
3504 [BZ #13918]
3505 [BZ #13919]
3506 [BZ #13920]
3507 [BZ #13921]
3508 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3509 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3510 (__kernel_standard_l): New function.
3511 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3512 __kernel_standard.
3513 * math/w_acosl.c (__acosl): Likewise.
3514 * math/w_asinl.c (__asinl): Likewise.
3515 * math/w_atan2l.c (__atan2l): Likewise.
3516 * math/w_atanhl.c (__atanhl): Likewise.
3517 * math/w_coshl.c (__coshl): Likewise.
3518 * math/w_exp10l.c (__exp10l): Likewise.
3519 * math/w_exp2l.c (__exp2l): Likewise.
3520 * math/w_fmodl.c (__fmodl): Likewise.
3521 * math/w_hypotl.c (__hypotl): Likewise.
3522 * math/w_j0l.c (__j0l, __y0l): Likewise.
3523 * math/w_j1l.c (__j1l, __y1l): Likewise.
3524 * math/w_jnl.c (__jnl, __ynl): Likewise.
3525 * math/w_lgammal.c (__lgammal): Likewise.
3526 * math/w_log10l.c (__log10l): Likewise.
3527 * math/w_log2l.c (__log2l): Likewise.
3528 * math/w_logl.c (__logl): Likewise.
3529 * math/w_powl.c (__powl): Likewise.
3530 * math/w_remainderl.c (__remainderl): Likewise.
3531 * math/w_scalbl.c (sysv_scalbl): Likewise.
3532 * math/w_sinhl.c (__sinhl): Likewise.
3533 * math/w_sqrtl.c (__sqrtl): Likewise.
3534 * math/w_tgammal.c (__tgammal): Likewise.
3535 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3536 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3537 * math/libm-test.inc (acos_test): Add more tests.
3538 (acosh_test): Likewise.
3539 (asin_test): Likewise.
3540 (atanh_test): Likewise.
3541 (exp_test): Likewise.
3542 (exp10_test): Likewise.
3543 (exp2_test): Likewise.
3544 (expm1_test): Likewise.
3545 (lgamma_test): Likewise.
3546 (log_test): Likewise.
3547 (log10_test): Likewise.
3548 (log1p_test): Likewise.
3549 (log2_test): Likewise.
3550 (pow_test): Do not allow some spurious overflow exceptions.
3551 (sqrt_test): Add more tests.
3552 (tgamma_test): Likewise.
3553 (y0_test): Likewise.
3554 (y1_test): Likewise.
3555 (yn_test): Likewise.
3556
dd62fda6
AB
35572012-03-27 Anton Blanchard <anton@samba.org>
3558
3559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3560 MAP_HUGETLB.
3561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3562 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3564
1e3cdfda
AJ
35652012-03-27 David S. Miller <davem@davemloft.net>
3566
b855ab85
DM
3567 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3568
1e3cdfda
AJ
3569 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3570 have-as-vis3 check.
3571
35722012-03-27 Andreas Jaeger <aj@suse.de>
3573
3574 * sysdeps/x86_64/elf/configure.in: Moved to ...
3575 * sysdeps/x86_64/configure.in: ... here.
3576 * sysdeps/x86_64/elf/start.S: Moved to ...
3577 * sysdeps/x86_64/start.S: ... here.
3578 * sysdeps/x86_64/elf/configure: Delete.
3579
3580 * sysdeps/x86_64/configure.in: Merge contents from
3581 sysdeps/i386/configure.in (without i686 check).
3582
3583 * sysdeps/i386/elf/Versions: Merge into ...
3584 * sysdeps/i386/Versions: ... this.
3585 * sysdeps/i386/elf/Versions: Delete file.
3586 * sysdeps/i386/elf/start.S: Moved to ...
3587 * sysdeps/i386/start.S: ...here.
3588 * sysdeps/i386/elf/configure.in: Merge into...
3589 * sysdeps/i386/configure.in: ...here.
3590 * sysdeps/i386/elf/configure.in: Delete file.
3591 * sysdeps/i386/elf/configure: Delete file.
3592
3593 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3594 * debug/backtracesyms.c: ... here.
3595 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3596 * debug/backtracesymsfd.c: ... here.
3597 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3598 * sysdeps/generic/ifunc-sel.h: ... here.
3599
3600 * sysdeps/unix/i386/start.c: Delete file.
3601 * sysdeps/unix/sparc/start.c: Delete file.
3602 * sysdeps/unix/start.c: Delete file.
3603
3604 * sysdeps/sh/elf/configure.in: Moved to ...
3605 * sysdeps/sh/configure.in: ... here.
3606 * sysdeps/sh/elf/start.S: Moved to ...
3607 * sysdeps/sh/start.S: ... here.
3608 * sysdeps/sh/elf/configure: Delete file.
3609
3610 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3611 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3612 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3613 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3614 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3615 * sysdeps/powerpc/powerpc64/start.S: here.
3616 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3617 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3618 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3619 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3620 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3621
3622 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3623 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3624 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3625 * sysdeps/powerpc/powerpc32/start.S: ... here.
3626 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3627 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3628 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3629
3630 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3631 * sysdeps/powerpc/ifunc-sel.h: ... here.
3632 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3633 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3634
3635 * sysdeps/sparc/elf/configure.in: Moved to ...
3636 * sysdeps/sparc/configure.in: ... here.
3637 * sysdeps/sparc/elf/configure: Delete file.
3638 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3639 * sysdeps/sparc/sparc32/start.S: ... here.
3640 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3641 * sysdeps/sparc/sparc64/start.S: ... here.
3642 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3643 * sysdeps/sparc/sparc32/Makefile: ... this.
3644 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3645 * sysdeps/sparc/sparc64/Makefile: ... this.
3646
3647 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3648 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3649 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3650 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3651 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3652 * sysdeps/s390/s390-32/setjmp.S: ... here.
3653 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3654 * sysdeps/s390/s390-32/configure.in: ... here.
3655 * sysdeps/s390/s390-32/elf/configure: Delete file.
3656 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3657 * sysdeps/s390/s390-32/start.S: ... here.
3658
3659 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3660 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3661 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3662 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3663 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3664 * sysdeps/s390/s390-64/setjmp.S: ... here.
3665 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3666 * sysdeps/s390/s390-64/configure.in: ... here
3667 * sysdeps/s390/s390-64/elf/configure: Delete file.
3668 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3669 * sysdeps/s390/s390-64/start.S: ... here.
3670 * sysdeps/s390/s390-64/elf/configure: Delete.
3671
3672 * configure.in: Remove support for elf directories in sysdeps.
3673
3674 * configure: Regenerated.
3675 * sysdeps/i386/configure: Regenerated.
3676 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3677 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3678 * sysdeps/s390/s390-32/configure: Regenerated.
3679 * sysdeps/s390/s390-64/configure: Regenerated.
3680 * sysdeps/sh/configure: Regenerated.
3681 * sysdeps/sparc/configure: Regenerated.
3682 * sysdeps/x86_64/configure: Regenerated.
3683
a3f61311
AS
36842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3685
c876e002
AS
3686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3687
a3f61311
AS
3688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3689 denormal result into account.
3690
ac4c54f0
RM
36912012-03-25 Roland McGrath <roland@hack.frob.com>
3692
3693 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3694 Reported by Allan McRae <allan@archlinux.org>.
3695
6a9b9c02
JL
36962012-03-23 Jeff Law <law@redhat.com>
3697
3698 * nss/getnssent.c (__nss_getent): Fix typo.
3699
4c42a0c1
DM
37002012-03-23 David S. Miller <davem@davemloft.net>
3701
3702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3703
1532c7ac
L
37042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3707 to pad to uint64_t for each field.
3708 (dl_tls_index): Replace unsigned long with uint64_t.
3709
3ff42526
PP
37102012-03-23 Daniel Jacobowitz <dmj@google.com>
3711 Paul Pluzhnikov <ppluzhnikov@google.com>
3712
3713 [BZ #6528]
3714 * grp/Makefile (otherlibs): Don't set it.
3715 * inet/Makefile (otherlibs): Likewise.
3716 * login/Makefile (otherlibs): Likewise.
3717 * nscd/Makefile (otherlibs): Likewise.
3718 * posix/Makefile (otherlibs): Likewise.
3719 * pwd/Makefile (otherlibs): Likewise.
3720 * rt/Makefile (otherlibs): Likewise.
3721 * sunrpc/Makefile (otherlibs): Likewise.
3722 * nss/Makefile (otherlibs): Likewise.
3723 Add libnss_files to routines and static-only-routines.
3724 ($(objpfx)getent): Remove rule.
3725 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3726 static-only-routines.
3727
7c69cd14
JM
37282012-03-22 Joseph Myers <joseph@codesourcery.com>
3729
3730 [BZ #13892]
3731 * math/s_cexp.c: Include <float.h>.
3732 (__cexp): Handle exp result overflowing not necessarily
3733 overflowing both real and imaginary parts of result.
3734 * math/s_cexpf.c: Likewise.
3735 * math/s_cexpl.c: Likewise.
3736 * math/libm-test.inc (cexp_test): Add more tests.
3737 * sysdeps/i386/fpu/libm-test-ulps: Update.
3738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3739
81b035fe
L
37402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3741
3742 * include/link.h (ELFW): New macro.
3743 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3744 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3745
1da7940c
L
37462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3749 with uint64_t.
3750
b749dbb9
L
37512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3754 declaration.
3755 (struct La_x32_retval): Likewise.
3756
2ff87f3f
L
37572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 * sysdeps/x86_64/preconfigure.in: New file.
3760 * sysdeps/x86_64/preconfigure: New generated file.
3761
c0df8e69
JM
37622012-03-22 Joseph Myers <joseph@codesourcery.com>
3763
48e44791
JM
3764 [BZ #13824]
3765 * math/e_exp2l.c: Include <float.h>.
3766 (__ieee754_exp2l): Handle overflow and underflow cases
3767 separately. Only pass fractional part of argument to
3768 __ieee754_expl.
3769 * math/libm-test.inc (exp2_test): Add more tests.
3770
c0df8e69
JM
3771 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3772 negating x to take absolute value.
3773 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3774 Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3777 Likewise.
3778 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3779 computing low part if x was negated.
3780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3781
c8e43ba7
L
37822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3783
3784 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3785 la_x32_gnu_pltexit.
3786 (pltexit): Cast int_retval to ptrdiff_t.
3787 * elf/tst-auditmod3b.c: Likewise.
3788 * elf/tst-auditmod4b.c: Likewise.
3789 * elf/tst-auditmod5b.c: Likewise.
3790 * elf/tst-auditmod6b.c: Likewise.
3791 * elf/tst-auditmod6c.c: Likewise.
3792 * elf/tst-auditmod7b.c: Likewise.
3793
3794 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3795 and x32_gnu_pltexit.
3796
3797 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3798 __ELF_NATIVE_CLASS.
3799 (La_x32_regs): New macro.
3800 (La_x32_retval): Likewise.
3801 (la_x32_gnu_pltenter): New function prototype.
3802 (la_x32_gnu_pltexit): Likewise.
3803
7998fa78
AS
38042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3805
dcb33988
AS
3806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3807 exponent.
3808
233fc563
AS
3809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3810
7998fa78
AS
3811 * configure.in (libc_cv_cc_nofma): Check for option to disable
3812 generation of FMA instructions.
3813 * configure: Regenerate.
3814 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3815 * sysdeps/ieee754/dbl-64/Makefile: New file.
3816 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3817 Remove brandred-fma4.
3818 (CFLAGS-brandred-fma4.c): Remove.
3819 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3820 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3821 define.
3822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3823 define.
3824
8e95c99a
L
38252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3828 LLONG_MAX != LONG_MAX.
3829 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3830 (_fitoa_word): Likewise.
3831 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3832 LLONG_MAX != LONG_MAX.
3833 * stdio-common/_itowa.h: Include <_itoa.h>.
3834 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3835 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3836 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3837 only if not defined.
3838 (_ITOA_WORD_TYPE): Likewise.
3839 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3840 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3841
6f4db457
DM
38422012-03-21 David S. Miller <davem@davemloft.net>
3843
3844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3845
7785fe5a
L
38462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3849 of x86_64 when setting libc_cv_slibdir, libdir and
3850 libc_cv_localedir.
3851 * sysdeps/unix/sysv/linux/configure: Regenerated.
3852
4535cd55
JM
38532012-03-21 Joseph Myers <joseph@codesourcery.com>
3854
3855 * manual/lang.texi (Old Varargs): Remove section.
3856 (How Variadic): Update menu.
3857 (va_start): Do not mention varargs.h.
3858
17228132
TS
38592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3860 Joseph Myers <joseph@codesourcery.com>
3861
3862 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3863 link test.
3864 * configure: Regenerated.
3865
8149f976
TS
38662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3867
05f3d1f6
UD
3868 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3869 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3870 conformtest.pl
8149f976 3871
1a4ac776
JM
38722012-03-21 Joseph Myers <joseph@codesourcery.com>
3873
be22ce65
JM
3874 * NOTES: Remove.
3875 * Makefile (files-for-dist): Remove NOTES.
3876 (NOTES): Remove rule.
3877 * README: Don't refer to NOTES.
3878 * manual/creature.texi: Don't include macros.texi.
3879 * manual/intro.texi (creature.texi): Remove comment referring to
3880 NOTES.
3881
40b601fb
JM
3882 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3883 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3884 * configure: Regenerated.
3885 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3886 LIBC_TRY_CC_OPTION.
3887 (libc_cv_as_i686): Likewise.
3888 (libc_cv_cc_avx): Likewise.
3889 (libc_cv_cc_sse2avx): Likewise.
3890 (libc_cv_cc_fma4): Likewise.
3891 (libc_cv_cc_novzeroupper): Likewise.
3892 * sysdeps/i386/configure: Regenerated.
3893
1a4ac776
JM
3894 [BZ #13883]
3895 * sysdeps/i386/fpu/s_cexp.S: Remove.
3896 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3897 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3898 * math/libm-test.inc (cexp_test): Add more tests.
3899 * sysdeps/i386/fpu/libm-test-ulps: Update.
3900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3901
a458e7fe
AM
39022012-03-21 Allan McRae <allan@archlinux.org>
3903
3904 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3905
0cb7efc5
JM
39062012-03-21 Joseph Myers <joseph@codesourcery.com>
3907
3908 [BZ #13871]
3909 * math/w_exp2.c: Do not include <float.h>.
3910 (o_threshold, u_threshold): Remove.
3911 (__exp2): Calculate result before checking finiteness and calling
3912 __kernel_standard.
3913 * math/w_exp2f.c: Likewise.
3914 * math/w_exp2l.c: Likewise.
3915 * math/libm-test.inc (exp2_test): Require overflow exception for
3916 1e6 input.
2460d3aa
JM
3917
3918 [BZ #3866]
3919 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3920 range of signed 64-bit integers before using fistpll. Remove
3921 checks for whether integers fit in mantissa bits.
3922 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3923 the range of signed 32-bit integers before using fistpl. Remove
3924 checks for whether integers fit in mantissa bits.
3925 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3926 (__ieee754_powl): Test for y outside the range of signed 64-bit
3927 integers before using fistpll. Reduce 64-bit values to 63-bit
3928 ones as needed.
3929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3930 divide-by-zero is raised for zero to large negative powers.
3931 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3932 (__ieee754_powl): Test for y outside the range of signed 64-bit
3933 integers before using fistpll. Reduce 64-bit values to 63-bit
3934 ones as needed.
3935 * math/libm-test.inc (pow_test): Add more tests.
3936
eb96ffb0
L
39372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3938
3939 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3940 <stdio-common/_itoa.h>.
3941 * debug/segfault.c: Likewise.
3942 * elf/dl-cache.c: Likewise.
3943 * elf/dl-minimal.c: Likewise.
3944 * elf/dl-misc.c: Likewise.
3945 * elf/dl-sysdep.c: Likewise.
3946 * elf/dl-version.c: Likewise.
3947 * elf/rtld.c: Likewise.
3948 * hurd/hurdsock.c: Likewise.
3949 * hurd/lookup-retry.c: Likewise.
3950 * malloc/malloc.c: Likewise.
3951 * malloc/mtrace.c: Likewise.
3952 * nscd/nscd_getgr_r.c: Likewise.
3953 * nscd/nscd_getpw_r.c: Likewise.
3954 * nscd/nscd_getserv_r.c: Likewise.
3955 * posix/getopt_init.c: Likewise.
3956 * posix/wordexp.c: Likewise.
3957 * stdio-common/_itoa.c: Likewise.
3958 * stdio-common/printf_fphex.c: Likewise.
3959 * stdio-common/vfprintf.c: Likewise.
3960 * string/_strerror.c: Likewise.
3961 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3962 * sysdeps/i386/i686/hp-timing.h: Likewise.
3963 * sysdeps/mach/_strerror.c: Likewise.
3964 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3965 * sysdeps/mach/hurd/sethostid.c: Likewise.
3966 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3967 * sysdeps/mach/xpg-strerror.c: Likewise.
3968 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3969 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3970 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3971 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3972 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3973 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3974 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3975 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3976 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3977 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3978 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3979 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3980 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3981 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3982 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3983 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3984 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3985 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3986 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3987 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3988 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3989
3990 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3991
3992 * stdio-common/_itoa.h: Moved to ...
3993 * sysdeps/generic/_itoa.h: Here.
3994
3995 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3996
3997 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3998 instead of "_itoa.h" and "_itowa.h".
3999 * stdio-common/vfprintf.: Likewise.
4000
d1af992d
L
40012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4004 <bits/wordsize.h>.
4005 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4006 (__signbit): Likwise.
4007 (llrintf): Likwise.
4008 (llrint): Likwise.
4009
114883e0
L
40102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4013 __WORDSIZE != 64.
4014
c135cc1b
JM
40152012-03-20 Joseph Myers <joseph@codesourcery.com>
4016
4017 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4018 OVERFLOW_EXCEPTION_OK.
4019 * math/libm-test.inc ("Philosophy"): Update comment about
4020 exception testing.
4021 (OVERFLOW_EXCEPTION): Define.
4022 (OVERFLOW_EXCEPTION_OK): Likewise.
4023 (INVALID_EXCEPTION_OK): Renumber.
4024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4025 (IGNORE_ZERO_INF_SIGN): Likewise.
4026 (test_exceptions): Handle FE_OVERFLOW.
4027 (exp10_test): Expect overflow exceptions.
4028 (exp2_test): Likewise.
4029 (expm1_test): Likewise.
4030 (nextafter_test): Likewise.
4031 (pow_test): Likewise.
4032 (scalbn_test): Likewise.
4033 (scalbln_test): Likewise.
4034
95443d88
L
40352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/x86_64/bits/atomic.h
4038 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4039 64bit integer.
4040 (atomic_exchange_acq): Likewise.
4041 (__arch_exchange_and_add_body): Likewise.
4042 (__arch_add_body): Likewise.
4043 (atomic_add_negative): Likewise.
4044 (atomic_add_zero): Likewise.
4045
490df6c4
L
40462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4047
c2722551 4048 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4049 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4050
5e52b189
L
40512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4054 Check __x86_64__ instead of __WORDSIZE.
4055
a9879d4c
L
40562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4057
4058 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4059
5df98260
DM
40602012-03-19 David S. Miller <davem@davemloft.net>
4061
e1497744
DM
4062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063
5df98260
DM
4064 * sysdeps/sparc/fpu/fenv_private.h: New file.
4065 * sysdeps/sparc/fpu/math_private.h: Use it.
4066 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4067 Remove.
4068 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4069 (libc_feholdexcept_setroundl): Remove.
4070 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4071 Remove.
4072 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4073 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4074
b4c35121
L
40752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4076
4077 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4078 int64_t instead of long int.
4079 (INSERT_WORDS64): Likwise.
4080
56965fd7
L
40812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4084 _Unwind_GetCFA return to _Unwind_Ptr first.
4085
83d1aec8
JM
40862012-03-19 Joseph Myers <joseph@codesourcery.com>
4087
1897ad44
JM
4088 [BZ #13629]
4089 * math/s_clog.c: Include <float.h>.
4090 (__clog): Scale large or subnormal inputs.
4091 * math/s_clogf.c: Likewise.
4092 * math/s_clogl.c: Likewise.
4093 * math/s_clog10.c: Include <float.h>.
4094 (M_LOG10_2): Define.
4095 (__clog10): Scale large or subnormal inputs.
4096 * math/s_clog10f.c: Likewise.
4097 * math/s_clog10l.c: Likewise.
4098 * math/libm-test.inc (clog_test): Add more tests.
4099 (clog10_test): Likewise.
4100 * sysdeps/i386/fpu/libm-test-ulps: Update.
4101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102
7726d6a9
JM
4103 [BZ #11451]
4104 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4105 x and y.
4106 * math/libm-test.inc (atan2_test): Add another test.
4107
83d1aec8
JM
4108 * Makerules (common-objdir-compile): Remove.
4109 * sysdeps/unix/Makefile (config-generated): Do not add
4110 $(unix-generated) to variable.
4111 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4112 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4113 Remove rule.
4114 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4115 Likewise.
4116 [generic bits/local_lim.h] (before-compile): Do not append to
4117 variable.
4118 [generic bits/local_lim.h] (common-generated): Likewise.
4119 [generic sys/param.h] (before-compile): Do not append to variable.
4120 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4121 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4122 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4123 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4124 include.
4125 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4126 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4127 [generic sys/param.h] ($(addprefix
4128 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4129 [generic sys/param.h] (common-generated): Do not append to
4130 variable.
4131 [generic sys/param.h] (sysdep_headers): Likewise.
4132 [generic bits/errno.h] (before-compile): Do not append to
4133 variable.
4134 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4135 rule.
4136 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4137 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4138 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4139 [generic bits/errno.h] (common-generated): Do not append to
4140 variable.
4141 [generic bits/ioctls.h] (before-compile): Do not append to
4142 variable.
4143 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4144 rule.
4145 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4146 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4147 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4148 rule.
4149 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4150 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4151 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4152 [generic bits/ioctls.h] (common-generated): Do not append to
4153 variable.
4154 [generic sys/syscall.h] (syscall.h): Remove variable.
4155 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4156 rule.
4157 [generic sys/syscall.h] (before-compile): Do not append to
4158 variable.
4159 [generic sys/syscall.h] (common-generated): Likewise.
4160 * sysdeps/unix/errnos-tmpl.c: Remove file.
4161 * sysdeps/unix/errnos.awk: Likewise.
4162 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4163 * sysdeps/unix/ioctls.awk: Likewise.
4164 * sysdeps/unix/mk-local_lim.c: Likewise.
4165 * sysdeps/unix/snarf-ioctls: Likewise.
4166
4851a949
RH
41672012-03-19 Richard Henderson <rth@twiddle.net>
4168
bd37f2ee
RH
4169 * sysdeps/i386/fpu/fenv_private.h: New file.
4170 * sysdeps/i386/fpu/math_private.h: Use it.
4171 (math_opt_barrier, math_force_eval): Remove.
4172 (libc_feholdexcept_setround_53bit): Remove.
4173 (libc_feupdateenv_53bit): Remove.
4174 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4175 (math_opt_barrier, math_force_eval): Remove.
4176 (libc_feholdexcept): Remove.
4177 (libc_feholdexcept_setround): Remove.
4178 (libc_fetestexcept, libc_fesetenv): Remove.
4179 (libc_feupdateenv_test): Remove.
4180 (libc_feupdateenv, libc_feholdsetround): Remove.
4181 (libc_feresetround): Remove.
4182
d0adc922
RH
4183 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4184 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4185
0fe0f1f8
RH
4186 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4187 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4188 (libc_feupdateenv_testl): New.
4189 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4190 (libc_feupdateenv_testf): New.
4191 (libc_feupdateenv): Use libc_feupdateenv_test.
4192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4194
eb92c487
RH
4195 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4196 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4197 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4198 (libc_feresetround_noex): New.
4199 (libc_feresetround_noexf): New.
4200 (libc_feresetround_noexl): New.
4201 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4202 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4203 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4204 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4205 SET_RESTORE_ROUND.
4206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4208 (__cos): Likewise.
4209 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4210 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4211 SET_RESTORE_ROUND_NOEX.
4212 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4213 SET_RESTORE_ROUND_NOEXF.
4214 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4215 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4216 (libc_feholdsetroundf): New.
4217 (libc_feresetround, libc_feresetroundf): New.
4218
7d2e8012
RH
4219 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4220 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4221 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4222
b4dabbb4
RH
4223 * sysdeps/generic/math_private.h: Include <fenv.h>.
4224 (default_libc_feholdexcept): New.
4225 (default_libc_feholdexcept_setround): New.
4226 (default_libc_fesetenv, default_libc_feupdateenv): New.
4227 (libc_feholdexcept): Only define if undefined.
4228 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4229 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4230 (libc_feholdexcept_setroundl): Likewise.
4231 (libc_feholdexcept_setround_53bit): Likewise.
4232 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4233 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4234 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4235 (libc_feupdateenv_53bit): Likewise.
4236 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4237 (libc_feholdexcept): Convert from macro to inline function.
4238 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4239 (libc_fesetenv, libc_feupdateenv): Likewise.
4240
4851a949
RH
4241 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4242 not previously defined.
4243 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4244 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4245 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4246 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4247 * sysdeps/ieee754/flt-32/math_private.h: New file.
4248 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4249 math_private.h below SET_FLOAT_WORD.
4250 (__isnan, __isinf_ns, __finite): Remove.
4251 (__isnanf, __isinf_nsf, __finitef): Remove.
4252
e79d442e
AS
42532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4256
90b80344
DM
42572012-03-17 David S. Miller <davem@davemloft.net>
4258
4259 [BZ #6471]
4260 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4261 for 2.16.
4262
edc21804
DM
42632012-03-16 David S. Miller <davem@davemloft.net>
4264
77e927af
DM
4265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4266 warnings.
4267
374976dd
DM
4268 [BZ #6471]
4269 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4270 properly.
4271 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4272 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4273 sysdep_routines when subdir is sysvipc.
4274 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4275 __getshmlba helper.
4276
edc21804
DM
4277 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4278
473c3ef3
L
42792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4282 [__LP64__].
4283
eb0f39b6
L
42842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4285
4286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4288 (__lround): Renamed to ...
4289 (__llround): This. Replace long int with long long int.
4290 Define lround functions as aliases of llround functions.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4292
6b6cd74b
L
42932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4296 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4297 adresses to uintptr_t. Replace "long int" and "unsigned long
4298 int" with "greg_t" on va_arg.
4299
f1a77b01
L
43002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4303 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4304
4305 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4306 Move e_machine check before EI_CLASS check. Handle x32
4307 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4308 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4309 SKIP_EM_IA_64 and include
4310 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4311
4312 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4313 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4314 (add_system_dir): New macro.
4315
4316 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4317 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4318
11b90b9f
JM
43192012-03-16 Joseph Myers <joseph@codesourcery.com>
4320
c36e1d23
JM
4321 [BZ #2551]
4322 [BZ #2552]
4323 [BZ #2553]
4324 [BZ #2554]
4325 [BZ #2562]
4326 [BZ #2563]
4327 [BZ #2565]
4328 [BZ #2566]
4329 [BZ #2576]
4330 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4331 (y0): Likewise.
4332 * math/w_j0f.c (j0f): Likewise.
4333 (y0f): Likewise.
4334 * math/w_j0l.c (__j0l): Likewise.
4335 (__y0l): Likewise.
4336 * math/w_j1.c (j1): Likewise.
4337 (y1): Likewise.
4338 * math/w_j1f.c (j1f): Likewise.
4339 (y1f): Likewise.
4340 * math/w_j1l.c (__j1l): Likewise.
4341 (__y1l): Likewise.
4342 * math/w_jn.c (jn): Likewise.
4343 (yn): Likewise.
4344 * math/w_jnf.c (jnf): Likewise.
4345 (ynf): Likewise.
4346 * math/w_jnl.c (__jnl): Likewise.
4347 (__ynl): Likewise.
4348 * math/libm-test.inc (j0_test): Add more tests.
4349 (j1_test): Likewise.
4350 (jn_test): Likewise. Add trailing semicolon to existing test.
4351 (y0_test): Likewise.
4352 (y1_test): Likewise.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355
11b90b9f
JM
4356 [BZ #13851]
4357 [BZ #13854]
4358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4359 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4360 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4362 (__tanl): Set errno for infinite argument.
4363 * sysdeps/i386/fpu/mptan.c: Remove.
4364 * sysdeps/i386/fpu/s_tan.S: Likewise.
4365 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4366 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4367 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4368 * math/libm-test.inc (tan_test): Add more tests and enable more
4369 tests for double and long double.
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4372
6a1bd2a1
JK
43732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4376 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4377
10a803e0
RM
43782012-03-16 Roland McGrath <roland@hack.frob.com>
4379
4380 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4381 * configure.in: Use it for both main tree and add-ons.
4382 * configure: Regenerated.
4383
f196c7f7
L
43842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4385
4386 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4387
8848d99d
JM
43882012-03-16 Joseph Myers <joseph@codesourcery.com>
4389
96cbe7f4
JM
4390 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4391 in comment.
4392
8848d99d
JM
4393 [BZ #13851]
4394 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4395 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4399 infinite argument.
4400 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4402 != 0 for prec == 2.
4403 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4404 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4405 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4406 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4407 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4408 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4409 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4410 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4411 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4412 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4413 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4414 * math/libm-test.inc (cos_test): Add more tests and enable more
4415 tests for long double.
4416 (sin_test): Likewise.
4417 (sincos_test): Likewise.
4418 * sysdeps/i386/fpu/libm-test-ulps: Update.
4419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420
dd7f4703
DM
44212012-03-16 David S. Miller <davem@davemloft.net>
4422
4423 * sysdeps/sparc/fpu/math_private.h: New file.
4424
006f1daa
DM
44252012-03-15 David S. Miller <davem@davemloft.net>
4426
c0c83bc8
DM
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4428 file.
e6a62e18 4429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4431 file.
e6a62e18
DM
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4438 sysdep routines.
4439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4440
88cb87d9
DM
4441 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4442 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4443
006f1daa 4444 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4446 sparc-ifunc.h
006f1daa 4447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4449 Likewise.
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4451 Likewise.
006f1daa
DM
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4456 Likewise.
006f1daa
DM
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4462 Likewise.
4463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4464 Likewise.
006f1daa
DM
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4489
11e0098e
AS
44902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4491
4492 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4493 scaling.
4494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4495
e85b09d0
AJ
44962012-03-15 Andreas Jaeger <aj@suse.de>
4497
4498 [BZ #13852]
4499 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4500 ieee754/flt-32 implementation for sin, cos and sincos.
4501 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4502 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4503 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4504 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4505 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4506 ieee754/flt-32 implementation for tan.
4507
4508 * math/libm-test.inc (cos_test): Enable some large input tests for
4509 float as well
4510 (sin_test): Likewise.
4511 (sincos_test): Likewise.
4512 (tan_test): Add tests for large input.
4513
4514 * sysdeps/i386/fpu/libm-test-ulps: Update.
4515
81c64153
AJ
45162012-03-15 Andreas Jaeger <aj@suse.de>
4517
4518 [BZ #13658]
4519 * math/libm-test.inc (cos_test): Add more test cases.
4520 (sin_test): Likewise.
4521 (sincos_test): Likewise.
4522
7bbfa5c6
AJ
45232012-03-15 Andreas Jaeger <aj@suse.de>
4524
4525 [BZ #13837]
4526 * math/libm-test.inc (cos_test): Add a test case for large input
4527 value.
4528 (sin_test): Likewise.
4529 (sincos_test): Likewise.
4530
45312012-03-15 Andreas Jaeger <aj@suse.de>,
4532 Joseph Myers <joseph@codesourcery.com>
4533
4534 [BZ #13658]
0671f479 4535 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4536 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4537 * sysdeps/i386/fpu/branred.c: Likewise.
4538 * sysdeps/i386/fpu/dosincos.c: Likewise.
4539 * sysdeps/i386/fpu/mpa.c: Likewise.
4540 * sysdeps/i386/fpu/s_cos.S: Likewise.
4541 * sysdeps/i386/fpu/s_sin.S: Likewise.
4542 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4543 * sysdeps/i386/fpu/sincos32.c: Likewise.
4544
4545 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4546 Define.
4547 (libc_feupdateenv_53bit): Define.
4548 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4549 Define.
4550 (libc_feupdateenv_53bit): Define.
4551
4552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4553 53 bit (without extend i386 double precision).
4554
4555 * math/libm-test.inc (sincos_test): Add tests for large input.
4556 (sin): Likewise.
4557 (cos): Likewise.
4558
4559 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4560
9cad04ea
AS
45612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4562
4563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4564
f7062b9a
DM
45652012-03-15 David S. Miller <davem@davemloft.net>
4566
4567 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4568 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4569 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4570 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4583 file.
f7062b9a 4584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4586 file.
f7062b9a 4587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4589 file.
f7062b9a 4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4592 file.
f7062b9a
DM
4593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4595 fmin/fmax sysdep routines.
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4597
7bd951ff
DM
45982012-03-14 David S. Miller <davem@davemloft.net>
4599
559398ab
DM
4600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4629 routines.
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4631 file.
559398ab 4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4634 file.
559398ab 4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4637 file.
559398ab 4638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4640 file.
559398ab 4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4643 file.
559398ab 4644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4646 file.
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4648 file.
4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4650 file.
4651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4652 file.
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4654 New file.
4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4656 file.
4657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4658 file.
559398ab 4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4661 file.
559398ab 4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4664 file.
559398ab 4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4667 file.
559398ab 4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4670 VIS3 routines.
559398ab
DM
4671
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4673 New file.
4674
5a1c1e32
DM
4675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4676
eae47a36
DM
4677 * sysdeps/sparc/configure.in: New file.
4678 * sysdeps/sparc/configure: Generate.
4679 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4680 * configure: Regenerate.
4681 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4682 * config.make.in (have-as-vis3): New.
4683 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4684 available use -Av9d instead of -Av9a.
4685 * sysdeps/sparc/sparc64/Makefile: Likewise.
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4688 New file.
4689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4690 file.
4691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4692 New file.
4693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4694 file.
eae47a36
DM
4695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4700
c0c83bc8
DM
4701 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4702 fzeros/fnegs to load 0x80000000 into a float register instead of
4703 using the stack.
7bd951ff
DM
4704 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4705
bd951ccb
JM
47062012-03-14 Joseph Myers <joseph@codesourcery.com>
4707
4708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4709 bits/syscall.h.
4710 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4711 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4712 ($(inst_includedir)/bits/syscall.h): Remove rule.
4713 ($(objpfx)bits/syscall.d): Include instead of
4714 $(objpfx)syscall-list.d.
4715 (generated): Change syscall-list.h and syscall-list.d to
4716 bits/syscall.h and bits/syscall.d.
4717
bb4e6db2
RM
47182012-03-14 Roland McGrath <roland@hack.frob.com>
4719
4720 [BZ #13846]
4721 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4722
aa4a2ae1
JM
47232012-03-14 Joseph Myers <joseph@codesourcery.com>
4724
e456826d
JM
4725 [BZ #13841]
4726 * math/s_csqrt.c: Include <float.h>.
4727 (__csqrt): Scale large or subnormal inputs.
4728 * math/s_csqrtf.c: Likewise.
4729 * math/s_csqrtl.c: Likewise.
4730 * math/libm-test.inc (csqrt_test): Add more tests.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4733
aa4a2ae1
JM
4734 [BZ #13840]
4735 * math/libm-test.inc (hypot_test): Add more tests.
4736
7c10fd35
DM
47372012-03-13 David S. Miller <davem@davemloft.net>
4738
4739 [BZ #13840]
4740 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4741 double-precision for the calculation instead of scaling.
4742
f453b98b
JM
47432012-03-13 Joseph Myers <joseph@codesourcery.com>
4744
4745 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4746 manipulate bits before adding and subtracting TWO52[sx].
4747 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4749 Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4751
09a3453f
DM
47522012-03-13 David S. Miller <davem@davemloft.net>
4753
8e59da90
DM
4754 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4755 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4757 rtld-global-offsets.h
4758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4759
2a8ab7f2
DM
4760 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4761 large parameters.
4762
10f62770
DM
4763 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4764
5f0bdb18
DM
4765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4766 'err' in the ifdef scope in which it is actually used.
4767
09a3453f
DM
4768 * nss/nss_db/db-init.c: Include string.h
4769
b4b2eb5e
DM
47702012-03-12 David S. Miller <davem@davemloft.net>
4771
98bb2f1c
DM
4772 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4773 masking out of the most significant byte of random value used.
4774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4775 Fix coding style in previous change.
4776
b4b2eb5e
DM
4777 * sysdeps/unix/sysv/linux/kernel-features.h
4778 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4779 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4780 expression.
4781 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4782 later.
4783
6e226b09
DM
47842012-03-11 David S. Miller <davem@davemloft.net>
4785
a1bcbd40
DM
4786 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4787 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4789 for 'resultvar' otherwise things get truncated on 64-bit.
4790
cb9d6174
DM
4791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4792 Fix masking out of the most significant byte of random value used.
4793
6e226b09
DM
4794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4795
058c132d
AS
47962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4797
4798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4799
2d2cd515
DM
48002012-03-09 David S. Miller <davem@davemloft.net>
4801
4802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4803 variables with appropriate CPP guards.
4804 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4805 frame pointer, not the stack pointer. Correct layout comments. Fix test
4806 on resulting framesize and the management of the outregs buffer for pltexit.
4807 Preserve floating point return values across _dl_call_pltexit call.
4808 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4809 framesize and the management of the outregs buffer for pltexit.
4810 Preserve floating point return values across _dl_call_pltexit
4811 call.
4812 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4813 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4814 (print_exit): Fix format string for return register value.
4815
9a07f9d0
JM
48162012-03-10 Joseph Myers <joseph@codesourcery.com>
4817
4818 * sunrpc/Makefile (others): Add rpcgen.
4819 ($(objpfx)rpcgen): Remove special build rule and dependency on
4820 libc.
4821 * sunrpc/rpcgen.c: New file.
4822
547b5e30
PE
48232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4824
c524201a
PE
4825 [BZ #13673]
4826 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4827 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4828 * sysdeps/i386/crti.S: Likewise.
4829 * sysdeps/i386/crtn.S: Likewise.
4830 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4833 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4834 * sysdeps/sh/crti.S: Likewise.
4835 * sysdeps/sh/crtn.S: Likewise.
4836 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4837
7b6235f2
PE
4838 [BZ #13673]
4839 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4840 with URL.
4841 * locale/programs/locfile-kw.gperf: Likewise.
4842 * locale/programs/charmap-kw.h: Regenerated.
4843 * locale/programs/locfile-kw.h: Likewise.
4844
547b5e30
PE
4845 [BZ #13673]
4846 * intl/plural.y: Replace FSF snail mail address with URL.
4847 * intl/plural.c: Regenerated.
4848
5f0a5dae
RH
48492012-03-09 Richard Henderson <rth@twiddle.net>
4850
4851 * include/math_private.h: Remove file.
4852 * math/math_private.h: Move file ...
4853 * sysdeps/generic/math_private.h: ... here.
4854
b8c03620
RH
4855 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4856 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4857 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4858
4e234f5d 4859 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4860 and <math_private.h>.
4861 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4862 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4863 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4864 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4865 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4956 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4957 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4958 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4961 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4962 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4963 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4964 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4965 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4969 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4971 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4972 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4973 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4974 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4975 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4980 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4982 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4986 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4988 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4989 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4990 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4993 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4994 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4995 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4996 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4997 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4998 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4999 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5001 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5005 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5006 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5010 * sysdeps/ieee754/k_standard.c: Likewise.
5011 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5014 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5015 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5023 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5024 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5025 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5026 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5027 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5029 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5030 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5138 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5147 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5160 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5171 * sysdeps/ieee754/s_lib_version.c: Likewise.
5172 * sysdeps/ieee754/s_matherr.c: Likewise.
5173 * sysdeps/ieee754/s_signgam.c: Likewise.
5174 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5176 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5177 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5179 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5180 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5181 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5182 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5183 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5184 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5185 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5186 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5187 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5188 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5189 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5190 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5195
1991fa03
JM
51962012-03-09 Joseph Myers <joseph@codesourcery.com>
5197
5198 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5199 * sunrpc/rpc_main.c: Likewise.
5200 * sunrpc/rpc_svcout.c: Likewise.
5201
60d6f5a6
DM
52022012-03-09 David S. Miller <davem@davemloft.net>
5203
5204 * include/math_private.h: New file.
5205
4962050e
JM
52062012-03-09 Joseph Myers <joseph@codesourcery.com>
5207
02a6f887
JM
5208 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5209 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5210 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5211 from <bits/socket_type.h>.
5212 (enum __socket_type): Don't define here.
5213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5215 bits/socket_type.h.
5216
c6e013c1
JM
5217 [BZ #13566]
5218 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5219 checking __USE_GNU.
5220
4962050e
JM
5221 * Makerules ($(inst_includedir)/%.h): New rule.
5222 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5223 (install-others): Remove variable setting.
5224 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5225
38842f45
RH
52262012-03-08 Richard Henderson <rth@twiddle.net>
5227
67bb6da6
RH
5228 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5229 from macro to inline function; merge with the
5230 !__LIBC_INTERNAL_MATH_INLINES version.
5231 (__ieee754_sqrtf): Likewise.
5232
15194b4b
RH
5233 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5234 to inline function.
5235 (__rintf, __floor, __floorf): Likewise.
5236
64e21ede
RH
5237 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5238 macro to inline function.
5239 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5240
38842f45
RH
5241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5242 not <math/math_private.h>.
5243
c64bf5fe
DM
52442012-03-08 David S. Miller <davem@davemloft.net>
5245
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5247 copyright year.
5248 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5249
82d86f28
TS
52502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5251
5252 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5253 normalization.
5254 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5255 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5256
aea5d727
UD
52572012-03-08 Ulrich Drepper <drepper@gmail.com>
5258
5259 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5260 be defined individually, they must be defined as a block. Define
5261 S for printing a string instead of hidint the different by using a
5262 macro for adding the 'l'.
5263 * stdio-common/tst-fphex-wide.c: Adjust.
5264
70bca0a3
MP
52652012-03-07 Marek Polacek <polacek@redhat.com>
5266
5267 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5268
65b81130
MP
52692012-03-08 Marek Polacek <polacek@redhat.com>
5270
5271 [BZ #13806]
5272 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5273 * stdio-common/tst-fphex.c: Define a few macros to make the
5274 test reusable. Use them.
5275 * stdio-common/tst-fphex-wide.c: New file.
5276
07037eeb
JM
52772012-03-08 Joseph Myers <joseph@codesourcery.com>
5278
a7a93d50
JM
5279 [BZ #6911]
5280 * manual/macros.texi (gnusystems): New macro.
5281 (nongnusystems): Likewise.
5282 (gnulinuxhurdsystems): Likewise.
5283 (gnuhurdsystems): Likewise..
5284 (gnulinuxsystems): Likewise.
5285 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5286 variants of the GNU system, not "GNU system".
5287 * manual/conf.texi: Likewise.
5288 * manual/errno.texi: Likewise. Update example of errno macro
5289 expansion.
5290 * manual/filesys.texi: Likewise.
5291 (getumask): Document as specific to GNU/Hurd.
5292 * manual/install.texi: Likewise. Reword some references to
5293 GNU/Linux.
5294 * manual/intro.texi: Likewise.
5295 * manual/io.texi: Likewise.
5296 (File Name Portability): Detail which constraints are inapplicable
5297 to all GNU systems and which are only inapplicable to GNU/Hurd.
5298 * manual/job.texi: Likewise.
5299 * manual/llio.texi: Likewise.
5300 (O_NOCTTY): Document as present on GNU/Linux.
5301 * manual/maint.texi: Likewise.
5302 * manual/memory.texi: Likewise.
5303 * manual/pattern.texi: Likewise.
5304 * manual/pipe.texi: Likewise.
5305 * manual/process.texi: Likewise.
5306 * manual/resource.texi: Likewise.
5307 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5308 child on GNU/Hurd.
5309 * manual/setjmp.texi: Likewise.
5310 * manual/signal.texi: Likewise.
5311 * manual/startup.texi: Likewise.
5312 * manual/stdio.texi: Likewise.
5313 * manual/terminal.texi: Likewise.
5314 (ONLCR): Document as POSIX.
5315 (OXTABS): Document availability on GNU/Linux as XTABS.
5316 (ONOEOT): Document availability separately from other bits.
5317 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5318 * manual/time.texi: Likewise.
5319 * manual/users.texi: Likewise.
5320 * INSTALL: Regenerated.
5321 * sysdeps/gnu/errlist.c: Regenerated.
5322
07037eeb
JM
5323 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5324 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5325 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5326 puts.
5327 * configure: Regenerated.
5328
d1d3431a
JM
53292012-03-07 Joseph Myers <joseph@codesourcery.com>
5330
af6a1e37
JM
5331 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5332 default includes instead of AC_HEADER_CHECK.
5333 * sysdeps/i386/configure: Regenerated.
5334
d1d3431a
JM
5335 [BZ #10716]
5336 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5337 * math/s_cacoshf.c (__cacoshf): Likewise.
5338 * math/s_cacoshl.c (__cacoshl): Likewise.
5339 * math/s_casinh.c (__casinh): Set signs of result from argument.
5340 * math/s_casinhf.c (__casinhf): Likewise.
5341 * math/s_casinhl.c (__casinhl): Likewise.
5342 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5343 (casinh_test): Add more tests.
5344 * sysdeps/i386/fpu/libm-test-ulps: Update.
5345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5346
482ff4da
UD
53472012-03-07 Ulrich Drepper <drepper@gmail.com>
5348
872fda05
UD
5349 * po/zh_TW.po: Update from translation team.
5350
a4300c7a
UD
5351 * login/Makefile (distribute): Remove variable.
5352 * catgets/Makefile: Likewise.
5353 * mach/Makefile: Likewise.
5354 * malloc/Makefile: Likewise.
5355 * misc/Makefile: Likewise.
5356 * iconv/Makefile: Likewise.
5357 * nscd/Makefile: Likewise.
5358 * hurd/Makefile: Likewise.
5359 * manual/Makefile: Likewise.
5360 * locale/Makefile: Likewise.
5361 * intl/Makefile: Likewise.
5362 * conform/Makefile: Likewise.
5363 * nss/Makefile: Likewise.
5364 * time/Makefile: Likewise.
5365 * soft-fp/Makefile: Likewise.
5366 * dirent/Makefile: Likewise.
5367 * gmon/Makefile: Likewise.
5368 * po/Makefile: Likewise.
5369 * rt/Makefile: Likewise.
5370 * socket/Makefile: Likewise.
5371 * math/Makefile: Likewise.
5372 * signal/Makefile: Likewise.
5373 * debug/Makefile: Likewise.
5374 * elf/Makefile: Likewise.
5375 * timezone/Makefile: Likewise.
5376 * stdlib/Makefile: Likewise.
5377 * iconvdata/Makefile: Likewise.
5378 * sunrpc/Makefile: Likewise.
5379 * io/Makefile: Likewise.
5380 * argp/Makefile: Likewise.
5381 * inet/Makefile: Likewise.
5382 * hesiod/Makefile: Likewise.
5383 * grp/Makefile: Likewise.
5384 * csu/Makefile: Likewise.
5385 * wctype/Makefile: Likewise.
5386 * crypt/Makefile: Likewise.
5387 * libio/Makefile: Likewise.
5388 * string/Makefile: Likewise.
5389 * nis/Makefile: Likewise.
5390 * resolv/Makefile: Likewise.
5391 * stdio-common/Makefile: Likewise.
5392 * wcsmbs/Makefile: Likewise.
5393 * dlfcn/Makefile: Likewise.
5394 * posix/Makefile: Likewise.
5395
3b7c4e74 5396 [BZ #6959]
482ff4da
UD
5397 * timezone/Makefile: Don't install timezone files, just the programs
5398 and scripts.
5399
f72ed77d
UD
54002012-03-06 Ulrich Drepper <drepper@gmail.com>
5401
a000466f
UD
5402 * nss/databases.def: Add missing gshadow entry.
5403
f72ed77d
UD
5404 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5405
a53b7a4e
MP
54062012-03-06 Marek Polacek <polacek@redhat.com>
5407
5408 [BZ #13726]
5409 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5410 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5411 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5412 * stdio-common/tst-long-dbl-fphex.c: New file.
5413
e9258400
DM
54142012-03-06 David S. Miller <davem@davemloft.net>
5415
5416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5417 (set_obp_int): New function.
5418 (get_obp_int): New function.
5419 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5421 Avoid unused variable warnings on 'val' and use builtin_expect.
5422 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5423 __builtin_expect.
e9258400
DM
5424 (INLINE_CLONE_SYSCALL): Likewise.
5425
3bd2c723
DM
54262012-03-05 David S. Miller <davem@davemloft.net>
5427
5428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5429
bbb78d03
AS
54302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5431
884c5db4
AS
5432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5433
bbb78d03
AS
5434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5435 only for |x| >= 40.
5436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5437
1c9f702a 54382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5439
5440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5441 Replace gettimeofday with __vdso_gettimeofday.
5442
7be16f82
RM
5443 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5444 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5445 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5446
5447 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5448 time with __vdso_time.
5449
ed58a00f
JM
54502012-03-05 Joseph Myers <joseph@codesourcery.com>
5451
5452 * manual/lang.texi (size_t): Note types to which size_t may be
5453 equivalent with the GNU C Library, but do not describe when
5454 differences between them are significant.
5455
30ee4ced
AJ
54562012-03-05 Andreas Jaeger <aj@suse.de>
5457
5458 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459
b7cd39e8
JM
54602012-03-05 Joseph Myers <joseph@codesourcery.com>
5461
5462 [BZ #3976]
5463 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5464 (__ieee754_pow): Save and restore rounding mode and use
5465 round-to-nearest for main computations.
5466 * math/libm-test.inc (pow_test_tonearest): New function.
5467 (pow_test_towardzero): Likewise.
5468 (pow_test_downward): Likewise.
5469 (pow_test_upward): Likewise.
5470 (main): Call the new functions.
5471 * sysdeps/i386/fpu/libm-test-ulps: Update.
5472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5473
5474 [BZ #3976]
5475 * math/libm-test.inc (cosh_test_tonearest): New function.
5476 (cosh_test_towardzero): Likewise.
5477 (cosh_test_downward): Likewise.
5478 (cosh_test_upward): Likewise.
5479 (sinh_test_tonearest): Likewise.
5480 (sinh_test_towardzero): Likewise.
5481 (sinh_test_downward): Likewise.
5482 (sinh_test_upward): Likewise.
5483 (main): Call the new functions.
5484 * sysdeps/i386/fpu/libm-test-ulps: Update.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5486
6c6a98c9
TV
54872012-03-05 Tom de Vries <tom@codesourcery.com>
5488
5489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5490 default stack guard is set in last bytes.
5491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5492
21bb2d2e 54932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5494
21bb2d2e 5495 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5496
21bb2d2e
AJ
5497 [BZ #13656]
5498 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5499 possibly allocate from heap instead of stack.
5500 * stdio-common/bug-vfprintf-nargs.c: New file.
5501 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5502
c6922934
AS
55032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5504
5505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5506
bc957d53
MP
55072012-03-03 Marek Polacek <polacek@redhat.com>
5508
5509 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5510 * math/math_private.h: Likewise.
5511 * stdlib/tst-strtod.c: Likewise.
5512 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5513 * sysdeps/x86_64/bits/atomic.h: Likewise.
5514
6358490d
DM
55152012-03-02 David S. Miller <davem@davemloft.net>
5516
5517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5521 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5522 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5523 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5524 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5525
01ae168d
RM
55262012-03-02 Roland McGrath <roland@hack.frob.com>
5527
d9a17c07
RM
5528 [BZ #13792]
5529 * manual/examples/README: New file, says the example source files
5530 can be used under GPL>=2.
5531 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5532 line containing just "*/".
5533 * manual/examples/add.c: Add copyright header (GPL>=2).
5534 * manual/examples/argp-ex1.c: Likewise.
5535 * manual/examples/argp-ex2.c: Likewise.
5536 * manual/examples/argp-ex3.c: Likewise.
5537 * manual/examples/argp-ex4.c: Likewise.
5538 * manual/examples/atexit.c: Likewise.
5539 * manual/examples/db.c: Likewise.
5540 * manual/examples/dir.c: Likewise.
5541 * manual/examples/dir2.c: Likewise.
5542 * manual/examples/execinfo.c: Likewise.
5543 * manual/examples/filecli.c: Likewise.
5544 * manual/examples/filesrv.c: Likewise.
5545 * manual/examples/fmtmsgexpl.c: Likewise.
5546 * manual/examples/genpass.c: Likewise.
5547 * manual/examples/inetcli.c: Likewise.
5548 * manual/examples/inetsrv.c: Likewise.
5549 * manual/examples/isockad.c: Likewise.
5550 * manual/examples/longopt.c: Likewise.
5551 * manual/examples/memopen.c: Likewise.
5552 * manual/examples/memstrm.c: Likewise.
5553 * manual/examples/mkfsock.c: Likewise.
5554 * manual/examples/mkisock.c: Likewise.
5555 * manual/examples/mygetpass.c: Likewise.
5556 * manual/examples/pipe.c: Likewise.
5557 * manual/examples/popen.c: Likewise.
5558 * manual/examples/rprintf.c: Likewise.
5559 * manual/examples/search.c: Likewise.
5560 * manual/examples/select.c: Likewise.
5561 * manual/examples/setjmp.c: Likewise.
5562 * manual/examples/sigh1.c: Likewise.
5563 * manual/examples/sigusr.c: Likewise.
5564 * manual/examples/stpcpy.c: Likewise.
5565 * manual/examples/strdupa.c: Likewise.
5566 * manual/examples/strftim.c: Likewise.
5567 * manual/examples/strncat.c: Likewise.
5568 * manual/examples/subopt.c: Likewise.
5569 * manual/examples/swapcontext.c: Likewise.
5570 * manual/examples/termios.c: Likewise.
5571 * manual/examples/testopt.c: Likewise.
5572 * manual/examples/testpass.c: Likewise.
5573 * manual/examples/timeval_subtract.c: Likewise.
5574
01ae168d
RM
5575 [BZ #13792]
5576 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5577 function to ...
5578 * manual/timeval_subtract.c.texi: ... here, new file.
5579
49efa33d
DM
55802012-03-02 David S. Miller <davem@davemloft.net>
5581
5582 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5583
28afd92d
JM
55842012-03-02 Joseph Myers <joseph@codesourcery.com>
5585
804360ed
JM
5586 [BZ #3976]
5587 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5588 (__sin): Save and restore rounding mode and use round-to-nearest
5589 for all computations.
5590 (__cos): Save and restore rounding mode and use round-to-nearest
5591 for all computations.
5592 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5593 <fenv.h>.
5594 (tan): Save and restore rounding mode and use round-to-nearest for
5595 all computations.
5596 * math/libm-test.inc (cos_test_tonearest): New function.
5597 (cos_test_towardzero): Likewise.
5598 (cos_test_downward): Likewise.
5599 (cos_test_upward): Likewise.
5600 (sin_test_tonearest): Likewise.
5601 (sin_test_towardzero): Likewise.
5602 (sin_test_downward): Likewise.
5603 (sin_test_upward): Likewise.
5604 (tan_test_tonearest): Likewise.
5605 (tan_test_towardzero): Likewise.
5606 (tan_test_downward): Likewise.
5607 (tan_test_upward): Likewise.
5608 (main): Call the new functions.
5609 * sysdeps/i386/fpu/libm-test-ulps: Update.
5610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5611
a6d06d7b
JM
5612 [BZ #10135]
5613 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5614 small n, then large n, before computing and testing k+n.
5615 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5617 Likewise.
5618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5619 Likewise.
5620 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5621 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5627 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5628 * math/libm-test.inc (scalbn_test): Add more tests.
5629 (scalbln_test): Likewise.
5630
07e12bb3
JM
5631 * manual/filesys.texi (mode_t): Describe constraints on size and
5632 signedness, not exact equivalence to a particular type.
5633 (ino_t): Likewise.
5634 (ino64_t): Likewise.
5635 (dev_t): Likewise.
5636 (nlink_t): Likewise.
5637 (blkcnt_t): Likewise.
5638 (blkcnt64_t): Likewise.
5639 * manual/llio.texi (off_t): Likewise.
5640
28afd92d
JM
5641 [BZ #3976]
5642 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5643 (__ieee754_exp): Save and restore rounding mode and use
5644 round-to-nearest for all computations.
5645 * math/libm-test.inc (exp_test_tonearest): New function.
5646 (exp_test_towardzero): Likewise.
5647 (exp_test_downward): Likewise.
5648 (exp_test_upward): Likewise.
5649 (main): Call the new functions.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5652
b1eeb65d
CD
56532012-03-01 Chris Demetriou <cgd@google.com>
5654
5655 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5656 have predictable order.
5657
53362a4b
DM
56582012-03-01 David S. Miller <davem@davemloft.net>
5659
3c969083
DM
5660 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5661
759707de
DM
5662 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5663 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5664 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5665 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5666
dfdb8ff2
DM
5667 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5668 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5669 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5671 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5672 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5673 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5674 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5675 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5676
ead89f96
DM
5677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5678
7f66bd07
DM
5679 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5680 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5682
53362a4b
DM
5683 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5684 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5685 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5686 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5687 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5691 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5699 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5700 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5701 * sysdeps/sparc/elf/configure: Regenerated.
5702
7b1902cb
JM
57032012-03-01 Joseph Myers <joseph@codesourcery.com>
5704
bec039bc
JM
5705 * configure.in (AS, LD): Require binutils 2.20 or later.
5706 * configure: Regenerated.
5707 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5708 as required minimum version.
5709 * INSTALL: Regenerated.
5710
7b1902cb
JM
5711 [BZ #2541]
5712 [BZ #4108]
5713 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5714 before squaring exponent.
5715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5716 bottom long double and 27 bits of top long double before squaring
5717 exponent.
5718 * math/libm-test.inc (erfc_test): Add more tests.
5719 * sysdeps/i386/fpu/libm-test-ulps: Update.
5720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
f775c276
KT
57232012-03-01 Kai Tietz <ktietz@redhat.com>
5724
5725 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5726 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5727 containing bit-fields.
5728 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5729 * soft-fp/single.h (_FP_UNION_S): Likewise.
5730 * soft-fp/double.h (_FP_UNION_D): Likewise.
5731
5b8a4d4a
JM
57322012-02-29 Joseph Myers <joseph@codesourcery.com>
5733
0bab47b6
JM
5734 [BZ #13786]
5735 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5736 not include ../strcmp.S.
5737 [USE_AS_STRNCASECMP_L]: Likewise.
5738 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5739 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5740 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5741 (__strncasecmp_l_ia32): Define as alias to
5742 __strncasecmp_l_nonascii.
5743
0fcad3e2
JM
5744 [BZ #5794]
5745 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5748
5b8a4d4a
JM
5749 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5751
8fdceb2e
JL
57522012-02-29 Jeff Law <law@redhat.com>
5753
5754 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5755 out of bounds read.
5756
1f393a11
MP
57572012-02-29 Marek Polacek <polacek@redhat.com>
5758
5759 [BZ #13706]
5760 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5761 * elf/Makefile: Add rules to run tst-unused-dep.out.
5762
8847f037
DM
57632012-02-28 David S. Miller <davem@davemloft.net>
5764
5765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5769 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5770 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5771
169d7f11
JM
57722012-02-29 Joseph Myers <joseph@codesourcery.com>
5773
5774 * math/libm-test.inc (llround_test): Move one test from
5775 lround_test. Use TEST_f_L in moved test.
5776 (lround_test): Move misplaced test to llround_test. Add testcase
5777 from bug 2561.
5778
39adf059
UD
57792012-02-28 Ulrich Drepper <drepper@gmail.com>
5780
5781 * sysdeps/x86_64/fpu/e_expf.S: New file.
5782 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5783
71b5d1c5
SB
57842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5785
5786 [BZ #13637]
5787 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5788 of remain_len that may cause incomplete multi-byte character and
5789 false match.
5790 * posix/bug-regex33.c: New file.
5791 * posix/Makefile (tests): Add bug-regex33.
5792
1f77f049
JM
57932012-02-28 Joseph Myers <joseph@codesourcery.com>
5794
5795 * manual/macros.texi: New file.
5796 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5797 * manual/libc.texinfo: Include macros.texi.
5798 * manual/creatute.texi: Likewise.
5799 * manual/install.texi: Likewise.
5800 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5801 @glibcadj{} in references to the GNU C Library.
5802 * manual/charset.texi: Likewise.
5803 * manual/conf.texi: Likewise.
5804 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5805 when not using those macros.
5806 * manual/creature.texi: Likewise.
5807 * manual/crypt.texi: Likewise.
5808 * manual/errno.texi: Likewise.
5809 * manual/filesys.texi: Likewise.
5810 * manual/header.texi: Likewise.
5811 * manual/install.texi: Likewise.
5812 * manual/intro.texi: Likewise.
5813 * manual/io.texi: Likewise.
5814 * manual/job.texi: Likewise.
5815 * manual/lang.texi: Likewise.
5816 * manual/libc.texiinfo: Likewise.
5817 * manual/llio.texi: Likewise.
5818 * manual/locale.texi: Likewise.
5819 * manual/maint.texi: Likewise.
5820 * manual/math.texi: Likewise.
5821 * manual/memory.texi: Likewise.
5822 * manual/message.texi: Likewise.
5823 * manual/nss.texi: Likewise.
5824 * manual/pattern.texi: Likewise.
5825 * manual/process.texi: Likewise.
5826 * manual/resource.texi: Likewise.
5827 * manual/search.texi: Likewise.
5828 * manual/setjmp.texi: Likewise.
5829 * manual/signal.texi: Likewise.
5830 * manual/socket.texi: Likewise.
5831 * manual/startup.texi: Likewise.
5832 * manual/stdio.texi: Likewise.
5833 * manual/string.texi: Likewise.
5834 * manual/sysinfo.texi: Likewise.
5835 * manual/syslog.texi: Likewise.
5836 * manual/terminal.texi: Likewise.
5837 * manual/time.texi: Likewise.
5838 * manual/users.texi: Likewise.
5839 * INSTALL: Regenerated.
5840 * NOTES: Regenerated.
d40c5d54 5841 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5842
450bf206
AS
58432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5844
5845 * include/dirent.h: Include <dirstream.h> before
5846 <dirent/dirent.h>.
5847
741a235b
DM
58482012-02-28 David S. Miller <davem@davemloft.net>
5849
5850 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5851 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5852 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5854
d6b5aa58
DM
58552012-02-27 David S. Miller <davem@davemloft.net>
5856
1aff59a3
DM
5857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5861
d6b5aa58
DM
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5863 frame pointer instead of stack pointer relative arg slot.
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5867
433f48bf
CD
58682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5869
5870 [BZ #3992]
5871 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5872
d674b76d
DM
58732012-02-27 David S. Miller <davem@davemloft.net>
5874
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5879 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5880 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5881 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5882 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5883
0e7727f7
JM
58842012-02-27 Joseph Myers <joseph@codesourcery.com>
5885
5886 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5887 later. Allow versions 5-9.
43be4ca2 5888 * configure: Regenerated.
0e7727f7
JM
5889 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5890 required minimum version and 4.6 as recommended version. Do not
5891 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5892 * INSTALL: Regenerated.
0e7727f7 5893
a78bc654
DM
58942012-02-27 David S. Miller <davem@davemloft.net>
5895
428d5830
DM
5896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5900 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5901 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5902 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5903 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5904
a78bc654
DM
5905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5906 manipulate bits before adding and subtracting TWO112[sx].
5907 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5908
4579f81c
RM
59092012-02-27 Roland McGrath <roland@hack.frob.com>
5910
36c8acb4
RM
5911 [BZ #13775]
5912 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5913 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5914 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5915 being in POSIX, because they are in 1003.1-2008.
5916
84ad622b
RM
5917 * rt/tst-aio.c: Include <fcntl.h>.
5918 * rt/tst-aio7.c: Likewise.
5919 * rt/tst-aio64.c: Likewise.
5920
4579f81c
RM
5921 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5922
abd923db
JM
59232012-02-27 Joseph Myers <joseph@codesourcery.com>
5924
5925 * manual/install.texi (--with-headers): Describe headers as
5926 interface headers, not private headers.
5927 (Specific advice for GNU/Linux systems): Describe use of headers
5928 from "make headers_install", not private headers from older
5929 kernels.
43be4ca2 5930 * INSTALL: Regenerated.
abd923db
JM
5931 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5932 Change to 2.6.19.
5933 * sysdeps/unix/sysv/linux/configure: Regenerated.
5934
6664049b
JM
5935 * manual/llio.texi (fclean): Remove documentation.
5936
bb8b6697
JM
5937 * manual/Makefile (libc-texi-generated): New variable. Include
5938 version.texi.
5939 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5940 $(libc-texi-generated), not duplicated list of files.
5941 (version.texi, stamp-version): New rules.
5942 (realclean): Remove $(libc-texi-generated), not individual files
5943 from that list. Do not remove dir-add.texinfo.
5944 * manual/libc.texinfo: Comment out uses of edition numbers and
5945 references to printed manual. Remove last-updated dates.
5946 (EDITION): Comment out.
5947 (ISBN): Likewise.
5948 (VERSION, UPDATED): Remove.
5949 (version.texi): Include.
5950
12e5c3b9
AS
59512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5952
5953 * sysdeps/posix/spawni.c: Include <signal.h>.
5954 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5955 * sysdeps/pthread/aio_fsync.c: Likewise.
5956
4efeffc1 59572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5958
ba63ba08
UD
5959 * conform/Makefile (tests): Run only when not cross-compiling and
5960 when fast-check is not defined.
5961
d94a4670
UD
5962 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5963 * conform/data/limits.h-data: Fixes for POSIX2008.
5964 * conform/run-conformtest.sh: Run all tests.
5965 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5966 headers.
5967 * include/bits/dlfcn.h: Likewise.
5968 * include/langinfo.h: Likewise.
5969 * include/monetary.h: Likewise.
5970 * include/sys/poll.h: Likewise.
5971
5972 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5973 for __USE_GNU.
5974 * posix/spawn.h: Define __need_sigset_t.
5975 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5976 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5977 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5978 to get sigevent_t only.
5979 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5980 only for __USE_GNU.
5981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5982 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5983 process_vm_writev only for __USE_GNU.
5984 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5985
5986 * conform/Makefile: For now ignore errors from run-conformtest.
5987 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5988 POSIX to avoid namespace pollution. Don't prepend headers.
5989 * conform/data/aio.h-data: Fixes for POSIX testing.
5990 * conform/data/fcntl.h-data: Likewise.
5991 * conform/data/glob.h-data: Likewise.
5992 * conform/data/grp.h-data: Likewise.
5993 * conform/data/pthread.h-data: Likewise.
5994 * conform/data/pwd.h-data: Likewise.
5995 * conform/data/signal.h-data: Likewise.
5996 * conform/data/spawn.h-data: Likewise.
5997 * conform/data/stdio.h-data: Likewise.
5998 * conform/data/stdlib.h-data: Likewise.
5999 * conform/data/stropts.h-data: Likewise.
6000 * conform/data/sys/mman.h-data: Likewise.
6001 * conform/data/sys/stat.h-data: Likewise.
6002 * conform/data/sys/types.h-data: Likewise.
6003 * conform/data/sys/wait.h-data: Likewise.
6004 * conform/data/time.h-data: Likewise.
6005 * conform/data/unistd.h-data: Likewise.
6006 * conform/data/utime.h-data: Likewise.
6007
6008 * io/sys/stat.h: fchmod was always in POSIX.
6009 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6010 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6011 * rt/aio.h: Define __need_timespec before including <time.h>.
6012 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6013 struct. Add forward declaration of pthread_attr_t and use it in
6014 sigevent.
6015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6017 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6018 always remove CLK_TCK definition.
6019
c20105c3
AS
60202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6023
7a270350
UD
60242012-02-25 Ulrich Drepper <drepper@gmail.com>
6025
31341567
UD
6026 * conform/run-conformtest.sh: New file.
6027 * conform/Makefile: Run run-conformtest for tests.
6028 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6029 support.
6030
6031 * conform/data/uchar.h-data: New file.
6032 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6033 * conform/data/arpa/inet.h-data: Likewise.
6034 * conform/data/assert.h-data: Likewise.
6035 * conform/data/complex.h-data: Likewise.
6036 * conform/data/cpio.h-data: Likewise.
6037 * conform/data/ctype.h-data: Likewise.
6038 * conform/data/dirent.h-data: Likewise.
6039 * conform/data/dlfcn.h-data: Likewise.
6040 * conform/data/errno.h-data: Likewise.
6041 * conform/data/fcntl.h-data: Likewise.
6042 * conform/data/float.h-data: Likewise.
6043 * conform/data/fmtmsg.h-data: Likewise.
6044 * conform/data/fnmatch.h-data: Likewise.
6045 * conform/data/ftw.h-data: Likewise.
6046 * conform/data/glob.h-data: Likewise.
6047 * conform/data/grp.h-data: Likewise.
6048 * conform/data/iconv.h-data: Likewise.
6049 * conform/data/inttypes.h-data: Likewise.
6050 * conform/data/langinfo.h-data: Likewise.
6051 * conform/data/libgen.h-data: Likewise.
6052 * conform/data/limits.h-data: Likewise.
6053 * conform/data/locale.h-data: Likewise.
6054 * conform/data/math.h-data: Likewise.
6055 * conform/data/monetary.h-data: Likewise.
6056 * conform/data/mqueue.h-data: Likewise.
6057 * conform/data/ndbm.h-data: Likewise.
6058 * conform/data/net/if.h-data: Likewise.
6059 * conform/data/netdb.h-data: Likewise.
6060 * conform/data/netinet/in.h-data: Likewise.
6061 * conform/data/nl_types.h-data: Likewise.
6062 * conform/data/poll.h-data: Likewise.
6063 * conform/data/pthread.h-data: Likewise.
6064 * conform/data/pwd.h-data: Likewise.
6065 * conform/data/regex.h-data: Likewise.
6066 * conform/data/sched.h-data: Likewise.
6067 * conform/data/search.h-data: Likewise.
6068 * conform/data/semaphore.h-data: Likewise.
6069 * conform/data/setjmp.h-data: Likewise.
6070 * conform/data/signal.h-data: Likewise.
6071 * conform/data/spawn.h-data: Likewise.
6072 * conform/data/stdarg.h-data: Likewise.
6073 * conform/data/stdio.h-data: Likewise.
6074 * conform/data/stdlib.h-data: Likewise.
6075 * conform/data/string.h-data: Likewise.
6076 * conform/data/strings.h-data: Likewise.
6077 * conform/data/stropts.h-data: Likewise.
6078 * conform/data/sys/ipc.h-data: Likewise.
6079 * conform/data/sys/mman.h-data: Likewise.
6080 * conform/data/sys/msg.h-data: Likewise.
6081 * conform/data/sys/resource.h-data: Likewise.
6082 * conform/data/sys/select.h-data: Likewise.
6083 * conform/data/sys/sem.h-data: Likewise.
6084 * conform/data/sys/shm.h-data: Likewise.
6085 * conform/data/sys/socket.h-data: Likewise.
6086 * conform/data/sys/stat.h-data: Likewise.
6087 * conform/data/sys/statvfs.h-data: Likewise.
6088 * conform/data/sys/time.h-data: Likewise.
6089 * conform/data/sys/timeb.h-data: Likewise.
6090 * conform/data/sys/times.h-data: Likewise.
6091 * conform/data/sys/types.h-data: Likewise.
6092 * conform/data/sys/uio.h-data: Likewise.
6093 * conform/data/sys/un.h-data: Likewise.
6094 * conform/data/sys/utsname.h-data: Likewise.
6095 * conform/data/sys/wait.h-data: Likewise.
6096 * conform/data/syslog.h-data: Likewise.
6097 * conform/data/tar.h-data: Likewise.
6098 * conform/data/termios.h-data: Likewise.
6099 * conform/data/utime.h-data: Likewise.
6100 * conform/data/utmpx.h-data: Likewise.
6101 * conform/data/varargs.h-data: Likewise.
6102 * conform/data/wchar.h-data: Likewise.
6103 * conform/data/wctype.h-data: Likewise.
6104 * conform/data/wordexp.h-data: Likewise.
6105
6106 * include/stropts.h: New file.
6107 * include/uchar.h: New file.
6108 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6109 * include/assert.h: Likewise.
6110 * include/ctype.h: Likewise.
6111 * include/dirent.h: Likewise.
6112 * include/dlfcn.h: Likewise.
6113 * include/fcntl.h: Likewise.
6114 * include/fnmatch.h: Likewise.
6115 * include/glob.h: Likewise.
6116 * include/grp.h: Likewise.
6117 * include/libio.h: Likewise.
6118 * include/locale.h: Likewise.
6119 * include/math.h: Likewise.
6120 * include/net/if.h: Likewise.
6121 * include/netdb.h: Likewise.
6122 * include/netinet/in.h: Likewise.
6123 * include/pthread.h: Likewise.
6124 * include/pwd.h: Likewise.
6125 * include/regex.h: Likewise.
6126 * include/sched.h: Likewise.
6127 * include/search.h: Likewise.
6128 * include/setjmp.h: Likewise.
6129 * include/signal.h: Likewise.
6130 * include/stdio.h: Likewise.
6131 * include/stdlib.h: Likewise.
6132 * include/string.h: Likewise.
6133 * include/sys/cdefs.h: Likewise.
6134 * include/sys/mman.h: Likewise.
6135 * include/sys/msg.h: Likewise.
6136 * include/sys/resource.h: Likewise.
6137 * include/sys/select.h: Likewise.
6138 * include/sys/socket.h: Likewise.
6139 * include/sys/stat.h: Likewise.
6140 * include/sys/statvfs.h: Likewise.
6141 * include/sys/time.h: Likewise.
6142 * include/sys/times.h: Likewise.
6143 * include/sys/uio.h: Likewise.
6144 * include/sys/utsname.h: Likewise.
6145 * include/sys/wait.h: Likewise.
6146 * include/termios.h: Likewise.
6147 * include/time.h: Likewise.
6148 * include/ulimit.h: Likewise.
6149 * include/unistd.h: Likewise.
6150 * include/utime.h: Likewise.
6151 * include/wchar.h: Likewise.
6152 * include/wctype.h: Likewise.
6153 * include/wordexp.h: Likewise.
6154
6155 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6156
7a270350
UD
6157 * time/time.h: TIME_UTC must be a macro.
6158 Make timespec_get available for ISO C11 only as well.
6159
7724defc
UD
61602012-02-24 Ulrich Drepper <drepper@gmail.com>
6161
6162 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6163 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6164
6b1d1d46
JM
61652012-02-24 Joseph Myers <joseph@codesourcery.com>
6166
6167 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6168
0f8bbd69
JM
61692012-02-24 Joseph Myers <joseph@codesourcery.com>
6170
6171 * manual/texinfo.tex: Update to version 2012-01-19.16.
6172
66ab80bc
JM
61732012-02-24 Joseph Myers <joseph@codesourcery.com>
6174
6175 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6176
74981cc5
RM
61772012-02-24 Roland McGrath <roland@hack.frob.com>
6178
ee968201
RM
6179 [BZ #13738]
6180 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6181 * manual/fdl-1.3.texi: New file.
6182 * manual/fdl-1.1.texi: File removed.
6183
74981cc5
RM
6184 [BZ #13738]
6185 * manual/libc.texinfo (FDL_VERSION): New @set.
6186 Use it for mention of FDL in cover text.
6187 (Documentation License): Use it in @include file name.
6188
7bb764bc
JM
61892012-02-22 Joseph Myers <joseph@codesourcery.com>
6190 Roland McGrath <roland@hack.frob.com>
6191
6192 [BZ #5461]
6193 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6194 not LONG_LONG_MAX and LONG_LONG_MIN.
6195 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6196 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6197 name.
6198 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6199
6cbeae47
JM
62002012-02-22 Joseph Myers <joseph@codesourcery.com>
6201
6202 [BZ #2547]
6203 [BZ #11365]
6204 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6205 manipulate bits before adding and subtracting TWO23[sx].
6206 * math/libm-test.inc (nearbyint_test): Add more tests.
6207
fe45ce09
JM
62082012-02-22 Joseph Myers <joseph@codesourcery.com>
6209
6210 [BZ #2548]
6211 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6212 bits before adding and subtracting TWO23[sx].
6213 * math/libm-test.inc (rint_test): Add more tests.
6214 (rint_test_tonearest): Likewise.
6215 (rint_test_towardzero): Likewise.
6216 (rint_test_downward): Likewise.
6217 (rint_test_upward: Likewise.
6218
ff3b3d82
JM
62192012-02-22 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #10110]
6222 * include/stdc-predef.h: New file. Extracted from features.h.
6223 * include/features.h: Include stdc-predef.h.
6224 * Makefile (headers): Add stdc-predef.h.
6225 * CONFORMANCE (Compiler limitations): Update.
6226
ef0aab35
JM
62272012-02-22 Joseph Myers <joseph@codesourcery.com>
6228
6229 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6230
58639409
DM
62312012-02-21 David S. Miller <davem@davemloft.net>
6232
6233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6234 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6235
c0e70b25
DM
62362012-02-20 David S. Miller <davem@davemloft.net>
6237
6238 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6239 using a normal save/restore sequence, rather than allocating a
6240 dummy stack frame just to store a frame pointer and restore.
6241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6242
fb06851d
JM
62432012-02-21 Joseph Myers <joseph@codesourcery.com>
6244
6245 * manual/install.texi: Fix stray word in line-wrapped comment.
6246
7a8b71c3
DM
62472012-02-20 David S. Miller <davem@davemloft.net>
6248
d510c123
DM
6249 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6250 both binutils and gcc support GOTDATA.
6251
0722d7c2
DM
6252 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6253 "rd %pc" in the PIC register setup sequences.
6254
3d2b3019
DM
6255 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6256 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6257 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6258 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6259 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6261 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6264 (SYSCALL_ERROR_HANDLER): Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6268 (SYSCALL_ERROR_HANDLER): Likewise.
6269
c80098a9
DM
6270 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6271 (HAVE_GCC_GOTDATA): New.
6272 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6273 relocation support in both binutils and gcc.
6274 * sysdeps/sparc/elf/configure: Regenerate.
6275
3a2545a0
DM
6276 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6277 * sysdeps/sparc/sparc32/elf/configure: Delete.
6278 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6279 * sysdeps/sparc/sparc64/elf/configure: Delete.
6280 * sysdeps/sparc/elf/configure.in: New file.
6281 * sysdeps/sparc/elf/configure: Generate.
6282
7a8b71c3
DM
6283 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6284 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6286 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6287 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6288
f1e86fca
JM
62892012-02-21 Joseph Myers <joseph@codesourcery.com>
6290
6291 * manual/install.texi: Do not mention specific glibc version
6292 numbers.
6293 * manual/libc.texinfo (VERSION, UPDATED): Update.
6294 (@copying): Use @copyright{} and range of years.
6295
0e7dfaef
JM
62962012-02-21 Joseph Myers <joseph@codesourcery.com>
6297
6298 [BZ #13695]
6299 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6300 [crti.S not in sysdirs] (generated): Do not append.
6301 [crti.S not in sysdirs] (omit-deps): Likewise.
6302 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6303 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6304 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6305 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6306 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6307 Likewise.
6308 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6309 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6310 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6311 * csu/defs.awk: Remove file.
6312 * sysdeps/generic/initfini.c: Likewise.
6313 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6314 variable.
6315 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6316 Likewise.
6317
599af3ca
JM
63182012-02-20 Joseph Myers <joseph@codesourcery.com>
6319
6320 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6321 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6325 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6326 <bits/epoll.h>.
6327 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6328 (__EPOLL_PACKED): Define to empty if not defined by
6329 <bits/epoll.h>.
6330 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6332 bits/epoll.h.
6333
0e499750
JM
63342012-02-20 Joseph Myers <joseph@codesourcery.com>
6335
6336 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6337 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6338 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6339 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6340 <bits/timerfd.h>.
6341 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6343 bits/timerfd.h.
6344
5ad91f6e
JM
63452012-02-20 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6348 in C locale.
6349 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353
06b99b02
AJ
63542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6355
6356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6358
7638c0fd
AS
63592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6360
6361 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6362 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6363 defined.
6364 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6365 Likewise.
6366 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6367 entry for 2.16.
6368
92221550
AJ
63692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6370
6371 * math/w_acos.c: Use non-signaling floating-point comparisons.
6372 * math/w_acosf.c: Likewise.
6373 * math/w_acosh.c: Likewise.
6374 * math/w_acoshf.c: Likewise.
6375 * math/w_acoshl.c: Likewise.
6376 * math/w_acosl.c: Likewise.
6377 * math/w_asin.c: Likewise.
6378 * math/w_asinf.c: Likewise.
6379 * math/w_asinl.c: Likewise.
6380 * math/w_atanh.c: Likewise.
6381 * math/w_atanhf.c: Likewise.
6382 * math/w_atanhl.c: Likewise.
6383 * math/w_exp2.c: Likewise.
6384 * math/w_exp2f.c: Likewise.
6385 * math/w_exp2l.c: Likewise.
6386 * math/w_j0.c: Likewise.
6387 * math/w_j0f.c: Likewise.
6388 * math/w_j0l.c: Likewise.
6389 * math/w_j1.c: Likewise.
6390 * math/w_j1f.c: Likewise.
6391 * math/w_j1l.c: Likewise.
6392 * math/w_jn.c: Likewise.
6393 * math/w_jnf.c: Likewise.
6394 * math/w_log.c: Likewise.
6395 * math/w_log10.c: Likewise.
6396 * math/w_log10f.c: Likewise.
6397 * math/w_log10l.c: Likewise.
6398 * math/w_log2.c: Likewise.
6399 * math/w_log2f.c: Likewise.
6400 * math/w_log2l.c: Likewise.
6401 * math/w_logf.c: Likewise.
6402 * math/w_logl.c: Likewise.
6403 * math/w_sqrt.c: Likewise.
6404 * math/w_sqrtf.c: Likewise.
6405 * math/w_sqrtl.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6411
ebaf36eb
JM
64122012-02-19 Joseph Myers <joseph@codesourcery.com>
6413
6414 [BZ #9739]
6415 * manual/string.texi (strnlen): Use correct parameter name in
6416 equivalent expression.
6417
71c254a6
JM
64182012-02-19 Joseph Myers <joseph@codesourcery.com>
6419
6420 [BZ #11174]
6421 * manual/users.texi (seteuid): Consistently use neweuid for
6422 argument name.
6423
16d2c631
JM
64242012-02-19 Joseph Myers <joseph@codesourcery.com>
6425
6426 [BZ #13704]
6427 * manual/nss.texi (Services in the NSS configuration): Correct
6428 list of services in example configuration file.
6429
cd837b09
NB
64302012-02-19 Nick Bowler <nbowler@draconx.ca>
6431
6432 [BZ #11322]
6433 * manual/arith.texi: Remove statements about negative zero
6434 behaving identically to zero.
6435
02c4bbad
JM
64362012-02-18 Joseph Myers <joseph@codesourcery.com>
6437
6438 [BZ #5993]
6439 * manual/install.texi: Do not document upgrading from libc5.
6440
366842e7
JM
64412012-02-18 Joseph Myers <joseph@codesourcery.com>
6442
6443 [BZ #4596]
6444 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6445
dd54084d
DM
64462012-02-18 David S. Miller <davem@davemloft.net>
6447
6448 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6449 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6450 %o7 across the call.
6451 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6452 instead.
6453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6454 SETUP_PIC_REG_LEAF.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6456 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6457 * sysdeps/sparc/crtn.S: Likewise.
6458
2bcc53a3
UD
64592012-02-17 Ulrich Drepper <drepper@gmail.com>
6460
6461 * aout/Makefile: Remove.
6462
09c093b5
RK
64632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6464
6465 [BZ #13058]
6466 * manual/examples/argp-ex1.c (main): Format definition in GNU
6467 style.
6468 * manual/examples/argp-ex2.c (main): Likewise.
6469 * manual/examples/argp-ex3.c (main): Likewise.
6470 * manual/examples/argp-ex4.c (main): Likewise.
6471 * manual/examples/longopt.c (main): Use new-style prototype
6472 definition.
6473 * manual/examples/strncat.c (main): Specify return type and use
6474 (void) for arguments.
6475 * manual/examples/subopt.c (main): Use char **argv argument.
6476
2ee633a2
JM
64772012-02-17 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #5077]
6480 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6481 rounding modes.
6482
0520adde
FB
64832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6484
6485 [BZ #6907]
6486 * manual/string.texi (strchr): Change when strchrnul is
6487 recommended.
6488
3f4081cd
DGM
64892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6490
6491 [BZ #174]
6492 * manual/locale.texi (setlocale): Document LOCPATH.
6493
d1b10e78
JM
64942012-02-17 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #10210]
6497 * manual/process.texi (execle): Move @dots{} before last argument.
6498
79c6869c
PB
64992012-02-17 Paul Bolle <pebolle@tiscali.nl>
6500
6501 [BZ #12047]
6502 * manual/charset.texi (Generic Charset Conversion): Fix typo
6503 (LC_TYPE -> LC_CTYPE).
6504
cc6e48bc
NB
65052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6506
6507 [BZ #5805]
6508 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6509 (scalbnf): Likewise.
6510 (scalbnl): Likewise.
6511 (scalbln): Likewise.
6512 (scalblnf): Likewise.
6513 (scalblnl): Likewise.
6514 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6515 (vwarnx): Likewise.
6516 (verr): Likewise.
6517 (verrx): Likewise.
6518 * manual/filesys.texi (telldir): Use braces around return type.
6519 * manual/llio.texi (mmap): Add space after comma.
6520 (mmap64): Likewise.
6521 * manual/math.texi (jn): Use @var{} on parameter names.
6522 (jnf): Likewise.
6523 (jnl): Likewise.
6524 (yn): Likewise.
6525 (ynf): Likewise.
6526 (ynl): Likewise.
6527 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6528 line.
6529 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6530 "...".
6531 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6532 (sched_get_priority_max): Likewise.
6533 * manual/signal.texi (sigvec): Add space after comma.
6534 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6535 names.
6536 (if_indextoname): Likewise.
6537 (if_freenameindex): Likewise.
6538 (sendto): Use ',' instead of '.' in prototype.
6539 * manual/startup.texi (syscall): Use @dots{} instead of literal
6540 "...".
6541 * manual/stdio.texi (__fpending): Separate initial words of
6542 paragraph from @deftypefun line.
6543 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6544 "...".
6545 (vsyslog): Use @var{} on parameter names.
6546 * manual/terminal.texi (stty): Use @var{} on parameter names.
6547 * manual/users.texi (getutmp): Use @var{} on parameter names.
6548 (getutmpx): Likewise.
6549
5b23062f
JM
65502012-02-17 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #6884]
6553 * manual/stdio.texi (fopen): Fix typos in description of
6554 ",ccs=STRING".
6555
8dee4833
AJ
65562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6557
6558 [BZ #4026]
6559 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6560 get clock_id definition.
6561
9078ce93
TS
65622012-02-17 Thomas Schwinge <thomas@schwinge.name>
6563
6564 [BZ #4822]
6565 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6566 (madvise): Cast every argument to void on its own.
6567
3835c55f
JM
65682012-02-17 Joseph Myers <joseph@codesourcery.com>
6569
6570 [BZ #9902]
6571 * manual/startup.texi (Exit Status): Fix typo.
6572
35c47e37
JM
65732012-02-17 Joseph Myers <joseph@codesourcery.com>
6574
6575 [BZ #10140]
6576 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6577 * manual/examples/argp-ex2.c: Likewise.
6578 * manual/examples/argp-ex3.c: Likewise.
6579
e3b69ca7
RH
65802012-02-16 Richard Henderson <rth@redhat.com>
6581
6582 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6583 * sysdeps/s390/s390-32/initfini.c: Remove.
6584 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6585 * sysdeps/s390/s390-64/initfini.c: Remove.
6586
df83af67
KK
65872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6588
6589 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6590 compiler output for sysdeps/generic/initfini.c.
6591 * sysdeps/sh/elf/initfini.c: Remove file.
6592
f63f3380
DM
65932012-02-16 David S. Miller <davem@davemloft.net>
6594
fb59b3a4
DM
6595 [BZ #11494]
6596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6597
f63f3380
DM
6598 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6599 * sysdeps/sparc/crti.S: New file.
6600 * sysdeps/sparc/crtn.S: New file.
6601 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6602 * sysdeps/sparc/sparc64/Makefile: Likewise.
6603
df6a4a4a
MF
66042012-02-15 Mike Frysinger <vapier@gentoo.org>
6605
6dd8f3dc 6606 [BZ #3335]
df6a4a4a
MF
6607 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6608
1cac7236
RM
66092012-02-15 Roland McGrath <roland@hack.frob.com>
6610
d2c736f8
RM
6611 [BZ #4822]
6612 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6613
1cac7236
RM
6614 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6615 (write, read, close): Likewise.
6616 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6617
8e475601
JM
66182012-02-15 Joseph Myers <joseph@codesourcery.com>
6619
6620 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6621 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6623 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6624 <bits/signalfd.h>.
6625 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6627 bits/signalfd.h.
6628
ed656b40
MP
66292012-02-14 Marek Polacek <polacek@redhat.com>
6630
6631 * sysdeps/x86_64/crti.S: New file.
6632 * sysdeps/x86_64/crtn.S: New file.
6633 * sysdeps/x86_64/elf/initfini.c: Remove file.
6634
2a979d3a
JM
66352012-02-13 Joseph Myers <joseph@codesourcery.com>
6636
6637 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6638 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6640 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6641 <bits/inotify.h>.
6642 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6644 bits/inotify.h.
6645
2a418ac3
JM
66462012-02-13 Joseph Myers <joseph@codesourcery.com>
6647
6648 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6649 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6651 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6652 <bits/eventfd.h>.
6653 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6655 bits/eventfd.h.
6656
fb779be7
TS
66572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6658
e19e83c5
RM
6659 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6660 __feraiseexcept instead of feraiseexcept.
7c35ffed 6661
fb779be7
TS
6662 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6663 nanosleep invocations.
6664 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6665 strings, and add error checking for a nanosleep invocations.
6666
59ba27a6
PE
66672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6668
6669 Replace FSF snail mail address with URLs, as per GNU coding standards.
6670 Most of the snail mail addresses were wrong anyway, and omitting
6671 them makes the source code easier to maintain. Almost all of the
6672 changes are to license notices and to locale LC_IDENTIFICATION
6673 addresses, except for this one:
6674 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6675 not its snail mail address.
6676
57b957eb
RH
66772012-02-09 Richard Henderson <rth@twiddle.net>
6678
af850b1c
RH
6679 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6680 of kernel-features.h.
6681
57b957eb
RH
6682 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6683
6b73181a
MP
66842012-02-08 Marek Polacek <polacek@redhat.com>
6685
6686 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6687 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6688 * sysdeps/gnu/_G_config.h: Likewise.
6689 * sysdeps/generic/_G_config.h: Likewise.
6690
26ecc33a
AS
66912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6692
6c6dbc63
AS
6693 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6694 tests.
6695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696
e216c012
AS
6697 * sysdeps/powerpc/powerpc32/crti.S: New file.
6698 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6699 * sysdeps/powerpc/powerpc64/crti.S: New file.
6700 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6701
26ecc33a
AS
6702 * Makeconfig (have-initfini): Don't set.
6703 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6704 * configure.in (nopic_initfini): Don't substitute.
6705 * config.h.in (HAVE_INITFINI): Don't #undef.
6706 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6707 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6708
3add8e13
JM
67092012-02-08 Joseph Myers <joseph@codesourcery.com>
6710
6711 Support crti.S and crtn.S provided directly by architectures.
6712 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6713 [crti.S in sysdirs] (omit-deps): Likewise.
6714 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6715 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6716 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6717 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6718 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6719 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6720 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6721 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6722 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6723 compiler output for sysdeps/generic/initfini.c.
6724 * sysdeps/i386/elf/Makefile: Remove file.
6725 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6726
a22f12b4
MP
67272012-02-07 Marek Polacek <polacek@redhat.com>
6728
6729 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6730 * sysdeps/gnu/_G_config.h: Likewise.
6731 * sysdeps/mach/hurd/_G_config.h: Likewise.
6732
148cf100
MP
67332012-02-07 Marek Polacek <polacek@redhat.com>
6734
6735 * math/Makefile (tests): Add tst-CMPLX2.
6736 * math/tst-CMPLX2.c: New file.
6737
cfdc0dd7
AS
67382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6739
84ba42c4
AS
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6741
cfdc0dd7
AS
6742 * math/libm-test.inc (jn_test): Add missing L suffix.
6743
622c86f4
MP
67442012-02-06 Marek Polacek <polacek@redhat.com>
6745
6746 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6747 * sysdeps/i386/fpu/e_powf.S: Likewise.
6748 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6749 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6750 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6751 * sysdeps/i386/fpu/e_pow.S: Likewise.
6752 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6753 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6754 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6755 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6756 * sysdeps/i386/fpu/e_log2.S: Likewise.
6757 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6758 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6759 * sysdeps/i386/fpu/e_powl.S: Likewise.
6760 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6762 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6763 * sysdeps/i386/fpu/e_logl.S: Likewise.
6764 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6765 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6766 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6767 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6768 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6770 * sysdeps/i386/fpu/e_log.S: Likewise.
6771 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6772 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6773 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6774 * sysdeps/i386/fpu/e_logf.S: Likewise.
6775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6777 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6778 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6779 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6780 * sysdeps/i386/fpu/e_log10.S: Likewise.
6781 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6783 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6784 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6785 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6786 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6787 * sysdeps/i386/asm-syntax.h: Likewise.
6788 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6789 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6790 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6791 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6792 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6793 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6794 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6795 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6796 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6797 * sysdeps/powerpc/sysdep.h: Likewise.
6798 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6800
d4a54ac6
JM
68012012-02-06 Joseph Myers <joseph@codesourcery.com>
6802
6803 [BZ #411]
6804 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6805
314054ea
JM
68062012-02-06 Joseph Myers <joseph@codesourcery.com>
6807
6808 * sysdeps/i386/sysdep.h: Include <features.h>.
6809 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6810 version.
6811
d8e0ca50
JM
68122012-02-05 Joseph Myers <joseph@codesourcery.com>
6813
6814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6815 Define.
6816 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6817 LOAD_PIC_REG_STR.
6818
b1da7dd9
JM
68192012-02-03 Joseph Myers <joseph@codesourcery.com>
6820
6821 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6822 (SETUP_PIC_REG): Use GET_PC_THUNK.
6823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6824 macro.
6825
9a1d9254
JM
68262012-02-03 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6829 for non-PIC compilation.
6830 (SETUP_PIC_REG): Add .p2align directive.
6831 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6832 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6833 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6836 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6837 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6872
65dc3b75
JM
68732012-02-03 Joseph Myers <joseph@codesourcery.com>
6874
6875 * math/tst-CMPLX.c: Include <stdio.h>.
6876
d55bf177
JM
68772012-01-31 Joseph Myers <joseph@codesourcery.com>
6878
6879 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6880 float.
6881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6882 * sysdeps/sparc/bits/mathdef.h: Likewise.
6883
69db4f8f
MP
68842012-01-31 Marek Polacek <polacek@redhat.com>
6885
6886 * libio/libio.h: Don't define _PARAMS.
6887 * locale/programs/config.h: Don't define PARAMS.
6888 * stdlib/strtol_l.c: Likewise.
6889 (__strtol_l): Remove PARAMS from the prototype.
6890
41b81892
UD
68912012-01-31 Ulrich Drepper <drepper@gmail.com>
6892
3b49edc0
UD
6893 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6894 names. Just use the correct names. Remove unnecessary wrapper
6895 functions.
6896 * malloc/arena.c: Likewise.
6897 * malloc/hooks.c: Likewise.
6898
41b81892
UD
6899 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6900 ARENA_TEST says not to. Simplify test for creation of a new arena.
6901 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6902
27a25b6e
UD
69032012-01-30 Ulrich Drepper <drepper@gmail.com>
6904
6905 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6906 into tail calls.
6907 (update_get_addr): New function.
6908 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6909 GET_ADDR_MODULE parameter.
6910
c8a89e7d
JM
69112012-01-30 Joseph Myers <joseph@codesourcery.com>
6912
6913 * crypt/cert.c: Remove __STDC__ conditionals.
6914 * crypt/crypt-entry.c: Likewise.
6915 * crypt/crypt_util.c: Likewise.
6916 * libio/filedoalloc.c: Likewise.
6917 * libio/fileops.c: Likewise.
6918 * libio/genops.c: Likewise.
6919 * libio/iofclose.c: Likewise.
6920 * libio/iofdopen.c: Likewise.
6921 * libio/iofopen.c: Likewise.
6922 * libio/iofopen64.c: Likewise.
6923 * libio/iogetdelim.c: Likewise.
6924 * libio/iopopen.c: Likewise.
6925 * libio/obprintf.c: Likewise.
6926 * libio/oldfileops.c: Likewise.
6927 * libio/oldiofclose.c: Likewise.
6928 * libio/oldiofdopen.c: Likewise.
6929 * libio/oldiofopen.c: Likewise.
6930 * libio/oldiopopen.c: Likewise.
6931 * libio/wfiledoalloc.c: Likewise.
6932 * libio/wgenops.c: Likewise.
6933 * locale/programs/xmalloc.c: Likewise.
6934 * misc/syslog.c: Likewise.
6935 * stdio-common/xbug.c: Likewise.
6936 * string/memchr.c: Likewise.
6937 * string/memcmp.c: Likewise.
6938 * string/memrchr.c: Likewise.
6939 * string/rawmemchr.c: Likewise.
6940 * sysdeps/posix/getcwd.c: Likewise.
6941 * time/strftime_l.c: Likewise.
6942
3b100462
JM
69432012-01-30 Joseph Myers <joseph@codesourcery.com>
6944
6945 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6946 * config.make.in (config-cflags-sse2avx): Define.
6947 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6948 Fix typo.
6949
607998af
CM
69502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6951
6952 * scripts/config.guess: Update from upstream config git repository.
6953 * scripts/config.sub: Likewise.
6954
3601428f
CM
69552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6956
3ac8b282
CM
6957 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6958 (EM_NUM): Update.
6959 (R_TILEPRO_*, R_TILEGX_*): New macros.
6960
e034841e
CM
6961 * scripts/firstversions.awk: Fix bug in version range handling.
6962
540d7568
CM
6963 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6964
3601428f
CM
6965 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6966
463de862
CM
6967 * include/sys/epoll.h: New file.
6968 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6969 libc_hidden_def.
6970
73139a76
UD
69712012-01-28 Ulrich Drepper <drepper@gmail.com>
6972
96bc5b45
UD
6973 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6974 Avoid unnecessary __WORDSIZE == 64 test.
6975 (fmaxf): Use VEX format if possible.
6976 (fmax): Likewise.
6977 (fminf): Likewise.
6978 (fmin): Likewise.
6979
56f6f6a2
UD
6980 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6981 * math/math_private.h: Remove libc_fegetround* and
6982 libc_fesetround*.
6983 * sysdeps/i386/configure.in: Check for -msse2avx.
6984 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6985 also if SSE2AVX is defined.
6986 Remove libc_fegetround* and libc_fesetround*.
6987 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6988 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6990 of HAS_YMM_USABLE.
6991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6996
73139a76
UD
6997 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6998
d73f93a4
AZ
69992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7002 size is not set.
7003 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7004
6ee65ed6
UD
70052012-01-27 Ulrich Drepper <drepper@gmail.com>
7006
7007 [BZ #13618]
7008 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7009 relocation.
7010 * Makeconfig (libm): Define.
7011 * elf/Makefile: Add rules to build and run tst-relsort1.
7012 * elf/tst-relsort1.c: New file.
7013 * elf/tst-relsort1mod1.c: New file.
7014 * elf/tst-relsort1mod2.c: New file.
7015
8db21882
JM
70162012-01-27 Joseph Myers <joseph@codesourcery.com>
7017
7018 * math/s_ldexp.c: Remove __STDC__ conditionals.
7019 * math/s_ldexpf.c: Likewise.
7020 * math/s_ldexpl.c: Likewise.
7021 * math/s_nextafter.c: Likewise.
7022 * math/s_nexttowardf.c: Likewise.
7023 * math/s_significand.c: Likewise.
7024 * math/s_significandf.c: Likewise.
7025 * math/s_significandl.c: Likewise.
7026 * math/w_jnl.c: Likewise.
7027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7049 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7050 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7051 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7054 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7055 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7056 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7057 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7058 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7059 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7061 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7067 * sysdeps/ieee754/k_standard.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7147 * sysdeps/ieee754/s_matherr.c: Likewise.
7148 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7149 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7152
965a54a4
JM
71532012-01-26 Joseph Myers <joseph@codesourcery.com>
7154
7155 * crypt/md5.h: Remove __STDC__ conditionals.
7156 * libio/libioP.h: Likewise.
7157 * locale/programs/config.h: Likewise.
7158 * sysdeps/generic/sysdep.h: Likewise.
7159 * sysdeps/i386/asm-syntax.h: Likewise.
7160 * sysdeps/s390/asm-syntax.h: Likewise.
7161 * sysdeps/unix/sysdep.h: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7164
7071ad79
JM
71652012-01-26 Joseph Myers <joseph@codesourcery.com>
7166
7167 * libio/libio.h: Remove __STDC__ conditionals.
7168 * malloc/obstack.h: Likewise.
7169 * math/complex.h: Likewise.
7170 * math/math.h: Likewise.
7171 * sysdeps/generic/_G_config.h: Likewise.
7172 * sysdeps/gnu/_G_config.h: Likewise.
7173 * sysdeps/mach/hurd/_G_config.h: Likewise.
7174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7175 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7176 * sysdeps/sparc/bits/mathdef.h: Likewise.
7177
afc5ed09
UD
71782012-01-26 Ulrich Drepper <drepper@gmail.com>
7179
7180 [BZ #13583]
7181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7182 Clean up HAS_* macros.
afc5ed09 7183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7184 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7185 possible.
7186 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7187 HAS_AVX.
7188 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7189 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7192 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7193
bdb6de1d
JM
71942012-01-25 Joseph Myers <joseph@codesourcery.com>
7195
7196 * elf/tst-unique3.cc (gets): Remove declaration.
7197 * elf/tst-unique3lib.cc (gets): Likewise.
7198 * elf/tst-unique3lib2.cc (gets): Likewise.
7199 * elf/tst-unique4.cc (gets): Likewise.
7200
b15549e6
UD
72012012-01-24 Ulrich Drepper <drepper@gmail.com>
7202
7203 * include/stdio.h: Add C++ protection. Add gets declarations and
7204 definitions.
7205 * debug/tst-chk1.c: Don't declare gets here.
7206 * stdio-common/tst-gets.c: Likewise.
7207
a037381f
JM
72082012-01-24 Joseph Myers <joseph@codesourcery.com>
7209
7210 * posix/glob: Remove directory.
7211
f1d4aa75
JM
72122012-01-24 Joseph Myers <joseph@codesourcery.com>
7213
7214 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7215
81c0c964
PT
72162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7217
7218 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7219 of the non-standard EPFNOSUPPORT.
7220
0ea698ae
ST
72212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7222
7223 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7224 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7225 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7226
d220b117
UD
72272012-01-21 Ulrich Drepper <drepper@gmail.com>
7228
7229 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7230
3e1aa84e
UD
72312012-01-20 Ulrich Drepper <drepper@gmail.com>
7232
7233 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7234 transient errors.
7235 * nscd/grpcache.c (cache_addgr): Likewise.
7236 * nscd/hstcache.c (cache_addhst): Likewise.
7237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7238 * nscd/pwdcache.c (cache_addpw): Likewise.
7239 * nscd/servicescache.c (cache_addserv): Likewise.
7240
400aa020
UD
72412012-01-16 Ulrich Drepper <drepper@gmail.com>
7242
d77e7869
UD
7243 * malloc/malloc.c: Various cleanups.
7244 * malloc/hooks.c: Likewise.
7245
400aa020
UD
7246 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7247 * stdlib/bug-fmtmsg1.c: New file.
7248
7249 * stdlib/fmtmsg.c (init): Add missing unlock.
7250 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7251
e0a309cf
MP
72522012-01-12 Marek Polacek <polacek@redhat.com>
7253
7254 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7255 and _GNU_SOURCE.
7256
929d11c7
WS
72572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7258
7259 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7260 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7261 macro to ensure uniqueness of label name.
7262 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7263 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7264
41d0e869
UD
72652012-01-11 Ulrich Drepper <drepper@gmail.com>
7266
0cc5ed3b
UD
7267 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7268
41d0e869
UD
7269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7270 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7271 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7273
a47a831a
UD
72742012-01-10 Ulrich Drepper <drepper@gmail.com>
7275
daa891c0
UD
7276 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7277
7278 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7279 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7281
e58ef0f2
UD
7282 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7283
a47a831a 7284 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7285 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7288
7289 * math/bits/math-finite.h: Add ldexp support.
7290
a0bfc9c7
MP
72912012-01-10 Marek Polacek <polacek@redhat.com>
7292
7293 * locale/programs/localedef.h (show_archive_content): Add noreturn
7294 attribute.
7295
d6e97a1d
UD
72962012-01-09 Ulrich Drepper <drepper@gmail.com>
7297
7298 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7299
d5835c26
UD
73002012-01-08 Ulrich Drepper <drepper@gmail.com>
7301
e5f484c6
UD
7302 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7303
d5835c26
UD
7304 * io/Makefile (headers): Add bits/poll2.h.
7305
d1f741e9
WS
73062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7307
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7309 typo #include statement.
7310
ec09c1c4
UD
73112012-01-08 Ulrich Drepper <drepper@gmail.com>
7312
7313 * include/sys/cdefs.h: Define __attribute_alloc_size.
7314 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7315 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7316 * elf/pldd.c: Likewise.
7317 * iconv/iconv_charmap.c: Likewise.
7318 * iconv/iconvconfig.c: Likewise.
7319 * iconv/strtab.c: Likewise.
7320 * locale/programs/locale.c: Likewise.
7321 * locale/programs/localedef.h: Likewise.
7322 * locale/programs/simple-hash.c: Likewise.
7323 * nscd/nscd.h: Likewise.
7324 * nss/makedb.c: Likewise.
7325 * sysdeps/generic/ldconfig.h: Likewise.
7326 * locale/programs/localedef.c: Remove xmalloc prototype.
7327 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7328
20b38e03
PP
73292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7330
7331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7332 appropriate.
7333
a0da5fe1
UD
73342012-01-08 Ulrich Drepper <drepper@gmail.com>
7335
1d5a644a 7336 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7337 * math/tst-CMPLX.c: New file.
1d5a644a 7338
8784a6db
UD
7339 * math/complex.h (CMPLXL): Fix typo.
7340
d9a216c0
UD
7341 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7342 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7343 GLIBC_2.16.
7344 * debug/tst-chk1.c: Add poll and ppoll tests.
7345 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7346 * include/sys/poll.h: Add hidden proto for ppoll.
7347 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7348 * sysdeps/mach/hurd/ppoll.c: Likewise.
7349 * io/ppoll.c: Likewise.
7350 * debug/poll_chk.c: New file.
7351 * debug/ppoll_chk.c: New file.
7352 * include/bits/poll2.h: New file.
7353 * io/bits/poll2.h: New file.
7354
ac097f5c
UD
7355 [BZ #1350]
7356 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7357
2119dcfa
UD
7358 * configure.in: static is always set to yes. Remove.
7359 * config.make.in: Don't set build-static.
7360 * Makeconfig: Remove use of build-static.
7361 * dlfcn/Makefile: Likewise.
7362 * elf/Makefile: Likewise.
7363 * math/Makefile: Likewise.
7364 * misc/Makefile: Likewise.
7365 * nptl/Makefile: Likewise.
7366 * sysdeps/mach/hurd/Makefile: Likewise.
7367
121766a9
UD
7368 * configure.in: PWD_P is not used anymore.
7369 * config.make.in: Remove PWD_P entry.
7370
51a1d39c 7371 * configure.in: Remove last remnants of RANLIB.
8720d066 7372 No need to check for signed size_t anymore.
215f4bdc
UD
7373 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7374 and IA-64.
3857022a 7375 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7376 * aclocal.m4: Likewise.
7377
d3ed7225
UD
7378 * wcsmbs/mbrtoc16.c: Implement using towc function.
7379 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7380 * wcsmbs/wcsmbsload.c: Likewise.
7381 * iconv/gconv_simple.c: Likewise.
7382 * iconv/gconv_int.h: Likewise.
7383 * iconv/gconv_builtin.h: Likewise.
7384 * iconv/iconv_prog.c: Remove CHAR16 handling.
7385
7386 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7387
7388 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7389
a0da5fe1
UD
7390 * configure.in: Remove --with-elf and --enable-bounded options.
7391 Dont set base_machine for ia64. More non-ELF conditions removed.
7392 Remove testing and setting of leading underscore information.
7393 * config.make.in (build-bounded): Set to no.
7394 * config.h.in: Remove NO_UNDERSCORES entry.
7395 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7396 them.
7397 * csu/start.c: Remove !NO_UNDERSCORE code.
7398 * locale/localeinfo.h: Likewise.
7399 * sysdeps/generic/machine-gmon.h: Likewise.
7400 * sysdeps/generic/sysdep.h: Likewise.
7401 * sysdeps/i386/sysdep.h: Likewise.
7402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7403 * sysdeps/mach/sysdep.h: Likewise.
7404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7406 * sysdeps/sh/sysdep.h: Likewise.
7407 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7408 * sysdeps/unix/i386/sysdep.S: Likewise.
7409 * sysdeps/unix/sparc/start.c: Likewise.
7410 * sysdeps/unix/sparc/sysdep.S: Likewise.
7411 * sysdeps/unix/sparc/sysdep.h: Likewise.
7412 * sysdeps/unix/start.c: Likewise.
7413 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7414 * sysdeps/x86_64/sysdep.h: Likewise.
7415
df78418a
UD
74162012-01-07 Ulrich Drepper <drepper@gmail.com>
7417
a784e502
UD
7418 [BZ #13553]
7419 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7420 for non-gcc.
7421 * argp/argp-fmtstream.h: Use const instead __const.
7422 * argp/argp.h: Likewise.
7423 * assert/assert.h: Likewise.
7424 * bits/fenv.h: Likewise.
7425 * bits/sched.h: Likewise.
7426 * bits/sigset.h: Likewise.
7427 * bits/sigthread.h: Likewise.
7428 * catgets/nl_types.h: Likewise.
7429 * conform/data/pthread.h-data: Likewise.
7430 * crypt/crypt-private.h: Likewise.
7431 * crypt/crypt.h: Likewise.
7432 * crypt/crypt_util.c: Likewise.
7433 * ctype/ctype.h: Likewise.
7434 * debug/execinfo.h: Likewise.
7435 * debug/mbsnrtowcs_chk.c: Likewise.
7436 * debug/mbsrtowcs_chk.c: Likewise.
7437 * debug/wcsnrtombs_chk.c: Likewise.
7438 * debug/wcsrtombs_chk.c: Likewise.
7439 * debug/wcstombs_chk.c: Likewise.
7440 * dirent/dirent.h: Likewise.
7441 * dlfcn/dlfcn.h: Likewise.
7442 * elf/neededtest4.c: Likewise.
7443 * grp/grp.h: Likewise.
7444 * gshadow/gshadow.h: Likewise.
7445 * iconv/gconv.h: Likewise.
7446 * iconv/gconv_int.h: Likewise.
7447 * iconv/gconv_simple.c: Likewise.
7448 * iconv/iconv.h: Likewise.
7449 * iconv/loop.c: Likewise.
7450 * iconv/skeleton.c: Likewise.
7451 * include/aio.h: Likewise.
7452 * include/aliases.h: Likewise.
7453 * include/argz.h: Likewise.
7454 * include/arpa/inet.h: Likewise.
7455 * include/assert.h: Likewise.
7456 * include/dirent.h: Likewise.
7457 * include/dlfcn.h: Likewise.
7458 * include/execinfo.h: Likewise.
7459 * include/fcntl.h: Likewise.
7460 * include/fenv.h: Likewise.
7461 * include/glob.h: Likewise.
7462 * include/grp.h: Likewise.
7463 * include/libintl.h: Likewise.
7464 * include/mntent.h: Likewise.
7465 * include/netdb.h: Likewise.
7466 * include/pwd.h: Likewise.
7467 * include/rpc/netdb.h: Likewise.
7468 * include/sched.h: Likewise.
7469 * include/search.h: Likewise.
7470 * include/shadow.h: Likewise.
7471 * include/signal.h: Likewise.
7472 * include/stdio.h: Likewise.
7473 * include/stdlib.h: Likewise.
7474 * include/string.h: Likewise.
7475 * include/sys/socket.h: Likewise.
7476 * include/sys/stat.h: Likewise.
7477 * include/sys/statfs.h: Likewise.
7478 * include/sys/statvfs.h: Likewise.
7479 * include/sys/syslog.h: Likewise.
7480 * include/sys/time.h: Likewise.
7481 * include/sys/uio.h: Likewise.
7482 * include/time.h: Likewise.
7483 * include/unistd.h: Likewise.
7484 * include/utmp.h: Likewise.
7485 * include/wchar.h: Likewise.
7486 * include/wctype.h: Likewise.
7487 * inet/aliases.h: Likewise.
7488 * inet/arpa/inet.h: Likewise.
7489 * inet/netinet/ether.h: Likewise.
7490 * inet/netinet/in.h: Likewise.
7491 * intl/libintl.h: Likewise.
7492 * io/bits/fcntl2.h: Likewise.
7493 * io/fcntl.h: Likewise.
7494 * io/ftw.h: Likewise.
7495 * io/sys/poll.h: Likewise.
7496 * io/sys/stat.h: Likewise.
7497 * io/sys/statfs.h: Likewise.
7498 * io/sys/statvfs.h: Likewise.
7499 * io/utime.h: Likewise.
7500 * libio/bits/stdio.h: Likewise.
7501 * libio/bits/stdio2.h: Likewise.
7502 * libio/libio.h: Likewise.
7503 * libio/libioP.h: Likewise.
7504 * libio/stdio.h: Likewise.
7505 * locale/lc-ctype.c: Likewise.
7506 * locale/locale.h: Likewise.
7507 * login/utmp.h: Likewise.
7508 * malloc/arena.c: Likewise.
7509 * malloc/malloc.c: Likewise.
7510 * malloc/malloc.h: Likewise.
7511 * malloc/mcheck.c: Likewise.
7512 * malloc/mtrace.c: Likewise.
7513 * math/bits/mathcalls.h: Likewise.
7514 * math/fenv.h: Likewise.
7515 * math/math_private.h: Likewise.
7516 * misc/bits/error.h: Likewise.
7517 * misc/bits/syslog.h: Likewise.
7518 * misc/err.h: Likewise.
7519 * misc/error.h: Likewise.
7520 * misc/fstab.h: Likewise.
7521 * misc/mntent.h: Likewise.
7522 * misc/regexp.h: Likewise.
7523 * misc/search.h: Likewise.
7524 * misc/sgtty.h: Likewise.
7525 * misc/sys/mman.h: Likewise.
7526 * misc/sys/syslog.h: Likewise.
7527 * misc/sys/uio.h: Likewise.
7528 * misc/sys/xattr.h: Likewise.
7529 * misc/ttyent.h: Likewise.
7530 * nis/rpcsvc/ypclnt.h: Likewise.
7531 * nss/nss.h: Likewise.
7532 * posix/bits/unistd.h: Likewise.
7533 * posix/fnmatch.h: Likewise.
7534 * posix/glob.h: Likewise.
7535 * posix/sched.h: Likewise.
7536 * posix/spawn.h: Likewise.
7537 * posix/sys/wait.h: Likewise.
7538 * posix/unistd.h: Likewise.
7539 * posix/wordexp.h: Likewise.
7540 * pwd/pwd.h: Likewise.
7541 * resolv/netdb.h: Likewise.
7542 * resource/sys/resource.h: Likewise.
7543 * rt/aio.h: Likewise.
7544 * rt/bits/mqueue2.h: Likewise.
7545 * rt/mqueue.h: Likewise.
7546 * shadow/shadow.h: Likewise.
7547 * signal/signal.h: Likewise.
7548 * socket/send.c: Likewise.
7549 * socket/sendto.c: Likewise.
7550 * socket/sys/socket.h: Likewise.
7551 * stdio-common/printf.h: Likewise.
7552 * stdlib/bits/stdlib.h: Likewise.
7553 * stdlib/fmtmsg.h: Likewise.
7554 * stdlib/monetary.h: Likewise.
7555 * stdlib/stdlib.h: Likewise.
7556 * stdlib/ucontext.h: Likewise.
7557 * streams/stropts.h: Likewise.
7558 * string/argz.h: Likewise.
7559 * string/bits/string2.h: Likewise.
7560 * string/string.h: Likewise.
7561 * string/strings.h: Likewise.
7562 * sunrpc/rpc/auth.h: Likewise.
7563 * sunrpc/rpc/auth_des.h: Likewise.
7564 * sunrpc/rpc/clnt.h: Likewise.
7565 * sunrpc/rpc/netdb.h: Likewise.
7566 * sunrpc/rpc/pmap_clnt.h: Likewise.
7567 * sunrpc/rpc/xdr.h: Likewise.
7568 * sysdeps/generic/inttypes.h: Likewise.
7569 * sysdeps/generic/net/if.h: Likewise.
7570 * sysdeps/generic/sys/swap.h: Likewise.
7571 * sysdeps/gnu/net/if.h: Likewise.
7572 * sysdeps/gnu/utmpx.h: Likewise.
7573 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7574 * sysdeps/i386/i486/bits/string.h: Likewise.
7575 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7576 * sysdeps/s390/bits/string.h: Likewise.
7577 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7578 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7579 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7580 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7581 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7582 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7583 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7584 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7585 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7586 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7587 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7588 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7589 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7590 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7591 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7592 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7593 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7598 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7599 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7600 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7601 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7602 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7605 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7607 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7608 * sysvipc/sys/ipc.h: Likewise.
7609 * sysvipc/sys/msg.h: Likewise.
7610 * sysvipc/sys/sem.h: Likewise.
7611 * sysvipc/sys/shm.h: Likewise.
7612 * termios/termios.h: Likewise.
7613 * time/sys/time.h: Likewise.
7614 * time/time.h: Likewise.
7615 * wcsmbs/bits/wchar2.h: Likewise.
7616 * wcsmbs/uchar.h: Likewise.
7617 * wcsmbs/wchar.h: Likewise.
7618 * wctype/wctype.h: Likewise.
7619
0269750c
UD
7620 [BZ #13551]
7621 * Makeconfig: Remove all but ELF support including AIX support.
7622 * Makerules: Likewise.
7623 * config.h.in: Likewise.
7624 * config.make.in: Likewise.
7625 * configure: Likewise.
7626 * configure.in: Likewise.
7627 * csu/Makefile: Likewise.
7628 * csu/version.c: Likewise.
7629 * debug/Makefile: Likewise.
7630 * dlfcn/Makefile: Likewise.
7631 * elf/Makefile: Likewise.
7632 * extra-lib.mk: Likewise.
7633 * iconv/Makefile: Likewise.
7634 * include/libc-symbols.h: Likewise.
7635 * include/shlib-compat.h: Likewise.
7636 * resolv/Makefile: Likewise.
7637 * resolv/res_libc.c: Likewise.
7638 * rt/Makefile: Likewise.
7639 * sysdeps/i386/asm-syntax.h: Likewise.
7640 * sysdeps/i386/sysdep.h: Likewise.
7641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7642 * sysdeps/mach/sysdep.h: Likewise.
7643 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7644 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7645 * sysdeps/s390/asm-syntax.h: Likewise.
7646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7648 * sysdeps/sh/sysdep.h: Likewise.
7649 * sysdeps/unix/sparc/sysdep.h: Likewise.
7650 * sysdeps/wordsize-32/divdi3.c: Likewise.
7651 * sysdeps/x86_64/sysdep.h: Likewise.
7652
00bbd29b
UD
7653 * argp/Versions: Remove _argp_unlock_xxx.
7654
7655 [BZ #13559]
7656 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7657 * abilist/libBrokenLocale.abilist: Likewise.
7658 * abilist/libanl.abilist: Likewise.
7659 * abilist/libc.abilist: Likewise.
7660 * abilist/libcrypt.abilist: Likewise.
7661 * abilist/libdl.abilist: Likewise.
7662 * abilist/libm.abilist: Likewise.
7663 * abilist/libnsl.abilist: Likewise.
7664 * abilist/libpthread.abilist: Likewise.
7665 * abilist/libresolv.abilist: Likewise.
7666 * abilist/librt.abilist: Likewise.
7667 * abilist/libthread_db.abilist: Likewise.
7668 * abilist/libutil.abilist: Likewise.
7669 * abilist/libnss_db.abilist: New file.
7670
7671 * scripts/abilist.awk: Add support for indirect functions.
7672
a2693a0e
UD
7673 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7674
3f05895f
UD
7675 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7676
ecb6fb48
UD
7677 * shlib-versions: Remove entries for ports architectures.
7678
664f8cb9
UD
7679 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7680 files in ports.
7681 * elf/stackguard-macros.h: Remove support for IA-64.
7682 * elf/tst-auditmod1.c: Likewise.
7683 * sysdeps/generic/ldsodefs.h: Likewise.
7684
7ae81d88
UD
7685 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7686 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7687 configure files.
7688
bdeba135
UD
7689 [BZ #13552]
7690 * configure.in: Remove --enable-omitfp support.
7691 * FAQ.in: Adjust.
7692 * config.make.in: Likewise.
7693 * Makeconfig: Likewise.
7694 * manual/install.texi: Likewise.
7695
d75a0a62
UD
7696 In case anyone cares, the IA-64 architecture could move to ports.
7697 * sysdeps/ia64/*: Removed.
7698 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7699 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7700
dcc9756b
UD
7701 [BZ #13555]
7702 * configure.in: Remove entries for unsupported architectures.
7703
d3761ebc 7704 [BZ #13533]
9954432e
UD
7705 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7706 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7707 routines.
7708 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7709 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7710 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7711 fall back to using wcrtomb.
7712 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7713 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7714 renaming.
7715 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7716 * wcsmbs/tst-c16c32-1.c: New file.
7717
7718 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7719 local variable.
7720
c3a87236
UD
7721 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7722
28926a1b
UD
7723 * elf/tst-unique3.cc: Add explicit declaration of gets.
7724 * elf/tst-unique3lib.cc: Likewise.
7725 * elf/tst-unique3lib2.cc: Likewise.
7726 * elf/tst-unique4.cc: Likewise.
7727
df78418a
UD
7728 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7729
8ecd6b2a
JM
77302012-01-06 Joseph Myers <joseph@codesourcery.com>
7731
7732 [BZ #13566]
7733 * assert/assert.h (static_assert): Don't define for C++.
7734 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7735 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7736
9f115170
UD
77372012-01-03 Ulrich Drepper <drepper@gmail.com>
7738
5e0d0300
UD
7739 * iconv/loop.c (single loop): Fix assertion in storing of
7740 remaining bytes.
7741
9f115170
UD
7742 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7743
81fb02b0
UD
77442012-01-01 Ulrich Drepper <drepper@gmail.com>
7745
7746 * posix/getconf.c: Update copyright year.
7747 * nss/getent.c: Likewise.
a316c1f6 7748 * nss/makedb.c: Likewise.
81fb02b0
UD
7749 * iconv/iconvconfig.c: Likewise.
7750 * iconv/iconv_prog.c: Likewise.
7751 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7752 * elf/pldd.c: Likewise.
7753 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7754 * catgets/gencat.c: Likewise.
7755 * csu/version.c: Likewise.
7756 * elf/ldd.bash.in: Likewise.
7757 * elf/sprof.c (print_version): Likewise.
7758 * locale/programs/locale.c: Likewise.
7759 * locale/programs/localedef.c: Likewise.
a316c1f6 7760 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7761 * nscd/nscd.c (print_version): Likewise.
7762 * debug/xtrace.sh: Likewise.
7763 * malloc/memusage.sh: Likewise.
7764 * malloc/mtrace.pl: Likewise.
7765 * debug/catchsegv.sh: Likewise.
7766
2ba92745
JJ
77672011-12-30 Jakub Jelinek <jakub@redhat.com>
7768
7769 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7770 pure attribute.
7771
dadebdae
UD
77722011-12-24 Ulrich Drepper <drepper@gmail.com>
7773
d3761ebc 7774 [BZ #13533]
db6af3eb
UD
7775 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7776 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7777 transformations.
7778 * iconv/gconv_int.h: Likewise.
7779 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7780 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7781 from libc for GLIBC_2.16.
7782 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7783 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7784 * wcsmbs/uchar.h: Really define mbstate_t.
7785 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7786 * wcsmbs/c16rtomb.c: New file.
7787 * wcsmbs/mbrtoc16.c: New file.
7788 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7789 for C/POSIX locale.
7790 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7791 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7792
dadebdae
UD
7793 * wcsmbs/wchar.h: Add missing __restrict.
7794
67371b56
UD
77952011-12-23 Ulrich Drepper <drepper@gmail.com>
7796
74033a25
UD
7797 [BZ #13532]
7798 * time/Makefile (routines): Add timespec_get.
7799 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7800 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7801 timespec for ISO C11.
7802 * time/timespec_get.c: New file.
7803 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7804 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7805
380d7e87
UD
7806 [BZ #13531]
7807 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7808 * stdlib/stdlib.h: Declare aligned_alloc.
7809 * Versions.def: Add GLIBC_2.16 for libc.
7810 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7811
4e9e7a35
UD
7812 [BZ 13527]
7813 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7814 ISO C11.
7815
380d7e87 7816 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7817 code.
7818
03a71829
UD
7819 [BZ #13528]
7820 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7821
839e283e
UD
7822 [BZ #13529]
7823 * assert/assert.h (static_assert): Define.
7824
ce5294e2 7825 * version.h: Update for 2.16 development version.
90fa7312 7826
8d44e150 7827 [BZ #13526]
d7809905
UD
7828 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7829 _ISOC11_SOURCE.
7830
c0da14cd
UD
7831 * version.h (RELEASE): Bump for 2.15 release.
7832 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7833
530a3249
MP
7834 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7835 Patch by Marek Polacek <mpolacek@redhat.com>.
7836
67371b56
UD
7837 * bits/byteswap.h: Protect long long constants with __extension__.
7838 * sysdeps/i386/bits/byteswap.h: Likewise.
7839 * sysdeps/ia64/bits/byteswap.h: Likewise.
7840 * sysdeps/s390/bits/byteswap.h: Likewise.
7841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7842
15db4de1
LD
78432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7844
7845 [BZ #13540]
bbe315ea
LD
7846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7847 destination buffer.
15db4de1
LD
7848 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7849
2b2596b1
MP
78502011-12-23 Marek Polacek <polacek@redhat.com>
7851
7852 * elf/dl-addr.c (determine_info): Add inline keyword.
7853 * elf/tst-auditmod4b.c (check_avx): Likewise.
7854 * elf/tst-auditmod6b.c (check_avx): Likewise.
7855 * elf/tst-auditmod6c.c (check_avx): Likewise.
7856 * elf/tst-auditmod7b.c (check_avx): Likewise.
7857
70c6c246
UD
78582011-12-23 Ulrich Drepper <drepper@gmail.com>
7859
7860 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7861 !__SSE_MATH__.
7862
c044cf14
LD
78632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7864
15db4de1 7865 [BZ #13540]
c044cf14
LD
7866 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7867 processing for last bytes.
7868
6b13d9d9
BH
78692011-08-06 Bruno Haible <bruno@clisp.org>
7870
d455f537
BH
7871 [BZ #13061]
7872 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7873 U+0385, not to U+1FEE.
7874
6b13d9d9
BH
7875 [BZ #13062]
7876 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7877 entry for U+00A5 U+0301.
7878
db910efd
UD
78792011-12-22 Ulrich Drepper <drepper@gmail.com>
7880
27deeafc
UD
7881 [BZ #13166]
7882 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7883 buffer for the output is too small.
7884
aed9d171
UD
7885 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7886 optimization.
7887
db910efd
UD
7888 [BZ #13185]
7889 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7890 SSE flags if possible.
7891
2bd779ae
LD
78922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7893
e7f9dac3 7894 [BZ #13540]
2bd779ae
LD
7895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7896 processing for last bytes.
7897
154bfc16
JM
78982011-12-22 Joseph Myers <joseph@codesourcery.com>
7899
7900 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7901 (syscall-list-default-options, syscall-list-default-condition)
7902 (syscall-list-includes): Define.
7903 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7904 list of ABIs and options and #if conditions for each ABI. Do not
7905 handle common syscalls between ABIs specially.
7906 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7907 Remove.
7908 (syscall-list-variants, syscall-list-32bit-options)
7909 (syscall-list-32bit-condition, syscall-list-64bit-options)
7910 (syscall-list-64bit-condition): Define.
7911 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7912 (syscall-list-variants, syscall-list-32bit-options)
7913 (syscall-list-32bit-condition, syscall-list-64bit-options)
7914 (syscall-list-64bit-condition): Define.
7915 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7916 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/x86_64/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
21eaf3a5
UD
79262011-12-22 Ulrich Drepper <drepper@gmail.com>
7927
16c6f992
UD
7928 * locale/iso-639.def: Add brx entry.
7929
41043168
UD
7930 [BZ #13328]
7931 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7932 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7933
21eaf3a5
UD
7934 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7935 __feraiseexcept_renamed.
7936
e3a851a2
UD
79372011-12-21 Ulrich Drepper <drepper@gmail.com>
7938
4920765e
UD
7939 [BZ #13538]
7940 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7941 EPOLLET with unsigned values.
7942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7944
e3a851a2
UD
7945 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7946 to large cancellation.
7947 * math/s_cacoshf.c: Likewise.
7948 * math/s_cacoshl.c: Likewise.
7949
b27e24b8
RK
79502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7951
7952 [BZ #13305]
aebefeee 7953 [BZ #12786]
b27e24b8
RK
7954 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7955 * math/s_cacoshf.c: Likewise.
7956 * math/s_cacoshl.c: Likewise.
7957
ee190f67
UD
79582011-12-21 Ulrich Drepper <drepper@gmail.com>
7959
7960 [BZ #13439]
7961 * iconv/gconv.h: Define __GCONV_SWAP.
7962 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7963 * iconvdata/utf-16.c: Likewise.
7964 * iconvdata/utf-32.c: Likewise.
7965
707f25df
AS
79662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7967
7968 [BZ #13524]
7969 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7970 numerator after shifting it by one limb.
7971
d2daaa1e
RÁE
79722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7973
7974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7975 under [__USE_EXTERN_INLINES].
7976
a4647e72
UD
79772011-12-17 Ulrich Drepper <drepper@gmail.com>
7978
7979 [BZ #13446]
7980 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7981
f0b264f1
AZ
79822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
7984 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7985 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7986 optimized code.
7987 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7989 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7990 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7991 for strncasecmp/strncasecmp_l compilation.
7992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7993 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7994
8ef4f244
MP
79952011-12-08 Marek Polacek <mpolacek@redhat.com>
7996
7997 [BZ #13484]
7998 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7999 of __asm__.
8000
97ac2654
UD
80012011-12-17 Ulrich Drepper <drepper@gmail.com>
8002
8003 [BZ #13506]
8004 * time/tzfile.c (__tzfile_read): Check values from file header.
8005
91d2a845
WS
80062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8007
8008 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8009 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8010 * powerpc/powerpc32/dl-start.S: Likewise.
8011 * powerpc/powerpc32/elf/start.S: Likewise.
8012 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8013 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8014 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8015 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8016 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8017 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8018 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8019 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8020 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8021 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8022 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8023 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8024 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8025 * powerpc/powerpc32/memset.S: Likewise.
8026 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8027 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8028 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8029 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8030 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8031 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8032 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8033 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8034 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8035 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8036 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8037 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8038 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8039
a1267ba1
AZ
80402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8041
8042 * math/libm-test.inc: Added more nearbyint tests.
8043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8047
ad8ac1bd
RL
80482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8049
8050 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8051 FD_CLOEXEC.
8052
1d3e4b61
UD
80532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8054
8055 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8056 Add wcscpy-ssse3 wcscpy-c.
8057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8058 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8059 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8060 * sysdeps/x86_64/wcschr.S: New file.
8061 * sysdeps/x86_64/wcsrchr.S: New file.
8062 * string/test-strcmp.c: Remove checking of wcscmp function for
8063 wrong alignments.
8064 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8065 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8066 wcsrchr-sse2 wcsrchr-c.
8067 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8068 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8069 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8070 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8071 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8072 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8073 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8074 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8076 * wcsmbc/wcschr.c (WCSCHR): New macro.
8077
5b330a2d
UD
80782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8079
8080 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8081 * wcsmbs/test-wcsrchr.c: New file.
8082 * string/test-strrchr.c: Add wcsrchr support.
8083 (WIDE): New macro.
8084 * wcsmbs/test-wcscpy.c: New file.
8085 * string/test-strcpy.c: Add wcscpy support.
8086 (WIDE): New macro.
26428b7c 8087
f039c043
UD
80882011-12-10 Ulrich Drepper <drepper@gmail.com>
8089
8090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8091 the inner loop.
8092
850fb039
AS
80932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8094
8095 [BZ #13472]
8096 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8097
4efbd5cb
UD
80982011-12-04 Ulrich Drepper <drepper@gmail.com>
8099
52ff5dd0 8100 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8101 Minor optimizations.
52ff5dd0 8102
4efbd5cb
UD
8103 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8104 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8105 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8106
8a426e12
UD
81072011-12-03 Ulrich Drepper <drepper@gmail.com>
8108
aff2453d
UD
8109 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8110 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8111 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8112 for gcc to avoid warnings.
8113 * inet/Makefile (tests): Add tst-checks.
8114 * inet/tst-checks.c: New file.
8115
8116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8117 warning.
8118
8119 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8120 __wmemcmp_sse2.
8121
8122 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8123 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8124
8a426e12
UD
8125 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8126
9bea3473
UD
81272011-12-02 Ulrich Drepper <drepper@gmail.com>
8128
3a965496
UD
8129 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8130 problem.
8131
9bea3473
UD
8132 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8133
f101631b
UD
81342011-11-29 Joseph Myers <joseph@codesourcery.com>
8135
8136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8137 conditional on GCC version.
8138 (__arch_compare_and_exchange_val_8_acq)
8139 (__arch_compare_and_exchange_val_16_acq)
8140 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8141 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8142 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8143
a98275aa
UD
81442011-12-02 Joseph Myers <joseph@codesourcery.com>
8145
8146 * sysdeps/sh/backtrace.c: New file.
8147
d4cc29a2
AS
81482011-12-02 Andreas Schwab <schwab@redhat.com>
8149
8150 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8151 parenthesis.
8152
6257af2d
AS
81532011-12-01 Andreas Schwab <schwab@redhat.com>
8154
8155 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8156 falling back to utime.
8157
b5f44c1a
AS
81582011-11-30 Andreas Schwab <schwab@redhat.com>
8159
8160 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8161 expectations for float.
8162
f3a6cc0a
AS
81632011-11-29 Andreas Schwab <schwab@redhat.com>
8164
8165 * locale/weight.h (findidx): Add parameter len.
8166 * locale/weightwc.h (findidx): Likewise.
8167 * posix/fnmatch_loop.c (FCT): Adjust caller.
8168 * posix/regcomp.c (build_equiv_class): Likewise.
8169 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8170 * posix/regexec.c (check_node_accept_bytes): Likewise.
8171 * string/strcoll_l.c (STRCOLL): Likewise.
8172 * string/strxfrm_l.c (STRXFRM): Likewise.
8173
9d65ea3a
UD
81742011-11-17 Ulrich Drepper <drepper@gmail.com>
8175
8176 * Makefile.in: Remove CVSOPT handling.
8177 * configure.in: Remove use of AC_REVISION.
8178 * iconvdata/Makefile (distribute): No need to filter out CVS.
8179 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8180 handling.
8181
5583a086
AS
81822011-11-16 Andreas Schwab <schwab@redhat.com>
8183
8184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8185 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8186 [USE_AS_STRNCASECMP_L]: Likewise.
8187 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8188 NO_TLS_DIRECT_SEG_REFS.
8189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8190 Fix argument offsets for non-PIC.
8191 [USE_AS_STRNCASECMP_L]: Likewise.
8192 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8193 NO_TLS_DIRECT_SEG_REFS.
8194
d62a8200
UD
81952011-11-15 Ulrich Drepper <drepper@gmail.com>
8196
9d65ea3a 8197 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8198 O_CLOEXEC.
8199 * locale/loadlocale.c (_nl_load_locale): Likewise.
8200
09f93bd3
AS
82012011-11-15 Andreas Schwab <schwab@redhat.com>
8202
446514f9
AS
8203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8204 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8206 (SYSCALL_GETTIME): Set errno on error.
8207
09f93bd3
AS
8208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8209 count references to noai6ai_cached.
8210
312be3f9
UD
82112011-11-15 Ulrich Drepper <drepper@gmail.com>
8212
8213 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8214
8215 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8216 FD_CLOEXEC for /proc/self/maps.
8217
8218 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8219 FD_CLOEXEC for /proc/meminfo.
8220
8221 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8222 gai.conf.
8223
8224 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8225 FD_CLOEXEC for given file.
8226
8227 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8228
8229 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8230 FD_CLOEXEC for /etc/hosts.
8231 (_gethtent): Likewise.
8232
8233 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8234
8235 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8236 cancellation and set FD_CLOEXEC for /etc/netgroup.
8237
8238 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8239 reading /etc/publickey.
8240
8241 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8242 allow cancellation when reading /etc/group.
8243
8244 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8245 cancellation.
8246 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8247
8248 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8249 when using data file.
8250
8251 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8252
8253 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8254 (write_nis_obj): Use "c" and "e" in fopen.
8255
8256 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8257
8258 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8259
8260 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8261
8262 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8263
8264 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8265 locale.alias.
8266
8267 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8268
8269 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8270
8271 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8272
8273 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8274 file parsing and set FD_CLOEXEC.
8275
82af0fa8
UD
82762011-11-14 Ulrich Drepper <drepper@gmail.com>
8277
8278 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8279
a5fb313c
AS
82802011-11-14 Andreas Schwab <schwab@redhat.com>
8281
8282 * malloc/arena.c (arena_get2): Don't call reused_arena when
8283 _int_new_arena failed.
8284
6abf3465
UD
82852011-11-14 Ulrich Drepper <drepper@gmail.com>
8286
8287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8288 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8290 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8293 to compile strcasecmp and strncasecmp.
8294 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8295 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8296
8297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8298
76e3966e
UD
82992011-11-13 Ulrich Drepper <drepper@gmail.com>
8300
8301 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8302 locale-defines.sym to gen-as-const-headers.
8303 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8304 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8306 to compile strcasecmp and strncasecmp.
8307 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8308 strcasecmp_l and strncasecmp_l.
8309 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8310 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8311 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8312 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8313 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8315 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8316 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8317 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8318 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8319 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8320
ab26144e
UD
83212011-11-12 Ulrich Drepper <drepper@gmail.com>
8322
7edb22ef
UD
8323 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8324 result of SYSDEP_GETTIME_CPU to retval.
8325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8326 parameter list to macro. Remove trailing semicolon. Adjust users.
8327
9694fc44
UD
8328 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8329 variable.
8330
8ad89ef8
UD
8331 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8332 mantissa words.
8333 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8334
0c822ef9
UD
8335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8336 from unused variable.
8337
874e0564
UD
8338 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8339 DWARF definitions.
8340 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8341 for assembling.
8342
3a2edc79
UD
8343 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8344 over namespaces.
8345
f3c2577f
UD
8346 * sunrpc/rpc_prot.c (rejected): Fix case value.
8347
294ce126
UD
8348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8349 unsigned long long int to avoid warnings in shift.
8350
5e2b63c6
UD
8351 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8352 of use of trans.
8353 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8354 variable tmp.
8355
e7f4b08e
UD
8356 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8357 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8359
ab26144e
UD
8360 * nis/nis_table.c (nis_list): Use variable of correct type for
8361 result of __follow_path call.
8362
8a6d5255
AZ
83632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8364
8365 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8366 of math functions ceil, trunc, floor, round, and sqrt, when
8367 avaliable on the platform.
8368 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8369 name clash.
8370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8373
aaddc98c
MP
83742011-10-30 Marek Polacek <mpolacek@redhat.com>
8375
8376 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8378
95b7042b
RM
83792011-11-11 Roland McGrath <roland@hack.frob.com>
8380
8381 * include/unistd.h: Fix __readlink return type.
8382 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8383
57769839
UD
83842011-11-11 Ulrich Drepper <drepper@gmail.com>
8385
8386 * stdlib/ucontext.h: Undo last change for makecontext.
8387
edc5984d
AS
83882011-11-11 Andreas Schwab <schwab@redhat.com>
8389
98591e58
AS
8390 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8391
edc5984d
AS
8392 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8393 * setjmp/setjmp.h: Mark functions as non-leaf.
8394 * setjmp/bits/setjmp2.h: Likewise.
8395 * stdlib/ucontext.h: Likewise.
8396
77cdc054
AS
83972011-11-10 Andreas Schwab <schwab@redhat.com>
8398
8399 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8400 (reused_arena): Don't check arena limit.
8401 (arena_get2): Atomically check arena limit.
8402
fe72eebd
UD
84032011-11-08 Ulrich Drepper <drepper@gmail.com>
8404
5f078c32
UD
8405 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8406 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8407
fe72eebd
UD
8408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8409 instructions.
8410
ae1bc2fa
AS
84112011-11-07 Andreas Schwab <schwab@redhat.com>
8412
7583a88d
AS
8413 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8414 handler when locking.
8415
ae1bc2fa
AS
8416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8417 Fix size of allocated buffer.
8418
10fb0bfa
AS
84192011-11-04 Andreas Schwab <schwab@redhat.com>
8420
998832a4
AS
8421 [BZ #10103]
8422 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8423 declarations for long double functions.
8424 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8425
10fb0bfa
AS
8426 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8427
3d7ba52b
AS
84282011-11-03 Andreas Schwab <schwab@redhat.com>
8429
a9ae54a1
AS
8430 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8431 installed.
8432
3d7ba52b
AS
8433 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8434 is disabled.
8435
bc8db248
ST
84362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8437
8438 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8439
45b96dd6
AS
84402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8441
647776f6
AS
8442 * include/alloca.h (stackinfo_alloca_round): Define.
8443 (extend_alloca): Use it.
8444 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8445 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8446 here.
8447
d91a8b93
AS
8448 * scripts/check-local-headers.sh: Ignore libaudit.h.
8449
45b96dd6
AS
8450 * nscd/Makefile (extra-objs): Make recursively expanded.
8451
432d41ce
UD
84522011-11-01 Ulrich Drepper <drepper@gmail.com>
8453
34372fc6
UD
8454 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8456
fadb59f8
UD
8457 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8458 * posix/tst-rfc3484-2.c: Likewise.
8459 * posix/tst-rfc3484-3.c: Likewise.
8460
78239589
UD
8461 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8462 process_vm_writev.
8463 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8464 process_vm_writev.
8465 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8466 process_vm_writev from libc using GLIBC_2.15 version.
8467
432d41ce
UD
8468 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8469
02f9c6cf
PP
84702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8471
8472 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8473 stack usage.
8474
3a2c0242
UD
84752011-10-31 Ulrich Drepper <drepper@gmail.com>
8476
f4ec4833
UD
8477 [BZ #13367]
8478 * nss/getent.c (initgroups_keys): Show error message in case no group
8479 names are given.
8480
3a2c0242
UD
8481 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8482 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8483 __bump_nl_timestamp.
8484 * nscd/connections (nscd_init): When host database is served open
8485 netlink socket and request notification about configuration changes.
8486 (main_loop_poll): Track netlink file descriptor and bump timestamp
8487 in case data becomes available.
8488 (main_loop_epoll): Likewise.
8489 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8490 (database_pers_head): Add extra_data fileds.
8491 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8493 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8494 Adjust caller.
8495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8496 in6ai data, call __free_in6ai.
8497 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8498 Add -DHAVE_NETLINK.
8499 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8500 interface information. Reuse previous data if netlink timestamp
8501 is not changed.
8502 (__bump_nl_timestamp): New function.
8503 (__free_in6ai): New function.
8504
636064eb
UD
85052011-10-30 Ulrich Drepper <drepper@gmail.com>
8506
8507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8508 close_not_cancel_no_status here.
8509 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8510
9beb2334
UD
85112011-10-29 Ulrich Drepper <drepper@gmail.com>
8512
6ef76f3b
UD
8513 [BZ #13276]
8514 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8515 return value.
8516
0ffc4f3e 8517 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8518 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8519 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8520
cb95113e
UD
85212011-07-03 Andreas Jaeger <aj@suse.de>
8522
8523 [BZ #10709]
8524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8525 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8526 * math/libm-test.inc (sin_test): Add test case.
8527
a1b560ff
UD
85282011-10-29 Ulrich Drepper <drepper@gmail.com>
8529
c9aaface
UD
8530 [BZ #13337]
8531 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8532 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8533
d272e7f1
UD
8534 * elf/chroot_canon.c (chroot_canon): Cleanups.
8535
1bc33071
UD
8536 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8537
1760874d
TJ
8538 [BZ #13335]
8539 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8540 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8541
51d91b18
UD
8542 * string/test-strchr.c: Make usable for strchrnul testing.
8543 * string/test-strchrnul.c: New file.
8544 * string/Makefile (strop-tests): Add strchrnul.
8545
a1b560ff 8546 * po/it.po: Update from translation team.
b611fb81 8547 * po/es.po: Likewise.
a1b560ff 8548
a5b81e1f
UD
85492011-10-28 Ulrich Drepper <drepper@gmail.com>
8550
fd52bc6d
UD
8551 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8552 the three constants needed as parameters. Drop the others.
8553 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8554 __m128i_strloadu_tolower.
52e4b9eb
UD
8555 Create and initialize variable zero and use it in all the places
8556 where _mm_setzero_si128 was used.
fd52bc6d 8557
a5b81e1f
UD
8558 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8559 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8560 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8562 anymore.
8563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8564 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8565 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8566 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8567 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8568 __mpranred, __mptan.
8569 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8570 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8571 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8572 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8573 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8574 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8576 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8577 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8578
b4343346
AS
85792011-10-28 Andreas Schwab <schwab@redhat.com>
8580
0c92d8a8
AS
8581 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8582 redefine if SHARED.
8583 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8584
b4343346
AS
8585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8586 wide char related routines to wcsmbs subdir.
8587
3871f58f
AS
85882011-10-27 Andreas Schwab <schwab@redhat.com>
8589
8590 [BZ #13344]
8591 * misc/sys/cdefs.h (__THROWNL): Define.
8592 * posix/unistd.h: Use __THREADNL instead of __THREAD
8593 for memory synchronization functions.
8594
94d44d9f
RM
85952011-10-26 Roland McGrath <roland@hack.frob.com>
8596
21b64b15 8597 [BZ #13349]
94d44d9f
RM
8598 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8599 doesn't exist.
8600 * manual/stdio.texi (Obstack Streams): Node removed.
8601
f6ce9294
AS
86022011-10-26 Andreas Schwab <schwab@redhat.com>
8603
80479147
AS
8604 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8606 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8607
f6ce9294
AS
8608 * math/math_private.h (math_force_eval): Allow non-addressable
8609 arguments.
8610 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8611
618280a1
UD
86122011-10-25 Ulrich Drepper <drepper@gmail.com>
8613
e0016b11
UD
8614 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8615 file is not needed.
8616
8617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8624 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8625 Add AVX variants.
8626 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8627 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8628 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8629 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8630 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8631 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8632 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8633 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8636 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8637 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8639 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8640 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8641 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8642 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8643 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8644 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8645
8646 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8647 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8648
618280a1
UD
8649 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8650 place. Use VEX encoding when compiling for AVX.
8651
37822576
AS
86522011-10-25 Andreas Schwab <schwab@redhat.com>
8653
1f1e1947
AS
8654 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8655 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8656
37822576
AS
8657 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8658
31ea014d
UD
86592011-10-25 Ulrich Drepper <drepper@gmail.com>
8660
d7826aa1 8661 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8662 useless if() expression.
d7826aa1
UD
8663 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8681 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8682
31ea014d
UD
8683 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8684
16437fec
AS
86852011-10-25 Andreas Schwab <schwab@redhat.com>
8686
8687 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8688 condition.
8689 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8690
31d3cc00
UD
86912011-10-25 Ulrich Drepper <drepper@gmail.com>
8692
8693 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8694 .text section. Avoid duplicate constants.
8695 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8705 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8707 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8712 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8718 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8719 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8720 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8721 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8722 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8724 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8725 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8726 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8728 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8729 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8730 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8731 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8732 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8733 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8734 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8737 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8739 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8740
58985aa9
UD
87412011-10-24 Ulrich Drepper <drepper@gmail.com>
8742
202c9deb
UD
8743 * sysdeps/x86_64/dla.h: Move to ...
8744 * sysdeps/x86_64/fpu/dla.h: ...here.
8745 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8746 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8747
af968f62
UD
8748 * config.make.in: Add have-mfma4 entry.
8749 * configure.in: Substitute libc_cv_cc_fma4.
8750 * math/Makefile (dbl-only-routines): Add sincostab.
8751 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8752 Use __sincostab not sincos.
8753 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8754 name is a macro.
8755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8759 using __copysign.
8760 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8761 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8762 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8763 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8764 and __inv.
8765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8766 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8767 __copysign.
8768 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8769 define aliases when function name is a macro.
8770 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8771 sysdeps/ieee754/dbl-64/sincos.tbl.
8772 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8773 fma4-enabled routines.
8774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8775 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8778 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8779 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8781 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8783 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8784 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8786 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8797 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8799 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8804
58985aa9
UD
8805 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8806 rename.
8807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8815
a201fbcf
AS
88162011-10-24 Andreas Schwab <schwab@redhat.com>
8817
8818 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8819
fc2ee42a
LD
88202011-10-23 Ulrich Drepper <drepper@gmail.com>
8821
bb3129bd
UD
8822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8823
0275fff8
UD
8824 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8825 prediction.
8826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8827
2fa2ae85
UD
8828 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8829 Remove unused variable magic_bits.
8830 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8831
fc2ee42a
LD
8832 * string/strnlen.c: Define and use STRNLEN macro.
8833 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8834 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8836 * wcsmbs/wcslen.c: Define and use WCSLEN.
8837 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8838 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8839 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8840 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8841 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8842 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8843 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8844
ce7dd29f
LD
88452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8846
8847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8848 strnlen-sse2-no-bsf.
8849 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8851 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8852 Add strnlen support.
8853 (USE_AS_STRNLEN): New macro.
8854 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8855 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8856 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8857 * sysdeps/x86_64/wcslen.S: New file.
8858
979c70a3
MZ
88592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8860
8861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8862 XMM-moves are used for copying on small sizes.
8863
2d09f82f
LD
88642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8865
8866 * wcsmbs/Makefile (strop-tests): Add wcschr.
8867 * wcsmbs/test-wcschr.c: New file.
8868 * string/test-strchr.c: Update.
8869 Add wcschr support.
8870 (WIDE): New macro.
8871
619fccca
LD
88722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8873
2d09f82f 8874 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8875 * wcsmbs/test-wcslen.c: New file.
8876 * string/test-strlen.c: Update.
8877 Add wcslen support.
8878 (WIDE): New macro.
8879
09f699ea
UD
88802011-10-23 Ulrich Drepper <drepper@gmail.com>
8881
8882 * po/it.po: Update from translation team.
8883
95584d3b
LD
88842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8885
8886 * sysdeps/x86_64/wcscmp.S: Update.
8887 Fix wrong comparison semantics.
8888 wcscmp shall use signed comparison not unsigned.
8889 Don't use substraction to avoid overflow bug.
8890 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8891 * wcsmbc/wcscmp.c: Likewise.
8892 * string/test-strcmp.c: Likewise.
8893 Add new tests to check cases with negative values.
8894
c8b3296b
UD
88952011-10-23 Ulrich Drepper <drepper@gmail.com>
8896
8897 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8898 * sysdeps/x86_64/dla.h: ...here. New file.
8899 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8908
246ad57a
AS
89092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8910
8911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8912 __ynl_finite aliases.
8913
a1a87169
UD
89142011-10-22 Ulrich Drepper <drepper@gmail.com>
8915
0d355eb7
UD
8916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8917
a1a87169
UD
8918 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8919 define DLA_FMA.
8920 [DLA_FMA] (EMULV): Use DLA_FMA.
8921 [DLA_FMA] (MUL12): Use EMULV.
8922 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8923 that are not needed.
8924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8931
ee2aafe0
AS
89322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8933
8934 * math/s_nan.c: Undef __nan.
8935 * math/s_nanf.c: Undef __nanf.
8936 * math/s_nanl.c: Undef __nanl.
8937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8938 "math_private.h".
8939
bc62c2fb
UD
89402011-10-22 Ulrich Drepper <drepper@gmail.com>
8941
77425c63
UD
8942 * math/s_catan.c: Add branch predictions.
8943 * math/s_catanf.c: Likewise.
8944 * math/s_catanh.c: Likewise.
8945 * math/s_catanhf.c: Likewise.
8946 * math/s_catanhl.c: Likewise.
8947 * math/s_catanl.c: Likewise.
8948 * math/s_cexp.c: Likewise.
8949 * math/s_cexpf.c: Likewise.
8950 * math/s_cexpl.c: Likewise.
8951 * math/s_clog.c: Likewise.
8952 * math/s_clog10.c: Likewise.
8953 * math/s_clog10f.c: Likewise.
8954 * math/s_clog10l.c: Likewise.
8955 * math/s_clogf.c: Likewise.
8956 * math/s_clogl.c: Likewise.
8957 * math/s_csqrt.c: Likewise.
8958 * math/s_csqrtf.c: Likewise.
8959 * math/s_csqrtl.c: Likewise.
8960 * math/s_ctanf.c: Likewise.
8961 * math/s_ctanh.c: Likewise.
8962 * math/s_ctanhf.c: Likewise.
8963 * math/s_ctanhl.c: Likewise.
8964 * math/s_ctanl.c: Likewise.
8965
bc62c2fb
UD
8966 * math/math_private.h: Define __nan, __nanf, __nanl.
8967 * math/s_cacosh.c: Include <math_private.h>.
8968 * math/s_cacoshl.c: Likewise.
8969 * math/s_casinh.c: Likewise.
8970 * math/s_casinhf.c: Likewise.
8971 * math/s_casinhl.c: Likewise.
8972 * math/s_ccos.c: Rely entire on ccosh.
8973 * math/s_ccosf.c: Rely entire on ccoshf.
8974 * math/s_ccosl.c: Rely entirely on ccoshl.
8975 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8976 Remove tests for FE_INVALID.
8977 * math/s_ccoshf.c: Likewise.
8978 * math/s_ccoshl.c: Likewise.
8979 * math/s_csin.c: Likewise.
8980 * math/s_csinf.c: Likewise.
8981 * math/s_csinh.c Likewise.
8982 * math/s_csinhf.c: Likewise.
8983 * math/s_csinhl.c: Likewise.
8984 * math/s_csinl.c: Likewise.
8985 * math/s_ctan.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8987 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8989
8ec250a4
UD
89902011-10-21 Ulrich Drepper <drepper@gmail.com>
8991
c196fed8
UD
8992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8993 compilation problems.
8994
8ec250a4
UD
8995 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8996 __builtin_expect.
8997
8d4f46c6
UD
89982011-10-20 Ulrich Drepper <drepper@gmail.com>
8999
ed72b654
UD
9000 * sysdeps/i386/configure.in: Test for -mfma4 option.
9001 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9002 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9003 COMMON_CPUID_INDEX_80000001.
9004 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9005 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9006 use it if FMA3 is not supported.
9007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9008
8d4f46c6
UD
9009 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9010 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9011
d45c60c2
AS
90122011-10-20 Andreas Schwab <schwab@redhat.com>
9013
9014 [BZ #12892]
9015 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9016 it would create a cycle with a link time dependency.
9017
d9a4d2ab
UD
90182011-10-19 Ulrich Drepper <drepper@gmail.com>
9019
855d1560
UD
9020 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9021 instruction.
9022 * string/Makefile (strop-tests): Add rawmemchr.
9023 * string/test-rawmemchr.c: New file.
9024
d9a4d2ab
UD
9025 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9027 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9028 when compiling str{,n}casecmp and when AVX is available. Hook up
9029 new optimized code in initializers.
9030
8f3b1ffe
AS
90312011-10-19 Andreas Schwab <schwab@redhat.com>
9032
9033 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9034 __feraiseexcept instead of feraiseexcept.
9035
d38f1dba
UD
90362011-10-18 Ulrich Drepper <drepper@gmail.com>
9037
d9a8d0ab
UD
9038 * math/math_private.h: Define defaults for libc_fetestexcept and
9039 libc_feupdateenv.
9040 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9041 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9043 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9044 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9045 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9046 libc_fetestexcept and libc_feupdateenv.
9047
4855e3dd
UD
9048 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9049 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9050 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9051 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9052 libc_feholdexcept_setround.
9053
581d30e3
UD
9054 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9055 Add s_nearbyint-c and s_nearbyintf-c.
9056 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9057 nearbyintf inlines.
9058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9059 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9061 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9062
d38f1dba
UD
9063 * math/math_private.h: Define defaults for libc_fegetround,
9064 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9065 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9066 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9068 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9069 standard functions.
9070 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9071 Remove comments and hacks for old compiler versions.
9072 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9073 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9074 libc_feholdexceptl.
9075
caa6c9d8
AS
90762011-10-18 Andreas Schwab <schwab@redhat.com>
9077
9078 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9079 (__feraiseexcept_renamed): Add __NTH.
9080 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9081 namespace violations.
9082
97c066e6
UD
90832011-10-17 Ulrich Drepper <drepper@gmail.com>
9084
99ce7b04
UD
9085 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9086
1004d182
UD
9087 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9088
228a984d
UD
9089 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9090 recently added interfaces.
9091 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9092
c8553a6a
UD
9093 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9094 about macro parameter expansion.
9095
ed22dcf6
UD
9096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9097 __NO_MATH_INLINES is defined. Cleanups.
9098
9099 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9100 and __floorf is target has SSE4.1.
9101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9102 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9103 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9105
b171c137
UD
9106 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9107 name.
9108 (floorf): Likewise.
9109
97c066e6
UD
9110 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9111
629f62ef
AS
91122011-10-17 Andreas Schwab <schwab@redhat.com>
9113
49a43d80
AS
9114 * misc/sys/cdefs.h: Fix last change.
9115
629f62ef
AS
9116 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9117 database lookup.
9118
e453f6cd
UD
91192011-10-16 Ulrich Drepper <drepper@gmail.com>
9120
aa78043a
UD
9121 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9122
ad0f5cad
UD
9123 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9132 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9133 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9134 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9135 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9136 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9137 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9138 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9139 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9140 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9141 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9142 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9143 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9144 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9145
9146 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9147 ceil, ceilf, floor, floorf.
9148
9149 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9150 Perform IRELATIVE relocations last.
9151
e453f6cd
UD
9152 * elf/do-rel.h: Add another parameter nrelative, replacing the
9153 local variable with the same name. Change name of the function
9154 to end in Rel or Rela (uppercase).
9155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9156 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9157 elf_dynamic_do_##reloc function.
9158
fd5bdc09
UD
91592011-10-15 Ulrich Drepper <drepper@gmail.com>
9160
79b195b5
UD
9161 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9162 is sufficient, at least on modern CPUs.
9163
d4a28569
UD
9164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9165
b61099b5
UD
9166 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9167 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9168
bcf01e6d
UD
9169 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9170 __expl_finite.
9171 * math/bits/math-finite.h: Add entries for exp.
9172 * math/e_expl.c: Add __*_finite alias.
9173 * sysdeps/i386/fpu/e_exp.S: Likewise.
9174 * sysdeps/i386/fpu/e_expf.S: Likewise.
9175 * sysdeps/i386/fpu/e_expl.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9177 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9181 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9183
ba1a0d59
UD
9184 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9185 is sufficient, at least on modern CPUs.
9186
fd5bdc09
UD
9187 * ctype/ctype-info.c (__ctype_init): Define.
9188 * include/ctype.h (__ctype_init): Declare.
9189 (__ctype_b_loc): The variable is always initialized.
9190 (__ctype_toupper_loc): Likewise.
9191 (__ctype_tolower_loc): Likewise.
9192 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9193 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9194
7872cfb0
AS
91952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9196
b468825a
AS
9197 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9198
7872cfb0
AS
9199 * configure.in: Also look in $cxxmachine/include for C++ system
9200 headers.
9201
be13f7bf
LD
92022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9203
9204 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9205 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9206 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9207 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9209 (USE_AS_WMEMCMP): New macro.
9210 Fixing indents.
9211 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9212 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9213 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9214 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9216 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9217 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9218 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9219 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9220 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9221 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9222 (USE_AS_WMEMCMP): New macro.
9223 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9224 * sysdeps/string/test-memcmp.c: Update.
9225 Fix simple_wmemcmp.
9226 Add new tests.
9227 * wcsmbs/wmemcmp.c: Update.
9228 (WMEMCMP): New macro.
9229 Fix overflow bug.
9230
556a2007
AJ
92312011-10-12 Andreas Jaeger <aj@suse.de>
9232
9233 [BZ #13268]
9234 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9235
538faaa7
UD
92362011-10-15 Ulrich Drepper <drepper@gmail.com>
9237
ab6737ff
UD
9238 * libio/iofwide.c (do_length): Avoid warning.
9239
538faaa7
UD
9240 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9241
396a21b1
UD
92422011-10-14 Ulrich Drepper <drepper@gmail.com>
9243
cdf2901f
UD
9244 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9245
38ad40ce
UD
9246 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9247 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9248 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9249 * sysdeps/i386/i686/fpu/e_log.S: New file.
9250 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9251 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9252
396a21b1
UD
9253 * ctype/ctype.h: Add support for inlined isXXX functions when
9254 compiling C++ code.
9255
6b1f68c9
AS
92562011-10-14 Andreas Schwab <schwab@redhat.com>
9257
349290c0
AS
9258 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9259
6b1f68c9
AS
9260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9261
f2282d42
RM
92622011-10-13 Roland McGrath <roland@hack.frob.com>
9263
9264 [BZ #13291]
9265 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9266
5298ffa8
AS
92672011-10-13 Andreas Schwab <schwab@redhat.com>
9268
714fad23
AS
9269 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9270 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9271 feraiseexcept.
9272
81dcc7fb
AS
9273 * sysdeps/x86_64/memrchr.S: Check for zero size.
9274
5298ffa8
AS
9275 * string/stratcliff.c: Add memrchr tests.
9276
951fbcec
LD
92772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9278
9279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9280 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9281 rawmemchr-sse2 rawmemchr-sse2-bsf.
9282 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9283 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9284 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9285 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9286 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9287 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9288 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9289 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9291 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9292 * string/memrchr.c (MEMRCHR): New macro.
9293
0ac5ae23
UD
92942011-10-12 Ulrich Drepper <drepper@gmail.com>
9295
9296 Add integration with gcc's -ffinite-math-only and optimize wrapper
9297 functions in libm.
9298 * Versions.def: Define GLIBC_2.15 version for libm.
9299 * math/Makefile (headers): Add bits/math-finite.h.
9300 * math/bits/math-finite.h: New file.
9301 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9302 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9303 * math/e_acoshl.c: Add __*_finite alias.
9304 * math/e_acosl.c: Likewise.
9305 * math/e_asinl.c: Likewise.
9306 * math/e_atan2l.c: Likewise.
9307 * math/e_atanhl.c: Likewise.
9308 * math/e_coshl.c: Likewise.
9309 * math/e_exp10.c: Likewise.
9310 * math/e_exp10f.c: Likewise.
9311 * math/e_exp10l.c: Likewise.
9312 * math/e_exp2l.c: Likewise.
9313 * math/e_fmodl.c: Likewise.
9314 * math/e_gammal_r.c: Likewise.
9315 * math/e_hypotl.c: Likewise.
9316 * math/e_j0l.c: Likewise.
9317 * math/e_j1l.c: Likewise.
9318 * math/e_jnl.c: Likewise.
9319 * math/e_lgammal_r.c: Likewise.
9320 * math/e_log10l.c: Likewise.
9321 * math/e_log2l.c: Likewise.
9322 * math/e_logl.c: Likewise.
9323 * math/e_powl.c: Likewise.
9324 * math/e_sinhl.c: Likewise.
9325 * math/e_sqrtl.c: Likewise.
9326 * math/e_scalb.c: Completely rewritten and optimized.
9327 * math/e_scalbf.c: Likewise.
9328 * math/e_scalbl.c: Likewise.
9329 * math/w_acos.c: Likewise.
9330 * math/w_acosf.c: Likewise.
9331 * math/w_acosl.c: Likewise.
9332 * math/w_acosh.c: Likewise.
9333 * math/w_acoshf.c: Likewise.
9334 * math/w_acoshl.c: Likewise.
9335 * math/w_asin.c: Likewise.
9336 * math/w_asinf.c: Likewise.
9337 * math/w_asinl.c: Likewise.
9338 * math/w_atan2.c: Likewise.
9339 * math/w_atan2f.c: Likewise.
9340 * math/w_atan2l.c: Likewise.
9341 * math/w_atanh.c: Likewise.
9342 * math/w_atanhf.c: Likewise.
9343 * math/w_atanhl.c: Likewise.
9344 * math/w_exp10.c: Likewise.
9345 * math/w_exp10f.c: Likewise.
9346 * math/w_exp10l.c: Likewise.
9347 * math/w_fmod.c: Likewise.
9348 * math/w_fmodf.c: Likewise.
9349 * math/w_fmodl.c: Likewise.
9350 * math/w_j0.c: Likewise.
9351 * math/w_j0f.c: Likewise.
9352 * math/w_j0l.c: Likewise.
9353 * math/w_j1.c: Likewise.
9354 * math/w_j1f.c: Likewise.
9355 * math/w_j1l.c: Likewise.
9356 * math/w_jn.c: Likewise.
9357 * math/w_jnf.c: Likewise.
9358 * math/w_log.c: Likewise.
9359 * math/w_logf.c: Likewise.
9360 * math/w_logl.c: Likewise.
9361 * math/w_log10.c: Likewise.
9362 * math/w_log10f.c: Likewise.
9363 * math/w_log10l.c: Likewise.
9364 * math/w_log2.c: Likewise.
9365 * math/w_log2f.c: Likewise.
9366 * math/w_log2l.c: Likewise.
9367 * math/w_pow.c: Likewise.
9368 * math/w_powf.c: Likewise.
9369 * math/w_powl.c: Likewise.
9370 * math/w_remainder.c: Likewise.
9371 * math/w_remainderf.c: Likewise.
9372 * math/w_remainderl.c: Likewise.
9373 * math/w_scalb.c: Likewise.
9374 * math/w_scalbf.c: Likewise.
9375 * math/w_scalbl.c: Likewise.
9376 * math/w_sqrt.c: Likewise.
9377 * math/w_sqrtf.c: Likewise.
9378 * math/w_sqrtl.c: Likewise.
9379 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9380 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9381 used.
9382 * math/math_private.h: Declare __kernel_standard_f.
9383 * math/w_cosh.c: Remove cruft and optimize a bit.
9384 * math/w_coshf.c: Likewise.
9385 * math/w_coshl.c: Likewise.
9386 * math/w_exp2.c: Likewise.
9387 * math/w_exp2f.c: Likewise.
9388 * math/w_exp2l.c: Likewise.
9389 * math/w_hypot.c: Likewise.
9390 * math/w_hypotf.c: Likewise.
9391 * math/w_hypotl.c: Likewise.
9392 * math/w_lgamma.c: Likewise.
9393 * math/w_lgamma_r.c: Likewise.
9394 * math/w_lgammaf.c: Likewise.
9395 * math/w_lgammaf_r.c: Likewise.
9396 * math/w_lgammal.c: Likewise.
9397 * math/w_lgammal_r.c: Likewise.
9398 * math/w_sinh.c: Likewise.
9399 * math/w_sinhf.c: Likewise.
9400 * math/w_sinhl.c: Likewise.
9401 * math/w_tgamma.c: Likewise.
9402 * math/w_tgammaf.c: Likewise.
9403 * math/w_tgammal.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9406 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9407 Minor optimizations. Pretty printing. Remove cruft.
9408 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9411 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9412 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9413 * sysdeps/i386/fpu/e_asin.S: Likewise.
9414 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9415 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9416 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9417 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9421 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9422 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9423 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9424 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9425 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9426 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9427 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9428 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9429 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9430 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9431 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9432 * sysdeps/i386/fpu/e_log.S: Likewise.
9433 * sysdeps/i386/fpu/e_log10.S: Likewise.
9434 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9435 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9436 * sysdeps/i386/fpu/e_log2.S: Likewise.
9437 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9439 * sysdeps/i386/fpu/e_logf.S: Likewise.
9440 * sysdeps/i386/fpu/e_logl.S: Likewise.
9441 * sysdeps/i386/fpu/e_pow.S: Likewise.
9442 * sysdeps/i386/fpu/e_powf.S: Likewise.
9443 * sysdeps/i386/fpu/e_powl.S: Likewise.
9444 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9445 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9446 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9450 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9451 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9452 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9474 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9477 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9479 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9480 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9482 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9484 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9487 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9546 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9547 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9548 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9549 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9550 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9551 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9552 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9553 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9554 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9555 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9556 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9557 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9561 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9562 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9563 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9564 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9565 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9566 (__isnanf): Likewise.
9567 (__isinf_ns): Likewise.
9568 (__isinf_nsf): Likewise.
9569 (__finite): Likewise.
9570 (__finitef): Likewise.
9571 (__ieee754_sqrt): Define as macro.
9572 (__ieee754_sqrtf): Define as macro.
9573 (__ieee754_sqrtl): Define as macro.
9574 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9575 inlined copy.
9576 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9577 __FINITE_MATH_ONLY__ consistent.
9578 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9579
12cc2fcd
AS
95802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9581
a843a204
AS
9582 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9583 of rawmemchr.
9584
12cc2fcd
AS
9585 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9586
c853acd5
UD
95872011-10-09 Ulrich Drepper <drepper@gmail.com>
9588
9589 * po/ja.po: Update from translation team.
9590
c658d255
RM
95912011-10-08 Roland McGrath <roland@hack.frob.com>
9592
110946e4
RM
9593 * locale/programs/locarchive.c (prepare_address_space): New function.
9594 (create_archive, enlarge_archive, open_archive): Use it.
9595
50604220
RM
9596 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9597 inside [SHARED], where it is used.
9598
c658d255
RM
9599 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9600
9601 * nss/getent.c (netgroup_keys): Remove unused variable.
9602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9603
6a621eb7
UD
96042011-10-08 Ulrich Drepper <drepper@gmail.com>
9605
7edb55ce
UD
9606 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9607 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9610 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9611 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9612 * math/Makefile (libm-calls): Add s_isinf_ns.
9613 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9614 * math/multc3.c: Likewise.
9615 * math/s_casin.c: Likewise.
9616 * math/s_casinf.c: Likewise.
9617 * math/s_casinl.c: Likewise.
9618 * math/s_ccos.c: Likewise.
9619 * math/s_ccosf.c: Likewise.
9620 * math/s_ccosl.c: Likewise.
9621 * math/s_ctan.c: Likewise.
9622 * math/s_ctanf.c: Likewise.
9623 * math/s_ctanh.c: Likewise.
9624 * math/s_ctanhf.c: Likewise.
9625 * math/s_ctanhl.c: Likewise.
9626 * math/s_ctanl.c: Likewise.
9627 * math/w_fmod.c: Likewise.
9628 * math/w_fmodf.c: Likewise.
9629 * math/w_fmodl.c: Likewise.
9630 * math/w_remainder.c: Likewise.
9631 * math/w_remainderf.c: Likewise.
9632 * math/w_remainderl.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9634 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9637 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9638 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9639 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9640 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9641
187da0ae
UD
9642 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9643 of the number.
9644 * stdio-common/printf_fphex.c: Likewise.
9645 * stdio-common/printf_size.c: Likewise.
9646
9277c064
UD
9647 * math/e_exp10.c: Include math_private.h using <...> not "...".
9648 * math/e_exp10f.c: Likewise.
9649 * math/e_exp10l.c: Likewise.
9650 * math/e_exp2l.c: Likewise.
9651 * math/e_j0l.c: Likewise.
9652 * math/e_j1l.c: Likewise.
9653 * math/e_jnl.c: Likewise.
9654 * math/e_lgammal_r.c: Likewise.
9655 * math/e_rem_pio2l.c: Likewise.
9656 * math/e_scalb.c: Likewise.
9657 * math/e_scalbf.c: Likewise.
9658 * math/e_scalbl.c: Likewise.
9659 * math/k_cosl.c: Likewise.
9660 * math/k_sinl.c: Likewise.
9661 * math/k_tanl.c: Likewise.
9662 * math/s_cacoshf.c: Likewise.
9663 * math/s_catan.c: Likewise.
9664 * math/s_catanf.c: Likewise.
9665 * math/s_catanh.c: Likewise.
9666 * math/s_catanhf.c: Likewise.
9667 * math/s_catanhl.c: Likewise.
9668 * math/s_catanl.c: Likewise.
9669 * math/s_ccosh.c: Likewise.
9670 * math/s_ccoshf.c: Likewise.
9671 * math/s_ccoshl.c: Likewise.
9672 * math/s_cexp.c: Likewise.
9673 * math/s_cexpf.c: Likewise.
9674 * math/s_cexpl.c: Likewise.
9675 * math/s_clog.c: Likewise.
9676 * math/s_clog10.c: Likewise.
9677 * math/s_clog10f.c: Likewise.
9678 * math/s_clog10l.c: Likewise.
9679 * math/s_clogf.c: Likewise.
9680 * math/s_clogl.c: Likewise.
9681 * math/s_csin.c: Likewise.
9682 * math/s_csinf.c: Likewise.
9683 * math/s_csinh.c: Likewise.
9684 * math/s_csinhf.c: Likewise.
9685 * math/s_csinhl.c: Likewise.
9686 * math/s_csinl.c: Likewise.
9687 * math/s_csqrt.c: Likewise.
9688 * math/s_csqrtf.c: Likewise.
9689 * math/s_csqrtl.c: Likewise.
9690 * math/s_ctan.c: Likewise.
9691 * math/s_ctanf.c: Likewise.
9692 * math/s_ctanh.c: Likewise.
9693 * math/s_ctanhf.c: Likewise.
9694 * math/s_ctanhl.c: Likewise.
9695 * math/s_ctanl.c: Likewise.
9696 * math/s_ldexp.c: Likewise.
9697 * math/s_ldexpf.c: Likewise.
9698 * math/s_ldexpl.c: Likewise.
9699 * math/s_significand.c: Likewise.
9700 * math/s_significandf.c: Likewise.
9701 * math/s_significandl.c: Likewise.
9702 * math/w_acos.c: Likewise.
9703 * math/w_acosf.c: Likewise.
9704 * math/w_acosh.c: Likewise.
9705 * math/w_acoshf.c: Likewise.
9706 * math/w_acoshl.c: Likewise.
9707 * math/w_acosl.c: Likewise.
9708 * math/w_asin.c: Likewise.
9709 * math/w_asinf.c: Likewise.
9710 * math/w_asinl.c: Likewise.
9711 * math/w_atan2.c: Likewise.
9712 * math/w_atan2f.c: Likewise.
9713 * math/w_atan2l.c: Likewise.
9714 * math/w_atanh.c: Likewise.
9715 * math/w_atanhf.c: Likewise.
9716 * math/w_atanhl.c: Likewise.
9717 * math/w_cosh.c: Likewise.
9718 * math/w_coshf.c: Likewise.
9719 * math/w_coshl.c: Likewise.
9720 * math/w_dremf.c: Likewise.
9721 * math/w_exp10.c: Likewise.
9722 * math/w_exp10f.c: Likewise.
9723 * math/w_exp10l.c: Likewise.
9724 * math/w_exp2.c: Likewise.
9725 * math/w_exp2f.c: Likewise.
9726 * math/w_fmod.c: Likewise.
9727 * math/w_fmodf.c: Likewise.
9728 * math/w_fmodl.c: Likewise.
9729 * math/w_hypot.c: Likewise.
9730 * math/w_hypotf.c: Likewise.
9731 * math/w_hypotl.c: Likewise.
9732 * math/w_j0.c: Likewise.
9733 * math/w_j0f.c: Likewise.
9734 * math/w_j0l.c: Likewise.
9735 * math/w_j1.c: Likewise.
9736 * math/w_j1f.c: Likewise.
9737 * math/w_j1l.c: Likewise.
9738 * math/w_jn.c: Likewise.
9739 * math/w_jnf.c: Likewise.
9740 * math/w_jnl.c: Likewise.
9741 * math/w_lgamma.c: Likewise.
9742 * math/w_lgamma_r.c: Likewise.
9743 * math/w_lgammaf.c: Likewise.
9744 * math/w_lgammaf_r.c: Likewise.
9745 * math/w_lgammal.c: Likewise.
9746 * math/w_lgammal_r.c: Likewise.
9747 * math/w_log.c: Likewise.
9748 * math/w_log10.c: Likewise.
9749 * math/w_log10f.c: Likewise.
9750 * math/w_log10l.c: Likewise.
9751 * math/w_log2.c: Likewise.
9752 * math/w_log2f.c: Likewise.
9753 * math/w_log2l.c: Likewise.
9754 * math/w_logf.c: Likewise.
9755 * math/w_logl.c: Likewise.
9756 * math/w_pow.c: Likewise.
9757 * math/w_powf.c: Likewise.
9758 * math/w_powl.c: Likewise.
9759 * math/w_remainder.c: Likewise.
9760 * math/w_remainderf.c: Likewise.
9761 * math/w_remainderl.c: Likewise.
9762 * math/w_scalb.c: Likewise.
9763 * math/w_scalbf.c: Likewise.
9764 * math/w_scalbl.c: Likewise.
9765 * math/w_sinh.c: Likewise.
9766 * math/w_sinhf.c: Likewise.
9767 * math/w_sinhl.c: Likewise.
9768 * math/w_sqrt.c: Likewise.
9769 * math/w_sqrtf.c: Likewise.
9770 * math/w_sqrtl.c: Likewise.
9771 * math/w_tgamma.c: Likewise.
9772 * math/w_tgammaf.c: Likewise.
9773 * math/w_tgammal.c: Likewise.
9774
6a621eb7
UD
9775 * po/ja.po: Update from translation team.
9776
bf582445
AJ
97772011-09-29 Andreas Jaeger <aj@suse.de>
9778
f9efbf3a
AJ
9779 [BZ #13179]
9780 * sunrpc/netname.c (netname2host): Fix logic.
9781
bf582445
AJ
9782 [BZ #6779]
9783 [BZ #6783]
9784 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9785 correctly.
9786 * math/w_remainder.c (__remainder): Likewise.
9787 * math/w_remainderf.c (__remainderf): Likewise.
9788 * math/libm-test.inc (remainder_test): Add test cases.
9789
48693bea
AK
97902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9791
9792 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9793 sdiv_qrnnd.
9794
42622229
LD
97952011-10-07 Ulrich Drepper <drepper@gmail.com>
9796
9797 * string/test-memcmp.c: Avoid unncessary #defines.
9798 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9799
093ecf92
LD
98002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9801
9802 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9803 Use new sse2 version for core i3 - i7 as it's faster
9804 than sse42 version.
9805 (bit_Prefer_PMINUB_for_stringop): New.
9806 * sysdeps/x86_64/rawmemchr.S: Update.
9807 Replace with faster SSE2 version.
9808 * sysdeps/x86_64/memrchr.S: New file.
9809 * sysdeps/x86_64/memchr.S: Update.
9810 Replace with faster SSE2 version.
9811
fde56e5c
MP
98122011-09-12 Marek Polacek <mpolacek@redhat.com>
9813
9814 * elf/dl-load.c (lose): Add cast to avoid warning.
9815
21fd49a9
UD
98162011-10-07 Ulrich Drepper <drepper@gmail.com>
9817
5a06e643
UD
9818 * po/ca.po: Update from translation team.
9819
684ae515
UD
9820 * inet/getnetgrent_r.c: Hook up nscd.
9821 * nscd/Makefile (routines): Add nscd_netgroup.
9822 (nscd-modules): Add netgroupcache.
9823 (CFLAGS-netgroupcache.c): Define.
9824 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9825 (cache_search): Add const to second parameter.
9826 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9827 INNETGR.
9828 (dbs): Add netgrdb entry.
9829 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9830 (verify_persistent_db): Handle netgrdb.
9831 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9832 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9833 GETFDNETGR.
9834 (netgroup_response_header): Define.
9835 (innetgroup_response_header): Define.
9836 (datahead): Add netgroup_response_header and innetgroup_response_header
9837 elements.
9838 * nscd/nscd.conf: Add entries for netgroup cache.
9839 * nscd/nscd.h (dbtype): Add netgrdb.
9840 (_PATH_NSCD_NETGROUP_DB): Define.
9841 (netgroup_iov_disabled): Declare.
9842 (xmalloc, xcalloc, xrealloc): Move declarations here.
9843 (cache_search): Adjust prototype.
9844 Add netgroup-related prototypes.
9845 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9846 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9847 (__nscd_innetgr): Declare.
9848 * nscd/selinux.c (perms): Use access_vector_t as element type and
9849 add netgroup-related initializers.
9850 * nscd/netgroupcache.c: New file.
9851 * nscd/nscd_netgroup.c: New file.
9852 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9853 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9854 For four parameters use innetgr.
9855 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9856 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9857 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9858 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9859
21fd49a9
UD
9860 * nscd/connections.c (register_traced_file): Don't register file
9861 for disabled databases.
9862
054c0457
UD
98632011-10-06 Ulrich Drepper <drepper@gmail.com>
9864
32b63198
UD
9865 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9866
054c0457
UD
9867 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9868 from tree and freeing node.
9869
64031225
JO
98702011-09-25 Jiri Olsa <jolsa@redhat.com>
9871
9872 * nss/nsswitch.c (__nss_database_lookup): Handle
9873 nss_parse_service_list out of memory case.
9874
0490345c
JO
98752011-09-15 Jiri Olsa <jolsa@redhat.com>
9876
9877 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9878 out of memory case.
9879
3a62d00d
AS
98802011-10-04 Andreas Schwab <schwab@redhat.com>
9881
9882 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9883 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9884 pass it down.
9885 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9886 elf_machine_rela, elf_machine_lazy_rel.
9887 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9888 (ELF_DYNAMIC_DO_REL): Likewise.
9889 (ELF_DYNAMIC_DO_RELA): Likewise.
9890 (ELF_DYNAMIC_RELOCATE): Likewise.
9891 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9892 to ELF_DYNAMIC_DO_REL.
9893 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9894 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9895 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9896 elf_machine_rela.
9897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9898 skip_ifunc, don't call ifunc function if non-zero.
9899 (elf_machine_rela): Likewise.
9900 (elf_machine_lazy_rel): Likewise.
9901 (elf_machine_lazy_rela): Likewise.
9902 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9903 (elf_machine_lazy_rel): Likewise.
9904 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9905 Likewise.
9906 (elf_machine_lazy_rel): Likewise.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9908 Likewise.
9909 (elf_machine_lazy_rel): Likewise.
9910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9911 (elf_machine_lazy_rel): Likewise.
9912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9913 (elf_machine_lazy_rel): Likewise.
9914 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9915 (elf_machine_lazy_rel): Likewise.
9916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9917 (elf_machine_lazy_rel): Likewise.
9918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9919 (elf_machine_lazy_rel): Likewise.
9920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9921 (elf_machine_lazy_rel): Likewise.
9922
68577918
UD
99232011-09-28 Ulrich Drepper <drepper@gmail.com>
9924
9925 * nss/nss_files/files-init.c (_nss_files_init): Use static
9926 initialization for all the *_traced_file variables.
9927
68822d74
AS
99282011-09-28 Andreas Schwab <schwab@redhat.com>
9929
9930 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9931
2056100b
RM
99322011-09-27 Roland McGrath <roland@hack.frob.com>
9933
9934 [BZ #13226]
9935 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9936
32c76b63
AS
99372011-09-27 Andreas Schwab <schwab@redhat.com>
9938
9939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9940 Reread the line before reparsing it.
9941
bf972c9d
AS
99422011-09-26 Andreas Schwab <schwab@redhat.com>
9943
9944 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9945
e057a1b5
JM
99462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9947 Maxim Kuvyrkov <maxim@codesourcery.com>
9948 Joseph Myers <joseph@codesourcery.com>
9949
9950 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9951 if needed for __stack_chk_guard.
9952
bc7e1c36
RM
99532011-09-19 Roland McGrath <roland@hack.frob.com>
9954
ecb1482f
RM
9955 * sysdeps/posix/spawni.c (script_execute): Always define it.
9956 It will be optimized away if unused.
9957 (maybe_script_execute): New function.
9958 (__spawni): Call it.
9959
bc7e1c36
RM
9960 * Makerules: Don't include tls.make.
9961 (config-tls): Always set to thread.
9962 * tls.make.c: File removed.
9963
1c3b002b
MF
99642011-09-19 Mike Frysinger <vapier@gentoo.org>
9965
9966 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9967 * config.make.in (CPPFLAGS-config): New substituted variable.
9968
2840865d
UD
99692011-09-15 Ulrich Drepper <drepper@gmail.com>
9970
88738eb6
UD
9971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9972
cbf645a6 9973 [BZ #13192]
2840865d
UD
9974 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9975 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9976
b402e91a
RM
99772011-09-15 Roland McGrath <roland@hack.frob.com>
9978
9979 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9980 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9982 (CALL_FAIL): Likewise.
9983 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9984 (CALL_FAIL): Macro removed.
9985 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9986
4c1a1f71
UD
99872011-09-15 Ulrich Drepper <drepper@gmail.com>
9988
9989 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9990 for __FINITE_MATH_ONLY__ == 1.
9991
edc121be
AS
99922011-09-15 Andreas Schwab <schwab@redhat.com>
9993
9994 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9995 __ieee754_sqrt instead of sqrt.
9996 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9997 __ieee754_sqrtf instead of sqrtf.
9998 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9999 __floorf instead of floorf.
10000 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10001 __floorf, __truncf instead of floorf, truncf.
10002
cd205654
UD
100032011-09-14 Ulrich Drepper <drepper@gmail.com>
10004
ee4d0315
UD
10005 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10006
cd205654
UD
10007 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10008 __extern_always_inline.
10009 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10010 32-bit.
10011
48b67d71
AS
100122011-09-14 Andreas Schwab <schwab@redhat.com>
10013
10014 * elf/rtld.c (dl_main): Also relocate in dependency order when
10015 doing symbol dependency testing.
10016
1ae12c75
AS
100172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10018
10019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10020 Always define `refsym'.
10021
995a80df
AS
100222011-09-13 Andreas Schwab <schwab@redhat.com>
10023
e529793b
AS
10024 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10025 (__FD_ELT): Renamed from __FDELT.
10026 * misc/bits/select2.h (__FD_ELT): Likewise.
10027 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10028 __FD_MASK instead of __FDELT, __FDMASK.
10029 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10030 Likewise.
10031 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10032 Likewise.
10033
52d4fef8
AS
10034 * elf/Makefile (gen-ldd): Fix pattern.
10035
995a80df
AS
10036 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10037 (init_tls): Likewise.
10038
8682f8b0
UD
100392011-09-12 Ulrich Drepper <drepper@gmail.com>
10040
10041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10042
de82006d
AS
100432011-09-12 Andreas Schwab <schwab@redhat.com>
10044
a7c8e6a1
AS
10045 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10046 `struct cmsghdr *' instead of `void *'.
10047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10048 Likewise.
10049
0f31fe77
AS
100502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10051
10052 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10053 if non-absolute.
10054 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10055 ldd_rewrite_script.
0f31fe77 10056
32b4c839
UD
100572011-09-11 Ulrich Drepper <drepper@gmail.com>
10058
83cd1420
UD
10059 * configure.in: Remove --with-tls option.
10060 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10061 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10062 out in case it is missing.
10063 * sysdeps/ia64/elf/configure.in: Likewise.
10064 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10065 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10066 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10067 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10068 * sysdeps/sh/elf/configure.in: Likewise.
10069 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10070 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10071 * sysdeps/x86_64/elf/configure.in: Likewise.
10072 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10073 * sysdeps/mach/hurd/tls.h: Likewise.
10074
633f745d
UD
10075 [BZ #13067]
10076 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10077
f318beb8
UD
10078 [BZ #13090]
10079 * configure.in: Fix use of AC_INIT.
10080
32b4c839
UD
10081 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10082
3ce1f295
UD
100832011-09-10 Ulrich Drepper <drepper@gmail.com>
10084
bb016596
UD
10085 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10086 __set_errno.
8e58439c
UD
10087 * malloc/hooks.c: Likewise.
10088
aebae053 10089 [BZ #11929]
02d46fc4
UD
10090 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10091 variables statically.
10092 (narenas): Initialize.
10093 (list_lock): Initialize.
bb016596
UD
10094 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10095 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10096 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10097 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10098 Add initializers to main_arena and mp_.
10099 (malloc_state): Remove pagesize member. Change all users to use
10100 GLRO(dl_pagesize).
10101
10102 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10103 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10104 is always initialized.
10105
22a89187
UD
10106 * malloc/malloc.c: Removed unused configurations and dead code.
10107 * malloc/arena.c: Likewise.
10108 * malloc/hooks.c: Likewise.
02d46fc4 10109 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10110
d063d164
UD
10111 * include/tls.h: Removed. USE___THREAD must always be defined.
10112 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10113 * elf/dl-libc.c: Likewise.
10114 * elf/dl-tsd.c: Likewise.
10115 * include/errno.h: Likewise.
10116 * include/netdb.h: Likewise.
10117 * include/resolv.h: Likewise.
10118 * inet/herrno-loc.c: Likewise.
10119 * inet/herrno.c: Likewise.
10120 * malloc/arena.c: Likewise.
10121 * malloc/hooks.c: Likewise.
10122 * malloc/malloc.c: Likewise.
10123 * resolv/res-state.c: Likewise.
10124 * resolv/res_libc.c: Likewise.
10125 * sysdeps/i386/dl-machine.h: Likewise.
10126 * sysdeps/ia64/dl-machine.h: Likewise.
10127 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10128 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10129 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10130 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10131 * sysdeps/sh/dl-machine.h: Likewise.
10132 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10133 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10134 * sysdeps/unix/i386/sysdep.S: Likewise.
10135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10136 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10146 * sysdeps/x86_64/dl-machine.h: Likewise.
10147 * tls.make.c: Likewise.
10148
3ce1f295
UD
10149 * configure.in: Remove --with-__thread option. Make tests for
10150 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10151 tls_model attribute fail if no support is available. Remove
10152 USE_IN_LIBIO.
10153 * Makeconfig: Adjust for dropped configure option. All features are
10154 now mandatory.
10155 * Makerules: Likewise.
10156 * Versions.def: Likewise.
10157 * argp/argp-fmtstream.c: Likewise.
10158 * argp/argp-fmtstream.h: Likewise.
10159 * argp/argp-help.c: Likewise.
10160 * assert/assert.c: Likewise.
10161 * config.h.in: Likewise.
10162 * config.make.in: Likewise.
10163 * configure: Likewise.
10164 * configure.in: Likewise.
10165 * csu/Versions: Likewise.
10166 * csu/init.c: Likewise.
10167 * elf/tst-audit2.c: Likewise.
10168 * elf/tst-tls10.c: Likewise.
10169 * elf/tst-tls10.h: Likewise.
10170 * elf/tst-tls11.c: Likewise.
10171 * elf/tst-tls12.c: Likewise.
10172 * elf/tst-tls14.c: Likewise.
10173 * elf/tst-tlsmod11.c: Likewise.
10174 * elf/tst-tlsmod12.c: Likewise.
10175 * elf/tst-tlsmod13.c: Likewise.
10176 * elf/tst-tlsmod13a.c: Likewise.
10177 * elf/tst-tlsmod14a.c: Likewise.
10178 * elf/tst-tlsmod15b.c: Likewise.
10179 * elf/tst-tlsmod16a.c: Likewise.
10180 * elf/tst-tlsmod16b.c: Likewise.
10181 * elf/tst-tlsmod7.c: Likewise.
10182 * elf/tst-tlsmod8.c: Likewise.
10183 * elf/tst-tlsmod9.c: Likewise.
10184 * gmon/gmon.c: Likewise.
10185 * grp/fgetgrent_r.c: Likewise.
10186 * grp/putgrent.c: Likewise.
10187 * hurd/fopenport.c: Likewise.
10188 * include/libc-symbols.h: Likewise.
10189 * include/tls.h: Likewise.
10190 * intl/gettextP.h: Likewise.
10191 * intl/loadinfo.h: Likewise.
10192 * locale/global-locale.c: Likewise.
10193 * locale/localeinfo.h: Likewise.
10194 * mach/devstream.c: Likewise.
10195 * malloc/arena.c: Likewise.
10196 * malloc/set-freeres.c: Likewise.
10197 * misc/err.c: Likewise.
10198 * misc/getttyent.c: Likewise.
10199 * misc/mntent_r.c: Likewise.
10200 * posix/getopt.c: Likewise.
10201 * posix/wordexp.c: Likewise.
10202 * pwd/fgetpwent_r.c: Likewise.
10203 * resolv/Versions: Likewise.
10204 * resolv/res_hconf.c: Likewise.
10205 * shadow/fgetspent_r.c: Likewise.
10206 * shadow/putspent.c: Likewise.
10207 * stdio-common/printf_fphex.c: Likewise.
10208 * stdio-common/tmpfile.c: Likewise.
10209 * stdlib/abort.c: Likewise.
10210 * stdlib/fmtmsg.c: Likewise.
10211 * sunrpc/auth_unix.c: Likewise.
10212 * sunrpc/clnt_perr.c: Likewise.
10213 * sunrpc/clnt_tcp.c: Likewise.
10214 * sunrpc/clnt_udp.c: Likewise.
10215 * sunrpc/clnt_unix.c: Likewise.
10216 * sunrpc/openchild.c: Likewise.
10217 * sunrpc/svc_simple.c: Likewise.
10218 * sunrpc/svc_tcp.c: Likewise.
10219 * sunrpc/svc_udp.c: Likewise.
10220 * sunrpc/svc_unix.c: Likewise.
10221 * sunrpc/xdr.c: Likewise.
10222 * sunrpc/xdr_array.c: Likewise.
10223 * sunrpc/xdr_rec.c: Likewise.
10224 * sunrpc/xdr_ref.c: Likewise.
10225 * sunrpc/xdr_stdio.c: Likewise.
10226
1248c1c4
PB
102272011-09-09 Ulrich Drepper <drepper@gmail.com>
10228
10229 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10230
102312011-07-03 Andreas Jaeger <aj@suse.de>
10232
10233 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10234 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10235 regenerate with gen-libm-tests.pl.
10236
102372010-05-12 Petr Baudis <pasky@suse.cz>
10238
10239 [BZ #11589]
10240 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10241 around j0() zero points by switching to j1().
10242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10246
f22e1074
UD
102472011-09-09 Ulrich Drepper <drepper@gmail.com>
10248
f19009c1
UD
10249 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10250 instead of 0.
10251 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10252 instead of 0. .
10253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10254 Patch in part by Pavel Roskin <proski@gnu.org>.
10255
3f8cc204
UD
10256 [BZ #13138]
10257 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10258 realloc.
10259 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10260 Free memory block if necessary.
10261
f22e1074
UD
10262 [BZ #12847]
10263 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10264 be NULL. Don't lock in this case.
10265
0a2349f9
RM
102662011-09-09 Roland McGrath <roland@hack.frob.com>
10267
10268 * elf/elf.h (ELFOSABI_GNU): New macro.
10269 (ELFOSABI_LINUX): Define to that.
10270
f3cdd467
DZ
102712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10272
10273 * string/strncat.c (strncat): Undef the symbol in case it has been
10274 defined in bits/string.h.
10275
74718d13
UD
102762011-09-09 Ulrich Drepper <drepper@gmail.com>
10277
633e9e0f
UD
10278 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10279
0a2349f9 10280 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10281 link map.
10282
f9924780
AJ
102832011-08-17 Andreas Jaeger <aj@suse.de>
10284
10285 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10286
7f5517aa
PP
102872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10288 Ian Lance Taylor <iant@google.com>
10289
10290 * math/libm-test.inc (lround_test): New testcase.
10291 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10292
762011fe
UD
102932011-09-08 Ulrich Drepper <drepper@gmail.com>
10294
92963737
UD
10295 * Makefile: Remove support for automatic cvs check-ins.
10296 * Makerules: Likewise.
10297 * config.make.in: Likewise.
10298 * configure.in: Likewise.
10299 * intl/Makefile: Likewise.
10300 * locale/Makefile: Likewise.
10301 * po/Makefile: Likewise.
10302 * posix/Makefile: Likewise.
10303 * sysdeps/gnu/Makefile: Likewise.
10304 * sysdeps/mach/hurd/Makefile: Likewise.
10305 * sysdeps/sparc/sparc32/Makefile: Likewise.
10306
b0727fd8
JS
10307 [BZ #13118]
10308 * posix/Makefile (bug-regex32-ENV): Define.
10309 Patch by John Stanley <jpsinthemix@verizon.net>.
10310
a0f33f99
UD
10311 * misc/Makefile (headers): Add bits/select2.h.
10312 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10313 * misc/bits/select2.h: New file.
10314 * include/bits/select2.h: New file.
10315 * debug/Makefile (routines): Add fdelt_chk.
10316 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10317 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10318 FD_ISSET.
10319 * debug/fdelt_chk.c: New file.
10320
762011fe
UD
10321 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10322 * wcsmbs/test-wmemcmp.c: Likewise.
10323 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10324 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10325
103262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10327
10328 * string/Makefile (strop-tests): Add memcmp.
10329 * string/test-wmemcmp.c: New file.
10330 * string/test-memcmp.c: Add wmemcmp support.
10331
7f513ec8
RM
103322011-09-08 Roland McGrath <roland@hack.frob.com>
10333
0442afb4
RM
10334 [BZ #13153]
10335 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10336 2011-07-19 change.
10337
7f513ec8
RM
10338 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10339 garbage value in a __mach_port_mod_refs call in the cases of the
10340 task-self and thread-self ports.
10341
a12b2239
ST
103422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10343
10344 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10345
610f9ab4
AS
103462011-09-08 Andreas Schwab <schwab@redhat.com>
10347
7f513ec8 10348 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10349
48882a1a
LD
103502011-09-07 Ulrich Drepper <drepper@gmail.com>
10351
b49865be
UD
10352 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10353
fdc86bc9
UD
10354 * elf/dl-libc.c (dlerror_run): Pass back error code from
10355 dl_catch_error.
10356
c966526a
UD
10357 [BZ #13123]
10358 * elf/dl-load.c (lose): Free l_origin if it is valid.
10359
48882a1a
LD
10360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10361 names.
10362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10363 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10364 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10366 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10367 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10368
77a2a8b4
AZ
103692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10370
10371 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10372 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10373 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10374 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10375 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10376 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10377 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10378 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10379 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10380 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10381
24f579d8
AM
103822011-08-15 Alan Modra <amodra@gmail.com>
10383
10384 [BZ #13092]
10385 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10386 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10387 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10388 ppc_mcount to static-only-routines.
10389 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10390 __mcount_internal.
10391 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10392 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10393
3d4837df
UD
103942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10395
10396 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10397 for finite and infinity parameters.
10398
22700377
WS
103992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10400
10401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10402 and add nop instructions for throughput optimization.
10403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10404
5025581e
WS
104052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10406
10407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10408 aligned copy for power7 with vector-scalar instructions.
10409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10410
08a300c9
L
104112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10412
10413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10414 AVX check.
10415
59178ef9
AS
104162011-09-07 Andreas Schwab <schwab@redhat.com>
10417
10418 [BZ #13144]
10419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10420 last change.
10421
e38ba7ab
UD
104222011-09-07 Ulrich Drepper <drepper@gmail.com>
10423
10424 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10425 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10426 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10427 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10428 clock_gettime.
10429
d53a73ac
UD
104302011-09-06 Ulrich Drepper <drepper@gmail.com>
10431
fc8bffcc
UD
10432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10433 Forgot to demangle the pointer.
10434
ceaa0c5d
UD
10435 * sysdeps/i386/sysdep.h: Define atom_text_section.
10436 * sysdeps/x86_64/sysdep.h: Likewise.
10437 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10438 section with atom_text_section.
10439 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10443 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10444
a77d3c17
UD
10445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10447 already be defined. Change to take two parameters and don't assign
10448 result to variable. Adjust all users.
10449 Define INTERNAL_GETTIME if not already defined.
10450 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10451 call.
10452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10453 HAVE_CLOCK_GETTIME_VSYSCALL.
10454 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10455
d53a73ac
UD
10456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10457 gettimeofday vsyscall, just use time.
10458
a8f84144
AS
104592011-09-06 Andreas Schwab <schwab@redhat.com>
10460
10461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10462 <errno.h>.
10463
ef606249
UD
104642011-09-06 Ulrich Drepper <drepper@gmail.com>
10465
10466 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10467 syscall on x86-64.
10468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10469 syscall.
10470 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10471 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10472 syscall if possible.
10473
6585cb60
UD
104742011-09-05 Ulrich Drepper <drepper@gmail.com>
10475
10476 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10477 e_ident. Don't pass to find_mapsXX.
10478 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10479
a5f524e4
LD
104802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10481
10482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10483 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10484 * sysdeps/x86_64/multiarch/strchr.S: Update.
10485 Check bit_slow_BSF bit.
10486 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10487 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10488 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10489
554881ef
UD
104902011-09-05 Ulrich Drepper <drepper@gmail.com>
10491
d96de963
UD
10492 [BZ #13134]
10493 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10494 before glibc 2.15.
10495 (tryshell): Define.
10496 (__spawni): Change last parameter to be flag. Test
10497 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10498 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10499 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10500 * posix/spawni.c: Likewise.
10501 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10502 * posix/spawnp.c: Likewise. Change normal version to use
10503 SPAWN_XFLAGS_USE_PATH.
10504 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10505 SPAWN_XFLAGS_TRY_SHELL.
10506
d48e5868
UD
10507 [BZ #13150]
10508 * posix/glob.h: Remove gcc 1.x support.
10509
554881ef
UD
10510 [BZ #13068]
10511 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10512
693fb948
LD
105132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10514
10515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10516 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10517 strrchr-sse2-bsf
10518 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10519 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10521 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10524
1b48c537
UD
105252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10526
49d42c37
UD
10527 * sysdeps/x86_64/wcscmp.S: New file.
10528
1b48c537
UD
10529 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10530 wcscmp-c wcscmp-sse2
10531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10532 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10534 * wcsmbs/wcscmp.c: Allow renaming.
10535
15c95c5d
DM
105362011-09-05 David S. Miller <davem@davemloft.net>
10537
10538 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10539 stack slot, rather than the struct return pointer slot.
10540 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10541 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10543 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10544
2f0ad8f3
UD
105452011-09-05 Ulrich Drepper <drepper@gmail.com>
10546
d88ae418
UD
10547 * po/ja.po: Update from translation team.
10548
2f0ad8f3
UD
10549 [BZ #13144]
10550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10551 kernel in 64-bit binaries.
10552
5f4318d1
DM
105532011-09-01 David S. Miller <davem@davemloft.net>
10554
10555 * elf/elf.h (HWCAP_SPARC_*): Move to..
10556 * sysdeps/sparc/sysdep.h: this new file and add new values.
10557 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10558 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10559 _DL_HWCAP_COUNT to 24.
10560 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10561 entries.
10562 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10563 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10564 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10566 instead of magic constants.
10567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10568
3ba57516
DM
105692011-08-31 David S. Miller <davem@davemloft.net>
10570
10571 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10573 Reimplement to do errno handling inline.
10574 (SYSCALL_ERROR_HANDLER): New macro.
10575 (__SYSCALL_STRING): Do not do errno handling in asm.
10576 (__CLONE_SYSCALL_STRING): Delete.
10577 (__INTERNAL_SYSCALL_STRING): Delete.
10578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10579 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10580 (PSEUDO): Reimplement to do errno handling inline.
10581 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10582 (SYSCALL_ERROR_HANDLER): New macro.
10583 (__SYSCALL_STRING): Do not do errno handling in asm.
10584 (__CLONE_SYSCALL_STRING): Delete.
10585 (__INTERNAL_SYSCALL_STRING): Delete.
10586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10587 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10588 i386.
10589 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10590 (inline_syscall*): Add 'err' argument.
10591 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10592 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10593 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10594 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10595
10596 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10597 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10598
2bc17433
AS
105992011-08-30 Andreas Schwab <schwab@redhat.com>
10600
10601 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10602
fbeb5f4d
JO
106032011-08-29 Jiri Olsa <jolsa@redhat.com>
10604
10605 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10606 directive.
10607
ad69cc26
DM
106082011-08-24 David S. Miller <davem@davemloft.net>
10609
10610 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10611
39dd69df
AS
106122011-08-24 Andreas Schwab <schwab@redhat.com>
10613
10614 * elf/Makefile: Add rules to build and run unload8 test.
10615 * elf/unload8.c: New file.
10616 * elf/unload8mod1.c: New file.
10617 * elf/unload8mod1x.c: New file.
10618 * elf/unload8mod2.c: New file.
10619 * elf/unload8mod3.c: New file.
10620
10621 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10622 it wasn't used.
10623
2c0b250a
DM
106242011-08-23 David S. Miller <davem@davemloft.net>
10625
10626 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10627 subtract stack bias.
10628 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10629 %sp not %fp in calculations.
10630 (_JMPBUF_UNWINDS_ADJ): Likewise.
10631
22044b48
DM
10632 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10633 (aio_suspend): Call it to force an exception region around the
10634 AIO_MISC_WAIT() invocation.
10635
2cae4995
AS
106362011-08-23 Andreas Schwab <schwab@redhat.com>
10637
10638 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10639 backslash.
10640
873a772e
AJ
106412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10642
10643 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10644 protection macro.
10645 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10646 and <dl-machine.h>.
10647 (Elf64_FuncDesc): Remove.
10648
25ad0df1
DM
106492011-08-22 David S. Miller <davem@davemloft.net>
10650
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10652 sigaltstack check, add missing cfi directives.
10653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10654 missing cfi directives, and sigaltstack handling.
10655
e888bcbe
AS
106562011-08-16 Andreas Schwab <schwab@redhat.com>
10657
10658 [BZ #11724]
10659 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10660 object is seen twice.
10661 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10662
10663 * elf/Makefile (distribute): Add tst-initorder2.c.
10664 (tests): Add tst-initorder2.
10665 (modules-names): Add tst-initorder2a tst-initorder2b
10666 tst-initorder2c tst-initorder2d. Add rules to build them.
10667 ($(objpfx)tst-initorder2.out): New rule.
10668 * elf/tst-initorder2.c: New file.
10669 * elf/tst-initorder2.exp: New file.
10670
87162f46
AS
106712011-08-22 Andreas Schwab <schwab@redhat.com>
10672
70538b7f
AS
10673 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10674
f55ffe58
AS
10675 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10676 dependencies back to end of function.
10677
87162f46
AS
10678 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10679 $(elfobjdir)/ld.so.
10680
91b392a4
UD
106812011-08-21 Ulrich Drepper <drepper@gmail.com>
10682
10683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10684 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10686 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10687 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10688 of __vdso_gettimeofday.
10689 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10690 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10691 attribute_hidden.
10692 (_libc_vdso_platform_setup): Remove initialization of
10693 __vdso_gettimeofday and __vdso_time.
10694
5c43483f
UD
106952011-08-20 Ulrich Drepper <drepper@gmail.com>
10696
775a77e7
UD
10697 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10698 and fgetc_unlocked.
10699 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10700 getc_unlocked.
89f447ed 10701
49c74ba9
UD
10702 * elf/dl-open.c (add_to_global): Report additions to the global scope
10703 for LD_DEBUG=scopes.
10704 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10705 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10706
5c43483f
UD
10707 [BZ #13114]
10708 * stdio-common/Makefile (tests): Add bug24.
10709 * stdio-common/bug24.c: New file.
10710
a101b025
AJ
107112011-08-19 Andreas Jaeger <aj@suse.de>
10712
10713 [BZ #13114]
10714 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10715 non-existant file when using close-on-exec mode.
10716
c88f1766
UD
107172011-08-20 Ulrich Drepper <drepper@gmail.com>
10718
0276a718
UD
10719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10720 the very first instruction.
10721
c88f1766
UD
10722 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10723 the CFI state in the end.
10724 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10725 inclusion of dl-trampoline.h.
10726 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10727
51ccffa0
AS
107282011-08-19 Andreas Schwab <schwab@redhat.com>
10729
94d7165f
AS
10730 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10731 expectations for long double.
10732
51ccffa0
AS
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10734 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10735
fd708658 107362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10737
10738 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10739 artificual limit depends upon the system page size.
10740
44f0a71e
UD
107412011-08-17 Ulrich Drepper <drepper@gmail.com>
10742
10743 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10744 * resolv/Makefile: Define CFLAGS-libresolv.
10745
8de79a24
AS
107462011-08-17 Andreas Schwab <schwab@redhat.com>
10747
10748 * nss/makedb.c (compute_tables): Make variables used in nested
10749 function static.
10750
27724598
UD
107512011-08-17 Ulrich Drepper <drepper@gmail.com>
10752
c5305d88
UD
10753 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10754 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10755 if buffer was too small.
10756
27724598
UD
10757 * elf/pldd.c (main): Attach to all threads in the process.
10758 Rewrite /proc handling to use *at functions.
10759
076fe015
UD
107602011-08-16 Ulrich Drepper <drepper@gmail.com>
10761
174baab3
UD
10762 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10763 specifies first scope to show.
10764 (dl_open_worker): Update callers. Move printing scope of new
10765 object to before the relocation.
44f0a71e 10766 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10767 * sysdeps/generic/ldsodefs.h: Update declaration.
10768
076fe015
UD
10769 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10770 string for the scope number.
10771
a60df2c3
UD
107722011-08-14 Ulrich Drepper <drepper@gmail.com>
10773
10774 * nscd/servicescache.c (cache_addserv): Make sure written is always
10775 initialized.
10776
5e4287d1
RM
107772011-08-14 Roland McGrath <roland@hack.frob.com>
10778
85ae0589
RM
10779 * sysdeps/i386/i486/bits/atomic.h
10780 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10781 statement expression, so as to suppress "set but not used" warning.
10782 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10783
69f63097
RM
10784 * string/strncat.c (STRNCAT): Use prototype definition.
10785
675456ef
RM
10786 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10787 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10788 -Iprograms here.
10789 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10790 (localedef-modules): Add localedef.
10791 (locale-modules): Add locale.
10792
5e4287d1
RM
10793 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10794 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10795 to avoid a warning.
10796
9c96ff23
DM
107972011-08-14 David S. Miller <davem@davemloft.net>
10798
10799 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10800 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10801
f9ddf089
UD
108022011-08-13 Ulrich Drepper <drepper@gmail.com>
10803
44f0a71e 10804 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10805 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10806 * elf/rtld.c (dl_main): Set l_name of vDSO.
10807 Call _dl_show_scope when DL_DEBUG_SCOPES.
10808 (process_dl_debug): Recognize scopes flag and also set it for all.
10809 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10810 Declare _dl_show_scope.
10811
1dc27704
UD
10812 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10813 (do_dlopen): Pass caller_dlopen to dl_open.
10814 (__libc_dlopen_mode): Initialize caller_dlopen.
10815
f9ddf089
UD
10816 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10817 of libc. Make tolower call locale-independent. Optimize a bit by
10818 using isdigit instead of isalnum.
10819 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10820
9ac533d3
UD
108212011-08-12 Ulrich Drepper <drepper@gmail.com>
10822
10823 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10824 was a dependency or dynamically loaded.
10825
89edf2e9
UD
108262011-08-11 Ulrich Drepper <drepper@gmail.com>
10827
8e999d29
UD
10828 * intl/l10nflist.c: Allow architecture-specific pop function.
10829 * sysdeps/x86_64/l10nflist.c: New file.
10830
89edf2e9
UD
10831 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10832 classification.
10833
14d96785
AS
108342011-08-10 Andreas Schwab <schwab@redhat.com>
10835
10836 * include/dirent.h: Add libc_hidden_proto for scandirat and
10837 scandirat64. Don't declare __scandirat64.
10838 * dirent/scandirat.c: Add libc_hidden_def.
10839 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10840 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10841
6761ac04
DM
108422011-08-10 David S. Miller <davem@davemloft.net>
10843
10844 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10845 enum.
10846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10849
c55fbd1e
UD
108502011-08-09 Ulrich Drepper <drepper@gmail.com>
10851
10852 * Versions.def [libc]: Add GLIBC_2.15.
10853 * dirent/Makefile (routines): Add scandirat and scandirat64.
10854 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10855 GLIBC_2.15.
10856 * dirent/dirent.h: Declare scandirat and scandirat64.
10857 * dirent/scandirat.c: New file.
10858 * dirent/scandirat64.c: New file.
10859 * sysdeps/wordsize-64/scandirat.c: New file.
10860 * sysdeps/wordsize-64/scandirat64.c: New file.
10861 * dirent/opendir.c: Define opendirat.
10862 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10863 using scandirat.
10864 * dirent/scandir64.c: Adjust for scandir.c change.
10865 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10866 __scandirat64, and __scandir_cancel_handler.
10867 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10868 additional parameter and use openat instead of open (outside of ld.so).
10869 Add new __opendir as wrapper around __opendirat.
10870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10871 here without requiring old scandirat implementation.
10872
879165f2
UD
108732011-08-08 Ulrich Drepper <drepper@gmail.com>
10874
10875 * dirent/scandir.c (cancel_handler): Renamed to
10876 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10877 defined. Adjust users.
10878 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10879 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10880
cb7e923b
UD
108812011-08-04 Ulrich Drepper <drepper@gmail.com>
10882
16292edd
UD
10883 * string/test-string.h (IMPL): Use __STRING to expand name and then
10884 stringify it.
10885
cb7e923b
UD
10886 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10887 of cleanups.
10888
cff82933
LD
108892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10890
10891 * string/Makefile: Update.
10892 (strop-tests): Append strncat.
10893 * string/test-wcscmp.c: New file.
10894 New comprehensive test for wcscmp.
10895 * string/test-strcmp.c: Update.
10896 (WIDE): New define.
10897
9be9bfcc
AS
108982011-07-22 Andreas Schwab <schwab@redhat.com>
10899
10900 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10901 line.
10902
2e96f1c7
AS
109032011-07-26 Andreas Schwab <schwab@redhat.com>
10904
10905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10906 encoding to ACE if AI_IDN.
10907
85188888
JJ
109082011-08-01 Jakub Jelinek <jakub@redhat.com>
10909
10910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10911 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10912
5fa16e9b
LD
109132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10914
10915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10916 Fix overflow bug in strncat.
10917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10918
10919 * string/test-strncat.c: Update.
10920 Add new tests for checking overflow bugs.
10921
109222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10923
10924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10925 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10926 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10927 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10929 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10930 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10931 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10932 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10933
10934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10935 (USE_AS_STRCAT): Define.
10936 Add strcat and strncat support.
10937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10938
8c1a459f
AS
109392011-07-25 Andreas Schwab <schwab@redhat.com>
10940
10941 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10942 __n bigger than INT_MAX+1.
10943 (__strncmp_g): Likewise.
10944
bba33c28
UD
109452011-07-23 Ulrich Drepper <drepper@gmail.com>
10946
798be72d
UD
10947 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10948 * libio/stido.h: Likewise.
10949
8accd4dc
UD
10950 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10951 (AF_NFC): Define.
10952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10953 (AF_NFC): Define.
10954
cbff0d96
UD
10955 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10960
9191c04a
UD
10961 [BZ #13021]
10962 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10963 installed.
10964
bba33c28
UD
10965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10966 typo.
10967 (_dl_x86_64_save_sse): Likewise.
10968
90f139dd
UD
109692011-07-22 Ulrich Drepper <drepper@gmail.com>
10970
1aae088a
UD
10971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10972 OSXSAVE.
10973 (_dl_x86_64_save_sse): Likewise.
10974
8e2045f5
UD
10975 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10976
90f139dd
UD
10977 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10978
1d002f25
AS
109792011-07-21 Andreas Schwab <schwab@redhat.com>
10980
10981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10982 change.
10983 (_dl_x86_64_save_sse): Use correct AVX check.
10984
21137f89
UD
109852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10986
10987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10988 bug in strncpy/strncat.
10989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10990
a65c0b7a
UD
109912011-07-21 Ulrich Drepper <drepper@gmail.com>
10992
10993 * string/tester.c (test_strcat): Add tests for different alignments
10994 of source and destination.
10995 (test_strncat): Likewise.
10996
6986b98a
UD
109972011-07-20 Ulrich Drepper <drepper@gmail.com>
10998
90bb2039
UD
10999 [BZ #12852]
11000 * posix/glob.c (glob): Check passed in values before using them in
11001 expressions to avoid some overflows.
11002 (glob_in_dir): Likewise.
11003
5644ef54
UD
11004 [BZ #13007]
11005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11006 check for AVX enablement so that we don't crash with old kernels and
11007 new hardware.
11008 * elf/tst-audit4.c: Add same checks here.
11009 * elf/tst-audit6.c: Likewise.
11010
11011 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11012
bfc9dc9b
AS
110132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11014
11015 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11016
702e64bb
UD
110172011-07-20 Ulrich Drepper <drepper@gmail.com>
11018
11019 * po/cs.po: Update from translation team.
11020 * po/bg.po: Likewise.
11021
295e904f
MP
110222011-07-12 Marek Polacek <mpolacek@redhat.com>
11023
11024 * misc/sys/cdefs.h: Add support for const attribute.
11025 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11026 to gnu_dev_{major,minor,makedev} functions.
11027
3ff94596
MP
110282011-07-20 Marek Polacek <mpolacek@redhat.com>
11029
11030 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11031
28b59fca
AS
110322011-07-20 Andreas Schwab <schwab@redhat.com>
11033
11034 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11035 strlen results.
11036
19df733e
AK
110372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11038
11039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11040 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11041 register in order to avoid conflicts with the soft frame pointer
11042 being held in r11 when necessary.
11043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11044 (INTERNAL_VSYSCALL_NCS): Likewise.
11045
c8835729
MP
110462011-07-14 Marek Polacek <mpolacek@redhat.com>
11047
11048 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11049 * elf/dl-fini.c (_dl_fini): Adjust caller.
11050 * elf/dl-close.c (_dl_close_worker): Likewise.
11051 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11052
b902330c
MP
110532011-07-15 Marek Polacek <mpolacek@redhat.com>
11054
8991e135
MP
11055 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11056 "aux_cache->nlibs < 0".
11057
b902330c
MP
11058 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11059 in the reload-count case.
11060
99710781
LD
110612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11062
11063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11064 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11065 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11066 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11067 * sysdeps/x86_64/multiarch/strcat.S: New file.
11068 * sysdeps/x86_64/multiarch/strncat.S: New file.
11069 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11071 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11072 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11074 (USE_AS_STRCAT): Define.
11075 Add strcat and strncat support.
11076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11078 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11079 * string/strncat.c: Update.
11080 (USE_AS_STRNCAT): Define.
11081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11082 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11083 and i7.
11084 * sysdeps/x86_64/multiarch/init-arch.h
11085 (bit_Prefer_PMINUB_for_stringop): New.
11086 (index_Prefer_PMINUB_for_stringop): Likewise.
11087 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11088 bit_Prefer_PMINUB_for_stringop.
11089
7dc6bd90
UD
110902011-07-19 Ulrich Drepper <drepper@gmail.com>
11091
11092 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11093 buffer64.
11094 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11095 of casting of buffer.
11096 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11097 buffer32 and buffer64.
11098 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11099 writes instead of casting of buffer.
11100 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11101 buffer32.
11102 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11103 casting of buffer.
11104
e0e72284
AS
111052011-07-19 Andreas Schwab <schwab@redhat.com>
11106
11107 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11108
feb1eb0b
UD
111092011-07-19 Ulrich Drepper <drepper@gmail.com>
11110
11111 * nscd/nscd.c (termination_handler): Don't do anything for a database
11112 if it has not yet been initialized.
11113
298711ff
UD
111142011-07-18 Ulrich Drepper <drepper@gmail.com>
11115
11116 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11117
111182011-07-15 Marek Polacek <mpolacek@redhat.com>
11119
11120 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11121
f9d68389
UD
111222011-07-18 Ulrich Drepper <drepper@gmail.com>
11123
11124 * po/nl.po: Update from translation team.
11125 * po/sv.po: Likewise.
11126
db290cf5
RM
111272011-07-16 Roland McGrath <roland@hack.frob.com>
11128
11129 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11130 now disallowed by GCC.
5c550700 11131
fd5e21c7
RM
11132 * configure.in (use-default-link): Default to yes if a test -shared
11133 link meets our qualifications.
11134 * configure: Regenerated.
11135
5c550700
RM
11136 * config.make.in (output-format): New variable.
11137 * configure.in: Check for ld --print-output-format support.
11138 * configure: Regenerated.
11139 * Makerules ($(common-objpfx)format.lds)
11140 [$(output-format) != unknown]: Just use $(output-format),
11141 instead of the linker-script munging.
11142
9fa2c032
RM
111432011-07-14 Roland McGrath <roland@hack.frob.com>
11144
a6928d51
RM
11145 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11146 of $(common-objpfx)shlib.lds.
11147 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11148
661607b3
RM
11149 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11150 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11151
9fa2c032
RM
11152 * configure.in (-z relro check): Adjust test code to add a large
11153 writable data section after it.
11154 * configure: Regenerated.
11155
defe9061
RM
111562011-07-11 Roland McGrath <roland@hack.frob.com>
11157
11158 * configure.in (-z relro check): Fix test code to make the variable
11159 truly const.
11160 * configure: Regenerated.
11161
319b9ad4
UD
111622011-07-11 Ulrich Drepper <drepper@gmail.com>
11163
11164 * nscd/nscd.h (struct traced_file): Define.
11165 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11166 elements. Add traced_files.
11167 (inotify_fd): Declare.
11168 (register_traced_file): Declare.
11169 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11170 (inotify_fd): Export.
11171 (resolv_conf_descr): Remove.
11172 (nscd_init): Move inotify descriptor creation to main.
11173 Don't register files for notification here.
11174 (register_traced_file): New function.
11175 (invalidate_cache): Don't use reset_res to determine whether to call
11176 res_init, go through the list of registered files.
11177 (main_loop_poll): The inotify descriptors are now stored in the
11178 structures for the traced files.
11179 (main_loop_epoll): Likewise
11180 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11181 to __nss_disable_nscd.
11182 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11183 for a database anymore. Check the records for all the registered
11184 files instead.
11185 * nss/Makefile (libnss_files-routines): Add files-init.
11186 (libnss_db-routines): Add db-init.
11187 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11188 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11189 * nss/nss_db/db-init.c: New file.
11190 * nss/nss_files/files-init.c: New file.
11191 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11192 __nss_lookup_function.
11193 (__nss_lookup_function): Call nss_load_library.
11194 (nss_load_all_libraries): New function.
11195 (__nss_disable_nscd): Take parameter with callback function for files
11196 to register. Set is_nscd. Load all the DSOs for the NSS modules
11197 used for the cached services.
11198 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11199 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11200 options for features to all the files in nscd.
11201
11202 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11203
23bee3e8
RM
112042011-07-10 Roland McGrath <roland@hack.frob.com>
11205
11206 * csu/elf-init.c (__libc_csu_init): Comment typo.
11207
46a5b7f0
UD
112082011-07-09 Ulrich Drepper <drepper@gmail.com>
11209
11210 * po/pl.po: Update from translation team.
11211 * po/ja.po: Likewise.
11212 * po/ru.po: Likewise.
11213 * po/ko.po: Likewise.
11214 * po/fr.po: Likewise.
11215
d30cf5bb
RM
112162011-07-09 Roland McGrath <roland@hack.frob.com>
11217
113ddea4
RM
11218 * configure.in (.ctors/.dtors header and trailer check):
11219 Use an empirical test on a built program.
11220 * configure: Regenerated.
11221
574920b4
RM
11222 * configure.in (-z relro check): Use an empirical test on a built DSO.
11223 Detect, but do not require, on ia64.
11224 * configure: Regenerated.
11225
d30cf5bb
RM
11226 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11227 Update tests that use readelf to use $READELF instead.
11228 * configure: Regenerated.
11229
8538fdb3
UD
112302011-07-08 Ulrich Drepper <drepper@gmail.com>
11231
11232 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11233 if the result is not used.
11234
04d08991
AJ
112352011-07-05 Andreas Jaeger <aj@suse.de>
11236
11237 [BZ#9696]
11238 * stdlib/tst-strtod.c: Add testcase.
11239
de283087
AD
112402011-07-07 Ulrich Drepper <drepper@gmail.com>
11241
4e5f31c8 11242 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11243 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11244 The latter has a higher limit. Take additional parameter to pass to
11245 the new function.
11246 (__pathconf): Pass file to __statfs_link_max.
11247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11248 __statfs_link_max.
11249 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11250 __statfs_link_max.
11251
de283087
AD
11252 [BZ #12868]
11253 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11255 Handle Lustre.
11256 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11257 (__statfs_filesize_max): Likewise.
11258 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11259
c75fa153
AJ
112602011-07-05 Andreas Jaeger <aj@suse.de>
11261
11262 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11263
1a544854
UD
112642011-07-06 Marek Polacek <mpolacek@redhat.com>
11265
11266 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11267 `status' variable.
11268 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11269 Likewise.
11270
6f0eec67
UD
112712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11272
11273 * Makefile (strop-tests): Add strncat.
11274 * string/test-strncat.c: New file.
11275
aae30307
UD
112762011-06-30 Marek Polacek <mpolacek@redhat.com>
11277
11278 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11279
c0cfb5eb
UD
112802011-06-21 Andreas Jaeger <aj@suse.de>
11281
11282 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11283 Copy rule from iconvdata/Makefile.
11284
01636b21
UD
112852011-07-06 Ulrich Drepper <drepper@gmail.com>
11286
11287 [BZ #12922]
11288 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11289 but no long options are defined, just return 'W'.
11290
9895c8bc
UD
112912011-06-22 Marek Polacek <mpolacek@redhat.com>
11292
11293 [BZ #9696]
11294 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11295
5d4cf042
UD
112962011-07-06 Ulrich Drepper <drepper@gmail.com>
11297
11298 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11299 netgroups to read.
960e5535 11300 (innetgr): Likewise.
5d4cf042 11301
751eb97e
RM
113022011-07-05 Roland McGrath <roland@hack.frob.com>
11303
11304 * config.make.in (install_root): Default to $(DESTDIR).
11305
f15f1e45
UD
113062011-07-05 Ulrich Drepper <drepper@gmail.com>
11307
11308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11309
4e34ac6a
RM
113102011-07-02 Roland McGrath <roland@hack.frob.com>
11311
5e9b6af4
RM
11312 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11313
84f9ea0f
RM
11314 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11315 containing directory rather than embedding absolute directory names.
11316
ea5ee9f7
RM
11317 * scripts/check-local-headers.sh: Rewritten using awk.
11318 Match by word, not by line. Print error messages for matches.
11319 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11320
1b74661a
RM
11321 * Makerules [shlib-lds-flags empty]:
11322 ($(common-objpfx)libc_pic.opts): New target.
11323 ($(common-objpfx)libc_pic.os.clean): New target.
11324 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11325
11326 * config.make.in (OBJCOPY): New variable.
11327 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11328 * configure: Regenerated.
11329
f781ef40
RM
11330 * config.make.in (use-default-link): New variable.
11331 * configure.in (use_default_link): Grok --with-default-link to set it.
11332 * configure: Regenerated.
11333 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11334 (shlib-lds, shlib-lds-flags): Define to empty.
11335
2d4fa81e
RM
11336 * Makerules (shlib-lds): New variable.
11337 (shlib-lds-flags): New variable.
11338 (build-shlib, build-moduile, build-module-asneeded): Use it.
11339 ($(common-objpfx)libc.so): Use $(shlib-lds).
11340 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11341 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11342
31fffa6b
RM
11343 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11344 DT_FLAGS/DT_FLAGS_1 with zero flags.
11345
4e34ac6a
RM
11346 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11347 linker script munging.
11348
fcfc776b
UD
113492011-07-02 Ulrich Drepper <drepper@gmail.com>
11350
11351 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11352 as 128-bit value.
11353 * crypt/sha512.c (sha512_process_block): Perform total addition using
11354 128-bit if possible.
11355 (__sha512_finish_ctx): Likewise.
11356 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11357 as 64-bit value.
11358 * crypt/sha256.c (SWAP64): Define.
11359 (sha256_process_block): Perform total addition using 64-bit if
11360 possible.
11361 (__sha256_finish_ctx): Likewise.
11362
99231d9a
UD
113632011-07-01 Ulrich Drepper <drepper@gmail.com>
11364
11365 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11367 * nscd/hstcache.c (cache_addhst): Likewise.
11368 * nscd/grpcache.c (cache_addgr): Likewise.
11369 * nscd/aicache.c (addhstaiX): Likewise
11370 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11371
445b4a53
TK
113722011-07-01 Thorsten Kukuk <kukuk@suse.de>
11373
11374 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11376 * nscd/hstcache.c (cache_addhst): Likewise.
11377 * nscd/grpcache.c (cache_addgr): Likewise.
11378 * nscd/aicache.c (addhstaiX): Likewise
11379
6d4d8e8e
AS
113802011-07-01 Andreas Schwab <schwab@redhat.com>
11381
11382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11383 domain only when needed.
11384
89f654c5
AS
113852011-06-30 Andreas Schwab <schwab@redhat.com>
11386
11387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11388 is always restored.
11389
cf3b23ff
UD
113902011-06-29 Ulrich Drepper <drepper@gmail.com>
11391
11392 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11393 are re-adding the entry.
11394 * nscd/servicescache.c (cache_addserv): Likewise.
11395
751626f9
AJ
113962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11397
11398 * sysdeps/generic/dl-irel.h: fix protection against multiple
11399 inclusions.
11400 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11401
9113ea1f
UD
114022011-06-28 Ulrich Drepper <drepper@gmail.com>
11403
5c0b8d90
UD
11404 [BZ #12935]
11405 * malloc/memusage.sh: Fix quoting in message.
11406 * debug/xtrace.sh: Likewise.
11407
9113ea1f
UD
11408 * configure.in: Remove support for --experimental-malloc option, make
11409 it the default.
11410 * config.make.in: Likewise.
11411 * malloc/Makefile: Likewise.
11412
a4172181
AS
114132011-06-27 Andreas Schwab <schwab@redhat.com>
11414
11415 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11416 two-byte characters.
11417
78a7eee7
RM
114182011-06-27 Roland McGrath <roland@hack.frob.com>
11419
62bede13
RM
11420 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11421 AC_CACHE_CHECK invocation.
11422 * configure: Regenerated.
11423
78a7eee7
RM
11424 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11425
5ce33a62
UD
114262011-06-27 Ulrich Drepper <drepper@gmail.com>
11427
034807a9
UD
11428 [BZ #12350]
11429 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11430 bit from old_res_options.
11431
4902da17
UD
11432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11433
5ce33a62
UD
11434 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11435 value type for setfct.
11436
c2344f56
L
114372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11440 __gettimeofday instead of gettimeofday.
11441
68468076
UD
114422011-06-26 Ulrich Drepper <drepper@gmail.com>
11443
11444 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11445
acb0d739
L
114462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11447
11448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11449
11450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11451 info.
11452
8912479f
L
114532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11454
11455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11456 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11457 strcpy-sse2-unaligned strncpy-sse2-unaligned
11458 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11459 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11460 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11461 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11462 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11465 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11466 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11467 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11468 (STRCPY): Support SSE2 and SSSE3 versions.
11469
d5495a11
UD
114702011-06-24 Ulrich Drepper <drepper@gmail.com>
11471
11472 [BZ #12874]
11473 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11474 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11475 kernels which artificially limit size of requests.
11476
0b1cbaae
L
114772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11478
11479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11480 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11481 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11482 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11483 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11484 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11485 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11486 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11489 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11490 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11491 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11492 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11493 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11495 Enable unaligned load optimization for Intel Core i3, i5 and i7
11496 processors.
11497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11498 Define.
11499 (index_Fast_Unaligned_Load): Define.
11500 (HAS_FAST_UNALIGNED_LOAD): Define.
11501
07f494a0
MP
115022011-06-23 Marek Polacek <mpolacek@redhat.com>
11503
11504 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11505
fa3fc0fe
UD
115062011-06-22 Ulrich Drepper <drepper@gmail.com>
11507
11508 [BZ #12907]
11509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11510 until it is clear that the information is realy needed.
11511 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11512
e12df166
AS
115132011-06-22 Andreas Schwab <schwab@redhat.com>
11514
11515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11516
852eb34d
UD
115172011-06-22 Ulrich Drepper <drepper@gmail.com>
11518
84e2a551
UD
11519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11520 /sys/devices/system/cpu/online if it is usable.
11521
852eb34d
UD
11522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11523 reading the information from the /proc filesystem to once a second.
11524
6e502e19
UD
115252011-06-21 Andreas Jaeger <aj@suse.de>
11526
11527 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11528 NULL after inclusion of kernel headers.
11529
75d39ff2
UD
115302011-06-21 Ulrich Drepper <drepper@gmail.com>
11531
51f9aa6a
UD
11532 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11533 calls to internal_setent.
11534
c0244a9d
UD
11535 [BZ #12885]
11536 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11537 addresses using gethostbyname4_r ignore IPv4 addresses.
11538
c5e3c2ae
UD
11539 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11540 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11541
75d39ff2
UD
11542 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11543
42675c6f
DM
115442011-06-20 David S. Miller <davem@davemloft.net>
11545
11546 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11547 inclusions.
11548 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11549
11550 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11551 (elf_irel): Use it.
11552 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11553 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11554 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11555 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11556 * sysdeps/x86_64/dl-irel.h: Likewise.
11557
11558 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11559 * elf/dl-sym.c: Likewise.
11560
57912a71
UD
115612011-06-15 Ulrich Drepper <drepper@gmail.com>
11562
11563 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11564 need to dereference resplen2.
11565
ee22793d
AS
115662011-06-14 Andreas Schwab <schwab@redhat.com>
11567
11568 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11569
a9e836b0
UD
115702011-06-15 Ulrich Drepper <drepper@gmail.com>
11571
77fb9117
UD
11572 * Makeconfig: Define vardbdir and inst_vardbdir.
11573 * nss/Makefile: Add rules to install db-Makefile.
11574
40c1b22c
UD
11575 * nss/nss_db/db-XXX.c: Cleanup.
11576
9f2da732
UD
11577 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11578 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11579 GLIBC_PRIVATE.
11580 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11581 * nss/makedb.c: Implement -g option to specify that value strings
11582 are generated and should not be added to table iterated over for
11583 get*ent calls.
11584 * nss/nss_db/db-initgroups.c: New file.
11585
82e9a1f7
UD
11586 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11587 interface.
11588
c41af17e
UD
11589 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11590 (internal_getgrouplist): Adjust to name change.
11591 Update use_initgroups_entry if this is not the first call.
11592 * nss/databases.def: Add initgroups entry.
11593
a9e836b0
UD
11594 * nss/makedb.c (compute_tables): Check result of multiple hash table
11595 sizes to minimize maximum chain length.
11596
2666d441
UD
115972011-06-14 Ulrich Drepper <drepper@gmail.com>
11598
11599 * Versions.def: Add entry for libnss_db.
11600 * shlib-versions: Likewise.
11601 * nss/Makefile: Add rules to build libnss_db.
11602 * nss/Versions: Add libnss_db information. Organize libnss_files
11603 entries better.
11604 * nss/db-Makefile: Add gshadow support. Change rules for the new
11605 makedb progra. Some minor improvements to generate smaller files.
11606 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11607 here from...
11608 * nss/makedb.c: ...here.
11609 Improve database format to be smaller and require less memory at
11610 runtime.
11611 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11612 db anymore.
11613 * nss/nss_db/db-netgrp.c: Likewise.
11614 * nss/nss_db/db-open.c: Likewise.
11615 * nss/nss_files/flies-XXX.x: Adjust comments.
11616 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11617 * nss/nss_files/files-grp.c: Likewise.
11618 * nss/nss_files/files-hosts.c: Likewise.
11619 * nss/nss_files/files-network.c: Likewise.
11620 * nss/nss_files/files-proto.c: Likewise.
11621 * nss/nss_files/files-pwd.c: Likewise.
11622 * nss/nss_files/files-rpc.c: Likewise.
11623 * nss/nss_files/files-service.c: Likewise.
11624 * nss/nss_files/files-sgrp.c: Likewise.
11625 * nss/nss_files/files-spwd.c: Likewise.
11626 * nss/nss_db/db-alias.c: Removed.
11627 * nss/nss_db/dummy-db.h: Removed.
11628
9ee76b5a
UD
116292011-06-02 Ulrich Drepper <drepper@gmail.com>
11630
11631 * nss/makedb.c: Rewritten to not use database library.
11632 * nss/Makefile: Update to build new makedb program.
11633
c71ca1f8
AJ
116342011-06-14 Andreas Jaeger <aj@suse.de>
11635
11636 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11637 memset declaration.
11638
3154bfb8
UD
116392011-06-10 Andreas Schwab <schwab@redhat.com>
11640
11641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11642 tmpbuf.
11643
b350afab
RM
116442011-06-10 Roland McGrath <roland@hack.frob.com>
11645
decd4e50
RM
11646 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11647 * elf/Makefile ($(objpfx)ld.so): Likewise.
11648
5615eaf2
RM
11649 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11650 Don't list ld.so twice in dependencies.
11651
11652 * posix/bug-regex31.c: Include <stdlib.h>.
11653
11654 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11655
11656 * nis/nss_compat/compat-spwd.c
11657 (getspent_next_nss_netgr): Remove unused variable.
11658 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11659
11660 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11661 nonmembers" output to use the right array.
11662
11663 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11664
11665 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11666
11667 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11668 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11669 * catgets/gencat.c (read_input_file): Likewise.
11670 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11671
11672 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11673 variable definition inside #if's controlling its use.
11674
11675 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11676
11677 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11678
11679 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11680
11681 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11682 unreachable code.
11683
11684 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11685
b68e08db
RM
11686 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11687 * configure: Regenerated.
11688
b350afab
RM
11689 * Makerules: Revert last change.
11690 * elf/Makefile: Likewise.
11691
28368601
RM
116922011-06-09 Roland McGrath <roland@hack.frob.com>
11693
11694 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11695 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11696 (reloc-link): Likewise.
11697
11988f8f
UD
116982011-06-09 Ulrich Drepper <drepper@gmail.com>
11699
11700 * elf/Makefile: Add rules to build pldd.
11701 * elf/pldd.c: New file.
11702 * elf/pldd-xx.c: New file.
11703
e80fab37
UD
117042011-06-07 Ulrich Drepper <drepper@gmail.com>
11705
11706 * version.h: Update for 2.15 development version.
11707
9b849836
DM
117082011-06-07 David S. Miller <davem@davemloft.net>
11709
11710 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11711 ifuncs.
11712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11713 elf_machine_lazy_rel): Likewise.
11714 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11716 elf_machine_lazy_rel): Likewise.
11717 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11718 dl_hwcap via passed in argument.
11719 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11720 Likewise.
11721
5a31b283
AK
117222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11723
11724 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11725
069e52f8
RM
117262011-06-06 Roland McGrath <roland@hack.frob.com>
11727
11728 [BZ #12849]
11729 * manual/fdl-1.1.texi: New file, verbatim from:
11730 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11731 * manual/lgpl-2.1.texi: New file, verbatim from:
11732 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11733 * manual/Makefile (licenses): New variable, list those new file names.
11734 (texis): Use it.
11735 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11736
11737 * manual/fdl.texi: File removed.
11738 * manual/lesser.texi: File removed.
11739 * manual/libc.texinfo (Copying, Documentation License):
11740 Use new @include file names, put @appendix directive before @include.
11741
f16846a5
JJ
117422011-06-04 Jakub Jelinek <jakub@redhat.com>
11743
11744 [BZ #12841]
11745 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11746 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11747 (mq_open): Add __NTH.
11748
3d29045b
L
117492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11750
11751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11752 Assume Intel Core i3/i5/i7 processor if AVX is available.
11753
8c297311
UD
117542011-05-31 Ulrich Drepper <drepper@gmail.com>
11755
11756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11757 typo.
11758
c8fc0c91
UD
117592011-05-31 Andreas Schwab <schwab@redhat.com>
11760
11761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11762 memory. Use alloca_account. Fix memory leak when retrying.
11763
5b27a807
UD
117642011-05-31 Ulrich Drepper <drepper@gmail.com>
11765
356f8bc6
UD
11766 * version.h (RELEASE): Bump for 2.14 release.
11767 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11768
5b27a807
UD
11769 * config.make.in (RANLIB): Remove entry.
11770
01f16ab0
UD
117712011-05-30 Ulrich Drepper <drepper@gmail.com>
11772
41fce8bd
UD
11773 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11774 (libc.pot): Work around missing support for .ksh extension in xgettext.
11775
4769ae77
UD
11776 [BZ #12684]
11777 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11778 if both request failed.
11779 (send_dg): In case of server errors clear resplen or *resplen2.
11780
6b1e7d19
UD
11781 [BZ #12454]
11782 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11783 when there are multiple maps.
11784 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11785 (_dl_fini): Remove test here.
11786
01f16ab0
UD
11787 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11788
b1ebd700
UD
117892011-05-29 Ulrich Drepper <drepper@gmail.com>
11790
7ae22829
UD
11791 [BZ #12350]
11792 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11793 bit from old_res_options.
11794 (gaih_inet): Likewise.
11795
553149f6 11796 [BZ #11099]
18a84741 11797 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11798 as signed.
11799
652ffab1
UD
11800 * resolv/res_init.c (res_setoptions): Make the code more compact.
11801
16985fd0
UD
11802 [BZ #11558]
11803 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11804 set RES_USEVC.
11805
0464f746
UD
11806 [BZ #11634]
11807 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11808
7d17596c
UD
11809 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11810
cf6bbbd7
UD
11811 [BZ #11781]
11812 * malloc/malloc.h: Declare malloc hook variables as volatile.
11813
13f1ab36
UD
11814 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11815 in last patch.
11816
b1ebd700
UD
11817 [BZ #11799]
11818 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11819 raise in the comment.
80e2212d
UD
11820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11822 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11823
ce67228d
UD
118242011-05-28 Ulrich Drepper <drepper@gmail.com>
11825
8887a920
UD
11826 [BZ #12811]
11827 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11828 grow the buffers more if it already has to be sufficient.
11829 (build_wcs_upper_buffer): Likewise.
11830 * posix/regexec.c (check_matching): Likewise.
11831 (clean_state_log_if_needed): Likewise.
11832 (extend_buffers): Don't enlarge buffers beyond size of the input
11833 buffer.
11834 Patches mostly by Emil Wojak <emil@wojak.eu>.
11835 * posix/bug-regex32.c: New file.
11836 * posix/Makefile (tests): Add bug-regex32.
11837
4f031072
UD
11838 * locale/findlocale.c (_nl_find_locale): Return right away if
11839 _nl_explode_name failed.
11840 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11841
d0478f0c
UD
11842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11843
de81b246
UD
11844 * debug/xtrace.sh: Unify messages.
11845 * malloc/memusage.sh: Likewise.
11846
c738465a
UD
11847 [BZ #12813]
11848 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11849 time symbol from vDSO. Substitute with vsyscall if not available.
11850 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11851 __vdso_time.
11852
f1f929d7
UD
11853 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11854 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11855 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11856 Add sendmmsg and internal_sendmmsg.
11857 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11858 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11860
ce67228d
UD
11861 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11862 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11864
e57420c6
UD
118652011-05-27 Ulrich Drepper <drepper@gmail.com>
11866
a8509ca5
UD
11867 [BZ #12813]
11868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11869 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11870 available.
11871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11872 __vdso_getcpu.
11873
e57420c6
UD
11874 [BZ #12814]
11875 * iconvdata/Makefile (tests): Add bug-iconv9.
11876 * iconvdata/bug-iconv9.c: New file.
11877
4d07db15
AS
118782011-05-27 Andreas Schwab <schwab@redhat.com>
11879
11880 [BZ #12814]
11881 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11882
ea486f69
JJ
118832011-05-25 Jakub Jelinek <jakub@redhat.com>
11884
11885 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11886 (struct user_regs_struct): Change intcs field back to cs.
11887
6f038433
UD
118882011-05-25 Ulrich Drepper <drepper@gmail.com>
11889
11890 * po/ja.po: Update from translation team.
11891
67f86a25
UD
118922011-05-23 Ulrich Drepper <drepper@gmail.com>
11893
11894 [BZ #12795]
11895 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11897
def7fbd6
AS
118982011-05-20 Andreas Schwab <schwab@redhat.com>
11899
11900 * stdlib/longlong.h: Update from GCC.
11901
f50ef8f1
AS
119022011-05-23 Andreas Schwab <schwab@redhat.com>
11903
11904 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11905 parameter name.
11906 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11907 Add parameter name.
11908 (__sysconf): Pass it down.
11909
de7ce8f1
UD
119102011-05-22 Ulrich Drepper <drepper@gmail.com>
11911
f2962a71
UD
11912 [BZ #12671]
11913 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11914 some situations.
11915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11916 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11917 add in in __libc_use_alloca calls. Adjust callers.
11918 (glob): Use malloc in some situations.
11919
de7ce8f1
UD
11920 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11921 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11922 pltexit.
11923
aec84f53
UD
119242011-05-21 Ulrich Drepper <drepper@gmail.com>
11925
05bb4a68
UD
11926 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11927 and CLOCK_BOOTTIME_ALARM.
11928
7ea72f99
UD
11929 [BZ #12782]
11930 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11931 is returned.
11932
7e4afad5
UD
11933 * string/_strerror.c (__strerror_r): Print negative errors as signed
11934 numbers.
11935
8e211fec
UD
11936 [BZ #12777]
11937 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11938 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11939 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11940
f7d82dc9
UD
11941 * configure.in: Fix typo in redirection and correct removal of test
11942 files in two cases.
11943
cc9e536d
UD
11944 [BZ #12788]
11945 * locale/setlocale.c (new_composite_name): Fix test to check for
11946 identical name of all categories.
11947
aec84f53
UD
11948 [BZ #12792]
11949 * libio/filedoalloc.c (local_isatty): New function.
11950 (_IO_file_doallocate): Use local_isatty.
11951 * stdio-common/perror.c (perror): In case a new stream is used
11952 forward the stream error.
11953 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11954 error flag.
11955
78e64fdc
RT
119562011-05-20 Ulrich Drepper <drepper@gmail.com>
11957
34a9094f
UD
11958 [BZ #11869]
11959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11960 alloca.
11961 * include/alloca.h (extend_alloca_account): Define.
11962
78e64fdc
RT
11963 [BZ #11857]
11964 * posix/regex.h: Fix comments with documentation of user-accessible
11965 fields after compilation and describe correct free'ing of pattern
11966 after re_compile_pattern.
11967 Patch by Reuben Thomas <rrt@sc3d.org>.
11968
457bddfc
RA
119692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11970
11971 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11972 and -mno-altivec to prevent the compiler from using Altivec and/or
11973 VSX instructions when the corresponding registers are not available.
11974
a4527b51
AS
119752011-05-19 Andreas Schwab <schwab@redhat.com>
11976
11977 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11978
ed690b2f
UD
119792011-05-19 Ulrich Drepper <drepper@gmail.com>
11980
11981 * libio/freopen.c (freopen): Use __dup2, not dup2.
11982 * libio/freopen64.c (freopen64): Likewise.
11983
8db73634
L
119842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 [BZ #12775]
11987 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11988 * math/Makefile (tests): Add test-powl.
11989 (CFLAGS-test-powl.c): Define.
11990 * math/test-powl.c: New file.
11991
0a197a9d
L
119922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11993
11994 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11995
ee30c380
UD
119962011-05-17 Ulrich Drepper <drepper@gmail.com>
11997
11998 [BZ #11837]
11999 * iconvdata/gb18030.c: Update to GB18020-2005.
12000
6ce75379
UD
120012011-05-16 Ulrich Drepper <drepper@gmail.com>
12002
a4b89fd8
AR
12003 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12004 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12005 Patch by Aharon Robbins <arnold@skeeve.com>.
12006
ea389b12
UD
12007 [BZ #11892]
12008 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12009 on the stack.
12010
68a3f91f
UD
12011 [BZ #11895]
12012 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12013 through underflows.
12014
15cc7dd1
UD
12015 [BZ #12766]
12016 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12017 point to strings before performing equality test for error_one_per_line
12018 mode.
12019
f3799213
UD
12020 [BZ #11697]
12021 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12022
d79a9c94
UD
12023 [BZ #11820]
12024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12025 (struct user_fpregs_struct): Avoid __uint*_t types.
12026
56e5eb46
UD
12027 [BZ #6420]
12028 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12029 symbol info. Use it instead of calling _dl_addr locally.
12030 (lock_and_info): New function.
12031 (tr_freehook): Call lock_and_info and pass symbol info as additional
12032 parameter to tr_where.
12033 (tr_mallochook): Likewise.
12034 (tr_reallochook): Likewise.
12035 (tr_memalignhook): Likewise.
12036
6ce75379
UD
12037 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12038 used and couldn't be at all thread-safe.
12039
f8a3b5bf
UD
120402011-05-15 Ulrich Drepper <drepper@gmail.com>
12041
94b7cc37
UD
12042 * libio/freopen.c (freopen): Don't close old file descriptor
12043 before the new one is opened. Instead dup the new file descriptor
12044 to the old one after the new stream is created.
12045 * libio/freopen64.c (freopen64): Likewise.
12046 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12047 * libio/fileops.c (_IO_new_file_close_it): Handle new
12048 _IO_FLAGS2_NOCLOSE flag.
12049 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12050 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12051 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12052 _IO_FLAGS2_NOCLOSE flag.
12053 * include/unistd.h: Add hidden_proto for dup3.
12054 Define __have_dup3.
12055 * io/dup3.c: Define hidden symbol.
12056 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12057
bd25564e
UD
12058 [BZ #7101]
12059 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12060 when an incomplete long option is used.
12061 * posix/tst-getopt_long1.c: New file.
12062 * posix/Makefile (tests): Add tst-getopt_long1.
12063
c84cfef4
UD
12064 [BZ #10138]
12065 * scripts/config.guess: Update from autoconf-2.68.
12066 * scripts/config.sub: Likewise.
12067
3b85df27
UD
12068 [BZ #10157]
12069 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12070 tests into ...
12071 (has_cpuclock): ...this. New function.
12072 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12073 macro here based on has_cpuclock code.
12074
15a856b1
UD
12075 [BZ #10149]
12076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12077 First byte (not low byte) is now always NUL.
12078 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12079
05f399e6
UD
12080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12081 Use non-cancelable interfaces.
12082
10a52685 12083 [BZ #9809]
94ecc67d
UD
12084 * locale/iso-639.def: Add entry for Sorani.
12085
f8a3b5bf
UD
12086 [BZ #11901]
12087 * include/stdlib.h: Move include protection to the right place.
12088 Define abort_msg_s. Declare __abort_msg with it.
12089 * stdlib/abort.c (__abort_msg): Adjust type.
12090 * assert/assert.c (__assert_fail_base): New function. Majority
12091 of code from __assert_fail. Allocate memory for __abort_msg with
12092 mmap.
12093 (__assert_fail): Now call __assert_fail_base.
12094 * assert/assert-perr.c: Remove bulk of implementation. Use
12095 __assert_fail_base.
12096 * include/assert.hL Declare __assert_fail_base.
12097 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12098 mmap.
12099 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12100
1af4e298
UD
121012011-05-14 Ulrich Drepper <drepper@gmail.com>
12102
f8a3b5bf 12103 [BZ #11952]
d26dfc60
MG
12104 [BZ #12453]
12105 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12106 until all modules are registered in the DTV.
12107 * elf/Makefile: Add rules to build and run tst-tls19.
12108 * elf/tst-tls19.c: New file.
12109 * elf/tst-tls19mod1.c: New file.
12110 * elf/tst-tls19mod2.c: New file.
12111 * elf/tst-tls19mod3.c: New file.
12112 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12113
2fc54d6f
UD
12114 [BZ #12083]
12115 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12116 correctly.
12117
98d76b46
UD
12118 [BZ #12601]
12119 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12120 two-byte sequence errors.
12121 * iconvdata/Makefile (tests): Add bug-iconv8.
12122 * iconvdata/bug-iconv8.c: New file.
12123
da3c19ef
UD
12124 [BZ #12626]
12125 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12126 buf2 definition.
12127
ca408c15
UD
12128 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12129
d6f67f7d
UD
12130 [BZ #12432]
12131 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12132 (dummy_getcfa): New function.
12133 (init): Get _Unwind_GetCFA address, use dummy if not found.
12134 (backtrace_helper): In recursion check, also check whether CFA changes.
12135 (__backtrace): Completely initialize arg.
12136
1af4e298 12137 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12138 storing incomplete byte sequence in state object. Avoid testing for
12139 guaranteed too small input if we know there is enough data available.
1af4e298 12140
da62f81b
AS
121412011-05-11 Andreas Schwab <schwab@redhat.com>
12142
12143 * Makeconfig (+link-pie): Indent.
12144 * Rules (binaries-pie): Define if $(have-fpie) and
12145 $(build-shared).
12146 (binaries-shared): Also filter out $(binaries-pie).
12147 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12148 * nscd/Makefile (others-pie): Add nscd.
12149 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12150 ($(objpfx)nscd): Remove command override.
12151 * login/Makefile (others-pie): Add pt_chown.
12152 ($(objpfx)pt_chown): Remove command override.
12153 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12154 remove command overrides.
12155
fcabc0f8
UD
121562011-05-13 Ulrich Drepper <drepper@gmail.com>
12157
20030ae6
UD
12158 * libio/tst_putwc.c: Fix error messages.
12159
fcabc0f8
UD
12160 [BZ #12724]
12161 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12162 currently writing and seek to current position when not.
12163 * libio/Makefile (tests): Add bug-fclose1.
12164 * libio/bug-fclose1.c: New file.
12165
320a5dc0
PB
121662011-05-12 Ulrich Drepper <drepper@gmail.com>
12167
12168 [BZ #12511]
12169 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12170 don't set DF_1_NODELETE here.
12171 (do_lookup_x): When entering new entry test for copy relocation
12172 and if necessary set DF_1_NODELETE flag.
12173 * elf/tst-unique4.cc: New file.
12174 * elf/tst-unique4.h: New file.
12175 * elf/tst-unique4lib.cc: New file.
12176 * elf/Makefile: Add rules to build and run tst-unique4.
12177 Patch by Piotr Bury <pbury@goahead.com>.
12178
22836f52
UD
121792011-05-11 Ulrich Drepper <drepper@gmail.com>
12180
f574184a
UD
12181 [BZ #12052]
12182 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12183
e1fb097f
UD
12184 [BZ #12625]
12185 * misc/mntent_r.c (addmntent): Flush the stream after the output
12186
22836f52
UD
12187 [BZ #12393]
12188 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12189 (is_trusted_path_normalize): Skip initial colon. Append slash
12190 to empty buffer. Duplicate is_trusted_path code but allow
12191 constructed patch to be prefix.
12192 (is_dst): Allow $ORIGIN followed by /.
12193 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12194 Correct testing of result of is_trusted_path_normalize
12195 (decompose_rpath): Fix warning.
12196
7b3b0b2a
UD
121972011-05-10 Ulrich Drepper <drepper@gmail.com>
12198
12199 [BZ #11257]
12200 * grp/initgroups.c (internal_getgrouplist): When we found the service
12201 list through the initgroups entry in nsswitch.conf do not always
12202 continue on a successful lookup. Don't always use the
eac80ce2 12203 __nss_group_database value if it is set.
7b3b0b2a
UD
12204 * nss/nsswitch.conf (initgroups): Change action for successful db
12205 lookup to continue for compatibility.
12206
2a81eaa5
UD
122072011-05-09 Ulrich Drepper <drepper@gmail.com>
12208
be97a69e
UD
12209 [BZ #11532]
12210 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12211 and CP774 modules.
12212 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12213 and CP774 modules.
12214 * iconvdata/tst-tables.sh: Likewise.
12215 * iconvdata/cp770.c: New file.
12216 * iconvdata/cp771.c: New file.
12217 * iconvdata/cp772.c: New file.
12218 * iconvdata/cp773.c: New file.
12219 * iconvdata/cp774.c: New file.
12220 * iconvdata/testdata/CP770: New file.
12221 * iconvdata/testdata/CP770..UTF8: New file.
12222 * iconvdata/testdata/CP771: New file.
12223 * iconvdata/testdata/CP771..UTF8: New file.
12224 * iconvdata/testdata/CP772: New file.
12225 * iconvdata/testdata/CP772..UTF8: New file.
12226 * iconvdata/testdata/CP773: New file.
12227 * iconvdata/testdata/CP773..UTF8: New file.
12228 * iconvdata/testdata/CP774: New file.
12229 * iconvdata/testdata/CP774..UTF8: New file.
12230
12231 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12232 END CHARMAP line.
12233 * iconvdata/gen-8bit-gap.sh: Likewise.
12234 * iconvdata/gen-8bit.sh: Likewise.
12235
c1e9e399
UD
12236 * locale/iso-639.def: Add ary entry.
12237
24c55fb3 12238 [BZ #11258]
96b4b1b0
UD
12239 * locale/C-translit.h.in: Add U20A1 transliteration.
12240
bdc2f971
KB
12241 [BZ #12178]
12242 * locale/iso-639.def: Add wae entry.
12243 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12244
2952b117
UD
12245 [BZ #12545]
12246 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12247 for n.
12248
2a81eaa5
UD
12249 [BZ #12711]
12250 * locale/C-translit.h.in: Add entry for U20B9.
12251 Patch by pravin.d.s@gmail.com.
12252
28377d1b
UD
122532011-05-08 Ulrich Drepper <drepper@gmail.com>
12254
7fb90fb8
UD
12255 [BZ #12713]
12256 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12257 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12258 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12259 in rtld. Use *stat64.
7fb90fb8 12260 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12261 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12262 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12263 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12264 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12265 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12266 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12267 __fstatat64 macros.
7fb90fb8
UD
12268 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12269 * dirent/rewinddir.c: Add libc_hidden_def.
12270 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12271 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12272
28377d1b
UD
12273 * include/dirent.h (__alloc_dir): Add flags parameter.
12274 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12275 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12276 __alloc_dir.
12277 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12278 from fdopendir if O_CLOEXEC is already set.
12279
66bdbaa4
AM
122802011-03-15 Alan Modra <amodra@gmail.com>
12281
12282 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12283 l_tls_firstbyte_offset non-zero. Save padding offset in
12284 l_tls_firstbyte_offset for later use.
12285 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12286 freeing static tls block.
12287
95721191
JN
122882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12289
12290 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12291 where #ifdef was intended. The intent is to prevent ARG_MAX from
12292 being defined by the kernel headers.
12293
f87dfb1f
UD
122942011-05-07 Ulrich Drepper <drepper@gmail.com>
12295
12296 [BZ #12734]
12297 * resolv/resolv.h: Define RES_NOTLDQUERY.
12298 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12299 no-tld-query and set RES_NOTLDQUERY.
12300 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12301 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12302 modern BIND to search name as TLD unless forbidden.
12303
47c3cd7a
UD
123042011-05-07 Petr Baudis <pasky@suse.cz>
12305 Ulrich Drepper <drepper@gmail.com>
12306
12307 [BZ #12393]
12308 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12309 (is_trusted_path): ...to here.
c1e9ea35 12310 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12311 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12312 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12313
8a35c912
PP
123142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12315
12316 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12317 __BEGIN/__END_DECLS.
12318
acd41f47
UD
123192011-05-06 Ulrich Drepper <drepper@gmail.com>
12320
12321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12322 NSS_STATUS_NOTFOUND if no record was found.
12323
597df647
AS
123242011-05-05 Andreas Schwab <schwab@redhat.com>
12325
12326 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12327 (headers-not-in-tirpc): Remove rpc/netdb.h
12328 * resolv/netdb.h: Revert last change.
12329
b9af1301
PP
123302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12331
12332 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12333 circular dependency between libgcc.a and libc.a.
12334
4e34d5f5
AS
123352011-05-05 Andreas Schwab <schwab@redhat.com>
12336
12337 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12338 * nis/Makefile: Don't install rpcsvc/*.
12339 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12340 instead of <rpc/types.h>.
12341 (MAXHOSTNAMELEN): Define.
12342
00ee369c
AS
123432011-05-03 Andreas Schwab <schwab@redhat.com>
12344
12345 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12346
0b592a30
MB
123472011-04-28 Maciej Babinski <mbabinski@google.com>
12348
12349 [BZ #12714]
12350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12351 gethostbyname4_r when IPv6 results are possible.
12352
6e04cbbe
UD
123532011-05-02 Ulrich Drepper <drepper@gmail.com>
12354
12355 [BZ #12723]
12356 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12357 _PC_PIPE_BUF handling.
12358
e4ecafe0
BH
123592011-04-30 Bruno Haible <bruno@clisp.org>
12360
12361 [BZ #12717]
12362 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12363 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12364 to 'int'.
12365 * inet/getnameinfo.c (getnameinfo): Likewise.
12366
125ee683
UD
123672011-04-29 Ulrich Drepper <drepper@gmail.com>
12368
12369 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12370 to groups setting in database lookup.
12371 * nss/nsswitch.conf: Add initgroups entry.
12372
b722481a
EB
123732011-04-22 Ulrich Drepper <drepper@gmail.com>
12374
12375 [BZ #12685]
12376 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12377 mode string.
12378 Patch by Eric Blake <eblake@redhat.com>.
12379
4df46dbd
L
123802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * sunrpc/Makefile (need-export-routines): Add svc_run.
12383 (routines): Remove svc_run.
12384 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12385 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12386 * sunrpc/svc_run.c (svc_run): Likewise.
12387 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12388
e84142d2
UD
123892011-04-21 Ulrich Drepper <drepper@gmail.com>
12390
12391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12392 problem in reallocation in last patch.
12393
877175d8
UD
123942011-04-20 Ulrich Drepper <drepper@gmail.com>
12395
12396 * sunrpc/Makefile: Move inclusion of Rules.
12397
ab8eed78
UD
123982011-04-19 Ulrich Drepper <drepper@gmail.com>
12399
12400 * nss/nss_files/files-initgroups.c: New file.
12401 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12402 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12403 _nss_files_initgroups_dyn.
12404
e3d8f584
RS
124052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12406
12407 * elf/elf.h (R_ARM_IRELATIVE): Define.
12408
af190f45
UD
124092011-04-19 Ulrich Drepper <drepper@gmail.com>
12410
12411 * po/ru.po: Update from translation team.
12412
53cf59ef
UD
124132011-04-17 Ulrich Drepper <drepper@gmail.com>
12414
12415 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12416 dependencies.
12417
4c559bcd
MF
124182011-02-06 Mike Frysinger <vapier@gentoo.org>
12419
12420 [BZ #12653]
12421 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12422 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12426
4420675c
AS
124272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12430 differing bytes.
12431 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12434
75ea32ab
UD
124352011-04-17 Ulrich Drepper <drepper@gmail.com>
12436
12437 [BZ #12420]
12438 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12439 storing it.
12440 * stdlib/bug-getcontext.c: New file.
12441 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12442
27390476
AK
124432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12444
12445 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12446 instructions into .machine "z9-109".
12447 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12448 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12449
10442705
AK
124502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12451
12452 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12453 between environment variables and auxiliary vector.
12454
7b57bfe5
UD
124552011-04-16 Ulrich Drepper <drepper@gmail.com>
12456
12457 * Makefile: Add rules to build linkobj/libc.so.
12458 * include/libc-symbols.h: Define libc_hidden_nolink.
12459 * include/rpc/auth.h: Mark functions which are to be hidden.
12460 * include/rpc/auth_des.h: Likewise.
12461 * include/rpc/auth_unix.h: Likewise.
12462 * include/rpc/clnt.h: Likewise.
12463 * include/rpc/des_crypt.h: Likewise.
12464 * include/rpc/key_prot.h: Likewise.
12465 * include/rpc/pmap_clnt.h: Likewise.
12466 * include/rpc/pmap_prot.h: Likewise.
12467 * include/rpc/pmap_rmt.h: Likewise.
12468 * include/rpc/rpc_msg.h: Likewise.
12469 * include/rpc/svc.h: Likewise.
12470 * include/rpc/svc_auth.h: Likewise.
12471 * include/rpc/xdr.h: Likewise.
12472 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12473 * nss/Makefile: Likewise.
12474 * sunrpc/Makefile: Don't install headers. Build library with normal
12475 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12476 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12477 for the compat linking library. Remove use of INTDEF/INTUSE.
12478 * sunrpc/auth_none.c: Likewise.
12479 * sunrpc/auth_unix.c: Likewise.
12480 * sunrpc/authdes_prot.c: Likewise.
12481 * sunrpc/authuxprot.c: Likewise.
12482 * sunrpc/clnt_gen.c: Likewise.
12483 * sunrpc/clnt_perr.c: Likewise.
12484 * sunrpc/clnt_raw.c: Likewise.
12485 * sunrpc/clnt_simp.c: Likewise.
12486 * sunrpc/clnt_tcp.c: Likewise.
12487 * sunrpc/clnt_udp.c: Likewise.
12488 * sunrpc/clnt_unix.c: Likewise.
12489 * sunrpc/des_crypt.c: Likewise.
12490 * sunrpc/des_soft.c: Likewise.
12491 * sunrpc/get_myaddr.c: Likewise.
12492 * sunrpc/key_call.c: Likewise.
12493 * sunrpc/key_prot.c: Likewise.
12494 * sunrpc/netname.c: Likewise.
12495 * sunrpc/pm_getmaps.c: Likewise.
12496 * sunrpc/pm_getport.c: Likewise.
12497 * sunrpc/pmap_clnt.c: Likewise.
12498 * sunrpc/pmap_prot.c: Likewise.
12499 * sunrpc/pmap_prot2.c: Likewise.
12500 * sunrpc/pmap_rmt.c: Likewise.
12501 * sunrpc/publickey.c: Likewise.
12502 * sunrpc/rpc_cmsg.c: Likewise.
12503 * sunrpc/rpc_common.c: Likewise.
12504 * sunrpc/rpc_dtable.c: Likewise.
12505 * sunrpc/rpc_prot.c: Likewise.
12506 * sunrpc/rpc_thread.c: Likewise.
12507 * sunrpc/rtime.c: Likewise.
12508 * sunrpc/svc.c: Likewise.
12509 * sunrpc/svc_auth.c: Likewise.
12510 * sunrpc/svc_authux.c: Likewise.
12511 * sunrpc/svc_raw.c: Likewise.
12512 * sunrpc/svc_run.c: Likewise.
12513 * sunrpc/svc_simple.c: Likewise.
12514 * sunrpc/svc_tcp.c: Likewise.
12515 * sunrpc/svc_udp.c: Likewise.
12516 * sunrpc/svc_unix.c: Likewise.
12517 * sunrpc/svcauth_des.c: Likewise.
12518 * sunrpc/xcrypt.c: Likewise.
12519 * sunrpc/xdr.c: Likewise.
12520 * sunrpc/xdr_array.c: Likewise.
12521 * sunrpc/xdr_float.c: Likewise.
12522 * sunrpc/xdr_intXX_t.c: Likewise.
12523 * sunrpc/xdr_mem.c: Likewise.
12524 * sunrpc/xdr_rec.c: Likewise.
12525 * sunrpc/xdr_ref.c: Likewise.
12526 * sunrpc/xdr_sizeof.c: Likewise.
12527 * sunrpc/xdr_stdio.c: Likewise.
12528
e6c61494
UD
125292011-04-10 Ulrich Drepper <drepper@gmail.com>
12530
12531 [BZ #12650]
12532 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12533 * sysdeps/ia64/dl-tls.h: Likewise.
12534 * sysdeps/powerpc/dl-tls.h: Likewise.
12535 * sysdeps/s390/dl-tls.h: Likewise.
12536 * sysdeps/sh/dl-tls.h: Likewise.
12537 * sysdeps/sparc/dl-tls.h: Likewise.
12538 * sysdeps/x86_64/dl-tls.h: Likewise.
12539 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12540
34fe483e
AS
125412011-03-14 Andreas Schwab <schwab@redhat.com>
12542
12543 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12544 rpath element also skip the following colon.
12545 (expand_dynamic_string_token): Add is_path parameter and pass
12546 down to DL_DST_REQUIRED and _dl_dst_substitute.
12547 (decompose_rpath): Call expand_dynamic_string_token with
12548 non-zero is_path. Ignore empty rpaths.
12549 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12550 with zero is_path.
12551
f12a32e6
AS
125522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12553
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12555 Make cancelable.
12556
38a7d692
UD
125572011-04-09 Ulrich Drepper <drepper@gmail.com>
12558
12559 [BZ #12655]
12560 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12561 Patch by Filipe David Manana <fdmanana@apache.org>.
12562
e451d22b
AS
125632011-04-07 Andreas Schwab <schwab@redhat.com>
12564
12565 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12566 Maintain aligned stack.
12567 (CHECK_RSP): Remove unused macro.
12568
dedc7c7b
UD
125692011-04-03 Ulrich Drepper <drepper@gmail.com>
12570
12571 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12572 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12573
94521213
UD
125742011-04-02 Ulrich Drepper <drepper@gmail.com>
12575
12576 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12577
8cb700c0 12578 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12579
0354e355
L
125802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 [BZ #12518]
12583 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12584 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12585 * sysdeps/x86_64/memmove.c: New file.
12586 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12587 (memcpy): Renamed to ...
12588 (__new_memcpy): This.
12589 (memcpy): Provide GLIBC_2_14 memcpy.
12590 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12591 (memcpy): Provide GLIBC_2_2_5 memcpy.
12592
8593482f
UD
125932011-04-01 Ulrich Drepper <drepper@gmail.com>
12594
12595 [BZ #12631]
12596 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12597
81a5726b
AS
125982011-03-30 Andreas Schwab <schwab@redhat.com>
12599
12600 * misc/syncfs.c: New file.
12601 * misc/Makefile (routines): Add syncfs.
12602 * posix/unistd.h: Declare syncfs.
12603 * sysdeps/unix/syscalls.list: Add syncfs.
12604
00e5419f
AS
126052011-04-01 Andreas Schwab <schwab@redhat.com>
12606
12607 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12608 open_by_handle_at.
12609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12614 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12616
748876bf
UD
126172011-04-01 Ulrich Drepper <drepper@gmail.com>
12618
658e451d
UD
12619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12626
748876bf
UD
12627 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12628 sync_file_range.c with -fexceptions.
12629 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12630 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12631 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12632 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12633 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12634 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12636 sync_file_range as cancellation point
12637 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12638 now a wrapper around __call_sync_file_range with cancellation handling.
12639 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12640 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12641 function name to __call_sync_file_range.
12642 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12643 Add call_sync_file_range.
748876bf 12644
6e63d5e1
AS
126452011-04-01 Andreas Schwab <schwab@redhat.com>
12646
12647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12648 bits/timex.h.
6e63d5e1 12649
46998f74
UD
126502011-04-01 Ulrich Drepper <drepper@gmail.com>
12651
4c1423ed
UD
12652 * iconv/iconv.h: Fix typo in comment.
12653 * io/fcntl.h: Likewise.
12654 * libio/stdio.h: Likewise.
12655 * posix/spawn.h: Likewise.
12656 * posix/unistd.h: Likewise.
12657 * stdlib/stdlib.h: Likewise.
12658 * time/time.h: Likewise.
12659 * wcsmbs/wchar.h: Likewise.
12660
158648c0
UD
12661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12662 open_by_handle): Add.
12663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12664 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12665 Augment a few comments.
12666 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12671 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12672 open_by_handle.
12673
46998f74
UD
12674 * io/fcntl.h (AT_EMPTY_PATH): Define.
12675
83fe108b
UD
126762011-03-30 Ulrich Drepper <drepper@gmail.com>
12677
12678 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12679 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12680 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12681 to...
12682 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12683 * Versions.def: Add GLIBC_2.14.
12684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12685 Export.
83fe108b 12686
bb242059
UD
126872011-03-22 Ulrich Drepper <drepper@gmail.com>
12688
12689 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12690 round counter.
12691 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12692
c97a1282
L
126932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 [BZ #12597]
12696 * string/test-strncmp.c (do_page_test): New function.
12697 (check2): Likewise.
12698 (test_main): Call check2.
12699 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12700
2a115601
UD
127012011-03-20 Ulrich Drepper <drepper@gmail.com>
12702
12703 [BZ #12587]
12704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12705 Handle cache information in CPU leaf 4.
12706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12707
8126d904
UD
127082011-03-18 Ulrich Drepper <drepper@gmail.com>
12709
042c49c6 12710 [BZ #12583]
8126d904
UD
12711 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12712 character representation.
12713 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12714
ccfe366e
RA
127152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12716
12717 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12718 END(__isnan) to END(__isnanf) to match function entry point/label
12719 EALIGN(__isnanf,...).
12720
c6e13027
JJ
127212011-03-10 Jakub Jelinek <jakub@redhat.com>
12722
12723 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12724
33f85a3f
UD
127252011-03-10 Ulrich Drepper <drepper@gmail.com>
12726
028478fa
UD
12727 [BZ #12510]
12728 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12729 copy from the symbol referenced in the relocation to initialize the
12730 used variable.
12731 Patch by Piotr Bury <pbury@goahead.com>.
12732 * elf/Makefile: Add rules to build and tst-unique3.
12733 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12734 * elf/tst-unique3.cc: New file.
12735 * elf/tst-unique3.h: New file.
12736 * elf/tst-unique3lib.cc: New file.
12737 * elf/tst-unique3lib2.cc: New file.
12738
33f85a3f
UD
12739 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12740
03592fc7
MF
127412011-03-10 Mike Frysinger <vapier@gentoo.org>
12742
12743 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12744 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12745 to _start.
03592fc7 12746
6a5ee102
UD
127472011-03-06 Ulrich Drepper <drepper@gmail.com>
12748
12749 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12750 to-be-loaded object along a path to loader is ld.so.
12751
7e4ba49c
HJ
127522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12753 Ulrich Drepper <drepper@gmail.com>
12754
12755 * sysdeps/x86_64/memset.S: After aligning destination, code
12756 branches to different locations depending on the value of
12757 misalignment, when multiarch is enabled. Fix this.
12758
127592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12760
12761 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12762 Set _x86_64_preferred_memory_instruction for AMD processsors.
12763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12764 Set bit_Prefer_SSE_for_memop for AMD processors.
12765
13a804de
UD
127662011-03-04 Ulrich Drepper <drepper@gmail.com>
12767
12768 * libio/fmemopen.c (fmemopen): Optimize a bit.
12769
9d25c392
AS
127702011-03-03 Andreas Schwab <schwab@redhat.com>
12771
12772 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12773
a5543c6a
RM
127742011-03-03 Roland McGrath <roland@redhat.com>
12775
12776 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12777
012d35f7
DM
127782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12779
7e4ba49c 12780 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12781 __bzero_ultra1 instead of __memset_ultra1.
12782
4bff6e01
AS
127832011-02-23 Andreas Schwab <schwab@redhat.com>
12784 Ulrich Drepper <drepper@gmail.com>
12785
12786 [BZ #12509]
12787 * include/link.h (struct link_map): Add l_orig_initfini.
12788 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12789 returning unsuccessfully.
12790 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12791 close of a file loaded at startup, restore the original l_initfini
12792 list.
12793 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12794 list, store the pointer.
12795 * elf/Makefile ($(objpfx)noload-mem): New rule.
12796 (noload-ENV): Define.
12797 (tests): Add $(objpfx)noload-mem.
12798 * elf/noload.c: Include <memcheck.h>.
12799 (main): Call mtrace. Close all opened handles.
12800
f2092faf
AS
128012011-02-17 Andreas Schwab <schwab@redhat.com>
12802
12803 [BZ #12454]
12804 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12805 dependencies are missing.
12806
6c8a2e88
ST
128072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12808
f2092faf 12809 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12810 Hurd needs munmap.
12811 * sysdeps/mach/hurd/ifreq.h: New file.
12812
84a42118
PB
128132011-01-27 Petr Baudis <pasky@suse.cz>
12814 Ulrich Drepper <drepper@gmail.com>
12815
071f805e 12816 [BZ 12445]#
84a42118
PB
12817 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12818 to extend_alloca().
12819 * stdio-common/bug23.c: New file.
12820 * stdio-common/Makefile (tests): Add bug23.
12821
e23fe25b
AS
128222010-09-28 Andreas Schwab <schwab@redhat.com>
12823 Ulrich Drepper <drepper@gmail.com>
12824
12825 [BZ #12489]
12826 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12827 before performing relro protection. At old place add assertion
12828 to make sure nothing changed.
12829
d3f02e10
NS
128302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12831 Glauber de Oliveira Costa <glommer@gmail.com>
12832
12833 * elf/elf.h: Add new ARM TLS relocs.
12834
d55fd7a5
RA
128352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12836
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12838 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12839 cast from r3.
12840 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12841 'tests' variable.
12842 * sysdeps/wordsize-64/tst-writev.c: New file.
12843
2206397e
RA
128442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12845
12846 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12847 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12848 insns in _dl_start to prevent a TOC reference before relocs are
12849 resolved.
12850
e9433893
UD
128512011-02-15 Ulrich Drepper <drepper@gmail.com>
12852
12853 [BZ #12469]
12854 * Makeconfig: Remove RANLIB definition.
12855 * Makerules: Don't use RANLIB.
12856 * aclocal.m4: Remove ranlib test.
12857 * configure.in: No need to check for ranlib.
12858 * elf/rtld-Rules: Don't use RANLIB.
12859
f75286c6
ST
128602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12861
8e31c82d
ST
12862 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12863 protection macro.
12864 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12865 inclusion protection macro.
12866
f75286c6
ST
12867 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12868 SIGRTMIN and SIGRTMAX and print information in that case only when
12869 SIGRTMIN is defined.
12870
c1d0e639
JJ
128712011-02-11 Jakub Jelinek <jakub@redhat.com>
12872
12873 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12874 arginfo fn returning -1.
12875
12876 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12877 and thousands string is zero terminated.
12878
edf9294e
AS
128792011-02-03 Andreas Schwab <schwab@redhat.com>
12880
12881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12882 sysdeps/unix/sysv/linux/bits/socket.h.
12883
2b7e92df
ST
128842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12885
edf9294e
AS
12886 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12887 (__CPU_COUNT): Remove old macros.
12888 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12889 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12890 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12891 (__sched_cpualloc, __sched_cpufree): Add declarations.
12892
a4c7ea7b
UD
128932011-02-05 Ulrich Drepper <drepper@gmail.com>
12894
12895 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12896 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12897 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12898 (readdhstai): Return value of addhstaiX call.
12899 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12900 (addgrbyX): Return value returned by cache_addgr.
12901 (readdgrbyname): Return value returned by addgrbyX.
12902 (readdgrbygid): Likewise.
12903 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12904 (addpwbyX): Return value returned by cache_addpw.
12905 (readdpwbyname): Return value returned by addhstbyX.
12906 (readdpwbyuid): Likewise.
12907 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12908 (addservbyX): Return value returned by cache_addserv.
12909 (readdservbyname): Return value returned by addservbyX:
12910 (readdservbyport): Likewise.
12911 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12912 (addhstbyX): Return value returned by cache_addhst.
12913 (readdhstbyname): Return value returned by addhstbyX.
12914 (readdhstbyaddr): Likewise.
12915 (readdhstbynamev6): Likewise.
12916 (readdhstbyaddrv6): Likewise.
12917 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12918 (readdinitgroups): Return value returned by addinitgroupsX.
12919 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12920 (prune_cache): Keep track of timeout value of re-added entries.
12921 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12922 * nscd/nscd.h: Adjust prototypes of readd* functions.
12923
a0bf67cc
RM
129242011-02-04 Roland McGrath <roland@redhat.com>
12925
12926 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12927 (nis_stats): Likewise.
12928 * nis/nis_modify.c (nis_modify): Likewise.
12929 * nis/nis_remove.c (nis_remove): Likewise.
12930 * nis/nis_add.c (nis_add): Likewise.
12931
12932 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12933
12934 * posix/fnmatch_loop.c: Add some consts.
12935
12936 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12937
435b95eb
L
129382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12939
12940 [BZ #12460]
12941 * config.make.in (config-cflags-novzeroupper): Define.
12942 * configure.in: Substitute libc_cv_cc_novzeroupper.
12943 * elf/Makefile (AVX-CFLAGS): Define.
12944 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12945 (CFLAGS-tst-auditmod4a.c): Likewise.
12946 (CFLAGS-tst-auditmod4b.c): Likewise.
12947 (CFLAGS-tst-auditmod6b.c): Likewise.
12948 (CFLAGS-tst-auditmod6c.c): Likewise.
12949 (CFLAGS-tst-auditmod7b.c): Likewise.
12950 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12951
8517b15e
UD
129522011-02-02 Ulrich Drepper <drepper@gmail.com>
12953
12954 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12955 function to the callback.
12956 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12957
10a656fe
AS
129582011-02-02 Andreas Schwab <schwab@redhat.com>
12959
12960 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12961 of errno.
12962
968dad0a
UD
129632011-01-19 Ulrich Drepper <drepper@gmail.com>
12964
9f94d2ea 12965 [BZ #11724]
968dad0a
UD
12966 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12967 of constructors.
12968 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12969 of destructors.
12970 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12971
12972 [BZ #11724]
12973 * elf/Makefile: Add rules to build and run new test.
12974 * elf/tst-initorder.c: New file.
12975 * elf/tst-initorder.exp: New file.
12976 * elf/tst-initordera1.c: New file.
12977 * elf/tst-initordera2.c: New file.
12978 * elf/tst-initordera3.c: New file.
12979 * elf/tst-initordera4.c: New file.
12980 * elf/tst-initorderb1.c: New file.
12981 * elf/tst-initorderb2.c: New file.
12982 * elf/tst-order-a1.c: New file.
12983 * elf/tst-order-a2.c: New file.
12984 * elf/tst-order-a3.c: New file.
12985 * elf/tst-order-a4.c: New file.
12986 * elf/tst-order-b1.c: New file.
12987 * elf/tst-order-b2.c: New file.
12988 * elf/tst-order-main.c: New file.
12989 New test case by George Gensure <werkt0@gmail.com>.
12990
86e92359
UD
129912010-10-01 Andreas Schwab <schwab@redhat.com>
12992
12993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12994 decoding ACE if AI_CANONIDN.
12995
5d5732b0
UD
129962011-01-18 Ulrich Drepper <drepper@gmail.com>
12997
12998 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12999
a77e8cbc
UD
130002011-01-17 Ulrich Drepper <drepper@gmail.com>
13001
6392473f
UD
13002 * version.h (RELEASE): Bump for 2.13 release.
13003 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13004
620a0529
UD
13005 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13006
18ba70a5
UD
13007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13008 MADV_NOHUGEPAGE.
32465c3e
UD
13009 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13015
c0dafcf1
UD
13016 * posix/getconf.c: Update copyright year.
13017 * catgets/gencat.c: Likewise.
13018 * csu/version.c: Likewise.
13019 * debug/catchsegv.sh: Likewise.
13020 * debug/xtrace.sh: Likewise.
13021 * elf/ldconfig.c: Likewise.
13022 * elf/ldd.bash.in: Likewise.
13023 * elf/sprof.c (print_version): Likewise.
13024 * iconv/iconv_prog.c: Likewise.
13025 * iconv/iconvconfig.c: Likewise.
13026 * locale/programs/locale.c: Likewise.
13027 * locale/programs/localedef.c: Likewise.
13028 * malloc/memusage.sh: Likewise.
13029 * malloc/mtrace.pl: Likewise.
13030 * nscd/nscd.c (print_version): Likewise.
13031 * nss/getent.c: Likewise.
13032
a77e8cbc
UD
13033 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13034 PF_CAIF, and PF_ALG.
13035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13036
77e8bddf
AS
130372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13038
1f20b93a
AS
13039 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13040 (modules-names): Use them.
13041 (ifunc-test-modules, ifunc-pie-tests): Define.
13042 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13043 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13044 (test-extras): Likewise.
13045 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13046 $(compile-command.c).
13047 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13048 (all-built-dso): Define.
13049 (check-textrel.out, check-execstack.out): Depend on it.
13050
77e8bddf
AS
13051 * configure.in: Don't override --enable-multi-arch.
13052
bc425b33
UD
130532011-01-15 Ulrich Drepper <drepper@gmail.com>
13054
13055 [BZ #6812]
13056 * nscd/hstcache.c (tryagain): Define.
13057 (cache_addhst): Return tryagain not notfound for temporary errors.
13058 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13059 failed.
13060
794c3ad3
UD
130612011-01-14 Ulrich Drepper <drepper@gmail.com>
13062
70181fdd
UD
13063 [BZ #10563]
13064 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13065 to make the syscall.
13066 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13067
794c3ad3
UD
13068 [BZ #12378]
13069 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13070 and fall back to matching as normal character if the string ends before
13071 the matching ']' is found. This is what POSIX requires.
13072 * posix/testfnm.c: Adjust test result.
13073 * posix/globtest.sh: Adjust test result. Add new test.
13074 * posix/tst-fnmatch.input: Likewise.
13075 * posix/tst-fnmatch2.c: Add new test.
13076
68dc9497
AS
130772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13078
13079 * elf/Makefile (check-execstack): Revert last change. Depend on
13080 check-execstack.h.
13081 (check-execstack.h): New target.
13082 (generated): Add check-execstack.h.
13083 * elf/check-execstack.c: Include "check-execstack.h".
13084 (main): Revert last change.
13085 (handle_file): Return zero if GNU_STACK is absent and
13086 DEFAULT_STACK_PERMS doesn't include PF_X.
13087
451f001b
UD
130882011-01-13 Ulrich Drepper <drepper@gmail.com>
13089
cfa28e56
UD
13090 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13091 in child fails because the descriptor is already closed.
8cf8ce17
UD
13092 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13093 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13094 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13095
1086d70d
UD
13096 [BZ #12397]
13097 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13098 syscall.
13099
451f001b
UD
13100 [BZ #10484]
13101 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13102 temporary buffer used to handle multi lookups locally.
a85b5cb4 13103 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13104
08769175
UD
131052011-01-12 Ulrich Drepper <drepper@gmail.com>
13106
13107 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13108 loader is ld.so.
13109
5e49c52e
UD
131102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13111
13112 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13113 alignment for SSE2.
13114
60522a5f
UD
131152011-01-12 Ulrich Drepper <drepper@gmail.com>
13116
13117 [BZ #12394]
13118 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13119 characters. When rounding increased number of integer digits recompute
13120 number of groups.
13121 * stdio-common/tst-grouping.c: New file.
13122 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13123
f257bbd7
UD
131242011-01-09 Ulrich Drepper <drepper@gmail.com>
13125
13126 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13127 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13128
13129 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13130 void.
13131 * bits/select.h: Likewise.
13132
fa9c15cb
UD
131332011-01-08 Ulrich Drepper <drepper@gmail.com>
13134
13135 * po/ja.po: Update from translation team.
13136
16c2895f
DM
131372011-01-04 David S. Miller <davem@sunset.davemloft.net>
13138
13139 [BZ #11155]
13140 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13141 implementation just like for lxstat, fxstatat, et al.
13142
2543fef2
JM
131432010-12-27 Jim Meyering <meyering@redhat.com>
13144
13145 [BZ #12348]
13146 * posix/regexec.c (build_trtable): Return failure indication upon
13147 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13148
98727dbe
UD
131492010-12-25 Ulrich Drepper <drepper@gmail.com>
13150
5bd6dc5c
UD
13151 [BZ #12201]
13152 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13153 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13156
97983464
UD
13157 [BZ #12207]
13158 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13159
98727dbe
UD
13160 [BZ #12204]
13161 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13162 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13163
4a531bb0
L
131642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13167 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13168 script has SORT_BY_INIT_PRIORITY.
13169 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13170 NO_CTORS_DTORS_SECTIONS is defined.
13171 * elf/soinit.c: Likewise.
13172 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13173 NO_CTORS_DTORS_SECTIONS is defined.
13174 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13175 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13176 * sysdeps/sh/init-first.c: Likewise.
13177 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13178
07eb4b71
UD
131792010-12-24 Ulrich Drepper <drepper@gmail.com>
13180
13181 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13182 always use the slow path.
13183
30950a5f
RA
131842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13185
13186 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13187 similar rule which adds the sysdep directories to the header search in
13188 order to pick up the correct platform stackinfo.h.
13189 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13190 perform test if it is, otherwise return successfully without testing.
13191 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13192 DEFAULT_STACK_PERMS define in stackinfo.h.
13193 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13194 defined in stackinfo.h.
13195 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13196 DEFAULT_STACK_PERMS defined in stackinfo.h.
13197 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13198 * sysdeps/ia64/stackinfo.h: Likewise.
13199 * sysdeps/s390/stackinfo.h: Likewise.
13200 * sysdeps/sh/stackinfo.h: Likewise.
13201 * sysdeps/sparc/stackinfo.h: Likewise.
13202 * sysdeps/x86_64/stackinfo.h: Likewise.
13203 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13204 PF_X for powerpc64. Retain PF_X for powerpc32.
13205
db753e2c
UD
132062010-12-19 Ulrich Drepper <drepper@gmail.com>
13207
14b697f7
UD
13208 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13209 accurately.
db753e2c
UD
13210 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13211 GETDENTS_64BIT_ALIGNED.
13212
28300719
UD
132132010-12-14 Ulrich Drepper <dreper@gmail.com>
13214
14b697f7 13215 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13216
4f197237
AS
132172010-12-10 Andreas Schwab <schwab@redhat.com>
13218
dbb0472f
AS
13219 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13220 _GNU_SOURCE.
13221
4f197237
AS
13222 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13223 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13224 Remove __restrict.
13225 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13226 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13227
fb88ac72
UD
132282010-12-09 Ulrich Drepper <drepper@gmail.com>
13229
13230 [BZ #11655]
13231 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13232 are initialized.
13233
42acbb92
JJ
132342010-12-09 Jakub Jelinek <jakub@redhat.com>
13235
13236 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13237
c038d98d
UD
132382010-12-03 Ulrich Drepper <drepper@gmail.com>
13239
13240 * po/it.po: Update from translation team.
13241
3a4a2499
L
132422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13243
13244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13245 unused codes.
13246
1e24cf6e
UD
132472010-11-30 Ulrich Drepper <drepper@gmail.com>
13248
13249 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13250
a7690819
AS
132512010-11-24 Andreas Schwab <schwab@redhat.com>
13252
13253 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13254 specially.
13255 (gaih_getanswer_slice): Likewise.
13256
3bf8d1b1
JJ
132572010-10-20 Jakub Jelinek <jakub@redhat.com>
13258
13259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13260
6db52fbb
PB
132612010-05-31 Petr Baudis <pasky@suse.cz>
13262
13263 [BZ #11149]
13264 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13265 silently even in the chroot mode.
13266
eaca7569
UD
132672010-11-22 Ulrich Drepper <drepper@gmail.com>
13268
13269 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13270 last patch a bit. Pretty printing
13271
3056dcdb
UD
132722010-05-31 Petr Baudis <pasky@suse.cz>
13273
13274 [BZ #10085]
13275 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13276 initialization of skip_initgroups_dyn.
13277
cf7c9078
UD
132782010-11-19 Ulrich Drepper <drepper@gmail.com>
13279
13280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13282
a1fb5e3e
UD
132832010-11-16 Ulrich Drepper <drepper@gmail.com>
13284
13285 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13286
3540d66b
AS
132872010-11-11 Andreas Schwab <schwab@redhat.com>
13288
13289 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13290 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13291 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13292 ($(objpfx)tst-fnmatch-mem): New rule.
13293 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13294 * posix/tst-fnmatch.c (main): Call mtrace.
13295
13b69574
L
132962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13299 Support Intel processor model 6 and model 0x2c.
13300
da93d214
LM
133012010-11-10 Luis Machado <luisgpm@br.ibm.com>
13302
13303 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13304 signed comparison.
13305
8ca52c6e
L
133062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 [BZ #12205]
13309 * string/test-strncasecmp.c (check_result): New function.
13310 (do_one_test): Use it.
13311 (check1): New function.
13312 (test_main): Use it.
13313 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13314 Support strcasecmp and strncasecmp.
13315
69da074d
UD
133162010-11-08 Ulrich Drepper <drepper@gmail.com>
13317
13318 [BZ #12194]
13319 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13320 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13321
ff02d528
L
133222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13325 IFUNC support.
13326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13327 memset-x86-64.
13328 * sysdeps/x86_64/multiarch/bzero.S: New file.
13329 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13330 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13331 * sysdeps/x86_64/multiarch/memset.S: New file.
13332 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13334 Set bit_Prefer_SSE_for_memop for Intel processors.
13335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13336 Define.
13337 (index_Prefer_SSE_for_memop): Define.
13338 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13339
344d0b54
LM
133402010-11-04 Luis Machado <luisgpm@br.ibm.com>
13341
13342 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13343 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13344
c0dde15b
UD
133452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 [BZ #12191]
13348 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13349 (__x86_64_raw_data_cache_size_half): Likewise.
13350 (__x86_64_raw_shared_cache_size): Likewise.
13351 (__x86_64_raw_shared_cache_size_half): Likewise.
13352
13353 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13358 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13359 and __x86_64_raw_shared_cache_size_half. Round
13360 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13361 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13362 to multiple of 256 bytes.
13363
0e516e0e
MS
133642010-11-03 Ulrich Drepper <drepper@gmail.com>
13365
13366 [BZ #12167]
13367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13368 of inacessible symlinks. Verify result of symlink before returning it.
13369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13370 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13371
0e012e87
ER
133722010-10-28 Erich Ritz <erichritz@gmail.com>
13373
13374 * math/math.h (isinf): Fix typo in comment.
13375
de0ff7bc
UD
133762010-11-01 Ulrich Drepper <drepper@gmail.com>
13377
13378 * po/da.po: Update from translation team.
13379
fa41c84d
UD
133802010-10-26 Ulrich Drepper <drepper@gmail.com>
13381
13382 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13383 is added to the list.
13384
f0967738
AK
133852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13386 Ulrich Drepper <drepper@gmail.com>
13387
13388 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13389 the global list here. Move code to...
13390 (_dl_add_to_namespace_list): ...here. New function.
13391 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13392 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13393 * elf/dl-load.c (lose): Don't remove the element from the list.
13394 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13395 (_dl_map_object): Likewise.
13396
133972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13398
13399 [BZ #12159]
13400 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13401 into all bytes of SSE register.
13402 Patch by Richard Li <richardpku@gmail.com>.
13403
f0967738 134042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13405
13406 [BZ #12140]
13407 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13408 perturbing.
13409
d0b9e94f
MB
134102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13411
13412 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13413 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13415 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13417 submachine.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13419
8e9f92e9
AS
134202010-10-22 Andreas Schwab <schwab@redhat.com>
13421
13422 * include/dlfcn.h (__RTLD_SECURE): Define.
13423 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13424 mode & __RTLD_SECURE instead.
13425 (open_path): Rename preloaded parameter to secure.
13426 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13427 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13428 * elf/dl-deps.c (openaux): Likewise.
13429 * elf/rtld.c (struct map_args): Remove is_preloaded.
13430 (map_doit): Don't use it.
13431 (dl_main): Likewise.
13432 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13433 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13434
bc96fbda
AS
134352010-09-09 Andreas Schwab <schwab@redhat.com>
13436
13437 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13438 (sysd-rules-targets): Remove duplicates.
13439 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13440 rtld-%.$o dependency.
13441
22cd1c9b
AS
134422010-10-18 Andreas Schwab <schwab@redhat.com>
13443
13444 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13445 _dl_map_object do it.
13446
18edac48
UD
134472010-10-19 Ulrich Drepper <drepper@gmail.com>
13448
13449 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13450 fast fma builtins, define the macros in the C99 standard.
13451 (FP_FAST_FMAF): Likewise.
13452 (FP_FAST_FMAL): Likewise.
13453 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13454
13455 * bits/mathdef.h: Update copyright year.
13456 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13457
d2050124
MM
134582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13459
13460 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13461 builtins, define the macros in the C99 standard.
13462 (FP_FAST_FMAF): Likewise.
13463 (FP_FAST_FMAL): Likewise.
13464 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13465 multiply/add.
13466 (FP_FAST_FMAF): Likewise.
13467
475facd1
JJ
134682010-10-15 Jakub Jelinek <jakub@redhat.com>
13469
13470 [BZ #3268]
13471 * math/libm-test.inc (fma_test): Some new testcases.
13472 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13474 y and infinite z. Do multiplication by C already in long double.
13475 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13477 y and infinite z. Do bitwise or of inexact bit into u.d.
13478 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13479 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13480 * sysdeps/i386/fpu/s_fma.S: Removed.
13481 * sysdeps/i386/fpu/s_fmal.S: Removed.
13482
7c08a05c
JJ
134832010-10-16 Jakub Jelinek <jakub@redhat.com>
13484
13485 [BZ #3268]
13486 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13488 computation is not scheduled after fetestexcept. Fix value
13489 of minimum denormal long double.
13490
f3f7372d
JJ
134912010-10-14 Jakub Jelinek <jakub@redhat.com>
13492
13493 [BZ #3268]
13494 * math/libm-test.inc (fma_test): Add some more tests.
13495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13496 correctly.
13497
14d43591
AS
134982010-10-15 Andreas Schwab <schwab@redhat.com>
13499
13500 * scripts/data/localplt-s390-linux-gnu.data: New file.
13501 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13502
5e908464
JJ
135032010-10-13 Jakub Jelinek <jakub@redhat.com>
13504
13505 [BZ #3268]
13506 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13507 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13508 instead of dbl-64.
13509 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13510 inlines.
13511 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13513 if one of x and y is very large and the other is subnormal.
13514 * sysdeps/s390/fpu/s_fmaf.c: New file.
13515 * sysdeps/s390/fpu/s_fma.c: New file.
13516 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13517 * sysdeps/powerpc/fpu/s_fma.S: New file.
13518 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13519 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13520 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13521
135222010-10-12 Jakub Jelinek <jakub@redhat.com>
13523
13524 [BZ #3268]
13525 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13526 fma tests.
13527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13528 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13529 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13530 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13531 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13532 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13534
b833d51f
UD
135352010-10-12 Ulrich Drepper <drepper@redhat.com>
13536
13537 [BZ #12078]
13538 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13539 * posix/bug-regex31.input: Add test case.
13540
1751705d
UD
135412010-10-11 Ulrich Drepper <drepper@gmail.com>
13542
e9b9cbf5
UD
13543 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13544 * posix/bug-regex31.input: New file.
13545
13546 [BZ #12078]
13547 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13548 (parse_sub_exp): Fix last change, use postorder.
13549
ef06edbe
UD
13550 * posix/bug-regex31.c: New file.
13551 * posix/Makefile: Add rules to build and run bug-regex31.
13552
a129c80d
UD
13553 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13554
13555 [BZ #12078]
13556 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13557
b76b818e
UD
13558 [BZ #12108]
13559 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13560 to have entries in sys_siglist.
13561
1751705d
UD
13562 [BZ #12093]
13563 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13564 be NULL.
13565
9ff8d36f
JJ
135662010-10-07 Jakub Jelinek <jakub@redhat.com>
13567
13568 [BZ #3268]
13569 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13570 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13571 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13572 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13574 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13575 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13576 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13577 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13578 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13579 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13580 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13581 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13582 * math/ftestexcept.c (fetestexcept): Likewise.
13583 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13584 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13585 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13586 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13587 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13588 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13590
af325969
UD
135912010-10-11 Ulrich Drepper <drepper@gmail.com>
13592
c579b202 13593 [BZ #12107]
af325969
UD
13594 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13595 newline.
13596
67a67b95
UD
135972010-10-06 Ulrich Drepper <drepper@gmail.com>
13598
13599 * string/bug-strstr1.c: New file.
13600 * string/Makefile: Add rules to build and run bug-strstr1.
13601
5fb308bc
EB
136022010-10-05 Eric Blake <eblake@redhat.com>
13603
13604 [BZ #12092]
13605 * string/str-two-way.h (two_way_long_needle): Always clear memory
13606 when skipping input due to the shift table.
13607
45db99c7
UD
136082010-10-03 Ulrich Drepper <drepper@gmail.com>
13609
3b111893
UD
13610 [BZ #12005]
13611 * malloc/mcheck.c: Handle large requests.
13612
45db99c7
UD
13613 [BZ #12077]
13614 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13615 for strncmp and strncasecmp.
13616 * string/stratcliff.c: Add tests for strcmp and strncmp.
13617 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13618
cf7a1eb8
NI
136192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13620
13621 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13622 __set_fpscr.
13623
6484ba5e
AJ
136242010-09-30 Andreas Jaeger <aj@suse.de>
13625
13626 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13627 (CGROUP_SUPER_MAGIC): Define.
13628 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13629 Handle btrfs and cgroup file systems.
13630 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13631 Likewise.
13632
91c42559
LM
136332010-09-27 Luis Machado <luisgpm@br.ibm.com>
13634
13635 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13636 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13637
87a97932
AK
136382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13639
13640 [BZ #12067]
13641 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13642 trying to locate the ELF header.
13643
c21cc9bc
AS
136442010-09-27 Andreas Schwab <schwab@redhat.com>
13645
13646 [BZ #11611]
13647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13648 Mask out sign-bit copies when constructing f_fsid.
13649
315970f6
PB
136502010-09-24 Petr Baudis <pasky@suse.cz>
13651
13652 * debug/stack_chk_fail_local.c: Add missing licence exception.
13653 * debug/warning-nop.c: Likewise.
13654
1ac7a2c7
JM
136552010-09-15 Joseph Myers <joseph@codesourcery.com>
13656
13657 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13658 implementing getdents64 using getdents syscall, set d_type if
13659 __ASSUME_GETDENTS32_D_TYPE.
13660
56801c50
AS
136612010-09-16 Andreas Schwab <schwab@redhat.com>
13662
13663 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13664 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13665
dda51327
UD
136662010-09-21 Ulrich Drepper <drepper@redhat.com>
13667
13668 [BZ #12037]
13669 * posix/unistd.h: Undo change of feature selection for ftruncate from
13670 2010-01-11.
13671
8ffcee4a
UD
136722010-09-20 Ulrich Drepper <drepper@redhat.com>
13673
a545ecd9 13674 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13675 detection.
13676
e24f0a8b
AS
136772010-09-20 Andreas Schwab <schwab@redhat.com>
13678
13679 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13680 fanotify_mark.
13681 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13682
7291c56f
AS
136832010-09-14 Andreas Schwab <schwab@redhat.com>
13684
13685 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13686 variables after CHECK_SP call.
13687 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13688
bc5fb037
AS
136892010-09-13 Andreas Schwab <schwab@redhat.com>
13690 Ulrich Drepper <drepper@redhat.com>
13691
13692 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13693 re-relocationg ld.so.
13694 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13695 _dl_init_paths call.
13696 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13697 here anymore.
13698
e66e7419
UD
136992010-09-14 Ulrich Drepper <drepper@redhat.com>
13700
13701 * resolv/res_init.c (__res_vinit): Count the default server we added.
13702
c044aa75
CLT
137032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13704 Ulrich Drepper <drepper@redhat.com>
13705
13706 [BZ #11968]
13707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13708 (____longjmp_chk): Use %ebx for saving value across system call.
13709 Add unwind info.
13710
32cf4069
AS
137112010-09-06 Andreas Schwab <schwab@redhat.com>
13712
13713 * manual/Makefile: Don't mix pattern rules with normal rules.
13714
817328ee
AS
137152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13716
13717 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13718 operation.
13719 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13720 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13721 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13722 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13724 Likewise.
13725
29fddf61
UD
137262010-09-04 Ulrich Drepper <drepper@redhat.com>
13727
13728 [BZ #11979]
13729 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13730 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13731
0959ffc9
UD
137322010-09-02 Ulrich Drepper <drepper@redhat.com>
13733
13734 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13735 * sysdeps/x86_64/addmul_1.S: Likewise.
13736 * sysdeps/x86_64/lshift.S: Likewise.
13737 * sysdeps/x86_64/mul_1.S: Likewise.
13738 * sysdeps/x86_64/rshift.S: Likewise.
13739 * sysdeps/x86_64/sub_n.S: Likewise.
13740 * sysdeps/x86_64/submul_1.S: Likewise.
13741
ece29840
ST
137422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13743
0959ffc9
UD
13744 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13745 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13746 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13747 * bits/sched.h [__need_schedparam]
ece29840 13748 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13749 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13750 (__defined_schedparam): Define to 1.
ece29840
ST
13751 (__sched_param): New structure, identical to sched_param.
13752 (__need_schedparam): Undefine.
13753
e53a31fe
MF
137542010-08-31 Mike Frysinger <vapier@gentoo.org>
13755
fdc0c10d
MF
13756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13757 (epoll_create1): Declare.
13758
e53a31fe
MF
13759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13760
a726d796
AS
137612010-08-31 Andreas Schwab <schwab@redhat.com>
13762
13763 [BZ #7066]
13764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13765 shifting retval into place.
13766
2f3e3dc7
UD
137672010-09-01 Ulrich Drepper <drepper@redhat.com>
13768
f2933da9
UD
13769 * nis/rpcsvc/nis.h: Update copyright notice.
13770 * nis/rpcsvc/nis.x: Likewise.
13771 * nis/rpcsvc/nis_callback.h: Likewise.
13772 * nis/rpcsvc/nis_callback.x: Likewise.
13773 * nis/rpcsvc/nis_object.x: Likewise.
13774 * nis/rpcsvc/nis_tags.h: Likewise.
13775 * nis/rpcsvc/yp.h: Likewise.
13776 * nis/rpcsvc/yp.x: Likewise.
13777 * nis/rpcsvc/ypupd.h: Likewise.
13778 * nis/yp_xdr.c: Likewise.
13779 * nis/ypupdate_xdr.c: Likewise.
13780
2f3e3dc7
UD
13781 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13782 mainly the body of pmap_getport. Add parameters to specify timeouts.
13783 (pmap_getport): Use __libc_rpc_getport.
13784 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13785 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13786 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13787
f3dcc2f9
AS
137882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13789
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13791 fanotify_mark.
13792
6d34eb5b
RM
137932010-08-27 Roland McGrath <roland@redhat.com>
13794
13795 * sysdeps/i386/i686/multiarch/Makefile
13796 (CFLAGS-varshift.c): New variable.
13797
9ea3de11
UD
137982010-08-27 Ulrich Drepper <drepper@redhat.com>
13799
c96d23fc
UD
13800 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13801 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13802
9ea3de11
UD
13803 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13804
13805 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13806
623aac7f
L
138072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 * sysdeps/x86_64/strlen.S: Unroll the loop.
13810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13811 strlen-sse2 strlen-sse2-bsf.
13812 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13813 __strlen_no_bsf if bit_Slow_BSF is set.
13814 (__strlen_sse42): Removed.
13815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13816 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13817
8b2b7715
RM
138182010-08-25 Roland McGrath <roland@redhat.com>
13819
13820 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13821 * sysdeps/x86_64/multiarch/varshift.c: New file.
13822 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13823 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13824 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13825 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13826
e73015f2
L
138272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13828
13829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13830 strlen-sse2 strlen-sse2-bsf.
13831 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13832 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13833 (__strlen_sse2): Removed.
13834 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13837 bit_Slow_BSF for Atom.
13838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13839 (index_Slow_BSF): Define.
13840 (HAS_SLOW_BSF): Define.
13841
df24a73e
UD
138422010-08-25 Ulrich Drepper <drepper@redhat.com>
13843
13844 [BZ #10851]
13845 * resolv/res_init.c (__res_vinit): When no server address at all
13846 is given default to loopback.
13847
f2ac4868
RM
138482010-08-24 Roland McGrath <roland@redhat.com>
13849
09055553
RM
13850 * configure.in: Remove config-name.h generation.
13851 * configure: Regenerated.
13852 * config-name.in: File removed.
13853 * scripts/config-uname.sh: New file.
13854 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13855 ($(objdir)config-name.h): New target.
13856
f2ac4868
RM
13857 * sunrpc/rpc_parse.h: Avoid nested comment.
13858
73f27d5e
RH
138592010-08-24 Richard Henderson <rth@redhat.com>
13860 Ulrich Drepper <drepper@redhat.com>
13861 H.J. Lu <hongjiu.lu@intel.com>
13862
13863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13865 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13866 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13867 _mm_alignr_epi8 with _mm_loadu_si128.
13868 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13869 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13870 (__m128i_shift_right): Removed.
13871 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13872 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13873 * sysdeps/x86_64/multiarch/varshift.h: New file.
13874 * sysdeps/x86_64/multiarch/varshift.S: New file.
13875
84b9230c
MF
138762010-08-21 Mike Frysinger <vapier@gentoo.org>
13877
13878 * configure.in: Move assembler checks to before sysdep dir checking.
13879
9bbd0ddc
PB
138802010-08-20 Petr Baudis <pasky@suse.cz>
13881
13882 * LICENSES: Sync the sunrpc license.
13883
9da4bb31
UD
138842010-08-19 Ulrich Drepper <drepper@redhat.com>
13885
a7ab6ec8
UD
13886 * sunrpc/auth_des.c: Update copyright notice once again.
13887 * sunrpc/auth_none.c: Likewise.
13888 * sunrpc/auth_unix.c: Likewise.
13889 * sunrpc/authdes_prot.c: Likewise.
13890 * sunrpc/authuxprot.c: Likewise.
13891 * sunrpc/bindrsvprt.c: Likewise.
13892 * sunrpc/clnt_gen.c: Likewise.
13893 * sunrpc/clnt_perr.c: Likewise.
13894 * sunrpc/clnt_raw.c: Likewise.
13895 * sunrpc/clnt_simp.c: Likewise.
13896 * sunrpc/clnt_tcp.c: Likewise.
13897 * sunrpc/clnt_udp.c: Likewise.
13898 * sunrpc/clnt_unix.c: Likewise.
13899 * sunrpc/des_crypt.c: Likewise.
13900 * sunrpc/des_soft.c: Likewise.
13901 * sunrpc/get_myaddr.c: Likewise.
13902 * sunrpc/getrpcport.c: Likewise.
13903 * sunrpc/key_call.c: Likewise.
13904 * sunrpc/key_prot.c: Likewise.
13905 * sunrpc/openchild.c: Likewise.
13906 * sunrpc/pm_getmaps.c: Likewise.
13907 * sunrpc/pm_getport.c: Likewise.
13908 * sunrpc/pmap_clnt.c: Likewise.
13909 * sunrpc/pmap_prot.c: Likewise.
13910 * sunrpc/pmap_prot2.c: Likewise.
13911 * sunrpc/pmap_rmt.c: Likewise.
13912 * sunrpc/rpc/auth.h: Likewise.
13913 * sunrpc/rpc/auth_unix.h: Likewise.
13914 * sunrpc/rpc/clnt.h: Likewise.
13915 * sunrpc/rpc/des_crypt.h: Likewise.
13916 * sunrpc/rpc/key_prot.h: Likewise.
13917 * sunrpc/rpc/netdb.h: Likewise.
13918 * sunrpc/rpc/pmap_clnt.h: Likewise.
13919 * sunrpc/rpc/pmap_prot.h: Likewise.
13920 * sunrpc/rpc/pmap_rmt.h: Likewise.
13921 * sunrpc/rpc/rpc.h: Likewise.
13922 * sunrpc/rpc/rpc_des.h: Likewise.
13923 * sunrpc/rpc/rpc_msg.h: Likewise.
13924 * sunrpc/rpc/svc.h: Likewise.
13925 * sunrpc/rpc/svc_auth.h: Likewise.
13926 * sunrpc/rpc/types.h: Likewise.
13927 * sunrpc/rpc/xdr.h: Likewise.
13928 * sunrpc/rpc_clntout.c: Likewise.
13929 * sunrpc/rpc_cmsg.c: Likewise.
13930 * sunrpc/rpc_common.c: Likewise.
13931 * sunrpc/rpc_cout.c: Likewise.
13932 * sunrpc/rpc_dtable.c: Likewise.
13933 * sunrpc/rpc_hout.c: Likewise.
13934 * sunrpc/rpc_main.c: Likewise.
13935 * sunrpc/rpc_parse.c: Likewise.
13936 * sunrpc/rpc_parse.h: Likewise.
13937 * sunrpc/rpc_prot.c: Likewise.
13938 * sunrpc/rpc_sample.c: Likewise.
13939 * sunrpc/rpc_scan.c: Likewise.
13940 * sunrpc/rpc_scan.h: Likewise.
13941 * sunrpc/rpc_svcout.c: Likewise.
13942 * sunrpc/rpc_tblout.c: Likewise.
13943 * sunrpc/rpc_util.c: Likewise.
13944 * sunrpc/rpc_util.h: Likewise.
13945 * sunrpc/rpcinfo.c: Likewise.
13946 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13947 * sunrpc/rpcsvc/key_prot.x: Likewise.
13948 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13949 * sunrpc/rpcsvc/mount.x: Likewise.
13950 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13951 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13952 * sunrpc/rpcsvc/rex.x: Likewise.
13953 * sunrpc/rpcsvc/rstat.x: Likewise.
13954 * sunrpc/rpcsvc/rusers.x: Likewise.
13955 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13956 * sunrpc/rpcsvc/spray.x: Likewise.
13957 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13958 * sunrpc/rtime.c: Likewise.
13959 * sunrpc/svc.c: Likewise.
13960 * sunrpc/svc_auth.c: Likewise.
13961 * sunrpc/svc_authux.c: Likewise.
13962 * sunrpc/svc_raw.c: Likewise.
13963 * sunrpc/svc_run.c: Likewise.
13964 * sunrpc/svc_simple.c: Likewise.
13965 * sunrpc/svc_tcp.c: Likewise.
13966 * sunrpc/svc_udp.c: Likewise.
13967 * sunrpc/svc_unix.c: Likewise.
13968 * sunrpc/svcauth_des.c: Likewise.
13969 * sunrpc/xcrypt.c: Likewise.
13970 * sunrpc/xdr.c: Likewise.
13971 * sunrpc/xdr_array.c: Likewise.
13972 * sunrpc/xdr_float.c: Likewise.
13973 * sunrpc/xdr_mem.c: Likewise.
13974 * sunrpc/xdr_rec.c: Likewise.
13975 * sunrpc/xdr_ref.c: Likewise.
13976 * sunrpc/xdr_sizeof.c: Likewise.
13977 * sunrpc/xdr_stdio.c: Likewise.
13978
9da4bb31
UD
13979 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13980 handling.
13981
bdaa77bc
AS
139822010-08-19 Andreas Schwab <schwab@redhat.com>
13983
13984 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13985
fe2f79db
LM
139862010-08-19 Luis Machado <luisgpm@br.ibm.com>
13987
13988 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13989 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13990 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13991 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13992 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13993 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13995 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13996 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13998 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14000 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14001 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14002
b9b42ee0
AB
140032010-07-26 Anton Blanchard <anton@samba.org>
14004
14005 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14006 * malloc/arena.c (heap_trim): Likewise.
14007
1c06ba31
UD
140082010-08-16 Ulrich Drepper <drepper@redhat.com>
14009
14010 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14011 here. Not...
14012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14013 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14014
f8392f40
L
140152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14016
14017 * sysdeps/i386/elf/Makefile: New file.
14018
3162f12e
AS
140192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14020
14021 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14022 from fanotify_init.
14023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14025
28c90b2c
UD
140262010-08-15 Ulrich Drepper <drepper@redhat.com>
14027
14028 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14029 of strncasecmp_l.
1feccb6c 14030 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14031
ca6bb004
UD
140322010-08-14 Ulrich Drepper <drepper@redhat.com>
14033
e9f82e0d
UD
14034 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14035 strncase_l-nonascii.
14036 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14037 Add strncase_l-ssse3.
14038 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14039 * sysdeps/x86_64/strcmp.S: Likewise.
14040 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14041 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14042 * sysdeps/x86_64/strncase.S: New file.
14043 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14044 * sysdeps/x86_64/strncase_l.S: New file.
14045 * string/Makefile (strop-tests): Add strncasecmp.
14046 * string/test-strncasecmp.c: New file.
14047
14048 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14049 warning.
14050
ca6bb004
UD
14051 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14052 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14053
052fa7b3
AS
140542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14055
14056 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14057
962dba78
UD
140582010-08-12 Ulrich Drepper <drepper@redhat.com>
14059
14060 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14062 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14063
bebff237
AM
140642010-05-01 Alan Modra <amodra@gmail.com>
14065
14066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14067 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14068 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14069 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14070 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14071 tidying. Don't tail-call __sigjmp_save for static lib.
14072 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14073 save location.
14074 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14075 (CALL_MCOUNT): Add eh info, and nop after bl.
14076 (TAIL_CALL_SYSCALL_ERROR): New macro.
14077 (PSEUDO_RET): Use it.
14078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14079 Correct save location of integer regs and cr.
14080 (_dl_profile_resolve): Correct cr save location. Delete nops
14081 after bl when SHARED. Reduce cfi size a little by better
14082 placement of cfi directives.
14083 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14084 make a stack frame. Instead use parm save area as a temp.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14086 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14088 Don't make a stack frame for parent, use parm save area.
14089 Increase child stack frame to 112 bytes. Don't save unused reg,
14090 and adjust reg usage. Set up cfi on error recovery and
14091 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14093 (__makecontext): Add dummy nop after jump to exit.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14095 Use correct parm save area and cr save, reduce stack frame.
14096 Correct cfi for possible PSEUDO_RET frame setup.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14098 Branch to local label emitted by PSEUDO_RET rather than
14099 __syscall_error.
14100
02637374
AS
141012010-08-12 Andreas Schwab <schwab@redhat.com>
14102
14103 [BZ #11904]
14104 * locale/programs/locale.c (print_assignment): New function.
14105 (show_locale_vars): Use it.
14106
c3e2f19b
UD
141072010-08-11 Ulrich Drepper <drepper@redhat.com>
14108
3cdaa6ad
UD
14109 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14110 field.
14111 (struct statfs64): Likewise.
14112 (_STATFS_F_FLAGS): Define.
14113 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14115 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14116 (ST_VALID): Define locally.
14117 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14118 __statvfs_getflags, use the provided value.
14119 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14120 __ASSUME_STATFS_F_FLAGS.
14121
754f7da3
UD
14122 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14123
10b3bedc
UD
14124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14125 Add sys/fanotify.h.
14126 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14127 fanotify_mask for GLIBC_2.13.
14128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14129 fanotify_init and fanotify_mark.
14130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14131 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14132
c08fb0d7
UD
14133 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14134 Add prlimit.
14135 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14136 prlimit64 for GLIBC_2.13.
14137 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14138 prlimit64.
14139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14140 syscall.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14143 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14144 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14146 add prlimit alias.
14147 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14148
15bac72b
UD
14149 [BZ #11903]
14150 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14151 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14152
c3e2f19b
UD
14153 * nss/Makefile: Add rules to build and run tst-nss-test1.
14154 * shlib-versions: Add entry for libnss_test1.
14155 * nss/nss_test1.c: New file.
14156 * nss/tst-nss-test1.c: New file.
14157
14158 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14159 (__nss_configure_lookup): Set appropriate entry in
14160 __nss_configure_lookup to true.
14161 * nss/nsswitch.h: Define enum with indeces of databases in
14162 databases and __nss_database_custom arrays. Declare
14163 __nss_database_custom.
14164 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14165 to avoid using nscd when custom rules are installed.
14166 * nss/getXXbyYY_r.c: Likewise.
14167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14168
14169 * nss/nss_files/files-parse.c: Whitespace fixes.
14170
f15ce4d8
UD
141712010-08-09 Ulrich Drepper <drepper@redhat.com>
14172
14173 [BZ #11883]
14174 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14175 * posix/fnmatch_loop.c: Likewise.
14176
d22e4cc9
AK
141772010-07-17 Andi Kleen <ak@linux.intel.com>
14178
14179 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14180 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14181 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14182 * Versions.def [GLIBC_2.13]: Add.
14183
805bc17d
UD
141842010-08-06 Ulrich Drepper <drepper@redhat.com>
14185
14186 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14187 Also fail if tpwd after pwuid call is NULL.
14188
5a42321d
ST
141892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14190
14191 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14192 when converting to ms.
14193
fd3ebeda
ST
141942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14195
14196 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14197 EOPNOTSUPP errors with ENOTTY.
14198 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14199 EOPNOTSUPP errors with ENOTTY.
14200
73507d3a
UD
142012010-07-31 Ulrich Drepper <drepper@redhat.com>
14202
14203 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14204 Add strcasecmp_l-ssse3.
14205 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14206 strcasecmp.
14207 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14208 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14209 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14210
fe36dd02
UD
142112010-07-30 Ulrich Drepper <drepper@redhat.com>
14212
66f6765a
UD
14213 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14214
42e08a54
UD
14215 * string/Makefile (strop-tests): Add strcasecmp.
14216 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14217 strcasecmp_l-nonascii.
14218 (gen-as-const-headers): Add locale-defines.sym.
14219 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14220 * sysdeps/x86_64/strcasecmp.S: New file.
14221 * sysdeps/x86_64/strcasecmp_l.S: New file.
14222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14223 * sysdeps/x86_64/locale-defines.sym: New file.
14224 * string/test-strcasecmp.c: New file.
14225
fe36dd02
UD
14226 * string/test-strcasestr.c: Test both ends of the range of characters.
14227 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14228
48cbc0d6
RM
142292010-07-29 Roland McGrath <roland@redhat.com>
14230
76e6d6bc 14231 [BZ #11856]
48cbc0d6
RM
14232 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14233
880113d9
UD
142342010-07-27 Ulrich Drepper <drepper@redhat.com>
14235
14236 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14237 for ld.so.
14238
deb9cabb
AS
142392010-07-27 Andreas Schwab <schwab@redhat.com>
14240
14241 * manual/memory.texi (Malloc Tunable Parameters): Document
14242 M_PERTURB.
14243
1c7570ff
RM
142442010-07-26 Roland McGrath <roland@redhat.com>
14245
14246 [BZ #11840]
14247 * configure.in (-fgnu89-inline check): Set and substitute
14248 gnu89_inline, not libc_cv_gnu89_inline.
14249 * configure: Regenerated.
14250 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14251
24fb0f88
UD
142522010-07-26 Ulrich Drepper <drepper@redhat.com>
14253
14254 * string/test-strnlen.c: New file.
14255 * string/Makefile (strop-tests): Add strnlen.
14256 * string/tester.c (test_strnlen): Add a few more test cases.
14257 * string/tst-strlen.c: Better error reporting.
14258
14259 * sysdeps/x86_64/strnlen.S: New file.
14260
8e96b93a
UD
142612010-07-24 Ulrich Drepper <drepper@redhat.com>
14262
14263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14264 lower-latency instructions.
14265
dbc676d4
UD
142662010-07-23 Ulrich Drepper <drepper@redhat.com>
14267
14268 * string/test-strcasestr.c: New file.
14269 * string/test-strstr.c: New file.
14270 * string/Makefile (strop-tests): Add strstr and strcasestr.
14271 * string/str-two-way.h: Don't undefine MAX.
14272 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14273
f6a31e0e
AS
142742010-07-21 Andreas Schwab <schwab@redhat.com>
14275
14276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14277 strcasestr-nonascii.
14278 (CFLAGS-strcasestr-nonascii.c): Define.
14279 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14281 Remove unused attribute.
14282
5dbc3b6c
RM
142832010-07-20 Roland McGrath <roland@redhat.com>
14284
14285 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14286 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14287 ld.so.cache was broken. With it, there is no way to disable dsocaps
14288 like LD_HWCAP_MASK can disable hwcaps.
14289
23d101d8
EPM
142902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14291
14292 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14293
cc9f2e47
UD
142942010-07-16 Ulrich Drepper <drepper@redhat.com>
14295
14296 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14297 call in strcasestr.
14298 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14299 __strcasestr_sse42_nonascii.
14300 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14301 strcasestr-nonascii.c.
14302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14303
77c1b069
LM
143042010-06-15 Luis Machado <luisgpm@br.ibm.com>
14305
14306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14310
440566c3
UD
143112010-07-09 Ulrich Drepper <drepper@redhat.com>
14312
14313 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14314 fcntl.
14315
5be9d05d
AS
143162010-07-06 Andreas Schwab <schwab@redhat.com>
14317
c30b7ee2 14318 [BZ #11577]
5be9d05d
AS
14319 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14320 dl_signal_cerror.
14321
8a492a67
UD
143222010-07-06 Ulrich Drepper <drepper@redhat.com>
14323
14324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14325 _PC_PIPE_BUF using F_GETPIPE_SZ.
14326
713df3d5
RM
143272010-07-05 Roland McGrath <roland@redhat.com>
14328
14329 * manual/arith.texi (Rounding Functions): Fix rint description
14330 implicit in round description.
14331
702e8f14
UD
143322010-07-02 Ulrich Drepper <drepper@redhat.com>
14333
14334 * elf/Makefile: Fix linking for a few tests to make recent linker
14335 happy.
14336
52ed8be9
AS
143372010-06-30 Andreas Schwab <schwab@redhat.com>
14338
14339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14340 $(common-objpfx)libc_nonshared.a.
14341
f47c9a11
LM
143422010-06-21 Luis Machado <luisgpm@br.ibm.com>
14343
14344 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14345 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14346 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14347 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14348 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14350 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14351 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14366 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14367 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14368 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14369 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14370 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14371 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14372 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14373 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14374 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14375 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14376 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14377 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14392
6fb8cbcb
L
143932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14394
14395 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14396 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14397 * string/memmove.c (memmove): Renamed to ...
14398 (MEMMOVE): ...this. Default to memmove.
14399 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14400 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14401 (END_CHK): Define.
14402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14403 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14404 mempcpy-ssse3-back memmove-ssse3-back.
14405 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14408 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14409 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14410 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14411 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14412 * sysdeps/x86_64/multiarch/memmove.c: New file.
14413 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14414 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14415 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14416 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14417 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14419 Define.
14420 (index_Fast_Copy_Backward): Define.
14421 (HAS_ARCH_FEATURE): Define.
14422 (HAS_FAST_REP_STRING): Define.
14423 (HAS_FAST_COPY_BACKWARD): Define.
14424
4e733bac 144252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14426
14427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14428 Restore proper fallback handling.
14429
63c4ed22
UD
144302010-06-19 Ulrich Drepper <drepper@redhat.com>
14431
ac2b484c
UD
14432 [BZ #11701]
14433 * posix/group_member.c (__group_member): Correct checking loop.
14434
63c4ed22
UD
14435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14436 OOM in getpwuid_r correctly. Return error number when the caller
14437 should return, otherwise -1.
14438 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14439 call returning > 0 value.
14440 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14441
765ade4b
AS
144422010-06-07 Andreas Schwab <schwab@redhat.com>
14443
14444 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14445 libc_nonshared.a from targets in modules-names.
14446
80da2e09
KS
144472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14448
14449 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14450 requires it.
14451
158db122
LM
144522010-06-10 Luis Machado <luisgpm@br.ibm.com>
14453
14454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14458
caa78cf8
AS
144592010-06-02 Andreas Schwab <schwab@redhat.com>
14460
14461 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14462
b2ef2c01
UD
144632010-06-14 Ulrich Drepper <drepper@redhat.com>
14464
14465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14466 and F_GETPIPE_SZ.
14467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14472 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14473
fbd643b6
RM
144742010-06-14 Roland McGrath <roland@redhat.com>
14475
14476 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14477
f32f2869
JJ
144782010-06-07 Jakub Jelinek <jakub@redhat.com>
14479
14480 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14481 __REDIRECT followed by __THROW.
14482 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14483 * posix/getopt.h (getopt): Likewise.
14484
2a50c078
EPM
144852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14486
14487 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14488 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14489 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14490 in AT_FLAGS.
14491 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14492 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14493
eb5ad2eb
LM
144942010-05-28 Luis Machado <luisgpm@br.ibm.com>
14495
14496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14497
3c88fe1e
L
144982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14499
14500 [BZ #11640]
14501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14502 Properly check family and model.
14503
d2f73151
TY
145042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14505
14506 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14507
ebd2e13d
LM
145082010-05-24 Luis Machado <luisgpm@br.ibm.com>
14509
14510 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14511
b32b8b45
UD
145122010-05-21 Ulrich Drepper <drepper@redhat.com>
14513
14514 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14515 symbol reference.
14516
9acbe24d
AS
145172010-05-19 Andreas Schwab <schwab@redhat.com>
14518
14519 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14520 symbol reference.
14521
f0ccf6ea
AS
145222010-05-21 Andreas Schwab <schwab@redhat.com>
14523
3d04ff3a
AS
14524 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14525 and internal_recvmmsg.
14526 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14527 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14528 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14529 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14530
f0ccf6ea
AS
14531 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14532 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14533 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14534
5b08ac57
AS
145352010-05-20 Andreas Schwab <schwab@redhat.com>
14536
14537 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14538
4828935d
LM
145392010-05-17 Luis Machado <luisgpm@br.ibm.com>
14540
14541 POWER7 optimizations.
14542 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14543 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14544
373d545e
UD
145452010-05-19 Ulrich Drepper <drepper@redhat.com>
14546
14547 * version.h: Update for 2.13 development version.
14548
21a2b1ae
AS
145492010-05-12 Andrew Stubbs <ams@codesourcery.com>
14550
14551 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14552 exceptions. Return 0.
14553
3f7dcb2b
RM
145542010-05-07 Roland McGrath <roland@redhat.com>
14555
14556 * elf/ldconfig.c (main): Add a const.
14557
5f24d53a 145582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14559
a160f8d8
UD
14560 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14561 (args_options): Add no-idn option.
14562 (ahosts_keys_int): Add idn_flags to ai_flags.
14563 (parse_option): Handle 'i' option to clear idn_flags.
14564
5f24d53a
UD
14565 * malloc/malloc.c (_int_free): Possible race in the most recently
14566 added check. Only act on the data if no current modification
14567 happened.
265bb1ce
UD
14568
14569See ChangeLog.17 for earlier changes.
This page took 1.937569 seconds and 5 git commands to generate.