]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
For [BZ #208], accumulate malloc stats over all arenas.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bedee953
PP
12012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 [BZ #208]
4 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5 in instead of returning them. Return void.
6 (__libc_mallinfo): Accumulate over all arenas.
7 (__malloc_stats): Adjust for change in int_mallinfo interface.
8
61653dfb
RM
92012-05-16 Roland McGrath <roland@hack.frob.com>
10
30b99d79
RM
11 [BZ #10375]
12 * configure.in (NM): Add AC_CHECK_TOOL for it.
13 (libc_extra_cflags): New substituted variable.
14 Check for -fstack-protector being used implicitly.
15 * configure: Regenerated.
16 * config.make.in (config-extra-cflags): New variable,
17 gets @libc_extra_cflags@.
18 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19
61653dfb
RM
20 [BZ #10375]
21 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23 * configure: Regenerated.
24 * config.make.in (CPPUNDEFS): New substituted variable.
25 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28
661768bb
L
292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30
31 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32 (mq_attr): Use __syscall_slong_t.
33
d4261567
L
342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35
36 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37 Check __x86_64__ instead of __WORDSIZE.
38 (_STAT_VER_LINUX): Likewise.
39 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40 __syscall_ulong_t and __syscall_slong_t.
41 (stat64): Likewise.
42
cf3ff365
L
432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44
45 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46
76cf3e4d
L
472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48
49 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50
a637753a
L
512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52
53 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54 __syscall_ulong_t.
55
d5e05119
L
56 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57 include <bits/wordsize.h>. Check __x86_64__ instead of
58 __WORDSIZE.
59 (greg_t): Use "__extension__ long long int" if __x86_64__ is
60 defined.
61 (mcontext_t): Replace "unsigned long" with "unsigned long long".
62
f62ee380
L
63 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64 include <bits/wordsize.h>. Check __x86_64__ instead of
65 __WORDSIZE.
66 (user_regs_struct): Use "__extension__ unsigned long long"
67 instead of "unsigned long" if __x86_64__ is defined.
68 (user): Likewise. Pad after pointer field if __ILP32__ is
69 defined.
70
4e124ced
JM
712012-05-16 Joseph Myers <joseph@codesourcery.com>
72
6a3951a0
JM
73 * configure.in (makeinfo): Require version 4.5 or later. Allow
74 versions 5 to 9.
75 * configure: Regenerated.
76 * manual/install.texi (texinfo): Increase version requirement to
77 4.5 or later.
78 * INSTALL: Regenerated.
79
4e124ced
JM
80 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81
953ca31a
L
822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
83
84 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
85
617aca05
L
86 * sysdeps/x86_64/x32/ffs.c: New file.
87
5762f7ae
L
88 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
89 __syscall_ulong_t.
90 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
91 defined. Use __syscall_ulong_t.
92 (shminfo): Use __syscall_ulong_t.
93 (shm_info): Likewise.
94
a26b6856
L
95 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
96 __syscall_ulong_t.
97
cb2b9ef7
L
98 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
99 <bits/wordsize.h>.
100 (msgqnum_t): Use __syscall_ulong_t.
101 (msglen_t): Likewise.
102 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
103 __syscall_ulong_t.
104
34683bb0
L
105 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
106 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
107
84a68786
L
108 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
109
48baa5f1
L
110 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
111 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
112
180be88b
L
113 * sysvipc/sys/msg.h (msgbuf): Replace long int with
114 __syscall_slong_t.
115
5e90c8ad
L
116 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
117 include <bits/wordsize.h>. Check __x86_64__ instead of
118 __WORDSIZE.
119
23dfb58b
L
120 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
121 "unsigned long long int" if __x86_64__ is defined.
122 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
123
ce5d54b0
L
124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
125 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
126 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
127
13dc9eac
L
128 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
129 <stdint.h>.
130 (GET_PC): Cast to uintptr_t first.
131 (GET_FRAME): Likewise.
132 (GET_STACK): Likewise.
133
a7895d15
L
134 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
135 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
142 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
145 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
150 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
151 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
154 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
155 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
157 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
160 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
161 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
162 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
163
656416c9
AS
1642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
165
5bd66283
AS
166 * Makerules (+depfiles): Also collect depfiles from .oS in
167 $(extra-objs).
168 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
169 .oS, $(libnldbl-routines)).
170
656416c9
AS
171 * Makerules (native-compile-mkdep-flags): Define.
172 * sunrpc/Makefile (extra-objs): Add $(addprefix
173 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
174 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
175 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
176 calling $(make-target-directory).
177
a46f2169
L
1782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
179
180 * bits/types.h (__snseconds_t): Removed.
181 * time/time.h (struct timespec): Replace __snseconds_t with
182 __syscall_slong_t.
183 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
184 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
185 Likewise.
186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
187 (__SNSECONDS_T_TYPE): Likewise.
188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
189 (__SNSECONDS_T_TYPE): Likewise.
190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
191 (__SNSECONDS_T_TYPE): Likewise.
192
6af6528b
L
1932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
194
195 * sysdeps/mach/hurd/bits/typesizes.h
196 (__SYSCALL_SLONG_TYPE): New macro.
197 (__SYSCALL_ULONG_TYPE): Likewise.
198
de986b56
L
1992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
200
201 * bits/types.h (__syscall_slong_t): New type.
202 (__syscall_ulong_t): Likewise.
203
204 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
205 (__SYSCALL_ULONG_TYPE): Likewise.
206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
207 (__SYSCALL_SLONG_TYPE): Likewise.
208 (__SYSCALL_ULONG_TYPE): Likewise.
209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
210 (__SYSCALL_SLONG_TYPE): Likewise.
211 (__SYSCALL_ULONG_TYPE): Likewise.
212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
213 (__SYSCALL_SLONG_TYPE): Likewise.
214 (__SYSCALL_ULONG_TYPE): Likewise.
215
85736dc7
L
2162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
217
218 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
219 Add sigaltstack-offsets.sym.
220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
221 <sigaltstack-offsets.h>.
222 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
223 longjmp_msg pointer.
224 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
225 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
226 signal stack.
227 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
228
cc03b296
JM
2292012-05-15 Joseph Myers <joseph@codesourcery.com>
230
a9538892
JM
231 * elf/stackguard-macros.h: Remove file.
232 * sysdeps/generic/stackguard-macros.h: New file.
233 * sysdeps/i386/stackguard-macros.h: Likewise.
234 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
235 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
236 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
237 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
238 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
239 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
240 * sysdeps/x86_64/stackguard-macros.h: Likewise.
241 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
242 <elf/stackguard-macros.h>.
243
cc03b296
JM
244 [BZ #14109]
245 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
246 __aligned__ in attribute.
247 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
248 (gregset_t): Likewise.
249
93171016
L
2502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
251
252 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
253 * sysdeps/x86_64/64/Implies-after: Here. New file.
254 * sysdeps/x86_64/x32/Implies-after: New file.
255
d86813a0
L
2562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
257
258 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
259 and access return value for _dl_profile_fixup. Use R10_LP to
260 load frame size.
261
2953ec75
L
2622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
263
264 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
265
3b550e9e
L
2662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
267
268 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
269 * sysdeps/x86_64/x32/sysdep.h: New file.
270
eda41706
L
2712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
272
273 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
274 * sysdeps/x86_64/setjmp.S: Likewise.
275
9ea01d93
AZ
2762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
280 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
281 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
282 remove unused global constant.
283
02a91938
CM
2842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
285
286 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
287 include of <not-cancel.h>.
288
6540185f
RM
2892012-05-15 Roland McGrath <roland@hack.frob.com>
290
291 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
292
509072a0
AJ
2932012-05-15 Jeff Law <law@redhat.com>
294 Andreas Jaeger <aj@suse.de>
295
296 [BZ #13594]
297 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
298 out from...
299 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
300 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
301 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
302 code changing __hst_map_handle.map.
303
ba75122d
RM
3042012-05-15 Roland McGrath <roland@hack.frob.com>
305
306 * configure.in (sysnames): Look for Implies-before and Implies-after
307 files.
308 * configure: Regenerated.
309
890d8bd8
L
3102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
311
312 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
313 8-byte data alignment with LP_SIZE alignment.
314
f6ee6623
L
3152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
316
317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
318 into R10_LP.
319
ea2626f6
L
3202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
321
322 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
323
085f715e
L
3242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
325
326 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
327 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
329 Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
331
be8498fc
L
3322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
333
334 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
335 (stackinfo_sub_sp): Likewise.
336
70bc83b9
L
3372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
338
339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
340 RAX_LP.
341
9bc0b730
L
3422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
343
344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
345 into R*_LP.
346
6d2850e7
L
3472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
348
349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
350 sizes into R*_LP.
351
3cb84561
L
3522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
353
354 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
355
54e2ed81
L
3562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
357
358 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
359 into R11_LP and load __x86_64_shared_cache_size_half into
360 R8_LP.
361
8a17f349
L
3622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
363
364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
365 R8_LP.
366
777b1eea
AZ
3672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
370 logb for POWER7.
371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
372 logbf for POWER7.
373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
374 logbl for POWER7.
375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
376 powerpc32/power7/fpu/s_logb.c via #include.
377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
378 powerpc32/power7/fpu/s_logbf.c via #include.
379 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
380 powerpc32/power7/fpu/s_logbl.c via #include.
381
d20d4ac2
JM
3822012-05-15 Joseph Myers <joseph@codesourcery.com>
383
384 * README.libm: Remove file.
385
6cdef1ab
L
3862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
387
388 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
389 count for x32. Use R*_LP and omit operand-size suffix.
390
0b254d8f
L
3912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
392
393 * shlib-versions: Move x86_64-.*-linux.* entries to ...
394 * sysdeps/x86_64/64/shlib-versions: Here. New file.
395 * sysdeps/x86_64/x32/shlib-versions: New file.
396
ceb809dc
RM
3972012-05-14 Roland McGrath <roland@hack.frob.com>
398
399 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
400 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
401 Use _dl_fatal_printf instead.
402
37f1abd4
JM
4032012-05-14 Joseph Myers <joseph@codesourcery.com>
404
405 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
406 set if not set by the user. Do not allow for being unset.
407 * sysdeps/unix/sysv/linux/configure: Regenerated.
408
11de3a33
L
4092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
410
411 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
412 the `q' suffix from lea and replace .quad with ASM_ADDR.
413
e02f153a
L
4142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
415
416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
417 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
418 instead of $17.
419 (PTR_DEMANGLE): Likewise.
420
520ae0fd
L
4212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
424 (LP_OP): Likewise.
425 (ASM_ADDR): Likewise.
426 (RAX_LP): Likewise.
427 (RBP_LP): Likewise.
428 (RBX_LP): Likewise.
429 (RCX_LP): Likewise.
430 (RDI_LP): Likewise.
431 (RSI_LP): Likewise.
432 (RSP_LP): Likewise.
433 (R8_LP): Likewise.
434 (R9_LP): Likewise.
435 (R10_LP): Likewise.
436 (R10_LP): Likewise.
437 (R11_LP): Likewise.
438 (R12_LP): Likewise.
439 (R13_LP): Likewise.
440 (R14_LP): Likewise.
441 (R15_LP): Likewise.
442
b985be81
L
4432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
444
445 * sysdeps/x86_64/x32/dl-machine.h: New file.
446
6a4888ff
AJ
4472012-05-14 Andreas Jaeger <aj@suse.de>
448
449 * manual/Makefile (subdir): Remove export of subdir.
450 (all): Remove target.
451 (.PHONY): Remove all from list.
452 (mkinstalldirs): Remove.
453 (.PHONY): Remove installdirs from list.
454 ($(inst_infodir)/libc.info): Use make-target-directory.
455 (installdirs): Remove.
456 (subdir_%): Remove.
457 (glibc-targets): Remove.
458 (lib): Remove.
459 (stubs): Remove.
460 ($(objpfx)stubs ../po/manual.pot): Remove.
461 ($(objpfx)stamp%): Remove.
462 (make-target-directory): Remove.
463 (subdir_install): Remove.
464 (routines): Remove.
465 (aux): Remove.
466 (sources): Remove.
467 (objects): Remove.
468 (headers): Remove.
469
470 [BZ #13750]
471 * manual/.gitignore: Remove, it's not needed anymore.
472 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
473 all files in it.
474 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
475 directory.
476 (texis): Renamed to $(objpfx)texis.
477 (texis-path): New, contains path to generated files.
478 (chapters.%): Use texis-path for complete path, add extra argument
479 libc-texinfo.sh.
480 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
481 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
482 (summary,texi, stamp-summary): Use complete path of
483 files. Generate files in build dir.
484 (dir-add.texi): Build in build dir.
485 (libm-err.texi,stamp-libm-err): Likewise.
486 (version.texi, stamp-version): Likewise.
487 (.%c.texi): Likewise.
488 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
489 (mostlyclean): Remove target.
490 (realclean): Remove target.
491 (generated): Add new variable with contents from mostlyclean and
492 realclean, remove entries duplicated in common-mostlyclean, add
493 stamp-libm-err and stamp-version.
494 (generated-dirs): Add libc directory.
495 ($(inst_infodir)/libc.info): Install files from build dir.
496
497 * manual/install.texi (Configuring and compiling): Adjust since
498 the info files are not part of the tar ball anymore.
499
7ac77294
AJ
5002012-05-14 Andreas Jaeger <aj@suse.de>
501
502 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
503 variable.
504
ffb7875d
JM
5052012-05-14 Joseph Myers <joseph@codesourcery.com>
506
507 [BZ #13717]
508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
509 to 2.2.0 where earlier.
510 * sysdeps/unix/sysv/linux/configure: Regenerated.
511 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
512 Remove conditional code.
513 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
515 Remove conditional code.
516 [!__NR_lchown]: Likewise.
517 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
518 [__NR_lchown]: Likewise.
519 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
520 comment referencing __ASSUME_LCHOWN_SYSCALL.
521 * sysdeps/unix/sysv/linux/i386/sigaction.c
522 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
523 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
524 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
525 Remove conditional code.
526 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
527 (__protocol_available): Remove #if 0 code.
528 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
529 conditional code.
530 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
531 * sysdeps/unix/sysv/linux/kernel-features.h
532 (__ASSUME_GETCWD_SYSCALL): Don't define.
533 (__ASSUME_REALTIME_SIGNALS): Likewise.
534 (__ASSUME_PREAD_SYSCALL): Likewise.
535 (__ASSUME_PWRITE_SYSCALL): Likewise.
536 (__ASSUME_POLL_SYSCALL): Likewise.
537 (__ASSUME_LCHOWN_SYSCALL): Likewise.
538 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
539 non-SPARC.
540 (__ASSUME_SIOCGIFNAME): Don't define.
541 (__ASSUME_MSG_NOSIGNAL): Likewise.
542 (__ASSUME_SENDFILE): Define unconditionally.
543 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
544 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
545 conditional code.
546 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
547 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
548 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
549 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
551 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
552 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
577 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
578 Remove conditional code.
579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
580 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
581 Remove conditional code.
582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
583 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
584 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
585 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
586 Remove conditional code.
587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
588 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
589 Remove conditional code.
590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
591 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
592 Remove conditional code.
593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
594 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
595 Remove conditional code.
596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
597 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
598 Remove conditional code.
599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/sh/pwrite64.c
601 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
603 * sysdeps/unix/sysv/linux/sigaction.c
604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
606 * sysdeps/unix/sysv/linux/sigpending.c
607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
609 * sysdeps/unix/sysv/linux/sigprocmask.c
610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
612 * sysdeps/unix/sysv/linux/sigsuspend.c
613 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
614 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
616 (__libc_missing_rt_sigs): Remove.
617 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
618 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
619 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
620 Remove conditional code.
621 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
622 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
623 return 1.
624 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
625 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
627 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
628
1bfb7291
AJ
6292012-05-14 Andreas Jaeger <aj@suse.de>
630
caae5a81
AJ
631 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
632 it's not used in glibc.
633 (__coshm1): Likewise.
634 (__acosh1p): Likewise.
635 (__sgn): Likewise.
636
1bfb7291
AJ
637 * manual/string.texi (Copying and Concatenation): Add missing
638 variable in concat example.
639 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
640
c044d724
L
6412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
642
144c5467 643 [BZ #14103]
c044d724
L
644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
645 __builtin_clzl with __builtin_clzll.
646
2523c62b
L
6472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
648
649 [BZ #14104]
650 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
651 libc_freeres_ptr.
652
d7bb4c42
LD
6532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
654
655 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
656 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
657 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
659
9dc4e1fb
MF
6602012-05-14 Mike Frysinger <vapier@gentoo.org>
661
662 * NEWS: Update ia64 info.
663
c7df0112
AS
6642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
665
666 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
667 used as bcopy.
668
dc70356c
TS
6692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
670
671 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
672 * sysdeps/unix/syscalls.list (dup3): Likewise.
673 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
674 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
675
9fb1a21f
L
6762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
677
678 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
679 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
680
4822a2a5
L
6812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
682
683 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
684 thread pointer.
685 (TLS_IE): Use mov/add instead of movq/addq to load thread
686 pointer.
687 (TLS_GD_PREFIX): New.
688 (TLS_GD): Use it.
689
842b81d6
DM
6902012-05-11 David S. Miller <davem@davemloft.net>
691
692 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
693 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
694 (_FPU_SETCW): Likewise.
695
1cf463cd
L
6962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
697
698 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
699 is 32-byte aligned.
700
60cc4a18
AS
7012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
702
703 [BZ #11837]
704 * iconvdata/gb18030.c: Update tables.
705 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
706 characters specially.
707 (BODY for TO_LOOP): Add encoding of missing ranges.
708
febb44a4
TS
7092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
710
711 [BZ #13673]
712 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
713 * sysdeps/mach/hurd/dup3.c: Likewise.
714 * sysdeps/mach/hurd/readlinkat.c: Likewise.
715 * sysdeps/powerpc/memmove.c:: Likewise.
716
0a10fb9e
L
7172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
718
719 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
720 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
721
df8a552f
L
7222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
723
724 * elf/elf.h (R_X86_64_RELATIVE64): New.
725 (R_X86_64_NUM): Updated.
726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
727 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
728 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
729 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
730 tst-quad1pie tst-quad2pie
731 (modules-names): Add tst-quadmod1 tst-quadmod2.
732 ($(objpfx)tst-quad1): New dependency.
733 ($(objpfx)tst-quad2): Likewise.
734 ($(objpfx)tst-quad1pie): Likewise.
735 ($(objpfx)tst-quad2pie): Likewise.
736 * sysdeps/x86_64/tst-quad1.c: New file.
737 * sysdeps/x86_64/tst-quad1pie.c: New file.
738 * sysdeps/x86_64/tst-quad2.c: Likewise.
739 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
740 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
741 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
742 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
743 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
744
f34d6f84
ST
7452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
746
f42d41d1
ST
747 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
748 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
749 * streams/stropts.h (t_scalar_t): Define type.
750
3c3571fc
ST
751 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
752 (_PATH_PRESERVE): Set to "/var/lib".
753 (_PATH_RWHODIR): Set to "/var/spool/rwho".
754
61f06bd3
ST
755 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
756 instead of int.
757
918d4d71
ST
758 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
759 if __dir_mkfile succeeded.
760
f34d6f84
ST
761 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
762 checking for _hurd_dtablesize. Unlock it right after having
763 finished _hurd_dtable allocation.
764
10589b4a
TS
7652012-05-10 Thomas Schwinge <thomas@schwinge.name>
766
674cdbc7
TS
767 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
768 * sysdeps/mach/hurd/configure: Regenerated.
769 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
770 special-casing to...
771 * sysdeps/gnu/configure.in: ... this new file.
772 * sysdeps/unix/sysv/linux/configure: Regenerated.
773 * sysdeps/gnu/configure: New generated file.
774
8e41b99f
TS
775 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
776 for Linux: use nsec instead of usec, as well as:
777 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
778 members of type struct timespec.
779 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
780 New macros.
781 (struct stat64): Likewise.
782 (_STATBUF_ST_NSEC): New macro.
783 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
784
10589b4a
TS
785 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
786 __strtoul_internal rather than strtoul.
787
63643c85
PT
7882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
789
790 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
791 and reject them.
792
3faebe6a
ST
7932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
794
795 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
796 which preserves existing values.
797 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
798
c6474b07
PT
7992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
800
801 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
802 TIMEOUT values. Return EINVAL for NFDS values either negative or
803 greater than FD_SETSIZE.
804
1043890b
ST
8052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
806
807 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
808 allocated, call __vm_protect to finish enabling the existing space, and
809 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
810 allocate the remainder.
811
37ed8b9b
PT
8122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
813
814 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
815 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
816
db653660
ST
8172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
818
37ed8b9b
PT
819 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
820 sysdeps/mach/hurd/readlink.c.
b29d4053 821
db653660
ST
822 * posix/tst-sysconf.c (posix_options): Only use
823 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
824 _POSIX_SYNCHRONIZED_IO when they are defined
825 * sysdeps/mach/hurd/bits/posix_opt.h:
826 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
827 (_XOPEN_REALTIME): Undefine macro.
828 (_XOPEN_REALTIME_THREADS): Undefine macro.
829 (_XOPEN_SHM): Undefine macro.
830 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
831 macro to -1.
832 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
833 macro to -1.
834 (_POSIX_ASYNC_IO): Undefine macro.
835 (_POSIX_PRIORITIZED_IO): Undefine macro.
836 (_POSIX_SPIN_LOCKS): Define macro to -1.
837
ee16e894
ST
838 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
839 SA_NODEFER, SA_RESETHAND.
840 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
841 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
842 F_DUPFD_CLOEXEC.
843
6103ae3b
TS
8442012-05-10 Thomas Schwinge <thomas@schwinge.name>
845
846 * elf/Makefile (pldd-modules): Define unconditionally.
847
80b4e5f3
TS
8482012-05-10 Thomas Schwinge <thomas@schwinge.name>
849
850 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
851
edadcbd6
ST
8522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
853
854 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
855 Return ENOENT when name is empty.
856 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
857
80694780
TS
8582012-05-10 Thomas Schwinge <thomas@schwinge.name>
859
1792c087
TS
860 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
861
80694780
TS
862 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
863
6b645f0d
ST
8642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
865
80694780
TS
866 Fix mlock in all cases except non-readable pages.
867 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
868 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 869
6b645f0d
ST
870 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
871 (__mkdir): When path is `/', just fail with EEXIST.
872 * sysdeps/mach/hurd/mkdirat.c: Likewise.
873
e468f8a3
TS
8742012-05-10 Thomas Schwinge <thomas@schwinge.name>
875
876 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
877 <sys/uio.h> (for writev).
878 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
879 and <sys/param.h> (for MIN).
880
a4186cff
PT
8812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
882
883 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
884 REQUESTED_TIME. Properly set the remaining time and return EINTR
885 if interrupted.
886
510bbf14
TS
8872012-05-10 Thomas Schwinge <thomas@schwinge.name>
888
889 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
890 Depend on against $(link-rpcuserlibs).
891
5d5722e8
ST
8922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
893
a4186cff
PT
894 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
895 (__libc_stack_end): Do not use attribute_relro.
896 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
897 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 898 to libthread-provided value.
a4186cff
PT
899 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
900 attribute_relro.
5d5722e8 901
37233df9
TS
9022012-05-10 Thomas Schwinge <thomas@schwinge.name>
903
be971a2b
TS
904 [BZ #3748]
905 * bits/libc-lock.h (__libc_once_get): New macro.
906 * sysdeps/mach/bits/libc-lock.h: Likewise.
907 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
909 instead of using implementation details.
910
37233df9
TS
911 * libio/fileops.c: Unconditionally include <kernel-features.h>.
912 * libio/freopen.c: Likewise.
913 * libio/freopen64.c: Likewise.
914 * misc/syslog.c: Likewise.
915 * nscd/connections.c: Likewise.
916 * nscd/netgroupcache.c: Likewise.
917 * sysdeps/posix/getcwd.c: Likewise.
918
38de94a5
RM
9192012-05-10 Roland McGrath <roland@hack.frob.com>
920
921 * math/w_ilogbf.c: Add #include <limits.h>.
922
67530489
ST
9232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
924
a4186cff 925 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
926 path instead of returning without unlocking.
927
67530489
ST
928 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
929 immediate-write ioctls.
930 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
931
5aa3a74a
TS
9322012-05-10 Thomas Schwinge <thomas@schwinge.name>
933
18bad2ae
TS
934 * sysdeps/mach/hurd/i386/init-first.c (init): Use
935 __builtin_frame_address instead of making assumptions about the
936 location of the return address relative to DATA. Force early load of
937 the return address.
938 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
939 __builtin_frame_address.
940
5aa3a74a
TS
941 dup3 for GNU Hurd.
942 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
943 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
944 implement dup3 and do some further code clean-ups.
945 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
946 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
947
ecd0de9a
ST
9482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
949
cd9fa985
ST
950 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
951
a4186cff
PT
952 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
953 HURD_CRITICAL_END around holding _hurd_dtable_lock.
954 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
955 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
956 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
957 d->port.lock.
802ca5a5 958
a4186cff
PT
959 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
960 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
961 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 962
bcf55240
TS
9632012-05-10 Thomas Schwinge <thomas@schwinge.name>
964
6960eb42
TS
965 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
966 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
967 definitions.
968
eb43375f
TS
969 accept4 for GNU Hurd.
970 * include/sys/socket.h (__libc_accept4): New prototype.
971 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
972 to implement __libc_accept4.
973 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
974 __libc_accept4.
975 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
976
bcf55240
TS
977 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
978 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
979 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
980 signal-defines.sym.
981
6178c55b
ST
9822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
983
a4186cff 984 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 985
6f080c2f
TS
9862012-05-10 Thomas Schwinge <thomas@schwinge.name>
987
988 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
989 assertion on O_CLOEXEC flag.
990 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
991 * hurd/intern-fd.c: Likewise.
992 * hurd/port2fd.c: Likewise.
993
bcfe3a54
ST
9942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
995
996 [BZ #3906]
997 * bits/in.h (IPV6_PKTINFO): Define new macro.
998 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
999
89c9aa49
AZ
10002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 [BZ #13954]
1003 [BZ #13955]
1004 [BZ #13956]
1005 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1007 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1008 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1010 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1011 * math/libm-test.inc (logb_test) : Additional logb tests.
1012
021db4be
AJ
10132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1014 Andreas Jaeger <aj@suse.de>
1015
1016 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1017 * configure: Regenerated.
1018 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1019 * config.make.in (link-obsolete-rpc): New substituted variable.
1020 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1021 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1022 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1023 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1024 so that libc.a contains the symbols.
1025 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1026 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1027 * sunrpc/auth_none.c: Likewise.
1028 * sunrpc/auth_unix.c: Likewise.
1029 * sunrpc/authdes_prot.c: Likewise.
1030 * sunrpc/authuxprot.c: Likewise.
1031 * sunrpc/clnt_gen.c: Likewise.
1032 * sunrpc/clnt_perr.c: Likewise.
1033 * sunrpc/clnt_raw.c: Likewise.
1034 * sunrpc/clnt_simp.c: Likewise.
1035 * sunrpc/clnt_tcp.c: Likewise.
1036 * sunrpc/clnt_udp.c: Likewise.
1037 * sunrpc/clnt_unix.c: Likewise.
1038 * sunrpc/des_crypt.c: Likewise.
1039 * sunrpc/des_soft.c: Likewise.
1040 * sunrpc/get_myaddr.c: Likewise.
1041 * sunrpc/key_call.c: Likewise.
1042 * sunrpc/key_prot.c: Likewise.
1043 * sunrpc/netname.c: Likewise.
1044 * sunrpc/pm_getmaps.c: Likewise.
1045 * sunrpc/pm_getport.c: Likewise.
1046 * sunrpc/pmap_clnt.c: Likewise.
1047 * sunrpc/pmap_prot.c: Likewise.
1048 * sunrpc/pmap_prot2.c: Likewise.
1049 * sunrpc/pmap_rmt.c: Likewise.
1050 * sunrpc/publickey.c: Likewise.
1051 * sunrpc/rpc_cmsg.c: Likewise.
1052 * sunrpc/rpc_common.c: Likewise.
1053 * sunrpc/rpc_dtable.c: Likewise.
1054 * sunrpc/rpc_prot.c: Likewise.
1055 * sunrpc/rpc_thread.c: Likewise.
1056 * sunrpc/rtime.c: Likewise.
1057 * sunrpc/svc.c: Likewise.
1058 * sunrpc/svc_auth.c: Likewise.
1059 * sunrpc/svc_raw.c: Likewise.
1060 * sunrpc/svc_run.c: Likewise.
1061 * sunrpc/svc_tcp.c: Likewise.
1062 * sunrpc/svc_udp.c: Likewise.
1063 * sunrpc/svc_unix.c: Likewise.
1064 * sunrpc/svcauth_des.c: Likewise.
1065 * sunrpc/xcrypt.c: Likewise.
1066 * sunrpc/xdr.c: Likewise.
1067 * sunrpc/xdr_array.c: Likewise.
1068 * sunrpc/xdr_float.c: Likewise.
1069 * sunrpc/xdr_intXX_t.c: Likewise.
1070 * sunrpc/xdr_mem.c: Likewise.
1071 * sunrpc/xdr_rec.c: Likewise.
1072 * sunrpc/xdr_ref.c: Likewise.
1073 * sunrpc/xdr_sizeof.c: Likewise.
1074 * sunrpc/xdr_stdio.c: Likewise.
1075
b5c086a2
RM
10762012-05-10 Roland McGrath <roland@hack.frob.com>
1077
1078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1079 change. Update copyright years.
1080
6d74dd09
JM
10812012-05-10 Joseph Myers <joseph@codesourcery.com>
1082
1083 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1084
28e72501
MK
10852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1086 Joseph Myers <joseph@codesourcery.com>
1087 Paul Pluzhnikov <ppluzhnikov@google.com>
1088
1089 [BZ #14012]
1090 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1091 requiring rpcgen.
1092 [cross-compiling] (extra-libs): Likewise.
1093 [cross-compiling] (extra-libs-others): Likewise.
1094 [cross-compiling] (librpcsvc-routines): Likewise.
1095 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1096 [cross-compiling] (omit-deps): Likewise.
1097 (sunrpc-CPPFLAGS): New variable.
1098 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1099 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1100 (cross-rpcgen-objs): New variable.
1101 (extra-objs): Append $(cross-rpcgen-objs).
1102 ($(cross-rpcgen-objs)): New rule.
1103 ($(objpfx)cross-rpcgen): Likewise.
1104 (rpcgen-cmd): Define to use $(built-program-file). Expand
1105 comment.
1106 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1107 ($(objpfx)x%.stmp): Likewise.
1108 * sunrpc/proto.h [IS_IN_build] (_): Define.
1109 [IS_IN_build] (_libc_intl_domainname): Likewise.
1110
c8c59454
L
11112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1114 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1115 and R_X86_64_TPOFF64.
1116
6f27cd16
JM
11172012-05-10 Joseph Myers <joseph@codesourcery.com>
1118
1119 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1120 sysdeps/unix/sysv/syscalls.list.
1121 (stime): Likewise.
1122 (utime): Likewise.
1123 * sysdeps/unix/sysv/syscalls.list: Remove file.
1124
02467e1c
PE
11252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1126
1127 [BZ #3440]
1128 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1129 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1130 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1131 (__LC_IDENTIFICATION): Make these macros useful in #if
1132 expressions, as required by C99.
1133
da392631
AS
11342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1135
1136 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1137 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1138 after this.
1139
8115f29b
L
11402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * stdlib/longlong.h: Updated from GCC.
1143
bdd74070
AJ
11442012-05-09 Andreas Jaeger <aj@suse.de>
1145
edfe0dbe
AJ
1146 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1147 default is first entry.
1148 (run_mode): Set type.
1149 (main): Remove informal message about syslog.
1150 (options): Fix typo.
1151
bcfe3a54
ST
1152 [BZ #14053]
1153 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1154 to asm.
bcfe3a54
ST
1155 (lrint): Likewise.
1156 (llrintf): Likewise.
1157 (llrint): Likewise.
1158 (rint): Likewise.
1159 (rintf): Likewise.
1160 (nearbyint): Likewise.
1161 (nearbyintf): Likewise.
bdd74070 1162
91d8d69e
AJ
11632012-05-09 Andreas Jaeger <aj@suse.de>
1164 Pedro Alves <palves@redhat.com>
1165
1166 * nscd/nscd.c (run_mode): Use enum.
1167 (main): Cleanup coding style issue.
1168
bb90b80b
AJ
11692012-05-09 Alexandre Oliva <aoliva@redhat.com>
1170 Andreas Jaeger <aj@suse.de>
1171
bcfe3a54
ST
1172 * nscd/nscd.c (go_background): Replaced with...
1173 (run_mode): ... this.
bb90b80b 1174 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1175 (options): Add -F --foreground.
1176 (main): Implement it.
1177 (parse_opt): Parse it.
bb90b80b 1178
1a4b75a1
AJ
11792012-05-09 Andreas Jaeger <aj@suse.de>
1180
1181 [BZ #14083]
1182 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1183 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1184 -Wconversion warning.
1185 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1186 Likewise.
1187
b1cc2472
JM
11882012-05-09 Joseph Myers <joseph@codesourcery.com>
1189
1190 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1191 == 0.
1192 (LC_ALL): Use macro-int-constant.
1193 (LC_COLLATE): Likewise.
1194 (LC_CTYPE): Likewise.
1195 (LC_MESSAGES): Likewise.
1196 (LC_MONETARY): Likewise.
1197 (LC_NUMERIC): Likewise.
1198 (LC_TIME): Likewise.
1199 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1200 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1202 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1203 Specify type.
1204 [C99-based standards] (float_t): Expect type.
1205 [C99-based standards] (double_t): Expect type.
1206 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1207 type.
1208 [C99-based standards] (HUGE_VALL): Likewise.
1209 [C99-based standards] (INFINITY): Likewise.
1210 [C99-based standards] (NAN): Likewise.
1211 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1212 [C99-based standards] (FP_NAN): Likewise.
1213 [C99-based standards] (FP_NORMAL): Likewise.
1214 [C99-based standards] (FP_SUBNORMAL): Likewise.
1215 [C99-based standards] (FP_ZERO): Likewise.
1216 [C99-based standards] (FP_FAST_FMA): Use
1217 optional-macro-int-constant. Specify type. Require == 1.
1218 [C99-based standards] (FP_FAST_FMAF): Likewise.
1219 [C99-based standards] (FP_FAST_FMAL): Likewise.
1220 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1221 [C99-based standards] (FP_ILOGBNAN): Likewise.
1222 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1223 Specify type.
1224 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1225 [C99-based standards] (math_errhandling): Specify type.
1226 [ISO99 || ISO11] (signgam): Do not allow.
1227 [non-C99-based standards] (copysignf): Do not allow.
1228 [non-C99-based standards] (exp2f): Likewise.
1229 [non-C99-based standards] (log2f): Likewise.
1230 [non-C99-based standards] (modff): Allow.
1231 [non-C99-based standards] (erff): Do not allow.
1232 [non-C99-based standards] (erfcf): Likewise.
1233 [non-C99-based standards] (gammaf): Likewise.
1234 [non-C99-based standards] (hypotf): Likewise.
1235 [non-C99-based standards] (j0f): Likewise.
1236 [non-C99-based standards] (j1f): Likewise.
1237 [non-C99-based standards] (jnf): Likewise.
1238 [non-C99-based standards] (lgammaf): Likewise.
1239 [non-C99-based standards] (tgammaf): Likewise.
1240 [non-C99-based standards] (y0f): Likewise.
1241 [non-C99-based standards] (y1f): Likewise.
1242 [non-C99-based standards] (ynf): Likewise.
1243 [non-C99-based standards] (isnanf): Likewise.
1244 [non-C99-based standards] (acoshf): Likewise.
1245 [non-C99-based standards] (asinhf): Likewise.
1246 [non-C99-based standards] (atanhf): Likewise.
1247 [non-C99-based standards] (cbrtf): Likewise.
1248 [non-C99-based standards] (expm1f): Likewise.
1249 [non-C99-based standards] (ilogbf): Likewise.
1250 [non-C99-based standards] (log1pf): Likewise.
1251 [non-C99-based standards] (logbf): Likewise.
1252 [non-C99-based standards] (nextafterf): Likewise.
1253 [non-C99-based standards] (remainderf): Likewise.
1254 [non-C99-based standards] (rintf): Likewise.
1255 [non-C99-based standards] (scalbf): Likewise.
1256 [non-C99-based standards] (copysignl): Likewise.
1257 [non-C99-based standards] (exp2l): Likewise.
1258 [non-C99-based standards] (log2l): Likewise.
1259 [non-C99-based standards] (modfl): Allow.
1260 [non-C99-based standards] (erfl): Do not allow.
1261 [non-C99-based standards] (erfcl): Likewise.
1262 [non-C99-based standards] (gammal): Likewise.
1263 [non-C99-based standards] (hypotl): Likewise.
1264 [non-C99-based standards] (j0l): Likewise.
1265 [non-C99-based standards] (j1l): Likewise.
1266 [non-C99-based standards] (jnl): Likewise.
1267 [non-C99-based standards] (lgammal): Likewise.
1268 [non-C99-based standards] (tgammal): Likewise.
1269 [non-C99-based standards] (y0l): Likewise.
1270 [non-C99-based standards] (y1l): Likewise.
1271 [non-C99-based standards] (ynl): Likewise.
1272 [non-C99-based standards] (isnanl): Likewise.
1273 [non-C99-based standards] (acoshl): Likewise.
1274 [non-C99-based standards] (asinhl): Likewise.
1275 [non-C99-based standards] (atanhl): Likewise.
1276 [non-C99-based standards] (cbrtl): Likewise.
1277 [non-C99-based standards] (expm1l): Likewise.
1278 [non-C99-based standards] (ilogbl): Likewise.
1279 [non-C99-based standards] (log1pl): Likewise.
1280 [non-C99-based standards] (logbl): Likewise.
1281 [non-C99-based standards] (nextafterl): Likewise.
1282 [non-C99-based standards] (remainderl): Likewise.
1283 [non-C99-based standards] (rintl): Likewise.
1284 [non-C99-based standards] (scalbl): Likewise.
1285 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1286 [non-C99-based standards] (FP_*): Do not allow.
1287 [C99-based standards] (FP_*): Change to
1288 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1289 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1290 allow.
1291 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1292 (SIG_ERR): Likewise.
1293 [X/Open-based standards] (SIG_HOLD): Likewise.
1294 (SIG_IGN): Likewise.
1295 (SIGABRT): Use macro-int-constant. Specify type. Require
1296 positive value.
1297 (SIGFPE): Likewise.
1298 (SIGILL): Likewise.
1299 (SIGINT): Likewise.
1300 (SIGSEGV): Likewise.
1301 (SIGTER): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1303 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1305 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1308 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1309 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1310 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1311 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1312 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1313 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1314 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1317 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1320 [X/Open-based standards] (SIGTRAP): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1322 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1323 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1324 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1325 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1326 allow.
1327
b9f1922d
IW
13282012-05-08 Ian Wienand <ianw@vmware.com>
1329
1330 [BZ #14080]
1331 * time/tzset.c (__tzset_parse_tz): Update default rules for
1332 daylight time changes in the Energy Policy Act of 2005.
1333
1db86e88
AJ
13342012-05-09 Andreas Jaeger <aj@suse.de>
1335
1336 [BZ #13983]
1337 * elf/ldconfig.c (parse_conf): Change string to make clear that
1338 ldconfig only issued a warning if ld.so.conf does not exist.
1339
dee4a4e3
DM
13402012-05-08 David S. Miller <davem@davemloft.net>
1341
ee0db190
DM
1342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1343 movxtod instead of popping the value on the stack.
1344
dee4a4e3
DM
1345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1346
6a43ec98
CD
13472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1348
1349 * config.h.in: Add HAVE_ARM_PCS_VFP.
1350
05c2c961
RMG
13512012-05-08 Roland Mc Grath <roland@hack.frob.com>
1352
bcfe3a54
ST
1353 [BZ #13979]
1354 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1355 checking but the checks are disabled for any reason.
05c2c961 1356
4b30f61a
L
13572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1360 and ELF64_R_TYPE with ELFW(R_TYPE).
1361
eee2bc67
JM
13622012-05-08 Joseph Myers <joseph@codesourcery.com>
1363
7ea5391a
JM
1364 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1365 (ulimit): Likewise.
1366
eee2bc67
JM
1367 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1368 (settimeofday): Likewise.
1369
abb66a67
MF
13702012-05-08 Mike Frysinger <vapier@gentoo.org>
1371
1372 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1373 a struct th_u2 inside the union, and move tu_block/tu_code into
1374 a new th_u3 union of tu_block/tu_code inside of that. Move
1375 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1376 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1377 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1378 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1379 (th_stuff): Change to th_u1.tu_stuff.
1380 (th_data): Define.
1381 (th_msg): Change to th_u1.th_u2.tu_data.
1382
7f18b530
DM
13832012-05-07 David S. Miller <davem@davemloft.net>
1384
05760585
DM
1385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1386
7f18b530
DM
1387 [BZ #14074]
1388 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1389 (SETUP_PIC_REG): Use it.
1390 (SETUP_PIC_REG_LEAF): Use it.
1391
495fd99f
JM
13922012-05-07 Joseph Myers <joseph@codesourcery.com>
1393
1394 [BZ #13885]
1395 [BZ #13923]
1396 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1397 USE_AS_EXPM1L.
1398 (EXPL_FINITE): Likewise.
1399 (FLDLOG): Likewise.
1400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1401 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1402 e_expl.S.
1403 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1404 USE_AS_EXPM1L.
1405 (EXPL_FINITE): Likewise.
1406 (FLDLOG): Likewise.
1407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1408 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1409 e_expl.S.
1410 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1411 test of -max_value argument for long double.
1412 * sysdeps/i386/fpu/libm-test-ulps: Update.
1413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1414
6693d694
DM
14152012-05-06 David S. Miller <davem@davemloft.net>
1416
1417 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1418 quad soft-float symbols whose references which are compiler
1419 generated.
1420 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1421
6c23e11c
JM
14222012-05-06 Joseph Myers <joseph@codesourcery.com>
1423
d8b82cad
JM
1424 [BZ #13884]
1425 [BZ #13914]
1426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1427 USE_AS_EXP10L.
1428 (EXPL_FINITE): Likewise.
1429 (FLDLOG): Likewise.
1430 (c0): Likewise.
1431 (c1): Likewise.
1432 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1433 Adjust comments for base varying.
1434 (__expl_finite): Change alias to EXPL_FINITE.
1435 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1436 e_expl.S.
1437 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1438 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1440 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1441 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1442 USE_AS_EXP10L.
1443 (EXPL_FINITE): Likewise.
1444 (FLDLOG): Likewise.
1445 (c0): Likewise.
1446 (c1): Likewise.
1447 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1448 Adjust comments for base varying.
1449 (__expl_finite): Change alias to EXPL_FINITE.
1450 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1451 tests for bugs.
1452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1453
6c23e11c
JM
1454 [BZ #14064]
1455 * math/libm-test.inc (check_float_internal): Correct ulp
1456 calculation for subnormal expected results.
1457
29ba805c
AJ
14582012-05-06 Andreas Jaeger <aj@suse.de>
1459
1460 * Makeconfig (+math-flags): New, set to -frounding-math.
1461 (+cflags): Add +math-flags so that all of glibc gets compiled with
1462 it.
1463
1464 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1465
7b17aeda
JM
14662012-05-05 Joseph Myers <joseph@codesourcery.com>
1467
5779f134
JM
1468 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1469 Disable one test.
1470
41498f4d
JM
1471 [BZ #13787]
1472 [BZ #13922]
1473 [BZ #14036]
1474 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1475 (__ieee754_expl): Allow for and saturate large arguments.
1476 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1477 (u_threshold): Likewise.
1478 (__exp): Call __ieee754_exp before checking for overflow and
1479 underflow.
1480 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1481 (u_threshold): Likewise.
1482 (__expf): Call __ieee754_expf before checking for overflow and
1483 underflow.
1484 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1485 (u_threshold): Likewise.
1486 (__expl): Call __ieee754_expl before checking for overflow and
1487 underflow.
1488 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1489 (__ieee754_expl): Allow for and saturate large arguments.
1490 * math/libm-test.inc (exp_test): Add another test. Do not allow
1491 missing overflow exception on overflow.
1492 (expm1_test): Do not allow missing overflow exception on overflow.
1493
6698b8bf
JM
1494 * sysdeps/i386/fpu/e_expl.c: Move to ...
1495 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1496 rather than using inline asm.
1497 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1498 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1499 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1500
7b17aeda
JM
1501 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1502 (nice): Likewise.
1503 (poll): Likewise.
1504 (signal): Likewise.
1505 (time): Likewise.
1506 (times): Likewise.
1507
f7c85819
JM
15082012-05-04 Joseph Myers <joseph@codesourcery.com>
1509
1510 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1511 sysdeps/unix/common/syscalls.list.
1512 (fchmod): Likewise.
1513 (fchown): Likewise.
1514 (ftruncate): Likewise.
1515 (getrusage): Likewise.
1516 (gettimeofday): Likewise.
1517 (setpgid): Likewise.
1518 (setregid): Likewise.
1519 (setreuid): Likewise.
1520 (sigaction): Likewise.
1521 (truncate): Likewise.
1522 (vhangup): Likewise.
1523 * sysdeps/unix/common/syscalls.list: Remove file.
1524 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1525 * sysdeps/unix/sysv/linux/Implies: Likewise.
1526
336270d0
L
15272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1531 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1532 Moved to ...
1533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1534 Here.
1535 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1536 to ...
1537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1538 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1539 to ...
1540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1541 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1542 to ...
1543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1544 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1545 to ...
1546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1547 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1548 to ...
1549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1550 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1551 to ...
1552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1553 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1554 to ...
1555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1556 Here.
1557 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1558 to ...
1559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1560 Here.
1561 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1562 to ...
1563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1564 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1565 Moved to ...
1566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1567 Here.
1568 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1569 to ...
1570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1571
d128e450
JM
15722012-05-04 Joseph Myers <joseph@codesourcery.com>
1573
fa8ee516
JM
1574 * sysdeps/unix/common/bits/dirent.h: Remove file.
1575 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1576
d128e450
JM
1577 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1578 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1579 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1580 * sysdeps/unix/bsd/isatty.c: Likewise.
1581 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1582 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1583 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1584
ff8faaf0 15852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1586
62881be4 1587 [BZ #13563]
31dc8730
AZ
1588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1589 long double comparison inaccuracies.
1590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1592
6fef930c
AS
15932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1594
1595 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1597
8f203e6c
JM
15982012-05-04 Joseph Myers <joseph@codesourcery.com>
1599
1600 [BZ #14049]
1601 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1602 nonzero digits before rounding a hex value.
1603 * stdlib/tst-strtod.c (tests): Add another test.
1604
5197d9c2
AK
16052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1606
1607 * sysdeps/s390/fpu/libm-test-ulps: Update.
1608
f0c1dedf
AJ
16092012-05-03 Andreas Jaeger <aj@suse.de>
1610
1611 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1612 does not get optimized out.
1613 (malloc_opt_barrier): New.
1614
a65ef2ae 16152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1616 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1617
2b942cb7 1618 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1619 intermediate file deletion.
2b942cb7 1620 (generated): Add .symlist files.
a65ef2ae 1621
54b71e02
JM
16222012-05-03 Joseph Myers <joseph@codesourcery.com>
1623
1624 [BZ #13775]
1625 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1626 Redirect under this condition.
1627 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1628 [__USE_GNU] (__dprintf_chk): Not under this condition.
1629 [__USE_GNU] (__vdprintf_chk): Likewise.
1630 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1631 under this condition.
1632 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1633 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1634 [__USE_XOPEN2K8] (vdprintf): Likewise.
1635 [__USE_GNU] (__dprintf_chk): Not under this condition.
1636 [__USE_GNU] (__vdprintf_chk): Likewise.
1637 [__USE_GNU] (dprintf): Likewise.
1638 [__USE_GNU] (vdprintf): Likewise.
1639
d3dfcc41
RM
16402012-05-03 Roland McGrath <roland@hack.frob.com>
1641
1642 * elf/Makefile (common-generated): Set this instead of generated for
1643 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1644 $(all-built-dso)-derived lists.
1645
7ac30cc5
AJ
16462012-05-03 Andreas Jaeger <aj@suse.de>
1647
0c51e550
AJ
1648 * sysdeps/i386/fpu/libm-test-ulps: Update.
1649
7ac30cc5
AJ
1650 * FAQ: Removed.
1651 * FAQ.in: Likewise.
1652 * scripts/gen-FAQ.pl: Likewise.
1653 * manual/install.texi (Installation): Point to online location of
1654 FAQ.
1655 * Makefile (files-for-dist): Remove FAQ.
1656 (FAQ): Remove.
1657
d4c2917f
AM
16582012-05-02 Allan McRae <allan@archlinux.org>
1659
1660 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1661 (LDFLAGS-reldepmod5.so): Likewise.
1662 (LDFLAGS-reldep6mod1.so): Likewise.
1663 (LDFLAGS-reldep6mod4.so): Likewise.
1664 (LDFLAGS-reldep8mod3.so): Likewise.
1665 (LDFLAGS-unload4mod1.so): Likewise.
1666 (LDFLAGS-unload4mod2.so): Likewise.
1667 (LDFLAGS-tst-initorder): Likewise.
1668 (LDFLAGS-tst-initordera2.so): Likewise.
1669 (LDFLAGS-tst-initordera3.so): Likewise.
1670 (LDFLAGS-tst-initordera4.so): Likewise.
1671 (LDFLAGS-tst-initorderb2.so): Likewise.
1672 (LDFLAGS-noload): Likewise.
1673 (LDFLAGS-next): Likewise.
1674 (LDFLAGS-order2mod1.so): Likewise.
1675 (LDFLAGS-order2mod2.so): Likewise.
1676 (LDFLAGS-tst-initorder2): Likewise.
1677 (LDFLAGS-tst-initorder2a.so): Likewise.
1678 (LDFLAGS-tst-initorder2b.so): Likewise.
1679 (LDFLAGS-tst-initorder2c.so): Likewise.
1680 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1681
d77f993f
DM
16822012-05-02 David S. Miller <davem@davemloft.net>
1683
1684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1685
171a70b4
PP
16862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1687
1688 [BZ #14055]
1689 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1690
0be196ad
AJ
16912012-05-02 Andreas Jaeger <aj@suse.de>
1692
1693 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1694 since we manipulate rounding mode.
1695 (CPPFLAGS-test-idouble.c): Likewise.
1696 (CPPFLAGS-test-ifloat.c): Likewise.
1697 (CFLAGS-test-ldouble.c): Likewise.
1698 (CFLAGS-test-double.c): Likewise.
1699 (CFLAGS-test-float.c): Likewise.
1700 (CFLAGS-test-misc.c): Likewise.
1701 (CFLAGS-test-test-fenv.c): Likewise.
1702
4f9d04aa
AZ
17032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
2b942cb7
RM
1705 [BZ #2550]
1706 [BZ #2570]
1707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1708 comparisons to determine direction to adjust input.
4f9d04aa 1709
82a79e7d
RM
17102012-05-01 Roland McGrath <roland@hack.frob.com>
1711
f5a01ca9
RM
1712 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1713 output to the target.
1714
90fe4186
RM
1715 * scripts/localplt.awk: New file.
1716 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1717 (check-localplt-CFLAGS): Variable removed.
1718 ($(all-built-dso:=.jmprel)): New static pattern rule.
1719 (generated): Add those targets.
1720 (localplt-built-dso): New variable.
1721 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1722
1723 * elf/check-localplt.c: File removed.
1724
82397ed6
RM
1725 * scripts/check-execstack.awk: New file.
1726 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1727 (check-execstack-CFLAGS): Variable removed.
1728 ($(objpfx)check-execstack.h): Target removed.
1729 ($(objpfx)execstack-default): New target.
1730 (generated): Add that instead of check-execstack.h.
1731 ($(all-built-dso:=.phdr)): New static pattern rule.
1732 (generated): Add those targets.
1733 * elf/check-execstack.c: File removed.
1734
82a79e7d
RM
1735 * scripts/check-textrel.awk: New file.
1736 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1737 (check-textrel-CFLAGS): Variable removed.
1738 (all-built-dso): Use := to define.o
1739 ($(all-built-dso:=.dyn)): New static pattern rule.
1740 (generated): Add those targets.
1741 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1742 * config.make.in (READELF): New substituted variable.
1743 * elf/check-textrel.c: File removed.
1744
62fde54f 17452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1746
615605c9
JM
1747 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1748 allow.
1749 * conform/data/ctype.h-data [C99-based standards] (isblank):
1750 Expect function.
1751 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1752 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1754 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1755 Specify type. Require positive value.
1756 (EILSEQ): Likewise.
1757 (ERANGE): Likewise.
1758 [ISO || POSIX] (EILSEQ): Do not expect.
1759 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1760 Specify type. Require positive value.
1761 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1778 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1779 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1780 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1781 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1782 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1783 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1784 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1785 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1786 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1787 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1788 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1812 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1813 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1814 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1815 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1817 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1819 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1820 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1821 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1835 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1836 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1837 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1838 Require >= 2.
1839 (FLT_ROUNDS): Expect as macro, not constant.
1840 (FLT_MANT_DIG): Use macro-int-constant.
1841 (DBL_MANT_DIG): Likewise.
1842 (LDBL_MANT_DIG): Likewise.
1843 (FLT_DIG): Likewise.
1844 (DBL_DIG): Likewise.
1845 (LDBL_DIG): Likewise.
1846 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1847 (DBL_MIN_EXP): Likewise.
1848 (LDBL_MIN_EXP): Likewise.
1849 (FLT_MAX_EXP): Use macro-int-constant.
1850 (DBL_MAX_EXP): Likewise.
1851 (LDBL_MAX_EXP): Likewise.
1852 (FLT_MAX_10_EXP): Likewise.
1853 (DBL_MAX_10_EXP): Likewise.
1854 (LDBL_MAX_10_EXP): Likewise.
1855 (FLT_MAX): Use macro-constant.
1856 (DBL_MAX): Likewise.
1857 (LDBL_MAX): Likewise.
1858 (FLT_EPSILON): Use macro-constant. Give upper bound.
1859 (DBL_EPSILON): Likewise.
1860 (LDBL_EPSILON): Likewise.
1861 (FLT_MIN): Likewise.
1862 (DBL_MIN): Likewise.
1863 (LDBL_MIN): Likewise.
1864 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1865 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1866 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1867 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1868 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1869 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1870 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1871 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1872 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1873 [ISO11] (FLT_TRUE_MIN): Likewise.
1874 [ISO11] (LDBL_TRUE_MIN): Likewise.
1875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1876 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1877 (SCHAR_MIN): Use macro-int-constant. Specify type.
1878 (SCHAR_MAX): Likewise.
1879 (UCHAR_MAX): Likewise.
1880 (CHAR_MIN): Likewise.
1881 (CHAR_MAX): Likewise.
1882 (MB_LEN_MAX): Use macro-int-constant.
1883 (SHRT_MIN): Use macro-int-constant. Specify type.
1884 (SHRT_MAX): Likewise.
1885 (USHRT_MAX): Likewise.
1886 (INT_MAX): Likewise.
1887 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1888 bound negative.
1889 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1890 bound with "U".
1891 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1892 bound with "L".
1893 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1894 bound negative. Suffix upper bound with "L".
1895 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1896 bound with "UL".
1897 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1898 Specify type.
1899 [C99-based standards] (LLONG_MAX): Likewise.
1900 [C99-based standards] (ULLONG_MAX): Likewise.
1901 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1902 == 0.
1903 [ISO11] (max_align_t): Require type.
1904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1905
c9140a62
JM
1906 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1907 from $CFLAGS, without defining away __attribute__ calls.
1908 (checknamespace): Use $CFLAGS_namespace.
1909
9af0bf29
JM
1910 * conform/conformtest.pl (@keywords): Only include C99 keywords
1911 for standards based on C99 or C11.
1912
343222a2
JM
1913 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1914 Disable tests.
1915 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1916 UNIX98]: Likewise.
1917
661f8cf0
JM
1918 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1919 usability of symbols in #if.
1920
ee74b9cb
JM
1921 * conform/conformtest.pl: If macro or constant types start
1922 "promoted:", expect the symbol to be of the following type
1923 promoted by the integer promotions.
62fde54f 1924
aafc49b3
JM
1925 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1926 in one place. Also handle "macro-constant".
1927
fefdf574
JM
1928 * conform/conformtest.pl: Only accept expected macro values with
1929 "==". Parse all "macro" lines in one place.
1930 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1931
f2d922fe
JM
1932 * conform/conformtest.pl: Handle braced types on "constant" lines
1933 instead of handling "typed-constant".
1934 * conform/data/signal.h-data: Use "constant" instead of
1935 "typed-constant".
1936
d22956c9
JM
1937 * conform/conformtest.pl: Handle "optional-" at start of lines in
1938 one place rather than duplicating several cases. Handle each
1939 format of "macro" line with initial "optional-".
1940
028e2e38
JM
1941 * conform/conformtest.pl: Only accept expected constant or
1942 optional-constant values with "==". Parse all "constant" lines in
1943 one place. Parse all "optional-constant" lines in one place.
1944 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1945 * conform/data/fmtmsg.h-data: Likewise.
1946 * conform/data/netinet/in.h-data: Likewise.
1947 * conform/data/tar.h-data: Likewise.
1948 * conform/data/limits.h-data: Use "==" form on "constant" and
1949 "optional-constant" lines.
1950
1b8f2850
JM
1951 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1952 Use -std=c99 for XOPEN2K.
1953 (@knownproblems): Remove.
1954 (newtoken): Don't check %isknown.
1955
a05a144b
JM
1956 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1957 Do not expect macro.
1958 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1959 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1960 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1962 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1963 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1964 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1965 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1966 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1967 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1968 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1969 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1970 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1971 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1972 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1973 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1974 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1975 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1976 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1977 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1978 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1979 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1980 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1981 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1982 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1983 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1984 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1985 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1986 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1987 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1988 [XPG3] (acosh): Likewise.
1989 [XPG3] (asinh): Likewise.
1990 [XPG3] (atanh): Likewise.
1991 [XPG3] (cbrt): Likewise.
1992 [XPG3] (expm1): Likewise.
1993 [XPG3] (ilogb): Likewise.
1994 [XPG3] (log1p): Likewise.
1995 [XPG3] (logb): Likewise.
1996 [XPG3] (nextafter): Likewise.
1997 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1998 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1999 [XPG3] (remainder): Likewise.
2000 [XPG3] (rint): Likewise.
2001 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2002 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2003 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2004 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2005 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2006 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2007 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2008 [UNIX98 || XOPEN2K] (scalb): Expect.
2009 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2010 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2011 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2012 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2013 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2014 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2015 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2016 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2017 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2018 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2019 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2020 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2021 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2022 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2023 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2024 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2025 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2026 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2027 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2028 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2029 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2030 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2031 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2032 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2033 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2034 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2035 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2036 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2037 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2038 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2039 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2040 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2041 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2042 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2043 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2044 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2045 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2046 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2047 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2048 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2049 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2050 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2051 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2052 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2053 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2054 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2055 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2056 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2057 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2058 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2059 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2060 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2061 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2062 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2063 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2064 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2065 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2066 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2067 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2068 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2069 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2070 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2071 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2072 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2073 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2074 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2075 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2076 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2077 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2078 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2079 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2080 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2081 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2082 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2083 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2084 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2085 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2086 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2087 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2088 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2089 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2090 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2091 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2092 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2093 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2094 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2095 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2096 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2097 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2098 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2099 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2100 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2101 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2102 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2103 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2104 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2105 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2106 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2107 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2108 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2109 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2110 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2111 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2112 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2113 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2114 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2115 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2116 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2117 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2118 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2119 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2120 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2121 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2122 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2123 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2146
73c5ebe3
JM
2147 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2148 _XOPEN_SOURCE_EXTENDED for XPG4.
2149
39c33b6c
JM
2150 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2151
62fde54f
JM
2152 * Makeconfig (localtime): Remove variable.
2153 (inst_localtime-file): Likewise.
2154
0741d64c
AS
21552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2158 Update.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2160 Update.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2162 Update.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2164 Update.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2166 Update.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2168 Update.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2170 Update.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2172 Update.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2174 Update.
2175
7cb029ee
JM
21762012-05-01 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #2550]
2179 [BZ #2570]
2180 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2181 comparisons to determine direction to adjust input.
2182 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2183 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2185 Likewise.
2186 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2187 Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2189 Likewise.
2190 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2191 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2192 Likewise.
2193 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2194 Likewise.
2195 * math/libm-test.inc (nexttoward_test): Add more tests.
2196
412bd966
AS
21972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2198
2199 [BZ #14040]
2200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2201 in version GLIBC_2.1, not GLIBC_2.0.
2202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2203 Likewise.
2204
9568c0c2
JM
22052012-04-30 Joseph Myers <joseph@codesourcery.com>
2206
adfbc8ac
JM
2207 [BZ #13942]
2208 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2209 (1 - x) * (1 + x).
2210 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2211 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2212 * math/libm-test.inc (acos_test): Add more tests.
2213 (asin_test): Likewise.
2214 * sysdeps/i386/fpu/libm-test-ulps: Update.
2215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216
5ba3cc69
JM
2217 [BZ #14034]
2218 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2219 of square root.
2220 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2221 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2222 * math/libm-test.inc (acos_test_tonearest): New function.
2223 (acos_test_towardzero): Likewise.
2224 (acos_test_downward): Likewise.
2225 (acos_test_upward): Likewise.
2226 (asin_test_tonearest): Likewise.
2227 (asin_test_towardzero): Likewise.
2228 (asin_test_downward): Likewise.
2229 (asin_test_upward): Likewise.
2230 (main): Call the new functions.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2233
9568c0c2
JM
2234 [BZ #13884]
2235 [BZ #13924]
2236 * math/e_exp10.c: Include <float.h>.
2237 (__ieee754_exp10): Handle underflow here rather than multiplying
2238 large negative argument by M_LN10.
2239 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2240 of __ieee754_expf.
2241 * math/e_exp10l.c: Include <float.h>.
2242 (__ieee754_exp10l): Handle underflow here rather than multiplying
2243 large negative argument by M_LN10l.
2244 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2245 spurious overflow exception on underflow.
2246
5ac3ea17
MP
22472012-04-29 Marek Polacek <polacek@redhat.com>
2248
2249 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2250 (__fortify_function): New macro.
2251 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2252 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2253 __extern_always_inline.
2254 * libio/bits/stdio2.h: Likewise.
2255 * libio/bits/stdio.h: Likewise.
2256 * string/string.h: Likewise.
2257 * string/bits/string3.h: Likewise.
2258 * include/stdio.h: Likewise.
2259 * stdlib/bits/stdlib.h: Likewise.
2260 * stdlib/stdlib.h: Likewise.
2261 * rt/bits/mqueue2.h: Likewise.
2262 * rt/mqueue.h: Likewise.
2263 * posix/bits/unistd.h: Likewise.
2264 * posix/unistd.h: Likewise.
2265 * io/bits/poll2.h: Likewise.
2266 * io/bits/fcntl2.h: Likewise.
2267 * io/fcntl.h: Likewise.
2268 * io/sys/poll.h: Likewise.
2269 * misc/bits/syslog.h: Likewise.
2270 * misc/bits/syslog-ldbl.h: Likewise.
2271 * misc/sys/syslog.h: Likewise.
2272 * socket/bits/socket2.h: Likewise.
2273 * socket/sys/socket.h: Likewise.
2274 * debug/tst-chk1.c: Likewise.
2275 * wcsmbs/bits/wchar2.h: Likewise.
2276 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2277 * wcsmbs/wchar.h: Likewise.
2278
ecf0ebfb
AJ
22792012-04-29 Andreas Jaeger <aj@suse.de>
2280
2281 * Makerules (tests): Remove enable-check-abi protection.
2282 (check-abi-warn): Remove.
2283 (check-abi-%): Remove check-abi-warn usage.
2284
2285 * configure.in: Remove check-abi configure option.
2286 * configure: Regenerated.
2287 * config.make.in (enable-check-abi): Remove.
2288
6d5c57fa
AS
22892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2290
24c5d07e 2291 [BZ #14033]
ded5180a
AS
2292 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2293 double functions to double *_finite functions.
2294
7e0d315d
AS
2295 [BZ #13941]
2296 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2297 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2298 LDBL_MIN_EXP.
2299 * stdio-common/Makefile (tests): Add tst-sprintf3.
2300 * stdio-common/tst-sprintf3.c: New file.
2301
6d5c57fa
AS
2302 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2303 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2304
0749ff8b
JM
23052012-04-28 Joseph Myers <joseph@codesourcery.com>
2306
2307 * conform/conformtest.pl: Remove duplicate typed-constant
2308 handling.
2309
8dbd5d7b
DM
23102012-04-28 David S. Miller <davem@davemloft.net>
2311
2312 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2313 (check-abi-%): Remove AWK script prerequisite and explicit
2314 abilist directory.
2315 (check-abi): Rewrite to just diff the symlist with the abilist.
2316 (config-tls, config-abi-config): Delete, no longer used.
2317 (update-abi-%): Remove AWK script and explicit abilist directory.
2318 (update-abi): Rewrite to simply compare and conditionally copy the
2319 symlist and the sysdep abilist file. Remove update-abi-config
2320 checks.
2321 * abilist/ld.abilist: Remove.
2322 * abilist/libBrokenLocale.abilist: Remove.
2323 * abilist/libanl.abilist: Remove.
2324 * abilist/libcrypt.abilist: Remove.
2325 * abilist/libdl.abilist: Remove.
2326 * abilist/librt.abilist: Remove.
2327 * abilist/libthread_db.abilist: Remove.
2328 * abilist/libutil.abilist: Remove.
2329 * scripts/extract-abilist.awk: Remove.
2330 * scripts/merge-abilist.awk: Remove.
2331 * sysdeps/generic/libcidn.abilist: New file.
2332 * sysdeps/generic/libnss_compat.abilist: New file.
2333 * sysdeps/generic/libnss_db.abilist: New file.
2334 * sysdeps/generic/libnss_dns.abilist: New file.
2335 * sysdeps/generic/libnss_files.abilist: New file.
2336 * sysdeps/generic/libnss_hesiod.abilist: New file.
2337 * sysdeps/generic/libnss_nis.abilist: New file.
2338 * sysdeps/generic/libnss_nisplus.abilist: New file.
2339 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2340 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2342 file.
2343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2344 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2346 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2347 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2348 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2349 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2350 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2352 file.
2353 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2354 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2355 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2356 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2357 file.
2358 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2359 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2360 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2361 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2362 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2363 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2364 file.
2365 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2366 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2367 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2368 file.
2369 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2371 New file.
2372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2373 New file.
2374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2375 New file.
2376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2377 New file.
2378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2379 New file.
2380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2381 New file.
2382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2383 New file.
2384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2385 New file.
2386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2387 New file.
2388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2389 New file.
2390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2391 New file.
2392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2393 New file.
2394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2395 New file.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2397 file.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2399 New file.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2401 New file.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2403 file.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2405 New file.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2407 New file.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2409 file.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2411 New file.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2413 New file.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2415 New file.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2417 New file.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2419 New file.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2421 New file.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2424 file.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2426 New file.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2428 file.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2430 file.
2431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2432 file.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2434 file.
2435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2436 file.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2438 New file.
2439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2440 file.
2441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2442 file.
2443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2444 New file.
2445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2446 file.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2449 file.
2450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2451 New file.
2452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2453 file.
2454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2455 file.
2456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2457 file.
2458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2459 file.
2460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2461 file.
2462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2463 New file.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2465 file.
2466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2467 file.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2469 New file.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2471 file.
2472 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2473 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2474 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2475 file.
2476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2477 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2478 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2479 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2480 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2481 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2482 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2483 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2484 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2485 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2488 file.
2489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2490 New file.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2492 file.
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2494 file.
2495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2496 file.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2498 file.
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2500 file.
2501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2502 New file.
2503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2504 New file.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2506 file.
2507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2508 New file.
2509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2510 file.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2513 file.
2514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2515 New file.
2516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2517 file.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2519 file.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2521 file.
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2523 file.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2525 file.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2527 New file.
2528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2529 New file.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2531 file.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2533 New file.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2535 file.
2536
41d73a1b
JM
25372012-04-28 Joseph Myers <joseph@codesourcery.com>
2538
2539 * conform/conformtest.pl: Fix typo in handling typed-constant from
2540 allow-header.
2541
28aeeda4
JM
25422012-04-27 Joseph Myers <joseph@codesourcery.com>
2543
adae8f5e
JM
2544 * README: Cut down references to pre-2.6 Linux kernels and
2545 Linuxthreads. Update lists of configurations in libc and ports
2546 and sort alphabetically. Say "or newer" with Linux kernel version
2547 requirements.
2548
28aeeda4
JM
2549 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2550
a462cb63
RA
25512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2552
2553 [BZ #887]
2554 * math/libm-test.inc (logb_test_downward): New test to expose
2555 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2556 rounding mode.
2557
6ad3493e
JM
25582012-04-27 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #14027]
2561 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2562 to be done.
2563 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2564 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2565
2ce4f015
JM
25662012-04-26 Joseph Myers <joseph@codesourcery.com>
2567
5aeb141a
JM
2568 * sysdeps/unix/i386/brk.S: Remove file.
2569 * sysdeps/unix/i386/dl-brk.S: Likewise.
2570 * sysdeps/unix/i386/pipe.S: Likewise.
2571 * sysdeps/unix/i386/sigreturn.S: Likewise.
2572 * sysdeps/unix/i386/syscall.S: Likewise.
2573 * sysdeps/unix/i386/vfork.S: Likewise.
2574 * sysdeps/unix/i386/wait.S: Likewise.
2575
7143acae
JM
2576 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2577 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2578
2ce4f015
JM
2579 * configure.in (arm*-none*): Do not allow without
2580 --enable-hacker-mode.
2581 (netbsd*): Remove case setting base_os.
2582 (386bsd*): Likewise.
2583 (freebsd*): Likewise.
2584 (bsdi*): Likewise.
2585 (osf*): Likewise.
2586 (sunos*): Likewise.
2587 (ultrix*): Likewise.
2588 (newsos*): Likewise.
2589 (dynix*): Likewise.
2590 (*bsd*): Likewise.
2591 (sysv*): Likewise.
2592 (isc*): Likewise.
2593 (esix*): Likewise.
2594 (sco*): Likewise.
2595 (minix*): Likewise.
2596 (irix4*): Likewise.
2597 (irix6*): Likewise.
2598 (solaris[2-9]*): Likewise.
2599 (none): Likewise.
2600 * configure: Regenerated.
2601
0ac229c8
AZ
26022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2603
2604 [BZ #11521]
2605 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2606 overflow or cancellation in calculating denominator.
2607 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2609 down expression to avoid unexpected rounding in newer GCCs.
2610 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2611
33f244f4
DM
26122012-04-26 David S. Miller <davem@davemloft.net>
2613
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2615 long-double compat symbols.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2629
cfa1f3e8
DM
26302012-04-25 David S. Miller <davem@davemloft.net>
2631
2632 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2633 HWCAP_* values only after the memory barriers have been defined.
2634 (atomic_full_barrier): Define.
2635 (atomic_read_barrier): Define.
2636 (atomic_write_barrier): Define.
2637
6e236b92
SP
26382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
2640 * shlib-versions: Add libgcc_s version information.
2641 * sysdeps/generic/libgcc_s.h: Remove.
2642 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2643 libgcc_s.h.
2644 * sysdeps/gnu/unwind-resume.c: Likewise.
2645 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2646
aab39a09
DM
26472012-04-25 David S. Miller <davem@davemloft.net>
2648
2649 * sysdeps/unix/sparc/brk.S: Delete.
2650 * sysdeps/unix/sparc/dl-brk.S: Delete.
2651 * sysdeps/unix/sparc/pipe.S: Delete.
2652 * sysdeps/unix/sparc/sysdep.S: Delete.
2653 * sysdeps/unix/sparc/sysdep.h: Delete.
2654 * sysdeps/unix/sparc/vfork.S: Delete.
2655 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2656 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2657 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2658 ret_ERRVAL, r0, r1, MOVE): Define.
2659 (JUMPTARGET): Remove.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2661 sysdeps/unix/sparc/sysdep.h
2662 (ENTRY, END): Remove.
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2664
a3cc4f48
JM
26652012-04-25 Joseph Myers <joseph@codesourcery.com>
2666
2ed8cda2
JM
2667 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2668 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2669 -DIS_IN_build.
2670
35d76d59
JM
2671 * timezone/README: Update upstream location and email address for
2672 tzcode and tzdata.
2673 * timezone/zdump.c: Update from tzcode 2012b.
2674 * timezone/zic.c: Likewise.
2675
a3cc4f48
JM
2676 * configure.in (libc_cv_as_needed): Remove test.
2677 * configure: Regenerated.
2678 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2679 conditional definition.
2680 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2681 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2682 * config.make.in (have-as-needed): Remove variable.
2683
ceab42c3
SP
26842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2685 Paul Pluzhnikov <ppluzhnikov@google.com>
2686
2687 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2688 strings correctly.
2689
3ce2865f
CLT
26902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2691
2692 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2693 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2694 * sysdeps/sh/strlen.S: Likewise.
2695
f37e0d68
JM
26962012-04-24 Joseph Myers <joseph@codesourcery.com>
2697
ae186e9a
JM
2698 * sysdeps/unix/fork.S: Remove file.
2699 * sysdeps/unix/i386/fork.S: Likewise.
2700 * sysdeps/unix/sparc/fork.S: Likewise.
2701
b96914af
JM
2702 * sysdeps/unix/system.c: Remove file.
2703 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2704
f37e0d68
JM
2705 * sysdeps/unix/getegid.S: Remove file.
2706 * sysdeps/unix/geteuid.S: Likewise.
2707
87ef29ca
RM
27082012-04-24 Roland McGrath <roland@hack.frob.com>
2709
83bcd236
RM
2710 * scripts/check-localplt.awk: New file.
2711 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2712 of diff.
2713 * scripts/data/localplt-generic.data: Add a comment.
2714
87ef29ca
RM
2715 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2716 NODE when __dir_mkfile failed.
2717 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2718 Reported by Ludovic Courtès <ludo@gnu.org>.
2719
e5a6e567
AJ
27202012-04-24 Andreas Jaeger <aj@suse.de>
2721
2722 * Makerules (common-clean): Also remove gen-as-const-headers
2723 files.
2724
c1820385
JM
27252012-04-24 Joseph Myers <joseph@codesourcery.com>
2726
2727 * Makerules (native-compile): Do not change working directory for
2728 build. Use $(OUTPUT_OPTION) in command.
2729 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2730
94e02fc4
AZ
27312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732
2733 [BZ #13886]
2734 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2735 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2736 * math/libm-test.inc (floor_test): Add more tests.
2737 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2738
3a533ca3
JM
27392012-04-24 Joseph Myers <joseph@codesourcery.com>
2740
940ab4b3
JM
2741 * sysdeps/unix/getdents.c: Remove file.
2742 * sysdeps/unix/sysv/getdents.c: Likewise.
2743 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2744
90e037bd
JM
2745 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2746 sysdeps/unix/mman/syscalls.list.
2747 (mmap): Likewise.
2748 (mprotect): Likewise.
2749 (msync): Likewise.
2750 (munmap): Likewise.
2751 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2752 * sysdeps/unix/mman/syscalls.list: Remove.
2753 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2754
3a533ca3
JM
2755 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2756 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2757 * configure: Regenerated.
2758 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2759 $(libgcc_s_suffix).
2760 * config.make.in (libgcc_s_suffix): Remove variable.
2761
1ad743de
JM
27622012-04-23 Joseph Myers <joseph@codesourcery.com>
2763
4ad451e2
JM
2764 * sysdeps/unix/sysv/gethostname.c: Move to ...
2765 * sysdeps/posix/gethostname.c: ... here.
2766
5e37ce39
JM
2767 * sysdeps/unix/execve.S: Remove file.
2768
1ad743de
JM
2769 * sysdeps/unix/_exit.S: Remove file.
2770
4e681b5b
AJ
27712012-04-23 Andreas Jaeger <aj@suse.de>
2772
2773 [BZ #13739]
2774 * manual/Makefile: Remove make dist support, there's no
2775 need for a stand-alone documentation tar ball.
2776 (TEXI2DVI): Define always, it's not in Makeconfig.
2777 (dist): Removed.
2778 (tar-it): Removed.
2779 (edition): Removed.
2780 (glibc-doc-$(edition).tar): Removed
2781 (%.Z): Removed.
2782 (%.gz): Removed.
2783 (%.uu): Removed.
2784 (ETAGS): Remove, it's in Makeconfig.
2785 (move-if-change): Remove, it's in Makeconfig.
2786
c0baea34
PE
27872013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2788
2789 [BZ #13970]
2790 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2791 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2792 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2793 (strtod_l, strtof_l, strtold_l): Remove __wur.
2794 It is not necessarily an error to ignore strtol's return value.
2795 One can reliably look at the stored endptr to decide whether
2796 the number had valid syntax.
2797
7c0616fa
AJ
27982012-04-21 Andreas Jaeger <aj@suse.de>
2799
803cb6b7 2800 [BZ #13739]
7c0616fa
AJ
2801 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2802
b0fe253f
JM
28032012-04-21 Joseph Myers <joseph@codesourcery.com>
2804
2805 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2806 * sysdeps/unix/sysv/Versions: Remove file.
2807
8280f22d
MT
28082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2809
2810 [BZ #13927]
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2812
75ce411f 28132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2814
2815 [BZ #7064]
2816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2817 version from __vm86.
2818
097d59fa
JM
28192012-04-20 Joseph Myers <joseph@codesourcery.com>
2820
a90f3bcb
JM
2821 * sysdeps/unix/common/lxstat.c: Remove file.
2822 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2823
edc7ea78
JM
2824 * sysdeps/unix/sysv/Makefile: Remove file.
2825
cb78c221
JM
2826 * sysdeps/unix/sysv/direct.h: Remove file.
2827
efa6a45f
JM
2828 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2829 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2830 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2831 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2832 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2833 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2834 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2835
9c9f2d0c
JM
2836 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2837
4541c83b
JM
2838 * sysdeps/unix/xmknod.c: Remove file.
2839 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2840
f5d153a0
JM
2841 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2842
aa746595
JM
2843 * sysdeps/unix/sysv/i386/time.S: Remove file.
2844
cce5905e
JM
2845 * sysdeps/unix/fxstat.c: Remove file.
2846 * sysdeps/unix/xstat.c: Likewise.
2847 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2848
37fa3841
JM
2849 * sysdeps/unix/sysv/sigaction.c: Remove file.
2850
ff1962a3
JM
2851 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2852 (sysdep_headers): Remove variable.
2853 [termio.h not in sysdep_headers] (generated): Likewise.
2854 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2855 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2856 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2857 * sysdeps/unix/sysv/tcflow.c: Likewise.
2858 * sysdeps/unix/sysv/tcflush.c: Likewise.
2859 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2860 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2861 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2862 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2863 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2864
e7740d31
JM
2865 * sysdeps/unix/siglist.c: Remove file.
2866
ee06f18b
JM
2867 * sysdeps/unix/getppid.S: Remove file.
2868
097d59fa
JM
2869 * sysdeps/unix/mkdir.c: Remove file.
2870 * sysdeps/unix/rmdir.c: Likewise.
2871
ff3d51ec
AS
28722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2873
2874 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2875 ERR_MAX value.
2876 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2877 errlist-compat value.
2878
50f81fd7
DM
28792012-04-18 David S. Miller <davem@davemloft.net>
2880
2881 * sysdeps/generic/memcopy.h (reg_char): Delete.
2882 * debug/strcat_chk.c: Use char, not reg_char.
2883 * debug/strcpy_chk.c: Likewise.
2884 * debug/strncat_chk.c: Likewise.
2885 * debug/strncpy_chk.c: Likewise.
2886 * string/memchr.c: Likewise.
2887 * string/memrchr.c: Likewise.
2888 * string/rawmemchr.c: Likewise.
2889 * string/strcat.c: Likewise.
2890 * string/strchr.c: Likewise.
2891 * string/strchrnul.c: Likewise.
2892 * string/strcmp.c: Likewise.
2893 * string/strcpy.c: Likewise.
2894 * string/strncat.c: Likewise.
2895 * string/strncmp.c: Likewise.
2896 * string/strncpy.c: Likewise.
2897
8ff41c46
WS
28982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2899
2900 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2901 __builtin_memcopy is called when src and dest ranges are known to not
2902 overlap.
2903
6b652f46
WS
29042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2905
2906 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2907 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2908 fwd_align_merge macro call.
2909 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2910 bwd_align_merge macro call.
2911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2912
b282631e
WS
29132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2914
2915 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2916 bwd_align_merge macros.
2917 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2918 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2919 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2920
95aa737c
DM
29212012-04-18 David S. Miller <davem@davemloft.net>
2922
2923 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2924
7a99a614
AJ
29252012-04-18 Andreas Jaeger <aj@suse.de>
2926
2927 [BZ# 6794]
2928 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2929 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2931
2932 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2933 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2934 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2935
2936 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2937 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2938 Adjust for changed ldbl-128 files.
2939
2940 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2941 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2942 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2943
e5270c23
DM
29442012-04-17 David S. Miller <davem@davemloft.net>
2945
2946 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2947
fb5e92c9
AS
29482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2949
2950 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2951 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2952 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2953 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2954 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2955 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2956
76da7265
AZ
29572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2958
2959 [BZ #6794]
2960 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2961 * math/libm-test.inc: Add ilogb errno and exception tests.
2962 * math/w_ilogb.c: New file: ilogb wrapper.
2963 * math/w_ilogbf.c: New file: ilogbf wrapper.
2964 * math/w_ilogbl.c: New file: ilogbl wrapper.
2965 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2966 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2967 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2968 exception being thrown with 0.0 as argument.
2969 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2970 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2971 exception being thrown with 0.0 as argument.
2972 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2973 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2974 exception being thrown with 0.0 as argument.
2975 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2976 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2977 exception being thrown with 0.0 as argument.
2978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2979 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2980 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2981 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2982 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2983 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2984 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2985 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2986 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2987
0396e69d
PB
29882012-04-17 Petr Baudis <pasky@ucw.cz>
2989
2990 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2991 with altivec.
2992
750b5926
MP
29932012-04-16 Marek Polacek <polacek@redhat.com>
2994
2995 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2996
751728a1
MP
29972012-04-16 Marek Polacek <polacek@redhat.com>
2998
2999 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3000 operands of fdivp instruction.
3001
34a27407
L
30022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3005 * elf/tst-auditmod3b.c: Likewise.
3006 * elf/tst-auditmod4b.c: Likewise.
3007 * elf/tst-auditmod5b.c: Likewise.
3008 * elf/tst-auditmod6b.c: Likewise.
3009 * elf/tst-auditmod6c.c: Likewise.
3010 * elf/tst-auditmod7b.c: Likewise.
3011 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3012 * sysdeps/x86_64/preconfigure.in: Likewise.
3013 * sysdeps/x86_64/preconfigure: Regenerated.
3014
7e73e17d
L
30152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3018 __ILP32__.
3019
c7a6ab72
AB
30202012-04-13 Antoine Balestrat <merkil33@gmail.com>
3021
3022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3023 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3024
a9e8e0e0
CL
30252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3026
3027 [BZ #13973]
3028 * locale/iso-639.def: Fix gl language name. Spotted by
3029 Yaron Shahrabani.
3030
ec98af7d
RM
30312012-04-12 Roland McGrath <roland@hack.frob.com>
3032
3033 [BZ #2074]
3034 * libio/libio.h (__io_write_fn): Update comment.
3035
247c3ede
PB
30362012-04-12 Petr Baudis <pasky@ucw.cz>
3037
3038 [BZ #2074]
3039 * stdio.texi (Hook Functions): The user provided writer function
3040 is not allowed to return -1.
3041
55939d6d
DM
30422012-04-11 David S. Miller <davem@davemloft.net>
3043
3044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3045
90020f5a
MF
30462012-04-11 Mike Frysinger <vapier@gentoo.org>
3047
3048 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3049 Add a leading slash to rtkaio.
3050
288f9098
JM
30512012-04-11 Jim Meyering <meyering@redhat.com>
3052
90020f5a
MF
3053 [BZ #11959]
3054 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3055 It is not necessarily an error to ignore fwrite's return
3056 value. One can reliably use ferror to test for errors after
3057 the fact.
288f9098 3058
4be2b570
L
30592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 * bits/types.h (__snseconds_t): New type.
3062 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3063
3064 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3066 (__SNSECONDS_T_TYPE): Likewise.
3067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3068 (__SNSECONDS_T_TYPE): Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3070 (__SNSECONDS_T_TYPE): Likewise.
3071
288f9098 30722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3073
3074 [BZ #2636]
3075 * manual/time.texi (Processor Time): Return type of times is
3076 elapsed real time since an arbitrary point in the past.
3077 (CPU Time): Move CLK_TCK from here...
3078 (Processor Time): ...to here. Correct description.
3079 * manual/conf.texi (Constants for Sysconf): Correct description of
3080 _SC_CLK_TCK.
3081
d7dd4413
DM
30822012-04-10 David S. Miller <davem@davemloft.net>
3083
3084 [BZ #13967]
3085 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3086 where the is a gap between DT_REL(A) and DT_JMPREL.
3087
b46068fc
L
30882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3091 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3092 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3093
73d65cc3
SP
30942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3095
3096 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3097 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3098 (dl_main): Handle --inhibit-cache.
3099 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3100 _dl_inhibit_cache.
3101 * elf/dl-load.c (_dl_map_object): Use it.
3102 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3103
bcc8d661
JM
31042012-04-09 Joseph Myers <joseph@codesourcery.com>
3105
8f9a2fae
JM
3106 [BZ #13872]
3107 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3108 (__ieee754_powl): Saturate large exponents rather than testing for
3109 overflow of y*log2(x).
3110 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3111 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3112 exceptions.
3113
bcc8d661
JM
3114 [BZ #11521]
3115 * math/s_ctan.c: Include <float.h>.
3116 (__ctan): Avoid internal overflow or cancellation in calculating
3117 denominator.
3118 * math/s_ctanf.c: Likewise.
3119 * math/s_ctanl.c: Likewise.
3120 * math/s_ctanh.c: Likewise.
3121 * math/s_ctanhf.c: Likewise.
3122 * math/s_ctanhl.c: Likewise.
3123 * math/libm-test.inc (ctan_test): Add more tests.
3124 (ctanh_test): Likewise.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update.
3126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3127
823fbbb4
AJ
31282012-04-09 Andreas Jaeger <aj@suse.de>
3129
03879793
AJ
3130 [BZ #6894]
3131 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3132 is an optional BSD extension.
3133
823fbbb4
AJ
3134 [BZ #10254]
3135 * manual/stdio.texi (Opening Streams): Document additional fopen
3136 parameters.
3137
8de131cb
RM
31382012-04-09 Roland McGrath <roland@hack.frob.com>
3139
3140 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3141 %eax without telling the compiler.
3142
c0ed9d7d
CD
31432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3144
3145 [BZ # 13963]
3146 * manual/install.texi: Use sourceware.org.
3147
c483f6b4
JM
31482012-04-09 Joseph Myers <joseph@codesourcery.com>
3149
d7dd9453
JM
3150 [BZ #13873]
3151 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3152 (__ieee754_pow): Generate overflow and underflow using huge*huge
3153 and tiny*tiny rather than just returning constant infinity or zero
3154 for large exponents.
3155 * math/libm-test.inc (pow_test): Require overflow exceptions for
3156 applicable cases of large exponents.
3157
c483f6b4
JM
3158 [BZ #706]
3159 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3160 (__ieee754_pow): Use iterative multiplication algorithm only for
3161 integer exponents with absolute value below 1024. Check for odd
3162 integer exponents when using algorithm for real exponents.
3163 * math/libm-test.inc (pow_test): Add more tests.
3164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3165
d2de7579
JM
31662012-04-08 Joseph Myers <joseph@codesourcery.com>
3167
3168 [BZ #13705]
3169 * math/libm-test.inc (exp_test): Do not allow overflow exception
3170 on underflow test.
3171
f77f1232
AJ
31722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3173
3174 [BZ #13705]
3175 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3176 instead of __kernel_standard_f.
3177
3884932b
MF
31782012-04-08 Mike Frysinger <vapier@gentoo.org>
3179
3180 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3181 * sysdeps/x86_64/memset_chk.S: Likewise.
3182
54472e9c
AJ
31832012-04-08 Andreas Jaeger <aj@suse.de>
3184
6ab0fbfc
AJ
3185 [BZ #10153]
3186 * manual/startup.texi (Environment Access): Describe return value
3187 for putenv and setenv.
3188
61efba8c
AJ
3189 [BZ #6895]
3190 * manual/filesys.texi (Directory Entries): Add description for
3191 DT_LNK.
3192
95c3f29a
AJ
3193 [BZ #6890]
3194 * manual/filesys.texi (Directory Entries): Clarify that it's file
3195 system not operating system in the description of DT_UNKNOWN.
3196
54472e9c
AJ
3197 [BZ #6578]
3198 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3199
624254b1
SC
32002012-04-08 Stephen Compall <s11@member.fsf.org>
3201
3202 [BZ #6649]
3203 * manual/llio.texi (Opening and Closing Files): Add cross
3204 reference to explain mode argument.
3205
1e4920e0
MF
32062012-04-07 Mike Frysinger <vapier@gentoo.org>
3207
3208 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3209 * sysdeps/x86_64/memset_chk.S: Likewise.
3210
5ed848f3
DM
32112012-04-07 David S. Miller <davem@davemloft.net>
3212
3213 * elf/elf.h (R_SPARC_WDISP10): Define.
3214 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3215 R_SPARC_SIZE32.
3216 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3217 R_SPARC_SIZE64 and R_SPARC_H34.
3218
96154cd8
CD
32192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3220
3221 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3222 conditions and remove no longer applicable assertion.
3223
9904dc47
L
32242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * bits/byteswap.h: Include <features.h>.
3227 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3228 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3229
f8887d0a
L
32302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 * bits/byteswap.h (__bswap_16): Removed.
3233 Include <bits/byteswap-16.h> to get __bswap_16.
3234 * sysdeps/i386/bits/byteswap.h: Likewise.
3235 * sysdeps/s390/bits/byteswap.h: Likewise.
3236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3237 * bits/byteswap-16.h: New file.
3238 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3239 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3240 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3241 * string/Makefile (headers): Add bits/byteswap-16.h.
3242
62470f60
PP
32432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3244
3245 [BZ #13895]
3246 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3247 extra indirection.
3248 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3249 * nss/tst-nss-static.c: New.
3250
4dad7bab
RM
32512012-04-06 Robert Millan <rmh@gnu.org>
3252
3253 [BZ #6486]
3254 * manual/llio.texi (File Position Primitive): lseek
3255 refers to WHENCE when it really means OFFSET.
3256
e9142a17
AJ
32572012-04-06 Andreas Jaeger <aj@suse.de>
3258
2c040eff
AJ
3259 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3260 strncmp declarations.
3261
e9142a17
AJ
3262 * abilist/libc.abilist: Add __poll and __ppoll.
3263
ff9f1c5f
DM
32642012-04-05 David S. Miller <davem@davemloft.net>
3265
dcd2ae90
DM
3266 * scripts/check-local-headers.sh: Accept a host triplet in the
3267 path matched by the exclude regexp.
3268
993eb054
DM
3269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3270 definition.
3271 * sysdeps/powerpc/powerpc32/dl-machine.h
3272 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3273 * sysdeps/s390/s390-32/dl-machine.h
3274 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3275 * sysdeps/sparc/sparc32/dl-machine.h
3276 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3277 * sysdeps/sparc/sparc64/dl-machine.h
3278 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3279
ff9f1c5f
DM
3280 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3281 lazy binding.
48e2e132 3282 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3283 undefined symbol errors.
3284
48e2e132 3285 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3286 DT_NEEDED entries.
3287
e80d6f94
MM
32882012-04-05 Michael Matz <matz@suse.de>
3289
3290 [BZ #13592]
3291 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3292
349fa79f
AJ
32932012-04-05 Andreas Jaeger <aj@suse.de>
3294
3295 [BZ #13908]
3296 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3297 comment.
3298
f402708f
KK
32992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3300
3301 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3302 which ROUND is no valid rounding mode.
3303
2ecccfc9
KK
33042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3305
3306 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3307 read again.
3308 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3309
8a53f50f
KK
33102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3311
3312 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3313 an exception using FPU order intentionally.
3314
33152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3316
3317 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3318 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3319 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3320 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3321
d653abb7
SJ
33222012-04-05 Simon Josefsson <simon@josefsson.org>
3323
3324 [BZ #12340]
3325 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3326 EINVAL when BUFLEN is too smal.
3327
c3b1bf7d
TS
33282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3329
3330 [BZ #13553]
3331 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3332 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3333
b1aa60f3
AJ
33342012-04-03 Andreas Jaeger <aj@suse.de>
3335
c3b1bf7d 3336 [BZ #13938]
67f60a26
AJ
3337 * manual/setjmp.texi (System V contexts): Fix sentence.
3338
b1aa60f3
AJ
3339 [BZ #13926]
3340 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3341 New macro for this case.
3342 [!__GNUC__] (__bswap_64): New inline function for this case.
3343 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3344 * bits/byteswap.h: Likewise.
3345 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3346 ull, guard with __GLIBC_HAVE_LONG_LONG.
3347
3348 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3349 __GLIBC_HAVE_LONG_LONG.
3350
3351 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3352 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3353
39c59c35
TMQMF
33542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3355
3356 [BZ #13691]
3357 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3358 inptr and inend, rather than using last_ch.
3359
135ffda8
DM
33602012-04-02 David S. Miller <davem@davemloft.net>
3361
3362 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3363 * stdio-common/printf-parse.h (read_int): Change return type to
3364 'int', return -1 on INT_MAX overflow.
3365 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3366 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3367 overflows INT_MAX. Check for overflow of in-format-string precision
3368 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3369 SIZE_MAX not INT_MAX for integer overflow test.
3370 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3371 skip the construct in the format string but do not record anything.
3372 * stdio-common/bug22.c: Adjust to test both width/prevision
3373 INT_MAX overflow as well as total length INT_MAX overflow. Check
3374 explicitly for proper errno values.
3375
228c019e
TS
33762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3377
302cadd3
TS
3378 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3379 CHAR_MAX.
3380 * string/test-strcmp.c [! WIDE]: Likewise.
3381 * time/tst-mktime2.c: Likewise for INT_MAX.
3382 * string/test-string.h: #include <sys/param.h> for MIN.
3383
228c019e
TS
3384 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3385 * sysdeps/i386/init-first.c (init): Likewise.
3386 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3387 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3388 * sysdeps/sh/init-first.c (init): Likewise.
3389
cfa633f5
UD
33902012-04-01 Ulrich Drepper <drepper@gmail.com>
3391
3392 * po/ru.po: Update from translation team.
d1635ef8 3393 * po/vi.po: Likewise.
cfa633f5 3394
6cd0a5ea
SP
33952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3396
3397 * resolv/nss_dns/dns-host.c: Merge copyright years.
3398
4b43400f
LD
33992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3400
3401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3402 Optimize memcpy with prefetch if
3403 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3404 src, dst pointers have unequal 16 byte alignments.
3405
48c41d04
SP
34062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3407
3408 [BZ #13928]
3409 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3410 from a CNAME entry and return the minimum ttl for the query.
3411 (gaih_getanswer_slice): Likewise.
3412
b8dc394d
JL
34132012-03-30 Jeff Law <law@redhat.com>
3414
3415 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3416 due to long keys.
3417 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3418 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3419
2f5a5ed0
JL
3420 * resolv/nss_dns/dns-host.c: Update copyright year.
3421
1d39e359
UD
34222012-03-30 Ulrich Drepper <drepper@gmail.com>
3423
c030f70c 3424 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3425 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3426
1d39e359
UD
3427 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3428 comments for sendmmsg.
3429
34302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3431
3432 [BZ #13691]
3433 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3434 with only 1 character between 0x0041 and 0x01b0.
3435 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3436 * wcsmbs/tst-mbsnrtowcs.c: New file.
3437
20fde227
DM
34382012-03-29 David S. Miller <davem@davemloft.net>
3439
3440 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3441 small copies by hand.
3442
984a4237
JL
34432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 [BZ #13761]
3446 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3447 _nss_compat_initgroups_dyn): Fall back to malloc/free
3448 for large group memberships.
3449
18c9d62b
DM
34502012-03-28 David S. Miller <davem@davemloft.net>
3451
88d85d4f
DM
3452 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3453 that branches into memcpy.
3454 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3457 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3459 bits.
3460 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3461 implementation too.
3462 * sysdeps/sparc/mempcpy.S: New file.
3463
e5aa83e1
DM
3464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3465 the IFUNC routine in the libc case.
3466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3467
88570753
DM
3468 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3469 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3470 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3471 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3472 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3473 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3474 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3475 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3476
249d7567
DM
3477 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3478 loop to 256 bytes instead of 64 bytes and fix test signedness.
3479
18c9d62b
DM
3480 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3481 * sysdeps/sparc/sparc32/Makefile: rather than here...
3482 * sysdeps/sparc/sparc64/Makefile: and here.
3483
05f3d1f6
UD
34842012-03-28 Ulrich Drepper <drepper@gmail.com>
3485
3486 * malloc/mallocbug.c: Avoid warnings about unused variables.
3487
86ae07a8
JL
34882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3489
3490 [BZ #13760]
3491 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3492 in the right place. Discard and retry query if response is
3493 larger than input buffer size.
3494
41bf21a1
JM
34952012-03-28 Joseph Myers <joseph@codesourcery.com>
3496
d6270972
JM
3497 [BZ #369]
3498 [BZ #2678]
3499 [BZ #3866]
3500 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3501 x for large integer exponent.
3502 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3503 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3504 sign of result as needed afterwards.
3505 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3506 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3507 result for underflowing pow the same as for overflow.
3508 (__kernel_standard_l): Handle powl overflow and underflow here
3509 rather than calling __kernel_standard.
3510 * math/libm-test.inc (pow_test): Add more tests.
3511
414fca03 3512 [BZ #3868]
41bf21a1
JM
3513 [BZ #13879]
3514 [BZ #13910]
3515 [BZ #13911]
3516 [BZ #13912]
3517 [BZ #13913]
3518 [BZ #13915]
3519 [BZ #13916]
3520 [BZ #13917]
3521 [BZ #13918]
3522 [BZ #13919]
3523 [BZ #13920]
3524 [BZ #13921]
3525 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3526 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3527 (__kernel_standard_l): New function.
3528 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3529 __kernel_standard.
3530 * math/w_acosl.c (__acosl): Likewise.
3531 * math/w_asinl.c (__asinl): Likewise.
3532 * math/w_atan2l.c (__atan2l): Likewise.
3533 * math/w_atanhl.c (__atanhl): Likewise.
3534 * math/w_coshl.c (__coshl): Likewise.
3535 * math/w_exp10l.c (__exp10l): Likewise.
3536 * math/w_exp2l.c (__exp2l): Likewise.
3537 * math/w_fmodl.c (__fmodl): Likewise.
3538 * math/w_hypotl.c (__hypotl): Likewise.
3539 * math/w_j0l.c (__j0l, __y0l): Likewise.
3540 * math/w_j1l.c (__j1l, __y1l): Likewise.
3541 * math/w_jnl.c (__jnl, __ynl): Likewise.
3542 * math/w_lgammal.c (__lgammal): Likewise.
3543 * math/w_log10l.c (__log10l): Likewise.
3544 * math/w_log2l.c (__log2l): Likewise.
3545 * math/w_logl.c (__logl): Likewise.
3546 * math/w_powl.c (__powl): Likewise.
3547 * math/w_remainderl.c (__remainderl): Likewise.
3548 * math/w_scalbl.c (sysv_scalbl): Likewise.
3549 * math/w_sinhl.c (__sinhl): Likewise.
3550 * math/w_sqrtl.c (__sqrtl): Likewise.
3551 * math/w_tgammal.c (__tgammal): Likewise.
3552 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3553 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3554 * math/libm-test.inc (acos_test): Add more tests.
3555 (acosh_test): Likewise.
3556 (asin_test): Likewise.
3557 (atanh_test): Likewise.
3558 (exp_test): Likewise.
3559 (exp10_test): Likewise.
3560 (exp2_test): Likewise.
3561 (expm1_test): Likewise.
3562 (lgamma_test): Likewise.
3563 (log_test): Likewise.
3564 (log10_test): Likewise.
3565 (log1p_test): Likewise.
3566 (log2_test): Likewise.
3567 (pow_test): Do not allow some spurious overflow exceptions.
3568 (sqrt_test): Add more tests.
3569 (tgamma_test): Likewise.
3570 (y0_test): Likewise.
3571 (y1_test): Likewise.
3572 (yn_test): Likewise.
3573
dd62fda6
AB
35742012-03-27 Anton Blanchard <anton@samba.org>
3575
3576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3577 MAP_HUGETLB.
3578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3581
1e3cdfda
AJ
35822012-03-27 David S. Miller <davem@davemloft.net>
3583
b855ab85
DM
3584 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3585
1e3cdfda
AJ
3586 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3587 have-as-vis3 check.
3588
35892012-03-27 Andreas Jaeger <aj@suse.de>
3590
3591 * sysdeps/x86_64/elf/configure.in: Moved to ...
3592 * sysdeps/x86_64/configure.in: ... here.
3593 * sysdeps/x86_64/elf/start.S: Moved to ...
3594 * sysdeps/x86_64/start.S: ... here.
3595 * sysdeps/x86_64/elf/configure: Delete.
3596
3597 * sysdeps/x86_64/configure.in: Merge contents from
3598 sysdeps/i386/configure.in (without i686 check).
3599
3600 * sysdeps/i386/elf/Versions: Merge into ...
3601 * sysdeps/i386/Versions: ... this.
3602 * sysdeps/i386/elf/Versions: Delete file.
3603 * sysdeps/i386/elf/start.S: Moved to ...
3604 * sysdeps/i386/start.S: ...here.
3605 * sysdeps/i386/elf/configure.in: Merge into...
3606 * sysdeps/i386/configure.in: ...here.
3607 * sysdeps/i386/elf/configure.in: Delete file.
3608 * sysdeps/i386/elf/configure: Delete file.
3609
3610 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3611 * debug/backtracesyms.c: ... here.
3612 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3613 * debug/backtracesymsfd.c: ... here.
3614 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3615 * sysdeps/generic/ifunc-sel.h: ... here.
3616
3617 * sysdeps/unix/i386/start.c: Delete file.
3618 * sysdeps/unix/sparc/start.c: Delete file.
3619 * sysdeps/unix/start.c: Delete file.
3620
3621 * sysdeps/sh/elf/configure.in: Moved to ...
3622 * sysdeps/sh/configure.in: ... here.
3623 * sysdeps/sh/elf/start.S: Moved to ...
3624 * sysdeps/sh/start.S: ... here.
3625 * sysdeps/sh/elf/configure: Delete file.
3626
3627 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3628 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3629 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3630 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3631 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3632 * sysdeps/powerpc/powerpc64/start.S: here.
3633 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3634 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3635 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3636 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3637 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3638
3639 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3640 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3641 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3642 * sysdeps/powerpc/powerpc32/start.S: ... here.
3643 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3644 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3645 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3646
3647 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3648 * sysdeps/powerpc/ifunc-sel.h: ... here.
3649 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3650 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3651
3652 * sysdeps/sparc/elf/configure.in: Moved to ...
3653 * sysdeps/sparc/configure.in: ... here.
3654 * sysdeps/sparc/elf/configure: Delete file.
3655 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3656 * sysdeps/sparc/sparc32/start.S: ... here.
3657 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3658 * sysdeps/sparc/sparc64/start.S: ... here.
3659 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3660 * sysdeps/sparc/sparc32/Makefile: ... this.
3661 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3662 * sysdeps/sparc/sparc64/Makefile: ... this.
3663
3664 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3665 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3666 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3667 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3668 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3669 * sysdeps/s390/s390-32/setjmp.S: ... here.
3670 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3671 * sysdeps/s390/s390-32/configure.in: ... here.
3672 * sysdeps/s390/s390-32/elf/configure: Delete file.
3673 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3674 * sysdeps/s390/s390-32/start.S: ... here.
3675
3676 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3677 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3678 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3679 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3680 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3681 * sysdeps/s390/s390-64/setjmp.S: ... here.
3682 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3683 * sysdeps/s390/s390-64/configure.in: ... here
3684 * sysdeps/s390/s390-64/elf/configure: Delete file.
3685 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3686 * sysdeps/s390/s390-64/start.S: ... here.
3687 * sysdeps/s390/s390-64/elf/configure: Delete.
3688
3689 * configure.in: Remove support for elf directories in sysdeps.
3690
3691 * configure: Regenerated.
3692 * sysdeps/i386/configure: Regenerated.
3693 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3694 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3695 * sysdeps/s390/s390-32/configure: Regenerated.
3696 * sysdeps/s390/s390-64/configure: Regenerated.
3697 * sysdeps/sh/configure: Regenerated.
3698 * sysdeps/sparc/configure: Regenerated.
3699 * sysdeps/x86_64/configure: Regenerated.
3700
a3f61311
AS
37012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3702
c876e002
AS
3703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3704
a3f61311
AS
3705 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3706 denormal result into account.
3707
ac4c54f0
RM
37082012-03-25 Roland McGrath <roland@hack.frob.com>
3709
3710 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3711 Reported by Allan McRae <allan@archlinux.org>.
3712
6a9b9c02
JL
37132012-03-23 Jeff Law <law@redhat.com>
3714
3715 * nss/getnssent.c (__nss_getent): Fix typo.
3716
4c42a0c1
DM
37172012-03-23 David S. Miller <davem@davemloft.net>
3718
3719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3720
1532c7ac
L
37212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3722
3723 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3724 to pad to uint64_t for each field.
3725 (dl_tls_index): Replace unsigned long with uint64_t.
3726
3ff42526
PP
37272012-03-23 Daniel Jacobowitz <dmj@google.com>
3728 Paul Pluzhnikov <ppluzhnikov@google.com>
3729
3730 [BZ #6528]
3731 * grp/Makefile (otherlibs): Don't set it.
3732 * inet/Makefile (otherlibs): Likewise.
3733 * login/Makefile (otherlibs): Likewise.
3734 * nscd/Makefile (otherlibs): Likewise.
3735 * posix/Makefile (otherlibs): Likewise.
3736 * pwd/Makefile (otherlibs): Likewise.
3737 * rt/Makefile (otherlibs): Likewise.
3738 * sunrpc/Makefile (otherlibs): Likewise.
3739 * nss/Makefile (otherlibs): Likewise.
3740 Add libnss_files to routines and static-only-routines.
3741 ($(objpfx)getent): Remove rule.
3742 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3743 static-only-routines.
3744
7c69cd14
JM
37452012-03-22 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #13892]
3748 * math/s_cexp.c: Include <float.h>.
3749 (__cexp): Handle exp result overflowing not necessarily
3750 overflowing both real and imaginary parts of result.
3751 * math/s_cexpf.c: Likewise.
3752 * math/s_cexpl.c: Likewise.
3753 * math/libm-test.inc (cexp_test): Add more tests.
3754 * sysdeps/i386/fpu/libm-test-ulps: Update.
3755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3756
81b035fe
L
37572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 * include/link.h (ELFW): New macro.
3760 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3761 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3762
1da7940c
L
37632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3766 with uint64_t.
3767
b749dbb9
L
37682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3771 declaration.
3772 (struct La_x32_retval): Likewise.
3773
2ff87f3f
L
37742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3775
3776 * sysdeps/x86_64/preconfigure.in: New file.
3777 * sysdeps/x86_64/preconfigure: New generated file.
3778
c0df8e69
JM
37792012-03-22 Joseph Myers <joseph@codesourcery.com>
3780
48e44791
JM
3781 [BZ #13824]
3782 * math/e_exp2l.c: Include <float.h>.
3783 (__ieee754_exp2l): Handle overflow and underflow cases
3784 separately. Only pass fractional part of argument to
3785 __ieee754_expl.
3786 * math/libm-test.inc (exp2_test): Add more tests.
3787
c0df8e69
JM
3788 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3789 negating x to take absolute value.
3790 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3791 Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3794 Likewise.
3795 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3796 computing low part if x was negated.
3797 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3798
c8e43ba7
L
37992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3800
3801 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3802 la_x32_gnu_pltexit.
3803 (pltexit): Cast int_retval to ptrdiff_t.
3804 * elf/tst-auditmod3b.c: Likewise.
3805 * elf/tst-auditmod4b.c: Likewise.
3806 * elf/tst-auditmod5b.c: Likewise.
3807 * elf/tst-auditmod6b.c: Likewise.
3808 * elf/tst-auditmod6c.c: Likewise.
3809 * elf/tst-auditmod7b.c: Likewise.
3810
3811 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3812 and x32_gnu_pltexit.
3813
3814 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3815 __ELF_NATIVE_CLASS.
3816 (La_x32_regs): New macro.
3817 (La_x32_retval): Likewise.
3818 (la_x32_gnu_pltenter): New function prototype.
3819 (la_x32_gnu_pltexit): Likewise.
3820
7998fa78
AS
38212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3822
dcb33988
AS
3823 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3824 exponent.
3825
233fc563
AS
3826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3827
7998fa78
AS
3828 * configure.in (libc_cv_cc_nofma): Check for option to disable
3829 generation of FMA instructions.
3830 * configure: Regenerate.
3831 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3832 * sysdeps/ieee754/dbl-64/Makefile: New file.
3833 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3834 Remove brandred-fma4.
3835 (CFLAGS-brandred-fma4.c): Remove.
3836 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3837 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3838 define.
3839 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3840 define.
3841
8e95c99a
L
38422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3845 LLONG_MAX != LONG_MAX.
3846 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3847 (_fitoa_word): Likewise.
3848 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3849 LLONG_MAX != LONG_MAX.
3850 * stdio-common/_itowa.h: Include <_itoa.h>.
3851 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3852 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3853 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3854 only if not defined.
3855 (_ITOA_WORD_TYPE): Likewise.
3856 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3857 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3858
6f4db457
DM
38592012-03-21 David S. Miller <davem@davemloft.net>
3860
3861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3862
7785fe5a
L
38632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3866 of x86_64 when setting libc_cv_slibdir, libdir and
3867 libc_cv_localedir.
3868 * sysdeps/unix/sysv/linux/configure: Regenerated.
3869
4535cd55
JM
38702012-03-21 Joseph Myers <joseph@codesourcery.com>
3871
3872 * manual/lang.texi (Old Varargs): Remove section.
3873 (How Variadic): Update menu.
3874 (va_start): Do not mention varargs.h.
3875
17228132
TS
38762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3877 Joseph Myers <joseph@codesourcery.com>
3878
3879 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3880 link test.
3881 * configure: Regenerated.
3882
8149f976
TS
38832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3884
05f3d1f6
UD
3885 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3886 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3887 conformtest.pl
8149f976 3888
1a4ac776
JM
38892012-03-21 Joseph Myers <joseph@codesourcery.com>
3890
be22ce65
JM
3891 * NOTES: Remove.
3892 * Makefile (files-for-dist): Remove NOTES.
3893 (NOTES): Remove rule.
3894 * README: Don't refer to NOTES.
3895 * manual/creature.texi: Don't include macros.texi.
3896 * manual/intro.texi (creature.texi): Remove comment referring to
3897 NOTES.
3898
40b601fb
JM
3899 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3900 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3901 * configure: Regenerated.
3902 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3903 LIBC_TRY_CC_OPTION.
3904 (libc_cv_as_i686): Likewise.
3905 (libc_cv_cc_avx): Likewise.
3906 (libc_cv_cc_sse2avx): Likewise.
3907 (libc_cv_cc_fma4): Likewise.
3908 (libc_cv_cc_novzeroupper): Likewise.
3909 * sysdeps/i386/configure: Regenerated.
3910
1a4ac776
JM
3911 [BZ #13883]
3912 * sysdeps/i386/fpu/s_cexp.S: Remove.
3913 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3914 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3915 * math/libm-test.inc (cexp_test): Add more tests.
3916 * sysdeps/i386/fpu/libm-test-ulps: Update.
3917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918
a458e7fe
AM
39192012-03-21 Allan McRae <allan@archlinux.org>
3920
3921 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3922
0cb7efc5
JM
39232012-03-21 Joseph Myers <joseph@codesourcery.com>
3924
3925 [BZ #13871]
3926 * math/w_exp2.c: Do not include <float.h>.
3927 (o_threshold, u_threshold): Remove.
3928 (__exp2): Calculate result before checking finiteness and calling
3929 __kernel_standard.
3930 * math/w_exp2f.c: Likewise.
3931 * math/w_exp2l.c: Likewise.
3932 * math/libm-test.inc (exp2_test): Require overflow exception for
3933 1e6 input.
2460d3aa
JM
3934
3935 [BZ #3866]
3936 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3937 range of signed 64-bit integers before using fistpll. Remove
3938 checks for whether integers fit in mantissa bits.
3939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3940 the range of signed 32-bit integers before using fistpl. Remove
3941 checks for whether integers fit in mantissa bits.
3942 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3943 (__ieee754_powl): Test for y outside the range of signed 64-bit
3944 integers before using fistpll. Reduce 64-bit values to 63-bit
3945 ones as needed.
3946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3947 divide-by-zero is raised for zero to large negative powers.
3948 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3949 (__ieee754_powl): Test for y outside the range of signed 64-bit
3950 integers before using fistpll. Reduce 64-bit values to 63-bit
3951 ones as needed.
3952 * math/libm-test.inc (pow_test): Add more tests.
3953
eb96ffb0
L
39542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3957 <stdio-common/_itoa.h>.
3958 * debug/segfault.c: Likewise.
3959 * elf/dl-cache.c: Likewise.
3960 * elf/dl-minimal.c: Likewise.
3961 * elf/dl-misc.c: Likewise.
3962 * elf/dl-sysdep.c: Likewise.
3963 * elf/dl-version.c: Likewise.
3964 * elf/rtld.c: Likewise.
3965 * hurd/hurdsock.c: Likewise.
3966 * hurd/lookup-retry.c: Likewise.
3967 * malloc/malloc.c: Likewise.
3968 * malloc/mtrace.c: Likewise.
3969 * nscd/nscd_getgr_r.c: Likewise.
3970 * nscd/nscd_getpw_r.c: Likewise.
3971 * nscd/nscd_getserv_r.c: Likewise.
3972 * posix/getopt_init.c: Likewise.
3973 * posix/wordexp.c: Likewise.
3974 * stdio-common/_itoa.c: Likewise.
3975 * stdio-common/printf_fphex.c: Likewise.
3976 * stdio-common/vfprintf.c: Likewise.
3977 * string/_strerror.c: Likewise.
3978 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3979 * sysdeps/i386/i686/hp-timing.h: Likewise.
3980 * sysdeps/mach/_strerror.c: Likewise.
3981 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3982 * sysdeps/mach/hurd/sethostid.c: Likewise.
3983 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3984 * sysdeps/mach/xpg-strerror.c: Likewise.
3985 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3987 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3988 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3989 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3990 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3991 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3992 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3993 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3994 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3995 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3996 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3997 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3998 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4000 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4003 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4004 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4005 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4006
4007 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4008
4009 * stdio-common/_itoa.h: Moved to ...
4010 * sysdeps/generic/_itoa.h: Here.
4011
4012 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4013
4014 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4015 instead of "_itoa.h" and "_itowa.h".
4016 * stdio-common/vfprintf.: Likewise.
4017
d1af992d
L
40182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4021 <bits/wordsize.h>.
4022 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4023 (__signbit): Likwise.
4024 (llrintf): Likwise.
4025 (llrint): Likwise.
4026
114883e0
L
40272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4030 __WORDSIZE != 64.
4031
c135cc1b
JM
40322012-03-20 Joseph Myers <joseph@codesourcery.com>
4033
4034 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4035 OVERFLOW_EXCEPTION_OK.
4036 * math/libm-test.inc ("Philosophy"): Update comment about
4037 exception testing.
4038 (OVERFLOW_EXCEPTION): Define.
4039 (OVERFLOW_EXCEPTION_OK): Likewise.
4040 (INVALID_EXCEPTION_OK): Renumber.
4041 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4042 (IGNORE_ZERO_INF_SIGN): Likewise.
4043 (test_exceptions): Handle FE_OVERFLOW.
4044 (exp10_test): Expect overflow exceptions.
4045 (exp2_test): Likewise.
4046 (expm1_test): Likewise.
4047 (nextafter_test): Likewise.
4048 (pow_test): Likewise.
4049 (scalbn_test): Likewise.
4050 (scalbln_test): Likewise.
4051
95443d88
L
40522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4053
4054 * sysdeps/x86_64/bits/atomic.h
4055 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4056 64bit integer.
4057 (atomic_exchange_acq): Likewise.
4058 (__arch_exchange_and_add_body): Likewise.
4059 (__arch_add_body): Likewise.
4060 (atomic_add_negative): Likewise.
4061 (atomic_add_zero): Likewise.
4062
490df6c4
L
40632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4064
c2722551 4065 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4066 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4067
5e52b189
L
40682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4071 Check __x86_64__ instead of __WORDSIZE.
4072
a9879d4c
L
40732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4076
5df98260
DM
40772012-03-19 David S. Miller <davem@davemloft.net>
4078
e1497744
DM
4079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4080
5df98260
DM
4081 * sysdeps/sparc/fpu/fenv_private.h: New file.
4082 * sysdeps/sparc/fpu/math_private.h: Use it.
4083 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4084 Remove.
4085 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4086 (libc_feholdexcept_setroundl): Remove.
4087 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4088 Remove.
4089 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4090 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4091
b4c35121
L
40922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4095 int64_t instead of long int.
4096 (INSERT_WORDS64): Likwise.
4097
56965fd7
L
40982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4101 _Unwind_GetCFA return to _Unwind_Ptr first.
4102
83d1aec8
JM
41032012-03-19 Joseph Myers <joseph@codesourcery.com>
4104
1897ad44
JM
4105 [BZ #13629]
4106 * math/s_clog.c: Include <float.h>.
4107 (__clog): Scale large or subnormal inputs.
4108 * math/s_clogf.c: Likewise.
4109 * math/s_clogl.c: Likewise.
4110 * math/s_clog10.c: Include <float.h>.
4111 (M_LOG10_2): Define.
4112 (__clog10): Scale large or subnormal inputs.
4113 * math/s_clog10f.c: Likewise.
4114 * math/s_clog10l.c: Likewise.
4115 * math/libm-test.inc (clog_test): Add more tests.
4116 (clog10_test): Likewise.
4117 * sysdeps/i386/fpu/libm-test-ulps: Update.
4118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4119
7726d6a9
JM
4120 [BZ #11451]
4121 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4122 x and y.
4123 * math/libm-test.inc (atan2_test): Add another test.
4124
83d1aec8
JM
4125 * Makerules (common-objdir-compile): Remove.
4126 * sysdeps/unix/Makefile (config-generated): Do not add
4127 $(unix-generated) to variable.
4128 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4129 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4130 Remove rule.
4131 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4132 Likewise.
4133 [generic bits/local_lim.h] (before-compile): Do not append to
4134 variable.
4135 [generic bits/local_lim.h] (common-generated): Likewise.
4136 [generic sys/param.h] (before-compile): Do not append to variable.
4137 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4138 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4139 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4140 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4141 include.
4142 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4143 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4144 [generic sys/param.h] ($(addprefix
4145 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4146 [generic sys/param.h] (common-generated): Do not append to
4147 variable.
4148 [generic sys/param.h] (sysdep_headers): Likewise.
4149 [generic bits/errno.h] (before-compile): Do not append to
4150 variable.
4151 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4152 rule.
4153 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4154 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4155 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4156 [generic bits/errno.h] (common-generated): Do not append to
4157 variable.
4158 [generic bits/ioctls.h] (before-compile): Do not append to
4159 variable.
4160 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4161 rule.
4162 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4163 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4164 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4165 rule.
4166 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4167 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4168 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4169 [generic bits/ioctls.h] (common-generated): Do not append to
4170 variable.
4171 [generic sys/syscall.h] (syscall.h): Remove variable.
4172 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4173 rule.
4174 [generic sys/syscall.h] (before-compile): Do not append to
4175 variable.
4176 [generic sys/syscall.h] (common-generated): Likewise.
4177 * sysdeps/unix/errnos-tmpl.c: Remove file.
4178 * sysdeps/unix/errnos.awk: Likewise.
4179 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4180 * sysdeps/unix/ioctls.awk: Likewise.
4181 * sysdeps/unix/mk-local_lim.c: Likewise.
4182 * sysdeps/unix/snarf-ioctls: Likewise.
4183
4851a949
RH
41842012-03-19 Richard Henderson <rth@twiddle.net>
4185
bd37f2ee
RH
4186 * sysdeps/i386/fpu/fenv_private.h: New file.
4187 * sysdeps/i386/fpu/math_private.h: Use it.
4188 (math_opt_barrier, math_force_eval): Remove.
4189 (libc_feholdexcept_setround_53bit): Remove.
4190 (libc_feupdateenv_53bit): Remove.
4191 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4192 (math_opt_barrier, math_force_eval): Remove.
4193 (libc_feholdexcept): Remove.
4194 (libc_feholdexcept_setround): Remove.
4195 (libc_fetestexcept, libc_fesetenv): Remove.
4196 (libc_feupdateenv_test): Remove.
4197 (libc_feupdateenv, libc_feholdsetround): Remove.
4198 (libc_feresetround): Remove.
4199
d0adc922
RH
4200 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4201 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4202
0fe0f1f8
RH
4203 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4204 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4205 (libc_feupdateenv_testl): New.
4206 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4207 (libc_feupdateenv_testf): New.
4208 (libc_feupdateenv): Use libc_feupdateenv_test.
4209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4211
eb92c487
RH
4212 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4213 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4214 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4215 (libc_feresetround_noex): New.
4216 (libc_feresetround_noexf): New.
4217 (libc_feresetround_noexl): New.
4218 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4219 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4220 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4221 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4222 SET_RESTORE_ROUND.
4223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4225 (__cos): Likewise.
4226 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4228 SET_RESTORE_ROUND_NOEX.
4229 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4230 SET_RESTORE_ROUND_NOEXF.
4231 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4232 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4233 (libc_feholdsetroundf): New.
4234 (libc_feresetround, libc_feresetroundf): New.
4235
7d2e8012
RH
4236 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4237 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4238 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4239
b4dabbb4
RH
4240 * sysdeps/generic/math_private.h: Include <fenv.h>.
4241 (default_libc_feholdexcept): New.
4242 (default_libc_feholdexcept_setround): New.
4243 (default_libc_fesetenv, default_libc_feupdateenv): New.
4244 (libc_feholdexcept): Only define if undefined.
4245 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4246 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4247 (libc_feholdexcept_setroundl): Likewise.
4248 (libc_feholdexcept_setround_53bit): Likewise.
4249 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4250 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4251 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4252 (libc_feupdateenv_53bit): Likewise.
4253 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4254 (libc_feholdexcept): Convert from macro to inline function.
4255 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4256 (libc_fesetenv, libc_feupdateenv): Likewise.
4257
4851a949
RH
4258 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4259 not previously defined.
4260 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4261 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4262 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4263 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4264 * sysdeps/ieee754/flt-32/math_private.h: New file.
4265 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4266 math_private.h below SET_FLOAT_WORD.
4267 (__isnan, __isinf_ns, __finite): Remove.
4268 (__isnanf, __isinf_nsf, __finitef): Remove.
4269
e79d442e
AS
42702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4271
4272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4273
90b80344
DM
42742012-03-17 David S. Miller <davem@davemloft.net>
4275
4276 [BZ #6471]
4277 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4278 for 2.16.
4279
edc21804
DM
42802012-03-16 David S. Miller <davem@davemloft.net>
4281
77e927af
DM
4282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4283 warnings.
4284
374976dd
DM
4285 [BZ #6471]
4286 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4287 properly.
4288 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4289 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4290 sysdep_routines when subdir is sysvipc.
4291 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4292 __getshmlba helper.
4293
edc21804
DM
4294 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4295
473c3ef3
L
42962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4299 [__LP64__].
4300
eb0f39b6
L
43012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4302
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4304 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4305 (__lround): Renamed to ...
4306 (__llround): This. Replace long int with long long int.
4307 Define lround functions as aliases of llround functions.
4308 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4309
6b6cd74b
L
43102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4311
4312 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4313 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4314 adresses to uintptr_t. Replace "long int" and "unsigned long
4315 int" with "greg_t" on va_arg.
4316
f1a77b01
L
43172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4318
4319 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4320 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4321
4322 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4323 Move e_machine check before EI_CLASS check. Handle x32
4324 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4325 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4326 SKIP_EM_IA_64 and include
4327 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4328
4329 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4330 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4331 (add_system_dir): New macro.
4332
4333 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4334 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4335
11b90b9f
JM
43362012-03-16 Joseph Myers <joseph@codesourcery.com>
4337
c36e1d23
JM
4338 [BZ #2551]
4339 [BZ #2552]
4340 [BZ #2553]
4341 [BZ #2554]
4342 [BZ #2562]
4343 [BZ #2563]
4344 [BZ #2565]
4345 [BZ #2566]
4346 [BZ #2576]
4347 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4348 (y0): Likewise.
4349 * math/w_j0f.c (j0f): Likewise.
4350 (y0f): Likewise.
4351 * math/w_j0l.c (__j0l): Likewise.
4352 (__y0l): Likewise.
4353 * math/w_j1.c (j1): Likewise.
4354 (y1): Likewise.
4355 * math/w_j1f.c (j1f): Likewise.
4356 (y1f): Likewise.
4357 * math/w_j1l.c (__j1l): Likewise.
4358 (__y1l): Likewise.
4359 * math/w_jn.c (jn): Likewise.
4360 (yn): Likewise.
4361 * math/w_jnf.c (jnf): Likewise.
4362 (ynf): Likewise.
4363 * math/w_jnl.c (__jnl): Likewise.
4364 (__ynl): Likewise.
4365 * math/libm-test.inc (j0_test): Add more tests.
4366 (j1_test): Likewise.
4367 (jn_test): Likewise. Add trailing semicolon to existing test.
4368 (y0_test): Likewise.
4369 (y1_test): Likewise.
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4372
11b90b9f
JM
4373 [BZ #13851]
4374 [BZ #13854]
4375 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4376 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4377 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4379 (__tanl): Set errno for infinite argument.
4380 * sysdeps/i386/fpu/mptan.c: Remove.
4381 * sysdeps/i386/fpu/s_tan.S: Likewise.
4382 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4383 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4384 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4385 * math/libm-test.inc (tan_test): Add more tests and enable more
4386 tests for double and long double.
4387 * sysdeps/i386/fpu/libm-test-ulps: Update.
4388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4389
6a1bd2a1
JK
43902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4391
4392 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4393 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4394
10a803e0
RM
43952012-03-16 Roland McGrath <roland@hack.frob.com>
4396
4397 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4398 * configure.in: Use it for both main tree and add-ons.
4399 * configure: Regenerated.
4400
f196c7f7
L
44012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4404
8848d99d
JM
44052012-03-16 Joseph Myers <joseph@codesourcery.com>
4406
96cbe7f4
JM
4407 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4408 in comment.
4409
8848d99d
JM
4410 [BZ #13851]
4411 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4412 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4416 infinite argument.
4417 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4419 != 0 for prec == 2.
4420 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4421 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4422 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4423 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4424 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4425 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4426 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4427 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4428 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4429 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4430 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4431 * math/libm-test.inc (cos_test): Add more tests and enable more
4432 tests for long double.
4433 (sin_test): Likewise.
4434 (sincos_test): Likewise.
4435 * sysdeps/i386/fpu/libm-test-ulps: Update.
4436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4437
dd7f4703
DM
44382012-03-16 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/sparc/fpu/math_private.h: New file.
4441
006f1daa
DM
44422012-03-15 David S. Miller <davem@davemloft.net>
4443
c0c83bc8
DM
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4445 file.
e6a62e18 4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4448 file.
e6a62e18
DM
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4455 sysdep routines.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4457
88cb87d9
DM
4458 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4459 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4460
006f1daa 4461 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4463 sparc-ifunc.h
006f1daa 4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4466 Likewise.
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4468 Likewise.
006f1daa
DM
4469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4473 Likewise.
006f1daa
DM
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4479 Likewise.
4480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4481 Likewise.
006f1daa
DM
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4503 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4506
11e0098e
AS
45072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4508
4509 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4510 scaling.
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512
e85b09d0
AJ
45132012-03-15 Andreas Jaeger <aj@suse.de>
4514
4515 [BZ #13852]
4516 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4517 ieee754/flt-32 implementation for sin, cos and sincos.
4518 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4519 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4520 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4521 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4522 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4523 ieee754/flt-32 implementation for tan.
4524
4525 * math/libm-test.inc (cos_test): Enable some large input tests for
4526 float as well
4527 (sin_test): Likewise.
4528 (sincos_test): Likewise.
4529 (tan_test): Add tests for large input.
4530
4531 * sysdeps/i386/fpu/libm-test-ulps: Update.
4532
81c64153
AJ
45332012-03-15 Andreas Jaeger <aj@suse.de>
4534
4535 [BZ #13658]
4536 * math/libm-test.inc (cos_test): Add more test cases.
4537 (sin_test): Likewise.
4538 (sincos_test): Likewise.
4539
7bbfa5c6
AJ
45402012-03-15 Andreas Jaeger <aj@suse.de>
4541
4542 [BZ #13837]
4543 * math/libm-test.inc (cos_test): Add a test case for large input
4544 value.
4545 (sin_test): Likewise.
4546 (sincos_test): Likewise.
4547
45482012-03-15 Andreas Jaeger <aj@suse.de>,
4549 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #13658]
0671f479 4552 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4553 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4554 * sysdeps/i386/fpu/branred.c: Likewise.
4555 * sysdeps/i386/fpu/dosincos.c: Likewise.
4556 * sysdeps/i386/fpu/mpa.c: Likewise.
4557 * sysdeps/i386/fpu/s_cos.S: Likewise.
4558 * sysdeps/i386/fpu/s_sin.S: Likewise.
4559 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4560 * sysdeps/i386/fpu/sincos32.c: Likewise.
4561
4562 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4563 Define.
4564 (libc_feupdateenv_53bit): Define.
4565 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4566 Define.
4567 (libc_feupdateenv_53bit): Define.
4568
4569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4570 53 bit (without extend i386 double precision).
4571
4572 * math/libm-test.inc (sincos_test): Add tests for large input.
4573 (sin): Likewise.
4574 (cos): Likewise.
4575
4576 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4577
9cad04ea
AS
45782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4579
4580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4581
f7062b9a
DM
45822012-03-15 David S. Miller <davem@davemloft.net>
4583
4584 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4585 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4586 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4587 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4600 file.
f7062b9a 4601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4603 file.
f7062b9a 4604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4606 file.
f7062b9a 4607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4609 file.
f7062b9a
DM
4610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4612 fmin/fmax sysdep routines.
4613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4614
7bd951ff
DM
46152012-03-14 David S. Miller <davem@davemloft.net>
4616
559398ab
DM
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4646 routines.
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4648 file.
559398ab 4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4651 file.
559398ab 4652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4654 file.
559398ab 4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4657 file.
559398ab 4658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4660 file.
559398ab 4661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4663 file.
4664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4665 file.
4666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4667 file.
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4669 file.
4670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4671 New file.
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4673 file.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4675 file.
559398ab 4676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4678 file.
559398ab 4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4681 file.
559398ab 4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4684 file.
559398ab 4685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4687 VIS3 routines.
559398ab
DM
4688
4689 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4690 New file.
4691
5a1c1e32
DM
4692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4693
eae47a36
DM
4694 * sysdeps/sparc/configure.in: New file.
4695 * sysdeps/sparc/configure: Generate.
4696 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4697 * configure: Regenerate.
4698 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4699 * config.make.in (have-as-vis3): New.
4700 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4701 available use -Av9d instead of -Av9a.
4702 * sysdeps/sparc/sparc64/Makefile: Likewise.
4703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4705 New file.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4707 file.
4708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4709 New file.
4710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4711 file.
eae47a36
DM
4712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4717
c0c83bc8
DM
4718 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4719 fzeros/fnegs to load 0x80000000 into a float register instead of
4720 using the stack.
7bd951ff
DM
4721 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4722
bd951ccb
JM
47232012-03-14 Joseph Myers <joseph@codesourcery.com>
4724
4725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4726 bits/syscall.h.
4727 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4728 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4729 ($(inst_includedir)/bits/syscall.h): Remove rule.
4730 ($(objpfx)bits/syscall.d): Include instead of
4731 $(objpfx)syscall-list.d.
4732 (generated): Change syscall-list.h and syscall-list.d to
4733 bits/syscall.h and bits/syscall.d.
4734
bb4e6db2
RM
47352012-03-14 Roland McGrath <roland@hack.frob.com>
4736
4737 [BZ #13846]
4738 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4739
aa4a2ae1
JM
47402012-03-14 Joseph Myers <joseph@codesourcery.com>
4741
e456826d
JM
4742 [BZ #13841]
4743 * math/s_csqrt.c: Include <float.h>.
4744 (__csqrt): Scale large or subnormal inputs.
4745 * math/s_csqrtf.c: Likewise.
4746 * math/s_csqrtl.c: Likewise.
4747 * math/libm-test.inc (csqrt_test): Add more tests.
4748 * sysdeps/i386/fpu/libm-test-ulps: Update.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4750
aa4a2ae1
JM
4751 [BZ #13840]
4752 * math/libm-test.inc (hypot_test): Add more tests.
4753
7c10fd35
DM
47542012-03-13 David S. Miller <davem@davemloft.net>
4755
4756 [BZ #13840]
4757 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4758 double-precision for the calculation instead of scaling.
4759
f453b98b
JM
47602012-03-13 Joseph Myers <joseph@codesourcery.com>
4761
4762 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4763 manipulate bits before adding and subtracting TWO52[sx].
4764 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4766 Likewise.
4767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4768
09a3453f
DM
47692012-03-13 David S. Miller <davem@davemloft.net>
4770
8e59da90
DM
4771 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4772 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4774 rtld-global-offsets.h
4775 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4776
2a8ab7f2
DM
4777 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4778 large parameters.
4779
10f62770
DM
4780 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4781
5f0bdb18
DM
4782 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4783 'err' in the ifdef scope in which it is actually used.
4784
09a3453f
DM
4785 * nss/nss_db/db-init.c: Include string.h
4786
b4b2eb5e
DM
47872012-03-12 David S. Miller <davem@davemloft.net>
4788
98bb2f1c
DM
4789 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4790 masking out of the most significant byte of random value used.
4791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4792 Fix coding style in previous change.
4793
b4b2eb5e
DM
4794 * sysdeps/unix/sysv/linux/kernel-features.h
4795 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4796 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4797 expression.
4798 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4799 later.
4800
6e226b09
DM
48012012-03-11 David S. Miller <davem@davemloft.net>
4802
a1bcbd40
DM
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4804 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4805 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4806 for 'resultvar' otherwise things get truncated on 64-bit.
4807
cb9d6174
DM
4808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4809 Fix masking out of the most significant byte of random value used.
4810
6e226b09
DM
4811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4812
058c132d
AS
48132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
2d2cd515
DM
48172012-03-09 David S. Miller <davem@davemloft.net>
4818
4819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4820 variables with appropriate CPP guards.
4821 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4822 frame pointer, not the stack pointer. Correct layout comments. Fix test
4823 on resulting framesize and the management of the outregs buffer for pltexit.
4824 Preserve floating point return values across _dl_call_pltexit call.
4825 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4826 framesize and the management of the outregs buffer for pltexit.
4827 Preserve floating point return values across _dl_call_pltexit
4828 call.
4829 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4830 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4831 (print_exit): Fix format string for return register value.
4832
9a07f9d0
JM
48332012-03-10 Joseph Myers <joseph@codesourcery.com>
4834
4835 * sunrpc/Makefile (others): Add rpcgen.
4836 ($(objpfx)rpcgen): Remove special build rule and dependency on
4837 libc.
4838 * sunrpc/rpcgen.c: New file.
4839
547b5e30
PE
48402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4841
c524201a
PE
4842 [BZ #13673]
4843 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4844 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4845 * sysdeps/i386/crti.S: Likewise.
4846 * sysdeps/i386/crtn.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4848 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4849 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4850 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4851 * sysdeps/sh/crti.S: Likewise.
4852 * sysdeps/sh/crtn.S: Likewise.
4853 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4854
7b6235f2
PE
4855 [BZ #13673]
4856 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4857 with URL.
4858 * locale/programs/locfile-kw.gperf: Likewise.
4859 * locale/programs/charmap-kw.h: Regenerated.
4860 * locale/programs/locfile-kw.h: Likewise.
4861
547b5e30
PE
4862 [BZ #13673]
4863 * intl/plural.y: Replace FSF snail mail address with URL.
4864 * intl/plural.c: Regenerated.
4865
5f0a5dae
RH
48662012-03-09 Richard Henderson <rth@twiddle.net>
4867
4868 * include/math_private.h: Remove file.
4869 * math/math_private.h: Move file ...
4870 * sysdeps/generic/math_private.h: ... here.
4871
b8c03620
RH
4872 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4873 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4874 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4875
4e234f5d 4876 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4877 and <math_private.h>.
4878 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4879 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4880 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4881 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4882 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4966 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4967 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4968 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4969 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4970 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4971 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4972 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4973 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4978 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4979 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4980 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4981 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4982 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4983 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4984 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4985 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4986 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4987 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4988 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4989 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4990 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4992 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4993 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4994 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4995 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4997 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4998 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4999 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5000 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5001 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5002 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5003 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5004 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5005 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5011 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5012 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5013 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5015 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5016 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5017 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5018 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5019 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5020 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5021 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5022 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5023 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5024 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5025 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5026 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5027 * sysdeps/ieee754/k_standard.c: Likewise.
5028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5043 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5044 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5056 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5057 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5058 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5059 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5060 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5061 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5062 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5063 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5064 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5065 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5066 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5068 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5069 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5071 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5135 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5136 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5148 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5155 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5176 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5177 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5188 * sysdeps/ieee754/s_lib_version.c: Likewise.
5189 * sysdeps/ieee754/s_matherr.c: Likewise.
5190 * sysdeps/ieee754/s_signgam.c: Likewise.
5191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5192 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5194 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5195 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5196 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5197 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5198 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5199 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5200 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5201 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5202 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5203 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5204 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5205 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5206 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5207 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5208 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5209 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5212
1991fa03
JM
52132012-03-09 Joseph Myers <joseph@codesourcery.com>
5214
5215 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5216 * sunrpc/rpc_main.c: Likewise.
5217 * sunrpc/rpc_svcout.c: Likewise.
5218
60d6f5a6
DM
52192012-03-09 David S. Miller <davem@davemloft.net>
5220
5221 * include/math_private.h: New file.
5222
4962050e
JM
52232012-03-09 Joseph Myers <joseph@codesourcery.com>
5224
02a6f887
JM
5225 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5226 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5227 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5228 from <bits/socket_type.h>.
5229 (enum __socket_type): Don't define here.
5230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5232 bits/socket_type.h.
5233
c6e013c1
JM
5234 [BZ #13566]
5235 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5236 checking __USE_GNU.
5237
4962050e
JM
5238 * Makerules ($(inst_includedir)/%.h): New rule.
5239 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5240 (install-others): Remove variable setting.
5241 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5242
38842f45
RH
52432012-03-08 Richard Henderson <rth@twiddle.net>
5244
67bb6da6
RH
5245 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5246 from macro to inline function; merge with the
5247 !__LIBC_INTERNAL_MATH_INLINES version.
5248 (__ieee754_sqrtf): Likewise.
5249
15194b4b
RH
5250 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5251 to inline function.
5252 (__rintf, __floor, __floorf): Likewise.
5253
64e21ede
RH
5254 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5255 macro to inline function.
5256 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5257
38842f45
RH
5258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5259 not <math/math_private.h>.
5260
c64bf5fe
DM
52612012-03-08 David S. Miller <davem@davemloft.net>
5262
5263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5264 copyright year.
5265 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5266
82d86f28
TS
52672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5268
5269 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5270 normalization.
5271 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5272 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5273
aea5d727
UD
52742012-03-08 Ulrich Drepper <drepper@gmail.com>
5275
5276 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5277 be defined individually, they must be defined as a block. Define
5278 S for printing a string instead of hidint the different by using a
5279 macro for adding the 'l'.
5280 * stdio-common/tst-fphex-wide.c: Adjust.
5281
70bca0a3
MP
52822012-03-07 Marek Polacek <polacek@redhat.com>
5283
5284 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5285
65b81130
MP
52862012-03-08 Marek Polacek <polacek@redhat.com>
5287
5288 [BZ #13806]
5289 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5290 * stdio-common/tst-fphex.c: Define a few macros to make the
5291 test reusable. Use them.
5292 * stdio-common/tst-fphex-wide.c: New file.
5293
07037eeb
JM
52942012-03-08 Joseph Myers <joseph@codesourcery.com>
5295
a7a93d50
JM
5296 [BZ #6911]
5297 * manual/macros.texi (gnusystems): New macro.
5298 (nongnusystems): Likewise.
5299 (gnulinuxhurdsystems): Likewise.
5300 (gnuhurdsystems): Likewise..
5301 (gnulinuxsystems): Likewise.
5302 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5303 variants of the GNU system, not "GNU system".
5304 * manual/conf.texi: Likewise.
5305 * manual/errno.texi: Likewise. Update example of errno macro
5306 expansion.
5307 * manual/filesys.texi: Likewise.
5308 (getumask): Document as specific to GNU/Hurd.
5309 * manual/install.texi: Likewise. Reword some references to
5310 GNU/Linux.
5311 * manual/intro.texi: Likewise.
5312 * manual/io.texi: Likewise.
5313 (File Name Portability): Detail which constraints are inapplicable
5314 to all GNU systems and which are only inapplicable to GNU/Hurd.
5315 * manual/job.texi: Likewise.
5316 * manual/llio.texi: Likewise.
5317 (O_NOCTTY): Document as present on GNU/Linux.
5318 * manual/maint.texi: Likewise.
5319 * manual/memory.texi: Likewise.
5320 * manual/pattern.texi: Likewise.
5321 * manual/pipe.texi: Likewise.
5322 * manual/process.texi: Likewise.
5323 * manual/resource.texi: Likewise.
5324 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5325 child on GNU/Hurd.
5326 * manual/setjmp.texi: Likewise.
5327 * manual/signal.texi: Likewise.
5328 * manual/startup.texi: Likewise.
5329 * manual/stdio.texi: Likewise.
5330 * manual/terminal.texi: Likewise.
5331 (ONLCR): Document as POSIX.
5332 (OXTABS): Document availability on GNU/Linux as XTABS.
5333 (ONOEOT): Document availability separately from other bits.
5334 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5335 * manual/time.texi: Likewise.
5336 * manual/users.texi: Likewise.
5337 * INSTALL: Regenerated.
5338 * sysdeps/gnu/errlist.c: Regenerated.
5339
07037eeb
JM
5340 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5341 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5342 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5343 puts.
5344 * configure: Regenerated.
5345
d1d3431a
JM
53462012-03-07 Joseph Myers <joseph@codesourcery.com>
5347
af6a1e37
JM
5348 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5349 default includes instead of AC_HEADER_CHECK.
5350 * sysdeps/i386/configure: Regenerated.
5351
d1d3431a
JM
5352 [BZ #10716]
5353 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5354 * math/s_cacoshf.c (__cacoshf): Likewise.
5355 * math/s_cacoshl.c (__cacoshl): Likewise.
5356 * math/s_casinh.c (__casinh): Set signs of result from argument.
5357 * math/s_casinhf.c (__casinhf): Likewise.
5358 * math/s_casinhl.c (__casinhl): Likewise.
5359 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5360 (casinh_test): Add more tests.
5361 * sysdeps/i386/fpu/libm-test-ulps: Update.
5362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363
482ff4da
UD
53642012-03-07 Ulrich Drepper <drepper@gmail.com>
5365
872fda05
UD
5366 * po/zh_TW.po: Update from translation team.
5367
a4300c7a
UD
5368 * login/Makefile (distribute): Remove variable.
5369 * catgets/Makefile: Likewise.
5370 * mach/Makefile: Likewise.
5371 * malloc/Makefile: Likewise.
5372 * misc/Makefile: Likewise.
5373 * iconv/Makefile: Likewise.
5374 * nscd/Makefile: Likewise.
5375 * hurd/Makefile: Likewise.
5376 * manual/Makefile: Likewise.
5377 * locale/Makefile: Likewise.
5378 * intl/Makefile: Likewise.
5379 * conform/Makefile: Likewise.
5380 * nss/Makefile: Likewise.
5381 * time/Makefile: Likewise.
5382 * soft-fp/Makefile: Likewise.
5383 * dirent/Makefile: Likewise.
5384 * gmon/Makefile: Likewise.
5385 * po/Makefile: Likewise.
5386 * rt/Makefile: Likewise.
5387 * socket/Makefile: Likewise.
5388 * math/Makefile: Likewise.
5389 * signal/Makefile: Likewise.
5390 * debug/Makefile: Likewise.
5391 * elf/Makefile: Likewise.
5392 * timezone/Makefile: Likewise.
5393 * stdlib/Makefile: Likewise.
5394 * iconvdata/Makefile: Likewise.
5395 * sunrpc/Makefile: Likewise.
5396 * io/Makefile: Likewise.
5397 * argp/Makefile: Likewise.
5398 * inet/Makefile: Likewise.
5399 * hesiod/Makefile: Likewise.
5400 * grp/Makefile: Likewise.
5401 * csu/Makefile: Likewise.
5402 * wctype/Makefile: Likewise.
5403 * crypt/Makefile: Likewise.
5404 * libio/Makefile: Likewise.
5405 * string/Makefile: Likewise.
5406 * nis/Makefile: Likewise.
5407 * resolv/Makefile: Likewise.
5408 * stdio-common/Makefile: Likewise.
5409 * wcsmbs/Makefile: Likewise.
5410 * dlfcn/Makefile: Likewise.
5411 * posix/Makefile: Likewise.
5412
3b7c4e74 5413 [BZ #6959]
482ff4da
UD
5414 * timezone/Makefile: Don't install timezone files, just the programs
5415 and scripts.
5416
f72ed77d
UD
54172012-03-06 Ulrich Drepper <drepper@gmail.com>
5418
a000466f
UD
5419 * nss/databases.def: Add missing gshadow entry.
5420
f72ed77d
UD
5421 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5422
a53b7a4e
MP
54232012-03-06 Marek Polacek <polacek@redhat.com>
5424
5425 [BZ #13726]
5426 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5427 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5428 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5429 * stdio-common/tst-long-dbl-fphex.c: New file.
5430
e9258400
DM
54312012-03-06 David S. Miller <davem@davemloft.net>
5432
5433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5434 (set_obp_int): New function.
5435 (get_obp_int): New function.
5436 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5438 Avoid unused variable warnings on 'val' and use builtin_expect.
5439 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5440 __builtin_expect.
e9258400
DM
5441 (INLINE_CLONE_SYSCALL): Likewise.
5442
3bd2c723
DM
54432012-03-05 David S. Miller <davem@davemloft.net>
5444
5445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5446
bbb78d03
AS
54472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5448
884c5db4
AS
5449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5450
bbb78d03
AS
5451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5452 only for |x| >= 40.
5453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5454
1c9f702a 54552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5456
5457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5458 Replace gettimeofday with __vdso_gettimeofday.
5459
7be16f82
RM
5460 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5461 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5462 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5463
5464 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5465 time with __vdso_time.
5466
ed58a00f
JM
54672012-03-05 Joseph Myers <joseph@codesourcery.com>
5468
5469 * manual/lang.texi (size_t): Note types to which size_t may be
5470 equivalent with the GNU C Library, but do not describe when
5471 differences between them are significant.
5472
30ee4ced
AJ
54732012-03-05 Andreas Jaeger <aj@suse.de>
5474
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476
b7cd39e8
JM
54772012-03-05 Joseph Myers <joseph@codesourcery.com>
5478
5479 [BZ #3976]
5480 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5481 (__ieee754_pow): Save and restore rounding mode and use
5482 round-to-nearest for main computations.
5483 * math/libm-test.inc (pow_test_tonearest): New function.
5484 (pow_test_towardzero): Likewise.
5485 (pow_test_downward): Likewise.
5486 (pow_test_upward): Likewise.
5487 (main): Call the new functions.
5488 * sysdeps/i386/fpu/libm-test-ulps: Update.
5489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5490
5491 [BZ #3976]
5492 * math/libm-test.inc (cosh_test_tonearest): New function.
5493 (cosh_test_towardzero): Likewise.
5494 (cosh_test_downward): Likewise.
5495 (cosh_test_upward): Likewise.
5496 (sinh_test_tonearest): Likewise.
5497 (sinh_test_towardzero): Likewise.
5498 (sinh_test_downward): Likewise.
5499 (sinh_test_upward): Likewise.
5500 (main): Call the new functions.
5501 * sysdeps/i386/fpu/libm-test-ulps: Update.
5502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5503
6c6a98c9
TV
55042012-03-05 Tom de Vries <tom@codesourcery.com>
5505
5506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5507 default stack guard is set in last bytes.
5508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5509
21bb2d2e 55102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5511
21bb2d2e 5512 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5513
21bb2d2e
AJ
5514 [BZ #13656]
5515 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5516 possibly allocate from heap instead of stack.
5517 * stdio-common/bug-vfprintf-nargs.c: New file.
5518 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5519
c6922934
AS
55202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5521
5522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5523
bc957d53
MP
55242012-03-03 Marek Polacek <polacek@redhat.com>
5525
5526 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5527 * math/math_private.h: Likewise.
5528 * stdlib/tst-strtod.c: Likewise.
5529 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5530 * sysdeps/x86_64/bits/atomic.h: Likewise.
5531
6358490d
DM
55322012-03-02 David S. Miller <davem@davemloft.net>
5533
5534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5538 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5539 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5540 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5541 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5542
01ae168d
RM
55432012-03-02 Roland McGrath <roland@hack.frob.com>
5544
d9a17c07
RM
5545 [BZ #13792]
5546 * manual/examples/README: New file, says the example source files
5547 can be used under GPL>=2.
5548 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5549 line containing just "*/".
5550 * manual/examples/add.c: Add copyright header (GPL>=2).
5551 * manual/examples/argp-ex1.c: Likewise.
5552 * manual/examples/argp-ex2.c: Likewise.
5553 * manual/examples/argp-ex3.c: Likewise.
5554 * manual/examples/argp-ex4.c: Likewise.
5555 * manual/examples/atexit.c: Likewise.
5556 * manual/examples/db.c: Likewise.
5557 * manual/examples/dir.c: Likewise.
5558 * manual/examples/dir2.c: Likewise.
5559 * manual/examples/execinfo.c: Likewise.
5560 * manual/examples/filecli.c: Likewise.
5561 * manual/examples/filesrv.c: Likewise.
5562 * manual/examples/fmtmsgexpl.c: Likewise.
5563 * manual/examples/genpass.c: Likewise.
5564 * manual/examples/inetcli.c: Likewise.
5565 * manual/examples/inetsrv.c: Likewise.
5566 * manual/examples/isockad.c: Likewise.
5567 * manual/examples/longopt.c: Likewise.
5568 * manual/examples/memopen.c: Likewise.
5569 * manual/examples/memstrm.c: Likewise.
5570 * manual/examples/mkfsock.c: Likewise.
5571 * manual/examples/mkisock.c: Likewise.
5572 * manual/examples/mygetpass.c: Likewise.
5573 * manual/examples/pipe.c: Likewise.
5574 * manual/examples/popen.c: Likewise.
5575 * manual/examples/rprintf.c: Likewise.
5576 * manual/examples/search.c: Likewise.
5577 * manual/examples/select.c: Likewise.
5578 * manual/examples/setjmp.c: Likewise.
5579 * manual/examples/sigh1.c: Likewise.
5580 * manual/examples/sigusr.c: Likewise.
5581 * manual/examples/stpcpy.c: Likewise.
5582 * manual/examples/strdupa.c: Likewise.
5583 * manual/examples/strftim.c: Likewise.
5584 * manual/examples/strncat.c: Likewise.
5585 * manual/examples/subopt.c: Likewise.
5586 * manual/examples/swapcontext.c: Likewise.
5587 * manual/examples/termios.c: Likewise.
5588 * manual/examples/testopt.c: Likewise.
5589 * manual/examples/testpass.c: Likewise.
5590 * manual/examples/timeval_subtract.c: Likewise.
5591
01ae168d
RM
5592 [BZ #13792]
5593 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5594 function to ...
5595 * manual/timeval_subtract.c.texi: ... here, new file.
5596
49efa33d
DM
55972012-03-02 David S. Miller <davem@davemloft.net>
5598
5599 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5600
28afd92d
JM
56012012-03-02 Joseph Myers <joseph@codesourcery.com>
5602
804360ed
JM
5603 [BZ #3976]
5604 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5605 (__sin): Save and restore rounding mode and use round-to-nearest
5606 for all computations.
5607 (__cos): Save and restore rounding mode and use round-to-nearest
5608 for all computations.
5609 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5610 <fenv.h>.
5611 (tan): Save and restore rounding mode and use round-to-nearest for
5612 all computations.
5613 * math/libm-test.inc (cos_test_tonearest): New function.
5614 (cos_test_towardzero): Likewise.
5615 (cos_test_downward): Likewise.
5616 (cos_test_upward): Likewise.
5617 (sin_test_tonearest): Likewise.
5618 (sin_test_towardzero): Likewise.
5619 (sin_test_downward): Likewise.
5620 (sin_test_upward): Likewise.
5621 (tan_test_tonearest): Likewise.
5622 (tan_test_towardzero): Likewise.
5623 (tan_test_downward): Likewise.
5624 (tan_test_upward): Likewise.
5625 (main): Call the new functions.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628
a6d06d7b
JM
5629 [BZ #10135]
5630 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5631 small n, then large n, before computing and testing k+n.
5632 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5634 Likewise.
5635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5636 Likewise.
5637 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5638 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5645 * math/libm-test.inc (scalbn_test): Add more tests.
5646 (scalbln_test): Likewise.
5647
07e12bb3
JM
5648 * manual/filesys.texi (mode_t): Describe constraints on size and
5649 signedness, not exact equivalence to a particular type.
5650 (ino_t): Likewise.
5651 (ino64_t): Likewise.
5652 (dev_t): Likewise.
5653 (nlink_t): Likewise.
5654 (blkcnt_t): Likewise.
5655 (blkcnt64_t): Likewise.
5656 * manual/llio.texi (off_t): Likewise.
5657
28afd92d
JM
5658 [BZ #3976]
5659 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5660 (__ieee754_exp): Save and restore rounding mode and use
5661 round-to-nearest for all computations.
5662 * math/libm-test.inc (exp_test_tonearest): New function.
5663 (exp_test_towardzero): Likewise.
5664 (exp_test_downward): Likewise.
5665 (exp_test_upward): Likewise.
5666 (main): Call the new functions.
5667 * sysdeps/i386/fpu/libm-test-ulps: Update.
5668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5669
b1eeb65d
CD
56702012-03-01 Chris Demetriou <cgd@google.com>
5671
5672 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5673 have predictable order.
5674
53362a4b
DM
56752012-03-01 David S. Miller <davem@davemloft.net>
5676
3c969083
DM
5677 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5678
759707de
DM
5679 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5680 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5681 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5682 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5683
dfdb8ff2
DM
5684 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5685 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5686 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5688 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5689 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5690 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5691 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5692 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5693
ead89f96
DM
5694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5695
7f66bd07
DM
5696 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5697 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5698 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5699
53362a4b
DM
5700 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5701 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5702 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5707 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5708 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5709 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5710 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5716 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5717 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5718 * sysdeps/sparc/elf/configure: Regenerated.
5719
7b1902cb
JM
57202012-03-01 Joseph Myers <joseph@codesourcery.com>
5721
bec039bc
JM
5722 * configure.in (AS, LD): Require binutils 2.20 or later.
5723 * configure: Regenerated.
5724 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5725 as required minimum version.
5726 * INSTALL: Regenerated.
5727
7b1902cb
JM
5728 [BZ #2541]
5729 [BZ #4108]
5730 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5731 before squaring exponent.
5732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5733 bottom long double and 27 bits of top long double before squaring
5734 exponent.
5735 * math/libm-test.inc (erfc_test): Add more tests.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739
f775c276
KT
57402012-03-01 Kai Tietz <ktietz@redhat.com>
5741
5742 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5743 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5744 containing bit-fields.
5745 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5746 * soft-fp/single.h (_FP_UNION_S): Likewise.
5747 * soft-fp/double.h (_FP_UNION_D): Likewise.
5748
5b8a4d4a
JM
57492012-02-29 Joseph Myers <joseph@codesourcery.com>
5750
0bab47b6
JM
5751 [BZ #13786]
5752 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5753 not include ../strcmp.S.
5754 [USE_AS_STRNCASECMP_L]: Likewise.
5755 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5756 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5757 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5758 (__strncasecmp_l_ia32): Define as alias to
5759 __strncasecmp_l_nonascii.
5760
0fcad3e2
JM
5761 [BZ #5794]
5762 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5763 * sysdeps/i386/fpu/libm-test-ulps: Update.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
5b8a4d4a
JM
5766 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768
8fdceb2e
JL
57692012-02-29 Jeff Law <law@redhat.com>
5770
5771 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5772 out of bounds read.
5773
1f393a11
MP
57742012-02-29 Marek Polacek <polacek@redhat.com>
5775
5776 [BZ #13706]
5777 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5778 * elf/Makefile: Add rules to run tst-unused-dep.out.
5779
8847f037
DM
57802012-02-28 David S. Miller <davem@davemloft.net>
5781
5782 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5783 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5786 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5787 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5788
169d7f11
JM
57892012-02-29 Joseph Myers <joseph@codesourcery.com>
5790
5791 * math/libm-test.inc (llround_test): Move one test from
5792 lround_test. Use TEST_f_L in moved test.
5793 (lround_test): Move misplaced test to llround_test. Add testcase
5794 from bug 2561.
5795
39adf059
UD
57962012-02-28 Ulrich Drepper <drepper@gmail.com>
5797
5798 * sysdeps/x86_64/fpu/e_expf.S: New file.
5799 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5800
71b5d1c5
SB
58012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5802
5803 [BZ #13637]
5804 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5805 of remain_len that may cause incomplete multi-byte character and
5806 false match.
5807 * posix/bug-regex33.c: New file.
5808 * posix/Makefile (tests): Add bug-regex33.
5809
1f77f049
JM
58102012-02-28 Joseph Myers <joseph@codesourcery.com>
5811
5812 * manual/macros.texi: New file.
5813 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5814 * manual/libc.texinfo: Include macros.texi.
5815 * manual/creatute.texi: Likewise.
5816 * manual/install.texi: Likewise.
5817 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5818 @glibcadj{} in references to the GNU C Library.
5819 * manual/charset.texi: Likewise.
5820 * manual/conf.texi: Likewise.
5821 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5822 when not using those macros.
5823 * manual/creature.texi: Likewise.
5824 * manual/crypt.texi: Likewise.
5825 * manual/errno.texi: Likewise.
5826 * manual/filesys.texi: Likewise.
5827 * manual/header.texi: Likewise.
5828 * manual/install.texi: Likewise.
5829 * manual/intro.texi: Likewise.
5830 * manual/io.texi: Likewise.
5831 * manual/job.texi: Likewise.
5832 * manual/lang.texi: Likewise.
5833 * manual/libc.texiinfo: Likewise.
5834 * manual/llio.texi: Likewise.
5835 * manual/locale.texi: Likewise.
5836 * manual/maint.texi: Likewise.
5837 * manual/math.texi: Likewise.
5838 * manual/memory.texi: Likewise.
5839 * manual/message.texi: Likewise.
5840 * manual/nss.texi: Likewise.
5841 * manual/pattern.texi: Likewise.
5842 * manual/process.texi: Likewise.
5843 * manual/resource.texi: Likewise.
5844 * manual/search.texi: Likewise.
5845 * manual/setjmp.texi: Likewise.
5846 * manual/signal.texi: Likewise.
5847 * manual/socket.texi: Likewise.
5848 * manual/startup.texi: Likewise.
5849 * manual/stdio.texi: Likewise.
5850 * manual/string.texi: Likewise.
5851 * manual/sysinfo.texi: Likewise.
5852 * manual/syslog.texi: Likewise.
5853 * manual/terminal.texi: Likewise.
5854 * manual/time.texi: Likewise.
5855 * manual/users.texi: Likewise.
5856 * INSTALL: Regenerated.
5857 * NOTES: Regenerated.
d40c5d54 5858 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5859
450bf206
AS
58602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5861
5862 * include/dirent.h: Include <dirstream.h> before
5863 <dirent/dirent.h>.
5864
741a235b
DM
58652012-02-28 David S. Miller <davem@davemloft.net>
5866
5867 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5868 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5869 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5870 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5871
d6b5aa58
DM
58722012-02-27 David S. Miller <davem@davemloft.net>
5873
1aff59a3
DM
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5876 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5877 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5878
d6b5aa58
DM
5879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5880 frame pointer instead of stack pointer relative arg slot.
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5882 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5883 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5884
433f48bf
CD
58852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5886
5887 [BZ #3992]
5888 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5889
d674b76d
DM
58902012-02-27 David S. Miller <davem@davemloft.net>
5891
5892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5896 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5897 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5898 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5899 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5900
0e7727f7
JM
59012012-02-27 Joseph Myers <joseph@codesourcery.com>
5902
5903 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5904 later. Allow versions 5-9.
43be4ca2 5905 * configure: Regenerated.
0e7727f7
JM
5906 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5907 required minimum version and 4.6 as recommended version. Do not
5908 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5909 * INSTALL: Regenerated.
0e7727f7 5910
a78bc654
DM
59112012-02-27 David S. Miller <davem@davemloft.net>
5912
428d5830
DM
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5917 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5918 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5919 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5920 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5921
a78bc654
DM
5922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5923 manipulate bits before adding and subtracting TWO112[sx].
5924 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5925
4579f81c
RM
59262012-02-27 Roland McGrath <roland@hack.frob.com>
5927
36c8acb4
RM
5928 [BZ #13775]
5929 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5930 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5931 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5932 being in POSIX, because they are in 1003.1-2008.
5933
84ad622b
RM
5934 * rt/tst-aio.c: Include <fcntl.h>.
5935 * rt/tst-aio7.c: Likewise.
5936 * rt/tst-aio64.c: Likewise.
5937
4579f81c
RM
5938 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5939
abd923db
JM
59402012-02-27 Joseph Myers <joseph@codesourcery.com>
5941
5942 * manual/install.texi (--with-headers): Describe headers as
5943 interface headers, not private headers.
5944 (Specific advice for GNU/Linux systems): Describe use of headers
5945 from "make headers_install", not private headers from older
5946 kernels.
43be4ca2 5947 * INSTALL: Regenerated.
abd923db
JM
5948 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5949 Change to 2.6.19.
5950 * sysdeps/unix/sysv/linux/configure: Regenerated.
5951
6664049b
JM
5952 * manual/llio.texi (fclean): Remove documentation.
5953
bb8b6697
JM
5954 * manual/Makefile (libc-texi-generated): New variable. Include
5955 version.texi.
5956 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5957 $(libc-texi-generated), not duplicated list of files.
5958 (version.texi, stamp-version): New rules.
5959 (realclean): Remove $(libc-texi-generated), not individual files
5960 from that list. Do not remove dir-add.texinfo.
5961 * manual/libc.texinfo: Comment out uses of edition numbers and
5962 references to printed manual. Remove last-updated dates.
5963 (EDITION): Comment out.
5964 (ISBN): Likewise.
5965 (VERSION, UPDATED): Remove.
5966 (version.texi): Include.
5967
12e5c3b9
AS
59682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5969
5970 * sysdeps/posix/spawni.c: Include <signal.h>.
5971 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5972 * sysdeps/pthread/aio_fsync.c: Likewise.
5973
4efeffc1 59742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5975
ba63ba08
UD
5976 * conform/Makefile (tests): Run only when not cross-compiling and
5977 when fast-check is not defined.
5978
d94a4670
UD
5979 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5980 * conform/data/limits.h-data: Fixes for POSIX2008.
5981 * conform/run-conformtest.sh: Run all tests.
5982 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5983 headers.
5984 * include/bits/dlfcn.h: Likewise.
5985 * include/langinfo.h: Likewise.
5986 * include/monetary.h: Likewise.
5987 * include/sys/poll.h: Likewise.
5988
5989 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5990 for __USE_GNU.
5991 * posix/spawn.h: Define __need_sigset_t.
5992 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5993 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5994 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5995 to get sigevent_t only.
5996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5997 only for __USE_GNU.
5998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5999 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6000 process_vm_writev only for __USE_GNU.
6001 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6002
6003 * conform/Makefile: For now ignore errors from run-conformtest.
6004 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6005 POSIX to avoid namespace pollution. Don't prepend headers.
6006 * conform/data/aio.h-data: Fixes for POSIX testing.
6007 * conform/data/fcntl.h-data: Likewise.
6008 * conform/data/glob.h-data: Likewise.
6009 * conform/data/grp.h-data: Likewise.
6010 * conform/data/pthread.h-data: Likewise.
6011 * conform/data/pwd.h-data: Likewise.
6012 * conform/data/signal.h-data: Likewise.
6013 * conform/data/spawn.h-data: Likewise.
6014 * conform/data/stdio.h-data: Likewise.
6015 * conform/data/stdlib.h-data: Likewise.
6016 * conform/data/stropts.h-data: Likewise.
6017 * conform/data/sys/mman.h-data: Likewise.
6018 * conform/data/sys/stat.h-data: Likewise.
6019 * conform/data/sys/types.h-data: Likewise.
6020 * conform/data/sys/wait.h-data: Likewise.
6021 * conform/data/time.h-data: Likewise.
6022 * conform/data/unistd.h-data: Likewise.
6023 * conform/data/utime.h-data: Likewise.
6024
6025 * io/sys/stat.h: fchmod was always in POSIX.
6026 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6027 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6028 * rt/aio.h: Define __need_timespec before including <time.h>.
6029 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6030 struct. Add forward declaration of pthread_attr_t and use it in
6031 sigevent.
6032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6034 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6035 always remove CLK_TCK definition.
6036
c20105c3
AS
60372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6038
6039 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6040
7a270350
UD
60412012-02-25 Ulrich Drepper <drepper@gmail.com>
6042
31341567
UD
6043 * conform/run-conformtest.sh: New file.
6044 * conform/Makefile: Run run-conformtest for tests.
6045 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6046 support.
6047
6048 * conform/data/uchar.h-data: New file.
6049 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6050 * conform/data/arpa/inet.h-data: Likewise.
6051 * conform/data/assert.h-data: Likewise.
6052 * conform/data/complex.h-data: Likewise.
6053 * conform/data/cpio.h-data: Likewise.
6054 * conform/data/ctype.h-data: Likewise.
6055 * conform/data/dirent.h-data: Likewise.
6056 * conform/data/dlfcn.h-data: Likewise.
6057 * conform/data/errno.h-data: Likewise.
6058 * conform/data/fcntl.h-data: Likewise.
6059 * conform/data/float.h-data: Likewise.
6060 * conform/data/fmtmsg.h-data: Likewise.
6061 * conform/data/fnmatch.h-data: Likewise.
6062 * conform/data/ftw.h-data: Likewise.
6063 * conform/data/glob.h-data: Likewise.
6064 * conform/data/grp.h-data: Likewise.
6065 * conform/data/iconv.h-data: Likewise.
6066 * conform/data/inttypes.h-data: Likewise.
6067 * conform/data/langinfo.h-data: Likewise.
6068 * conform/data/libgen.h-data: Likewise.
6069 * conform/data/limits.h-data: Likewise.
6070 * conform/data/locale.h-data: Likewise.
6071 * conform/data/math.h-data: Likewise.
6072 * conform/data/monetary.h-data: Likewise.
6073 * conform/data/mqueue.h-data: Likewise.
6074 * conform/data/ndbm.h-data: Likewise.
6075 * conform/data/net/if.h-data: Likewise.
6076 * conform/data/netdb.h-data: Likewise.
6077 * conform/data/netinet/in.h-data: Likewise.
6078 * conform/data/nl_types.h-data: Likewise.
6079 * conform/data/poll.h-data: Likewise.
6080 * conform/data/pthread.h-data: Likewise.
6081 * conform/data/pwd.h-data: Likewise.
6082 * conform/data/regex.h-data: Likewise.
6083 * conform/data/sched.h-data: Likewise.
6084 * conform/data/search.h-data: Likewise.
6085 * conform/data/semaphore.h-data: Likewise.
6086 * conform/data/setjmp.h-data: Likewise.
6087 * conform/data/signal.h-data: Likewise.
6088 * conform/data/spawn.h-data: Likewise.
6089 * conform/data/stdarg.h-data: Likewise.
6090 * conform/data/stdio.h-data: Likewise.
6091 * conform/data/stdlib.h-data: Likewise.
6092 * conform/data/string.h-data: Likewise.
6093 * conform/data/strings.h-data: Likewise.
6094 * conform/data/stropts.h-data: Likewise.
6095 * conform/data/sys/ipc.h-data: Likewise.
6096 * conform/data/sys/mman.h-data: Likewise.
6097 * conform/data/sys/msg.h-data: Likewise.
6098 * conform/data/sys/resource.h-data: Likewise.
6099 * conform/data/sys/select.h-data: Likewise.
6100 * conform/data/sys/sem.h-data: Likewise.
6101 * conform/data/sys/shm.h-data: Likewise.
6102 * conform/data/sys/socket.h-data: Likewise.
6103 * conform/data/sys/stat.h-data: Likewise.
6104 * conform/data/sys/statvfs.h-data: Likewise.
6105 * conform/data/sys/time.h-data: Likewise.
6106 * conform/data/sys/timeb.h-data: Likewise.
6107 * conform/data/sys/times.h-data: Likewise.
6108 * conform/data/sys/types.h-data: Likewise.
6109 * conform/data/sys/uio.h-data: Likewise.
6110 * conform/data/sys/un.h-data: Likewise.
6111 * conform/data/sys/utsname.h-data: Likewise.
6112 * conform/data/sys/wait.h-data: Likewise.
6113 * conform/data/syslog.h-data: Likewise.
6114 * conform/data/tar.h-data: Likewise.
6115 * conform/data/termios.h-data: Likewise.
6116 * conform/data/utime.h-data: Likewise.
6117 * conform/data/utmpx.h-data: Likewise.
6118 * conform/data/varargs.h-data: Likewise.
6119 * conform/data/wchar.h-data: Likewise.
6120 * conform/data/wctype.h-data: Likewise.
6121 * conform/data/wordexp.h-data: Likewise.
6122
6123 * include/stropts.h: New file.
6124 * include/uchar.h: New file.
6125 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6126 * include/assert.h: Likewise.
6127 * include/ctype.h: Likewise.
6128 * include/dirent.h: Likewise.
6129 * include/dlfcn.h: Likewise.
6130 * include/fcntl.h: Likewise.
6131 * include/fnmatch.h: Likewise.
6132 * include/glob.h: Likewise.
6133 * include/grp.h: Likewise.
6134 * include/libio.h: Likewise.
6135 * include/locale.h: Likewise.
6136 * include/math.h: Likewise.
6137 * include/net/if.h: Likewise.
6138 * include/netdb.h: Likewise.
6139 * include/netinet/in.h: Likewise.
6140 * include/pthread.h: Likewise.
6141 * include/pwd.h: Likewise.
6142 * include/regex.h: Likewise.
6143 * include/sched.h: Likewise.
6144 * include/search.h: Likewise.
6145 * include/setjmp.h: Likewise.
6146 * include/signal.h: Likewise.
6147 * include/stdio.h: Likewise.
6148 * include/stdlib.h: Likewise.
6149 * include/string.h: Likewise.
6150 * include/sys/cdefs.h: Likewise.
6151 * include/sys/mman.h: Likewise.
6152 * include/sys/msg.h: Likewise.
6153 * include/sys/resource.h: Likewise.
6154 * include/sys/select.h: Likewise.
6155 * include/sys/socket.h: Likewise.
6156 * include/sys/stat.h: Likewise.
6157 * include/sys/statvfs.h: Likewise.
6158 * include/sys/time.h: Likewise.
6159 * include/sys/times.h: Likewise.
6160 * include/sys/uio.h: Likewise.
6161 * include/sys/utsname.h: Likewise.
6162 * include/sys/wait.h: Likewise.
6163 * include/termios.h: Likewise.
6164 * include/time.h: Likewise.
6165 * include/ulimit.h: Likewise.
6166 * include/unistd.h: Likewise.
6167 * include/utime.h: Likewise.
6168 * include/wchar.h: Likewise.
6169 * include/wctype.h: Likewise.
6170 * include/wordexp.h: Likewise.
6171
6172 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6173
7a270350
UD
6174 * time/time.h: TIME_UTC must be a macro.
6175 Make timespec_get available for ISO C11 only as well.
6176
7724defc
UD
61772012-02-24 Ulrich Drepper <drepper@gmail.com>
6178
6179 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6180 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6181
6b1d1d46
JM
61822012-02-24 Joseph Myers <joseph@codesourcery.com>
6183
6184 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6185
0f8bbd69
JM
61862012-02-24 Joseph Myers <joseph@codesourcery.com>
6187
6188 * manual/texinfo.tex: Update to version 2012-01-19.16.
6189
66ab80bc
JM
61902012-02-24 Joseph Myers <joseph@codesourcery.com>
6191
6192 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6193
74981cc5
RM
61942012-02-24 Roland McGrath <roland@hack.frob.com>
6195
ee968201
RM
6196 [BZ #13738]
6197 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6198 * manual/fdl-1.3.texi: New file.
6199 * manual/fdl-1.1.texi: File removed.
6200
74981cc5
RM
6201 [BZ #13738]
6202 * manual/libc.texinfo (FDL_VERSION): New @set.
6203 Use it for mention of FDL in cover text.
6204 (Documentation License): Use it in @include file name.
6205
7bb764bc
JM
62062012-02-22 Joseph Myers <joseph@codesourcery.com>
6207 Roland McGrath <roland@hack.frob.com>
6208
6209 [BZ #5461]
6210 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6211 not LONG_LONG_MAX and LONG_LONG_MIN.
6212 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6213 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6214 name.
6215 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6216
6cbeae47
JM
62172012-02-22 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #2547]
6220 [BZ #11365]
6221 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6222 manipulate bits before adding and subtracting TWO23[sx].
6223 * math/libm-test.inc (nearbyint_test): Add more tests.
6224
fe45ce09
JM
62252012-02-22 Joseph Myers <joseph@codesourcery.com>
6226
6227 [BZ #2548]
6228 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6229 bits before adding and subtracting TWO23[sx].
6230 * math/libm-test.inc (rint_test): Add more tests.
6231 (rint_test_tonearest): Likewise.
6232 (rint_test_towardzero): Likewise.
6233 (rint_test_downward): Likewise.
6234 (rint_test_upward: Likewise.
6235
ff3b3d82
JM
62362012-02-22 Joseph Myers <joseph@codesourcery.com>
6237
6238 [BZ #10110]
6239 * include/stdc-predef.h: New file. Extracted from features.h.
6240 * include/features.h: Include stdc-predef.h.
6241 * Makefile (headers): Add stdc-predef.h.
6242 * CONFORMANCE (Compiler limitations): Update.
6243
ef0aab35
JM
62442012-02-22 Joseph Myers <joseph@codesourcery.com>
6245
6246 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6247
58639409
DM
62482012-02-21 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6252
c0e70b25
DM
62532012-02-20 David S. Miller <davem@davemloft.net>
6254
6255 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6256 using a normal save/restore sequence, rather than allocating a
6257 dummy stack frame just to store a frame pointer and restore.
6258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6259
fb06851d
JM
62602012-02-21 Joseph Myers <joseph@codesourcery.com>
6261
6262 * manual/install.texi: Fix stray word in line-wrapped comment.
6263
7a8b71c3
DM
62642012-02-20 David S. Miller <davem@davemloft.net>
6265
d510c123
DM
6266 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6267 both binutils and gcc support GOTDATA.
6268
0722d7c2
DM
6269 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6270 "rd %pc" in the PIC register setup sequences.
6271
3d2b3019
DM
6272 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6273 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6274 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6275 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6276 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6281 (SYSCALL_ERROR_HANDLER): Likewise.
6282 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6283 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6285 (SYSCALL_ERROR_HANDLER): Likewise.
6286
c80098a9
DM
6287 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6288 (HAVE_GCC_GOTDATA): New.
6289 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6290 relocation support in both binutils and gcc.
6291 * sysdeps/sparc/elf/configure: Regenerate.
6292
3a2545a0
DM
6293 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6294 * sysdeps/sparc/sparc32/elf/configure: Delete.
6295 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6296 * sysdeps/sparc/sparc64/elf/configure: Delete.
6297 * sysdeps/sparc/elf/configure.in: New file.
6298 * sysdeps/sparc/elf/configure: Generate.
6299
7a8b71c3
DM
6300 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6301 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6302 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6303 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6304 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6305
f1e86fca
JM
63062012-02-21 Joseph Myers <joseph@codesourcery.com>
6307
6308 * manual/install.texi: Do not mention specific glibc version
6309 numbers.
6310 * manual/libc.texinfo (VERSION, UPDATED): Update.
6311 (@copying): Use @copyright{} and range of years.
6312
0e7dfaef
JM
63132012-02-21 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #13695]
6316 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6317 [crti.S not in sysdirs] (generated): Do not append.
6318 [crti.S not in sysdirs] (omit-deps): Likewise.
6319 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6320 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6321 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6322 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6323 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6324 Likewise.
6325 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6326 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6327 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6328 * csu/defs.awk: Remove file.
6329 * sysdeps/generic/initfini.c: Likewise.
6330 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6331 variable.
6332 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6333 Likewise.
6334
599af3ca
JM
63352012-02-20 Joseph Myers <joseph@codesourcery.com>
6336
6337 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6339 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6340 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6341 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6342 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6343 <bits/epoll.h>.
6344 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6345 (__EPOLL_PACKED): Define to empty if not defined by
6346 <bits/epoll.h>.
6347 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6349 bits/epoll.h.
6350
0e499750
JM
63512012-02-20 Joseph Myers <joseph@codesourcery.com>
6352
6353 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6354 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6355 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6356 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6357 <bits/timerfd.h>.
6358 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6360 bits/timerfd.h.
6361
5ad91f6e
JM
63622012-02-20 Joseph Myers <joseph@codesourcery.com>
6363
6364 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6365 in C locale.
6366 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370
06b99b02
AJ
63712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6372
6373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6375
7638c0fd
AS
63762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6377
6378 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6379 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6380 defined.
6381 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6382 Likewise.
6383 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6384 entry for 2.16.
6385
92221550
AJ
63862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6387
6388 * math/w_acos.c: Use non-signaling floating-point comparisons.
6389 * math/w_acosf.c: Likewise.
6390 * math/w_acosh.c: Likewise.
6391 * math/w_acoshf.c: Likewise.
6392 * math/w_acoshl.c: Likewise.
6393 * math/w_acosl.c: Likewise.
6394 * math/w_asin.c: Likewise.
6395 * math/w_asinf.c: Likewise.
6396 * math/w_asinl.c: Likewise.
6397 * math/w_atanh.c: Likewise.
6398 * math/w_atanhf.c: Likewise.
6399 * math/w_atanhl.c: Likewise.
6400 * math/w_exp2.c: Likewise.
6401 * math/w_exp2f.c: Likewise.
6402 * math/w_exp2l.c: Likewise.
6403 * math/w_j0.c: Likewise.
6404 * math/w_j0f.c: Likewise.
6405 * math/w_j0l.c: Likewise.
6406 * math/w_j1.c: Likewise.
6407 * math/w_j1f.c: Likewise.
6408 * math/w_j1l.c: Likewise.
6409 * math/w_jn.c: Likewise.
6410 * math/w_jnf.c: Likewise.
6411 * math/w_log.c: Likewise.
6412 * math/w_log10.c: Likewise.
6413 * math/w_log10f.c: Likewise.
6414 * math/w_log10l.c: Likewise.
6415 * math/w_log2.c: Likewise.
6416 * math/w_log2f.c: Likewise.
6417 * math/w_log2l.c: Likewise.
6418 * math/w_logf.c: Likewise.
6419 * math/w_logl.c: Likewise.
6420 * math/w_sqrt.c: Likewise.
6421 * math/w_sqrtf.c: Likewise.
6422 * math/w_sqrtl.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6428
ebaf36eb
JM
64292012-02-19 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #9739]
6432 * manual/string.texi (strnlen): Use correct parameter name in
6433 equivalent expression.
6434
71c254a6
JM
64352012-02-19 Joseph Myers <joseph@codesourcery.com>
6436
6437 [BZ #11174]
6438 * manual/users.texi (seteuid): Consistently use neweuid for
6439 argument name.
6440
16d2c631
JM
64412012-02-19 Joseph Myers <joseph@codesourcery.com>
6442
6443 [BZ #13704]
6444 * manual/nss.texi (Services in the NSS configuration): Correct
6445 list of services in example configuration file.
6446
cd837b09
NB
64472012-02-19 Nick Bowler <nbowler@draconx.ca>
6448
6449 [BZ #11322]
6450 * manual/arith.texi: Remove statements about negative zero
6451 behaving identically to zero.
6452
02c4bbad
JM
64532012-02-18 Joseph Myers <joseph@codesourcery.com>
6454
6455 [BZ #5993]
6456 * manual/install.texi: Do not document upgrading from libc5.
6457
366842e7
JM
64582012-02-18 Joseph Myers <joseph@codesourcery.com>
6459
6460 [BZ #4596]
6461 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6462
dd54084d
DM
64632012-02-18 David S. Miller <davem@davemloft.net>
6464
6465 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6466 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6467 %o7 across the call.
6468 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6469 instead.
6470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6471 SETUP_PIC_REG_LEAF.
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6473 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6474 * sysdeps/sparc/crtn.S: Likewise.
6475
2bcc53a3
UD
64762012-02-17 Ulrich Drepper <drepper@gmail.com>
6477
6478 * aout/Makefile: Remove.
6479
09c093b5
RK
64802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6481
6482 [BZ #13058]
6483 * manual/examples/argp-ex1.c (main): Format definition in GNU
6484 style.
6485 * manual/examples/argp-ex2.c (main): Likewise.
6486 * manual/examples/argp-ex3.c (main): Likewise.
6487 * manual/examples/argp-ex4.c (main): Likewise.
6488 * manual/examples/longopt.c (main): Use new-style prototype
6489 definition.
6490 * manual/examples/strncat.c (main): Specify return type and use
6491 (void) for arguments.
6492 * manual/examples/subopt.c (main): Use char **argv argument.
6493
2ee633a2
JM
64942012-02-17 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #5077]
6497 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6498 rounding modes.
6499
0520adde
FB
65002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6501
6502 [BZ #6907]
6503 * manual/string.texi (strchr): Change when strchrnul is
6504 recommended.
6505
3f4081cd
DGM
65062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6507
6508 [BZ #174]
6509 * manual/locale.texi (setlocale): Document LOCPATH.
6510
d1b10e78
JM
65112012-02-17 Joseph Myers <joseph@codesourcery.com>
6512
6513 [BZ #10210]
6514 * manual/process.texi (execle): Move @dots{} before last argument.
6515
79c6869c
PB
65162012-02-17 Paul Bolle <pebolle@tiscali.nl>
6517
6518 [BZ #12047]
6519 * manual/charset.texi (Generic Charset Conversion): Fix typo
6520 (LC_TYPE -> LC_CTYPE).
6521
cc6e48bc
NB
65222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6523
6524 [BZ #5805]
6525 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6526 (scalbnf): Likewise.
6527 (scalbnl): Likewise.
6528 (scalbln): Likewise.
6529 (scalblnf): Likewise.
6530 (scalblnl): Likewise.
6531 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6532 (vwarnx): Likewise.
6533 (verr): Likewise.
6534 (verrx): Likewise.
6535 * manual/filesys.texi (telldir): Use braces around return type.
6536 * manual/llio.texi (mmap): Add space after comma.
6537 (mmap64): Likewise.
6538 * manual/math.texi (jn): Use @var{} on parameter names.
6539 (jnf): Likewise.
6540 (jnl): Likewise.
6541 (yn): Likewise.
6542 (ynf): Likewise.
6543 (ynl): Likewise.
6544 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6545 line.
6546 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6547 "...".
6548 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6549 (sched_get_priority_max): Likewise.
6550 * manual/signal.texi (sigvec): Add space after comma.
6551 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6552 names.
6553 (if_indextoname): Likewise.
6554 (if_freenameindex): Likewise.
6555 (sendto): Use ',' instead of '.' in prototype.
6556 * manual/startup.texi (syscall): Use @dots{} instead of literal
6557 "...".
6558 * manual/stdio.texi (__fpending): Separate initial words of
6559 paragraph from @deftypefun line.
6560 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6561 "...".
6562 (vsyslog): Use @var{} on parameter names.
6563 * manual/terminal.texi (stty): Use @var{} on parameter names.
6564 * manual/users.texi (getutmp): Use @var{} on parameter names.
6565 (getutmpx): Likewise.
6566
5b23062f
JM
65672012-02-17 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #6884]
6570 * manual/stdio.texi (fopen): Fix typos in description of
6571 ",ccs=STRING".
6572
8dee4833
AJ
65732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6574
6575 [BZ #4026]
6576 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6577 get clock_id definition.
6578
9078ce93
TS
65792012-02-17 Thomas Schwinge <thomas@schwinge.name>
6580
6581 [BZ #4822]
6582 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6583 (madvise): Cast every argument to void on its own.
6584
3835c55f
JM
65852012-02-17 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #9902]
6588 * manual/startup.texi (Exit Status): Fix typo.
6589
35c47e37
JM
65902012-02-17 Joseph Myers <joseph@codesourcery.com>
6591
6592 [BZ #10140]
6593 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6594 * manual/examples/argp-ex2.c: Likewise.
6595 * manual/examples/argp-ex3.c: Likewise.
6596
e3b69ca7
RH
65972012-02-16 Richard Henderson <rth@redhat.com>
6598
6599 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6600 * sysdeps/s390/s390-32/initfini.c: Remove.
6601 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6602 * sysdeps/s390/s390-64/initfini.c: Remove.
6603
df83af67
KK
66042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6605
6606 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6607 compiler output for sysdeps/generic/initfini.c.
6608 * sysdeps/sh/elf/initfini.c: Remove file.
6609
f63f3380
DM
66102012-02-16 David S. Miller <davem@davemloft.net>
6611
fb59b3a4
DM
6612 [BZ #11494]
6613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6614
f63f3380
DM
6615 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6616 * sysdeps/sparc/crti.S: New file.
6617 * sysdeps/sparc/crtn.S: New file.
6618 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6619 * sysdeps/sparc/sparc64/Makefile: Likewise.
6620
df6a4a4a
MF
66212012-02-15 Mike Frysinger <vapier@gentoo.org>
6622
6dd8f3dc 6623 [BZ #3335]
df6a4a4a
MF
6624 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6625
1cac7236
RM
66262012-02-15 Roland McGrath <roland@hack.frob.com>
6627
d2c736f8
RM
6628 [BZ #4822]
6629 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6630
1cac7236
RM
6631 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6632 (write, read, close): Likewise.
6633 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6634
8e475601
JM
66352012-02-15 Joseph Myers <joseph@codesourcery.com>
6636
6637 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6638 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6640 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6641 <bits/signalfd.h>.
6642 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6644 bits/signalfd.h.
6645
ed656b40
MP
66462012-02-14 Marek Polacek <polacek@redhat.com>
6647
6648 * sysdeps/x86_64/crti.S: New file.
6649 * sysdeps/x86_64/crtn.S: New file.
6650 * sysdeps/x86_64/elf/initfini.c: Remove file.
6651
2a979d3a
JM
66522012-02-13 Joseph Myers <joseph@codesourcery.com>
6653
6654 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6655 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6657 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6658 <bits/inotify.h>.
6659 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6661 bits/inotify.h.
6662
2a418ac3
JM
66632012-02-13 Joseph Myers <joseph@codesourcery.com>
6664
6665 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6666 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6667 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6668 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6669 <bits/eventfd.h>.
6670 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6672 bits/eventfd.h.
6673
fb779be7
TS
66742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6675
e19e83c5
RM
6676 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6677 __feraiseexcept instead of feraiseexcept.
7c35ffed 6678
fb779be7
TS
6679 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6680 nanosleep invocations.
6681 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6682 strings, and add error checking for a nanosleep invocations.
6683
59ba27a6
PE
66842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6685
6686 Replace FSF snail mail address with URLs, as per GNU coding standards.
6687 Most of the snail mail addresses were wrong anyway, and omitting
6688 them makes the source code easier to maintain. Almost all of the
6689 changes are to license notices and to locale LC_IDENTIFICATION
6690 addresses, except for this one:
6691 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6692 not its snail mail address.
6693
57b957eb
RH
66942012-02-09 Richard Henderson <rth@twiddle.net>
6695
af850b1c
RH
6696 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6697 of kernel-features.h.
6698
57b957eb
RH
6699 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6700
6b73181a
MP
67012012-02-08 Marek Polacek <polacek@redhat.com>
6702
6703 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6704 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6705 * sysdeps/gnu/_G_config.h: Likewise.
6706 * sysdeps/generic/_G_config.h: Likewise.
6707
26ecc33a
AS
67082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6709
6c6dbc63
AS
6710 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6711 tests.
6712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6713
e216c012
AS
6714 * sysdeps/powerpc/powerpc32/crti.S: New file.
6715 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6716 * sysdeps/powerpc/powerpc64/crti.S: New file.
6717 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6718
26ecc33a
AS
6719 * Makeconfig (have-initfini): Don't set.
6720 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6721 * configure.in (nopic_initfini): Don't substitute.
6722 * config.h.in (HAVE_INITFINI): Don't #undef.
6723 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6724 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6725
3add8e13
JM
67262012-02-08 Joseph Myers <joseph@codesourcery.com>
6727
6728 Support crti.S and crtn.S provided directly by architectures.
6729 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6730 [crti.S in sysdirs] (omit-deps): Likewise.
6731 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6732 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6733 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6734 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6735 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6736 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6737 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6738 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6739 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6740 compiler output for sysdeps/generic/initfini.c.
6741 * sysdeps/i386/elf/Makefile: Remove file.
6742 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6743
a22f12b4
MP
67442012-02-07 Marek Polacek <polacek@redhat.com>
6745
6746 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6747 * sysdeps/gnu/_G_config.h: Likewise.
6748 * sysdeps/mach/hurd/_G_config.h: Likewise.
6749
148cf100
MP
67502012-02-07 Marek Polacek <polacek@redhat.com>
6751
6752 * math/Makefile (tests): Add tst-CMPLX2.
6753 * math/tst-CMPLX2.c: New file.
6754
cfdc0dd7
AS
67552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6756
84ba42c4
AS
6757 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6758
cfdc0dd7
AS
6759 * math/libm-test.inc (jn_test): Add missing L suffix.
6760
622c86f4
MP
67612012-02-06 Marek Polacek <polacek@redhat.com>
6762
6763 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6764 * sysdeps/i386/fpu/e_powf.S: Likewise.
6765 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6766 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6767 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6768 * sysdeps/i386/fpu/e_pow.S: Likewise.
6769 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6770 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6771 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6772 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6773 * sysdeps/i386/fpu/e_log2.S: Likewise.
6774 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6775 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6776 * sysdeps/i386/fpu/e_powl.S: Likewise.
6777 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6778 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6779 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6780 * sysdeps/i386/fpu/e_logl.S: Likewise.
6781 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6782 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6783 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6784 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6785 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6786 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6787 * sysdeps/i386/fpu/e_log.S: Likewise.
6788 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6789 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6790 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6791 * sysdeps/i386/fpu/e_logf.S: Likewise.
6792 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6793 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6794 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6795 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6796 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6797 * sysdeps/i386/fpu/e_log10.S: Likewise.
6798 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6799 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6800 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6801 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6802 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6803 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6804 * sysdeps/i386/asm-syntax.h: Likewise.
6805 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6807 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6808 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6809 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6811 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6812 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6814 * sysdeps/powerpc/sysdep.h: Likewise.
6815 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6817
d4a54ac6
JM
68182012-02-06 Joseph Myers <joseph@codesourcery.com>
6819
6820 [BZ #411]
6821 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6822
314054ea
JM
68232012-02-06 Joseph Myers <joseph@codesourcery.com>
6824
6825 * sysdeps/i386/sysdep.h: Include <features.h>.
6826 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6827 version.
6828
d8e0ca50
JM
68292012-02-05 Joseph Myers <joseph@codesourcery.com>
6830
6831 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6832 Define.
6833 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6834 LOAD_PIC_REG_STR.
6835
b1da7dd9
JM
68362012-02-03 Joseph Myers <joseph@codesourcery.com>
6837
6838 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6839 (SETUP_PIC_REG): Use GET_PC_THUNK.
6840 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6841 macro.
6842
9a1d9254
JM
68432012-02-03 Joseph Myers <joseph@codesourcery.com>
6844
6845 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6846 for non-PIC compilation.
6847 (SETUP_PIC_REG): Add .p2align directive.
6848 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6849 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6889
65dc3b75
JM
68902012-02-03 Joseph Myers <joseph@codesourcery.com>
6891
6892 * math/tst-CMPLX.c: Include <stdio.h>.
6893
d55bf177
JM
68942012-01-31 Joseph Myers <joseph@codesourcery.com>
6895
6896 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6897 float.
6898 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6899 * sysdeps/sparc/bits/mathdef.h: Likewise.
6900
69db4f8f
MP
69012012-01-31 Marek Polacek <polacek@redhat.com>
6902
6903 * libio/libio.h: Don't define _PARAMS.
6904 * locale/programs/config.h: Don't define PARAMS.
6905 * stdlib/strtol_l.c: Likewise.
6906 (__strtol_l): Remove PARAMS from the prototype.
6907
41b81892
UD
69082012-01-31 Ulrich Drepper <drepper@gmail.com>
6909
3b49edc0
UD
6910 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6911 names. Just use the correct names. Remove unnecessary wrapper
6912 functions.
6913 * malloc/arena.c: Likewise.
6914 * malloc/hooks.c: Likewise.
6915
41b81892
UD
6916 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6917 ARENA_TEST says not to. Simplify test for creation of a new arena.
6918 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6919
27a25b6e
UD
69202012-01-30 Ulrich Drepper <drepper@gmail.com>
6921
6922 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6923 into tail calls.
6924 (update_get_addr): New function.
6925 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6926 GET_ADDR_MODULE parameter.
6927
c8a89e7d
JM
69282012-01-30 Joseph Myers <joseph@codesourcery.com>
6929
6930 * crypt/cert.c: Remove __STDC__ conditionals.
6931 * crypt/crypt-entry.c: Likewise.
6932 * crypt/crypt_util.c: Likewise.
6933 * libio/filedoalloc.c: Likewise.
6934 * libio/fileops.c: Likewise.
6935 * libio/genops.c: Likewise.
6936 * libio/iofclose.c: Likewise.
6937 * libio/iofdopen.c: Likewise.
6938 * libio/iofopen.c: Likewise.
6939 * libio/iofopen64.c: Likewise.
6940 * libio/iogetdelim.c: Likewise.
6941 * libio/iopopen.c: Likewise.
6942 * libio/obprintf.c: Likewise.
6943 * libio/oldfileops.c: Likewise.
6944 * libio/oldiofclose.c: Likewise.
6945 * libio/oldiofdopen.c: Likewise.
6946 * libio/oldiofopen.c: Likewise.
6947 * libio/oldiopopen.c: Likewise.
6948 * libio/wfiledoalloc.c: Likewise.
6949 * libio/wgenops.c: Likewise.
6950 * locale/programs/xmalloc.c: Likewise.
6951 * misc/syslog.c: Likewise.
6952 * stdio-common/xbug.c: Likewise.
6953 * string/memchr.c: Likewise.
6954 * string/memcmp.c: Likewise.
6955 * string/memrchr.c: Likewise.
6956 * string/rawmemchr.c: Likewise.
6957 * sysdeps/posix/getcwd.c: Likewise.
6958 * time/strftime_l.c: Likewise.
6959
3b100462
JM
69602012-01-30 Joseph Myers <joseph@codesourcery.com>
6961
6962 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6963 * config.make.in (config-cflags-sse2avx): Define.
6964 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6965 Fix typo.
6966
607998af
CM
69672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6968
6969 * scripts/config.guess: Update from upstream config git repository.
6970 * scripts/config.sub: Likewise.
6971
3601428f
CM
69722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6973
3ac8b282
CM
6974 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6975 (EM_NUM): Update.
6976 (R_TILEPRO_*, R_TILEGX_*): New macros.
6977
e034841e
CM
6978 * scripts/firstversions.awk: Fix bug in version range handling.
6979
540d7568
CM
6980 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6981
3601428f
CM
6982 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6983
463de862
CM
6984 * include/sys/epoll.h: New file.
6985 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6986 libc_hidden_def.
6987
73139a76
UD
69882012-01-28 Ulrich Drepper <drepper@gmail.com>
6989
96bc5b45
UD
6990 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6991 Avoid unnecessary __WORDSIZE == 64 test.
6992 (fmaxf): Use VEX format if possible.
6993 (fmax): Likewise.
6994 (fminf): Likewise.
6995 (fmin): Likewise.
6996
56f6f6a2
UD
6997 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6998 * math/math_private.h: Remove libc_fegetround* and
6999 libc_fesetround*.
7000 * sysdeps/i386/configure.in: Check for -msse2avx.
7001 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7002 also if SSE2AVX is defined.
7003 Remove libc_fegetround* and libc_fesetround*.
7004 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7005 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7007 of HAS_YMM_USABLE.
7008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7013
73139a76
UD
7014 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7015
d73f93a4
AZ
70162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7017
7018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7019 size is not set.
7020 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7021
6ee65ed6
UD
70222012-01-27 Ulrich Drepper <drepper@gmail.com>
7023
7024 [BZ #13618]
7025 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7026 relocation.
7027 * Makeconfig (libm): Define.
7028 * elf/Makefile: Add rules to build and run tst-relsort1.
7029 * elf/tst-relsort1.c: New file.
7030 * elf/tst-relsort1mod1.c: New file.
7031 * elf/tst-relsort1mod2.c: New file.
7032
8db21882
JM
70332012-01-27 Joseph Myers <joseph@codesourcery.com>
7034
7035 * math/s_ldexp.c: Remove __STDC__ conditionals.
7036 * math/s_ldexpf.c: Likewise.
7037 * math/s_ldexpl.c: Likewise.
7038 * math/s_nextafter.c: Likewise.
7039 * math/s_nexttowardf.c: Likewise.
7040 * math/s_significand.c: Likewise.
7041 * math/s_significandf.c: Likewise.
7042 * math/s_significandl.c: Likewise.
7043 * math/w_jnl.c: Likewise.
7044 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7045 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7046 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7047 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7048 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7054 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7065 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7071 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7072 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7073 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7074 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7075 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7078 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7080 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7081 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7082 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7083 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7084 * sysdeps/ieee754/k_standard.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7150 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7151 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7164 * sysdeps/ieee754/s_matherr.c: Likewise.
7165 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7166 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7169
965a54a4
JM
71702012-01-26 Joseph Myers <joseph@codesourcery.com>
7171
7172 * crypt/md5.h: Remove __STDC__ conditionals.
7173 * libio/libioP.h: Likewise.
7174 * locale/programs/config.h: Likewise.
7175 * sysdeps/generic/sysdep.h: Likewise.
7176 * sysdeps/i386/asm-syntax.h: Likewise.
7177 * sysdeps/s390/asm-syntax.h: Likewise.
7178 * sysdeps/unix/sysdep.h: Likewise.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7181
7071ad79
JM
71822012-01-26 Joseph Myers <joseph@codesourcery.com>
7183
7184 * libio/libio.h: Remove __STDC__ conditionals.
7185 * malloc/obstack.h: Likewise.
7186 * math/complex.h: Likewise.
7187 * math/math.h: Likewise.
7188 * sysdeps/generic/_G_config.h: Likewise.
7189 * sysdeps/gnu/_G_config.h: Likewise.
7190 * sysdeps/mach/hurd/_G_config.h: Likewise.
7191 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7192 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7193 * sysdeps/sparc/bits/mathdef.h: Likewise.
7194
afc5ed09
UD
71952012-01-26 Ulrich Drepper <drepper@gmail.com>
7196
7197 [BZ #13583]
7198 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7199 Clean up HAS_* macros.
afc5ed09 7200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7201 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7202 possible.
7203 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7204 HAS_AVX.
7205 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7206 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7207 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7208 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7210
bdb6de1d
JM
72112012-01-25 Joseph Myers <joseph@codesourcery.com>
7212
7213 * elf/tst-unique3.cc (gets): Remove declaration.
7214 * elf/tst-unique3lib.cc (gets): Likewise.
7215 * elf/tst-unique3lib2.cc (gets): Likewise.
7216 * elf/tst-unique4.cc (gets): Likewise.
7217
b15549e6
UD
72182012-01-24 Ulrich Drepper <drepper@gmail.com>
7219
7220 * include/stdio.h: Add C++ protection. Add gets declarations and
7221 definitions.
7222 * debug/tst-chk1.c: Don't declare gets here.
7223 * stdio-common/tst-gets.c: Likewise.
7224
a037381f
JM
72252012-01-24 Joseph Myers <joseph@codesourcery.com>
7226
7227 * posix/glob: Remove directory.
7228
f1d4aa75
JM
72292012-01-24 Joseph Myers <joseph@codesourcery.com>
7230
7231 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7232
81c0c964
PT
72332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7234
7235 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7236 of the non-standard EPFNOSUPPORT.
7237
0ea698ae
ST
72382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7239
7240 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7241 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7242 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7243
d220b117
UD
72442012-01-21 Ulrich Drepper <drepper@gmail.com>
7245
7246 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7247
3e1aa84e
UD
72482012-01-20 Ulrich Drepper <drepper@gmail.com>
7249
7250 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7251 transient errors.
7252 * nscd/grpcache.c (cache_addgr): Likewise.
7253 * nscd/hstcache.c (cache_addhst): Likewise.
7254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7255 * nscd/pwdcache.c (cache_addpw): Likewise.
7256 * nscd/servicescache.c (cache_addserv): Likewise.
7257
400aa020
UD
72582012-01-16 Ulrich Drepper <drepper@gmail.com>
7259
d77e7869
UD
7260 * malloc/malloc.c: Various cleanups.
7261 * malloc/hooks.c: Likewise.
7262
400aa020
UD
7263 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7264 * stdlib/bug-fmtmsg1.c: New file.
7265
7266 * stdlib/fmtmsg.c (init): Add missing unlock.
7267 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7268
e0a309cf
MP
72692012-01-12 Marek Polacek <polacek@redhat.com>
7270
7271 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7272 and _GNU_SOURCE.
7273
929d11c7
WS
72742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7275
7276 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7277 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7278 macro to ensure uniqueness of label name.
7279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7281
41d0e869
UD
72822012-01-11 Ulrich Drepper <drepper@gmail.com>
7283
0cc5ed3b
UD
7284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7285
41d0e869
UD
7286 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7287 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7290
a47a831a
UD
72912012-01-10 Ulrich Drepper <drepper@gmail.com>
7292
daa891c0
UD
7293 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7294
7295 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7296 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7298
e58ef0f2
UD
7299 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7300
a47a831a 7301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7302 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7305
7306 * math/bits/math-finite.h: Add ldexp support.
7307
a0bfc9c7
MP
73082012-01-10 Marek Polacek <polacek@redhat.com>
7309
7310 * locale/programs/localedef.h (show_archive_content): Add noreturn
7311 attribute.
7312
d6e97a1d
UD
73132012-01-09 Ulrich Drepper <drepper@gmail.com>
7314
7315 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7316
d5835c26
UD
73172012-01-08 Ulrich Drepper <drepper@gmail.com>
7318
e5f484c6
UD
7319 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7320
d5835c26
UD
7321 * io/Makefile (headers): Add bits/poll2.h.
7322
d1f741e9
WS
73232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7324
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7326 typo #include statement.
7327
ec09c1c4
UD
73282012-01-08 Ulrich Drepper <drepper@gmail.com>
7329
7330 * include/sys/cdefs.h: Define __attribute_alloc_size.
7331 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7332 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7333 * elf/pldd.c: Likewise.
7334 * iconv/iconv_charmap.c: Likewise.
7335 * iconv/iconvconfig.c: Likewise.
7336 * iconv/strtab.c: Likewise.
7337 * locale/programs/locale.c: Likewise.
7338 * locale/programs/localedef.h: Likewise.
7339 * locale/programs/simple-hash.c: Likewise.
7340 * nscd/nscd.h: Likewise.
7341 * nss/makedb.c: Likewise.
7342 * sysdeps/generic/ldconfig.h: Likewise.
7343 * locale/programs/localedef.c: Remove xmalloc prototype.
7344 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7345
20b38e03
PP
73462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7347
7348 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7349 appropriate.
7350
a0da5fe1
UD
73512012-01-08 Ulrich Drepper <drepper@gmail.com>
7352
1d5a644a 7353 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7354 * math/tst-CMPLX.c: New file.
1d5a644a 7355
8784a6db
UD
7356 * math/complex.h (CMPLXL): Fix typo.
7357
d9a216c0
UD
7358 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7359 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7360 GLIBC_2.16.
7361 * debug/tst-chk1.c: Add poll and ppoll tests.
7362 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7363 * include/sys/poll.h: Add hidden proto for ppoll.
7364 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7365 * sysdeps/mach/hurd/ppoll.c: Likewise.
7366 * io/ppoll.c: Likewise.
7367 * debug/poll_chk.c: New file.
7368 * debug/ppoll_chk.c: New file.
7369 * include/bits/poll2.h: New file.
7370 * io/bits/poll2.h: New file.
7371
ac097f5c
UD
7372 [BZ #1350]
7373 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7374
2119dcfa
UD
7375 * configure.in: static is always set to yes. Remove.
7376 * config.make.in: Don't set build-static.
7377 * Makeconfig: Remove use of build-static.
7378 * dlfcn/Makefile: Likewise.
7379 * elf/Makefile: Likewise.
7380 * math/Makefile: Likewise.
7381 * misc/Makefile: Likewise.
7382 * nptl/Makefile: Likewise.
7383 * sysdeps/mach/hurd/Makefile: Likewise.
7384
121766a9
UD
7385 * configure.in: PWD_P is not used anymore.
7386 * config.make.in: Remove PWD_P entry.
7387
51a1d39c 7388 * configure.in: Remove last remnants of RANLIB.
8720d066 7389 No need to check for signed size_t anymore.
215f4bdc
UD
7390 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7391 and IA-64.
3857022a 7392 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7393 * aclocal.m4: Likewise.
7394
d3ed7225
UD
7395 * wcsmbs/mbrtoc16.c: Implement using towc function.
7396 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7397 * wcsmbs/wcsmbsload.c: Likewise.
7398 * iconv/gconv_simple.c: Likewise.
7399 * iconv/gconv_int.h: Likewise.
7400 * iconv/gconv_builtin.h: Likewise.
7401 * iconv/iconv_prog.c: Remove CHAR16 handling.
7402
7403 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7404
7405 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7406
a0da5fe1
UD
7407 * configure.in: Remove --with-elf and --enable-bounded options.
7408 Dont set base_machine for ia64. More non-ELF conditions removed.
7409 Remove testing and setting of leading underscore information.
7410 * config.make.in (build-bounded): Set to no.
7411 * config.h.in: Remove NO_UNDERSCORES entry.
7412 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7413 them.
7414 * csu/start.c: Remove !NO_UNDERSCORE code.
7415 * locale/localeinfo.h: Likewise.
7416 * sysdeps/generic/machine-gmon.h: Likewise.
7417 * sysdeps/generic/sysdep.h: Likewise.
7418 * sysdeps/i386/sysdep.h: Likewise.
7419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7420 * sysdeps/mach/sysdep.h: Likewise.
7421 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7423 * sysdeps/sh/sysdep.h: Likewise.
7424 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7425 * sysdeps/unix/i386/sysdep.S: Likewise.
7426 * sysdeps/unix/sparc/start.c: Likewise.
7427 * sysdeps/unix/sparc/sysdep.S: Likewise.
7428 * sysdeps/unix/sparc/sysdep.h: Likewise.
7429 * sysdeps/unix/start.c: Likewise.
7430 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7431 * sysdeps/x86_64/sysdep.h: Likewise.
7432
df78418a
UD
74332012-01-07 Ulrich Drepper <drepper@gmail.com>
7434
a784e502
UD
7435 [BZ #13553]
7436 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7437 for non-gcc.
7438 * argp/argp-fmtstream.h: Use const instead __const.
7439 * argp/argp.h: Likewise.
7440 * assert/assert.h: Likewise.
7441 * bits/fenv.h: Likewise.
7442 * bits/sched.h: Likewise.
7443 * bits/sigset.h: Likewise.
7444 * bits/sigthread.h: Likewise.
7445 * catgets/nl_types.h: Likewise.
7446 * conform/data/pthread.h-data: Likewise.
7447 * crypt/crypt-private.h: Likewise.
7448 * crypt/crypt.h: Likewise.
7449 * crypt/crypt_util.c: Likewise.
7450 * ctype/ctype.h: Likewise.
7451 * debug/execinfo.h: Likewise.
7452 * debug/mbsnrtowcs_chk.c: Likewise.
7453 * debug/mbsrtowcs_chk.c: Likewise.
7454 * debug/wcsnrtombs_chk.c: Likewise.
7455 * debug/wcsrtombs_chk.c: Likewise.
7456 * debug/wcstombs_chk.c: Likewise.
7457 * dirent/dirent.h: Likewise.
7458 * dlfcn/dlfcn.h: Likewise.
7459 * elf/neededtest4.c: Likewise.
7460 * grp/grp.h: Likewise.
7461 * gshadow/gshadow.h: Likewise.
7462 * iconv/gconv.h: Likewise.
7463 * iconv/gconv_int.h: Likewise.
7464 * iconv/gconv_simple.c: Likewise.
7465 * iconv/iconv.h: Likewise.
7466 * iconv/loop.c: Likewise.
7467 * iconv/skeleton.c: Likewise.
7468 * include/aio.h: Likewise.
7469 * include/aliases.h: Likewise.
7470 * include/argz.h: Likewise.
7471 * include/arpa/inet.h: Likewise.
7472 * include/assert.h: Likewise.
7473 * include/dirent.h: Likewise.
7474 * include/dlfcn.h: Likewise.
7475 * include/execinfo.h: Likewise.
7476 * include/fcntl.h: Likewise.
7477 * include/fenv.h: Likewise.
7478 * include/glob.h: Likewise.
7479 * include/grp.h: Likewise.
7480 * include/libintl.h: Likewise.
7481 * include/mntent.h: Likewise.
7482 * include/netdb.h: Likewise.
7483 * include/pwd.h: Likewise.
7484 * include/rpc/netdb.h: Likewise.
7485 * include/sched.h: Likewise.
7486 * include/search.h: Likewise.
7487 * include/shadow.h: Likewise.
7488 * include/signal.h: Likewise.
7489 * include/stdio.h: Likewise.
7490 * include/stdlib.h: Likewise.
7491 * include/string.h: Likewise.
7492 * include/sys/socket.h: Likewise.
7493 * include/sys/stat.h: Likewise.
7494 * include/sys/statfs.h: Likewise.
7495 * include/sys/statvfs.h: Likewise.
7496 * include/sys/syslog.h: Likewise.
7497 * include/sys/time.h: Likewise.
7498 * include/sys/uio.h: Likewise.
7499 * include/time.h: Likewise.
7500 * include/unistd.h: Likewise.
7501 * include/utmp.h: Likewise.
7502 * include/wchar.h: Likewise.
7503 * include/wctype.h: Likewise.
7504 * inet/aliases.h: Likewise.
7505 * inet/arpa/inet.h: Likewise.
7506 * inet/netinet/ether.h: Likewise.
7507 * inet/netinet/in.h: Likewise.
7508 * intl/libintl.h: Likewise.
7509 * io/bits/fcntl2.h: Likewise.
7510 * io/fcntl.h: Likewise.
7511 * io/ftw.h: Likewise.
7512 * io/sys/poll.h: Likewise.
7513 * io/sys/stat.h: Likewise.
7514 * io/sys/statfs.h: Likewise.
7515 * io/sys/statvfs.h: Likewise.
7516 * io/utime.h: Likewise.
7517 * libio/bits/stdio.h: Likewise.
7518 * libio/bits/stdio2.h: Likewise.
7519 * libio/libio.h: Likewise.
7520 * libio/libioP.h: Likewise.
7521 * libio/stdio.h: Likewise.
7522 * locale/lc-ctype.c: Likewise.
7523 * locale/locale.h: Likewise.
7524 * login/utmp.h: Likewise.
7525 * malloc/arena.c: Likewise.
7526 * malloc/malloc.c: Likewise.
7527 * malloc/malloc.h: Likewise.
7528 * malloc/mcheck.c: Likewise.
7529 * malloc/mtrace.c: Likewise.
7530 * math/bits/mathcalls.h: Likewise.
7531 * math/fenv.h: Likewise.
7532 * math/math_private.h: Likewise.
7533 * misc/bits/error.h: Likewise.
7534 * misc/bits/syslog.h: Likewise.
7535 * misc/err.h: Likewise.
7536 * misc/error.h: Likewise.
7537 * misc/fstab.h: Likewise.
7538 * misc/mntent.h: Likewise.
7539 * misc/regexp.h: Likewise.
7540 * misc/search.h: Likewise.
7541 * misc/sgtty.h: Likewise.
7542 * misc/sys/mman.h: Likewise.
7543 * misc/sys/syslog.h: Likewise.
7544 * misc/sys/uio.h: Likewise.
7545 * misc/sys/xattr.h: Likewise.
7546 * misc/ttyent.h: Likewise.
7547 * nis/rpcsvc/ypclnt.h: Likewise.
7548 * nss/nss.h: Likewise.
7549 * posix/bits/unistd.h: Likewise.
7550 * posix/fnmatch.h: Likewise.
7551 * posix/glob.h: Likewise.
7552 * posix/sched.h: Likewise.
7553 * posix/spawn.h: Likewise.
7554 * posix/sys/wait.h: Likewise.
7555 * posix/unistd.h: Likewise.
7556 * posix/wordexp.h: Likewise.
7557 * pwd/pwd.h: Likewise.
7558 * resolv/netdb.h: Likewise.
7559 * resource/sys/resource.h: Likewise.
7560 * rt/aio.h: Likewise.
7561 * rt/bits/mqueue2.h: Likewise.
7562 * rt/mqueue.h: Likewise.
7563 * shadow/shadow.h: Likewise.
7564 * signal/signal.h: Likewise.
7565 * socket/send.c: Likewise.
7566 * socket/sendto.c: Likewise.
7567 * socket/sys/socket.h: Likewise.
7568 * stdio-common/printf.h: Likewise.
7569 * stdlib/bits/stdlib.h: Likewise.
7570 * stdlib/fmtmsg.h: Likewise.
7571 * stdlib/monetary.h: Likewise.
7572 * stdlib/stdlib.h: Likewise.
7573 * stdlib/ucontext.h: Likewise.
7574 * streams/stropts.h: Likewise.
7575 * string/argz.h: Likewise.
7576 * string/bits/string2.h: Likewise.
7577 * string/string.h: Likewise.
7578 * string/strings.h: Likewise.
7579 * sunrpc/rpc/auth.h: Likewise.
7580 * sunrpc/rpc/auth_des.h: Likewise.
7581 * sunrpc/rpc/clnt.h: Likewise.
7582 * sunrpc/rpc/netdb.h: Likewise.
7583 * sunrpc/rpc/pmap_clnt.h: Likewise.
7584 * sunrpc/rpc/xdr.h: Likewise.
7585 * sysdeps/generic/inttypes.h: Likewise.
7586 * sysdeps/generic/net/if.h: Likewise.
7587 * sysdeps/generic/sys/swap.h: Likewise.
7588 * sysdeps/gnu/net/if.h: Likewise.
7589 * sysdeps/gnu/utmpx.h: Likewise.
7590 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7591 * sysdeps/i386/i486/bits/string.h: Likewise.
7592 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7593 * sysdeps/s390/bits/string.h: Likewise.
7594 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7595 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7596 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7597 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7598 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7599 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7600 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7601 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7602 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7603 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7604 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7605 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7606 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7607 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7608 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7609 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7610 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7616 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7617 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7618 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7620 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7621 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7622 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7623 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7624 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7625 * sysvipc/sys/ipc.h: Likewise.
7626 * sysvipc/sys/msg.h: Likewise.
7627 * sysvipc/sys/sem.h: Likewise.
7628 * sysvipc/sys/shm.h: Likewise.
7629 * termios/termios.h: Likewise.
7630 * time/sys/time.h: Likewise.
7631 * time/time.h: Likewise.
7632 * wcsmbs/bits/wchar2.h: Likewise.
7633 * wcsmbs/uchar.h: Likewise.
7634 * wcsmbs/wchar.h: Likewise.
7635 * wctype/wctype.h: Likewise.
7636
0269750c
UD
7637 [BZ #13551]
7638 * Makeconfig: Remove all but ELF support including AIX support.
7639 * Makerules: Likewise.
7640 * config.h.in: Likewise.
7641 * config.make.in: Likewise.
7642 * configure: Likewise.
7643 * configure.in: Likewise.
7644 * csu/Makefile: Likewise.
7645 * csu/version.c: Likewise.
7646 * debug/Makefile: Likewise.
7647 * dlfcn/Makefile: Likewise.
7648 * elf/Makefile: Likewise.
7649 * extra-lib.mk: Likewise.
7650 * iconv/Makefile: Likewise.
7651 * include/libc-symbols.h: Likewise.
7652 * include/shlib-compat.h: Likewise.
7653 * resolv/Makefile: Likewise.
7654 * resolv/res_libc.c: Likewise.
7655 * rt/Makefile: Likewise.
7656 * sysdeps/i386/asm-syntax.h: Likewise.
7657 * sysdeps/i386/sysdep.h: Likewise.
7658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7659 * sysdeps/mach/sysdep.h: Likewise.
7660 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7661 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7662 * sysdeps/s390/asm-syntax.h: Likewise.
7663 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7665 * sysdeps/sh/sysdep.h: Likewise.
7666 * sysdeps/unix/sparc/sysdep.h: Likewise.
7667 * sysdeps/wordsize-32/divdi3.c: Likewise.
7668 * sysdeps/x86_64/sysdep.h: Likewise.
7669
00bbd29b
UD
7670 * argp/Versions: Remove _argp_unlock_xxx.
7671
7672 [BZ #13559]
7673 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7674 * abilist/libBrokenLocale.abilist: Likewise.
7675 * abilist/libanl.abilist: Likewise.
7676 * abilist/libc.abilist: Likewise.
7677 * abilist/libcrypt.abilist: Likewise.
7678 * abilist/libdl.abilist: Likewise.
7679 * abilist/libm.abilist: Likewise.
7680 * abilist/libnsl.abilist: Likewise.
7681 * abilist/libpthread.abilist: Likewise.
7682 * abilist/libresolv.abilist: Likewise.
7683 * abilist/librt.abilist: Likewise.
7684 * abilist/libthread_db.abilist: Likewise.
7685 * abilist/libutil.abilist: Likewise.
7686 * abilist/libnss_db.abilist: New file.
7687
7688 * scripts/abilist.awk: Add support for indirect functions.
7689
a2693a0e
UD
7690 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7691
3f05895f
UD
7692 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7693
ecb6fb48
UD
7694 * shlib-versions: Remove entries for ports architectures.
7695
664f8cb9
UD
7696 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7697 files in ports.
7698 * elf/stackguard-macros.h: Remove support for IA-64.
7699 * elf/tst-auditmod1.c: Likewise.
7700 * sysdeps/generic/ldsodefs.h: Likewise.
7701
7ae81d88
UD
7702 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7703 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7704 configure files.
7705
bdeba135
UD
7706 [BZ #13552]
7707 * configure.in: Remove --enable-omitfp support.
7708 * FAQ.in: Adjust.
7709 * config.make.in: Likewise.
7710 * Makeconfig: Likewise.
7711 * manual/install.texi: Likewise.
7712
d75a0a62
UD
7713 In case anyone cares, the IA-64 architecture could move to ports.
7714 * sysdeps/ia64/*: Removed.
7715 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7716 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7717
dcc9756b
UD
7718 [BZ #13555]
7719 * configure.in: Remove entries for unsupported architectures.
7720
d3761ebc 7721 [BZ #13533]
9954432e
UD
7722 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7723 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7724 routines.
7725 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7726 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7727 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7728 fall back to using wcrtomb.
7729 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7730 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7731 renaming.
7732 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7733 * wcsmbs/tst-c16c32-1.c: New file.
7734
7735 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7736 local variable.
7737
c3a87236
UD
7738 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7739
28926a1b
UD
7740 * elf/tst-unique3.cc: Add explicit declaration of gets.
7741 * elf/tst-unique3lib.cc: Likewise.
7742 * elf/tst-unique3lib2.cc: Likewise.
7743 * elf/tst-unique4.cc: Likewise.
7744
df78418a
UD
7745 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7746
8ecd6b2a
JM
77472012-01-06 Joseph Myers <joseph@codesourcery.com>
7748
7749 [BZ #13566]
7750 * assert/assert.h (static_assert): Don't define for C++.
7751 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7752 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7753
9f115170
UD
77542012-01-03 Ulrich Drepper <drepper@gmail.com>
7755
5e0d0300
UD
7756 * iconv/loop.c (single loop): Fix assertion in storing of
7757 remaining bytes.
7758
9f115170
UD
7759 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7760
81fb02b0
UD
77612012-01-01 Ulrich Drepper <drepper@gmail.com>
7762
7763 * posix/getconf.c: Update copyright year.
7764 * nss/getent.c: Likewise.
a316c1f6 7765 * nss/makedb.c: Likewise.
81fb02b0
UD
7766 * iconv/iconvconfig.c: Likewise.
7767 * iconv/iconv_prog.c: Likewise.
7768 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7769 * elf/pldd.c: Likewise.
7770 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7771 * catgets/gencat.c: Likewise.
7772 * csu/version.c: Likewise.
7773 * elf/ldd.bash.in: Likewise.
7774 * elf/sprof.c (print_version): Likewise.
7775 * locale/programs/locale.c: Likewise.
7776 * locale/programs/localedef.c: Likewise.
a316c1f6 7777 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7778 * nscd/nscd.c (print_version): Likewise.
7779 * debug/xtrace.sh: Likewise.
7780 * malloc/memusage.sh: Likewise.
7781 * malloc/mtrace.pl: Likewise.
7782 * debug/catchsegv.sh: Likewise.
7783
2ba92745
JJ
77842011-12-30 Jakub Jelinek <jakub@redhat.com>
7785
7786 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7787 pure attribute.
7788
dadebdae
UD
77892011-12-24 Ulrich Drepper <drepper@gmail.com>
7790
d3761ebc 7791 [BZ #13533]
db6af3eb
UD
7792 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7793 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7794 transformations.
7795 * iconv/gconv_int.h: Likewise.
7796 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7797 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7798 from libc for GLIBC_2.16.
7799 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7800 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7801 * wcsmbs/uchar.h: Really define mbstate_t.
7802 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7803 * wcsmbs/c16rtomb.c: New file.
7804 * wcsmbs/mbrtoc16.c: New file.
7805 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7806 for C/POSIX locale.
7807 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7808 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7809
dadebdae
UD
7810 * wcsmbs/wchar.h: Add missing __restrict.
7811
67371b56
UD
78122011-12-23 Ulrich Drepper <drepper@gmail.com>
7813
74033a25
UD
7814 [BZ #13532]
7815 * time/Makefile (routines): Add timespec_get.
7816 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7817 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7818 timespec for ISO C11.
7819 * time/timespec_get.c: New file.
7820 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7821 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7822
380d7e87
UD
7823 [BZ #13531]
7824 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7825 * stdlib/stdlib.h: Declare aligned_alloc.
7826 * Versions.def: Add GLIBC_2.16 for libc.
7827 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7828
4e9e7a35
UD
7829 [BZ 13527]
7830 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7831 ISO C11.
7832
380d7e87 7833 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7834 code.
7835
03a71829
UD
7836 [BZ #13528]
7837 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7838
839e283e
UD
7839 [BZ #13529]
7840 * assert/assert.h (static_assert): Define.
7841
ce5294e2 7842 * version.h: Update for 2.16 development version.
90fa7312 7843
8d44e150 7844 [BZ #13526]
d7809905
UD
7845 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7846 _ISOC11_SOURCE.
7847
c0da14cd
UD
7848 * version.h (RELEASE): Bump for 2.15 release.
7849 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7850
530a3249
MP
7851 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7852 Patch by Marek Polacek <mpolacek@redhat.com>.
7853
67371b56
UD
7854 * bits/byteswap.h: Protect long long constants with __extension__.
7855 * sysdeps/i386/bits/byteswap.h: Likewise.
7856 * sysdeps/ia64/bits/byteswap.h: Likewise.
7857 * sysdeps/s390/bits/byteswap.h: Likewise.
7858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7859
15db4de1
LD
78602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7861
7862 [BZ #13540]
bbe315ea
LD
7863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7864 destination buffer.
15db4de1
LD
7865 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7866
2b2596b1
MP
78672011-12-23 Marek Polacek <polacek@redhat.com>
7868
7869 * elf/dl-addr.c (determine_info): Add inline keyword.
7870 * elf/tst-auditmod4b.c (check_avx): Likewise.
7871 * elf/tst-auditmod6b.c (check_avx): Likewise.
7872 * elf/tst-auditmod6c.c (check_avx): Likewise.
7873 * elf/tst-auditmod7b.c (check_avx): Likewise.
7874
70c6c246
UD
78752011-12-23 Ulrich Drepper <drepper@gmail.com>
7876
7877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7878 !__SSE_MATH__.
7879
c044cf14
LD
78802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7881
15db4de1 7882 [BZ #13540]
c044cf14
LD
7883 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7884 processing for last bytes.
7885
6b13d9d9
BH
78862011-08-06 Bruno Haible <bruno@clisp.org>
7887
d455f537
BH
7888 [BZ #13061]
7889 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7890 U+0385, not to U+1FEE.
7891
6b13d9d9
BH
7892 [BZ #13062]
7893 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7894 entry for U+00A5 U+0301.
7895
db910efd
UD
78962011-12-22 Ulrich Drepper <drepper@gmail.com>
7897
27deeafc
UD
7898 [BZ #13166]
7899 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7900 buffer for the output is too small.
7901
aed9d171
UD
7902 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7903 optimization.
7904
db910efd
UD
7905 [BZ #13185]
7906 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7907 SSE flags if possible.
7908
2bd779ae
LD
79092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7910
e7f9dac3 7911 [BZ #13540]
2bd779ae
LD
7912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7913 processing for last bytes.
7914
154bfc16
JM
79152011-12-22 Joseph Myers <joseph@codesourcery.com>
7916
7917 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7918 (syscall-list-default-options, syscall-list-default-condition)
7919 (syscall-list-includes): Define.
7920 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7921 list of ABIs and options and #if conditions for each ABI. Do not
7922 handle common syscalls between ABIs specially.
7923 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7924 Remove.
7925 (syscall-list-variants, syscall-list-32bit-options)
7926 (syscall-list-32bit-condition, syscall-list-64bit-options)
7927 (syscall-list-64bit-condition): Define.
7928 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7929 (syscall-list-variants, syscall-list-32bit-options)
7930 (syscall-list-32bit-condition, syscall-list-64bit-options)
7931 (syscall-list-64bit-condition): Define.
7932 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7933 Remove.
7934 (syscall-list-variants, syscall-list-32bit-options)
7935 (syscall-list-32bit-condition, syscall-list-64bit-options)
7936 (syscall-list-64bit-condition): Define.
7937 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7938 Remove.
7939 (syscall-list-variants, syscall-list-32bit-options)
7940 (syscall-list-32bit-condition, syscall-list-64bit-options)
7941 (syscall-list-64bit-condition): Define.
7942
21eaf3a5
UD
79432011-12-22 Ulrich Drepper <drepper@gmail.com>
7944
16c6f992
UD
7945 * locale/iso-639.def: Add brx entry.
7946
41043168
UD
7947 [BZ #13328]
7948 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7949 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7950
21eaf3a5
UD
7951 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7952 __feraiseexcept_renamed.
7953
e3a851a2
UD
79542011-12-21 Ulrich Drepper <drepper@gmail.com>
7955
4920765e
UD
7956 [BZ #13538]
7957 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7958 EPOLLET with unsigned values.
7959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7961
e3a851a2
UD
7962 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7963 to large cancellation.
7964 * math/s_cacoshf.c: Likewise.
7965 * math/s_cacoshl.c: Likewise.
7966
b27e24b8
RK
79672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7968
7969 [BZ #13305]
aebefeee 7970 [BZ #12786]
b27e24b8
RK
7971 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7972 * math/s_cacoshf.c: Likewise.
7973 * math/s_cacoshl.c: Likewise.
7974
ee190f67
UD
79752011-12-21 Ulrich Drepper <drepper@gmail.com>
7976
7977 [BZ #13439]
7978 * iconv/gconv.h: Define __GCONV_SWAP.
7979 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7980 * iconvdata/utf-16.c: Likewise.
7981 * iconvdata/utf-32.c: Likewise.
7982
707f25df
AS
79832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7984
7985 [BZ #13524]
7986 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7987 numerator after shifting it by one limb.
7988
d2daaa1e
RÁE
79892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7990
7991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7992 under [__USE_EXTERN_INLINES].
7993
a4647e72
UD
79942011-12-17 Ulrich Drepper <drepper@gmail.com>
7995
7996 [BZ #13446]
7997 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7998
f0b264f1
AZ
79992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000
8001 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8002 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8003 optimized code.
8004 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8005 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8006 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8007 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8008 for strncasecmp/strncasecmp_l compilation.
8009 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8010 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8011
8ef4f244
MP
80122011-12-08 Marek Polacek <mpolacek@redhat.com>
8013
8014 [BZ #13484]
8015 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8016 of __asm__.
8017
97ac2654
UD
80182011-12-17 Ulrich Drepper <drepper@gmail.com>
8019
8020 [BZ #13506]
8021 * time/tzfile.c (__tzfile_read): Check values from file header.
8022
91d2a845
WS
80232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8024
8025 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8026 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8027 * powerpc/powerpc32/dl-start.S: Likewise.
8028 * powerpc/powerpc32/elf/start.S: Likewise.
8029 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8030 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8031 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8032 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8033 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8034 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8035 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8036 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8037 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8038 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8039 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8040 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8041 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8042 * powerpc/powerpc32/memset.S: Likewise.
8043 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8044 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8045 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8046 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8047 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8048 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8049 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8050 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8051 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8052 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8053 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8054 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8055 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8056
a1267ba1
AZ
80572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058
8059 * math/libm-test.inc: Added more nearbyint tests.
8060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8064
ad8ac1bd
RL
80652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8066
8067 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8068 FD_CLOEXEC.
8069
1d3e4b61
UD
80702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8071
8072 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8073 Add wcscpy-ssse3 wcscpy-c.
8074 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8075 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8076 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8077 * sysdeps/x86_64/wcschr.S: New file.
8078 * sysdeps/x86_64/wcsrchr.S: New file.
8079 * string/test-strcmp.c: Remove checking of wcscmp function for
8080 wrong alignments.
8081 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8082 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8083 wcsrchr-sse2 wcsrchr-c.
8084 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8085 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8086 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8087 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8088 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8089 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8090 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8091 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8092 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8093 * wcsmbc/wcschr.c (WCSCHR): New macro.
8094
5b330a2d
UD
80952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8096
8097 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8098 * wcsmbs/test-wcsrchr.c: New file.
8099 * string/test-strrchr.c: Add wcsrchr support.
8100 (WIDE): New macro.
8101 * wcsmbs/test-wcscpy.c: New file.
8102 * string/test-strcpy.c: Add wcscpy support.
8103 (WIDE): New macro.
26428b7c 8104
f039c043
UD
81052011-12-10 Ulrich Drepper <drepper@gmail.com>
8106
8107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8108 the inner loop.
8109
850fb039
AS
81102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8111
8112 [BZ #13472]
8113 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8114
4efbd5cb
UD
81152011-12-04 Ulrich Drepper <drepper@gmail.com>
8116
52ff5dd0 8117 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8118 Minor optimizations.
52ff5dd0 8119
4efbd5cb
UD
8120 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8121 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8122 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8123
8a426e12
UD
81242011-12-03 Ulrich Drepper <drepper@gmail.com>
8125
aff2453d
UD
8126 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8127 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8128 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8129 for gcc to avoid warnings.
8130 * inet/Makefile (tests): Add tst-checks.
8131 * inet/tst-checks.c: New file.
8132
8133 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8134 warning.
8135
8136 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8137 __wmemcmp_sse2.
8138
8139 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8140 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8141
8a426e12
UD
8142 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8143
9bea3473
UD
81442011-12-02 Ulrich Drepper <drepper@gmail.com>
8145
3a965496
UD
8146 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8147 problem.
8148
9bea3473
UD
8149 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8150
f101631b
UD
81512011-11-29 Joseph Myers <joseph@codesourcery.com>
8152
8153 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8154 conditional on GCC version.
8155 (__arch_compare_and_exchange_val_8_acq)
8156 (__arch_compare_and_exchange_val_16_acq)
8157 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8158 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8159 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8160
a98275aa
UD
81612011-12-02 Joseph Myers <joseph@codesourcery.com>
8162
8163 * sysdeps/sh/backtrace.c: New file.
8164
d4cc29a2
AS
81652011-12-02 Andreas Schwab <schwab@redhat.com>
8166
8167 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8168 parenthesis.
8169
6257af2d
AS
81702011-12-01 Andreas Schwab <schwab@redhat.com>
8171
8172 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8173 falling back to utime.
8174
b5f44c1a
AS
81752011-11-30 Andreas Schwab <schwab@redhat.com>
8176
8177 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8178 expectations for float.
8179
f3a6cc0a
AS
81802011-11-29 Andreas Schwab <schwab@redhat.com>
8181
8182 * locale/weight.h (findidx): Add parameter len.
8183 * locale/weightwc.h (findidx): Likewise.
8184 * posix/fnmatch_loop.c (FCT): Adjust caller.
8185 * posix/regcomp.c (build_equiv_class): Likewise.
8186 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8187 * posix/regexec.c (check_node_accept_bytes): Likewise.
8188 * string/strcoll_l.c (STRCOLL): Likewise.
8189 * string/strxfrm_l.c (STRXFRM): Likewise.
8190
9d65ea3a
UD
81912011-11-17 Ulrich Drepper <drepper@gmail.com>
8192
8193 * Makefile.in: Remove CVSOPT handling.
8194 * configure.in: Remove use of AC_REVISION.
8195 * iconvdata/Makefile (distribute): No need to filter out CVS.
8196 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8197 handling.
8198
5583a086
AS
81992011-11-16 Andreas Schwab <schwab@redhat.com>
8200
8201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8202 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8203 [USE_AS_STRNCASECMP_L]: Likewise.
8204 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8205 NO_TLS_DIRECT_SEG_REFS.
8206 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8207 Fix argument offsets for non-PIC.
8208 [USE_AS_STRNCASECMP_L]: Likewise.
8209 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8210 NO_TLS_DIRECT_SEG_REFS.
8211
d62a8200
UD
82122011-11-15 Ulrich Drepper <drepper@gmail.com>
8213
9d65ea3a 8214 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8215 O_CLOEXEC.
8216 * locale/loadlocale.c (_nl_load_locale): Likewise.
8217
09f93bd3
AS
82182011-11-15 Andreas Schwab <schwab@redhat.com>
8219
446514f9
AS
8220 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8221 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8223 (SYSCALL_GETTIME): Set errno on error.
8224
09f93bd3
AS
8225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8226 count references to noai6ai_cached.
8227
312be3f9
UD
82282011-11-15 Ulrich Drepper <drepper@gmail.com>
8229
8230 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8231
8232 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8233 FD_CLOEXEC for /proc/self/maps.
8234
8235 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8236 FD_CLOEXEC for /proc/meminfo.
8237
8238 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8239 gai.conf.
8240
8241 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8242 FD_CLOEXEC for given file.
8243
8244 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8245
8246 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8247 FD_CLOEXEC for /etc/hosts.
8248 (_gethtent): Likewise.
8249
8250 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8251
8252 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8253 cancellation and set FD_CLOEXEC for /etc/netgroup.
8254
8255 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8256 reading /etc/publickey.
8257
8258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8259 allow cancellation when reading /etc/group.
8260
8261 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8262 cancellation.
8263 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8264
8265 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8266 when using data file.
8267
8268 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8269
8270 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8271 (write_nis_obj): Use "c" and "e" in fopen.
8272
8273 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8274
8275 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8276
8277 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8278
8279 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8280
8281 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8282 locale.alias.
8283
8284 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8285
8286 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8287
8288 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8289
8290 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8291 file parsing and set FD_CLOEXEC.
8292
82af0fa8
UD
82932011-11-14 Ulrich Drepper <drepper@gmail.com>
8294
8295 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8296
a5fb313c
AS
82972011-11-14 Andreas Schwab <schwab@redhat.com>
8298
8299 * malloc/arena.c (arena_get2): Don't call reused_arena when
8300 _int_new_arena failed.
8301
6abf3465
UD
83022011-11-14 Ulrich Drepper <drepper@gmail.com>
8303
8304 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8305 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8310 to compile strcasecmp and strncasecmp.
8311 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8312 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8313
8314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8315
76e3966e
UD
83162011-11-13 Ulrich Drepper <drepper@gmail.com>
8317
8318 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8319 locale-defines.sym to gen-as-const-headers.
8320 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8321 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8323 to compile strcasecmp and strncasecmp.
8324 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8325 strcasecmp_l and strncasecmp_l.
8326 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8327 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8328 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8329 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8330 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8331 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8332 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8333 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8334 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8335 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8336 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8337
ab26144e
UD
83382011-11-12 Ulrich Drepper <drepper@gmail.com>
8339
7edb22ef
UD
8340 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8341 result of SYSDEP_GETTIME_CPU to retval.
8342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8343 parameter list to macro. Remove trailing semicolon. Adjust users.
8344
9694fc44
UD
8345 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8346 variable.
8347
8ad89ef8
UD
8348 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8349 mantissa words.
8350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8351
0c822ef9
UD
8352 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8353 from unused variable.
8354
874e0564
UD
8355 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8356 DWARF definitions.
8357 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8358 for assembling.
8359
3a2edc79
UD
8360 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8361 over namespaces.
8362
f3c2577f
UD
8363 * sunrpc/rpc_prot.c (rejected): Fix case value.
8364
294ce126
UD
8365 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8366 unsigned long long int to avoid warnings in shift.
8367
5e2b63c6
UD
8368 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8369 of use of trans.
8370 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8371 variable tmp.
8372
e7f4b08e
UD
8373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8374 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8375 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8376
ab26144e
UD
8377 * nis/nis_table.c (nis_list): Use variable of correct type for
8378 result of __follow_path call.
8379
8a6d5255
AZ
83802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8383 of math functions ceil, trunc, floor, round, and sqrt, when
8384 avaliable on the platform.
8385 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8386 name clash.
8387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8388 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8389 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8390
aaddc98c
MP
83912011-10-30 Marek Polacek <mpolacek@redhat.com>
8392
8393 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8394 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8395
95b7042b
RM
83962011-11-11 Roland McGrath <roland@hack.frob.com>
8397
8398 * include/unistd.h: Fix __readlink return type.
8399 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8400
57769839
UD
84012011-11-11 Ulrich Drepper <drepper@gmail.com>
8402
8403 * stdlib/ucontext.h: Undo last change for makecontext.
8404
edc5984d
AS
84052011-11-11 Andreas Schwab <schwab@redhat.com>
8406
98591e58
AS
8407 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8408
edc5984d
AS
8409 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8410 * setjmp/setjmp.h: Mark functions as non-leaf.
8411 * setjmp/bits/setjmp2.h: Likewise.
8412 * stdlib/ucontext.h: Likewise.
8413
77cdc054
AS
84142011-11-10 Andreas Schwab <schwab@redhat.com>
8415
8416 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8417 (reused_arena): Don't check arena limit.
8418 (arena_get2): Atomically check arena limit.
8419
fe72eebd
UD
84202011-11-08 Ulrich Drepper <drepper@gmail.com>
8421
5f078c32
UD
8422 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8423 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8424
fe72eebd
UD
8425 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8426 instructions.
8427
ae1bc2fa
AS
84282011-11-07 Andreas Schwab <schwab@redhat.com>
8429
7583a88d
AS
8430 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8431 handler when locking.
8432
ae1bc2fa
AS
8433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8434 Fix size of allocated buffer.
8435
10fb0bfa
AS
84362011-11-04 Andreas Schwab <schwab@redhat.com>
8437
998832a4
AS
8438 [BZ #10103]
8439 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8440 declarations for long double functions.
8441 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8442
10fb0bfa
AS
8443 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8444
3d7ba52b
AS
84452011-11-03 Andreas Schwab <schwab@redhat.com>
8446
a9ae54a1
AS
8447 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8448 installed.
8449
3d7ba52b
AS
8450 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8451 is disabled.
8452
bc8db248
ST
84532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8454
8455 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8456
45b96dd6
AS
84572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8458
647776f6
AS
8459 * include/alloca.h (stackinfo_alloca_round): Define.
8460 (extend_alloca): Use it.
8461 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8462 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8463 here.
8464
d91a8b93
AS
8465 * scripts/check-local-headers.sh: Ignore libaudit.h.
8466
45b96dd6
AS
8467 * nscd/Makefile (extra-objs): Make recursively expanded.
8468
432d41ce
UD
84692011-11-01 Ulrich Drepper <drepper@gmail.com>
8470
34372fc6
UD
8471 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8473
fadb59f8
UD
8474 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8475 * posix/tst-rfc3484-2.c: Likewise.
8476 * posix/tst-rfc3484-3.c: Likewise.
8477
78239589
UD
8478 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8479 process_vm_writev.
8480 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8481 process_vm_writev.
8482 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8483 process_vm_writev from libc using GLIBC_2.15 version.
8484
432d41ce
UD
8485 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8486
02f9c6cf
PP
84872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8488
8489 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8490 stack usage.
8491
3a2c0242
UD
84922011-10-31 Ulrich Drepper <drepper@gmail.com>
8493
f4ec4833
UD
8494 [BZ #13367]
8495 * nss/getent.c (initgroups_keys): Show error message in case no group
8496 names are given.
8497
3a2c0242
UD
8498 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8499 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8500 __bump_nl_timestamp.
8501 * nscd/connections (nscd_init): When host database is served open
8502 netlink socket and request notification about configuration changes.
8503 (main_loop_poll): Track netlink file descriptor and bump timestamp
8504 in case data becomes available.
8505 (main_loop_epoll): Likewise.
8506 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8507 (database_pers_head): Add extra_data fileds.
8508 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8509 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8510 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8511 Adjust caller.
8512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8513 in6ai data, call __free_in6ai.
8514 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8515 Add -DHAVE_NETLINK.
8516 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8517 interface information. Reuse previous data if netlink timestamp
8518 is not changed.
8519 (__bump_nl_timestamp): New function.
8520 (__free_in6ai): New function.
8521
636064eb
UD
85222011-10-30 Ulrich Drepper <drepper@gmail.com>
8523
8524 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8525 close_not_cancel_no_status here.
8526 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8527
9beb2334
UD
85282011-10-29 Ulrich Drepper <drepper@gmail.com>
8529
6ef76f3b
UD
8530 [BZ #13276]
8531 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8532 return value.
8533
0ffc4f3e 8534 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8535 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8536 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8537
cb95113e
UD
85382011-07-03 Andreas Jaeger <aj@suse.de>
8539
8540 [BZ #10709]
8541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8542 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8543 * math/libm-test.inc (sin_test): Add test case.
8544
a1b560ff
UD
85452011-10-29 Ulrich Drepper <drepper@gmail.com>
8546
c9aaface
UD
8547 [BZ #13337]
8548 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8549 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8550
d272e7f1
UD
8551 * elf/chroot_canon.c (chroot_canon): Cleanups.
8552
1bc33071
UD
8553 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8554
1760874d
TJ
8555 [BZ #13335]
8556 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8557 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8558
51d91b18
UD
8559 * string/test-strchr.c: Make usable for strchrnul testing.
8560 * string/test-strchrnul.c: New file.
8561 * string/Makefile (strop-tests): Add strchrnul.
8562
a1b560ff 8563 * po/it.po: Update from translation team.
b611fb81 8564 * po/es.po: Likewise.
a1b560ff 8565
a5b81e1f
UD
85662011-10-28 Ulrich Drepper <drepper@gmail.com>
8567
fd52bc6d
UD
8568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8569 the three constants needed as parameters. Drop the others.
8570 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8571 __m128i_strloadu_tolower.
52e4b9eb
UD
8572 Create and initialize variable zero and use it in all the places
8573 where _mm_setzero_si128 was used.
fd52bc6d 8574
a5b81e1f
UD
8575 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8576 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8577 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8579 anymore.
8580 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8581 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8582 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8583 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8584 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8585 __mpranred, __mptan.
8586 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8587 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8588 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8589 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8590 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8591 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8594 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8595
b4343346
AS
85962011-10-28 Andreas Schwab <schwab@redhat.com>
8597
0c92d8a8
AS
8598 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8599 redefine if SHARED.
8600 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8601
b4343346
AS
8602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8603 wide char related routines to wcsmbs subdir.
8604
3871f58f
AS
86052011-10-27 Andreas Schwab <schwab@redhat.com>
8606
8607 [BZ #13344]
8608 * misc/sys/cdefs.h (__THROWNL): Define.
8609 * posix/unistd.h: Use __THREADNL instead of __THREAD
8610 for memory synchronization functions.
8611
94d44d9f
RM
86122011-10-26 Roland McGrath <roland@hack.frob.com>
8613
21b64b15 8614 [BZ #13349]
94d44d9f
RM
8615 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8616 doesn't exist.
8617 * manual/stdio.texi (Obstack Streams): Node removed.
8618
f6ce9294
AS
86192011-10-26 Andreas Schwab <schwab@redhat.com>
8620
80479147
AS
8621 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8624
f6ce9294
AS
8625 * math/math_private.h (math_force_eval): Allow non-addressable
8626 arguments.
8627 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8628
618280a1
UD
86292011-10-25 Ulrich Drepper <drepper@gmail.com>
8630
e0016b11
UD
8631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8632 file is not needed.
8633
8634 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8641 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8642 Add AVX variants.
8643 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8644 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8645 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8646 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8647 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8648 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8649 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8650 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8651 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8652 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8653 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8654 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8656 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8657 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8658 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8659 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8661 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8662
8663 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8664 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8665
618280a1
UD
8666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8667 place. Use VEX encoding when compiling for AVX.
8668
37822576
AS
86692011-10-25 Andreas Schwab <schwab@redhat.com>
8670
1f1e1947
AS
8671 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8672 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8673
37822576
AS
8674 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8675
31ea014d
UD
86762011-10-25 Ulrich Drepper <drepper@gmail.com>
8677
d7826aa1 8678 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8679 useless if() expression.
d7826aa1
UD
8680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8689 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8690 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8698 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8699
31ea014d
UD
8700 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8701
16437fec
AS
87022011-10-25 Andreas Schwab <schwab@redhat.com>
8703
8704 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8705 condition.
8706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8707
31d3cc00
UD
87082011-10-25 Ulrich Drepper <drepper@gmail.com>
8709
8710 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8711 .text section. Avoid duplicate constants.
8712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8722 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8724 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8729 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8739 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8740 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8742 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8743 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8744 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8745 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8747 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8748 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8750 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8751 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8754 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8755 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8756 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8757
58985aa9
UD
87582011-10-24 Ulrich Drepper <drepper@gmail.com>
8759
202c9deb
UD
8760 * sysdeps/x86_64/dla.h: Move to ...
8761 * sysdeps/x86_64/fpu/dla.h: ...here.
8762 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8763 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8764
af968f62
UD
8765 * config.make.in: Add have-mfma4 entry.
8766 * configure.in: Substitute libc_cv_cc_fma4.
8767 * math/Makefile (dbl-only-routines): Add sincostab.
8768 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8769 Use __sincostab not sincos.
8770 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8771 name is a macro.
8772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8776 using __copysign.
8777 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8778 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8779 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8780 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8781 and __inv.
8782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8783 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8784 __copysign.
8785 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8786 define aliases when function name is a macro.
8787 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8788 sysdeps/ieee754/dbl-64/sincos.tbl.
8789 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8790 fma4-enabled routines.
8791 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8792 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8794 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8796 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8805 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8806 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8807 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8808 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8809 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8811 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8812 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8818 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8819 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8820 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8821
58985aa9
UD
8822 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8823 rename.
8824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8832
a201fbcf
AS
88332011-10-24 Andreas Schwab <schwab@redhat.com>
8834
8835 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8836
fc2ee42a
LD
88372011-10-23 Ulrich Drepper <drepper@gmail.com>
8838
bb3129bd
UD
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8840
0275fff8
UD
8841 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8842 prediction.
8843 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8844
2fa2ae85
UD
8845 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8846 Remove unused variable magic_bits.
8847 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8848
fc2ee42a
LD
8849 * string/strnlen.c: Define and use STRNLEN macro.
8850 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8851 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8853 * wcsmbs/wcslen.c: Define and use WCSLEN.
8854 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8855 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8856 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8857 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8858 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8859 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8860 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8861
ce7dd29f
LD
88622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8863
8864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8865 strnlen-sse2-no-bsf.
8866 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8868 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8869 Add strnlen support.
8870 (USE_AS_STRNLEN): New macro.
8871 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8873 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8874 * sysdeps/x86_64/wcslen.S: New file.
8875
979c70a3
MZ
88762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8877
8878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8879 XMM-moves are used for copying on small sizes.
8880
2d09f82f
LD
88812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8882
8883 * wcsmbs/Makefile (strop-tests): Add wcschr.
8884 * wcsmbs/test-wcschr.c: New file.
8885 * string/test-strchr.c: Update.
8886 Add wcschr support.
8887 (WIDE): New macro.
8888
619fccca
LD
88892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8890
2d09f82f 8891 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8892 * wcsmbs/test-wcslen.c: New file.
8893 * string/test-strlen.c: Update.
8894 Add wcslen support.
8895 (WIDE): New macro.
8896
09f699ea
UD
88972011-10-23 Ulrich Drepper <drepper@gmail.com>
8898
8899 * po/it.po: Update from translation team.
8900
95584d3b
LD
89012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8902
8903 * sysdeps/x86_64/wcscmp.S: Update.
8904 Fix wrong comparison semantics.
8905 wcscmp shall use signed comparison not unsigned.
8906 Don't use substraction to avoid overflow bug.
8907 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8908 * wcsmbc/wcscmp.c: Likewise.
8909 * string/test-strcmp.c: Likewise.
8910 Add new tests to check cases with negative values.
8911
c8b3296b
UD
89122011-10-23 Ulrich Drepper <drepper@gmail.com>
8913
8914 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8915 * sysdeps/x86_64/dla.h: ...here. New file.
8916 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8925
246ad57a
AS
89262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8927
8928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8929 __ynl_finite aliases.
8930
a1a87169
UD
89312011-10-22 Ulrich Drepper <drepper@gmail.com>
8932
0d355eb7
UD
8933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8934
a1a87169
UD
8935 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8936 define DLA_FMA.
8937 [DLA_FMA] (EMULV): Use DLA_FMA.
8938 [DLA_FMA] (MUL12): Use EMULV.
8939 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8940 that are not needed.
8941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8948
ee2aafe0
AS
89492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8950
8951 * math/s_nan.c: Undef __nan.
8952 * math/s_nanf.c: Undef __nanf.
8953 * math/s_nanl.c: Undef __nanl.
8954 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8955 "math_private.h".
8956
bc62c2fb
UD
89572011-10-22 Ulrich Drepper <drepper@gmail.com>
8958
77425c63
UD
8959 * math/s_catan.c: Add branch predictions.
8960 * math/s_catanf.c: Likewise.
8961 * math/s_catanh.c: Likewise.
8962 * math/s_catanhf.c: Likewise.
8963 * math/s_catanhl.c: Likewise.
8964 * math/s_catanl.c: Likewise.
8965 * math/s_cexp.c: Likewise.
8966 * math/s_cexpf.c: Likewise.
8967 * math/s_cexpl.c: Likewise.
8968 * math/s_clog.c: Likewise.
8969 * math/s_clog10.c: Likewise.
8970 * math/s_clog10f.c: Likewise.
8971 * math/s_clog10l.c: Likewise.
8972 * math/s_clogf.c: Likewise.
8973 * math/s_clogl.c: Likewise.
8974 * math/s_csqrt.c: Likewise.
8975 * math/s_csqrtf.c: Likewise.
8976 * math/s_csqrtl.c: Likewise.
8977 * math/s_ctanf.c: Likewise.
8978 * math/s_ctanh.c: Likewise.
8979 * math/s_ctanhf.c: Likewise.
8980 * math/s_ctanhl.c: Likewise.
8981 * math/s_ctanl.c: Likewise.
8982
bc62c2fb
UD
8983 * math/math_private.h: Define __nan, __nanf, __nanl.
8984 * math/s_cacosh.c: Include <math_private.h>.
8985 * math/s_cacoshl.c: Likewise.
8986 * math/s_casinh.c: Likewise.
8987 * math/s_casinhf.c: Likewise.
8988 * math/s_casinhl.c: Likewise.
8989 * math/s_ccos.c: Rely entire on ccosh.
8990 * math/s_ccosf.c: Rely entire on ccoshf.
8991 * math/s_ccosl.c: Rely entirely on ccoshl.
8992 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8993 Remove tests for FE_INVALID.
8994 * math/s_ccoshf.c: Likewise.
8995 * math/s_ccoshl.c: Likewise.
8996 * math/s_csin.c: Likewise.
8997 * math/s_csinf.c: Likewise.
8998 * math/s_csinh.c Likewise.
8999 * math/s_csinhf.c: Likewise.
9000 * math/s_csinhl.c: Likewise.
9001 * math/s_csinl.c: Likewise.
9002 * math/s_ctan.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9004 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9006
8ec250a4
UD
90072011-10-21 Ulrich Drepper <drepper@gmail.com>
9008
c196fed8
UD
9009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9010 compilation problems.
9011
8ec250a4
UD
9012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9013 __builtin_expect.
9014
8d4f46c6
UD
90152011-10-20 Ulrich Drepper <drepper@gmail.com>
9016
ed72b654
UD
9017 * sysdeps/i386/configure.in: Test for -mfma4 option.
9018 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9019 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9020 COMMON_CPUID_INDEX_80000001.
9021 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9022 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9023 use it if FMA3 is not supported.
9024 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9025
8d4f46c6
UD
9026 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9028
d45c60c2
AS
90292011-10-20 Andreas Schwab <schwab@redhat.com>
9030
9031 [BZ #12892]
9032 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9033 it would create a cycle with a link time dependency.
9034
d9a4d2ab
UD
90352011-10-19 Ulrich Drepper <drepper@gmail.com>
9036
855d1560
UD
9037 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9038 instruction.
9039 * string/Makefile (strop-tests): Add rawmemchr.
9040 * string/test-rawmemchr.c: New file.
9041
d9a4d2ab
UD
9042 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9044 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9045 when compiling str{,n}casecmp and when AVX is available. Hook up
9046 new optimized code in initializers.
9047
8f3b1ffe
AS
90482011-10-19 Andreas Schwab <schwab@redhat.com>
9049
9050 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9051 __feraiseexcept instead of feraiseexcept.
9052
d38f1dba
UD
90532011-10-18 Ulrich Drepper <drepper@gmail.com>
9054
d9a8d0ab
UD
9055 * math/math_private.h: Define defaults for libc_fetestexcept and
9056 libc_feupdateenv.
9057 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9058 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9060 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9062 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9063 libc_fetestexcept and libc_feupdateenv.
9064
4855e3dd
UD
9065 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9066 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9067 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9068 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9069 libc_feholdexcept_setround.
9070
581d30e3
UD
9071 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9072 Add s_nearbyint-c and s_nearbyintf-c.
9073 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9074 nearbyintf inlines.
9075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9077 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9078 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9079
d38f1dba
UD
9080 * math/math_private.h: Define defaults for libc_fegetround,
9081 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9082 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9083 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9085 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9086 standard functions.
9087 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9088 Remove comments and hacks for old compiler versions.
9089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9090 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9091 libc_feholdexceptl.
9092
caa6c9d8
AS
90932011-10-18 Andreas Schwab <schwab@redhat.com>
9094
9095 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9096 (__feraiseexcept_renamed): Add __NTH.
9097 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9098 namespace violations.
9099
97c066e6
UD
91002011-10-17 Ulrich Drepper <drepper@gmail.com>
9101
99ce7b04
UD
9102 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9103
1004d182
UD
9104 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9105
228a984d
UD
9106 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9107 recently added interfaces.
9108 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9109
c8553a6a
UD
9110 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9111 about macro parameter expansion.
9112
ed22dcf6
UD
9113 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9114 __NO_MATH_INLINES is defined. Cleanups.
9115
9116 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9117 and __floorf is target has SSE4.1.
9118 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9119 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9120 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9122
b171c137
UD
9123 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9124 name.
9125 (floorf): Likewise.
9126
97c066e6
UD
9127 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9128
629f62ef
AS
91292011-10-17 Andreas Schwab <schwab@redhat.com>
9130
49a43d80
AS
9131 * misc/sys/cdefs.h: Fix last change.
9132
629f62ef
AS
9133 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9134 database lookup.
9135
e453f6cd
UD
91362011-10-16 Ulrich Drepper <drepper@gmail.com>
9137
aa78043a
UD
9138 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9139
ad0f5cad
UD
9140 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9148 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9149 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9150 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9151 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9152 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9153 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9154 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9155 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9156 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9157 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9158 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9159 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9160 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9161 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9162
9163 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9164 ceil, ceilf, floor, floorf.
9165
9166 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9167 Perform IRELATIVE relocations last.
9168
e453f6cd
UD
9169 * elf/do-rel.h: Add another parameter nrelative, replacing the
9170 local variable with the same name. Change name of the function
9171 to end in Rel or Rela (uppercase).
9172 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9173 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9174 elf_dynamic_do_##reloc function.
9175
fd5bdc09
UD
91762011-10-15 Ulrich Drepper <drepper@gmail.com>
9177
79b195b5
UD
9178 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9179 is sufficient, at least on modern CPUs.
9180
d4a28569
UD
9181 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9182
b61099b5
UD
9183 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9185
bcf01e6d
UD
9186 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9187 __expl_finite.
9188 * math/bits/math-finite.h: Add entries for exp.
9189 * math/e_expl.c: Add __*_finite alias.
9190 * sysdeps/i386/fpu/e_exp.S: Likewise.
9191 * sysdeps/i386/fpu/e_expf.S: Likewise.
9192 * sysdeps/i386/fpu/e_expl.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9198 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9199 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9200
ba1a0d59
UD
9201 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9202 is sufficient, at least on modern CPUs.
9203
fd5bdc09
UD
9204 * ctype/ctype-info.c (__ctype_init): Define.
9205 * include/ctype.h (__ctype_init): Declare.
9206 (__ctype_b_loc): The variable is always initialized.
9207 (__ctype_toupper_loc): Likewise.
9208 (__ctype_tolower_loc): Likewise.
9209 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9210 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9211
7872cfb0
AS
92122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9213
b468825a
AS
9214 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9215
7872cfb0
AS
9216 * configure.in: Also look in $cxxmachine/include for C++ system
9217 headers.
9218
be13f7bf
LD
92192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9220
9221 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9222 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9223 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9224 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9226 (USE_AS_WMEMCMP): New macro.
9227 Fixing indents.
9228 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9229 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9230 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9231 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9233 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9234 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9235 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9236 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9237 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9238 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9239 (USE_AS_WMEMCMP): New macro.
9240 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9241 * sysdeps/string/test-memcmp.c: Update.
9242 Fix simple_wmemcmp.
9243 Add new tests.
9244 * wcsmbs/wmemcmp.c: Update.
9245 (WMEMCMP): New macro.
9246 Fix overflow bug.
9247
556a2007
AJ
92482011-10-12 Andreas Jaeger <aj@suse.de>
9249
9250 [BZ #13268]
9251 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9252
538faaa7
UD
92532011-10-15 Ulrich Drepper <drepper@gmail.com>
9254
ab6737ff
UD
9255 * libio/iofwide.c (do_length): Avoid warning.
9256
538faaa7
UD
9257 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9258
396a21b1
UD
92592011-10-14 Ulrich Drepper <drepper@gmail.com>
9260
cdf2901f
UD
9261 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9262
38ad40ce
UD
9263 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9264 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9265 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9266 * sysdeps/i386/i686/fpu/e_log.S: New file.
9267 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9268 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9269
396a21b1
UD
9270 * ctype/ctype.h: Add support for inlined isXXX functions when
9271 compiling C++ code.
9272
6b1f68c9
AS
92732011-10-14 Andreas Schwab <schwab@redhat.com>
9274
349290c0
AS
9275 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9276
6b1f68c9
AS
9277 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9278
f2282d42
RM
92792011-10-13 Roland McGrath <roland@hack.frob.com>
9280
9281 [BZ #13291]
9282 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9283
5298ffa8
AS
92842011-10-13 Andreas Schwab <schwab@redhat.com>
9285
714fad23
AS
9286 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9287 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9288 feraiseexcept.
9289
81dcc7fb
AS
9290 * sysdeps/x86_64/memrchr.S: Check for zero size.
9291
5298ffa8
AS
9292 * string/stratcliff.c: Add memrchr tests.
9293
951fbcec
LD
92942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9295
9296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9297 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9298 rawmemchr-sse2 rawmemchr-sse2-bsf.
9299 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9300 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9301 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9302 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9303 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9304 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9305 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9306 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9307 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9308 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9309 * string/memrchr.c (MEMRCHR): New macro.
9310
0ac5ae23
UD
93112011-10-12 Ulrich Drepper <drepper@gmail.com>
9312
9313 Add integration with gcc's -ffinite-math-only and optimize wrapper
9314 functions in libm.
9315 * Versions.def: Define GLIBC_2.15 version for libm.
9316 * math/Makefile (headers): Add bits/math-finite.h.
9317 * math/bits/math-finite.h: New file.
9318 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9319 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9320 * math/e_acoshl.c: Add __*_finite alias.
9321 * math/e_acosl.c: Likewise.
9322 * math/e_asinl.c: Likewise.
9323 * math/e_atan2l.c: Likewise.
9324 * math/e_atanhl.c: Likewise.
9325 * math/e_coshl.c: Likewise.
9326 * math/e_exp10.c: Likewise.
9327 * math/e_exp10f.c: Likewise.
9328 * math/e_exp10l.c: Likewise.
9329 * math/e_exp2l.c: Likewise.
9330 * math/e_fmodl.c: Likewise.
9331 * math/e_gammal_r.c: Likewise.
9332 * math/e_hypotl.c: Likewise.
9333 * math/e_j0l.c: Likewise.
9334 * math/e_j1l.c: Likewise.
9335 * math/e_jnl.c: Likewise.
9336 * math/e_lgammal_r.c: Likewise.
9337 * math/e_log10l.c: Likewise.
9338 * math/e_log2l.c: Likewise.
9339 * math/e_logl.c: Likewise.
9340 * math/e_powl.c: Likewise.
9341 * math/e_sinhl.c: Likewise.
9342 * math/e_sqrtl.c: Likewise.
9343 * math/e_scalb.c: Completely rewritten and optimized.
9344 * math/e_scalbf.c: Likewise.
9345 * math/e_scalbl.c: Likewise.
9346 * math/w_acos.c: Likewise.
9347 * math/w_acosf.c: Likewise.
9348 * math/w_acosl.c: Likewise.
9349 * math/w_acosh.c: Likewise.
9350 * math/w_acoshf.c: Likewise.
9351 * math/w_acoshl.c: Likewise.
9352 * math/w_asin.c: Likewise.
9353 * math/w_asinf.c: Likewise.
9354 * math/w_asinl.c: Likewise.
9355 * math/w_atan2.c: Likewise.
9356 * math/w_atan2f.c: Likewise.
9357 * math/w_atan2l.c: Likewise.
9358 * math/w_atanh.c: Likewise.
9359 * math/w_atanhf.c: Likewise.
9360 * math/w_atanhl.c: Likewise.
9361 * math/w_exp10.c: Likewise.
9362 * math/w_exp10f.c: Likewise.
9363 * math/w_exp10l.c: Likewise.
9364 * math/w_fmod.c: Likewise.
9365 * math/w_fmodf.c: Likewise.
9366 * math/w_fmodl.c: Likewise.
9367 * math/w_j0.c: Likewise.
9368 * math/w_j0f.c: Likewise.
9369 * math/w_j0l.c: Likewise.
9370 * math/w_j1.c: Likewise.
9371 * math/w_j1f.c: Likewise.
9372 * math/w_j1l.c: Likewise.
9373 * math/w_jn.c: Likewise.
9374 * math/w_jnf.c: Likewise.
9375 * math/w_log.c: Likewise.
9376 * math/w_logf.c: Likewise.
9377 * math/w_logl.c: Likewise.
9378 * math/w_log10.c: Likewise.
9379 * math/w_log10f.c: Likewise.
9380 * math/w_log10l.c: Likewise.
9381 * math/w_log2.c: Likewise.
9382 * math/w_log2f.c: Likewise.
9383 * math/w_log2l.c: Likewise.
9384 * math/w_pow.c: Likewise.
9385 * math/w_powf.c: Likewise.
9386 * math/w_powl.c: Likewise.
9387 * math/w_remainder.c: Likewise.
9388 * math/w_remainderf.c: Likewise.
9389 * math/w_remainderl.c: Likewise.
9390 * math/w_scalb.c: Likewise.
9391 * math/w_scalbf.c: Likewise.
9392 * math/w_scalbl.c: Likewise.
9393 * math/w_sqrt.c: Likewise.
9394 * math/w_sqrtf.c: Likewise.
9395 * math/w_sqrtl.c: Likewise.
9396 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9397 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9398 used.
9399 * math/math_private.h: Declare __kernel_standard_f.
9400 * math/w_cosh.c: Remove cruft and optimize a bit.
9401 * math/w_coshf.c: Likewise.
9402 * math/w_coshl.c: Likewise.
9403 * math/w_exp2.c: Likewise.
9404 * math/w_exp2f.c: Likewise.
9405 * math/w_exp2l.c: Likewise.
9406 * math/w_hypot.c: Likewise.
9407 * math/w_hypotf.c: Likewise.
9408 * math/w_hypotl.c: Likewise.
9409 * math/w_lgamma.c: Likewise.
9410 * math/w_lgamma_r.c: Likewise.
9411 * math/w_lgammaf.c: Likewise.
9412 * math/w_lgammaf_r.c: Likewise.
9413 * math/w_lgammal.c: Likewise.
9414 * math/w_lgammal_r.c: Likewise.
9415 * math/w_sinh.c: Likewise.
9416 * math/w_sinhf.c: Likewise.
9417 * math/w_sinhl.c: Likewise.
9418 * math/w_tgamma.c: Likewise.
9419 * math/w_tgammaf.c: Likewise.
9420 * math/w_tgammal.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9422 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9423 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9424 Minor optimizations. Pretty printing. Remove cruft.
9425 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9427 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9428 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9429 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9430 * sysdeps/i386/fpu/e_asin.S: Likewise.
9431 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9432 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9433 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9434 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9436 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9438 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9439 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9440 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9441 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9442 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9443 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9444 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9445 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9446 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9447 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9448 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9449 * sysdeps/i386/fpu/e_log.S: Likewise.
9450 * sysdeps/i386/fpu/e_log10.S: Likewise.
9451 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9453 * sysdeps/i386/fpu/e_log2.S: Likewise.
9454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9455 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9456 * sysdeps/i386/fpu/e_logf.S: Likewise.
9457 * sysdeps/i386/fpu/e_logl.S: Likewise.
9458 * sysdeps/i386/fpu/e_pow.S: Likewise.
9459 * sysdeps/i386/fpu/e_powf.S: Likewise.
9460 * sysdeps/i386/fpu/e_powl.S: Likewise.
9461 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9462 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9463 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9466 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9467 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9468 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9469 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9495 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9497 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9499 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9504 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9505 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9506 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9509 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9511 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9561 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9562 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9563 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9564 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9565 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9566 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9567 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9568 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9569 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9570 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9571 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9572 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9573 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9574 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9576 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9578 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9580 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9581 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9582 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9583 (__isnanf): Likewise.
9584 (__isinf_ns): Likewise.
9585 (__isinf_nsf): Likewise.
9586 (__finite): Likewise.
9587 (__finitef): Likewise.
9588 (__ieee754_sqrt): Define as macro.
9589 (__ieee754_sqrtf): Define as macro.
9590 (__ieee754_sqrtl): Define as macro.
9591 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9592 inlined copy.
9593 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9594 __FINITE_MATH_ONLY__ consistent.
9595 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9596
12cc2fcd
AS
95972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9598
a843a204
AS
9599 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9600 of rawmemchr.
9601
12cc2fcd
AS
9602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9603
c853acd5
UD
96042011-10-09 Ulrich Drepper <drepper@gmail.com>
9605
9606 * po/ja.po: Update from translation team.
9607
c658d255
RM
96082011-10-08 Roland McGrath <roland@hack.frob.com>
9609
110946e4
RM
9610 * locale/programs/locarchive.c (prepare_address_space): New function.
9611 (create_archive, enlarge_archive, open_archive): Use it.
9612
50604220
RM
9613 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9614 inside [SHARED], where it is used.
9615
c658d255
RM
9616 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9617
9618 * nss/getent.c (netgroup_keys): Remove unused variable.
9619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9620
6a621eb7
UD
96212011-10-08 Ulrich Drepper <drepper@gmail.com>
9622
7edb55ce
UD
9623 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9627 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9628 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9629 * math/Makefile (libm-calls): Add s_isinf_ns.
9630 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9631 * math/multc3.c: Likewise.
9632 * math/s_casin.c: Likewise.
9633 * math/s_casinf.c: Likewise.
9634 * math/s_casinl.c: Likewise.
9635 * math/s_ccos.c: Likewise.
9636 * math/s_ccosf.c: Likewise.
9637 * math/s_ccosl.c: Likewise.
9638 * math/s_ctan.c: Likewise.
9639 * math/s_ctanf.c: Likewise.
9640 * math/s_ctanh.c: Likewise.
9641 * math/s_ctanhf.c: Likewise.
9642 * math/s_ctanhl.c: Likewise.
9643 * math/s_ctanl.c: Likewise.
9644 * math/w_fmod.c: Likewise.
9645 * math/w_fmodf.c: Likewise.
9646 * math/w_fmodl.c: Likewise.
9647 * math/w_remainder.c: Likewise.
9648 * math/w_remainderf.c: Likewise.
9649 * math/w_remainderl.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9651 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9654 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9655 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9656 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9657 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9658
187da0ae
UD
9659 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9660 of the number.
9661 * stdio-common/printf_fphex.c: Likewise.
9662 * stdio-common/printf_size.c: Likewise.
9663
9277c064
UD
9664 * math/e_exp10.c: Include math_private.h using <...> not "...".
9665 * math/e_exp10f.c: Likewise.
9666 * math/e_exp10l.c: Likewise.
9667 * math/e_exp2l.c: Likewise.
9668 * math/e_j0l.c: Likewise.
9669 * math/e_j1l.c: Likewise.
9670 * math/e_jnl.c: Likewise.
9671 * math/e_lgammal_r.c: Likewise.
9672 * math/e_rem_pio2l.c: Likewise.
9673 * math/e_scalb.c: Likewise.
9674 * math/e_scalbf.c: Likewise.
9675 * math/e_scalbl.c: Likewise.
9676 * math/k_cosl.c: Likewise.
9677 * math/k_sinl.c: Likewise.
9678 * math/k_tanl.c: Likewise.
9679 * math/s_cacoshf.c: Likewise.
9680 * math/s_catan.c: Likewise.
9681 * math/s_catanf.c: Likewise.
9682 * math/s_catanh.c: Likewise.
9683 * math/s_catanhf.c: Likewise.
9684 * math/s_catanhl.c: Likewise.
9685 * math/s_catanl.c: Likewise.
9686 * math/s_ccosh.c: Likewise.
9687 * math/s_ccoshf.c: Likewise.
9688 * math/s_ccoshl.c: Likewise.
9689 * math/s_cexp.c: Likewise.
9690 * math/s_cexpf.c: Likewise.
9691 * math/s_cexpl.c: Likewise.
9692 * math/s_clog.c: Likewise.
9693 * math/s_clog10.c: Likewise.
9694 * math/s_clog10f.c: Likewise.
9695 * math/s_clog10l.c: Likewise.
9696 * math/s_clogf.c: Likewise.
9697 * math/s_clogl.c: Likewise.
9698 * math/s_csin.c: Likewise.
9699 * math/s_csinf.c: Likewise.
9700 * math/s_csinh.c: Likewise.
9701 * math/s_csinhf.c: Likewise.
9702 * math/s_csinhl.c: Likewise.
9703 * math/s_csinl.c: Likewise.
9704 * math/s_csqrt.c: Likewise.
9705 * math/s_csqrtf.c: Likewise.
9706 * math/s_csqrtl.c: Likewise.
9707 * math/s_ctan.c: Likewise.
9708 * math/s_ctanf.c: Likewise.
9709 * math/s_ctanh.c: Likewise.
9710 * math/s_ctanhf.c: Likewise.
9711 * math/s_ctanhl.c: Likewise.
9712 * math/s_ctanl.c: Likewise.
9713 * math/s_ldexp.c: Likewise.
9714 * math/s_ldexpf.c: Likewise.
9715 * math/s_ldexpl.c: Likewise.
9716 * math/s_significand.c: Likewise.
9717 * math/s_significandf.c: Likewise.
9718 * math/s_significandl.c: Likewise.
9719 * math/w_acos.c: Likewise.
9720 * math/w_acosf.c: Likewise.
9721 * math/w_acosh.c: Likewise.
9722 * math/w_acoshf.c: Likewise.
9723 * math/w_acoshl.c: Likewise.
9724 * math/w_acosl.c: Likewise.
9725 * math/w_asin.c: Likewise.
9726 * math/w_asinf.c: Likewise.
9727 * math/w_asinl.c: Likewise.
9728 * math/w_atan2.c: Likewise.
9729 * math/w_atan2f.c: Likewise.
9730 * math/w_atan2l.c: Likewise.
9731 * math/w_atanh.c: Likewise.
9732 * math/w_atanhf.c: Likewise.
9733 * math/w_atanhl.c: Likewise.
9734 * math/w_cosh.c: Likewise.
9735 * math/w_coshf.c: Likewise.
9736 * math/w_coshl.c: Likewise.
9737 * math/w_dremf.c: Likewise.
9738 * math/w_exp10.c: Likewise.
9739 * math/w_exp10f.c: Likewise.
9740 * math/w_exp10l.c: Likewise.
9741 * math/w_exp2.c: Likewise.
9742 * math/w_exp2f.c: Likewise.
9743 * math/w_fmod.c: Likewise.
9744 * math/w_fmodf.c: Likewise.
9745 * math/w_fmodl.c: Likewise.
9746 * math/w_hypot.c: Likewise.
9747 * math/w_hypotf.c: Likewise.
9748 * math/w_hypotl.c: Likewise.
9749 * math/w_j0.c: Likewise.
9750 * math/w_j0f.c: Likewise.
9751 * math/w_j0l.c: Likewise.
9752 * math/w_j1.c: Likewise.
9753 * math/w_j1f.c: Likewise.
9754 * math/w_j1l.c: Likewise.
9755 * math/w_jn.c: Likewise.
9756 * math/w_jnf.c: Likewise.
9757 * math/w_jnl.c: Likewise.
9758 * math/w_lgamma.c: Likewise.
9759 * math/w_lgamma_r.c: Likewise.
9760 * math/w_lgammaf.c: Likewise.
9761 * math/w_lgammaf_r.c: Likewise.
9762 * math/w_lgammal.c: Likewise.
9763 * math/w_lgammal_r.c: Likewise.
9764 * math/w_log.c: Likewise.
9765 * math/w_log10.c: Likewise.
9766 * math/w_log10f.c: Likewise.
9767 * math/w_log10l.c: Likewise.
9768 * math/w_log2.c: Likewise.
9769 * math/w_log2f.c: Likewise.
9770 * math/w_log2l.c: Likewise.
9771 * math/w_logf.c: Likewise.
9772 * math/w_logl.c: Likewise.
9773 * math/w_pow.c: Likewise.
9774 * math/w_powf.c: Likewise.
9775 * math/w_powl.c: Likewise.
9776 * math/w_remainder.c: Likewise.
9777 * math/w_remainderf.c: Likewise.
9778 * math/w_remainderl.c: Likewise.
9779 * math/w_scalb.c: Likewise.
9780 * math/w_scalbf.c: Likewise.
9781 * math/w_scalbl.c: Likewise.
9782 * math/w_sinh.c: Likewise.
9783 * math/w_sinhf.c: Likewise.
9784 * math/w_sinhl.c: Likewise.
9785 * math/w_sqrt.c: Likewise.
9786 * math/w_sqrtf.c: Likewise.
9787 * math/w_sqrtl.c: Likewise.
9788 * math/w_tgamma.c: Likewise.
9789 * math/w_tgammaf.c: Likewise.
9790 * math/w_tgammal.c: Likewise.
9791
6a621eb7
UD
9792 * po/ja.po: Update from translation team.
9793
bf582445
AJ
97942011-09-29 Andreas Jaeger <aj@suse.de>
9795
f9efbf3a
AJ
9796 [BZ #13179]
9797 * sunrpc/netname.c (netname2host): Fix logic.
9798
bf582445
AJ
9799 [BZ #6779]
9800 [BZ #6783]
9801 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9802 correctly.
9803 * math/w_remainder.c (__remainder): Likewise.
9804 * math/w_remainderf.c (__remainderf): Likewise.
9805 * math/libm-test.inc (remainder_test): Add test cases.
9806
48693bea
AK
98072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9808
9809 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9810 sdiv_qrnnd.
9811
42622229
LD
98122011-10-07 Ulrich Drepper <drepper@gmail.com>
9813
9814 * string/test-memcmp.c: Avoid unncessary #defines.
9815 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9816
093ecf92
LD
98172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9818
9819 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9820 Use new sse2 version for core i3 - i7 as it's faster
9821 than sse42 version.
9822 (bit_Prefer_PMINUB_for_stringop): New.
9823 * sysdeps/x86_64/rawmemchr.S: Update.
9824 Replace with faster SSE2 version.
9825 * sysdeps/x86_64/memrchr.S: New file.
9826 * sysdeps/x86_64/memchr.S: Update.
9827 Replace with faster SSE2 version.
9828
fde56e5c
MP
98292011-09-12 Marek Polacek <mpolacek@redhat.com>
9830
9831 * elf/dl-load.c (lose): Add cast to avoid warning.
9832
21fd49a9
UD
98332011-10-07 Ulrich Drepper <drepper@gmail.com>
9834
5a06e643
UD
9835 * po/ca.po: Update from translation team.
9836
684ae515
UD
9837 * inet/getnetgrent_r.c: Hook up nscd.
9838 * nscd/Makefile (routines): Add nscd_netgroup.
9839 (nscd-modules): Add netgroupcache.
9840 (CFLAGS-netgroupcache.c): Define.
9841 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9842 (cache_search): Add const to second parameter.
9843 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9844 INNETGR.
9845 (dbs): Add netgrdb entry.
9846 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9847 (verify_persistent_db): Handle netgrdb.
9848 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9849 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9850 GETFDNETGR.
9851 (netgroup_response_header): Define.
9852 (innetgroup_response_header): Define.
9853 (datahead): Add netgroup_response_header and innetgroup_response_header
9854 elements.
9855 * nscd/nscd.conf: Add entries for netgroup cache.
9856 * nscd/nscd.h (dbtype): Add netgrdb.
9857 (_PATH_NSCD_NETGROUP_DB): Define.
9858 (netgroup_iov_disabled): Declare.
9859 (xmalloc, xcalloc, xrealloc): Move declarations here.
9860 (cache_search): Adjust prototype.
9861 Add netgroup-related prototypes.
9862 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9863 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9864 (__nscd_innetgr): Declare.
9865 * nscd/selinux.c (perms): Use access_vector_t as element type and
9866 add netgroup-related initializers.
9867 * nscd/netgroupcache.c: New file.
9868 * nscd/nscd_netgroup.c: New file.
9869 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9870 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9871 For four parameters use innetgr.
9872 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9873 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9874 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9875 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9876
21fd49a9
UD
9877 * nscd/connections.c (register_traced_file): Don't register file
9878 for disabled databases.
9879
054c0457
UD
98802011-10-06 Ulrich Drepper <drepper@gmail.com>
9881
32b63198
UD
9882 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9883
054c0457
UD
9884 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9885 from tree and freeing node.
9886
64031225
JO
98872011-09-25 Jiri Olsa <jolsa@redhat.com>
9888
9889 * nss/nsswitch.c (__nss_database_lookup): Handle
9890 nss_parse_service_list out of memory case.
9891
0490345c
JO
98922011-09-15 Jiri Olsa <jolsa@redhat.com>
9893
9894 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9895 out of memory case.
9896
3a62d00d
AS
98972011-10-04 Andreas Schwab <schwab@redhat.com>
9898
9899 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9900 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9901 pass it down.
9902 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9903 elf_machine_rela, elf_machine_lazy_rel.
9904 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9905 (ELF_DYNAMIC_DO_REL): Likewise.
9906 (ELF_DYNAMIC_DO_RELA): Likewise.
9907 (ELF_DYNAMIC_RELOCATE): Likewise.
9908 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9909 to ELF_DYNAMIC_DO_REL.
9910 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9911 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9912 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9913 elf_machine_rela.
9914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9915 skip_ifunc, don't call ifunc function if non-zero.
9916 (elf_machine_rela): Likewise.
9917 (elf_machine_lazy_rel): Likewise.
9918 (elf_machine_lazy_rela): Likewise.
9919 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9920 (elf_machine_lazy_rel): Likewise.
9921 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9922 Likewise.
9923 (elf_machine_lazy_rel): Likewise.
9924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9925 Likewise.
9926 (elf_machine_lazy_rel): Likewise.
9927 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9928 (elf_machine_lazy_rel): Likewise.
9929 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9930 (elf_machine_lazy_rel): Likewise.
9931 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9932 (elf_machine_lazy_rel): Likewise.
9933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9934 (elf_machine_lazy_rel): Likewise.
9935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9936 (elf_machine_lazy_rel): Likewise.
9937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9938 (elf_machine_lazy_rel): Likewise.
9939
68577918
UD
99402011-09-28 Ulrich Drepper <drepper@gmail.com>
9941
9942 * nss/nss_files/files-init.c (_nss_files_init): Use static
9943 initialization for all the *_traced_file variables.
9944
68822d74
AS
99452011-09-28 Andreas Schwab <schwab@redhat.com>
9946
9947 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9948
2056100b
RM
99492011-09-27 Roland McGrath <roland@hack.frob.com>
9950
9951 [BZ #13226]
9952 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9953
32c76b63
AS
99542011-09-27 Andreas Schwab <schwab@redhat.com>
9955
9956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9957 Reread the line before reparsing it.
9958
bf972c9d
AS
99592011-09-26 Andreas Schwab <schwab@redhat.com>
9960
9961 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9962
e057a1b5
JM
99632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9964 Maxim Kuvyrkov <maxim@codesourcery.com>
9965 Joseph Myers <joseph@codesourcery.com>
9966
9967 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9968 if needed for __stack_chk_guard.
9969
bc7e1c36
RM
99702011-09-19 Roland McGrath <roland@hack.frob.com>
9971
ecb1482f
RM
9972 * sysdeps/posix/spawni.c (script_execute): Always define it.
9973 It will be optimized away if unused.
9974 (maybe_script_execute): New function.
9975 (__spawni): Call it.
9976
bc7e1c36
RM
9977 * Makerules: Don't include tls.make.
9978 (config-tls): Always set to thread.
9979 * tls.make.c: File removed.
9980
1c3b002b
MF
99812011-09-19 Mike Frysinger <vapier@gentoo.org>
9982
9983 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9984 * config.make.in (CPPFLAGS-config): New substituted variable.
9985
2840865d
UD
99862011-09-15 Ulrich Drepper <drepper@gmail.com>
9987
88738eb6
UD
9988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9989
cbf645a6 9990 [BZ #13192]
2840865d
UD
9991 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9992 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9993
b402e91a
RM
99942011-09-15 Roland McGrath <roland@hack.frob.com>
9995
9996 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9997 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9998 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9999 (CALL_FAIL): Likewise.
10000 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10001 (CALL_FAIL): Macro removed.
10002 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10003
4c1a1f71
UD
100042011-09-15 Ulrich Drepper <drepper@gmail.com>
10005
10006 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10007 for __FINITE_MATH_ONLY__ == 1.
10008
edc121be
AS
100092011-09-15 Andreas Schwab <schwab@redhat.com>
10010
10011 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10012 __ieee754_sqrt instead of sqrt.
10013 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10014 __ieee754_sqrtf instead of sqrtf.
10015 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10016 __floorf instead of floorf.
10017 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10018 __floorf, __truncf instead of floorf, truncf.
10019
cd205654
UD
100202011-09-14 Ulrich Drepper <drepper@gmail.com>
10021
ee4d0315
UD
10022 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10023
cd205654
UD
10024 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10025 __extern_always_inline.
10026 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10027 32-bit.
10028
48b67d71
AS
100292011-09-14 Andreas Schwab <schwab@redhat.com>
10030
10031 * elf/rtld.c (dl_main): Also relocate in dependency order when
10032 doing symbol dependency testing.
10033
1ae12c75
AS
100342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10035
10036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10037 Always define `refsym'.
10038
995a80df
AS
100392011-09-13 Andreas Schwab <schwab@redhat.com>
10040
e529793b
AS
10041 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10042 (__FD_ELT): Renamed from __FDELT.
10043 * misc/bits/select2.h (__FD_ELT): Likewise.
10044 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10045 __FD_MASK instead of __FDELT, __FDMASK.
10046 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10047 Likewise.
10048 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10049 Likewise.
10050
52d4fef8
AS
10051 * elf/Makefile (gen-ldd): Fix pattern.
10052
995a80df
AS
10053 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10054 (init_tls): Likewise.
10055
8682f8b0
UD
100562011-09-12 Ulrich Drepper <drepper@gmail.com>
10057
10058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10059
de82006d
AS
100602011-09-12 Andreas Schwab <schwab@redhat.com>
10061
a7c8e6a1
AS
10062 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10063 `struct cmsghdr *' instead of `void *'.
10064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10065 Likewise.
10066
0f31fe77
AS
100672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10068
10069 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10070 if non-absolute.
10071 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10072 ldd_rewrite_script.
0f31fe77 10073
32b4c839
UD
100742011-09-11 Ulrich Drepper <drepper@gmail.com>
10075
83cd1420
UD
10076 * configure.in: Remove --with-tls option.
10077 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10078 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10079 out in case it is missing.
10080 * sysdeps/ia64/elf/configure.in: Likewise.
10081 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10082 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10083 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10084 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10085 * sysdeps/sh/elf/configure.in: Likewise.
10086 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10088 * sysdeps/x86_64/elf/configure.in: Likewise.
10089 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10090 * sysdeps/mach/hurd/tls.h: Likewise.
10091
633f745d
UD
10092 [BZ #13067]
10093 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10094
f318beb8
UD
10095 [BZ #13090]
10096 * configure.in: Fix use of AC_INIT.
10097
32b4c839
UD
10098 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10099
3ce1f295
UD
101002011-09-10 Ulrich Drepper <drepper@gmail.com>
10101
bb016596
UD
10102 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10103 __set_errno.
8e58439c
UD
10104 * malloc/hooks.c: Likewise.
10105
aebae053 10106 [BZ #11929]
02d46fc4
UD
10107 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10108 variables statically.
10109 (narenas): Initialize.
10110 (list_lock): Initialize.
bb016596
UD
10111 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10112 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10113 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10114 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10115 Add initializers to main_arena and mp_.
10116 (malloc_state): Remove pagesize member. Change all users to use
10117 GLRO(dl_pagesize).
10118
10119 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10120 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10121 is always initialized.
10122
22a89187
UD
10123 * malloc/malloc.c: Removed unused configurations and dead code.
10124 * malloc/arena.c: Likewise.
10125 * malloc/hooks.c: Likewise.
02d46fc4 10126 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10127
d063d164
UD
10128 * include/tls.h: Removed. USE___THREAD must always be defined.
10129 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10130 * elf/dl-libc.c: Likewise.
10131 * elf/dl-tsd.c: Likewise.
10132 * include/errno.h: Likewise.
10133 * include/netdb.h: Likewise.
10134 * include/resolv.h: Likewise.
10135 * inet/herrno-loc.c: Likewise.
10136 * inet/herrno.c: Likewise.
10137 * malloc/arena.c: Likewise.
10138 * malloc/hooks.c: Likewise.
10139 * malloc/malloc.c: Likewise.
10140 * resolv/res-state.c: Likewise.
10141 * resolv/res_libc.c: Likewise.
10142 * sysdeps/i386/dl-machine.h: Likewise.
10143 * sysdeps/ia64/dl-machine.h: Likewise.
10144 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10145 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10146 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10147 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10148 * sysdeps/sh/dl-machine.h: Likewise.
10149 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10150 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10151 * sysdeps/unix/i386/sysdep.S: Likewise.
10152 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10153 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10158 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10162 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10163 * sysdeps/x86_64/dl-machine.h: Likewise.
10164 * tls.make.c: Likewise.
10165
3ce1f295
UD
10166 * configure.in: Remove --with-__thread option. Make tests for
10167 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10168 tls_model attribute fail if no support is available. Remove
10169 USE_IN_LIBIO.
10170 * Makeconfig: Adjust for dropped configure option. All features are
10171 now mandatory.
10172 * Makerules: Likewise.
10173 * Versions.def: Likewise.
10174 * argp/argp-fmtstream.c: Likewise.
10175 * argp/argp-fmtstream.h: Likewise.
10176 * argp/argp-help.c: Likewise.
10177 * assert/assert.c: Likewise.
10178 * config.h.in: Likewise.
10179 * config.make.in: Likewise.
10180 * configure: Likewise.
10181 * configure.in: Likewise.
10182 * csu/Versions: Likewise.
10183 * csu/init.c: Likewise.
10184 * elf/tst-audit2.c: Likewise.
10185 * elf/tst-tls10.c: Likewise.
10186 * elf/tst-tls10.h: Likewise.
10187 * elf/tst-tls11.c: Likewise.
10188 * elf/tst-tls12.c: Likewise.
10189 * elf/tst-tls14.c: Likewise.
10190 * elf/tst-tlsmod11.c: Likewise.
10191 * elf/tst-tlsmod12.c: Likewise.
10192 * elf/tst-tlsmod13.c: Likewise.
10193 * elf/tst-tlsmod13a.c: Likewise.
10194 * elf/tst-tlsmod14a.c: Likewise.
10195 * elf/tst-tlsmod15b.c: Likewise.
10196 * elf/tst-tlsmod16a.c: Likewise.
10197 * elf/tst-tlsmod16b.c: Likewise.
10198 * elf/tst-tlsmod7.c: Likewise.
10199 * elf/tst-tlsmod8.c: Likewise.
10200 * elf/tst-tlsmod9.c: Likewise.
10201 * gmon/gmon.c: Likewise.
10202 * grp/fgetgrent_r.c: Likewise.
10203 * grp/putgrent.c: Likewise.
10204 * hurd/fopenport.c: Likewise.
10205 * include/libc-symbols.h: Likewise.
10206 * include/tls.h: Likewise.
10207 * intl/gettextP.h: Likewise.
10208 * intl/loadinfo.h: Likewise.
10209 * locale/global-locale.c: Likewise.
10210 * locale/localeinfo.h: Likewise.
10211 * mach/devstream.c: Likewise.
10212 * malloc/arena.c: Likewise.
10213 * malloc/set-freeres.c: Likewise.
10214 * misc/err.c: Likewise.
10215 * misc/getttyent.c: Likewise.
10216 * misc/mntent_r.c: Likewise.
10217 * posix/getopt.c: Likewise.
10218 * posix/wordexp.c: Likewise.
10219 * pwd/fgetpwent_r.c: Likewise.
10220 * resolv/Versions: Likewise.
10221 * resolv/res_hconf.c: Likewise.
10222 * shadow/fgetspent_r.c: Likewise.
10223 * shadow/putspent.c: Likewise.
10224 * stdio-common/printf_fphex.c: Likewise.
10225 * stdio-common/tmpfile.c: Likewise.
10226 * stdlib/abort.c: Likewise.
10227 * stdlib/fmtmsg.c: Likewise.
10228 * sunrpc/auth_unix.c: Likewise.
10229 * sunrpc/clnt_perr.c: Likewise.
10230 * sunrpc/clnt_tcp.c: Likewise.
10231 * sunrpc/clnt_udp.c: Likewise.
10232 * sunrpc/clnt_unix.c: Likewise.
10233 * sunrpc/openchild.c: Likewise.
10234 * sunrpc/svc_simple.c: Likewise.
10235 * sunrpc/svc_tcp.c: Likewise.
10236 * sunrpc/svc_udp.c: Likewise.
10237 * sunrpc/svc_unix.c: Likewise.
10238 * sunrpc/xdr.c: Likewise.
10239 * sunrpc/xdr_array.c: Likewise.
10240 * sunrpc/xdr_rec.c: Likewise.
10241 * sunrpc/xdr_ref.c: Likewise.
10242 * sunrpc/xdr_stdio.c: Likewise.
10243
1248c1c4
PB
102442011-09-09 Ulrich Drepper <drepper@gmail.com>
10245
10246 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10247
102482011-07-03 Andreas Jaeger <aj@suse.de>
10249
10250 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10251 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10252 regenerate with gen-libm-tests.pl.
10253
102542010-05-12 Petr Baudis <pasky@suse.cz>
10255
10256 [BZ #11589]
10257 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10258 around j0() zero points by switching to j1().
10259 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10263
f22e1074
UD
102642011-09-09 Ulrich Drepper <drepper@gmail.com>
10265
f19009c1
UD
10266 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10267 instead of 0.
10268 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10269 instead of 0. .
10270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10271 Patch in part by Pavel Roskin <proski@gnu.org>.
10272
3f8cc204
UD
10273 [BZ #13138]
10274 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10275 realloc.
10276 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10277 Free memory block if necessary.
10278
f22e1074
UD
10279 [BZ #12847]
10280 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10281 be NULL. Don't lock in this case.
10282
0a2349f9
RM
102832011-09-09 Roland McGrath <roland@hack.frob.com>
10284
10285 * elf/elf.h (ELFOSABI_GNU): New macro.
10286 (ELFOSABI_LINUX): Define to that.
10287
f3cdd467
DZ
102882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10289
10290 * string/strncat.c (strncat): Undef the symbol in case it has been
10291 defined in bits/string.h.
10292
74718d13
UD
102932011-09-09 Ulrich Drepper <drepper@gmail.com>
10294
633e9e0f
UD
10295 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10296
0a2349f9 10297 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10298 link map.
10299
f9924780
AJ
103002011-08-17 Andreas Jaeger <aj@suse.de>
10301
10302 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10303
7f5517aa
PP
103042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10305 Ian Lance Taylor <iant@google.com>
10306
10307 * math/libm-test.inc (lround_test): New testcase.
10308 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10309
762011fe
UD
103102011-09-08 Ulrich Drepper <drepper@gmail.com>
10311
92963737
UD
10312 * Makefile: Remove support for automatic cvs check-ins.
10313 * Makerules: Likewise.
10314 * config.make.in: Likewise.
10315 * configure.in: Likewise.
10316 * intl/Makefile: Likewise.
10317 * locale/Makefile: Likewise.
10318 * po/Makefile: Likewise.
10319 * posix/Makefile: Likewise.
10320 * sysdeps/gnu/Makefile: Likewise.
10321 * sysdeps/mach/hurd/Makefile: Likewise.
10322 * sysdeps/sparc/sparc32/Makefile: Likewise.
10323
b0727fd8
JS
10324 [BZ #13118]
10325 * posix/Makefile (bug-regex32-ENV): Define.
10326 Patch by John Stanley <jpsinthemix@verizon.net>.
10327
a0f33f99
UD
10328 * misc/Makefile (headers): Add bits/select2.h.
10329 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10330 * misc/bits/select2.h: New file.
10331 * include/bits/select2.h: New file.
10332 * debug/Makefile (routines): Add fdelt_chk.
10333 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10334 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10335 FD_ISSET.
10336 * debug/fdelt_chk.c: New file.
10337
762011fe
UD
10338 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10339 * wcsmbs/test-wmemcmp.c: Likewise.
10340 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10341 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10342
103432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10344
10345 * string/Makefile (strop-tests): Add memcmp.
10346 * string/test-wmemcmp.c: New file.
10347 * string/test-memcmp.c: Add wmemcmp support.
10348
7f513ec8
RM
103492011-09-08 Roland McGrath <roland@hack.frob.com>
10350
0442afb4
RM
10351 [BZ #13153]
10352 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10353 2011-07-19 change.
10354
7f513ec8
RM
10355 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10356 garbage value in a __mach_port_mod_refs call in the cases of the
10357 task-self and thread-self ports.
10358
a12b2239
ST
103592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10360
10361 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10362
610f9ab4
AS
103632011-09-08 Andreas Schwab <schwab@redhat.com>
10364
7f513ec8 10365 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10366
48882a1a
LD
103672011-09-07 Ulrich Drepper <drepper@gmail.com>
10368
b49865be
UD
10369 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10370
fdc86bc9
UD
10371 * elf/dl-libc.c (dlerror_run): Pass back error code from
10372 dl_catch_error.
10373
c966526a
UD
10374 [BZ #13123]
10375 * elf/dl-load.c (lose): Free l_origin if it is valid.
10376
48882a1a
LD
10377 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10378 names.
10379 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10383 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10384 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10385
77a2a8b4
AZ
103862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10387
10388 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10389 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10390 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10391 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10392 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10393 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10394 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10395 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10396 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10397 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10398
24f579d8
AM
103992011-08-15 Alan Modra <amodra@gmail.com>
10400
10401 [BZ #13092]
10402 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10403 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10404 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10405 ppc_mcount to static-only-routines.
10406 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10407 __mcount_internal.
10408 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10409 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10410
3d4837df
UD
104112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10412
10413 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10414 for finite and infinity parameters.
10415
22700377
WS
104162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10417
10418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10419 and add nop instructions for throughput optimization.
10420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10421
5025581e
WS
104222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10423
10424 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10425 aligned copy for power7 with vector-scalar instructions.
10426 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10427
08a300c9
L
104282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10429
10430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10431 AVX check.
10432
59178ef9
AS
104332011-09-07 Andreas Schwab <schwab@redhat.com>
10434
10435 [BZ #13144]
10436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10437 last change.
10438
e38ba7ab
UD
104392011-09-07 Ulrich Drepper <drepper@gmail.com>
10440
10441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10442 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10443 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10444 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10445 clock_gettime.
10446
d53a73ac
UD
104472011-09-06 Ulrich Drepper <drepper@gmail.com>
10448
fc8bffcc
UD
10449 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10450 Forgot to demangle the pointer.
10451
ceaa0c5d
UD
10452 * sysdeps/i386/sysdep.h: Define atom_text_section.
10453 * sysdeps/x86_64/sysdep.h: Likewise.
10454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10455 section with atom_text_section.
10456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10458 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10460 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10461
a77d3c17
UD
10462 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10464 already be defined. Change to take two parameters and don't assign
10465 result to variable. Adjust all users.
10466 Define INTERNAL_GETTIME if not already defined.
10467 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10468 call.
10469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10470 HAVE_CLOCK_GETTIME_VSYSCALL.
10471 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10472
d53a73ac
UD
10473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10474 gettimeofday vsyscall, just use time.
10475
a8f84144
AS
104762011-09-06 Andreas Schwab <schwab@redhat.com>
10477
10478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10479 <errno.h>.
10480
ef606249
UD
104812011-09-06 Ulrich Drepper <drepper@gmail.com>
10482
10483 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10484 syscall on x86-64.
10485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10486 syscall.
10487 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10489 syscall if possible.
10490
6585cb60
UD
104912011-09-05 Ulrich Drepper <drepper@gmail.com>
10492
10493 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10494 e_ident. Don't pass to find_mapsXX.
10495 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10496
a5f524e4
LD
104972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10498
10499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10500 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10501 * sysdeps/x86_64/multiarch/strchr.S: Update.
10502 Check bit_slow_BSF bit.
10503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10504 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10505 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10506
554881ef
UD
105072011-09-05 Ulrich Drepper <drepper@gmail.com>
10508
d96de963
UD
10509 [BZ #13134]
10510 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10511 before glibc 2.15.
10512 (tryshell): Define.
10513 (__spawni): Change last parameter to be flag. Test
10514 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10515 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10516 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10517 * posix/spawni.c: Likewise.
10518 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10519 * posix/spawnp.c: Likewise. Change normal version to use
10520 SPAWN_XFLAGS_USE_PATH.
10521 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10522 SPAWN_XFLAGS_TRY_SHELL.
10523
d48e5868
UD
10524 [BZ #13150]
10525 * posix/glob.h: Remove gcc 1.x support.
10526
554881ef
UD
10527 [BZ #13068]
10528 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10529
693fb948
LD
105302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10531
10532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10533 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10534 strrchr-sse2-bsf
10535 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10536 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10537 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10538 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10539 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10541
1b48c537
UD
105422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10543
49d42c37
UD
10544 * sysdeps/x86_64/wcscmp.S: New file.
10545
1b48c537
UD
10546 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10547 wcscmp-c wcscmp-sse2
10548 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10549 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10550 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10551 * wcsmbs/wcscmp.c: Allow renaming.
10552
15c95c5d
DM
105532011-09-05 David S. Miller <davem@davemloft.net>
10554
10555 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10556 stack slot, rather than the struct return pointer slot.
10557 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10558 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10561
2f0ad8f3
UD
105622011-09-05 Ulrich Drepper <drepper@gmail.com>
10563
d88ae418
UD
10564 * po/ja.po: Update from translation team.
10565
2f0ad8f3
UD
10566 [BZ #13144]
10567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10568 kernel in 64-bit binaries.
10569
5f4318d1
DM
105702011-09-01 David S. Miller <davem@davemloft.net>
10571
10572 * elf/elf.h (HWCAP_SPARC_*): Move to..
10573 * sysdeps/sparc/sysdep.h: this new file and add new values.
10574 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10575 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10576 _DL_HWCAP_COUNT to 24.
10577 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10578 entries.
10579 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10580 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10581 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10583 instead of magic constants.
10584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10585
3ba57516
DM
105862011-08-31 David S. Miller <davem@davemloft.net>
10587
10588 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10590 Reimplement to do errno handling inline.
10591 (SYSCALL_ERROR_HANDLER): New macro.
10592 (__SYSCALL_STRING): Do not do errno handling in asm.
10593 (__CLONE_SYSCALL_STRING): Delete.
10594 (__INTERNAL_SYSCALL_STRING): Delete.
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10596 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10597 (PSEUDO): Reimplement to do errno handling inline.
10598 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10599 (SYSCALL_ERROR_HANDLER): New macro.
10600 (__SYSCALL_STRING): Do not do errno handling in asm.
10601 (__CLONE_SYSCALL_STRING): Delete.
10602 (__INTERNAL_SYSCALL_STRING): Delete.
10603 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10604 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10605 i386.
10606 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10607 (inline_syscall*): Add 'err' argument.
10608 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10609 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10610 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10611 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10612
10613 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10614 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10615
2bc17433
AS
106162011-08-30 Andreas Schwab <schwab@redhat.com>
10617
10618 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10619
fbeb5f4d
JO
106202011-08-29 Jiri Olsa <jolsa@redhat.com>
10621
10622 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10623 directive.
10624
ad69cc26
DM
106252011-08-24 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10628
39dd69df
AS
106292011-08-24 Andreas Schwab <schwab@redhat.com>
10630
10631 * elf/Makefile: Add rules to build and run unload8 test.
10632 * elf/unload8.c: New file.
10633 * elf/unload8mod1.c: New file.
10634 * elf/unload8mod1x.c: New file.
10635 * elf/unload8mod2.c: New file.
10636 * elf/unload8mod3.c: New file.
10637
10638 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10639 it wasn't used.
10640
2c0b250a
DM
106412011-08-23 David S. Miller <davem@davemloft.net>
10642
10643 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10644 subtract stack bias.
10645 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10646 %sp not %fp in calculations.
10647 (_JMPBUF_UNWINDS_ADJ): Likewise.
10648
22044b48
DM
10649 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10650 (aio_suspend): Call it to force an exception region around the
10651 AIO_MISC_WAIT() invocation.
10652
2cae4995
AS
106532011-08-23 Andreas Schwab <schwab@redhat.com>
10654
10655 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10656 backslash.
10657
873a772e
AJ
106582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10659
10660 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10661 protection macro.
10662 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10663 and <dl-machine.h>.
10664 (Elf64_FuncDesc): Remove.
10665
25ad0df1
DM
106662011-08-22 David S. Miller <davem@davemloft.net>
10667
10668 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10669 sigaltstack check, add missing cfi directives.
10670 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10671 missing cfi directives, and sigaltstack handling.
10672
e888bcbe
AS
106732011-08-16 Andreas Schwab <schwab@redhat.com>
10674
10675 [BZ #11724]
10676 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10677 object is seen twice.
10678 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10679
10680 * elf/Makefile (distribute): Add tst-initorder2.c.
10681 (tests): Add tst-initorder2.
10682 (modules-names): Add tst-initorder2a tst-initorder2b
10683 tst-initorder2c tst-initorder2d. Add rules to build them.
10684 ($(objpfx)tst-initorder2.out): New rule.
10685 * elf/tst-initorder2.c: New file.
10686 * elf/tst-initorder2.exp: New file.
10687
87162f46
AS
106882011-08-22 Andreas Schwab <schwab@redhat.com>
10689
70538b7f
AS
10690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10691
f55ffe58
AS
10692 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10693 dependencies back to end of function.
10694
87162f46
AS
10695 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10696 $(elfobjdir)/ld.so.
10697
91b392a4
UD
106982011-08-21 Ulrich Drepper <drepper@gmail.com>
10699
10700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10701 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10703 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10704 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10705 of __vdso_gettimeofday.
10706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10707 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10708 attribute_hidden.
10709 (_libc_vdso_platform_setup): Remove initialization of
10710 __vdso_gettimeofday and __vdso_time.
10711
5c43483f
UD
107122011-08-20 Ulrich Drepper <drepper@gmail.com>
10713
775a77e7
UD
10714 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10715 and fgetc_unlocked.
10716 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10717 getc_unlocked.
89f447ed 10718
49c74ba9
UD
10719 * elf/dl-open.c (add_to_global): Report additions to the global scope
10720 for LD_DEBUG=scopes.
10721 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10722 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10723
5c43483f
UD
10724 [BZ #13114]
10725 * stdio-common/Makefile (tests): Add bug24.
10726 * stdio-common/bug24.c: New file.
10727
a101b025
AJ
107282011-08-19 Andreas Jaeger <aj@suse.de>
10729
10730 [BZ #13114]
10731 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10732 non-existant file when using close-on-exec mode.
10733
c88f1766
UD
107342011-08-20 Ulrich Drepper <drepper@gmail.com>
10735
0276a718
UD
10736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10737 the very first instruction.
10738
c88f1766
UD
10739 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10740 the CFI state in the end.
10741 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10742 inclusion of dl-trampoline.h.
10743 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10744
51ccffa0
AS
107452011-08-19 Andreas Schwab <schwab@redhat.com>
10746
94d7165f
AS
10747 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10748 expectations for long double.
10749
51ccffa0
AS
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10751 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10752
fd708658 107532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10754
10755 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10756 artificual limit depends upon the system page size.
10757
44f0a71e
UD
107582011-08-17 Ulrich Drepper <drepper@gmail.com>
10759
10760 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10761 * resolv/Makefile: Define CFLAGS-libresolv.
10762
8de79a24
AS
107632011-08-17 Andreas Schwab <schwab@redhat.com>
10764
10765 * nss/makedb.c (compute_tables): Make variables used in nested
10766 function static.
10767
27724598
UD
107682011-08-17 Ulrich Drepper <drepper@gmail.com>
10769
c5305d88
UD
10770 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10771 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10772 if buffer was too small.
10773
27724598
UD
10774 * elf/pldd.c (main): Attach to all threads in the process.
10775 Rewrite /proc handling to use *at functions.
10776
076fe015
UD
107772011-08-16 Ulrich Drepper <drepper@gmail.com>
10778
174baab3
UD
10779 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10780 specifies first scope to show.
10781 (dl_open_worker): Update callers. Move printing scope of new
10782 object to before the relocation.
44f0a71e 10783 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10784 * sysdeps/generic/ldsodefs.h: Update declaration.
10785
076fe015
UD
10786 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10787 string for the scope number.
10788
a60df2c3
UD
107892011-08-14 Ulrich Drepper <drepper@gmail.com>
10790
10791 * nscd/servicescache.c (cache_addserv): Make sure written is always
10792 initialized.
10793
5e4287d1
RM
107942011-08-14 Roland McGrath <roland@hack.frob.com>
10795
85ae0589
RM
10796 * sysdeps/i386/i486/bits/atomic.h
10797 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10798 statement expression, so as to suppress "set but not used" warning.
10799 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10800
69f63097
RM
10801 * string/strncat.c (STRNCAT): Use prototype definition.
10802
675456ef
RM
10803 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10804 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10805 -Iprograms here.
10806 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10807 (localedef-modules): Add localedef.
10808 (locale-modules): Add locale.
10809
5e4287d1
RM
10810 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10811 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10812 to avoid a warning.
10813
9c96ff23
DM
108142011-08-14 David S. Miller <davem@davemloft.net>
10815
10816 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10817 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10818
f9ddf089
UD
108192011-08-13 Ulrich Drepper <drepper@gmail.com>
10820
44f0a71e 10821 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10822 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10823 * elf/rtld.c (dl_main): Set l_name of vDSO.
10824 Call _dl_show_scope when DL_DEBUG_SCOPES.
10825 (process_dl_debug): Recognize scopes flag and also set it for all.
10826 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10827 Declare _dl_show_scope.
10828
1dc27704
UD
10829 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10830 (do_dlopen): Pass caller_dlopen to dl_open.
10831 (__libc_dlopen_mode): Initialize caller_dlopen.
10832
f9ddf089
UD
10833 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10834 of libc. Make tolower call locale-independent. Optimize a bit by
10835 using isdigit instead of isalnum.
10836 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10837
9ac533d3
UD
108382011-08-12 Ulrich Drepper <drepper@gmail.com>
10839
10840 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10841 was a dependency or dynamically loaded.
10842
89edf2e9
UD
108432011-08-11 Ulrich Drepper <drepper@gmail.com>
10844
8e999d29
UD
10845 * intl/l10nflist.c: Allow architecture-specific pop function.
10846 * sysdeps/x86_64/l10nflist.c: New file.
10847
89edf2e9
UD
10848 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10849 classification.
10850
14d96785
AS
108512011-08-10 Andreas Schwab <schwab@redhat.com>
10852
10853 * include/dirent.h: Add libc_hidden_proto for scandirat and
10854 scandirat64. Don't declare __scandirat64.
10855 * dirent/scandirat.c: Add libc_hidden_def.
10856 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10857 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10858
6761ac04
DM
108592011-08-10 David S. Miller <davem@davemloft.net>
10860
10861 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10862 enum.
10863 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10866
c55fbd1e
UD
108672011-08-09 Ulrich Drepper <drepper@gmail.com>
10868
10869 * Versions.def [libc]: Add GLIBC_2.15.
10870 * dirent/Makefile (routines): Add scandirat and scandirat64.
10871 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10872 GLIBC_2.15.
10873 * dirent/dirent.h: Declare scandirat and scandirat64.
10874 * dirent/scandirat.c: New file.
10875 * dirent/scandirat64.c: New file.
10876 * sysdeps/wordsize-64/scandirat.c: New file.
10877 * sysdeps/wordsize-64/scandirat64.c: New file.
10878 * dirent/opendir.c: Define opendirat.
10879 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10880 using scandirat.
10881 * dirent/scandir64.c: Adjust for scandir.c change.
10882 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10883 __scandirat64, and __scandir_cancel_handler.
10884 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10885 additional parameter and use openat instead of open (outside of ld.so).
10886 Add new __opendir as wrapper around __opendirat.
10887 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10888 here without requiring old scandirat implementation.
10889
879165f2
UD
108902011-08-08 Ulrich Drepper <drepper@gmail.com>
10891
10892 * dirent/scandir.c (cancel_handler): Renamed to
10893 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10894 defined. Adjust users.
10895 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10896 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10897
cb7e923b
UD
108982011-08-04 Ulrich Drepper <drepper@gmail.com>
10899
16292edd
UD
10900 * string/test-string.h (IMPL): Use __STRING to expand name and then
10901 stringify it.
10902
cb7e923b
UD
10903 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10904 of cleanups.
10905
cff82933
LD
109062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10907
10908 * string/Makefile: Update.
10909 (strop-tests): Append strncat.
10910 * string/test-wcscmp.c: New file.
10911 New comprehensive test for wcscmp.
10912 * string/test-strcmp.c: Update.
10913 (WIDE): New define.
10914
9be9bfcc
AS
109152011-07-22 Andreas Schwab <schwab@redhat.com>
10916
10917 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10918 line.
10919
2e96f1c7
AS
109202011-07-26 Andreas Schwab <schwab@redhat.com>
10921
10922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10923 encoding to ACE if AI_IDN.
10924
85188888
JJ
109252011-08-01 Jakub Jelinek <jakub@redhat.com>
10926
10927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10928 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10929
5fa16e9b
LD
109302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10931
10932 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10933 Fix overflow bug in strncat.
10934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10935
10936 * string/test-strncat.c: Update.
10937 Add new tests for checking overflow bugs.
10938
109392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10940
10941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10942 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10943 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10944 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10946 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10947 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10948 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10949 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10950
10951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10952 (USE_AS_STRCAT): Define.
10953 Add strcat and strncat support.
10954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10955
8c1a459f
AS
109562011-07-25 Andreas Schwab <schwab@redhat.com>
10957
10958 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10959 __n bigger than INT_MAX+1.
10960 (__strncmp_g): Likewise.
10961
bba33c28
UD
109622011-07-23 Ulrich Drepper <drepper@gmail.com>
10963
798be72d
UD
10964 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10965 * libio/stido.h: Likewise.
10966
8accd4dc
UD
10967 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10968 (AF_NFC): Define.
10969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10970 (AF_NFC): Define.
10971
cbff0d96
UD
10972 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10973 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10974 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10975 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10977
9191c04a
UD
10978 [BZ #13021]
10979 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10980 installed.
10981
bba33c28
UD
10982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10983 typo.
10984 (_dl_x86_64_save_sse): Likewise.
10985
90f139dd
UD
109862011-07-22 Ulrich Drepper <drepper@gmail.com>
10987
1aae088a
UD
10988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10989 OSXSAVE.
10990 (_dl_x86_64_save_sse): Likewise.
10991
8e2045f5
UD
10992 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10993
90f139dd
UD
10994 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10995
1d002f25
AS
109962011-07-21 Andreas Schwab <schwab@redhat.com>
10997
10998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10999 change.
11000 (_dl_x86_64_save_sse): Use correct AVX check.
11001
21137f89
UD
110022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11003
11004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11005 bug in strncpy/strncat.
11006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11007
a65c0b7a
UD
110082011-07-21 Ulrich Drepper <drepper@gmail.com>
11009
11010 * string/tester.c (test_strcat): Add tests for different alignments
11011 of source and destination.
11012 (test_strncat): Likewise.
11013
6986b98a
UD
110142011-07-20 Ulrich Drepper <drepper@gmail.com>
11015
90bb2039
UD
11016 [BZ #12852]
11017 * posix/glob.c (glob): Check passed in values before using them in
11018 expressions to avoid some overflows.
11019 (glob_in_dir): Likewise.
11020
5644ef54
UD
11021 [BZ #13007]
11022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11023 check for AVX enablement so that we don't crash with old kernels and
11024 new hardware.
11025 * elf/tst-audit4.c: Add same checks here.
11026 * elf/tst-audit6.c: Likewise.
11027
11028 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11029
bfc9dc9b
AS
110302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11031
11032 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11033
702e64bb
UD
110342011-07-20 Ulrich Drepper <drepper@gmail.com>
11035
11036 * po/cs.po: Update from translation team.
11037 * po/bg.po: Likewise.
11038
295e904f
MP
110392011-07-12 Marek Polacek <mpolacek@redhat.com>
11040
11041 * misc/sys/cdefs.h: Add support for const attribute.
11042 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11043 to gnu_dev_{major,minor,makedev} functions.
11044
3ff94596
MP
110452011-07-20 Marek Polacek <mpolacek@redhat.com>
11046
11047 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11048
28b59fca
AS
110492011-07-20 Andreas Schwab <schwab@redhat.com>
11050
11051 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11052 strlen results.
11053
19df733e
AK
110542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11055
11056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11057 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11058 register in order to avoid conflicts with the soft frame pointer
11059 being held in r11 when necessary.
11060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11061 (INTERNAL_VSYSCALL_NCS): Likewise.
11062
c8835729
MP
110632011-07-14 Marek Polacek <mpolacek@redhat.com>
11064
11065 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11066 * elf/dl-fini.c (_dl_fini): Adjust caller.
11067 * elf/dl-close.c (_dl_close_worker): Likewise.
11068 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11069
b902330c
MP
110702011-07-15 Marek Polacek <mpolacek@redhat.com>
11071
8991e135
MP
11072 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11073 "aux_cache->nlibs < 0".
11074
b902330c
MP
11075 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11076 in the reload-count case.
11077
99710781
LD
110782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11079
11080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11081 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11082 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11083 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11084 * sysdeps/x86_64/multiarch/strcat.S: New file.
11085 * sysdeps/x86_64/multiarch/strncat.S: New file.
11086 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11088 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11089 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11091 (USE_AS_STRCAT): Define.
11092 Add strcat and strncat support.
11093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11096 * string/strncat.c: Update.
11097 (USE_AS_STRNCAT): Define.
11098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11099 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11100 and i7.
11101 * sysdeps/x86_64/multiarch/init-arch.h
11102 (bit_Prefer_PMINUB_for_stringop): New.
11103 (index_Prefer_PMINUB_for_stringop): Likewise.
11104 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11105 bit_Prefer_PMINUB_for_stringop.
11106
7dc6bd90
UD
111072011-07-19 Ulrich Drepper <drepper@gmail.com>
11108
11109 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11110 buffer64.
11111 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11112 of casting of buffer.
11113 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11114 buffer32 and buffer64.
11115 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11116 writes instead of casting of buffer.
11117 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11118 buffer32.
11119 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11120 casting of buffer.
11121
e0e72284
AS
111222011-07-19 Andreas Schwab <schwab@redhat.com>
11123
11124 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11125
feb1eb0b
UD
111262011-07-19 Ulrich Drepper <drepper@gmail.com>
11127
11128 * nscd/nscd.c (termination_handler): Don't do anything for a database
11129 if it has not yet been initialized.
11130
298711ff
UD
111312011-07-18 Ulrich Drepper <drepper@gmail.com>
11132
11133 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11134
111352011-07-15 Marek Polacek <mpolacek@redhat.com>
11136
11137 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11138
f9d68389
UD
111392011-07-18 Ulrich Drepper <drepper@gmail.com>
11140
11141 * po/nl.po: Update from translation team.
11142 * po/sv.po: Likewise.
11143
db290cf5
RM
111442011-07-16 Roland McGrath <roland@hack.frob.com>
11145
11146 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11147 now disallowed by GCC.
5c550700 11148
fd5e21c7
RM
11149 * configure.in (use-default-link): Default to yes if a test -shared
11150 link meets our qualifications.
11151 * configure: Regenerated.
11152
5c550700
RM
11153 * config.make.in (output-format): New variable.
11154 * configure.in: Check for ld --print-output-format support.
11155 * configure: Regenerated.
11156 * Makerules ($(common-objpfx)format.lds)
11157 [$(output-format) != unknown]: Just use $(output-format),
11158 instead of the linker-script munging.
11159
9fa2c032
RM
111602011-07-14 Roland McGrath <roland@hack.frob.com>
11161
a6928d51
RM
11162 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11163 of $(common-objpfx)shlib.lds.
11164 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11165
661607b3
RM
11166 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11167 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11168
9fa2c032
RM
11169 * configure.in (-z relro check): Adjust test code to add a large
11170 writable data section after it.
11171 * configure: Regenerated.
11172
defe9061
RM
111732011-07-11 Roland McGrath <roland@hack.frob.com>
11174
11175 * configure.in (-z relro check): Fix test code to make the variable
11176 truly const.
11177 * configure: Regenerated.
11178
319b9ad4
UD
111792011-07-11 Ulrich Drepper <drepper@gmail.com>
11180
11181 * nscd/nscd.h (struct traced_file): Define.
11182 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11183 elements. Add traced_files.
11184 (inotify_fd): Declare.
11185 (register_traced_file): Declare.
11186 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11187 (inotify_fd): Export.
11188 (resolv_conf_descr): Remove.
11189 (nscd_init): Move inotify descriptor creation to main.
11190 Don't register files for notification here.
11191 (register_traced_file): New function.
11192 (invalidate_cache): Don't use reset_res to determine whether to call
11193 res_init, go through the list of registered files.
11194 (main_loop_poll): The inotify descriptors are now stored in the
11195 structures for the traced files.
11196 (main_loop_epoll): Likewise
11197 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11198 to __nss_disable_nscd.
11199 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11200 for a database anymore. Check the records for all the registered
11201 files instead.
11202 * nss/Makefile (libnss_files-routines): Add files-init.
11203 (libnss_db-routines): Add db-init.
11204 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11205 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11206 * nss/nss_db/db-init.c: New file.
11207 * nss/nss_files/files-init.c: New file.
11208 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11209 __nss_lookup_function.
11210 (__nss_lookup_function): Call nss_load_library.
11211 (nss_load_all_libraries): New function.
11212 (__nss_disable_nscd): Take parameter with callback function for files
11213 to register. Set is_nscd. Load all the DSOs for the NSS modules
11214 used for the cached services.
11215 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11216 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11217 options for features to all the files in nscd.
11218
11219 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11220
23bee3e8
RM
112212011-07-10 Roland McGrath <roland@hack.frob.com>
11222
11223 * csu/elf-init.c (__libc_csu_init): Comment typo.
11224
46a5b7f0
UD
112252011-07-09 Ulrich Drepper <drepper@gmail.com>
11226
11227 * po/pl.po: Update from translation team.
11228 * po/ja.po: Likewise.
11229 * po/ru.po: Likewise.
11230 * po/ko.po: Likewise.
11231 * po/fr.po: Likewise.
11232
d30cf5bb
RM
112332011-07-09 Roland McGrath <roland@hack.frob.com>
11234
113ddea4
RM
11235 * configure.in (.ctors/.dtors header and trailer check):
11236 Use an empirical test on a built program.
11237 * configure: Regenerated.
11238
574920b4
RM
11239 * configure.in (-z relro check): Use an empirical test on a built DSO.
11240 Detect, but do not require, on ia64.
11241 * configure: Regenerated.
11242
d30cf5bb
RM
11243 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11244 Update tests that use readelf to use $READELF instead.
11245 * configure: Regenerated.
11246
8538fdb3
UD
112472011-07-08 Ulrich Drepper <drepper@gmail.com>
11248
11249 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11250 if the result is not used.
11251
04d08991
AJ
112522011-07-05 Andreas Jaeger <aj@suse.de>
11253
11254 [BZ#9696]
11255 * stdlib/tst-strtod.c: Add testcase.
11256
de283087
AD
112572011-07-07 Ulrich Drepper <drepper@gmail.com>
11258
4e5f31c8 11259 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11260 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11261 The latter has a higher limit. Take additional parameter to pass to
11262 the new function.
11263 (__pathconf): Pass file to __statfs_link_max.
11264 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11265 __statfs_link_max.
11266 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11267 __statfs_link_max.
11268
de283087
AD
11269 [BZ #12868]
11270 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11272 Handle Lustre.
11273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11274 (__statfs_filesize_max): Likewise.
11275 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11276
c75fa153
AJ
112772011-07-05 Andreas Jaeger <aj@suse.de>
11278
11279 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11280
1a544854
UD
112812011-07-06 Marek Polacek <mpolacek@redhat.com>
11282
11283 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11284 `status' variable.
11285 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11286 Likewise.
11287
6f0eec67
UD
112882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * Makefile (strop-tests): Add strncat.
11291 * string/test-strncat.c: New file.
11292
aae30307
UD
112932011-06-30 Marek Polacek <mpolacek@redhat.com>
11294
11295 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11296
c0cfb5eb
UD
112972011-06-21 Andreas Jaeger <aj@suse.de>
11298
11299 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11300 Copy rule from iconvdata/Makefile.
11301
01636b21
UD
113022011-07-06 Ulrich Drepper <drepper@gmail.com>
11303
11304 [BZ #12922]
11305 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11306 but no long options are defined, just return 'W'.
11307
9895c8bc
UD
113082011-06-22 Marek Polacek <mpolacek@redhat.com>
11309
11310 [BZ #9696]
11311 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11312
5d4cf042
UD
113132011-07-06 Ulrich Drepper <drepper@gmail.com>
11314
11315 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11316 netgroups to read.
960e5535 11317 (innetgr): Likewise.
5d4cf042 11318
751eb97e
RM
113192011-07-05 Roland McGrath <roland@hack.frob.com>
11320
11321 * config.make.in (install_root): Default to $(DESTDIR).
11322
f15f1e45
UD
113232011-07-05 Ulrich Drepper <drepper@gmail.com>
11324
11325 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11326
4e34ac6a
RM
113272011-07-02 Roland McGrath <roland@hack.frob.com>
11328
5e9b6af4
RM
11329 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11330
84f9ea0f
RM
11331 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11332 containing directory rather than embedding absolute directory names.
11333
ea5ee9f7
RM
11334 * scripts/check-local-headers.sh: Rewritten using awk.
11335 Match by word, not by line. Print error messages for matches.
11336 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11337
1b74661a
RM
11338 * Makerules [shlib-lds-flags empty]:
11339 ($(common-objpfx)libc_pic.opts): New target.
11340 ($(common-objpfx)libc_pic.os.clean): New target.
11341 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11342
11343 * config.make.in (OBJCOPY): New variable.
11344 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11345 * configure: Regenerated.
11346
f781ef40
RM
11347 * config.make.in (use-default-link): New variable.
11348 * configure.in (use_default_link): Grok --with-default-link to set it.
11349 * configure: Regenerated.
11350 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11351 (shlib-lds, shlib-lds-flags): Define to empty.
11352
2d4fa81e
RM
11353 * Makerules (shlib-lds): New variable.
11354 (shlib-lds-flags): New variable.
11355 (build-shlib, build-moduile, build-module-asneeded): Use it.
11356 ($(common-objpfx)libc.so): Use $(shlib-lds).
11357 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11358 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11359
31fffa6b
RM
11360 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11361 DT_FLAGS/DT_FLAGS_1 with zero flags.
11362
4e34ac6a
RM
11363 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11364 linker script munging.
11365
fcfc776b
UD
113662011-07-02 Ulrich Drepper <drepper@gmail.com>
11367
11368 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11369 as 128-bit value.
11370 * crypt/sha512.c (sha512_process_block): Perform total addition using
11371 128-bit if possible.
11372 (__sha512_finish_ctx): Likewise.
11373 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11374 as 64-bit value.
11375 * crypt/sha256.c (SWAP64): Define.
11376 (sha256_process_block): Perform total addition using 64-bit if
11377 possible.
11378 (__sha256_finish_ctx): Likewise.
11379
99231d9a
UD
113802011-07-01 Ulrich Drepper <drepper@gmail.com>
11381
11382 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11384 * nscd/hstcache.c (cache_addhst): Likewise.
11385 * nscd/grpcache.c (cache_addgr): Likewise.
11386 * nscd/aicache.c (addhstaiX): Likewise
11387 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11388
445b4a53
TK
113892011-07-01 Thorsten Kukuk <kukuk@suse.de>
11390
11391 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11393 * nscd/hstcache.c (cache_addhst): Likewise.
11394 * nscd/grpcache.c (cache_addgr): Likewise.
11395 * nscd/aicache.c (addhstaiX): Likewise
11396
6d4d8e8e
AS
113972011-07-01 Andreas Schwab <schwab@redhat.com>
11398
11399 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11400 domain only when needed.
11401
89f654c5
AS
114022011-06-30 Andreas Schwab <schwab@redhat.com>
11403
11404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11405 is always restored.
11406
cf3b23ff
UD
114072011-06-29 Ulrich Drepper <drepper@gmail.com>
11408
11409 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11410 are re-adding the entry.
11411 * nscd/servicescache.c (cache_addserv): Likewise.
11412
751626f9
AJ
114132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11414
11415 * sysdeps/generic/dl-irel.h: fix protection against multiple
11416 inclusions.
11417 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11418
9113ea1f
UD
114192011-06-28 Ulrich Drepper <drepper@gmail.com>
11420
5c0b8d90
UD
11421 [BZ #12935]
11422 * malloc/memusage.sh: Fix quoting in message.
11423 * debug/xtrace.sh: Likewise.
11424
9113ea1f
UD
11425 * configure.in: Remove support for --experimental-malloc option, make
11426 it the default.
11427 * config.make.in: Likewise.
11428 * malloc/Makefile: Likewise.
11429
a4172181
AS
114302011-06-27 Andreas Schwab <schwab@redhat.com>
11431
11432 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11433 two-byte characters.
11434
78a7eee7
RM
114352011-06-27 Roland McGrath <roland@hack.frob.com>
11436
62bede13
RM
11437 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11438 AC_CACHE_CHECK invocation.
11439 * configure: Regenerated.
11440
78a7eee7
RM
11441 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11442
5ce33a62
UD
114432011-06-27 Ulrich Drepper <drepper@gmail.com>
11444
034807a9
UD
11445 [BZ #12350]
11446 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11447 bit from old_res_options.
11448
4902da17
UD
11449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11450
5ce33a62
UD
11451 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11452 value type for setfct.
11453
c2344f56
L
114542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11455
11456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11457 __gettimeofday instead of gettimeofday.
11458
68468076
UD
114592011-06-26 Ulrich Drepper <drepper@gmail.com>
11460
11461 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11462
acb0d739
L
114632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11466
11467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11468 info.
11469
8912479f
L
114702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11471
11472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11473 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11474 strcpy-sse2-unaligned strncpy-sse2-unaligned
11475 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11476 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11477 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11478 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11479 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11482 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11483 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11484 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11485 (STRCPY): Support SSE2 and SSSE3 versions.
11486
d5495a11
UD
114872011-06-24 Ulrich Drepper <drepper@gmail.com>
11488
11489 [BZ #12874]
11490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11491 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11492 kernels which artificially limit size of requests.
11493
0b1cbaae
L
114942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11495
11496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11497 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11498 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11499 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11500 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11501 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11502 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11503 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11506 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11507 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11508 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11509 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11510 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11512 Enable unaligned load optimization for Intel Core i3, i5 and i7
11513 processors.
11514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11515 Define.
11516 (index_Fast_Unaligned_Load): Define.
11517 (HAS_FAST_UNALIGNED_LOAD): Define.
11518
07f494a0
MP
115192011-06-23 Marek Polacek <mpolacek@redhat.com>
11520
11521 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11522
fa3fc0fe
UD
115232011-06-22 Ulrich Drepper <drepper@gmail.com>
11524
11525 [BZ #12907]
11526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11527 until it is clear that the information is realy needed.
11528 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11529
e12df166
AS
115302011-06-22 Andreas Schwab <schwab@redhat.com>
11531
11532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11533
852eb34d
UD
115342011-06-22 Ulrich Drepper <drepper@gmail.com>
11535
84e2a551
UD
11536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11537 /sys/devices/system/cpu/online if it is usable.
11538
852eb34d
UD
11539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11540 reading the information from the /proc filesystem to once a second.
11541
6e502e19
UD
115422011-06-21 Andreas Jaeger <aj@suse.de>
11543
11544 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11545 NULL after inclusion of kernel headers.
11546
75d39ff2
UD
115472011-06-21 Ulrich Drepper <drepper@gmail.com>
11548
51f9aa6a
UD
11549 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11550 calls to internal_setent.
11551
c0244a9d
UD
11552 [BZ #12885]
11553 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11554 addresses using gethostbyname4_r ignore IPv4 addresses.
11555
c5e3c2ae
UD
11556 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11557 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11558
75d39ff2
UD
11559 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11560
42675c6f
DM
115612011-06-20 David S. Miller <davem@davemloft.net>
11562
11563 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11564 inclusions.
11565 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11566
11567 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11568 (elf_irel): Use it.
11569 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11570 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11571 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11572 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11573 * sysdeps/x86_64/dl-irel.h: Likewise.
11574
11575 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11576 * elf/dl-sym.c: Likewise.
11577
57912a71
UD
115782011-06-15 Ulrich Drepper <drepper@gmail.com>
11579
11580 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11581 need to dereference resplen2.
11582
ee22793d
AS
115832011-06-14 Andreas Schwab <schwab@redhat.com>
11584
11585 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11586
a9e836b0
UD
115872011-06-15 Ulrich Drepper <drepper@gmail.com>
11588
77fb9117
UD
11589 * Makeconfig: Define vardbdir and inst_vardbdir.
11590 * nss/Makefile: Add rules to install db-Makefile.
11591
40c1b22c
UD
11592 * nss/nss_db/db-XXX.c: Cleanup.
11593
9f2da732
UD
11594 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11595 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11596 GLIBC_PRIVATE.
11597 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11598 * nss/makedb.c: Implement -g option to specify that value strings
11599 are generated and should not be added to table iterated over for
11600 get*ent calls.
11601 * nss/nss_db/db-initgroups.c: New file.
11602
82e9a1f7
UD
11603 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11604 interface.
11605
c41af17e
UD
11606 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11607 (internal_getgrouplist): Adjust to name change.
11608 Update use_initgroups_entry if this is not the first call.
11609 * nss/databases.def: Add initgroups entry.
11610
a9e836b0
UD
11611 * nss/makedb.c (compute_tables): Check result of multiple hash table
11612 sizes to minimize maximum chain length.
11613
2666d441
UD
116142011-06-14 Ulrich Drepper <drepper@gmail.com>
11615
11616 * Versions.def: Add entry for libnss_db.
11617 * shlib-versions: Likewise.
11618 * nss/Makefile: Add rules to build libnss_db.
11619 * nss/Versions: Add libnss_db information. Organize libnss_files
11620 entries better.
11621 * nss/db-Makefile: Add gshadow support. Change rules for the new
11622 makedb progra. Some minor improvements to generate smaller files.
11623 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11624 here from...
11625 * nss/makedb.c: ...here.
11626 Improve database format to be smaller and require less memory at
11627 runtime.
11628 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11629 db anymore.
11630 * nss/nss_db/db-netgrp.c: Likewise.
11631 * nss/nss_db/db-open.c: Likewise.
11632 * nss/nss_files/flies-XXX.x: Adjust comments.
11633 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11634 * nss/nss_files/files-grp.c: Likewise.
11635 * nss/nss_files/files-hosts.c: Likewise.
11636 * nss/nss_files/files-network.c: Likewise.
11637 * nss/nss_files/files-proto.c: Likewise.
11638 * nss/nss_files/files-pwd.c: Likewise.
11639 * nss/nss_files/files-rpc.c: Likewise.
11640 * nss/nss_files/files-service.c: Likewise.
11641 * nss/nss_files/files-sgrp.c: Likewise.
11642 * nss/nss_files/files-spwd.c: Likewise.
11643 * nss/nss_db/db-alias.c: Removed.
11644 * nss/nss_db/dummy-db.h: Removed.
11645
9ee76b5a
UD
116462011-06-02 Ulrich Drepper <drepper@gmail.com>
11647
11648 * nss/makedb.c: Rewritten to not use database library.
11649 * nss/Makefile: Update to build new makedb program.
11650
c71ca1f8
AJ
116512011-06-14 Andreas Jaeger <aj@suse.de>
11652
11653 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11654 memset declaration.
11655
3154bfb8
UD
116562011-06-10 Andreas Schwab <schwab@redhat.com>
11657
11658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11659 tmpbuf.
11660
b350afab
RM
116612011-06-10 Roland McGrath <roland@hack.frob.com>
11662
decd4e50
RM
11663 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11664 * elf/Makefile ($(objpfx)ld.so): Likewise.
11665
5615eaf2
RM
11666 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11667 Don't list ld.so twice in dependencies.
11668
11669 * posix/bug-regex31.c: Include <stdlib.h>.
11670
11671 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11672
11673 * nis/nss_compat/compat-spwd.c
11674 (getspent_next_nss_netgr): Remove unused variable.
11675 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11676
11677 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11678 nonmembers" output to use the right array.
11679
11680 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11681
11682 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11683
11684 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11685 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11686 * catgets/gencat.c (read_input_file): Likewise.
11687 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11688
11689 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11690 variable definition inside #if's controlling its use.
11691
11692 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11693
11694 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11695
11696 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11697
11698 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11699 unreachable code.
11700
11701 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11702
b68e08db
RM
11703 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11704 * configure: Regenerated.
11705
b350afab
RM
11706 * Makerules: Revert last change.
11707 * elf/Makefile: Likewise.
11708
28368601
RM
117092011-06-09 Roland McGrath <roland@hack.frob.com>
11710
11711 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11712 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11713 (reloc-link): Likewise.
11714
11988f8f
UD
117152011-06-09 Ulrich Drepper <drepper@gmail.com>
11716
11717 * elf/Makefile: Add rules to build pldd.
11718 * elf/pldd.c: New file.
11719 * elf/pldd-xx.c: New file.
11720
e80fab37
UD
117212011-06-07 Ulrich Drepper <drepper@gmail.com>
11722
11723 * version.h: Update for 2.15 development version.
11724
9b849836
DM
117252011-06-07 David S. Miller <davem@davemloft.net>
11726
11727 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11728 ifuncs.
11729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11730 elf_machine_lazy_rel): Likewise.
11731 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11733 elf_machine_lazy_rel): Likewise.
11734 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11735 dl_hwcap via passed in argument.
11736 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11737 Likewise.
11738
5a31b283
AK
117392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11740
11741 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11742
069e52f8
RM
117432011-06-06 Roland McGrath <roland@hack.frob.com>
11744
11745 [BZ #12849]
11746 * manual/fdl-1.1.texi: New file, verbatim from:
11747 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11748 * manual/lgpl-2.1.texi: New file, verbatim from:
11749 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11750 * manual/Makefile (licenses): New variable, list those new file names.
11751 (texis): Use it.
11752 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11753
11754 * manual/fdl.texi: File removed.
11755 * manual/lesser.texi: File removed.
11756 * manual/libc.texinfo (Copying, Documentation License):
11757 Use new @include file names, put @appendix directive before @include.
11758
f16846a5
JJ
117592011-06-04 Jakub Jelinek <jakub@redhat.com>
11760
11761 [BZ #12841]
11762 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11763 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11764 (mq_open): Add __NTH.
11765
3d29045b
L
117662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11767
11768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11769 Assume Intel Core i3/i5/i7 processor if AVX is available.
11770
8c297311
UD
117712011-05-31 Ulrich Drepper <drepper@gmail.com>
11772
11773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11774 typo.
11775
c8fc0c91
UD
117762011-05-31 Andreas Schwab <schwab@redhat.com>
11777
11778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11779 memory. Use alloca_account. Fix memory leak when retrying.
11780
5b27a807
UD
117812011-05-31 Ulrich Drepper <drepper@gmail.com>
11782
356f8bc6
UD
11783 * version.h (RELEASE): Bump for 2.14 release.
11784 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11785
5b27a807
UD
11786 * config.make.in (RANLIB): Remove entry.
11787
01f16ab0
UD
117882011-05-30 Ulrich Drepper <drepper@gmail.com>
11789
41fce8bd
UD
11790 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11791 (libc.pot): Work around missing support for .ksh extension in xgettext.
11792
4769ae77
UD
11793 [BZ #12684]
11794 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11795 if both request failed.
11796 (send_dg): In case of server errors clear resplen or *resplen2.
11797
6b1e7d19
UD
11798 [BZ #12454]
11799 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11800 when there are multiple maps.
11801 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11802 (_dl_fini): Remove test here.
11803
01f16ab0
UD
11804 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11805
b1ebd700
UD
118062011-05-29 Ulrich Drepper <drepper@gmail.com>
11807
7ae22829
UD
11808 [BZ #12350]
11809 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11810 bit from old_res_options.
11811 (gaih_inet): Likewise.
11812
553149f6 11813 [BZ #11099]
18a84741 11814 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11815 as signed.
11816
652ffab1
UD
11817 * resolv/res_init.c (res_setoptions): Make the code more compact.
11818
16985fd0
UD
11819 [BZ #11558]
11820 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11821 set RES_USEVC.
11822
0464f746
UD
11823 [BZ #11634]
11824 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11825
7d17596c
UD
11826 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11827
cf6bbbd7
UD
11828 [BZ #11781]
11829 * malloc/malloc.h: Declare malloc hook variables as volatile.
11830
13f1ab36
UD
11831 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11832 in last patch.
11833
b1ebd700
UD
11834 [BZ #11799]
11835 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11836 raise in the comment.
80e2212d
UD
11837 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11839 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11840
ce67228d
UD
118412011-05-28 Ulrich Drepper <drepper@gmail.com>
11842
8887a920
UD
11843 [BZ #12811]
11844 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11845 grow the buffers more if it already has to be sufficient.
11846 (build_wcs_upper_buffer): Likewise.
11847 * posix/regexec.c (check_matching): Likewise.
11848 (clean_state_log_if_needed): Likewise.
11849 (extend_buffers): Don't enlarge buffers beyond size of the input
11850 buffer.
11851 Patches mostly by Emil Wojak <emil@wojak.eu>.
11852 * posix/bug-regex32.c: New file.
11853 * posix/Makefile (tests): Add bug-regex32.
11854
4f031072
UD
11855 * locale/findlocale.c (_nl_find_locale): Return right away if
11856 _nl_explode_name failed.
11857 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11858
d0478f0c
UD
11859 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11860
de81b246
UD
11861 * debug/xtrace.sh: Unify messages.
11862 * malloc/memusage.sh: Likewise.
11863
c738465a
UD
11864 [BZ #12813]
11865 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11866 time symbol from vDSO. Substitute with vsyscall if not available.
11867 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11868 __vdso_time.
11869
f1f929d7
UD
11870 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11871 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11872 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11873 Add sendmmsg and internal_sendmmsg.
11874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11875 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11877
ce67228d
UD
11878 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11879 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11881
e57420c6
UD
118822011-05-27 Ulrich Drepper <drepper@gmail.com>
11883
a8509ca5
UD
11884 [BZ #12813]
11885 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11886 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11887 available.
11888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11889 __vdso_getcpu.
11890
e57420c6
UD
11891 [BZ #12814]
11892 * iconvdata/Makefile (tests): Add bug-iconv9.
11893 * iconvdata/bug-iconv9.c: New file.
11894
4d07db15
AS
118952011-05-27 Andreas Schwab <schwab@redhat.com>
11896
11897 [BZ #12814]
11898 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11899
ea486f69
JJ
119002011-05-25 Jakub Jelinek <jakub@redhat.com>
11901
11902 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11903 (struct user_regs_struct): Change intcs field back to cs.
11904
6f038433
UD
119052011-05-25 Ulrich Drepper <drepper@gmail.com>
11906
11907 * po/ja.po: Update from translation team.
11908
67f86a25
UD
119092011-05-23 Ulrich Drepper <drepper@gmail.com>
11910
11911 [BZ #12795]
11912 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11914
def7fbd6
AS
119152011-05-20 Andreas Schwab <schwab@redhat.com>
11916
11917 * stdlib/longlong.h: Update from GCC.
11918
f50ef8f1
AS
119192011-05-23 Andreas Schwab <schwab@redhat.com>
11920
11921 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11922 parameter name.
11923 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11924 Add parameter name.
11925 (__sysconf): Pass it down.
11926
de7ce8f1
UD
119272011-05-22 Ulrich Drepper <drepper@gmail.com>
11928
f2962a71
UD
11929 [BZ #12671]
11930 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11931 some situations.
11932 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11933 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11934 add in in __libc_use_alloca calls. Adjust callers.
11935 (glob): Use malloc in some situations.
11936
de7ce8f1
UD
11937 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11938 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11939 pltexit.
11940
aec84f53
UD
119412011-05-21 Ulrich Drepper <drepper@gmail.com>
11942
05bb4a68
UD
11943 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11944 and CLOCK_BOOTTIME_ALARM.
11945
7ea72f99
UD
11946 [BZ #12782]
11947 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11948 is returned.
11949
7e4afad5
UD
11950 * string/_strerror.c (__strerror_r): Print negative errors as signed
11951 numbers.
11952
8e211fec
UD
11953 [BZ #12777]
11954 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11955 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11956 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11957
f7d82dc9
UD
11958 * configure.in: Fix typo in redirection and correct removal of test
11959 files in two cases.
11960
cc9e536d
UD
11961 [BZ #12788]
11962 * locale/setlocale.c (new_composite_name): Fix test to check for
11963 identical name of all categories.
11964
aec84f53
UD
11965 [BZ #12792]
11966 * libio/filedoalloc.c (local_isatty): New function.
11967 (_IO_file_doallocate): Use local_isatty.
11968 * stdio-common/perror.c (perror): In case a new stream is used
11969 forward the stream error.
11970 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11971 error flag.
11972
78e64fdc
RT
119732011-05-20 Ulrich Drepper <drepper@gmail.com>
11974
34a9094f
UD
11975 [BZ #11869]
11976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11977 alloca.
11978 * include/alloca.h (extend_alloca_account): Define.
11979
78e64fdc
RT
11980 [BZ #11857]
11981 * posix/regex.h: Fix comments with documentation of user-accessible
11982 fields after compilation and describe correct free'ing of pattern
11983 after re_compile_pattern.
11984 Patch by Reuben Thomas <rrt@sc3d.org>.
11985
457bddfc
RA
119862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11987
11988 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11989 and -mno-altivec to prevent the compiler from using Altivec and/or
11990 VSX instructions when the corresponding registers are not available.
11991
a4527b51
AS
119922011-05-19 Andreas Schwab <schwab@redhat.com>
11993
11994 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11995
ed690b2f
UD
119962011-05-19 Ulrich Drepper <drepper@gmail.com>
11997
11998 * libio/freopen.c (freopen): Use __dup2, not dup2.
11999 * libio/freopen64.c (freopen64): Likewise.
12000
8db73634
L
120012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12002
12003 [BZ #12775]
12004 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12005 * math/Makefile (tests): Add test-powl.
12006 (CFLAGS-test-powl.c): Define.
12007 * math/test-powl.c: New file.
12008
0a197a9d
L
120092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12012
ee30c380
UD
120132011-05-17 Ulrich Drepper <drepper@gmail.com>
12014
12015 [BZ #11837]
12016 * iconvdata/gb18030.c: Update to GB18020-2005.
12017
6ce75379
UD
120182011-05-16 Ulrich Drepper <drepper@gmail.com>
12019
a4b89fd8
AR
12020 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12021 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12022 Patch by Aharon Robbins <arnold@skeeve.com>.
12023
ea389b12
UD
12024 [BZ #11892]
12025 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12026 on the stack.
12027
68a3f91f
UD
12028 [BZ #11895]
12029 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12030 through underflows.
12031
15cc7dd1
UD
12032 [BZ #12766]
12033 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12034 point to strings before performing equality test for error_one_per_line
12035 mode.
12036
f3799213
UD
12037 [BZ #11697]
12038 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12039
d79a9c94
UD
12040 [BZ #11820]
12041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12042 (struct user_fpregs_struct): Avoid __uint*_t types.
12043
56e5eb46
UD
12044 [BZ #6420]
12045 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12046 symbol info. Use it instead of calling _dl_addr locally.
12047 (lock_and_info): New function.
12048 (tr_freehook): Call lock_and_info and pass symbol info as additional
12049 parameter to tr_where.
12050 (tr_mallochook): Likewise.
12051 (tr_reallochook): Likewise.
12052 (tr_memalignhook): Likewise.
12053
6ce75379
UD
12054 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12055 used and couldn't be at all thread-safe.
12056
f8a3b5bf
UD
120572011-05-15 Ulrich Drepper <drepper@gmail.com>
12058
94b7cc37
UD
12059 * libio/freopen.c (freopen): Don't close old file descriptor
12060 before the new one is opened. Instead dup the new file descriptor
12061 to the old one after the new stream is created.
12062 * libio/freopen64.c (freopen64): Likewise.
12063 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12064 * libio/fileops.c (_IO_new_file_close_it): Handle new
12065 _IO_FLAGS2_NOCLOSE flag.
12066 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12067 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12068 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12069 _IO_FLAGS2_NOCLOSE flag.
12070 * include/unistd.h: Add hidden_proto for dup3.
12071 Define __have_dup3.
12072 * io/dup3.c: Define hidden symbol.
12073 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12074
bd25564e
UD
12075 [BZ #7101]
12076 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12077 when an incomplete long option is used.
12078 * posix/tst-getopt_long1.c: New file.
12079 * posix/Makefile (tests): Add tst-getopt_long1.
12080
c84cfef4
UD
12081 [BZ #10138]
12082 * scripts/config.guess: Update from autoconf-2.68.
12083 * scripts/config.sub: Likewise.
12084
3b85df27
UD
12085 [BZ #10157]
12086 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12087 tests into ...
12088 (has_cpuclock): ...this. New function.
12089 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12090 macro here based on has_cpuclock code.
12091
15a856b1
UD
12092 [BZ #10149]
12093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12094 First byte (not low byte) is now always NUL.
12095 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12096
05f399e6
UD
12097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12098 Use non-cancelable interfaces.
12099
10a52685 12100 [BZ #9809]
94ecc67d
UD
12101 * locale/iso-639.def: Add entry for Sorani.
12102
f8a3b5bf
UD
12103 [BZ #11901]
12104 * include/stdlib.h: Move include protection to the right place.
12105 Define abort_msg_s. Declare __abort_msg with it.
12106 * stdlib/abort.c (__abort_msg): Adjust type.
12107 * assert/assert.c (__assert_fail_base): New function. Majority
12108 of code from __assert_fail. Allocate memory for __abort_msg with
12109 mmap.
12110 (__assert_fail): Now call __assert_fail_base.
12111 * assert/assert-perr.c: Remove bulk of implementation. Use
12112 __assert_fail_base.
12113 * include/assert.hL Declare __assert_fail_base.
12114 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12115 mmap.
12116 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12117
1af4e298
UD
121182011-05-14 Ulrich Drepper <drepper@gmail.com>
12119
f8a3b5bf 12120 [BZ #11952]
d26dfc60
MG
12121 [BZ #12453]
12122 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12123 until all modules are registered in the DTV.
12124 * elf/Makefile: Add rules to build and run tst-tls19.
12125 * elf/tst-tls19.c: New file.
12126 * elf/tst-tls19mod1.c: New file.
12127 * elf/tst-tls19mod2.c: New file.
12128 * elf/tst-tls19mod3.c: New file.
12129 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12130
2fc54d6f
UD
12131 [BZ #12083]
12132 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12133 correctly.
12134
98d76b46
UD
12135 [BZ #12601]
12136 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12137 two-byte sequence errors.
12138 * iconvdata/Makefile (tests): Add bug-iconv8.
12139 * iconvdata/bug-iconv8.c: New file.
12140
da3c19ef
UD
12141 [BZ #12626]
12142 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12143 buf2 definition.
12144
ca408c15
UD
12145 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12146
d6f67f7d
UD
12147 [BZ #12432]
12148 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12149 (dummy_getcfa): New function.
12150 (init): Get _Unwind_GetCFA address, use dummy if not found.
12151 (backtrace_helper): In recursion check, also check whether CFA changes.
12152 (__backtrace): Completely initialize arg.
12153
1af4e298 12154 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12155 storing incomplete byte sequence in state object. Avoid testing for
12156 guaranteed too small input if we know there is enough data available.
1af4e298 12157
da62f81b
AS
121582011-05-11 Andreas Schwab <schwab@redhat.com>
12159
12160 * Makeconfig (+link-pie): Indent.
12161 * Rules (binaries-pie): Define if $(have-fpie) and
12162 $(build-shared).
12163 (binaries-shared): Also filter out $(binaries-pie).
12164 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12165 * nscd/Makefile (others-pie): Add nscd.
12166 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12167 ($(objpfx)nscd): Remove command override.
12168 * login/Makefile (others-pie): Add pt_chown.
12169 ($(objpfx)pt_chown): Remove command override.
12170 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12171 remove command overrides.
12172
fcabc0f8
UD
121732011-05-13 Ulrich Drepper <drepper@gmail.com>
12174
20030ae6
UD
12175 * libio/tst_putwc.c: Fix error messages.
12176
fcabc0f8
UD
12177 [BZ #12724]
12178 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12179 currently writing and seek to current position when not.
12180 * libio/Makefile (tests): Add bug-fclose1.
12181 * libio/bug-fclose1.c: New file.
12182
320a5dc0
PB
121832011-05-12 Ulrich Drepper <drepper@gmail.com>
12184
12185 [BZ #12511]
12186 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12187 don't set DF_1_NODELETE here.
12188 (do_lookup_x): When entering new entry test for copy relocation
12189 and if necessary set DF_1_NODELETE flag.
12190 * elf/tst-unique4.cc: New file.
12191 * elf/tst-unique4.h: New file.
12192 * elf/tst-unique4lib.cc: New file.
12193 * elf/Makefile: Add rules to build and run tst-unique4.
12194 Patch by Piotr Bury <pbury@goahead.com>.
12195
22836f52
UD
121962011-05-11 Ulrich Drepper <drepper@gmail.com>
12197
f574184a
UD
12198 [BZ #12052]
12199 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12200
e1fb097f
UD
12201 [BZ #12625]
12202 * misc/mntent_r.c (addmntent): Flush the stream after the output
12203
22836f52
UD
12204 [BZ #12393]
12205 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12206 (is_trusted_path_normalize): Skip initial colon. Append slash
12207 to empty buffer. Duplicate is_trusted_path code but allow
12208 constructed patch to be prefix.
12209 (is_dst): Allow $ORIGIN followed by /.
12210 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12211 Correct testing of result of is_trusted_path_normalize
12212 (decompose_rpath): Fix warning.
12213
7b3b0b2a
UD
122142011-05-10 Ulrich Drepper <drepper@gmail.com>
12215
12216 [BZ #11257]
12217 * grp/initgroups.c (internal_getgrouplist): When we found the service
12218 list through the initgroups entry in nsswitch.conf do not always
12219 continue on a successful lookup. Don't always use the
eac80ce2 12220 __nss_group_database value if it is set.
7b3b0b2a
UD
12221 * nss/nsswitch.conf (initgroups): Change action for successful db
12222 lookup to continue for compatibility.
12223
2a81eaa5
UD
122242011-05-09 Ulrich Drepper <drepper@gmail.com>
12225
be97a69e
UD
12226 [BZ #11532]
12227 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12228 and CP774 modules.
12229 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12230 and CP774 modules.
12231 * iconvdata/tst-tables.sh: Likewise.
12232 * iconvdata/cp770.c: New file.
12233 * iconvdata/cp771.c: New file.
12234 * iconvdata/cp772.c: New file.
12235 * iconvdata/cp773.c: New file.
12236 * iconvdata/cp774.c: New file.
12237 * iconvdata/testdata/CP770: New file.
12238 * iconvdata/testdata/CP770..UTF8: New file.
12239 * iconvdata/testdata/CP771: New file.
12240 * iconvdata/testdata/CP771..UTF8: New file.
12241 * iconvdata/testdata/CP772: New file.
12242 * iconvdata/testdata/CP772..UTF8: New file.
12243 * iconvdata/testdata/CP773: New file.
12244 * iconvdata/testdata/CP773..UTF8: New file.
12245 * iconvdata/testdata/CP774: New file.
12246 * iconvdata/testdata/CP774..UTF8: New file.
12247
12248 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12249 END CHARMAP line.
12250 * iconvdata/gen-8bit-gap.sh: Likewise.
12251 * iconvdata/gen-8bit.sh: Likewise.
12252
c1e9e399
UD
12253 * locale/iso-639.def: Add ary entry.
12254
24c55fb3 12255 [BZ #11258]
96b4b1b0
UD
12256 * locale/C-translit.h.in: Add U20A1 transliteration.
12257
bdc2f971
KB
12258 [BZ #12178]
12259 * locale/iso-639.def: Add wae entry.
12260 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12261
2952b117
UD
12262 [BZ #12545]
12263 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12264 for n.
12265
2a81eaa5
UD
12266 [BZ #12711]
12267 * locale/C-translit.h.in: Add entry for U20B9.
12268 Patch by pravin.d.s@gmail.com.
12269
28377d1b
UD
122702011-05-08 Ulrich Drepper <drepper@gmail.com>
12271
7fb90fb8
UD
12272 [BZ #12713]
12273 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12274 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12275 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12276 in rtld. Use *stat64.
7fb90fb8 12277 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12278 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12279 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12280 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12281 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12282 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12283 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12284 __fstatat64 macros.
7fb90fb8
UD
12285 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12286 * dirent/rewinddir.c: Add libc_hidden_def.
12287 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12288 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12289
28377d1b
UD
12290 * include/dirent.h (__alloc_dir): Add flags parameter.
12291 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12292 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12293 __alloc_dir.
12294 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12295 from fdopendir if O_CLOEXEC is already set.
12296
66bdbaa4
AM
122972011-03-15 Alan Modra <amodra@gmail.com>
12298
12299 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12300 l_tls_firstbyte_offset non-zero. Save padding offset in
12301 l_tls_firstbyte_offset for later use.
12302 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12303 freeing static tls block.
12304
95721191
JN
123052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12306
12307 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12308 where #ifdef was intended. The intent is to prevent ARG_MAX from
12309 being defined by the kernel headers.
12310
f87dfb1f
UD
123112011-05-07 Ulrich Drepper <drepper@gmail.com>
12312
12313 [BZ #12734]
12314 * resolv/resolv.h: Define RES_NOTLDQUERY.
12315 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12316 no-tld-query and set RES_NOTLDQUERY.
12317 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12318 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12319 modern BIND to search name as TLD unless forbidden.
12320
47c3cd7a
UD
123212011-05-07 Petr Baudis <pasky@suse.cz>
12322 Ulrich Drepper <drepper@gmail.com>
12323
12324 [BZ #12393]
12325 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12326 (is_trusted_path): ...to here.
c1e9ea35 12327 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12328 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12329 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12330
8a35c912
PP
123312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12332
12333 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12334 __BEGIN/__END_DECLS.
12335
acd41f47
UD
123362011-05-06 Ulrich Drepper <drepper@gmail.com>
12337
12338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12339 NSS_STATUS_NOTFOUND if no record was found.
12340
597df647
AS
123412011-05-05 Andreas Schwab <schwab@redhat.com>
12342
12343 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12344 (headers-not-in-tirpc): Remove rpc/netdb.h
12345 * resolv/netdb.h: Revert last change.
12346
b9af1301
PP
123472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12348
12349 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12350 circular dependency between libgcc.a and libc.a.
12351
4e34d5f5
AS
123522011-05-05 Andreas Schwab <schwab@redhat.com>
12353
12354 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12355 * nis/Makefile: Don't install rpcsvc/*.
12356 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12357 instead of <rpc/types.h>.
12358 (MAXHOSTNAMELEN): Define.
12359
00ee369c
AS
123602011-05-03 Andreas Schwab <schwab@redhat.com>
12361
12362 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12363
0b592a30
MB
123642011-04-28 Maciej Babinski <mbabinski@google.com>
12365
12366 [BZ #12714]
12367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12368 gethostbyname4_r when IPv6 results are possible.
12369
6e04cbbe
UD
123702011-05-02 Ulrich Drepper <drepper@gmail.com>
12371
12372 [BZ #12723]
12373 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12374 _PC_PIPE_BUF handling.
12375
e4ecafe0
BH
123762011-04-30 Bruno Haible <bruno@clisp.org>
12377
12378 [BZ #12717]
12379 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12380 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12381 to 'int'.
12382 * inet/getnameinfo.c (getnameinfo): Likewise.
12383
125ee683
UD
123842011-04-29 Ulrich Drepper <drepper@gmail.com>
12385
12386 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12387 to groups setting in database lookup.
12388 * nss/nsswitch.conf: Add initgroups entry.
12389
b722481a
EB
123902011-04-22 Ulrich Drepper <drepper@gmail.com>
12391
12392 [BZ #12685]
12393 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12394 mode string.
12395 Patch by Eric Blake <eblake@redhat.com>.
12396
4df46dbd
L
123972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12398
12399 * sunrpc/Makefile (need-export-routines): Add svc_run.
12400 (routines): Remove svc_run.
12401 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12402 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12403 * sunrpc/svc_run.c (svc_run): Likewise.
12404 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12405
e84142d2
UD
124062011-04-21 Ulrich Drepper <drepper@gmail.com>
12407
12408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12409 problem in reallocation in last patch.
12410
877175d8
UD
124112011-04-20 Ulrich Drepper <drepper@gmail.com>
12412
12413 * sunrpc/Makefile: Move inclusion of Rules.
12414
ab8eed78
UD
124152011-04-19 Ulrich Drepper <drepper@gmail.com>
12416
12417 * nss/nss_files/files-initgroups.c: New file.
12418 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12419 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12420 _nss_files_initgroups_dyn.
12421
e3d8f584
RS
124222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12423
12424 * elf/elf.h (R_ARM_IRELATIVE): Define.
12425
af190f45
UD
124262011-04-19 Ulrich Drepper <drepper@gmail.com>
12427
12428 * po/ru.po: Update from translation team.
12429
53cf59ef
UD
124302011-04-17 Ulrich Drepper <drepper@gmail.com>
12431
12432 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12433 dependencies.
12434
4c559bcd
MF
124352011-02-06 Mike Frysinger <vapier@gentoo.org>
12436
12437 [BZ #12653]
12438 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12439 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12442 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12443
4420675c
AS
124442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12445
12446 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12447 differing bytes.
12448 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12451
75ea32ab
UD
124522011-04-17 Ulrich Drepper <drepper@gmail.com>
12453
12454 [BZ #12420]
12455 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12456 storing it.
12457 * stdlib/bug-getcontext.c: New file.
12458 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12459
27390476
AK
124602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12461
12462 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12463 instructions into .machine "z9-109".
12464 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12465 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12466
10442705
AK
124672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12468
12469 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12470 between environment variables and auxiliary vector.
12471
7b57bfe5
UD
124722011-04-16 Ulrich Drepper <drepper@gmail.com>
12473
12474 * Makefile: Add rules to build linkobj/libc.so.
12475 * include/libc-symbols.h: Define libc_hidden_nolink.
12476 * include/rpc/auth.h: Mark functions which are to be hidden.
12477 * include/rpc/auth_des.h: Likewise.
12478 * include/rpc/auth_unix.h: Likewise.
12479 * include/rpc/clnt.h: Likewise.
12480 * include/rpc/des_crypt.h: Likewise.
12481 * include/rpc/key_prot.h: Likewise.
12482 * include/rpc/pmap_clnt.h: Likewise.
12483 * include/rpc/pmap_prot.h: Likewise.
12484 * include/rpc/pmap_rmt.h: Likewise.
12485 * include/rpc/rpc_msg.h: Likewise.
12486 * include/rpc/svc.h: Likewise.
12487 * include/rpc/svc_auth.h: Likewise.
12488 * include/rpc/xdr.h: Likewise.
12489 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12490 * nss/Makefile: Likewise.
12491 * sunrpc/Makefile: Don't install headers. Build library with normal
12492 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12493 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12494 for the compat linking library. Remove use of INTDEF/INTUSE.
12495 * sunrpc/auth_none.c: Likewise.
12496 * sunrpc/auth_unix.c: Likewise.
12497 * sunrpc/authdes_prot.c: Likewise.
12498 * sunrpc/authuxprot.c: Likewise.
12499 * sunrpc/clnt_gen.c: Likewise.
12500 * sunrpc/clnt_perr.c: Likewise.
12501 * sunrpc/clnt_raw.c: Likewise.
12502 * sunrpc/clnt_simp.c: Likewise.
12503 * sunrpc/clnt_tcp.c: Likewise.
12504 * sunrpc/clnt_udp.c: Likewise.
12505 * sunrpc/clnt_unix.c: Likewise.
12506 * sunrpc/des_crypt.c: Likewise.
12507 * sunrpc/des_soft.c: Likewise.
12508 * sunrpc/get_myaddr.c: Likewise.
12509 * sunrpc/key_call.c: Likewise.
12510 * sunrpc/key_prot.c: Likewise.
12511 * sunrpc/netname.c: Likewise.
12512 * sunrpc/pm_getmaps.c: Likewise.
12513 * sunrpc/pm_getport.c: Likewise.
12514 * sunrpc/pmap_clnt.c: Likewise.
12515 * sunrpc/pmap_prot.c: Likewise.
12516 * sunrpc/pmap_prot2.c: Likewise.
12517 * sunrpc/pmap_rmt.c: Likewise.
12518 * sunrpc/publickey.c: Likewise.
12519 * sunrpc/rpc_cmsg.c: Likewise.
12520 * sunrpc/rpc_common.c: Likewise.
12521 * sunrpc/rpc_dtable.c: Likewise.
12522 * sunrpc/rpc_prot.c: Likewise.
12523 * sunrpc/rpc_thread.c: Likewise.
12524 * sunrpc/rtime.c: Likewise.
12525 * sunrpc/svc.c: Likewise.
12526 * sunrpc/svc_auth.c: Likewise.
12527 * sunrpc/svc_authux.c: Likewise.
12528 * sunrpc/svc_raw.c: Likewise.
12529 * sunrpc/svc_run.c: Likewise.
12530 * sunrpc/svc_simple.c: Likewise.
12531 * sunrpc/svc_tcp.c: Likewise.
12532 * sunrpc/svc_udp.c: Likewise.
12533 * sunrpc/svc_unix.c: Likewise.
12534 * sunrpc/svcauth_des.c: Likewise.
12535 * sunrpc/xcrypt.c: Likewise.
12536 * sunrpc/xdr.c: Likewise.
12537 * sunrpc/xdr_array.c: Likewise.
12538 * sunrpc/xdr_float.c: Likewise.
12539 * sunrpc/xdr_intXX_t.c: Likewise.
12540 * sunrpc/xdr_mem.c: Likewise.
12541 * sunrpc/xdr_rec.c: Likewise.
12542 * sunrpc/xdr_ref.c: Likewise.
12543 * sunrpc/xdr_sizeof.c: Likewise.
12544 * sunrpc/xdr_stdio.c: Likewise.
12545
e6c61494
UD
125462011-04-10 Ulrich Drepper <drepper@gmail.com>
12547
12548 [BZ #12650]
12549 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12550 * sysdeps/ia64/dl-tls.h: Likewise.
12551 * sysdeps/powerpc/dl-tls.h: Likewise.
12552 * sysdeps/s390/dl-tls.h: Likewise.
12553 * sysdeps/sh/dl-tls.h: Likewise.
12554 * sysdeps/sparc/dl-tls.h: Likewise.
12555 * sysdeps/x86_64/dl-tls.h: Likewise.
12556 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12557
34fe483e
AS
125582011-03-14 Andreas Schwab <schwab@redhat.com>
12559
12560 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12561 rpath element also skip the following colon.
12562 (expand_dynamic_string_token): Add is_path parameter and pass
12563 down to DL_DST_REQUIRED and _dl_dst_substitute.
12564 (decompose_rpath): Call expand_dynamic_string_token with
12565 non-zero is_path. Ignore empty rpaths.
12566 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12567 with zero is_path.
12568
f12a32e6
AS
125692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12570
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12572 Make cancelable.
12573
38a7d692
UD
125742011-04-09 Ulrich Drepper <drepper@gmail.com>
12575
12576 [BZ #12655]
12577 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12578 Patch by Filipe David Manana <fdmanana@apache.org>.
12579
e451d22b
AS
125802011-04-07 Andreas Schwab <schwab@redhat.com>
12581
12582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12583 Maintain aligned stack.
12584 (CHECK_RSP): Remove unused macro.
12585
dedc7c7b
UD
125862011-04-03 Ulrich Drepper <drepper@gmail.com>
12587
12588 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12589 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12590
94521213
UD
125912011-04-02 Ulrich Drepper <drepper@gmail.com>
12592
12593 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12594
8cb700c0 12595 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12596
0354e355
L
125972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 [BZ #12518]
12600 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12601 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12602 * sysdeps/x86_64/memmove.c: New file.
12603 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12604 (memcpy): Renamed to ...
12605 (__new_memcpy): This.
12606 (memcpy): Provide GLIBC_2_14 memcpy.
12607 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12608 (memcpy): Provide GLIBC_2_2_5 memcpy.
12609
8593482f
UD
126102011-04-01 Ulrich Drepper <drepper@gmail.com>
12611
12612 [BZ #12631]
12613 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12614
81a5726b
AS
126152011-03-30 Andreas Schwab <schwab@redhat.com>
12616
12617 * misc/syncfs.c: New file.
12618 * misc/Makefile (routines): Add syncfs.
12619 * posix/unistd.h: Declare syncfs.
12620 * sysdeps/unix/syscalls.list: Add syncfs.
12621
00e5419f
AS
126222011-04-01 Andreas Schwab <schwab@redhat.com>
12623
12624 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12625 open_by_handle_at.
12626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12631 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12633
748876bf
UD
126342011-04-01 Ulrich Drepper <drepper@gmail.com>
12635
658e451d
UD
12636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12637 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12643
748876bf
UD
12644 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12645 sync_file_range.c with -fexceptions.
12646 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12647 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12648 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12649 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12650 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12651 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12653 sync_file_range as cancellation point
12654 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12655 now a wrapper around __call_sync_file_range with cancellation handling.
12656 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12657 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12658 function name to __call_sync_file_range.
12659 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12660 Add call_sync_file_range.
748876bf 12661
6e63d5e1
AS
126622011-04-01 Andreas Schwab <schwab@redhat.com>
12663
12664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12665 bits/timex.h.
6e63d5e1 12666
46998f74
UD
126672011-04-01 Ulrich Drepper <drepper@gmail.com>
12668
4c1423ed
UD
12669 * iconv/iconv.h: Fix typo in comment.
12670 * io/fcntl.h: Likewise.
12671 * libio/stdio.h: Likewise.
12672 * posix/spawn.h: Likewise.
12673 * posix/unistd.h: Likewise.
12674 * stdlib/stdlib.h: Likewise.
12675 * time/time.h: Likewise.
12676 * wcsmbs/wchar.h: Likewise.
12677
158648c0
UD
12678 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12679 open_by_handle): Add.
12680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12681 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12682 Augment a few comments.
12683 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12688 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12689 open_by_handle.
12690
46998f74
UD
12691 * io/fcntl.h (AT_EMPTY_PATH): Define.
12692
83fe108b
UD
126932011-03-30 Ulrich Drepper <drepper@gmail.com>
12694
12695 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12696 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12697 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12698 to...
12699 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12700 * Versions.def: Add GLIBC_2.14.
12701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12702 Export.
83fe108b 12703
bb242059
UD
127042011-03-22 Ulrich Drepper <drepper@gmail.com>
12705
12706 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12707 round counter.
12708 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12709
c97a1282
L
127102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12711
12712 [BZ #12597]
12713 * string/test-strncmp.c (do_page_test): New function.
12714 (check2): Likewise.
12715 (test_main): Call check2.
12716 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12717
2a115601
UD
127182011-03-20 Ulrich Drepper <drepper@gmail.com>
12719
12720 [BZ #12587]
12721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12722 Handle cache information in CPU leaf 4.
12723 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12724
8126d904
UD
127252011-03-18 Ulrich Drepper <drepper@gmail.com>
12726
042c49c6 12727 [BZ #12583]
8126d904
UD
12728 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12729 character representation.
12730 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12731
ccfe366e
RA
127322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12733
12734 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12735 END(__isnan) to END(__isnanf) to match function entry point/label
12736 EALIGN(__isnanf,...).
12737
c6e13027
JJ
127382011-03-10 Jakub Jelinek <jakub@redhat.com>
12739
12740 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12741
33f85a3f
UD
127422011-03-10 Ulrich Drepper <drepper@gmail.com>
12743
028478fa
UD
12744 [BZ #12510]
12745 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12746 copy from the symbol referenced in the relocation to initialize the
12747 used variable.
12748 Patch by Piotr Bury <pbury@goahead.com>.
12749 * elf/Makefile: Add rules to build and tst-unique3.
12750 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12751 * elf/tst-unique3.cc: New file.
12752 * elf/tst-unique3.h: New file.
12753 * elf/tst-unique3lib.cc: New file.
12754 * elf/tst-unique3lib2.cc: New file.
12755
33f85a3f
UD
12756 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12757
03592fc7
MF
127582011-03-10 Mike Frysinger <vapier@gentoo.org>
12759
12760 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12761 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12762 to _start.
03592fc7 12763
6a5ee102
UD
127642011-03-06 Ulrich Drepper <drepper@gmail.com>
12765
12766 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12767 to-be-loaded object along a path to loader is ld.so.
12768
7e4ba49c
HJ
127692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12770 Ulrich Drepper <drepper@gmail.com>
12771
12772 * sysdeps/x86_64/memset.S: After aligning destination, code
12773 branches to different locations depending on the value of
12774 misalignment, when multiarch is enabled. Fix this.
12775
127762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12777
12778 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12779 Set _x86_64_preferred_memory_instruction for AMD processsors.
12780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12781 Set bit_Prefer_SSE_for_memop for AMD processors.
12782
13a804de
UD
127832011-03-04 Ulrich Drepper <drepper@gmail.com>
12784
12785 * libio/fmemopen.c (fmemopen): Optimize a bit.
12786
9d25c392
AS
127872011-03-03 Andreas Schwab <schwab@redhat.com>
12788
12789 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12790
a5543c6a
RM
127912011-03-03 Roland McGrath <roland@redhat.com>
12792
12793 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12794
012d35f7
DM
127952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12796
7e4ba49c 12797 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12798 __bzero_ultra1 instead of __memset_ultra1.
12799
4bff6e01
AS
128002011-02-23 Andreas Schwab <schwab@redhat.com>
12801 Ulrich Drepper <drepper@gmail.com>
12802
12803 [BZ #12509]
12804 * include/link.h (struct link_map): Add l_orig_initfini.
12805 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12806 returning unsuccessfully.
12807 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12808 close of a file loaded at startup, restore the original l_initfini
12809 list.
12810 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12811 list, store the pointer.
12812 * elf/Makefile ($(objpfx)noload-mem): New rule.
12813 (noload-ENV): Define.
12814 (tests): Add $(objpfx)noload-mem.
12815 * elf/noload.c: Include <memcheck.h>.
12816 (main): Call mtrace. Close all opened handles.
12817
f2092faf
AS
128182011-02-17 Andreas Schwab <schwab@redhat.com>
12819
12820 [BZ #12454]
12821 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12822 dependencies are missing.
12823
6c8a2e88
ST
128242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12825
f2092faf 12826 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12827 Hurd needs munmap.
12828 * sysdeps/mach/hurd/ifreq.h: New file.
12829
84a42118
PB
128302011-01-27 Petr Baudis <pasky@suse.cz>
12831 Ulrich Drepper <drepper@gmail.com>
12832
071f805e 12833 [BZ 12445]#
84a42118
PB
12834 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12835 to extend_alloca().
12836 * stdio-common/bug23.c: New file.
12837 * stdio-common/Makefile (tests): Add bug23.
12838
e23fe25b
AS
128392010-09-28 Andreas Schwab <schwab@redhat.com>
12840 Ulrich Drepper <drepper@gmail.com>
12841
12842 [BZ #12489]
12843 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12844 before performing relro protection. At old place add assertion
12845 to make sure nothing changed.
12846
d3f02e10
NS
128472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12848 Glauber de Oliveira Costa <glommer@gmail.com>
12849
12850 * elf/elf.h: Add new ARM TLS relocs.
12851
d55fd7a5
RA
128522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12853
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12855 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12856 cast from r3.
12857 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12858 'tests' variable.
12859 * sysdeps/wordsize-64/tst-writev.c: New file.
12860
2206397e
RA
128612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12862
12863 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12864 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12865 insns in _dl_start to prevent a TOC reference before relocs are
12866 resolved.
12867
e9433893
UD
128682011-02-15 Ulrich Drepper <drepper@gmail.com>
12869
12870 [BZ #12469]
12871 * Makeconfig: Remove RANLIB definition.
12872 * Makerules: Don't use RANLIB.
12873 * aclocal.m4: Remove ranlib test.
12874 * configure.in: No need to check for ranlib.
12875 * elf/rtld-Rules: Don't use RANLIB.
12876
f75286c6
ST
128772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12878
8e31c82d
ST
12879 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12880 protection macro.
12881 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12882 inclusion protection macro.
12883
f75286c6
ST
12884 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12885 SIGRTMIN and SIGRTMAX and print information in that case only when
12886 SIGRTMIN is defined.
12887
c1d0e639
JJ
128882011-02-11 Jakub Jelinek <jakub@redhat.com>
12889
12890 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12891 arginfo fn returning -1.
12892
12893 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12894 and thousands string is zero terminated.
12895
edf9294e
AS
128962011-02-03 Andreas Schwab <schwab@redhat.com>
12897
12898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12899 sysdeps/unix/sysv/linux/bits/socket.h.
12900
2b7e92df
ST
129012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12902
edf9294e
AS
12903 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12904 (__CPU_COUNT): Remove old macros.
12905 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12906 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12907 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12908 (__sched_cpualloc, __sched_cpufree): Add declarations.
12909
a4c7ea7b
UD
129102011-02-05 Ulrich Drepper <drepper@gmail.com>
12911
12912 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12913 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12914 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12915 (readdhstai): Return value of addhstaiX call.
12916 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12917 (addgrbyX): Return value returned by cache_addgr.
12918 (readdgrbyname): Return value returned by addgrbyX.
12919 (readdgrbygid): Likewise.
12920 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12921 (addpwbyX): Return value returned by cache_addpw.
12922 (readdpwbyname): Return value returned by addhstbyX.
12923 (readdpwbyuid): Likewise.
12924 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12925 (addservbyX): Return value returned by cache_addserv.
12926 (readdservbyname): Return value returned by addservbyX:
12927 (readdservbyport): Likewise.
12928 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12929 (addhstbyX): Return value returned by cache_addhst.
12930 (readdhstbyname): Return value returned by addhstbyX.
12931 (readdhstbyaddr): Likewise.
12932 (readdhstbynamev6): Likewise.
12933 (readdhstbyaddrv6): Likewise.
12934 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12935 (readdinitgroups): Return value returned by addinitgroupsX.
12936 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12937 (prune_cache): Keep track of timeout value of re-added entries.
12938 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12939 * nscd/nscd.h: Adjust prototypes of readd* functions.
12940
a0bf67cc
RM
129412011-02-04 Roland McGrath <roland@redhat.com>
12942
12943 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12944 (nis_stats): Likewise.
12945 * nis/nis_modify.c (nis_modify): Likewise.
12946 * nis/nis_remove.c (nis_remove): Likewise.
12947 * nis/nis_add.c (nis_add): Likewise.
12948
12949 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12950
12951 * posix/fnmatch_loop.c: Add some consts.
12952
12953 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12954
435b95eb
L
129552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 [BZ #12460]
12958 * config.make.in (config-cflags-novzeroupper): Define.
12959 * configure.in: Substitute libc_cv_cc_novzeroupper.
12960 * elf/Makefile (AVX-CFLAGS): Define.
12961 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12962 (CFLAGS-tst-auditmod4a.c): Likewise.
12963 (CFLAGS-tst-auditmod4b.c): Likewise.
12964 (CFLAGS-tst-auditmod6b.c): Likewise.
12965 (CFLAGS-tst-auditmod6c.c): Likewise.
12966 (CFLAGS-tst-auditmod7b.c): Likewise.
12967 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12968
8517b15e
UD
129692011-02-02 Ulrich Drepper <drepper@gmail.com>
12970
12971 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12972 function to the callback.
12973 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12974
10a656fe
AS
129752011-02-02 Andreas Schwab <schwab@redhat.com>
12976
12977 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12978 of errno.
12979
968dad0a
UD
129802011-01-19 Ulrich Drepper <drepper@gmail.com>
12981
9f94d2ea 12982 [BZ #11724]
968dad0a
UD
12983 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12984 of constructors.
12985 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12986 of destructors.
12987 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12988
12989 [BZ #11724]
12990 * elf/Makefile: Add rules to build and run new test.
12991 * elf/tst-initorder.c: New file.
12992 * elf/tst-initorder.exp: New file.
12993 * elf/tst-initordera1.c: New file.
12994 * elf/tst-initordera2.c: New file.
12995 * elf/tst-initordera3.c: New file.
12996 * elf/tst-initordera4.c: New file.
12997 * elf/tst-initorderb1.c: New file.
12998 * elf/tst-initorderb2.c: New file.
12999 * elf/tst-order-a1.c: New file.
13000 * elf/tst-order-a2.c: New file.
13001 * elf/tst-order-a3.c: New file.
13002 * elf/tst-order-a4.c: New file.
13003 * elf/tst-order-b1.c: New file.
13004 * elf/tst-order-b2.c: New file.
13005 * elf/tst-order-main.c: New file.
13006 New test case by George Gensure <werkt0@gmail.com>.
13007
86e92359
UD
130082010-10-01 Andreas Schwab <schwab@redhat.com>
13009
13010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13011 decoding ACE if AI_CANONIDN.
13012
5d5732b0
UD
130132011-01-18 Ulrich Drepper <drepper@gmail.com>
13014
13015 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13016
a77e8cbc
UD
130172011-01-17 Ulrich Drepper <drepper@gmail.com>
13018
6392473f
UD
13019 * version.h (RELEASE): Bump for 2.13 release.
13020 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13021
620a0529
UD
13022 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13023
18ba70a5
UD
13024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13025 MADV_NOHUGEPAGE.
32465c3e
UD
13026 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13028 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13029 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13032
c0dafcf1
UD
13033 * posix/getconf.c: Update copyright year.
13034 * catgets/gencat.c: Likewise.
13035 * csu/version.c: Likewise.
13036 * debug/catchsegv.sh: Likewise.
13037 * debug/xtrace.sh: Likewise.
13038 * elf/ldconfig.c: Likewise.
13039 * elf/ldd.bash.in: Likewise.
13040 * elf/sprof.c (print_version): Likewise.
13041 * iconv/iconv_prog.c: Likewise.
13042 * iconv/iconvconfig.c: Likewise.
13043 * locale/programs/locale.c: Likewise.
13044 * locale/programs/localedef.c: Likewise.
13045 * malloc/memusage.sh: Likewise.
13046 * malloc/mtrace.pl: Likewise.
13047 * nscd/nscd.c (print_version): Likewise.
13048 * nss/getent.c: Likewise.
13049
a77e8cbc
UD
13050 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13051 PF_CAIF, and PF_ALG.
13052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13053
77e8bddf
AS
130542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13055
1f20b93a
AS
13056 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13057 (modules-names): Use them.
13058 (ifunc-test-modules, ifunc-pie-tests): Define.
13059 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13060 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13061 (test-extras): Likewise.
13062 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13063 $(compile-command.c).
13064 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13065 (all-built-dso): Define.
13066 (check-textrel.out, check-execstack.out): Depend on it.
13067
77e8bddf
AS
13068 * configure.in: Don't override --enable-multi-arch.
13069
bc425b33
UD
130702011-01-15 Ulrich Drepper <drepper@gmail.com>
13071
13072 [BZ #6812]
13073 * nscd/hstcache.c (tryagain): Define.
13074 (cache_addhst): Return tryagain not notfound for temporary errors.
13075 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13076 failed.
13077
794c3ad3
UD
130782011-01-14 Ulrich Drepper <drepper@gmail.com>
13079
70181fdd
UD
13080 [BZ #10563]
13081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13082 to make the syscall.
13083 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13084
794c3ad3
UD
13085 [BZ #12378]
13086 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13087 and fall back to matching as normal character if the string ends before
13088 the matching ']' is found. This is what POSIX requires.
13089 * posix/testfnm.c: Adjust test result.
13090 * posix/globtest.sh: Adjust test result. Add new test.
13091 * posix/tst-fnmatch.input: Likewise.
13092 * posix/tst-fnmatch2.c: Add new test.
13093
68dc9497
AS
130942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13095
13096 * elf/Makefile (check-execstack): Revert last change. Depend on
13097 check-execstack.h.
13098 (check-execstack.h): New target.
13099 (generated): Add check-execstack.h.
13100 * elf/check-execstack.c: Include "check-execstack.h".
13101 (main): Revert last change.
13102 (handle_file): Return zero if GNU_STACK is absent and
13103 DEFAULT_STACK_PERMS doesn't include PF_X.
13104
451f001b
UD
131052011-01-13 Ulrich Drepper <drepper@gmail.com>
13106
cfa28e56
UD
13107 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13108 in child fails because the descriptor is already closed.
8cf8ce17
UD
13109 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13110 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13111 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13112
1086d70d
UD
13113 [BZ #12397]
13114 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13115 syscall.
13116
451f001b
UD
13117 [BZ #10484]
13118 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13119 temporary buffer used to handle multi lookups locally.
a85b5cb4 13120 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13121
08769175
UD
131222011-01-12 Ulrich Drepper <drepper@gmail.com>
13123
13124 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13125 loader is ld.so.
13126
5e49c52e
UD
131272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13128
13129 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13130 alignment for SSE2.
13131
60522a5f
UD
131322011-01-12 Ulrich Drepper <drepper@gmail.com>
13133
13134 [BZ #12394]
13135 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13136 characters. When rounding increased number of integer digits recompute
13137 number of groups.
13138 * stdio-common/tst-grouping.c: New file.
13139 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13140
f257bbd7
UD
131412011-01-09 Ulrich Drepper <drepper@gmail.com>
13142
13143 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13144 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13145
13146 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13147 void.
13148 * bits/select.h: Likewise.
13149
fa9c15cb
UD
131502011-01-08 Ulrich Drepper <drepper@gmail.com>
13151
13152 * po/ja.po: Update from translation team.
13153
16c2895f
DM
131542011-01-04 David S. Miller <davem@sunset.davemloft.net>
13155
13156 [BZ #11155]
13157 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13158 implementation just like for lxstat, fxstatat, et al.
13159
2543fef2
JM
131602010-12-27 Jim Meyering <meyering@redhat.com>
13161
13162 [BZ #12348]
13163 * posix/regexec.c (build_trtable): Return failure indication upon
13164 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13165
98727dbe
UD
131662010-12-25 Ulrich Drepper <drepper@gmail.com>
13167
5bd6dc5c
UD
13168 [BZ #12201]
13169 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13170 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13171 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13172 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13173
97983464
UD
13174 [BZ #12207]
13175 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13176
98727dbe
UD
13177 [BZ #12204]
13178 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13179 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13180
4a531bb0
L
131812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13184 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13185 script has SORT_BY_INIT_PRIORITY.
13186 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13187 NO_CTORS_DTORS_SECTIONS is defined.
13188 * elf/soinit.c: Likewise.
13189 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13190 NO_CTORS_DTORS_SECTIONS is defined.
13191 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13192 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13193 * sysdeps/sh/init-first.c: Likewise.
13194 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13195
07eb4b71
UD
131962010-12-24 Ulrich Drepper <drepper@gmail.com>
13197
13198 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13199 always use the slow path.
13200
30950a5f
RA
132012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13202
13203 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13204 similar rule which adds the sysdep directories to the header search in
13205 order to pick up the correct platform stackinfo.h.
13206 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13207 perform test if it is, otherwise return successfully without testing.
13208 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13209 DEFAULT_STACK_PERMS define in stackinfo.h.
13210 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13211 defined in stackinfo.h.
13212 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13213 DEFAULT_STACK_PERMS defined in stackinfo.h.
13214 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13215 * sysdeps/ia64/stackinfo.h: Likewise.
13216 * sysdeps/s390/stackinfo.h: Likewise.
13217 * sysdeps/sh/stackinfo.h: Likewise.
13218 * sysdeps/sparc/stackinfo.h: Likewise.
13219 * sysdeps/x86_64/stackinfo.h: Likewise.
13220 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13221 PF_X for powerpc64. Retain PF_X for powerpc32.
13222
db753e2c
UD
132232010-12-19 Ulrich Drepper <drepper@gmail.com>
13224
14b697f7
UD
13225 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13226 accurately.
db753e2c
UD
13227 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13228 GETDENTS_64BIT_ALIGNED.
13229
28300719
UD
132302010-12-14 Ulrich Drepper <dreper@gmail.com>
13231
14b697f7 13232 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13233
4f197237
AS
132342010-12-10 Andreas Schwab <schwab@redhat.com>
13235
dbb0472f
AS
13236 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13237 _GNU_SOURCE.
13238
4f197237
AS
13239 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13240 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13241 Remove __restrict.
13242 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13243 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13244
fb88ac72
UD
132452010-12-09 Ulrich Drepper <drepper@gmail.com>
13246
13247 [BZ #11655]
13248 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13249 are initialized.
13250
42acbb92
JJ
132512010-12-09 Jakub Jelinek <jakub@redhat.com>
13252
13253 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13254
c038d98d
UD
132552010-12-03 Ulrich Drepper <drepper@gmail.com>
13256
13257 * po/it.po: Update from translation team.
13258
3a4a2499
L
132592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13260
13261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13262 unused codes.
13263
1e24cf6e
UD
132642010-11-30 Ulrich Drepper <drepper@gmail.com>
13265
13266 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13267
a7690819
AS
132682010-11-24 Andreas Schwab <schwab@redhat.com>
13269
13270 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13271 specially.
13272 (gaih_getanswer_slice): Likewise.
13273
3bf8d1b1
JJ
132742010-10-20 Jakub Jelinek <jakub@redhat.com>
13275
13276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13277
6db52fbb
PB
132782010-05-31 Petr Baudis <pasky@suse.cz>
13279
13280 [BZ #11149]
13281 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13282 silently even in the chroot mode.
13283
eaca7569
UD
132842010-11-22 Ulrich Drepper <drepper@gmail.com>
13285
13286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13287 last patch a bit. Pretty printing
13288
3056dcdb
UD
132892010-05-31 Petr Baudis <pasky@suse.cz>
13290
13291 [BZ #10085]
13292 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13293 initialization of skip_initgroups_dyn.
13294
cf7c9078
UD
132952010-11-19 Ulrich Drepper <drepper@gmail.com>
13296
13297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13298 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13299
a1fb5e3e
UD
133002010-11-16 Ulrich Drepper <drepper@gmail.com>
13301
13302 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13303
3540d66b
AS
133042010-11-11 Andreas Schwab <schwab@redhat.com>
13305
13306 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13307 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13308 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13309 ($(objpfx)tst-fnmatch-mem): New rule.
13310 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13311 * posix/tst-fnmatch.c (main): Call mtrace.
13312
13b69574
L
133132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13314
13315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13316 Support Intel processor model 6 and model 0x2c.
13317
da93d214
LM
133182010-11-10 Luis Machado <luisgpm@br.ibm.com>
13319
13320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13321 signed comparison.
13322
8ca52c6e
L
133232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 [BZ #12205]
13326 * string/test-strncasecmp.c (check_result): New function.
13327 (do_one_test): Use it.
13328 (check1): New function.
13329 (test_main): Use it.
13330 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13331 Support strcasecmp and strncasecmp.
13332
69da074d
UD
133332010-11-08 Ulrich Drepper <drepper@gmail.com>
13334
13335 [BZ #12194]
13336 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13338
ff02d528
L
133392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13340
13341 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13342 IFUNC support.
13343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13344 memset-x86-64.
13345 * sysdeps/x86_64/multiarch/bzero.S: New file.
13346 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13347 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13348 * sysdeps/x86_64/multiarch/memset.S: New file.
13349 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13351 Set bit_Prefer_SSE_for_memop for Intel processors.
13352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13353 Define.
13354 (index_Prefer_SSE_for_memop): Define.
13355 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13356
344d0b54
LM
133572010-11-04 Luis Machado <luisgpm@br.ibm.com>
13358
13359 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13360 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13361
c0dde15b
UD
133622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 [BZ #12191]
13365 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13366 (__x86_64_raw_data_cache_size_half): Likewise.
13367 (__x86_64_raw_shared_cache_size): Likewise.
13368 (__x86_64_raw_shared_cache_size_half): Likewise.
13369
13370 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13371 (__x86_64_raw_data_cache_size_half): Likewise.
13372 (__x86_64_raw_shared_cache_size): Likewise.
13373 (__x86_64_raw_shared_cache_size_half): Likewise.
13374 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13375 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13376 and __x86_64_raw_shared_cache_size_half. Round
13377 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13378 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13379 to multiple of 256 bytes.
13380
0e516e0e
MS
133812010-11-03 Ulrich Drepper <drepper@gmail.com>
13382
13383 [BZ #12167]
13384 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13385 of inacessible symlinks. Verify result of symlink before returning it.
13386 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13387 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13388
0e012e87
ER
133892010-10-28 Erich Ritz <erichritz@gmail.com>
13390
13391 * math/math.h (isinf): Fix typo in comment.
13392
de0ff7bc
UD
133932010-11-01 Ulrich Drepper <drepper@gmail.com>
13394
13395 * po/da.po: Update from translation team.
13396
fa41c84d
UD
133972010-10-26 Ulrich Drepper <drepper@gmail.com>
13398
13399 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13400 is added to the list.
13401
f0967738
AK
134022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13403 Ulrich Drepper <drepper@gmail.com>
13404
13405 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13406 the global list here. Move code to...
13407 (_dl_add_to_namespace_list): ...here. New function.
13408 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13409 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13410 * elf/dl-load.c (lose): Don't remove the element from the list.
13411 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13412 (_dl_map_object): Likewise.
13413
134142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13415
13416 [BZ #12159]
13417 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13418 into all bytes of SSE register.
13419 Patch by Richard Li <richardpku@gmail.com>.
13420
f0967738 134212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13422
13423 [BZ #12140]
13424 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13425 perturbing.
13426
d0b9e94f
MB
134272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13428
13429 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13430 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13431 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13432 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13434 submachine.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13436
8e9f92e9
AS
134372010-10-22 Andreas Schwab <schwab@redhat.com>
13438
13439 * include/dlfcn.h (__RTLD_SECURE): Define.
13440 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13441 mode & __RTLD_SECURE instead.
13442 (open_path): Rename preloaded parameter to secure.
13443 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13444 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13445 * elf/dl-deps.c (openaux): Likewise.
13446 * elf/rtld.c (struct map_args): Remove is_preloaded.
13447 (map_doit): Don't use it.
13448 (dl_main): Likewise.
13449 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13450 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13451
bc96fbda
AS
134522010-09-09 Andreas Schwab <schwab@redhat.com>
13453
13454 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13455 (sysd-rules-targets): Remove duplicates.
13456 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13457 rtld-%.$o dependency.
13458
22cd1c9b
AS
134592010-10-18 Andreas Schwab <schwab@redhat.com>
13460
13461 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13462 _dl_map_object do it.
13463
18edac48
UD
134642010-10-19 Ulrich Drepper <drepper@gmail.com>
13465
13466 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13467 fast fma builtins, define the macros in the C99 standard.
13468 (FP_FAST_FMAF): Likewise.
13469 (FP_FAST_FMAL): Likewise.
13470 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13471
13472 * bits/mathdef.h: Update copyright year.
13473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13474
d2050124
MM
134752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13476
13477 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13478 builtins, define the macros in the C99 standard.
13479 (FP_FAST_FMAF): Likewise.
13480 (FP_FAST_FMAL): Likewise.
13481 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13482 multiply/add.
13483 (FP_FAST_FMAF): Likewise.
13484
475facd1
JJ
134852010-10-15 Jakub Jelinek <jakub@redhat.com>
13486
13487 [BZ #3268]
13488 * math/libm-test.inc (fma_test): Some new testcases.
13489 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13490 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13491 y and infinite z. Do multiplication by C already in long double.
13492 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13494 y and infinite z. Do bitwise or of inexact bit into u.d.
13495 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13496 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13497 * sysdeps/i386/fpu/s_fma.S: Removed.
13498 * sysdeps/i386/fpu/s_fmal.S: Removed.
13499
7c08a05c
JJ
135002010-10-16 Jakub Jelinek <jakub@redhat.com>
13501
13502 [BZ #3268]
13503 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13505 computation is not scheduled after fetestexcept. Fix value
13506 of minimum denormal long double.
13507
f3f7372d
JJ
135082010-10-14 Jakub Jelinek <jakub@redhat.com>
13509
13510 [BZ #3268]
13511 * math/libm-test.inc (fma_test): Add some more tests.
13512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13513 correctly.
13514
14d43591
AS
135152010-10-15 Andreas Schwab <schwab@redhat.com>
13516
13517 * scripts/data/localplt-s390-linux-gnu.data: New file.
13518 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13519
5e908464
JJ
135202010-10-13 Jakub Jelinek <jakub@redhat.com>
13521
13522 [BZ #3268]
13523 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13524 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13525 instead of dbl-64.
13526 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13527 inlines.
13528 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13530 if one of x and y is very large and the other is subnormal.
13531 * sysdeps/s390/fpu/s_fmaf.c: New file.
13532 * sysdeps/s390/fpu/s_fma.c: New file.
13533 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13534 * sysdeps/powerpc/fpu/s_fma.S: New file.
13535 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13536 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13537 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13538
135392010-10-12 Jakub Jelinek <jakub@redhat.com>
13540
13541 [BZ #3268]
13542 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13543 fma tests.
13544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13545 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13546 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13547 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13548 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13549 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13551
b833d51f
UD
135522010-10-12 Ulrich Drepper <drepper@redhat.com>
13553
13554 [BZ #12078]
13555 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13556 * posix/bug-regex31.input: Add test case.
13557
1751705d
UD
135582010-10-11 Ulrich Drepper <drepper@gmail.com>
13559
e9b9cbf5
UD
13560 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13561 * posix/bug-regex31.input: New file.
13562
13563 [BZ #12078]
13564 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13565 (parse_sub_exp): Fix last change, use postorder.
13566
ef06edbe
UD
13567 * posix/bug-regex31.c: New file.
13568 * posix/Makefile: Add rules to build and run bug-regex31.
13569
a129c80d
UD
13570 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13571
13572 [BZ #12078]
13573 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13574
b76b818e
UD
13575 [BZ #12108]
13576 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13577 to have entries in sys_siglist.
13578
1751705d
UD
13579 [BZ #12093]
13580 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13581 be NULL.
13582
9ff8d36f
JJ
135832010-10-07 Jakub Jelinek <jakub@redhat.com>
13584
13585 [BZ #3268]
13586 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13587 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13588 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13589 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13590 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13591 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13592 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13593 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13594 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13595 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13596 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13597 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13598 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13599 * math/ftestexcept.c (fetestexcept): Likewise.
13600 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13601 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13602 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13603 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13604 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13605 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13606 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13607
af325969
UD
136082010-10-11 Ulrich Drepper <drepper@gmail.com>
13609
c579b202 13610 [BZ #12107]
af325969
UD
13611 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13612 newline.
13613
67a67b95
UD
136142010-10-06 Ulrich Drepper <drepper@gmail.com>
13615
13616 * string/bug-strstr1.c: New file.
13617 * string/Makefile: Add rules to build and run bug-strstr1.
13618
5fb308bc
EB
136192010-10-05 Eric Blake <eblake@redhat.com>
13620
13621 [BZ #12092]
13622 * string/str-two-way.h (two_way_long_needle): Always clear memory
13623 when skipping input due to the shift table.
13624
45db99c7
UD
136252010-10-03 Ulrich Drepper <drepper@gmail.com>
13626
3b111893
UD
13627 [BZ #12005]
13628 * malloc/mcheck.c: Handle large requests.
13629
45db99c7
UD
13630 [BZ #12077]
13631 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13632 for strncmp and strncasecmp.
13633 * string/stratcliff.c: Add tests for strcmp and strncmp.
13634 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13635
cf7a1eb8
NI
136362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13637
13638 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13639 __set_fpscr.
13640
6484ba5e
AJ
136412010-09-30 Andreas Jaeger <aj@suse.de>
13642
13643 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13644 (CGROUP_SUPER_MAGIC): Define.
13645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13646 Handle btrfs and cgroup file systems.
13647 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13648 Likewise.
13649
91c42559
LM
136502010-09-27 Luis Machado <luisgpm@br.ibm.com>
13651
13652 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13653 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13654
87a97932
AK
136552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13656
13657 [BZ #12067]
13658 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13659 trying to locate the ELF header.
13660
c21cc9bc
AS
136612010-09-27 Andreas Schwab <schwab@redhat.com>
13662
13663 [BZ #11611]
13664 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13665 Mask out sign-bit copies when constructing f_fsid.
13666
315970f6
PB
136672010-09-24 Petr Baudis <pasky@suse.cz>
13668
13669 * debug/stack_chk_fail_local.c: Add missing licence exception.
13670 * debug/warning-nop.c: Likewise.
13671
1ac7a2c7
JM
136722010-09-15 Joseph Myers <joseph@codesourcery.com>
13673
13674 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13675 implementing getdents64 using getdents syscall, set d_type if
13676 __ASSUME_GETDENTS32_D_TYPE.
13677
56801c50
AS
136782010-09-16 Andreas Schwab <schwab@redhat.com>
13679
13680 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13681 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13682
dda51327
UD
136832010-09-21 Ulrich Drepper <drepper@redhat.com>
13684
13685 [BZ #12037]
13686 * posix/unistd.h: Undo change of feature selection for ftruncate from
13687 2010-01-11.
13688
8ffcee4a
UD
136892010-09-20 Ulrich Drepper <drepper@redhat.com>
13690
a545ecd9 13691 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13692 detection.
13693
e24f0a8b
AS
136942010-09-20 Andreas Schwab <schwab@redhat.com>
13695
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13697 fanotify_mark.
13698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13699
7291c56f
AS
137002010-09-14 Andreas Schwab <schwab@redhat.com>
13701
13702 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13703 variables after CHECK_SP call.
13704 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13705
bc5fb037
AS
137062010-09-13 Andreas Schwab <schwab@redhat.com>
13707 Ulrich Drepper <drepper@redhat.com>
13708
13709 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13710 re-relocationg ld.so.
13711 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13712 _dl_init_paths call.
13713 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13714 here anymore.
13715
e66e7419
UD
137162010-09-14 Ulrich Drepper <drepper@redhat.com>
13717
13718 * resolv/res_init.c (__res_vinit): Count the default server we added.
13719
c044aa75
CLT
137202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13721 Ulrich Drepper <drepper@redhat.com>
13722
13723 [BZ #11968]
13724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13725 (____longjmp_chk): Use %ebx for saving value across system call.
13726 Add unwind info.
13727
32cf4069
AS
137282010-09-06 Andreas Schwab <schwab@redhat.com>
13729
13730 * manual/Makefile: Don't mix pattern rules with normal rules.
13731
817328ee
AS
137322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13733
13734 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13735 operation.
13736 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13737 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13738 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13739 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13741 Likewise.
13742
29fddf61
UD
137432010-09-04 Ulrich Drepper <drepper@redhat.com>
13744
13745 [BZ #11979]
13746 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13747 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13748
0959ffc9
UD
137492010-09-02 Ulrich Drepper <drepper@redhat.com>
13750
13751 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13752 * sysdeps/x86_64/addmul_1.S: Likewise.
13753 * sysdeps/x86_64/lshift.S: Likewise.
13754 * sysdeps/x86_64/mul_1.S: Likewise.
13755 * sysdeps/x86_64/rshift.S: Likewise.
13756 * sysdeps/x86_64/sub_n.S: Likewise.
13757 * sysdeps/x86_64/submul_1.S: Likewise.
13758
ece29840
ST
137592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13760
0959ffc9
UD
13761 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13762 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13763 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13764 * bits/sched.h [__need_schedparam]
ece29840 13765 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13766 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13767 (__defined_schedparam): Define to 1.
ece29840
ST
13768 (__sched_param): New structure, identical to sched_param.
13769 (__need_schedparam): Undefine.
13770
e53a31fe
MF
137712010-08-31 Mike Frysinger <vapier@gentoo.org>
13772
fdc0c10d
MF
13773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13774 (epoll_create1): Declare.
13775
e53a31fe
MF
13776 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13777
a726d796
AS
137782010-08-31 Andreas Schwab <schwab@redhat.com>
13779
13780 [BZ #7066]
13781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13782 shifting retval into place.
13783
2f3e3dc7
UD
137842010-09-01 Ulrich Drepper <drepper@redhat.com>
13785
f2933da9
UD
13786 * nis/rpcsvc/nis.h: Update copyright notice.
13787 * nis/rpcsvc/nis.x: Likewise.
13788 * nis/rpcsvc/nis_callback.h: Likewise.
13789 * nis/rpcsvc/nis_callback.x: Likewise.
13790 * nis/rpcsvc/nis_object.x: Likewise.
13791 * nis/rpcsvc/nis_tags.h: Likewise.
13792 * nis/rpcsvc/yp.h: Likewise.
13793 * nis/rpcsvc/yp.x: Likewise.
13794 * nis/rpcsvc/ypupd.h: Likewise.
13795 * nis/yp_xdr.c: Likewise.
13796 * nis/ypupdate_xdr.c: Likewise.
13797
2f3e3dc7
UD
13798 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13799 mainly the body of pmap_getport. Add parameters to specify timeouts.
13800 (pmap_getport): Use __libc_rpc_getport.
13801 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13802 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13803 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13804
f3dcc2f9
AS
138052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13806
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13808 fanotify_mark.
13809
6d34eb5b
RM
138102010-08-27 Roland McGrath <roland@redhat.com>
13811
13812 * sysdeps/i386/i686/multiarch/Makefile
13813 (CFLAGS-varshift.c): New variable.
13814
9ea3de11
UD
138152010-08-27 Ulrich Drepper <drepper@redhat.com>
13816
c96d23fc
UD
13817 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13818 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13819
9ea3de11
UD
13820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13821
13822 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13823
623aac7f
L
138242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13825
13826 * sysdeps/x86_64/strlen.S: Unroll the loop.
13827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13828 strlen-sse2 strlen-sse2-bsf.
13829 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13830 __strlen_no_bsf if bit_Slow_BSF is set.
13831 (__strlen_sse42): Removed.
13832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13833 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13834
8b2b7715
RM
138352010-08-25 Roland McGrath <roland@redhat.com>
13836
13837 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13838 * sysdeps/x86_64/multiarch/varshift.c: New file.
13839 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13840 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13841 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13842 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13843
e73015f2
L
138442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13845
13846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13847 strlen-sse2 strlen-sse2-bsf.
13848 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13849 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13850 (__strlen_sse2): Removed.
13851 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13854 bit_Slow_BSF for Atom.
13855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13856 (index_Slow_BSF): Define.
13857 (HAS_SLOW_BSF): Define.
13858
df24a73e
UD
138592010-08-25 Ulrich Drepper <drepper@redhat.com>
13860
13861 [BZ #10851]
13862 * resolv/res_init.c (__res_vinit): When no server address at all
13863 is given default to loopback.
13864
f2ac4868
RM
138652010-08-24 Roland McGrath <roland@redhat.com>
13866
09055553
RM
13867 * configure.in: Remove config-name.h generation.
13868 * configure: Regenerated.
13869 * config-name.in: File removed.
13870 * scripts/config-uname.sh: New file.
13871 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13872 ($(objdir)config-name.h): New target.
13873
f2ac4868
RM
13874 * sunrpc/rpc_parse.h: Avoid nested comment.
13875
73f27d5e
RH
138762010-08-24 Richard Henderson <rth@redhat.com>
13877 Ulrich Drepper <drepper@redhat.com>
13878 H.J. Lu <hongjiu.lu@intel.com>
13879
13880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13882 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13883 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13884 _mm_alignr_epi8 with _mm_loadu_si128.
13885 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13886 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13887 (__m128i_shift_right): Removed.
13888 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13889 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13890 * sysdeps/x86_64/multiarch/varshift.h: New file.
13891 * sysdeps/x86_64/multiarch/varshift.S: New file.
13892
84b9230c
MF
138932010-08-21 Mike Frysinger <vapier@gentoo.org>
13894
13895 * configure.in: Move assembler checks to before sysdep dir checking.
13896
9bbd0ddc
PB
138972010-08-20 Petr Baudis <pasky@suse.cz>
13898
13899 * LICENSES: Sync the sunrpc license.
13900
9da4bb31
UD
139012010-08-19 Ulrich Drepper <drepper@redhat.com>
13902
a7ab6ec8
UD
13903 * sunrpc/auth_des.c: Update copyright notice once again.
13904 * sunrpc/auth_none.c: Likewise.
13905 * sunrpc/auth_unix.c: Likewise.
13906 * sunrpc/authdes_prot.c: Likewise.
13907 * sunrpc/authuxprot.c: Likewise.
13908 * sunrpc/bindrsvprt.c: Likewise.
13909 * sunrpc/clnt_gen.c: Likewise.
13910 * sunrpc/clnt_perr.c: Likewise.
13911 * sunrpc/clnt_raw.c: Likewise.
13912 * sunrpc/clnt_simp.c: Likewise.
13913 * sunrpc/clnt_tcp.c: Likewise.
13914 * sunrpc/clnt_udp.c: Likewise.
13915 * sunrpc/clnt_unix.c: Likewise.
13916 * sunrpc/des_crypt.c: Likewise.
13917 * sunrpc/des_soft.c: Likewise.
13918 * sunrpc/get_myaddr.c: Likewise.
13919 * sunrpc/getrpcport.c: Likewise.
13920 * sunrpc/key_call.c: Likewise.
13921 * sunrpc/key_prot.c: Likewise.
13922 * sunrpc/openchild.c: Likewise.
13923 * sunrpc/pm_getmaps.c: Likewise.
13924 * sunrpc/pm_getport.c: Likewise.
13925 * sunrpc/pmap_clnt.c: Likewise.
13926 * sunrpc/pmap_prot.c: Likewise.
13927 * sunrpc/pmap_prot2.c: Likewise.
13928 * sunrpc/pmap_rmt.c: Likewise.
13929 * sunrpc/rpc/auth.h: Likewise.
13930 * sunrpc/rpc/auth_unix.h: Likewise.
13931 * sunrpc/rpc/clnt.h: Likewise.
13932 * sunrpc/rpc/des_crypt.h: Likewise.
13933 * sunrpc/rpc/key_prot.h: Likewise.
13934 * sunrpc/rpc/netdb.h: Likewise.
13935 * sunrpc/rpc/pmap_clnt.h: Likewise.
13936 * sunrpc/rpc/pmap_prot.h: Likewise.
13937 * sunrpc/rpc/pmap_rmt.h: Likewise.
13938 * sunrpc/rpc/rpc.h: Likewise.
13939 * sunrpc/rpc/rpc_des.h: Likewise.
13940 * sunrpc/rpc/rpc_msg.h: Likewise.
13941 * sunrpc/rpc/svc.h: Likewise.
13942 * sunrpc/rpc/svc_auth.h: Likewise.
13943 * sunrpc/rpc/types.h: Likewise.
13944 * sunrpc/rpc/xdr.h: Likewise.
13945 * sunrpc/rpc_clntout.c: Likewise.
13946 * sunrpc/rpc_cmsg.c: Likewise.
13947 * sunrpc/rpc_common.c: Likewise.
13948 * sunrpc/rpc_cout.c: Likewise.
13949 * sunrpc/rpc_dtable.c: Likewise.
13950 * sunrpc/rpc_hout.c: Likewise.
13951 * sunrpc/rpc_main.c: Likewise.
13952 * sunrpc/rpc_parse.c: Likewise.
13953 * sunrpc/rpc_parse.h: Likewise.
13954 * sunrpc/rpc_prot.c: Likewise.
13955 * sunrpc/rpc_sample.c: Likewise.
13956 * sunrpc/rpc_scan.c: Likewise.
13957 * sunrpc/rpc_scan.h: Likewise.
13958 * sunrpc/rpc_svcout.c: Likewise.
13959 * sunrpc/rpc_tblout.c: Likewise.
13960 * sunrpc/rpc_util.c: Likewise.
13961 * sunrpc/rpc_util.h: Likewise.
13962 * sunrpc/rpcinfo.c: Likewise.
13963 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13964 * sunrpc/rpcsvc/key_prot.x: Likewise.
13965 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13966 * sunrpc/rpcsvc/mount.x: Likewise.
13967 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13968 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13969 * sunrpc/rpcsvc/rex.x: Likewise.
13970 * sunrpc/rpcsvc/rstat.x: Likewise.
13971 * sunrpc/rpcsvc/rusers.x: Likewise.
13972 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13973 * sunrpc/rpcsvc/spray.x: Likewise.
13974 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13975 * sunrpc/rtime.c: Likewise.
13976 * sunrpc/svc.c: Likewise.
13977 * sunrpc/svc_auth.c: Likewise.
13978 * sunrpc/svc_authux.c: Likewise.
13979 * sunrpc/svc_raw.c: Likewise.
13980 * sunrpc/svc_run.c: Likewise.
13981 * sunrpc/svc_simple.c: Likewise.
13982 * sunrpc/svc_tcp.c: Likewise.
13983 * sunrpc/svc_udp.c: Likewise.
13984 * sunrpc/svc_unix.c: Likewise.
13985 * sunrpc/svcauth_des.c: Likewise.
13986 * sunrpc/xcrypt.c: Likewise.
13987 * sunrpc/xdr.c: Likewise.
13988 * sunrpc/xdr_array.c: Likewise.
13989 * sunrpc/xdr_float.c: Likewise.
13990 * sunrpc/xdr_mem.c: Likewise.
13991 * sunrpc/xdr_rec.c: Likewise.
13992 * sunrpc/xdr_ref.c: Likewise.
13993 * sunrpc/xdr_sizeof.c: Likewise.
13994 * sunrpc/xdr_stdio.c: Likewise.
13995
9da4bb31
UD
13996 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13997 handling.
13998
bdaa77bc
AS
139992010-08-19 Andreas Schwab <schwab@redhat.com>
14000
14001 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14002
fe2f79db
LM
140032010-08-19 Luis Machado <luisgpm@br.ibm.com>
14004
14005 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14007 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14008 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14010 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14011 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14012 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14014 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14015 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14016 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14017 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14018 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14019
b9b42ee0
AB
140202010-07-26 Anton Blanchard <anton@samba.org>
14021
14022 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14023 * malloc/arena.c (heap_trim): Likewise.
14024
1c06ba31
UD
140252010-08-16 Ulrich Drepper <drepper@redhat.com>
14026
14027 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14028 here. Not...
14029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14030 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14031
f8392f40
L
140322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14033
14034 * sysdeps/i386/elf/Makefile: New file.
14035
3162f12e
AS
140362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14037
14038 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14039 from fanotify_init.
14040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14042
28c90b2c
UD
140432010-08-15 Ulrich Drepper <drepper@redhat.com>
14044
14045 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14046 of strncasecmp_l.
1feccb6c 14047 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14048
ca6bb004
UD
140492010-08-14 Ulrich Drepper <drepper@redhat.com>
14050
e9f82e0d
UD
14051 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14052 strncase_l-nonascii.
14053 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14054 Add strncase_l-ssse3.
14055 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14056 * sysdeps/x86_64/strcmp.S: Likewise.
14057 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14058 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14059 * sysdeps/x86_64/strncase.S: New file.
14060 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14061 * sysdeps/x86_64/strncase_l.S: New file.
14062 * string/Makefile (strop-tests): Add strncasecmp.
14063 * string/test-strncasecmp.c: New file.
14064
14065 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14066 warning.
14067
ca6bb004
UD
14068 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14069 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14070
052fa7b3
AS
140712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14072
14073 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14074
962dba78
UD
140752010-08-12 Ulrich Drepper <drepper@redhat.com>
14076
14077 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14079 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14080
bebff237
AM
140812010-05-01 Alan Modra <amodra@gmail.com>
14082
14083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14084 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14085 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14086 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14087 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14088 tidying. Don't tail-call __sigjmp_save for static lib.
14089 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14090 save location.
14091 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14092 (CALL_MCOUNT): Add eh info, and nop after bl.
14093 (TAIL_CALL_SYSCALL_ERROR): New macro.
14094 (PSEUDO_RET): Use it.
14095 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14096 Correct save location of integer regs and cr.
14097 (_dl_profile_resolve): Correct cr save location. Delete nops
14098 after bl when SHARED. Reduce cfi size a little by better
14099 placement of cfi directives.
14100 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14101 make a stack frame. Instead use parm save area as a temp.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14103 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14105 Don't make a stack frame for parent, use parm save area.
14106 Increase child stack frame to 112 bytes. Don't save unused reg,
14107 and adjust reg usage. Set up cfi on error recovery and
14108 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14110 (__makecontext): Add dummy nop after jump to exit.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14112 Use correct parm save area and cr save, reduce stack frame.
14113 Correct cfi for possible PSEUDO_RET frame setup.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14115 Branch to local label emitted by PSEUDO_RET rather than
14116 __syscall_error.
14117
02637374
AS
141182010-08-12 Andreas Schwab <schwab@redhat.com>
14119
14120 [BZ #11904]
14121 * locale/programs/locale.c (print_assignment): New function.
14122 (show_locale_vars): Use it.
14123
c3e2f19b
UD
141242010-08-11 Ulrich Drepper <drepper@redhat.com>
14125
3cdaa6ad
UD
14126 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14127 field.
14128 (struct statfs64): Likewise.
14129 (_STATFS_F_FLAGS): Define.
14130 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14131 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14132 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14133 (ST_VALID): Define locally.
14134 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14135 __statvfs_getflags, use the provided value.
14136 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14137 __ASSUME_STATFS_F_FLAGS.
14138
754f7da3
UD
14139 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14140
10b3bedc
UD
14141 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14142 Add sys/fanotify.h.
14143 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14144 fanotify_mask for GLIBC_2.13.
14145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14146 fanotify_init and fanotify_mark.
14147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14148 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14149
c08fb0d7
UD
14150 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14151 Add prlimit.
14152 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14153 prlimit64 for GLIBC_2.13.
14154 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14155 prlimit64.
14156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14157 syscall.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14160 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14163 add prlimit alias.
14164 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14165
15bac72b
UD
14166 [BZ #11903]
14167 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14168 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14169
c3e2f19b
UD
14170 * nss/Makefile: Add rules to build and run tst-nss-test1.
14171 * shlib-versions: Add entry for libnss_test1.
14172 * nss/nss_test1.c: New file.
14173 * nss/tst-nss-test1.c: New file.
14174
14175 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14176 (__nss_configure_lookup): Set appropriate entry in
14177 __nss_configure_lookup to true.
14178 * nss/nsswitch.h: Define enum with indeces of databases in
14179 databases and __nss_database_custom arrays. Declare
14180 __nss_database_custom.
14181 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14182 to avoid using nscd when custom rules are installed.
14183 * nss/getXXbyYY_r.c: Likewise.
14184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14185
14186 * nss/nss_files/files-parse.c: Whitespace fixes.
14187
f15ce4d8
UD
141882010-08-09 Ulrich Drepper <drepper@redhat.com>
14189
14190 [BZ #11883]
14191 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14192 * posix/fnmatch_loop.c: Likewise.
14193
d22e4cc9
AK
141942010-07-17 Andi Kleen <ak@linux.intel.com>
14195
14196 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14197 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14198 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14199 * Versions.def [GLIBC_2.13]: Add.
14200
805bc17d
UD
142012010-08-06 Ulrich Drepper <drepper@redhat.com>
14202
14203 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14204 Also fail if tpwd after pwuid call is NULL.
14205
5a42321d
ST
142062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14207
14208 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14209 when converting to ms.
14210
fd3ebeda
ST
142112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14212
14213 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14214 EOPNOTSUPP errors with ENOTTY.
14215 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14216 EOPNOTSUPP errors with ENOTTY.
14217
73507d3a
UD
142182010-07-31 Ulrich Drepper <drepper@redhat.com>
14219
14220 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14221 Add strcasecmp_l-ssse3.
14222 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14223 strcasecmp.
14224 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14225 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14226 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14227
fe36dd02
UD
142282010-07-30 Ulrich Drepper <drepper@redhat.com>
14229
66f6765a
UD
14230 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14231
42e08a54
UD
14232 * string/Makefile (strop-tests): Add strcasecmp.
14233 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14234 strcasecmp_l-nonascii.
14235 (gen-as-const-headers): Add locale-defines.sym.
14236 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14237 * sysdeps/x86_64/strcasecmp.S: New file.
14238 * sysdeps/x86_64/strcasecmp_l.S: New file.
14239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14240 * sysdeps/x86_64/locale-defines.sym: New file.
14241 * string/test-strcasecmp.c: New file.
14242
fe36dd02
UD
14243 * string/test-strcasestr.c: Test both ends of the range of characters.
14244 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14245
48cbc0d6
RM
142462010-07-29 Roland McGrath <roland@redhat.com>
14247
76e6d6bc 14248 [BZ #11856]
48cbc0d6
RM
14249 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14250
880113d9
UD
142512010-07-27 Ulrich Drepper <drepper@redhat.com>
14252
14253 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14254 for ld.so.
14255
deb9cabb
AS
142562010-07-27 Andreas Schwab <schwab@redhat.com>
14257
14258 * manual/memory.texi (Malloc Tunable Parameters): Document
14259 M_PERTURB.
14260
1c7570ff
RM
142612010-07-26 Roland McGrath <roland@redhat.com>
14262
14263 [BZ #11840]
14264 * configure.in (-fgnu89-inline check): Set and substitute
14265 gnu89_inline, not libc_cv_gnu89_inline.
14266 * configure: Regenerated.
14267 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14268
24fb0f88
UD
142692010-07-26 Ulrich Drepper <drepper@redhat.com>
14270
14271 * string/test-strnlen.c: New file.
14272 * string/Makefile (strop-tests): Add strnlen.
14273 * string/tester.c (test_strnlen): Add a few more test cases.
14274 * string/tst-strlen.c: Better error reporting.
14275
14276 * sysdeps/x86_64/strnlen.S: New file.
14277
8e96b93a
UD
142782010-07-24 Ulrich Drepper <drepper@redhat.com>
14279
14280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14281 lower-latency instructions.
14282
dbc676d4
UD
142832010-07-23 Ulrich Drepper <drepper@redhat.com>
14284
14285 * string/test-strcasestr.c: New file.
14286 * string/test-strstr.c: New file.
14287 * string/Makefile (strop-tests): Add strstr and strcasestr.
14288 * string/str-two-way.h: Don't undefine MAX.
14289 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14290
f6a31e0e
AS
142912010-07-21 Andreas Schwab <schwab@redhat.com>
14292
14293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14294 strcasestr-nonascii.
14295 (CFLAGS-strcasestr-nonascii.c): Define.
14296 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14297 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14298 Remove unused attribute.
14299
5dbc3b6c
RM
143002010-07-20 Roland McGrath <roland@redhat.com>
14301
14302 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14303 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14304 ld.so.cache was broken. With it, there is no way to disable dsocaps
14305 like LD_HWCAP_MASK can disable hwcaps.
14306
23d101d8
EPM
143072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14308
14309 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14310
cc9f2e47
UD
143112010-07-16 Ulrich Drepper <drepper@redhat.com>
14312
14313 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14314 call in strcasestr.
14315 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14316 __strcasestr_sse42_nonascii.
14317 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14318 strcasestr-nonascii.c.
14319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14320
77c1b069
LM
143212010-06-15 Luis Machado <luisgpm@br.ibm.com>
14322
14323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14327
440566c3
UD
143282010-07-09 Ulrich Drepper <drepper@redhat.com>
14329
14330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14331 fcntl.
14332
5be9d05d
AS
143332010-07-06 Andreas Schwab <schwab@redhat.com>
14334
c30b7ee2 14335 [BZ #11577]
5be9d05d
AS
14336 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14337 dl_signal_cerror.
14338
8a492a67
UD
143392010-07-06 Ulrich Drepper <drepper@redhat.com>
14340
14341 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14342 _PC_PIPE_BUF using F_GETPIPE_SZ.
14343
713df3d5
RM
143442010-07-05 Roland McGrath <roland@redhat.com>
14345
14346 * manual/arith.texi (Rounding Functions): Fix rint description
14347 implicit in round description.
14348
702e8f14
UD
143492010-07-02 Ulrich Drepper <drepper@redhat.com>
14350
14351 * elf/Makefile: Fix linking for a few tests to make recent linker
14352 happy.
14353
52ed8be9
AS
143542010-06-30 Andreas Schwab <schwab@redhat.com>
14355
14356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14357 $(common-objpfx)libc_nonshared.a.
14358
f47c9a11
LM
143592010-06-21 Luis Machado <luisgpm@br.ibm.com>
14360
14361 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14362 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14363 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14364 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14365 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14366 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14367 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14368 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14383 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14384 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14385 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14386 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14387 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14388 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14389 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14390 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14391 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14392 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14393 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14394 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14409
6fb8cbcb
L
144102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14411
14412 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14413 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14414 * string/memmove.c (memmove): Renamed to ...
14415 (MEMMOVE): ...this. Default to memmove.
14416 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14417 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14418 (END_CHK): Define.
14419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14420 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14421 mempcpy-ssse3-back memmove-ssse3-back.
14422 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14425 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14426 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14427 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14428 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14429 * sysdeps/x86_64/multiarch/memmove.c: New file.
14430 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14431 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14432 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14433 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14434 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14436 Define.
14437 (index_Fast_Copy_Backward): Define.
14438 (HAS_ARCH_FEATURE): Define.
14439 (HAS_FAST_REP_STRING): Define.
14440 (HAS_FAST_COPY_BACKWARD): Define.
14441
4e733bac 144422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14443
14444 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14445 Restore proper fallback handling.
14446
63c4ed22
UD
144472010-06-19 Ulrich Drepper <drepper@redhat.com>
14448
ac2b484c
UD
14449 [BZ #11701]
14450 * posix/group_member.c (__group_member): Correct checking loop.
14451
63c4ed22
UD
14452 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14453 OOM in getpwuid_r correctly. Return error number when the caller
14454 should return, otherwise -1.
14455 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14456 call returning > 0 value.
14457 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14458
765ade4b
AS
144592010-06-07 Andreas Schwab <schwab@redhat.com>
14460
14461 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14462 libc_nonshared.a from targets in modules-names.
14463
80da2e09
KS
144642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14465
14466 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14467 requires it.
14468
158db122
LM
144692010-06-10 Luis Machado <luisgpm@br.ibm.com>
14470
14471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14475
caa78cf8
AS
144762010-06-02 Andreas Schwab <schwab@redhat.com>
14477
14478 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14479
b2ef2c01
UD
144802010-06-14 Ulrich Drepper <drepper@redhat.com>
14481
14482 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14483 and F_GETPIPE_SZ.
14484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14490
fbd643b6
RM
144912010-06-14 Roland McGrath <roland@redhat.com>
14492
14493 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14494
f32f2869
JJ
144952010-06-07 Jakub Jelinek <jakub@redhat.com>
14496
14497 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14498 __REDIRECT followed by __THROW.
14499 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14500 * posix/getopt.h (getopt): Likewise.
14501
2a50c078
EPM
145022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14503
14504 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14505 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14506 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14507 in AT_FLAGS.
14508 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14509 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14510
eb5ad2eb
LM
145112010-05-28 Luis Machado <luisgpm@br.ibm.com>
14512
14513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14514
3c88fe1e
L
145152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 [BZ #11640]
14518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14519 Properly check family and model.
14520
d2f73151
TY
145212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14522
14523 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14524
ebd2e13d
LM
145252010-05-24 Luis Machado <luisgpm@br.ibm.com>
14526
14527 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14528
b32b8b45
UD
145292010-05-21 Ulrich Drepper <drepper@redhat.com>
14530
14531 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14532 symbol reference.
14533
9acbe24d
AS
145342010-05-19 Andreas Schwab <schwab@redhat.com>
14535
14536 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14537 symbol reference.
14538
f0ccf6ea
AS
145392010-05-21 Andreas Schwab <schwab@redhat.com>
14540
3d04ff3a
AS
14541 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14542 and internal_recvmmsg.
14543 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14544 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14545 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14546 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14547
f0ccf6ea
AS
14548 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14551
5b08ac57
AS
145522010-05-20 Andreas Schwab <schwab@redhat.com>
14553
14554 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14555
4828935d
LM
145562010-05-17 Luis Machado <luisgpm@br.ibm.com>
14557
14558 POWER7 optimizations.
14559 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14560 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14561
373d545e
UD
145622010-05-19 Ulrich Drepper <drepper@redhat.com>
14563
14564 * version.h: Update for 2.13 development version.
14565
21a2b1ae
AS
145662010-05-12 Andrew Stubbs <ams@codesourcery.com>
14567
14568 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14569 exceptions. Return 0.
14570
3f7dcb2b
RM
145712010-05-07 Roland McGrath <roland@redhat.com>
14572
14573 * elf/ldconfig.c (main): Add a const.
14574
5f24d53a 145752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14576
a160f8d8
UD
14577 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14578 (args_options): Add no-idn option.
14579 (ahosts_keys_int): Add idn_flags to ai_flags.
14580 (parse_option): Handle 'i' option to clear idn_flags.
14581
5f24d53a
UD
14582 * malloc/malloc.c (_int_free): Possible race in the most recently
14583 added check. Only act on the data if no current modification
14584 happened.
265bb1ce
UD
14585
14586See ChangeLog.17 for earlier changes.