]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add x32 suppport to x86_64/bits/stat.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d4261567
L
12012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4 Check __x86_64__ instead of __WORDSIZE.
5 (_STAT_VER_LINUX): Likewise.
6 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7 __syscall_ulong_t and __syscall_slong_t.
8 (stat64): Likewise.
9
cf3ff365
L
102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11
12 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13
76cf3e4d
L
142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15
16 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17
a637753a
L
182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19
20 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21 __syscall_ulong_t.
22
d5e05119
L
232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24
25 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26 include <bits/wordsize.h>. Check __x86_64__ instead of
27 __WORDSIZE.
28 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29 defined.
30 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31
f62ee380
L
322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33
34 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35 include <bits/wordsize.h>. Check __x86_64__ instead of
36 __WORDSIZE.
37 (user_regs_struct): Use "__extension__ unsigned long long"
38 instead of "unsigned long" if __x86_64__ is defined.
39 (user): Likewise. Pad after pointer field if __ILP32__ is
40 defined.
41
4e124ced
JM
422012-05-16 Joseph Myers <joseph@codesourcery.com>
43
6a3951a0
JM
44 * configure.in (makeinfo): Require version 4.5 or later. Allow
45 versions 5 to 9.
46 * configure: Regenerated.
47 * manual/install.texi (texinfo): Increase version requirement to
48 4.5 or later.
49 * INSTALL: Regenerated.
50
4e124ced
JM
51 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52
953ca31a
L
532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56
617aca05
L
572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58
59 * sysdeps/x86_64/x32/ffs.c: New file.
60
5762f7ae
L
612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64 __syscall_ulong_t.
65 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66 defined. Use __syscall_ulong_t.
67 (shminfo): Use __syscall_ulong_t.
68 (shm_info): Likewise.
69
a26b6856
L
702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71
72 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73 __syscall_ulong_t.
74
cb2b9ef7
L
752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
76
77 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78 <bits/wordsize.h>.
79 (msgqnum_t): Use __syscall_ulong_t.
80 (msglen_t): Likewise.
81 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82 __syscall_ulong_t.
83
34683bb0
L
842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
85
86 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
87 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
88
84a68786
L
892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
90
91 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
92
48baa5f1
L
932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
94
95 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
96 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
97
180be88b
L
982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
99
100 * sysvipc/sys/msg.h (msgbuf): Replace long int with
101 __syscall_slong_t.
102
5e90c8ad
L
1032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
104
105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
106 include <bits/wordsize.h>. Check __x86_64__ instead of
107 __WORDSIZE.
108
23dfb58b
L
1092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
110
111 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
112 "unsigned long long int" if __x86_64__ is defined.
113 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
114
ce5d54b0
L
1152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
116
117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
119 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
120
13dc9eac
L
1212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
122
123 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
124 <stdint.h>.
125 (GET_PC): Cast to uintptr_t first.
126 (GET_FRAME): Likewise.
127 (GET_STACK): Likewise.
128
a7895d15
L
1292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
130
131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
160
656416c9
AS
1612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
162
5bd66283
AS
163 * Makerules (+depfiles): Also collect depfiles from .oS in
164 $(extra-objs).
165 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
166 .oS, $(libnldbl-routines)).
167
656416c9
AS
168 * Makerules (native-compile-mkdep-flags): Define.
169 * sunrpc/Makefile (extra-objs): Add $(addprefix
170 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
171 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
172 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
173 calling $(make-target-directory).
174
a46f2169
L
1752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
176
177 * bits/types.h (__snseconds_t): Removed.
178 * time/time.h (struct timespec): Replace __snseconds_t with
179 __syscall_slong_t.
180 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
181 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
182 Likewise.
183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
184 (__SNSECONDS_T_TYPE): Likewise.
185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
186 (__SNSECONDS_T_TYPE): Likewise.
187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
188 (__SNSECONDS_T_TYPE): Likewise.
189
6af6528b
L
1902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
191
192 * sysdeps/mach/hurd/bits/typesizes.h
193 (__SYSCALL_SLONG_TYPE): New macro.
194 (__SYSCALL_ULONG_TYPE): Likewise.
195
de986b56
L
1962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
197
198 * bits/types.h (__syscall_slong_t): New type.
199 (__syscall_ulong_t): Likewise.
200
201 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
202 (__SYSCALL_ULONG_TYPE): Likewise.
203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
204 (__SYSCALL_SLONG_TYPE): Likewise.
205 (__SYSCALL_ULONG_TYPE): Likewise.
206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
207 (__SYSCALL_SLONG_TYPE): Likewise.
208 (__SYSCALL_ULONG_TYPE): Likewise.
209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
210 (__SYSCALL_SLONG_TYPE): Likewise.
211 (__SYSCALL_ULONG_TYPE): Likewise.
212
85736dc7
L
2132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
214
215 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
216 Add sigaltstack-offsets.sym.
217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
218 <sigaltstack-offsets.h>.
219 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
220 longjmp_msg pointer.
221 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
222 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
223 signal stack.
224 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
225
cc03b296
JM
2262012-05-15 Joseph Myers <joseph@codesourcery.com>
227
a9538892
JM
228 * elf/stackguard-macros.h: Remove file.
229 * sysdeps/generic/stackguard-macros.h: New file.
230 * sysdeps/i386/stackguard-macros.h: Likewise.
231 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
232 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
233 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
234 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
235 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
236 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
237 * sysdeps/x86_64/stackguard-macros.h: Likewise.
238 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
239 <elf/stackguard-macros.h>.
240
cc03b296
JM
241 [BZ #14109]
242 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
243 __aligned__ in attribute.
244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
245 (gregset_t): Likewise.
246
93171016
L
2472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
248
249 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
250 * sysdeps/x86_64/64/Implies-after: Here. New file.
251 * sysdeps/x86_64/x32/Implies-after: New file.
252
d86813a0
L
2532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
254
255 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
256 and access return value for _dl_profile_fixup. Use R10_LP to
257 load frame size.
258
2953ec75
L
2592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
260
261 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
262
3b550e9e
L
2632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
264
265 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
266 * sysdeps/x86_64/x32/sysdep.h: New file.
267
eda41706
L
2682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
269
270 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
271 * sysdeps/x86_64/setjmp.S: Likewise.
272
9ea01d93
AZ
2732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274
275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
277 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
279 remove unused global constant.
280
02a91938
CM
2812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
282
283 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
284 include of <not-cancel.h>.
285
6540185f
RM
2862012-05-15 Roland McGrath <roland@hack.frob.com>
287
288 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
289
509072a0
AJ
2902012-05-15 Jeff Law <law@redhat.com>
291 Andreas Jaeger <aj@suse.de>
292
293 [BZ #13594]
294 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
295 out from...
296 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
297 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
298 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
299 code changing __hst_map_handle.map.
300
ba75122d
RM
3012012-05-15 Roland McGrath <roland@hack.frob.com>
302
303 * configure.in (sysnames): Look for Implies-before and Implies-after
304 files.
305 * configure: Regenerated.
306
890d8bd8
L
3072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
308
309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
310 8-byte data alignment with LP_SIZE alignment.
311
f6ee6623
L
3122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
313
314 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
315 into R10_LP.
316
ea2626f6
L
3172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
320
085f715e
L
3212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
322
323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
324 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
326 Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
328
be8498fc
L
3292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
330
331 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
332 (stackinfo_sub_sp): Likewise.
333
70bc83b9
L
3342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
337 RAX_LP.
338
9bc0b730
L
3392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
340
341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
342 into R*_LP.
343
6d2850e7
L
3442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
345
346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
347 sizes into R*_LP.
348
3cb84561
L
3492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
350
351 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
352
54e2ed81
L
3532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
354
355 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
356 into R11_LP and load __x86_64_shared_cache_size_half into
357 R8_LP.
358
8a17f349
L
3592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
360
361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
362 R8_LP.
363
777b1eea
AZ
3642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
367 logb for POWER7.
368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
369 logbf for POWER7.
370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
371 logbl for POWER7.
372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
373 powerpc32/power7/fpu/s_logb.c via #include.
374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
375 powerpc32/power7/fpu/s_logbf.c via #include.
376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
377 powerpc32/power7/fpu/s_logbl.c via #include.
378
d20d4ac2
JM
3792012-05-15 Joseph Myers <joseph@codesourcery.com>
380
381 * README.libm: Remove file.
382
6cdef1ab
L
3832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
384
385 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
386 count for x32. Use R*_LP and omit operand-size suffix.
387
0b254d8f
L
3882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
389
390 * shlib-versions: Move x86_64-.*-linux.* entries to ...
391 * sysdeps/x86_64/64/shlib-versions: Here. New file.
392 * sysdeps/x86_64/x32/shlib-versions: New file.
393
ceb809dc
RM
3942012-05-14 Roland McGrath <roland@hack.frob.com>
395
396 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
397 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
398 Use _dl_fatal_printf instead.
399
37f1abd4
JM
4002012-05-14 Joseph Myers <joseph@codesourcery.com>
401
402 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
403 set if not set by the user. Do not allow for being unset.
404 * sysdeps/unix/sysv/linux/configure: Regenerated.
405
11de3a33
L
4062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
407
408 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
409 the `q' suffix from lea and replace .quad with ASM_ADDR.
410
e02f153a
L
4112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
412
413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
414 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
415 instead of $17.
416 (PTR_DEMANGLE): Likewise.
417
520ae0fd
L
4182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
419
420 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
421 (LP_OP): Likewise.
422 (ASM_ADDR): Likewise.
423 (RAX_LP): Likewise.
424 (RBP_LP): Likewise.
425 (RBX_LP): Likewise.
426 (RCX_LP): Likewise.
427 (RDI_LP): Likewise.
428 (RSI_LP): Likewise.
429 (RSP_LP): Likewise.
430 (R8_LP): Likewise.
431 (R9_LP): Likewise.
432 (R10_LP): Likewise.
433 (R10_LP): Likewise.
434 (R11_LP): Likewise.
435 (R12_LP): Likewise.
436 (R13_LP): Likewise.
437 (R14_LP): Likewise.
438 (R15_LP): Likewise.
439
b985be81
L
4402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
441
442 * sysdeps/x86_64/x32/dl-machine.h: New file.
443
6a4888ff
AJ
4442012-05-14 Andreas Jaeger <aj@suse.de>
445
446 * manual/Makefile (subdir): Remove export of subdir.
447 (all): Remove target.
448 (.PHONY): Remove all from list.
449 (mkinstalldirs): Remove.
450 (.PHONY): Remove installdirs from list.
451 ($(inst_infodir)/libc.info): Use make-target-directory.
452 (installdirs): Remove.
453 (subdir_%): Remove.
454 (glibc-targets): Remove.
455 (lib): Remove.
456 (stubs): Remove.
457 ($(objpfx)stubs ../po/manual.pot): Remove.
458 ($(objpfx)stamp%): Remove.
459 (make-target-directory): Remove.
460 (subdir_install): Remove.
461 (routines): Remove.
462 (aux): Remove.
463 (sources): Remove.
464 (objects): Remove.
465 (headers): Remove.
466
467 [BZ #13750]
468 * manual/.gitignore: Remove, it's not needed anymore.
469 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
470 all files in it.
471 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
472 directory.
473 (texis): Renamed to $(objpfx)texis.
474 (texis-path): New, contains path to generated files.
475 (chapters.%): Use texis-path for complete path, add extra argument
476 libc-texinfo.sh.
477 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
478 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
479 (summary,texi, stamp-summary): Use complete path of
480 files. Generate files in build dir.
481 (dir-add.texi): Build in build dir.
482 (libm-err.texi,stamp-libm-err): Likewise.
483 (version.texi, stamp-version): Likewise.
484 (.%c.texi): Likewise.
485 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
486 (mostlyclean): Remove target.
487 (realclean): Remove target.
488 (generated): Add new variable with contents from mostlyclean and
489 realclean, remove entries duplicated in common-mostlyclean, add
490 stamp-libm-err and stamp-version.
491 (generated-dirs): Add libc directory.
492 ($(inst_infodir)/libc.info): Install files from build dir.
493
494 * manual/install.texi (Configuring and compiling): Adjust since
495 the info files are not part of the tar ball anymore.
496
7ac77294
AJ
4972012-05-14 Andreas Jaeger <aj@suse.de>
498
499 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
500 variable.
501
ffb7875d
JM
5022012-05-14 Joseph Myers <joseph@codesourcery.com>
503
504 [BZ #13717]
505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
506 to 2.2.0 where earlier.
507 * sysdeps/unix/sysv/linux/configure: Regenerated.
508 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
509 Remove conditional code.
510 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
511 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
512 Remove conditional code.
513 [!__NR_lchown]: Likewise.
514 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
515 [__NR_lchown]: Likewise.
516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
517 comment referencing __ASSUME_LCHOWN_SYSCALL.
518 * sysdeps/unix/sysv/linux/i386/sigaction.c
519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
521 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
522 Remove conditional code.
523 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
524 (__protocol_available): Remove #if 0 code.
525 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
526 conditional code.
527 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
528 * sysdeps/unix/sysv/linux/kernel-features.h
529 (__ASSUME_GETCWD_SYSCALL): Don't define.
530 (__ASSUME_REALTIME_SIGNALS): Likewise.
531 (__ASSUME_PREAD_SYSCALL): Likewise.
532 (__ASSUME_PWRITE_SYSCALL): Likewise.
533 (__ASSUME_POLL_SYSCALL): Likewise.
534 (__ASSUME_LCHOWN_SYSCALL): Likewise.
535 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
536 non-SPARC.
537 (__ASSUME_SIOCGIFNAME): Don't define.
538 (__ASSUME_MSG_NOSIGNAL): Likewise.
539 (__ASSUME_SENDFILE): Define unconditionally.
540 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
541 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
542 conditional code.
543 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
544 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
546 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
548 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
549 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
574 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
575 Remove conditional code.
576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
577 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
578 Remove conditional code.
579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
580 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
581 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
582 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
583 Remove conditional code.
584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
585 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
586 Remove conditional code.
587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
588 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
589 Remove conditional code.
590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
591 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
592 Remove conditional code.
593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
594 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
595 Remove conditional code.
596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
597 * sysdeps/unix/sysv/linux/sh/pwrite64.c
598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/sigaction.c
601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
603 * sysdeps/unix/sysv/linux/sigpending.c
604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
606 * sysdeps/unix/sysv/linux/sigprocmask.c
607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
609 * sysdeps/unix/sysv/linux/sigsuspend.c
610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
613 (__libc_missing_rt_sigs): Remove.
614 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
615 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
616 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
617 Remove conditional code.
618 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
619 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
620 return 1.
621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
622 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
624 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
625
1bfb7291
AJ
6262012-05-14 Andreas Jaeger <aj@suse.de>
627
caae5a81
AJ
628 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
629 it's not used in glibc.
630 (__coshm1): Likewise.
631 (__acosh1p): Likewise.
632 (__sgn): Likewise.
633
1bfb7291
AJ
634 * manual/string.texi (Copying and Concatenation): Add missing
635 variable in concat example.
636 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
637
c044d724
L
6382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
639
144c5467 640 [BZ #14103]
c044d724
L
641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
642 __builtin_clzl with __builtin_clzll.
643
2523c62b
L
6442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
645
646 [BZ #14104]
647 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
648 libc_freeres_ptr.
649
d7bb4c42
LD
6502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
651
652 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
653 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
654 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
656
9dc4e1fb
MF
6572012-05-14 Mike Frysinger <vapier@gentoo.org>
658
659 * NEWS: Update ia64 info.
660
c7df0112
AS
6612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
662
663 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
664 used as bcopy.
665
dc70356c
TS
6662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
667
668 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
669 * sysdeps/unix/syscalls.list (dup3): Likewise.
670 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
671 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
672
9fb1a21f
L
6732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
674
675 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
676 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
677
4822a2a5
L
6782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
679
680 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
681 thread pointer.
682 (TLS_IE): Use mov/add instead of movq/addq to load thread
683 pointer.
684 (TLS_GD_PREFIX): New.
685 (TLS_GD): Use it.
686
842b81d6
DM
6872012-05-11 David S. Miller <davem@davemloft.net>
688
689 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
690 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
691 (_FPU_SETCW): Likewise.
692
1cf463cd
L
6932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
696 is 32-byte aligned.
697
60cc4a18
AS
6982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
699
700 [BZ #11837]
701 * iconvdata/gb18030.c: Update tables.
702 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
703 characters specially.
704 (BODY for TO_LOOP): Add encoding of missing ranges.
705
febb44a4
TS
7062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
707
708 [BZ #13673]
709 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
710 * sysdeps/mach/hurd/dup3.c: Likewise.
711 * sysdeps/mach/hurd/readlinkat.c: Likewise.
712 * sysdeps/powerpc/memmove.c:: Likewise.
713
0a10fb9e
L
7142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
715
716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
717 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
718
df8a552f
L
7192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
720
721 * elf/elf.h (R_X86_64_RELATIVE64): New.
722 (R_X86_64_NUM): Updated.
723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
724 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
725 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
726 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
727 tst-quad1pie tst-quad2pie
728 (modules-names): Add tst-quadmod1 tst-quadmod2.
729 ($(objpfx)tst-quad1): New dependency.
730 ($(objpfx)tst-quad2): Likewise.
731 ($(objpfx)tst-quad1pie): Likewise.
732 ($(objpfx)tst-quad2pie): Likewise.
733 * sysdeps/x86_64/tst-quad1.c: New file.
734 * sysdeps/x86_64/tst-quad1pie.c: New file.
735 * sysdeps/x86_64/tst-quad2.c: Likewise.
736 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
737 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
738 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
739 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
740 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
741
f34d6f84
ST
7422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
743
f42d41d1
ST
744 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
745 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
746 * streams/stropts.h (t_scalar_t): Define type.
747
3c3571fc
ST
748 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
749 (_PATH_PRESERVE): Set to "/var/lib".
750 (_PATH_RWHODIR): Set to "/var/spool/rwho".
751
61f06bd3
ST
752 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
753 instead of int.
754
918d4d71
ST
755 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
756 if __dir_mkfile succeeded.
757
f34d6f84
ST
758 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
759 checking for _hurd_dtablesize. Unlock it right after having
760 finished _hurd_dtable allocation.
761
10589b4a
TS
7622012-05-10 Thomas Schwinge <thomas@schwinge.name>
763
674cdbc7
TS
764 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
765 * sysdeps/mach/hurd/configure: Regenerated.
766 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
767 special-casing to...
768 * sysdeps/gnu/configure.in: ... this new file.
769 * sysdeps/unix/sysv/linux/configure: Regenerated.
770 * sysdeps/gnu/configure: New generated file.
771
8e41b99f
TS
772 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
773 for Linux: use nsec instead of usec, as well as:
774 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
775 members of type struct timespec.
776 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
777 New macros.
778 (struct stat64): Likewise.
779 (_STATBUF_ST_NSEC): New macro.
780 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
781
10589b4a
TS
782 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
783 __strtoul_internal rather than strtoul.
784
63643c85
PT
7852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
786
787 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
788 and reject them.
789
3faebe6a
ST
7902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
791
792 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
793 which preserves existing values.
794 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
795
c6474b07
PT
7962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
797
798 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
799 TIMEOUT values. Return EINVAL for NFDS values either negative or
800 greater than FD_SETSIZE.
801
1043890b
ST
8022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
803
804 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
805 allocated, call __vm_protect to finish enabling the existing space, and
806 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
807 allocate the remainder.
808
37ed8b9b
PT
8092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
810
811 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
812 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
813
db653660
ST
8142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
815
37ed8b9b
PT
816 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
817 sysdeps/mach/hurd/readlink.c.
b29d4053 818
db653660
ST
819 * posix/tst-sysconf.c (posix_options): Only use
820 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
821 _POSIX_SYNCHRONIZED_IO when they are defined
822 * sysdeps/mach/hurd/bits/posix_opt.h:
823 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
824 (_XOPEN_REALTIME): Undefine macro.
825 (_XOPEN_REALTIME_THREADS): Undefine macro.
826 (_XOPEN_SHM): Undefine macro.
827 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
828 macro to -1.
829 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
830 macro to -1.
831 (_POSIX_ASYNC_IO): Undefine macro.
832 (_POSIX_PRIORITIZED_IO): Undefine macro.
833 (_POSIX_SPIN_LOCKS): Define macro to -1.
834
ee16e894
ST
835 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
836 SA_NODEFER, SA_RESETHAND.
837 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
838 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
839 F_DUPFD_CLOEXEC.
840
6103ae3b
TS
8412012-05-10 Thomas Schwinge <thomas@schwinge.name>
842
843 * elf/Makefile (pldd-modules): Define unconditionally.
844
80b4e5f3
TS
8452012-05-10 Thomas Schwinge <thomas@schwinge.name>
846
847 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
848
edadcbd6
ST
8492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
850
851 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
852 Return ENOENT when name is empty.
853 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
854
80694780
TS
8552012-05-10 Thomas Schwinge <thomas@schwinge.name>
856
1792c087
TS
857 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
858
80694780
TS
859 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
860
6b645f0d
ST
8612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
862
80694780
TS
863 Fix mlock in all cases except non-readable pages.
864 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
865 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 866
6b645f0d
ST
867 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
868 (__mkdir): When path is `/', just fail with EEXIST.
869 * sysdeps/mach/hurd/mkdirat.c: Likewise.
870
e468f8a3
TS
8712012-05-10 Thomas Schwinge <thomas@schwinge.name>
872
873 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
874 <sys/uio.h> (for writev).
875 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
876 and <sys/param.h> (for MIN).
877
a4186cff
PT
8782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
879
880 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
881 REQUESTED_TIME. Properly set the remaining time and return EINTR
882 if interrupted.
883
510bbf14
TS
8842012-05-10 Thomas Schwinge <thomas@schwinge.name>
885
886 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
887 Depend on against $(link-rpcuserlibs).
888
5d5722e8
ST
8892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
890
a4186cff
PT
891 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
892 (__libc_stack_end): Do not use attribute_relro.
893 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
894 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 895 to libthread-provided value.
a4186cff
PT
896 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
897 attribute_relro.
5d5722e8 898
37233df9
TS
8992012-05-10 Thomas Schwinge <thomas@schwinge.name>
900
be971a2b
TS
901 [BZ #3748]
902 * bits/libc-lock.h (__libc_once_get): New macro.
903 * sysdeps/mach/bits/libc-lock.h: Likewise.
904 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
906 instead of using implementation details.
907
37233df9
TS
908 * libio/fileops.c: Unconditionally include <kernel-features.h>.
909 * libio/freopen.c: Likewise.
910 * libio/freopen64.c: Likewise.
911 * misc/syslog.c: Likewise.
912 * nscd/connections.c: Likewise.
913 * nscd/netgroupcache.c: Likewise.
914 * sysdeps/posix/getcwd.c: Likewise.
915
38de94a5
RM
9162012-05-10 Roland McGrath <roland@hack.frob.com>
917
918 * math/w_ilogbf.c: Add #include <limits.h>.
919
67530489
ST
9202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
921
a4186cff 922 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
923 path instead of returning without unlocking.
924
67530489
ST
925 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
926 immediate-write ioctls.
927 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
928
5aa3a74a
TS
9292012-05-10 Thomas Schwinge <thomas@schwinge.name>
930
18bad2ae
TS
931 * sysdeps/mach/hurd/i386/init-first.c (init): Use
932 __builtin_frame_address instead of making assumptions about the
933 location of the return address relative to DATA. Force early load of
934 the return address.
935 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
936 __builtin_frame_address.
937
5aa3a74a
TS
938 dup3 for GNU Hurd.
939 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
940 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
941 implement dup3 and do some further code clean-ups.
942 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
943 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
944
ecd0de9a
ST
9452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
946
cd9fa985
ST
947 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
948
a4186cff
PT
949 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
950 HURD_CRITICAL_END around holding _hurd_dtable_lock.
951 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
952 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
953 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
954 d->port.lock.
802ca5a5 955
a4186cff
PT
956 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
957 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
958 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 959
bcf55240
TS
9602012-05-10 Thomas Schwinge <thomas@schwinge.name>
961
6960eb42
TS
962 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
963 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
964 definitions.
965
eb43375f
TS
966 accept4 for GNU Hurd.
967 * include/sys/socket.h (__libc_accept4): New prototype.
968 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
969 to implement __libc_accept4.
970 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
971 __libc_accept4.
972 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
973
bcf55240
TS
974 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
975 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
976 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
977 signal-defines.sym.
978
6178c55b
ST
9792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
980
a4186cff 981 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 982
6f080c2f
TS
9832012-05-10 Thomas Schwinge <thomas@schwinge.name>
984
985 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
986 assertion on O_CLOEXEC flag.
987 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
988 * hurd/intern-fd.c: Likewise.
989 * hurd/port2fd.c: Likewise.
990
bcfe3a54
ST
9912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
992
993 [BZ #3906]
994 * bits/in.h (IPV6_PKTINFO): Define new macro.
995 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
996
89c9aa49
AZ
9972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
998
999 [BZ #13954]
1000 [BZ #13955]
1001 [BZ #13956]
1002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1004 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1008 * math/libm-test.inc (logb_test) : Additional logb tests.
1009
021db4be
AJ
10102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1011 Andreas Jaeger <aj@suse.de>
1012
1013 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1014 * configure: Regenerated.
1015 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1016 * config.make.in (link-obsolete-rpc): New substituted variable.
1017 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1018 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1019 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1020 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1021 so that libc.a contains the symbols.
1022 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1023 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1024 * sunrpc/auth_none.c: Likewise.
1025 * sunrpc/auth_unix.c: Likewise.
1026 * sunrpc/authdes_prot.c: Likewise.
1027 * sunrpc/authuxprot.c: Likewise.
1028 * sunrpc/clnt_gen.c: Likewise.
1029 * sunrpc/clnt_perr.c: Likewise.
1030 * sunrpc/clnt_raw.c: Likewise.
1031 * sunrpc/clnt_simp.c: Likewise.
1032 * sunrpc/clnt_tcp.c: Likewise.
1033 * sunrpc/clnt_udp.c: Likewise.
1034 * sunrpc/clnt_unix.c: Likewise.
1035 * sunrpc/des_crypt.c: Likewise.
1036 * sunrpc/des_soft.c: Likewise.
1037 * sunrpc/get_myaddr.c: Likewise.
1038 * sunrpc/key_call.c: Likewise.
1039 * sunrpc/key_prot.c: Likewise.
1040 * sunrpc/netname.c: Likewise.
1041 * sunrpc/pm_getmaps.c: Likewise.
1042 * sunrpc/pm_getport.c: Likewise.
1043 * sunrpc/pmap_clnt.c: Likewise.
1044 * sunrpc/pmap_prot.c: Likewise.
1045 * sunrpc/pmap_prot2.c: Likewise.
1046 * sunrpc/pmap_rmt.c: Likewise.
1047 * sunrpc/publickey.c: Likewise.
1048 * sunrpc/rpc_cmsg.c: Likewise.
1049 * sunrpc/rpc_common.c: Likewise.
1050 * sunrpc/rpc_dtable.c: Likewise.
1051 * sunrpc/rpc_prot.c: Likewise.
1052 * sunrpc/rpc_thread.c: Likewise.
1053 * sunrpc/rtime.c: Likewise.
1054 * sunrpc/svc.c: Likewise.
1055 * sunrpc/svc_auth.c: Likewise.
1056 * sunrpc/svc_raw.c: Likewise.
1057 * sunrpc/svc_run.c: Likewise.
1058 * sunrpc/svc_tcp.c: Likewise.
1059 * sunrpc/svc_udp.c: Likewise.
1060 * sunrpc/svc_unix.c: Likewise.
1061 * sunrpc/svcauth_des.c: Likewise.
1062 * sunrpc/xcrypt.c: Likewise.
1063 * sunrpc/xdr.c: Likewise.
1064 * sunrpc/xdr_array.c: Likewise.
1065 * sunrpc/xdr_float.c: Likewise.
1066 * sunrpc/xdr_intXX_t.c: Likewise.
1067 * sunrpc/xdr_mem.c: Likewise.
1068 * sunrpc/xdr_rec.c: Likewise.
1069 * sunrpc/xdr_ref.c: Likewise.
1070 * sunrpc/xdr_sizeof.c: Likewise.
1071 * sunrpc/xdr_stdio.c: Likewise.
1072
b5c086a2
RM
10732012-05-10 Roland McGrath <roland@hack.frob.com>
1074
1075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1076 change. Update copyright years.
1077
6d74dd09
JM
10782012-05-10 Joseph Myers <joseph@codesourcery.com>
1079
1080 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1081
28e72501
MK
10822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1083 Joseph Myers <joseph@codesourcery.com>
1084 Paul Pluzhnikov <ppluzhnikov@google.com>
1085
1086 [BZ #14012]
1087 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1088 requiring rpcgen.
1089 [cross-compiling] (extra-libs): Likewise.
1090 [cross-compiling] (extra-libs-others): Likewise.
1091 [cross-compiling] (librpcsvc-routines): Likewise.
1092 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1093 [cross-compiling] (omit-deps): Likewise.
1094 (sunrpc-CPPFLAGS): New variable.
1095 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1096 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1097 (cross-rpcgen-objs): New variable.
1098 (extra-objs): Append $(cross-rpcgen-objs).
1099 ($(cross-rpcgen-objs)): New rule.
1100 ($(objpfx)cross-rpcgen): Likewise.
1101 (rpcgen-cmd): Define to use $(built-program-file). Expand
1102 comment.
1103 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1104 ($(objpfx)x%.stmp): Likewise.
1105 * sunrpc/proto.h [IS_IN_build] (_): Define.
1106 [IS_IN_build] (_libc_intl_domainname): Likewise.
1107
c8c59454
L
11082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1111 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1112 and R_X86_64_TPOFF64.
1113
6f27cd16
JM
11142012-05-10 Joseph Myers <joseph@codesourcery.com>
1115
1116 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1117 sysdeps/unix/sysv/syscalls.list.
1118 (stime): Likewise.
1119 (utime): Likewise.
1120 * sysdeps/unix/sysv/syscalls.list: Remove file.
1121
02467e1c
PE
11222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1123
1124 [BZ #3440]
1125 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1126 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1127 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1128 (__LC_IDENTIFICATION): Make these macros useful in #if
1129 expressions, as required by C99.
1130
da392631
AS
11312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1132
1133 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1134 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1135 after this.
1136
8115f29b
L
11372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 * stdlib/longlong.h: Updated from GCC.
1140
bdd74070
AJ
11412012-05-09 Andreas Jaeger <aj@suse.de>
1142
edfe0dbe
AJ
1143 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1144 default is first entry.
1145 (run_mode): Set type.
1146 (main): Remove informal message about syslog.
1147 (options): Fix typo.
1148
bcfe3a54
ST
1149 [BZ #14053]
1150 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1151 to asm.
bcfe3a54
ST
1152 (lrint): Likewise.
1153 (llrintf): Likewise.
1154 (llrint): Likewise.
1155 (rint): Likewise.
1156 (rintf): Likewise.
1157 (nearbyint): Likewise.
1158 (nearbyintf): Likewise.
bdd74070 1159
91d8d69e
AJ
11602012-05-09 Andreas Jaeger <aj@suse.de>
1161 Pedro Alves <palves@redhat.com>
1162
1163 * nscd/nscd.c (run_mode): Use enum.
1164 (main): Cleanup coding style issue.
1165
bb90b80b
AJ
11662012-05-09 Alexandre Oliva <aoliva@redhat.com>
1167 Andreas Jaeger <aj@suse.de>
1168
bcfe3a54
ST
1169 * nscd/nscd.c (go_background): Replaced with...
1170 (run_mode): ... this.
bb90b80b 1171 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1172 (options): Add -F --foreground.
1173 (main): Implement it.
1174 (parse_opt): Parse it.
bb90b80b 1175
1a4b75a1
AJ
11762012-05-09 Andreas Jaeger <aj@suse.de>
1177
1178 [BZ #14083]
1179 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1180 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1181 -Wconversion warning.
1182 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1183 Likewise.
1184
b1cc2472
JM
11852012-05-09 Joseph Myers <joseph@codesourcery.com>
1186
1187 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1188 == 0.
1189 (LC_ALL): Use macro-int-constant.
1190 (LC_COLLATE): Likewise.
1191 (LC_CTYPE): Likewise.
1192 (LC_MESSAGES): Likewise.
1193 (LC_MONETARY): Likewise.
1194 (LC_NUMERIC): Likewise.
1195 (LC_TIME): Likewise.
1196 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1197 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1199 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1200 Specify type.
1201 [C99-based standards] (float_t): Expect type.
1202 [C99-based standards] (double_t): Expect type.
1203 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1204 type.
1205 [C99-based standards] (HUGE_VALL): Likewise.
1206 [C99-based standards] (INFINITY): Likewise.
1207 [C99-based standards] (NAN): Likewise.
1208 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1209 [C99-based standards] (FP_NAN): Likewise.
1210 [C99-based standards] (FP_NORMAL): Likewise.
1211 [C99-based standards] (FP_SUBNORMAL): Likewise.
1212 [C99-based standards] (FP_ZERO): Likewise.
1213 [C99-based standards] (FP_FAST_FMA): Use
1214 optional-macro-int-constant. Specify type. Require == 1.
1215 [C99-based standards] (FP_FAST_FMAF): Likewise.
1216 [C99-based standards] (FP_FAST_FMAL): Likewise.
1217 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1218 [C99-based standards] (FP_ILOGBNAN): Likewise.
1219 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1220 Specify type.
1221 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1222 [C99-based standards] (math_errhandling): Specify type.
1223 [ISO99 || ISO11] (signgam): Do not allow.
1224 [non-C99-based standards] (copysignf): Do not allow.
1225 [non-C99-based standards] (exp2f): Likewise.
1226 [non-C99-based standards] (log2f): Likewise.
1227 [non-C99-based standards] (modff): Allow.
1228 [non-C99-based standards] (erff): Do not allow.
1229 [non-C99-based standards] (erfcf): Likewise.
1230 [non-C99-based standards] (gammaf): Likewise.
1231 [non-C99-based standards] (hypotf): Likewise.
1232 [non-C99-based standards] (j0f): Likewise.
1233 [non-C99-based standards] (j1f): Likewise.
1234 [non-C99-based standards] (jnf): Likewise.
1235 [non-C99-based standards] (lgammaf): Likewise.
1236 [non-C99-based standards] (tgammaf): Likewise.
1237 [non-C99-based standards] (y0f): Likewise.
1238 [non-C99-based standards] (y1f): Likewise.
1239 [non-C99-based standards] (ynf): Likewise.
1240 [non-C99-based standards] (isnanf): Likewise.
1241 [non-C99-based standards] (acoshf): Likewise.
1242 [non-C99-based standards] (asinhf): Likewise.
1243 [non-C99-based standards] (atanhf): Likewise.
1244 [non-C99-based standards] (cbrtf): Likewise.
1245 [non-C99-based standards] (expm1f): Likewise.
1246 [non-C99-based standards] (ilogbf): Likewise.
1247 [non-C99-based standards] (log1pf): Likewise.
1248 [non-C99-based standards] (logbf): Likewise.
1249 [non-C99-based standards] (nextafterf): Likewise.
1250 [non-C99-based standards] (remainderf): Likewise.
1251 [non-C99-based standards] (rintf): Likewise.
1252 [non-C99-based standards] (scalbf): Likewise.
1253 [non-C99-based standards] (copysignl): Likewise.
1254 [non-C99-based standards] (exp2l): Likewise.
1255 [non-C99-based standards] (log2l): Likewise.
1256 [non-C99-based standards] (modfl): Allow.
1257 [non-C99-based standards] (erfl): Do not allow.
1258 [non-C99-based standards] (erfcl): Likewise.
1259 [non-C99-based standards] (gammal): Likewise.
1260 [non-C99-based standards] (hypotl): Likewise.
1261 [non-C99-based standards] (j0l): Likewise.
1262 [non-C99-based standards] (j1l): Likewise.
1263 [non-C99-based standards] (jnl): Likewise.
1264 [non-C99-based standards] (lgammal): Likewise.
1265 [non-C99-based standards] (tgammal): Likewise.
1266 [non-C99-based standards] (y0l): Likewise.
1267 [non-C99-based standards] (y1l): Likewise.
1268 [non-C99-based standards] (ynl): Likewise.
1269 [non-C99-based standards] (isnanl): Likewise.
1270 [non-C99-based standards] (acoshl): Likewise.
1271 [non-C99-based standards] (asinhl): Likewise.
1272 [non-C99-based standards] (atanhl): Likewise.
1273 [non-C99-based standards] (cbrtl): Likewise.
1274 [non-C99-based standards] (expm1l): Likewise.
1275 [non-C99-based standards] (ilogbl): Likewise.
1276 [non-C99-based standards] (log1pl): Likewise.
1277 [non-C99-based standards] (logbl): Likewise.
1278 [non-C99-based standards] (nextafterl): Likewise.
1279 [non-C99-based standards] (remainderl): Likewise.
1280 [non-C99-based standards] (rintl): Likewise.
1281 [non-C99-based standards] (scalbl): Likewise.
1282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1283 [non-C99-based standards] (FP_*): Do not allow.
1284 [C99-based standards] (FP_*): Change to
1285 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1286 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1287 allow.
1288 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1289 (SIG_ERR): Likewise.
1290 [X/Open-based standards] (SIG_HOLD): Likewise.
1291 (SIG_IGN): Likewise.
1292 (SIGABRT): Use macro-int-constant. Specify type. Require
1293 positive value.
1294 (SIGFPE): Likewise.
1295 (SIGILL): Likewise.
1296 (SIGINT): Likewise.
1297 (SIGSEGV): Likewise.
1298 (SIGTER): Likewise.
1299 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1300 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1301 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1303 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1305 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1308 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1309 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1310 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1311 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1312 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1313 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1314 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1317 [X/Open-based standards] (SIGTRAP): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1322 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1323 allow.
1324
b9f1922d
IW
13252012-05-08 Ian Wienand <ianw@vmware.com>
1326
1327 [BZ #14080]
1328 * time/tzset.c (__tzset_parse_tz): Update default rules for
1329 daylight time changes in the Energy Policy Act of 2005.
1330
1db86e88
AJ
13312012-05-09 Andreas Jaeger <aj@suse.de>
1332
1333 [BZ #13983]
1334 * elf/ldconfig.c (parse_conf): Change string to make clear that
1335 ldconfig only issued a warning if ld.so.conf does not exist.
1336
dee4a4e3
DM
13372012-05-08 David S. Miller <davem@davemloft.net>
1338
ee0db190
DM
1339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1340 movxtod instead of popping the value on the stack.
1341
dee4a4e3
DM
1342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1343
6a43ec98
CD
13442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1345
1346 * config.h.in: Add HAVE_ARM_PCS_VFP.
1347
05c2c961
RMG
13482012-05-08 Roland Mc Grath <roland@hack.frob.com>
1349
bcfe3a54
ST
1350 [BZ #13979]
1351 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1352 checking but the checks are disabled for any reason.
05c2c961 1353
4b30f61a
L
13542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1355
1356 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1357 and ELF64_R_TYPE with ELFW(R_TYPE).
1358
eee2bc67
JM
13592012-05-08 Joseph Myers <joseph@codesourcery.com>
1360
7ea5391a
JM
1361 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1362 (ulimit): Likewise.
1363
eee2bc67
JM
1364 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1365 (settimeofday): Likewise.
1366
abb66a67
MF
13672012-05-08 Mike Frysinger <vapier@gentoo.org>
1368
1369 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1370 a struct th_u2 inside the union, and move tu_block/tu_code into
1371 a new th_u3 union of tu_block/tu_code inside of that. Move
1372 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1373 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1374 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1375 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1376 (th_stuff): Change to th_u1.tu_stuff.
1377 (th_data): Define.
1378 (th_msg): Change to th_u1.th_u2.tu_data.
1379
7f18b530
DM
13802012-05-07 David S. Miller <davem@davemloft.net>
1381
05760585
DM
1382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1383
7f18b530
DM
1384 [BZ #14074]
1385 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1386 (SETUP_PIC_REG): Use it.
1387 (SETUP_PIC_REG_LEAF): Use it.
1388
495fd99f
JM
13892012-05-07 Joseph Myers <joseph@codesourcery.com>
1390
1391 [BZ #13885]
1392 [BZ #13923]
1393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1394 USE_AS_EXPM1L.
1395 (EXPL_FINITE): Likewise.
1396 (FLDLOG): Likewise.
1397 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1398 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1399 e_expl.S.
1400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1401 USE_AS_EXPM1L.
1402 (EXPL_FINITE): Likewise.
1403 (FLDLOG): Likewise.
1404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1405 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1406 e_expl.S.
1407 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1408 test of -max_value argument for long double.
1409 * sysdeps/i386/fpu/libm-test-ulps: Update.
1410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411
6693d694
DM
14122012-05-06 David S. Miller <davem@davemloft.net>
1413
1414 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1415 quad soft-float symbols whose references which are compiler
1416 generated.
1417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1418
6c23e11c
JM
14192012-05-06 Joseph Myers <joseph@codesourcery.com>
1420
d8b82cad
JM
1421 [BZ #13884]
1422 [BZ #13914]
1423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1424 USE_AS_EXP10L.
1425 (EXPL_FINITE): Likewise.
1426 (FLDLOG): Likewise.
1427 (c0): Likewise.
1428 (c1): Likewise.
1429 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1430 Adjust comments for base varying.
1431 (__expl_finite): Change alias to EXPL_FINITE.
1432 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1433 e_expl.S.
1434 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1435 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1437 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1439 USE_AS_EXP10L.
1440 (EXPL_FINITE): Likewise.
1441 (FLDLOG): Likewise.
1442 (c0): Likewise.
1443 (c1): Likewise.
1444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1445 Adjust comments for base varying.
1446 (__expl_finite): Change alias to EXPL_FINITE.
1447 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1448 tests for bugs.
1449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1450
6c23e11c
JM
1451 [BZ #14064]
1452 * math/libm-test.inc (check_float_internal): Correct ulp
1453 calculation for subnormal expected results.
1454
29ba805c
AJ
14552012-05-06 Andreas Jaeger <aj@suse.de>
1456
1457 * Makeconfig (+math-flags): New, set to -frounding-math.
1458 (+cflags): Add +math-flags so that all of glibc gets compiled with
1459 it.
1460
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1462
7b17aeda
JM
14632012-05-05 Joseph Myers <joseph@codesourcery.com>
1464
5779f134
JM
1465 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1466 Disable one test.
1467
41498f4d
JM
1468 [BZ #13787]
1469 [BZ #13922]
1470 [BZ #14036]
1471 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1472 (__ieee754_expl): Allow for and saturate large arguments.
1473 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1474 (u_threshold): Likewise.
1475 (__exp): Call __ieee754_exp before checking for overflow and
1476 underflow.
1477 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1478 (u_threshold): Likewise.
1479 (__expf): Call __ieee754_expf before checking for overflow and
1480 underflow.
1481 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1482 (u_threshold): Likewise.
1483 (__expl): Call __ieee754_expl before checking for overflow and
1484 underflow.
1485 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1486 (__ieee754_expl): Allow for and saturate large arguments.
1487 * math/libm-test.inc (exp_test): Add another test. Do not allow
1488 missing overflow exception on overflow.
1489 (expm1_test): Do not allow missing overflow exception on overflow.
1490
6698b8bf
JM
1491 * sysdeps/i386/fpu/e_expl.c: Move to ...
1492 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1493 rather than using inline asm.
1494 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1495 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1496 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1497
7b17aeda
JM
1498 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1499 (nice): Likewise.
1500 (poll): Likewise.
1501 (signal): Likewise.
1502 (time): Likewise.
1503 (times): Likewise.
1504
f7c85819
JM
15052012-05-04 Joseph Myers <joseph@codesourcery.com>
1506
1507 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1508 sysdeps/unix/common/syscalls.list.
1509 (fchmod): Likewise.
1510 (fchown): Likewise.
1511 (ftruncate): Likewise.
1512 (getrusage): Likewise.
1513 (gettimeofday): Likewise.
1514 (setpgid): Likewise.
1515 (setregid): Likewise.
1516 (setreuid): Likewise.
1517 (sigaction): Likewise.
1518 (truncate): Likewise.
1519 (vhangup): Likewise.
1520 * sysdeps/unix/common/syscalls.list: Remove file.
1521 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1522 * sysdeps/unix/sysv/linux/Implies: Likewise.
1523
336270d0
L
15242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1525
1526 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1528 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1529 Moved to ...
1530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1531 Here.
1532 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1533 to ...
1534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1535 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1536 to ...
1537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1539 to ...
1540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1541 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1542 to ...
1543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1545 to ...
1546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1547 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1548 to ...
1549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1550 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1551 to ...
1552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1553 Here.
1554 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1555 to ...
1556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1557 Here.
1558 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1559 to ...
1560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1561 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1562 Moved to ...
1563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1564 Here.
1565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1566 to ...
1567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1568
d128e450
JM
15692012-05-04 Joseph Myers <joseph@codesourcery.com>
1570
fa8ee516
JM
1571 * sysdeps/unix/common/bits/dirent.h: Remove file.
1572 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1573
d128e450
JM
1574 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1575 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1576 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1577 * sysdeps/unix/bsd/isatty.c: Likewise.
1578 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1579 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1580 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1581
ff8faaf0 15822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1583
62881be4 1584 [BZ #13563]
31dc8730
AZ
1585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1586 long double comparison inaccuracies.
1587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1589
6fef930c
AS
15902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1591
1592 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1594
8f203e6c
JM
15952012-05-04 Joseph Myers <joseph@codesourcery.com>
1596
1597 [BZ #14049]
1598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1599 nonzero digits before rounding a hex value.
1600 * stdlib/tst-strtod.c (tests): Add another test.
1601
5197d9c2
AK
16022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1603
1604 * sysdeps/s390/fpu/libm-test-ulps: Update.
1605
f0c1dedf
AJ
16062012-05-03 Andreas Jaeger <aj@suse.de>
1607
1608 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1609 does not get optimized out.
1610 (malloc_opt_barrier): New.
1611
a65ef2ae 16122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1613 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1614
2b942cb7 1615 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1616 intermediate file deletion.
2b942cb7 1617 (generated): Add .symlist files.
a65ef2ae 1618
54b71e02
JM
16192012-05-03 Joseph Myers <joseph@codesourcery.com>
1620
1621 [BZ #13775]
1622 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1623 Redirect under this condition.
1624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1625 [__USE_GNU] (__dprintf_chk): Not under this condition.
1626 [__USE_GNU] (__vdprintf_chk): Likewise.
1627 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1628 under this condition.
1629 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1630 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1631 [__USE_XOPEN2K8] (vdprintf): Likewise.
1632 [__USE_GNU] (__dprintf_chk): Not under this condition.
1633 [__USE_GNU] (__vdprintf_chk): Likewise.
1634 [__USE_GNU] (dprintf): Likewise.
1635 [__USE_GNU] (vdprintf): Likewise.
1636
d3dfcc41
RM
16372012-05-03 Roland McGrath <roland@hack.frob.com>
1638
1639 * elf/Makefile (common-generated): Set this instead of generated for
1640 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1641 $(all-built-dso)-derived lists.
1642
7ac30cc5
AJ
16432012-05-03 Andreas Jaeger <aj@suse.de>
1644
0c51e550
AJ
1645 * sysdeps/i386/fpu/libm-test-ulps: Update.
1646
7ac30cc5
AJ
1647 * FAQ: Removed.
1648 * FAQ.in: Likewise.
1649 * scripts/gen-FAQ.pl: Likewise.
1650 * manual/install.texi (Installation): Point to online location of
1651 FAQ.
1652 * Makefile (files-for-dist): Remove FAQ.
1653 (FAQ): Remove.
1654
d4c2917f
AM
16552012-05-02 Allan McRae <allan@archlinux.org>
1656
1657 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1658 (LDFLAGS-reldepmod5.so): Likewise.
1659 (LDFLAGS-reldep6mod1.so): Likewise.
1660 (LDFLAGS-reldep6mod4.so): Likewise.
1661 (LDFLAGS-reldep8mod3.so): Likewise.
1662 (LDFLAGS-unload4mod1.so): Likewise.
1663 (LDFLAGS-unload4mod2.so): Likewise.
1664 (LDFLAGS-tst-initorder): Likewise.
1665 (LDFLAGS-tst-initordera2.so): Likewise.
1666 (LDFLAGS-tst-initordera3.so): Likewise.
1667 (LDFLAGS-tst-initordera4.so): Likewise.
1668 (LDFLAGS-tst-initorderb2.so): Likewise.
1669 (LDFLAGS-noload): Likewise.
1670 (LDFLAGS-next): Likewise.
1671 (LDFLAGS-order2mod1.so): Likewise.
1672 (LDFLAGS-order2mod2.so): Likewise.
1673 (LDFLAGS-tst-initorder2): Likewise.
1674 (LDFLAGS-tst-initorder2a.so): Likewise.
1675 (LDFLAGS-tst-initorder2b.so): Likewise.
1676 (LDFLAGS-tst-initorder2c.so): Likewise.
1677 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1678
d77f993f
DM
16792012-05-02 David S. Miller <davem@davemloft.net>
1680
1681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1682
171a70b4
PP
16832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1684
1685 [BZ #14055]
1686 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1687
0be196ad
AJ
16882012-05-02 Andreas Jaeger <aj@suse.de>
1689
1690 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1691 since we manipulate rounding mode.
1692 (CPPFLAGS-test-idouble.c): Likewise.
1693 (CPPFLAGS-test-ifloat.c): Likewise.
1694 (CFLAGS-test-ldouble.c): Likewise.
1695 (CFLAGS-test-double.c): Likewise.
1696 (CFLAGS-test-float.c): Likewise.
1697 (CFLAGS-test-misc.c): Likewise.
1698 (CFLAGS-test-test-fenv.c): Likewise.
1699
4f9d04aa
AZ
17002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701
2b942cb7
RM
1702 [BZ #2550]
1703 [BZ #2570]
1704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1705 comparisons to determine direction to adjust input.
4f9d04aa 1706
82a79e7d
RM
17072012-05-01 Roland McGrath <roland@hack.frob.com>
1708
f5a01ca9
RM
1709 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1710 output to the target.
1711
90fe4186
RM
1712 * scripts/localplt.awk: New file.
1713 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1714 (check-localplt-CFLAGS): Variable removed.
1715 ($(all-built-dso:=.jmprel)): New static pattern rule.
1716 (generated): Add those targets.
1717 (localplt-built-dso): New variable.
1718 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1719
1720 * elf/check-localplt.c: File removed.
1721
82397ed6
RM
1722 * scripts/check-execstack.awk: New file.
1723 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1724 (check-execstack-CFLAGS): Variable removed.
1725 ($(objpfx)check-execstack.h): Target removed.
1726 ($(objpfx)execstack-default): New target.
1727 (generated): Add that instead of check-execstack.h.
1728 ($(all-built-dso:=.phdr)): New static pattern rule.
1729 (generated): Add those targets.
1730 * elf/check-execstack.c: File removed.
1731
82a79e7d
RM
1732 * scripts/check-textrel.awk: New file.
1733 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1734 (check-textrel-CFLAGS): Variable removed.
1735 (all-built-dso): Use := to define.o
1736 ($(all-built-dso:=.dyn)): New static pattern rule.
1737 (generated): Add those targets.
1738 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1739 * config.make.in (READELF): New substituted variable.
1740 * elf/check-textrel.c: File removed.
1741
62fde54f 17422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1743
615605c9
JM
1744 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1745 allow.
1746 * conform/data/ctype.h-data [C99-based standards] (isblank):
1747 Expect function.
1748 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1749 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1751 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1752 Specify type. Require positive value.
1753 (EILSEQ): Likewise.
1754 (ERANGE): Likewise.
1755 [ISO || POSIX] (EILSEQ): Do not expect.
1756 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1757 Specify type. Require positive value.
1758 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1778 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1780 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1781 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1787 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1832 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1833 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1834 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1835 Require >= 2.
1836 (FLT_ROUNDS): Expect as macro, not constant.
1837 (FLT_MANT_DIG): Use macro-int-constant.
1838 (DBL_MANT_DIG): Likewise.
1839 (LDBL_MANT_DIG): Likewise.
1840 (FLT_DIG): Likewise.
1841 (DBL_DIG): Likewise.
1842 (LDBL_DIG): Likewise.
1843 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1844 (DBL_MIN_EXP): Likewise.
1845 (LDBL_MIN_EXP): Likewise.
1846 (FLT_MAX_EXP): Use macro-int-constant.
1847 (DBL_MAX_EXP): Likewise.
1848 (LDBL_MAX_EXP): Likewise.
1849 (FLT_MAX_10_EXP): Likewise.
1850 (DBL_MAX_10_EXP): Likewise.
1851 (LDBL_MAX_10_EXP): Likewise.
1852 (FLT_MAX): Use macro-constant.
1853 (DBL_MAX): Likewise.
1854 (LDBL_MAX): Likewise.
1855 (FLT_EPSILON): Use macro-constant. Give upper bound.
1856 (DBL_EPSILON): Likewise.
1857 (LDBL_EPSILON): Likewise.
1858 (FLT_MIN): Likewise.
1859 (DBL_MIN): Likewise.
1860 (LDBL_MIN): Likewise.
1861 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1862 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1863 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1864 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1865 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1866 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1867 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1868 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1869 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1870 [ISO11] (FLT_TRUE_MIN): Likewise.
1871 [ISO11] (LDBL_TRUE_MIN): Likewise.
1872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1873 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1874 (SCHAR_MIN): Use macro-int-constant. Specify type.
1875 (SCHAR_MAX): Likewise.
1876 (UCHAR_MAX): Likewise.
1877 (CHAR_MIN): Likewise.
1878 (CHAR_MAX): Likewise.
1879 (MB_LEN_MAX): Use macro-int-constant.
1880 (SHRT_MIN): Use macro-int-constant. Specify type.
1881 (SHRT_MAX): Likewise.
1882 (USHRT_MAX): Likewise.
1883 (INT_MAX): Likewise.
1884 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1885 bound negative.
1886 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1887 bound with "U".
1888 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1889 bound with "L".
1890 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1891 bound negative. Suffix upper bound with "L".
1892 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1893 bound with "UL".
1894 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1895 Specify type.
1896 [C99-based standards] (LLONG_MAX): Likewise.
1897 [C99-based standards] (ULLONG_MAX): Likewise.
1898 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1899 == 0.
1900 [ISO11] (max_align_t): Require type.
1901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1902
c9140a62
JM
1903 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1904 from $CFLAGS, without defining away __attribute__ calls.
1905 (checknamespace): Use $CFLAGS_namespace.
1906
9af0bf29
JM
1907 * conform/conformtest.pl (@keywords): Only include C99 keywords
1908 for standards based on C99 or C11.
1909
343222a2
JM
1910 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1911 Disable tests.
1912 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1913 UNIX98]: Likewise.
1914
661f8cf0
JM
1915 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1916 usability of symbols in #if.
1917
ee74b9cb
JM
1918 * conform/conformtest.pl: If macro or constant types start
1919 "promoted:", expect the symbol to be of the following type
1920 promoted by the integer promotions.
62fde54f 1921
aafc49b3
JM
1922 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1923 in one place. Also handle "macro-constant".
1924
fefdf574
JM
1925 * conform/conformtest.pl: Only accept expected macro values with
1926 "==". Parse all "macro" lines in one place.
1927 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1928
f2d922fe
JM
1929 * conform/conformtest.pl: Handle braced types on "constant" lines
1930 instead of handling "typed-constant".
1931 * conform/data/signal.h-data: Use "constant" instead of
1932 "typed-constant".
1933
d22956c9
JM
1934 * conform/conformtest.pl: Handle "optional-" at start of lines in
1935 one place rather than duplicating several cases. Handle each
1936 format of "macro" line with initial "optional-".
1937
028e2e38
JM
1938 * conform/conformtest.pl: Only accept expected constant or
1939 optional-constant values with "==". Parse all "constant" lines in
1940 one place. Parse all "optional-constant" lines in one place.
1941 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1942 * conform/data/fmtmsg.h-data: Likewise.
1943 * conform/data/netinet/in.h-data: Likewise.
1944 * conform/data/tar.h-data: Likewise.
1945 * conform/data/limits.h-data: Use "==" form on "constant" and
1946 "optional-constant" lines.
1947
1b8f2850
JM
1948 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1949 Use -std=c99 for XOPEN2K.
1950 (@knownproblems): Remove.
1951 (newtoken): Don't check %isknown.
1952
a05a144b
JM
1953 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1954 Do not expect macro.
1955 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1956 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1957 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1958 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1959 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1967 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1968 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1970 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1971 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1972 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1973 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1974 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1975 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1979 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1980 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1981 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1982 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1983 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1984 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1985 [XPG3] (acosh): Likewise.
1986 [XPG3] (asinh): Likewise.
1987 [XPG3] (atanh): Likewise.
1988 [XPG3] (cbrt): Likewise.
1989 [XPG3] (expm1): Likewise.
1990 [XPG3] (ilogb): Likewise.
1991 [XPG3] (log1p): Likewise.
1992 [XPG3] (logb): Likewise.
1993 [XPG3] (nextafter): Likewise.
1994 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1995 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1996 [XPG3] (remainder): Likewise.
1997 [XPG3] (rint): Likewise.
1998 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1999 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2000 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2001 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2002 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2003 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2004 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2005 [UNIX98 || XOPEN2K] (scalb): Expect.
2006 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2007 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2008 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2009 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2010 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2143
73c5ebe3
JM
2144 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2145 _XOPEN_SOURCE_EXTENDED for XPG4.
2146
39c33b6c
JM
2147 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2148
62fde54f
JM
2149 * Makeconfig (localtime): Remove variable.
2150 (inst_localtime-file): Likewise.
2151
0741d64c
AS
21522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2153
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2155 Update.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2157 Update.
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2159 Update.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2161 Update.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2163 Update.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2165 Update.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2167 Update.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2169 Update.
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2171 Update.
2172
7cb029ee
JM
21732012-05-01 Joseph Myers <joseph@codesourcery.com>
2174
2175 [BZ #2550]
2176 [BZ #2570]
2177 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2178 comparisons to determine direction to adjust input.
2179 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2180 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2182 Likewise.
2183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2184 Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2186 Likewise.
2187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2189 Likewise.
2190 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2191 Likewise.
2192 * math/libm-test.inc (nexttoward_test): Add more tests.
2193
412bd966
AS
21942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 [BZ #14040]
2197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2198 in version GLIBC_2.1, not GLIBC_2.0.
2199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2200 Likewise.
2201
9568c0c2
JM
22022012-04-30 Joseph Myers <joseph@codesourcery.com>
2203
adfbc8ac
JM
2204 [BZ #13942]
2205 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2206 (1 - x) * (1 + x).
2207 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2208 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2209 * math/libm-test.inc (acos_test): Add more tests.
2210 (asin_test): Likewise.
2211 * sysdeps/i386/fpu/libm-test-ulps: Update.
2212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2213
5ba3cc69
JM
2214 [BZ #14034]
2215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2216 of square root.
2217 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2218 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2219 * math/libm-test.inc (acos_test_tonearest): New function.
2220 (acos_test_towardzero): Likewise.
2221 (acos_test_downward): Likewise.
2222 (acos_test_upward): Likewise.
2223 (asin_test_tonearest): Likewise.
2224 (asin_test_towardzero): Likewise.
2225 (asin_test_downward): Likewise.
2226 (asin_test_upward): Likewise.
2227 (main): Call the new functions.
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2230
9568c0c2
JM
2231 [BZ #13884]
2232 [BZ #13924]
2233 * math/e_exp10.c: Include <float.h>.
2234 (__ieee754_exp10): Handle underflow here rather than multiplying
2235 large negative argument by M_LN10.
2236 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2237 of __ieee754_expf.
2238 * math/e_exp10l.c: Include <float.h>.
2239 (__ieee754_exp10l): Handle underflow here rather than multiplying
2240 large negative argument by M_LN10l.
2241 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2242 spurious overflow exception on underflow.
2243
5ac3ea17
MP
22442012-04-29 Marek Polacek <polacek@redhat.com>
2245
2246 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2247 (__fortify_function): New macro.
2248 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2249 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2250 __extern_always_inline.
2251 * libio/bits/stdio2.h: Likewise.
2252 * libio/bits/stdio.h: Likewise.
2253 * string/string.h: Likewise.
2254 * string/bits/string3.h: Likewise.
2255 * include/stdio.h: Likewise.
2256 * stdlib/bits/stdlib.h: Likewise.
2257 * stdlib/stdlib.h: Likewise.
2258 * rt/bits/mqueue2.h: Likewise.
2259 * rt/mqueue.h: Likewise.
2260 * posix/bits/unistd.h: Likewise.
2261 * posix/unistd.h: Likewise.
2262 * io/bits/poll2.h: Likewise.
2263 * io/bits/fcntl2.h: Likewise.
2264 * io/fcntl.h: Likewise.
2265 * io/sys/poll.h: Likewise.
2266 * misc/bits/syslog.h: Likewise.
2267 * misc/bits/syslog-ldbl.h: Likewise.
2268 * misc/sys/syslog.h: Likewise.
2269 * socket/bits/socket2.h: Likewise.
2270 * socket/sys/socket.h: Likewise.
2271 * debug/tst-chk1.c: Likewise.
2272 * wcsmbs/bits/wchar2.h: Likewise.
2273 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2274 * wcsmbs/wchar.h: Likewise.
2275
ecf0ebfb
AJ
22762012-04-29 Andreas Jaeger <aj@suse.de>
2277
2278 * Makerules (tests): Remove enable-check-abi protection.
2279 (check-abi-warn): Remove.
2280 (check-abi-%): Remove check-abi-warn usage.
2281
2282 * configure.in: Remove check-abi configure option.
2283 * configure: Regenerated.
2284 * config.make.in (enable-check-abi): Remove.
2285
6d5c57fa
AS
22862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2287
24c5d07e 2288 [BZ #14033]
ded5180a
AS
2289 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2290 double functions to double *_finite functions.
2291
7e0d315d
AS
2292 [BZ #13941]
2293 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2294 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2295 LDBL_MIN_EXP.
2296 * stdio-common/Makefile (tests): Add tst-sprintf3.
2297 * stdio-common/tst-sprintf3.c: New file.
2298
6d5c57fa
AS
2299 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2300 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2301
0749ff8b
JM
23022012-04-28 Joseph Myers <joseph@codesourcery.com>
2303
2304 * conform/conformtest.pl: Remove duplicate typed-constant
2305 handling.
2306
8dbd5d7b
DM
23072012-04-28 David S. Miller <davem@davemloft.net>
2308
2309 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2310 (check-abi-%): Remove AWK script prerequisite and explicit
2311 abilist directory.
2312 (check-abi): Rewrite to just diff the symlist with the abilist.
2313 (config-tls, config-abi-config): Delete, no longer used.
2314 (update-abi-%): Remove AWK script and explicit abilist directory.
2315 (update-abi): Rewrite to simply compare and conditionally copy the
2316 symlist and the sysdep abilist file. Remove update-abi-config
2317 checks.
2318 * abilist/ld.abilist: Remove.
2319 * abilist/libBrokenLocale.abilist: Remove.
2320 * abilist/libanl.abilist: Remove.
2321 * abilist/libcrypt.abilist: Remove.
2322 * abilist/libdl.abilist: Remove.
2323 * abilist/librt.abilist: Remove.
2324 * abilist/libthread_db.abilist: Remove.
2325 * abilist/libutil.abilist: Remove.
2326 * scripts/extract-abilist.awk: Remove.
2327 * scripts/merge-abilist.awk: Remove.
2328 * sysdeps/generic/libcidn.abilist: New file.
2329 * sysdeps/generic/libnss_compat.abilist: New file.
2330 * sysdeps/generic/libnss_db.abilist: New file.
2331 * sysdeps/generic/libnss_dns.abilist: New file.
2332 * sysdeps/generic/libnss_files.abilist: New file.
2333 * sysdeps/generic/libnss_hesiod.abilist: New file.
2334 * sysdeps/generic/libnss_nis.abilist: New file.
2335 * sysdeps/generic/libnss_nisplus.abilist: New file.
2336 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2337 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2339 file.
2340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2343 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2344 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2346 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2348 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2349 file.
2350 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2352 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2354 file.
2355 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2356 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2358 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2359 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2361 file.
2362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2363 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2365 file.
2366 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2368 New file.
2369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2370 New file.
2371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2372 New file.
2373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2374 New file.
2375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2376 New file.
2377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2378 New file.
2379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2380 New file.
2381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2382 New file.
2383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2384 New file.
2385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2386 New file.
2387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2388 New file.
2389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2390 New file.
2391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2392 New file.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2394 file.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2396 New file.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2398 New file.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2400 file.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2402 New file.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2404 New file.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2406 file.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2408 New file.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2410 New file.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2412 New file.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2414 New file.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2416 New file.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2418 New file.
2419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2421 file.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2423 New file.
2424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2425 file.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2427 file.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2429 file.
2430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2431 file.
2432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2433 file.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2435 New file.
2436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2437 file.
2438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2439 file.
2440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2441 New file.
2442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2443 file.
2444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2446 file.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2448 New file.
2449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2450 file.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2452 file.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2454 file.
2455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2456 file.
2457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2458 file.
2459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2460 New file.
2461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2462 file.
2463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2464 file.
2465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2466 New file.
2467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2468 file.
2469 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2470 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2471 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2472 file.
2473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2474 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2477 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2479 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2482 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2485 file.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2487 New file.
2488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2489 file.
2490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2491 file.
2492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2493 file.
2494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2495 file.
2496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2497 file.
2498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2499 New file.
2500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2501 New file.
2502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2503 file.
2504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2505 New file.
2506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2507 file.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2510 file.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2512 New file.
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2514 file.
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2516 file.
2517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2518 file.
2519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2520 file.
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2522 file.
2523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2524 New file.
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2526 New file.
2527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2528 file.
2529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2530 New file.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2532 file.
2533
41d73a1b
JM
25342012-04-28 Joseph Myers <joseph@codesourcery.com>
2535
2536 * conform/conformtest.pl: Fix typo in handling typed-constant from
2537 allow-header.
2538
28aeeda4
JM
25392012-04-27 Joseph Myers <joseph@codesourcery.com>
2540
adae8f5e
JM
2541 * README: Cut down references to pre-2.6 Linux kernels and
2542 Linuxthreads. Update lists of configurations in libc and ports
2543 and sort alphabetically. Say "or newer" with Linux kernel version
2544 requirements.
2545
28aeeda4
JM
2546 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2547
a462cb63
RA
25482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2549
2550 [BZ #887]
2551 * math/libm-test.inc (logb_test_downward): New test to expose
2552 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2553 rounding mode.
2554
6ad3493e
JM
25552012-04-27 Joseph Myers <joseph@codesourcery.com>
2556
2557 [BZ #14027]
2558 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2559 to be done.
2560 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2561 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2562
2ce4f015
JM
25632012-04-26 Joseph Myers <joseph@codesourcery.com>
2564
5aeb141a
JM
2565 * sysdeps/unix/i386/brk.S: Remove file.
2566 * sysdeps/unix/i386/dl-brk.S: Likewise.
2567 * sysdeps/unix/i386/pipe.S: Likewise.
2568 * sysdeps/unix/i386/sigreturn.S: Likewise.
2569 * sysdeps/unix/i386/syscall.S: Likewise.
2570 * sysdeps/unix/i386/vfork.S: Likewise.
2571 * sysdeps/unix/i386/wait.S: Likewise.
2572
7143acae
JM
2573 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2574 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2575
2ce4f015
JM
2576 * configure.in (arm*-none*): Do not allow without
2577 --enable-hacker-mode.
2578 (netbsd*): Remove case setting base_os.
2579 (386bsd*): Likewise.
2580 (freebsd*): Likewise.
2581 (bsdi*): Likewise.
2582 (osf*): Likewise.
2583 (sunos*): Likewise.
2584 (ultrix*): Likewise.
2585 (newsos*): Likewise.
2586 (dynix*): Likewise.
2587 (*bsd*): Likewise.
2588 (sysv*): Likewise.
2589 (isc*): Likewise.
2590 (esix*): Likewise.
2591 (sco*): Likewise.
2592 (minix*): Likewise.
2593 (irix4*): Likewise.
2594 (irix6*): Likewise.
2595 (solaris[2-9]*): Likewise.
2596 (none): Likewise.
2597 * configure: Regenerated.
2598
0ac229c8
AZ
25992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600
2601 [BZ #11521]
2602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2603 overflow or cancellation in calculating denominator.
2604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2606 down expression to avoid unexpected rounding in newer GCCs.
2607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2608
33f244f4
DM
26092012-04-26 David S. Miller <davem@davemloft.net>
2610
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2612 long-double compat symbols.
2613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2626
cfa1f3e8
DM
26272012-04-25 David S. Miller <davem@davemloft.net>
2628
2629 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2630 HWCAP_* values only after the memory barriers have been defined.
2631 (atomic_full_barrier): Define.
2632 (atomic_read_barrier): Define.
2633 (atomic_write_barrier): Define.
2634
6e236b92
SP
26352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2636
2637 * shlib-versions: Add libgcc_s version information.
2638 * sysdeps/generic/libgcc_s.h: Remove.
2639 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2640 libgcc_s.h.
2641 * sysdeps/gnu/unwind-resume.c: Likewise.
2642 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2643
aab39a09
DM
26442012-04-25 David S. Miller <davem@davemloft.net>
2645
2646 * sysdeps/unix/sparc/brk.S: Delete.
2647 * sysdeps/unix/sparc/dl-brk.S: Delete.
2648 * sysdeps/unix/sparc/pipe.S: Delete.
2649 * sysdeps/unix/sparc/sysdep.S: Delete.
2650 * sysdeps/unix/sparc/sysdep.h: Delete.
2651 * sysdeps/unix/sparc/vfork.S: Delete.
2652 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2653 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2655 ret_ERRVAL, r0, r1, MOVE): Define.
2656 (JUMPTARGET): Remove.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2658 sysdeps/unix/sparc/sysdep.h
2659 (ENTRY, END): Remove.
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2661
a3cc4f48
JM
26622012-04-25 Joseph Myers <joseph@codesourcery.com>
2663
2ed8cda2
JM
2664 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2665 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2666 -DIS_IN_build.
2667
35d76d59
JM
2668 * timezone/README: Update upstream location and email address for
2669 tzcode and tzdata.
2670 * timezone/zdump.c: Update from tzcode 2012b.
2671 * timezone/zic.c: Likewise.
2672
a3cc4f48
JM
2673 * configure.in (libc_cv_as_needed): Remove test.
2674 * configure: Regenerated.
2675 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2676 conditional definition.
2677 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2678 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2679 * config.make.in (have-as-needed): Remove variable.
2680
ceab42c3
SP
26812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2682 Paul Pluzhnikov <ppluzhnikov@google.com>
2683
2684 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2685 strings correctly.
2686
3ce2865f
CLT
26872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2688
2689 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2690 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2691 * sysdeps/sh/strlen.S: Likewise.
2692
f37e0d68
JM
26932012-04-24 Joseph Myers <joseph@codesourcery.com>
2694
ae186e9a
JM
2695 * sysdeps/unix/fork.S: Remove file.
2696 * sysdeps/unix/i386/fork.S: Likewise.
2697 * sysdeps/unix/sparc/fork.S: Likewise.
2698
b96914af
JM
2699 * sysdeps/unix/system.c: Remove file.
2700 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2701
f37e0d68
JM
2702 * sysdeps/unix/getegid.S: Remove file.
2703 * sysdeps/unix/geteuid.S: Likewise.
2704
87ef29ca
RM
27052012-04-24 Roland McGrath <roland@hack.frob.com>
2706
83bcd236
RM
2707 * scripts/check-localplt.awk: New file.
2708 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2709 of diff.
2710 * scripts/data/localplt-generic.data: Add a comment.
2711
87ef29ca
RM
2712 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2713 NODE when __dir_mkfile failed.
2714 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2715 Reported by Ludovic Courtès <ludo@gnu.org>.
2716
e5a6e567
AJ
27172012-04-24 Andreas Jaeger <aj@suse.de>
2718
2719 * Makerules (common-clean): Also remove gen-as-const-headers
2720 files.
2721
c1820385
JM
27222012-04-24 Joseph Myers <joseph@codesourcery.com>
2723
2724 * Makerules (native-compile): Do not change working directory for
2725 build. Use $(OUTPUT_OPTION) in command.
2726 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2727
94e02fc4
AZ
27282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729
2730 [BZ #13886]
2731 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2732 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2733 * math/libm-test.inc (floor_test): Add more tests.
2734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2735
3a533ca3
JM
27362012-04-24 Joseph Myers <joseph@codesourcery.com>
2737
940ab4b3
JM
2738 * sysdeps/unix/getdents.c: Remove file.
2739 * sysdeps/unix/sysv/getdents.c: Likewise.
2740 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2741
90e037bd
JM
2742 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2743 sysdeps/unix/mman/syscalls.list.
2744 (mmap): Likewise.
2745 (mprotect): Likewise.
2746 (msync): Likewise.
2747 (munmap): Likewise.
2748 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2749 * sysdeps/unix/mman/syscalls.list: Remove.
2750 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2751
3a533ca3
JM
2752 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2753 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2754 * configure: Regenerated.
2755 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2756 $(libgcc_s_suffix).
2757 * config.make.in (libgcc_s_suffix): Remove variable.
2758
1ad743de
JM
27592012-04-23 Joseph Myers <joseph@codesourcery.com>
2760
4ad451e2
JM
2761 * sysdeps/unix/sysv/gethostname.c: Move to ...
2762 * sysdeps/posix/gethostname.c: ... here.
2763
5e37ce39
JM
2764 * sysdeps/unix/execve.S: Remove file.
2765
1ad743de
JM
2766 * sysdeps/unix/_exit.S: Remove file.
2767
4e681b5b
AJ
27682012-04-23 Andreas Jaeger <aj@suse.de>
2769
2770 [BZ #13739]
2771 * manual/Makefile: Remove make dist support, there's no
2772 need for a stand-alone documentation tar ball.
2773 (TEXI2DVI): Define always, it's not in Makeconfig.
2774 (dist): Removed.
2775 (tar-it): Removed.
2776 (edition): Removed.
2777 (glibc-doc-$(edition).tar): Removed
2778 (%.Z): Removed.
2779 (%.gz): Removed.
2780 (%.uu): Removed.
2781 (ETAGS): Remove, it's in Makeconfig.
2782 (move-if-change): Remove, it's in Makeconfig.
2783
c0baea34
PE
27842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2785
2786 [BZ #13970]
2787 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2788 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2789 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2790 (strtod_l, strtof_l, strtold_l): Remove __wur.
2791 It is not necessarily an error to ignore strtol's return value.
2792 One can reliably look at the stored endptr to decide whether
2793 the number had valid syntax.
2794
7c0616fa
AJ
27952012-04-21 Andreas Jaeger <aj@suse.de>
2796
803cb6b7 2797 [BZ #13739]
7c0616fa
AJ
2798 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2799
b0fe253f
JM
28002012-04-21 Joseph Myers <joseph@codesourcery.com>
2801
2802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2803 * sysdeps/unix/sysv/Versions: Remove file.
2804
8280f22d
MT
28052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2806
2807 [BZ #13927]
2808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2809
75ce411f 28102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2811
2812 [BZ #7064]
2813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2814 version from __vm86.
2815
097d59fa
JM
28162012-04-20 Joseph Myers <joseph@codesourcery.com>
2817
a90f3bcb
JM
2818 * sysdeps/unix/common/lxstat.c: Remove file.
2819 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2820
edc7ea78
JM
2821 * sysdeps/unix/sysv/Makefile: Remove file.
2822
cb78c221
JM
2823 * sysdeps/unix/sysv/direct.h: Remove file.
2824
efa6a45f
JM
2825 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2826 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2827 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2828 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2829 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2830 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2831 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2832
9c9f2d0c
JM
2833 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2834
4541c83b
JM
2835 * sysdeps/unix/xmknod.c: Remove file.
2836 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2837
f5d153a0
JM
2838 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2839
aa746595
JM
2840 * sysdeps/unix/sysv/i386/time.S: Remove file.
2841
cce5905e
JM
2842 * sysdeps/unix/fxstat.c: Remove file.
2843 * sysdeps/unix/xstat.c: Likewise.
2844 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2845
37fa3841
JM
2846 * sysdeps/unix/sysv/sigaction.c: Remove file.
2847
ff1962a3
JM
2848 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2849 (sysdep_headers): Remove variable.
2850 [termio.h not in sysdep_headers] (generated): Likewise.
2851 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2852 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2853 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2854 * sysdeps/unix/sysv/tcflow.c: Likewise.
2855 * sysdeps/unix/sysv/tcflush.c: Likewise.
2856 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2857 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2858 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2859 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2860 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2861
e7740d31
JM
2862 * sysdeps/unix/siglist.c: Remove file.
2863
ee06f18b
JM
2864 * sysdeps/unix/getppid.S: Remove file.
2865
097d59fa
JM
2866 * sysdeps/unix/mkdir.c: Remove file.
2867 * sysdeps/unix/rmdir.c: Likewise.
2868
ff3d51ec
AS
28692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2870
2871 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2872 ERR_MAX value.
2873 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2874 errlist-compat value.
2875
50f81fd7
DM
28762012-04-18 David S. Miller <davem@davemloft.net>
2877
2878 * sysdeps/generic/memcopy.h (reg_char): Delete.
2879 * debug/strcat_chk.c: Use char, not reg_char.
2880 * debug/strcpy_chk.c: Likewise.
2881 * debug/strncat_chk.c: Likewise.
2882 * debug/strncpy_chk.c: Likewise.
2883 * string/memchr.c: Likewise.
2884 * string/memrchr.c: Likewise.
2885 * string/rawmemchr.c: Likewise.
2886 * string/strcat.c: Likewise.
2887 * string/strchr.c: Likewise.
2888 * string/strchrnul.c: Likewise.
2889 * string/strcmp.c: Likewise.
2890 * string/strcpy.c: Likewise.
2891 * string/strncat.c: Likewise.
2892 * string/strncmp.c: Likewise.
2893 * string/strncpy.c: Likewise.
2894
8ff41c46
WS
28952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2896
2897 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2898 __builtin_memcopy is called when src and dest ranges are known to not
2899 overlap.
2900
6b652f46
WS
29012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2904 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2905 fwd_align_merge macro call.
2906 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2907 bwd_align_merge macro call.
2908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2909
b282631e
WS
29102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2911
2912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2913 bwd_align_merge macros.
2914 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2915 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2916 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2917
95aa737c
DM
29182012-04-18 David S. Miller <davem@davemloft.net>
2919
2920 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2921
7a99a614
AJ
29222012-04-18 Andreas Jaeger <aj@suse.de>
2923
2924 [BZ# 6794]
2925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2926 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2928
2929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2930 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2932
2933 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2934 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2935 Adjust for changed ldbl-128 files.
2936
2937 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2938 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2939 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2940
e5270c23
DM
29412012-04-17 David S. Miller <davem@davemloft.net>
2942
2943 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2944
fb5e92c9
AS
29452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2946
2947 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2948 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2949 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2950 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2951 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2952 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2953
76da7265
AZ
29542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2955
2956 [BZ #6794]
2957 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2958 * math/libm-test.inc: Add ilogb errno and exception tests.
2959 * math/w_ilogb.c: New file: ilogb wrapper.
2960 * math/w_ilogbf.c: New file: ilogbf wrapper.
2961 * math/w_ilogbl.c: New file: ilogbl wrapper.
2962 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2963 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2964 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2965 exception being thrown with 0.0 as argument.
2966 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2967 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2968 exception being thrown with 0.0 as argument.
2969 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2970 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2971 exception being thrown with 0.0 as argument.
2972 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2973 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2974 exception being thrown with 0.0 as argument.
2975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2976 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2978 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2981 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2982 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2983 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2984
0396e69d
PB
29852012-04-17 Petr Baudis <pasky@ucw.cz>
2986
2987 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2988 with altivec.
2989
750b5926
MP
29902012-04-16 Marek Polacek <polacek@redhat.com>
2991
2992 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2993
751728a1
MP
29942012-04-16 Marek Polacek <polacek@redhat.com>
2995
2996 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2997 operands of fdivp instruction.
2998
34a27407
L
29992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3002 * elf/tst-auditmod3b.c: Likewise.
3003 * elf/tst-auditmod4b.c: Likewise.
3004 * elf/tst-auditmod5b.c: Likewise.
3005 * elf/tst-auditmod6b.c: Likewise.
3006 * elf/tst-auditmod6c.c: Likewise.
3007 * elf/tst-auditmod7b.c: Likewise.
3008 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3009 * sysdeps/x86_64/preconfigure.in: Likewise.
3010 * sysdeps/x86_64/preconfigure: Regenerated.
3011
7e73e17d
L
30122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3015 __ILP32__.
3016
c7a6ab72
AB
30172012-04-13 Antoine Balestrat <merkil33@gmail.com>
3018
3019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3020 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3021
a9e8e0e0
CL
30222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3023
3024 [BZ #13973]
3025 * locale/iso-639.def: Fix gl language name. Spotted by
3026 Yaron Shahrabani.
3027
ec98af7d
RM
30282012-04-12 Roland McGrath <roland@hack.frob.com>
3029
3030 [BZ #2074]
3031 * libio/libio.h (__io_write_fn): Update comment.
3032
247c3ede
PB
30332012-04-12 Petr Baudis <pasky@ucw.cz>
3034
3035 [BZ #2074]
3036 * stdio.texi (Hook Functions): The user provided writer function
3037 is not allowed to return -1.
3038
55939d6d
DM
30392012-04-11 David S. Miller <davem@davemloft.net>
3040
3041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3042
90020f5a
MF
30432012-04-11 Mike Frysinger <vapier@gentoo.org>
3044
3045 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3046 Add a leading slash to rtkaio.
3047
288f9098
JM
30482012-04-11 Jim Meyering <meyering@redhat.com>
3049
90020f5a
MF
3050 [BZ #11959]
3051 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3052 It is not necessarily an error to ignore fwrite's return
3053 value. One can reliably use ferror to test for errors after
3054 the fact.
288f9098 3055
4be2b570
L
30562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * bits/types.h (__snseconds_t): New type.
3059 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3060
3061 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3063 (__SNSECONDS_T_TYPE): Likewise.
3064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3065 (__SNSECONDS_T_TYPE): Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3067 (__SNSECONDS_T_TYPE): Likewise.
3068
288f9098 30692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3070
3071 [BZ #2636]
3072 * manual/time.texi (Processor Time): Return type of times is
3073 elapsed real time since an arbitrary point in the past.
3074 (CPU Time): Move CLK_TCK from here...
3075 (Processor Time): ...to here. Correct description.
3076 * manual/conf.texi (Constants for Sysconf): Correct description of
3077 _SC_CLK_TCK.
3078
d7dd4413
DM
30792012-04-10 David S. Miller <davem@davemloft.net>
3080
3081 [BZ #13967]
3082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3083 where the is a gap between DT_REL(A) and DT_JMPREL.
3084
b46068fc
L
30852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3086
3087 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3088 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3089 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3090
73d65cc3
SP
30912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3094 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3095 (dl_main): Handle --inhibit-cache.
3096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3097 _dl_inhibit_cache.
3098 * elf/dl-load.c (_dl_map_object): Use it.
3099 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3100
bcc8d661
JM
31012012-04-09 Joseph Myers <joseph@codesourcery.com>
3102
8f9a2fae
JM
3103 [BZ #13872]
3104 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3105 (__ieee754_powl): Saturate large exponents rather than testing for
3106 overflow of y*log2(x).
3107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3108 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3109 exceptions.
3110
bcc8d661
JM
3111 [BZ #11521]
3112 * math/s_ctan.c: Include <float.h>.
3113 (__ctan): Avoid internal overflow or cancellation in calculating
3114 denominator.
3115 * math/s_ctanf.c: Likewise.
3116 * math/s_ctanl.c: Likewise.
3117 * math/s_ctanh.c: Likewise.
3118 * math/s_ctanhf.c: Likewise.
3119 * math/s_ctanhl.c: Likewise.
3120 * math/libm-test.inc (ctan_test): Add more tests.
3121 (ctanh_test): Likewise.
3122 * sysdeps/i386/fpu/libm-test-ulps: Update.
3123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124
823fbbb4
AJ
31252012-04-09 Andreas Jaeger <aj@suse.de>
3126
03879793
AJ
3127 [BZ #6894]
3128 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3129 is an optional BSD extension.
3130
823fbbb4
AJ
3131 [BZ #10254]
3132 * manual/stdio.texi (Opening Streams): Document additional fopen
3133 parameters.
3134
8de131cb
RM
31352012-04-09 Roland McGrath <roland@hack.frob.com>
3136
3137 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3138 %eax without telling the compiler.
3139
c0ed9d7d
CD
31402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3141
3142 [BZ # 13963]
3143 * manual/install.texi: Use sourceware.org.
3144
c483f6b4
JM
31452012-04-09 Joseph Myers <joseph@codesourcery.com>
3146
d7dd9453
JM
3147 [BZ #13873]
3148 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3149 (__ieee754_pow): Generate overflow and underflow using huge*huge
3150 and tiny*tiny rather than just returning constant infinity or zero
3151 for large exponents.
3152 * math/libm-test.inc (pow_test): Require overflow exceptions for
3153 applicable cases of large exponents.
3154
c483f6b4
JM
3155 [BZ #706]
3156 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3157 (__ieee754_pow): Use iterative multiplication algorithm only for
3158 integer exponents with absolute value below 1024. Check for odd
3159 integer exponents when using algorithm for real exponents.
3160 * math/libm-test.inc (pow_test): Add more tests.
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3162
d2de7579
JM
31632012-04-08 Joseph Myers <joseph@codesourcery.com>
3164
3165 [BZ #13705]
3166 * math/libm-test.inc (exp_test): Do not allow overflow exception
3167 on underflow test.
3168
f77f1232
AJ
31692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3170
3171 [BZ #13705]
3172 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3173 instead of __kernel_standard_f.
3174
3884932b
MF
31752012-04-08 Mike Frysinger <vapier@gentoo.org>
3176
3177 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3178 * sysdeps/x86_64/memset_chk.S: Likewise.
3179
54472e9c
AJ
31802012-04-08 Andreas Jaeger <aj@suse.de>
3181
6ab0fbfc
AJ
3182 [BZ #10153]
3183 * manual/startup.texi (Environment Access): Describe return value
3184 for putenv and setenv.
3185
61efba8c
AJ
3186 [BZ #6895]
3187 * manual/filesys.texi (Directory Entries): Add description for
3188 DT_LNK.
3189
95c3f29a
AJ
3190 [BZ #6890]
3191 * manual/filesys.texi (Directory Entries): Clarify that it's file
3192 system not operating system in the description of DT_UNKNOWN.
3193
54472e9c
AJ
3194 [BZ #6578]
3195 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3196
624254b1
SC
31972012-04-08 Stephen Compall <s11@member.fsf.org>
3198
3199 [BZ #6649]
3200 * manual/llio.texi (Opening and Closing Files): Add cross
3201 reference to explain mode argument.
3202
1e4920e0
MF
32032012-04-07 Mike Frysinger <vapier@gentoo.org>
3204
3205 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3206 * sysdeps/x86_64/memset_chk.S: Likewise.
3207
5ed848f3
DM
32082012-04-07 David S. Miller <davem@davemloft.net>
3209
3210 * elf/elf.h (R_SPARC_WDISP10): Define.
3211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3212 R_SPARC_SIZE32.
3213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3214 R_SPARC_SIZE64 and R_SPARC_H34.
3215
96154cd8
CD
32162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3217
3218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3219 conditions and remove no longer applicable assertion.
3220
9904dc47
L
32212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * bits/byteswap.h: Include <features.h>.
3224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3226
f8887d0a
L
32272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 * bits/byteswap.h (__bswap_16): Removed.
3230 Include <bits/byteswap-16.h> to get __bswap_16.
3231 * sysdeps/i386/bits/byteswap.h: Likewise.
3232 * sysdeps/s390/bits/byteswap.h: Likewise.
3233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3234 * bits/byteswap-16.h: New file.
3235 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3236 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3237 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3238 * string/Makefile (headers): Add bits/byteswap-16.h.
3239
62470f60
PP
32402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3241
3242 [BZ #13895]
3243 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3244 extra indirection.
3245 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3246 * nss/tst-nss-static.c: New.
3247
4dad7bab
RM
32482012-04-06 Robert Millan <rmh@gnu.org>
3249
3250 [BZ #6486]
3251 * manual/llio.texi (File Position Primitive): lseek
3252 refers to WHENCE when it really means OFFSET.
3253
e9142a17
AJ
32542012-04-06 Andreas Jaeger <aj@suse.de>
3255
2c040eff
AJ
3256 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3257 strncmp declarations.
3258
e9142a17
AJ
3259 * abilist/libc.abilist: Add __poll and __ppoll.
3260
ff9f1c5f
DM
32612012-04-05 David S. Miller <davem@davemloft.net>
3262
dcd2ae90
DM
3263 * scripts/check-local-headers.sh: Accept a host triplet in the
3264 path matched by the exclude regexp.
3265
993eb054
DM
3266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3267 definition.
3268 * sysdeps/powerpc/powerpc32/dl-machine.h
3269 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3270 * sysdeps/s390/s390-32/dl-machine.h
3271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3272 * sysdeps/sparc/sparc32/dl-machine.h
3273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3274 * sysdeps/sparc/sparc64/dl-machine.h
3275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3276
ff9f1c5f
DM
3277 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3278 lazy binding.
48e2e132 3279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3280 undefined symbol errors.
3281
48e2e132 3282 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3283 DT_NEEDED entries.
3284
e80d6f94
MM
32852012-04-05 Michael Matz <matz@suse.de>
3286
3287 [BZ #13592]
3288 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3289
349fa79f
AJ
32902012-04-05 Andreas Jaeger <aj@suse.de>
3291
3292 [BZ #13908]
3293 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3294 comment.
3295
f402708f
KK
32962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3297
3298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3299 which ROUND is no valid rounding mode.
3300
2ecccfc9
KK
33012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3302
3303 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3304 read again.
3305 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3306
8a53f50f
KK
33072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3308
3309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3310 an exception using FPU order intentionally.
3311
33122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3313
3314 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3315 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3316 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3317 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3318
d653abb7
SJ
33192012-04-05 Simon Josefsson <simon@josefsson.org>
3320
3321 [BZ #12340]
3322 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3323 EINVAL when BUFLEN is too smal.
3324
c3b1bf7d
TS
33252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3326
3327 [BZ #13553]
3328 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3329 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3330
b1aa60f3
AJ
33312012-04-03 Andreas Jaeger <aj@suse.de>
3332
c3b1bf7d 3333 [BZ #13938]
67f60a26
AJ
3334 * manual/setjmp.texi (System V contexts): Fix sentence.
3335
b1aa60f3
AJ
3336 [BZ #13926]
3337 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3338 New macro for this case.
3339 [!__GNUC__] (__bswap_64): New inline function for this case.
3340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3341 * bits/byteswap.h: Likewise.
3342 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3343 ull, guard with __GLIBC_HAVE_LONG_LONG.
3344
3345 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3346 __GLIBC_HAVE_LONG_LONG.
3347
3348 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3349 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3350
39c59c35
TMQMF
33512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3352
3353 [BZ #13691]
3354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3355 inptr and inend, rather than using last_ch.
3356
135ffda8
DM
33572012-04-02 David S. Miller <davem@davemloft.net>
3358
3359 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3360 * stdio-common/printf-parse.h (read_int): Change return type to
3361 'int', return -1 on INT_MAX overflow.
3362 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3363 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3364 overflows INT_MAX. Check for overflow of in-format-string precision
3365 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3366 SIZE_MAX not INT_MAX for integer overflow test.
3367 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3368 skip the construct in the format string but do not record anything.
3369 * stdio-common/bug22.c: Adjust to test both width/prevision
3370 INT_MAX overflow as well as total length INT_MAX overflow. Check
3371 explicitly for proper errno values.
3372
228c019e
TS
33732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3374
302cadd3
TS
3375 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3376 CHAR_MAX.
3377 * string/test-strcmp.c [! WIDE]: Likewise.
3378 * time/tst-mktime2.c: Likewise for INT_MAX.
3379 * string/test-string.h: #include <sys/param.h> for MIN.
3380
228c019e
TS
3381 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3382 * sysdeps/i386/init-first.c (init): Likewise.
3383 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3384 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3385 * sysdeps/sh/init-first.c (init): Likewise.
3386
cfa633f5
UD
33872012-04-01 Ulrich Drepper <drepper@gmail.com>
3388
3389 * po/ru.po: Update from translation team.
d1635ef8 3390 * po/vi.po: Likewise.
cfa633f5 3391
6cd0a5ea
SP
33922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3393
3394 * resolv/nss_dns/dns-host.c: Merge copyright years.
3395
4b43400f
LD
33962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3397
3398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3399 Optimize memcpy with prefetch if
3400 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3401 src, dst pointers have unequal 16 byte alignments.
3402
48c41d04
SP
34032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3404
3405 [BZ #13928]
3406 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3407 from a CNAME entry and return the minimum ttl for the query.
3408 (gaih_getanswer_slice): Likewise.
3409
b8dc394d
JL
34102012-03-30 Jeff Law <law@redhat.com>
3411
3412 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3413 due to long keys.
3414 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3415 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3416
2f5a5ed0
JL
3417 * resolv/nss_dns/dns-host.c: Update copyright year.
3418
1d39e359
UD
34192012-03-30 Ulrich Drepper <drepper@gmail.com>
3420
c030f70c 3421 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3422 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3423
1d39e359
UD
3424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3425 comments for sendmmsg.
3426
34272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3428
3429 [BZ #13691]
3430 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3431 with only 1 character between 0x0041 and 0x01b0.
3432 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3433 * wcsmbs/tst-mbsnrtowcs.c: New file.
3434
20fde227
DM
34352012-03-29 David S. Miller <davem@davemloft.net>
3436
3437 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3438 small copies by hand.
3439
984a4237
JL
34402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3441
3442 [BZ #13761]
3443 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3444 _nss_compat_initgroups_dyn): Fall back to malloc/free
3445 for large group memberships.
3446
18c9d62b
DM
34472012-03-28 David S. Miller <davem@davemloft.net>
3448
88d85d4f
DM
3449 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3450 that branches into memcpy.
3451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3454 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3456 bits.
3457 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3458 implementation too.
3459 * sysdeps/sparc/mempcpy.S: New file.
3460
e5aa83e1
DM
3461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3462 the IFUNC routine in the libc case.
3463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3464
88570753
DM
3465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3467 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3468 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3469 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3470 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3471 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3472 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3473
249d7567
DM
3474 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3475 loop to 256 bytes instead of 64 bytes and fix test signedness.
3476
18c9d62b
DM
3477 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3478 * sysdeps/sparc/sparc32/Makefile: rather than here...
3479 * sysdeps/sparc/sparc64/Makefile: and here.
3480
05f3d1f6
UD
34812012-03-28 Ulrich Drepper <drepper@gmail.com>
3482
3483 * malloc/mallocbug.c: Avoid warnings about unused variables.
3484
86ae07a8
JL
34852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3486
3487 [BZ #13760]
3488 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3489 in the right place. Discard and retry query if response is
3490 larger than input buffer size.
3491
41bf21a1
JM
34922012-03-28 Joseph Myers <joseph@codesourcery.com>
3493
d6270972
JM
3494 [BZ #369]
3495 [BZ #2678]
3496 [BZ #3866]
3497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3498 x for large integer exponent.
3499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3500 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3501 sign of result as needed afterwards.
3502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3504 result for underflowing pow the same as for overflow.
3505 (__kernel_standard_l): Handle powl overflow and underflow here
3506 rather than calling __kernel_standard.
3507 * math/libm-test.inc (pow_test): Add more tests.
3508
414fca03 3509 [BZ #3868]
41bf21a1
JM
3510 [BZ #13879]
3511 [BZ #13910]
3512 [BZ #13911]
3513 [BZ #13912]
3514 [BZ #13913]
3515 [BZ #13915]
3516 [BZ #13916]
3517 [BZ #13917]
3518 [BZ #13918]
3519 [BZ #13919]
3520 [BZ #13920]
3521 [BZ #13921]
3522 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3523 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3524 (__kernel_standard_l): New function.
3525 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3526 __kernel_standard.
3527 * math/w_acosl.c (__acosl): Likewise.
3528 * math/w_asinl.c (__asinl): Likewise.
3529 * math/w_atan2l.c (__atan2l): Likewise.
3530 * math/w_atanhl.c (__atanhl): Likewise.
3531 * math/w_coshl.c (__coshl): Likewise.
3532 * math/w_exp10l.c (__exp10l): Likewise.
3533 * math/w_exp2l.c (__exp2l): Likewise.
3534 * math/w_fmodl.c (__fmodl): Likewise.
3535 * math/w_hypotl.c (__hypotl): Likewise.
3536 * math/w_j0l.c (__j0l, __y0l): Likewise.
3537 * math/w_j1l.c (__j1l, __y1l): Likewise.
3538 * math/w_jnl.c (__jnl, __ynl): Likewise.
3539 * math/w_lgammal.c (__lgammal): Likewise.
3540 * math/w_log10l.c (__log10l): Likewise.
3541 * math/w_log2l.c (__log2l): Likewise.
3542 * math/w_logl.c (__logl): Likewise.
3543 * math/w_powl.c (__powl): Likewise.
3544 * math/w_remainderl.c (__remainderl): Likewise.
3545 * math/w_scalbl.c (sysv_scalbl): Likewise.
3546 * math/w_sinhl.c (__sinhl): Likewise.
3547 * math/w_sqrtl.c (__sqrtl): Likewise.
3548 * math/w_tgammal.c (__tgammal): Likewise.
3549 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3550 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3551 * math/libm-test.inc (acos_test): Add more tests.
3552 (acosh_test): Likewise.
3553 (asin_test): Likewise.
3554 (atanh_test): Likewise.
3555 (exp_test): Likewise.
3556 (exp10_test): Likewise.
3557 (exp2_test): Likewise.
3558 (expm1_test): Likewise.
3559 (lgamma_test): Likewise.
3560 (log_test): Likewise.
3561 (log10_test): Likewise.
3562 (log1p_test): Likewise.
3563 (log2_test): Likewise.
3564 (pow_test): Do not allow some spurious overflow exceptions.
3565 (sqrt_test): Add more tests.
3566 (tgamma_test): Likewise.
3567 (y0_test): Likewise.
3568 (y1_test): Likewise.
3569 (yn_test): Likewise.
3570
dd62fda6
AB
35712012-03-27 Anton Blanchard <anton@samba.org>
3572
3573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3574 MAP_HUGETLB.
3575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3576 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3578
1e3cdfda
AJ
35792012-03-27 David S. Miller <davem@davemloft.net>
3580
b855ab85
DM
3581 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3582
1e3cdfda
AJ
3583 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3584 have-as-vis3 check.
3585
35862012-03-27 Andreas Jaeger <aj@suse.de>
3587
3588 * sysdeps/x86_64/elf/configure.in: Moved to ...
3589 * sysdeps/x86_64/configure.in: ... here.
3590 * sysdeps/x86_64/elf/start.S: Moved to ...
3591 * sysdeps/x86_64/start.S: ... here.
3592 * sysdeps/x86_64/elf/configure: Delete.
3593
3594 * sysdeps/x86_64/configure.in: Merge contents from
3595 sysdeps/i386/configure.in (without i686 check).
3596
3597 * sysdeps/i386/elf/Versions: Merge into ...
3598 * sysdeps/i386/Versions: ... this.
3599 * sysdeps/i386/elf/Versions: Delete file.
3600 * sysdeps/i386/elf/start.S: Moved to ...
3601 * sysdeps/i386/start.S: ...here.
3602 * sysdeps/i386/elf/configure.in: Merge into...
3603 * sysdeps/i386/configure.in: ...here.
3604 * sysdeps/i386/elf/configure.in: Delete file.
3605 * sysdeps/i386/elf/configure: Delete file.
3606
3607 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3608 * debug/backtracesyms.c: ... here.
3609 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3610 * debug/backtracesymsfd.c: ... here.
3611 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3612 * sysdeps/generic/ifunc-sel.h: ... here.
3613
3614 * sysdeps/unix/i386/start.c: Delete file.
3615 * sysdeps/unix/sparc/start.c: Delete file.
3616 * sysdeps/unix/start.c: Delete file.
3617
3618 * sysdeps/sh/elf/configure.in: Moved to ...
3619 * sysdeps/sh/configure.in: ... here.
3620 * sysdeps/sh/elf/start.S: Moved to ...
3621 * sysdeps/sh/start.S: ... here.
3622 * sysdeps/sh/elf/configure: Delete file.
3623
3624 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3625 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3626 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3627 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3628 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3629 * sysdeps/powerpc/powerpc64/start.S: here.
3630 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3631 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3632 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3633 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3634 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3635
3636 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3637 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3638 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3639 * sysdeps/powerpc/powerpc32/start.S: ... here.
3640 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3641 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3642 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3643
3644 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3645 * sysdeps/powerpc/ifunc-sel.h: ... here.
3646 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3647 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3648
3649 * sysdeps/sparc/elf/configure.in: Moved to ...
3650 * sysdeps/sparc/configure.in: ... here.
3651 * sysdeps/sparc/elf/configure: Delete file.
3652 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3653 * sysdeps/sparc/sparc32/start.S: ... here.
3654 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3655 * sysdeps/sparc/sparc64/start.S: ... here.
3656 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3657 * sysdeps/sparc/sparc32/Makefile: ... this.
3658 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3659 * sysdeps/sparc/sparc64/Makefile: ... this.
3660
3661 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3662 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3663 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3664 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3665 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3666 * sysdeps/s390/s390-32/setjmp.S: ... here.
3667 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3668 * sysdeps/s390/s390-32/configure.in: ... here.
3669 * sysdeps/s390/s390-32/elf/configure: Delete file.
3670 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3671 * sysdeps/s390/s390-32/start.S: ... here.
3672
3673 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3674 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3675 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3676 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3677 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3678 * sysdeps/s390/s390-64/setjmp.S: ... here.
3679 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3680 * sysdeps/s390/s390-64/configure.in: ... here
3681 * sysdeps/s390/s390-64/elf/configure: Delete file.
3682 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3683 * sysdeps/s390/s390-64/start.S: ... here.
3684 * sysdeps/s390/s390-64/elf/configure: Delete.
3685
3686 * configure.in: Remove support for elf directories in sysdeps.
3687
3688 * configure: Regenerated.
3689 * sysdeps/i386/configure: Regenerated.
3690 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3691 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3692 * sysdeps/s390/s390-32/configure: Regenerated.
3693 * sysdeps/s390/s390-64/configure: Regenerated.
3694 * sysdeps/sh/configure: Regenerated.
3695 * sysdeps/sparc/configure: Regenerated.
3696 * sysdeps/x86_64/configure: Regenerated.
3697
a3f61311
AS
36982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3699
c876e002
AS
3700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3701
a3f61311
AS
3702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3703 denormal result into account.
3704
ac4c54f0
RM
37052012-03-25 Roland McGrath <roland@hack.frob.com>
3706
3707 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3708 Reported by Allan McRae <allan@archlinux.org>.
3709
6a9b9c02
JL
37102012-03-23 Jeff Law <law@redhat.com>
3711
3712 * nss/getnssent.c (__nss_getent): Fix typo.
3713
4c42a0c1
DM
37142012-03-23 David S. Miller <davem@davemloft.net>
3715
3716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3717
1532c7ac
L
37182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3719
3720 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3721 to pad to uint64_t for each field.
3722 (dl_tls_index): Replace unsigned long with uint64_t.
3723
3ff42526
PP
37242012-03-23 Daniel Jacobowitz <dmj@google.com>
3725 Paul Pluzhnikov <ppluzhnikov@google.com>
3726
3727 [BZ #6528]
3728 * grp/Makefile (otherlibs): Don't set it.
3729 * inet/Makefile (otherlibs): Likewise.
3730 * login/Makefile (otherlibs): Likewise.
3731 * nscd/Makefile (otherlibs): Likewise.
3732 * posix/Makefile (otherlibs): Likewise.
3733 * pwd/Makefile (otherlibs): Likewise.
3734 * rt/Makefile (otherlibs): Likewise.
3735 * sunrpc/Makefile (otherlibs): Likewise.
3736 * nss/Makefile (otherlibs): Likewise.
3737 Add libnss_files to routines and static-only-routines.
3738 ($(objpfx)getent): Remove rule.
3739 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3740 static-only-routines.
3741
7c69cd14
JM
37422012-03-22 Joseph Myers <joseph@codesourcery.com>
3743
3744 [BZ #13892]
3745 * math/s_cexp.c: Include <float.h>.
3746 (__cexp): Handle exp result overflowing not necessarily
3747 overflowing both real and imaginary parts of result.
3748 * math/s_cexpf.c: Likewise.
3749 * math/s_cexpl.c: Likewise.
3750 * math/libm-test.inc (cexp_test): Add more tests.
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753
81b035fe
L
37542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 * include/link.h (ELFW): New macro.
3757 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3758 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3759
1da7940c
L
37602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3761
3762 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3763 with uint64_t.
3764
b749dbb9
L
37652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3768 declaration.
3769 (struct La_x32_retval): Likewise.
3770
2ff87f3f
L
37712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3772
3773 * sysdeps/x86_64/preconfigure.in: New file.
3774 * sysdeps/x86_64/preconfigure: New generated file.
3775
c0df8e69
JM
37762012-03-22 Joseph Myers <joseph@codesourcery.com>
3777
48e44791
JM
3778 [BZ #13824]
3779 * math/e_exp2l.c: Include <float.h>.
3780 (__ieee754_exp2l): Handle overflow and underflow cases
3781 separately. Only pass fractional part of argument to
3782 __ieee754_expl.
3783 * math/libm-test.inc (exp2_test): Add more tests.
3784
c0df8e69
JM
3785 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3786 negating x to take absolute value.
3787 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3788 Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3791 Likewise.
3792 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3793 computing low part if x was negated.
3794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3795
c8e43ba7
L
37962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3797
3798 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3799 la_x32_gnu_pltexit.
3800 (pltexit): Cast int_retval to ptrdiff_t.
3801 * elf/tst-auditmod3b.c: Likewise.
3802 * elf/tst-auditmod4b.c: Likewise.
3803 * elf/tst-auditmod5b.c: Likewise.
3804 * elf/tst-auditmod6b.c: Likewise.
3805 * elf/tst-auditmod6c.c: Likewise.
3806 * elf/tst-auditmod7b.c: Likewise.
3807
3808 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3809 and x32_gnu_pltexit.
3810
3811 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3812 __ELF_NATIVE_CLASS.
3813 (La_x32_regs): New macro.
3814 (La_x32_retval): Likewise.
3815 (la_x32_gnu_pltenter): New function prototype.
3816 (la_x32_gnu_pltexit): Likewise.
3817
7998fa78
AS
38182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3819
dcb33988
AS
3820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3821 exponent.
3822
233fc563
AS
3823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3824
7998fa78
AS
3825 * configure.in (libc_cv_cc_nofma): Check for option to disable
3826 generation of FMA instructions.
3827 * configure: Regenerate.
3828 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3829 * sysdeps/ieee754/dbl-64/Makefile: New file.
3830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3831 Remove brandred-fma4.
3832 (CFLAGS-brandred-fma4.c): Remove.
3833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3835 define.
3836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3837 define.
3838
8e95c99a
L
38392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3842 LLONG_MAX != LONG_MAX.
3843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3844 (_fitoa_word): Likewise.
3845 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3846 LLONG_MAX != LONG_MAX.
3847 * stdio-common/_itowa.h: Include <_itoa.h>.
3848 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3849 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3850 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3851 only if not defined.
3852 (_ITOA_WORD_TYPE): Likewise.
3853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3854 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3855
6f4db457
DM
38562012-03-21 David S. Miller <davem@davemloft.net>
3857
3858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3859
7785fe5a
L
38602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3861
3862 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3863 of x86_64 when setting libc_cv_slibdir, libdir and
3864 libc_cv_localedir.
3865 * sysdeps/unix/sysv/linux/configure: Regenerated.
3866
4535cd55
JM
38672012-03-21 Joseph Myers <joseph@codesourcery.com>
3868
3869 * manual/lang.texi (Old Varargs): Remove section.
3870 (How Variadic): Update menu.
3871 (va_start): Do not mention varargs.h.
3872
17228132
TS
38732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3874 Joseph Myers <joseph@codesourcery.com>
3875
3876 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3877 link test.
3878 * configure: Regenerated.
3879
8149f976
TS
38802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3881
05f3d1f6
UD
3882 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3883 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3884 conformtest.pl
8149f976 3885
1a4ac776
JM
38862012-03-21 Joseph Myers <joseph@codesourcery.com>
3887
be22ce65
JM
3888 * NOTES: Remove.
3889 * Makefile (files-for-dist): Remove NOTES.
3890 (NOTES): Remove rule.
3891 * README: Don't refer to NOTES.
3892 * manual/creature.texi: Don't include macros.texi.
3893 * manual/intro.texi (creature.texi): Remove comment referring to
3894 NOTES.
3895
40b601fb
JM
3896 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3897 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3898 * configure: Regenerated.
3899 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3900 LIBC_TRY_CC_OPTION.
3901 (libc_cv_as_i686): Likewise.
3902 (libc_cv_cc_avx): Likewise.
3903 (libc_cv_cc_sse2avx): Likewise.
3904 (libc_cv_cc_fma4): Likewise.
3905 (libc_cv_cc_novzeroupper): Likewise.
3906 * sysdeps/i386/configure: Regenerated.
3907
1a4ac776
JM
3908 [BZ #13883]
3909 * sysdeps/i386/fpu/s_cexp.S: Remove.
3910 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3911 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3912 * math/libm-test.inc (cexp_test): Add more tests.
3913 * sysdeps/i386/fpu/libm-test-ulps: Update.
3914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3915
a458e7fe
AM
39162012-03-21 Allan McRae <allan@archlinux.org>
3917
3918 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3919
0cb7efc5
JM
39202012-03-21 Joseph Myers <joseph@codesourcery.com>
3921
3922 [BZ #13871]
3923 * math/w_exp2.c: Do not include <float.h>.
3924 (o_threshold, u_threshold): Remove.
3925 (__exp2): Calculate result before checking finiteness and calling
3926 __kernel_standard.
3927 * math/w_exp2f.c: Likewise.
3928 * math/w_exp2l.c: Likewise.
3929 * math/libm-test.inc (exp2_test): Require overflow exception for
3930 1e6 input.
2460d3aa
JM
3931
3932 [BZ #3866]
3933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3934 range of signed 64-bit integers before using fistpll. Remove
3935 checks for whether integers fit in mantissa bits.
3936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3937 the range of signed 32-bit integers before using fistpl. Remove
3938 checks for whether integers fit in mantissa bits.
3939 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3940 (__ieee754_powl): Test for y outside the range of signed 64-bit
3941 integers before using fistpll. Reduce 64-bit values to 63-bit
3942 ones as needed.
3943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3944 divide-by-zero is raised for zero to large negative powers.
3945 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3946 (__ieee754_powl): Test for y outside the range of signed 64-bit
3947 integers before using fistpll. Reduce 64-bit values to 63-bit
3948 ones as needed.
3949 * math/libm-test.inc (pow_test): Add more tests.
3950
eb96ffb0
L
39512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3954 <stdio-common/_itoa.h>.
3955 * debug/segfault.c: Likewise.
3956 * elf/dl-cache.c: Likewise.
3957 * elf/dl-minimal.c: Likewise.
3958 * elf/dl-misc.c: Likewise.
3959 * elf/dl-sysdep.c: Likewise.
3960 * elf/dl-version.c: Likewise.
3961 * elf/rtld.c: Likewise.
3962 * hurd/hurdsock.c: Likewise.
3963 * hurd/lookup-retry.c: Likewise.
3964 * malloc/malloc.c: Likewise.
3965 * malloc/mtrace.c: Likewise.
3966 * nscd/nscd_getgr_r.c: Likewise.
3967 * nscd/nscd_getpw_r.c: Likewise.
3968 * nscd/nscd_getserv_r.c: Likewise.
3969 * posix/getopt_init.c: Likewise.
3970 * posix/wordexp.c: Likewise.
3971 * stdio-common/_itoa.c: Likewise.
3972 * stdio-common/printf_fphex.c: Likewise.
3973 * stdio-common/vfprintf.c: Likewise.
3974 * string/_strerror.c: Likewise.
3975 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3976 * sysdeps/i386/i686/hp-timing.h: Likewise.
3977 * sysdeps/mach/_strerror.c: Likewise.
3978 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3979 * sysdeps/mach/hurd/sethostid.c: Likewise.
3980 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3981 * sysdeps/mach/xpg-strerror.c: Likewise.
3982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3984 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3985 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3986 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3987 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3989 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3990 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3991 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3992 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3993 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3994 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3995 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3998 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4002 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4003
4004 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4005
4006 * stdio-common/_itoa.h: Moved to ...
4007 * sysdeps/generic/_itoa.h: Here.
4008
4009 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4010
4011 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4012 instead of "_itoa.h" and "_itowa.h".
4013 * stdio-common/vfprintf.: Likewise.
4014
d1af992d
L
40152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4016
4017 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4018 <bits/wordsize.h>.
4019 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4020 (__signbit): Likwise.
4021 (llrintf): Likwise.
4022 (llrint): Likwise.
4023
114883e0
L
40242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4027 __WORDSIZE != 64.
4028
c135cc1b
JM
40292012-03-20 Joseph Myers <joseph@codesourcery.com>
4030
4031 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4032 OVERFLOW_EXCEPTION_OK.
4033 * math/libm-test.inc ("Philosophy"): Update comment about
4034 exception testing.
4035 (OVERFLOW_EXCEPTION): Define.
4036 (OVERFLOW_EXCEPTION_OK): Likewise.
4037 (INVALID_EXCEPTION_OK): Renumber.
4038 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4039 (IGNORE_ZERO_INF_SIGN): Likewise.
4040 (test_exceptions): Handle FE_OVERFLOW.
4041 (exp10_test): Expect overflow exceptions.
4042 (exp2_test): Likewise.
4043 (expm1_test): Likewise.
4044 (nextafter_test): Likewise.
4045 (pow_test): Likewise.
4046 (scalbn_test): Likewise.
4047 (scalbln_test): Likewise.
4048
95443d88
L
40492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/bits/atomic.h
4052 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4053 64bit integer.
4054 (atomic_exchange_acq): Likewise.
4055 (__arch_exchange_and_add_body): Likewise.
4056 (__arch_add_body): Likewise.
4057 (atomic_add_negative): Likewise.
4058 (atomic_add_zero): Likewise.
4059
490df6c4
L
40602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4061
c2722551 4062 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4063 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4064
5e52b189
L
40652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4066
4067 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4068 Check __x86_64__ instead of __WORDSIZE.
4069
a9879d4c
L
40702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4073
5df98260
DM
40742012-03-19 David S. Miller <davem@davemloft.net>
4075
e1497744
DM
4076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4077
5df98260
DM
4078 * sysdeps/sparc/fpu/fenv_private.h: New file.
4079 * sysdeps/sparc/fpu/math_private.h: Use it.
4080 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4081 Remove.
4082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4083 (libc_feholdexcept_setroundl): Remove.
4084 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4085 Remove.
4086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4088
b4c35121
L
40892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4092 int64_t instead of long int.
4093 (INSERT_WORDS64): Likwise.
4094
56965fd7
L
40952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4098 _Unwind_GetCFA return to _Unwind_Ptr first.
4099
83d1aec8
JM
41002012-03-19 Joseph Myers <joseph@codesourcery.com>
4101
1897ad44
JM
4102 [BZ #13629]
4103 * math/s_clog.c: Include <float.h>.
4104 (__clog): Scale large or subnormal inputs.
4105 * math/s_clogf.c: Likewise.
4106 * math/s_clogl.c: Likewise.
4107 * math/s_clog10.c: Include <float.h>.
4108 (M_LOG10_2): Define.
4109 (__clog10): Scale large or subnormal inputs.
4110 * math/s_clog10f.c: Likewise.
4111 * math/s_clog10l.c: Likewise.
4112 * math/libm-test.inc (clog_test): Add more tests.
4113 (clog10_test): Likewise.
4114 * sysdeps/i386/fpu/libm-test-ulps: Update.
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116
7726d6a9
JM
4117 [BZ #11451]
4118 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4119 x and y.
4120 * math/libm-test.inc (atan2_test): Add another test.
4121
83d1aec8
JM
4122 * Makerules (common-objdir-compile): Remove.
4123 * sysdeps/unix/Makefile (config-generated): Do not add
4124 $(unix-generated) to variable.
4125 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4126 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4127 Remove rule.
4128 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4129 Likewise.
4130 [generic bits/local_lim.h] (before-compile): Do not append to
4131 variable.
4132 [generic bits/local_lim.h] (common-generated): Likewise.
4133 [generic sys/param.h] (before-compile): Do not append to variable.
4134 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4135 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4138 include.
4139 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4140 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4141 [generic sys/param.h] ($(addprefix
4142 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4143 [generic sys/param.h] (common-generated): Do not append to
4144 variable.
4145 [generic sys/param.h] (sysdep_headers): Likewise.
4146 [generic bits/errno.h] (before-compile): Do not append to
4147 variable.
4148 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4149 rule.
4150 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4151 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4152 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4153 [generic bits/errno.h] (common-generated): Do not append to
4154 variable.
4155 [generic bits/ioctls.h] (before-compile): Do not append to
4156 variable.
4157 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4158 rule.
4159 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4160 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4161 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4162 rule.
4163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4164 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4165 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4166 [generic bits/ioctls.h] (common-generated): Do not append to
4167 variable.
4168 [generic sys/syscall.h] (syscall.h): Remove variable.
4169 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4170 rule.
4171 [generic sys/syscall.h] (before-compile): Do not append to
4172 variable.
4173 [generic sys/syscall.h] (common-generated): Likewise.
4174 * sysdeps/unix/errnos-tmpl.c: Remove file.
4175 * sysdeps/unix/errnos.awk: Likewise.
4176 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4177 * sysdeps/unix/ioctls.awk: Likewise.
4178 * sysdeps/unix/mk-local_lim.c: Likewise.
4179 * sysdeps/unix/snarf-ioctls: Likewise.
4180
4851a949
RH
41812012-03-19 Richard Henderson <rth@twiddle.net>
4182
bd37f2ee
RH
4183 * sysdeps/i386/fpu/fenv_private.h: New file.
4184 * sysdeps/i386/fpu/math_private.h: Use it.
4185 (math_opt_barrier, math_force_eval): Remove.
4186 (libc_feholdexcept_setround_53bit): Remove.
4187 (libc_feupdateenv_53bit): Remove.
4188 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4189 (math_opt_barrier, math_force_eval): Remove.
4190 (libc_feholdexcept): Remove.
4191 (libc_feholdexcept_setround): Remove.
4192 (libc_fetestexcept, libc_fesetenv): Remove.
4193 (libc_feupdateenv_test): Remove.
4194 (libc_feupdateenv, libc_feholdsetround): Remove.
4195 (libc_feresetround): Remove.
4196
d0adc922
RH
4197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4198 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4199
0fe0f1f8
RH
4200 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4201 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4202 (libc_feupdateenv_testl): New.
4203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4204 (libc_feupdateenv_testf): New.
4205 (libc_feupdateenv): Use libc_feupdateenv_test.
4206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4208
eb92c487
RH
4209 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4210 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4211 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4212 (libc_feresetround_noex): New.
4213 (libc_feresetround_noexf): New.
4214 (libc_feresetround_noexl): New.
4215 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4216 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4217 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4218 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4219 SET_RESTORE_ROUND.
4220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4222 (__cos): Likewise.
4223 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4225 SET_RESTORE_ROUND_NOEX.
4226 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4227 SET_RESTORE_ROUND_NOEXF.
4228 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4229 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4230 (libc_feholdsetroundf): New.
4231 (libc_feresetround, libc_feresetroundf): New.
4232
7d2e8012
RH
4233 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4234 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4235 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4236
b4dabbb4
RH
4237 * sysdeps/generic/math_private.h: Include <fenv.h>.
4238 (default_libc_feholdexcept): New.
4239 (default_libc_feholdexcept_setround): New.
4240 (default_libc_fesetenv, default_libc_feupdateenv): New.
4241 (libc_feholdexcept): Only define if undefined.
4242 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4244 (libc_feholdexcept_setroundl): Likewise.
4245 (libc_feholdexcept_setround_53bit): Likewise.
4246 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4249 (libc_feupdateenv_53bit): Likewise.
4250 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4251 (libc_feholdexcept): Convert from macro to inline function.
4252 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4253 (libc_fesetenv, libc_feupdateenv): Likewise.
4254
4851a949
RH
4255 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4256 not previously defined.
4257 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4258 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4259 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4260 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4261 * sysdeps/ieee754/flt-32/math_private.h: New file.
4262 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4263 math_private.h below SET_FLOAT_WORD.
4264 (__isnan, __isinf_ns, __finite): Remove.
4265 (__isnanf, __isinf_nsf, __finitef): Remove.
4266
e79d442e
AS
42672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4268
4269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4270
90b80344
DM
42712012-03-17 David S. Miller <davem@davemloft.net>
4272
4273 [BZ #6471]
4274 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4275 for 2.16.
4276
edc21804
DM
42772012-03-16 David S. Miller <davem@davemloft.net>
4278
77e927af
DM
4279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4280 warnings.
4281
374976dd
DM
4282 [BZ #6471]
4283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4284 properly.
4285 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4286 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4287 sysdep_routines when subdir is sysvipc.
4288 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4289 __getshmlba helper.
4290
edc21804
DM
4291 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4292
473c3ef3
L
42932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4296 [__LP64__].
4297
eb0f39b6
L
42982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4301 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4302 (__lround): Renamed to ...
4303 (__llround): This. Replace long int with long long int.
4304 Define lround functions as aliases of llround functions.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4306
6b6cd74b
L
43072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4308
4309 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4310 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4311 adresses to uintptr_t. Replace "long int" and "unsigned long
4312 int" with "greg_t" on va_arg.
4313
f1a77b01
L
43142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4315
4316 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4317 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4318
4319 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4320 Move e_machine check before EI_CLASS check. Handle x32
4321 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4322 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4323 SKIP_EM_IA_64 and include
4324 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4325
4326 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4327 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4328 (add_system_dir): New macro.
4329
4330 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4331 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4332
11b90b9f
JM
43332012-03-16 Joseph Myers <joseph@codesourcery.com>
4334
c36e1d23
JM
4335 [BZ #2551]
4336 [BZ #2552]
4337 [BZ #2553]
4338 [BZ #2554]
4339 [BZ #2562]
4340 [BZ #2563]
4341 [BZ #2565]
4342 [BZ #2566]
4343 [BZ #2576]
4344 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4345 (y0): Likewise.
4346 * math/w_j0f.c (j0f): Likewise.
4347 (y0f): Likewise.
4348 * math/w_j0l.c (__j0l): Likewise.
4349 (__y0l): Likewise.
4350 * math/w_j1.c (j1): Likewise.
4351 (y1): Likewise.
4352 * math/w_j1f.c (j1f): Likewise.
4353 (y1f): Likewise.
4354 * math/w_j1l.c (__j1l): Likewise.
4355 (__y1l): Likewise.
4356 * math/w_jn.c (jn): Likewise.
4357 (yn): Likewise.
4358 * math/w_jnf.c (jnf): Likewise.
4359 (ynf): Likewise.
4360 * math/w_jnl.c (__jnl): Likewise.
4361 (__ynl): Likewise.
4362 * math/libm-test.inc (j0_test): Add more tests.
4363 (j1_test): Likewise.
4364 (jn_test): Likewise. Add trailing semicolon to existing test.
4365 (y0_test): Likewise.
4366 (y1_test): Likewise.
4367 * sysdeps/i386/fpu/libm-test-ulps: Update.
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4369
11b90b9f
JM
4370 [BZ #13851]
4371 [BZ #13854]
4372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4373 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4374 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4376 (__tanl): Set errno for infinite argument.
4377 * sysdeps/i386/fpu/mptan.c: Remove.
4378 * sysdeps/i386/fpu/s_tan.S: Likewise.
4379 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4380 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4381 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4382 * math/libm-test.inc (tan_test): Add more tests and enable more
4383 tests for double and long double.
4384 * sysdeps/i386/fpu/libm-test-ulps: Update.
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386
6a1bd2a1
JK
43872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4388
4389 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4390 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4391
10a803e0
RM
43922012-03-16 Roland McGrath <roland@hack.frob.com>
4393
4394 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4395 * configure.in: Use it for both main tree and add-ons.
4396 * configure: Regenerated.
4397
f196c7f7
L
43982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4399
4400 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4401
8848d99d
JM
44022012-03-16 Joseph Myers <joseph@codesourcery.com>
4403
96cbe7f4
JM
4404 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4405 in comment.
4406
8848d99d
JM
4407 [BZ #13851]
4408 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4409 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4413 infinite argument.
4414 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4416 != 0 for prec == 2.
4417 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4418 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4419 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4420 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4421 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4422 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4423 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4424 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4425 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4426 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4427 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4428 * math/libm-test.inc (cos_test): Add more tests and enable more
4429 tests for long double.
4430 (sin_test): Likewise.
4431 (sincos_test): Likewise.
4432 * sysdeps/i386/fpu/libm-test-ulps: Update.
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434
dd7f4703
DM
44352012-03-16 David S. Miller <davem@davemloft.net>
4436
4437 * sysdeps/sparc/fpu/math_private.h: New file.
4438
006f1daa
DM
44392012-03-15 David S. Miller <davem@davemloft.net>
4440
c0c83bc8
DM
4441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4442 file.
e6a62e18 4443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4445 file.
e6a62e18
DM
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4452 sysdep routines.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4454
88cb87d9
DM
4455 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4456 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4457
006f1daa 4458 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4460 sparc-ifunc.h
006f1daa 4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4463 Likewise.
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4465 Likewise.
006f1daa
DM
4466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4470 Likewise.
006f1daa
DM
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4476 Likewise.
4477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4478 Likewise.
006f1daa
DM
4479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4503
11e0098e
AS
45042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4505
4506 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4507 scaling.
4508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4509
e85b09d0
AJ
45102012-03-15 Andreas Jaeger <aj@suse.de>
4511
4512 [BZ #13852]
4513 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4514 ieee754/flt-32 implementation for sin, cos and sincos.
4515 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4516 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4517 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4518 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4519 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4520 ieee754/flt-32 implementation for tan.
4521
4522 * math/libm-test.inc (cos_test): Enable some large input tests for
4523 float as well
4524 (sin_test): Likewise.
4525 (sincos_test): Likewise.
4526 (tan_test): Add tests for large input.
4527
4528 * sysdeps/i386/fpu/libm-test-ulps: Update.
4529
81c64153
AJ
45302012-03-15 Andreas Jaeger <aj@suse.de>
4531
4532 [BZ #13658]
4533 * math/libm-test.inc (cos_test): Add more test cases.
4534 (sin_test): Likewise.
4535 (sincos_test): Likewise.
4536
7bbfa5c6
AJ
45372012-03-15 Andreas Jaeger <aj@suse.de>
4538
4539 [BZ #13837]
4540 * math/libm-test.inc (cos_test): Add a test case for large input
4541 value.
4542 (sin_test): Likewise.
4543 (sincos_test): Likewise.
4544
45452012-03-15 Andreas Jaeger <aj@suse.de>,
4546 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #13658]
0671f479 4549 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4550 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4551 * sysdeps/i386/fpu/branred.c: Likewise.
4552 * sysdeps/i386/fpu/dosincos.c: Likewise.
4553 * sysdeps/i386/fpu/mpa.c: Likewise.
4554 * sysdeps/i386/fpu/s_cos.S: Likewise.
4555 * sysdeps/i386/fpu/s_sin.S: Likewise.
4556 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4557 * sysdeps/i386/fpu/sincos32.c: Likewise.
4558
4559 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4560 Define.
4561 (libc_feupdateenv_53bit): Define.
4562 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4563 Define.
4564 (libc_feupdateenv_53bit): Define.
4565
4566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4567 53 bit (without extend i386 double precision).
4568
4569 * math/libm-test.inc (sincos_test): Add tests for large input.
4570 (sin): Likewise.
4571 (cos): Likewise.
4572
4573 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4574
9cad04ea
AS
45752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4576
4577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4578
f7062b9a
DM
45792012-03-15 David S. Miller <davem@davemloft.net>
4580
4581 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4582 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4583 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4584 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4597 file.
f7062b9a 4598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4600 file.
f7062b9a 4601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4603 file.
f7062b9a 4604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4606 file.
f7062b9a
DM
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4609 fmin/fmax sysdep routines.
4610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4611
7bd951ff
DM
46122012-03-14 David S. Miller <davem@davemloft.net>
4613
559398ab
DM
4614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4643 routines.
4644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4645 file.
559398ab 4646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4648 file.
559398ab 4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4651 file.
559398ab 4652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4654 file.
559398ab 4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4657 file.
559398ab 4658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4660 file.
4661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4662 file.
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4664 file.
4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4666 file.
4667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4668 New file.
4669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4670 file.
4671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4672 file.
559398ab 4673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4675 file.
559398ab 4676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4678 file.
559398ab 4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4681 file.
559398ab 4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4684 VIS3 routines.
559398ab
DM
4685
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4687 New file.
4688
5a1c1e32
DM
4689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4690
eae47a36
DM
4691 * sysdeps/sparc/configure.in: New file.
4692 * sysdeps/sparc/configure: Generate.
4693 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4694 * configure: Regenerate.
4695 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4696 * config.make.in (have-as-vis3): New.
4697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4698 available use -Av9d instead of -Av9a.
4699 * sysdeps/sparc/sparc64/Makefile: Likewise.
4700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4702 New file.
4703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4704 file.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4706 New file.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4708 file.
eae47a36
DM
4709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4714
c0c83bc8
DM
4715 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4716 fzeros/fnegs to load 0x80000000 into a float register instead of
4717 using the stack.
7bd951ff
DM
4718 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4719
bd951ccb
JM
47202012-03-14 Joseph Myers <joseph@codesourcery.com>
4721
4722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4723 bits/syscall.h.
4724 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4725 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4726 ($(inst_includedir)/bits/syscall.h): Remove rule.
4727 ($(objpfx)bits/syscall.d): Include instead of
4728 $(objpfx)syscall-list.d.
4729 (generated): Change syscall-list.h and syscall-list.d to
4730 bits/syscall.h and bits/syscall.d.
4731
bb4e6db2
RM
47322012-03-14 Roland McGrath <roland@hack.frob.com>
4733
4734 [BZ #13846]
4735 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4736
aa4a2ae1
JM
47372012-03-14 Joseph Myers <joseph@codesourcery.com>
4738
e456826d
JM
4739 [BZ #13841]
4740 * math/s_csqrt.c: Include <float.h>.
4741 (__csqrt): Scale large or subnormal inputs.
4742 * math/s_csqrtf.c: Likewise.
4743 * math/s_csqrtl.c: Likewise.
4744 * math/libm-test.inc (csqrt_test): Add more tests.
4745 * sysdeps/i386/fpu/libm-test-ulps: Update.
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4747
aa4a2ae1
JM
4748 [BZ #13840]
4749 * math/libm-test.inc (hypot_test): Add more tests.
4750
7c10fd35
DM
47512012-03-13 David S. Miller <davem@davemloft.net>
4752
4753 [BZ #13840]
4754 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4755 double-precision for the calculation instead of scaling.
4756
f453b98b
JM
47572012-03-13 Joseph Myers <joseph@codesourcery.com>
4758
4759 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4760 manipulate bits before adding and subtracting TWO52[sx].
4761 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4763 Likewise.
4764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4765
09a3453f
DM
47662012-03-13 David S. Miller <davem@davemloft.net>
4767
8e59da90
DM
4768 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4769 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4771 rtld-global-offsets.h
4772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4773
2a8ab7f2
DM
4774 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4775 large parameters.
4776
10f62770
DM
4777 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4778
5f0bdb18
DM
4779 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4780 'err' in the ifdef scope in which it is actually used.
4781
09a3453f
DM
4782 * nss/nss_db/db-init.c: Include string.h
4783
b4b2eb5e
DM
47842012-03-12 David S. Miller <davem@davemloft.net>
4785
98bb2f1c
DM
4786 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4787 masking out of the most significant byte of random value used.
4788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4789 Fix coding style in previous change.
4790
b4b2eb5e
DM
4791 * sysdeps/unix/sysv/linux/kernel-features.h
4792 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4793 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4794 expression.
4795 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4796 later.
4797
6e226b09
DM
47982012-03-11 David S. Miller <davem@davemloft.net>
4799
a1bcbd40
DM
4800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4801 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4803 for 'resultvar' otherwise things get truncated on 64-bit.
4804
cb9d6174
DM
4805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4806 Fix masking out of the most significant byte of random value used.
4807
6e226b09
DM
4808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4809
058c132d
AS
48102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4811
4812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4813
2d2cd515
DM
48142012-03-09 David S. Miller <davem@davemloft.net>
4815
4816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4817 variables with appropriate CPP guards.
4818 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4819 frame pointer, not the stack pointer. Correct layout comments. Fix test
4820 on resulting framesize and the management of the outregs buffer for pltexit.
4821 Preserve floating point return values across _dl_call_pltexit call.
4822 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4823 framesize and the management of the outregs buffer for pltexit.
4824 Preserve floating point return values across _dl_call_pltexit
4825 call.
4826 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4827 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4828 (print_exit): Fix format string for return register value.
4829
9a07f9d0
JM
48302012-03-10 Joseph Myers <joseph@codesourcery.com>
4831
4832 * sunrpc/Makefile (others): Add rpcgen.
4833 ($(objpfx)rpcgen): Remove special build rule and dependency on
4834 libc.
4835 * sunrpc/rpcgen.c: New file.
4836
547b5e30
PE
48372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4838
c524201a
PE
4839 [BZ #13673]
4840 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4841 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4842 * sysdeps/i386/crti.S: Likewise.
4843 * sysdeps/i386/crtn.S: Likewise.
4844 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4846 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4847 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4848 * sysdeps/sh/crti.S: Likewise.
4849 * sysdeps/sh/crtn.S: Likewise.
4850 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4851
7b6235f2
PE
4852 [BZ #13673]
4853 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4854 with URL.
4855 * locale/programs/locfile-kw.gperf: Likewise.
4856 * locale/programs/charmap-kw.h: Regenerated.
4857 * locale/programs/locfile-kw.h: Likewise.
4858
547b5e30
PE
4859 [BZ #13673]
4860 * intl/plural.y: Replace FSF snail mail address with URL.
4861 * intl/plural.c: Regenerated.
4862
5f0a5dae
RH
48632012-03-09 Richard Henderson <rth@twiddle.net>
4864
4865 * include/math_private.h: Remove file.
4866 * math/math_private.h: Move file ...
4867 * sysdeps/generic/math_private.h: ... here.
4868
b8c03620
RH
4869 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4870 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4871 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4872
4e234f5d 4873 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4874 and <math_private.h>.
4875 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4876 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4877 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4878 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4879 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4963 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4964 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4965 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4966 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4969 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4970 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4971 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4972 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4973 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4975 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4976 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4977 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4978 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4979 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4980 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4981 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4982 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4989 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4990 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4993 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4994 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4997 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4998 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4999 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5001 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5002 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5003 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5005 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5006 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5010 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5011 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5012 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5013 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5014 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5016 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5017 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5018 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5019 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5020 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5021 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5022 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5023 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5024 * sysdeps/ieee754/k_standard.c: Likewise.
5025 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5026 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5029 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5030 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5145 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5147 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5152 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5174 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5175 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5185 * sysdeps/ieee754/s_lib_version.c: Likewise.
5186 * sysdeps/ieee754/s_matherr.c: Likewise.
5187 * sysdeps/ieee754/s_signgam.c: Likewise.
5188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5190 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5191 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5192 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5193 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5194 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5195 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5196 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5197 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5198 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5199 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5200 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5201 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5202 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5203 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5204 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5205 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5206 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5208 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5209
1991fa03
JM
52102012-03-09 Joseph Myers <joseph@codesourcery.com>
5211
5212 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5213 * sunrpc/rpc_main.c: Likewise.
5214 * sunrpc/rpc_svcout.c: Likewise.
5215
60d6f5a6
DM
52162012-03-09 David S. Miller <davem@davemloft.net>
5217
5218 * include/math_private.h: New file.
5219
4962050e
JM
52202012-03-09 Joseph Myers <joseph@codesourcery.com>
5221
02a6f887
JM
5222 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5223 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5224 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5225 from <bits/socket_type.h>.
5226 (enum __socket_type): Don't define here.
5227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5229 bits/socket_type.h.
5230
c6e013c1
JM
5231 [BZ #13566]
5232 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5233 checking __USE_GNU.
5234
4962050e
JM
5235 * Makerules ($(inst_includedir)/%.h): New rule.
5236 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5237 (install-others): Remove variable setting.
5238 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5239
38842f45
RH
52402012-03-08 Richard Henderson <rth@twiddle.net>
5241
67bb6da6
RH
5242 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5243 from macro to inline function; merge with the
5244 !__LIBC_INTERNAL_MATH_INLINES version.
5245 (__ieee754_sqrtf): Likewise.
5246
15194b4b
RH
5247 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5248 to inline function.
5249 (__rintf, __floor, __floorf): Likewise.
5250
64e21ede
RH
5251 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5252 macro to inline function.
5253 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5254
38842f45
RH
5255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5256 not <math/math_private.h>.
5257
c64bf5fe
DM
52582012-03-08 David S. Miller <davem@davemloft.net>
5259
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5261 copyright year.
5262 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5263
82d86f28
TS
52642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5265
5266 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5267 normalization.
5268 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5269 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5270
aea5d727
UD
52712012-03-08 Ulrich Drepper <drepper@gmail.com>
5272
5273 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5274 be defined individually, they must be defined as a block. Define
5275 S for printing a string instead of hidint the different by using a
5276 macro for adding the 'l'.
5277 * stdio-common/tst-fphex-wide.c: Adjust.
5278
70bca0a3
MP
52792012-03-07 Marek Polacek <polacek@redhat.com>
5280
5281 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5282
65b81130
MP
52832012-03-08 Marek Polacek <polacek@redhat.com>
5284
5285 [BZ #13806]
5286 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5287 * stdio-common/tst-fphex.c: Define a few macros to make the
5288 test reusable. Use them.
5289 * stdio-common/tst-fphex-wide.c: New file.
5290
07037eeb
JM
52912012-03-08 Joseph Myers <joseph@codesourcery.com>
5292
a7a93d50
JM
5293 [BZ #6911]
5294 * manual/macros.texi (gnusystems): New macro.
5295 (nongnusystems): Likewise.
5296 (gnulinuxhurdsystems): Likewise.
5297 (gnuhurdsystems): Likewise..
5298 (gnulinuxsystems): Likewise.
5299 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5300 variants of the GNU system, not "GNU system".
5301 * manual/conf.texi: Likewise.
5302 * manual/errno.texi: Likewise. Update example of errno macro
5303 expansion.
5304 * manual/filesys.texi: Likewise.
5305 (getumask): Document as specific to GNU/Hurd.
5306 * manual/install.texi: Likewise. Reword some references to
5307 GNU/Linux.
5308 * manual/intro.texi: Likewise.
5309 * manual/io.texi: Likewise.
5310 (File Name Portability): Detail which constraints are inapplicable
5311 to all GNU systems and which are only inapplicable to GNU/Hurd.
5312 * manual/job.texi: Likewise.
5313 * manual/llio.texi: Likewise.
5314 (O_NOCTTY): Document as present on GNU/Linux.
5315 * manual/maint.texi: Likewise.
5316 * manual/memory.texi: Likewise.
5317 * manual/pattern.texi: Likewise.
5318 * manual/pipe.texi: Likewise.
5319 * manual/process.texi: Likewise.
5320 * manual/resource.texi: Likewise.
5321 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5322 child on GNU/Hurd.
5323 * manual/setjmp.texi: Likewise.
5324 * manual/signal.texi: Likewise.
5325 * manual/startup.texi: Likewise.
5326 * manual/stdio.texi: Likewise.
5327 * manual/terminal.texi: Likewise.
5328 (ONLCR): Document as POSIX.
5329 (OXTABS): Document availability on GNU/Linux as XTABS.
5330 (ONOEOT): Document availability separately from other bits.
5331 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5332 * manual/time.texi: Likewise.
5333 * manual/users.texi: Likewise.
5334 * INSTALL: Regenerated.
5335 * sysdeps/gnu/errlist.c: Regenerated.
5336
07037eeb
JM
5337 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5338 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5339 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5340 puts.
5341 * configure: Regenerated.
5342
d1d3431a
JM
53432012-03-07 Joseph Myers <joseph@codesourcery.com>
5344
af6a1e37
JM
5345 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5346 default includes instead of AC_HEADER_CHECK.
5347 * sysdeps/i386/configure: Regenerated.
5348
d1d3431a
JM
5349 [BZ #10716]
5350 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5351 * math/s_cacoshf.c (__cacoshf): Likewise.
5352 * math/s_cacoshl.c (__cacoshl): Likewise.
5353 * math/s_casinh.c (__casinh): Set signs of result from argument.
5354 * math/s_casinhf.c (__casinhf): Likewise.
5355 * math/s_casinhl.c (__casinhl): Likewise.
5356 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5357 (casinh_test): Add more tests.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
482ff4da
UD
53612012-03-07 Ulrich Drepper <drepper@gmail.com>
5362
872fda05
UD
5363 * po/zh_TW.po: Update from translation team.
5364
a4300c7a
UD
5365 * login/Makefile (distribute): Remove variable.
5366 * catgets/Makefile: Likewise.
5367 * mach/Makefile: Likewise.
5368 * malloc/Makefile: Likewise.
5369 * misc/Makefile: Likewise.
5370 * iconv/Makefile: Likewise.
5371 * nscd/Makefile: Likewise.
5372 * hurd/Makefile: Likewise.
5373 * manual/Makefile: Likewise.
5374 * locale/Makefile: Likewise.
5375 * intl/Makefile: Likewise.
5376 * conform/Makefile: Likewise.
5377 * nss/Makefile: Likewise.
5378 * time/Makefile: Likewise.
5379 * soft-fp/Makefile: Likewise.
5380 * dirent/Makefile: Likewise.
5381 * gmon/Makefile: Likewise.
5382 * po/Makefile: Likewise.
5383 * rt/Makefile: Likewise.
5384 * socket/Makefile: Likewise.
5385 * math/Makefile: Likewise.
5386 * signal/Makefile: Likewise.
5387 * debug/Makefile: Likewise.
5388 * elf/Makefile: Likewise.
5389 * timezone/Makefile: Likewise.
5390 * stdlib/Makefile: Likewise.
5391 * iconvdata/Makefile: Likewise.
5392 * sunrpc/Makefile: Likewise.
5393 * io/Makefile: Likewise.
5394 * argp/Makefile: Likewise.
5395 * inet/Makefile: Likewise.
5396 * hesiod/Makefile: Likewise.
5397 * grp/Makefile: Likewise.
5398 * csu/Makefile: Likewise.
5399 * wctype/Makefile: Likewise.
5400 * crypt/Makefile: Likewise.
5401 * libio/Makefile: Likewise.
5402 * string/Makefile: Likewise.
5403 * nis/Makefile: Likewise.
5404 * resolv/Makefile: Likewise.
5405 * stdio-common/Makefile: Likewise.
5406 * wcsmbs/Makefile: Likewise.
5407 * dlfcn/Makefile: Likewise.
5408 * posix/Makefile: Likewise.
5409
3b7c4e74 5410 [BZ #6959]
482ff4da
UD
5411 * timezone/Makefile: Don't install timezone files, just the programs
5412 and scripts.
5413
f72ed77d
UD
54142012-03-06 Ulrich Drepper <drepper@gmail.com>
5415
a000466f
UD
5416 * nss/databases.def: Add missing gshadow entry.
5417
f72ed77d
UD
5418 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5419
a53b7a4e
MP
54202012-03-06 Marek Polacek <polacek@redhat.com>
5421
5422 [BZ #13726]
5423 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5424 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5425 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5426 * stdio-common/tst-long-dbl-fphex.c: New file.
5427
e9258400
DM
54282012-03-06 David S. Miller <davem@davemloft.net>
5429
5430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5431 (set_obp_int): New function.
5432 (get_obp_int): New function.
5433 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5434 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5435 Avoid unused variable warnings on 'val' and use builtin_expect.
5436 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5437 __builtin_expect.
e9258400
DM
5438 (INLINE_CLONE_SYSCALL): Likewise.
5439
3bd2c723
DM
54402012-03-05 David S. Miller <davem@davemloft.net>
5441
5442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5443
bbb78d03
AS
54442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5445
884c5db4
AS
5446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5447
bbb78d03
AS
5448 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5449 only for |x| >= 40.
5450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5451
1c9f702a 54522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5453
5454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5455 Replace gettimeofday with __vdso_gettimeofday.
5456
7be16f82
RM
5457 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5458 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5459 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5460
5461 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5462 time with __vdso_time.
5463
ed58a00f
JM
54642012-03-05 Joseph Myers <joseph@codesourcery.com>
5465
5466 * manual/lang.texi (size_t): Note types to which size_t may be
5467 equivalent with the GNU C Library, but do not describe when
5468 differences between them are significant.
5469
30ee4ced
AJ
54702012-03-05 Andreas Jaeger <aj@suse.de>
5471
5472 * sysdeps/i386/fpu/libm-test-ulps: Update.
5473
b7cd39e8
JM
54742012-03-05 Joseph Myers <joseph@codesourcery.com>
5475
5476 [BZ #3976]
5477 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5478 (__ieee754_pow): Save and restore rounding mode and use
5479 round-to-nearest for main computations.
5480 * math/libm-test.inc (pow_test_tonearest): New function.
5481 (pow_test_towardzero): Likewise.
5482 (pow_test_downward): Likewise.
5483 (pow_test_upward): Likewise.
5484 (main): Call the new functions.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5487
5488 [BZ #3976]
5489 * math/libm-test.inc (cosh_test_tonearest): New function.
5490 (cosh_test_towardzero): Likewise.
5491 (cosh_test_downward): Likewise.
5492 (cosh_test_upward): Likewise.
5493 (sinh_test_tonearest): Likewise.
5494 (sinh_test_towardzero): Likewise.
5495 (sinh_test_downward): Likewise.
5496 (sinh_test_upward): Likewise.
5497 (main): Call the new functions.
5498 * sysdeps/i386/fpu/libm-test-ulps: Update.
5499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500
6c6a98c9
TV
55012012-03-05 Tom de Vries <tom@codesourcery.com>
5502
5503 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5504 default stack guard is set in last bytes.
5505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5506
21bb2d2e 55072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5508
21bb2d2e 5509 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5510
21bb2d2e
AJ
5511 [BZ #13656]
5512 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5513 possibly allocate from heap instead of stack.
5514 * stdio-common/bug-vfprintf-nargs.c: New file.
5515 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5516
c6922934
AS
55172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5518
5519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5520
bc957d53
MP
55212012-03-03 Marek Polacek <polacek@redhat.com>
5522
5523 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5524 * math/math_private.h: Likewise.
5525 * stdlib/tst-strtod.c: Likewise.
5526 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5527 * sysdeps/x86_64/bits/atomic.h: Likewise.
5528
6358490d
DM
55292012-03-02 David S. Miller <davem@davemloft.net>
5530
5531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5535 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5536 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5537 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5538 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5539
01ae168d
RM
55402012-03-02 Roland McGrath <roland@hack.frob.com>
5541
d9a17c07
RM
5542 [BZ #13792]
5543 * manual/examples/README: New file, says the example source files
5544 can be used under GPL>=2.
5545 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5546 line containing just "*/".
5547 * manual/examples/add.c: Add copyright header (GPL>=2).
5548 * manual/examples/argp-ex1.c: Likewise.
5549 * manual/examples/argp-ex2.c: Likewise.
5550 * manual/examples/argp-ex3.c: Likewise.
5551 * manual/examples/argp-ex4.c: Likewise.
5552 * manual/examples/atexit.c: Likewise.
5553 * manual/examples/db.c: Likewise.
5554 * manual/examples/dir.c: Likewise.
5555 * manual/examples/dir2.c: Likewise.
5556 * manual/examples/execinfo.c: Likewise.
5557 * manual/examples/filecli.c: Likewise.
5558 * manual/examples/filesrv.c: Likewise.
5559 * manual/examples/fmtmsgexpl.c: Likewise.
5560 * manual/examples/genpass.c: Likewise.
5561 * manual/examples/inetcli.c: Likewise.
5562 * manual/examples/inetsrv.c: Likewise.
5563 * manual/examples/isockad.c: Likewise.
5564 * manual/examples/longopt.c: Likewise.
5565 * manual/examples/memopen.c: Likewise.
5566 * manual/examples/memstrm.c: Likewise.
5567 * manual/examples/mkfsock.c: Likewise.
5568 * manual/examples/mkisock.c: Likewise.
5569 * manual/examples/mygetpass.c: Likewise.
5570 * manual/examples/pipe.c: Likewise.
5571 * manual/examples/popen.c: Likewise.
5572 * manual/examples/rprintf.c: Likewise.
5573 * manual/examples/search.c: Likewise.
5574 * manual/examples/select.c: Likewise.
5575 * manual/examples/setjmp.c: Likewise.
5576 * manual/examples/sigh1.c: Likewise.
5577 * manual/examples/sigusr.c: Likewise.
5578 * manual/examples/stpcpy.c: Likewise.
5579 * manual/examples/strdupa.c: Likewise.
5580 * manual/examples/strftim.c: Likewise.
5581 * manual/examples/strncat.c: Likewise.
5582 * manual/examples/subopt.c: Likewise.
5583 * manual/examples/swapcontext.c: Likewise.
5584 * manual/examples/termios.c: Likewise.
5585 * manual/examples/testopt.c: Likewise.
5586 * manual/examples/testpass.c: Likewise.
5587 * manual/examples/timeval_subtract.c: Likewise.
5588
01ae168d
RM
5589 [BZ #13792]
5590 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5591 function to ...
5592 * manual/timeval_subtract.c.texi: ... here, new file.
5593
49efa33d
DM
55942012-03-02 David S. Miller <davem@davemloft.net>
5595
5596 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5597
28afd92d
JM
55982012-03-02 Joseph Myers <joseph@codesourcery.com>
5599
804360ed
JM
5600 [BZ #3976]
5601 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5602 (__sin): Save and restore rounding mode and use round-to-nearest
5603 for all computations.
5604 (__cos): Save and restore rounding mode and use round-to-nearest
5605 for all computations.
5606 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5607 <fenv.h>.
5608 (tan): Save and restore rounding mode and use round-to-nearest for
5609 all computations.
5610 * math/libm-test.inc (cos_test_tonearest): New function.
5611 (cos_test_towardzero): Likewise.
5612 (cos_test_downward): Likewise.
5613 (cos_test_upward): Likewise.
5614 (sin_test_tonearest): Likewise.
5615 (sin_test_towardzero): Likewise.
5616 (sin_test_downward): Likewise.
5617 (sin_test_upward): Likewise.
5618 (tan_test_tonearest): Likewise.
5619 (tan_test_towardzero): Likewise.
5620 (tan_test_downward): Likewise.
5621 (tan_test_upward): Likewise.
5622 (main): Call the new functions.
5623 * sysdeps/i386/fpu/libm-test-ulps: Update.
5624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5625
a6d06d7b
JM
5626 [BZ #10135]
5627 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5628 small n, then large n, before computing and testing k+n.
5629 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5631 Likewise.
5632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5633 Likewise.
5634 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5635 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5636 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5637 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5642 * math/libm-test.inc (scalbn_test): Add more tests.
5643 (scalbln_test): Likewise.
5644
07e12bb3
JM
5645 * manual/filesys.texi (mode_t): Describe constraints on size and
5646 signedness, not exact equivalence to a particular type.
5647 (ino_t): Likewise.
5648 (ino64_t): Likewise.
5649 (dev_t): Likewise.
5650 (nlink_t): Likewise.
5651 (blkcnt_t): Likewise.
5652 (blkcnt64_t): Likewise.
5653 * manual/llio.texi (off_t): Likewise.
5654
28afd92d
JM
5655 [BZ #3976]
5656 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5657 (__ieee754_exp): Save and restore rounding mode and use
5658 round-to-nearest for all computations.
5659 * math/libm-test.inc (exp_test_tonearest): New function.
5660 (exp_test_towardzero): Likewise.
5661 (exp_test_downward): Likewise.
5662 (exp_test_upward): Likewise.
5663 (main): Call the new functions.
5664 * sysdeps/i386/fpu/libm-test-ulps: Update.
5665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666
b1eeb65d
CD
56672012-03-01 Chris Demetriou <cgd@google.com>
5668
5669 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5670 have predictable order.
5671
53362a4b
DM
56722012-03-01 David S. Miller <davem@davemloft.net>
5673
3c969083
DM
5674 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5675
759707de
DM
5676 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5677 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5678 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5679 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5680
dfdb8ff2
DM
5681 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5682 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5683 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5685 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5686 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5687 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5688 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5689 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5690
ead89f96
DM
5691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5692
7f66bd07
DM
5693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5694 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5696
53362a4b
DM
5697 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5698 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5699 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5700 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5701 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5704 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5705 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5706 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5707 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5713 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5714 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5715 * sysdeps/sparc/elf/configure: Regenerated.
5716
7b1902cb
JM
57172012-03-01 Joseph Myers <joseph@codesourcery.com>
5718
bec039bc
JM
5719 * configure.in (AS, LD): Require binutils 2.20 or later.
5720 * configure: Regenerated.
5721 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5722 as required minimum version.
5723 * INSTALL: Regenerated.
5724
7b1902cb
JM
5725 [BZ #2541]
5726 [BZ #4108]
5727 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5728 before squaring exponent.
5729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5730 bottom long double and 27 bits of top long double before squaring
5731 exponent.
5732 * math/libm-test.inc (erfc_test): Add more tests.
5733 * sysdeps/i386/fpu/libm-test-ulps: Update.
5734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5736
f775c276
KT
57372012-03-01 Kai Tietz <ktietz@redhat.com>
5738
5739 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5740 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5741 containing bit-fields.
5742 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5743 * soft-fp/single.h (_FP_UNION_S): Likewise.
5744 * soft-fp/double.h (_FP_UNION_D): Likewise.
5745
5b8a4d4a
JM
57462012-02-29 Joseph Myers <joseph@codesourcery.com>
5747
0bab47b6
JM
5748 [BZ #13786]
5749 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5750 not include ../strcmp.S.
5751 [USE_AS_STRNCASECMP_L]: Likewise.
5752 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5753 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5754 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5755 (__strncasecmp_l_ia32): Define as alias to
5756 __strncasecmp_l_nonascii.
5757
0fcad3e2
JM
5758 [BZ #5794]
5759 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5760 * sysdeps/i386/fpu/libm-test-ulps: Update.
5761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5762
5b8a4d4a
JM
5763 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
8fdceb2e
JL
57662012-02-29 Jeff Law <law@redhat.com>
5767
5768 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5769 out of bounds read.
5770
1f393a11
MP
57712012-02-29 Marek Polacek <polacek@redhat.com>
5772
5773 [BZ #13706]
5774 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5775 * elf/Makefile: Add rules to run tst-unused-dep.out.
5776
8847f037
DM
57772012-02-28 David S. Miller <davem@davemloft.net>
5778
5779 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5780 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5785
169d7f11
JM
57862012-02-29 Joseph Myers <joseph@codesourcery.com>
5787
5788 * math/libm-test.inc (llround_test): Move one test from
5789 lround_test. Use TEST_f_L in moved test.
5790 (lround_test): Move misplaced test to llround_test. Add testcase
5791 from bug 2561.
5792
39adf059
UD
57932012-02-28 Ulrich Drepper <drepper@gmail.com>
5794
5795 * sysdeps/x86_64/fpu/e_expf.S: New file.
5796 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5797
71b5d1c5
SB
57982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5799
5800 [BZ #13637]
5801 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5802 of remain_len that may cause incomplete multi-byte character and
5803 false match.
5804 * posix/bug-regex33.c: New file.
5805 * posix/Makefile (tests): Add bug-regex33.
5806
1f77f049
JM
58072012-02-28 Joseph Myers <joseph@codesourcery.com>
5808
5809 * manual/macros.texi: New file.
5810 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5811 * manual/libc.texinfo: Include macros.texi.
5812 * manual/creatute.texi: Likewise.
5813 * manual/install.texi: Likewise.
5814 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5815 @glibcadj{} in references to the GNU C Library.
5816 * manual/charset.texi: Likewise.
5817 * manual/conf.texi: Likewise.
5818 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5819 when not using those macros.
5820 * manual/creature.texi: Likewise.
5821 * manual/crypt.texi: Likewise.
5822 * manual/errno.texi: Likewise.
5823 * manual/filesys.texi: Likewise.
5824 * manual/header.texi: Likewise.
5825 * manual/install.texi: Likewise.
5826 * manual/intro.texi: Likewise.
5827 * manual/io.texi: Likewise.
5828 * manual/job.texi: Likewise.
5829 * manual/lang.texi: Likewise.
5830 * manual/libc.texiinfo: Likewise.
5831 * manual/llio.texi: Likewise.
5832 * manual/locale.texi: Likewise.
5833 * manual/maint.texi: Likewise.
5834 * manual/math.texi: Likewise.
5835 * manual/memory.texi: Likewise.
5836 * manual/message.texi: Likewise.
5837 * manual/nss.texi: Likewise.
5838 * manual/pattern.texi: Likewise.
5839 * manual/process.texi: Likewise.
5840 * manual/resource.texi: Likewise.
5841 * manual/search.texi: Likewise.
5842 * manual/setjmp.texi: Likewise.
5843 * manual/signal.texi: Likewise.
5844 * manual/socket.texi: Likewise.
5845 * manual/startup.texi: Likewise.
5846 * manual/stdio.texi: Likewise.
5847 * manual/string.texi: Likewise.
5848 * manual/sysinfo.texi: Likewise.
5849 * manual/syslog.texi: Likewise.
5850 * manual/terminal.texi: Likewise.
5851 * manual/time.texi: Likewise.
5852 * manual/users.texi: Likewise.
5853 * INSTALL: Regenerated.
5854 * NOTES: Regenerated.
d40c5d54 5855 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5856
450bf206
AS
58572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5858
5859 * include/dirent.h: Include <dirstream.h> before
5860 <dirent/dirent.h>.
5861
741a235b
DM
58622012-02-28 David S. Miller <davem@davemloft.net>
5863
5864 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5865 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5866 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5867 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5868
d6b5aa58
DM
58692012-02-27 David S. Miller <davem@davemloft.net>
5870
1aff59a3
DM
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5873 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5874 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5875
d6b5aa58
DM
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5877 frame pointer instead of stack pointer relative arg slot.
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5879 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5880 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5881
433f48bf
CD
58822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5883
5884 [BZ #3992]
5885 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5886
d674b76d
DM
58872012-02-27 David S. Miller <davem@davemloft.net>
5888
5889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5894 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5895 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5896 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5897
0e7727f7
JM
58982012-02-27 Joseph Myers <joseph@codesourcery.com>
5899
5900 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5901 later. Allow versions 5-9.
43be4ca2 5902 * configure: Regenerated.
0e7727f7
JM
5903 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5904 required minimum version and 4.6 as recommended version. Do not
5905 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5906 * INSTALL: Regenerated.
0e7727f7 5907
a78bc654
DM
59082012-02-27 David S. Miller <davem@davemloft.net>
5909
428d5830
DM
5910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5914 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5915 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5916 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5917 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5918
a78bc654
DM
5919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5920 manipulate bits before adding and subtracting TWO112[sx].
5921 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5922
4579f81c
RM
59232012-02-27 Roland McGrath <roland@hack.frob.com>
5924
36c8acb4
RM
5925 [BZ #13775]
5926 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5927 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5928 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5929 being in POSIX, because they are in 1003.1-2008.
5930
84ad622b
RM
5931 * rt/tst-aio.c: Include <fcntl.h>.
5932 * rt/tst-aio7.c: Likewise.
5933 * rt/tst-aio64.c: Likewise.
5934
4579f81c
RM
5935 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5936
abd923db
JM
59372012-02-27 Joseph Myers <joseph@codesourcery.com>
5938
5939 * manual/install.texi (--with-headers): Describe headers as
5940 interface headers, not private headers.
5941 (Specific advice for GNU/Linux systems): Describe use of headers
5942 from "make headers_install", not private headers from older
5943 kernels.
43be4ca2 5944 * INSTALL: Regenerated.
abd923db
JM
5945 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5946 Change to 2.6.19.
5947 * sysdeps/unix/sysv/linux/configure: Regenerated.
5948
6664049b
JM
5949 * manual/llio.texi (fclean): Remove documentation.
5950
bb8b6697
JM
5951 * manual/Makefile (libc-texi-generated): New variable. Include
5952 version.texi.
5953 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5954 $(libc-texi-generated), not duplicated list of files.
5955 (version.texi, stamp-version): New rules.
5956 (realclean): Remove $(libc-texi-generated), not individual files
5957 from that list. Do not remove dir-add.texinfo.
5958 * manual/libc.texinfo: Comment out uses of edition numbers and
5959 references to printed manual. Remove last-updated dates.
5960 (EDITION): Comment out.
5961 (ISBN): Likewise.
5962 (VERSION, UPDATED): Remove.
5963 (version.texi): Include.
5964
12e5c3b9
AS
59652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5966
5967 * sysdeps/posix/spawni.c: Include <signal.h>.
5968 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5969 * sysdeps/pthread/aio_fsync.c: Likewise.
5970
4efeffc1 59712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5972
ba63ba08
UD
5973 * conform/Makefile (tests): Run only when not cross-compiling and
5974 when fast-check is not defined.
5975
d94a4670
UD
5976 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5977 * conform/data/limits.h-data: Fixes for POSIX2008.
5978 * conform/run-conformtest.sh: Run all tests.
5979 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5980 headers.
5981 * include/bits/dlfcn.h: Likewise.
5982 * include/langinfo.h: Likewise.
5983 * include/monetary.h: Likewise.
5984 * include/sys/poll.h: Likewise.
5985
5986 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5987 for __USE_GNU.
5988 * posix/spawn.h: Define __need_sigset_t.
5989 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5990 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5991 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5992 to get sigevent_t only.
5993 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5994 only for __USE_GNU.
5995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5996 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5997 process_vm_writev only for __USE_GNU.
5998 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5999
6000 * conform/Makefile: For now ignore errors from run-conformtest.
6001 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6002 POSIX to avoid namespace pollution. Don't prepend headers.
6003 * conform/data/aio.h-data: Fixes for POSIX testing.
6004 * conform/data/fcntl.h-data: Likewise.
6005 * conform/data/glob.h-data: Likewise.
6006 * conform/data/grp.h-data: Likewise.
6007 * conform/data/pthread.h-data: Likewise.
6008 * conform/data/pwd.h-data: Likewise.
6009 * conform/data/signal.h-data: Likewise.
6010 * conform/data/spawn.h-data: Likewise.
6011 * conform/data/stdio.h-data: Likewise.
6012 * conform/data/stdlib.h-data: Likewise.
6013 * conform/data/stropts.h-data: Likewise.
6014 * conform/data/sys/mman.h-data: Likewise.
6015 * conform/data/sys/stat.h-data: Likewise.
6016 * conform/data/sys/types.h-data: Likewise.
6017 * conform/data/sys/wait.h-data: Likewise.
6018 * conform/data/time.h-data: Likewise.
6019 * conform/data/unistd.h-data: Likewise.
6020 * conform/data/utime.h-data: Likewise.
6021
6022 * io/sys/stat.h: fchmod was always in POSIX.
6023 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6024 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6025 * rt/aio.h: Define __need_timespec before including <time.h>.
6026 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6027 struct. Add forward declaration of pthread_attr_t and use it in
6028 sigevent.
6029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6031 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6032 always remove CLK_TCK definition.
6033
c20105c3
AS
60342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6035
6036 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6037
7a270350
UD
60382012-02-25 Ulrich Drepper <drepper@gmail.com>
6039
31341567
UD
6040 * conform/run-conformtest.sh: New file.
6041 * conform/Makefile: Run run-conformtest for tests.
6042 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6043 support.
6044
6045 * conform/data/uchar.h-data: New file.
6046 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6047 * conform/data/arpa/inet.h-data: Likewise.
6048 * conform/data/assert.h-data: Likewise.
6049 * conform/data/complex.h-data: Likewise.
6050 * conform/data/cpio.h-data: Likewise.
6051 * conform/data/ctype.h-data: Likewise.
6052 * conform/data/dirent.h-data: Likewise.
6053 * conform/data/dlfcn.h-data: Likewise.
6054 * conform/data/errno.h-data: Likewise.
6055 * conform/data/fcntl.h-data: Likewise.
6056 * conform/data/float.h-data: Likewise.
6057 * conform/data/fmtmsg.h-data: Likewise.
6058 * conform/data/fnmatch.h-data: Likewise.
6059 * conform/data/ftw.h-data: Likewise.
6060 * conform/data/glob.h-data: Likewise.
6061 * conform/data/grp.h-data: Likewise.
6062 * conform/data/iconv.h-data: Likewise.
6063 * conform/data/inttypes.h-data: Likewise.
6064 * conform/data/langinfo.h-data: Likewise.
6065 * conform/data/libgen.h-data: Likewise.
6066 * conform/data/limits.h-data: Likewise.
6067 * conform/data/locale.h-data: Likewise.
6068 * conform/data/math.h-data: Likewise.
6069 * conform/data/monetary.h-data: Likewise.
6070 * conform/data/mqueue.h-data: Likewise.
6071 * conform/data/ndbm.h-data: Likewise.
6072 * conform/data/net/if.h-data: Likewise.
6073 * conform/data/netdb.h-data: Likewise.
6074 * conform/data/netinet/in.h-data: Likewise.
6075 * conform/data/nl_types.h-data: Likewise.
6076 * conform/data/poll.h-data: Likewise.
6077 * conform/data/pthread.h-data: Likewise.
6078 * conform/data/pwd.h-data: Likewise.
6079 * conform/data/regex.h-data: Likewise.
6080 * conform/data/sched.h-data: Likewise.
6081 * conform/data/search.h-data: Likewise.
6082 * conform/data/semaphore.h-data: Likewise.
6083 * conform/data/setjmp.h-data: Likewise.
6084 * conform/data/signal.h-data: Likewise.
6085 * conform/data/spawn.h-data: Likewise.
6086 * conform/data/stdarg.h-data: Likewise.
6087 * conform/data/stdio.h-data: Likewise.
6088 * conform/data/stdlib.h-data: Likewise.
6089 * conform/data/string.h-data: Likewise.
6090 * conform/data/strings.h-data: Likewise.
6091 * conform/data/stropts.h-data: Likewise.
6092 * conform/data/sys/ipc.h-data: Likewise.
6093 * conform/data/sys/mman.h-data: Likewise.
6094 * conform/data/sys/msg.h-data: Likewise.
6095 * conform/data/sys/resource.h-data: Likewise.
6096 * conform/data/sys/select.h-data: Likewise.
6097 * conform/data/sys/sem.h-data: Likewise.
6098 * conform/data/sys/shm.h-data: Likewise.
6099 * conform/data/sys/socket.h-data: Likewise.
6100 * conform/data/sys/stat.h-data: Likewise.
6101 * conform/data/sys/statvfs.h-data: Likewise.
6102 * conform/data/sys/time.h-data: Likewise.
6103 * conform/data/sys/timeb.h-data: Likewise.
6104 * conform/data/sys/times.h-data: Likewise.
6105 * conform/data/sys/types.h-data: Likewise.
6106 * conform/data/sys/uio.h-data: Likewise.
6107 * conform/data/sys/un.h-data: Likewise.
6108 * conform/data/sys/utsname.h-data: Likewise.
6109 * conform/data/sys/wait.h-data: Likewise.
6110 * conform/data/syslog.h-data: Likewise.
6111 * conform/data/tar.h-data: Likewise.
6112 * conform/data/termios.h-data: Likewise.
6113 * conform/data/utime.h-data: Likewise.
6114 * conform/data/utmpx.h-data: Likewise.
6115 * conform/data/varargs.h-data: Likewise.
6116 * conform/data/wchar.h-data: Likewise.
6117 * conform/data/wctype.h-data: Likewise.
6118 * conform/data/wordexp.h-data: Likewise.
6119
6120 * include/stropts.h: New file.
6121 * include/uchar.h: New file.
6122 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6123 * include/assert.h: Likewise.
6124 * include/ctype.h: Likewise.
6125 * include/dirent.h: Likewise.
6126 * include/dlfcn.h: Likewise.
6127 * include/fcntl.h: Likewise.
6128 * include/fnmatch.h: Likewise.
6129 * include/glob.h: Likewise.
6130 * include/grp.h: Likewise.
6131 * include/libio.h: Likewise.
6132 * include/locale.h: Likewise.
6133 * include/math.h: Likewise.
6134 * include/net/if.h: Likewise.
6135 * include/netdb.h: Likewise.
6136 * include/netinet/in.h: Likewise.
6137 * include/pthread.h: Likewise.
6138 * include/pwd.h: Likewise.
6139 * include/regex.h: Likewise.
6140 * include/sched.h: Likewise.
6141 * include/search.h: Likewise.
6142 * include/setjmp.h: Likewise.
6143 * include/signal.h: Likewise.
6144 * include/stdio.h: Likewise.
6145 * include/stdlib.h: Likewise.
6146 * include/string.h: Likewise.
6147 * include/sys/cdefs.h: Likewise.
6148 * include/sys/mman.h: Likewise.
6149 * include/sys/msg.h: Likewise.
6150 * include/sys/resource.h: Likewise.
6151 * include/sys/select.h: Likewise.
6152 * include/sys/socket.h: Likewise.
6153 * include/sys/stat.h: Likewise.
6154 * include/sys/statvfs.h: Likewise.
6155 * include/sys/time.h: Likewise.
6156 * include/sys/times.h: Likewise.
6157 * include/sys/uio.h: Likewise.
6158 * include/sys/utsname.h: Likewise.
6159 * include/sys/wait.h: Likewise.
6160 * include/termios.h: Likewise.
6161 * include/time.h: Likewise.
6162 * include/ulimit.h: Likewise.
6163 * include/unistd.h: Likewise.
6164 * include/utime.h: Likewise.
6165 * include/wchar.h: Likewise.
6166 * include/wctype.h: Likewise.
6167 * include/wordexp.h: Likewise.
6168
6169 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6170
7a270350
UD
6171 * time/time.h: TIME_UTC must be a macro.
6172 Make timespec_get available for ISO C11 only as well.
6173
7724defc
UD
61742012-02-24 Ulrich Drepper <drepper@gmail.com>
6175
6176 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6177 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6178
6b1d1d46
JM
61792012-02-24 Joseph Myers <joseph@codesourcery.com>
6180
6181 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6182
0f8bbd69
JM
61832012-02-24 Joseph Myers <joseph@codesourcery.com>
6184
6185 * manual/texinfo.tex: Update to version 2012-01-19.16.
6186
66ab80bc
JM
61872012-02-24 Joseph Myers <joseph@codesourcery.com>
6188
6189 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6190
74981cc5
RM
61912012-02-24 Roland McGrath <roland@hack.frob.com>
6192
ee968201
RM
6193 [BZ #13738]
6194 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6195 * manual/fdl-1.3.texi: New file.
6196 * manual/fdl-1.1.texi: File removed.
6197
74981cc5
RM
6198 [BZ #13738]
6199 * manual/libc.texinfo (FDL_VERSION): New @set.
6200 Use it for mention of FDL in cover text.
6201 (Documentation License): Use it in @include file name.
6202
7bb764bc
JM
62032012-02-22 Joseph Myers <joseph@codesourcery.com>
6204 Roland McGrath <roland@hack.frob.com>
6205
6206 [BZ #5461]
6207 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6208 not LONG_LONG_MAX and LONG_LONG_MIN.
6209 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6210 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6211 name.
6212 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6213
6cbeae47
JM
62142012-02-22 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #2547]
6217 [BZ #11365]
6218 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6219 manipulate bits before adding and subtracting TWO23[sx].
6220 * math/libm-test.inc (nearbyint_test): Add more tests.
6221
fe45ce09
JM
62222012-02-22 Joseph Myers <joseph@codesourcery.com>
6223
6224 [BZ #2548]
6225 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6226 bits before adding and subtracting TWO23[sx].
6227 * math/libm-test.inc (rint_test): Add more tests.
6228 (rint_test_tonearest): Likewise.
6229 (rint_test_towardzero): Likewise.
6230 (rint_test_downward): Likewise.
6231 (rint_test_upward: Likewise.
6232
ff3b3d82
JM
62332012-02-22 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #10110]
6236 * include/stdc-predef.h: New file. Extracted from features.h.
6237 * include/features.h: Include stdc-predef.h.
6238 * Makefile (headers): Add stdc-predef.h.
6239 * CONFORMANCE (Compiler limitations): Update.
6240
ef0aab35
JM
62412012-02-22 Joseph Myers <joseph@codesourcery.com>
6242
6243 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6244
58639409
DM
62452012-02-21 David S. Miller <davem@davemloft.net>
6246
6247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6249
c0e70b25
DM
62502012-02-20 David S. Miller <davem@davemloft.net>
6251
6252 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6253 using a normal save/restore sequence, rather than allocating a
6254 dummy stack frame just to store a frame pointer and restore.
6255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6256
fb06851d
JM
62572012-02-21 Joseph Myers <joseph@codesourcery.com>
6258
6259 * manual/install.texi: Fix stray word in line-wrapped comment.
6260
7a8b71c3
DM
62612012-02-20 David S. Miller <davem@davemloft.net>
6262
d510c123
DM
6263 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6264 both binutils and gcc support GOTDATA.
6265
0722d7c2
DM
6266 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6267 "rd %pc" in the PIC register setup sequences.
6268
3d2b3019
DM
6269 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6270 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6271 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6272 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6273 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6275 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6278 (SYSCALL_ERROR_HANDLER): Likewise.
6279 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6282 (SYSCALL_ERROR_HANDLER): Likewise.
6283
c80098a9
DM
6284 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6285 (HAVE_GCC_GOTDATA): New.
6286 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6287 relocation support in both binutils and gcc.
6288 * sysdeps/sparc/elf/configure: Regenerate.
6289
3a2545a0
DM
6290 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6291 * sysdeps/sparc/sparc32/elf/configure: Delete.
6292 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6293 * sysdeps/sparc/sparc64/elf/configure: Delete.
6294 * sysdeps/sparc/elf/configure.in: New file.
6295 * sysdeps/sparc/elf/configure: Generate.
6296
7a8b71c3
DM
6297 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6298 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6299 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6300 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6301 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6302
f1e86fca
JM
63032012-02-21 Joseph Myers <joseph@codesourcery.com>
6304
6305 * manual/install.texi: Do not mention specific glibc version
6306 numbers.
6307 * manual/libc.texinfo (VERSION, UPDATED): Update.
6308 (@copying): Use @copyright{} and range of years.
6309
0e7dfaef
JM
63102012-02-21 Joseph Myers <joseph@codesourcery.com>
6311
6312 [BZ #13695]
6313 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6314 [crti.S not in sysdirs] (generated): Do not append.
6315 [crti.S not in sysdirs] (omit-deps): Likewise.
6316 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6317 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6318 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6319 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6320 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6321 Likewise.
6322 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6323 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6324 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6325 * csu/defs.awk: Remove file.
6326 * sysdeps/generic/initfini.c: Likewise.
6327 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6328 variable.
6329 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6330 Likewise.
6331
599af3ca
JM
63322012-02-20 Joseph Myers <joseph@codesourcery.com>
6333
6334 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6335 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6336 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6339 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6340 <bits/epoll.h>.
6341 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6342 (__EPOLL_PACKED): Define to empty if not defined by
6343 <bits/epoll.h>.
6344 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6346 bits/epoll.h.
6347
0e499750
JM
63482012-02-20 Joseph Myers <joseph@codesourcery.com>
6349
6350 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6351 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6352 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6353 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6354 <bits/timerfd.h>.
6355 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6357 bits/timerfd.h.
6358
5ad91f6e
JM
63592012-02-20 Joseph Myers <joseph@codesourcery.com>
6360
6361 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6362 in C locale.
6363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6364 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6365 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367
06b99b02
AJ
63682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6369
6370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6371 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6372
7638c0fd
AS
63732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6374
6375 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6376 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6377 defined.
6378 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6379 Likewise.
6380 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6381 entry for 2.16.
6382
92221550
AJ
63832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6384
6385 * math/w_acos.c: Use non-signaling floating-point comparisons.
6386 * math/w_acosf.c: Likewise.
6387 * math/w_acosh.c: Likewise.
6388 * math/w_acoshf.c: Likewise.
6389 * math/w_acoshl.c: Likewise.
6390 * math/w_acosl.c: Likewise.
6391 * math/w_asin.c: Likewise.
6392 * math/w_asinf.c: Likewise.
6393 * math/w_asinl.c: Likewise.
6394 * math/w_atanh.c: Likewise.
6395 * math/w_atanhf.c: Likewise.
6396 * math/w_atanhl.c: Likewise.
6397 * math/w_exp2.c: Likewise.
6398 * math/w_exp2f.c: Likewise.
6399 * math/w_exp2l.c: Likewise.
6400 * math/w_j0.c: Likewise.
6401 * math/w_j0f.c: Likewise.
6402 * math/w_j0l.c: Likewise.
6403 * math/w_j1.c: Likewise.
6404 * math/w_j1f.c: Likewise.
6405 * math/w_j1l.c: Likewise.
6406 * math/w_jn.c: Likewise.
6407 * math/w_jnf.c: Likewise.
6408 * math/w_log.c: Likewise.
6409 * math/w_log10.c: Likewise.
6410 * math/w_log10f.c: Likewise.
6411 * math/w_log10l.c: Likewise.
6412 * math/w_log2.c: Likewise.
6413 * math/w_log2f.c: Likewise.
6414 * math/w_log2l.c: Likewise.
6415 * math/w_logf.c: Likewise.
6416 * math/w_logl.c: Likewise.
6417 * math/w_sqrt.c: Likewise.
6418 * math/w_sqrtf.c: Likewise.
6419 * math/w_sqrtl.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6422 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6425
ebaf36eb
JM
64262012-02-19 Joseph Myers <joseph@codesourcery.com>
6427
6428 [BZ #9739]
6429 * manual/string.texi (strnlen): Use correct parameter name in
6430 equivalent expression.
6431
71c254a6
JM
64322012-02-19 Joseph Myers <joseph@codesourcery.com>
6433
6434 [BZ #11174]
6435 * manual/users.texi (seteuid): Consistently use neweuid for
6436 argument name.
6437
16d2c631
JM
64382012-02-19 Joseph Myers <joseph@codesourcery.com>
6439
6440 [BZ #13704]
6441 * manual/nss.texi (Services in the NSS configuration): Correct
6442 list of services in example configuration file.
6443
cd837b09
NB
64442012-02-19 Nick Bowler <nbowler@draconx.ca>
6445
6446 [BZ #11322]
6447 * manual/arith.texi: Remove statements about negative zero
6448 behaving identically to zero.
6449
02c4bbad
JM
64502012-02-18 Joseph Myers <joseph@codesourcery.com>
6451
6452 [BZ #5993]
6453 * manual/install.texi: Do not document upgrading from libc5.
6454
366842e7
JM
64552012-02-18 Joseph Myers <joseph@codesourcery.com>
6456
6457 [BZ #4596]
6458 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6459
dd54084d
DM
64602012-02-18 David S. Miller <davem@davemloft.net>
6461
6462 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6463 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6464 %o7 across the call.
6465 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6466 instead.
6467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6468 SETUP_PIC_REG_LEAF.
6469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6470 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6471 * sysdeps/sparc/crtn.S: Likewise.
6472
2bcc53a3
UD
64732012-02-17 Ulrich Drepper <drepper@gmail.com>
6474
6475 * aout/Makefile: Remove.
6476
09c093b5
RK
64772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6478
6479 [BZ #13058]
6480 * manual/examples/argp-ex1.c (main): Format definition in GNU
6481 style.
6482 * manual/examples/argp-ex2.c (main): Likewise.
6483 * manual/examples/argp-ex3.c (main): Likewise.
6484 * manual/examples/argp-ex4.c (main): Likewise.
6485 * manual/examples/longopt.c (main): Use new-style prototype
6486 definition.
6487 * manual/examples/strncat.c (main): Specify return type and use
6488 (void) for arguments.
6489 * manual/examples/subopt.c (main): Use char **argv argument.
6490
2ee633a2
JM
64912012-02-17 Joseph Myers <joseph@codesourcery.com>
6492
6493 [BZ #5077]
6494 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6495 rounding modes.
6496
0520adde
FB
64972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6498
6499 [BZ #6907]
6500 * manual/string.texi (strchr): Change when strchrnul is
6501 recommended.
6502
3f4081cd
DGM
65032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6504
6505 [BZ #174]
6506 * manual/locale.texi (setlocale): Document LOCPATH.
6507
d1b10e78
JM
65082012-02-17 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #10210]
6511 * manual/process.texi (execle): Move @dots{} before last argument.
6512
79c6869c
PB
65132012-02-17 Paul Bolle <pebolle@tiscali.nl>
6514
6515 [BZ #12047]
6516 * manual/charset.texi (Generic Charset Conversion): Fix typo
6517 (LC_TYPE -> LC_CTYPE).
6518
cc6e48bc
NB
65192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6520
6521 [BZ #5805]
6522 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6523 (scalbnf): Likewise.
6524 (scalbnl): Likewise.
6525 (scalbln): Likewise.
6526 (scalblnf): Likewise.
6527 (scalblnl): Likewise.
6528 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6529 (vwarnx): Likewise.
6530 (verr): Likewise.
6531 (verrx): Likewise.
6532 * manual/filesys.texi (telldir): Use braces around return type.
6533 * manual/llio.texi (mmap): Add space after comma.
6534 (mmap64): Likewise.
6535 * manual/math.texi (jn): Use @var{} on parameter names.
6536 (jnf): Likewise.
6537 (jnl): Likewise.
6538 (yn): Likewise.
6539 (ynf): Likewise.
6540 (ynl): Likewise.
6541 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6542 line.
6543 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6544 "...".
6545 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6546 (sched_get_priority_max): Likewise.
6547 * manual/signal.texi (sigvec): Add space after comma.
6548 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6549 names.
6550 (if_indextoname): Likewise.
6551 (if_freenameindex): Likewise.
6552 (sendto): Use ',' instead of '.' in prototype.
6553 * manual/startup.texi (syscall): Use @dots{} instead of literal
6554 "...".
6555 * manual/stdio.texi (__fpending): Separate initial words of
6556 paragraph from @deftypefun line.
6557 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6558 "...".
6559 (vsyslog): Use @var{} on parameter names.
6560 * manual/terminal.texi (stty): Use @var{} on parameter names.
6561 * manual/users.texi (getutmp): Use @var{} on parameter names.
6562 (getutmpx): Likewise.
6563
5b23062f
JM
65642012-02-17 Joseph Myers <joseph@codesourcery.com>
6565
6566 [BZ #6884]
6567 * manual/stdio.texi (fopen): Fix typos in description of
6568 ",ccs=STRING".
6569
8dee4833
AJ
65702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6571
6572 [BZ #4026]
6573 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6574 get clock_id definition.
6575
9078ce93
TS
65762012-02-17 Thomas Schwinge <thomas@schwinge.name>
6577
6578 [BZ #4822]
6579 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6580 (madvise): Cast every argument to void on its own.
6581
3835c55f
JM
65822012-02-17 Joseph Myers <joseph@codesourcery.com>
6583
6584 [BZ #9902]
6585 * manual/startup.texi (Exit Status): Fix typo.
6586
35c47e37
JM
65872012-02-17 Joseph Myers <joseph@codesourcery.com>
6588
6589 [BZ #10140]
6590 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6591 * manual/examples/argp-ex2.c: Likewise.
6592 * manual/examples/argp-ex3.c: Likewise.
6593
e3b69ca7
RH
65942012-02-16 Richard Henderson <rth@redhat.com>
6595
6596 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6597 * sysdeps/s390/s390-32/initfini.c: Remove.
6598 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6599 * sysdeps/s390/s390-64/initfini.c: Remove.
6600
df83af67
KK
66012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6602
6603 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6604 compiler output for sysdeps/generic/initfini.c.
6605 * sysdeps/sh/elf/initfini.c: Remove file.
6606
f63f3380
DM
66072012-02-16 David S. Miller <davem@davemloft.net>
6608
fb59b3a4
DM
6609 [BZ #11494]
6610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6611
f63f3380
DM
6612 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6613 * sysdeps/sparc/crti.S: New file.
6614 * sysdeps/sparc/crtn.S: New file.
6615 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6616 * sysdeps/sparc/sparc64/Makefile: Likewise.
6617
df6a4a4a
MF
66182012-02-15 Mike Frysinger <vapier@gentoo.org>
6619
6dd8f3dc 6620 [BZ #3335]
df6a4a4a
MF
6621 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6622
1cac7236
RM
66232012-02-15 Roland McGrath <roland@hack.frob.com>
6624
d2c736f8
RM
6625 [BZ #4822]
6626 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6627
1cac7236
RM
6628 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6629 (write, read, close): Likewise.
6630 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6631
8e475601
JM
66322012-02-15 Joseph Myers <joseph@codesourcery.com>
6633
6634 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6635 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6637 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6638 <bits/signalfd.h>.
6639 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6641 bits/signalfd.h.
6642
ed656b40
MP
66432012-02-14 Marek Polacek <polacek@redhat.com>
6644
6645 * sysdeps/x86_64/crti.S: New file.
6646 * sysdeps/x86_64/crtn.S: New file.
6647 * sysdeps/x86_64/elf/initfini.c: Remove file.
6648
2a979d3a
JM
66492012-02-13 Joseph Myers <joseph@codesourcery.com>
6650
6651 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6652 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6654 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6655 <bits/inotify.h>.
6656 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6658 bits/inotify.h.
6659
2a418ac3
JM
66602012-02-13 Joseph Myers <joseph@codesourcery.com>
6661
6662 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6663 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6664 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6665 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6666 <bits/eventfd.h>.
6667 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6669 bits/eventfd.h.
6670
fb779be7
TS
66712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6672
e19e83c5
RM
6673 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6674 __feraiseexcept instead of feraiseexcept.
7c35ffed 6675
fb779be7
TS
6676 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6677 nanosleep invocations.
6678 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6679 strings, and add error checking for a nanosleep invocations.
6680
59ba27a6
PE
66812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6682
6683 Replace FSF snail mail address with URLs, as per GNU coding standards.
6684 Most of the snail mail addresses were wrong anyway, and omitting
6685 them makes the source code easier to maintain. Almost all of the
6686 changes are to license notices and to locale LC_IDENTIFICATION
6687 addresses, except for this one:
6688 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6689 not its snail mail address.
6690
57b957eb
RH
66912012-02-09 Richard Henderson <rth@twiddle.net>
6692
af850b1c
RH
6693 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6694 of kernel-features.h.
6695
57b957eb
RH
6696 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6697
6b73181a
MP
66982012-02-08 Marek Polacek <polacek@redhat.com>
6699
6700 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6701 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6702 * sysdeps/gnu/_G_config.h: Likewise.
6703 * sysdeps/generic/_G_config.h: Likewise.
6704
26ecc33a
AS
67052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6706
6c6dbc63
AS
6707 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6708 tests.
6709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710
e216c012
AS
6711 * sysdeps/powerpc/powerpc32/crti.S: New file.
6712 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6713 * sysdeps/powerpc/powerpc64/crti.S: New file.
6714 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6715
26ecc33a
AS
6716 * Makeconfig (have-initfini): Don't set.
6717 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6718 * configure.in (nopic_initfini): Don't substitute.
6719 * config.h.in (HAVE_INITFINI): Don't #undef.
6720 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6721 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6722
3add8e13
JM
67232012-02-08 Joseph Myers <joseph@codesourcery.com>
6724
6725 Support crti.S and crtn.S provided directly by architectures.
6726 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6727 [crti.S in sysdirs] (omit-deps): Likewise.
6728 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6729 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6730 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6731 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6732 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6733 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6734 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6735 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6736 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6737 compiler output for sysdeps/generic/initfini.c.
6738 * sysdeps/i386/elf/Makefile: Remove file.
6739 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6740
a22f12b4
MP
67412012-02-07 Marek Polacek <polacek@redhat.com>
6742
6743 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6744 * sysdeps/gnu/_G_config.h: Likewise.
6745 * sysdeps/mach/hurd/_G_config.h: Likewise.
6746
148cf100
MP
67472012-02-07 Marek Polacek <polacek@redhat.com>
6748
6749 * math/Makefile (tests): Add tst-CMPLX2.
6750 * math/tst-CMPLX2.c: New file.
6751
cfdc0dd7
AS
67522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6753
84ba42c4
AS
6754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6755
cfdc0dd7
AS
6756 * math/libm-test.inc (jn_test): Add missing L suffix.
6757
622c86f4
MP
67582012-02-06 Marek Polacek <polacek@redhat.com>
6759
6760 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6761 * sysdeps/i386/fpu/e_powf.S: Likewise.
6762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6763 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6765 * sysdeps/i386/fpu/e_pow.S: Likewise.
6766 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6767 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6768 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6769 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6770 * sysdeps/i386/fpu/e_log2.S: Likewise.
6771 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6772 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6773 * sysdeps/i386/fpu/e_powl.S: Likewise.
6774 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6775 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6776 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6777 * sysdeps/i386/fpu/e_logl.S: Likewise.
6778 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6779 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6780 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6781 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6782 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6783 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6784 * sysdeps/i386/fpu/e_log.S: Likewise.
6785 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6786 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6787 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6788 * sysdeps/i386/fpu/e_logf.S: Likewise.
6789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6790 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6791 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6792 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6793 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6794 * sysdeps/i386/fpu/e_log10.S: Likewise.
6795 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6797 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6798 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6800 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6801 * sysdeps/i386/asm-syntax.h: Likewise.
6802 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6805 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6806 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6808 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6809 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6810 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6811 * sysdeps/powerpc/sysdep.h: Likewise.
6812 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6813 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6814
d4a54ac6
JM
68152012-02-06 Joseph Myers <joseph@codesourcery.com>
6816
6817 [BZ #411]
6818 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6819
314054ea
JM
68202012-02-06 Joseph Myers <joseph@codesourcery.com>
6821
6822 * sysdeps/i386/sysdep.h: Include <features.h>.
6823 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6824 version.
6825
d8e0ca50
JM
68262012-02-05 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6829 Define.
6830 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6831 LOAD_PIC_REG_STR.
6832
b1da7dd9
JM
68332012-02-03 Joseph Myers <joseph@codesourcery.com>
6834
6835 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6836 (SETUP_PIC_REG): Use GET_PC_THUNK.
6837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6838 macro.
6839
9a1d9254
JM
68402012-02-03 Joseph Myers <joseph@codesourcery.com>
6841
6842 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6843 for non-PIC compilation.
6844 (SETUP_PIC_REG): Add .p2align directive.
6845 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6846 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6886
65dc3b75
JM
68872012-02-03 Joseph Myers <joseph@codesourcery.com>
6888
6889 * math/tst-CMPLX.c: Include <stdio.h>.
6890
d55bf177
JM
68912012-01-31 Joseph Myers <joseph@codesourcery.com>
6892
6893 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6894 float.
6895 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6896 * sysdeps/sparc/bits/mathdef.h: Likewise.
6897
69db4f8f
MP
68982012-01-31 Marek Polacek <polacek@redhat.com>
6899
6900 * libio/libio.h: Don't define _PARAMS.
6901 * locale/programs/config.h: Don't define PARAMS.
6902 * stdlib/strtol_l.c: Likewise.
6903 (__strtol_l): Remove PARAMS from the prototype.
6904
41b81892
UD
69052012-01-31 Ulrich Drepper <drepper@gmail.com>
6906
3b49edc0
UD
6907 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6908 names. Just use the correct names. Remove unnecessary wrapper
6909 functions.
6910 * malloc/arena.c: Likewise.
6911 * malloc/hooks.c: Likewise.
6912
41b81892
UD
6913 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6914 ARENA_TEST says not to. Simplify test for creation of a new arena.
6915 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6916
27a25b6e
UD
69172012-01-30 Ulrich Drepper <drepper@gmail.com>
6918
6919 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6920 into tail calls.
6921 (update_get_addr): New function.
6922 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6923 GET_ADDR_MODULE parameter.
6924
c8a89e7d
JM
69252012-01-30 Joseph Myers <joseph@codesourcery.com>
6926
6927 * crypt/cert.c: Remove __STDC__ conditionals.
6928 * crypt/crypt-entry.c: Likewise.
6929 * crypt/crypt_util.c: Likewise.
6930 * libio/filedoalloc.c: Likewise.
6931 * libio/fileops.c: Likewise.
6932 * libio/genops.c: Likewise.
6933 * libio/iofclose.c: Likewise.
6934 * libio/iofdopen.c: Likewise.
6935 * libio/iofopen.c: Likewise.
6936 * libio/iofopen64.c: Likewise.
6937 * libio/iogetdelim.c: Likewise.
6938 * libio/iopopen.c: Likewise.
6939 * libio/obprintf.c: Likewise.
6940 * libio/oldfileops.c: Likewise.
6941 * libio/oldiofclose.c: Likewise.
6942 * libio/oldiofdopen.c: Likewise.
6943 * libio/oldiofopen.c: Likewise.
6944 * libio/oldiopopen.c: Likewise.
6945 * libio/wfiledoalloc.c: Likewise.
6946 * libio/wgenops.c: Likewise.
6947 * locale/programs/xmalloc.c: Likewise.
6948 * misc/syslog.c: Likewise.
6949 * stdio-common/xbug.c: Likewise.
6950 * string/memchr.c: Likewise.
6951 * string/memcmp.c: Likewise.
6952 * string/memrchr.c: Likewise.
6953 * string/rawmemchr.c: Likewise.
6954 * sysdeps/posix/getcwd.c: Likewise.
6955 * time/strftime_l.c: Likewise.
6956
3b100462
JM
69572012-01-30 Joseph Myers <joseph@codesourcery.com>
6958
6959 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6960 * config.make.in (config-cflags-sse2avx): Define.
6961 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6962 Fix typo.
6963
607998af
CM
69642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6965
6966 * scripts/config.guess: Update from upstream config git repository.
6967 * scripts/config.sub: Likewise.
6968
3601428f
CM
69692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6970
3ac8b282
CM
6971 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6972 (EM_NUM): Update.
6973 (R_TILEPRO_*, R_TILEGX_*): New macros.
6974
e034841e
CM
6975 * scripts/firstversions.awk: Fix bug in version range handling.
6976
540d7568
CM
6977 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6978
3601428f
CM
6979 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6980
463de862
CM
6981 * include/sys/epoll.h: New file.
6982 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6983 libc_hidden_def.
6984
73139a76
UD
69852012-01-28 Ulrich Drepper <drepper@gmail.com>
6986
96bc5b45
UD
6987 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6988 Avoid unnecessary __WORDSIZE == 64 test.
6989 (fmaxf): Use VEX format if possible.
6990 (fmax): Likewise.
6991 (fminf): Likewise.
6992 (fmin): Likewise.
6993
56f6f6a2
UD
6994 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6995 * math/math_private.h: Remove libc_fegetround* and
6996 libc_fesetround*.
6997 * sysdeps/i386/configure.in: Check for -msse2avx.
6998 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6999 also if SSE2AVX is defined.
7000 Remove libc_fegetround* and libc_fesetround*.
7001 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7002 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7003 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7004 of HAS_YMM_USABLE.
7005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7010
73139a76
UD
7011 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7012
d73f93a4
AZ
70132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014
7015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7016 size is not set.
7017 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7018
6ee65ed6
UD
70192012-01-27 Ulrich Drepper <drepper@gmail.com>
7020
7021 [BZ #13618]
7022 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7023 relocation.
7024 * Makeconfig (libm): Define.
7025 * elf/Makefile: Add rules to build and run tst-relsort1.
7026 * elf/tst-relsort1.c: New file.
7027 * elf/tst-relsort1mod1.c: New file.
7028 * elf/tst-relsort1mod2.c: New file.
7029
8db21882
JM
70302012-01-27 Joseph Myers <joseph@codesourcery.com>
7031
7032 * math/s_ldexp.c: Remove __STDC__ conditionals.
7033 * math/s_ldexpf.c: Likewise.
7034 * math/s_ldexpl.c: Likewise.
7035 * math/s_nextafter.c: Likewise.
7036 * math/s_nexttowardf.c: Likewise.
7037 * math/s_significand.c: Likewise.
7038 * math/s_significandf.c: Likewise.
7039 * math/s_significandl.c: Likewise.
7040 * math/w_jnl.c: Likewise.
7041 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7042 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7043 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7044 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7045 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7060 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7061 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7062 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7063 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7065 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7066 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7073 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7081 * sysdeps/ieee754/k_standard.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7161 * sysdeps/ieee754/s_matherr.c: Likewise.
7162 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7163 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7166
965a54a4
JM
71672012-01-26 Joseph Myers <joseph@codesourcery.com>
7168
7169 * crypt/md5.h: Remove __STDC__ conditionals.
7170 * libio/libioP.h: Likewise.
7171 * locale/programs/config.h: Likewise.
7172 * sysdeps/generic/sysdep.h: Likewise.
7173 * sysdeps/i386/asm-syntax.h: Likewise.
7174 * sysdeps/s390/asm-syntax.h: Likewise.
7175 * sysdeps/unix/sysdep.h: Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7178
7071ad79
JM
71792012-01-26 Joseph Myers <joseph@codesourcery.com>
7180
7181 * libio/libio.h: Remove __STDC__ conditionals.
7182 * malloc/obstack.h: Likewise.
7183 * math/complex.h: Likewise.
7184 * math/math.h: Likewise.
7185 * sysdeps/generic/_G_config.h: Likewise.
7186 * sysdeps/gnu/_G_config.h: Likewise.
7187 * sysdeps/mach/hurd/_G_config.h: Likewise.
7188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7189 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7190 * sysdeps/sparc/bits/mathdef.h: Likewise.
7191
afc5ed09
UD
71922012-01-26 Ulrich Drepper <drepper@gmail.com>
7193
7194 [BZ #13583]
7195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7196 Clean up HAS_* macros.
afc5ed09 7197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7198 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7199 possible.
7200 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7201 HAS_AVX.
7202 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7203 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7204 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7205 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7206 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7207
bdb6de1d
JM
72082012-01-25 Joseph Myers <joseph@codesourcery.com>
7209
7210 * elf/tst-unique3.cc (gets): Remove declaration.
7211 * elf/tst-unique3lib.cc (gets): Likewise.
7212 * elf/tst-unique3lib2.cc (gets): Likewise.
7213 * elf/tst-unique4.cc (gets): Likewise.
7214
b15549e6
UD
72152012-01-24 Ulrich Drepper <drepper@gmail.com>
7216
7217 * include/stdio.h: Add C++ protection. Add gets declarations and
7218 definitions.
7219 * debug/tst-chk1.c: Don't declare gets here.
7220 * stdio-common/tst-gets.c: Likewise.
7221
a037381f
JM
72222012-01-24 Joseph Myers <joseph@codesourcery.com>
7223
7224 * posix/glob: Remove directory.
7225
f1d4aa75
JM
72262012-01-24 Joseph Myers <joseph@codesourcery.com>
7227
7228 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7229
81c0c964
PT
72302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7231
7232 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7233 of the non-standard EPFNOSUPPORT.
7234
0ea698ae
ST
72352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7236
7237 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7238 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7239 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7240
d220b117
UD
72412012-01-21 Ulrich Drepper <drepper@gmail.com>
7242
7243 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7244
3e1aa84e
UD
72452012-01-20 Ulrich Drepper <drepper@gmail.com>
7246
7247 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7248 transient errors.
7249 * nscd/grpcache.c (cache_addgr): Likewise.
7250 * nscd/hstcache.c (cache_addhst): Likewise.
7251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7252 * nscd/pwdcache.c (cache_addpw): Likewise.
7253 * nscd/servicescache.c (cache_addserv): Likewise.
7254
400aa020
UD
72552012-01-16 Ulrich Drepper <drepper@gmail.com>
7256
d77e7869
UD
7257 * malloc/malloc.c: Various cleanups.
7258 * malloc/hooks.c: Likewise.
7259
400aa020
UD
7260 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7261 * stdlib/bug-fmtmsg1.c: New file.
7262
7263 * stdlib/fmtmsg.c (init): Add missing unlock.
7264 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7265
e0a309cf
MP
72662012-01-12 Marek Polacek <polacek@redhat.com>
7267
7268 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7269 and _GNU_SOURCE.
7270
929d11c7
WS
72712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7272
7273 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7275 macro to ensure uniqueness of label name.
7276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7278
41d0e869
UD
72792012-01-11 Ulrich Drepper <drepper@gmail.com>
7280
0cc5ed3b
UD
7281 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7282
41d0e869
UD
7283 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7284 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7287
a47a831a
UD
72882012-01-10 Ulrich Drepper <drepper@gmail.com>
7289
daa891c0
UD
7290 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7291
7292 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7293 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7295
e58ef0f2
UD
7296 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7297
a47a831a 7298 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7299 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7302
7303 * math/bits/math-finite.h: Add ldexp support.
7304
a0bfc9c7
MP
73052012-01-10 Marek Polacek <polacek@redhat.com>
7306
7307 * locale/programs/localedef.h (show_archive_content): Add noreturn
7308 attribute.
7309
d6e97a1d
UD
73102012-01-09 Ulrich Drepper <drepper@gmail.com>
7311
7312 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7313
d5835c26
UD
73142012-01-08 Ulrich Drepper <drepper@gmail.com>
7315
e5f484c6
UD
7316 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7317
d5835c26
UD
7318 * io/Makefile (headers): Add bits/poll2.h.
7319
d1f741e9
WS
73202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7321
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7323 typo #include statement.
7324
ec09c1c4
UD
73252012-01-08 Ulrich Drepper <drepper@gmail.com>
7326
7327 * include/sys/cdefs.h: Define __attribute_alloc_size.
7328 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7329 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7330 * elf/pldd.c: Likewise.
7331 * iconv/iconv_charmap.c: Likewise.
7332 * iconv/iconvconfig.c: Likewise.
7333 * iconv/strtab.c: Likewise.
7334 * locale/programs/locale.c: Likewise.
7335 * locale/programs/localedef.h: Likewise.
7336 * locale/programs/simple-hash.c: Likewise.
7337 * nscd/nscd.h: Likewise.
7338 * nss/makedb.c: Likewise.
7339 * sysdeps/generic/ldconfig.h: Likewise.
7340 * locale/programs/localedef.c: Remove xmalloc prototype.
7341 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7342
20b38e03
PP
73432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7344
7345 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7346 appropriate.
7347
a0da5fe1
UD
73482012-01-08 Ulrich Drepper <drepper@gmail.com>
7349
1d5a644a 7350 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7351 * math/tst-CMPLX.c: New file.
1d5a644a 7352
8784a6db
UD
7353 * math/complex.h (CMPLXL): Fix typo.
7354
d9a216c0
UD
7355 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7356 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7357 GLIBC_2.16.
7358 * debug/tst-chk1.c: Add poll and ppoll tests.
7359 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7360 * include/sys/poll.h: Add hidden proto for ppoll.
7361 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7362 * sysdeps/mach/hurd/ppoll.c: Likewise.
7363 * io/ppoll.c: Likewise.
7364 * debug/poll_chk.c: New file.
7365 * debug/ppoll_chk.c: New file.
7366 * include/bits/poll2.h: New file.
7367 * io/bits/poll2.h: New file.
7368
ac097f5c
UD
7369 [BZ #1350]
7370 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7371
2119dcfa
UD
7372 * configure.in: static is always set to yes. Remove.
7373 * config.make.in: Don't set build-static.
7374 * Makeconfig: Remove use of build-static.
7375 * dlfcn/Makefile: Likewise.
7376 * elf/Makefile: Likewise.
7377 * math/Makefile: Likewise.
7378 * misc/Makefile: Likewise.
7379 * nptl/Makefile: Likewise.
7380 * sysdeps/mach/hurd/Makefile: Likewise.
7381
121766a9
UD
7382 * configure.in: PWD_P is not used anymore.
7383 * config.make.in: Remove PWD_P entry.
7384
51a1d39c 7385 * configure.in: Remove last remnants of RANLIB.
8720d066 7386 No need to check for signed size_t anymore.
215f4bdc
UD
7387 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7388 and IA-64.
3857022a 7389 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7390 * aclocal.m4: Likewise.
7391
d3ed7225
UD
7392 * wcsmbs/mbrtoc16.c: Implement using towc function.
7393 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7394 * wcsmbs/wcsmbsload.c: Likewise.
7395 * iconv/gconv_simple.c: Likewise.
7396 * iconv/gconv_int.h: Likewise.
7397 * iconv/gconv_builtin.h: Likewise.
7398 * iconv/iconv_prog.c: Remove CHAR16 handling.
7399
7400 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7401
7402 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7403
a0da5fe1
UD
7404 * configure.in: Remove --with-elf and --enable-bounded options.
7405 Dont set base_machine for ia64. More non-ELF conditions removed.
7406 Remove testing and setting of leading underscore information.
7407 * config.make.in (build-bounded): Set to no.
7408 * config.h.in: Remove NO_UNDERSCORES entry.
7409 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7410 them.
7411 * csu/start.c: Remove !NO_UNDERSCORE code.
7412 * locale/localeinfo.h: Likewise.
7413 * sysdeps/generic/machine-gmon.h: Likewise.
7414 * sysdeps/generic/sysdep.h: Likewise.
7415 * sysdeps/i386/sysdep.h: Likewise.
7416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7417 * sysdeps/mach/sysdep.h: Likewise.
7418 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7419 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7420 * sysdeps/sh/sysdep.h: Likewise.
7421 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7422 * sysdeps/unix/i386/sysdep.S: Likewise.
7423 * sysdeps/unix/sparc/start.c: Likewise.
7424 * sysdeps/unix/sparc/sysdep.S: Likewise.
7425 * sysdeps/unix/sparc/sysdep.h: Likewise.
7426 * sysdeps/unix/start.c: Likewise.
7427 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7428 * sysdeps/x86_64/sysdep.h: Likewise.
7429
df78418a
UD
74302012-01-07 Ulrich Drepper <drepper@gmail.com>
7431
a784e502
UD
7432 [BZ #13553]
7433 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7434 for non-gcc.
7435 * argp/argp-fmtstream.h: Use const instead __const.
7436 * argp/argp.h: Likewise.
7437 * assert/assert.h: Likewise.
7438 * bits/fenv.h: Likewise.
7439 * bits/sched.h: Likewise.
7440 * bits/sigset.h: Likewise.
7441 * bits/sigthread.h: Likewise.
7442 * catgets/nl_types.h: Likewise.
7443 * conform/data/pthread.h-data: Likewise.
7444 * crypt/crypt-private.h: Likewise.
7445 * crypt/crypt.h: Likewise.
7446 * crypt/crypt_util.c: Likewise.
7447 * ctype/ctype.h: Likewise.
7448 * debug/execinfo.h: Likewise.
7449 * debug/mbsnrtowcs_chk.c: Likewise.
7450 * debug/mbsrtowcs_chk.c: Likewise.
7451 * debug/wcsnrtombs_chk.c: Likewise.
7452 * debug/wcsrtombs_chk.c: Likewise.
7453 * debug/wcstombs_chk.c: Likewise.
7454 * dirent/dirent.h: Likewise.
7455 * dlfcn/dlfcn.h: Likewise.
7456 * elf/neededtest4.c: Likewise.
7457 * grp/grp.h: Likewise.
7458 * gshadow/gshadow.h: Likewise.
7459 * iconv/gconv.h: Likewise.
7460 * iconv/gconv_int.h: Likewise.
7461 * iconv/gconv_simple.c: Likewise.
7462 * iconv/iconv.h: Likewise.
7463 * iconv/loop.c: Likewise.
7464 * iconv/skeleton.c: Likewise.
7465 * include/aio.h: Likewise.
7466 * include/aliases.h: Likewise.
7467 * include/argz.h: Likewise.
7468 * include/arpa/inet.h: Likewise.
7469 * include/assert.h: Likewise.
7470 * include/dirent.h: Likewise.
7471 * include/dlfcn.h: Likewise.
7472 * include/execinfo.h: Likewise.
7473 * include/fcntl.h: Likewise.
7474 * include/fenv.h: Likewise.
7475 * include/glob.h: Likewise.
7476 * include/grp.h: Likewise.
7477 * include/libintl.h: Likewise.
7478 * include/mntent.h: Likewise.
7479 * include/netdb.h: Likewise.
7480 * include/pwd.h: Likewise.
7481 * include/rpc/netdb.h: Likewise.
7482 * include/sched.h: Likewise.
7483 * include/search.h: Likewise.
7484 * include/shadow.h: Likewise.
7485 * include/signal.h: Likewise.
7486 * include/stdio.h: Likewise.
7487 * include/stdlib.h: Likewise.
7488 * include/string.h: Likewise.
7489 * include/sys/socket.h: Likewise.
7490 * include/sys/stat.h: Likewise.
7491 * include/sys/statfs.h: Likewise.
7492 * include/sys/statvfs.h: Likewise.
7493 * include/sys/syslog.h: Likewise.
7494 * include/sys/time.h: Likewise.
7495 * include/sys/uio.h: Likewise.
7496 * include/time.h: Likewise.
7497 * include/unistd.h: Likewise.
7498 * include/utmp.h: Likewise.
7499 * include/wchar.h: Likewise.
7500 * include/wctype.h: Likewise.
7501 * inet/aliases.h: Likewise.
7502 * inet/arpa/inet.h: Likewise.
7503 * inet/netinet/ether.h: Likewise.
7504 * inet/netinet/in.h: Likewise.
7505 * intl/libintl.h: Likewise.
7506 * io/bits/fcntl2.h: Likewise.
7507 * io/fcntl.h: Likewise.
7508 * io/ftw.h: Likewise.
7509 * io/sys/poll.h: Likewise.
7510 * io/sys/stat.h: Likewise.
7511 * io/sys/statfs.h: Likewise.
7512 * io/sys/statvfs.h: Likewise.
7513 * io/utime.h: Likewise.
7514 * libio/bits/stdio.h: Likewise.
7515 * libio/bits/stdio2.h: Likewise.
7516 * libio/libio.h: Likewise.
7517 * libio/libioP.h: Likewise.
7518 * libio/stdio.h: Likewise.
7519 * locale/lc-ctype.c: Likewise.
7520 * locale/locale.h: Likewise.
7521 * login/utmp.h: Likewise.
7522 * malloc/arena.c: Likewise.
7523 * malloc/malloc.c: Likewise.
7524 * malloc/malloc.h: Likewise.
7525 * malloc/mcheck.c: Likewise.
7526 * malloc/mtrace.c: Likewise.
7527 * math/bits/mathcalls.h: Likewise.
7528 * math/fenv.h: Likewise.
7529 * math/math_private.h: Likewise.
7530 * misc/bits/error.h: Likewise.
7531 * misc/bits/syslog.h: Likewise.
7532 * misc/err.h: Likewise.
7533 * misc/error.h: Likewise.
7534 * misc/fstab.h: Likewise.
7535 * misc/mntent.h: Likewise.
7536 * misc/regexp.h: Likewise.
7537 * misc/search.h: Likewise.
7538 * misc/sgtty.h: Likewise.
7539 * misc/sys/mman.h: Likewise.
7540 * misc/sys/syslog.h: Likewise.
7541 * misc/sys/uio.h: Likewise.
7542 * misc/sys/xattr.h: Likewise.
7543 * misc/ttyent.h: Likewise.
7544 * nis/rpcsvc/ypclnt.h: Likewise.
7545 * nss/nss.h: Likewise.
7546 * posix/bits/unistd.h: Likewise.
7547 * posix/fnmatch.h: Likewise.
7548 * posix/glob.h: Likewise.
7549 * posix/sched.h: Likewise.
7550 * posix/spawn.h: Likewise.
7551 * posix/sys/wait.h: Likewise.
7552 * posix/unistd.h: Likewise.
7553 * posix/wordexp.h: Likewise.
7554 * pwd/pwd.h: Likewise.
7555 * resolv/netdb.h: Likewise.
7556 * resource/sys/resource.h: Likewise.
7557 * rt/aio.h: Likewise.
7558 * rt/bits/mqueue2.h: Likewise.
7559 * rt/mqueue.h: Likewise.
7560 * shadow/shadow.h: Likewise.
7561 * signal/signal.h: Likewise.
7562 * socket/send.c: Likewise.
7563 * socket/sendto.c: Likewise.
7564 * socket/sys/socket.h: Likewise.
7565 * stdio-common/printf.h: Likewise.
7566 * stdlib/bits/stdlib.h: Likewise.
7567 * stdlib/fmtmsg.h: Likewise.
7568 * stdlib/monetary.h: Likewise.
7569 * stdlib/stdlib.h: Likewise.
7570 * stdlib/ucontext.h: Likewise.
7571 * streams/stropts.h: Likewise.
7572 * string/argz.h: Likewise.
7573 * string/bits/string2.h: Likewise.
7574 * string/string.h: Likewise.
7575 * string/strings.h: Likewise.
7576 * sunrpc/rpc/auth.h: Likewise.
7577 * sunrpc/rpc/auth_des.h: Likewise.
7578 * sunrpc/rpc/clnt.h: Likewise.
7579 * sunrpc/rpc/netdb.h: Likewise.
7580 * sunrpc/rpc/pmap_clnt.h: Likewise.
7581 * sunrpc/rpc/xdr.h: Likewise.
7582 * sysdeps/generic/inttypes.h: Likewise.
7583 * sysdeps/generic/net/if.h: Likewise.
7584 * sysdeps/generic/sys/swap.h: Likewise.
7585 * sysdeps/gnu/net/if.h: Likewise.
7586 * sysdeps/gnu/utmpx.h: Likewise.
7587 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7588 * sysdeps/i386/i486/bits/string.h: Likewise.
7589 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7590 * sysdeps/s390/bits/string.h: Likewise.
7591 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7592 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7593 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7594 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7595 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7596 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7597 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7598 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7599 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7600 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7601 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7602 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7603 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7604 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7605 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7606 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7611 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7612 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7614 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7616 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7617 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7619 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7620 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7621 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7622 * sysvipc/sys/ipc.h: Likewise.
7623 * sysvipc/sys/msg.h: Likewise.
7624 * sysvipc/sys/sem.h: Likewise.
7625 * sysvipc/sys/shm.h: Likewise.
7626 * termios/termios.h: Likewise.
7627 * time/sys/time.h: Likewise.
7628 * time/time.h: Likewise.
7629 * wcsmbs/bits/wchar2.h: Likewise.
7630 * wcsmbs/uchar.h: Likewise.
7631 * wcsmbs/wchar.h: Likewise.
7632 * wctype/wctype.h: Likewise.
7633
0269750c
UD
7634 [BZ #13551]
7635 * Makeconfig: Remove all but ELF support including AIX support.
7636 * Makerules: Likewise.
7637 * config.h.in: Likewise.
7638 * config.make.in: Likewise.
7639 * configure: Likewise.
7640 * configure.in: Likewise.
7641 * csu/Makefile: Likewise.
7642 * csu/version.c: Likewise.
7643 * debug/Makefile: Likewise.
7644 * dlfcn/Makefile: Likewise.
7645 * elf/Makefile: Likewise.
7646 * extra-lib.mk: Likewise.
7647 * iconv/Makefile: Likewise.
7648 * include/libc-symbols.h: Likewise.
7649 * include/shlib-compat.h: Likewise.
7650 * resolv/Makefile: Likewise.
7651 * resolv/res_libc.c: Likewise.
7652 * rt/Makefile: Likewise.
7653 * sysdeps/i386/asm-syntax.h: Likewise.
7654 * sysdeps/i386/sysdep.h: Likewise.
7655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7656 * sysdeps/mach/sysdep.h: Likewise.
7657 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7658 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7659 * sysdeps/s390/asm-syntax.h: Likewise.
7660 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7661 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7662 * sysdeps/sh/sysdep.h: Likewise.
7663 * sysdeps/unix/sparc/sysdep.h: Likewise.
7664 * sysdeps/wordsize-32/divdi3.c: Likewise.
7665 * sysdeps/x86_64/sysdep.h: Likewise.
7666
00bbd29b
UD
7667 * argp/Versions: Remove _argp_unlock_xxx.
7668
7669 [BZ #13559]
7670 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7671 * abilist/libBrokenLocale.abilist: Likewise.
7672 * abilist/libanl.abilist: Likewise.
7673 * abilist/libc.abilist: Likewise.
7674 * abilist/libcrypt.abilist: Likewise.
7675 * abilist/libdl.abilist: Likewise.
7676 * abilist/libm.abilist: Likewise.
7677 * abilist/libnsl.abilist: Likewise.
7678 * abilist/libpthread.abilist: Likewise.
7679 * abilist/libresolv.abilist: Likewise.
7680 * abilist/librt.abilist: Likewise.
7681 * abilist/libthread_db.abilist: Likewise.
7682 * abilist/libutil.abilist: Likewise.
7683 * abilist/libnss_db.abilist: New file.
7684
7685 * scripts/abilist.awk: Add support for indirect functions.
7686
a2693a0e
UD
7687 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7688
3f05895f
UD
7689 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7690
ecb6fb48
UD
7691 * shlib-versions: Remove entries for ports architectures.
7692
664f8cb9
UD
7693 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7694 files in ports.
7695 * elf/stackguard-macros.h: Remove support for IA-64.
7696 * elf/tst-auditmod1.c: Likewise.
7697 * sysdeps/generic/ldsodefs.h: Likewise.
7698
7ae81d88
UD
7699 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7700 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7701 configure files.
7702
bdeba135
UD
7703 [BZ #13552]
7704 * configure.in: Remove --enable-omitfp support.
7705 * FAQ.in: Adjust.
7706 * config.make.in: Likewise.
7707 * Makeconfig: Likewise.
7708 * manual/install.texi: Likewise.
7709
d75a0a62
UD
7710 In case anyone cares, the IA-64 architecture could move to ports.
7711 * sysdeps/ia64/*: Removed.
7712 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7713 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7714
dcc9756b
UD
7715 [BZ #13555]
7716 * configure.in: Remove entries for unsupported architectures.
7717
d3761ebc 7718 [BZ #13533]
9954432e
UD
7719 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7720 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7721 routines.
7722 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7723 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7724 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7725 fall back to using wcrtomb.
7726 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7727 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7728 renaming.
7729 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7730 * wcsmbs/tst-c16c32-1.c: New file.
7731
7732 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7733 local variable.
7734
c3a87236
UD
7735 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7736
28926a1b
UD
7737 * elf/tst-unique3.cc: Add explicit declaration of gets.
7738 * elf/tst-unique3lib.cc: Likewise.
7739 * elf/tst-unique3lib2.cc: Likewise.
7740 * elf/tst-unique4.cc: Likewise.
7741
df78418a
UD
7742 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7743
8ecd6b2a
JM
77442012-01-06 Joseph Myers <joseph@codesourcery.com>
7745
7746 [BZ #13566]
7747 * assert/assert.h (static_assert): Don't define for C++.
7748 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7749 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7750
9f115170
UD
77512012-01-03 Ulrich Drepper <drepper@gmail.com>
7752
5e0d0300
UD
7753 * iconv/loop.c (single loop): Fix assertion in storing of
7754 remaining bytes.
7755
9f115170
UD
7756 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7757
81fb02b0
UD
77582012-01-01 Ulrich Drepper <drepper@gmail.com>
7759
7760 * posix/getconf.c: Update copyright year.
7761 * nss/getent.c: Likewise.
a316c1f6 7762 * nss/makedb.c: Likewise.
81fb02b0
UD
7763 * iconv/iconvconfig.c: Likewise.
7764 * iconv/iconv_prog.c: Likewise.
7765 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7766 * elf/pldd.c: Likewise.
7767 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7768 * catgets/gencat.c: Likewise.
7769 * csu/version.c: Likewise.
7770 * elf/ldd.bash.in: Likewise.
7771 * elf/sprof.c (print_version): Likewise.
7772 * locale/programs/locale.c: Likewise.
7773 * locale/programs/localedef.c: Likewise.
a316c1f6 7774 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7775 * nscd/nscd.c (print_version): Likewise.
7776 * debug/xtrace.sh: Likewise.
7777 * malloc/memusage.sh: Likewise.
7778 * malloc/mtrace.pl: Likewise.
7779 * debug/catchsegv.sh: Likewise.
7780
2ba92745
JJ
77812011-12-30 Jakub Jelinek <jakub@redhat.com>
7782
7783 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7784 pure attribute.
7785
dadebdae
UD
77862011-12-24 Ulrich Drepper <drepper@gmail.com>
7787
d3761ebc 7788 [BZ #13533]
db6af3eb
UD
7789 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7790 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7791 transformations.
7792 * iconv/gconv_int.h: Likewise.
7793 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7794 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7795 from libc for GLIBC_2.16.
7796 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7797 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7798 * wcsmbs/uchar.h: Really define mbstate_t.
7799 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7800 * wcsmbs/c16rtomb.c: New file.
7801 * wcsmbs/mbrtoc16.c: New file.
7802 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7803 for C/POSIX locale.
7804 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7805 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7806
dadebdae
UD
7807 * wcsmbs/wchar.h: Add missing __restrict.
7808
67371b56
UD
78092011-12-23 Ulrich Drepper <drepper@gmail.com>
7810
74033a25
UD
7811 [BZ #13532]
7812 * time/Makefile (routines): Add timespec_get.
7813 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7814 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7815 timespec for ISO C11.
7816 * time/timespec_get.c: New file.
7817 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7818 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7819
380d7e87
UD
7820 [BZ #13531]
7821 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7822 * stdlib/stdlib.h: Declare aligned_alloc.
7823 * Versions.def: Add GLIBC_2.16 for libc.
7824 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7825
4e9e7a35
UD
7826 [BZ 13527]
7827 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7828 ISO C11.
7829
380d7e87 7830 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7831 code.
7832
03a71829
UD
7833 [BZ #13528]
7834 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7835
839e283e
UD
7836 [BZ #13529]
7837 * assert/assert.h (static_assert): Define.
7838
ce5294e2 7839 * version.h: Update for 2.16 development version.
90fa7312 7840
8d44e150 7841 [BZ #13526]
d7809905
UD
7842 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7843 _ISOC11_SOURCE.
7844
c0da14cd
UD
7845 * version.h (RELEASE): Bump for 2.15 release.
7846 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7847
530a3249
MP
7848 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7849 Patch by Marek Polacek <mpolacek@redhat.com>.
7850
67371b56
UD
7851 * bits/byteswap.h: Protect long long constants with __extension__.
7852 * sysdeps/i386/bits/byteswap.h: Likewise.
7853 * sysdeps/ia64/bits/byteswap.h: Likewise.
7854 * sysdeps/s390/bits/byteswap.h: Likewise.
7855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7856
15db4de1
LD
78572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7858
7859 [BZ #13540]
bbe315ea
LD
7860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7861 destination buffer.
15db4de1
LD
7862 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7863
2b2596b1
MP
78642011-12-23 Marek Polacek <polacek@redhat.com>
7865
7866 * elf/dl-addr.c (determine_info): Add inline keyword.
7867 * elf/tst-auditmod4b.c (check_avx): Likewise.
7868 * elf/tst-auditmod6b.c (check_avx): Likewise.
7869 * elf/tst-auditmod6c.c (check_avx): Likewise.
7870 * elf/tst-auditmod7b.c (check_avx): Likewise.
7871
70c6c246
UD
78722011-12-23 Ulrich Drepper <drepper@gmail.com>
7873
7874 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7875 !__SSE_MATH__.
7876
c044cf14
LD
78772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7878
15db4de1 7879 [BZ #13540]
c044cf14
LD
7880 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7881 processing for last bytes.
7882
6b13d9d9
BH
78832011-08-06 Bruno Haible <bruno@clisp.org>
7884
d455f537
BH
7885 [BZ #13061]
7886 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7887 U+0385, not to U+1FEE.
7888
6b13d9d9
BH
7889 [BZ #13062]
7890 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7891 entry for U+00A5 U+0301.
7892
db910efd
UD
78932011-12-22 Ulrich Drepper <drepper@gmail.com>
7894
27deeafc
UD
7895 [BZ #13166]
7896 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7897 buffer for the output is too small.
7898
aed9d171
UD
7899 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7900 optimization.
7901
db910efd
UD
7902 [BZ #13185]
7903 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7904 SSE flags if possible.
7905
2bd779ae
LD
79062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7907
e7f9dac3 7908 [BZ #13540]
2bd779ae
LD
7909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7910 processing for last bytes.
7911
154bfc16
JM
79122011-12-22 Joseph Myers <joseph@codesourcery.com>
7913
7914 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7915 (syscall-list-default-options, syscall-list-default-condition)
7916 (syscall-list-includes): Define.
7917 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7918 list of ABIs and options and #if conditions for each ABI. Do not
7919 handle common syscalls between ABIs specially.
7920 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7921 Remove.
7922 (syscall-list-variants, syscall-list-32bit-options)
7923 (syscall-list-32bit-condition, syscall-list-64bit-options)
7924 (syscall-list-64bit-condition): Define.
7925 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7926 (syscall-list-variants, syscall-list-32bit-options)
7927 (syscall-list-32bit-condition, syscall-list-64bit-options)
7928 (syscall-list-64bit-condition): Define.
7929 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7930 Remove.
7931 (syscall-list-variants, syscall-list-32bit-options)
7932 (syscall-list-32bit-condition, syscall-list-64bit-options)
7933 (syscall-list-64bit-condition): Define.
7934 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7935 Remove.
7936 (syscall-list-variants, syscall-list-32bit-options)
7937 (syscall-list-32bit-condition, syscall-list-64bit-options)
7938 (syscall-list-64bit-condition): Define.
7939
21eaf3a5
UD
79402011-12-22 Ulrich Drepper <drepper@gmail.com>
7941
16c6f992
UD
7942 * locale/iso-639.def: Add brx entry.
7943
41043168
UD
7944 [BZ #13328]
7945 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7946 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7947
21eaf3a5
UD
7948 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7949 __feraiseexcept_renamed.
7950
e3a851a2
UD
79512011-12-21 Ulrich Drepper <drepper@gmail.com>
7952
4920765e
UD
7953 [BZ #13538]
7954 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7955 EPOLLET with unsigned values.
7956 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7958
e3a851a2
UD
7959 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7960 to large cancellation.
7961 * math/s_cacoshf.c: Likewise.
7962 * math/s_cacoshl.c: Likewise.
7963
b27e24b8
RK
79642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7965
7966 [BZ #13305]
aebefeee 7967 [BZ #12786]
b27e24b8
RK
7968 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7969 * math/s_cacoshf.c: Likewise.
7970 * math/s_cacoshl.c: Likewise.
7971
ee190f67
UD
79722011-12-21 Ulrich Drepper <drepper@gmail.com>
7973
7974 [BZ #13439]
7975 * iconv/gconv.h: Define __GCONV_SWAP.
7976 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7977 * iconvdata/utf-16.c: Likewise.
7978 * iconvdata/utf-32.c: Likewise.
7979
707f25df
AS
79802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7981
7982 [BZ #13524]
7983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7984 numerator after shifting it by one limb.
7985
d2daaa1e
RÁE
79862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7987
7988 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7989 under [__USE_EXTERN_INLINES].
7990
a4647e72
UD
79912011-12-17 Ulrich Drepper <drepper@gmail.com>
7992
7993 [BZ #13446]
7994 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7995
f0b264f1
AZ
79962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997
7998 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7999 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8000 optimized code.
8001 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8002 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8003 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8004 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8005 for strncasecmp/strncasecmp_l compilation.
8006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8007 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8008
8ef4f244
MP
80092011-12-08 Marek Polacek <mpolacek@redhat.com>
8010
8011 [BZ #13484]
8012 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8013 of __asm__.
8014
97ac2654
UD
80152011-12-17 Ulrich Drepper <drepper@gmail.com>
8016
8017 [BZ #13506]
8018 * time/tzfile.c (__tzfile_read): Check values from file header.
8019
91d2a845
WS
80202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8021
8022 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8023 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8024 * powerpc/powerpc32/dl-start.S: Likewise.
8025 * powerpc/powerpc32/elf/start.S: Likewise.
8026 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8027 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8028 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8029 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8030 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8031 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8032 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8033 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8034 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8035 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8036 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8037 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8038 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8039 * powerpc/powerpc32/memset.S: Likewise.
8040 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8041 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8042 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8043 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8044 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8045 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8046 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8047 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8048 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8049 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8051 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8052 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8053
a1267ba1
AZ
80542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8055
8056 * math/libm-test.inc: Added more nearbyint tests.
8057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8061
ad8ac1bd
RL
80622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8063
8064 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8065 FD_CLOEXEC.
8066
1d3e4b61
UD
80672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8068
8069 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8070 Add wcscpy-ssse3 wcscpy-c.
8071 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8072 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8073 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8074 * sysdeps/x86_64/wcschr.S: New file.
8075 * sysdeps/x86_64/wcsrchr.S: New file.
8076 * string/test-strcmp.c: Remove checking of wcscmp function for
8077 wrong alignments.
8078 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8079 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8080 wcsrchr-sse2 wcsrchr-c.
8081 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8082 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8083 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8084 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8085 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8086 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8087 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8088 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8089 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8090 * wcsmbc/wcschr.c (WCSCHR): New macro.
8091
5b330a2d
UD
80922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8093
8094 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8095 * wcsmbs/test-wcsrchr.c: New file.
8096 * string/test-strrchr.c: Add wcsrchr support.
8097 (WIDE): New macro.
8098 * wcsmbs/test-wcscpy.c: New file.
8099 * string/test-strcpy.c: Add wcscpy support.
8100 (WIDE): New macro.
26428b7c 8101
f039c043
UD
81022011-12-10 Ulrich Drepper <drepper@gmail.com>
8103
8104 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8105 the inner loop.
8106
850fb039
AS
81072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8108
8109 [BZ #13472]
8110 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8111
4efbd5cb
UD
81122011-12-04 Ulrich Drepper <drepper@gmail.com>
8113
52ff5dd0 8114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8115 Minor optimizations.
52ff5dd0 8116
4efbd5cb
UD
8117 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8118 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8119 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8120
8a426e12
UD
81212011-12-03 Ulrich Drepper <drepper@gmail.com>
8122
aff2453d
UD
8123 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8124 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8125 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8126 for gcc to avoid warnings.
8127 * inet/Makefile (tests): Add tst-checks.
8128 * inet/tst-checks.c: New file.
8129
8130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8131 warning.
8132
8133 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8134 __wmemcmp_sse2.
8135
8136 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8137 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8138
8a426e12
UD
8139 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8140
9bea3473
UD
81412011-12-02 Ulrich Drepper <drepper@gmail.com>
8142
3a965496
UD
8143 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8144 problem.
8145
9bea3473
UD
8146 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8147
f101631b
UD
81482011-11-29 Joseph Myers <joseph@codesourcery.com>
8149
8150 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8151 conditional on GCC version.
8152 (__arch_compare_and_exchange_val_8_acq)
8153 (__arch_compare_and_exchange_val_16_acq)
8154 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8155 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8156 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8157
a98275aa
UD
81582011-12-02 Joseph Myers <joseph@codesourcery.com>
8159
8160 * sysdeps/sh/backtrace.c: New file.
8161
d4cc29a2
AS
81622011-12-02 Andreas Schwab <schwab@redhat.com>
8163
8164 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8165 parenthesis.
8166
6257af2d
AS
81672011-12-01 Andreas Schwab <schwab@redhat.com>
8168
8169 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8170 falling back to utime.
8171
b5f44c1a
AS
81722011-11-30 Andreas Schwab <schwab@redhat.com>
8173
8174 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8175 expectations for float.
8176
f3a6cc0a
AS
81772011-11-29 Andreas Schwab <schwab@redhat.com>
8178
8179 * locale/weight.h (findidx): Add parameter len.
8180 * locale/weightwc.h (findidx): Likewise.
8181 * posix/fnmatch_loop.c (FCT): Adjust caller.
8182 * posix/regcomp.c (build_equiv_class): Likewise.
8183 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8184 * posix/regexec.c (check_node_accept_bytes): Likewise.
8185 * string/strcoll_l.c (STRCOLL): Likewise.
8186 * string/strxfrm_l.c (STRXFRM): Likewise.
8187
9d65ea3a
UD
81882011-11-17 Ulrich Drepper <drepper@gmail.com>
8189
8190 * Makefile.in: Remove CVSOPT handling.
8191 * configure.in: Remove use of AC_REVISION.
8192 * iconvdata/Makefile (distribute): No need to filter out CVS.
8193 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8194 handling.
8195
5583a086
AS
81962011-11-16 Andreas Schwab <schwab@redhat.com>
8197
8198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8199 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8200 [USE_AS_STRNCASECMP_L]: Likewise.
8201 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8202 NO_TLS_DIRECT_SEG_REFS.
8203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8204 Fix argument offsets for non-PIC.
8205 [USE_AS_STRNCASECMP_L]: Likewise.
8206 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8207 NO_TLS_DIRECT_SEG_REFS.
8208
d62a8200
UD
82092011-11-15 Ulrich Drepper <drepper@gmail.com>
8210
9d65ea3a 8211 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8212 O_CLOEXEC.
8213 * locale/loadlocale.c (_nl_load_locale): Likewise.
8214
09f93bd3
AS
82152011-11-15 Andreas Schwab <schwab@redhat.com>
8216
446514f9
AS
8217 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8218 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8220 (SYSCALL_GETTIME): Set errno on error.
8221
09f93bd3
AS
8222 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8223 count references to noai6ai_cached.
8224
312be3f9
UD
82252011-11-15 Ulrich Drepper <drepper@gmail.com>
8226
8227 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8228
8229 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8230 FD_CLOEXEC for /proc/self/maps.
8231
8232 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8233 FD_CLOEXEC for /proc/meminfo.
8234
8235 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8236 gai.conf.
8237
8238 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8239 FD_CLOEXEC for given file.
8240
8241 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8242
8243 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8244 FD_CLOEXEC for /etc/hosts.
8245 (_gethtent): Likewise.
8246
8247 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8248
8249 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8250 cancellation and set FD_CLOEXEC for /etc/netgroup.
8251
8252 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8253 reading /etc/publickey.
8254
8255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8256 allow cancellation when reading /etc/group.
8257
8258 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8259 cancellation.
8260 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8261
8262 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8263 when using data file.
8264
8265 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8266
8267 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8268 (write_nis_obj): Use "c" and "e" in fopen.
8269
8270 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8271
8272 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8273
8274 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8275
8276 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8277
8278 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8279 locale.alias.
8280
8281 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8282
8283 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8284
8285 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8286
8287 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8288 file parsing and set FD_CLOEXEC.
8289
82af0fa8
UD
82902011-11-14 Ulrich Drepper <drepper@gmail.com>
8291
8292 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8293
a5fb313c
AS
82942011-11-14 Andreas Schwab <schwab@redhat.com>
8295
8296 * malloc/arena.c (arena_get2): Don't call reused_arena when
8297 _int_new_arena failed.
8298
6abf3465
UD
82992011-11-14 Ulrich Drepper <drepper@gmail.com>
8300
8301 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8302 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8307 to compile strcasecmp and strncasecmp.
8308 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8309 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8310
8311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8312
76e3966e
UD
83132011-11-13 Ulrich Drepper <drepper@gmail.com>
8314
8315 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8316 locale-defines.sym to gen-as-const-headers.
8317 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8318 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8320 to compile strcasecmp and strncasecmp.
8321 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8322 strcasecmp_l and strncasecmp_l.
8323 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8324 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8325 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8326 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8327 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8328 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8329 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8330 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8331 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8332 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8333 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8334
ab26144e
UD
83352011-11-12 Ulrich Drepper <drepper@gmail.com>
8336
7edb22ef
UD
8337 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8338 result of SYSDEP_GETTIME_CPU to retval.
8339 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8340 parameter list to macro. Remove trailing semicolon. Adjust users.
8341
9694fc44
UD
8342 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8343 variable.
8344
8ad89ef8
UD
8345 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8346 mantissa words.
8347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8348
0c822ef9
UD
8349 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8350 from unused variable.
8351
874e0564
UD
8352 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8353 DWARF definitions.
8354 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8355 for assembling.
8356
3a2edc79
UD
8357 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8358 over namespaces.
8359
f3c2577f
UD
8360 * sunrpc/rpc_prot.c (rejected): Fix case value.
8361
294ce126
UD
8362 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8363 unsigned long long int to avoid warnings in shift.
8364
5e2b63c6
UD
8365 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8366 of use of trans.
8367 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8368 variable tmp.
8369
e7f4b08e
UD
8370 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8371 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8373
ab26144e
UD
8374 * nis/nis_table.c (nis_list): Use variable of correct type for
8375 result of __follow_path call.
8376
8a6d5255
AZ
83772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8378
8379 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8380 of math functions ceil, trunc, floor, round, and sqrt, when
8381 avaliable on the platform.
8382 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8383 name clash.
8384 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8385 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8386 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8387
aaddc98c
MP
83882011-10-30 Marek Polacek <mpolacek@redhat.com>
8389
8390 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8392
95b7042b
RM
83932011-11-11 Roland McGrath <roland@hack.frob.com>
8394
8395 * include/unistd.h: Fix __readlink return type.
8396 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8397
57769839
UD
83982011-11-11 Ulrich Drepper <drepper@gmail.com>
8399
8400 * stdlib/ucontext.h: Undo last change for makecontext.
8401
edc5984d
AS
84022011-11-11 Andreas Schwab <schwab@redhat.com>
8403
98591e58
AS
8404 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8405
edc5984d
AS
8406 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8407 * setjmp/setjmp.h: Mark functions as non-leaf.
8408 * setjmp/bits/setjmp2.h: Likewise.
8409 * stdlib/ucontext.h: Likewise.
8410
77cdc054
AS
84112011-11-10 Andreas Schwab <schwab@redhat.com>
8412
8413 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8414 (reused_arena): Don't check arena limit.
8415 (arena_get2): Atomically check arena limit.
8416
fe72eebd
UD
84172011-11-08 Ulrich Drepper <drepper@gmail.com>
8418
5f078c32
UD
8419 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8420 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8421
fe72eebd
UD
8422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8423 instructions.
8424
ae1bc2fa
AS
84252011-11-07 Andreas Schwab <schwab@redhat.com>
8426
7583a88d
AS
8427 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8428 handler when locking.
8429
ae1bc2fa
AS
8430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8431 Fix size of allocated buffer.
8432
10fb0bfa
AS
84332011-11-04 Andreas Schwab <schwab@redhat.com>
8434
998832a4
AS
8435 [BZ #10103]
8436 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8437 declarations for long double functions.
8438 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8439
10fb0bfa
AS
8440 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8441
3d7ba52b
AS
84422011-11-03 Andreas Schwab <schwab@redhat.com>
8443
a9ae54a1
AS
8444 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8445 installed.
8446
3d7ba52b
AS
8447 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8448 is disabled.
8449
bc8db248
ST
84502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8451
8452 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8453
45b96dd6
AS
84542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8455
647776f6
AS
8456 * include/alloca.h (stackinfo_alloca_round): Define.
8457 (extend_alloca): Use it.
8458 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8459 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8460 here.
8461
d91a8b93
AS
8462 * scripts/check-local-headers.sh: Ignore libaudit.h.
8463
45b96dd6
AS
8464 * nscd/Makefile (extra-objs): Make recursively expanded.
8465
432d41ce
UD
84662011-11-01 Ulrich Drepper <drepper@gmail.com>
8467
34372fc6
UD
8468 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8470
fadb59f8
UD
8471 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8472 * posix/tst-rfc3484-2.c: Likewise.
8473 * posix/tst-rfc3484-3.c: Likewise.
8474
78239589
UD
8475 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8476 process_vm_writev.
8477 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8478 process_vm_writev.
8479 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8480 process_vm_writev from libc using GLIBC_2.15 version.
8481
432d41ce
UD
8482 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8483
02f9c6cf
PP
84842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8485
8486 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8487 stack usage.
8488
3a2c0242
UD
84892011-10-31 Ulrich Drepper <drepper@gmail.com>
8490
f4ec4833
UD
8491 [BZ #13367]
8492 * nss/getent.c (initgroups_keys): Show error message in case no group
8493 names are given.
8494
3a2c0242
UD
8495 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8496 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8497 __bump_nl_timestamp.
8498 * nscd/connections (nscd_init): When host database is served open
8499 netlink socket and request notification about configuration changes.
8500 (main_loop_poll): Track netlink file descriptor and bump timestamp
8501 in case data becomes available.
8502 (main_loop_epoll): Likewise.
8503 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8504 (database_pers_head): Add extra_data fileds.
8505 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8507 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8508 Adjust caller.
8509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8510 in6ai data, call __free_in6ai.
8511 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8512 Add -DHAVE_NETLINK.
8513 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8514 interface information. Reuse previous data if netlink timestamp
8515 is not changed.
8516 (__bump_nl_timestamp): New function.
8517 (__free_in6ai): New function.
8518
636064eb
UD
85192011-10-30 Ulrich Drepper <drepper@gmail.com>
8520
8521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8522 close_not_cancel_no_status here.
8523 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8524
9beb2334
UD
85252011-10-29 Ulrich Drepper <drepper@gmail.com>
8526
6ef76f3b
UD
8527 [BZ #13276]
8528 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8529 return value.
8530
0ffc4f3e 8531 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8532 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8533 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8534
cb95113e
UD
85352011-07-03 Andreas Jaeger <aj@suse.de>
8536
8537 [BZ #10709]
8538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8539 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8540 * math/libm-test.inc (sin_test): Add test case.
8541
a1b560ff
UD
85422011-10-29 Ulrich Drepper <drepper@gmail.com>
8543
c9aaface
UD
8544 [BZ #13337]
8545 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8546 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8547
d272e7f1
UD
8548 * elf/chroot_canon.c (chroot_canon): Cleanups.
8549
1bc33071
UD
8550 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8551
1760874d
TJ
8552 [BZ #13335]
8553 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8554 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8555
51d91b18
UD
8556 * string/test-strchr.c: Make usable for strchrnul testing.
8557 * string/test-strchrnul.c: New file.
8558 * string/Makefile (strop-tests): Add strchrnul.
8559
a1b560ff 8560 * po/it.po: Update from translation team.
b611fb81 8561 * po/es.po: Likewise.
a1b560ff 8562
a5b81e1f
UD
85632011-10-28 Ulrich Drepper <drepper@gmail.com>
8564
fd52bc6d
UD
8565 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8566 the three constants needed as parameters. Drop the others.
8567 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8568 __m128i_strloadu_tolower.
52e4b9eb
UD
8569 Create and initialize variable zero and use it in all the places
8570 where _mm_setzero_si128 was used.
fd52bc6d 8571
a5b81e1f
UD
8572 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8573 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8574 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8576 anymore.
8577 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8580 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8581 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8582 __mpranred, __mptan.
8583 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8584 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8585 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8586 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8587 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8588 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8589 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8590 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8591 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8592
b4343346
AS
85932011-10-28 Andreas Schwab <schwab@redhat.com>
8594
0c92d8a8
AS
8595 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8596 redefine if SHARED.
8597 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8598
b4343346
AS
8599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8600 wide char related routines to wcsmbs subdir.
8601
3871f58f
AS
86022011-10-27 Andreas Schwab <schwab@redhat.com>
8603
8604 [BZ #13344]
8605 * misc/sys/cdefs.h (__THROWNL): Define.
8606 * posix/unistd.h: Use __THREADNL instead of __THREAD
8607 for memory synchronization functions.
8608
94d44d9f
RM
86092011-10-26 Roland McGrath <roland@hack.frob.com>
8610
21b64b15 8611 [BZ #13349]
94d44d9f
RM
8612 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8613 doesn't exist.
8614 * manual/stdio.texi (Obstack Streams): Node removed.
8615
f6ce9294
AS
86162011-10-26 Andreas Schwab <schwab@redhat.com>
8617
80479147
AS
8618 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8619 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8620 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8621
f6ce9294
AS
8622 * math/math_private.h (math_force_eval): Allow non-addressable
8623 arguments.
8624 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8625
618280a1
UD
86262011-10-25 Ulrich Drepper <drepper@gmail.com>
8627
e0016b11
UD
8628 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8629 file is not needed.
8630
8631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8633 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8634 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8637 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8638 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8639 Add AVX variants.
8640 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8641 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8642 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8643 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8644 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8645 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8646 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8647 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8648 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8649 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8650 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8651 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8652 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8653 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8654 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8655 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8656 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8657 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8658 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8659
8660 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8661 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8662
618280a1
UD
8663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8664 place. Use VEX encoding when compiling for AVX.
8665
37822576
AS
86662011-10-25 Andreas Schwab <schwab@redhat.com>
8667
1f1e1947
AS
8668 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8669 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8670
37822576
AS
8671 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8672
31ea014d
UD
86732011-10-25 Ulrich Drepper <drepper@gmail.com>
8674
d7826aa1 8675 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8676 useless if() expression.
d7826aa1
UD
8677 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8688 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8689 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8690 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8696
31ea014d
UD
8697 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8698
16437fec
AS
86992011-10-25 Andreas Schwab <schwab@redhat.com>
8700
8701 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8702 condition.
8703 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8704
31d3cc00
UD
87052011-10-25 Ulrich Drepper <drepper@gmail.com>
8706
8707 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8708 .text section. Avoid duplicate constants.
8709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8719 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8721 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8726 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8737 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8740 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8742 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8743 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8744 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8745 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8747 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8748 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8751 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8752 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8753 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8754
58985aa9
UD
87552011-10-24 Ulrich Drepper <drepper@gmail.com>
8756
202c9deb
UD
8757 * sysdeps/x86_64/dla.h: Move to ...
8758 * sysdeps/x86_64/fpu/dla.h: ...here.
8759 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8760 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8761
af968f62
UD
8762 * config.make.in: Add have-mfma4 entry.
8763 * configure.in: Substitute libc_cv_cc_fma4.
8764 * math/Makefile (dbl-only-routines): Add sincostab.
8765 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8766 Use __sincostab not sincos.
8767 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8768 name is a macro.
8769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8773 using __copysign.
8774 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8775 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8776 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8777 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8778 and __inv.
8779 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8780 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8781 __copysign.
8782 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8783 define aliases when function name is a macro.
8784 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8785 sysdeps/ieee754/dbl-64/sincos.tbl.
8786 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8787 fma4-enabled routines.
8788 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8789 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8790 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8791 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8797 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8798 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8799 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8805 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8806 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8808 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8809 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8811 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8813 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8818
58985aa9
UD
8819 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8820 rename.
8821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8829
a201fbcf
AS
88302011-10-24 Andreas Schwab <schwab@redhat.com>
8831
8832 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8833
fc2ee42a
LD
88342011-10-23 Ulrich Drepper <drepper@gmail.com>
8835
bb3129bd
UD
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8837
0275fff8
UD
8838 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8839 prediction.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8841
2fa2ae85
UD
8842 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8843 Remove unused variable magic_bits.
8844 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8845
fc2ee42a
LD
8846 * string/strnlen.c: Define and use STRNLEN macro.
8847 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8848 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8850 * wcsmbs/wcslen.c: Define and use WCSLEN.
8851 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8852 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8853 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8854 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8855 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8856 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8857 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8858
ce7dd29f
LD
88592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8860
8861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8862 strnlen-sse2-no-bsf.
8863 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8865 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8866 Add strnlen support.
8867 (USE_AS_STRNLEN): New macro.
8868 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8869 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8870 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8871 * sysdeps/x86_64/wcslen.S: New file.
8872
979c70a3
MZ
88732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8874
8875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8876 XMM-moves are used for copying on small sizes.
8877
2d09f82f
LD
88782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8879
8880 * wcsmbs/Makefile (strop-tests): Add wcschr.
8881 * wcsmbs/test-wcschr.c: New file.
8882 * string/test-strchr.c: Update.
8883 Add wcschr support.
8884 (WIDE): New macro.
8885
619fccca
LD
88862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8887
2d09f82f 8888 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8889 * wcsmbs/test-wcslen.c: New file.
8890 * string/test-strlen.c: Update.
8891 Add wcslen support.
8892 (WIDE): New macro.
8893
09f699ea
UD
88942011-10-23 Ulrich Drepper <drepper@gmail.com>
8895
8896 * po/it.po: Update from translation team.
8897
95584d3b
LD
88982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8899
8900 * sysdeps/x86_64/wcscmp.S: Update.
8901 Fix wrong comparison semantics.
8902 wcscmp shall use signed comparison not unsigned.
8903 Don't use substraction to avoid overflow bug.
8904 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8905 * wcsmbc/wcscmp.c: Likewise.
8906 * string/test-strcmp.c: Likewise.
8907 Add new tests to check cases with negative values.
8908
c8b3296b
UD
89092011-10-23 Ulrich Drepper <drepper@gmail.com>
8910
8911 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8912 * sysdeps/x86_64/dla.h: ...here. New file.
8913 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8922
246ad57a
AS
89232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8924
8925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8926 __ynl_finite aliases.
8927
a1a87169
UD
89282011-10-22 Ulrich Drepper <drepper@gmail.com>
8929
0d355eb7
UD
8930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8931
a1a87169
UD
8932 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8933 define DLA_FMA.
8934 [DLA_FMA] (EMULV): Use DLA_FMA.
8935 [DLA_FMA] (MUL12): Use EMULV.
8936 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8937 that are not needed.
8938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8945
ee2aafe0
AS
89462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8947
8948 * math/s_nan.c: Undef __nan.
8949 * math/s_nanf.c: Undef __nanf.
8950 * math/s_nanl.c: Undef __nanl.
8951 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8952 "math_private.h".
8953
bc62c2fb
UD
89542011-10-22 Ulrich Drepper <drepper@gmail.com>
8955
77425c63
UD
8956 * math/s_catan.c: Add branch predictions.
8957 * math/s_catanf.c: Likewise.
8958 * math/s_catanh.c: Likewise.
8959 * math/s_catanhf.c: Likewise.
8960 * math/s_catanhl.c: Likewise.
8961 * math/s_catanl.c: Likewise.
8962 * math/s_cexp.c: Likewise.
8963 * math/s_cexpf.c: Likewise.
8964 * math/s_cexpl.c: Likewise.
8965 * math/s_clog.c: Likewise.
8966 * math/s_clog10.c: Likewise.
8967 * math/s_clog10f.c: Likewise.
8968 * math/s_clog10l.c: Likewise.
8969 * math/s_clogf.c: Likewise.
8970 * math/s_clogl.c: Likewise.
8971 * math/s_csqrt.c: Likewise.
8972 * math/s_csqrtf.c: Likewise.
8973 * math/s_csqrtl.c: Likewise.
8974 * math/s_ctanf.c: Likewise.
8975 * math/s_ctanh.c: Likewise.
8976 * math/s_ctanhf.c: Likewise.
8977 * math/s_ctanhl.c: Likewise.
8978 * math/s_ctanl.c: Likewise.
8979
bc62c2fb
UD
8980 * math/math_private.h: Define __nan, __nanf, __nanl.
8981 * math/s_cacosh.c: Include <math_private.h>.
8982 * math/s_cacoshl.c: Likewise.
8983 * math/s_casinh.c: Likewise.
8984 * math/s_casinhf.c: Likewise.
8985 * math/s_casinhl.c: Likewise.
8986 * math/s_ccos.c: Rely entire on ccosh.
8987 * math/s_ccosf.c: Rely entire on ccoshf.
8988 * math/s_ccosl.c: Rely entirely on ccoshl.
8989 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8990 Remove tests for FE_INVALID.
8991 * math/s_ccoshf.c: Likewise.
8992 * math/s_ccoshl.c: Likewise.
8993 * math/s_csin.c: Likewise.
8994 * math/s_csinf.c: Likewise.
8995 * math/s_csinh.c Likewise.
8996 * math/s_csinhf.c: Likewise.
8997 * math/s_csinhl.c: Likewise.
8998 * math/s_csinl.c: Likewise.
8999 * math/s_ctan.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9001 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9002 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9003
8ec250a4
UD
90042011-10-21 Ulrich Drepper <drepper@gmail.com>
9005
c196fed8
UD
9006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9007 compilation problems.
9008
8ec250a4
UD
9009 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9010 __builtin_expect.
9011
8d4f46c6
UD
90122011-10-20 Ulrich Drepper <drepper@gmail.com>
9013
ed72b654
UD
9014 * sysdeps/i386/configure.in: Test for -mfma4 option.
9015 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9016 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9017 COMMON_CPUID_INDEX_80000001.
9018 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9019 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9020 use it if FMA3 is not supported.
9021 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9022
8d4f46c6
UD
9023 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9024 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9025
d45c60c2
AS
90262011-10-20 Andreas Schwab <schwab@redhat.com>
9027
9028 [BZ #12892]
9029 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9030 it would create a cycle with a link time dependency.
9031
d9a4d2ab
UD
90322011-10-19 Ulrich Drepper <drepper@gmail.com>
9033
855d1560
UD
9034 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9035 instruction.
9036 * string/Makefile (strop-tests): Add rawmemchr.
9037 * string/test-rawmemchr.c: New file.
9038
d9a4d2ab
UD
9039 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9041 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9042 when compiling str{,n}casecmp and when AVX is available. Hook up
9043 new optimized code in initializers.
9044
8f3b1ffe
AS
90452011-10-19 Andreas Schwab <schwab@redhat.com>
9046
9047 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9048 __feraiseexcept instead of feraiseexcept.
9049
d38f1dba
UD
90502011-10-18 Ulrich Drepper <drepper@gmail.com>
9051
d9a8d0ab
UD
9052 * math/math_private.h: Define defaults for libc_fetestexcept and
9053 libc_feupdateenv.
9054 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9055 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9057 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9059 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9060 libc_fetestexcept and libc_feupdateenv.
9061
4855e3dd
UD
9062 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9063 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9064 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9065 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9066 libc_feholdexcept_setround.
9067
581d30e3
UD
9068 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9069 Add s_nearbyint-c and s_nearbyintf-c.
9070 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9071 nearbyintf inlines.
9072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9076
d38f1dba
UD
9077 * math/math_private.h: Define defaults for libc_fegetround,
9078 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9079 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9080 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9082 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9083 standard functions.
9084 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9085 Remove comments and hacks for old compiler versions.
9086 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9087 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9088 libc_feholdexceptl.
9089
caa6c9d8
AS
90902011-10-18 Andreas Schwab <schwab@redhat.com>
9091
9092 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9093 (__feraiseexcept_renamed): Add __NTH.
9094 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9095 namespace violations.
9096
97c066e6
UD
90972011-10-17 Ulrich Drepper <drepper@gmail.com>
9098
99ce7b04
UD
9099 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9100
1004d182
UD
9101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9102
228a984d
UD
9103 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9104 recently added interfaces.
9105 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9106
c8553a6a
UD
9107 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9108 about macro parameter expansion.
9109
ed22dcf6
UD
9110 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9111 __NO_MATH_INLINES is defined. Cleanups.
9112
9113 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9114 and __floorf is target has SSE4.1.
9115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9116 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9117 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9118 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9119
b171c137
UD
9120 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9121 name.
9122 (floorf): Likewise.
9123
97c066e6
UD
9124 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9125
629f62ef
AS
91262011-10-17 Andreas Schwab <schwab@redhat.com>
9127
49a43d80
AS
9128 * misc/sys/cdefs.h: Fix last change.
9129
629f62ef
AS
9130 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9131 database lookup.
9132
e453f6cd
UD
91332011-10-16 Ulrich Drepper <drepper@gmail.com>
9134
aa78043a
UD
9135 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9136
ad0f5cad
UD
9137 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9143 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9146 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9147 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9148 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9149 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9150 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9151 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9152 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9153 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9154 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9155 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9156 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9157 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9158 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9159
9160 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9161 ceil, ceilf, floor, floorf.
9162
9163 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9164 Perform IRELATIVE relocations last.
9165
e453f6cd
UD
9166 * elf/do-rel.h: Add another parameter nrelative, replacing the
9167 local variable with the same name. Change name of the function
9168 to end in Rel or Rela (uppercase).
9169 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9170 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9171 elf_dynamic_do_##reloc function.
9172
fd5bdc09
UD
91732011-10-15 Ulrich Drepper <drepper@gmail.com>
9174
79b195b5
UD
9175 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9176 is sufficient, at least on modern CPUs.
9177
d4a28569
UD
9178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9179
b61099b5
UD
9180 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9182
bcf01e6d
UD
9183 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9184 __expl_finite.
9185 * math/bits/math-finite.h: Add entries for exp.
9186 * math/e_expl.c: Add __*_finite alias.
9187 * sysdeps/i386/fpu/e_exp.S: Likewise.
9188 * sysdeps/i386/fpu/e_expf.S: Likewise.
9189 * sysdeps/i386/fpu/e_expl.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9195 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9196 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9197
ba1a0d59
UD
9198 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9199 is sufficient, at least on modern CPUs.
9200
fd5bdc09
UD
9201 * ctype/ctype-info.c (__ctype_init): Define.
9202 * include/ctype.h (__ctype_init): Declare.
9203 (__ctype_b_loc): The variable is always initialized.
9204 (__ctype_toupper_loc): Likewise.
9205 (__ctype_tolower_loc): Likewise.
9206 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9207 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9208
7872cfb0
AS
92092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9210
b468825a
AS
9211 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9212
7872cfb0
AS
9213 * configure.in: Also look in $cxxmachine/include for C++ system
9214 headers.
9215
be13f7bf
LD
92162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9217
9218 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9219 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9220 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9221 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9223 (USE_AS_WMEMCMP): New macro.
9224 Fixing indents.
9225 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9226 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9227 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9228 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9230 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9231 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9232 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9233 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9234 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9236 (USE_AS_WMEMCMP): New macro.
9237 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9238 * sysdeps/string/test-memcmp.c: Update.
9239 Fix simple_wmemcmp.
9240 Add new tests.
9241 * wcsmbs/wmemcmp.c: Update.
9242 (WMEMCMP): New macro.
9243 Fix overflow bug.
9244
556a2007
AJ
92452011-10-12 Andreas Jaeger <aj@suse.de>
9246
9247 [BZ #13268]
9248 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9249
538faaa7
UD
92502011-10-15 Ulrich Drepper <drepper@gmail.com>
9251
ab6737ff
UD
9252 * libio/iofwide.c (do_length): Avoid warning.
9253
538faaa7
UD
9254 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9255
396a21b1
UD
92562011-10-14 Ulrich Drepper <drepper@gmail.com>
9257
cdf2901f
UD
9258 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9259
38ad40ce
UD
9260 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9261 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9262 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9263 * sysdeps/i386/i686/fpu/e_log.S: New file.
9264 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9265 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9266
396a21b1
UD
9267 * ctype/ctype.h: Add support for inlined isXXX functions when
9268 compiling C++ code.
9269
6b1f68c9
AS
92702011-10-14 Andreas Schwab <schwab@redhat.com>
9271
349290c0
AS
9272 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9273
6b1f68c9
AS
9274 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9275
f2282d42
RM
92762011-10-13 Roland McGrath <roland@hack.frob.com>
9277
9278 [BZ #13291]
9279 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9280
5298ffa8
AS
92812011-10-13 Andreas Schwab <schwab@redhat.com>
9282
714fad23
AS
9283 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9284 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9285 feraiseexcept.
9286
81dcc7fb
AS
9287 * sysdeps/x86_64/memrchr.S: Check for zero size.
9288
5298ffa8
AS
9289 * string/stratcliff.c: Add memrchr tests.
9290
951fbcec
LD
92912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9292
9293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9294 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9295 rawmemchr-sse2 rawmemchr-sse2-bsf.
9296 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9297 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9298 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9299 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9300 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9301 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9302 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9303 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9304 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9306 * string/memrchr.c (MEMRCHR): New macro.
9307
0ac5ae23
UD
93082011-10-12 Ulrich Drepper <drepper@gmail.com>
9309
9310 Add integration with gcc's -ffinite-math-only and optimize wrapper
9311 functions in libm.
9312 * Versions.def: Define GLIBC_2.15 version for libm.
9313 * math/Makefile (headers): Add bits/math-finite.h.
9314 * math/bits/math-finite.h: New file.
9315 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9316 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9317 * math/e_acoshl.c: Add __*_finite alias.
9318 * math/e_acosl.c: Likewise.
9319 * math/e_asinl.c: Likewise.
9320 * math/e_atan2l.c: Likewise.
9321 * math/e_atanhl.c: Likewise.
9322 * math/e_coshl.c: Likewise.
9323 * math/e_exp10.c: Likewise.
9324 * math/e_exp10f.c: Likewise.
9325 * math/e_exp10l.c: Likewise.
9326 * math/e_exp2l.c: Likewise.
9327 * math/e_fmodl.c: Likewise.
9328 * math/e_gammal_r.c: Likewise.
9329 * math/e_hypotl.c: Likewise.
9330 * math/e_j0l.c: Likewise.
9331 * math/e_j1l.c: Likewise.
9332 * math/e_jnl.c: Likewise.
9333 * math/e_lgammal_r.c: Likewise.
9334 * math/e_log10l.c: Likewise.
9335 * math/e_log2l.c: Likewise.
9336 * math/e_logl.c: Likewise.
9337 * math/e_powl.c: Likewise.
9338 * math/e_sinhl.c: Likewise.
9339 * math/e_sqrtl.c: Likewise.
9340 * math/e_scalb.c: Completely rewritten and optimized.
9341 * math/e_scalbf.c: Likewise.
9342 * math/e_scalbl.c: Likewise.
9343 * math/w_acos.c: Likewise.
9344 * math/w_acosf.c: Likewise.
9345 * math/w_acosl.c: Likewise.
9346 * math/w_acosh.c: Likewise.
9347 * math/w_acoshf.c: Likewise.
9348 * math/w_acoshl.c: Likewise.
9349 * math/w_asin.c: Likewise.
9350 * math/w_asinf.c: Likewise.
9351 * math/w_asinl.c: Likewise.
9352 * math/w_atan2.c: Likewise.
9353 * math/w_atan2f.c: Likewise.
9354 * math/w_atan2l.c: Likewise.
9355 * math/w_atanh.c: Likewise.
9356 * math/w_atanhf.c: Likewise.
9357 * math/w_atanhl.c: Likewise.
9358 * math/w_exp10.c: Likewise.
9359 * math/w_exp10f.c: Likewise.
9360 * math/w_exp10l.c: Likewise.
9361 * math/w_fmod.c: Likewise.
9362 * math/w_fmodf.c: Likewise.
9363 * math/w_fmodl.c: Likewise.
9364 * math/w_j0.c: Likewise.
9365 * math/w_j0f.c: Likewise.
9366 * math/w_j0l.c: Likewise.
9367 * math/w_j1.c: Likewise.
9368 * math/w_j1f.c: Likewise.
9369 * math/w_j1l.c: Likewise.
9370 * math/w_jn.c: Likewise.
9371 * math/w_jnf.c: Likewise.
9372 * math/w_log.c: Likewise.
9373 * math/w_logf.c: Likewise.
9374 * math/w_logl.c: Likewise.
9375 * math/w_log10.c: Likewise.
9376 * math/w_log10f.c: Likewise.
9377 * math/w_log10l.c: Likewise.
9378 * math/w_log2.c: Likewise.
9379 * math/w_log2f.c: Likewise.
9380 * math/w_log2l.c: Likewise.
9381 * math/w_pow.c: Likewise.
9382 * math/w_powf.c: Likewise.
9383 * math/w_powl.c: Likewise.
9384 * math/w_remainder.c: Likewise.
9385 * math/w_remainderf.c: Likewise.
9386 * math/w_remainderl.c: Likewise.
9387 * math/w_scalb.c: Likewise.
9388 * math/w_scalbf.c: Likewise.
9389 * math/w_scalbl.c: Likewise.
9390 * math/w_sqrt.c: Likewise.
9391 * math/w_sqrtf.c: Likewise.
9392 * math/w_sqrtl.c: Likewise.
9393 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9394 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9395 used.
9396 * math/math_private.h: Declare __kernel_standard_f.
9397 * math/w_cosh.c: Remove cruft and optimize a bit.
9398 * math/w_coshf.c: Likewise.
9399 * math/w_coshl.c: Likewise.
9400 * math/w_exp2.c: Likewise.
9401 * math/w_exp2f.c: Likewise.
9402 * math/w_exp2l.c: Likewise.
9403 * math/w_hypot.c: Likewise.
9404 * math/w_hypotf.c: Likewise.
9405 * math/w_hypotl.c: Likewise.
9406 * math/w_lgamma.c: Likewise.
9407 * math/w_lgamma_r.c: Likewise.
9408 * math/w_lgammaf.c: Likewise.
9409 * math/w_lgammaf_r.c: Likewise.
9410 * math/w_lgammal.c: Likewise.
9411 * math/w_lgammal_r.c: Likewise.
9412 * math/w_sinh.c: Likewise.
9413 * math/w_sinhf.c: Likewise.
9414 * math/w_sinhl.c: Likewise.
9415 * math/w_tgamma.c: Likewise.
9416 * math/w_tgammaf.c: Likewise.
9417 * math/w_tgammal.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9420 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9421 Minor optimizations. Pretty printing. Remove cruft.
9422 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9423 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9424 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9426 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9427 * sysdeps/i386/fpu/e_asin.S: Likewise.
9428 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9429 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9430 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9431 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9432 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9435 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9436 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9437 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9438 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9439 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9440 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9441 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9442 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9443 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9444 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9445 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9446 * sysdeps/i386/fpu/e_log.S: Likewise.
9447 * sysdeps/i386/fpu/e_log10.S: Likewise.
9448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9449 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9450 * sysdeps/i386/fpu/e_log2.S: Likewise.
9451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9452 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9453 * sysdeps/i386/fpu/e_logf.S: Likewise.
9454 * sysdeps/i386/fpu/e_logl.S: Likewise.
9455 * sysdeps/i386/fpu/e_pow.S: Likewise.
9456 * sysdeps/i386/fpu/e_powf.S: Likewise.
9457 * sysdeps/i386/fpu/e_powl.S: Likewise.
9458 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9459 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9460 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9461 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9462 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9464 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9465 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9466 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9498 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9499 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9501 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9502 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9503 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9505 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9558 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9559 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9560 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9562 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9563 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9564 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9565 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9566 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9567 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9568 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9569 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9570 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9571 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9575 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9577 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9578 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9579 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9580 (__isnanf): Likewise.
9581 (__isinf_ns): Likewise.
9582 (__isinf_nsf): Likewise.
9583 (__finite): Likewise.
9584 (__finitef): Likewise.
9585 (__ieee754_sqrt): Define as macro.
9586 (__ieee754_sqrtf): Define as macro.
9587 (__ieee754_sqrtl): Define as macro.
9588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9589 inlined copy.
9590 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9591 __FINITE_MATH_ONLY__ consistent.
9592 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9593
12cc2fcd
AS
95942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9595
a843a204
AS
9596 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9597 of rawmemchr.
9598
12cc2fcd
AS
9599 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9600
c853acd5
UD
96012011-10-09 Ulrich Drepper <drepper@gmail.com>
9602
9603 * po/ja.po: Update from translation team.
9604
c658d255
RM
96052011-10-08 Roland McGrath <roland@hack.frob.com>
9606
110946e4
RM
9607 * locale/programs/locarchive.c (prepare_address_space): New function.
9608 (create_archive, enlarge_archive, open_archive): Use it.
9609
50604220
RM
9610 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9611 inside [SHARED], where it is used.
9612
c658d255
RM
9613 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9614
9615 * nss/getent.c (netgroup_keys): Remove unused variable.
9616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9617
6a621eb7
UD
96182011-10-08 Ulrich Drepper <drepper@gmail.com>
9619
7edb55ce
UD
9620 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9621 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9624 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9625 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9626 * math/Makefile (libm-calls): Add s_isinf_ns.
9627 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9628 * math/multc3.c: Likewise.
9629 * math/s_casin.c: Likewise.
9630 * math/s_casinf.c: Likewise.
9631 * math/s_casinl.c: Likewise.
9632 * math/s_ccos.c: Likewise.
9633 * math/s_ccosf.c: Likewise.
9634 * math/s_ccosl.c: Likewise.
9635 * math/s_ctan.c: Likewise.
9636 * math/s_ctanf.c: Likewise.
9637 * math/s_ctanh.c: Likewise.
9638 * math/s_ctanhf.c: Likewise.
9639 * math/s_ctanhl.c: Likewise.
9640 * math/s_ctanl.c: Likewise.
9641 * math/w_fmod.c: Likewise.
9642 * math/w_fmodf.c: Likewise.
9643 * math/w_fmodl.c: Likewise.
9644 * math/w_remainder.c: Likewise.
9645 * math/w_remainderf.c: Likewise.
9646 * math/w_remainderl.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9648 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9651 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9652 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9653 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9654 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9655
187da0ae
UD
9656 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9657 of the number.
9658 * stdio-common/printf_fphex.c: Likewise.
9659 * stdio-common/printf_size.c: Likewise.
9660
9277c064
UD
9661 * math/e_exp10.c: Include math_private.h using <...> not "...".
9662 * math/e_exp10f.c: Likewise.
9663 * math/e_exp10l.c: Likewise.
9664 * math/e_exp2l.c: Likewise.
9665 * math/e_j0l.c: Likewise.
9666 * math/e_j1l.c: Likewise.
9667 * math/e_jnl.c: Likewise.
9668 * math/e_lgammal_r.c: Likewise.
9669 * math/e_rem_pio2l.c: Likewise.
9670 * math/e_scalb.c: Likewise.
9671 * math/e_scalbf.c: Likewise.
9672 * math/e_scalbl.c: Likewise.
9673 * math/k_cosl.c: Likewise.
9674 * math/k_sinl.c: Likewise.
9675 * math/k_tanl.c: Likewise.
9676 * math/s_cacoshf.c: Likewise.
9677 * math/s_catan.c: Likewise.
9678 * math/s_catanf.c: Likewise.
9679 * math/s_catanh.c: Likewise.
9680 * math/s_catanhf.c: Likewise.
9681 * math/s_catanhl.c: Likewise.
9682 * math/s_catanl.c: Likewise.
9683 * math/s_ccosh.c: Likewise.
9684 * math/s_ccoshf.c: Likewise.
9685 * math/s_ccoshl.c: Likewise.
9686 * math/s_cexp.c: Likewise.
9687 * math/s_cexpf.c: Likewise.
9688 * math/s_cexpl.c: Likewise.
9689 * math/s_clog.c: Likewise.
9690 * math/s_clog10.c: Likewise.
9691 * math/s_clog10f.c: Likewise.
9692 * math/s_clog10l.c: Likewise.
9693 * math/s_clogf.c: Likewise.
9694 * math/s_clogl.c: Likewise.
9695 * math/s_csin.c: Likewise.
9696 * math/s_csinf.c: Likewise.
9697 * math/s_csinh.c: Likewise.
9698 * math/s_csinhf.c: Likewise.
9699 * math/s_csinhl.c: Likewise.
9700 * math/s_csinl.c: Likewise.
9701 * math/s_csqrt.c: Likewise.
9702 * math/s_csqrtf.c: Likewise.
9703 * math/s_csqrtl.c: Likewise.
9704 * math/s_ctan.c: Likewise.
9705 * math/s_ctanf.c: Likewise.
9706 * math/s_ctanh.c: Likewise.
9707 * math/s_ctanhf.c: Likewise.
9708 * math/s_ctanhl.c: Likewise.
9709 * math/s_ctanl.c: Likewise.
9710 * math/s_ldexp.c: Likewise.
9711 * math/s_ldexpf.c: Likewise.
9712 * math/s_ldexpl.c: Likewise.
9713 * math/s_significand.c: Likewise.
9714 * math/s_significandf.c: Likewise.
9715 * math/s_significandl.c: Likewise.
9716 * math/w_acos.c: Likewise.
9717 * math/w_acosf.c: Likewise.
9718 * math/w_acosh.c: Likewise.
9719 * math/w_acoshf.c: Likewise.
9720 * math/w_acoshl.c: Likewise.
9721 * math/w_acosl.c: Likewise.
9722 * math/w_asin.c: Likewise.
9723 * math/w_asinf.c: Likewise.
9724 * math/w_asinl.c: Likewise.
9725 * math/w_atan2.c: Likewise.
9726 * math/w_atan2f.c: Likewise.
9727 * math/w_atan2l.c: Likewise.
9728 * math/w_atanh.c: Likewise.
9729 * math/w_atanhf.c: Likewise.
9730 * math/w_atanhl.c: Likewise.
9731 * math/w_cosh.c: Likewise.
9732 * math/w_coshf.c: Likewise.
9733 * math/w_coshl.c: Likewise.
9734 * math/w_dremf.c: Likewise.
9735 * math/w_exp10.c: Likewise.
9736 * math/w_exp10f.c: Likewise.
9737 * math/w_exp10l.c: Likewise.
9738 * math/w_exp2.c: Likewise.
9739 * math/w_exp2f.c: Likewise.
9740 * math/w_fmod.c: Likewise.
9741 * math/w_fmodf.c: Likewise.
9742 * math/w_fmodl.c: Likewise.
9743 * math/w_hypot.c: Likewise.
9744 * math/w_hypotf.c: Likewise.
9745 * math/w_hypotl.c: Likewise.
9746 * math/w_j0.c: Likewise.
9747 * math/w_j0f.c: Likewise.
9748 * math/w_j0l.c: Likewise.
9749 * math/w_j1.c: Likewise.
9750 * math/w_j1f.c: Likewise.
9751 * math/w_j1l.c: Likewise.
9752 * math/w_jn.c: Likewise.
9753 * math/w_jnf.c: Likewise.
9754 * math/w_jnl.c: Likewise.
9755 * math/w_lgamma.c: Likewise.
9756 * math/w_lgamma_r.c: Likewise.
9757 * math/w_lgammaf.c: Likewise.
9758 * math/w_lgammaf_r.c: Likewise.
9759 * math/w_lgammal.c: Likewise.
9760 * math/w_lgammal_r.c: Likewise.
9761 * math/w_log.c: Likewise.
9762 * math/w_log10.c: Likewise.
9763 * math/w_log10f.c: Likewise.
9764 * math/w_log10l.c: Likewise.
9765 * math/w_log2.c: Likewise.
9766 * math/w_log2f.c: Likewise.
9767 * math/w_log2l.c: Likewise.
9768 * math/w_logf.c: Likewise.
9769 * math/w_logl.c: Likewise.
9770 * math/w_pow.c: Likewise.
9771 * math/w_powf.c: Likewise.
9772 * math/w_powl.c: Likewise.
9773 * math/w_remainder.c: Likewise.
9774 * math/w_remainderf.c: Likewise.
9775 * math/w_remainderl.c: Likewise.
9776 * math/w_scalb.c: Likewise.
9777 * math/w_scalbf.c: Likewise.
9778 * math/w_scalbl.c: Likewise.
9779 * math/w_sinh.c: Likewise.
9780 * math/w_sinhf.c: Likewise.
9781 * math/w_sinhl.c: Likewise.
9782 * math/w_sqrt.c: Likewise.
9783 * math/w_sqrtf.c: Likewise.
9784 * math/w_sqrtl.c: Likewise.
9785 * math/w_tgamma.c: Likewise.
9786 * math/w_tgammaf.c: Likewise.
9787 * math/w_tgammal.c: Likewise.
9788
6a621eb7
UD
9789 * po/ja.po: Update from translation team.
9790
bf582445
AJ
97912011-09-29 Andreas Jaeger <aj@suse.de>
9792
f9efbf3a
AJ
9793 [BZ #13179]
9794 * sunrpc/netname.c (netname2host): Fix logic.
9795
bf582445
AJ
9796 [BZ #6779]
9797 [BZ #6783]
9798 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9799 correctly.
9800 * math/w_remainder.c (__remainder): Likewise.
9801 * math/w_remainderf.c (__remainderf): Likewise.
9802 * math/libm-test.inc (remainder_test): Add test cases.
9803
48693bea
AK
98042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9805
9806 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9807 sdiv_qrnnd.
9808
42622229
LD
98092011-10-07 Ulrich Drepper <drepper@gmail.com>
9810
9811 * string/test-memcmp.c: Avoid unncessary #defines.
9812 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9813
093ecf92
LD
98142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9815
9816 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9817 Use new sse2 version for core i3 - i7 as it's faster
9818 than sse42 version.
9819 (bit_Prefer_PMINUB_for_stringop): New.
9820 * sysdeps/x86_64/rawmemchr.S: Update.
9821 Replace with faster SSE2 version.
9822 * sysdeps/x86_64/memrchr.S: New file.
9823 * sysdeps/x86_64/memchr.S: Update.
9824 Replace with faster SSE2 version.
9825
fde56e5c
MP
98262011-09-12 Marek Polacek <mpolacek@redhat.com>
9827
9828 * elf/dl-load.c (lose): Add cast to avoid warning.
9829
21fd49a9
UD
98302011-10-07 Ulrich Drepper <drepper@gmail.com>
9831
5a06e643
UD
9832 * po/ca.po: Update from translation team.
9833
684ae515
UD
9834 * inet/getnetgrent_r.c: Hook up nscd.
9835 * nscd/Makefile (routines): Add nscd_netgroup.
9836 (nscd-modules): Add netgroupcache.
9837 (CFLAGS-netgroupcache.c): Define.
9838 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9839 (cache_search): Add const to second parameter.
9840 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9841 INNETGR.
9842 (dbs): Add netgrdb entry.
9843 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9844 (verify_persistent_db): Handle netgrdb.
9845 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9846 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9847 GETFDNETGR.
9848 (netgroup_response_header): Define.
9849 (innetgroup_response_header): Define.
9850 (datahead): Add netgroup_response_header and innetgroup_response_header
9851 elements.
9852 * nscd/nscd.conf: Add entries for netgroup cache.
9853 * nscd/nscd.h (dbtype): Add netgrdb.
9854 (_PATH_NSCD_NETGROUP_DB): Define.
9855 (netgroup_iov_disabled): Declare.
9856 (xmalloc, xcalloc, xrealloc): Move declarations here.
9857 (cache_search): Adjust prototype.
9858 Add netgroup-related prototypes.
9859 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9860 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9861 (__nscd_innetgr): Declare.
9862 * nscd/selinux.c (perms): Use access_vector_t as element type and
9863 add netgroup-related initializers.
9864 * nscd/netgroupcache.c: New file.
9865 * nscd/nscd_netgroup.c: New file.
9866 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9867 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9868 For four parameters use innetgr.
9869 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9870 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9871 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9872 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9873
21fd49a9
UD
9874 * nscd/connections.c (register_traced_file): Don't register file
9875 for disabled databases.
9876
054c0457
UD
98772011-10-06 Ulrich Drepper <drepper@gmail.com>
9878
32b63198
UD
9879 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9880
054c0457
UD
9881 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9882 from tree and freeing node.
9883
64031225
JO
98842011-09-25 Jiri Olsa <jolsa@redhat.com>
9885
9886 * nss/nsswitch.c (__nss_database_lookup): Handle
9887 nss_parse_service_list out of memory case.
9888
0490345c
JO
98892011-09-15 Jiri Olsa <jolsa@redhat.com>
9890
9891 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9892 out of memory case.
9893
3a62d00d
AS
98942011-10-04 Andreas Schwab <schwab@redhat.com>
9895
9896 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9897 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9898 pass it down.
9899 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9900 elf_machine_rela, elf_machine_lazy_rel.
9901 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9902 (ELF_DYNAMIC_DO_REL): Likewise.
9903 (ELF_DYNAMIC_DO_RELA): Likewise.
9904 (ELF_DYNAMIC_RELOCATE): Likewise.
9905 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9906 to ELF_DYNAMIC_DO_REL.
9907 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9908 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9909 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9910 elf_machine_rela.
9911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9912 skip_ifunc, don't call ifunc function if non-zero.
9913 (elf_machine_rela): Likewise.
9914 (elf_machine_lazy_rel): Likewise.
9915 (elf_machine_lazy_rela): Likewise.
9916 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9917 (elf_machine_lazy_rel): Likewise.
9918 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9919 Likewise.
9920 (elf_machine_lazy_rel): Likewise.
9921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9922 Likewise.
9923 (elf_machine_lazy_rel): Likewise.
9924 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9925 (elf_machine_lazy_rel): Likewise.
9926 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9927 (elf_machine_lazy_rel): Likewise.
9928 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9929 (elf_machine_lazy_rel): Likewise.
9930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9931 (elf_machine_lazy_rel): Likewise.
9932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9933 (elf_machine_lazy_rel): Likewise.
9934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9935 (elf_machine_lazy_rel): Likewise.
9936
68577918
UD
99372011-09-28 Ulrich Drepper <drepper@gmail.com>
9938
9939 * nss/nss_files/files-init.c (_nss_files_init): Use static
9940 initialization for all the *_traced_file variables.
9941
68822d74
AS
99422011-09-28 Andreas Schwab <schwab@redhat.com>
9943
9944 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9945
2056100b
RM
99462011-09-27 Roland McGrath <roland@hack.frob.com>
9947
9948 [BZ #13226]
9949 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9950
32c76b63
AS
99512011-09-27 Andreas Schwab <schwab@redhat.com>
9952
9953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9954 Reread the line before reparsing it.
9955
bf972c9d
AS
99562011-09-26 Andreas Schwab <schwab@redhat.com>
9957
9958 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9959
e057a1b5
JM
99602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9961 Maxim Kuvyrkov <maxim@codesourcery.com>
9962 Joseph Myers <joseph@codesourcery.com>
9963
9964 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9965 if needed for __stack_chk_guard.
9966
bc7e1c36
RM
99672011-09-19 Roland McGrath <roland@hack.frob.com>
9968
ecb1482f
RM
9969 * sysdeps/posix/spawni.c (script_execute): Always define it.
9970 It will be optimized away if unused.
9971 (maybe_script_execute): New function.
9972 (__spawni): Call it.
9973
bc7e1c36
RM
9974 * Makerules: Don't include tls.make.
9975 (config-tls): Always set to thread.
9976 * tls.make.c: File removed.
9977
1c3b002b
MF
99782011-09-19 Mike Frysinger <vapier@gentoo.org>
9979
9980 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9981 * config.make.in (CPPFLAGS-config): New substituted variable.
9982
2840865d
UD
99832011-09-15 Ulrich Drepper <drepper@gmail.com>
9984
88738eb6
UD
9985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9986
cbf645a6 9987 [BZ #13192]
2840865d
UD
9988 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9989 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9990
b402e91a
RM
99912011-09-15 Roland McGrath <roland@hack.frob.com>
9992
9993 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9994 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9995 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9996 (CALL_FAIL): Likewise.
9997 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9998 (CALL_FAIL): Macro removed.
9999 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10000
4c1a1f71
UD
100012011-09-15 Ulrich Drepper <drepper@gmail.com>
10002
10003 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10004 for __FINITE_MATH_ONLY__ == 1.
10005
edc121be
AS
100062011-09-15 Andreas Schwab <schwab@redhat.com>
10007
10008 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10009 __ieee754_sqrt instead of sqrt.
10010 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10011 __ieee754_sqrtf instead of sqrtf.
10012 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10013 __floorf instead of floorf.
10014 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10015 __floorf, __truncf instead of floorf, truncf.
10016
cd205654
UD
100172011-09-14 Ulrich Drepper <drepper@gmail.com>
10018
ee4d0315
UD
10019 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10020
cd205654
UD
10021 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10022 __extern_always_inline.
10023 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10024 32-bit.
10025
48b67d71
AS
100262011-09-14 Andreas Schwab <schwab@redhat.com>
10027
10028 * elf/rtld.c (dl_main): Also relocate in dependency order when
10029 doing symbol dependency testing.
10030
1ae12c75
AS
100312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10034 Always define `refsym'.
10035
995a80df
AS
100362011-09-13 Andreas Schwab <schwab@redhat.com>
10037
e529793b
AS
10038 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10039 (__FD_ELT): Renamed from __FDELT.
10040 * misc/bits/select2.h (__FD_ELT): Likewise.
10041 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10042 __FD_MASK instead of __FDELT, __FDMASK.
10043 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10044 Likewise.
10045 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10046 Likewise.
10047
52d4fef8
AS
10048 * elf/Makefile (gen-ldd): Fix pattern.
10049
995a80df
AS
10050 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10051 (init_tls): Likewise.
10052
8682f8b0
UD
100532011-09-12 Ulrich Drepper <drepper@gmail.com>
10054
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10056
de82006d
AS
100572011-09-12 Andreas Schwab <schwab@redhat.com>
10058
a7c8e6a1
AS
10059 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10060 `struct cmsghdr *' instead of `void *'.
10061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10062 Likewise.
10063
0f31fe77
AS
100642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10065
10066 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10067 if non-absolute.
10068 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10069 ldd_rewrite_script.
0f31fe77 10070
32b4c839
UD
100712011-09-11 Ulrich Drepper <drepper@gmail.com>
10072
83cd1420
UD
10073 * configure.in: Remove --with-tls option.
10074 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10075 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10076 out in case it is missing.
10077 * sysdeps/ia64/elf/configure.in: Likewise.
10078 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10079 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10080 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10081 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10082 * sysdeps/sh/elf/configure.in: Likewise.
10083 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10084 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10085 * sysdeps/x86_64/elf/configure.in: Likewise.
10086 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10087 * sysdeps/mach/hurd/tls.h: Likewise.
10088
633f745d
UD
10089 [BZ #13067]
10090 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10091
f318beb8
UD
10092 [BZ #13090]
10093 * configure.in: Fix use of AC_INIT.
10094
32b4c839
UD
10095 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10096
3ce1f295
UD
100972011-09-10 Ulrich Drepper <drepper@gmail.com>
10098
bb016596
UD
10099 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10100 __set_errno.
8e58439c
UD
10101 * malloc/hooks.c: Likewise.
10102
aebae053 10103 [BZ #11929]
02d46fc4
UD
10104 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10105 variables statically.
10106 (narenas): Initialize.
10107 (list_lock): Initialize.
bb016596
UD
10108 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10109 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10110 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10111 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10112 Add initializers to main_arena and mp_.
10113 (malloc_state): Remove pagesize member. Change all users to use
10114 GLRO(dl_pagesize).
10115
10116 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10117 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10118 is always initialized.
10119
22a89187
UD
10120 * malloc/malloc.c: Removed unused configurations and dead code.
10121 * malloc/arena.c: Likewise.
10122 * malloc/hooks.c: Likewise.
02d46fc4 10123 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10124
d063d164
UD
10125 * include/tls.h: Removed. USE___THREAD must always be defined.
10126 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10127 * elf/dl-libc.c: Likewise.
10128 * elf/dl-tsd.c: Likewise.
10129 * include/errno.h: Likewise.
10130 * include/netdb.h: Likewise.
10131 * include/resolv.h: Likewise.
10132 * inet/herrno-loc.c: Likewise.
10133 * inet/herrno.c: Likewise.
10134 * malloc/arena.c: Likewise.
10135 * malloc/hooks.c: Likewise.
10136 * malloc/malloc.c: Likewise.
10137 * resolv/res-state.c: Likewise.
10138 * resolv/res_libc.c: Likewise.
10139 * sysdeps/i386/dl-machine.h: Likewise.
10140 * sysdeps/ia64/dl-machine.h: Likewise.
10141 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10142 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10143 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10144 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10145 * sysdeps/sh/dl-machine.h: Likewise.
10146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10147 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10148 * sysdeps/unix/i386/sysdep.S: Likewise.
10149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10150 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10155 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10159 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10160 * sysdeps/x86_64/dl-machine.h: Likewise.
10161 * tls.make.c: Likewise.
10162
3ce1f295
UD
10163 * configure.in: Remove --with-__thread option. Make tests for
10164 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10165 tls_model attribute fail if no support is available. Remove
10166 USE_IN_LIBIO.
10167 * Makeconfig: Adjust for dropped configure option. All features are
10168 now mandatory.
10169 * Makerules: Likewise.
10170 * Versions.def: Likewise.
10171 * argp/argp-fmtstream.c: Likewise.
10172 * argp/argp-fmtstream.h: Likewise.
10173 * argp/argp-help.c: Likewise.
10174 * assert/assert.c: Likewise.
10175 * config.h.in: Likewise.
10176 * config.make.in: Likewise.
10177 * configure: Likewise.
10178 * configure.in: Likewise.
10179 * csu/Versions: Likewise.
10180 * csu/init.c: Likewise.
10181 * elf/tst-audit2.c: Likewise.
10182 * elf/tst-tls10.c: Likewise.
10183 * elf/tst-tls10.h: Likewise.
10184 * elf/tst-tls11.c: Likewise.
10185 * elf/tst-tls12.c: Likewise.
10186 * elf/tst-tls14.c: Likewise.
10187 * elf/tst-tlsmod11.c: Likewise.
10188 * elf/tst-tlsmod12.c: Likewise.
10189 * elf/tst-tlsmod13.c: Likewise.
10190 * elf/tst-tlsmod13a.c: Likewise.
10191 * elf/tst-tlsmod14a.c: Likewise.
10192 * elf/tst-tlsmod15b.c: Likewise.
10193 * elf/tst-tlsmod16a.c: Likewise.
10194 * elf/tst-tlsmod16b.c: Likewise.
10195 * elf/tst-tlsmod7.c: Likewise.
10196 * elf/tst-tlsmod8.c: Likewise.
10197 * elf/tst-tlsmod9.c: Likewise.
10198 * gmon/gmon.c: Likewise.
10199 * grp/fgetgrent_r.c: Likewise.
10200 * grp/putgrent.c: Likewise.
10201 * hurd/fopenport.c: Likewise.
10202 * include/libc-symbols.h: Likewise.
10203 * include/tls.h: Likewise.
10204 * intl/gettextP.h: Likewise.
10205 * intl/loadinfo.h: Likewise.
10206 * locale/global-locale.c: Likewise.
10207 * locale/localeinfo.h: Likewise.
10208 * mach/devstream.c: Likewise.
10209 * malloc/arena.c: Likewise.
10210 * malloc/set-freeres.c: Likewise.
10211 * misc/err.c: Likewise.
10212 * misc/getttyent.c: Likewise.
10213 * misc/mntent_r.c: Likewise.
10214 * posix/getopt.c: Likewise.
10215 * posix/wordexp.c: Likewise.
10216 * pwd/fgetpwent_r.c: Likewise.
10217 * resolv/Versions: Likewise.
10218 * resolv/res_hconf.c: Likewise.
10219 * shadow/fgetspent_r.c: Likewise.
10220 * shadow/putspent.c: Likewise.
10221 * stdio-common/printf_fphex.c: Likewise.
10222 * stdio-common/tmpfile.c: Likewise.
10223 * stdlib/abort.c: Likewise.
10224 * stdlib/fmtmsg.c: Likewise.
10225 * sunrpc/auth_unix.c: Likewise.
10226 * sunrpc/clnt_perr.c: Likewise.
10227 * sunrpc/clnt_tcp.c: Likewise.
10228 * sunrpc/clnt_udp.c: Likewise.
10229 * sunrpc/clnt_unix.c: Likewise.
10230 * sunrpc/openchild.c: Likewise.
10231 * sunrpc/svc_simple.c: Likewise.
10232 * sunrpc/svc_tcp.c: Likewise.
10233 * sunrpc/svc_udp.c: Likewise.
10234 * sunrpc/svc_unix.c: Likewise.
10235 * sunrpc/xdr.c: Likewise.
10236 * sunrpc/xdr_array.c: Likewise.
10237 * sunrpc/xdr_rec.c: Likewise.
10238 * sunrpc/xdr_ref.c: Likewise.
10239 * sunrpc/xdr_stdio.c: Likewise.
10240
1248c1c4
PB
102412011-09-09 Ulrich Drepper <drepper@gmail.com>
10242
10243 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10244
102452011-07-03 Andreas Jaeger <aj@suse.de>
10246
10247 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10248 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10249 regenerate with gen-libm-tests.pl.
10250
102512010-05-12 Petr Baudis <pasky@suse.cz>
10252
10253 [BZ #11589]
10254 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10255 around j0() zero points by switching to j1().
10256 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10260
f22e1074
UD
102612011-09-09 Ulrich Drepper <drepper@gmail.com>
10262
f19009c1
UD
10263 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10264 instead of 0.
10265 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10266 instead of 0. .
10267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10268 Patch in part by Pavel Roskin <proski@gnu.org>.
10269
3f8cc204
UD
10270 [BZ #13138]
10271 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10272 realloc.
10273 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10274 Free memory block if necessary.
10275
f22e1074
UD
10276 [BZ #12847]
10277 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10278 be NULL. Don't lock in this case.
10279
0a2349f9
RM
102802011-09-09 Roland McGrath <roland@hack.frob.com>
10281
10282 * elf/elf.h (ELFOSABI_GNU): New macro.
10283 (ELFOSABI_LINUX): Define to that.
10284
f3cdd467
DZ
102852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10286
10287 * string/strncat.c (strncat): Undef the symbol in case it has been
10288 defined in bits/string.h.
10289
74718d13
UD
102902011-09-09 Ulrich Drepper <drepper@gmail.com>
10291
633e9e0f
UD
10292 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10293
0a2349f9 10294 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10295 link map.
10296
f9924780
AJ
102972011-08-17 Andreas Jaeger <aj@suse.de>
10298
10299 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10300
7f5517aa
PP
103012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10302 Ian Lance Taylor <iant@google.com>
10303
10304 * math/libm-test.inc (lround_test): New testcase.
10305 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10306
762011fe
UD
103072011-09-08 Ulrich Drepper <drepper@gmail.com>
10308
92963737
UD
10309 * Makefile: Remove support for automatic cvs check-ins.
10310 * Makerules: Likewise.
10311 * config.make.in: Likewise.
10312 * configure.in: Likewise.
10313 * intl/Makefile: Likewise.
10314 * locale/Makefile: Likewise.
10315 * po/Makefile: Likewise.
10316 * posix/Makefile: Likewise.
10317 * sysdeps/gnu/Makefile: Likewise.
10318 * sysdeps/mach/hurd/Makefile: Likewise.
10319 * sysdeps/sparc/sparc32/Makefile: Likewise.
10320
b0727fd8
JS
10321 [BZ #13118]
10322 * posix/Makefile (bug-regex32-ENV): Define.
10323 Patch by John Stanley <jpsinthemix@verizon.net>.
10324
a0f33f99
UD
10325 * misc/Makefile (headers): Add bits/select2.h.
10326 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10327 * misc/bits/select2.h: New file.
10328 * include/bits/select2.h: New file.
10329 * debug/Makefile (routines): Add fdelt_chk.
10330 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10331 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10332 FD_ISSET.
10333 * debug/fdelt_chk.c: New file.
10334
762011fe
UD
10335 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10336 * wcsmbs/test-wmemcmp.c: Likewise.
10337 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10338 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10339
103402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10341
10342 * string/Makefile (strop-tests): Add memcmp.
10343 * string/test-wmemcmp.c: New file.
10344 * string/test-memcmp.c: Add wmemcmp support.
10345
7f513ec8
RM
103462011-09-08 Roland McGrath <roland@hack.frob.com>
10347
0442afb4
RM
10348 [BZ #13153]
10349 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10350 2011-07-19 change.
10351
7f513ec8
RM
10352 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10353 garbage value in a __mach_port_mod_refs call in the cases of the
10354 task-self and thread-self ports.
10355
a12b2239
ST
103562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10357
10358 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10359
610f9ab4
AS
103602011-09-08 Andreas Schwab <schwab@redhat.com>
10361
7f513ec8 10362 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10363
48882a1a
LD
103642011-09-07 Ulrich Drepper <drepper@gmail.com>
10365
b49865be
UD
10366 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10367
fdc86bc9
UD
10368 * elf/dl-libc.c (dlerror_run): Pass back error code from
10369 dl_catch_error.
10370
c966526a
UD
10371 [BZ #13123]
10372 * elf/dl-load.c (lose): Free l_origin if it is valid.
10373
48882a1a
LD
10374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10375 names.
10376 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10379 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10380 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10381 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10382
77a2a8b4
AZ
103832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384
10385 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10386 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10387 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10388 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10389 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10390 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10391 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10392 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10393 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10394 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10395
24f579d8
AM
103962011-08-15 Alan Modra <amodra@gmail.com>
10397
10398 [BZ #13092]
10399 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10400 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10401 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10402 ppc_mcount to static-only-routines.
10403 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10404 __mcount_internal.
10405 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10406 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10407
3d4837df
UD
104082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10409
10410 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10411 for finite and infinity parameters.
10412
22700377
WS
104132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10414
10415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10416 and add nop instructions for throughput optimization.
10417 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10418
5025581e
WS
104192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10420
10421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10422 aligned copy for power7 with vector-scalar instructions.
10423 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10424
08a300c9
L
104252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10428 AVX check.
10429
59178ef9
AS
104302011-09-07 Andreas Schwab <schwab@redhat.com>
10431
10432 [BZ #13144]
10433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10434 last change.
10435
e38ba7ab
UD
104362011-09-07 Ulrich Drepper <drepper@gmail.com>
10437
10438 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10439 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10440 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10441 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10442 clock_gettime.
10443
d53a73ac
UD
104442011-09-06 Ulrich Drepper <drepper@gmail.com>
10445
fc8bffcc
UD
10446 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10447 Forgot to demangle the pointer.
10448
ceaa0c5d
UD
10449 * sysdeps/i386/sysdep.h: Define atom_text_section.
10450 * sysdeps/x86_64/sysdep.h: Likewise.
10451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10452 section with atom_text_section.
10453 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10455 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10457 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10458
a77d3c17
UD
10459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10460 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10461 already be defined. Change to take two parameters and don't assign
10462 result to variable. Adjust all users.
10463 Define INTERNAL_GETTIME if not already defined.
10464 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10465 call.
10466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10467 HAVE_CLOCK_GETTIME_VSYSCALL.
10468 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10469
d53a73ac
UD
10470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10471 gettimeofday vsyscall, just use time.
10472
a8f84144
AS
104732011-09-06 Andreas Schwab <schwab@redhat.com>
10474
10475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10476 <errno.h>.
10477
ef606249
UD
104782011-09-06 Ulrich Drepper <drepper@gmail.com>
10479
10480 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10481 syscall on x86-64.
10482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10483 syscall.
10484 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10486 syscall if possible.
10487
6585cb60
UD
104882011-09-05 Ulrich Drepper <drepper@gmail.com>
10489
10490 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10491 e_ident. Don't pass to find_mapsXX.
10492 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10493
a5f524e4
LD
104942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10495
10496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10497 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10498 * sysdeps/x86_64/multiarch/strchr.S: Update.
10499 Check bit_slow_BSF bit.
10500 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10502 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10503
554881ef
UD
105042011-09-05 Ulrich Drepper <drepper@gmail.com>
10505
d96de963
UD
10506 [BZ #13134]
10507 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10508 before glibc 2.15.
10509 (tryshell): Define.
10510 (__spawni): Change last parameter to be flag. Test
10511 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10512 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10513 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10514 * posix/spawni.c: Likewise.
10515 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10516 * posix/spawnp.c: Likewise. Change normal version to use
10517 SPAWN_XFLAGS_USE_PATH.
10518 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10519 SPAWN_XFLAGS_TRY_SHELL.
10520
d48e5868
UD
10521 [BZ #13150]
10522 * posix/glob.h: Remove gcc 1.x support.
10523
554881ef
UD
10524 [BZ #13068]
10525 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10526
693fb948
LD
105272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10528
10529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10530 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10531 strrchr-sse2-bsf
10532 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10533 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10534 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10538
1b48c537
UD
105392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10540
49d42c37
UD
10541 * sysdeps/x86_64/wcscmp.S: New file.
10542
1b48c537
UD
10543 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10544 wcscmp-c wcscmp-sse2
10545 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10546 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10547 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10548 * wcsmbs/wcscmp.c: Allow renaming.
10549
15c95c5d
DM
105502011-09-05 David S. Miller <davem@davemloft.net>
10551
10552 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10553 stack slot, rather than the struct return pointer slot.
10554 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10555 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10557 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10558
2f0ad8f3
UD
105592011-09-05 Ulrich Drepper <drepper@gmail.com>
10560
d88ae418
UD
10561 * po/ja.po: Update from translation team.
10562
2f0ad8f3
UD
10563 [BZ #13144]
10564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10565 kernel in 64-bit binaries.
10566
5f4318d1
DM
105672011-09-01 David S. Miller <davem@davemloft.net>
10568
10569 * elf/elf.h (HWCAP_SPARC_*): Move to..
10570 * sysdeps/sparc/sysdep.h: this new file and add new values.
10571 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10572 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10573 _DL_HWCAP_COUNT to 24.
10574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10575 entries.
10576 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10577 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10578 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10580 instead of magic constants.
10581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10582
3ba57516
DM
105832011-08-31 David S. Miller <davem@davemloft.net>
10584
10585 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10587 Reimplement to do errno handling inline.
10588 (SYSCALL_ERROR_HANDLER): New macro.
10589 (__SYSCALL_STRING): Do not do errno handling in asm.
10590 (__CLONE_SYSCALL_STRING): Delete.
10591 (__INTERNAL_SYSCALL_STRING): Delete.
10592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10593 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10594 (PSEUDO): Reimplement to do errno handling inline.
10595 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10596 (SYSCALL_ERROR_HANDLER): New macro.
10597 (__SYSCALL_STRING): Do not do errno handling in asm.
10598 (__CLONE_SYSCALL_STRING): Delete.
10599 (__INTERNAL_SYSCALL_STRING): Delete.
10600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10601 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10602 i386.
10603 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10604 (inline_syscall*): Add 'err' argument.
10605 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10606 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10607 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10608 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10609
10610 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10612
2bc17433
AS
106132011-08-30 Andreas Schwab <schwab@redhat.com>
10614
10615 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10616
fbeb5f4d
JO
106172011-08-29 Jiri Olsa <jolsa@redhat.com>
10618
10619 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10620 directive.
10621
ad69cc26
DM
106222011-08-24 David S. Miller <davem@davemloft.net>
10623
10624 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10625
39dd69df
AS
106262011-08-24 Andreas Schwab <schwab@redhat.com>
10627
10628 * elf/Makefile: Add rules to build and run unload8 test.
10629 * elf/unload8.c: New file.
10630 * elf/unload8mod1.c: New file.
10631 * elf/unload8mod1x.c: New file.
10632 * elf/unload8mod2.c: New file.
10633 * elf/unload8mod3.c: New file.
10634
10635 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10636 it wasn't used.
10637
2c0b250a
DM
106382011-08-23 David S. Miller <davem@davemloft.net>
10639
10640 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10641 subtract stack bias.
10642 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10643 %sp not %fp in calculations.
10644 (_JMPBUF_UNWINDS_ADJ): Likewise.
10645
22044b48
DM
10646 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10647 (aio_suspend): Call it to force an exception region around the
10648 AIO_MISC_WAIT() invocation.
10649
2cae4995
AS
106502011-08-23 Andreas Schwab <schwab@redhat.com>
10651
10652 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10653 backslash.
10654
873a772e
AJ
106552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10656
10657 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10658 protection macro.
10659 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10660 and <dl-machine.h>.
10661 (Elf64_FuncDesc): Remove.
10662
25ad0df1
DM
106632011-08-22 David S. Miller <davem@davemloft.net>
10664
10665 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10666 sigaltstack check, add missing cfi directives.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10668 missing cfi directives, and sigaltstack handling.
10669
e888bcbe
AS
106702011-08-16 Andreas Schwab <schwab@redhat.com>
10671
10672 [BZ #11724]
10673 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10674 object is seen twice.
10675 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10676
10677 * elf/Makefile (distribute): Add tst-initorder2.c.
10678 (tests): Add tst-initorder2.
10679 (modules-names): Add tst-initorder2a tst-initorder2b
10680 tst-initorder2c tst-initorder2d. Add rules to build them.
10681 ($(objpfx)tst-initorder2.out): New rule.
10682 * elf/tst-initorder2.c: New file.
10683 * elf/tst-initorder2.exp: New file.
10684
87162f46
AS
106852011-08-22 Andreas Schwab <schwab@redhat.com>
10686
70538b7f
AS
10687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10688
f55ffe58
AS
10689 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10690 dependencies back to end of function.
10691
87162f46
AS
10692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10693 $(elfobjdir)/ld.so.
10694
91b392a4
UD
106952011-08-21 Ulrich Drepper <drepper@gmail.com>
10696
10697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10698 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10700 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10701 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10702 of __vdso_gettimeofday.
10703 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10704 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10705 attribute_hidden.
10706 (_libc_vdso_platform_setup): Remove initialization of
10707 __vdso_gettimeofday and __vdso_time.
10708
5c43483f
UD
107092011-08-20 Ulrich Drepper <drepper@gmail.com>
10710
775a77e7
UD
10711 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10712 and fgetc_unlocked.
10713 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10714 getc_unlocked.
89f447ed 10715
49c74ba9
UD
10716 * elf/dl-open.c (add_to_global): Report additions to the global scope
10717 for LD_DEBUG=scopes.
10718 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10719 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10720
5c43483f
UD
10721 [BZ #13114]
10722 * stdio-common/Makefile (tests): Add bug24.
10723 * stdio-common/bug24.c: New file.
10724
a101b025
AJ
107252011-08-19 Andreas Jaeger <aj@suse.de>
10726
10727 [BZ #13114]
10728 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10729 non-existant file when using close-on-exec mode.
10730
c88f1766
UD
107312011-08-20 Ulrich Drepper <drepper@gmail.com>
10732
0276a718
UD
10733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10734 the very first instruction.
10735
c88f1766
UD
10736 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10737 the CFI state in the end.
10738 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10739 inclusion of dl-trampoline.h.
10740 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10741
51ccffa0
AS
107422011-08-19 Andreas Schwab <schwab@redhat.com>
10743
94d7165f
AS
10744 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10745 expectations for long double.
10746
51ccffa0
AS
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10748 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10749
fd708658 107502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10751
10752 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10753 artificual limit depends upon the system page size.
10754
44f0a71e
UD
107552011-08-17 Ulrich Drepper <drepper@gmail.com>
10756
10757 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10758 * resolv/Makefile: Define CFLAGS-libresolv.
10759
8de79a24
AS
107602011-08-17 Andreas Schwab <schwab@redhat.com>
10761
10762 * nss/makedb.c (compute_tables): Make variables used in nested
10763 function static.
10764
27724598
UD
107652011-08-17 Ulrich Drepper <drepper@gmail.com>
10766
c5305d88
UD
10767 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10768 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10769 if buffer was too small.
10770
27724598
UD
10771 * elf/pldd.c (main): Attach to all threads in the process.
10772 Rewrite /proc handling to use *at functions.
10773
076fe015
UD
107742011-08-16 Ulrich Drepper <drepper@gmail.com>
10775
174baab3
UD
10776 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10777 specifies first scope to show.
10778 (dl_open_worker): Update callers. Move printing scope of new
10779 object to before the relocation.
44f0a71e 10780 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10781 * sysdeps/generic/ldsodefs.h: Update declaration.
10782
076fe015
UD
10783 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10784 string for the scope number.
10785
a60df2c3
UD
107862011-08-14 Ulrich Drepper <drepper@gmail.com>
10787
10788 * nscd/servicescache.c (cache_addserv): Make sure written is always
10789 initialized.
10790
5e4287d1
RM
107912011-08-14 Roland McGrath <roland@hack.frob.com>
10792
85ae0589
RM
10793 * sysdeps/i386/i486/bits/atomic.h
10794 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10795 statement expression, so as to suppress "set but not used" warning.
10796 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10797
69f63097
RM
10798 * string/strncat.c (STRNCAT): Use prototype definition.
10799
675456ef
RM
10800 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10801 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10802 -Iprograms here.
10803 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10804 (localedef-modules): Add localedef.
10805 (locale-modules): Add locale.
10806
5e4287d1
RM
10807 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10808 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10809 to avoid a warning.
10810
9c96ff23
DM
108112011-08-14 David S. Miller <davem@davemloft.net>
10812
10813 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10814 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10815
f9ddf089
UD
108162011-08-13 Ulrich Drepper <drepper@gmail.com>
10817
44f0a71e 10818 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10819 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10820 * elf/rtld.c (dl_main): Set l_name of vDSO.
10821 Call _dl_show_scope when DL_DEBUG_SCOPES.
10822 (process_dl_debug): Recognize scopes flag and also set it for all.
10823 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10824 Declare _dl_show_scope.
10825
1dc27704
UD
10826 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10827 (do_dlopen): Pass caller_dlopen to dl_open.
10828 (__libc_dlopen_mode): Initialize caller_dlopen.
10829
f9ddf089
UD
10830 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10831 of libc. Make tolower call locale-independent. Optimize a bit by
10832 using isdigit instead of isalnum.
10833 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10834
9ac533d3
UD
108352011-08-12 Ulrich Drepper <drepper@gmail.com>
10836
10837 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10838 was a dependency or dynamically loaded.
10839
89edf2e9
UD
108402011-08-11 Ulrich Drepper <drepper@gmail.com>
10841
8e999d29
UD
10842 * intl/l10nflist.c: Allow architecture-specific pop function.
10843 * sysdeps/x86_64/l10nflist.c: New file.
10844
89edf2e9
UD
10845 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10846 classification.
10847
14d96785
AS
108482011-08-10 Andreas Schwab <schwab@redhat.com>
10849
10850 * include/dirent.h: Add libc_hidden_proto for scandirat and
10851 scandirat64. Don't declare __scandirat64.
10852 * dirent/scandirat.c: Add libc_hidden_def.
10853 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10854 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10855
6761ac04
DM
108562011-08-10 David S. Miller <davem@davemloft.net>
10857
10858 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10859 enum.
10860 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10863
c55fbd1e
UD
108642011-08-09 Ulrich Drepper <drepper@gmail.com>
10865
10866 * Versions.def [libc]: Add GLIBC_2.15.
10867 * dirent/Makefile (routines): Add scandirat and scandirat64.
10868 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10869 GLIBC_2.15.
10870 * dirent/dirent.h: Declare scandirat and scandirat64.
10871 * dirent/scandirat.c: New file.
10872 * dirent/scandirat64.c: New file.
10873 * sysdeps/wordsize-64/scandirat.c: New file.
10874 * sysdeps/wordsize-64/scandirat64.c: New file.
10875 * dirent/opendir.c: Define opendirat.
10876 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10877 using scandirat.
10878 * dirent/scandir64.c: Adjust for scandir.c change.
10879 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10880 __scandirat64, and __scandir_cancel_handler.
10881 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10882 additional parameter and use openat instead of open (outside of ld.so).
10883 Add new __opendir as wrapper around __opendirat.
10884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10885 here without requiring old scandirat implementation.
10886
879165f2
UD
108872011-08-08 Ulrich Drepper <drepper@gmail.com>
10888
10889 * dirent/scandir.c (cancel_handler): Renamed to
10890 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10891 defined. Adjust users.
10892 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10893 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10894
cb7e923b
UD
108952011-08-04 Ulrich Drepper <drepper@gmail.com>
10896
16292edd
UD
10897 * string/test-string.h (IMPL): Use __STRING to expand name and then
10898 stringify it.
10899
cb7e923b
UD
10900 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10901 of cleanups.
10902
cff82933
LD
109032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10904
10905 * string/Makefile: Update.
10906 (strop-tests): Append strncat.
10907 * string/test-wcscmp.c: New file.
10908 New comprehensive test for wcscmp.
10909 * string/test-strcmp.c: Update.
10910 (WIDE): New define.
10911
9be9bfcc
AS
109122011-07-22 Andreas Schwab <schwab@redhat.com>
10913
10914 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10915 line.
10916
2e96f1c7
AS
109172011-07-26 Andreas Schwab <schwab@redhat.com>
10918
10919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10920 encoding to ACE if AI_IDN.
10921
85188888
JJ
109222011-08-01 Jakub Jelinek <jakub@redhat.com>
10923
10924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10925 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10926
5fa16e9b
LD
109272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10928
10929 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10930 Fix overflow bug in strncat.
10931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10932
10933 * string/test-strncat.c: Update.
10934 Add new tests for checking overflow bugs.
10935
109362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10937
10938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10939 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10940 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10941 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10942 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10943 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10944 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10945 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10946 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10947
10948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10949 (USE_AS_STRCAT): Define.
10950 Add strcat and strncat support.
10951 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10952
8c1a459f
AS
109532011-07-25 Andreas Schwab <schwab@redhat.com>
10954
10955 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10956 __n bigger than INT_MAX+1.
10957 (__strncmp_g): Likewise.
10958
bba33c28
UD
109592011-07-23 Ulrich Drepper <drepper@gmail.com>
10960
798be72d
UD
10961 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10962 * libio/stido.h: Likewise.
10963
8accd4dc
UD
10964 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10965 (AF_NFC): Define.
10966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10967 (AF_NFC): Define.
10968
cbff0d96
UD
10969 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10972 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10974
9191c04a
UD
10975 [BZ #13021]
10976 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10977 installed.
10978
bba33c28
UD
10979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10980 typo.
10981 (_dl_x86_64_save_sse): Likewise.
10982
90f139dd
UD
109832011-07-22 Ulrich Drepper <drepper@gmail.com>
10984
1aae088a
UD
10985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10986 OSXSAVE.
10987 (_dl_x86_64_save_sse): Likewise.
10988
8e2045f5
UD
10989 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10990
90f139dd
UD
10991 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10992
1d002f25
AS
109932011-07-21 Andreas Schwab <schwab@redhat.com>
10994
10995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10996 change.
10997 (_dl_x86_64_save_sse): Use correct AVX check.
10998
21137f89
UD
109992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11000
11001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11002 bug in strncpy/strncat.
11003 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11004
a65c0b7a
UD
110052011-07-21 Ulrich Drepper <drepper@gmail.com>
11006
11007 * string/tester.c (test_strcat): Add tests for different alignments
11008 of source and destination.
11009 (test_strncat): Likewise.
11010
6986b98a
UD
110112011-07-20 Ulrich Drepper <drepper@gmail.com>
11012
90bb2039
UD
11013 [BZ #12852]
11014 * posix/glob.c (glob): Check passed in values before using them in
11015 expressions to avoid some overflows.
11016 (glob_in_dir): Likewise.
11017
5644ef54
UD
11018 [BZ #13007]
11019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11020 check for AVX enablement so that we don't crash with old kernels and
11021 new hardware.
11022 * elf/tst-audit4.c: Add same checks here.
11023 * elf/tst-audit6.c: Likewise.
11024
11025 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11026
bfc9dc9b
AS
110272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11028
11029 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11030
702e64bb
UD
110312011-07-20 Ulrich Drepper <drepper@gmail.com>
11032
11033 * po/cs.po: Update from translation team.
11034 * po/bg.po: Likewise.
11035
295e904f
MP
110362011-07-12 Marek Polacek <mpolacek@redhat.com>
11037
11038 * misc/sys/cdefs.h: Add support for const attribute.
11039 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11040 to gnu_dev_{major,minor,makedev} functions.
11041
3ff94596
MP
110422011-07-20 Marek Polacek <mpolacek@redhat.com>
11043
11044 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11045
28b59fca
AS
110462011-07-20 Andreas Schwab <schwab@redhat.com>
11047
11048 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11049 strlen results.
11050
19df733e
AK
110512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11052
11053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11054 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11055 register in order to avoid conflicts with the soft frame pointer
11056 being held in r11 when necessary.
11057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11058 (INTERNAL_VSYSCALL_NCS): Likewise.
11059
c8835729
MP
110602011-07-14 Marek Polacek <mpolacek@redhat.com>
11061
11062 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11063 * elf/dl-fini.c (_dl_fini): Adjust caller.
11064 * elf/dl-close.c (_dl_close_worker): Likewise.
11065 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11066
b902330c
MP
110672011-07-15 Marek Polacek <mpolacek@redhat.com>
11068
8991e135
MP
11069 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11070 "aux_cache->nlibs < 0".
11071
b902330c
MP
11072 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11073 in the reload-count case.
11074
99710781
LD
110752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11076
11077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11078 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11079 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11080 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11081 * sysdeps/x86_64/multiarch/strcat.S: New file.
11082 * sysdeps/x86_64/multiarch/strncat.S: New file.
11083 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11084 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11085 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11086 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11087 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11088 (USE_AS_STRCAT): Define.
11089 Add strcat and strncat support.
11090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11092 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11093 * string/strncat.c: Update.
11094 (USE_AS_STRNCAT): Define.
11095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11096 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11097 and i7.
11098 * sysdeps/x86_64/multiarch/init-arch.h
11099 (bit_Prefer_PMINUB_for_stringop): New.
11100 (index_Prefer_PMINUB_for_stringop): Likewise.
11101 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11102 bit_Prefer_PMINUB_for_stringop.
11103
7dc6bd90
UD
111042011-07-19 Ulrich Drepper <drepper@gmail.com>
11105
11106 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11107 buffer64.
11108 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11109 of casting of buffer.
11110 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11111 buffer32 and buffer64.
11112 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11113 writes instead of casting of buffer.
11114 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11115 buffer32.
11116 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11117 casting of buffer.
11118
e0e72284
AS
111192011-07-19 Andreas Schwab <schwab@redhat.com>
11120
11121 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11122
feb1eb0b
UD
111232011-07-19 Ulrich Drepper <drepper@gmail.com>
11124
11125 * nscd/nscd.c (termination_handler): Don't do anything for a database
11126 if it has not yet been initialized.
11127
298711ff
UD
111282011-07-18 Ulrich Drepper <drepper@gmail.com>
11129
11130 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11131
111322011-07-15 Marek Polacek <mpolacek@redhat.com>
11133
11134 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11135
f9d68389
UD
111362011-07-18 Ulrich Drepper <drepper@gmail.com>
11137
11138 * po/nl.po: Update from translation team.
11139 * po/sv.po: Likewise.
11140
db290cf5
RM
111412011-07-16 Roland McGrath <roland@hack.frob.com>
11142
11143 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11144 now disallowed by GCC.
5c550700 11145
fd5e21c7
RM
11146 * configure.in (use-default-link): Default to yes if a test -shared
11147 link meets our qualifications.
11148 * configure: Regenerated.
11149
5c550700
RM
11150 * config.make.in (output-format): New variable.
11151 * configure.in: Check for ld --print-output-format support.
11152 * configure: Regenerated.
11153 * Makerules ($(common-objpfx)format.lds)
11154 [$(output-format) != unknown]: Just use $(output-format),
11155 instead of the linker-script munging.
11156
9fa2c032
RM
111572011-07-14 Roland McGrath <roland@hack.frob.com>
11158
a6928d51
RM
11159 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11160 of $(common-objpfx)shlib.lds.
11161 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11162
661607b3
RM
11163 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11164 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11165
9fa2c032
RM
11166 * configure.in (-z relro check): Adjust test code to add a large
11167 writable data section after it.
11168 * configure: Regenerated.
11169
defe9061
RM
111702011-07-11 Roland McGrath <roland@hack.frob.com>
11171
11172 * configure.in (-z relro check): Fix test code to make the variable
11173 truly const.
11174 * configure: Regenerated.
11175
319b9ad4
UD
111762011-07-11 Ulrich Drepper <drepper@gmail.com>
11177
11178 * nscd/nscd.h (struct traced_file): Define.
11179 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11180 elements. Add traced_files.
11181 (inotify_fd): Declare.
11182 (register_traced_file): Declare.
11183 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11184 (inotify_fd): Export.
11185 (resolv_conf_descr): Remove.
11186 (nscd_init): Move inotify descriptor creation to main.
11187 Don't register files for notification here.
11188 (register_traced_file): New function.
11189 (invalidate_cache): Don't use reset_res to determine whether to call
11190 res_init, go through the list of registered files.
11191 (main_loop_poll): The inotify descriptors are now stored in the
11192 structures for the traced files.
11193 (main_loop_epoll): Likewise
11194 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11195 to __nss_disable_nscd.
11196 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11197 for a database anymore. Check the records for all the registered
11198 files instead.
11199 * nss/Makefile (libnss_files-routines): Add files-init.
11200 (libnss_db-routines): Add db-init.
11201 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11202 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11203 * nss/nss_db/db-init.c: New file.
11204 * nss/nss_files/files-init.c: New file.
11205 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11206 __nss_lookup_function.
11207 (__nss_lookup_function): Call nss_load_library.
11208 (nss_load_all_libraries): New function.
11209 (__nss_disable_nscd): Take parameter with callback function for files
11210 to register. Set is_nscd. Load all the DSOs for the NSS modules
11211 used for the cached services.
11212 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11213 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11214 options for features to all the files in nscd.
11215
11216 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11217
23bee3e8
RM
112182011-07-10 Roland McGrath <roland@hack.frob.com>
11219
11220 * csu/elf-init.c (__libc_csu_init): Comment typo.
11221
46a5b7f0
UD
112222011-07-09 Ulrich Drepper <drepper@gmail.com>
11223
11224 * po/pl.po: Update from translation team.
11225 * po/ja.po: Likewise.
11226 * po/ru.po: Likewise.
11227 * po/ko.po: Likewise.
11228 * po/fr.po: Likewise.
11229
d30cf5bb
RM
112302011-07-09 Roland McGrath <roland@hack.frob.com>
11231
113ddea4
RM
11232 * configure.in (.ctors/.dtors header and trailer check):
11233 Use an empirical test on a built program.
11234 * configure: Regenerated.
11235
574920b4
RM
11236 * configure.in (-z relro check): Use an empirical test on a built DSO.
11237 Detect, but do not require, on ia64.
11238 * configure: Regenerated.
11239
d30cf5bb
RM
11240 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11241 Update tests that use readelf to use $READELF instead.
11242 * configure: Regenerated.
11243
8538fdb3
UD
112442011-07-08 Ulrich Drepper <drepper@gmail.com>
11245
11246 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11247 if the result is not used.
11248
04d08991
AJ
112492011-07-05 Andreas Jaeger <aj@suse.de>
11250
11251 [BZ#9696]
11252 * stdlib/tst-strtod.c: Add testcase.
11253
de283087
AD
112542011-07-07 Ulrich Drepper <drepper@gmail.com>
11255
4e5f31c8 11256 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11257 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11258 The latter has a higher limit. Take additional parameter to pass to
11259 the new function.
11260 (__pathconf): Pass file to __statfs_link_max.
11261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11262 __statfs_link_max.
11263 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11264 __statfs_link_max.
11265
de283087
AD
11266 [BZ #12868]
11267 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11269 Handle Lustre.
11270 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11271 (__statfs_filesize_max): Likewise.
11272 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11273
c75fa153
AJ
112742011-07-05 Andreas Jaeger <aj@suse.de>
11275
11276 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11277
1a544854
UD
112782011-07-06 Marek Polacek <mpolacek@redhat.com>
11279
11280 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11281 `status' variable.
11282 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11283 Likewise.
11284
6f0eec67
UD
112852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 * Makefile (strop-tests): Add strncat.
11288 * string/test-strncat.c: New file.
11289
aae30307
UD
112902011-06-30 Marek Polacek <mpolacek@redhat.com>
11291
11292 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11293
c0cfb5eb
UD
112942011-06-21 Andreas Jaeger <aj@suse.de>
11295
11296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11297 Copy rule from iconvdata/Makefile.
11298
01636b21
UD
112992011-07-06 Ulrich Drepper <drepper@gmail.com>
11300
11301 [BZ #12922]
11302 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11303 but no long options are defined, just return 'W'.
11304
9895c8bc
UD
113052011-06-22 Marek Polacek <mpolacek@redhat.com>
11306
11307 [BZ #9696]
11308 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11309
5d4cf042
UD
113102011-07-06 Ulrich Drepper <drepper@gmail.com>
11311
11312 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11313 netgroups to read.
960e5535 11314 (innetgr): Likewise.
5d4cf042 11315
751eb97e
RM
113162011-07-05 Roland McGrath <roland@hack.frob.com>
11317
11318 * config.make.in (install_root): Default to $(DESTDIR).
11319
f15f1e45
UD
113202011-07-05 Ulrich Drepper <drepper@gmail.com>
11321
11322 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11323
4e34ac6a
RM
113242011-07-02 Roland McGrath <roland@hack.frob.com>
11325
5e9b6af4
RM
11326 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11327
84f9ea0f
RM
11328 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11329 containing directory rather than embedding absolute directory names.
11330
ea5ee9f7
RM
11331 * scripts/check-local-headers.sh: Rewritten using awk.
11332 Match by word, not by line. Print error messages for matches.
11333 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11334
1b74661a
RM
11335 * Makerules [shlib-lds-flags empty]:
11336 ($(common-objpfx)libc_pic.opts): New target.
11337 ($(common-objpfx)libc_pic.os.clean): New target.
11338 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11339
11340 * config.make.in (OBJCOPY): New variable.
11341 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11342 * configure: Regenerated.
11343
f781ef40
RM
11344 * config.make.in (use-default-link): New variable.
11345 * configure.in (use_default_link): Grok --with-default-link to set it.
11346 * configure: Regenerated.
11347 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11348 (shlib-lds, shlib-lds-flags): Define to empty.
11349
2d4fa81e
RM
11350 * Makerules (shlib-lds): New variable.
11351 (shlib-lds-flags): New variable.
11352 (build-shlib, build-moduile, build-module-asneeded): Use it.
11353 ($(common-objpfx)libc.so): Use $(shlib-lds).
11354 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11355 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11356
31fffa6b
RM
11357 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11358 DT_FLAGS/DT_FLAGS_1 with zero flags.
11359
4e34ac6a
RM
11360 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11361 linker script munging.
11362
fcfc776b
UD
113632011-07-02 Ulrich Drepper <drepper@gmail.com>
11364
11365 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11366 as 128-bit value.
11367 * crypt/sha512.c (sha512_process_block): Perform total addition using
11368 128-bit if possible.
11369 (__sha512_finish_ctx): Likewise.
11370 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11371 as 64-bit value.
11372 * crypt/sha256.c (SWAP64): Define.
11373 (sha256_process_block): Perform total addition using 64-bit if
11374 possible.
11375 (__sha256_finish_ctx): Likewise.
11376
99231d9a
UD
113772011-07-01 Ulrich Drepper <drepper@gmail.com>
11378
11379 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11381 * nscd/hstcache.c (cache_addhst): Likewise.
11382 * nscd/grpcache.c (cache_addgr): Likewise.
11383 * nscd/aicache.c (addhstaiX): Likewise
11384 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11385
445b4a53
TK
113862011-07-01 Thorsten Kukuk <kukuk@suse.de>
11387
11388 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11389 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11390 * nscd/hstcache.c (cache_addhst): Likewise.
11391 * nscd/grpcache.c (cache_addgr): Likewise.
11392 * nscd/aicache.c (addhstaiX): Likewise
11393
6d4d8e8e
AS
113942011-07-01 Andreas Schwab <schwab@redhat.com>
11395
11396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11397 domain only when needed.
11398
89f654c5
AS
113992011-06-30 Andreas Schwab <schwab@redhat.com>
11400
11401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11402 is always restored.
11403
cf3b23ff
UD
114042011-06-29 Ulrich Drepper <drepper@gmail.com>
11405
11406 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11407 are re-adding the entry.
11408 * nscd/servicescache.c (cache_addserv): Likewise.
11409
751626f9
AJ
114102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11411
11412 * sysdeps/generic/dl-irel.h: fix protection against multiple
11413 inclusions.
11414 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11415
9113ea1f
UD
114162011-06-28 Ulrich Drepper <drepper@gmail.com>
11417
5c0b8d90
UD
11418 [BZ #12935]
11419 * malloc/memusage.sh: Fix quoting in message.
11420 * debug/xtrace.sh: Likewise.
11421
9113ea1f
UD
11422 * configure.in: Remove support for --experimental-malloc option, make
11423 it the default.
11424 * config.make.in: Likewise.
11425 * malloc/Makefile: Likewise.
11426
a4172181
AS
114272011-06-27 Andreas Schwab <schwab@redhat.com>
11428
11429 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11430 two-byte characters.
11431
78a7eee7
RM
114322011-06-27 Roland McGrath <roland@hack.frob.com>
11433
62bede13
RM
11434 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11435 AC_CACHE_CHECK invocation.
11436 * configure: Regenerated.
11437
78a7eee7
RM
11438 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11439
5ce33a62
UD
114402011-06-27 Ulrich Drepper <drepper@gmail.com>
11441
034807a9
UD
11442 [BZ #12350]
11443 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11444 bit from old_res_options.
11445
4902da17
UD
11446 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11447
5ce33a62
UD
11448 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11449 value type for setfct.
11450
c2344f56
L
114512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11452
11453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11454 __gettimeofday instead of gettimeofday.
11455
68468076
UD
114562011-06-26 Ulrich Drepper <drepper@gmail.com>
11457
11458 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11459
acb0d739
L
114602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11463
11464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11465 info.
11466
8912479f
L
114672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11470 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11471 strcpy-sse2-unaligned strncpy-sse2-unaligned
11472 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11473 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11474 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11475 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11476 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11479 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11480 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11481 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11482 (STRCPY): Support SSE2 and SSSE3 versions.
11483
d5495a11
UD
114842011-06-24 Ulrich Drepper <drepper@gmail.com>
11485
11486 [BZ #12874]
11487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11488 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11489 kernels which artificially limit size of requests.
11490
0b1cbaae
L
114912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11494 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11495 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11496 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11497 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11498 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11499 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11500 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11503 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11504 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11505 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11506 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11507 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11509 Enable unaligned load optimization for Intel Core i3, i5 and i7
11510 processors.
11511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11512 Define.
11513 (index_Fast_Unaligned_Load): Define.
11514 (HAS_FAST_UNALIGNED_LOAD): Define.
11515
07f494a0
MP
115162011-06-23 Marek Polacek <mpolacek@redhat.com>
11517
11518 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11519
fa3fc0fe
UD
115202011-06-22 Ulrich Drepper <drepper@gmail.com>
11521
11522 [BZ #12907]
11523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11524 until it is clear that the information is realy needed.
11525 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11526
e12df166
AS
115272011-06-22 Andreas Schwab <schwab@redhat.com>
11528
11529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11530
852eb34d
UD
115312011-06-22 Ulrich Drepper <drepper@gmail.com>
11532
84e2a551
UD
11533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11534 /sys/devices/system/cpu/online if it is usable.
11535
852eb34d
UD
11536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11537 reading the information from the /proc filesystem to once a second.
11538
6e502e19
UD
115392011-06-21 Andreas Jaeger <aj@suse.de>
11540
11541 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11542 NULL after inclusion of kernel headers.
11543
75d39ff2
UD
115442011-06-21 Ulrich Drepper <drepper@gmail.com>
11545
51f9aa6a
UD
11546 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11547 calls to internal_setent.
11548
c0244a9d
UD
11549 [BZ #12885]
11550 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11551 addresses using gethostbyname4_r ignore IPv4 addresses.
11552
c5e3c2ae
UD
11553 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11554 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11555
75d39ff2
UD
11556 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11557
42675c6f
DM
115582011-06-20 David S. Miller <davem@davemloft.net>
11559
11560 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11561 inclusions.
11562 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11563
11564 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11565 (elf_irel): Use it.
11566 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11567 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11568 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11569 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11570 * sysdeps/x86_64/dl-irel.h: Likewise.
11571
11572 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11573 * elf/dl-sym.c: Likewise.
11574
57912a71
UD
115752011-06-15 Ulrich Drepper <drepper@gmail.com>
11576
11577 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11578 need to dereference resplen2.
11579
ee22793d
AS
115802011-06-14 Andreas Schwab <schwab@redhat.com>
11581
11582 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11583
a9e836b0
UD
115842011-06-15 Ulrich Drepper <drepper@gmail.com>
11585
77fb9117
UD
11586 * Makeconfig: Define vardbdir and inst_vardbdir.
11587 * nss/Makefile: Add rules to install db-Makefile.
11588
40c1b22c
UD
11589 * nss/nss_db/db-XXX.c: Cleanup.
11590
9f2da732
UD
11591 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11592 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11593 GLIBC_PRIVATE.
11594 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11595 * nss/makedb.c: Implement -g option to specify that value strings
11596 are generated and should not be added to table iterated over for
11597 get*ent calls.
11598 * nss/nss_db/db-initgroups.c: New file.
11599
82e9a1f7
UD
11600 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11601 interface.
11602
c41af17e
UD
11603 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11604 (internal_getgrouplist): Adjust to name change.
11605 Update use_initgroups_entry if this is not the first call.
11606 * nss/databases.def: Add initgroups entry.
11607
a9e836b0
UD
11608 * nss/makedb.c (compute_tables): Check result of multiple hash table
11609 sizes to minimize maximum chain length.
11610
2666d441
UD
116112011-06-14 Ulrich Drepper <drepper@gmail.com>
11612
11613 * Versions.def: Add entry for libnss_db.
11614 * shlib-versions: Likewise.
11615 * nss/Makefile: Add rules to build libnss_db.
11616 * nss/Versions: Add libnss_db information. Organize libnss_files
11617 entries better.
11618 * nss/db-Makefile: Add gshadow support. Change rules for the new
11619 makedb progra. Some minor improvements to generate smaller files.
11620 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11621 here from...
11622 * nss/makedb.c: ...here.
11623 Improve database format to be smaller and require less memory at
11624 runtime.
11625 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11626 db anymore.
11627 * nss/nss_db/db-netgrp.c: Likewise.
11628 * nss/nss_db/db-open.c: Likewise.
11629 * nss/nss_files/flies-XXX.x: Adjust comments.
11630 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11631 * nss/nss_files/files-grp.c: Likewise.
11632 * nss/nss_files/files-hosts.c: Likewise.
11633 * nss/nss_files/files-network.c: Likewise.
11634 * nss/nss_files/files-proto.c: Likewise.
11635 * nss/nss_files/files-pwd.c: Likewise.
11636 * nss/nss_files/files-rpc.c: Likewise.
11637 * nss/nss_files/files-service.c: Likewise.
11638 * nss/nss_files/files-sgrp.c: Likewise.
11639 * nss/nss_files/files-spwd.c: Likewise.
11640 * nss/nss_db/db-alias.c: Removed.
11641 * nss/nss_db/dummy-db.h: Removed.
11642
9ee76b5a
UD
116432011-06-02 Ulrich Drepper <drepper@gmail.com>
11644
11645 * nss/makedb.c: Rewritten to not use database library.
11646 * nss/Makefile: Update to build new makedb program.
11647
c71ca1f8
AJ
116482011-06-14 Andreas Jaeger <aj@suse.de>
11649
11650 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11651 memset declaration.
11652
3154bfb8
UD
116532011-06-10 Andreas Schwab <schwab@redhat.com>
11654
11655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11656 tmpbuf.
11657
b350afab
RM
116582011-06-10 Roland McGrath <roland@hack.frob.com>
11659
decd4e50
RM
11660 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11661 * elf/Makefile ($(objpfx)ld.so): Likewise.
11662
5615eaf2
RM
11663 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11664 Don't list ld.so twice in dependencies.
11665
11666 * posix/bug-regex31.c: Include <stdlib.h>.
11667
11668 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11669
11670 * nis/nss_compat/compat-spwd.c
11671 (getspent_next_nss_netgr): Remove unused variable.
11672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11673
11674 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11675 nonmembers" output to use the right array.
11676
11677 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11678
11679 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11680
11681 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11682 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11683 * catgets/gencat.c (read_input_file): Likewise.
11684 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11685
11686 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11687 variable definition inside #if's controlling its use.
11688
11689 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11690
11691 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11692
11693 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11694
11695 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11696 unreachable code.
11697
11698 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11699
b68e08db
RM
11700 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11701 * configure: Regenerated.
11702
b350afab
RM
11703 * Makerules: Revert last change.
11704 * elf/Makefile: Likewise.
11705
28368601
RM
117062011-06-09 Roland McGrath <roland@hack.frob.com>
11707
11708 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11709 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11710 (reloc-link): Likewise.
11711
11988f8f
UD
117122011-06-09 Ulrich Drepper <drepper@gmail.com>
11713
11714 * elf/Makefile: Add rules to build pldd.
11715 * elf/pldd.c: New file.
11716 * elf/pldd-xx.c: New file.
11717
e80fab37
UD
117182011-06-07 Ulrich Drepper <drepper@gmail.com>
11719
11720 * version.h: Update for 2.15 development version.
11721
9b849836
DM
117222011-06-07 David S. Miller <davem@davemloft.net>
11723
11724 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11725 ifuncs.
11726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11727 elf_machine_lazy_rel): Likewise.
11728 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11730 elf_machine_lazy_rel): Likewise.
11731 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11732 dl_hwcap via passed in argument.
11733 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11734 Likewise.
11735
5a31b283
AK
117362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11737
11738 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11739
069e52f8
RM
117402011-06-06 Roland McGrath <roland@hack.frob.com>
11741
11742 [BZ #12849]
11743 * manual/fdl-1.1.texi: New file, verbatim from:
11744 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11745 * manual/lgpl-2.1.texi: New file, verbatim from:
11746 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11747 * manual/Makefile (licenses): New variable, list those new file names.
11748 (texis): Use it.
11749 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11750
11751 * manual/fdl.texi: File removed.
11752 * manual/lesser.texi: File removed.
11753 * manual/libc.texinfo (Copying, Documentation License):
11754 Use new @include file names, put @appendix directive before @include.
11755
f16846a5
JJ
117562011-06-04 Jakub Jelinek <jakub@redhat.com>
11757
11758 [BZ #12841]
11759 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11760 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11761 (mq_open): Add __NTH.
11762
3d29045b
L
117632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11764
11765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11766 Assume Intel Core i3/i5/i7 processor if AVX is available.
11767
8c297311
UD
117682011-05-31 Ulrich Drepper <drepper@gmail.com>
11769
11770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11771 typo.
11772
c8fc0c91
UD
117732011-05-31 Andreas Schwab <schwab@redhat.com>
11774
11775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11776 memory. Use alloca_account. Fix memory leak when retrying.
11777
5b27a807
UD
117782011-05-31 Ulrich Drepper <drepper@gmail.com>
11779
356f8bc6
UD
11780 * version.h (RELEASE): Bump for 2.14 release.
11781 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11782
5b27a807
UD
11783 * config.make.in (RANLIB): Remove entry.
11784
01f16ab0
UD
117852011-05-30 Ulrich Drepper <drepper@gmail.com>
11786
41fce8bd
UD
11787 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11788 (libc.pot): Work around missing support for .ksh extension in xgettext.
11789
4769ae77
UD
11790 [BZ #12684]
11791 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11792 if both request failed.
11793 (send_dg): In case of server errors clear resplen or *resplen2.
11794
6b1e7d19
UD
11795 [BZ #12454]
11796 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11797 when there are multiple maps.
11798 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11799 (_dl_fini): Remove test here.
11800
01f16ab0
UD
11801 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11802
b1ebd700
UD
118032011-05-29 Ulrich Drepper <drepper@gmail.com>
11804
7ae22829
UD
11805 [BZ #12350]
11806 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11807 bit from old_res_options.
11808 (gaih_inet): Likewise.
11809
553149f6 11810 [BZ #11099]
18a84741 11811 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11812 as signed.
11813
652ffab1
UD
11814 * resolv/res_init.c (res_setoptions): Make the code more compact.
11815
16985fd0
UD
11816 [BZ #11558]
11817 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11818 set RES_USEVC.
11819
0464f746
UD
11820 [BZ #11634]
11821 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11822
7d17596c
UD
11823 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11824
cf6bbbd7
UD
11825 [BZ #11781]
11826 * malloc/malloc.h: Declare malloc hook variables as volatile.
11827
13f1ab36
UD
11828 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11829 in last patch.
11830
b1ebd700
UD
11831 [BZ #11799]
11832 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11833 raise in the comment.
80e2212d
UD
11834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11836 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11837
ce67228d
UD
118382011-05-28 Ulrich Drepper <drepper@gmail.com>
11839
8887a920
UD
11840 [BZ #12811]
11841 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11842 grow the buffers more if it already has to be sufficient.
11843 (build_wcs_upper_buffer): Likewise.
11844 * posix/regexec.c (check_matching): Likewise.
11845 (clean_state_log_if_needed): Likewise.
11846 (extend_buffers): Don't enlarge buffers beyond size of the input
11847 buffer.
11848 Patches mostly by Emil Wojak <emil@wojak.eu>.
11849 * posix/bug-regex32.c: New file.
11850 * posix/Makefile (tests): Add bug-regex32.
11851
4f031072
UD
11852 * locale/findlocale.c (_nl_find_locale): Return right away if
11853 _nl_explode_name failed.
11854 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11855
d0478f0c
UD
11856 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11857
de81b246
UD
11858 * debug/xtrace.sh: Unify messages.
11859 * malloc/memusage.sh: Likewise.
11860
c738465a
UD
11861 [BZ #12813]
11862 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11863 time symbol from vDSO. Substitute with vsyscall if not available.
11864 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11865 __vdso_time.
11866
f1f929d7
UD
11867 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11868 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11869 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11870 Add sendmmsg and internal_sendmmsg.
11871 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11872 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11874
ce67228d
UD
11875 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11876 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11878
e57420c6
UD
118792011-05-27 Ulrich Drepper <drepper@gmail.com>
11880
a8509ca5
UD
11881 [BZ #12813]
11882 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11883 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11884 available.
11885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11886 __vdso_getcpu.
11887
e57420c6
UD
11888 [BZ #12814]
11889 * iconvdata/Makefile (tests): Add bug-iconv9.
11890 * iconvdata/bug-iconv9.c: New file.
11891
4d07db15
AS
118922011-05-27 Andreas Schwab <schwab@redhat.com>
11893
11894 [BZ #12814]
11895 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11896
ea486f69
JJ
118972011-05-25 Jakub Jelinek <jakub@redhat.com>
11898
11899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11900 (struct user_regs_struct): Change intcs field back to cs.
11901
6f038433
UD
119022011-05-25 Ulrich Drepper <drepper@gmail.com>
11903
11904 * po/ja.po: Update from translation team.
11905
67f86a25
UD
119062011-05-23 Ulrich Drepper <drepper@gmail.com>
11907
11908 [BZ #12795]
11909 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11910 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11911
def7fbd6
AS
119122011-05-20 Andreas Schwab <schwab@redhat.com>
11913
11914 * stdlib/longlong.h: Update from GCC.
11915
f50ef8f1
AS
119162011-05-23 Andreas Schwab <schwab@redhat.com>
11917
11918 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11919 parameter name.
11920 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11921 Add parameter name.
11922 (__sysconf): Pass it down.
11923
de7ce8f1
UD
119242011-05-22 Ulrich Drepper <drepper@gmail.com>
11925
f2962a71
UD
11926 [BZ #12671]
11927 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11928 some situations.
11929 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11930 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11931 add in in __libc_use_alloca calls. Adjust callers.
11932 (glob): Use malloc in some situations.
11933
de7ce8f1
UD
11934 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11935 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11936 pltexit.
11937
aec84f53
UD
119382011-05-21 Ulrich Drepper <drepper@gmail.com>
11939
05bb4a68
UD
11940 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11941 and CLOCK_BOOTTIME_ALARM.
11942
7ea72f99
UD
11943 [BZ #12782]
11944 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11945 is returned.
11946
7e4afad5
UD
11947 * string/_strerror.c (__strerror_r): Print negative errors as signed
11948 numbers.
11949
8e211fec
UD
11950 [BZ #12777]
11951 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11952 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11953 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11954
f7d82dc9
UD
11955 * configure.in: Fix typo in redirection and correct removal of test
11956 files in two cases.
11957
cc9e536d
UD
11958 [BZ #12788]
11959 * locale/setlocale.c (new_composite_name): Fix test to check for
11960 identical name of all categories.
11961
aec84f53
UD
11962 [BZ #12792]
11963 * libio/filedoalloc.c (local_isatty): New function.
11964 (_IO_file_doallocate): Use local_isatty.
11965 * stdio-common/perror.c (perror): In case a new stream is used
11966 forward the stream error.
11967 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11968 error flag.
11969
78e64fdc
RT
119702011-05-20 Ulrich Drepper <drepper@gmail.com>
11971
34a9094f
UD
11972 [BZ #11869]
11973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11974 alloca.
11975 * include/alloca.h (extend_alloca_account): Define.
11976
78e64fdc
RT
11977 [BZ #11857]
11978 * posix/regex.h: Fix comments with documentation of user-accessible
11979 fields after compilation and describe correct free'ing of pattern
11980 after re_compile_pattern.
11981 Patch by Reuben Thomas <rrt@sc3d.org>.
11982
457bddfc
RA
119832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11984
11985 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11986 and -mno-altivec to prevent the compiler from using Altivec and/or
11987 VSX instructions when the corresponding registers are not available.
11988
a4527b51
AS
119892011-05-19 Andreas Schwab <schwab@redhat.com>
11990
11991 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11992
ed690b2f
UD
119932011-05-19 Ulrich Drepper <drepper@gmail.com>
11994
11995 * libio/freopen.c (freopen): Use __dup2, not dup2.
11996 * libio/freopen64.c (freopen64): Likewise.
11997
8db73634
L
119982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 [BZ #12775]
12001 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12002 * math/Makefile (tests): Add test-powl.
12003 (CFLAGS-test-powl.c): Define.
12004 * math/test-powl.c: New file.
12005
0a197a9d
L
120062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12009
ee30c380
UD
120102011-05-17 Ulrich Drepper <drepper@gmail.com>
12011
12012 [BZ #11837]
12013 * iconvdata/gb18030.c: Update to GB18020-2005.
12014
6ce75379
UD
120152011-05-16 Ulrich Drepper <drepper@gmail.com>
12016
a4b89fd8
AR
12017 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12018 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12019 Patch by Aharon Robbins <arnold@skeeve.com>.
12020
ea389b12
UD
12021 [BZ #11892]
12022 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12023 on the stack.
12024
68a3f91f
UD
12025 [BZ #11895]
12026 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12027 through underflows.
12028
15cc7dd1
UD
12029 [BZ #12766]
12030 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12031 point to strings before performing equality test for error_one_per_line
12032 mode.
12033
f3799213
UD
12034 [BZ #11697]
12035 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12036
d79a9c94
UD
12037 [BZ #11820]
12038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12039 (struct user_fpregs_struct): Avoid __uint*_t types.
12040
56e5eb46
UD
12041 [BZ #6420]
12042 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12043 symbol info. Use it instead of calling _dl_addr locally.
12044 (lock_and_info): New function.
12045 (tr_freehook): Call lock_and_info and pass symbol info as additional
12046 parameter to tr_where.
12047 (tr_mallochook): Likewise.
12048 (tr_reallochook): Likewise.
12049 (tr_memalignhook): Likewise.
12050
6ce75379
UD
12051 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12052 used and couldn't be at all thread-safe.
12053
f8a3b5bf
UD
120542011-05-15 Ulrich Drepper <drepper@gmail.com>
12055
94b7cc37
UD
12056 * libio/freopen.c (freopen): Don't close old file descriptor
12057 before the new one is opened. Instead dup the new file descriptor
12058 to the old one after the new stream is created.
12059 * libio/freopen64.c (freopen64): Likewise.
12060 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12061 * libio/fileops.c (_IO_new_file_close_it): Handle new
12062 _IO_FLAGS2_NOCLOSE flag.
12063 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12064 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12065 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12066 _IO_FLAGS2_NOCLOSE flag.
12067 * include/unistd.h: Add hidden_proto for dup3.
12068 Define __have_dup3.
12069 * io/dup3.c: Define hidden symbol.
12070 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12071
bd25564e
UD
12072 [BZ #7101]
12073 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12074 when an incomplete long option is used.
12075 * posix/tst-getopt_long1.c: New file.
12076 * posix/Makefile (tests): Add tst-getopt_long1.
12077
c84cfef4
UD
12078 [BZ #10138]
12079 * scripts/config.guess: Update from autoconf-2.68.
12080 * scripts/config.sub: Likewise.
12081
3b85df27
UD
12082 [BZ #10157]
12083 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12084 tests into ...
12085 (has_cpuclock): ...this. New function.
12086 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12087 macro here based on has_cpuclock code.
12088
15a856b1
UD
12089 [BZ #10149]
12090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12091 First byte (not low byte) is now always NUL.
12092 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12093
05f399e6
UD
12094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12095 Use non-cancelable interfaces.
12096
10a52685 12097 [BZ #9809]
94ecc67d
UD
12098 * locale/iso-639.def: Add entry for Sorani.
12099
f8a3b5bf
UD
12100 [BZ #11901]
12101 * include/stdlib.h: Move include protection to the right place.
12102 Define abort_msg_s. Declare __abort_msg with it.
12103 * stdlib/abort.c (__abort_msg): Adjust type.
12104 * assert/assert.c (__assert_fail_base): New function. Majority
12105 of code from __assert_fail. Allocate memory for __abort_msg with
12106 mmap.
12107 (__assert_fail): Now call __assert_fail_base.
12108 * assert/assert-perr.c: Remove bulk of implementation. Use
12109 __assert_fail_base.
12110 * include/assert.hL Declare __assert_fail_base.
12111 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12112 mmap.
12113 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12114
1af4e298
UD
121152011-05-14 Ulrich Drepper <drepper@gmail.com>
12116
f8a3b5bf 12117 [BZ #11952]
d26dfc60
MG
12118 [BZ #12453]
12119 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12120 until all modules are registered in the DTV.
12121 * elf/Makefile: Add rules to build and run tst-tls19.
12122 * elf/tst-tls19.c: New file.
12123 * elf/tst-tls19mod1.c: New file.
12124 * elf/tst-tls19mod2.c: New file.
12125 * elf/tst-tls19mod3.c: New file.
12126 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12127
2fc54d6f
UD
12128 [BZ #12083]
12129 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12130 correctly.
12131
98d76b46
UD
12132 [BZ #12601]
12133 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12134 two-byte sequence errors.
12135 * iconvdata/Makefile (tests): Add bug-iconv8.
12136 * iconvdata/bug-iconv8.c: New file.
12137
da3c19ef
UD
12138 [BZ #12626]
12139 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12140 buf2 definition.
12141
ca408c15
UD
12142 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12143
d6f67f7d
UD
12144 [BZ #12432]
12145 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12146 (dummy_getcfa): New function.
12147 (init): Get _Unwind_GetCFA address, use dummy if not found.
12148 (backtrace_helper): In recursion check, also check whether CFA changes.
12149 (__backtrace): Completely initialize arg.
12150
1af4e298 12151 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12152 storing incomplete byte sequence in state object. Avoid testing for
12153 guaranteed too small input if we know there is enough data available.
1af4e298 12154
da62f81b
AS
121552011-05-11 Andreas Schwab <schwab@redhat.com>
12156
12157 * Makeconfig (+link-pie): Indent.
12158 * Rules (binaries-pie): Define if $(have-fpie) and
12159 $(build-shared).
12160 (binaries-shared): Also filter out $(binaries-pie).
12161 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12162 * nscd/Makefile (others-pie): Add nscd.
12163 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12164 ($(objpfx)nscd): Remove command override.
12165 * login/Makefile (others-pie): Add pt_chown.
12166 ($(objpfx)pt_chown): Remove command override.
12167 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12168 remove command overrides.
12169
fcabc0f8
UD
121702011-05-13 Ulrich Drepper <drepper@gmail.com>
12171
20030ae6
UD
12172 * libio/tst_putwc.c: Fix error messages.
12173
fcabc0f8
UD
12174 [BZ #12724]
12175 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12176 currently writing and seek to current position when not.
12177 * libio/Makefile (tests): Add bug-fclose1.
12178 * libio/bug-fclose1.c: New file.
12179
320a5dc0
PB
121802011-05-12 Ulrich Drepper <drepper@gmail.com>
12181
12182 [BZ #12511]
12183 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12184 don't set DF_1_NODELETE here.
12185 (do_lookup_x): When entering new entry test for copy relocation
12186 and if necessary set DF_1_NODELETE flag.
12187 * elf/tst-unique4.cc: New file.
12188 * elf/tst-unique4.h: New file.
12189 * elf/tst-unique4lib.cc: New file.
12190 * elf/Makefile: Add rules to build and run tst-unique4.
12191 Patch by Piotr Bury <pbury@goahead.com>.
12192
22836f52
UD
121932011-05-11 Ulrich Drepper <drepper@gmail.com>
12194
f574184a
UD
12195 [BZ #12052]
12196 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12197
e1fb097f
UD
12198 [BZ #12625]
12199 * misc/mntent_r.c (addmntent): Flush the stream after the output
12200
22836f52
UD
12201 [BZ #12393]
12202 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12203 (is_trusted_path_normalize): Skip initial colon. Append slash
12204 to empty buffer. Duplicate is_trusted_path code but allow
12205 constructed patch to be prefix.
12206 (is_dst): Allow $ORIGIN followed by /.
12207 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12208 Correct testing of result of is_trusted_path_normalize
12209 (decompose_rpath): Fix warning.
12210
7b3b0b2a
UD
122112011-05-10 Ulrich Drepper <drepper@gmail.com>
12212
12213 [BZ #11257]
12214 * grp/initgroups.c (internal_getgrouplist): When we found the service
12215 list through the initgroups entry in nsswitch.conf do not always
12216 continue on a successful lookup. Don't always use the
eac80ce2 12217 __nss_group_database value if it is set.
7b3b0b2a
UD
12218 * nss/nsswitch.conf (initgroups): Change action for successful db
12219 lookup to continue for compatibility.
12220
2a81eaa5
UD
122212011-05-09 Ulrich Drepper <drepper@gmail.com>
12222
be97a69e
UD
12223 [BZ #11532]
12224 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12225 and CP774 modules.
12226 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12227 and CP774 modules.
12228 * iconvdata/tst-tables.sh: Likewise.
12229 * iconvdata/cp770.c: New file.
12230 * iconvdata/cp771.c: New file.
12231 * iconvdata/cp772.c: New file.
12232 * iconvdata/cp773.c: New file.
12233 * iconvdata/cp774.c: New file.
12234 * iconvdata/testdata/CP770: New file.
12235 * iconvdata/testdata/CP770..UTF8: New file.
12236 * iconvdata/testdata/CP771: New file.
12237 * iconvdata/testdata/CP771..UTF8: New file.
12238 * iconvdata/testdata/CP772: New file.
12239 * iconvdata/testdata/CP772..UTF8: New file.
12240 * iconvdata/testdata/CP773: New file.
12241 * iconvdata/testdata/CP773..UTF8: New file.
12242 * iconvdata/testdata/CP774: New file.
12243 * iconvdata/testdata/CP774..UTF8: New file.
12244
12245 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12246 END CHARMAP line.
12247 * iconvdata/gen-8bit-gap.sh: Likewise.
12248 * iconvdata/gen-8bit.sh: Likewise.
12249
c1e9e399
UD
12250 * locale/iso-639.def: Add ary entry.
12251
24c55fb3 12252 [BZ #11258]
96b4b1b0
UD
12253 * locale/C-translit.h.in: Add U20A1 transliteration.
12254
bdc2f971
KB
12255 [BZ #12178]
12256 * locale/iso-639.def: Add wae entry.
12257 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12258
2952b117
UD
12259 [BZ #12545]
12260 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12261 for n.
12262
2a81eaa5
UD
12263 [BZ #12711]
12264 * locale/C-translit.h.in: Add entry for U20B9.
12265 Patch by pravin.d.s@gmail.com.
12266
28377d1b
UD
122672011-05-08 Ulrich Drepper <drepper@gmail.com>
12268
7fb90fb8
UD
12269 [BZ #12713]
12270 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12271 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12272 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12273 in rtld. Use *stat64.
7fb90fb8 12274 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12275 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12276 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12277 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12278 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12279 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12280 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12281 __fstatat64 macros.
7fb90fb8
UD
12282 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12283 * dirent/rewinddir.c: Add libc_hidden_def.
12284 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12285 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12286
28377d1b
UD
12287 * include/dirent.h (__alloc_dir): Add flags parameter.
12288 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12289 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12290 __alloc_dir.
12291 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12292 from fdopendir if O_CLOEXEC is already set.
12293
66bdbaa4
AM
122942011-03-15 Alan Modra <amodra@gmail.com>
12295
12296 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12297 l_tls_firstbyte_offset non-zero. Save padding offset in
12298 l_tls_firstbyte_offset for later use.
12299 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12300 freeing static tls block.
12301
95721191
JN
123022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12303
12304 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12305 where #ifdef was intended. The intent is to prevent ARG_MAX from
12306 being defined by the kernel headers.
12307
f87dfb1f
UD
123082011-05-07 Ulrich Drepper <drepper@gmail.com>
12309
12310 [BZ #12734]
12311 * resolv/resolv.h: Define RES_NOTLDQUERY.
12312 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12313 no-tld-query and set RES_NOTLDQUERY.
12314 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12315 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12316 modern BIND to search name as TLD unless forbidden.
12317
47c3cd7a
UD
123182011-05-07 Petr Baudis <pasky@suse.cz>
12319 Ulrich Drepper <drepper@gmail.com>
12320
12321 [BZ #12393]
12322 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12323 (is_trusted_path): ...to here.
c1e9ea35 12324 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12325 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12326 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12327
8a35c912
PP
123282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12329
12330 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12331 __BEGIN/__END_DECLS.
12332
acd41f47
UD
123332011-05-06 Ulrich Drepper <drepper@gmail.com>
12334
12335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12336 NSS_STATUS_NOTFOUND if no record was found.
12337
597df647
AS
123382011-05-05 Andreas Schwab <schwab@redhat.com>
12339
12340 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12341 (headers-not-in-tirpc): Remove rpc/netdb.h
12342 * resolv/netdb.h: Revert last change.
12343
b9af1301
PP
123442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12345
12346 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12347 circular dependency between libgcc.a and libc.a.
12348
4e34d5f5
AS
123492011-05-05 Andreas Schwab <schwab@redhat.com>
12350
12351 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12352 * nis/Makefile: Don't install rpcsvc/*.
12353 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12354 instead of <rpc/types.h>.
12355 (MAXHOSTNAMELEN): Define.
12356
00ee369c
AS
123572011-05-03 Andreas Schwab <schwab@redhat.com>
12358
12359 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12360
0b592a30
MB
123612011-04-28 Maciej Babinski <mbabinski@google.com>
12362
12363 [BZ #12714]
12364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12365 gethostbyname4_r when IPv6 results are possible.
12366
6e04cbbe
UD
123672011-05-02 Ulrich Drepper <drepper@gmail.com>
12368
12369 [BZ #12723]
12370 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12371 _PC_PIPE_BUF handling.
12372
e4ecafe0
BH
123732011-04-30 Bruno Haible <bruno@clisp.org>
12374
12375 [BZ #12717]
12376 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12377 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12378 to 'int'.
12379 * inet/getnameinfo.c (getnameinfo): Likewise.
12380
125ee683
UD
123812011-04-29 Ulrich Drepper <drepper@gmail.com>
12382
12383 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12384 to groups setting in database lookup.
12385 * nss/nsswitch.conf: Add initgroups entry.
12386
b722481a
EB
123872011-04-22 Ulrich Drepper <drepper@gmail.com>
12388
12389 [BZ #12685]
12390 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12391 mode string.
12392 Patch by Eric Blake <eblake@redhat.com>.
12393
4df46dbd
L
123942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * sunrpc/Makefile (need-export-routines): Add svc_run.
12397 (routines): Remove svc_run.
12398 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12399 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12400 * sunrpc/svc_run.c (svc_run): Likewise.
12401 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12402
e84142d2
UD
124032011-04-21 Ulrich Drepper <drepper@gmail.com>
12404
12405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12406 problem in reallocation in last patch.
12407
877175d8
UD
124082011-04-20 Ulrich Drepper <drepper@gmail.com>
12409
12410 * sunrpc/Makefile: Move inclusion of Rules.
12411
ab8eed78
UD
124122011-04-19 Ulrich Drepper <drepper@gmail.com>
12413
12414 * nss/nss_files/files-initgroups.c: New file.
12415 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12416 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12417 _nss_files_initgroups_dyn.
12418
e3d8f584
RS
124192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12420
12421 * elf/elf.h (R_ARM_IRELATIVE): Define.
12422
af190f45
UD
124232011-04-19 Ulrich Drepper <drepper@gmail.com>
12424
12425 * po/ru.po: Update from translation team.
12426
53cf59ef
UD
124272011-04-17 Ulrich Drepper <drepper@gmail.com>
12428
12429 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12430 dependencies.
12431
4c559bcd
MF
124322011-02-06 Mike Frysinger <vapier@gentoo.org>
12433
12434 [BZ #12653]
12435 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12436 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12440
4420675c
AS
124412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12442
12443 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12444 differing bytes.
12445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12448
75ea32ab
UD
124492011-04-17 Ulrich Drepper <drepper@gmail.com>
12450
12451 [BZ #12420]
12452 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12453 storing it.
12454 * stdlib/bug-getcontext.c: New file.
12455 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12456
27390476
AK
124572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12458
12459 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12460 instructions into .machine "z9-109".
12461 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12462 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12463
10442705
AK
124642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12465
12466 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12467 between environment variables and auxiliary vector.
12468
7b57bfe5
UD
124692011-04-16 Ulrich Drepper <drepper@gmail.com>
12470
12471 * Makefile: Add rules to build linkobj/libc.so.
12472 * include/libc-symbols.h: Define libc_hidden_nolink.
12473 * include/rpc/auth.h: Mark functions which are to be hidden.
12474 * include/rpc/auth_des.h: Likewise.
12475 * include/rpc/auth_unix.h: Likewise.
12476 * include/rpc/clnt.h: Likewise.
12477 * include/rpc/des_crypt.h: Likewise.
12478 * include/rpc/key_prot.h: Likewise.
12479 * include/rpc/pmap_clnt.h: Likewise.
12480 * include/rpc/pmap_prot.h: Likewise.
12481 * include/rpc/pmap_rmt.h: Likewise.
12482 * include/rpc/rpc_msg.h: Likewise.
12483 * include/rpc/svc.h: Likewise.
12484 * include/rpc/svc_auth.h: Likewise.
12485 * include/rpc/xdr.h: Likewise.
12486 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12487 * nss/Makefile: Likewise.
12488 * sunrpc/Makefile: Don't install headers. Build library with normal
12489 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12490 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12491 for the compat linking library. Remove use of INTDEF/INTUSE.
12492 * sunrpc/auth_none.c: Likewise.
12493 * sunrpc/auth_unix.c: Likewise.
12494 * sunrpc/authdes_prot.c: Likewise.
12495 * sunrpc/authuxprot.c: Likewise.
12496 * sunrpc/clnt_gen.c: Likewise.
12497 * sunrpc/clnt_perr.c: Likewise.
12498 * sunrpc/clnt_raw.c: Likewise.
12499 * sunrpc/clnt_simp.c: Likewise.
12500 * sunrpc/clnt_tcp.c: Likewise.
12501 * sunrpc/clnt_udp.c: Likewise.
12502 * sunrpc/clnt_unix.c: Likewise.
12503 * sunrpc/des_crypt.c: Likewise.
12504 * sunrpc/des_soft.c: Likewise.
12505 * sunrpc/get_myaddr.c: Likewise.
12506 * sunrpc/key_call.c: Likewise.
12507 * sunrpc/key_prot.c: Likewise.
12508 * sunrpc/netname.c: Likewise.
12509 * sunrpc/pm_getmaps.c: Likewise.
12510 * sunrpc/pm_getport.c: Likewise.
12511 * sunrpc/pmap_clnt.c: Likewise.
12512 * sunrpc/pmap_prot.c: Likewise.
12513 * sunrpc/pmap_prot2.c: Likewise.
12514 * sunrpc/pmap_rmt.c: Likewise.
12515 * sunrpc/publickey.c: Likewise.
12516 * sunrpc/rpc_cmsg.c: Likewise.
12517 * sunrpc/rpc_common.c: Likewise.
12518 * sunrpc/rpc_dtable.c: Likewise.
12519 * sunrpc/rpc_prot.c: Likewise.
12520 * sunrpc/rpc_thread.c: Likewise.
12521 * sunrpc/rtime.c: Likewise.
12522 * sunrpc/svc.c: Likewise.
12523 * sunrpc/svc_auth.c: Likewise.
12524 * sunrpc/svc_authux.c: Likewise.
12525 * sunrpc/svc_raw.c: Likewise.
12526 * sunrpc/svc_run.c: Likewise.
12527 * sunrpc/svc_simple.c: Likewise.
12528 * sunrpc/svc_tcp.c: Likewise.
12529 * sunrpc/svc_udp.c: Likewise.
12530 * sunrpc/svc_unix.c: Likewise.
12531 * sunrpc/svcauth_des.c: Likewise.
12532 * sunrpc/xcrypt.c: Likewise.
12533 * sunrpc/xdr.c: Likewise.
12534 * sunrpc/xdr_array.c: Likewise.
12535 * sunrpc/xdr_float.c: Likewise.
12536 * sunrpc/xdr_intXX_t.c: Likewise.
12537 * sunrpc/xdr_mem.c: Likewise.
12538 * sunrpc/xdr_rec.c: Likewise.
12539 * sunrpc/xdr_ref.c: Likewise.
12540 * sunrpc/xdr_sizeof.c: Likewise.
12541 * sunrpc/xdr_stdio.c: Likewise.
12542
e6c61494
UD
125432011-04-10 Ulrich Drepper <drepper@gmail.com>
12544
12545 [BZ #12650]
12546 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12547 * sysdeps/ia64/dl-tls.h: Likewise.
12548 * sysdeps/powerpc/dl-tls.h: Likewise.
12549 * sysdeps/s390/dl-tls.h: Likewise.
12550 * sysdeps/sh/dl-tls.h: Likewise.
12551 * sysdeps/sparc/dl-tls.h: Likewise.
12552 * sysdeps/x86_64/dl-tls.h: Likewise.
12553 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12554
34fe483e
AS
125552011-03-14 Andreas Schwab <schwab@redhat.com>
12556
12557 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12558 rpath element also skip the following colon.
12559 (expand_dynamic_string_token): Add is_path parameter and pass
12560 down to DL_DST_REQUIRED and _dl_dst_substitute.
12561 (decompose_rpath): Call expand_dynamic_string_token with
12562 non-zero is_path. Ignore empty rpaths.
12563 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12564 with zero is_path.
12565
f12a32e6
AS
125662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12567
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12569 Make cancelable.
12570
38a7d692
UD
125712011-04-09 Ulrich Drepper <drepper@gmail.com>
12572
12573 [BZ #12655]
12574 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12575 Patch by Filipe David Manana <fdmanana@apache.org>.
12576
e451d22b
AS
125772011-04-07 Andreas Schwab <schwab@redhat.com>
12578
12579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12580 Maintain aligned stack.
12581 (CHECK_RSP): Remove unused macro.
12582
dedc7c7b
UD
125832011-04-03 Ulrich Drepper <drepper@gmail.com>
12584
12585 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12587
94521213
UD
125882011-04-02 Ulrich Drepper <drepper@gmail.com>
12589
12590 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12591
8cb700c0 12592 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12593
0354e355
L
125942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12595
12596 [BZ #12518]
12597 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12598 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12599 * sysdeps/x86_64/memmove.c: New file.
12600 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12601 (memcpy): Renamed to ...
12602 (__new_memcpy): This.
12603 (memcpy): Provide GLIBC_2_14 memcpy.
12604 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12605 (memcpy): Provide GLIBC_2_2_5 memcpy.
12606
8593482f
UD
126072011-04-01 Ulrich Drepper <drepper@gmail.com>
12608
12609 [BZ #12631]
12610 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12611
81a5726b
AS
126122011-03-30 Andreas Schwab <schwab@redhat.com>
12613
12614 * misc/syncfs.c: New file.
12615 * misc/Makefile (routines): Add syncfs.
12616 * posix/unistd.h: Declare syncfs.
12617 * sysdeps/unix/syscalls.list: Add syncfs.
12618
00e5419f
AS
126192011-04-01 Andreas Schwab <schwab@redhat.com>
12620
12621 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12622 open_by_handle_at.
12623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12628 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12630
748876bf
UD
126312011-04-01 Ulrich Drepper <drepper@gmail.com>
12632
658e451d
UD
12633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12634 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12640
748876bf
UD
12641 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12642 sync_file_range.c with -fexceptions.
12643 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12644 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12645 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12646 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12647 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12648 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12650 sync_file_range as cancellation point
12651 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12652 now a wrapper around __call_sync_file_range with cancellation handling.
12653 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12654 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12655 function name to __call_sync_file_range.
12656 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12657 Add call_sync_file_range.
748876bf 12658
6e63d5e1
AS
126592011-04-01 Andreas Schwab <schwab@redhat.com>
12660
12661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12662 bits/timex.h.
6e63d5e1 12663
46998f74
UD
126642011-04-01 Ulrich Drepper <drepper@gmail.com>
12665
4c1423ed
UD
12666 * iconv/iconv.h: Fix typo in comment.
12667 * io/fcntl.h: Likewise.
12668 * libio/stdio.h: Likewise.
12669 * posix/spawn.h: Likewise.
12670 * posix/unistd.h: Likewise.
12671 * stdlib/stdlib.h: Likewise.
12672 * time/time.h: Likewise.
12673 * wcsmbs/wchar.h: Likewise.
12674
158648c0
UD
12675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12676 open_by_handle): Add.
12677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12678 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12679 Augment a few comments.
12680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12685 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12686 open_by_handle.
12687
46998f74
UD
12688 * io/fcntl.h (AT_EMPTY_PATH): Define.
12689
83fe108b
UD
126902011-03-30 Ulrich Drepper <drepper@gmail.com>
12691
12692 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12693 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12694 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12695 to...
12696 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12697 * Versions.def: Add GLIBC_2.14.
12698 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12699 Export.
83fe108b 12700
bb242059
UD
127012011-03-22 Ulrich Drepper <drepper@gmail.com>
12702
12703 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12704 round counter.
12705 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12706
c97a1282
L
127072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 [BZ #12597]
12710 * string/test-strncmp.c (do_page_test): New function.
12711 (check2): Likewise.
12712 (test_main): Call check2.
12713 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12714
2a115601
UD
127152011-03-20 Ulrich Drepper <drepper@gmail.com>
12716
12717 [BZ #12587]
12718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12719 Handle cache information in CPU leaf 4.
12720 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12721
8126d904
UD
127222011-03-18 Ulrich Drepper <drepper@gmail.com>
12723
042c49c6 12724 [BZ #12583]
8126d904
UD
12725 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12726 character representation.
12727 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12728
ccfe366e
RA
127292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12730
12731 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12732 END(__isnan) to END(__isnanf) to match function entry point/label
12733 EALIGN(__isnanf,...).
12734
c6e13027
JJ
127352011-03-10 Jakub Jelinek <jakub@redhat.com>
12736
12737 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12738
33f85a3f
UD
127392011-03-10 Ulrich Drepper <drepper@gmail.com>
12740
028478fa
UD
12741 [BZ #12510]
12742 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12743 copy from the symbol referenced in the relocation to initialize the
12744 used variable.
12745 Patch by Piotr Bury <pbury@goahead.com>.
12746 * elf/Makefile: Add rules to build and tst-unique3.
12747 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12748 * elf/tst-unique3.cc: New file.
12749 * elf/tst-unique3.h: New file.
12750 * elf/tst-unique3lib.cc: New file.
12751 * elf/tst-unique3lib2.cc: New file.
12752
33f85a3f
UD
12753 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12754
03592fc7
MF
127552011-03-10 Mike Frysinger <vapier@gentoo.org>
12756
12757 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12758 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12759 to _start.
03592fc7 12760
6a5ee102
UD
127612011-03-06 Ulrich Drepper <drepper@gmail.com>
12762
12763 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12764 to-be-loaded object along a path to loader is ld.so.
12765
7e4ba49c
HJ
127662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12767 Ulrich Drepper <drepper@gmail.com>
12768
12769 * sysdeps/x86_64/memset.S: After aligning destination, code
12770 branches to different locations depending on the value of
12771 misalignment, when multiarch is enabled. Fix this.
12772
127732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12774
12775 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12776 Set _x86_64_preferred_memory_instruction for AMD processsors.
12777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12778 Set bit_Prefer_SSE_for_memop for AMD processors.
12779
13a804de
UD
127802011-03-04 Ulrich Drepper <drepper@gmail.com>
12781
12782 * libio/fmemopen.c (fmemopen): Optimize a bit.
12783
9d25c392
AS
127842011-03-03 Andreas Schwab <schwab@redhat.com>
12785
12786 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12787
a5543c6a
RM
127882011-03-03 Roland McGrath <roland@redhat.com>
12789
12790 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12791
012d35f7
DM
127922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12793
7e4ba49c 12794 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12795 __bzero_ultra1 instead of __memset_ultra1.
12796
4bff6e01
AS
127972011-02-23 Andreas Schwab <schwab@redhat.com>
12798 Ulrich Drepper <drepper@gmail.com>
12799
12800 [BZ #12509]
12801 * include/link.h (struct link_map): Add l_orig_initfini.
12802 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12803 returning unsuccessfully.
12804 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12805 close of a file loaded at startup, restore the original l_initfini
12806 list.
12807 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12808 list, store the pointer.
12809 * elf/Makefile ($(objpfx)noload-mem): New rule.
12810 (noload-ENV): Define.
12811 (tests): Add $(objpfx)noload-mem.
12812 * elf/noload.c: Include <memcheck.h>.
12813 (main): Call mtrace. Close all opened handles.
12814
f2092faf
AS
128152011-02-17 Andreas Schwab <schwab@redhat.com>
12816
12817 [BZ #12454]
12818 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12819 dependencies are missing.
12820
6c8a2e88
ST
128212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12822
f2092faf 12823 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12824 Hurd needs munmap.
12825 * sysdeps/mach/hurd/ifreq.h: New file.
12826
84a42118
PB
128272011-01-27 Petr Baudis <pasky@suse.cz>
12828 Ulrich Drepper <drepper@gmail.com>
12829
071f805e 12830 [BZ 12445]#
84a42118
PB
12831 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12832 to extend_alloca().
12833 * stdio-common/bug23.c: New file.
12834 * stdio-common/Makefile (tests): Add bug23.
12835
e23fe25b
AS
128362010-09-28 Andreas Schwab <schwab@redhat.com>
12837 Ulrich Drepper <drepper@gmail.com>
12838
12839 [BZ #12489]
12840 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12841 before performing relro protection. At old place add assertion
12842 to make sure nothing changed.
12843
d3f02e10
NS
128442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12845 Glauber de Oliveira Costa <glommer@gmail.com>
12846
12847 * elf/elf.h: Add new ARM TLS relocs.
12848
d55fd7a5
RA
128492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12850
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12852 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12853 cast from r3.
12854 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12855 'tests' variable.
12856 * sysdeps/wordsize-64/tst-writev.c: New file.
12857
2206397e
RA
128582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12859
12860 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12861 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12862 insns in _dl_start to prevent a TOC reference before relocs are
12863 resolved.
12864
e9433893
UD
128652011-02-15 Ulrich Drepper <drepper@gmail.com>
12866
12867 [BZ #12469]
12868 * Makeconfig: Remove RANLIB definition.
12869 * Makerules: Don't use RANLIB.
12870 * aclocal.m4: Remove ranlib test.
12871 * configure.in: No need to check for ranlib.
12872 * elf/rtld-Rules: Don't use RANLIB.
12873
f75286c6
ST
128742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12875
8e31c82d
ST
12876 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12877 protection macro.
12878 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12879 inclusion protection macro.
12880
f75286c6
ST
12881 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12882 SIGRTMIN and SIGRTMAX and print information in that case only when
12883 SIGRTMIN is defined.
12884
c1d0e639
JJ
128852011-02-11 Jakub Jelinek <jakub@redhat.com>
12886
12887 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12888 arginfo fn returning -1.
12889
12890 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12891 and thousands string is zero terminated.
12892
edf9294e
AS
128932011-02-03 Andreas Schwab <schwab@redhat.com>
12894
12895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12896 sysdeps/unix/sysv/linux/bits/socket.h.
12897
2b7e92df
ST
128982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12899
edf9294e
AS
12900 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12901 (__CPU_COUNT): Remove old macros.
12902 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12903 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12904 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12905 (__sched_cpualloc, __sched_cpufree): Add declarations.
12906
a4c7ea7b
UD
129072011-02-05 Ulrich Drepper <drepper@gmail.com>
12908
12909 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12910 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12911 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12912 (readdhstai): Return value of addhstaiX call.
12913 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12914 (addgrbyX): Return value returned by cache_addgr.
12915 (readdgrbyname): Return value returned by addgrbyX.
12916 (readdgrbygid): Likewise.
12917 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12918 (addpwbyX): Return value returned by cache_addpw.
12919 (readdpwbyname): Return value returned by addhstbyX.
12920 (readdpwbyuid): Likewise.
12921 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12922 (addservbyX): Return value returned by cache_addserv.
12923 (readdservbyname): Return value returned by addservbyX:
12924 (readdservbyport): Likewise.
12925 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12926 (addhstbyX): Return value returned by cache_addhst.
12927 (readdhstbyname): Return value returned by addhstbyX.
12928 (readdhstbyaddr): Likewise.
12929 (readdhstbynamev6): Likewise.
12930 (readdhstbyaddrv6): Likewise.
12931 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12932 (readdinitgroups): Return value returned by addinitgroupsX.
12933 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12934 (prune_cache): Keep track of timeout value of re-added entries.
12935 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12936 * nscd/nscd.h: Adjust prototypes of readd* functions.
12937
a0bf67cc
RM
129382011-02-04 Roland McGrath <roland@redhat.com>
12939
12940 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12941 (nis_stats): Likewise.
12942 * nis/nis_modify.c (nis_modify): Likewise.
12943 * nis/nis_remove.c (nis_remove): Likewise.
12944 * nis/nis_add.c (nis_add): Likewise.
12945
12946 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12947
12948 * posix/fnmatch_loop.c: Add some consts.
12949
12950 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12951
435b95eb
L
129522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12953
12954 [BZ #12460]
12955 * config.make.in (config-cflags-novzeroupper): Define.
12956 * configure.in: Substitute libc_cv_cc_novzeroupper.
12957 * elf/Makefile (AVX-CFLAGS): Define.
12958 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12959 (CFLAGS-tst-auditmod4a.c): Likewise.
12960 (CFLAGS-tst-auditmod4b.c): Likewise.
12961 (CFLAGS-tst-auditmod6b.c): Likewise.
12962 (CFLAGS-tst-auditmod6c.c): Likewise.
12963 (CFLAGS-tst-auditmod7b.c): Likewise.
12964 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12965
8517b15e
UD
129662011-02-02 Ulrich Drepper <drepper@gmail.com>
12967
12968 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12969 function to the callback.
12970 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12971
10a656fe
AS
129722011-02-02 Andreas Schwab <schwab@redhat.com>
12973
12974 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12975 of errno.
12976
968dad0a
UD
129772011-01-19 Ulrich Drepper <drepper@gmail.com>
12978
9f94d2ea 12979 [BZ #11724]
968dad0a
UD
12980 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12981 of constructors.
12982 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12983 of destructors.
12984 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12985
12986 [BZ #11724]
12987 * elf/Makefile: Add rules to build and run new test.
12988 * elf/tst-initorder.c: New file.
12989 * elf/tst-initorder.exp: New file.
12990 * elf/tst-initordera1.c: New file.
12991 * elf/tst-initordera2.c: New file.
12992 * elf/tst-initordera3.c: New file.
12993 * elf/tst-initordera4.c: New file.
12994 * elf/tst-initorderb1.c: New file.
12995 * elf/tst-initorderb2.c: New file.
12996 * elf/tst-order-a1.c: New file.
12997 * elf/tst-order-a2.c: New file.
12998 * elf/tst-order-a3.c: New file.
12999 * elf/tst-order-a4.c: New file.
13000 * elf/tst-order-b1.c: New file.
13001 * elf/tst-order-b2.c: New file.
13002 * elf/tst-order-main.c: New file.
13003 New test case by George Gensure <werkt0@gmail.com>.
13004
86e92359
UD
130052010-10-01 Andreas Schwab <schwab@redhat.com>
13006
13007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13008 decoding ACE if AI_CANONIDN.
13009
5d5732b0
UD
130102011-01-18 Ulrich Drepper <drepper@gmail.com>
13011
13012 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13013
a77e8cbc
UD
130142011-01-17 Ulrich Drepper <drepper@gmail.com>
13015
6392473f
UD
13016 * version.h (RELEASE): Bump for 2.13 release.
13017 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13018
620a0529
UD
13019 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13020
18ba70a5
UD
13021 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13022 MADV_NOHUGEPAGE.
32465c3e
UD
13023 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13028 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13029
c0dafcf1
UD
13030 * posix/getconf.c: Update copyright year.
13031 * catgets/gencat.c: Likewise.
13032 * csu/version.c: Likewise.
13033 * debug/catchsegv.sh: Likewise.
13034 * debug/xtrace.sh: Likewise.
13035 * elf/ldconfig.c: Likewise.
13036 * elf/ldd.bash.in: Likewise.
13037 * elf/sprof.c (print_version): Likewise.
13038 * iconv/iconv_prog.c: Likewise.
13039 * iconv/iconvconfig.c: Likewise.
13040 * locale/programs/locale.c: Likewise.
13041 * locale/programs/localedef.c: Likewise.
13042 * malloc/memusage.sh: Likewise.
13043 * malloc/mtrace.pl: Likewise.
13044 * nscd/nscd.c (print_version): Likewise.
13045 * nss/getent.c: Likewise.
13046
a77e8cbc
UD
13047 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13048 PF_CAIF, and PF_ALG.
13049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13050
77e8bddf
AS
130512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13052
1f20b93a
AS
13053 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13054 (modules-names): Use them.
13055 (ifunc-test-modules, ifunc-pie-tests): Define.
13056 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13057 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13058 (test-extras): Likewise.
13059 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13060 $(compile-command.c).
13061 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13062 (all-built-dso): Define.
13063 (check-textrel.out, check-execstack.out): Depend on it.
13064
77e8bddf
AS
13065 * configure.in: Don't override --enable-multi-arch.
13066
bc425b33
UD
130672011-01-15 Ulrich Drepper <drepper@gmail.com>
13068
13069 [BZ #6812]
13070 * nscd/hstcache.c (tryagain): Define.
13071 (cache_addhst): Return tryagain not notfound for temporary errors.
13072 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13073 failed.
13074
794c3ad3
UD
130752011-01-14 Ulrich Drepper <drepper@gmail.com>
13076
70181fdd
UD
13077 [BZ #10563]
13078 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13079 to make the syscall.
13080 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13081
794c3ad3
UD
13082 [BZ #12378]
13083 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13084 and fall back to matching as normal character if the string ends before
13085 the matching ']' is found. This is what POSIX requires.
13086 * posix/testfnm.c: Adjust test result.
13087 * posix/globtest.sh: Adjust test result. Add new test.
13088 * posix/tst-fnmatch.input: Likewise.
13089 * posix/tst-fnmatch2.c: Add new test.
13090
68dc9497
AS
130912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13092
13093 * elf/Makefile (check-execstack): Revert last change. Depend on
13094 check-execstack.h.
13095 (check-execstack.h): New target.
13096 (generated): Add check-execstack.h.
13097 * elf/check-execstack.c: Include "check-execstack.h".
13098 (main): Revert last change.
13099 (handle_file): Return zero if GNU_STACK is absent and
13100 DEFAULT_STACK_PERMS doesn't include PF_X.
13101
451f001b
UD
131022011-01-13 Ulrich Drepper <drepper@gmail.com>
13103
cfa28e56
UD
13104 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13105 in child fails because the descriptor is already closed.
8cf8ce17
UD
13106 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13107 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13109
1086d70d
UD
13110 [BZ #12397]
13111 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13112 syscall.
13113
451f001b
UD
13114 [BZ #10484]
13115 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13116 temporary buffer used to handle multi lookups locally.
a85b5cb4 13117 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13118
08769175
UD
131192011-01-12 Ulrich Drepper <drepper@gmail.com>
13120
13121 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13122 loader is ld.so.
13123
5e49c52e
UD
131242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13125
13126 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13127 alignment for SSE2.
13128
60522a5f
UD
131292011-01-12 Ulrich Drepper <drepper@gmail.com>
13130
13131 [BZ #12394]
13132 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13133 characters. When rounding increased number of integer digits recompute
13134 number of groups.
13135 * stdio-common/tst-grouping.c: New file.
13136 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13137
f257bbd7
UD
131382011-01-09 Ulrich Drepper <drepper@gmail.com>
13139
13140 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13141 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13142
13143 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13144 void.
13145 * bits/select.h: Likewise.
13146
fa9c15cb
UD
131472011-01-08 Ulrich Drepper <drepper@gmail.com>
13148
13149 * po/ja.po: Update from translation team.
13150
16c2895f
DM
131512011-01-04 David S. Miller <davem@sunset.davemloft.net>
13152
13153 [BZ #11155]
13154 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13155 implementation just like for lxstat, fxstatat, et al.
13156
2543fef2
JM
131572010-12-27 Jim Meyering <meyering@redhat.com>
13158
13159 [BZ #12348]
13160 * posix/regexec.c (build_trtable): Return failure indication upon
13161 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13162
98727dbe
UD
131632010-12-25 Ulrich Drepper <drepper@gmail.com>
13164
5bd6dc5c
UD
13165 [BZ #12201]
13166 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13167 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13168 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13170
97983464
UD
13171 [BZ #12207]
13172 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13173
98727dbe
UD
13174 [BZ #12204]
13175 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13176 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13177
4a531bb0
L
131782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13179
13180 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13181 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13182 script has SORT_BY_INIT_PRIORITY.
13183 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13184 NO_CTORS_DTORS_SECTIONS is defined.
13185 * elf/soinit.c: Likewise.
13186 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13187 NO_CTORS_DTORS_SECTIONS is defined.
13188 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13189 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13190 * sysdeps/sh/init-first.c: Likewise.
13191 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13192
07eb4b71
UD
131932010-12-24 Ulrich Drepper <drepper@gmail.com>
13194
13195 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13196 always use the slow path.
13197
30950a5f
RA
131982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13199
13200 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13201 similar rule which adds the sysdep directories to the header search in
13202 order to pick up the correct platform stackinfo.h.
13203 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13204 perform test if it is, otherwise return successfully without testing.
13205 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13206 DEFAULT_STACK_PERMS define in stackinfo.h.
13207 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13208 defined in stackinfo.h.
13209 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13210 DEFAULT_STACK_PERMS defined in stackinfo.h.
13211 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13212 * sysdeps/ia64/stackinfo.h: Likewise.
13213 * sysdeps/s390/stackinfo.h: Likewise.
13214 * sysdeps/sh/stackinfo.h: Likewise.
13215 * sysdeps/sparc/stackinfo.h: Likewise.
13216 * sysdeps/x86_64/stackinfo.h: Likewise.
13217 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13218 PF_X for powerpc64. Retain PF_X for powerpc32.
13219
db753e2c
UD
132202010-12-19 Ulrich Drepper <drepper@gmail.com>
13221
14b697f7
UD
13222 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13223 accurately.
db753e2c
UD
13224 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13225 GETDENTS_64BIT_ALIGNED.
13226
28300719
UD
132272010-12-14 Ulrich Drepper <dreper@gmail.com>
13228
14b697f7 13229 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13230
4f197237
AS
132312010-12-10 Andreas Schwab <schwab@redhat.com>
13232
dbb0472f
AS
13233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13234 _GNU_SOURCE.
13235
4f197237
AS
13236 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13237 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13238 Remove __restrict.
13239 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13240 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13241
fb88ac72
UD
132422010-12-09 Ulrich Drepper <drepper@gmail.com>
13243
13244 [BZ #11655]
13245 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13246 are initialized.
13247
42acbb92
JJ
132482010-12-09 Jakub Jelinek <jakub@redhat.com>
13249
13250 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13251
c038d98d
UD
132522010-12-03 Ulrich Drepper <drepper@gmail.com>
13253
13254 * po/it.po: Update from translation team.
13255
3a4a2499
L
132562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13257
13258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13259 unused codes.
13260
1e24cf6e
UD
132612010-11-30 Ulrich Drepper <drepper@gmail.com>
13262
13263 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13264
a7690819
AS
132652010-11-24 Andreas Schwab <schwab@redhat.com>
13266
13267 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13268 specially.
13269 (gaih_getanswer_slice): Likewise.
13270
3bf8d1b1
JJ
132712010-10-20 Jakub Jelinek <jakub@redhat.com>
13272
13273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13274
6db52fbb
PB
132752010-05-31 Petr Baudis <pasky@suse.cz>
13276
13277 [BZ #11149]
13278 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13279 silently even in the chroot mode.
13280
eaca7569
UD
132812010-11-22 Ulrich Drepper <drepper@gmail.com>
13282
13283 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13284 last patch a bit. Pretty printing
13285
3056dcdb
UD
132862010-05-31 Petr Baudis <pasky@suse.cz>
13287
13288 [BZ #10085]
13289 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13290 initialization of skip_initgroups_dyn.
13291
cf7c9078
UD
132922010-11-19 Ulrich Drepper <drepper@gmail.com>
13293
13294 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13295 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13296
a1fb5e3e
UD
132972010-11-16 Ulrich Drepper <drepper@gmail.com>
13298
13299 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13300
3540d66b
AS
133012010-11-11 Andreas Schwab <schwab@redhat.com>
13302
13303 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13304 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13305 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13306 ($(objpfx)tst-fnmatch-mem): New rule.
13307 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13308 * posix/tst-fnmatch.c (main): Call mtrace.
13309
13b69574
L
133102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13313 Support Intel processor model 6 and model 0x2c.
13314
da93d214
LM
133152010-11-10 Luis Machado <luisgpm@br.ibm.com>
13316
13317 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13318 signed comparison.
13319
8ca52c6e
L
133202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13321
13322 [BZ #12205]
13323 * string/test-strncasecmp.c (check_result): New function.
13324 (do_one_test): Use it.
13325 (check1): New function.
13326 (test_main): Use it.
13327 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13328 Support strcasecmp and strncasecmp.
13329
69da074d
UD
133302010-11-08 Ulrich Drepper <drepper@gmail.com>
13331
13332 [BZ #12194]
13333 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13335
ff02d528
L
133362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13337
13338 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13339 IFUNC support.
13340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13341 memset-x86-64.
13342 * sysdeps/x86_64/multiarch/bzero.S: New file.
13343 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13344 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13345 * sysdeps/x86_64/multiarch/memset.S: New file.
13346 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13348 Set bit_Prefer_SSE_for_memop for Intel processors.
13349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13350 Define.
13351 (index_Prefer_SSE_for_memop): Define.
13352 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13353
344d0b54
LM
133542010-11-04 Luis Machado <luisgpm@br.ibm.com>
13355
13356 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13357 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13358
c0dde15b
UD
133592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13360
13361 [BZ #12191]
13362 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13363 (__x86_64_raw_data_cache_size_half): Likewise.
13364 (__x86_64_raw_shared_cache_size): Likewise.
13365 (__x86_64_raw_shared_cache_size_half): Likewise.
13366
13367 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13368 (__x86_64_raw_data_cache_size_half): Likewise.
13369 (__x86_64_raw_shared_cache_size): Likewise.
13370 (__x86_64_raw_shared_cache_size_half): Likewise.
13371 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13372 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13373 and __x86_64_raw_shared_cache_size_half. Round
13374 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13375 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13376 to multiple of 256 bytes.
13377
0e516e0e
MS
133782010-11-03 Ulrich Drepper <drepper@gmail.com>
13379
13380 [BZ #12167]
13381 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13382 of inacessible symlinks. Verify result of symlink before returning it.
13383 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13384 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13385
0e012e87
ER
133862010-10-28 Erich Ritz <erichritz@gmail.com>
13387
13388 * math/math.h (isinf): Fix typo in comment.
13389
de0ff7bc
UD
133902010-11-01 Ulrich Drepper <drepper@gmail.com>
13391
13392 * po/da.po: Update from translation team.
13393
fa41c84d
UD
133942010-10-26 Ulrich Drepper <drepper@gmail.com>
13395
13396 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13397 is added to the list.
13398
f0967738
AK
133992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13400 Ulrich Drepper <drepper@gmail.com>
13401
13402 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13403 the global list here. Move code to...
13404 (_dl_add_to_namespace_list): ...here. New function.
13405 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13406 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13407 * elf/dl-load.c (lose): Don't remove the element from the list.
13408 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13409 (_dl_map_object): Likewise.
13410
134112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13412
13413 [BZ #12159]
13414 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13415 into all bytes of SSE register.
13416 Patch by Richard Li <richardpku@gmail.com>.
13417
f0967738 134182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13419
13420 [BZ #12140]
13421 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13422 perturbing.
13423
d0b9e94f
MB
134242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13425
13426 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13427 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13428 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13431 submachine.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13433
8e9f92e9
AS
134342010-10-22 Andreas Schwab <schwab@redhat.com>
13435
13436 * include/dlfcn.h (__RTLD_SECURE): Define.
13437 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13438 mode & __RTLD_SECURE instead.
13439 (open_path): Rename preloaded parameter to secure.
13440 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13441 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13442 * elf/dl-deps.c (openaux): Likewise.
13443 * elf/rtld.c (struct map_args): Remove is_preloaded.
13444 (map_doit): Don't use it.
13445 (dl_main): Likewise.
13446 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13447 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13448
bc96fbda
AS
134492010-09-09 Andreas Schwab <schwab@redhat.com>
13450
13451 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13452 (sysd-rules-targets): Remove duplicates.
13453 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13454 rtld-%.$o dependency.
13455
22cd1c9b
AS
134562010-10-18 Andreas Schwab <schwab@redhat.com>
13457
13458 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13459 _dl_map_object do it.
13460
18edac48
UD
134612010-10-19 Ulrich Drepper <drepper@gmail.com>
13462
13463 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13464 fast fma builtins, define the macros in the C99 standard.
13465 (FP_FAST_FMAF): Likewise.
13466 (FP_FAST_FMAL): Likewise.
13467 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13468
13469 * bits/mathdef.h: Update copyright year.
13470 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13471
d2050124
MM
134722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13473
13474 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13475 builtins, define the macros in the C99 standard.
13476 (FP_FAST_FMAF): Likewise.
13477 (FP_FAST_FMAL): Likewise.
13478 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13479 multiply/add.
13480 (FP_FAST_FMAF): Likewise.
13481
475facd1
JJ
134822010-10-15 Jakub Jelinek <jakub@redhat.com>
13483
13484 [BZ #3268]
13485 * math/libm-test.inc (fma_test): Some new testcases.
13486 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13488 y and infinite z. Do multiplication by C already in long double.
13489 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13491 y and infinite z. Do bitwise or of inexact bit into u.d.
13492 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13493 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13494 * sysdeps/i386/fpu/s_fma.S: Removed.
13495 * sysdeps/i386/fpu/s_fmal.S: Removed.
13496
7c08a05c
JJ
134972010-10-16 Jakub Jelinek <jakub@redhat.com>
13498
13499 [BZ #3268]
13500 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13502 computation is not scheduled after fetestexcept. Fix value
13503 of minimum denormal long double.
13504
f3f7372d
JJ
135052010-10-14 Jakub Jelinek <jakub@redhat.com>
13506
13507 [BZ #3268]
13508 * math/libm-test.inc (fma_test): Add some more tests.
13509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13510 correctly.
13511
14d43591
AS
135122010-10-15 Andreas Schwab <schwab@redhat.com>
13513
13514 * scripts/data/localplt-s390-linux-gnu.data: New file.
13515 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13516
5e908464
JJ
135172010-10-13 Jakub Jelinek <jakub@redhat.com>
13518
13519 [BZ #3268]
13520 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13521 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13522 instead of dbl-64.
13523 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13524 inlines.
13525 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13527 if one of x and y is very large and the other is subnormal.
13528 * sysdeps/s390/fpu/s_fmaf.c: New file.
13529 * sysdeps/s390/fpu/s_fma.c: New file.
13530 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13531 * sysdeps/powerpc/fpu/s_fma.S: New file.
13532 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13533 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13534 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13535
135362010-10-12 Jakub Jelinek <jakub@redhat.com>
13537
13538 [BZ #3268]
13539 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13540 fma tests.
13541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13542 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13543 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13544 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13545 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13546 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13548
b833d51f
UD
135492010-10-12 Ulrich Drepper <drepper@redhat.com>
13550
13551 [BZ #12078]
13552 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13553 * posix/bug-regex31.input: Add test case.
13554
1751705d
UD
135552010-10-11 Ulrich Drepper <drepper@gmail.com>
13556
e9b9cbf5
UD
13557 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13558 * posix/bug-regex31.input: New file.
13559
13560 [BZ #12078]
13561 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13562 (parse_sub_exp): Fix last change, use postorder.
13563
ef06edbe
UD
13564 * posix/bug-regex31.c: New file.
13565 * posix/Makefile: Add rules to build and run bug-regex31.
13566
a129c80d
UD
13567 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13568
13569 [BZ #12078]
13570 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13571
b76b818e
UD
13572 [BZ #12108]
13573 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13574 to have entries in sys_siglist.
13575
1751705d
UD
13576 [BZ #12093]
13577 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13578 be NULL.
13579
9ff8d36f
JJ
135802010-10-07 Jakub Jelinek <jakub@redhat.com>
13581
13582 [BZ #3268]
13583 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13584 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13585 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13586 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13588 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13589 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13590 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13591 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13592 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13593 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13594 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13595 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13596 * math/ftestexcept.c (fetestexcept): Likewise.
13597 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13598 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13599 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13600 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13601 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13602 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13603 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13604
af325969
UD
136052010-10-11 Ulrich Drepper <drepper@gmail.com>
13606
c579b202 13607 [BZ #12107]
af325969
UD
13608 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13609 newline.
13610
67a67b95
UD
136112010-10-06 Ulrich Drepper <drepper@gmail.com>
13612
13613 * string/bug-strstr1.c: New file.
13614 * string/Makefile: Add rules to build and run bug-strstr1.
13615
5fb308bc
EB
136162010-10-05 Eric Blake <eblake@redhat.com>
13617
13618 [BZ #12092]
13619 * string/str-two-way.h (two_way_long_needle): Always clear memory
13620 when skipping input due to the shift table.
13621
45db99c7
UD
136222010-10-03 Ulrich Drepper <drepper@gmail.com>
13623
3b111893
UD
13624 [BZ #12005]
13625 * malloc/mcheck.c: Handle large requests.
13626
45db99c7
UD
13627 [BZ #12077]
13628 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13629 for strncmp and strncasecmp.
13630 * string/stratcliff.c: Add tests for strcmp and strncmp.
13631 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13632
cf7a1eb8
NI
136332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13634
13635 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13636 __set_fpscr.
13637
6484ba5e
AJ
136382010-09-30 Andreas Jaeger <aj@suse.de>
13639
13640 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13641 (CGROUP_SUPER_MAGIC): Define.
13642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13643 Handle btrfs and cgroup file systems.
13644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13645 Likewise.
13646
91c42559
LM
136472010-09-27 Luis Machado <luisgpm@br.ibm.com>
13648
13649 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13650 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13651
87a97932
AK
136522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13653
13654 [BZ #12067]
13655 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13656 trying to locate the ELF header.
13657
c21cc9bc
AS
136582010-09-27 Andreas Schwab <schwab@redhat.com>
13659
13660 [BZ #11611]
13661 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13662 Mask out sign-bit copies when constructing f_fsid.
13663
315970f6
PB
136642010-09-24 Petr Baudis <pasky@suse.cz>
13665
13666 * debug/stack_chk_fail_local.c: Add missing licence exception.
13667 * debug/warning-nop.c: Likewise.
13668
1ac7a2c7
JM
136692010-09-15 Joseph Myers <joseph@codesourcery.com>
13670
13671 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13672 implementing getdents64 using getdents syscall, set d_type if
13673 __ASSUME_GETDENTS32_D_TYPE.
13674
56801c50
AS
136752010-09-16 Andreas Schwab <schwab@redhat.com>
13676
13677 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13678 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13679
dda51327
UD
136802010-09-21 Ulrich Drepper <drepper@redhat.com>
13681
13682 [BZ #12037]
13683 * posix/unistd.h: Undo change of feature selection for ftruncate from
13684 2010-01-11.
13685
8ffcee4a
UD
136862010-09-20 Ulrich Drepper <drepper@redhat.com>
13687
a545ecd9 13688 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13689 detection.
13690
e24f0a8b
AS
136912010-09-20 Andreas Schwab <schwab@redhat.com>
13692
13693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13694 fanotify_mark.
13695 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13696
7291c56f
AS
136972010-09-14 Andreas Schwab <schwab@redhat.com>
13698
13699 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13700 variables after CHECK_SP call.
13701 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13702
bc5fb037
AS
137032010-09-13 Andreas Schwab <schwab@redhat.com>
13704 Ulrich Drepper <drepper@redhat.com>
13705
13706 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13707 re-relocationg ld.so.
13708 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13709 _dl_init_paths call.
13710 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13711 here anymore.
13712
e66e7419
UD
137132010-09-14 Ulrich Drepper <drepper@redhat.com>
13714
13715 * resolv/res_init.c (__res_vinit): Count the default server we added.
13716
c044aa75
CLT
137172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13718 Ulrich Drepper <drepper@redhat.com>
13719
13720 [BZ #11968]
13721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13722 (____longjmp_chk): Use %ebx for saving value across system call.
13723 Add unwind info.
13724
32cf4069
AS
137252010-09-06 Andreas Schwab <schwab@redhat.com>
13726
13727 * manual/Makefile: Don't mix pattern rules with normal rules.
13728
817328ee
AS
137292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13732 operation.
13733 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13734 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13735 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13736 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13738 Likewise.
13739
29fddf61
UD
137402010-09-04 Ulrich Drepper <drepper@redhat.com>
13741
13742 [BZ #11979]
13743 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13744 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13745
0959ffc9
UD
137462010-09-02 Ulrich Drepper <drepper@redhat.com>
13747
13748 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13749 * sysdeps/x86_64/addmul_1.S: Likewise.
13750 * sysdeps/x86_64/lshift.S: Likewise.
13751 * sysdeps/x86_64/mul_1.S: Likewise.
13752 * sysdeps/x86_64/rshift.S: Likewise.
13753 * sysdeps/x86_64/sub_n.S: Likewise.
13754 * sysdeps/x86_64/submul_1.S: Likewise.
13755
ece29840
ST
137562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13757
0959ffc9
UD
13758 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13759 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13760 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13761 * bits/sched.h [__need_schedparam]
ece29840 13762 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13763 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13764 (__defined_schedparam): Define to 1.
ece29840
ST
13765 (__sched_param): New structure, identical to sched_param.
13766 (__need_schedparam): Undefine.
13767
e53a31fe
MF
137682010-08-31 Mike Frysinger <vapier@gentoo.org>
13769
fdc0c10d
MF
13770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13771 (epoll_create1): Declare.
13772
e53a31fe
MF
13773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13774
a726d796
AS
137752010-08-31 Andreas Schwab <schwab@redhat.com>
13776
13777 [BZ #7066]
13778 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13779 shifting retval into place.
13780
2f3e3dc7
UD
137812010-09-01 Ulrich Drepper <drepper@redhat.com>
13782
f2933da9
UD
13783 * nis/rpcsvc/nis.h: Update copyright notice.
13784 * nis/rpcsvc/nis.x: Likewise.
13785 * nis/rpcsvc/nis_callback.h: Likewise.
13786 * nis/rpcsvc/nis_callback.x: Likewise.
13787 * nis/rpcsvc/nis_object.x: Likewise.
13788 * nis/rpcsvc/nis_tags.h: Likewise.
13789 * nis/rpcsvc/yp.h: Likewise.
13790 * nis/rpcsvc/yp.x: Likewise.
13791 * nis/rpcsvc/ypupd.h: Likewise.
13792 * nis/yp_xdr.c: Likewise.
13793 * nis/ypupdate_xdr.c: Likewise.
13794
2f3e3dc7
UD
13795 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13796 mainly the body of pmap_getport. Add parameters to specify timeouts.
13797 (pmap_getport): Use __libc_rpc_getport.
13798 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13799 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13800 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13801
f3dcc2f9
AS
138022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13803
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13805 fanotify_mark.
13806
6d34eb5b
RM
138072010-08-27 Roland McGrath <roland@redhat.com>
13808
13809 * sysdeps/i386/i686/multiarch/Makefile
13810 (CFLAGS-varshift.c): New variable.
13811
9ea3de11
UD
138122010-08-27 Ulrich Drepper <drepper@redhat.com>
13813
c96d23fc
UD
13814 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13815 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13816
9ea3de11
UD
13817 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13818
13819 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13820
623aac7f
L
138212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13822
13823 * sysdeps/x86_64/strlen.S: Unroll the loop.
13824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13825 strlen-sse2 strlen-sse2-bsf.
13826 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13827 __strlen_no_bsf if bit_Slow_BSF is set.
13828 (__strlen_sse42): Removed.
13829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13830 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13831
8b2b7715
RM
138322010-08-25 Roland McGrath <roland@redhat.com>
13833
13834 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13835 * sysdeps/x86_64/multiarch/varshift.c: New file.
13836 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13837 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13838 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13839 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13840
e73015f2
L
138412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13842
13843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13844 strlen-sse2 strlen-sse2-bsf.
13845 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13846 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13847 (__strlen_sse2): Removed.
13848 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13851 bit_Slow_BSF for Atom.
13852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13853 (index_Slow_BSF): Define.
13854 (HAS_SLOW_BSF): Define.
13855
df24a73e
UD
138562010-08-25 Ulrich Drepper <drepper@redhat.com>
13857
13858 [BZ #10851]
13859 * resolv/res_init.c (__res_vinit): When no server address at all
13860 is given default to loopback.
13861
f2ac4868
RM
138622010-08-24 Roland McGrath <roland@redhat.com>
13863
09055553
RM
13864 * configure.in: Remove config-name.h generation.
13865 * configure: Regenerated.
13866 * config-name.in: File removed.
13867 * scripts/config-uname.sh: New file.
13868 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13869 ($(objdir)config-name.h): New target.
13870
f2ac4868
RM
13871 * sunrpc/rpc_parse.h: Avoid nested comment.
13872
73f27d5e
RH
138732010-08-24 Richard Henderson <rth@redhat.com>
13874 Ulrich Drepper <drepper@redhat.com>
13875 H.J. Lu <hongjiu.lu@intel.com>
13876
13877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13879 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13880 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13881 _mm_alignr_epi8 with _mm_loadu_si128.
13882 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13883 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13884 (__m128i_shift_right): Removed.
13885 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13886 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13887 * sysdeps/x86_64/multiarch/varshift.h: New file.
13888 * sysdeps/x86_64/multiarch/varshift.S: New file.
13889
84b9230c
MF
138902010-08-21 Mike Frysinger <vapier@gentoo.org>
13891
13892 * configure.in: Move assembler checks to before sysdep dir checking.
13893
9bbd0ddc
PB
138942010-08-20 Petr Baudis <pasky@suse.cz>
13895
13896 * LICENSES: Sync the sunrpc license.
13897
9da4bb31
UD
138982010-08-19 Ulrich Drepper <drepper@redhat.com>
13899
a7ab6ec8
UD
13900 * sunrpc/auth_des.c: Update copyright notice once again.
13901 * sunrpc/auth_none.c: Likewise.
13902 * sunrpc/auth_unix.c: Likewise.
13903 * sunrpc/authdes_prot.c: Likewise.
13904 * sunrpc/authuxprot.c: Likewise.
13905 * sunrpc/bindrsvprt.c: Likewise.
13906 * sunrpc/clnt_gen.c: Likewise.
13907 * sunrpc/clnt_perr.c: Likewise.
13908 * sunrpc/clnt_raw.c: Likewise.
13909 * sunrpc/clnt_simp.c: Likewise.
13910 * sunrpc/clnt_tcp.c: Likewise.
13911 * sunrpc/clnt_udp.c: Likewise.
13912 * sunrpc/clnt_unix.c: Likewise.
13913 * sunrpc/des_crypt.c: Likewise.
13914 * sunrpc/des_soft.c: Likewise.
13915 * sunrpc/get_myaddr.c: Likewise.
13916 * sunrpc/getrpcport.c: Likewise.
13917 * sunrpc/key_call.c: Likewise.
13918 * sunrpc/key_prot.c: Likewise.
13919 * sunrpc/openchild.c: Likewise.
13920 * sunrpc/pm_getmaps.c: Likewise.
13921 * sunrpc/pm_getport.c: Likewise.
13922 * sunrpc/pmap_clnt.c: Likewise.
13923 * sunrpc/pmap_prot.c: Likewise.
13924 * sunrpc/pmap_prot2.c: Likewise.
13925 * sunrpc/pmap_rmt.c: Likewise.
13926 * sunrpc/rpc/auth.h: Likewise.
13927 * sunrpc/rpc/auth_unix.h: Likewise.
13928 * sunrpc/rpc/clnt.h: Likewise.
13929 * sunrpc/rpc/des_crypt.h: Likewise.
13930 * sunrpc/rpc/key_prot.h: Likewise.
13931 * sunrpc/rpc/netdb.h: Likewise.
13932 * sunrpc/rpc/pmap_clnt.h: Likewise.
13933 * sunrpc/rpc/pmap_prot.h: Likewise.
13934 * sunrpc/rpc/pmap_rmt.h: Likewise.
13935 * sunrpc/rpc/rpc.h: Likewise.
13936 * sunrpc/rpc/rpc_des.h: Likewise.
13937 * sunrpc/rpc/rpc_msg.h: Likewise.
13938 * sunrpc/rpc/svc.h: Likewise.
13939 * sunrpc/rpc/svc_auth.h: Likewise.
13940 * sunrpc/rpc/types.h: Likewise.
13941 * sunrpc/rpc/xdr.h: Likewise.
13942 * sunrpc/rpc_clntout.c: Likewise.
13943 * sunrpc/rpc_cmsg.c: Likewise.
13944 * sunrpc/rpc_common.c: Likewise.
13945 * sunrpc/rpc_cout.c: Likewise.
13946 * sunrpc/rpc_dtable.c: Likewise.
13947 * sunrpc/rpc_hout.c: Likewise.
13948 * sunrpc/rpc_main.c: Likewise.
13949 * sunrpc/rpc_parse.c: Likewise.
13950 * sunrpc/rpc_parse.h: Likewise.
13951 * sunrpc/rpc_prot.c: Likewise.
13952 * sunrpc/rpc_sample.c: Likewise.
13953 * sunrpc/rpc_scan.c: Likewise.
13954 * sunrpc/rpc_scan.h: Likewise.
13955 * sunrpc/rpc_svcout.c: Likewise.
13956 * sunrpc/rpc_tblout.c: Likewise.
13957 * sunrpc/rpc_util.c: Likewise.
13958 * sunrpc/rpc_util.h: Likewise.
13959 * sunrpc/rpcinfo.c: Likewise.
13960 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13961 * sunrpc/rpcsvc/key_prot.x: Likewise.
13962 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13963 * sunrpc/rpcsvc/mount.x: Likewise.
13964 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13965 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13966 * sunrpc/rpcsvc/rex.x: Likewise.
13967 * sunrpc/rpcsvc/rstat.x: Likewise.
13968 * sunrpc/rpcsvc/rusers.x: Likewise.
13969 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13970 * sunrpc/rpcsvc/spray.x: Likewise.
13971 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13972 * sunrpc/rtime.c: Likewise.
13973 * sunrpc/svc.c: Likewise.
13974 * sunrpc/svc_auth.c: Likewise.
13975 * sunrpc/svc_authux.c: Likewise.
13976 * sunrpc/svc_raw.c: Likewise.
13977 * sunrpc/svc_run.c: Likewise.
13978 * sunrpc/svc_simple.c: Likewise.
13979 * sunrpc/svc_tcp.c: Likewise.
13980 * sunrpc/svc_udp.c: Likewise.
13981 * sunrpc/svc_unix.c: Likewise.
13982 * sunrpc/svcauth_des.c: Likewise.
13983 * sunrpc/xcrypt.c: Likewise.
13984 * sunrpc/xdr.c: Likewise.
13985 * sunrpc/xdr_array.c: Likewise.
13986 * sunrpc/xdr_float.c: Likewise.
13987 * sunrpc/xdr_mem.c: Likewise.
13988 * sunrpc/xdr_rec.c: Likewise.
13989 * sunrpc/xdr_ref.c: Likewise.
13990 * sunrpc/xdr_sizeof.c: Likewise.
13991 * sunrpc/xdr_stdio.c: Likewise.
13992
9da4bb31
UD
13993 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13994 handling.
13995
bdaa77bc
AS
139962010-08-19 Andreas Schwab <schwab@redhat.com>
13997
13998 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13999
fe2f79db
LM
140002010-08-19 Luis Machado <luisgpm@br.ibm.com>
14001
14002 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14003 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14005 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14006 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14007 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14008 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14009 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14011 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14012 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14013 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14014 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14015 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14016
b9b42ee0
AB
140172010-07-26 Anton Blanchard <anton@samba.org>
14018
14019 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14020 * malloc/arena.c (heap_trim): Likewise.
14021
1c06ba31
UD
140222010-08-16 Ulrich Drepper <drepper@redhat.com>
14023
14024 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14025 here. Not...
14026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14027 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14028
f8392f40
L
140292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14030
14031 * sysdeps/i386/elf/Makefile: New file.
14032
3162f12e
AS
140332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14034
14035 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14036 from fanotify_init.
14037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14038 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14039
28c90b2c
UD
140402010-08-15 Ulrich Drepper <drepper@redhat.com>
14041
14042 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14043 of strncasecmp_l.
1feccb6c 14044 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14045
ca6bb004
UD
140462010-08-14 Ulrich Drepper <drepper@redhat.com>
14047
e9f82e0d
UD
14048 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14049 strncase_l-nonascii.
14050 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14051 Add strncase_l-ssse3.
14052 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14053 * sysdeps/x86_64/strcmp.S: Likewise.
14054 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14055 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14056 * sysdeps/x86_64/strncase.S: New file.
14057 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14058 * sysdeps/x86_64/strncase_l.S: New file.
14059 * string/Makefile (strop-tests): Add strncasecmp.
14060 * string/test-strncasecmp.c: New file.
14061
14062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14063 warning.
14064
ca6bb004
UD
14065 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14066 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14067
052fa7b3
AS
140682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14069
14070 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14071
962dba78
UD
140722010-08-12 Ulrich Drepper <drepper@redhat.com>
14073
14074 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14075 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14077
bebff237
AM
140782010-05-01 Alan Modra <amodra@gmail.com>
14079
14080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14081 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14082 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14083 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14084 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14085 tidying. Don't tail-call __sigjmp_save for static lib.
14086 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14087 save location.
14088 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14089 (CALL_MCOUNT): Add eh info, and nop after bl.
14090 (TAIL_CALL_SYSCALL_ERROR): New macro.
14091 (PSEUDO_RET): Use it.
14092 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14093 Correct save location of integer regs and cr.
14094 (_dl_profile_resolve): Correct cr save location. Delete nops
14095 after bl when SHARED. Reduce cfi size a little by better
14096 placement of cfi directives.
14097 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14098 make a stack frame. Instead use parm save area as a temp.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14100 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14102 Don't make a stack frame for parent, use parm save area.
14103 Increase child stack frame to 112 bytes. Don't save unused reg,
14104 and adjust reg usage. Set up cfi on error recovery and
14105 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14107 (__makecontext): Add dummy nop after jump to exit.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14109 Use correct parm save area and cr save, reduce stack frame.
14110 Correct cfi for possible PSEUDO_RET frame setup.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14112 Branch to local label emitted by PSEUDO_RET rather than
14113 __syscall_error.
14114
02637374
AS
141152010-08-12 Andreas Schwab <schwab@redhat.com>
14116
14117 [BZ #11904]
14118 * locale/programs/locale.c (print_assignment): New function.
14119 (show_locale_vars): Use it.
14120
c3e2f19b
UD
141212010-08-11 Ulrich Drepper <drepper@redhat.com>
14122
3cdaa6ad
UD
14123 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14124 field.
14125 (struct statfs64): Likewise.
14126 (_STATFS_F_FLAGS): Define.
14127 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14129 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14130 (ST_VALID): Define locally.
14131 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14132 __statvfs_getflags, use the provided value.
14133 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14134 __ASSUME_STATFS_F_FLAGS.
14135
754f7da3
UD
14136 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14137
10b3bedc
UD
14138 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14139 Add sys/fanotify.h.
14140 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14141 fanotify_mask for GLIBC_2.13.
14142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14143 fanotify_init and fanotify_mark.
14144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14145 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14146
c08fb0d7
UD
14147 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14148 Add prlimit.
14149 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14150 prlimit64 for GLIBC_2.13.
14151 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14152 prlimit64.
14153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14154 syscall.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14157 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14160 add prlimit alias.
14161 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14162
15bac72b
UD
14163 [BZ #11903]
14164 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14165 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14166
c3e2f19b
UD
14167 * nss/Makefile: Add rules to build and run tst-nss-test1.
14168 * shlib-versions: Add entry for libnss_test1.
14169 * nss/nss_test1.c: New file.
14170 * nss/tst-nss-test1.c: New file.
14171
14172 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14173 (__nss_configure_lookup): Set appropriate entry in
14174 __nss_configure_lookup to true.
14175 * nss/nsswitch.h: Define enum with indeces of databases in
14176 databases and __nss_database_custom arrays. Declare
14177 __nss_database_custom.
14178 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14179 to avoid using nscd when custom rules are installed.
14180 * nss/getXXbyYY_r.c: Likewise.
14181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14182
14183 * nss/nss_files/files-parse.c: Whitespace fixes.
14184
f15ce4d8
UD
141852010-08-09 Ulrich Drepper <drepper@redhat.com>
14186
14187 [BZ #11883]
14188 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14189 * posix/fnmatch_loop.c: Likewise.
14190
d22e4cc9
AK
141912010-07-17 Andi Kleen <ak@linux.intel.com>
14192
14193 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14194 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14195 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14196 * Versions.def [GLIBC_2.13]: Add.
14197
805bc17d
UD
141982010-08-06 Ulrich Drepper <drepper@redhat.com>
14199
14200 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14201 Also fail if tpwd after pwuid call is NULL.
14202
5a42321d
ST
142032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14204
14205 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14206 when converting to ms.
14207
fd3ebeda
ST
142082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14209
14210 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14211 EOPNOTSUPP errors with ENOTTY.
14212 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14213 EOPNOTSUPP errors with ENOTTY.
14214
73507d3a
UD
142152010-07-31 Ulrich Drepper <drepper@redhat.com>
14216
14217 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14218 Add strcasecmp_l-ssse3.
14219 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14220 strcasecmp.
14221 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14222 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14223 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14224
fe36dd02
UD
142252010-07-30 Ulrich Drepper <drepper@redhat.com>
14226
66f6765a
UD
14227 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14228
42e08a54
UD
14229 * string/Makefile (strop-tests): Add strcasecmp.
14230 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14231 strcasecmp_l-nonascii.
14232 (gen-as-const-headers): Add locale-defines.sym.
14233 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14234 * sysdeps/x86_64/strcasecmp.S: New file.
14235 * sysdeps/x86_64/strcasecmp_l.S: New file.
14236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14237 * sysdeps/x86_64/locale-defines.sym: New file.
14238 * string/test-strcasecmp.c: New file.
14239
fe36dd02
UD
14240 * string/test-strcasestr.c: Test both ends of the range of characters.
14241 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14242
48cbc0d6
RM
142432010-07-29 Roland McGrath <roland@redhat.com>
14244
76e6d6bc 14245 [BZ #11856]
48cbc0d6
RM
14246 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14247
880113d9
UD
142482010-07-27 Ulrich Drepper <drepper@redhat.com>
14249
14250 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14251 for ld.so.
14252
deb9cabb
AS
142532010-07-27 Andreas Schwab <schwab@redhat.com>
14254
14255 * manual/memory.texi (Malloc Tunable Parameters): Document
14256 M_PERTURB.
14257
1c7570ff
RM
142582010-07-26 Roland McGrath <roland@redhat.com>
14259
14260 [BZ #11840]
14261 * configure.in (-fgnu89-inline check): Set and substitute
14262 gnu89_inline, not libc_cv_gnu89_inline.
14263 * configure: Regenerated.
14264 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14265
24fb0f88
UD
142662010-07-26 Ulrich Drepper <drepper@redhat.com>
14267
14268 * string/test-strnlen.c: New file.
14269 * string/Makefile (strop-tests): Add strnlen.
14270 * string/tester.c (test_strnlen): Add a few more test cases.
14271 * string/tst-strlen.c: Better error reporting.
14272
14273 * sysdeps/x86_64/strnlen.S: New file.
14274
8e96b93a
UD
142752010-07-24 Ulrich Drepper <drepper@redhat.com>
14276
14277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14278 lower-latency instructions.
14279
dbc676d4
UD
142802010-07-23 Ulrich Drepper <drepper@redhat.com>
14281
14282 * string/test-strcasestr.c: New file.
14283 * string/test-strstr.c: New file.
14284 * string/Makefile (strop-tests): Add strstr and strcasestr.
14285 * string/str-two-way.h: Don't undefine MAX.
14286 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14287
f6a31e0e
AS
142882010-07-21 Andreas Schwab <schwab@redhat.com>
14289
14290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14291 strcasestr-nonascii.
14292 (CFLAGS-strcasestr-nonascii.c): Define.
14293 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14294 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14295 Remove unused attribute.
14296
5dbc3b6c
RM
142972010-07-20 Roland McGrath <roland@redhat.com>
14298
14299 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14300 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14301 ld.so.cache was broken. With it, there is no way to disable dsocaps
14302 like LD_HWCAP_MASK can disable hwcaps.
14303
23d101d8
EPM
143042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14305
14306 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14307
cc9f2e47
UD
143082010-07-16 Ulrich Drepper <drepper@redhat.com>
14309
14310 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14311 call in strcasestr.
14312 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14313 __strcasestr_sse42_nonascii.
14314 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14315 strcasestr-nonascii.c.
14316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14317
77c1b069
LM
143182010-06-15 Luis Machado <luisgpm@br.ibm.com>
14319
14320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14322 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14324
440566c3
UD
143252010-07-09 Ulrich Drepper <drepper@redhat.com>
14326
14327 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14328 fcntl.
14329
5be9d05d
AS
143302010-07-06 Andreas Schwab <schwab@redhat.com>
14331
c30b7ee2 14332 [BZ #11577]
5be9d05d
AS
14333 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14334 dl_signal_cerror.
14335
8a492a67
UD
143362010-07-06 Ulrich Drepper <drepper@redhat.com>
14337
14338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14339 _PC_PIPE_BUF using F_GETPIPE_SZ.
14340
713df3d5
RM
143412010-07-05 Roland McGrath <roland@redhat.com>
14342
14343 * manual/arith.texi (Rounding Functions): Fix rint description
14344 implicit in round description.
14345
702e8f14
UD
143462010-07-02 Ulrich Drepper <drepper@redhat.com>
14347
14348 * elf/Makefile: Fix linking for a few tests to make recent linker
14349 happy.
14350
52ed8be9
AS
143512010-06-30 Andreas Schwab <schwab@redhat.com>
14352
14353 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14354 $(common-objpfx)libc_nonshared.a.
14355
f47c9a11
LM
143562010-06-21 Luis Machado <luisgpm@br.ibm.com>
14357
14358 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14359 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14360 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14361 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14362 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14363 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14365 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14380 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14381 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14382 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14383 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14384 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14385 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14386 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14387 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14388 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14389 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14390 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14391 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14406
6fb8cbcb
L
144072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14410 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14411 * string/memmove.c (memmove): Renamed to ...
14412 (MEMMOVE): ...this. Default to memmove.
14413 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14414 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14415 (END_CHK): Define.
14416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14417 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14418 mempcpy-ssse3-back memmove-ssse3-back.
14419 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14422 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14423 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14424 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14425 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14426 * sysdeps/x86_64/multiarch/memmove.c: New file.
14427 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14428 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14429 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14430 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14431 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14433 Define.
14434 (index_Fast_Copy_Backward): Define.
14435 (HAS_ARCH_FEATURE): Define.
14436 (HAS_FAST_REP_STRING): Define.
14437 (HAS_FAST_COPY_BACKWARD): Define.
14438
4e733bac 144392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14440
14441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14442 Restore proper fallback handling.
14443
63c4ed22
UD
144442010-06-19 Ulrich Drepper <drepper@redhat.com>
14445
ac2b484c
UD
14446 [BZ #11701]
14447 * posix/group_member.c (__group_member): Correct checking loop.
14448
63c4ed22
UD
14449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14450 OOM in getpwuid_r correctly. Return error number when the caller
14451 should return, otherwise -1.
14452 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14453 call returning > 0 value.
14454 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14455
765ade4b
AS
144562010-06-07 Andreas Schwab <schwab@redhat.com>
14457
14458 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14459 libc_nonshared.a from targets in modules-names.
14460
80da2e09
KS
144612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14462
14463 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14464 requires it.
14465
158db122
LM
144662010-06-10 Luis Machado <luisgpm@br.ibm.com>
14467
14468 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14472
caa78cf8
AS
144732010-06-02 Andreas Schwab <schwab@redhat.com>
14474
14475 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14476
b2ef2c01
UD
144772010-06-14 Ulrich Drepper <drepper@redhat.com>
14478
14479 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14480 and F_GETPIPE_SZ.
14481 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14487
fbd643b6
RM
144882010-06-14 Roland McGrath <roland@redhat.com>
14489
14490 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14491
f32f2869
JJ
144922010-06-07 Jakub Jelinek <jakub@redhat.com>
14493
14494 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14495 __REDIRECT followed by __THROW.
14496 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14497 * posix/getopt.h (getopt): Likewise.
14498
2a50c078
EPM
144992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14500
14501 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14502 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14503 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14504 in AT_FLAGS.
14505 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14506 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14507
eb5ad2eb
LM
145082010-05-28 Luis Machado <luisgpm@br.ibm.com>
14509
14510 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14511
3c88fe1e
L
145122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14513
14514 [BZ #11640]
14515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14516 Properly check family and model.
14517
d2f73151
TY
145182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14519
14520 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14521
ebd2e13d
LM
145222010-05-24 Luis Machado <luisgpm@br.ibm.com>
14523
14524 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14525
b32b8b45
UD
145262010-05-21 Ulrich Drepper <drepper@redhat.com>
14527
14528 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14529 symbol reference.
14530
9acbe24d
AS
145312010-05-19 Andreas Schwab <schwab@redhat.com>
14532
14533 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14534 symbol reference.
14535
f0ccf6ea
AS
145362010-05-21 Andreas Schwab <schwab@redhat.com>
14537
3d04ff3a
AS
14538 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14539 and internal_recvmmsg.
14540 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14541 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14542 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14543 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14544
f0ccf6ea
AS
14545 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14546 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14547 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14548
5b08ac57
AS
145492010-05-20 Andreas Schwab <schwab@redhat.com>
14550
14551 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14552
4828935d
LM
145532010-05-17 Luis Machado <luisgpm@br.ibm.com>
14554
14555 POWER7 optimizations.
14556 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14557 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14558
373d545e
UD
145592010-05-19 Ulrich Drepper <drepper@redhat.com>
14560
14561 * version.h: Update for 2.13 development version.
14562
21a2b1ae
AS
145632010-05-12 Andrew Stubbs <ams@codesourcery.com>
14564
14565 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14566 exceptions. Return 0.
14567
3f7dcb2b
RM
145682010-05-07 Roland McGrath <roland@redhat.com>
14569
14570 * elf/ldconfig.c (main): Add a const.
14571
5f24d53a 145722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14573
a160f8d8
UD
14574 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14575 (args_options): Add no-idn option.
14576 (ahosts_keys_int): Add idn_flags to ai_flags.
14577 (parse_option): Handle 'i' option to clear idn_flags.
14578
5f24d53a
UD
14579 * malloc/malloc.c (_int_free): Possible race in the most recently
14580 added check. Only act on the data if no current modification
14581 happened.
265bb1ce
UD
14582
14583See ChangeLog.17 for earlier changes.