]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Check _ITOA_NEEDED and use _ITOA_WORD_TYPE
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3707636e
L
12012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2
94b07d20
L
3 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4 LLONG_MAX != LONG_MAX.
5 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6 (_fitoa_word): Likewise.
7
18298070
L
8 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9 years.
10 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13
553c7ea4
L
14 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15 include <bits/wordsize.h>. Check __x86_64__ instead of
16 __WORDSIZE.
17 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18 if __x86_64__ is defined. Use anonymous union on fpstate.
19
3707636e
L
20 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21 anonymous union.
22
b53ef01a
AS
232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24
37fb1dc0
AS
25 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28 Refer to _rtld_local_ro instead of _rtld_global_ro.
29 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30 Likewise.
31 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32 Likewise.
33 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34 Likewise.
35 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38
b53ef01a
AS
39 * sysdeps/powerpc/powerpc32/dl-machine.c
40 (__elf_machine_runtime_setup) [PROF]: Don't reference
41 _dl_prof_resolve.
42
7a185db2
AJ
432012-05-18 Andreas Jaeger <aj@suse.de>
44
45 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46 function only available for GCCs before 3.4 since GCC 3.4
47 introduced a builtin.
48 (lrint): Likewise.
49 (llrintf): Likewise.
50 (llrint): Likewise.
51 (fmaxf): Likewise.
52 (fmax): Likewise.
53 (fminf): Likewise.
54 (fmin): Likewise.
55 (rint): Likewise.
56 (rintf): Likewise.
57 (nearbyint): Likewise.
58 (nearbyintf): Likewise.
59 (ceil): Likewise.
60 (ceilf): Likewise.
61 (floor): Likewise.
62 (floorf): Likewise.
63
3e5aef87
L
642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
65
428bd707
L
66 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67 on both fields and cast pointer to __syscall_ulong_t.
68
3e5aef87
L
69 * bits/types.h (__fsword_t): New type.
70 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73 (__FSWORD_T_TYPE): Likewise.
74 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75 (__FSWORD_T_TYPE): Likewise.
76 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77 (__FSWORD_T_TYPE): Likewise.
78 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79 (__FSWORD_T_TYPE): Likewise.
80 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81 __SWORD_TYPE with __fsword_t.
82 (statfs64): Likewise.
83
1ba7c3dc
DM
842012-05-17 David S. Miller <davem@davemloft.net>
85
86 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
87
59910343
AJ
882012-05-17 Andreas Jaeger <aj@suse.de>
89
90 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
91 warning.
92
2e4c1e9e
L
932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
94
95 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
96
de7f5ce7
AJ
972012-05-17 Andreas Jaeger <aj@suse.de>
98
99 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
100 when it is used.
101
286abc3d
CM
1022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
103
104 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
105
477cc68e
L
1062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
107
108 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
109 * sysdeps/x86_64/tst-mallocalign1.c: New file.
110
1a0994f5
CD
1112012-05-17 Andreas Jaeger <aj@suse.de>
112 Carlos O'Donell <carlos_odonell@mentor.com>
113
114 [BZ #14059]
115 * sysdeps/x86_64/multiarch/init-arch.h
116 (bit_YMM_Usable): Rename to...
117 (bit_AVX_Usable): ... this.
118 (bit_FMA4_Usable): New macro.
119 (bit_XMM_state): New macro.
120 (bit_YMM_state): New macro.
121 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
122 [__ASSEMBLER__] (index_AVX_Usable): ... this.
123 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
124 (CPUID_OSXSAVE): New macro.
125 (CPUID_AVX): New macro.
126 (CPUID_FMA4): New macro.
127 (index_YMM_Usable): Rename to...
128 (index_AVX_Usable): ... this.
129 (HAS_AVX): Use HAS_ARCH_FEATURE.
130 (HAS_FMA4): Likewise.
131 (HAS_YMM_USABLE): Remove.
132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
133 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
134 are present.
135 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
136 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
137 * sysdeps/x86_64/multiarch/Makefile: Likewise.
138 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
139 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
140
0af797de
CM
1412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
142
143 * math/libm-test.c: Support platforms without multiple rounding modes.
144 * math/bug-nextafter.c: Support platforms without FP exceptions.
145 * math/bug-nexttoward.c: Likewise.
146 * math/test-fenv.c: Likewise.
147 * math/test-misc.c: Likewise.
148 * stdlib/bug-getcontext.c: Likewise.
149
e39745ff
AJ
1502012-05-17 Andreas Jaeger <aj@suse.de>
151
152 * manual/examples/search.c (critter_cmp): Change signature to
153 avoid warnings.
154 * manual/string.texi (Collation Functions): Likewise.
155
48970aba
L
1562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
157
158 * bits/types.h: Fold copyright years.
159 * bits/typesizes.h: Likewise.
160 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
164 * time/time.h: Likewise.
165
bedee953
PP
1662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
167
168 [BZ #208]
169 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
170 in instead of returning them. Return void.
171 (__libc_mallinfo): Accumulate over all arenas.
172 (__malloc_stats): Adjust for change in int_mallinfo interface.
173
61653dfb
RM
1742012-05-16 Roland McGrath <roland@hack.frob.com>
175
30b99d79
RM
176 [BZ #10375]
177 * configure.in (NM): Add AC_CHECK_TOOL for it.
178 (libc_extra_cflags): New substituted variable.
179 Check for -fstack-protector being used implicitly.
180 * configure: Regenerated.
181 * config.make.in (config-extra-cflags): New variable,
182 gets @libc_extra_cflags@.
183 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
184
61653dfb
RM
185 [BZ #10375]
186 * configure.in: Check for _FORTIFY_SOURCE being predefined.
187 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
188 * configure: Regenerated.
189 * config.make.in (CPPUNDEFS): New substituted variable.
190 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
191 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
192 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
193
661768bb
L
1942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
197 (mq_attr): Use __syscall_slong_t.
198
d4261567
L
1992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
200
201 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
202 Check __x86_64__ instead of __WORDSIZE.
203 (_STAT_VER_LINUX): Likewise.
204 (stat): Check __x86_64__ instead of __WORDSIZE. Use
205 __syscall_ulong_t and __syscall_slong_t.
206 (stat64): Likewise.
207
cf3ff365
L
2082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
209
210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
211
76cf3e4d
L
2122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
213
214 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
215
a637753a
L
2162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
217
218 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
219 __syscall_ulong_t.
220
d5e05119
L
221 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
222 include <bits/wordsize.h>. Check __x86_64__ instead of
223 __WORDSIZE.
224 (greg_t): Use "__extension__ long long int" if __x86_64__ is
225 defined.
226 (mcontext_t): Replace "unsigned long" with "unsigned long long".
227
f62ee380
L
228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
229 include <bits/wordsize.h>. Check __x86_64__ instead of
230 __WORDSIZE.
231 (user_regs_struct): Use "__extension__ unsigned long long"
232 instead of "unsigned long" if __x86_64__ is defined.
233 (user): Likewise. Pad after pointer field if __ILP32__ is
234 defined.
235
4e124ced
JM
2362012-05-16 Joseph Myers <joseph@codesourcery.com>
237
6a3951a0
JM
238 * configure.in (makeinfo): Require version 4.5 or later. Allow
239 versions 5 to 9.
240 * configure: Regenerated.
241 * manual/install.texi (texinfo): Increase version requirement to
242 4.5 or later.
243 * INSTALL: Regenerated.
244
4e124ced
JM
245 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
246
953ca31a
L
2472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
248
249 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
250
617aca05
L
251 * sysdeps/x86_64/x32/ffs.c: New file.
252
5762f7ae
L
253 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
254 __syscall_ulong_t.
255 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
256 defined. Use __syscall_ulong_t.
257 (shminfo): Use __syscall_ulong_t.
258 (shm_info): Likewise.
259
a26b6856
L
260 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
261 __syscall_ulong_t.
262
cb2b9ef7
L
263 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
264 <bits/wordsize.h>.
265 (msgqnum_t): Use __syscall_ulong_t.
266 (msglen_t): Likewise.
267 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
268 __syscall_ulong_t.
269
34683bb0
L
270 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
271 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
272
84a68786
L
273 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
274
48baa5f1
L
275 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
276 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
277
180be88b
L
278 * sysvipc/sys/msg.h (msgbuf): Replace long int with
279 __syscall_slong_t.
280
5e90c8ad
L
281 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
282 include <bits/wordsize.h>. Check __x86_64__ instead of
283 __WORDSIZE.
284
23dfb58b
L
285 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
286 "unsigned long long int" if __x86_64__ is defined.
287 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
288
ce5d54b0
L
289 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
290 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
291 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
292
13dc9eac
L
293 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
294 <stdint.h>.
295 (GET_PC): Cast to uintptr_t first.
296 (GET_FRAME): Likewise.
297 (GET_STACK): Likewise.
298
a7895d15
L
299 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
300 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
304 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
305 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
306 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
307 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
308 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
309 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
310 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
314 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
316 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
317 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
318 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
320 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
323 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
324 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
328
656416c9
AS
3292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
330
5bd66283
AS
331 * Makerules (+depfiles): Also collect depfiles from .oS in
332 $(extra-objs).
333 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
334 .oS, $(libnldbl-routines)).
335
656416c9
AS
336 * Makerules (native-compile-mkdep-flags): Define.
337 * sunrpc/Makefile (extra-objs): Add $(addprefix
338 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
339 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
340 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
341 calling $(make-target-directory).
342
a46f2169
L
3432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
344
345 * bits/types.h (__snseconds_t): Removed.
346 * time/time.h (struct timespec): Replace __snseconds_t with
347 __syscall_slong_t.
348 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
349 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
350 Likewise.
351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
352 (__SNSECONDS_T_TYPE): Likewise.
353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
354 (__SNSECONDS_T_TYPE): Likewise.
355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
356 (__SNSECONDS_T_TYPE): Likewise.
357
6af6528b
L
3582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
359
360 * sysdeps/mach/hurd/bits/typesizes.h
361 (__SYSCALL_SLONG_TYPE): New macro.
362 (__SYSCALL_ULONG_TYPE): Likewise.
363
de986b56
L
3642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
365
366 * bits/types.h (__syscall_slong_t): New type.
367 (__syscall_ulong_t): Likewise.
368
369 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
370 (__SYSCALL_ULONG_TYPE): Likewise.
371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
372 (__SYSCALL_SLONG_TYPE): Likewise.
373 (__SYSCALL_ULONG_TYPE): Likewise.
374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
375 (__SYSCALL_SLONG_TYPE): Likewise.
376 (__SYSCALL_ULONG_TYPE): Likewise.
377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
378 (__SYSCALL_SLONG_TYPE): Likewise.
379 (__SYSCALL_ULONG_TYPE): Likewise.
380
85736dc7
L
3812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
382
383 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
384 Add sigaltstack-offsets.sym.
385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
386 <sigaltstack-offsets.h>.
387 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
388 longjmp_msg pointer.
389 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
390 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
391 signal stack.
392 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
393
cc03b296
JM
3942012-05-15 Joseph Myers <joseph@codesourcery.com>
395
a9538892
JM
396 * elf/stackguard-macros.h: Remove file.
397 * sysdeps/generic/stackguard-macros.h: New file.
398 * sysdeps/i386/stackguard-macros.h: Likewise.
399 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
400 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
401 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
402 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
403 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
404 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
405 * sysdeps/x86_64/stackguard-macros.h: Likewise.
406 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
407 <elf/stackguard-macros.h>.
408
cc03b296
JM
409 [BZ #14109]
410 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
411 __aligned__ in attribute.
412 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
413 (gregset_t): Likewise.
414
93171016
L
4152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
416
417 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
418 * sysdeps/x86_64/64/Implies-after: Here. New file.
419 * sysdeps/x86_64/x32/Implies-after: New file.
420
d86813a0
L
4212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
424 and access return value for _dl_profile_fixup. Use R10_LP to
425 load frame size.
426
2953ec75
L
4272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
430
3b550e9e
L
4312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
432
433 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
434 * sysdeps/x86_64/x32/sysdep.h: New file.
435
eda41706
L
4362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
437
438 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
439 * sysdeps/x86_64/setjmp.S: Likewise.
440
9ea01d93
AZ
4412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442
443 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
444 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
445 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
446 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
447 remove unused global constant.
448
02a91938
CM
4492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
450
451 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
452 include of <not-cancel.h>.
453
6540185f
RM
4542012-05-15 Roland McGrath <roland@hack.frob.com>
455
456 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
457
509072a0
AJ
4582012-05-15 Jeff Law <law@redhat.com>
459 Andreas Jaeger <aj@suse.de>
460
461 [BZ #13594]
462 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
463 out from...
464 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
465 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
466 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
467 code changing __hst_map_handle.map.
468
ba75122d
RM
4692012-05-15 Roland McGrath <roland@hack.frob.com>
470
471 * configure.in (sysnames): Look for Implies-before and Implies-after
472 files.
473 * configure: Regenerated.
474
890d8bd8
L
4752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
476
477 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
478 8-byte data alignment with LP_SIZE alignment.
479
f6ee6623
L
4802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
481
482 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
483 into R10_LP.
484
ea2626f6
L
4852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
486
487 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
488
085f715e
L
4892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
490
491 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
492 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
493 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
494 Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
496
be8498fc
L
4972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
498
499 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
500 (stackinfo_sub_sp): Likewise.
501
70bc83b9
L
5022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
503
504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
505 RAX_LP.
506
9bc0b730
L
5072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
508
509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
510 into R*_LP.
511
6d2850e7
L
5122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
515 sizes into R*_LP.
516
3cb84561
L
5172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
518
519 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
520
54e2ed81
L
5212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
522
523 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
524 into R11_LP and load __x86_64_shared_cache_size_half into
525 R8_LP.
526
8a17f349
L
5272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
528
529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
530 R8_LP.
531
777b1eea
AZ
5322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
535 logb for POWER7.
536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
537 logbf for POWER7.
538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
539 logbl for POWER7.
540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
541 powerpc32/power7/fpu/s_logb.c via #include.
542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
543 powerpc32/power7/fpu/s_logbf.c via #include.
544 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
545 powerpc32/power7/fpu/s_logbl.c via #include.
546
d20d4ac2
JM
5472012-05-15 Joseph Myers <joseph@codesourcery.com>
548
549 * README.libm: Remove file.
550
6cdef1ab
L
5512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
552
553 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
554 count for x32. Use R*_LP and omit operand-size suffix.
555
0b254d8f
L
5562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
557
558 * shlib-versions: Move x86_64-.*-linux.* entries to ...
559 * sysdeps/x86_64/64/shlib-versions: Here. New file.
560 * sysdeps/x86_64/x32/shlib-versions: New file.
561
ceb809dc
RM
5622012-05-14 Roland McGrath <roland@hack.frob.com>
563
564 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
565 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
566 Use _dl_fatal_printf instead.
567
37f1abd4
JM
5682012-05-14 Joseph Myers <joseph@codesourcery.com>
569
570 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
571 set if not set by the user. Do not allow for being unset.
572 * sysdeps/unix/sysv/linux/configure: Regenerated.
573
11de3a33
L
5742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
575
576 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
577 the `q' suffix from lea and replace .quad with ASM_ADDR.
578
e02f153a
L
5792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
580
581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
582 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
583 instead of $17.
584 (PTR_DEMANGLE): Likewise.
585
520ae0fd
L
5862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
587
588 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
589 (LP_OP): Likewise.
590 (ASM_ADDR): Likewise.
591 (RAX_LP): Likewise.
592 (RBP_LP): Likewise.
593 (RBX_LP): Likewise.
594 (RCX_LP): Likewise.
595 (RDI_LP): Likewise.
596 (RSI_LP): Likewise.
597 (RSP_LP): Likewise.
598 (R8_LP): Likewise.
599 (R9_LP): Likewise.
600 (R10_LP): Likewise.
601 (R10_LP): Likewise.
602 (R11_LP): Likewise.
603 (R12_LP): Likewise.
604 (R13_LP): Likewise.
605 (R14_LP): Likewise.
606 (R15_LP): Likewise.
607
b985be81
L
6082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
609
610 * sysdeps/x86_64/x32/dl-machine.h: New file.
611
6a4888ff
AJ
6122012-05-14 Andreas Jaeger <aj@suse.de>
613
614 * manual/Makefile (subdir): Remove export of subdir.
615 (all): Remove target.
616 (.PHONY): Remove all from list.
617 (mkinstalldirs): Remove.
618 (.PHONY): Remove installdirs from list.
619 ($(inst_infodir)/libc.info): Use make-target-directory.
620 (installdirs): Remove.
621 (subdir_%): Remove.
622 (glibc-targets): Remove.
623 (lib): Remove.
624 (stubs): Remove.
625 ($(objpfx)stubs ../po/manual.pot): Remove.
626 ($(objpfx)stamp%): Remove.
627 (make-target-directory): Remove.
628 (subdir_install): Remove.
629 (routines): Remove.
630 (aux): Remove.
631 (sources): Remove.
632 (objects): Remove.
633 (headers): Remove.
634
635 [BZ #13750]
636 * manual/.gitignore: Remove, it's not needed anymore.
637 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
638 all files in it.
639 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
640 directory.
641 (texis): Renamed to $(objpfx)texis.
642 (texis-path): New, contains path to generated files.
643 (chapters.%): Use texis-path for complete path, add extra argument
644 libc-texinfo.sh.
645 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
646 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
647 (summary,texi, stamp-summary): Use complete path of
648 files. Generate files in build dir.
649 (dir-add.texi): Build in build dir.
650 (libm-err.texi,stamp-libm-err): Likewise.
651 (version.texi, stamp-version): Likewise.
652 (.%c.texi): Likewise.
653 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
654 (mostlyclean): Remove target.
655 (realclean): Remove target.
656 (generated): Add new variable with contents from mostlyclean and
657 realclean, remove entries duplicated in common-mostlyclean, add
658 stamp-libm-err and stamp-version.
659 (generated-dirs): Add libc directory.
660 ($(inst_infodir)/libc.info): Install files from build dir.
661
662 * manual/install.texi (Configuring and compiling): Adjust since
663 the info files are not part of the tar ball anymore.
664
7ac77294
AJ
6652012-05-14 Andreas Jaeger <aj@suse.de>
666
667 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
668 variable.
669
ffb7875d
JM
6702012-05-14 Joseph Myers <joseph@codesourcery.com>
671
672 [BZ #13717]
673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
674 to 2.2.0 where earlier.
675 * sysdeps/unix/sysv/linux/configure: Regenerated.
676 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
677 Remove conditional code.
678 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
679 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
680 Remove conditional code.
681 [!__NR_lchown]: Likewise.
682 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
683 [__NR_lchown]: Likewise.
684 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
685 comment referencing __ASSUME_LCHOWN_SYSCALL.
686 * sysdeps/unix/sysv/linux/i386/sigaction.c
687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
689 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
690 Remove conditional code.
691 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
692 (__protocol_available): Remove #if 0 code.
693 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
694 conditional code.
695 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
696 * sysdeps/unix/sysv/linux/kernel-features.h
697 (__ASSUME_GETCWD_SYSCALL): Don't define.
698 (__ASSUME_REALTIME_SIGNALS): Likewise.
699 (__ASSUME_PREAD_SYSCALL): Likewise.
700 (__ASSUME_PWRITE_SYSCALL): Likewise.
701 (__ASSUME_POLL_SYSCALL): Likewise.
702 (__ASSUME_LCHOWN_SYSCALL): Likewise.
703 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
704 non-SPARC.
705 (__ASSUME_SIOCGIFNAME): Don't define.
706 (__ASSUME_MSG_NOSIGNAL): Likewise.
707 (__ASSUME_SENDFILE): Define unconditionally.
708 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
709 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
710 conditional code.
711 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
712 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
713 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
714 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
715 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
716 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
717 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
719 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
731 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
734 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
742 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
743 Remove conditional code.
744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
745 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
746 Remove conditional code.
747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
748 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
749 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
750 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
751 Remove conditional code.
752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
753 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
754 Remove conditional code.
755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
756 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
757 Remove conditional code.
758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
760 Remove conditional code.
761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
762 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
763 Remove conditional code.
764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
765 * sysdeps/unix/sysv/linux/sh/pwrite64.c
766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
768 * sysdeps/unix/sysv/linux/sigaction.c
769 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
770 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
771 * sysdeps/unix/sysv/linux/sigpending.c
772 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
773 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
774 * sysdeps/unix/sysv/linux/sigprocmask.c
775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
777 * sysdeps/unix/sysv/linux/sigsuspend.c
778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
781 (__libc_missing_rt_sigs): Remove.
782 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
783 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
784 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
785 Remove conditional code.
786 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
787 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
788 return 1.
789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
790 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
791 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
792 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
793
1bfb7291
AJ
7942012-05-14 Andreas Jaeger <aj@suse.de>
795
caae5a81
AJ
796 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
797 it's not used in glibc.
798 (__coshm1): Likewise.
799 (__acosh1p): Likewise.
800 (__sgn): Likewise.
801
1bfb7291
AJ
802 * manual/string.texi (Copying and Concatenation): Add missing
803 variable in concat example.
804 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
805
c044d724
L
8062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
807
144c5467 808 [BZ #14103]
c044d724
L
809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
810 __builtin_clzl with __builtin_clzll.
811
2523c62b
L
8122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
813
814 [BZ #14104]
815 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
816 libc_freeres_ptr.
817
d7bb4c42
LD
8182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
819
820 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
821 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
822 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
823 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
824
9dc4e1fb
MF
8252012-05-14 Mike Frysinger <vapier@gentoo.org>
826
827 * NEWS: Update ia64 info.
828
c7df0112
AS
8292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
830
831 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
832 used as bcopy.
833
dc70356c
TS
8342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
835
836 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
837 * sysdeps/unix/syscalls.list (dup3): Likewise.
838 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
839 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
840
9fb1a21f
L
8412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
842
843 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
844 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
845
4822a2a5
L
8462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
847
848 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
849 thread pointer.
850 (TLS_IE): Use mov/add instead of movq/addq to load thread
851 pointer.
852 (TLS_GD_PREFIX): New.
853 (TLS_GD): Use it.
854
842b81d6
DM
8552012-05-11 David S. Miller <davem@davemloft.net>
856
857 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
858 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
859 (_FPU_SETCW): Likewise.
860
1cf463cd
L
8612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
862
863 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
864 is 32-byte aligned.
865
60cc4a18
AS
8662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
867
868 [BZ #11837]
869 * iconvdata/gb18030.c: Update tables.
870 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
871 characters specially.
872 (BODY for TO_LOOP): Add encoding of missing ranges.
873
febb44a4
TS
8742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
875
876 [BZ #13673]
877 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
878 * sysdeps/mach/hurd/dup3.c: Likewise.
879 * sysdeps/mach/hurd/readlinkat.c: Likewise.
880 * sysdeps/powerpc/memmove.c:: Likewise.
881
0a10fb9e
L
8822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
883
884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
885 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
886
df8a552f
L
8872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
888
889 * elf/elf.h (R_X86_64_RELATIVE64): New.
890 (R_X86_64_NUM): Updated.
891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
892 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
893 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
894 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
895 tst-quad1pie tst-quad2pie
896 (modules-names): Add tst-quadmod1 tst-quadmod2.
897 ($(objpfx)tst-quad1): New dependency.
898 ($(objpfx)tst-quad2): Likewise.
899 ($(objpfx)tst-quad1pie): Likewise.
900 ($(objpfx)tst-quad2pie): Likewise.
901 * sysdeps/x86_64/tst-quad1.c: New file.
902 * sysdeps/x86_64/tst-quad1pie.c: New file.
903 * sysdeps/x86_64/tst-quad2.c: Likewise.
904 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
905 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
906 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
907 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
908 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
909
f34d6f84
ST
9102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
911
f42d41d1
ST
912 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
913 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
914 * streams/stropts.h (t_scalar_t): Define type.
915
3c3571fc
ST
916 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
917 (_PATH_PRESERVE): Set to "/var/lib".
918 (_PATH_RWHODIR): Set to "/var/spool/rwho".
919
61f06bd3
ST
920 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
921 instead of int.
922
918d4d71
ST
923 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
924 if __dir_mkfile succeeded.
925
f34d6f84
ST
926 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
927 checking for _hurd_dtablesize. Unlock it right after having
928 finished _hurd_dtable allocation.
929
10589b4a
TS
9302012-05-10 Thomas Schwinge <thomas@schwinge.name>
931
674cdbc7
TS
932 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
933 * sysdeps/mach/hurd/configure: Regenerated.
934 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
935 special-casing to...
936 * sysdeps/gnu/configure.in: ... this new file.
937 * sysdeps/unix/sysv/linux/configure: Regenerated.
938 * sysdeps/gnu/configure: New generated file.
939
8e41b99f
TS
940 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
941 for Linux: use nsec instead of usec, as well as:
942 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
943 members of type struct timespec.
944 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
945 New macros.
946 (struct stat64): Likewise.
947 (_STATBUF_ST_NSEC): New macro.
948 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
949
10589b4a
TS
950 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
951 __strtoul_internal rather than strtoul.
952
63643c85
PT
9532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
954
955 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
956 and reject them.
957
3faebe6a
ST
9582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
959
960 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
961 which preserves existing values.
962 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
963
c6474b07
PT
9642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
965
966 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
967 TIMEOUT values. Return EINVAL for NFDS values either negative or
968 greater than FD_SETSIZE.
969
1043890b
ST
9702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
971
972 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
973 allocated, call __vm_protect to finish enabling the existing space, and
974 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
975 allocate the remainder.
976
37ed8b9b
PT
9772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
978
979 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
980 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
981
db653660
ST
9822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
983
37ed8b9b
PT
984 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
985 sysdeps/mach/hurd/readlink.c.
b29d4053 986
db653660
ST
987 * posix/tst-sysconf.c (posix_options): Only use
988 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
989 _POSIX_SYNCHRONIZED_IO when they are defined
990 * sysdeps/mach/hurd/bits/posix_opt.h:
991 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
992 (_XOPEN_REALTIME): Undefine macro.
993 (_XOPEN_REALTIME_THREADS): Undefine macro.
994 (_XOPEN_SHM): Undefine macro.
995 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
996 macro to -1.
997 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
998 macro to -1.
999 (_POSIX_ASYNC_IO): Undefine macro.
1000 (_POSIX_PRIORITIZED_IO): Undefine macro.
1001 (_POSIX_SPIN_LOCKS): Define macro to -1.
1002
ee16e894
ST
1003 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1004 SA_NODEFER, SA_RESETHAND.
1005 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1006 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1007 F_DUPFD_CLOEXEC.
1008
6103ae3b
TS
10092012-05-10 Thomas Schwinge <thomas@schwinge.name>
1010
1011 * elf/Makefile (pldd-modules): Define unconditionally.
1012
80b4e5f3
TS
10132012-05-10 Thomas Schwinge <thomas@schwinge.name>
1014
1015 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1016
edadcbd6
ST
10172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1018
1019 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1020 Return ENOENT when name is empty.
1021 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1022
80694780
TS
10232012-05-10 Thomas Schwinge <thomas@schwinge.name>
1024
1792c087
TS
1025 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1026
80694780
TS
1027 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1028
6b645f0d
ST
10292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1030
80694780
TS
1031 Fix mlock in all cases except non-readable pages.
1032 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1033 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1034
6b645f0d
ST
1035 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1036 (__mkdir): When path is `/', just fail with EEXIST.
1037 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1038
e468f8a3
TS
10392012-05-10 Thomas Schwinge <thomas@schwinge.name>
1040
1041 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1042 <sys/uio.h> (for writev).
1043 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1044 and <sys/param.h> (for MIN).
1045
a4186cff
PT
10462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1047
1048 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1049 REQUESTED_TIME. Properly set the remaining time and return EINTR
1050 if interrupted.
1051
510bbf14
TS
10522012-05-10 Thomas Schwinge <thomas@schwinge.name>
1053
1054 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1055 Depend on against $(link-rpcuserlibs).
1056
5d5722e8
ST
10572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1058
a4186cff
PT
1059 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1060 (__libc_stack_end): Do not use attribute_relro.
1061 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1062 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1063 to libthread-provided value.
a4186cff
PT
1064 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1065 attribute_relro.
5d5722e8 1066
37233df9
TS
10672012-05-10 Thomas Schwinge <thomas@schwinge.name>
1068
be971a2b
TS
1069 [BZ #3748]
1070 * bits/libc-lock.h (__libc_once_get): New macro.
1071 * sysdeps/mach/bits/libc-lock.h: Likewise.
1072 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1074 instead of using implementation details.
1075
37233df9
TS
1076 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1077 * libio/freopen.c: Likewise.
1078 * libio/freopen64.c: Likewise.
1079 * misc/syslog.c: Likewise.
1080 * nscd/connections.c: Likewise.
1081 * nscd/netgroupcache.c: Likewise.
1082 * sysdeps/posix/getcwd.c: Likewise.
1083
38de94a5
RM
10842012-05-10 Roland McGrath <roland@hack.frob.com>
1085
1086 * math/w_ilogbf.c: Add #include <limits.h>.
1087
67530489
ST
10882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1089
a4186cff 1090 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1091 path instead of returning without unlocking.
1092
67530489
ST
1093 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1094 immediate-write ioctls.
1095 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1096
5aa3a74a
TS
10972012-05-10 Thomas Schwinge <thomas@schwinge.name>
1098
18bad2ae
TS
1099 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1100 __builtin_frame_address instead of making assumptions about the
1101 location of the return address relative to DATA. Force early load of
1102 the return address.
1103 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1104 __builtin_frame_address.
1105
5aa3a74a
TS
1106 dup3 for GNU Hurd.
1107 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1108 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1109 implement dup3 and do some further code clean-ups.
1110 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1111 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1112
ecd0de9a
ST
11132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1114
cd9fa985
ST
1115 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1116
a4186cff
PT
1117 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1118 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1119 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1120 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1121 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1122 d->port.lock.
802ca5a5 1123
a4186cff
PT
1124 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1125 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1126 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1127
bcf55240
TS
11282012-05-10 Thomas Schwinge <thomas@schwinge.name>
1129
6960eb42
TS
1130 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1131 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1132 definitions.
1133
eb43375f
TS
1134 accept4 for GNU Hurd.
1135 * include/sys/socket.h (__libc_accept4): New prototype.
1136 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1137 to implement __libc_accept4.
1138 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1139 __libc_accept4.
1140 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1141
bcf55240
TS
1142 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1143 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1144 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1145 signal-defines.sym.
1146
6178c55b
ST
11472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1148
a4186cff 1149 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1150
6f080c2f
TS
11512012-05-10 Thomas Schwinge <thomas@schwinge.name>
1152
1153 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1154 assertion on O_CLOEXEC flag.
1155 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1156 * hurd/intern-fd.c: Likewise.
1157 * hurd/port2fd.c: Likewise.
1158
bcfe3a54
ST
11592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1160
1161 [BZ #3906]
1162 * bits/in.h (IPV6_PKTINFO): Define new macro.
1163 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1164
89c9aa49
AZ
11652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166
1167 [BZ #13954]
1168 [BZ #13955]
1169 [BZ #13956]
1170 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1172 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1173 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1175 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1176 * math/libm-test.inc (logb_test) : Additional logb tests.
1177
021db4be
AJ
11782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1179 Andreas Jaeger <aj@suse.de>
1180
1181 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1182 * configure: Regenerated.
1183 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1184 * config.make.in (link-obsolete-rpc): New substituted variable.
1185 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1186 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1187 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1188 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1189 so that libc.a contains the symbols.
1190 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1191 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1192 * sunrpc/auth_none.c: Likewise.
1193 * sunrpc/auth_unix.c: Likewise.
1194 * sunrpc/authdes_prot.c: Likewise.
1195 * sunrpc/authuxprot.c: Likewise.
1196 * sunrpc/clnt_gen.c: Likewise.
1197 * sunrpc/clnt_perr.c: Likewise.
1198 * sunrpc/clnt_raw.c: Likewise.
1199 * sunrpc/clnt_simp.c: Likewise.
1200 * sunrpc/clnt_tcp.c: Likewise.
1201 * sunrpc/clnt_udp.c: Likewise.
1202 * sunrpc/clnt_unix.c: Likewise.
1203 * sunrpc/des_crypt.c: Likewise.
1204 * sunrpc/des_soft.c: Likewise.
1205 * sunrpc/get_myaddr.c: Likewise.
1206 * sunrpc/key_call.c: Likewise.
1207 * sunrpc/key_prot.c: Likewise.
1208 * sunrpc/netname.c: Likewise.
1209 * sunrpc/pm_getmaps.c: Likewise.
1210 * sunrpc/pm_getport.c: Likewise.
1211 * sunrpc/pmap_clnt.c: Likewise.
1212 * sunrpc/pmap_prot.c: Likewise.
1213 * sunrpc/pmap_prot2.c: Likewise.
1214 * sunrpc/pmap_rmt.c: Likewise.
1215 * sunrpc/publickey.c: Likewise.
1216 * sunrpc/rpc_cmsg.c: Likewise.
1217 * sunrpc/rpc_common.c: Likewise.
1218 * sunrpc/rpc_dtable.c: Likewise.
1219 * sunrpc/rpc_prot.c: Likewise.
1220 * sunrpc/rpc_thread.c: Likewise.
1221 * sunrpc/rtime.c: Likewise.
1222 * sunrpc/svc.c: Likewise.
1223 * sunrpc/svc_auth.c: Likewise.
1224 * sunrpc/svc_raw.c: Likewise.
1225 * sunrpc/svc_run.c: Likewise.
1226 * sunrpc/svc_tcp.c: Likewise.
1227 * sunrpc/svc_udp.c: Likewise.
1228 * sunrpc/svc_unix.c: Likewise.
1229 * sunrpc/svcauth_des.c: Likewise.
1230 * sunrpc/xcrypt.c: Likewise.
1231 * sunrpc/xdr.c: Likewise.
1232 * sunrpc/xdr_array.c: Likewise.
1233 * sunrpc/xdr_float.c: Likewise.
1234 * sunrpc/xdr_intXX_t.c: Likewise.
1235 * sunrpc/xdr_mem.c: Likewise.
1236 * sunrpc/xdr_rec.c: Likewise.
1237 * sunrpc/xdr_ref.c: Likewise.
1238 * sunrpc/xdr_sizeof.c: Likewise.
1239 * sunrpc/xdr_stdio.c: Likewise.
1240
b5c086a2
RM
12412012-05-10 Roland McGrath <roland@hack.frob.com>
1242
1243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1244 change. Update copyright years.
1245
6d74dd09
JM
12462012-05-10 Joseph Myers <joseph@codesourcery.com>
1247
1248 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1249
28e72501
MK
12502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1251 Joseph Myers <joseph@codesourcery.com>
1252 Paul Pluzhnikov <ppluzhnikov@google.com>
1253
1254 [BZ #14012]
1255 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1256 requiring rpcgen.
1257 [cross-compiling] (extra-libs): Likewise.
1258 [cross-compiling] (extra-libs-others): Likewise.
1259 [cross-compiling] (librpcsvc-routines): Likewise.
1260 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1261 [cross-compiling] (omit-deps): Likewise.
1262 (sunrpc-CPPFLAGS): New variable.
1263 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1264 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1265 (cross-rpcgen-objs): New variable.
1266 (extra-objs): Append $(cross-rpcgen-objs).
1267 ($(cross-rpcgen-objs)): New rule.
1268 ($(objpfx)cross-rpcgen): Likewise.
1269 (rpcgen-cmd): Define to use $(built-program-file). Expand
1270 comment.
1271 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1272 ($(objpfx)x%.stmp): Likewise.
1273 * sunrpc/proto.h [IS_IN_build] (_): Define.
1274 [IS_IN_build] (_libc_intl_domainname): Likewise.
1275
c8c59454
L
12762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1279 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1280 and R_X86_64_TPOFF64.
1281
6f27cd16
JM
12822012-05-10 Joseph Myers <joseph@codesourcery.com>
1283
1284 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1285 sysdeps/unix/sysv/syscalls.list.
1286 (stime): Likewise.
1287 (utime): Likewise.
1288 * sysdeps/unix/sysv/syscalls.list: Remove file.
1289
02467e1c
PE
12902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1291
1292 [BZ #3440]
1293 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1294 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1295 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1296 (__LC_IDENTIFICATION): Make these macros useful in #if
1297 expressions, as required by C99.
1298
da392631
AS
12992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1300
1301 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1302 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1303 after this.
1304
8115f29b
L
13052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 * stdlib/longlong.h: Updated from GCC.
1308
bdd74070
AJ
13092012-05-09 Andreas Jaeger <aj@suse.de>
1310
edfe0dbe
AJ
1311 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1312 default is first entry.
1313 (run_mode): Set type.
1314 (main): Remove informal message about syslog.
1315 (options): Fix typo.
1316
bcfe3a54
ST
1317 [BZ #14053]
1318 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1319 to asm.
bcfe3a54
ST
1320 (lrint): Likewise.
1321 (llrintf): Likewise.
1322 (llrint): Likewise.
1323 (rint): Likewise.
1324 (rintf): Likewise.
1325 (nearbyint): Likewise.
1326 (nearbyintf): Likewise.
bdd74070 1327
91d8d69e
AJ
13282012-05-09 Andreas Jaeger <aj@suse.de>
1329 Pedro Alves <palves@redhat.com>
1330
1331 * nscd/nscd.c (run_mode): Use enum.
1332 (main): Cleanup coding style issue.
1333
bb90b80b
AJ
13342012-05-09 Alexandre Oliva <aoliva@redhat.com>
1335 Andreas Jaeger <aj@suse.de>
1336
bcfe3a54
ST
1337 * nscd/nscd.c (go_background): Replaced with...
1338 (run_mode): ... this.
bb90b80b 1339 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1340 (options): Add -F --foreground.
1341 (main): Implement it.
1342 (parse_opt): Parse it.
bb90b80b 1343
1a4b75a1
AJ
13442012-05-09 Andreas Jaeger <aj@suse.de>
1345
1346 [BZ #14083]
1347 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1348 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1349 -Wconversion warning.
1350 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1351 Likewise.
1352
b1cc2472
JM
13532012-05-09 Joseph Myers <joseph@codesourcery.com>
1354
1355 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1356 == 0.
1357 (LC_ALL): Use macro-int-constant.
1358 (LC_COLLATE): Likewise.
1359 (LC_CTYPE): Likewise.
1360 (LC_MESSAGES): Likewise.
1361 (LC_MONETARY): Likewise.
1362 (LC_NUMERIC): Likewise.
1363 (LC_TIME): Likewise.
1364 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1365 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1366 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1367 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1368 Specify type.
1369 [C99-based standards] (float_t): Expect type.
1370 [C99-based standards] (double_t): Expect type.
1371 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1372 type.
1373 [C99-based standards] (HUGE_VALL): Likewise.
1374 [C99-based standards] (INFINITY): Likewise.
1375 [C99-based standards] (NAN): Likewise.
1376 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1377 [C99-based standards] (FP_NAN): Likewise.
1378 [C99-based standards] (FP_NORMAL): Likewise.
1379 [C99-based standards] (FP_SUBNORMAL): Likewise.
1380 [C99-based standards] (FP_ZERO): Likewise.
1381 [C99-based standards] (FP_FAST_FMA): Use
1382 optional-macro-int-constant. Specify type. Require == 1.
1383 [C99-based standards] (FP_FAST_FMAF): Likewise.
1384 [C99-based standards] (FP_FAST_FMAL): Likewise.
1385 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1386 [C99-based standards] (FP_ILOGBNAN): Likewise.
1387 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1388 Specify type.
1389 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1390 [C99-based standards] (math_errhandling): Specify type.
1391 [ISO99 || ISO11] (signgam): Do not allow.
1392 [non-C99-based standards] (copysignf): Do not allow.
1393 [non-C99-based standards] (exp2f): Likewise.
1394 [non-C99-based standards] (log2f): Likewise.
1395 [non-C99-based standards] (modff): Allow.
1396 [non-C99-based standards] (erff): Do not allow.
1397 [non-C99-based standards] (erfcf): Likewise.
1398 [non-C99-based standards] (gammaf): Likewise.
1399 [non-C99-based standards] (hypotf): Likewise.
1400 [non-C99-based standards] (j0f): Likewise.
1401 [non-C99-based standards] (j1f): Likewise.
1402 [non-C99-based standards] (jnf): Likewise.
1403 [non-C99-based standards] (lgammaf): Likewise.
1404 [non-C99-based standards] (tgammaf): Likewise.
1405 [non-C99-based standards] (y0f): Likewise.
1406 [non-C99-based standards] (y1f): Likewise.
1407 [non-C99-based standards] (ynf): Likewise.
1408 [non-C99-based standards] (isnanf): Likewise.
1409 [non-C99-based standards] (acoshf): Likewise.
1410 [non-C99-based standards] (asinhf): Likewise.
1411 [non-C99-based standards] (atanhf): Likewise.
1412 [non-C99-based standards] (cbrtf): Likewise.
1413 [non-C99-based standards] (expm1f): Likewise.
1414 [non-C99-based standards] (ilogbf): Likewise.
1415 [non-C99-based standards] (log1pf): Likewise.
1416 [non-C99-based standards] (logbf): Likewise.
1417 [non-C99-based standards] (nextafterf): Likewise.
1418 [non-C99-based standards] (remainderf): Likewise.
1419 [non-C99-based standards] (rintf): Likewise.
1420 [non-C99-based standards] (scalbf): Likewise.
1421 [non-C99-based standards] (copysignl): Likewise.
1422 [non-C99-based standards] (exp2l): Likewise.
1423 [non-C99-based standards] (log2l): Likewise.
1424 [non-C99-based standards] (modfl): Allow.
1425 [non-C99-based standards] (erfl): Do not allow.
1426 [non-C99-based standards] (erfcl): Likewise.
1427 [non-C99-based standards] (gammal): Likewise.
1428 [non-C99-based standards] (hypotl): Likewise.
1429 [non-C99-based standards] (j0l): Likewise.
1430 [non-C99-based standards] (j1l): Likewise.
1431 [non-C99-based standards] (jnl): Likewise.
1432 [non-C99-based standards] (lgammal): Likewise.
1433 [non-C99-based standards] (tgammal): Likewise.
1434 [non-C99-based standards] (y0l): Likewise.
1435 [non-C99-based standards] (y1l): Likewise.
1436 [non-C99-based standards] (ynl): Likewise.
1437 [non-C99-based standards] (isnanl): Likewise.
1438 [non-C99-based standards] (acoshl): Likewise.
1439 [non-C99-based standards] (asinhl): Likewise.
1440 [non-C99-based standards] (atanhl): Likewise.
1441 [non-C99-based standards] (cbrtl): Likewise.
1442 [non-C99-based standards] (expm1l): Likewise.
1443 [non-C99-based standards] (ilogbl): Likewise.
1444 [non-C99-based standards] (log1pl): Likewise.
1445 [non-C99-based standards] (logbl): Likewise.
1446 [non-C99-based standards] (nextafterl): Likewise.
1447 [non-C99-based standards] (remainderl): Likewise.
1448 [non-C99-based standards] (rintl): Likewise.
1449 [non-C99-based standards] (scalbl): Likewise.
1450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1451 [non-C99-based standards] (FP_*): Do not allow.
1452 [C99-based standards] (FP_*): Change to
1453 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1454 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1455 allow.
1456 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1457 (SIG_ERR): Likewise.
1458 [X/Open-based standards] (SIG_HOLD): Likewise.
1459 (SIG_IGN): Likewise.
1460 (SIGABRT): Use macro-int-constant. Specify type. Require
1461 positive value.
1462 (SIGFPE): Likewise.
1463 (SIGILL): Likewise.
1464 (SIGINT): Likewise.
1465 (SIGSEGV): Likewise.
1466 (SIGTER): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1468 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1469 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1470 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1471 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1472 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1485 [X/Open-based standards] (SIGTRAP): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1490 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1491 allow.
1492
b9f1922d
IW
14932012-05-08 Ian Wienand <ianw@vmware.com>
1494
1495 [BZ #14080]
1496 * time/tzset.c (__tzset_parse_tz): Update default rules for
1497 daylight time changes in the Energy Policy Act of 2005.
1498
1db86e88
AJ
14992012-05-09 Andreas Jaeger <aj@suse.de>
1500
1501 [BZ #13983]
1502 * elf/ldconfig.c (parse_conf): Change string to make clear that
1503 ldconfig only issued a warning if ld.so.conf does not exist.
1504
dee4a4e3
DM
15052012-05-08 David S. Miller <davem@davemloft.net>
1506
ee0db190
DM
1507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1508 movxtod instead of popping the value on the stack.
1509
dee4a4e3
DM
1510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1511
6a43ec98
CD
15122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1513
1514 * config.h.in: Add HAVE_ARM_PCS_VFP.
1515
05c2c961
RMG
15162012-05-08 Roland Mc Grath <roland@hack.frob.com>
1517
bcfe3a54
ST
1518 [BZ #13979]
1519 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1520 checking but the checks are disabled for any reason.
05c2c961 1521
4b30f61a
L
15222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1525 and ELF64_R_TYPE with ELFW(R_TYPE).
1526
eee2bc67
JM
15272012-05-08 Joseph Myers <joseph@codesourcery.com>
1528
7ea5391a
JM
1529 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1530 (ulimit): Likewise.
1531
eee2bc67
JM
1532 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1533 (settimeofday): Likewise.
1534
abb66a67
MF
15352012-05-08 Mike Frysinger <vapier@gentoo.org>
1536
1537 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1538 a struct th_u2 inside the union, and move tu_block/tu_code into
1539 a new th_u3 union of tu_block/tu_code inside of that. Move
1540 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1541 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1542 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1543 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1544 (th_stuff): Change to th_u1.tu_stuff.
1545 (th_data): Define.
1546 (th_msg): Change to th_u1.th_u2.tu_data.
1547
7f18b530
DM
15482012-05-07 David S. Miller <davem@davemloft.net>
1549
05760585
DM
1550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1551
7f18b530
DM
1552 [BZ #14074]
1553 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1554 (SETUP_PIC_REG): Use it.
1555 (SETUP_PIC_REG_LEAF): Use it.
1556
495fd99f
JM
15572012-05-07 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #13885]
1560 [BZ #13923]
1561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1562 USE_AS_EXPM1L.
1563 (EXPL_FINITE): Likewise.
1564 (FLDLOG): Likewise.
1565 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1566 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1567 e_expl.S.
1568 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1569 USE_AS_EXPM1L.
1570 (EXPL_FINITE): Likewise.
1571 (FLDLOG): Likewise.
1572 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1573 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1574 e_expl.S.
1575 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1576 test of -max_value argument for long double.
1577 * sysdeps/i386/fpu/libm-test-ulps: Update.
1578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1579
6693d694
DM
15802012-05-06 David S. Miller <davem@davemloft.net>
1581
1582 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1583 quad soft-float symbols whose references which are compiler
1584 generated.
1585 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1586
6c23e11c
JM
15872012-05-06 Joseph Myers <joseph@codesourcery.com>
1588
d8b82cad
JM
1589 [BZ #13884]
1590 [BZ #13914]
1591 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1592 USE_AS_EXP10L.
1593 (EXPL_FINITE): Likewise.
1594 (FLDLOG): Likewise.
1595 (c0): Likewise.
1596 (c1): Likewise.
1597 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1598 Adjust comments for base varying.
1599 (__expl_finite): Change alias to EXPL_FINITE.
1600 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1601 e_expl.S.
1602 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1603 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1605 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1606 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1607 USE_AS_EXP10L.
1608 (EXPL_FINITE): Likewise.
1609 (FLDLOG): Likewise.
1610 (c0): Likewise.
1611 (c1): Likewise.
1612 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1613 Adjust comments for base varying.
1614 (__expl_finite): Change alias to EXPL_FINITE.
1615 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1616 tests for bugs.
1617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1618
6c23e11c
JM
1619 [BZ #14064]
1620 * math/libm-test.inc (check_float_internal): Correct ulp
1621 calculation for subnormal expected results.
1622
29ba805c
AJ
16232012-05-06 Andreas Jaeger <aj@suse.de>
1624
1625 * Makeconfig (+math-flags): New, set to -frounding-math.
1626 (+cflags): Add +math-flags so that all of glibc gets compiled with
1627 it.
1628
1629 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1630
7b17aeda
JM
16312012-05-05 Joseph Myers <joseph@codesourcery.com>
1632
5779f134
JM
1633 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1634 Disable one test.
1635
41498f4d
JM
1636 [BZ #13787]
1637 [BZ #13922]
1638 [BZ #14036]
1639 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1640 (__ieee754_expl): Allow for and saturate large arguments.
1641 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1642 (u_threshold): Likewise.
1643 (__exp): Call __ieee754_exp before checking for overflow and
1644 underflow.
1645 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1646 (u_threshold): Likewise.
1647 (__expf): Call __ieee754_expf before checking for overflow and
1648 underflow.
1649 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1650 (u_threshold): Likewise.
1651 (__expl): Call __ieee754_expl before checking for overflow and
1652 underflow.
1653 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1654 (__ieee754_expl): Allow for and saturate large arguments.
1655 * math/libm-test.inc (exp_test): Add another test. Do not allow
1656 missing overflow exception on overflow.
1657 (expm1_test): Do not allow missing overflow exception on overflow.
1658
6698b8bf
JM
1659 * sysdeps/i386/fpu/e_expl.c: Move to ...
1660 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1661 rather than using inline asm.
1662 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1663 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1664 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1665
7b17aeda
JM
1666 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1667 (nice): Likewise.
1668 (poll): Likewise.
1669 (signal): Likewise.
1670 (time): Likewise.
1671 (times): Likewise.
1672
f7c85819
JM
16732012-05-04 Joseph Myers <joseph@codesourcery.com>
1674
1675 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1676 sysdeps/unix/common/syscalls.list.
1677 (fchmod): Likewise.
1678 (fchown): Likewise.
1679 (ftruncate): Likewise.
1680 (getrusage): Likewise.
1681 (gettimeofday): Likewise.
1682 (setpgid): Likewise.
1683 (setregid): Likewise.
1684 (setreuid): Likewise.
1685 (sigaction): Likewise.
1686 (truncate): Likewise.
1687 (vhangup): Likewise.
1688 * sysdeps/unix/common/syscalls.list: Remove file.
1689 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1690 * sysdeps/unix/sysv/linux/Implies: Likewise.
1691
336270d0
L
16922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1696 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1697 Moved to ...
1698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1699 Here.
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1701 to ...
1702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1703 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1704 to ...
1705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1706 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1707 to ...
1708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1709 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1710 to ...
1711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1712 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1713 to ...
1714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1715 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1716 to ...
1717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1718 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1719 to ...
1720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1721 Here.
1722 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1723 to ...
1724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1725 Here.
1726 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1727 to ...
1728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1729 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1730 Moved to ...
1731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1732 Here.
1733 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1734 to ...
1735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1736
d128e450
JM
17372012-05-04 Joseph Myers <joseph@codesourcery.com>
1738
fa8ee516
JM
1739 * sysdeps/unix/common/bits/dirent.h: Remove file.
1740 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1741
d128e450
JM
1742 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1743 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1744 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1745 * sysdeps/unix/bsd/isatty.c: Likewise.
1746 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1747 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1748 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1749
ff8faaf0 17502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1751
62881be4 1752 [BZ #13563]
31dc8730
AZ
1753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1754 long double comparison inaccuracies.
1755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1757
6fef930c
AS
17582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1762
8f203e6c
JM
17632012-05-04 Joseph Myers <joseph@codesourcery.com>
1764
1765 [BZ #14049]
1766 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1767 nonzero digits before rounding a hex value.
1768 * stdlib/tst-strtod.c (tests): Add another test.
1769
5197d9c2
AK
17702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1771
1772 * sysdeps/s390/fpu/libm-test-ulps: Update.
1773
f0c1dedf
AJ
17742012-05-03 Andreas Jaeger <aj@suse.de>
1775
1776 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1777 does not get optimized out.
1778 (malloc_opt_barrier): New.
1779
a65ef2ae 17802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1781 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1782
2b942cb7 1783 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1784 intermediate file deletion.
2b942cb7 1785 (generated): Add .symlist files.
a65ef2ae 1786
54b71e02
JM
17872012-05-03 Joseph Myers <joseph@codesourcery.com>
1788
1789 [BZ #13775]
1790 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1791 Redirect under this condition.
1792 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1793 [__USE_GNU] (__dprintf_chk): Not under this condition.
1794 [__USE_GNU] (__vdprintf_chk): Likewise.
1795 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1796 under this condition.
1797 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1798 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1799 [__USE_XOPEN2K8] (vdprintf): Likewise.
1800 [__USE_GNU] (__dprintf_chk): Not under this condition.
1801 [__USE_GNU] (__vdprintf_chk): Likewise.
1802 [__USE_GNU] (dprintf): Likewise.
1803 [__USE_GNU] (vdprintf): Likewise.
1804
d3dfcc41
RM
18052012-05-03 Roland McGrath <roland@hack.frob.com>
1806
1807 * elf/Makefile (common-generated): Set this instead of generated for
1808 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1809 $(all-built-dso)-derived lists.
1810
7ac30cc5
AJ
18112012-05-03 Andreas Jaeger <aj@suse.de>
1812
0c51e550
AJ
1813 * sysdeps/i386/fpu/libm-test-ulps: Update.
1814
7ac30cc5
AJ
1815 * FAQ: Removed.
1816 * FAQ.in: Likewise.
1817 * scripts/gen-FAQ.pl: Likewise.
1818 * manual/install.texi (Installation): Point to online location of
1819 FAQ.
1820 * Makefile (files-for-dist): Remove FAQ.
1821 (FAQ): Remove.
1822
d4c2917f
AM
18232012-05-02 Allan McRae <allan@archlinux.org>
1824
1825 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1826 (LDFLAGS-reldepmod5.so): Likewise.
1827 (LDFLAGS-reldep6mod1.so): Likewise.
1828 (LDFLAGS-reldep6mod4.so): Likewise.
1829 (LDFLAGS-reldep8mod3.so): Likewise.
1830 (LDFLAGS-unload4mod1.so): Likewise.
1831 (LDFLAGS-unload4mod2.so): Likewise.
1832 (LDFLAGS-tst-initorder): Likewise.
1833 (LDFLAGS-tst-initordera2.so): Likewise.
1834 (LDFLAGS-tst-initordera3.so): Likewise.
1835 (LDFLAGS-tst-initordera4.so): Likewise.
1836 (LDFLAGS-tst-initorderb2.so): Likewise.
1837 (LDFLAGS-noload): Likewise.
1838 (LDFLAGS-next): Likewise.
1839 (LDFLAGS-order2mod1.so): Likewise.
1840 (LDFLAGS-order2mod2.so): Likewise.
1841 (LDFLAGS-tst-initorder2): Likewise.
1842 (LDFLAGS-tst-initorder2a.so): Likewise.
1843 (LDFLAGS-tst-initorder2b.so): Likewise.
1844 (LDFLAGS-tst-initorder2c.so): Likewise.
1845 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1846
d77f993f
DM
18472012-05-02 David S. Miller <davem@davemloft.net>
1848
1849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1850
171a70b4
PP
18512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1852
1853 [BZ #14055]
1854 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1855
0be196ad
AJ
18562012-05-02 Andreas Jaeger <aj@suse.de>
1857
1858 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1859 since we manipulate rounding mode.
1860 (CPPFLAGS-test-idouble.c): Likewise.
1861 (CPPFLAGS-test-ifloat.c): Likewise.
1862 (CFLAGS-test-ldouble.c): Likewise.
1863 (CFLAGS-test-double.c): Likewise.
1864 (CFLAGS-test-float.c): Likewise.
1865 (CFLAGS-test-misc.c): Likewise.
1866 (CFLAGS-test-test-fenv.c): Likewise.
1867
4f9d04aa
AZ
18682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
2b942cb7
RM
1870 [BZ #2550]
1871 [BZ #2570]
1872 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1873 comparisons to determine direction to adjust input.
4f9d04aa 1874
82a79e7d
RM
18752012-05-01 Roland McGrath <roland@hack.frob.com>
1876
f5a01ca9
RM
1877 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1878 output to the target.
1879
90fe4186
RM
1880 * scripts/localplt.awk: New file.
1881 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1882 (check-localplt-CFLAGS): Variable removed.
1883 ($(all-built-dso:=.jmprel)): New static pattern rule.
1884 (generated): Add those targets.
1885 (localplt-built-dso): New variable.
1886 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1887
1888 * elf/check-localplt.c: File removed.
1889
82397ed6
RM
1890 * scripts/check-execstack.awk: New file.
1891 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1892 (check-execstack-CFLAGS): Variable removed.
1893 ($(objpfx)check-execstack.h): Target removed.
1894 ($(objpfx)execstack-default): New target.
1895 (generated): Add that instead of check-execstack.h.
1896 ($(all-built-dso:=.phdr)): New static pattern rule.
1897 (generated): Add those targets.
1898 * elf/check-execstack.c: File removed.
1899
82a79e7d
RM
1900 * scripts/check-textrel.awk: New file.
1901 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1902 (check-textrel-CFLAGS): Variable removed.
1903 (all-built-dso): Use := to define.o
1904 ($(all-built-dso:=.dyn)): New static pattern rule.
1905 (generated): Add those targets.
1906 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1907 * config.make.in (READELF): New substituted variable.
1908 * elf/check-textrel.c: File removed.
1909
62fde54f 19102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1911
615605c9
JM
1912 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1913 allow.
1914 * conform/data/ctype.h-data [C99-based standards] (isblank):
1915 Expect function.
1916 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1917 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1919 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1920 Specify type. Require positive value.
1921 (EILSEQ): Likewise.
1922 (ERANGE): Likewise.
1923 [ISO || POSIX] (EILSEQ): Do not expect.
1924 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1925 Specify type. Require positive value.
1926 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1927 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1928 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1929 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1930 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1931 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1932 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1933 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1934 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1935 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1939 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1940 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1941 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1942 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1943 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1944 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1945 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1946 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1947 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1948 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1949 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1950 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1951 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1952 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1953 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1954 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1955 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1956 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1957 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1958 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1978 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1979 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1980 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1981 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1982 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1983 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1984 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1985 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1986 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1987 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1988 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2000 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2001 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2002 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2003 Require >= 2.
2004 (FLT_ROUNDS): Expect as macro, not constant.
2005 (FLT_MANT_DIG): Use macro-int-constant.
2006 (DBL_MANT_DIG): Likewise.
2007 (LDBL_MANT_DIG): Likewise.
2008 (FLT_DIG): Likewise.
2009 (DBL_DIG): Likewise.
2010 (LDBL_DIG): Likewise.
2011 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2012 (DBL_MIN_EXP): Likewise.
2013 (LDBL_MIN_EXP): Likewise.
2014 (FLT_MAX_EXP): Use macro-int-constant.
2015 (DBL_MAX_EXP): Likewise.
2016 (LDBL_MAX_EXP): Likewise.
2017 (FLT_MAX_10_EXP): Likewise.
2018 (DBL_MAX_10_EXP): Likewise.
2019 (LDBL_MAX_10_EXP): Likewise.
2020 (FLT_MAX): Use macro-constant.
2021 (DBL_MAX): Likewise.
2022 (LDBL_MAX): Likewise.
2023 (FLT_EPSILON): Use macro-constant. Give upper bound.
2024 (DBL_EPSILON): Likewise.
2025 (LDBL_EPSILON): Likewise.
2026 (FLT_MIN): Likewise.
2027 (DBL_MIN): Likewise.
2028 (LDBL_MIN): Likewise.
2029 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2030 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2031 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2032 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2033 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2034 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2035 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2036 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2037 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2038 [ISO11] (FLT_TRUE_MIN): Likewise.
2039 [ISO11] (LDBL_TRUE_MIN): Likewise.
2040 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2041 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2042 (SCHAR_MIN): Use macro-int-constant. Specify type.
2043 (SCHAR_MAX): Likewise.
2044 (UCHAR_MAX): Likewise.
2045 (CHAR_MIN): Likewise.
2046 (CHAR_MAX): Likewise.
2047 (MB_LEN_MAX): Use macro-int-constant.
2048 (SHRT_MIN): Use macro-int-constant. Specify type.
2049 (SHRT_MAX): Likewise.
2050 (USHRT_MAX): Likewise.
2051 (INT_MAX): Likewise.
2052 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2053 bound negative.
2054 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2055 bound with "U".
2056 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2057 bound with "L".
2058 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2059 bound negative. Suffix upper bound with "L".
2060 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2061 bound with "UL".
2062 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2063 Specify type.
2064 [C99-based standards] (LLONG_MAX): Likewise.
2065 [C99-based standards] (ULLONG_MAX): Likewise.
2066 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2067 == 0.
2068 [ISO11] (max_align_t): Require type.
2069 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2070
c9140a62
JM
2071 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2072 from $CFLAGS, without defining away __attribute__ calls.
2073 (checknamespace): Use $CFLAGS_namespace.
2074
9af0bf29
JM
2075 * conform/conformtest.pl (@keywords): Only include C99 keywords
2076 for standards based on C99 or C11.
2077
343222a2
JM
2078 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2079 Disable tests.
2080 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2081 UNIX98]: Likewise.
2082
661f8cf0
JM
2083 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2084 usability of symbols in #if.
2085
ee74b9cb
JM
2086 * conform/conformtest.pl: If macro or constant types start
2087 "promoted:", expect the symbol to be of the following type
2088 promoted by the integer promotions.
62fde54f 2089
aafc49b3
JM
2090 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2091 in one place. Also handle "macro-constant".
2092
fefdf574
JM
2093 * conform/conformtest.pl: Only accept expected macro values with
2094 "==". Parse all "macro" lines in one place.
2095 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2096
f2d922fe
JM
2097 * conform/conformtest.pl: Handle braced types on "constant" lines
2098 instead of handling "typed-constant".
2099 * conform/data/signal.h-data: Use "constant" instead of
2100 "typed-constant".
2101
d22956c9
JM
2102 * conform/conformtest.pl: Handle "optional-" at start of lines in
2103 one place rather than duplicating several cases. Handle each
2104 format of "macro" line with initial "optional-".
2105
028e2e38
JM
2106 * conform/conformtest.pl: Only accept expected constant or
2107 optional-constant values with "==". Parse all "constant" lines in
2108 one place. Parse all "optional-constant" lines in one place.
2109 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2110 * conform/data/fmtmsg.h-data: Likewise.
2111 * conform/data/netinet/in.h-data: Likewise.
2112 * conform/data/tar.h-data: Likewise.
2113 * conform/data/limits.h-data: Use "==" form on "constant" and
2114 "optional-constant" lines.
2115
1b8f2850
JM
2116 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2117 Use -std=c99 for XOPEN2K.
2118 (@knownproblems): Remove.
2119 (newtoken): Don't check %isknown.
2120
a05a144b
JM
2121 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2122 Do not expect macro.
2123 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2124 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2126 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2127 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2128 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2129 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2135 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2136 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2141 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2153 [XPG3] (acosh): Likewise.
2154 [XPG3] (asinh): Likewise.
2155 [XPG3] (atanh): Likewise.
2156 [XPG3] (cbrt): Likewise.
2157 [XPG3] (expm1): Likewise.
2158 [XPG3] (ilogb): Likewise.
2159 [XPG3] (log1p): Likewise.
2160 [XPG3] (logb): Likewise.
2161 [XPG3] (nextafter): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2164 [XPG3] (remainder): Likewise.
2165 [XPG3] (rint): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2167 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2171 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2173 [UNIX98 || XOPEN2K] (scalb): Expect.
2174 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2175 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2179 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2311
73c5ebe3
JM
2312 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2313 _XOPEN_SOURCE_EXTENDED for XPG4.
2314
39c33b6c
JM
2315 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2316
62fde54f
JM
2317 * Makeconfig (localtime): Remove variable.
2318 (inst_localtime-file): Likewise.
2319
0741d64c
AS
23202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2321
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2323 Update.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2325 Update.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2327 Update.
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2329 Update.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2331 Update.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2333 Update.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2335 Update.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2337 Update.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2339 Update.
2340
7cb029ee
JM
23412012-05-01 Joseph Myers <joseph@codesourcery.com>
2342
2343 [BZ #2550]
2344 [BZ #2570]
2345 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2346 comparisons to determine direction to adjust input.
2347 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2348 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2350 Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2352 Likewise.
2353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2354 Likewise.
2355 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2356 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2357 Likewise.
2358 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2359 Likewise.
2360 * math/libm-test.inc (nexttoward_test): Add more tests.
2361
412bd966
AS
23622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2363
2364 [BZ #14040]
2365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2366 in version GLIBC_2.1, not GLIBC_2.0.
2367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2368 Likewise.
2369
9568c0c2
JM
23702012-04-30 Joseph Myers <joseph@codesourcery.com>
2371
adfbc8ac
JM
2372 [BZ #13942]
2373 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2374 (1 - x) * (1 + x).
2375 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2376 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2377 * math/libm-test.inc (acos_test): Add more tests.
2378 (asin_test): Likewise.
2379 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2381
5ba3cc69
JM
2382 [BZ #14034]
2383 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2384 of square root.
2385 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2386 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2387 * math/libm-test.inc (acos_test_tonearest): New function.
2388 (acos_test_towardzero): Likewise.
2389 (acos_test_downward): Likewise.
2390 (acos_test_upward): Likewise.
2391 (asin_test_tonearest): Likewise.
2392 (asin_test_towardzero): Likewise.
2393 (asin_test_downward): Likewise.
2394 (asin_test_upward): Likewise.
2395 (main): Call the new functions.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update.
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2398
9568c0c2
JM
2399 [BZ #13884]
2400 [BZ #13924]
2401 * math/e_exp10.c: Include <float.h>.
2402 (__ieee754_exp10): Handle underflow here rather than multiplying
2403 large negative argument by M_LN10.
2404 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2405 of __ieee754_expf.
2406 * math/e_exp10l.c: Include <float.h>.
2407 (__ieee754_exp10l): Handle underflow here rather than multiplying
2408 large negative argument by M_LN10l.
2409 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2410 spurious overflow exception on underflow.
2411
5ac3ea17
MP
24122012-04-29 Marek Polacek <polacek@redhat.com>
2413
2414 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2415 (__fortify_function): New macro.
2416 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2417 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2418 __extern_always_inline.
2419 * libio/bits/stdio2.h: Likewise.
2420 * libio/bits/stdio.h: Likewise.
2421 * string/string.h: Likewise.
2422 * string/bits/string3.h: Likewise.
2423 * include/stdio.h: Likewise.
2424 * stdlib/bits/stdlib.h: Likewise.
2425 * stdlib/stdlib.h: Likewise.
2426 * rt/bits/mqueue2.h: Likewise.
2427 * rt/mqueue.h: Likewise.
2428 * posix/bits/unistd.h: Likewise.
2429 * posix/unistd.h: Likewise.
2430 * io/bits/poll2.h: Likewise.
2431 * io/bits/fcntl2.h: Likewise.
2432 * io/fcntl.h: Likewise.
2433 * io/sys/poll.h: Likewise.
2434 * misc/bits/syslog.h: Likewise.
2435 * misc/bits/syslog-ldbl.h: Likewise.
2436 * misc/sys/syslog.h: Likewise.
2437 * socket/bits/socket2.h: Likewise.
2438 * socket/sys/socket.h: Likewise.
2439 * debug/tst-chk1.c: Likewise.
2440 * wcsmbs/bits/wchar2.h: Likewise.
2441 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2442 * wcsmbs/wchar.h: Likewise.
2443
ecf0ebfb
AJ
24442012-04-29 Andreas Jaeger <aj@suse.de>
2445
2446 * Makerules (tests): Remove enable-check-abi protection.
2447 (check-abi-warn): Remove.
2448 (check-abi-%): Remove check-abi-warn usage.
2449
2450 * configure.in: Remove check-abi configure option.
2451 * configure: Regenerated.
2452 * config.make.in (enable-check-abi): Remove.
2453
6d5c57fa
AS
24542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2455
24c5d07e 2456 [BZ #14033]
ded5180a
AS
2457 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2458 double functions to double *_finite functions.
2459
7e0d315d
AS
2460 [BZ #13941]
2461 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2462 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2463 LDBL_MIN_EXP.
2464 * stdio-common/Makefile (tests): Add tst-sprintf3.
2465 * stdio-common/tst-sprintf3.c: New file.
2466
6d5c57fa
AS
2467 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2468 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2469
0749ff8b
JM
24702012-04-28 Joseph Myers <joseph@codesourcery.com>
2471
2472 * conform/conformtest.pl: Remove duplicate typed-constant
2473 handling.
2474
8dbd5d7b
DM
24752012-04-28 David S. Miller <davem@davemloft.net>
2476
2477 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2478 (check-abi-%): Remove AWK script prerequisite and explicit
2479 abilist directory.
2480 (check-abi): Rewrite to just diff the symlist with the abilist.
2481 (config-tls, config-abi-config): Delete, no longer used.
2482 (update-abi-%): Remove AWK script and explicit abilist directory.
2483 (update-abi): Rewrite to simply compare and conditionally copy the
2484 symlist and the sysdep abilist file. Remove update-abi-config
2485 checks.
2486 * abilist/ld.abilist: Remove.
2487 * abilist/libBrokenLocale.abilist: Remove.
2488 * abilist/libanl.abilist: Remove.
2489 * abilist/libcrypt.abilist: Remove.
2490 * abilist/libdl.abilist: Remove.
2491 * abilist/librt.abilist: Remove.
2492 * abilist/libthread_db.abilist: Remove.
2493 * abilist/libutil.abilist: Remove.
2494 * scripts/extract-abilist.awk: Remove.
2495 * scripts/merge-abilist.awk: Remove.
2496 * sysdeps/generic/libcidn.abilist: New file.
2497 * sysdeps/generic/libnss_compat.abilist: New file.
2498 * sysdeps/generic/libnss_db.abilist: New file.
2499 * sysdeps/generic/libnss_dns.abilist: New file.
2500 * sysdeps/generic/libnss_files.abilist: New file.
2501 * sysdeps/generic/libnss_hesiod.abilist: New file.
2502 * sysdeps/generic/libnss_nis.abilist: New file.
2503 * sysdeps/generic/libnss_nisplus.abilist: New file.
2504 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2505 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2506 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2507 file.
2508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2509 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2510 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2511 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2512 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2513 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2514 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2515 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2516 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2517 file.
2518 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2519 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2520 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2521 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2522 file.
2523 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2524 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2525 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2526 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2527 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2528 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2529 file.
2530 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2531 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2532 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2533 file.
2534 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2536 New file.
2537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2538 New file.
2539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2540 New file.
2541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2542 New file.
2543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2544 New file.
2545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2546 New file.
2547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2548 New file.
2549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2550 New file.
2551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2552 New file.
2553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2554 New file.
2555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2556 New file.
2557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2558 New file.
2559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2560 New file.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2562 file.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2564 New file.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2566 New file.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2568 file.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2570 New file.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2572 New file.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2574 file.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2576 New file.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2578 New file.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2580 New file.
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2582 New file.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2584 New file.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2586 New file.
2587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2589 file.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2591 New file.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2593 file.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2595 file.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2597 file.
2598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2599 file.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2601 file.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2603 New file.
2604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2605 file.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2607 file.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2609 New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2611 file.
2612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2614 file.
2615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2616 New file.
2617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2618 file.
2619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2620 file.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2622 file.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2624 file.
2625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2626 file.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2628 New file.
2629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2630 file.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2632 file.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2634 New file.
2635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2636 file.
2637 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2638 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2639 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2640 file.
2641 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2642 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2643 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2644 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2645 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2646 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2647 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2648 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2649 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2650 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2653 file.
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2655 New file.
2656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2657 file.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2659 file.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2661 file.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2663 file.
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2665 file.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2667 New file.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2669 New file.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2671 file.
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2673 New file.
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2675 file.
2676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2678 file.
2679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2680 New file.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2682 file.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2684 file.
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2686 file.
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2688 file.
2689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2690 file.
2691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2692 New file.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2694 New file.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2696 file.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2700 file.
2701
41d73a1b
JM
27022012-04-28 Joseph Myers <joseph@codesourcery.com>
2703
2704 * conform/conformtest.pl: Fix typo in handling typed-constant from
2705 allow-header.
2706
28aeeda4
JM
27072012-04-27 Joseph Myers <joseph@codesourcery.com>
2708
adae8f5e
JM
2709 * README: Cut down references to pre-2.6 Linux kernels and
2710 Linuxthreads. Update lists of configurations in libc and ports
2711 and sort alphabetically. Say "or newer" with Linux kernel version
2712 requirements.
2713
28aeeda4
JM
2714 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2715
a462cb63
RA
27162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2717
2718 [BZ #887]
2719 * math/libm-test.inc (logb_test_downward): New test to expose
2720 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2721 rounding mode.
2722
6ad3493e
JM
27232012-04-27 Joseph Myers <joseph@codesourcery.com>
2724
2725 [BZ #14027]
2726 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2727 to be done.
2728 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2729 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2730
2ce4f015
JM
27312012-04-26 Joseph Myers <joseph@codesourcery.com>
2732
5aeb141a
JM
2733 * sysdeps/unix/i386/brk.S: Remove file.
2734 * sysdeps/unix/i386/dl-brk.S: Likewise.
2735 * sysdeps/unix/i386/pipe.S: Likewise.
2736 * sysdeps/unix/i386/sigreturn.S: Likewise.
2737 * sysdeps/unix/i386/syscall.S: Likewise.
2738 * sysdeps/unix/i386/vfork.S: Likewise.
2739 * sysdeps/unix/i386/wait.S: Likewise.
2740
7143acae
JM
2741 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2742 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2743
2ce4f015
JM
2744 * configure.in (arm*-none*): Do not allow without
2745 --enable-hacker-mode.
2746 (netbsd*): Remove case setting base_os.
2747 (386bsd*): Likewise.
2748 (freebsd*): Likewise.
2749 (bsdi*): Likewise.
2750 (osf*): Likewise.
2751 (sunos*): Likewise.
2752 (ultrix*): Likewise.
2753 (newsos*): Likewise.
2754 (dynix*): Likewise.
2755 (*bsd*): Likewise.
2756 (sysv*): Likewise.
2757 (isc*): Likewise.
2758 (esix*): Likewise.
2759 (sco*): Likewise.
2760 (minix*): Likewise.
2761 (irix4*): Likewise.
2762 (irix6*): Likewise.
2763 (solaris[2-9]*): Likewise.
2764 (none): Likewise.
2765 * configure: Regenerated.
2766
0ac229c8
AZ
27672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2768
2769 [BZ #11521]
2770 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2771 overflow or cancellation in calculating denominator.
2772 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2774 down expression to avoid unexpected rounding in newer GCCs.
2775 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2776
33f244f4
DM
27772012-04-26 David S. Miller <davem@davemloft.net>
2778
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2780 long-double compat symbols.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2794
cfa1f3e8
DM
27952012-04-25 David S. Miller <davem@davemloft.net>
2796
2797 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2798 HWCAP_* values only after the memory barriers have been defined.
2799 (atomic_full_barrier): Define.
2800 (atomic_read_barrier): Define.
2801 (atomic_write_barrier): Define.
2802
6e236b92
SP
28032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2804
2805 * shlib-versions: Add libgcc_s version information.
2806 * sysdeps/generic/libgcc_s.h: Remove.
2807 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2808 libgcc_s.h.
2809 * sysdeps/gnu/unwind-resume.c: Likewise.
2810 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2811
aab39a09
DM
28122012-04-25 David S. Miller <davem@davemloft.net>
2813
2814 * sysdeps/unix/sparc/brk.S: Delete.
2815 * sysdeps/unix/sparc/dl-brk.S: Delete.
2816 * sysdeps/unix/sparc/pipe.S: Delete.
2817 * sysdeps/unix/sparc/sysdep.S: Delete.
2818 * sysdeps/unix/sparc/sysdep.h: Delete.
2819 * sysdeps/unix/sparc/vfork.S: Delete.
2820 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2821 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2822 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2823 ret_ERRVAL, r0, r1, MOVE): Define.
2824 (JUMPTARGET): Remove.
2825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2826 sysdeps/unix/sparc/sysdep.h
2827 (ENTRY, END): Remove.
2828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2829
a3cc4f48
JM
28302012-04-25 Joseph Myers <joseph@codesourcery.com>
2831
2ed8cda2
JM
2832 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2833 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2834 -DIS_IN_build.
2835
35d76d59
JM
2836 * timezone/README: Update upstream location and email address for
2837 tzcode and tzdata.
2838 * timezone/zdump.c: Update from tzcode 2012b.
2839 * timezone/zic.c: Likewise.
2840
a3cc4f48
JM
2841 * configure.in (libc_cv_as_needed): Remove test.
2842 * configure: Regenerated.
2843 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2844 conditional definition.
2845 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2846 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2847 * config.make.in (have-as-needed): Remove variable.
2848
ceab42c3
SP
28492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2850 Paul Pluzhnikov <ppluzhnikov@google.com>
2851
2852 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2853 strings correctly.
2854
3ce2865f
CLT
28552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2856
2857 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2858 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2859 * sysdeps/sh/strlen.S: Likewise.
2860
f37e0d68
JM
28612012-04-24 Joseph Myers <joseph@codesourcery.com>
2862
ae186e9a
JM
2863 * sysdeps/unix/fork.S: Remove file.
2864 * sysdeps/unix/i386/fork.S: Likewise.
2865 * sysdeps/unix/sparc/fork.S: Likewise.
2866
b96914af
JM
2867 * sysdeps/unix/system.c: Remove file.
2868 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2869
f37e0d68
JM
2870 * sysdeps/unix/getegid.S: Remove file.
2871 * sysdeps/unix/geteuid.S: Likewise.
2872
87ef29ca
RM
28732012-04-24 Roland McGrath <roland@hack.frob.com>
2874
83bcd236
RM
2875 * scripts/check-localplt.awk: New file.
2876 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2877 of diff.
2878 * scripts/data/localplt-generic.data: Add a comment.
2879
87ef29ca
RM
2880 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2881 NODE when __dir_mkfile failed.
2882 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2883 Reported by Ludovic Courtès <ludo@gnu.org>.
2884
e5a6e567
AJ
28852012-04-24 Andreas Jaeger <aj@suse.de>
2886
2887 * Makerules (common-clean): Also remove gen-as-const-headers
2888 files.
2889
c1820385
JM
28902012-04-24 Joseph Myers <joseph@codesourcery.com>
2891
2892 * Makerules (native-compile): Do not change working directory for
2893 build. Use $(OUTPUT_OPTION) in command.
2894 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2895
94e02fc4
AZ
28962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897
2898 [BZ #13886]
2899 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2900 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2901 * math/libm-test.inc (floor_test): Add more tests.
2902 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2903
3a533ca3
JM
29042012-04-24 Joseph Myers <joseph@codesourcery.com>
2905
940ab4b3
JM
2906 * sysdeps/unix/getdents.c: Remove file.
2907 * sysdeps/unix/sysv/getdents.c: Likewise.
2908 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2909
90e037bd
JM
2910 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2911 sysdeps/unix/mman/syscalls.list.
2912 (mmap): Likewise.
2913 (mprotect): Likewise.
2914 (msync): Likewise.
2915 (munmap): Likewise.
2916 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2917 * sysdeps/unix/mman/syscalls.list: Remove.
2918 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2919
3a533ca3
JM
2920 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2921 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2922 * configure: Regenerated.
2923 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2924 $(libgcc_s_suffix).
2925 * config.make.in (libgcc_s_suffix): Remove variable.
2926
1ad743de
JM
29272012-04-23 Joseph Myers <joseph@codesourcery.com>
2928
4ad451e2
JM
2929 * sysdeps/unix/sysv/gethostname.c: Move to ...
2930 * sysdeps/posix/gethostname.c: ... here.
2931
5e37ce39
JM
2932 * sysdeps/unix/execve.S: Remove file.
2933
1ad743de
JM
2934 * sysdeps/unix/_exit.S: Remove file.
2935
4e681b5b
AJ
29362012-04-23 Andreas Jaeger <aj@suse.de>
2937
2938 [BZ #13739]
2939 * manual/Makefile: Remove make dist support, there's no
2940 need for a stand-alone documentation tar ball.
2941 (TEXI2DVI): Define always, it's not in Makeconfig.
2942 (dist): Removed.
2943 (tar-it): Removed.
2944 (edition): Removed.
2945 (glibc-doc-$(edition).tar): Removed
2946 (%.Z): Removed.
2947 (%.gz): Removed.
2948 (%.uu): Removed.
2949 (ETAGS): Remove, it's in Makeconfig.
2950 (move-if-change): Remove, it's in Makeconfig.
2951
c0baea34
PE
29522013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2953
2954 [BZ #13970]
2955 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2956 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2957 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2958 (strtod_l, strtof_l, strtold_l): Remove __wur.
2959 It is not necessarily an error to ignore strtol's return value.
2960 One can reliably look at the stored endptr to decide whether
2961 the number had valid syntax.
2962
7c0616fa
AJ
29632012-04-21 Andreas Jaeger <aj@suse.de>
2964
803cb6b7 2965 [BZ #13739]
7c0616fa
AJ
2966 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2967
b0fe253f
JM
29682012-04-21 Joseph Myers <joseph@codesourcery.com>
2969
2970 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2971 * sysdeps/unix/sysv/Versions: Remove file.
2972
8280f22d
MT
29732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2974
2975 [BZ #13927]
2976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2977
75ce411f 29782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2979
2980 [BZ #7064]
2981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2982 version from __vm86.
2983
097d59fa
JM
29842012-04-20 Joseph Myers <joseph@codesourcery.com>
2985
a90f3bcb
JM
2986 * sysdeps/unix/common/lxstat.c: Remove file.
2987 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2988
edc7ea78
JM
2989 * sysdeps/unix/sysv/Makefile: Remove file.
2990
cb78c221
JM
2991 * sysdeps/unix/sysv/direct.h: Remove file.
2992
efa6a45f
JM
2993 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2994 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2995 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2996 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2997 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2998 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2999 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3000
9c9f2d0c
JM
3001 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3002
4541c83b
JM
3003 * sysdeps/unix/xmknod.c: Remove file.
3004 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3005
f5d153a0
JM
3006 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3007
aa746595
JM
3008 * sysdeps/unix/sysv/i386/time.S: Remove file.
3009
cce5905e
JM
3010 * sysdeps/unix/fxstat.c: Remove file.
3011 * sysdeps/unix/xstat.c: Likewise.
3012 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3013
37fa3841
JM
3014 * sysdeps/unix/sysv/sigaction.c: Remove file.
3015
ff1962a3
JM
3016 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3017 (sysdep_headers): Remove variable.
3018 [termio.h not in sysdep_headers] (generated): Likewise.
3019 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3020 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3021 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3022 * sysdeps/unix/sysv/tcflow.c: Likewise.
3023 * sysdeps/unix/sysv/tcflush.c: Likewise.
3024 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3025 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3026 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3027 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3028 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3029
e7740d31
JM
3030 * sysdeps/unix/siglist.c: Remove file.
3031
ee06f18b
JM
3032 * sysdeps/unix/getppid.S: Remove file.
3033
097d59fa
JM
3034 * sysdeps/unix/mkdir.c: Remove file.
3035 * sysdeps/unix/rmdir.c: Likewise.
3036
ff3d51ec
AS
30372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3038
3039 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3040 ERR_MAX value.
3041 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3042 errlist-compat value.
3043
50f81fd7
DM
30442012-04-18 David S. Miller <davem@davemloft.net>
3045
3046 * sysdeps/generic/memcopy.h (reg_char): Delete.
3047 * debug/strcat_chk.c: Use char, not reg_char.
3048 * debug/strcpy_chk.c: Likewise.
3049 * debug/strncat_chk.c: Likewise.
3050 * debug/strncpy_chk.c: Likewise.
3051 * string/memchr.c: Likewise.
3052 * string/memrchr.c: Likewise.
3053 * string/rawmemchr.c: Likewise.
3054 * string/strcat.c: Likewise.
3055 * string/strchr.c: Likewise.
3056 * string/strchrnul.c: Likewise.
3057 * string/strcmp.c: Likewise.
3058 * string/strcpy.c: Likewise.
3059 * string/strncat.c: Likewise.
3060 * string/strncmp.c: Likewise.
3061 * string/strncpy.c: Likewise.
3062
8ff41c46
WS
30632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3064
3065 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3066 __builtin_memcopy is called when src and dest ranges are known to not
3067 overlap.
3068
6b652f46
WS
30692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3070
3071 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3072 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3073 fwd_align_merge macro call.
3074 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3075 bwd_align_merge macro call.
3076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3077
b282631e
WS
30782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3079
3080 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3081 bwd_align_merge macros.
3082 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3083 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3084 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3085
95aa737c
DM
30862012-04-18 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3089
7a99a614
AJ
30902012-04-18 Andreas Jaeger <aj@suse.de>
3091
3092 [BZ# 6794]
3093 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3094 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3096
3097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3098 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3099 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3100
3101 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3102 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3103 Adjust for changed ldbl-128 files.
3104
3105 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3106 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3107 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3108
e5270c23
DM
31092012-04-17 David S. Miller <davem@davemloft.net>
3110
3111 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3112
fb5e92c9
AS
31132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3114
3115 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3116 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3117 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3118 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3119 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3120 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3121
76da7265
AZ
31222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3123
3124 [BZ #6794]
3125 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3126 * math/libm-test.inc: Add ilogb errno and exception tests.
3127 * math/w_ilogb.c: New file: ilogb wrapper.
3128 * math/w_ilogbf.c: New file: ilogbf wrapper.
3129 * math/w_ilogbl.c: New file: ilogbl wrapper.
3130 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3131 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3132 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3133 exception being thrown with 0.0 as argument.
3134 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3135 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3136 exception being thrown with 0.0 as argument.
3137 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3138 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3139 exception being thrown with 0.0 as argument.
3140 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3141 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3142 exception being thrown with 0.0 as argument.
3143 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3144 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3145 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3146 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3147 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3148 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3149 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3150 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3151 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3152
0396e69d
PB
31532012-04-17 Petr Baudis <pasky@ucw.cz>
3154
3155 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3156 with altivec.
3157
750b5926
MP
31582012-04-16 Marek Polacek <polacek@redhat.com>
3159
3160 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3161
751728a1
MP
31622012-04-16 Marek Polacek <polacek@redhat.com>
3163
3164 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3165 operands of fdivp instruction.
3166
34a27407
L
31672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3170 * elf/tst-auditmod3b.c: Likewise.
3171 * elf/tst-auditmod4b.c: Likewise.
3172 * elf/tst-auditmod5b.c: Likewise.
3173 * elf/tst-auditmod6b.c: Likewise.
3174 * elf/tst-auditmod6c.c: Likewise.
3175 * elf/tst-auditmod7b.c: Likewise.
3176 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3177 * sysdeps/x86_64/preconfigure.in: Likewise.
3178 * sysdeps/x86_64/preconfigure: Regenerated.
3179
7e73e17d
L
31802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3183 __ILP32__.
3184
c7a6ab72
AB
31852012-04-13 Antoine Balestrat <merkil33@gmail.com>
3186
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3188 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3189
a9e8e0e0
CL
31902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3191
3192 [BZ #13973]
3193 * locale/iso-639.def: Fix gl language name. Spotted by
3194 Yaron Shahrabani.
3195
ec98af7d
RM
31962012-04-12 Roland McGrath <roland@hack.frob.com>
3197
3198 [BZ #2074]
3199 * libio/libio.h (__io_write_fn): Update comment.
3200
247c3ede
PB
32012012-04-12 Petr Baudis <pasky@ucw.cz>
3202
3203 [BZ #2074]
3204 * stdio.texi (Hook Functions): The user provided writer function
3205 is not allowed to return -1.
3206
55939d6d
DM
32072012-04-11 David S. Miller <davem@davemloft.net>
3208
3209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3210
90020f5a
MF
32112012-04-11 Mike Frysinger <vapier@gentoo.org>
3212
3213 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3214 Add a leading slash to rtkaio.
3215
288f9098
JM
32162012-04-11 Jim Meyering <meyering@redhat.com>
3217
90020f5a
MF
3218 [BZ #11959]
3219 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3220 It is not necessarily an error to ignore fwrite's return
3221 value. One can reliably use ferror to test for errors after
3222 the fact.
288f9098 3223
4be2b570
L
32242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * bits/types.h (__snseconds_t): New type.
3227 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3228
3229 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3231 (__SNSECONDS_T_TYPE): Likewise.
3232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3233 (__SNSECONDS_T_TYPE): Likewise.
3234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3235 (__SNSECONDS_T_TYPE): Likewise.
3236
288f9098 32372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3238
3239 [BZ #2636]
3240 * manual/time.texi (Processor Time): Return type of times is
3241 elapsed real time since an arbitrary point in the past.
3242 (CPU Time): Move CLK_TCK from here...
3243 (Processor Time): ...to here. Correct description.
3244 * manual/conf.texi (Constants for Sysconf): Correct description of
3245 _SC_CLK_TCK.
3246
d7dd4413
DM
32472012-04-10 David S. Miller <davem@davemloft.net>
3248
3249 [BZ #13967]
3250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3251 where the is a gap between DT_REL(A) and DT_JMPREL.
3252
b46068fc
L
32532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3254
3255 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3256 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3257 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3258
73d65cc3
SP
32592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3262 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3263 (dl_main): Handle --inhibit-cache.
3264 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3265 _dl_inhibit_cache.
3266 * elf/dl-load.c (_dl_map_object): Use it.
3267 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3268
bcc8d661
JM
32692012-04-09 Joseph Myers <joseph@codesourcery.com>
3270
8f9a2fae
JM
3271 [BZ #13872]
3272 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3273 (__ieee754_powl): Saturate large exponents rather than testing for
3274 overflow of y*log2(x).
3275 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3276 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3277 exceptions.
3278
bcc8d661
JM
3279 [BZ #11521]
3280 * math/s_ctan.c: Include <float.h>.
3281 (__ctan): Avoid internal overflow or cancellation in calculating
3282 denominator.
3283 * math/s_ctanf.c: Likewise.
3284 * math/s_ctanl.c: Likewise.
3285 * math/s_ctanh.c: Likewise.
3286 * math/s_ctanhf.c: Likewise.
3287 * math/s_ctanhl.c: Likewise.
3288 * math/libm-test.inc (ctan_test): Add more tests.
3289 (ctanh_test): Likewise.
3290 * sysdeps/i386/fpu/libm-test-ulps: Update.
3291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3292
823fbbb4
AJ
32932012-04-09 Andreas Jaeger <aj@suse.de>
3294
03879793
AJ
3295 [BZ #6894]
3296 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3297 is an optional BSD extension.
3298
823fbbb4
AJ
3299 [BZ #10254]
3300 * manual/stdio.texi (Opening Streams): Document additional fopen
3301 parameters.
3302
8de131cb
RM
33032012-04-09 Roland McGrath <roland@hack.frob.com>
3304
3305 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3306 %eax without telling the compiler.
3307
c0ed9d7d
CD
33082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3309
3310 [BZ # 13963]
3311 * manual/install.texi: Use sourceware.org.
3312
c483f6b4
JM
33132012-04-09 Joseph Myers <joseph@codesourcery.com>
3314
d7dd9453
JM
3315 [BZ #13873]
3316 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3317 (__ieee754_pow): Generate overflow and underflow using huge*huge
3318 and tiny*tiny rather than just returning constant infinity or zero
3319 for large exponents.
3320 * math/libm-test.inc (pow_test): Require overflow exceptions for
3321 applicable cases of large exponents.
3322
c483f6b4
JM
3323 [BZ #706]
3324 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3325 (__ieee754_pow): Use iterative multiplication algorithm only for
3326 integer exponents with absolute value below 1024. Check for odd
3327 integer exponents when using algorithm for real exponents.
3328 * math/libm-test.inc (pow_test): Add more tests.
3329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3330
d2de7579
JM
33312012-04-08 Joseph Myers <joseph@codesourcery.com>
3332
3333 [BZ #13705]
3334 * math/libm-test.inc (exp_test): Do not allow overflow exception
3335 on underflow test.
3336
f77f1232
AJ
33372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3338
3339 [BZ #13705]
3340 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3341 instead of __kernel_standard_f.
3342
3884932b
MF
33432012-04-08 Mike Frysinger <vapier@gentoo.org>
3344
3345 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3346 * sysdeps/x86_64/memset_chk.S: Likewise.
3347
54472e9c
AJ
33482012-04-08 Andreas Jaeger <aj@suse.de>
3349
6ab0fbfc
AJ
3350 [BZ #10153]
3351 * manual/startup.texi (Environment Access): Describe return value
3352 for putenv and setenv.
3353
61efba8c
AJ
3354 [BZ #6895]
3355 * manual/filesys.texi (Directory Entries): Add description for
3356 DT_LNK.
3357
95c3f29a
AJ
3358 [BZ #6890]
3359 * manual/filesys.texi (Directory Entries): Clarify that it's file
3360 system not operating system in the description of DT_UNKNOWN.
3361
54472e9c
AJ
3362 [BZ #6578]
3363 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3364
624254b1
SC
33652012-04-08 Stephen Compall <s11@member.fsf.org>
3366
3367 [BZ #6649]
3368 * manual/llio.texi (Opening and Closing Files): Add cross
3369 reference to explain mode argument.
3370
1e4920e0
MF
33712012-04-07 Mike Frysinger <vapier@gentoo.org>
3372
3373 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3374 * sysdeps/x86_64/memset_chk.S: Likewise.
3375
5ed848f3
DM
33762012-04-07 David S. Miller <davem@davemloft.net>
3377
3378 * elf/elf.h (R_SPARC_WDISP10): Define.
3379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3380 R_SPARC_SIZE32.
3381 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3382 R_SPARC_SIZE64 and R_SPARC_H34.
3383
96154cd8
CD
33842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3385
3386 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3387 conditions and remove no longer applicable assertion.
3388
9904dc47
L
33892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * bits/byteswap.h: Include <features.h>.
3392 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3393 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3394
f8887d0a
L
33952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * bits/byteswap.h (__bswap_16): Removed.
3398 Include <bits/byteswap-16.h> to get __bswap_16.
3399 * sysdeps/i386/bits/byteswap.h: Likewise.
3400 * sysdeps/s390/bits/byteswap.h: Likewise.
3401 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3402 * bits/byteswap-16.h: New file.
3403 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3404 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3405 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3406 * string/Makefile (headers): Add bits/byteswap-16.h.
3407
62470f60
PP
34082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3409
3410 [BZ #13895]
3411 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3412 extra indirection.
3413 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3414 * nss/tst-nss-static.c: New.
3415
4dad7bab
RM
34162012-04-06 Robert Millan <rmh@gnu.org>
3417
3418 [BZ #6486]
3419 * manual/llio.texi (File Position Primitive): lseek
3420 refers to WHENCE when it really means OFFSET.
3421
e9142a17
AJ
34222012-04-06 Andreas Jaeger <aj@suse.de>
3423
2c040eff
AJ
3424 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3425 strncmp declarations.
3426
e9142a17
AJ
3427 * abilist/libc.abilist: Add __poll and __ppoll.
3428
ff9f1c5f
DM
34292012-04-05 David S. Miller <davem@davemloft.net>
3430
dcd2ae90
DM
3431 * scripts/check-local-headers.sh: Accept a host triplet in the
3432 path matched by the exclude regexp.
3433
993eb054
DM
3434 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3435 definition.
3436 * sysdeps/powerpc/powerpc32/dl-machine.h
3437 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3438 * sysdeps/s390/s390-32/dl-machine.h
3439 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3440 * sysdeps/sparc/sparc32/dl-machine.h
3441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3442 * sysdeps/sparc/sparc64/dl-machine.h
3443 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3444
ff9f1c5f
DM
3445 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3446 lazy binding.
48e2e132 3447 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3448 undefined symbol errors.
3449
48e2e132 3450 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3451 DT_NEEDED entries.
3452
e80d6f94
MM
34532012-04-05 Michael Matz <matz@suse.de>
3454
3455 [BZ #13592]
3456 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3457
349fa79f
AJ
34582012-04-05 Andreas Jaeger <aj@suse.de>
3459
3460 [BZ #13908]
3461 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3462 comment.
3463
f402708f
KK
34642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3465
3466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3467 which ROUND is no valid rounding mode.
3468
2ecccfc9
KK
34692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3470
3471 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3472 read again.
3473 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3474
8a53f50f
KK
34752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3476
3477 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3478 an exception using FPU order intentionally.
3479
34802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3481
3482 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3483 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3484 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3485 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3486
d653abb7
SJ
34872012-04-05 Simon Josefsson <simon@josefsson.org>
3488
3489 [BZ #12340]
3490 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3491 EINVAL when BUFLEN is too smal.
3492
c3b1bf7d
TS
34932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3494
3495 [BZ #13553]
3496 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3497 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3498
b1aa60f3
AJ
34992012-04-03 Andreas Jaeger <aj@suse.de>
3500
c3b1bf7d 3501 [BZ #13938]
67f60a26
AJ
3502 * manual/setjmp.texi (System V contexts): Fix sentence.
3503
b1aa60f3
AJ
3504 [BZ #13926]
3505 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3506 New macro for this case.
3507 [!__GNUC__] (__bswap_64): New inline function for this case.
3508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3509 * bits/byteswap.h: Likewise.
3510 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3511 ull, guard with __GLIBC_HAVE_LONG_LONG.
3512
3513 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3514 __GLIBC_HAVE_LONG_LONG.
3515
3516 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3517 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3518
39c59c35
TMQMF
35192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3520
3521 [BZ #13691]
3522 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3523 inptr and inend, rather than using last_ch.
3524
135ffda8
DM
35252012-04-02 David S. Miller <davem@davemloft.net>
3526
3527 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3528 * stdio-common/printf-parse.h (read_int): Change return type to
3529 'int', return -1 on INT_MAX overflow.
3530 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3531 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3532 overflows INT_MAX. Check for overflow of in-format-string precision
3533 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3534 SIZE_MAX not INT_MAX for integer overflow test.
3535 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3536 skip the construct in the format string but do not record anything.
3537 * stdio-common/bug22.c: Adjust to test both width/prevision
3538 INT_MAX overflow as well as total length INT_MAX overflow. Check
3539 explicitly for proper errno values.
3540
228c019e
TS
35412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3542
302cadd3
TS
3543 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3544 CHAR_MAX.
3545 * string/test-strcmp.c [! WIDE]: Likewise.
3546 * time/tst-mktime2.c: Likewise for INT_MAX.
3547 * string/test-string.h: #include <sys/param.h> for MIN.
3548
228c019e
TS
3549 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3550 * sysdeps/i386/init-first.c (init): Likewise.
3551 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3552 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3553 * sysdeps/sh/init-first.c (init): Likewise.
3554
cfa633f5
UD
35552012-04-01 Ulrich Drepper <drepper@gmail.com>
3556
3557 * po/ru.po: Update from translation team.
d1635ef8 3558 * po/vi.po: Likewise.
cfa633f5 3559
6cd0a5ea
SP
35602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3561
3562 * resolv/nss_dns/dns-host.c: Merge copyright years.
3563
4b43400f
LD
35642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3565
3566 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3567 Optimize memcpy with prefetch if
3568 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3569 src, dst pointers have unequal 16 byte alignments.
3570
48c41d04
SP
35712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
3573 [BZ #13928]
3574 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3575 from a CNAME entry and return the minimum ttl for the query.
3576 (gaih_getanswer_slice): Likewise.
3577
b8dc394d
JL
35782012-03-30 Jeff Law <law@redhat.com>
3579
3580 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3581 due to long keys.
3582 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3583 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3584
2f5a5ed0
JL
3585 * resolv/nss_dns/dns-host.c: Update copyright year.
3586
1d39e359
UD
35872012-03-30 Ulrich Drepper <drepper@gmail.com>
3588
c030f70c 3589 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3590 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3591
1d39e359
UD
3592 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3593 comments for sendmmsg.
3594
35952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3596
3597 [BZ #13691]
3598 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3599 with only 1 character between 0x0041 and 0x01b0.
3600 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3601 * wcsmbs/tst-mbsnrtowcs.c: New file.
3602
20fde227
DM
36032012-03-29 David S. Miller <davem@davemloft.net>
3604
3605 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3606 small copies by hand.
3607
984a4237
JL
36082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
3610 [BZ #13761]
3611 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3612 _nss_compat_initgroups_dyn): Fall back to malloc/free
3613 for large group memberships.
3614
18c9d62b
DM
36152012-03-28 David S. Miller <davem@davemloft.net>
3616
88d85d4f
DM
3617 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3618 that branches into memcpy.
3619 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3621 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3622 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3624 bits.
3625 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3626 implementation too.
3627 * sysdeps/sparc/mempcpy.S: New file.
3628
e5aa83e1
DM
3629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3630 the IFUNC routine in the libc case.
3631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3632
88570753
DM
3633 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3634 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3636 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3637 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3638 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3639 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3640 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3641
249d7567
DM
3642 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3643 loop to 256 bytes instead of 64 bytes and fix test signedness.
3644
18c9d62b
DM
3645 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3646 * sysdeps/sparc/sparc32/Makefile: rather than here...
3647 * sysdeps/sparc/sparc64/Makefile: and here.
3648
05f3d1f6
UD
36492012-03-28 Ulrich Drepper <drepper@gmail.com>
3650
3651 * malloc/mallocbug.c: Avoid warnings about unused variables.
3652
86ae07a8
JL
36532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3654
3655 [BZ #13760]
3656 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3657 in the right place. Discard and retry query if response is
3658 larger than input buffer size.
3659
41bf21a1
JM
36602012-03-28 Joseph Myers <joseph@codesourcery.com>
3661
d6270972
JM
3662 [BZ #369]
3663 [BZ #2678]
3664 [BZ #3866]
3665 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3666 x for large integer exponent.
3667 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3668 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3669 sign of result as needed afterwards.
3670 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3671 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3672 result for underflowing pow the same as for overflow.
3673 (__kernel_standard_l): Handle powl overflow and underflow here
3674 rather than calling __kernel_standard.
3675 * math/libm-test.inc (pow_test): Add more tests.
3676
414fca03 3677 [BZ #3868]
41bf21a1
JM
3678 [BZ #13879]
3679 [BZ #13910]
3680 [BZ #13911]
3681 [BZ #13912]
3682 [BZ #13913]
3683 [BZ #13915]
3684 [BZ #13916]
3685 [BZ #13917]
3686 [BZ #13918]
3687 [BZ #13919]
3688 [BZ #13920]
3689 [BZ #13921]
3690 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3691 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3692 (__kernel_standard_l): New function.
3693 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3694 __kernel_standard.
3695 * math/w_acosl.c (__acosl): Likewise.
3696 * math/w_asinl.c (__asinl): Likewise.
3697 * math/w_atan2l.c (__atan2l): Likewise.
3698 * math/w_atanhl.c (__atanhl): Likewise.
3699 * math/w_coshl.c (__coshl): Likewise.
3700 * math/w_exp10l.c (__exp10l): Likewise.
3701 * math/w_exp2l.c (__exp2l): Likewise.
3702 * math/w_fmodl.c (__fmodl): Likewise.
3703 * math/w_hypotl.c (__hypotl): Likewise.
3704 * math/w_j0l.c (__j0l, __y0l): Likewise.
3705 * math/w_j1l.c (__j1l, __y1l): Likewise.
3706 * math/w_jnl.c (__jnl, __ynl): Likewise.
3707 * math/w_lgammal.c (__lgammal): Likewise.
3708 * math/w_log10l.c (__log10l): Likewise.
3709 * math/w_log2l.c (__log2l): Likewise.
3710 * math/w_logl.c (__logl): Likewise.
3711 * math/w_powl.c (__powl): Likewise.
3712 * math/w_remainderl.c (__remainderl): Likewise.
3713 * math/w_scalbl.c (sysv_scalbl): Likewise.
3714 * math/w_sinhl.c (__sinhl): Likewise.
3715 * math/w_sqrtl.c (__sqrtl): Likewise.
3716 * math/w_tgammal.c (__tgammal): Likewise.
3717 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3718 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3719 * math/libm-test.inc (acos_test): Add more tests.
3720 (acosh_test): Likewise.
3721 (asin_test): Likewise.
3722 (atanh_test): Likewise.
3723 (exp_test): Likewise.
3724 (exp10_test): Likewise.
3725 (exp2_test): Likewise.
3726 (expm1_test): Likewise.
3727 (lgamma_test): Likewise.
3728 (log_test): Likewise.
3729 (log10_test): Likewise.
3730 (log1p_test): Likewise.
3731 (log2_test): Likewise.
3732 (pow_test): Do not allow some spurious overflow exceptions.
3733 (sqrt_test): Add more tests.
3734 (tgamma_test): Likewise.
3735 (y0_test): Likewise.
3736 (y1_test): Likewise.
3737 (yn_test): Likewise.
3738
dd62fda6
AB
37392012-03-27 Anton Blanchard <anton@samba.org>
3740
3741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3742 MAP_HUGETLB.
3743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3746
1e3cdfda
AJ
37472012-03-27 David S. Miller <davem@davemloft.net>
3748
b855ab85
DM
3749 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3750
1e3cdfda
AJ
3751 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3752 have-as-vis3 check.
3753
37542012-03-27 Andreas Jaeger <aj@suse.de>
3755
3756 * sysdeps/x86_64/elf/configure.in: Moved to ...
3757 * sysdeps/x86_64/configure.in: ... here.
3758 * sysdeps/x86_64/elf/start.S: Moved to ...
3759 * sysdeps/x86_64/start.S: ... here.
3760 * sysdeps/x86_64/elf/configure: Delete.
3761
3762 * sysdeps/x86_64/configure.in: Merge contents from
3763 sysdeps/i386/configure.in (without i686 check).
3764
3765 * sysdeps/i386/elf/Versions: Merge into ...
3766 * sysdeps/i386/Versions: ... this.
3767 * sysdeps/i386/elf/Versions: Delete file.
3768 * sysdeps/i386/elf/start.S: Moved to ...
3769 * sysdeps/i386/start.S: ...here.
3770 * sysdeps/i386/elf/configure.in: Merge into...
3771 * sysdeps/i386/configure.in: ...here.
3772 * sysdeps/i386/elf/configure.in: Delete file.
3773 * sysdeps/i386/elf/configure: Delete file.
3774
3775 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3776 * debug/backtracesyms.c: ... here.
3777 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3778 * debug/backtracesymsfd.c: ... here.
3779 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3780 * sysdeps/generic/ifunc-sel.h: ... here.
3781
3782 * sysdeps/unix/i386/start.c: Delete file.
3783 * sysdeps/unix/sparc/start.c: Delete file.
3784 * sysdeps/unix/start.c: Delete file.
3785
3786 * sysdeps/sh/elf/configure.in: Moved to ...
3787 * sysdeps/sh/configure.in: ... here.
3788 * sysdeps/sh/elf/start.S: Moved to ...
3789 * sysdeps/sh/start.S: ... here.
3790 * sysdeps/sh/elf/configure: Delete file.
3791
3792 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3793 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3794 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3795 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3796 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3797 * sysdeps/powerpc/powerpc64/start.S: here.
3798 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3799 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3800 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3801 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3802 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3803
3804 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3805 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3806 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3807 * sysdeps/powerpc/powerpc32/start.S: ... here.
3808 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3809 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3810 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3811
3812 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3813 * sysdeps/powerpc/ifunc-sel.h: ... here.
3814 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3815 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3816
3817 * sysdeps/sparc/elf/configure.in: Moved to ...
3818 * sysdeps/sparc/configure.in: ... here.
3819 * sysdeps/sparc/elf/configure: Delete file.
3820 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3821 * sysdeps/sparc/sparc32/start.S: ... here.
3822 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3823 * sysdeps/sparc/sparc64/start.S: ... here.
3824 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3825 * sysdeps/sparc/sparc32/Makefile: ... this.
3826 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3827 * sysdeps/sparc/sparc64/Makefile: ... this.
3828
3829 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3830 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3831 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3832 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3833 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3834 * sysdeps/s390/s390-32/setjmp.S: ... here.
3835 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3836 * sysdeps/s390/s390-32/configure.in: ... here.
3837 * sysdeps/s390/s390-32/elf/configure: Delete file.
3838 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3839 * sysdeps/s390/s390-32/start.S: ... here.
3840
3841 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3842 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3843 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3844 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3845 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3846 * sysdeps/s390/s390-64/setjmp.S: ... here.
3847 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3848 * sysdeps/s390/s390-64/configure.in: ... here
3849 * sysdeps/s390/s390-64/elf/configure: Delete file.
3850 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3851 * sysdeps/s390/s390-64/start.S: ... here.
3852 * sysdeps/s390/s390-64/elf/configure: Delete.
3853
3854 * configure.in: Remove support for elf directories in sysdeps.
3855
3856 * configure: Regenerated.
3857 * sysdeps/i386/configure: Regenerated.
3858 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3859 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3860 * sysdeps/s390/s390-32/configure: Regenerated.
3861 * sysdeps/s390/s390-64/configure: Regenerated.
3862 * sysdeps/sh/configure: Regenerated.
3863 * sysdeps/sparc/configure: Regenerated.
3864 * sysdeps/x86_64/configure: Regenerated.
3865
a3f61311
AS
38662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3867
c876e002
AS
3868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3869
a3f61311
AS
3870 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3871 denormal result into account.
3872
ac4c54f0
RM
38732012-03-25 Roland McGrath <roland@hack.frob.com>
3874
3875 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3876 Reported by Allan McRae <allan@archlinux.org>.
3877
6a9b9c02
JL
38782012-03-23 Jeff Law <law@redhat.com>
3879
3880 * nss/getnssent.c (__nss_getent): Fix typo.
3881
4c42a0c1
DM
38822012-03-23 David S. Miller <davem@davemloft.net>
3883
3884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3885
1532c7ac
L
38862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3889 to pad to uint64_t for each field.
3890 (dl_tls_index): Replace unsigned long with uint64_t.
3891
3ff42526
PP
38922012-03-23 Daniel Jacobowitz <dmj@google.com>
3893 Paul Pluzhnikov <ppluzhnikov@google.com>
3894
3895 [BZ #6528]
3896 * grp/Makefile (otherlibs): Don't set it.
3897 * inet/Makefile (otherlibs): Likewise.
3898 * login/Makefile (otherlibs): Likewise.
3899 * nscd/Makefile (otherlibs): Likewise.
3900 * posix/Makefile (otherlibs): Likewise.
3901 * pwd/Makefile (otherlibs): Likewise.
3902 * rt/Makefile (otherlibs): Likewise.
3903 * sunrpc/Makefile (otherlibs): Likewise.
3904 * nss/Makefile (otherlibs): Likewise.
3905 Add libnss_files to routines and static-only-routines.
3906 ($(objpfx)getent): Remove rule.
3907 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3908 static-only-routines.
3909
7c69cd14
JM
39102012-03-22 Joseph Myers <joseph@codesourcery.com>
3911
3912 [BZ #13892]
3913 * math/s_cexp.c: Include <float.h>.
3914 (__cexp): Handle exp result overflowing not necessarily
3915 overflowing both real and imaginary parts of result.
3916 * math/s_cexpf.c: Likewise.
3917 * math/s_cexpl.c: Likewise.
3918 * math/libm-test.inc (cexp_test): Add more tests.
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3921
81b035fe
L
39222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3923
3924 * include/link.h (ELFW): New macro.
3925 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3926 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3927
1da7940c
L
39282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3931 with uint64_t.
3932
b749dbb9
L
39332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3936 declaration.
3937 (struct La_x32_retval): Likewise.
3938
2ff87f3f
L
39392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3940
3941 * sysdeps/x86_64/preconfigure.in: New file.
3942 * sysdeps/x86_64/preconfigure: New generated file.
3943
c0df8e69
JM
39442012-03-22 Joseph Myers <joseph@codesourcery.com>
3945
48e44791
JM
3946 [BZ #13824]
3947 * math/e_exp2l.c: Include <float.h>.
3948 (__ieee754_exp2l): Handle overflow and underflow cases
3949 separately. Only pass fractional part of argument to
3950 __ieee754_expl.
3951 * math/libm-test.inc (exp2_test): Add more tests.
3952
c0df8e69
JM
3953 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3954 negating x to take absolute value.
3955 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3956 Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3959 Likewise.
3960 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3961 computing low part if x was negated.
3962 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3963
c8e43ba7
L
39642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3967 la_x32_gnu_pltexit.
3968 (pltexit): Cast int_retval to ptrdiff_t.
3969 * elf/tst-auditmod3b.c: Likewise.
3970 * elf/tst-auditmod4b.c: Likewise.
3971 * elf/tst-auditmod5b.c: Likewise.
3972 * elf/tst-auditmod6b.c: Likewise.
3973 * elf/tst-auditmod6c.c: Likewise.
3974 * elf/tst-auditmod7b.c: Likewise.
3975
3976 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3977 and x32_gnu_pltexit.
3978
3979 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3980 __ELF_NATIVE_CLASS.
3981 (La_x32_regs): New macro.
3982 (La_x32_retval): Likewise.
3983 (la_x32_gnu_pltenter): New function prototype.
3984 (la_x32_gnu_pltexit): Likewise.
3985
7998fa78
AS
39862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3987
dcb33988
AS
3988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3989 exponent.
3990
233fc563
AS
3991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3992
7998fa78
AS
3993 * configure.in (libc_cv_cc_nofma): Check for option to disable
3994 generation of FMA instructions.
3995 * configure: Regenerate.
3996 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3997 * sysdeps/ieee754/dbl-64/Makefile: New file.
3998 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3999 Remove brandred-fma4.
4000 (CFLAGS-brandred-fma4.c): Remove.
4001 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4003 define.
4004 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4005 define.
4006
8e95c99a
L
40072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4010 LLONG_MAX != LONG_MAX.
4011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4012 (_fitoa_word): Likewise.
4013 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4014 LLONG_MAX != LONG_MAX.
4015 * stdio-common/_itowa.h: Include <_itoa.h>.
4016 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4017 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4018 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4019 only if not defined.
4020 (_ITOA_WORD_TYPE): Likewise.
4021 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4022 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4023
6f4db457
DM
40242012-03-21 David S. Miller <davem@davemloft.net>
4025
4026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4027
7785fe5a
L
40282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4031 of x86_64 when setting libc_cv_slibdir, libdir and
4032 libc_cv_localedir.
4033 * sysdeps/unix/sysv/linux/configure: Regenerated.
4034
4535cd55
JM
40352012-03-21 Joseph Myers <joseph@codesourcery.com>
4036
4037 * manual/lang.texi (Old Varargs): Remove section.
4038 (How Variadic): Update menu.
4039 (va_start): Do not mention varargs.h.
4040
17228132
TS
40412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4042 Joseph Myers <joseph@codesourcery.com>
4043
4044 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4045 link test.
4046 * configure: Regenerated.
4047
8149f976
TS
40482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4049
05f3d1f6
UD
4050 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4051 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4052 conformtest.pl
8149f976 4053
1a4ac776
JM
40542012-03-21 Joseph Myers <joseph@codesourcery.com>
4055
be22ce65
JM
4056 * NOTES: Remove.
4057 * Makefile (files-for-dist): Remove NOTES.
4058 (NOTES): Remove rule.
4059 * README: Don't refer to NOTES.
4060 * manual/creature.texi: Don't include macros.texi.
4061 * manual/intro.texi (creature.texi): Remove comment referring to
4062 NOTES.
4063
40b601fb
JM
4064 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4065 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4066 * configure: Regenerated.
4067 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4068 LIBC_TRY_CC_OPTION.
4069 (libc_cv_as_i686): Likewise.
4070 (libc_cv_cc_avx): Likewise.
4071 (libc_cv_cc_sse2avx): Likewise.
4072 (libc_cv_cc_fma4): Likewise.
4073 (libc_cv_cc_novzeroupper): Likewise.
4074 * sysdeps/i386/configure: Regenerated.
4075
1a4ac776
JM
4076 [BZ #13883]
4077 * sysdeps/i386/fpu/s_cexp.S: Remove.
4078 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4079 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4080 * math/libm-test.inc (cexp_test): Add more tests.
4081 * sysdeps/i386/fpu/libm-test-ulps: Update.
4082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4083
a458e7fe
AM
40842012-03-21 Allan McRae <allan@archlinux.org>
4085
4086 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4087
0cb7efc5
JM
40882012-03-21 Joseph Myers <joseph@codesourcery.com>
4089
4090 [BZ #13871]
4091 * math/w_exp2.c: Do not include <float.h>.
4092 (o_threshold, u_threshold): Remove.
4093 (__exp2): Calculate result before checking finiteness and calling
4094 __kernel_standard.
4095 * math/w_exp2f.c: Likewise.
4096 * math/w_exp2l.c: Likewise.
4097 * math/libm-test.inc (exp2_test): Require overflow exception for
4098 1e6 input.
2460d3aa
JM
4099
4100 [BZ #3866]
4101 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4102 range of signed 64-bit integers before using fistpll. Remove
4103 checks for whether integers fit in mantissa bits.
4104 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4105 the range of signed 32-bit integers before using fistpl. Remove
4106 checks for whether integers fit in mantissa bits.
4107 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4108 (__ieee754_powl): Test for y outside the range of signed 64-bit
4109 integers before using fistpll. Reduce 64-bit values to 63-bit
4110 ones as needed.
4111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4112 divide-by-zero is raised for zero to large negative powers.
4113 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4114 (__ieee754_powl): Test for y outside the range of signed 64-bit
4115 integers before using fistpll. Reduce 64-bit values to 63-bit
4116 ones as needed.
4117 * math/libm-test.inc (pow_test): Add more tests.
4118
eb96ffb0
L
41192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4122 <stdio-common/_itoa.h>.
4123 * debug/segfault.c: Likewise.
4124 * elf/dl-cache.c: Likewise.
4125 * elf/dl-minimal.c: Likewise.
4126 * elf/dl-misc.c: Likewise.
4127 * elf/dl-sysdep.c: Likewise.
4128 * elf/dl-version.c: Likewise.
4129 * elf/rtld.c: Likewise.
4130 * hurd/hurdsock.c: Likewise.
4131 * hurd/lookup-retry.c: Likewise.
4132 * malloc/malloc.c: Likewise.
4133 * malloc/mtrace.c: Likewise.
4134 * nscd/nscd_getgr_r.c: Likewise.
4135 * nscd/nscd_getpw_r.c: Likewise.
4136 * nscd/nscd_getserv_r.c: Likewise.
4137 * posix/getopt_init.c: Likewise.
4138 * posix/wordexp.c: Likewise.
4139 * stdio-common/_itoa.c: Likewise.
4140 * stdio-common/printf_fphex.c: Likewise.
4141 * stdio-common/vfprintf.c: Likewise.
4142 * string/_strerror.c: Likewise.
4143 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4144 * sysdeps/i386/i686/hp-timing.h: Likewise.
4145 * sysdeps/mach/_strerror.c: Likewise.
4146 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4147 * sysdeps/mach/hurd/sethostid.c: Likewise.
4148 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4149 * sysdeps/mach/xpg-strerror.c: Likewise.
4150 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4151 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4152 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4153 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4154 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4155 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4156 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4157 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4158 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4159 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4160 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4161 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4162 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4163 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4164 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4165 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4166 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4168 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4169 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4171
4172 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4173
4174 * stdio-common/_itoa.h: Moved to ...
4175 * sysdeps/generic/_itoa.h: Here.
4176
4177 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4178
4179 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4180 instead of "_itoa.h" and "_itowa.h".
4181 * stdio-common/vfprintf.: Likewise.
4182
d1af992d
L
41832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4186 <bits/wordsize.h>.
4187 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4188 (__signbit): Likwise.
4189 (llrintf): Likwise.
4190 (llrint): Likwise.
4191
114883e0
L
41922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4195 __WORDSIZE != 64.
4196
c135cc1b
JM
41972012-03-20 Joseph Myers <joseph@codesourcery.com>
4198
4199 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4200 OVERFLOW_EXCEPTION_OK.
4201 * math/libm-test.inc ("Philosophy"): Update comment about
4202 exception testing.
4203 (OVERFLOW_EXCEPTION): Define.
4204 (OVERFLOW_EXCEPTION_OK): Likewise.
4205 (INVALID_EXCEPTION_OK): Renumber.
4206 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4207 (IGNORE_ZERO_INF_SIGN): Likewise.
4208 (test_exceptions): Handle FE_OVERFLOW.
4209 (exp10_test): Expect overflow exceptions.
4210 (exp2_test): Likewise.
4211 (expm1_test): Likewise.
4212 (nextafter_test): Likewise.
4213 (pow_test): Likewise.
4214 (scalbn_test): Likewise.
4215 (scalbln_test): Likewise.
4216
95443d88
L
42172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4218
4219 * sysdeps/x86_64/bits/atomic.h
4220 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4221 64bit integer.
4222 (atomic_exchange_acq): Likewise.
4223 (__arch_exchange_and_add_body): Likewise.
4224 (__arch_add_body): Likewise.
4225 (atomic_add_negative): Likewise.
4226 (atomic_add_zero): Likewise.
4227
490df6c4
L
42282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4229
c2722551 4230 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4231 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4232
5e52b189
L
42332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4236 Check __x86_64__ instead of __WORDSIZE.
4237
a9879d4c
L
42382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4241
5df98260
DM
42422012-03-19 David S. Miller <davem@davemloft.net>
4243
e1497744
DM
4244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4245
5df98260
DM
4246 * sysdeps/sparc/fpu/fenv_private.h: New file.
4247 * sysdeps/sparc/fpu/math_private.h: Use it.
4248 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4249 Remove.
4250 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4251 (libc_feholdexcept_setroundl): Remove.
4252 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4253 Remove.
4254 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4255 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4256
b4c35121
L
42572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4258
4259 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4260 int64_t instead of long int.
4261 (INSERT_WORDS64): Likwise.
4262
56965fd7
L
42632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4266 _Unwind_GetCFA return to _Unwind_Ptr first.
4267
83d1aec8
JM
42682012-03-19 Joseph Myers <joseph@codesourcery.com>
4269
1897ad44
JM
4270 [BZ #13629]
4271 * math/s_clog.c: Include <float.h>.
4272 (__clog): Scale large or subnormal inputs.
4273 * math/s_clogf.c: Likewise.
4274 * math/s_clogl.c: Likewise.
4275 * math/s_clog10.c: Include <float.h>.
4276 (M_LOG10_2): Define.
4277 (__clog10): Scale large or subnormal inputs.
4278 * math/s_clog10f.c: Likewise.
4279 * math/s_clog10l.c: Likewise.
4280 * math/libm-test.inc (clog_test): Add more tests.
4281 (clog10_test): Likewise.
4282 * sysdeps/i386/fpu/libm-test-ulps: Update.
4283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4284
7726d6a9
JM
4285 [BZ #11451]
4286 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4287 x and y.
4288 * math/libm-test.inc (atan2_test): Add another test.
4289
83d1aec8
JM
4290 * Makerules (common-objdir-compile): Remove.
4291 * sysdeps/unix/Makefile (config-generated): Do not add
4292 $(unix-generated) to variable.
4293 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4294 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4295 Remove rule.
4296 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4297 Likewise.
4298 [generic bits/local_lim.h] (before-compile): Do not append to
4299 variable.
4300 [generic bits/local_lim.h] (common-generated): Likewise.
4301 [generic sys/param.h] (before-compile): Do not append to variable.
4302 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4303 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4304 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4305 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4306 include.
4307 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4308 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4309 [generic sys/param.h] ($(addprefix
4310 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4311 [generic sys/param.h] (common-generated): Do not append to
4312 variable.
4313 [generic sys/param.h] (sysdep_headers): Likewise.
4314 [generic bits/errno.h] (before-compile): Do not append to
4315 variable.
4316 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4317 rule.
4318 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4319 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4320 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4321 [generic bits/errno.h] (common-generated): Do not append to
4322 variable.
4323 [generic bits/ioctls.h] (before-compile): Do not append to
4324 variable.
4325 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4326 rule.
4327 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4328 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4329 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4330 rule.
4331 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4332 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4333 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4334 [generic bits/ioctls.h] (common-generated): Do not append to
4335 variable.
4336 [generic sys/syscall.h] (syscall.h): Remove variable.
4337 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4338 rule.
4339 [generic sys/syscall.h] (before-compile): Do not append to
4340 variable.
4341 [generic sys/syscall.h] (common-generated): Likewise.
4342 * sysdeps/unix/errnos-tmpl.c: Remove file.
4343 * sysdeps/unix/errnos.awk: Likewise.
4344 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4345 * sysdeps/unix/ioctls.awk: Likewise.
4346 * sysdeps/unix/mk-local_lim.c: Likewise.
4347 * sysdeps/unix/snarf-ioctls: Likewise.
4348
4851a949
RH
43492012-03-19 Richard Henderson <rth@twiddle.net>
4350
bd37f2ee
RH
4351 * sysdeps/i386/fpu/fenv_private.h: New file.
4352 * sysdeps/i386/fpu/math_private.h: Use it.
4353 (math_opt_barrier, math_force_eval): Remove.
4354 (libc_feholdexcept_setround_53bit): Remove.
4355 (libc_feupdateenv_53bit): Remove.
4356 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4357 (math_opt_barrier, math_force_eval): Remove.
4358 (libc_feholdexcept): Remove.
4359 (libc_feholdexcept_setround): Remove.
4360 (libc_fetestexcept, libc_fesetenv): Remove.
4361 (libc_feupdateenv_test): Remove.
4362 (libc_feupdateenv, libc_feholdsetround): Remove.
4363 (libc_feresetround): Remove.
4364
d0adc922
RH
4365 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4366 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4367
0fe0f1f8
RH
4368 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4369 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4370 (libc_feupdateenv_testl): New.
4371 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4372 (libc_feupdateenv_testf): New.
4373 (libc_feupdateenv): Use libc_feupdateenv_test.
4374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4375 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4376
eb92c487
RH
4377 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4378 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4379 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4380 (libc_feresetround_noex): New.
4381 (libc_feresetround_noexf): New.
4382 (libc_feresetround_noexl): New.
4383 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4384 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4385 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4386 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4387 SET_RESTORE_ROUND.
4388 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4389 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4390 (__cos): Likewise.
4391 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4392 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4393 SET_RESTORE_ROUND_NOEX.
4394 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4395 SET_RESTORE_ROUND_NOEXF.
4396 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4397 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4398 (libc_feholdsetroundf): New.
4399 (libc_feresetround, libc_feresetroundf): New.
4400
7d2e8012
RH
4401 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4402 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4403 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4404
b4dabbb4
RH
4405 * sysdeps/generic/math_private.h: Include <fenv.h>.
4406 (default_libc_feholdexcept): New.
4407 (default_libc_feholdexcept_setround): New.
4408 (default_libc_fesetenv, default_libc_feupdateenv): New.
4409 (libc_feholdexcept): Only define if undefined.
4410 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4411 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4412 (libc_feholdexcept_setroundl): Likewise.
4413 (libc_feholdexcept_setround_53bit): Likewise.
4414 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4415 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4416 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4417 (libc_feupdateenv_53bit): Likewise.
4418 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4419 (libc_feholdexcept): Convert from macro to inline function.
4420 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4421 (libc_fesetenv, libc_feupdateenv): Likewise.
4422
4851a949
RH
4423 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4424 not previously defined.
4425 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4426 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4427 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4428 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4429 * sysdeps/ieee754/flt-32/math_private.h: New file.
4430 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4431 math_private.h below SET_FLOAT_WORD.
4432 (__isnan, __isinf_ns, __finite): Remove.
4433 (__isnanf, __isinf_nsf, __finitef): Remove.
4434
e79d442e
AS
44352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4436
4437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4438
90b80344
DM
44392012-03-17 David S. Miller <davem@davemloft.net>
4440
4441 [BZ #6471]
4442 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4443 for 2.16.
4444
edc21804
DM
44452012-03-16 David S. Miller <davem@davemloft.net>
4446
77e927af
DM
4447 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4448 warnings.
4449
374976dd
DM
4450 [BZ #6471]
4451 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4452 properly.
4453 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4454 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4455 sysdep_routines when subdir is sysvipc.
4456 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4457 __getshmlba helper.
4458
edc21804
DM
4459 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4460
473c3ef3
L
44612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4464 [__LP64__].
4465
eb0f39b6
L
44662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4469 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4470 (__lround): Renamed to ...
4471 (__llround): This. Replace long int with long long int.
4472 Define lround functions as aliases of llround functions.
4473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4474
6b6cd74b
L
44752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4478 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4479 adresses to uintptr_t. Replace "long int" and "unsigned long
4480 int" with "greg_t" on va_arg.
4481
f1a77b01
L
44822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4485 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4486
4487 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4488 Move e_machine check before EI_CLASS check. Handle x32
4489 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4490 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4491 SKIP_EM_IA_64 and include
4492 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4493
4494 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4495 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4496 (add_system_dir): New macro.
4497
4498 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4499 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4500
11b90b9f
JM
45012012-03-16 Joseph Myers <joseph@codesourcery.com>
4502
c36e1d23
JM
4503 [BZ #2551]
4504 [BZ #2552]
4505 [BZ #2553]
4506 [BZ #2554]
4507 [BZ #2562]
4508 [BZ #2563]
4509 [BZ #2565]
4510 [BZ #2566]
4511 [BZ #2576]
4512 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4513 (y0): Likewise.
4514 * math/w_j0f.c (j0f): Likewise.
4515 (y0f): Likewise.
4516 * math/w_j0l.c (__j0l): Likewise.
4517 (__y0l): Likewise.
4518 * math/w_j1.c (j1): Likewise.
4519 (y1): Likewise.
4520 * math/w_j1f.c (j1f): Likewise.
4521 (y1f): Likewise.
4522 * math/w_j1l.c (__j1l): Likewise.
4523 (__y1l): Likewise.
4524 * math/w_jn.c (jn): Likewise.
4525 (yn): Likewise.
4526 * math/w_jnf.c (jnf): Likewise.
4527 (ynf): Likewise.
4528 * math/w_jnl.c (__jnl): Likewise.
4529 (__ynl): Likewise.
4530 * math/libm-test.inc (j0_test): Add more tests.
4531 (j1_test): Likewise.
4532 (jn_test): Likewise. Add trailing semicolon to existing test.
4533 (y0_test): Likewise.
4534 (y1_test): Likewise.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537
11b90b9f
JM
4538 [BZ #13851]
4539 [BZ #13854]
4540 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4541 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4542 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4543 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4544 (__tanl): Set errno for infinite argument.
4545 * sysdeps/i386/fpu/mptan.c: Remove.
4546 * sysdeps/i386/fpu/s_tan.S: Likewise.
4547 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4548 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4549 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4550 * math/libm-test.inc (tan_test): Add more tests and enable more
4551 tests for double and long double.
4552 * sysdeps/i386/fpu/libm-test-ulps: Update.
4553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4554
6a1bd2a1
JK
45552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4556
4557 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4558 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4559
10a803e0
RM
45602012-03-16 Roland McGrath <roland@hack.frob.com>
4561
4562 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4563 * configure.in: Use it for both main tree and add-ons.
4564 * configure: Regenerated.
4565
f196c7f7
L
45662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4567
4568 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4569
8848d99d
JM
45702012-03-16 Joseph Myers <joseph@codesourcery.com>
4571
96cbe7f4
JM
4572 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4573 in comment.
4574
8848d99d
JM
4575 [BZ #13851]
4576 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4577 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4578 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4579 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4580 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4581 infinite argument.
4582 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4584 != 0 for prec == 2.
4585 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4586 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4587 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4588 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4589 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4590 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4591 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4592 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4593 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4594 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4595 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4596 * math/libm-test.inc (cos_test): Add more tests and enable more
4597 tests for long double.
4598 (sin_test): Likewise.
4599 (sincos_test): Likewise.
4600 * sysdeps/i386/fpu/libm-test-ulps: Update.
4601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602
dd7f4703
DM
46032012-03-16 David S. Miller <davem@davemloft.net>
4604
4605 * sysdeps/sparc/fpu/math_private.h: New file.
4606
006f1daa
DM
46072012-03-15 David S. Miller <davem@davemloft.net>
4608
c0c83bc8
DM
4609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4610 file.
e6a62e18 4611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4613 file.
e6a62e18
DM
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4620 sysdep routines.
4621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4622
88cb87d9
DM
4623 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4624 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4625
006f1daa 4626 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4628 sparc-ifunc.h
006f1daa 4629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4631 Likewise.
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4633 Likewise.
006f1daa
DM
4634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4638 Likewise.
006f1daa
DM
4639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4644 Likewise.
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4646 Likewise.
006f1daa
DM
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4653 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4669 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4671
11e0098e
AS
46722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4675 scaling.
4676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4677
e85b09d0
AJ
46782012-03-15 Andreas Jaeger <aj@suse.de>
4679
4680 [BZ #13852]
4681 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4682 ieee754/flt-32 implementation for sin, cos and sincos.
4683 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4684 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4685 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4686 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4687 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4688 ieee754/flt-32 implementation for tan.
4689
4690 * math/libm-test.inc (cos_test): Enable some large input tests for
4691 float as well
4692 (sin_test): Likewise.
4693 (sincos_test): Likewise.
4694 (tan_test): Add tests for large input.
4695
4696 * sysdeps/i386/fpu/libm-test-ulps: Update.
4697
81c64153
AJ
46982012-03-15 Andreas Jaeger <aj@suse.de>
4699
4700 [BZ #13658]
4701 * math/libm-test.inc (cos_test): Add more test cases.
4702 (sin_test): Likewise.
4703 (sincos_test): Likewise.
4704
7bbfa5c6
AJ
47052012-03-15 Andreas Jaeger <aj@suse.de>
4706
4707 [BZ #13837]
4708 * math/libm-test.inc (cos_test): Add a test case for large input
4709 value.
4710 (sin_test): Likewise.
4711 (sincos_test): Likewise.
4712
47132012-03-15 Andreas Jaeger <aj@suse.de>,
4714 Joseph Myers <joseph@codesourcery.com>
4715
4716 [BZ #13658]
0671f479 4717 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4718 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4719 * sysdeps/i386/fpu/branred.c: Likewise.
4720 * sysdeps/i386/fpu/dosincos.c: Likewise.
4721 * sysdeps/i386/fpu/mpa.c: Likewise.
4722 * sysdeps/i386/fpu/s_cos.S: Likewise.
4723 * sysdeps/i386/fpu/s_sin.S: Likewise.
4724 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4725 * sysdeps/i386/fpu/sincos32.c: Likewise.
4726
4727 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4728 Define.
4729 (libc_feupdateenv_53bit): Define.
4730 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4731 Define.
4732 (libc_feupdateenv_53bit): Define.
4733
4734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4735 53 bit (without extend i386 double precision).
4736
4737 * math/libm-test.inc (sincos_test): Add tests for large input.
4738 (sin): Likewise.
4739 (cos): Likewise.
4740
4741 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4742
9cad04ea
AS
47432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4744
4745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4746
f7062b9a
DM
47472012-03-15 David S. Miller <davem@davemloft.net>
4748
4749 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4750 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4765 file.
f7062b9a 4766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4768 file.
f7062b9a 4769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4771 file.
f7062b9a 4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4774 file.
f7062b9a
DM
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4777 fmin/fmax sysdep routines.
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4779
7bd951ff
DM
47802012-03-14 David S. Miller <davem@davemloft.net>
4781
559398ab
DM
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4811 routines.
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4813 file.
559398ab 4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4816 file.
559398ab 4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4819 file.
559398ab 4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4822 file.
559398ab 4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4825 file.
559398ab 4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4828 file.
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4830 file.
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4832 file.
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4834 file.
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4836 New file.
4837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4838 file.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4840 file.
559398ab 4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4843 file.
559398ab 4844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4846 file.
559398ab 4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4849 file.
559398ab 4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4852 VIS3 routines.
559398ab
DM
4853
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4855 New file.
4856
5a1c1e32
DM
4857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4858
eae47a36
DM
4859 * sysdeps/sparc/configure.in: New file.
4860 * sysdeps/sparc/configure: Generate.
4861 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4862 * configure: Regenerate.
4863 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4864 * config.make.in (have-as-vis3): New.
4865 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4866 available use -Av9d instead of -Av9a.
4867 * sysdeps/sparc/sparc64/Makefile: Likewise.
4868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4870 New file.
4871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4872 file.
4873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4874 New file.
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4876 file.
eae47a36
DM
4877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4882
c0c83bc8
DM
4883 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4884 fzeros/fnegs to load 0x80000000 into a float register instead of
4885 using the stack.
7bd951ff
DM
4886 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4887
bd951ccb
JM
48882012-03-14 Joseph Myers <joseph@codesourcery.com>
4889
4890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4891 bits/syscall.h.
4892 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4893 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4894 ($(inst_includedir)/bits/syscall.h): Remove rule.
4895 ($(objpfx)bits/syscall.d): Include instead of
4896 $(objpfx)syscall-list.d.
4897 (generated): Change syscall-list.h and syscall-list.d to
4898 bits/syscall.h and bits/syscall.d.
4899
bb4e6db2
RM
49002012-03-14 Roland McGrath <roland@hack.frob.com>
4901
4902 [BZ #13846]
4903 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4904
aa4a2ae1
JM
49052012-03-14 Joseph Myers <joseph@codesourcery.com>
4906
e456826d
JM
4907 [BZ #13841]
4908 * math/s_csqrt.c: Include <float.h>.
4909 (__csqrt): Scale large or subnormal inputs.
4910 * math/s_csqrtf.c: Likewise.
4911 * math/s_csqrtl.c: Likewise.
4912 * math/libm-test.inc (csqrt_test): Add more tests.
4913 * sysdeps/i386/fpu/libm-test-ulps: Update.
4914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915
aa4a2ae1
JM
4916 [BZ #13840]
4917 * math/libm-test.inc (hypot_test): Add more tests.
4918
7c10fd35
DM
49192012-03-13 David S. Miller <davem@davemloft.net>
4920
4921 [BZ #13840]
4922 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4923 double-precision for the calculation instead of scaling.
4924
f453b98b
JM
49252012-03-13 Joseph Myers <joseph@codesourcery.com>
4926
4927 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4928 manipulate bits before adding and subtracting TWO52[sx].
4929 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4930 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4931 Likewise.
4932 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4933
09a3453f
DM
49342012-03-13 David S. Miller <davem@davemloft.net>
4935
8e59da90
DM
4936 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4937 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4939 rtld-global-offsets.h
4940 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4941
2a8ab7f2
DM
4942 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4943 large parameters.
4944
10f62770
DM
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4946
5f0bdb18
DM
4947 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4948 'err' in the ifdef scope in which it is actually used.
4949
09a3453f
DM
4950 * nss/nss_db/db-init.c: Include string.h
4951
b4b2eb5e
DM
49522012-03-12 David S. Miller <davem@davemloft.net>
4953
98bb2f1c
DM
4954 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4955 masking out of the most significant byte of random value used.
4956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4957 Fix coding style in previous change.
4958
b4b2eb5e
DM
4959 * sysdeps/unix/sysv/linux/kernel-features.h
4960 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4961 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4962 expression.
4963 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4964 later.
4965
6e226b09
DM
49662012-03-11 David S. Miller <davem@davemloft.net>
4967
a1bcbd40
DM
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4969 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4971 for 'resultvar' otherwise things get truncated on 64-bit.
4972
cb9d6174
DM
4973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4974 Fix masking out of the most significant byte of random value used.
4975
6e226b09
DM
4976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4977
058c132d
AS
49782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4979
4980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4981
2d2cd515
DM
49822012-03-09 David S. Miller <davem@davemloft.net>
4983
4984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4985 variables with appropriate CPP guards.
4986 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4987 frame pointer, not the stack pointer. Correct layout comments. Fix test
4988 on resulting framesize and the management of the outregs buffer for pltexit.
4989 Preserve floating point return values across _dl_call_pltexit call.
4990 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4991 framesize and the management of the outregs buffer for pltexit.
4992 Preserve floating point return values across _dl_call_pltexit
4993 call.
4994 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4995 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4996 (print_exit): Fix format string for return register value.
4997
9a07f9d0
JM
49982012-03-10 Joseph Myers <joseph@codesourcery.com>
4999
5000 * sunrpc/Makefile (others): Add rpcgen.
5001 ($(objpfx)rpcgen): Remove special build rule and dependency on
5002 libc.
5003 * sunrpc/rpcgen.c: New file.
5004
547b5e30
PE
50052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5006
c524201a
PE
5007 [BZ #13673]
5008 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5009 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5010 * sysdeps/i386/crti.S: Likewise.
5011 * sysdeps/i386/crtn.S: Likewise.
5012 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5013 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5016 * sysdeps/sh/crti.S: Likewise.
5017 * sysdeps/sh/crtn.S: Likewise.
5018 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5019
7b6235f2
PE
5020 [BZ #13673]
5021 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5022 with URL.
5023 * locale/programs/locfile-kw.gperf: Likewise.
5024 * locale/programs/charmap-kw.h: Regenerated.
5025 * locale/programs/locfile-kw.h: Likewise.
5026
547b5e30
PE
5027 [BZ #13673]
5028 * intl/plural.y: Replace FSF snail mail address with URL.
5029 * intl/plural.c: Regenerated.
5030
5f0a5dae
RH
50312012-03-09 Richard Henderson <rth@twiddle.net>
5032
5033 * include/math_private.h: Remove file.
5034 * math/math_private.h: Move file ...
5035 * sysdeps/generic/math_private.h: ... here.
5036
b8c03620
RH
5037 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5038 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5039 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5040
4e234f5d 5041 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5042 and <math_private.h>.
5043 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5044 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5045 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5046 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5047 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5058 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5131 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5134 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5135 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5136 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5137 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5140 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5141 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5143 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5144 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5145 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5147 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5148 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5149 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5151 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5153 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5171 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5175 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5176 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5177 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5178 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5179 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5187 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5188 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5192 * sysdeps/ieee754/k_standard.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5308 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5312 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5320 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5353 * sysdeps/ieee754/s_lib_version.c: Likewise.
5354 * sysdeps/ieee754/s_matherr.c: Likewise.
5355 * sysdeps/ieee754/s_signgam.c: Likewise.
5356 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5358 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5359 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5360 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5361 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5362 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5363 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5364 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5365 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5366 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5367 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5368 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5369 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5370 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5373 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5374 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5377
1991fa03
JM
53782012-03-09 Joseph Myers <joseph@codesourcery.com>
5379
5380 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5381 * sunrpc/rpc_main.c: Likewise.
5382 * sunrpc/rpc_svcout.c: Likewise.
5383
60d6f5a6
DM
53842012-03-09 David S. Miller <davem@davemloft.net>
5385
5386 * include/math_private.h: New file.
5387
4962050e
JM
53882012-03-09 Joseph Myers <joseph@codesourcery.com>
5389
02a6f887
JM
5390 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5391 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5392 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5393 from <bits/socket_type.h>.
5394 (enum __socket_type): Don't define here.
5395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5397 bits/socket_type.h.
5398
c6e013c1
JM
5399 [BZ #13566]
5400 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5401 checking __USE_GNU.
5402
4962050e
JM
5403 * Makerules ($(inst_includedir)/%.h): New rule.
5404 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5405 (install-others): Remove variable setting.
5406 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5407
38842f45
RH
54082012-03-08 Richard Henderson <rth@twiddle.net>
5409
67bb6da6
RH
5410 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5411 from macro to inline function; merge with the
5412 !__LIBC_INTERNAL_MATH_INLINES version.
5413 (__ieee754_sqrtf): Likewise.
5414
15194b4b
RH
5415 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5416 to inline function.
5417 (__rintf, __floor, __floorf): Likewise.
5418
64e21ede
RH
5419 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5420 macro to inline function.
5421 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5422
38842f45
RH
5423 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5424 not <math/math_private.h>.
5425
c64bf5fe
DM
54262012-03-08 David S. Miller <davem@davemloft.net>
5427
5428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5429 copyright year.
5430 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5431
82d86f28
TS
54322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5433
5434 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5435 normalization.
5436 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5437 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5438
aea5d727
UD
54392012-03-08 Ulrich Drepper <drepper@gmail.com>
5440
5441 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5442 be defined individually, they must be defined as a block. Define
5443 S for printing a string instead of hidint the different by using a
5444 macro for adding the 'l'.
5445 * stdio-common/tst-fphex-wide.c: Adjust.
5446
70bca0a3
MP
54472012-03-07 Marek Polacek <polacek@redhat.com>
5448
5449 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5450
65b81130
MP
54512012-03-08 Marek Polacek <polacek@redhat.com>
5452
5453 [BZ #13806]
5454 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5455 * stdio-common/tst-fphex.c: Define a few macros to make the
5456 test reusable. Use them.
5457 * stdio-common/tst-fphex-wide.c: New file.
5458
07037eeb
JM
54592012-03-08 Joseph Myers <joseph@codesourcery.com>
5460
a7a93d50
JM
5461 [BZ #6911]
5462 * manual/macros.texi (gnusystems): New macro.
5463 (nongnusystems): Likewise.
5464 (gnulinuxhurdsystems): Likewise.
5465 (gnuhurdsystems): Likewise..
5466 (gnulinuxsystems): Likewise.
5467 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5468 variants of the GNU system, not "GNU system".
5469 * manual/conf.texi: Likewise.
5470 * manual/errno.texi: Likewise. Update example of errno macro
5471 expansion.
5472 * manual/filesys.texi: Likewise.
5473 (getumask): Document as specific to GNU/Hurd.
5474 * manual/install.texi: Likewise. Reword some references to
5475 GNU/Linux.
5476 * manual/intro.texi: Likewise.
5477 * manual/io.texi: Likewise.
5478 (File Name Portability): Detail which constraints are inapplicable
5479 to all GNU systems and which are only inapplicable to GNU/Hurd.
5480 * manual/job.texi: Likewise.
5481 * manual/llio.texi: Likewise.
5482 (O_NOCTTY): Document as present on GNU/Linux.
5483 * manual/maint.texi: Likewise.
5484 * manual/memory.texi: Likewise.
5485 * manual/pattern.texi: Likewise.
5486 * manual/pipe.texi: Likewise.
5487 * manual/process.texi: Likewise.
5488 * manual/resource.texi: Likewise.
5489 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5490 child on GNU/Hurd.
5491 * manual/setjmp.texi: Likewise.
5492 * manual/signal.texi: Likewise.
5493 * manual/startup.texi: Likewise.
5494 * manual/stdio.texi: Likewise.
5495 * manual/terminal.texi: Likewise.
5496 (ONLCR): Document as POSIX.
5497 (OXTABS): Document availability on GNU/Linux as XTABS.
5498 (ONOEOT): Document availability separately from other bits.
5499 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5500 * manual/time.texi: Likewise.
5501 * manual/users.texi: Likewise.
5502 * INSTALL: Regenerated.
5503 * sysdeps/gnu/errlist.c: Regenerated.
5504
07037eeb
JM
5505 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5506 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5507 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5508 puts.
5509 * configure: Regenerated.
5510
d1d3431a
JM
55112012-03-07 Joseph Myers <joseph@codesourcery.com>
5512
af6a1e37
JM
5513 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5514 default includes instead of AC_HEADER_CHECK.
5515 * sysdeps/i386/configure: Regenerated.
5516
d1d3431a
JM
5517 [BZ #10716]
5518 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5519 * math/s_cacoshf.c (__cacoshf): Likewise.
5520 * math/s_cacoshl.c (__cacoshl): Likewise.
5521 * math/s_casinh.c (__casinh): Set signs of result from argument.
5522 * math/s_casinhf.c (__casinhf): Likewise.
5523 * math/s_casinhl.c (__casinhl): Likewise.
5524 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5525 (casinh_test): Add more tests.
5526 * sysdeps/i386/fpu/libm-test-ulps: Update.
5527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5528
482ff4da
UD
55292012-03-07 Ulrich Drepper <drepper@gmail.com>
5530
872fda05
UD
5531 * po/zh_TW.po: Update from translation team.
5532
a4300c7a
UD
5533 * login/Makefile (distribute): Remove variable.
5534 * catgets/Makefile: Likewise.
5535 * mach/Makefile: Likewise.
5536 * malloc/Makefile: Likewise.
5537 * misc/Makefile: Likewise.
5538 * iconv/Makefile: Likewise.
5539 * nscd/Makefile: Likewise.
5540 * hurd/Makefile: Likewise.
5541 * manual/Makefile: Likewise.
5542 * locale/Makefile: Likewise.
5543 * intl/Makefile: Likewise.
5544 * conform/Makefile: Likewise.
5545 * nss/Makefile: Likewise.
5546 * time/Makefile: Likewise.
5547 * soft-fp/Makefile: Likewise.
5548 * dirent/Makefile: Likewise.
5549 * gmon/Makefile: Likewise.
5550 * po/Makefile: Likewise.
5551 * rt/Makefile: Likewise.
5552 * socket/Makefile: Likewise.
5553 * math/Makefile: Likewise.
5554 * signal/Makefile: Likewise.
5555 * debug/Makefile: Likewise.
5556 * elf/Makefile: Likewise.
5557 * timezone/Makefile: Likewise.
5558 * stdlib/Makefile: Likewise.
5559 * iconvdata/Makefile: Likewise.
5560 * sunrpc/Makefile: Likewise.
5561 * io/Makefile: Likewise.
5562 * argp/Makefile: Likewise.
5563 * inet/Makefile: Likewise.
5564 * hesiod/Makefile: Likewise.
5565 * grp/Makefile: Likewise.
5566 * csu/Makefile: Likewise.
5567 * wctype/Makefile: Likewise.
5568 * crypt/Makefile: Likewise.
5569 * libio/Makefile: Likewise.
5570 * string/Makefile: Likewise.
5571 * nis/Makefile: Likewise.
5572 * resolv/Makefile: Likewise.
5573 * stdio-common/Makefile: Likewise.
5574 * wcsmbs/Makefile: Likewise.
5575 * dlfcn/Makefile: Likewise.
5576 * posix/Makefile: Likewise.
5577
3b7c4e74 5578 [BZ #6959]
482ff4da
UD
5579 * timezone/Makefile: Don't install timezone files, just the programs
5580 and scripts.
5581
f72ed77d
UD
55822012-03-06 Ulrich Drepper <drepper@gmail.com>
5583
a000466f
UD
5584 * nss/databases.def: Add missing gshadow entry.
5585
f72ed77d
UD
5586 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5587
a53b7a4e
MP
55882012-03-06 Marek Polacek <polacek@redhat.com>
5589
5590 [BZ #13726]
5591 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5592 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5593 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5594 * stdio-common/tst-long-dbl-fphex.c: New file.
5595
e9258400
DM
55962012-03-06 David S. Miller <davem@davemloft.net>
5597
5598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5599 (set_obp_int): New function.
5600 (get_obp_int): New function.
5601 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5603 Avoid unused variable warnings on 'val' and use builtin_expect.
5604 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5605 __builtin_expect.
e9258400
DM
5606 (INLINE_CLONE_SYSCALL): Likewise.
5607
3bd2c723
DM
56082012-03-05 David S. Miller <davem@davemloft.net>
5609
5610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5611
bbb78d03
AS
56122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5613
884c5db4
AS
5614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5615
bbb78d03
AS
5616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5617 only for |x| >= 40.
5618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5619
1c9f702a 56202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5621
5622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5623 Replace gettimeofday with __vdso_gettimeofday.
5624
7be16f82
RM
5625 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5626 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5627 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5628
5629 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5630 time with __vdso_time.
5631
ed58a00f
JM
56322012-03-05 Joseph Myers <joseph@codesourcery.com>
5633
5634 * manual/lang.texi (size_t): Note types to which size_t may be
5635 equivalent with the GNU C Library, but do not describe when
5636 differences between them are significant.
5637
30ee4ced
AJ
56382012-03-05 Andreas Jaeger <aj@suse.de>
5639
5640 * sysdeps/i386/fpu/libm-test-ulps: Update.
5641
b7cd39e8
JM
56422012-03-05 Joseph Myers <joseph@codesourcery.com>
5643
5644 [BZ #3976]
5645 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5646 (__ieee754_pow): Save and restore rounding mode and use
5647 round-to-nearest for main computations.
5648 * math/libm-test.inc (pow_test_tonearest): New function.
5649 (pow_test_towardzero): Likewise.
5650 (pow_test_downward): Likewise.
5651 (pow_test_upward): Likewise.
5652 (main): Call the new functions.
5653 * sysdeps/i386/fpu/libm-test-ulps: Update.
5654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5655
5656 [BZ #3976]
5657 * math/libm-test.inc (cosh_test_tonearest): New function.
5658 (cosh_test_towardzero): Likewise.
5659 (cosh_test_downward): Likewise.
5660 (cosh_test_upward): Likewise.
5661 (sinh_test_tonearest): Likewise.
5662 (sinh_test_towardzero): Likewise.
5663 (sinh_test_downward): Likewise.
5664 (sinh_test_upward): Likewise.
5665 (main): Call the new functions.
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5668
6c6a98c9
TV
56692012-03-05 Tom de Vries <tom@codesourcery.com>
5670
5671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5672 default stack guard is set in last bytes.
5673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5674
21bb2d2e 56752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5676
21bb2d2e 5677 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5678
21bb2d2e
AJ
5679 [BZ #13656]
5680 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5681 possibly allocate from heap instead of stack.
5682 * stdio-common/bug-vfprintf-nargs.c: New file.
5683 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5684
c6922934
AS
56852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5688
bc957d53
MP
56892012-03-03 Marek Polacek <polacek@redhat.com>
5690
5691 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5692 * math/math_private.h: Likewise.
5693 * stdlib/tst-strtod.c: Likewise.
5694 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5695 * sysdeps/x86_64/bits/atomic.h: Likewise.
5696
6358490d
DM
56972012-03-02 David S. Miller <davem@davemloft.net>
5698
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5703 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5704 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5705 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5706 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5707
01ae168d
RM
57082012-03-02 Roland McGrath <roland@hack.frob.com>
5709
d9a17c07
RM
5710 [BZ #13792]
5711 * manual/examples/README: New file, says the example source files
5712 can be used under GPL>=2.
5713 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5714 line containing just "*/".
5715 * manual/examples/add.c: Add copyright header (GPL>=2).
5716 * manual/examples/argp-ex1.c: Likewise.
5717 * manual/examples/argp-ex2.c: Likewise.
5718 * manual/examples/argp-ex3.c: Likewise.
5719 * manual/examples/argp-ex4.c: Likewise.
5720 * manual/examples/atexit.c: Likewise.
5721 * manual/examples/db.c: Likewise.
5722 * manual/examples/dir.c: Likewise.
5723 * manual/examples/dir2.c: Likewise.
5724 * manual/examples/execinfo.c: Likewise.
5725 * manual/examples/filecli.c: Likewise.
5726 * manual/examples/filesrv.c: Likewise.
5727 * manual/examples/fmtmsgexpl.c: Likewise.
5728 * manual/examples/genpass.c: Likewise.
5729 * manual/examples/inetcli.c: Likewise.
5730 * manual/examples/inetsrv.c: Likewise.
5731 * manual/examples/isockad.c: Likewise.
5732 * manual/examples/longopt.c: Likewise.
5733 * manual/examples/memopen.c: Likewise.
5734 * manual/examples/memstrm.c: Likewise.
5735 * manual/examples/mkfsock.c: Likewise.
5736 * manual/examples/mkisock.c: Likewise.
5737 * manual/examples/mygetpass.c: Likewise.
5738 * manual/examples/pipe.c: Likewise.
5739 * manual/examples/popen.c: Likewise.
5740 * manual/examples/rprintf.c: Likewise.
5741 * manual/examples/search.c: Likewise.
5742 * manual/examples/select.c: Likewise.
5743 * manual/examples/setjmp.c: Likewise.
5744 * manual/examples/sigh1.c: Likewise.
5745 * manual/examples/sigusr.c: Likewise.
5746 * manual/examples/stpcpy.c: Likewise.
5747 * manual/examples/strdupa.c: Likewise.
5748 * manual/examples/strftim.c: Likewise.
5749 * manual/examples/strncat.c: Likewise.
5750 * manual/examples/subopt.c: Likewise.
5751 * manual/examples/swapcontext.c: Likewise.
5752 * manual/examples/termios.c: Likewise.
5753 * manual/examples/testopt.c: Likewise.
5754 * manual/examples/testpass.c: Likewise.
5755 * manual/examples/timeval_subtract.c: Likewise.
5756
01ae168d
RM
5757 [BZ #13792]
5758 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5759 function to ...
5760 * manual/timeval_subtract.c.texi: ... here, new file.
5761
49efa33d
DM
57622012-03-02 David S. Miller <davem@davemloft.net>
5763
5764 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5765
28afd92d
JM
57662012-03-02 Joseph Myers <joseph@codesourcery.com>
5767
804360ed
JM
5768 [BZ #3976]
5769 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5770 (__sin): Save and restore rounding mode and use round-to-nearest
5771 for all computations.
5772 (__cos): Save and restore rounding mode and use round-to-nearest
5773 for all computations.
5774 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5775 <fenv.h>.
5776 (tan): Save and restore rounding mode and use round-to-nearest for
5777 all computations.
5778 * math/libm-test.inc (cos_test_tonearest): New function.
5779 (cos_test_towardzero): Likewise.
5780 (cos_test_downward): Likewise.
5781 (cos_test_upward): Likewise.
5782 (sin_test_tonearest): Likewise.
5783 (sin_test_towardzero): Likewise.
5784 (sin_test_downward): Likewise.
5785 (sin_test_upward): Likewise.
5786 (tan_test_tonearest): Likewise.
5787 (tan_test_towardzero): Likewise.
5788 (tan_test_downward): Likewise.
5789 (tan_test_upward): Likewise.
5790 (main): Call the new functions.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793
a6d06d7b
JM
5794 [BZ #10135]
5795 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5796 small n, then large n, before computing and testing k+n.
5797 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5799 Likewise.
5800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5801 Likewise.
5802 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5803 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5804 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5805 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5809 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5810 * math/libm-test.inc (scalbn_test): Add more tests.
5811 (scalbln_test): Likewise.
5812
07e12bb3
JM
5813 * manual/filesys.texi (mode_t): Describe constraints on size and
5814 signedness, not exact equivalence to a particular type.
5815 (ino_t): Likewise.
5816 (ino64_t): Likewise.
5817 (dev_t): Likewise.
5818 (nlink_t): Likewise.
5819 (blkcnt_t): Likewise.
5820 (blkcnt64_t): Likewise.
5821 * manual/llio.texi (off_t): Likewise.
5822
28afd92d
JM
5823 [BZ #3976]
5824 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5825 (__ieee754_exp): Save and restore rounding mode and use
5826 round-to-nearest for all computations.
5827 * math/libm-test.inc (exp_test_tonearest): New function.
5828 (exp_test_towardzero): Likewise.
5829 (exp_test_downward): Likewise.
5830 (exp_test_upward): Likewise.
5831 (main): Call the new functions.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
b1eeb65d
CD
58352012-03-01 Chris Demetriou <cgd@google.com>
5836
5837 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5838 have predictable order.
5839
53362a4b
DM
58402012-03-01 David S. Miller <davem@davemloft.net>
5841
3c969083
DM
5842 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5843
759707de
DM
5844 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5845 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5846 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5847 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5848
dfdb8ff2
DM
5849 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5850 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5851 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5854 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5858
ead89f96
DM
5859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5860
7f66bd07
DM
5861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5862 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5864
53362a4b
DM
5865 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5866 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5867 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5868 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5869 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5871 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5872 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5881 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5882 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5883 * sysdeps/sparc/elf/configure: Regenerated.
5884
7b1902cb
JM
58852012-03-01 Joseph Myers <joseph@codesourcery.com>
5886
bec039bc
JM
5887 * configure.in (AS, LD): Require binutils 2.20 or later.
5888 * configure: Regenerated.
5889 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5890 as required minimum version.
5891 * INSTALL: Regenerated.
5892
7b1902cb
JM
5893 [BZ #2541]
5894 [BZ #4108]
5895 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5896 before squaring exponent.
5897 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5898 bottom long double and 27 bits of top long double before squaring
5899 exponent.
5900 * math/libm-test.inc (erfc_test): Add more tests.
5901 * sysdeps/i386/fpu/libm-test-ulps: Update.
5902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
f775c276
KT
59052012-03-01 Kai Tietz <ktietz@redhat.com>
5906
5907 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5908 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5909 containing bit-fields.
5910 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5911 * soft-fp/single.h (_FP_UNION_S): Likewise.
5912 * soft-fp/double.h (_FP_UNION_D): Likewise.
5913
5b8a4d4a
JM
59142012-02-29 Joseph Myers <joseph@codesourcery.com>
5915
0bab47b6
JM
5916 [BZ #13786]
5917 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5918 not include ../strcmp.S.
5919 [USE_AS_STRNCASECMP_L]: Likewise.
5920 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5921 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5922 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5923 (__strncasecmp_l_ia32): Define as alias to
5924 __strncasecmp_l_nonascii.
5925
0fcad3e2
JM
5926 [BZ #5794]
5927 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5928 * sysdeps/i386/fpu/libm-test-ulps: Update.
5929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5930
5b8a4d4a
JM
5931 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
8fdceb2e
JL
59342012-02-29 Jeff Law <law@redhat.com>
5935
5936 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5937 out of bounds read.
5938
1f393a11
MP
59392012-02-29 Marek Polacek <polacek@redhat.com>
5940
5941 [BZ #13706]
5942 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5943 * elf/Makefile: Add rules to run tst-unused-dep.out.
5944
8847f037
DM
59452012-02-28 David S. Miller <davem@davemloft.net>
5946
5947 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5948 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5951 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5952 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5953
169d7f11
JM
59542012-02-29 Joseph Myers <joseph@codesourcery.com>
5955
5956 * math/libm-test.inc (llround_test): Move one test from
5957 lround_test. Use TEST_f_L in moved test.
5958 (lround_test): Move misplaced test to llround_test. Add testcase
5959 from bug 2561.
5960
39adf059
UD
59612012-02-28 Ulrich Drepper <drepper@gmail.com>
5962
5963 * sysdeps/x86_64/fpu/e_expf.S: New file.
5964 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5965
71b5d1c5
SB
59662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5967
5968 [BZ #13637]
5969 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5970 of remain_len that may cause incomplete multi-byte character and
5971 false match.
5972 * posix/bug-regex33.c: New file.
5973 * posix/Makefile (tests): Add bug-regex33.
5974
1f77f049
JM
59752012-02-28 Joseph Myers <joseph@codesourcery.com>
5976
5977 * manual/macros.texi: New file.
5978 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5979 * manual/libc.texinfo: Include macros.texi.
5980 * manual/creatute.texi: Likewise.
5981 * manual/install.texi: Likewise.
5982 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5983 @glibcadj{} in references to the GNU C Library.
5984 * manual/charset.texi: Likewise.
5985 * manual/conf.texi: Likewise.
5986 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5987 when not using those macros.
5988 * manual/creature.texi: Likewise.
5989 * manual/crypt.texi: Likewise.
5990 * manual/errno.texi: Likewise.
5991 * manual/filesys.texi: Likewise.
5992 * manual/header.texi: Likewise.
5993 * manual/install.texi: Likewise.
5994 * manual/intro.texi: Likewise.
5995 * manual/io.texi: Likewise.
5996 * manual/job.texi: Likewise.
5997 * manual/lang.texi: Likewise.
5998 * manual/libc.texiinfo: Likewise.
5999 * manual/llio.texi: Likewise.
6000 * manual/locale.texi: Likewise.
6001 * manual/maint.texi: Likewise.
6002 * manual/math.texi: Likewise.
6003 * manual/memory.texi: Likewise.
6004 * manual/message.texi: Likewise.
6005 * manual/nss.texi: Likewise.
6006 * manual/pattern.texi: Likewise.
6007 * manual/process.texi: Likewise.
6008 * manual/resource.texi: Likewise.
6009 * manual/search.texi: Likewise.
6010 * manual/setjmp.texi: Likewise.
6011 * manual/signal.texi: Likewise.
6012 * manual/socket.texi: Likewise.
6013 * manual/startup.texi: Likewise.
6014 * manual/stdio.texi: Likewise.
6015 * manual/string.texi: Likewise.
6016 * manual/sysinfo.texi: Likewise.
6017 * manual/syslog.texi: Likewise.
6018 * manual/terminal.texi: Likewise.
6019 * manual/time.texi: Likewise.
6020 * manual/users.texi: Likewise.
6021 * INSTALL: Regenerated.
6022 * NOTES: Regenerated.
d40c5d54 6023 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6024
450bf206
AS
60252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * include/dirent.h: Include <dirstream.h> before
6028 <dirent/dirent.h>.
6029
741a235b
DM
60302012-02-28 David S. Miller <davem@davemloft.net>
6031
6032 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6033 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6034 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6035 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6036
d6b5aa58
DM
60372012-02-27 David S. Miller <davem@davemloft.net>
6038
1aff59a3
DM
6039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6042 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6043
d6b5aa58
DM
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6045 frame pointer instead of stack pointer relative arg slot.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6047 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6048 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6049
433f48bf
CD
60502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6051
6052 [BZ #3992]
6053 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6054
d674b76d
DM
60552012-02-27 David S. Miller <davem@davemloft.net>
6056
6057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6062 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6063 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6064 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6065
0e7727f7
JM
60662012-02-27 Joseph Myers <joseph@codesourcery.com>
6067
6068 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6069 later. Allow versions 5-9.
43be4ca2 6070 * configure: Regenerated.
0e7727f7
JM
6071 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6072 required minimum version and 4.6 as recommended version. Do not
6073 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6074 * INSTALL: Regenerated.
0e7727f7 6075
a78bc654
DM
60762012-02-27 David S. Miller <davem@davemloft.net>
6077
428d5830
DM
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6082 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6083 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6084 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6085 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6086
a78bc654
DM
6087 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6088 manipulate bits before adding and subtracting TWO112[sx].
6089 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6090
4579f81c
RM
60912012-02-27 Roland McGrath <roland@hack.frob.com>
6092
36c8acb4
RM
6093 [BZ #13775]
6094 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6095 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6096 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6097 being in POSIX, because they are in 1003.1-2008.
6098
84ad622b
RM
6099 * rt/tst-aio.c: Include <fcntl.h>.
6100 * rt/tst-aio7.c: Likewise.
6101 * rt/tst-aio64.c: Likewise.
6102
4579f81c
RM
6103 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6104
abd923db
JM
61052012-02-27 Joseph Myers <joseph@codesourcery.com>
6106
6107 * manual/install.texi (--with-headers): Describe headers as
6108 interface headers, not private headers.
6109 (Specific advice for GNU/Linux systems): Describe use of headers
6110 from "make headers_install", not private headers from older
6111 kernels.
43be4ca2 6112 * INSTALL: Regenerated.
abd923db
JM
6113 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6114 Change to 2.6.19.
6115 * sysdeps/unix/sysv/linux/configure: Regenerated.
6116
6664049b
JM
6117 * manual/llio.texi (fclean): Remove documentation.
6118
bb8b6697
JM
6119 * manual/Makefile (libc-texi-generated): New variable. Include
6120 version.texi.
6121 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6122 $(libc-texi-generated), not duplicated list of files.
6123 (version.texi, stamp-version): New rules.
6124 (realclean): Remove $(libc-texi-generated), not individual files
6125 from that list. Do not remove dir-add.texinfo.
6126 * manual/libc.texinfo: Comment out uses of edition numbers and
6127 references to printed manual. Remove last-updated dates.
6128 (EDITION): Comment out.
6129 (ISBN): Likewise.
6130 (VERSION, UPDATED): Remove.
6131 (version.texi): Include.
6132
12e5c3b9
AS
61332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6134
6135 * sysdeps/posix/spawni.c: Include <signal.h>.
6136 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6137 * sysdeps/pthread/aio_fsync.c: Likewise.
6138
4efeffc1 61392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6140
ba63ba08
UD
6141 * conform/Makefile (tests): Run only when not cross-compiling and
6142 when fast-check is not defined.
6143
d94a4670
UD
6144 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6145 * conform/data/limits.h-data: Fixes for POSIX2008.
6146 * conform/run-conformtest.sh: Run all tests.
6147 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6148 headers.
6149 * include/bits/dlfcn.h: Likewise.
6150 * include/langinfo.h: Likewise.
6151 * include/monetary.h: Likewise.
6152 * include/sys/poll.h: Likewise.
6153
6154 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6155 for __USE_GNU.
6156 * posix/spawn.h: Define __need_sigset_t.
6157 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6158 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6159 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6160 to get sigevent_t only.
6161 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6162 only for __USE_GNU.
6163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6164 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6165 process_vm_writev only for __USE_GNU.
6166 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6167
6168 * conform/Makefile: For now ignore errors from run-conformtest.
6169 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6170 POSIX to avoid namespace pollution. Don't prepend headers.
6171 * conform/data/aio.h-data: Fixes for POSIX testing.
6172 * conform/data/fcntl.h-data: Likewise.
6173 * conform/data/glob.h-data: Likewise.
6174 * conform/data/grp.h-data: Likewise.
6175 * conform/data/pthread.h-data: Likewise.
6176 * conform/data/pwd.h-data: Likewise.
6177 * conform/data/signal.h-data: Likewise.
6178 * conform/data/spawn.h-data: Likewise.
6179 * conform/data/stdio.h-data: Likewise.
6180 * conform/data/stdlib.h-data: Likewise.
6181 * conform/data/stropts.h-data: Likewise.
6182 * conform/data/sys/mman.h-data: Likewise.
6183 * conform/data/sys/stat.h-data: Likewise.
6184 * conform/data/sys/types.h-data: Likewise.
6185 * conform/data/sys/wait.h-data: Likewise.
6186 * conform/data/time.h-data: Likewise.
6187 * conform/data/unistd.h-data: Likewise.
6188 * conform/data/utime.h-data: Likewise.
6189
6190 * io/sys/stat.h: fchmod was always in POSIX.
6191 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6192 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6193 * rt/aio.h: Define __need_timespec before including <time.h>.
6194 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6195 struct. Add forward declaration of pthread_attr_t and use it in
6196 sigevent.
6197 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6198 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6199 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6200 always remove CLK_TCK definition.
6201
c20105c3
AS
62022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6203
6204 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6205
7a270350
UD
62062012-02-25 Ulrich Drepper <drepper@gmail.com>
6207
31341567
UD
6208 * conform/run-conformtest.sh: New file.
6209 * conform/Makefile: Run run-conformtest for tests.
6210 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6211 support.
6212
6213 * conform/data/uchar.h-data: New file.
6214 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6215 * conform/data/arpa/inet.h-data: Likewise.
6216 * conform/data/assert.h-data: Likewise.
6217 * conform/data/complex.h-data: Likewise.
6218 * conform/data/cpio.h-data: Likewise.
6219 * conform/data/ctype.h-data: Likewise.
6220 * conform/data/dirent.h-data: Likewise.
6221 * conform/data/dlfcn.h-data: Likewise.
6222 * conform/data/errno.h-data: Likewise.
6223 * conform/data/fcntl.h-data: Likewise.
6224 * conform/data/float.h-data: Likewise.
6225 * conform/data/fmtmsg.h-data: Likewise.
6226 * conform/data/fnmatch.h-data: Likewise.
6227 * conform/data/ftw.h-data: Likewise.
6228 * conform/data/glob.h-data: Likewise.
6229 * conform/data/grp.h-data: Likewise.
6230 * conform/data/iconv.h-data: Likewise.
6231 * conform/data/inttypes.h-data: Likewise.
6232 * conform/data/langinfo.h-data: Likewise.
6233 * conform/data/libgen.h-data: Likewise.
6234 * conform/data/limits.h-data: Likewise.
6235 * conform/data/locale.h-data: Likewise.
6236 * conform/data/math.h-data: Likewise.
6237 * conform/data/monetary.h-data: Likewise.
6238 * conform/data/mqueue.h-data: Likewise.
6239 * conform/data/ndbm.h-data: Likewise.
6240 * conform/data/net/if.h-data: Likewise.
6241 * conform/data/netdb.h-data: Likewise.
6242 * conform/data/netinet/in.h-data: Likewise.
6243 * conform/data/nl_types.h-data: Likewise.
6244 * conform/data/poll.h-data: Likewise.
6245 * conform/data/pthread.h-data: Likewise.
6246 * conform/data/pwd.h-data: Likewise.
6247 * conform/data/regex.h-data: Likewise.
6248 * conform/data/sched.h-data: Likewise.
6249 * conform/data/search.h-data: Likewise.
6250 * conform/data/semaphore.h-data: Likewise.
6251 * conform/data/setjmp.h-data: Likewise.
6252 * conform/data/signal.h-data: Likewise.
6253 * conform/data/spawn.h-data: Likewise.
6254 * conform/data/stdarg.h-data: Likewise.
6255 * conform/data/stdio.h-data: Likewise.
6256 * conform/data/stdlib.h-data: Likewise.
6257 * conform/data/string.h-data: Likewise.
6258 * conform/data/strings.h-data: Likewise.
6259 * conform/data/stropts.h-data: Likewise.
6260 * conform/data/sys/ipc.h-data: Likewise.
6261 * conform/data/sys/mman.h-data: Likewise.
6262 * conform/data/sys/msg.h-data: Likewise.
6263 * conform/data/sys/resource.h-data: Likewise.
6264 * conform/data/sys/select.h-data: Likewise.
6265 * conform/data/sys/sem.h-data: Likewise.
6266 * conform/data/sys/shm.h-data: Likewise.
6267 * conform/data/sys/socket.h-data: Likewise.
6268 * conform/data/sys/stat.h-data: Likewise.
6269 * conform/data/sys/statvfs.h-data: Likewise.
6270 * conform/data/sys/time.h-data: Likewise.
6271 * conform/data/sys/timeb.h-data: Likewise.
6272 * conform/data/sys/times.h-data: Likewise.
6273 * conform/data/sys/types.h-data: Likewise.
6274 * conform/data/sys/uio.h-data: Likewise.
6275 * conform/data/sys/un.h-data: Likewise.
6276 * conform/data/sys/utsname.h-data: Likewise.
6277 * conform/data/sys/wait.h-data: Likewise.
6278 * conform/data/syslog.h-data: Likewise.
6279 * conform/data/tar.h-data: Likewise.
6280 * conform/data/termios.h-data: Likewise.
6281 * conform/data/utime.h-data: Likewise.
6282 * conform/data/utmpx.h-data: Likewise.
6283 * conform/data/varargs.h-data: Likewise.
6284 * conform/data/wchar.h-data: Likewise.
6285 * conform/data/wctype.h-data: Likewise.
6286 * conform/data/wordexp.h-data: Likewise.
6287
6288 * include/stropts.h: New file.
6289 * include/uchar.h: New file.
6290 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6291 * include/assert.h: Likewise.
6292 * include/ctype.h: Likewise.
6293 * include/dirent.h: Likewise.
6294 * include/dlfcn.h: Likewise.
6295 * include/fcntl.h: Likewise.
6296 * include/fnmatch.h: Likewise.
6297 * include/glob.h: Likewise.
6298 * include/grp.h: Likewise.
6299 * include/libio.h: Likewise.
6300 * include/locale.h: Likewise.
6301 * include/math.h: Likewise.
6302 * include/net/if.h: Likewise.
6303 * include/netdb.h: Likewise.
6304 * include/netinet/in.h: Likewise.
6305 * include/pthread.h: Likewise.
6306 * include/pwd.h: Likewise.
6307 * include/regex.h: Likewise.
6308 * include/sched.h: Likewise.
6309 * include/search.h: Likewise.
6310 * include/setjmp.h: Likewise.
6311 * include/signal.h: Likewise.
6312 * include/stdio.h: Likewise.
6313 * include/stdlib.h: Likewise.
6314 * include/string.h: Likewise.
6315 * include/sys/cdefs.h: Likewise.
6316 * include/sys/mman.h: Likewise.
6317 * include/sys/msg.h: Likewise.
6318 * include/sys/resource.h: Likewise.
6319 * include/sys/select.h: Likewise.
6320 * include/sys/socket.h: Likewise.
6321 * include/sys/stat.h: Likewise.
6322 * include/sys/statvfs.h: Likewise.
6323 * include/sys/time.h: Likewise.
6324 * include/sys/times.h: Likewise.
6325 * include/sys/uio.h: Likewise.
6326 * include/sys/utsname.h: Likewise.
6327 * include/sys/wait.h: Likewise.
6328 * include/termios.h: Likewise.
6329 * include/time.h: Likewise.
6330 * include/ulimit.h: Likewise.
6331 * include/unistd.h: Likewise.
6332 * include/utime.h: Likewise.
6333 * include/wchar.h: Likewise.
6334 * include/wctype.h: Likewise.
6335 * include/wordexp.h: Likewise.
6336
6337 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6338
7a270350
UD
6339 * time/time.h: TIME_UTC must be a macro.
6340 Make timespec_get available for ISO C11 only as well.
6341
7724defc
UD
63422012-02-24 Ulrich Drepper <drepper@gmail.com>
6343
6344 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6345 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6346
6b1d1d46
JM
63472012-02-24 Joseph Myers <joseph@codesourcery.com>
6348
6349 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6350
0f8bbd69
JM
63512012-02-24 Joseph Myers <joseph@codesourcery.com>
6352
6353 * manual/texinfo.tex: Update to version 2012-01-19.16.
6354
66ab80bc
JM
63552012-02-24 Joseph Myers <joseph@codesourcery.com>
6356
6357 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6358
74981cc5
RM
63592012-02-24 Roland McGrath <roland@hack.frob.com>
6360
ee968201
RM
6361 [BZ #13738]
6362 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6363 * manual/fdl-1.3.texi: New file.
6364 * manual/fdl-1.1.texi: File removed.
6365
74981cc5
RM
6366 [BZ #13738]
6367 * manual/libc.texinfo (FDL_VERSION): New @set.
6368 Use it for mention of FDL in cover text.
6369 (Documentation License): Use it in @include file name.
6370
7bb764bc
JM
63712012-02-22 Joseph Myers <joseph@codesourcery.com>
6372 Roland McGrath <roland@hack.frob.com>
6373
6374 [BZ #5461]
6375 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6376 not LONG_LONG_MAX and LONG_LONG_MIN.
6377 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6378 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6379 name.
6380 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6381
6cbeae47
JM
63822012-02-22 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #2547]
6385 [BZ #11365]
6386 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6387 manipulate bits before adding and subtracting TWO23[sx].
6388 * math/libm-test.inc (nearbyint_test): Add more tests.
6389
fe45ce09
JM
63902012-02-22 Joseph Myers <joseph@codesourcery.com>
6391
6392 [BZ #2548]
6393 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6394 bits before adding and subtracting TWO23[sx].
6395 * math/libm-test.inc (rint_test): Add more tests.
6396 (rint_test_tonearest): Likewise.
6397 (rint_test_towardzero): Likewise.
6398 (rint_test_downward): Likewise.
6399 (rint_test_upward: Likewise.
6400
ff3b3d82
JM
64012012-02-22 Joseph Myers <joseph@codesourcery.com>
6402
6403 [BZ #10110]
6404 * include/stdc-predef.h: New file. Extracted from features.h.
6405 * include/features.h: Include stdc-predef.h.
6406 * Makefile (headers): Add stdc-predef.h.
6407 * CONFORMANCE (Compiler limitations): Update.
6408
ef0aab35
JM
64092012-02-22 Joseph Myers <joseph@codesourcery.com>
6410
6411 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6412
58639409
DM
64132012-02-21 David S. Miller <davem@davemloft.net>
6414
6415 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6416 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6417
c0e70b25
DM
64182012-02-20 David S. Miller <davem@davemloft.net>
6419
6420 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6421 using a normal save/restore sequence, rather than allocating a
6422 dummy stack frame just to store a frame pointer and restore.
6423 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6424
fb06851d
JM
64252012-02-21 Joseph Myers <joseph@codesourcery.com>
6426
6427 * manual/install.texi: Fix stray word in line-wrapped comment.
6428
7a8b71c3
DM
64292012-02-20 David S. Miller <davem@davemloft.net>
6430
d510c123
DM
6431 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6432 both binutils and gcc support GOTDATA.
6433
0722d7c2
DM
6434 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6435 "rd %pc" in the PIC register setup sequences.
6436
3d2b3019
DM
6437 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6438 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6439 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6440 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6441 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6446 (SYSCALL_ERROR_HANDLER): Likewise.
6447 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6448 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6450 (SYSCALL_ERROR_HANDLER): Likewise.
6451
c80098a9
DM
6452 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6453 (HAVE_GCC_GOTDATA): New.
6454 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6455 relocation support in both binutils and gcc.
6456 * sysdeps/sparc/elf/configure: Regenerate.
6457
3a2545a0
DM
6458 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6459 * sysdeps/sparc/sparc32/elf/configure: Delete.
6460 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6461 * sysdeps/sparc/sparc64/elf/configure: Delete.
6462 * sysdeps/sparc/elf/configure.in: New file.
6463 * sysdeps/sparc/elf/configure: Generate.
6464
7a8b71c3
DM
6465 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6466 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6467 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6468 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6469 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6470
f1e86fca
JM
64712012-02-21 Joseph Myers <joseph@codesourcery.com>
6472
6473 * manual/install.texi: Do not mention specific glibc version
6474 numbers.
6475 * manual/libc.texinfo (VERSION, UPDATED): Update.
6476 (@copying): Use @copyright{} and range of years.
6477
0e7dfaef
JM
64782012-02-21 Joseph Myers <joseph@codesourcery.com>
6479
6480 [BZ #13695]
6481 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6482 [crti.S not in sysdirs] (generated): Do not append.
6483 [crti.S not in sysdirs] (omit-deps): Likewise.
6484 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6485 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6486 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6487 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6488 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6489 Likewise.
6490 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6491 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6492 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6493 * csu/defs.awk: Remove file.
6494 * sysdeps/generic/initfini.c: Likewise.
6495 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6496 variable.
6497 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6498 Likewise.
6499
599af3ca
JM
65002012-02-20 Joseph Myers <joseph@codesourcery.com>
6501
6502 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6503 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6507 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6508 <bits/epoll.h>.
6509 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6510 (__EPOLL_PACKED): Define to empty if not defined by
6511 <bits/epoll.h>.
6512 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6514 bits/epoll.h.
6515
0e499750
JM
65162012-02-20 Joseph Myers <joseph@codesourcery.com>
6517
6518 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6519 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6520 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6521 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6522 <bits/timerfd.h>.
6523 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6525 bits/timerfd.h.
6526
5ad91f6e
JM
65272012-02-20 Joseph Myers <joseph@codesourcery.com>
6528
6529 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6530 in C locale.
6531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6532 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6535
06b99b02
AJ
65362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6537
6538 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6539 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6540
7638c0fd
AS
65412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6542
6543 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6544 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6545 defined.
6546 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6549 entry for 2.16.
6550
92221550
AJ
65512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6552
6553 * math/w_acos.c: Use non-signaling floating-point comparisons.
6554 * math/w_acosf.c: Likewise.
6555 * math/w_acosh.c: Likewise.
6556 * math/w_acoshf.c: Likewise.
6557 * math/w_acoshl.c: Likewise.
6558 * math/w_acosl.c: Likewise.
6559 * math/w_asin.c: Likewise.
6560 * math/w_asinf.c: Likewise.
6561 * math/w_asinl.c: Likewise.
6562 * math/w_atanh.c: Likewise.
6563 * math/w_atanhf.c: Likewise.
6564 * math/w_atanhl.c: Likewise.
6565 * math/w_exp2.c: Likewise.
6566 * math/w_exp2f.c: Likewise.
6567 * math/w_exp2l.c: Likewise.
6568 * math/w_j0.c: Likewise.
6569 * math/w_j0f.c: Likewise.
6570 * math/w_j0l.c: Likewise.
6571 * math/w_j1.c: Likewise.
6572 * math/w_j1f.c: Likewise.
6573 * math/w_j1l.c: Likewise.
6574 * math/w_jn.c: Likewise.
6575 * math/w_jnf.c: Likewise.
6576 * math/w_log.c: Likewise.
6577 * math/w_log10.c: Likewise.
6578 * math/w_log10f.c: Likewise.
6579 * math/w_log10l.c: Likewise.
6580 * math/w_log2.c: Likewise.
6581 * math/w_log2f.c: Likewise.
6582 * math/w_log2l.c: Likewise.
6583 * math/w_logf.c: Likewise.
6584 * math/w_logl.c: Likewise.
6585 * math/w_sqrt.c: Likewise.
6586 * math/w_sqrtf.c: Likewise.
6587 * math/w_sqrtl.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6592 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6593
ebaf36eb
JM
65942012-02-19 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #9739]
6597 * manual/string.texi (strnlen): Use correct parameter name in
6598 equivalent expression.
6599
71c254a6
JM
66002012-02-19 Joseph Myers <joseph@codesourcery.com>
6601
6602 [BZ #11174]
6603 * manual/users.texi (seteuid): Consistently use neweuid for
6604 argument name.
6605
16d2c631
JM
66062012-02-19 Joseph Myers <joseph@codesourcery.com>
6607
6608 [BZ #13704]
6609 * manual/nss.texi (Services in the NSS configuration): Correct
6610 list of services in example configuration file.
6611
cd837b09
NB
66122012-02-19 Nick Bowler <nbowler@draconx.ca>
6613
6614 [BZ #11322]
6615 * manual/arith.texi: Remove statements about negative zero
6616 behaving identically to zero.
6617
02c4bbad
JM
66182012-02-18 Joseph Myers <joseph@codesourcery.com>
6619
6620 [BZ #5993]
6621 * manual/install.texi: Do not document upgrading from libc5.
6622
366842e7
JM
66232012-02-18 Joseph Myers <joseph@codesourcery.com>
6624
6625 [BZ #4596]
6626 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6627
dd54084d
DM
66282012-02-18 David S. Miller <davem@davemloft.net>
6629
6630 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6631 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6632 %o7 across the call.
6633 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6634 instead.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6636 SETUP_PIC_REG_LEAF.
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6638 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6639 * sysdeps/sparc/crtn.S: Likewise.
6640
2bcc53a3
UD
66412012-02-17 Ulrich Drepper <drepper@gmail.com>
6642
6643 * aout/Makefile: Remove.
6644
09c093b5
RK
66452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6646
6647 [BZ #13058]
6648 * manual/examples/argp-ex1.c (main): Format definition in GNU
6649 style.
6650 * manual/examples/argp-ex2.c (main): Likewise.
6651 * manual/examples/argp-ex3.c (main): Likewise.
6652 * manual/examples/argp-ex4.c (main): Likewise.
6653 * manual/examples/longopt.c (main): Use new-style prototype
6654 definition.
6655 * manual/examples/strncat.c (main): Specify return type and use
6656 (void) for arguments.
6657 * manual/examples/subopt.c (main): Use char **argv argument.
6658
2ee633a2
JM
66592012-02-17 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #5077]
6662 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6663 rounding modes.
6664
0520adde
FB
66652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6666
6667 [BZ #6907]
6668 * manual/string.texi (strchr): Change when strchrnul is
6669 recommended.
6670
3f4081cd
DGM
66712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6672
6673 [BZ #174]
6674 * manual/locale.texi (setlocale): Document LOCPATH.
6675
d1b10e78
JM
66762012-02-17 Joseph Myers <joseph@codesourcery.com>
6677
6678 [BZ #10210]
6679 * manual/process.texi (execle): Move @dots{} before last argument.
6680
79c6869c
PB
66812012-02-17 Paul Bolle <pebolle@tiscali.nl>
6682
6683 [BZ #12047]
6684 * manual/charset.texi (Generic Charset Conversion): Fix typo
6685 (LC_TYPE -> LC_CTYPE).
6686
cc6e48bc
NB
66872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6688
6689 [BZ #5805]
6690 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6691 (scalbnf): Likewise.
6692 (scalbnl): Likewise.
6693 (scalbln): Likewise.
6694 (scalblnf): Likewise.
6695 (scalblnl): Likewise.
6696 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6697 (vwarnx): Likewise.
6698 (verr): Likewise.
6699 (verrx): Likewise.
6700 * manual/filesys.texi (telldir): Use braces around return type.
6701 * manual/llio.texi (mmap): Add space after comma.
6702 (mmap64): Likewise.
6703 * manual/math.texi (jn): Use @var{} on parameter names.
6704 (jnf): Likewise.
6705 (jnl): Likewise.
6706 (yn): Likewise.
6707 (ynf): Likewise.
6708 (ynl): Likewise.
6709 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6710 line.
6711 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6712 "...".
6713 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6714 (sched_get_priority_max): Likewise.
6715 * manual/signal.texi (sigvec): Add space after comma.
6716 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6717 names.
6718 (if_indextoname): Likewise.
6719 (if_freenameindex): Likewise.
6720 (sendto): Use ',' instead of '.' in prototype.
6721 * manual/startup.texi (syscall): Use @dots{} instead of literal
6722 "...".
6723 * manual/stdio.texi (__fpending): Separate initial words of
6724 paragraph from @deftypefun line.
6725 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6726 "...".
6727 (vsyslog): Use @var{} on parameter names.
6728 * manual/terminal.texi (stty): Use @var{} on parameter names.
6729 * manual/users.texi (getutmp): Use @var{} on parameter names.
6730 (getutmpx): Likewise.
6731
5b23062f
JM
67322012-02-17 Joseph Myers <joseph@codesourcery.com>
6733
6734 [BZ #6884]
6735 * manual/stdio.texi (fopen): Fix typos in description of
6736 ",ccs=STRING".
6737
8dee4833
AJ
67382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6739
6740 [BZ #4026]
6741 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6742 get clock_id definition.
6743
9078ce93
TS
67442012-02-17 Thomas Schwinge <thomas@schwinge.name>
6745
6746 [BZ #4822]
6747 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6748 (madvise): Cast every argument to void on its own.
6749
3835c55f
JM
67502012-02-17 Joseph Myers <joseph@codesourcery.com>
6751
6752 [BZ #9902]
6753 * manual/startup.texi (Exit Status): Fix typo.
6754
35c47e37
JM
67552012-02-17 Joseph Myers <joseph@codesourcery.com>
6756
6757 [BZ #10140]
6758 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6759 * manual/examples/argp-ex2.c: Likewise.
6760 * manual/examples/argp-ex3.c: Likewise.
6761
e3b69ca7
RH
67622012-02-16 Richard Henderson <rth@redhat.com>
6763
6764 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6765 * sysdeps/s390/s390-32/initfini.c: Remove.
6766 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6767 * sysdeps/s390/s390-64/initfini.c: Remove.
6768
df83af67
KK
67692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6770
6771 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6772 compiler output for sysdeps/generic/initfini.c.
6773 * sysdeps/sh/elf/initfini.c: Remove file.
6774
f63f3380
DM
67752012-02-16 David S. Miller <davem@davemloft.net>
6776
fb59b3a4
DM
6777 [BZ #11494]
6778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6779
f63f3380
DM
6780 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6781 * sysdeps/sparc/crti.S: New file.
6782 * sysdeps/sparc/crtn.S: New file.
6783 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6784 * sysdeps/sparc/sparc64/Makefile: Likewise.
6785
df6a4a4a
MF
67862012-02-15 Mike Frysinger <vapier@gentoo.org>
6787
6dd8f3dc 6788 [BZ #3335]
df6a4a4a
MF
6789 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6790
1cac7236
RM
67912012-02-15 Roland McGrath <roland@hack.frob.com>
6792
d2c736f8
RM
6793 [BZ #4822]
6794 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6795
1cac7236
RM
6796 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6797 (write, read, close): Likewise.
6798 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6799
8e475601
JM
68002012-02-15 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6803 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6805 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6806 <bits/signalfd.h>.
6807 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6809 bits/signalfd.h.
6810
ed656b40
MP
68112012-02-14 Marek Polacek <polacek@redhat.com>
6812
6813 * sysdeps/x86_64/crti.S: New file.
6814 * sysdeps/x86_64/crtn.S: New file.
6815 * sysdeps/x86_64/elf/initfini.c: Remove file.
6816
2a979d3a
JM
68172012-02-13 Joseph Myers <joseph@codesourcery.com>
6818
6819 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6820 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6822 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6823 <bits/inotify.h>.
6824 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6826 bits/inotify.h.
6827
2a418ac3
JM
68282012-02-13 Joseph Myers <joseph@codesourcery.com>
6829
6830 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6831 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6833 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6834 <bits/eventfd.h>.
6835 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6837 bits/eventfd.h.
6838
fb779be7
TS
68392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6840
e19e83c5
RM
6841 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6842 __feraiseexcept instead of feraiseexcept.
7c35ffed 6843
fb779be7
TS
6844 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6845 nanosleep invocations.
6846 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6847 strings, and add error checking for a nanosleep invocations.
6848
59ba27a6
PE
68492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6850
6851 Replace FSF snail mail address with URLs, as per GNU coding standards.
6852 Most of the snail mail addresses were wrong anyway, and omitting
6853 them makes the source code easier to maintain. Almost all of the
6854 changes are to license notices and to locale LC_IDENTIFICATION
6855 addresses, except for this one:
6856 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6857 not its snail mail address.
6858
57b957eb
RH
68592012-02-09 Richard Henderson <rth@twiddle.net>
6860
af850b1c
RH
6861 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6862 of kernel-features.h.
6863
57b957eb
RH
6864 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6865
6b73181a
MP
68662012-02-08 Marek Polacek <polacek@redhat.com>
6867
6868 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6869 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6870 * sysdeps/gnu/_G_config.h: Likewise.
6871 * sysdeps/generic/_G_config.h: Likewise.
6872
26ecc33a
AS
68732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6874
6c6dbc63
AS
6875 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6876 tests.
6877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6878
e216c012
AS
6879 * sysdeps/powerpc/powerpc32/crti.S: New file.
6880 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6881 * sysdeps/powerpc/powerpc64/crti.S: New file.
6882 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6883
26ecc33a
AS
6884 * Makeconfig (have-initfini): Don't set.
6885 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6886 * configure.in (nopic_initfini): Don't substitute.
6887 * config.h.in (HAVE_INITFINI): Don't #undef.
6888 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6889 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6890
3add8e13
JM
68912012-02-08 Joseph Myers <joseph@codesourcery.com>
6892
6893 Support crti.S and crtn.S provided directly by architectures.
6894 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6895 [crti.S in sysdirs] (omit-deps): Likewise.
6896 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6897 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6898 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6899 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6900 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6901 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6902 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6903 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6904 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6905 compiler output for sysdeps/generic/initfini.c.
6906 * sysdeps/i386/elf/Makefile: Remove file.
6907 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6908
a22f12b4
MP
69092012-02-07 Marek Polacek <polacek@redhat.com>
6910
6911 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6912 * sysdeps/gnu/_G_config.h: Likewise.
6913 * sysdeps/mach/hurd/_G_config.h: Likewise.
6914
148cf100
MP
69152012-02-07 Marek Polacek <polacek@redhat.com>
6916
6917 * math/Makefile (tests): Add tst-CMPLX2.
6918 * math/tst-CMPLX2.c: New file.
6919
cfdc0dd7
AS
69202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6921
84ba42c4
AS
6922 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6923
cfdc0dd7
AS
6924 * math/libm-test.inc (jn_test): Add missing L suffix.
6925
622c86f4
MP
69262012-02-06 Marek Polacek <polacek@redhat.com>
6927
6928 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6929 * sysdeps/i386/fpu/e_powf.S: Likewise.
6930 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6931 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6932 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6933 * sysdeps/i386/fpu/e_pow.S: Likewise.
6934 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6936 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6937 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6938 * sysdeps/i386/fpu/e_log2.S: Likewise.
6939 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6940 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6941 * sysdeps/i386/fpu/e_powl.S: Likewise.
6942 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6943 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6944 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6945 * sysdeps/i386/fpu/e_logl.S: Likewise.
6946 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6947 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6948 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6949 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6950 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6951 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6952 * sysdeps/i386/fpu/e_log.S: Likewise.
6953 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6955 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6956 * sysdeps/i386/fpu/e_logf.S: Likewise.
6957 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6958 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6959 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6960 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6961 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6962 * sysdeps/i386/fpu/e_log10.S: Likewise.
6963 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6964 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6965 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6966 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6967 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6968 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6969 * sysdeps/i386/asm-syntax.h: Likewise.
6970 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6971 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6972 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6973 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6974 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6975 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6976 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6977 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6978 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6979 * sysdeps/powerpc/sysdep.h: Likewise.
6980 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6981 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6982
d4a54ac6
JM
69832012-02-06 Joseph Myers <joseph@codesourcery.com>
6984
6985 [BZ #411]
6986 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6987
314054ea
JM
69882012-02-06 Joseph Myers <joseph@codesourcery.com>
6989
6990 * sysdeps/i386/sysdep.h: Include <features.h>.
6991 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6992 version.
6993
d8e0ca50
JM
69942012-02-05 Joseph Myers <joseph@codesourcery.com>
6995
6996 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6997 Define.
6998 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6999 LOAD_PIC_REG_STR.
7000
b1da7dd9
JM
70012012-02-03 Joseph Myers <joseph@codesourcery.com>
7002
7003 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7004 (SETUP_PIC_REG): Use GET_PC_THUNK.
7005 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7006 macro.
7007
9a1d9254
JM
70082012-02-03 Joseph Myers <joseph@codesourcery.com>
7009
7010 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7011 for non-PIC compilation.
7012 (SETUP_PIC_REG): Add .p2align directive.
7013 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7014 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7015 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7016 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7017 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7019 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7021 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7054
65dc3b75
JM
70552012-02-03 Joseph Myers <joseph@codesourcery.com>
7056
7057 * math/tst-CMPLX.c: Include <stdio.h>.
7058
d55bf177
JM
70592012-01-31 Joseph Myers <joseph@codesourcery.com>
7060
7061 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7062 float.
7063 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7064 * sysdeps/sparc/bits/mathdef.h: Likewise.
7065
69db4f8f
MP
70662012-01-31 Marek Polacek <polacek@redhat.com>
7067
7068 * libio/libio.h: Don't define _PARAMS.
7069 * locale/programs/config.h: Don't define PARAMS.
7070 * stdlib/strtol_l.c: Likewise.
7071 (__strtol_l): Remove PARAMS from the prototype.
7072
41b81892
UD
70732012-01-31 Ulrich Drepper <drepper@gmail.com>
7074
3b49edc0
UD
7075 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7076 names. Just use the correct names. Remove unnecessary wrapper
7077 functions.
7078 * malloc/arena.c: Likewise.
7079 * malloc/hooks.c: Likewise.
7080
41b81892
UD
7081 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7082 ARENA_TEST says not to. Simplify test for creation of a new arena.
7083 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7084
27a25b6e
UD
70852012-01-30 Ulrich Drepper <drepper@gmail.com>
7086
7087 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7088 into tail calls.
7089 (update_get_addr): New function.
7090 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7091 GET_ADDR_MODULE parameter.
7092
c8a89e7d
JM
70932012-01-30 Joseph Myers <joseph@codesourcery.com>
7094
7095 * crypt/cert.c: Remove __STDC__ conditionals.
7096 * crypt/crypt-entry.c: Likewise.
7097 * crypt/crypt_util.c: Likewise.
7098 * libio/filedoalloc.c: Likewise.
7099 * libio/fileops.c: Likewise.
7100 * libio/genops.c: Likewise.
7101 * libio/iofclose.c: Likewise.
7102 * libio/iofdopen.c: Likewise.
7103 * libio/iofopen.c: Likewise.
7104 * libio/iofopen64.c: Likewise.
7105 * libio/iogetdelim.c: Likewise.
7106 * libio/iopopen.c: Likewise.
7107 * libio/obprintf.c: Likewise.
7108 * libio/oldfileops.c: Likewise.
7109 * libio/oldiofclose.c: Likewise.
7110 * libio/oldiofdopen.c: Likewise.
7111 * libio/oldiofopen.c: Likewise.
7112 * libio/oldiopopen.c: Likewise.
7113 * libio/wfiledoalloc.c: Likewise.
7114 * libio/wgenops.c: Likewise.
7115 * locale/programs/xmalloc.c: Likewise.
7116 * misc/syslog.c: Likewise.
7117 * stdio-common/xbug.c: Likewise.
7118 * string/memchr.c: Likewise.
7119 * string/memcmp.c: Likewise.
7120 * string/memrchr.c: Likewise.
7121 * string/rawmemchr.c: Likewise.
7122 * sysdeps/posix/getcwd.c: Likewise.
7123 * time/strftime_l.c: Likewise.
7124
3b100462
JM
71252012-01-30 Joseph Myers <joseph@codesourcery.com>
7126
7127 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7128 * config.make.in (config-cflags-sse2avx): Define.
7129 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7130 Fix typo.
7131
607998af
CM
71322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7133
7134 * scripts/config.guess: Update from upstream config git repository.
7135 * scripts/config.sub: Likewise.
7136
3601428f
CM
71372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7138
3ac8b282
CM
7139 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7140 (EM_NUM): Update.
7141 (R_TILEPRO_*, R_TILEGX_*): New macros.
7142
e034841e
CM
7143 * scripts/firstversions.awk: Fix bug in version range handling.
7144
540d7568
CM
7145 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7146
3601428f
CM
7147 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7148
463de862
CM
7149 * include/sys/epoll.h: New file.
7150 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7151 libc_hidden_def.
7152
73139a76
UD
71532012-01-28 Ulrich Drepper <drepper@gmail.com>
7154
96bc5b45
UD
7155 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7156 Avoid unnecessary __WORDSIZE == 64 test.
7157 (fmaxf): Use VEX format if possible.
7158 (fmax): Likewise.
7159 (fminf): Likewise.
7160 (fmin): Likewise.
7161
56f6f6a2
UD
7162 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7163 * math/math_private.h: Remove libc_fegetround* and
7164 libc_fesetround*.
7165 * sysdeps/i386/configure.in: Check for -msse2avx.
7166 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7167 also if SSE2AVX is defined.
7168 Remove libc_fegetround* and libc_fesetround*.
7169 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7170 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7172 of HAS_YMM_USABLE.
7173 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7174 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7175 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7176 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7177 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7178
73139a76
UD
7179 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7180
d73f93a4
AZ
71812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7182
7183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7184 size is not set.
7185 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7186
6ee65ed6
UD
71872012-01-27 Ulrich Drepper <drepper@gmail.com>
7188
7189 [BZ #13618]
7190 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7191 relocation.
7192 * Makeconfig (libm): Define.
7193 * elf/Makefile: Add rules to build and run tst-relsort1.
7194 * elf/tst-relsort1.c: New file.
7195 * elf/tst-relsort1mod1.c: New file.
7196 * elf/tst-relsort1mod2.c: New file.
7197
8db21882
JM
71982012-01-27 Joseph Myers <joseph@codesourcery.com>
7199
7200 * math/s_ldexp.c: Remove __STDC__ conditionals.
7201 * math/s_ldexpf.c: Likewise.
7202 * math/s_ldexpl.c: Likewise.
7203 * math/s_nextafter.c: Likewise.
7204 * math/s_nexttowardf.c: Likewise.
7205 * math/s_significand.c: Likewise.
7206 * math/s_significandf.c: Likewise.
7207 * math/s_significandl.c: Likewise.
7208 * math/w_jnl.c: Likewise.
7209 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7210 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7211 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7212 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7213 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7228 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7229 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7231 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7232 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7233 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7234 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7249 * sysdeps/ieee754/k_standard.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7311 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7316 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7324 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7325 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7329 * sysdeps/ieee754/s_matherr.c: Likewise.
7330 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7331 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7334
965a54a4
JM
73352012-01-26 Joseph Myers <joseph@codesourcery.com>
7336
7337 * crypt/md5.h: Remove __STDC__ conditionals.
7338 * libio/libioP.h: Likewise.
7339 * locale/programs/config.h: Likewise.
7340 * sysdeps/generic/sysdep.h: Likewise.
7341 * sysdeps/i386/asm-syntax.h: Likewise.
7342 * sysdeps/s390/asm-syntax.h: Likewise.
7343 * sysdeps/unix/sysdep.h: Likewise.
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7346
7071ad79
JM
73472012-01-26 Joseph Myers <joseph@codesourcery.com>
7348
7349 * libio/libio.h: Remove __STDC__ conditionals.
7350 * malloc/obstack.h: Likewise.
7351 * math/complex.h: Likewise.
7352 * math/math.h: Likewise.
7353 * sysdeps/generic/_G_config.h: Likewise.
7354 * sysdeps/gnu/_G_config.h: Likewise.
7355 * sysdeps/mach/hurd/_G_config.h: Likewise.
7356 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7358 * sysdeps/sparc/bits/mathdef.h: Likewise.
7359
afc5ed09
UD
73602012-01-26 Ulrich Drepper <drepper@gmail.com>
7361
7362 [BZ #13583]
7363 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7364 Clean up HAS_* macros.
afc5ed09 7365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7366 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7367 possible.
7368 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7369 HAS_AVX.
7370 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7371 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7372 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7373 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7374 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7375
bdb6de1d
JM
73762012-01-25 Joseph Myers <joseph@codesourcery.com>
7377
7378 * elf/tst-unique3.cc (gets): Remove declaration.
7379 * elf/tst-unique3lib.cc (gets): Likewise.
7380 * elf/tst-unique3lib2.cc (gets): Likewise.
7381 * elf/tst-unique4.cc (gets): Likewise.
7382
b15549e6
UD
73832012-01-24 Ulrich Drepper <drepper@gmail.com>
7384
7385 * include/stdio.h: Add C++ protection. Add gets declarations and
7386 definitions.
7387 * debug/tst-chk1.c: Don't declare gets here.
7388 * stdio-common/tst-gets.c: Likewise.
7389
a037381f
JM
73902012-01-24 Joseph Myers <joseph@codesourcery.com>
7391
7392 * posix/glob: Remove directory.
7393
f1d4aa75
JM
73942012-01-24 Joseph Myers <joseph@codesourcery.com>
7395
7396 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7397
81c0c964
PT
73982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7399
7400 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7401 of the non-standard EPFNOSUPPORT.
7402
0ea698ae
ST
74032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7404
7405 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7406 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7407 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7408
d220b117
UD
74092012-01-21 Ulrich Drepper <drepper@gmail.com>
7410
7411 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7412
3e1aa84e
UD
74132012-01-20 Ulrich Drepper <drepper@gmail.com>
7414
7415 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7416 transient errors.
7417 * nscd/grpcache.c (cache_addgr): Likewise.
7418 * nscd/hstcache.c (cache_addhst): Likewise.
7419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7420 * nscd/pwdcache.c (cache_addpw): Likewise.
7421 * nscd/servicescache.c (cache_addserv): Likewise.
7422
400aa020
UD
74232012-01-16 Ulrich Drepper <drepper@gmail.com>
7424
d77e7869
UD
7425 * malloc/malloc.c: Various cleanups.
7426 * malloc/hooks.c: Likewise.
7427
400aa020
UD
7428 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7429 * stdlib/bug-fmtmsg1.c: New file.
7430
7431 * stdlib/fmtmsg.c (init): Add missing unlock.
7432 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7433
e0a309cf
MP
74342012-01-12 Marek Polacek <polacek@redhat.com>
7435
7436 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7437 and _GNU_SOURCE.
7438
929d11c7
WS
74392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7440
7441 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7442 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7443 macro to ensure uniqueness of label name.
7444 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7445 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7446
41d0e869
UD
74472012-01-11 Ulrich Drepper <drepper@gmail.com>
7448
0cc5ed3b
UD
7449 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7450
41d0e869
UD
7451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7452 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7455
a47a831a
UD
74562012-01-10 Ulrich Drepper <drepper@gmail.com>
7457
daa891c0
UD
7458 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7459
7460 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7461 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7463
e58ef0f2
UD
7464 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7465
a47a831a 7466 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7467 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7470
7471 * math/bits/math-finite.h: Add ldexp support.
7472
a0bfc9c7
MP
74732012-01-10 Marek Polacek <polacek@redhat.com>
7474
7475 * locale/programs/localedef.h (show_archive_content): Add noreturn
7476 attribute.
7477
d6e97a1d
UD
74782012-01-09 Ulrich Drepper <drepper@gmail.com>
7479
7480 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7481
d5835c26
UD
74822012-01-08 Ulrich Drepper <drepper@gmail.com>
7483
e5f484c6
UD
7484 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7485
d5835c26
UD
7486 * io/Makefile (headers): Add bits/poll2.h.
7487
d1f741e9
WS
74882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7489
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7491 typo #include statement.
7492
ec09c1c4
UD
74932012-01-08 Ulrich Drepper <drepper@gmail.com>
7494
7495 * include/sys/cdefs.h: Define __attribute_alloc_size.
7496 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7497 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7498 * elf/pldd.c: Likewise.
7499 * iconv/iconv_charmap.c: Likewise.
7500 * iconv/iconvconfig.c: Likewise.
7501 * iconv/strtab.c: Likewise.
7502 * locale/programs/locale.c: Likewise.
7503 * locale/programs/localedef.h: Likewise.
7504 * locale/programs/simple-hash.c: Likewise.
7505 * nscd/nscd.h: Likewise.
7506 * nss/makedb.c: Likewise.
7507 * sysdeps/generic/ldconfig.h: Likewise.
7508 * locale/programs/localedef.c: Remove xmalloc prototype.
7509 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7510
20b38e03
PP
75112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7512
7513 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7514 appropriate.
7515
a0da5fe1
UD
75162012-01-08 Ulrich Drepper <drepper@gmail.com>
7517
1d5a644a 7518 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7519 * math/tst-CMPLX.c: New file.
1d5a644a 7520
8784a6db
UD
7521 * math/complex.h (CMPLXL): Fix typo.
7522
d9a216c0
UD
7523 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7524 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7525 GLIBC_2.16.
7526 * debug/tst-chk1.c: Add poll and ppoll tests.
7527 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7528 * include/sys/poll.h: Add hidden proto for ppoll.
7529 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7530 * sysdeps/mach/hurd/ppoll.c: Likewise.
7531 * io/ppoll.c: Likewise.
7532 * debug/poll_chk.c: New file.
7533 * debug/ppoll_chk.c: New file.
7534 * include/bits/poll2.h: New file.
7535 * io/bits/poll2.h: New file.
7536
ac097f5c
UD
7537 [BZ #1350]
7538 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7539
2119dcfa
UD
7540 * configure.in: static is always set to yes. Remove.
7541 * config.make.in: Don't set build-static.
7542 * Makeconfig: Remove use of build-static.
7543 * dlfcn/Makefile: Likewise.
7544 * elf/Makefile: Likewise.
7545 * math/Makefile: Likewise.
7546 * misc/Makefile: Likewise.
7547 * nptl/Makefile: Likewise.
7548 * sysdeps/mach/hurd/Makefile: Likewise.
7549
121766a9
UD
7550 * configure.in: PWD_P is not used anymore.
7551 * config.make.in: Remove PWD_P entry.
7552
51a1d39c 7553 * configure.in: Remove last remnants of RANLIB.
8720d066 7554 No need to check for signed size_t anymore.
215f4bdc
UD
7555 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7556 and IA-64.
3857022a 7557 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7558 * aclocal.m4: Likewise.
7559
d3ed7225
UD
7560 * wcsmbs/mbrtoc16.c: Implement using towc function.
7561 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7562 * wcsmbs/wcsmbsload.c: Likewise.
7563 * iconv/gconv_simple.c: Likewise.
7564 * iconv/gconv_int.h: Likewise.
7565 * iconv/gconv_builtin.h: Likewise.
7566 * iconv/iconv_prog.c: Remove CHAR16 handling.
7567
7568 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7569
7570 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7571
a0da5fe1
UD
7572 * configure.in: Remove --with-elf and --enable-bounded options.
7573 Dont set base_machine for ia64. More non-ELF conditions removed.
7574 Remove testing and setting of leading underscore information.
7575 * config.make.in (build-bounded): Set to no.
7576 * config.h.in: Remove NO_UNDERSCORES entry.
7577 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7578 them.
7579 * csu/start.c: Remove !NO_UNDERSCORE code.
7580 * locale/localeinfo.h: Likewise.
7581 * sysdeps/generic/machine-gmon.h: Likewise.
7582 * sysdeps/generic/sysdep.h: Likewise.
7583 * sysdeps/i386/sysdep.h: Likewise.
7584 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7585 * sysdeps/mach/sysdep.h: Likewise.
7586 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7588 * sysdeps/sh/sysdep.h: Likewise.
7589 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7590 * sysdeps/unix/i386/sysdep.S: Likewise.
7591 * sysdeps/unix/sparc/start.c: Likewise.
7592 * sysdeps/unix/sparc/sysdep.S: Likewise.
7593 * sysdeps/unix/sparc/sysdep.h: Likewise.
7594 * sysdeps/unix/start.c: Likewise.
7595 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7596 * sysdeps/x86_64/sysdep.h: Likewise.
7597
df78418a
UD
75982012-01-07 Ulrich Drepper <drepper@gmail.com>
7599
a784e502
UD
7600 [BZ #13553]
7601 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7602 for non-gcc.
7603 * argp/argp-fmtstream.h: Use const instead __const.
7604 * argp/argp.h: Likewise.
7605 * assert/assert.h: Likewise.
7606 * bits/fenv.h: Likewise.
7607 * bits/sched.h: Likewise.
7608 * bits/sigset.h: Likewise.
7609 * bits/sigthread.h: Likewise.
7610 * catgets/nl_types.h: Likewise.
7611 * conform/data/pthread.h-data: Likewise.
7612 * crypt/crypt-private.h: Likewise.
7613 * crypt/crypt.h: Likewise.
7614 * crypt/crypt_util.c: Likewise.
7615 * ctype/ctype.h: Likewise.
7616 * debug/execinfo.h: Likewise.
7617 * debug/mbsnrtowcs_chk.c: Likewise.
7618 * debug/mbsrtowcs_chk.c: Likewise.
7619 * debug/wcsnrtombs_chk.c: Likewise.
7620 * debug/wcsrtombs_chk.c: Likewise.
7621 * debug/wcstombs_chk.c: Likewise.
7622 * dirent/dirent.h: Likewise.
7623 * dlfcn/dlfcn.h: Likewise.
7624 * elf/neededtest4.c: Likewise.
7625 * grp/grp.h: Likewise.
7626 * gshadow/gshadow.h: Likewise.
7627 * iconv/gconv.h: Likewise.
7628 * iconv/gconv_int.h: Likewise.
7629 * iconv/gconv_simple.c: Likewise.
7630 * iconv/iconv.h: Likewise.
7631 * iconv/loop.c: Likewise.
7632 * iconv/skeleton.c: Likewise.
7633 * include/aio.h: Likewise.
7634 * include/aliases.h: Likewise.
7635 * include/argz.h: Likewise.
7636 * include/arpa/inet.h: Likewise.
7637 * include/assert.h: Likewise.
7638 * include/dirent.h: Likewise.
7639 * include/dlfcn.h: Likewise.
7640 * include/execinfo.h: Likewise.
7641 * include/fcntl.h: Likewise.
7642 * include/fenv.h: Likewise.
7643 * include/glob.h: Likewise.
7644 * include/grp.h: Likewise.
7645 * include/libintl.h: Likewise.
7646 * include/mntent.h: Likewise.
7647 * include/netdb.h: Likewise.
7648 * include/pwd.h: Likewise.
7649 * include/rpc/netdb.h: Likewise.
7650 * include/sched.h: Likewise.
7651 * include/search.h: Likewise.
7652 * include/shadow.h: Likewise.
7653 * include/signal.h: Likewise.
7654 * include/stdio.h: Likewise.
7655 * include/stdlib.h: Likewise.
7656 * include/string.h: Likewise.
7657 * include/sys/socket.h: Likewise.
7658 * include/sys/stat.h: Likewise.
7659 * include/sys/statfs.h: Likewise.
7660 * include/sys/statvfs.h: Likewise.
7661 * include/sys/syslog.h: Likewise.
7662 * include/sys/time.h: Likewise.
7663 * include/sys/uio.h: Likewise.
7664 * include/time.h: Likewise.
7665 * include/unistd.h: Likewise.
7666 * include/utmp.h: Likewise.
7667 * include/wchar.h: Likewise.
7668 * include/wctype.h: Likewise.
7669 * inet/aliases.h: Likewise.
7670 * inet/arpa/inet.h: Likewise.
7671 * inet/netinet/ether.h: Likewise.
7672 * inet/netinet/in.h: Likewise.
7673 * intl/libintl.h: Likewise.
7674 * io/bits/fcntl2.h: Likewise.
7675 * io/fcntl.h: Likewise.
7676 * io/ftw.h: Likewise.
7677 * io/sys/poll.h: Likewise.
7678 * io/sys/stat.h: Likewise.
7679 * io/sys/statfs.h: Likewise.
7680 * io/sys/statvfs.h: Likewise.
7681 * io/utime.h: Likewise.
7682 * libio/bits/stdio.h: Likewise.
7683 * libio/bits/stdio2.h: Likewise.
7684 * libio/libio.h: Likewise.
7685 * libio/libioP.h: Likewise.
7686 * libio/stdio.h: Likewise.
7687 * locale/lc-ctype.c: Likewise.
7688 * locale/locale.h: Likewise.
7689 * login/utmp.h: Likewise.
7690 * malloc/arena.c: Likewise.
7691 * malloc/malloc.c: Likewise.
7692 * malloc/malloc.h: Likewise.
7693 * malloc/mcheck.c: Likewise.
7694 * malloc/mtrace.c: Likewise.
7695 * math/bits/mathcalls.h: Likewise.
7696 * math/fenv.h: Likewise.
7697 * math/math_private.h: Likewise.
7698 * misc/bits/error.h: Likewise.
7699 * misc/bits/syslog.h: Likewise.
7700 * misc/err.h: Likewise.
7701 * misc/error.h: Likewise.
7702 * misc/fstab.h: Likewise.
7703 * misc/mntent.h: Likewise.
7704 * misc/regexp.h: Likewise.
7705 * misc/search.h: Likewise.
7706 * misc/sgtty.h: Likewise.
7707 * misc/sys/mman.h: Likewise.
7708 * misc/sys/syslog.h: Likewise.
7709 * misc/sys/uio.h: Likewise.
7710 * misc/sys/xattr.h: Likewise.
7711 * misc/ttyent.h: Likewise.
7712 * nis/rpcsvc/ypclnt.h: Likewise.
7713 * nss/nss.h: Likewise.
7714 * posix/bits/unistd.h: Likewise.
7715 * posix/fnmatch.h: Likewise.
7716 * posix/glob.h: Likewise.
7717 * posix/sched.h: Likewise.
7718 * posix/spawn.h: Likewise.
7719 * posix/sys/wait.h: Likewise.
7720 * posix/unistd.h: Likewise.
7721 * posix/wordexp.h: Likewise.
7722 * pwd/pwd.h: Likewise.
7723 * resolv/netdb.h: Likewise.
7724 * resource/sys/resource.h: Likewise.
7725 * rt/aio.h: Likewise.
7726 * rt/bits/mqueue2.h: Likewise.
7727 * rt/mqueue.h: Likewise.
7728 * shadow/shadow.h: Likewise.
7729 * signal/signal.h: Likewise.
7730 * socket/send.c: Likewise.
7731 * socket/sendto.c: Likewise.
7732 * socket/sys/socket.h: Likewise.
7733 * stdio-common/printf.h: Likewise.
7734 * stdlib/bits/stdlib.h: Likewise.
7735 * stdlib/fmtmsg.h: Likewise.
7736 * stdlib/monetary.h: Likewise.
7737 * stdlib/stdlib.h: Likewise.
7738 * stdlib/ucontext.h: Likewise.
7739 * streams/stropts.h: Likewise.
7740 * string/argz.h: Likewise.
7741 * string/bits/string2.h: Likewise.
7742 * string/string.h: Likewise.
7743 * string/strings.h: Likewise.
7744 * sunrpc/rpc/auth.h: Likewise.
7745 * sunrpc/rpc/auth_des.h: Likewise.
7746 * sunrpc/rpc/clnt.h: Likewise.
7747 * sunrpc/rpc/netdb.h: Likewise.
7748 * sunrpc/rpc/pmap_clnt.h: Likewise.
7749 * sunrpc/rpc/xdr.h: Likewise.
7750 * sysdeps/generic/inttypes.h: Likewise.
7751 * sysdeps/generic/net/if.h: Likewise.
7752 * sysdeps/generic/sys/swap.h: Likewise.
7753 * sysdeps/gnu/net/if.h: Likewise.
7754 * sysdeps/gnu/utmpx.h: Likewise.
7755 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7756 * sysdeps/i386/i486/bits/string.h: Likewise.
7757 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7758 * sysdeps/s390/bits/string.h: Likewise.
7759 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7760 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7761 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7762 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7763 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7764 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7765 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7766 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7767 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7768 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7769 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7770 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7771 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7772 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7773 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7774 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7775 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7780 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7781 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7782 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7784 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7785 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7787 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7789 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7790 * sysvipc/sys/ipc.h: Likewise.
7791 * sysvipc/sys/msg.h: Likewise.
7792 * sysvipc/sys/sem.h: Likewise.
7793 * sysvipc/sys/shm.h: Likewise.
7794 * termios/termios.h: Likewise.
7795 * time/sys/time.h: Likewise.
7796 * time/time.h: Likewise.
7797 * wcsmbs/bits/wchar2.h: Likewise.
7798 * wcsmbs/uchar.h: Likewise.
7799 * wcsmbs/wchar.h: Likewise.
7800 * wctype/wctype.h: Likewise.
7801
0269750c
UD
7802 [BZ #13551]
7803 * Makeconfig: Remove all but ELF support including AIX support.
7804 * Makerules: Likewise.
7805 * config.h.in: Likewise.
7806 * config.make.in: Likewise.
7807 * configure: Likewise.
7808 * configure.in: Likewise.
7809 * csu/Makefile: Likewise.
7810 * csu/version.c: Likewise.
7811 * debug/Makefile: Likewise.
7812 * dlfcn/Makefile: Likewise.
7813 * elf/Makefile: Likewise.
7814 * extra-lib.mk: Likewise.
7815 * iconv/Makefile: Likewise.
7816 * include/libc-symbols.h: Likewise.
7817 * include/shlib-compat.h: Likewise.
7818 * resolv/Makefile: Likewise.
7819 * resolv/res_libc.c: Likewise.
7820 * rt/Makefile: Likewise.
7821 * sysdeps/i386/asm-syntax.h: Likewise.
7822 * sysdeps/i386/sysdep.h: Likewise.
7823 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7824 * sysdeps/mach/sysdep.h: Likewise.
7825 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7826 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7827 * sysdeps/s390/asm-syntax.h: Likewise.
7828 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7829 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7830 * sysdeps/sh/sysdep.h: Likewise.
7831 * sysdeps/unix/sparc/sysdep.h: Likewise.
7832 * sysdeps/wordsize-32/divdi3.c: Likewise.
7833 * sysdeps/x86_64/sysdep.h: Likewise.
7834
00bbd29b
UD
7835 * argp/Versions: Remove _argp_unlock_xxx.
7836
7837 [BZ #13559]
7838 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7839 * abilist/libBrokenLocale.abilist: Likewise.
7840 * abilist/libanl.abilist: Likewise.
7841 * abilist/libc.abilist: Likewise.
7842 * abilist/libcrypt.abilist: Likewise.
7843 * abilist/libdl.abilist: Likewise.
7844 * abilist/libm.abilist: Likewise.
7845 * abilist/libnsl.abilist: Likewise.
7846 * abilist/libpthread.abilist: Likewise.
7847 * abilist/libresolv.abilist: Likewise.
7848 * abilist/librt.abilist: Likewise.
7849 * abilist/libthread_db.abilist: Likewise.
7850 * abilist/libutil.abilist: Likewise.
7851 * abilist/libnss_db.abilist: New file.
7852
7853 * scripts/abilist.awk: Add support for indirect functions.
7854
a2693a0e
UD
7855 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7856
3f05895f
UD
7857 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7858
ecb6fb48
UD
7859 * shlib-versions: Remove entries for ports architectures.
7860
664f8cb9
UD
7861 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7862 files in ports.
7863 * elf/stackguard-macros.h: Remove support for IA-64.
7864 * elf/tst-auditmod1.c: Likewise.
7865 * sysdeps/generic/ldsodefs.h: Likewise.
7866
7ae81d88
UD
7867 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7868 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7869 configure files.
7870
bdeba135
UD
7871 [BZ #13552]
7872 * configure.in: Remove --enable-omitfp support.
7873 * FAQ.in: Adjust.
7874 * config.make.in: Likewise.
7875 * Makeconfig: Likewise.
7876 * manual/install.texi: Likewise.
7877
d75a0a62
UD
7878 In case anyone cares, the IA-64 architecture could move to ports.
7879 * sysdeps/ia64/*: Removed.
7880 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7881 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7882
dcc9756b
UD
7883 [BZ #13555]
7884 * configure.in: Remove entries for unsupported architectures.
7885
d3761ebc 7886 [BZ #13533]
9954432e
UD
7887 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7888 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7889 routines.
7890 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7891 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7892 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7893 fall back to using wcrtomb.
7894 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7895 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7896 renaming.
7897 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7898 * wcsmbs/tst-c16c32-1.c: New file.
7899
7900 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7901 local variable.
7902
c3a87236
UD
7903 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7904
28926a1b
UD
7905 * elf/tst-unique3.cc: Add explicit declaration of gets.
7906 * elf/tst-unique3lib.cc: Likewise.
7907 * elf/tst-unique3lib2.cc: Likewise.
7908 * elf/tst-unique4.cc: Likewise.
7909
df78418a
UD
7910 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7911
8ecd6b2a
JM
79122012-01-06 Joseph Myers <joseph@codesourcery.com>
7913
7914 [BZ #13566]
7915 * assert/assert.h (static_assert): Don't define for C++.
7916 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7917 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7918
9f115170
UD
79192012-01-03 Ulrich Drepper <drepper@gmail.com>
7920
5e0d0300
UD
7921 * iconv/loop.c (single loop): Fix assertion in storing of
7922 remaining bytes.
7923
9f115170
UD
7924 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7925
81fb02b0
UD
79262012-01-01 Ulrich Drepper <drepper@gmail.com>
7927
7928 * posix/getconf.c: Update copyright year.
7929 * nss/getent.c: Likewise.
a316c1f6 7930 * nss/makedb.c: Likewise.
81fb02b0
UD
7931 * iconv/iconvconfig.c: Likewise.
7932 * iconv/iconv_prog.c: Likewise.
7933 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7934 * elf/pldd.c: Likewise.
7935 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7936 * catgets/gencat.c: Likewise.
7937 * csu/version.c: Likewise.
7938 * elf/ldd.bash.in: Likewise.
7939 * elf/sprof.c (print_version): Likewise.
7940 * locale/programs/locale.c: Likewise.
7941 * locale/programs/localedef.c: Likewise.
a316c1f6 7942 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7943 * nscd/nscd.c (print_version): Likewise.
7944 * debug/xtrace.sh: Likewise.
7945 * malloc/memusage.sh: Likewise.
7946 * malloc/mtrace.pl: Likewise.
7947 * debug/catchsegv.sh: Likewise.
7948
2ba92745
JJ
79492011-12-30 Jakub Jelinek <jakub@redhat.com>
7950
7951 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7952 pure attribute.
7953
dadebdae
UD
79542011-12-24 Ulrich Drepper <drepper@gmail.com>
7955
d3761ebc 7956 [BZ #13533]
db6af3eb
UD
7957 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7958 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7959 transformations.
7960 * iconv/gconv_int.h: Likewise.
7961 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7962 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7963 from libc for GLIBC_2.16.
7964 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7965 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7966 * wcsmbs/uchar.h: Really define mbstate_t.
7967 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7968 * wcsmbs/c16rtomb.c: New file.
7969 * wcsmbs/mbrtoc16.c: New file.
7970 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7971 for C/POSIX locale.
7972 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7973 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7974
dadebdae
UD
7975 * wcsmbs/wchar.h: Add missing __restrict.
7976
67371b56
UD
79772011-12-23 Ulrich Drepper <drepper@gmail.com>
7978
74033a25
UD
7979 [BZ #13532]
7980 * time/Makefile (routines): Add timespec_get.
7981 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7982 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7983 timespec for ISO C11.
7984 * time/timespec_get.c: New file.
7985 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7986 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7987
380d7e87
UD
7988 [BZ #13531]
7989 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7990 * stdlib/stdlib.h: Declare aligned_alloc.
7991 * Versions.def: Add GLIBC_2.16 for libc.
7992 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7993
4e9e7a35
UD
7994 [BZ 13527]
7995 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7996 ISO C11.
7997
380d7e87 7998 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7999 code.
8000
03a71829
UD
8001 [BZ #13528]
8002 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8003
839e283e
UD
8004 [BZ #13529]
8005 * assert/assert.h (static_assert): Define.
8006
ce5294e2 8007 * version.h: Update for 2.16 development version.
90fa7312 8008
8d44e150 8009 [BZ #13526]
d7809905
UD
8010 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8011 _ISOC11_SOURCE.
8012
c0da14cd
UD
8013 * version.h (RELEASE): Bump for 2.15 release.
8014 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8015
530a3249
MP
8016 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8017 Patch by Marek Polacek <mpolacek@redhat.com>.
8018
67371b56
UD
8019 * bits/byteswap.h: Protect long long constants with __extension__.
8020 * sysdeps/i386/bits/byteswap.h: Likewise.
8021 * sysdeps/ia64/bits/byteswap.h: Likewise.
8022 * sysdeps/s390/bits/byteswap.h: Likewise.
8023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8024
15db4de1
LD
80252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8026
8027 [BZ #13540]
bbe315ea
LD
8028 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8029 destination buffer.
15db4de1
LD
8030 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8031
2b2596b1
MP
80322011-12-23 Marek Polacek <polacek@redhat.com>
8033
8034 * elf/dl-addr.c (determine_info): Add inline keyword.
8035 * elf/tst-auditmod4b.c (check_avx): Likewise.
8036 * elf/tst-auditmod6b.c (check_avx): Likewise.
8037 * elf/tst-auditmod6c.c (check_avx): Likewise.
8038 * elf/tst-auditmod7b.c (check_avx): Likewise.
8039
70c6c246
UD
80402011-12-23 Ulrich Drepper <drepper@gmail.com>
8041
8042 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8043 !__SSE_MATH__.
8044
c044cf14
LD
80452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8046
15db4de1 8047 [BZ #13540]
c044cf14
LD
8048 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8049 processing for last bytes.
8050
6b13d9d9
BH
80512011-08-06 Bruno Haible <bruno@clisp.org>
8052
d455f537
BH
8053 [BZ #13061]
8054 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8055 U+0385, not to U+1FEE.
8056
6b13d9d9
BH
8057 [BZ #13062]
8058 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8059 entry for U+00A5 U+0301.
8060
db910efd
UD
80612011-12-22 Ulrich Drepper <drepper@gmail.com>
8062
27deeafc
UD
8063 [BZ #13166]
8064 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8065 buffer for the output is too small.
8066
aed9d171
UD
8067 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8068 optimization.
8069
db910efd
UD
8070 [BZ #13185]
8071 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8072 SSE flags if possible.
8073
2bd779ae
LD
80742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8075
e7f9dac3 8076 [BZ #13540]
2bd779ae
LD
8077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8078 processing for last bytes.
8079
154bfc16
JM
80802011-12-22 Joseph Myers <joseph@codesourcery.com>
8081
8082 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8083 (syscall-list-default-options, syscall-list-default-condition)
8084 (syscall-list-includes): Define.
8085 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8086 list of ABIs and options and #if conditions for each ABI. Do not
8087 handle common syscalls between ABIs specially.
8088 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8089 Remove.
8090 (syscall-list-variants, syscall-list-32bit-options)
8091 (syscall-list-32bit-condition, syscall-list-64bit-options)
8092 (syscall-list-64bit-condition): Define.
8093 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8094 (syscall-list-variants, syscall-list-32bit-options)
8095 (syscall-list-32bit-condition, syscall-list-64bit-options)
8096 (syscall-list-64bit-condition): Define.
8097 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8098 Remove.
8099 (syscall-list-variants, syscall-list-32bit-options)
8100 (syscall-list-32bit-condition, syscall-list-64bit-options)
8101 (syscall-list-64bit-condition): Define.
8102 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8103 Remove.
8104 (syscall-list-variants, syscall-list-32bit-options)
8105 (syscall-list-32bit-condition, syscall-list-64bit-options)
8106 (syscall-list-64bit-condition): Define.
8107
21eaf3a5
UD
81082011-12-22 Ulrich Drepper <drepper@gmail.com>
8109
16c6f992
UD
8110 * locale/iso-639.def: Add brx entry.
8111
41043168
UD
8112 [BZ #13328]
8113 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8114 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8115
21eaf3a5
UD
8116 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8117 __feraiseexcept_renamed.
8118
e3a851a2
UD
81192011-12-21 Ulrich Drepper <drepper@gmail.com>
8120
4920765e
UD
8121 [BZ #13538]
8122 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8123 EPOLLET with unsigned values.
8124 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8126
e3a851a2
UD
8127 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8128 to large cancellation.
8129 * math/s_cacoshf.c: Likewise.
8130 * math/s_cacoshl.c: Likewise.
8131
b27e24b8
RK
81322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8133
8134 [BZ #13305]
aebefeee 8135 [BZ #12786]
b27e24b8
RK
8136 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8137 * math/s_cacoshf.c: Likewise.
8138 * math/s_cacoshl.c: Likewise.
8139
ee190f67
UD
81402011-12-21 Ulrich Drepper <drepper@gmail.com>
8141
8142 [BZ #13439]
8143 * iconv/gconv.h: Define __GCONV_SWAP.
8144 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8145 * iconvdata/utf-16.c: Likewise.
8146 * iconvdata/utf-32.c: Likewise.
8147
707f25df
AS
81482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8149
8150 [BZ #13524]
8151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8152 numerator after shifting it by one limb.
8153
d2daaa1e
RÁE
81542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8155
8156 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8157 under [__USE_EXTERN_INLINES].
8158
a4647e72
UD
81592011-12-17 Ulrich Drepper <drepper@gmail.com>
8160
8161 [BZ #13446]
8162 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8163
f0b264f1
AZ
81642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8165
8166 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8167 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8168 optimized code.
8169 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8170 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8171 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8172 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8173 for strncasecmp/strncasecmp_l compilation.
8174 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8175 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8176
8ef4f244
MP
81772011-12-08 Marek Polacek <mpolacek@redhat.com>
8178
8179 [BZ #13484]
8180 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8181 of __asm__.
8182
97ac2654
UD
81832011-12-17 Ulrich Drepper <drepper@gmail.com>
8184
8185 [BZ #13506]
8186 * time/tzfile.c (__tzfile_read): Check values from file header.
8187
91d2a845
WS
81882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8189
8190 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8191 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8192 * powerpc/powerpc32/dl-start.S: Likewise.
8193 * powerpc/powerpc32/elf/start.S: Likewise.
8194 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8195 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8196 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8197 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8198 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8199 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8200 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8201 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8202 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8203 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8204 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8205 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8206 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8207 * powerpc/powerpc32/memset.S: Likewise.
8208 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8209 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8210 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8211 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8212 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8213 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8214 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8215 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8216 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8217 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8218 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8219 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8220 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8221
a1267ba1
AZ
82222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8223
8224 * math/libm-test.inc: Added more nearbyint tests.
8225 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8226 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8229
ad8ac1bd
RL
82302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8231
8232 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8233 FD_CLOEXEC.
8234
1d3e4b61
UD
82352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8236
8237 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8238 Add wcscpy-ssse3 wcscpy-c.
8239 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8240 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8241 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8242 * sysdeps/x86_64/wcschr.S: New file.
8243 * sysdeps/x86_64/wcsrchr.S: New file.
8244 * string/test-strcmp.c: Remove checking of wcscmp function for
8245 wrong alignments.
8246 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8247 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8248 wcsrchr-sse2 wcsrchr-c.
8249 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8250 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8251 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8252 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8253 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8254 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8255 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8256 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8257 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8258 * wcsmbc/wcschr.c (WCSCHR): New macro.
8259
5b330a2d
UD
82602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8261
8262 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8263 * wcsmbs/test-wcsrchr.c: New file.
8264 * string/test-strrchr.c: Add wcsrchr support.
8265 (WIDE): New macro.
8266 * wcsmbs/test-wcscpy.c: New file.
8267 * string/test-strcpy.c: Add wcscpy support.
8268 (WIDE): New macro.
26428b7c 8269
f039c043
UD
82702011-12-10 Ulrich Drepper <drepper@gmail.com>
8271
8272 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8273 the inner loop.
8274
850fb039
AS
82752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8276
8277 [BZ #13472]
8278 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8279
4efbd5cb
UD
82802011-12-04 Ulrich Drepper <drepper@gmail.com>
8281
52ff5dd0 8282 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8283 Minor optimizations.
52ff5dd0 8284
4efbd5cb
UD
8285 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8286 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8287 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8288
8a426e12
UD
82892011-12-03 Ulrich Drepper <drepper@gmail.com>
8290
aff2453d
UD
8291 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8292 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8293 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8294 for gcc to avoid warnings.
8295 * inet/Makefile (tests): Add tst-checks.
8296 * inet/tst-checks.c: New file.
8297
8298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8299 warning.
8300
8301 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8302 __wmemcmp_sse2.
8303
8304 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8305 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8306
8a426e12
UD
8307 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8308
9bea3473
UD
83092011-12-02 Ulrich Drepper <drepper@gmail.com>
8310
3a965496
UD
8311 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8312 problem.
8313
9bea3473
UD
8314 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8315
f101631b
UD
83162011-11-29 Joseph Myers <joseph@codesourcery.com>
8317
8318 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8319 conditional on GCC version.
8320 (__arch_compare_and_exchange_val_8_acq)
8321 (__arch_compare_and_exchange_val_16_acq)
8322 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8323 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8324 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8325
a98275aa
UD
83262011-12-02 Joseph Myers <joseph@codesourcery.com>
8327
8328 * sysdeps/sh/backtrace.c: New file.
8329
d4cc29a2
AS
83302011-12-02 Andreas Schwab <schwab@redhat.com>
8331
8332 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8333 parenthesis.
8334
6257af2d
AS
83352011-12-01 Andreas Schwab <schwab@redhat.com>
8336
8337 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8338 falling back to utime.
8339
b5f44c1a
AS
83402011-11-30 Andreas Schwab <schwab@redhat.com>
8341
8342 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8343 expectations for float.
8344
f3a6cc0a
AS
83452011-11-29 Andreas Schwab <schwab@redhat.com>
8346
8347 * locale/weight.h (findidx): Add parameter len.
8348 * locale/weightwc.h (findidx): Likewise.
8349 * posix/fnmatch_loop.c (FCT): Adjust caller.
8350 * posix/regcomp.c (build_equiv_class): Likewise.
8351 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8352 * posix/regexec.c (check_node_accept_bytes): Likewise.
8353 * string/strcoll_l.c (STRCOLL): Likewise.
8354 * string/strxfrm_l.c (STRXFRM): Likewise.
8355
9d65ea3a
UD
83562011-11-17 Ulrich Drepper <drepper@gmail.com>
8357
8358 * Makefile.in: Remove CVSOPT handling.
8359 * configure.in: Remove use of AC_REVISION.
8360 * iconvdata/Makefile (distribute): No need to filter out CVS.
8361 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8362 handling.
8363
5583a086
AS
83642011-11-16 Andreas Schwab <schwab@redhat.com>
8365
8366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8367 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8368 [USE_AS_STRNCASECMP_L]: Likewise.
8369 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8370 NO_TLS_DIRECT_SEG_REFS.
8371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8372 Fix argument offsets for non-PIC.
8373 [USE_AS_STRNCASECMP_L]: Likewise.
8374 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8375 NO_TLS_DIRECT_SEG_REFS.
8376
d62a8200
UD
83772011-11-15 Ulrich Drepper <drepper@gmail.com>
8378
9d65ea3a 8379 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8380 O_CLOEXEC.
8381 * locale/loadlocale.c (_nl_load_locale): Likewise.
8382
09f93bd3
AS
83832011-11-15 Andreas Schwab <schwab@redhat.com>
8384
446514f9
AS
8385 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8386 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8387 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8388 (SYSCALL_GETTIME): Set errno on error.
8389
09f93bd3
AS
8390 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8391 count references to noai6ai_cached.
8392
312be3f9
UD
83932011-11-15 Ulrich Drepper <drepper@gmail.com>
8394
8395 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8396
8397 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8398 FD_CLOEXEC for /proc/self/maps.
8399
8400 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8401 FD_CLOEXEC for /proc/meminfo.
8402
8403 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8404 gai.conf.
8405
8406 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8407 FD_CLOEXEC for given file.
8408
8409 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8410
8411 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8412 FD_CLOEXEC for /etc/hosts.
8413 (_gethtent): Likewise.
8414
8415 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8416
8417 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8418 cancellation and set FD_CLOEXEC for /etc/netgroup.
8419
8420 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8421 reading /etc/publickey.
8422
8423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8424 allow cancellation when reading /etc/group.
8425
8426 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8427 cancellation.
8428 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8429
8430 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8431 when using data file.
8432
8433 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8434
8435 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8436 (write_nis_obj): Use "c" and "e" in fopen.
8437
8438 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8439
8440 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8441
8442 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8443
8444 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8445
8446 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8447 locale.alias.
8448
8449 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8450
8451 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8452
8453 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8454
8455 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8456 file parsing and set FD_CLOEXEC.
8457
82af0fa8
UD
84582011-11-14 Ulrich Drepper <drepper@gmail.com>
8459
8460 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8461
a5fb313c
AS
84622011-11-14 Andreas Schwab <schwab@redhat.com>
8463
8464 * malloc/arena.c (arena_get2): Don't call reused_arena when
8465 _int_new_arena failed.
8466
6abf3465
UD
84672011-11-14 Ulrich Drepper <drepper@gmail.com>
8468
8469 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8470 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8475 to compile strcasecmp and strncasecmp.
8476 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8477 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8478
8479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8480
76e3966e
UD
84812011-11-13 Ulrich Drepper <drepper@gmail.com>
8482
8483 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8484 locale-defines.sym to gen-as-const-headers.
8485 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8486 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8488 to compile strcasecmp and strncasecmp.
8489 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8490 strcasecmp_l and strncasecmp_l.
8491 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8492 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8493 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8495 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8496 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8497 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8498 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8499 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8500 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8501 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8502
ab26144e
UD
85032011-11-12 Ulrich Drepper <drepper@gmail.com>
8504
7edb22ef
UD
8505 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8506 result of SYSDEP_GETTIME_CPU to retval.
8507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8508 parameter list to macro. Remove trailing semicolon. Adjust users.
8509
9694fc44
UD
8510 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8511 variable.
8512
8ad89ef8
UD
8513 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8514 mantissa words.
8515 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8516
0c822ef9
UD
8517 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8518 from unused variable.
8519
874e0564
UD
8520 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8521 DWARF definitions.
8522 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8523 for assembling.
8524
3a2edc79
UD
8525 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8526 over namespaces.
8527
f3c2577f
UD
8528 * sunrpc/rpc_prot.c (rejected): Fix case value.
8529
294ce126
UD
8530 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8531 unsigned long long int to avoid warnings in shift.
8532
5e2b63c6
UD
8533 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8534 of use of trans.
8535 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8536 variable tmp.
8537
e7f4b08e
UD
8538 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8539 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8540 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8541
ab26144e
UD
8542 * nis/nis_table.c (nis_list): Use variable of correct type for
8543 result of __follow_path call.
8544
8a6d5255
AZ
85452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546
8547 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8548 of math functions ceil, trunc, floor, round, and sqrt, when
8549 avaliable on the platform.
8550 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8551 name clash.
8552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8553 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8554 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8555
aaddc98c
MP
85562011-10-30 Marek Polacek <mpolacek@redhat.com>
8557
8558 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8559 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8560
95b7042b
RM
85612011-11-11 Roland McGrath <roland@hack.frob.com>
8562
8563 * include/unistd.h: Fix __readlink return type.
8564 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8565
57769839
UD
85662011-11-11 Ulrich Drepper <drepper@gmail.com>
8567
8568 * stdlib/ucontext.h: Undo last change for makecontext.
8569
edc5984d
AS
85702011-11-11 Andreas Schwab <schwab@redhat.com>
8571
98591e58
AS
8572 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8573
edc5984d
AS
8574 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8575 * setjmp/setjmp.h: Mark functions as non-leaf.
8576 * setjmp/bits/setjmp2.h: Likewise.
8577 * stdlib/ucontext.h: Likewise.
8578
77cdc054
AS
85792011-11-10 Andreas Schwab <schwab@redhat.com>
8580
8581 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8582 (reused_arena): Don't check arena limit.
8583 (arena_get2): Atomically check arena limit.
8584
fe72eebd
UD
85852011-11-08 Ulrich Drepper <drepper@gmail.com>
8586
5f078c32
UD
8587 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8588 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8589
fe72eebd
UD
8590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8591 instructions.
8592
ae1bc2fa
AS
85932011-11-07 Andreas Schwab <schwab@redhat.com>
8594
7583a88d
AS
8595 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8596 handler when locking.
8597
ae1bc2fa
AS
8598 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8599 Fix size of allocated buffer.
8600
10fb0bfa
AS
86012011-11-04 Andreas Schwab <schwab@redhat.com>
8602
998832a4
AS
8603 [BZ #10103]
8604 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8605 declarations for long double functions.
8606 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8607
10fb0bfa
AS
8608 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8609
3d7ba52b
AS
86102011-11-03 Andreas Schwab <schwab@redhat.com>
8611
a9ae54a1
AS
8612 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8613 installed.
8614
3d7ba52b
AS
8615 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8616 is disabled.
8617
bc8db248
ST
86182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8619
8620 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8621
45b96dd6
AS
86222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8623
647776f6
AS
8624 * include/alloca.h (stackinfo_alloca_round): Define.
8625 (extend_alloca): Use it.
8626 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8627 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8628 here.
8629
d91a8b93
AS
8630 * scripts/check-local-headers.sh: Ignore libaudit.h.
8631
45b96dd6
AS
8632 * nscd/Makefile (extra-objs): Make recursively expanded.
8633
432d41ce
UD
86342011-11-01 Ulrich Drepper <drepper@gmail.com>
8635
34372fc6
UD
8636 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8637 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8638
fadb59f8
UD
8639 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8640 * posix/tst-rfc3484-2.c: Likewise.
8641 * posix/tst-rfc3484-3.c: Likewise.
8642
78239589
UD
8643 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8644 process_vm_writev.
8645 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8646 process_vm_writev.
8647 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8648 process_vm_writev from libc using GLIBC_2.15 version.
8649
432d41ce
UD
8650 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8651
02f9c6cf
PP
86522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8653
8654 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8655 stack usage.
8656
3a2c0242
UD
86572011-10-31 Ulrich Drepper <drepper@gmail.com>
8658
f4ec4833
UD
8659 [BZ #13367]
8660 * nss/getent.c (initgroups_keys): Show error message in case no group
8661 names are given.
8662
3a2c0242
UD
8663 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8664 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8665 __bump_nl_timestamp.
8666 * nscd/connections (nscd_init): When host database is served open
8667 netlink socket and request notification about configuration changes.
8668 (main_loop_poll): Track netlink file descriptor and bump timestamp
8669 in case data becomes available.
8670 (main_loop_epoll): Likewise.
8671 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8672 (database_pers_head): Add extra_data fileds.
8673 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8674 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8675 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8676 Adjust caller.
8677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8678 in6ai data, call __free_in6ai.
8679 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8680 Add -DHAVE_NETLINK.
8681 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8682 interface information. Reuse previous data if netlink timestamp
8683 is not changed.
8684 (__bump_nl_timestamp): New function.
8685 (__free_in6ai): New function.
8686
636064eb
UD
86872011-10-30 Ulrich Drepper <drepper@gmail.com>
8688
8689 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8690 close_not_cancel_no_status here.
8691 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8692
9beb2334
UD
86932011-10-29 Ulrich Drepper <drepper@gmail.com>
8694
6ef76f3b
UD
8695 [BZ #13276]
8696 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8697 return value.
8698
0ffc4f3e 8699 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8700 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8701 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8702
cb95113e
UD
87032011-07-03 Andreas Jaeger <aj@suse.de>
8704
8705 [BZ #10709]
8706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8707 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8708 * math/libm-test.inc (sin_test): Add test case.
8709
a1b560ff
UD
87102011-10-29 Ulrich Drepper <drepper@gmail.com>
8711
c9aaface
UD
8712 [BZ #13337]
8713 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8714 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8715
d272e7f1
UD
8716 * elf/chroot_canon.c (chroot_canon): Cleanups.
8717
1bc33071
UD
8718 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8719
1760874d
TJ
8720 [BZ #13335]
8721 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8722 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8723
51d91b18
UD
8724 * string/test-strchr.c: Make usable for strchrnul testing.
8725 * string/test-strchrnul.c: New file.
8726 * string/Makefile (strop-tests): Add strchrnul.
8727
a1b560ff 8728 * po/it.po: Update from translation team.
b611fb81 8729 * po/es.po: Likewise.
a1b560ff 8730
a5b81e1f
UD
87312011-10-28 Ulrich Drepper <drepper@gmail.com>
8732
fd52bc6d
UD
8733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8734 the three constants needed as parameters. Drop the others.
8735 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8736 __m128i_strloadu_tolower.
52e4b9eb
UD
8737 Create and initialize variable zero and use it in all the places
8738 where _mm_setzero_si128 was used.
fd52bc6d 8739
a5b81e1f
UD
8740 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8741 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8742 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8743 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8744 anymore.
8745 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8746 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8747 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8748 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8749 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8750 __mpranred, __mptan.
8751 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8752 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8753 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8754 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8755 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8756 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8758 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8759 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8760
b4343346
AS
87612011-10-28 Andreas Schwab <schwab@redhat.com>
8762
0c92d8a8
AS
8763 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8764 redefine if SHARED.
8765 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8766
b4343346
AS
8767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8768 wide char related routines to wcsmbs subdir.
8769
3871f58f
AS
87702011-10-27 Andreas Schwab <schwab@redhat.com>
8771
8772 [BZ #13344]
8773 * misc/sys/cdefs.h (__THROWNL): Define.
8774 * posix/unistd.h: Use __THREADNL instead of __THREAD
8775 for memory synchronization functions.
8776
94d44d9f
RM
87772011-10-26 Roland McGrath <roland@hack.frob.com>
8778
21b64b15 8779 [BZ #13349]
94d44d9f
RM
8780 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8781 doesn't exist.
8782 * manual/stdio.texi (Obstack Streams): Node removed.
8783
f6ce9294
AS
87842011-10-26 Andreas Schwab <schwab@redhat.com>
8785
80479147
AS
8786 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8787 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8789
f6ce9294
AS
8790 * math/math_private.h (math_force_eval): Allow non-addressable
8791 arguments.
8792 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8793
618280a1
UD
87942011-10-25 Ulrich Drepper <drepper@gmail.com>
8795
e0016b11
UD
8796 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8797 file is not needed.
8798
8799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8801 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8802 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8803 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8804 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8807 Add AVX variants.
8808 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8809 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8810 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8811 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8812 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8813 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8814 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8818 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8819 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8821 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8822 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8823 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8824 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8825 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8826 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8827
8828 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8829 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8830
618280a1
UD
8831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8832 place. Use VEX encoding when compiling for AVX.
8833
37822576
AS
88342011-10-25 Andreas Schwab <schwab@redhat.com>
8835
1f1e1947
AS
8836 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8837 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8838
37822576
AS
8839 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8840
31ea014d
UD
88412011-10-25 Ulrich Drepper <drepper@gmail.com>
8842
d7826aa1 8843 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8844 useless if() expression.
d7826aa1
UD
8845 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8854 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8855 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8856 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8857 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8858 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8859 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8864
31ea014d
UD
8865 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8866
16437fec
AS
88672011-10-25 Andreas Schwab <schwab@redhat.com>
8868
8869 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8870 condition.
8871 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8872
31d3cc00
UD
88732011-10-25 Ulrich Drepper <drepper@gmail.com>
8874
8875 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8876 .text section. Avoid duplicate constants.
8877 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8887 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8889 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8892 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8894 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8900 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8901 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8902 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8903 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8904 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8905 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8907 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8908 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8909 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8910 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8911 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8913 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8914 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8915 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8919 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8922
58985aa9
UD
89232011-10-24 Ulrich Drepper <drepper@gmail.com>
8924
202c9deb
UD
8925 * sysdeps/x86_64/dla.h: Move to ...
8926 * sysdeps/x86_64/fpu/dla.h: ...here.
8927 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8928 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8929
af968f62
UD
8930 * config.make.in: Add have-mfma4 entry.
8931 * configure.in: Substitute libc_cv_cc_fma4.
8932 * math/Makefile (dbl-only-routines): Add sincostab.
8933 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8934 Use __sincostab not sincos.
8935 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8936 name is a macro.
8937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8941 using __copysign.
8942 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8943 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8944 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8945 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8946 and __inv.
8947 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8948 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8949 __copysign.
8950 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8951 define aliases when function name is a macro.
8952 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8953 sysdeps/ieee754/dbl-64/sincos.tbl.
8954 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8955 fma4-enabled routines.
8956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8960 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8962 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8964 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8965 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8966 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8968 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8969 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8971 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8972 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8973 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8979 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8981 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8983 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8985 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8986
58985aa9
UD
8987 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8988 rename.
8989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8997
a201fbcf
AS
89982011-10-24 Andreas Schwab <schwab@redhat.com>
8999
9000 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9001
fc2ee42a
LD
90022011-10-23 Ulrich Drepper <drepper@gmail.com>
9003
bb3129bd
UD
9004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9005
0275fff8
UD
9006 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9007 prediction.
9008 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9009
2fa2ae85
UD
9010 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9011 Remove unused variable magic_bits.
9012 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9013
fc2ee42a
LD
9014 * string/strnlen.c: Define and use STRNLEN macro.
9015 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9016 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9017 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9018 * wcsmbs/wcslen.c: Define and use WCSLEN.
9019 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9020 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9021 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9022 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9023 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9024 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9025 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9026
ce7dd29f
LD
90272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9028
9029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9030 strnlen-sse2-no-bsf.
9031 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9033 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9034 Add strnlen support.
9035 (USE_AS_STRNLEN): New macro.
9036 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9037 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9038 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9039 * sysdeps/x86_64/wcslen.S: New file.
9040
979c70a3
MZ
90412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9042
9043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9044 XMM-moves are used for copying on small sizes.
9045
2d09f82f
LD
90462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9047
9048 * wcsmbs/Makefile (strop-tests): Add wcschr.
9049 * wcsmbs/test-wcschr.c: New file.
9050 * string/test-strchr.c: Update.
9051 Add wcschr support.
9052 (WIDE): New macro.
9053
619fccca
LD
90542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9055
2d09f82f 9056 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9057 * wcsmbs/test-wcslen.c: New file.
9058 * string/test-strlen.c: Update.
9059 Add wcslen support.
9060 (WIDE): New macro.
9061
09f699ea
UD
90622011-10-23 Ulrich Drepper <drepper@gmail.com>
9063
9064 * po/it.po: Update from translation team.
9065
95584d3b
LD
90662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9067
9068 * sysdeps/x86_64/wcscmp.S: Update.
9069 Fix wrong comparison semantics.
9070 wcscmp shall use signed comparison not unsigned.
9071 Don't use substraction to avoid overflow bug.
9072 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9073 * wcsmbc/wcscmp.c: Likewise.
9074 * string/test-strcmp.c: Likewise.
9075 Add new tests to check cases with negative values.
9076
c8b3296b
UD
90772011-10-23 Ulrich Drepper <drepper@gmail.com>
9078
9079 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9080 * sysdeps/x86_64/dla.h: ...here. New file.
9081 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9090
246ad57a
AS
90912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9092
9093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9094 __ynl_finite aliases.
9095
a1a87169
UD
90962011-10-22 Ulrich Drepper <drepper@gmail.com>
9097
0d355eb7
UD
9098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9099
a1a87169
UD
9100 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9101 define DLA_FMA.
9102 [DLA_FMA] (EMULV): Use DLA_FMA.
9103 [DLA_FMA] (MUL12): Use EMULV.
9104 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9105 that are not needed.
9106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9113
ee2aafe0
AS
91142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9115
9116 * math/s_nan.c: Undef __nan.
9117 * math/s_nanf.c: Undef __nanf.
9118 * math/s_nanl.c: Undef __nanl.
9119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9120 "math_private.h".
9121
bc62c2fb
UD
91222011-10-22 Ulrich Drepper <drepper@gmail.com>
9123
77425c63
UD
9124 * math/s_catan.c: Add branch predictions.
9125 * math/s_catanf.c: Likewise.
9126 * math/s_catanh.c: Likewise.
9127 * math/s_catanhf.c: Likewise.
9128 * math/s_catanhl.c: Likewise.
9129 * math/s_catanl.c: Likewise.
9130 * math/s_cexp.c: Likewise.
9131 * math/s_cexpf.c: Likewise.
9132 * math/s_cexpl.c: Likewise.
9133 * math/s_clog.c: Likewise.
9134 * math/s_clog10.c: Likewise.
9135 * math/s_clog10f.c: Likewise.
9136 * math/s_clog10l.c: Likewise.
9137 * math/s_clogf.c: Likewise.
9138 * math/s_clogl.c: Likewise.
9139 * math/s_csqrt.c: Likewise.
9140 * math/s_csqrtf.c: Likewise.
9141 * math/s_csqrtl.c: Likewise.
9142 * math/s_ctanf.c: Likewise.
9143 * math/s_ctanh.c: Likewise.
9144 * math/s_ctanhf.c: Likewise.
9145 * math/s_ctanhl.c: Likewise.
9146 * math/s_ctanl.c: Likewise.
9147
bc62c2fb
UD
9148 * math/math_private.h: Define __nan, __nanf, __nanl.
9149 * math/s_cacosh.c: Include <math_private.h>.
9150 * math/s_cacoshl.c: Likewise.
9151 * math/s_casinh.c: Likewise.
9152 * math/s_casinhf.c: Likewise.
9153 * math/s_casinhl.c: Likewise.
9154 * math/s_ccos.c: Rely entire on ccosh.
9155 * math/s_ccosf.c: Rely entire on ccoshf.
9156 * math/s_ccosl.c: Rely entirely on ccoshl.
9157 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9158 Remove tests for FE_INVALID.
9159 * math/s_ccoshf.c: Likewise.
9160 * math/s_ccoshl.c: Likewise.
9161 * math/s_csin.c: Likewise.
9162 * math/s_csinf.c: Likewise.
9163 * math/s_csinh.c Likewise.
9164 * math/s_csinhf.c: Likewise.
9165 * math/s_csinhl.c: Likewise.
9166 * math/s_csinl.c: Likewise.
9167 * math/s_ctan.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9169 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9170 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9171
8ec250a4
UD
91722011-10-21 Ulrich Drepper <drepper@gmail.com>
9173
c196fed8
UD
9174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9175 compilation problems.
9176
8ec250a4
UD
9177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9178 __builtin_expect.
9179
8d4f46c6
UD
91802011-10-20 Ulrich Drepper <drepper@gmail.com>
9181
ed72b654
UD
9182 * sysdeps/i386/configure.in: Test for -mfma4 option.
9183 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9184 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9185 COMMON_CPUID_INDEX_80000001.
9186 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9187 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9188 use it if FMA3 is not supported.
9189 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9190
8d4f46c6
UD
9191 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9192 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9193
d45c60c2
AS
91942011-10-20 Andreas Schwab <schwab@redhat.com>
9195
9196 [BZ #12892]
9197 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9198 it would create a cycle with a link time dependency.
9199
d9a4d2ab
UD
92002011-10-19 Ulrich Drepper <drepper@gmail.com>
9201
855d1560
UD
9202 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9203 instruction.
9204 * string/Makefile (strop-tests): Add rawmemchr.
9205 * string/test-rawmemchr.c: New file.
9206
d9a4d2ab
UD
9207 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9209 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9210 when compiling str{,n}casecmp and when AVX is available. Hook up
9211 new optimized code in initializers.
9212
8f3b1ffe
AS
92132011-10-19 Andreas Schwab <schwab@redhat.com>
9214
9215 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9216 __feraiseexcept instead of feraiseexcept.
9217
d38f1dba
UD
92182011-10-18 Ulrich Drepper <drepper@gmail.com>
9219
d9a8d0ab
UD
9220 * math/math_private.h: Define defaults for libc_fetestexcept and
9221 libc_feupdateenv.
9222 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9223 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9225 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9226 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9227 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9228 libc_fetestexcept and libc_feupdateenv.
9229
4855e3dd
UD
9230 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9231 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9232 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9233 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9234 libc_feholdexcept_setround.
9235
581d30e3
UD
9236 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9237 Add s_nearbyint-c and s_nearbyintf-c.
9238 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9239 nearbyintf inlines.
9240 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9242 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9244
d38f1dba
UD
9245 * math/math_private.h: Define defaults for libc_fegetround,
9246 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9247 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9248 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9250 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9251 standard functions.
9252 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9253 Remove comments and hacks for old compiler versions.
9254 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9255 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9256 libc_feholdexceptl.
9257
caa6c9d8
AS
92582011-10-18 Andreas Schwab <schwab@redhat.com>
9259
9260 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9261 (__feraiseexcept_renamed): Add __NTH.
9262 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9263 namespace violations.
9264
97c066e6
UD
92652011-10-17 Ulrich Drepper <drepper@gmail.com>
9266
99ce7b04
UD
9267 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9268
1004d182
UD
9269 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9270
228a984d
UD
9271 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9272 recently added interfaces.
9273 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9274
c8553a6a
UD
9275 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9276 about macro parameter expansion.
9277
ed22dcf6
UD
9278 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9279 __NO_MATH_INLINES is defined. Cleanups.
9280
9281 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9282 and __floorf is target has SSE4.1.
9283 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9284 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9285 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9286 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9287
b171c137
UD
9288 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9289 name.
9290 (floorf): Likewise.
9291
97c066e6
UD
9292 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9293
629f62ef
AS
92942011-10-17 Andreas Schwab <schwab@redhat.com>
9295
49a43d80
AS
9296 * misc/sys/cdefs.h: Fix last change.
9297
629f62ef
AS
9298 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9299 database lookup.
9300
e453f6cd
UD
93012011-10-16 Ulrich Drepper <drepper@gmail.com>
9302
aa78043a
UD
9303 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9304
ad0f5cad
UD
9305 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9306 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9311 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9313 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9314 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9315 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9316 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9317 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9318 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9319 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9320 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9321 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9322 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9323 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9324 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9325 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9326 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9327
9328 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9329 ceil, ceilf, floor, floorf.
9330
9331 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9332 Perform IRELATIVE relocations last.
9333
e453f6cd
UD
9334 * elf/do-rel.h: Add another parameter nrelative, replacing the
9335 local variable with the same name. Change name of the function
9336 to end in Rel or Rela (uppercase).
9337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9338 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9339 elf_dynamic_do_##reloc function.
9340
fd5bdc09
UD
93412011-10-15 Ulrich Drepper <drepper@gmail.com>
9342
79b195b5
UD
9343 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9344 is sufficient, at least on modern CPUs.
9345
d4a28569
UD
9346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9347
b61099b5
UD
9348 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9349 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9350
bcf01e6d
UD
9351 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9352 __expl_finite.
9353 * math/bits/math-finite.h: Add entries for exp.
9354 * math/e_expl.c: Add __*_finite alias.
9355 * sysdeps/i386/fpu/e_exp.S: Likewise.
9356 * sysdeps/i386/fpu/e_expf.S: Likewise.
9357 * sysdeps/i386/fpu/e_expl.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9359 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9363 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9364 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9365
ba1a0d59
UD
9366 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9367 is sufficient, at least on modern CPUs.
9368
fd5bdc09
UD
9369 * ctype/ctype-info.c (__ctype_init): Define.
9370 * include/ctype.h (__ctype_init): Declare.
9371 (__ctype_b_loc): The variable is always initialized.
9372 (__ctype_toupper_loc): Likewise.
9373 (__ctype_tolower_loc): Likewise.
9374 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9375 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9376
7872cfb0
AS
93772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9378
b468825a
AS
9379 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9380
7872cfb0
AS
9381 * configure.in: Also look in $cxxmachine/include for C++ system
9382 headers.
9383
be13f7bf
LD
93842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9385
9386 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9387 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9388 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9389 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9390 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9391 (USE_AS_WMEMCMP): New macro.
9392 Fixing indents.
9393 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9394 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9395 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9396 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9398 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9399 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9400 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9401 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9402 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9403 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9404 (USE_AS_WMEMCMP): New macro.
9405 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9406 * sysdeps/string/test-memcmp.c: Update.
9407 Fix simple_wmemcmp.
9408 Add new tests.
9409 * wcsmbs/wmemcmp.c: Update.
9410 (WMEMCMP): New macro.
9411 Fix overflow bug.
9412
556a2007
AJ
94132011-10-12 Andreas Jaeger <aj@suse.de>
9414
9415 [BZ #13268]
9416 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9417
538faaa7
UD
94182011-10-15 Ulrich Drepper <drepper@gmail.com>
9419
ab6737ff
UD
9420 * libio/iofwide.c (do_length): Avoid warning.
9421
538faaa7
UD
9422 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9423
396a21b1
UD
94242011-10-14 Ulrich Drepper <drepper@gmail.com>
9425
cdf2901f
UD
9426 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9427
38ad40ce
UD
9428 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9429 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9430 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9431 * sysdeps/i386/i686/fpu/e_log.S: New file.
9432 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9433 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9434
396a21b1
UD
9435 * ctype/ctype.h: Add support for inlined isXXX functions when
9436 compiling C++ code.
9437
6b1f68c9
AS
94382011-10-14 Andreas Schwab <schwab@redhat.com>
9439
349290c0
AS
9440 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9441
6b1f68c9
AS
9442 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9443
f2282d42
RM
94442011-10-13 Roland McGrath <roland@hack.frob.com>
9445
9446 [BZ #13291]
9447 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9448
5298ffa8
AS
94492011-10-13 Andreas Schwab <schwab@redhat.com>
9450
714fad23
AS
9451 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9452 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9453 feraiseexcept.
9454
81dcc7fb
AS
9455 * sysdeps/x86_64/memrchr.S: Check for zero size.
9456
5298ffa8
AS
9457 * string/stratcliff.c: Add memrchr tests.
9458
951fbcec
LD
94592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9460
9461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9462 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9463 rawmemchr-sse2 rawmemchr-sse2-bsf.
9464 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9465 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9466 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9467 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9468 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9469 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9470 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9471 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9472 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9473 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9474 * string/memrchr.c (MEMRCHR): New macro.
9475
0ac5ae23
UD
94762011-10-12 Ulrich Drepper <drepper@gmail.com>
9477
9478 Add integration with gcc's -ffinite-math-only and optimize wrapper
9479 functions in libm.
9480 * Versions.def: Define GLIBC_2.15 version for libm.
9481 * math/Makefile (headers): Add bits/math-finite.h.
9482 * math/bits/math-finite.h: New file.
9483 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9484 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9485 * math/e_acoshl.c: Add __*_finite alias.
9486 * math/e_acosl.c: Likewise.
9487 * math/e_asinl.c: Likewise.
9488 * math/e_atan2l.c: Likewise.
9489 * math/e_atanhl.c: Likewise.
9490 * math/e_coshl.c: Likewise.
9491 * math/e_exp10.c: Likewise.
9492 * math/e_exp10f.c: Likewise.
9493 * math/e_exp10l.c: Likewise.
9494 * math/e_exp2l.c: Likewise.
9495 * math/e_fmodl.c: Likewise.
9496 * math/e_gammal_r.c: Likewise.
9497 * math/e_hypotl.c: Likewise.
9498 * math/e_j0l.c: Likewise.
9499 * math/e_j1l.c: Likewise.
9500 * math/e_jnl.c: Likewise.
9501 * math/e_lgammal_r.c: Likewise.
9502 * math/e_log10l.c: Likewise.
9503 * math/e_log2l.c: Likewise.
9504 * math/e_logl.c: Likewise.
9505 * math/e_powl.c: Likewise.
9506 * math/e_sinhl.c: Likewise.
9507 * math/e_sqrtl.c: Likewise.
9508 * math/e_scalb.c: Completely rewritten and optimized.
9509 * math/e_scalbf.c: Likewise.
9510 * math/e_scalbl.c: Likewise.
9511 * math/w_acos.c: Likewise.
9512 * math/w_acosf.c: Likewise.
9513 * math/w_acosl.c: Likewise.
9514 * math/w_acosh.c: Likewise.
9515 * math/w_acoshf.c: Likewise.
9516 * math/w_acoshl.c: Likewise.
9517 * math/w_asin.c: Likewise.
9518 * math/w_asinf.c: Likewise.
9519 * math/w_asinl.c: Likewise.
9520 * math/w_atan2.c: Likewise.
9521 * math/w_atan2f.c: Likewise.
9522 * math/w_atan2l.c: Likewise.
9523 * math/w_atanh.c: Likewise.
9524 * math/w_atanhf.c: Likewise.
9525 * math/w_atanhl.c: Likewise.
9526 * math/w_exp10.c: Likewise.
9527 * math/w_exp10f.c: Likewise.
9528 * math/w_exp10l.c: Likewise.
9529 * math/w_fmod.c: Likewise.
9530 * math/w_fmodf.c: Likewise.
9531 * math/w_fmodl.c: Likewise.
9532 * math/w_j0.c: Likewise.
9533 * math/w_j0f.c: Likewise.
9534 * math/w_j0l.c: Likewise.
9535 * math/w_j1.c: Likewise.
9536 * math/w_j1f.c: Likewise.
9537 * math/w_j1l.c: Likewise.
9538 * math/w_jn.c: Likewise.
9539 * math/w_jnf.c: Likewise.
9540 * math/w_log.c: Likewise.
9541 * math/w_logf.c: Likewise.
9542 * math/w_logl.c: Likewise.
9543 * math/w_log10.c: Likewise.
9544 * math/w_log10f.c: Likewise.
9545 * math/w_log10l.c: Likewise.
9546 * math/w_log2.c: Likewise.
9547 * math/w_log2f.c: Likewise.
9548 * math/w_log2l.c: Likewise.
9549 * math/w_pow.c: Likewise.
9550 * math/w_powf.c: Likewise.
9551 * math/w_powl.c: Likewise.
9552 * math/w_remainder.c: Likewise.
9553 * math/w_remainderf.c: Likewise.
9554 * math/w_remainderl.c: Likewise.
9555 * math/w_scalb.c: Likewise.
9556 * math/w_scalbf.c: Likewise.
9557 * math/w_scalbl.c: Likewise.
9558 * math/w_sqrt.c: Likewise.
9559 * math/w_sqrtf.c: Likewise.
9560 * math/w_sqrtl.c: Likewise.
9561 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9562 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9563 used.
9564 * math/math_private.h: Declare __kernel_standard_f.
9565 * math/w_cosh.c: Remove cruft and optimize a bit.
9566 * math/w_coshf.c: Likewise.
9567 * math/w_coshl.c: Likewise.
9568 * math/w_exp2.c: Likewise.
9569 * math/w_exp2f.c: Likewise.
9570 * math/w_exp2l.c: Likewise.
9571 * math/w_hypot.c: Likewise.
9572 * math/w_hypotf.c: Likewise.
9573 * math/w_hypotl.c: Likewise.
9574 * math/w_lgamma.c: Likewise.
9575 * math/w_lgamma_r.c: Likewise.
9576 * math/w_lgammaf.c: Likewise.
9577 * math/w_lgammaf_r.c: Likewise.
9578 * math/w_lgammal.c: Likewise.
9579 * math/w_lgammal_r.c: Likewise.
9580 * math/w_sinh.c: Likewise.
9581 * math/w_sinhf.c: Likewise.
9582 * math/w_sinhl.c: Likewise.
9583 * math/w_tgamma.c: Likewise.
9584 * math/w_tgammaf.c: Likewise.
9585 * math/w_tgammal.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9588 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9589 Minor optimizations. Pretty printing. Remove cruft.
9590 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9591 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9592 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9594 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9595 * sysdeps/i386/fpu/e_asin.S: Likewise.
9596 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9597 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9598 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9599 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9601 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9603 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9604 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9605 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9606 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9607 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9608 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9609 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9610 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9611 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9612 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9613 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9614 * sysdeps/i386/fpu/e_log.S: Likewise.
9615 * sysdeps/i386/fpu/e_log10.S: Likewise.
9616 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9618 * sysdeps/i386/fpu/e_log2.S: Likewise.
9619 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9620 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9621 * sysdeps/i386/fpu/e_logf.S: Likewise.
9622 * sysdeps/i386/fpu/e_logl.S: Likewise.
9623 * sysdeps/i386/fpu/e_pow.S: Likewise.
9624 * sysdeps/i386/fpu/e_powf.S: Likewise.
9625 * sysdeps/i386/fpu/e_powl.S: Likewise.
9626 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9627 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9628 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9629 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9630 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9631 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9632 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9633 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9634 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9656 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9658 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9659 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9660 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9661 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9662 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9663 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9664 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9666 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9667 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9668 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9669 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9670 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9671 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9672 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9673 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9715 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9726 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9727 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9728 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9729 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9730 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9731 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9732 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9733 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9734 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9735 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9736 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9737 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9738 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9739 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9740 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9741 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9742 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9743 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9744 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9745 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9746 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9747 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9748 (__isnanf): Likewise.
9749 (__isinf_ns): Likewise.
9750 (__isinf_nsf): Likewise.
9751 (__finite): Likewise.
9752 (__finitef): Likewise.
9753 (__ieee754_sqrt): Define as macro.
9754 (__ieee754_sqrtf): Define as macro.
9755 (__ieee754_sqrtl): Define as macro.
9756 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9757 inlined copy.
9758 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9759 __FINITE_MATH_ONLY__ consistent.
9760 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9761
12cc2fcd
AS
97622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9763
a843a204
AS
9764 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9765 of rawmemchr.
9766
12cc2fcd
AS
9767 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9768
c853acd5
UD
97692011-10-09 Ulrich Drepper <drepper@gmail.com>
9770
9771 * po/ja.po: Update from translation team.
9772
c658d255
RM
97732011-10-08 Roland McGrath <roland@hack.frob.com>
9774
110946e4
RM
9775 * locale/programs/locarchive.c (prepare_address_space): New function.
9776 (create_archive, enlarge_archive, open_archive): Use it.
9777
50604220
RM
9778 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9779 inside [SHARED], where it is used.
9780
c658d255
RM
9781 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9782
9783 * nss/getent.c (netgroup_keys): Remove unused variable.
9784 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9785
6a621eb7
UD
97862011-10-08 Ulrich Drepper <drepper@gmail.com>
9787
7edb55ce
UD
9788 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9789 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9791 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9792 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9793 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9794 * math/Makefile (libm-calls): Add s_isinf_ns.
9795 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9796 * math/multc3.c: Likewise.
9797 * math/s_casin.c: Likewise.
9798 * math/s_casinf.c: Likewise.
9799 * math/s_casinl.c: Likewise.
9800 * math/s_ccos.c: Likewise.
9801 * math/s_ccosf.c: Likewise.
9802 * math/s_ccosl.c: Likewise.
9803 * math/s_ctan.c: Likewise.
9804 * math/s_ctanf.c: Likewise.
9805 * math/s_ctanh.c: Likewise.
9806 * math/s_ctanhf.c: Likewise.
9807 * math/s_ctanhl.c: Likewise.
9808 * math/s_ctanl.c: Likewise.
9809 * math/w_fmod.c: Likewise.
9810 * math/w_fmodf.c: Likewise.
9811 * math/w_fmodl.c: Likewise.
9812 * math/w_remainder.c: Likewise.
9813 * math/w_remainderf.c: Likewise.
9814 * math/w_remainderl.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9816 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9817 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9819 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9820 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9821 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9822 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9823
187da0ae
UD
9824 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9825 of the number.
9826 * stdio-common/printf_fphex.c: Likewise.
9827 * stdio-common/printf_size.c: Likewise.
9828
9277c064
UD
9829 * math/e_exp10.c: Include math_private.h using <...> not "...".
9830 * math/e_exp10f.c: Likewise.
9831 * math/e_exp10l.c: Likewise.
9832 * math/e_exp2l.c: Likewise.
9833 * math/e_j0l.c: Likewise.
9834 * math/e_j1l.c: Likewise.
9835 * math/e_jnl.c: Likewise.
9836 * math/e_lgammal_r.c: Likewise.
9837 * math/e_rem_pio2l.c: Likewise.
9838 * math/e_scalb.c: Likewise.
9839 * math/e_scalbf.c: Likewise.
9840 * math/e_scalbl.c: Likewise.
9841 * math/k_cosl.c: Likewise.
9842 * math/k_sinl.c: Likewise.
9843 * math/k_tanl.c: Likewise.
9844 * math/s_cacoshf.c: Likewise.
9845 * math/s_catan.c: Likewise.
9846 * math/s_catanf.c: Likewise.
9847 * math/s_catanh.c: Likewise.
9848 * math/s_catanhf.c: Likewise.
9849 * math/s_catanhl.c: Likewise.
9850 * math/s_catanl.c: Likewise.
9851 * math/s_ccosh.c: Likewise.
9852 * math/s_ccoshf.c: Likewise.
9853 * math/s_ccoshl.c: Likewise.
9854 * math/s_cexp.c: Likewise.
9855 * math/s_cexpf.c: Likewise.
9856 * math/s_cexpl.c: Likewise.
9857 * math/s_clog.c: Likewise.
9858 * math/s_clog10.c: Likewise.
9859 * math/s_clog10f.c: Likewise.
9860 * math/s_clog10l.c: Likewise.
9861 * math/s_clogf.c: Likewise.
9862 * math/s_clogl.c: Likewise.
9863 * math/s_csin.c: Likewise.
9864 * math/s_csinf.c: Likewise.
9865 * math/s_csinh.c: Likewise.
9866 * math/s_csinhf.c: Likewise.
9867 * math/s_csinhl.c: Likewise.
9868 * math/s_csinl.c: Likewise.
9869 * math/s_csqrt.c: Likewise.
9870 * math/s_csqrtf.c: Likewise.
9871 * math/s_csqrtl.c: Likewise.
9872 * math/s_ctan.c: Likewise.
9873 * math/s_ctanf.c: Likewise.
9874 * math/s_ctanh.c: Likewise.
9875 * math/s_ctanhf.c: Likewise.
9876 * math/s_ctanhl.c: Likewise.
9877 * math/s_ctanl.c: Likewise.
9878 * math/s_ldexp.c: Likewise.
9879 * math/s_ldexpf.c: Likewise.
9880 * math/s_ldexpl.c: Likewise.
9881 * math/s_significand.c: Likewise.
9882 * math/s_significandf.c: Likewise.
9883 * math/s_significandl.c: Likewise.
9884 * math/w_acos.c: Likewise.
9885 * math/w_acosf.c: Likewise.
9886 * math/w_acosh.c: Likewise.
9887 * math/w_acoshf.c: Likewise.
9888 * math/w_acoshl.c: Likewise.
9889 * math/w_acosl.c: Likewise.
9890 * math/w_asin.c: Likewise.
9891 * math/w_asinf.c: Likewise.
9892 * math/w_asinl.c: Likewise.
9893 * math/w_atan2.c: Likewise.
9894 * math/w_atan2f.c: Likewise.
9895 * math/w_atan2l.c: Likewise.
9896 * math/w_atanh.c: Likewise.
9897 * math/w_atanhf.c: Likewise.
9898 * math/w_atanhl.c: Likewise.
9899 * math/w_cosh.c: Likewise.
9900 * math/w_coshf.c: Likewise.
9901 * math/w_coshl.c: Likewise.
9902 * math/w_dremf.c: Likewise.
9903 * math/w_exp10.c: Likewise.
9904 * math/w_exp10f.c: Likewise.
9905 * math/w_exp10l.c: Likewise.
9906 * math/w_exp2.c: Likewise.
9907 * math/w_exp2f.c: Likewise.
9908 * math/w_fmod.c: Likewise.
9909 * math/w_fmodf.c: Likewise.
9910 * math/w_fmodl.c: Likewise.
9911 * math/w_hypot.c: Likewise.
9912 * math/w_hypotf.c: Likewise.
9913 * math/w_hypotl.c: Likewise.
9914 * math/w_j0.c: Likewise.
9915 * math/w_j0f.c: Likewise.
9916 * math/w_j0l.c: Likewise.
9917 * math/w_j1.c: Likewise.
9918 * math/w_j1f.c: Likewise.
9919 * math/w_j1l.c: Likewise.
9920 * math/w_jn.c: Likewise.
9921 * math/w_jnf.c: Likewise.
9922 * math/w_jnl.c: Likewise.
9923 * math/w_lgamma.c: Likewise.
9924 * math/w_lgamma_r.c: Likewise.
9925 * math/w_lgammaf.c: Likewise.
9926 * math/w_lgammaf_r.c: Likewise.
9927 * math/w_lgammal.c: Likewise.
9928 * math/w_lgammal_r.c: Likewise.
9929 * math/w_log.c: Likewise.
9930 * math/w_log10.c: Likewise.
9931 * math/w_log10f.c: Likewise.
9932 * math/w_log10l.c: Likewise.
9933 * math/w_log2.c: Likewise.
9934 * math/w_log2f.c: Likewise.
9935 * math/w_log2l.c: Likewise.
9936 * math/w_logf.c: Likewise.
9937 * math/w_logl.c: Likewise.
9938 * math/w_pow.c: Likewise.
9939 * math/w_powf.c: Likewise.
9940 * math/w_powl.c: Likewise.
9941 * math/w_remainder.c: Likewise.
9942 * math/w_remainderf.c: Likewise.
9943 * math/w_remainderl.c: Likewise.
9944 * math/w_scalb.c: Likewise.
9945 * math/w_scalbf.c: Likewise.
9946 * math/w_scalbl.c: Likewise.
9947 * math/w_sinh.c: Likewise.
9948 * math/w_sinhf.c: Likewise.
9949 * math/w_sinhl.c: Likewise.
9950 * math/w_sqrt.c: Likewise.
9951 * math/w_sqrtf.c: Likewise.
9952 * math/w_sqrtl.c: Likewise.
9953 * math/w_tgamma.c: Likewise.
9954 * math/w_tgammaf.c: Likewise.
9955 * math/w_tgammal.c: Likewise.
9956
6a621eb7
UD
9957 * po/ja.po: Update from translation team.
9958
bf582445
AJ
99592011-09-29 Andreas Jaeger <aj@suse.de>
9960
f9efbf3a
AJ
9961 [BZ #13179]
9962 * sunrpc/netname.c (netname2host): Fix logic.
9963
bf582445
AJ
9964 [BZ #6779]
9965 [BZ #6783]
9966 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9967 correctly.
9968 * math/w_remainder.c (__remainder): Likewise.
9969 * math/w_remainderf.c (__remainderf): Likewise.
9970 * math/libm-test.inc (remainder_test): Add test cases.
9971
48693bea
AK
99722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9973
9974 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9975 sdiv_qrnnd.
9976
42622229
LD
99772011-10-07 Ulrich Drepper <drepper@gmail.com>
9978
9979 * string/test-memcmp.c: Avoid unncessary #defines.
9980 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9981
093ecf92
LD
99822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9983
9984 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9985 Use new sse2 version for core i3 - i7 as it's faster
9986 than sse42 version.
9987 (bit_Prefer_PMINUB_for_stringop): New.
9988 * sysdeps/x86_64/rawmemchr.S: Update.
9989 Replace with faster SSE2 version.
9990 * sysdeps/x86_64/memrchr.S: New file.
9991 * sysdeps/x86_64/memchr.S: Update.
9992 Replace with faster SSE2 version.
9993
fde56e5c
MP
99942011-09-12 Marek Polacek <mpolacek@redhat.com>
9995
9996 * elf/dl-load.c (lose): Add cast to avoid warning.
9997
21fd49a9
UD
99982011-10-07 Ulrich Drepper <drepper@gmail.com>
9999
5a06e643
UD
10000 * po/ca.po: Update from translation team.
10001
684ae515
UD
10002 * inet/getnetgrent_r.c: Hook up nscd.
10003 * nscd/Makefile (routines): Add nscd_netgroup.
10004 (nscd-modules): Add netgroupcache.
10005 (CFLAGS-netgroupcache.c): Define.
10006 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10007 (cache_search): Add const to second parameter.
10008 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10009 INNETGR.
10010 (dbs): Add netgrdb entry.
10011 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10012 (verify_persistent_db): Handle netgrdb.
10013 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10014 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10015 GETFDNETGR.
10016 (netgroup_response_header): Define.
10017 (innetgroup_response_header): Define.
10018 (datahead): Add netgroup_response_header and innetgroup_response_header
10019 elements.
10020 * nscd/nscd.conf: Add entries for netgroup cache.
10021 * nscd/nscd.h (dbtype): Add netgrdb.
10022 (_PATH_NSCD_NETGROUP_DB): Define.
10023 (netgroup_iov_disabled): Declare.
10024 (xmalloc, xcalloc, xrealloc): Move declarations here.
10025 (cache_search): Adjust prototype.
10026 Add netgroup-related prototypes.
10027 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10028 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10029 (__nscd_innetgr): Declare.
10030 * nscd/selinux.c (perms): Use access_vector_t as element type and
10031 add netgroup-related initializers.
10032 * nscd/netgroupcache.c: New file.
10033 * nscd/nscd_netgroup.c: New file.
10034 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10035 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10036 For four parameters use innetgr.
10037 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10038 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10039 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10040 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10041
21fd49a9
UD
10042 * nscd/connections.c (register_traced_file): Don't register file
10043 for disabled databases.
10044
054c0457
UD
100452011-10-06 Ulrich Drepper <drepper@gmail.com>
10046
32b63198
UD
10047 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10048
054c0457
UD
10049 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10050 from tree and freeing node.
10051
64031225
JO
100522011-09-25 Jiri Olsa <jolsa@redhat.com>
10053
10054 * nss/nsswitch.c (__nss_database_lookup): Handle
10055 nss_parse_service_list out of memory case.
10056
0490345c
JO
100572011-09-15 Jiri Olsa <jolsa@redhat.com>
10058
10059 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10060 out of memory case.
10061
3a62d00d
AS
100622011-10-04 Andreas Schwab <schwab@redhat.com>
10063
10064 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10065 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10066 pass it down.
10067 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10068 elf_machine_rela, elf_machine_lazy_rel.
10069 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10070 (ELF_DYNAMIC_DO_REL): Likewise.
10071 (ELF_DYNAMIC_DO_RELA): Likewise.
10072 (ELF_DYNAMIC_RELOCATE): Likewise.
10073 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10074 to ELF_DYNAMIC_DO_REL.
10075 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10076 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10077 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10078 elf_machine_rela.
10079 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10080 skip_ifunc, don't call ifunc function if non-zero.
10081 (elf_machine_rela): Likewise.
10082 (elf_machine_lazy_rel): Likewise.
10083 (elf_machine_lazy_rela): Likewise.
10084 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10085 (elf_machine_lazy_rel): Likewise.
10086 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10087 Likewise.
10088 (elf_machine_lazy_rel): Likewise.
10089 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10090 Likewise.
10091 (elf_machine_lazy_rel): Likewise.
10092 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10093 (elf_machine_lazy_rel): Likewise.
10094 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10095 (elf_machine_lazy_rel): Likewise.
10096 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10097 (elf_machine_lazy_rel): Likewise.
10098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10099 (elf_machine_lazy_rel): Likewise.
10100 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10101 (elf_machine_lazy_rel): Likewise.
10102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10103 (elf_machine_lazy_rel): Likewise.
10104
68577918
UD
101052011-09-28 Ulrich Drepper <drepper@gmail.com>
10106
10107 * nss/nss_files/files-init.c (_nss_files_init): Use static
10108 initialization for all the *_traced_file variables.
10109
68822d74
AS
101102011-09-28 Andreas Schwab <schwab@redhat.com>
10111
10112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10113
2056100b
RM
101142011-09-27 Roland McGrath <roland@hack.frob.com>
10115
10116 [BZ #13226]
10117 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10118
32c76b63
AS
101192011-09-27 Andreas Schwab <schwab@redhat.com>
10120
10121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10122 Reread the line before reparsing it.
10123
bf972c9d
AS
101242011-09-26 Andreas Schwab <schwab@redhat.com>
10125
10126 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10127
e057a1b5
JM
101282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10129 Maxim Kuvyrkov <maxim@codesourcery.com>
10130 Joseph Myers <joseph@codesourcery.com>
10131
10132 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10133 if needed for __stack_chk_guard.
10134
bc7e1c36
RM
101352011-09-19 Roland McGrath <roland@hack.frob.com>
10136
ecb1482f
RM
10137 * sysdeps/posix/spawni.c (script_execute): Always define it.
10138 It will be optimized away if unused.
10139 (maybe_script_execute): New function.
10140 (__spawni): Call it.
10141
bc7e1c36
RM
10142 * Makerules: Don't include tls.make.
10143 (config-tls): Always set to thread.
10144 * tls.make.c: File removed.
10145
1c3b002b
MF
101462011-09-19 Mike Frysinger <vapier@gentoo.org>
10147
10148 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10149 * config.make.in (CPPFLAGS-config): New substituted variable.
10150
2840865d
UD
101512011-09-15 Ulrich Drepper <drepper@gmail.com>
10152
88738eb6
UD
10153 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10154
cbf645a6 10155 [BZ #13192]
2840865d
UD
10156 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10157 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10158
b402e91a
RM
101592011-09-15 Roland McGrath <roland@hack.frob.com>
10160
10161 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10162 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10164 (CALL_FAIL): Likewise.
10165 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10166 (CALL_FAIL): Macro removed.
10167 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10168
4c1a1f71
UD
101692011-09-15 Ulrich Drepper <drepper@gmail.com>
10170
10171 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10172 for __FINITE_MATH_ONLY__ == 1.
10173
edc121be
AS
101742011-09-15 Andreas Schwab <schwab@redhat.com>
10175
10176 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10177 __ieee754_sqrt instead of sqrt.
10178 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10179 __ieee754_sqrtf instead of sqrtf.
10180 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10181 __floorf instead of floorf.
10182 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10183 __floorf, __truncf instead of floorf, truncf.
10184
cd205654
UD
101852011-09-14 Ulrich Drepper <drepper@gmail.com>
10186
ee4d0315
UD
10187 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10188
cd205654
UD
10189 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10190 __extern_always_inline.
10191 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10192 32-bit.
10193
48b67d71
AS
101942011-09-14 Andreas Schwab <schwab@redhat.com>
10195
10196 * elf/rtld.c (dl_main): Also relocate in dependency order when
10197 doing symbol dependency testing.
10198
1ae12c75
AS
101992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10200
10201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10202 Always define `refsym'.
10203
995a80df
AS
102042011-09-13 Andreas Schwab <schwab@redhat.com>
10205
e529793b
AS
10206 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10207 (__FD_ELT): Renamed from __FDELT.
10208 * misc/bits/select2.h (__FD_ELT): Likewise.
10209 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10210 __FD_MASK instead of __FDELT, __FDMASK.
10211 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10212 Likewise.
10213 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10214 Likewise.
10215
52d4fef8
AS
10216 * elf/Makefile (gen-ldd): Fix pattern.
10217
995a80df
AS
10218 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10219 (init_tls): Likewise.
10220
8682f8b0
UD
102212011-09-12 Ulrich Drepper <drepper@gmail.com>
10222
10223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10224
de82006d
AS
102252011-09-12 Andreas Schwab <schwab@redhat.com>
10226
a7c8e6a1
AS
10227 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10228 `struct cmsghdr *' instead of `void *'.
10229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10230 Likewise.
10231
0f31fe77
AS
102322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10233
10234 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10235 if non-absolute.
10236 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10237 ldd_rewrite_script.
0f31fe77 10238
32b4c839
UD
102392011-09-11 Ulrich Drepper <drepper@gmail.com>
10240
83cd1420
UD
10241 * configure.in: Remove --with-tls option.
10242 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10243 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10244 out in case it is missing.
10245 * sysdeps/ia64/elf/configure.in: Likewise.
10246 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10247 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10248 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10249 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10250 * sysdeps/sh/elf/configure.in: Likewise.
10251 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10252 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10253 * sysdeps/x86_64/elf/configure.in: Likewise.
10254 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10255 * sysdeps/mach/hurd/tls.h: Likewise.
10256
633f745d
UD
10257 [BZ #13067]
10258 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10259
f318beb8
UD
10260 [BZ #13090]
10261 * configure.in: Fix use of AC_INIT.
10262
32b4c839
UD
10263 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10264
3ce1f295
UD
102652011-09-10 Ulrich Drepper <drepper@gmail.com>
10266
bb016596
UD
10267 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10268 __set_errno.
8e58439c
UD
10269 * malloc/hooks.c: Likewise.
10270
aebae053 10271 [BZ #11929]
02d46fc4
UD
10272 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10273 variables statically.
10274 (narenas): Initialize.
10275 (list_lock): Initialize.
bb016596
UD
10276 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10277 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10278 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10279 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10280 Add initializers to main_arena and mp_.
10281 (malloc_state): Remove pagesize member. Change all users to use
10282 GLRO(dl_pagesize).
10283
10284 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10285 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10286 is always initialized.
10287
22a89187
UD
10288 * malloc/malloc.c: Removed unused configurations and dead code.
10289 * malloc/arena.c: Likewise.
10290 * malloc/hooks.c: Likewise.
02d46fc4 10291 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10292
d063d164
UD
10293 * include/tls.h: Removed. USE___THREAD must always be defined.
10294 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10295 * elf/dl-libc.c: Likewise.
10296 * elf/dl-tsd.c: Likewise.
10297 * include/errno.h: Likewise.
10298 * include/netdb.h: Likewise.
10299 * include/resolv.h: Likewise.
10300 * inet/herrno-loc.c: Likewise.
10301 * inet/herrno.c: Likewise.
10302 * malloc/arena.c: Likewise.
10303 * malloc/hooks.c: Likewise.
10304 * malloc/malloc.c: Likewise.
10305 * resolv/res-state.c: Likewise.
10306 * resolv/res_libc.c: Likewise.
10307 * sysdeps/i386/dl-machine.h: Likewise.
10308 * sysdeps/ia64/dl-machine.h: Likewise.
10309 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10310 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10311 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10312 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10313 * sysdeps/sh/dl-machine.h: Likewise.
10314 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10315 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10316 * sysdeps/unix/i386/sysdep.S: Likewise.
10317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10318 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10323 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10327 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10328 * sysdeps/x86_64/dl-machine.h: Likewise.
10329 * tls.make.c: Likewise.
10330
3ce1f295
UD
10331 * configure.in: Remove --with-__thread option. Make tests for
10332 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10333 tls_model attribute fail if no support is available. Remove
10334 USE_IN_LIBIO.
10335 * Makeconfig: Adjust for dropped configure option. All features are
10336 now mandatory.
10337 * Makerules: Likewise.
10338 * Versions.def: Likewise.
10339 * argp/argp-fmtstream.c: Likewise.
10340 * argp/argp-fmtstream.h: Likewise.
10341 * argp/argp-help.c: Likewise.
10342 * assert/assert.c: Likewise.
10343 * config.h.in: Likewise.
10344 * config.make.in: Likewise.
10345 * configure: Likewise.
10346 * configure.in: Likewise.
10347 * csu/Versions: Likewise.
10348 * csu/init.c: Likewise.
10349 * elf/tst-audit2.c: Likewise.
10350 * elf/tst-tls10.c: Likewise.
10351 * elf/tst-tls10.h: Likewise.
10352 * elf/tst-tls11.c: Likewise.
10353 * elf/tst-tls12.c: Likewise.
10354 * elf/tst-tls14.c: Likewise.
10355 * elf/tst-tlsmod11.c: Likewise.
10356 * elf/tst-tlsmod12.c: Likewise.
10357 * elf/tst-tlsmod13.c: Likewise.
10358 * elf/tst-tlsmod13a.c: Likewise.
10359 * elf/tst-tlsmod14a.c: Likewise.
10360 * elf/tst-tlsmod15b.c: Likewise.
10361 * elf/tst-tlsmod16a.c: Likewise.
10362 * elf/tst-tlsmod16b.c: Likewise.
10363 * elf/tst-tlsmod7.c: Likewise.
10364 * elf/tst-tlsmod8.c: Likewise.
10365 * elf/tst-tlsmod9.c: Likewise.
10366 * gmon/gmon.c: Likewise.
10367 * grp/fgetgrent_r.c: Likewise.
10368 * grp/putgrent.c: Likewise.
10369 * hurd/fopenport.c: Likewise.
10370 * include/libc-symbols.h: Likewise.
10371 * include/tls.h: Likewise.
10372 * intl/gettextP.h: Likewise.
10373 * intl/loadinfo.h: Likewise.
10374 * locale/global-locale.c: Likewise.
10375 * locale/localeinfo.h: Likewise.
10376 * mach/devstream.c: Likewise.
10377 * malloc/arena.c: Likewise.
10378 * malloc/set-freeres.c: Likewise.
10379 * misc/err.c: Likewise.
10380 * misc/getttyent.c: Likewise.
10381 * misc/mntent_r.c: Likewise.
10382 * posix/getopt.c: Likewise.
10383 * posix/wordexp.c: Likewise.
10384 * pwd/fgetpwent_r.c: Likewise.
10385 * resolv/Versions: Likewise.
10386 * resolv/res_hconf.c: Likewise.
10387 * shadow/fgetspent_r.c: Likewise.
10388 * shadow/putspent.c: Likewise.
10389 * stdio-common/printf_fphex.c: Likewise.
10390 * stdio-common/tmpfile.c: Likewise.
10391 * stdlib/abort.c: Likewise.
10392 * stdlib/fmtmsg.c: Likewise.
10393 * sunrpc/auth_unix.c: Likewise.
10394 * sunrpc/clnt_perr.c: Likewise.
10395 * sunrpc/clnt_tcp.c: Likewise.
10396 * sunrpc/clnt_udp.c: Likewise.
10397 * sunrpc/clnt_unix.c: Likewise.
10398 * sunrpc/openchild.c: Likewise.
10399 * sunrpc/svc_simple.c: Likewise.
10400 * sunrpc/svc_tcp.c: Likewise.
10401 * sunrpc/svc_udp.c: Likewise.
10402 * sunrpc/svc_unix.c: Likewise.
10403 * sunrpc/xdr.c: Likewise.
10404 * sunrpc/xdr_array.c: Likewise.
10405 * sunrpc/xdr_rec.c: Likewise.
10406 * sunrpc/xdr_ref.c: Likewise.
10407 * sunrpc/xdr_stdio.c: Likewise.
10408
1248c1c4
PB
104092011-09-09 Ulrich Drepper <drepper@gmail.com>
10410
10411 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10412
104132011-07-03 Andreas Jaeger <aj@suse.de>
10414
10415 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10416 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10417 regenerate with gen-libm-tests.pl.
10418
104192010-05-12 Petr Baudis <pasky@suse.cz>
10420
10421 [BZ #11589]
10422 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10423 around j0() zero points by switching to j1().
10424 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10428
f22e1074
UD
104292011-09-09 Ulrich Drepper <drepper@gmail.com>
10430
f19009c1
UD
10431 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10432 instead of 0.
10433 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10434 instead of 0. .
10435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10436 Patch in part by Pavel Roskin <proski@gnu.org>.
10437
3f8cc204
UD
10438 [BZ #13138]
10439 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10440 realloc.
10441 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10442 Free memory block if necessary.
10443
f22e1074
UD
10444 [BZ #12847]
10445 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10446 be NULL. Don't lock in this case.
10447
0a2349f9
RM
104482011-09-09 Roland McGrath <roland@hack.frob.com>
10449
10450 * elf/elf.h (ELFOSABI_GNU): New macro.
10451 (ELFOSABI_LINUX): Define to that.
10452
f3cdd467
DZ
104532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10454
10455 * string/strncat.c (strncat): Undef the symbol in case it has been
10456 defined in bits/string.h.
10457
74718d13
UD
104582011-09-09 Ulrich Drepper <drepper@gmail.com>
10459
633e9e0f
UD
10460 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10461
0a2349f9 10462 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10463 link map.
10464
f9924780
AJ
104652011-08-17 Andreas Jaeger <aj@suse.de>
10466
10467 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10468
7f5517aa
PP
104692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10470 Ian Lance Taylor <iant@google.com>
10471
10472 * math/libm-test.inc (lround_test): New testcase.
10473 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10474
762011fe
UD
104752011-09-08 Ulrich Drepper <drepper@gmail.com>
10476
92963737
UD
10477 * Makefile: Remove support for automatic cvs check-ins.
10478 * Makerules: Likewise.
10479 * config.make.in: Likewise.
10480 * configure.in: Likewise.
10481 * intl/Makefile: Likewise.
10482 * locale/Makefile: Likewise.
10483 * po/Makefile: Likewise.
10484 * posix/Makefile: Likewise.
10485 * sysdeps/gnu/Makefile: Likewise.
10486 * sysdeps/mach/hurd/Makefile: Likewise.
10487 * sysdeps/sparc/sparc32/Makefile: Likewise.
10488
b0727fd8
JS
10489 [BZ #13118]
10490 * posix/Makefile (bug-regex32-ENV): Define.
10491 Patch by John Stanley <jpsinthemix@verizon.net>.
10492
a0f33f99
UD
10493 * misc/Makefile (headers): Add bits/select2.h.
10494 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10495 * misc/bits/select2.h: New file.
10496 * include/bits/select2.h: New file.
10497 * debug/Makefile (routines): Add fdelt_chk.
10498 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10499 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10500 FD_ISSET.
10501 * debug/fdelt_chk.c: New file.
10502
762011fe
UD
10503 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10504 * wcsmbs/test-wmemcmp.c: Likewise.
10505 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10506 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10507
105082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10509
10510 * string/Makefile (strop-tests): Add memcmp.
10511 * string/test-wmemcmp.c: New file.
10512 * string/test-memcmp.c: Add wmemcmp support.
10513
7f513ec8
RM
105142011-09-08 Roland McGrath <roland@hack.frob.com>
10515
0442afb4
RM
10516 [BZ #13153]
10517 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10518 2011-07-19 change.
10519
7f513ec8
RM
10520 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10521 garbage value in a __mach_port_mod_refs call in the cases of the
10522 task-self and thread-self ports.
10523
a12b2239
ST
105242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10525
10526 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10527
610f9ab4
AS
105282011-09-08 Andreas Schwab <schwab@redhat.com>
10529
7f513ec8 10530 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10531
48882a1a
LD
105322011-09-07 Ulrich Drepper <drepper@gmail.com>
10533
b49865be
UD
10534 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10535
fdc86bc9
UD
10536 * elf/dl-libc.c (dlerror_run): Pass back error code from
10537 dl_catch_error.
10538
c966526a
UD
10539 [BZ #13123]
10540 * elf/dl-load.c (lose): Free l_origin if it is valid.
10541
48882a1a
LD
10542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10543 names.
10544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10548 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10549 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10550
77a2a8b4
AZ
105512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552
10553 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10554 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10555 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10556 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10557 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10558 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10559 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10560 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10561 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10562 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10563
24f579d8
AM
105642011-08-15 Alan Modra <amodra@gmail.com>
10565
10566 [BZ #13092]
10567 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10568 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10569 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10570 ppc_mcount to static-only-routines.
10571 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10572 __mcount_internal.
10573 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10574 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10575
3d4837df
UD
105762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10577
10578 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10579 for finite and infinity parameters.
10580
22700377
WS
105812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10582
10583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10584 and add nop instructions for throughput optimization.
10585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10586
5025581e
WS
105872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10590 aligned copy for power7 with vector-scalar instructions.
10591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10592
08a300c9
L
105932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10596 AVX check.
10597
59178ef9
AS
105982011-09-07 Andreas Schwab <schwab@redhat.com>
10599
10600 [BZ #13144]
10601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10602 last change.
10603
e38ba7ab
UD
106042011-09-07 Ulrich Drepper <drepper@gmail.com>
10605
10606 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10607 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10608 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10609 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10610 clock_gettime.
10611
d53a73ac
UD
106122011-09-06 Ulrich Drepper <drepper@gmail.com>
10613
fc8bffcc
UD
10614 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10615 Forgot to demangle the pointer.
10616
ceaa0c5d
UD
10617 * sysdeps/i386/sysdep.h: Define atom_text_section.
10618 * sysdeps/x86_64/sysdep.h: Likewise.
10619 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10620 section with atom_text_section.
10621 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10622 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10623 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10624 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10625 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10626
a77d3c17
UD
10627 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10628 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10629 already be defined. Change to take two parameters and don't assign
10630 result to variable. Adjust all users.
10631 Define INTERNAL_GETTIME if not already defined.
10632 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10633 call.
10634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10635 HAVE_CLOCK_GETTIME_VSYSCALL.
10636 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10637
d53a73ac
UD
10638 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10639 gettimeofday vsyscall, just use time.
10640
a8f84144
AS
106412011-09-06 Andreas Schwab <schwab@redhat.com>
10642
10643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10644 <errno.h>.
10645
ef606249
UD
106462011-09-06 Ulrich Drepper <drepper@gmail.com>
10647
10648 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10649 syscall on x86-64.
10650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10651 syscall.
10652 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10654 syscall if possible.
10655
6585cb60
UD
106562011-09-05 Ulrich Drepper <drepper@gmail.com>
10657
10658 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10659 e_ident. Don't pass to find_mapsXX.
10660 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10661
a5f524e4
LD
106622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10663
10664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10665 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10666 * sysdeps/x86_64/multiarch/strchr.S: Update.
10667 Check bit_slow_BSF bit.
10668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10669 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10670 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10671
554881ef
UD
106722011-09-05 Ulrich Drepper <drepper@gmail.com>
10673
d96de963
UD
10674 [BZ #13134]
10675 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10676 before glibc 2.15.
10677 (tryshell): Define.
10678 (__spawni): Change last parameter to be flag. Test
10679 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10680 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10681 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10682 * posix/spawni.c: Likewise.
10683 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10684 * posix/spawnp.c: Likewise. Change normal version to use
10685 SPAWN_XFLAGS_USE_PATH.
10686 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10687 SPAWN_XFLAGS_TRY_SHELL.
10688
d48e5868
UD
10689 [BZ #13150]
10690 * posix/glob.h: Remove gcc 1.x support.
10691
554881ef
UD
10692 [BZ #13068]
10693 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10694
693fb948
LD
106952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10696
10697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10698 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10699 strrchr-sse2-bsf
10700 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10701 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10702 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10703 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10704 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10705 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10706
1b48c537
UD
107072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10708
49d42c37
UD
10709 * sysdeps/x86_64/wcscmp.S: New file.
10710
1b48c537
UD
10711 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10712 wcscmp-c wcscmp-sse2
10713 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10714 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10715 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10716 * wcsmbs/wcscmp.c: Allow renaming.
10717
15c95c5d
DM
107182011-09-05 David S. Miller <davem@davemloft.net>
10719
10720 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10721 stack slot, rather than the struct return pointer slot.
10722 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10723 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10726
2f0ad8f3
UD
107272011-09-05 Ulrich Drepper <drepper@gmail.com>
10728
d88ae418
UD
10729 * po/ja.po: Update from translation team.
10730
2f0ad8f3
UD
10731 [BZ #13144]
10732 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10733 kernel in 64-bit binaries.
10734
5f4318d1
DM
107352011-09-01 David S. Miller <davem@davemloft.net>
10736
10737 * elf/elf.h (HWCAP_SPARC_*): Move to..
10738 * sysdeps/sparc/sysdep.h: this new file and add new values.
10739 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10740 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10741 _DL_HWCAP_COUNT to 24.
10742 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10743 entries.
10744 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10745 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10746 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10747 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10748 instead of magic constants.
10749 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10750
3ba57516
DM
107512011-08-31 David S. Miller <davem@davemloft.net>
10752
10753 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10755 Reimplement to do errno handling inline.
10756 (SYSCALL_ERROR_HANDLER): New macro.
10757 (__SYSCALL_STRING): Do not do errno handling in asm.
10758 (__CLONE_SYSCALL_STRING): Delete.
10759 (__INTERNAL_SYSCALL_STRING): Delete.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10761 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10762 (PSEUDO): Reimplement to do errno handling inline.
10763 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10764 (SYSCALL_ERROR_HANDLER): New macro.
10765 (__SYSCALL_STRING): Do not do errno handling in asm.
10766 (__CLONE_SYSCALL_STRING): Delete.
10767 (__INTERNAL_SYSCALL_STRING): Delete.
10768 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10769 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10770 i386.
10771 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10772 (inline_syscall*): Add 'err' argument.
10773 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10774 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10775 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10776 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10777
10778 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10779 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10780
2bc17433
AS
107812011-08-30 Andreas Schwab <schwab@redhat.com>
10782
10783 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10784
fbeb5f4d
JO
107852011-08-29 Jiri Olsa <jolsa@redhat.com>
10786
10787 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10788 directive.
10789
ad69cc26
DM
107902011-08-24 David S. Miller <davem@davemloft.net>
10791
10792 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10793
39dd69df
AS
107942011-08-24 Andreas Schwab <schwab@redhat.com>
10795
10796 * elf/Makefile: Add rules to build and run unload8 test.
10797 * elf/unload8.c: New file.
10798 * elf/unload8mod1.c: New file.
10799 * elf/unload8mod1x.c: New file.
10800 * elf/unload8mod2.c: New file.
10801 * elf/unload8mod3.c: New file.
10802
10803 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10804 it wasn't used.
10805
2c0b250a
DM
108062011-08-23 David S. Miller <davem@davemloft.net>
10807
10808 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10809 subtract stack bias.
10810 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10811 %sp not %fp in calculations.
10812 (_JMPBUF_UNWINDS_ADJ): Likewise.
10813
22044b48
DM
10814 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10815 (aio_suspend): Call it to force an exception region around the
10816 AIO_MISC_WAIT() invocation.
10817
2cae4995
AS
108182011-08-23 Andreas Schwab <schwab@redhat.com>
10819
10820 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10821 backslash.
10822
873a772e
AJ
108232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10824
10825 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10826 protection macro.
10827 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10828 and <dl-machine.h>.
10829 (Elf64_FuncDesc): Remove.
10830
25ad0df1
DM
108312011-08-22 David S. Miller <davem@davemloft.net>
10832
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10834 sigaltstack check, add missing cfi directives.
10835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10836 missing cfi directives, and sigaltstack handling.
10837
e888bcbe
AS
108382011-08-16 Andreas Schwab <schwab@redhat.com>
10839
10840 [BZ #11724]
10841 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10842 object is seen twice.
10843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10844
10845 * elf/Makefile (distribute): Add tst-initorder2.c.
10846 (tests): Add tst-initorder2.
10847 (modules-names): Add tst-initorder2a tst-initorder2b
10848 tst-initorder2c tst-initorder2d. Add rules to build them.
10849 ($(objpfx)tst-initorder2.out): New rule.
10850 * elf/tst-initorder2.c: New file.
10851 * elf/tst-initorder2.exp: New file.
10852
87162f46
AS
108532011-08-22 Andreas Schwab <schwab@redhat.com>
10854
70538b7f
AS
10855 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10856
f55ffe58
AS
10857 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10858 dependencies back to end of function.
10859
87162f46
AS
10860 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10861 $(elfobjdir)/ld.so.
10862
91b392a4
UD
108632011-08-21 Ulrich Drepper <drepper@gmail.com>
10864
10865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10866 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10867 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10868 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10869 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10870 of __vdso_gettimeofday.
10871 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10872 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10873 attribute_hidden.
10874 (_libc_vdso_platform_setup): Remove initialization of
10875 __vdso_gettimeofday and __vdso_time.
10876
5c43483f
UD
108772011-08-20 Ulrich Drepper <drepper@gmail.com>
10878
775a77e7
UD
10879 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10880 and fgetc_unlocked.
10881 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10882 getc_unlocked.
89f447ed 10883
49c74ba9
UD
10884 * elf/dl-open.c (add_to_global): Report additions to the global scope
10885 for LD_DEBUG=scopes.
10886 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10887 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10888
5c43483f
UD
10889 [BZ #13114]
10890 * stdio-common/Makefile (tests): Add bug24.
10891 * stdio-common/bug24.c: New file.
10892
a101b025
AJ
108932011-08-19 Andreas Jaeger <aj@suse.de>
10894
10895 [BZ #13114]
10896 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10897 non-existant file when using close-on-exec mode.
10898
c88f1766
UD
108992011-08-20 Ulrich Drepper <drepper@gmail.com>
10900
0276a718
UD
10901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10902 the very first instruction.
10903
c88f1766
UD
10904 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10905 the CFI state in the end.
10906 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10907 inclusion of dl-trampoline.h.
10908 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10909
51ccffa0
AS
109102011-08-19 Andreas Schwab <schwab@redhat.com>
10911
94d7165f
AS
10912 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10913 expectations for long double.
10914
51ccffa0
AS
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10916 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10917
fd708658 109182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10919
10920 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10921 artificual limit depends upon the system page size.
10922
44f0a71e
UD
109232011-08-17 Ulrich Drepper <drepper@gmail.com>
10924
10925 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10926 * resolv/Makefile: Define CFLAGS-libresolv.
10927
8de79a24
AS
109282011-08-17 Andreas Schwab <schwab@redhat.com>
10929
10930 * nss/makedb.c (compute_tables): Make variables used in nested
10931 function static.
10932
27724598
UD
109332011-08-17 Ulrich Drepper <drepper@gmail.com>
10934
c5305d88
UD
10935 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10936 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10937 if buffer was too small.
10938
27724598
UD
10939 * elf/pldd.c (main): Attach to all threads in the process.
10940 Rewrite /proc handling to use *at functions.
10941
076fe015
UD
109422011-08-16 Ulrich Drepper <drepper@gmail.com>
10943
174baab3
UD
10944 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10945 specifies first scope to show.
10946 (dl_open_worker): Update callers. Move printing scope of new
10947 object to before the relocation.
44f0a71e 10948 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10949 * sysdeps/generic/ldsodefs.h: Update declaration.
10950
076fe015
UD
10951 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10952 string for the scope number.
10953
a60df2c3
UD
109542011-08-14 Ulrich Drepper <drepper@gmail.com>
10955
10956 * nscd/servicescache.c (cache_addserv): Make sure written is always
10957 initialized.
10958
5e4287d1
RM
109592011-08-14 Roland McGrath <roland@hack.frob.com>
10960
85ae0589
RM
10961 * sysdeps/i386/i486/bits/atomic.h
10962 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10963 statement expression, so as to suppress "set but not used" warning.
10964 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10965
69f63097
RM
10966 * string/strncat.c (STRNCAT): Use prototype definition.
10967
675456ef
RM
10968 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10969 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10970 -Iprograms here.
10971 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10972 (localedef-modules): Add localedef.
10973 (locale-modules): Add locale.
10974
5e4287d1
RM
10975 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10976 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10977 to avoid a warning.
10978
9c96ff23
DM
109792011-08-14 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10982 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10983
f9ddf089
UD
109842011-08-13 Ulrich Drepper <drepper@gmail.com>
10985
44f0a71e 10986 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10987 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10988 * elf/rtld.c (dl_main): Set l_name of vDSO.
10989 Call _dl_show_scope when DL_DEBUG_SCOPES.
10990 (process_dl_debug): Recognize scopes flag and also set it for all.
10991 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10992 Declare _dl_show_scope.
10993
1dc27704
UD
10994 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10995 (do_dlopen): Pass caller_dlopen to dl_open.
10996 (__libc_dlopen_mode): Initialize caller_dlopen.
10997
f9ddf089
UD
10998 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10999 of libc. Make tolower call locale-independent. Optimize a bit by
11000 using isdigit instead of isalnum.
11001 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11002
9ac533d3
UD
110032011-08-12 Ulrich Drepper <drepper@gmail.com>
11004
11005 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11006 was a dependency or dynamically loaded.
11007
89edf2e9
UD
110082011-08-11 Ulrich Drepper <drepper@gmail.com>
11009
8e999d29
UD
11010 * intl/l10nflist.c: Allow architecture-specific pop function.
11011 * sysdeps/x86_64/l10nflist.c: New file.
11012
89edf2e9
UD
11013 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11014 classification.
11015
14d96785
AS
110162011-08-10 Andreas Schwab <schwab@redhat.com>
11017
11018 * include/dirent.h: Add libc_hidden_proto for scandirat and
11019 scandirat64. Don't declare __scandirat64.
11020 * dirent/scandirat.c: Add libc_hidden_def.
11021 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11022 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11023
6761ac04
DM
110242011-08-10 David S. Miller <davem@davemloft.net>
11025
11026 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11027 enum.
11028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11030 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11031
c55fbd1e
UD
110322011-08-09 Ulrich Drepper <drepper@gmail.com>
11033
11034 * Versions.def [libc]: Add GLIBC_2.15.
11035 * dirent/Makefile (routines): Add scandirat and scandirat64.
11036 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11037 GLIBC_2.15.
11038 * dirent/dirent.h: Declare scandirat and scandirat64.
11039 * dirent/scandirat.c: New file.
11040 * dirent/scandirat64.c: New file.
11041 * sysdeps/wordsize-64/scandirat.c: New file.
11042 * sysdeps/wordsize-64/scandirat64.c: New file.
11043 * dirent/opendir.c: Define opendirat.
11044 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11045 using scandirat.
11046 * dirent/scandir64.c: Adjust for scandir.c change.
11047 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11048 __scandirat64, and __scandir_cancel_handler.
11049 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11050 additional parameter and use openat instead of open (outside of ld.so).
11051 Add new __opendir as wrapper around __opendirat.
11052 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11053 here without requiring old scandirat implementation.
11054
879165f2
UD
110552011-08-08 Ulrich Drepper <drepper@gmail.com>
11056
11057 * dirent/scandir.c (cancel_handler): Renamed to
11058 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11059 defined. Adjust users.
11060 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11061 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11062
cb7e923b
UD
110632011-08-04 Ulrich Drepper <drepper@gmail.com>
11064
16292edd
UD
11065 * string/test-string.h (IMPL): Use __STRING to expand name and then
11066 stringify it.
11067
cb7e923b
UD
11068 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11069 of cleanups.
11070
cff82933
LD
110712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11072
11073 * string/Makefile: Update.
11074 (strop-tests): Append strncat.
11075 * string/test-wcscmp.c: New file.
11076 New comprehensive test for wcscmp.
11077 * string/test-strcmp.c: Update.
11078 (WIDE): New define.
11079
9be9bfcc
AS
110802011-07-22 Andreas Schwab <schwab@redhat.com>
11081
11082 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11083 line.
11084
2e96f1c7
AS
110852011-07-26 Andreas Schwab <schwab@redhat.com>
11086
11087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11088 encoding to ACE if AI_IDN.
11089
85188888
JJ
110902011-08-01 Jakub Jelinek <jakub@redhat.com>
11091
11092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11093 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11094
5fa16e9b
LD
110952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11096
11097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11098 Fix overflow bug in strncat.
11099 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11100
11101 * string/test-strncat.c: Update.
11102 Add new tests for checking overflow bugs.
11103
111042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11105
11106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11107 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11108 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11109 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11110 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11111 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11112 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11113 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11114 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11115
11116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11117 (USE_AS_STRCAT): Define.
11118 Add strcat and strncat support.
11119 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11120
8c1a459f
AS
111212011-07-25 Andreas Schwab <schwab@redhat.com>
11122
11123 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11124 __n bigger than INT_MAX+1.
11125 (__strncmp_g): Likewise.
11126
bba33c28
UD
111272011-07-23 Ulrich Drepper <drepper@gmail.com>
11128
798be72d
UD
11129 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11130 * libio/stido.h: Likewise.
11131
8accd4dc
UD
11132 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11133 (AF_NFC): Define.
11134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11135 (AF_NFC): Define.
11136
cbff0d96
UD
11137 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11140 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11142
9191c04a
UD
11143 [BZ #13021]
11144 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11145 installed.
11146
bba33c28
UD
11147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11148 typo.
11149 (_dl_x86_64_save_sse): Likewise.
11150
90f139dd
UD
111512011-07-22 Ulrich Drepper <drepper@gmail.com>
11152
1aae088a
UD
11153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11154 OSXSAVE.
11155 (_dl_x86_64_save_sse): Likewise.
11156
8e2045f5
UD
11157 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11158
90f139dd
UD
11159 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11160
1d002f25
AS
111612011-07-21 Andreas Schwab <schwab@redhat.com>
11162
11163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11164 change.
11165 (_dl_x86_64_save_sse): Use correct AVX check.
11166
21137f89
UD
111672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11168
11169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11170 bug in strncpy/strncat.
11171 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11172
a65c0b7a
UD
111732011-07-21 Ulrich Drepper <drepper@gmail.com>
11174
11175 * string/tester.c (test_strcat): Add tests for different alignments
11176 of source and destination.
11177 (test_strncat): Likewise.
11178
6986b98a
UD
111792011-07-20 Ulrich Drepper <drepper@gmail.com>
11180
90bb2039
UD
11181 [BZ #12852]
11182 * posix/glob.c (glob): Check passed in values before using them in
11183 expressions to avoid some overflows.
11184 (glob_in_dir): Likewise.
11185
5644ef54
UD
11186 [BZ #13007]
11187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11188 check for AVX enablement so that we don't crash with old kernels and
11189 new hardware.
11190 * elf/tst-audit4.c: Add same checks here.
11191 * elf/tst-audit6.c: Likewise.
11192
11193 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11194
bfc9dc9b
AS
111952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11196
11197 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11198
702e64bb
UD
111992011-07-20 Ulrich Drepper <drepper@gmail.com>
11200
11201 * po/cs.po: Update from translation team.
11202 * po/bg.po: Likewise.
11203
295e904f
MP
112042011-07-12 Marek Polacek <mpolacek@redhat.com>
11205
11206 * misc/sys/cdefs.h: Add support for const attribute.
11207 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11208 to gnu_dev_{major,minor,makedev} functions.
11209
3ff94596
MP
112102011-07-20 Marek Polacek <mpolacek@redhat.com>
11211
11212 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11213
28b59fca
AS
112142011-07-20 Andreas Schwab <schwab@redhat.com>
11215
11216 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11217 strlen results.
11218
19df733e
AK
112192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11220
11221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11222 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11223 register in order to avoid conflicts with the soft frame pointer
11224 being held in r11 when necessary.
11225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11226 (INTERNAL_VSYSCALL_NCS): Likewise.
11227
c8835729
MP
112282011-07-14 Marek Polacek <mpolacek@redhat.com>
11229
11230 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11231 * elf/dl-fini.c (_dl_fini): Adjust caller.
11232 * elf/dl-close.c (_dl_close_worker): Likewise.
11233 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11234
b902330c
MP
112352011-07-15 Marek Polacek <mpolacek@redhat.com>
11236
8991e135
MP
11237 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11238 "aux_cache->nlibs < 0".
11239
b902330c
MP
11240 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11241 in the reload-count case.
11242
99710781
LD
112432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11244
11245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11246 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11247 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11248 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11249 * sysdeps/x86_64/multiarch/strcat.S: New file.
11250 * sysdeps/x86_64/multiarch/strncat.S: New file.
11251 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11252 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11253 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11254 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11256 (USE_AS_STRCAT): Define.
11257 Add strcat and strncat support.
11258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11259 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11260 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11261 * string/strncat.c: Update.
11262 (USE_AS_STRNCAT): Define.
11263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11264 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11265 and i7.
11266 * sysdeps/x86_64/multiarch/init-arch.h
11267 (bit_Prefer_PMINUB_for_stringop): New.
11268 (index_Prefer_PMINUB_for_stringop): Likewise.
11269 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11270 bit_Prefer_PMINUB_for_stringop.
11271
7dc6bd90
UD
112722011-07-19 Ulrich Drepper <drepper@gmail.com>
11273
11274 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11275 buffer64.
11276 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11277 of casting of buffer.
11278 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11279 buffer32 and buffer64.
11280 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11281 writes instead of casting of buffer.
11282 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11283 buffer32.
11284 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11285 casting of buffer.
11286
e0e72284
AS
112872011-07-19 Andreas Schwab <schwab@redhat.com>
11288
11289 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11290
feb1eb0b
UD
112912011-07-19 Ulrich Drepper <drepper@gmail.com>
11292
11293 * nscd/nscd.c (termination_handler): Don't do anything for a database
11294 if it has not yet been initialized.
11295
298711ff
UD
112962011-07-18 Ulrich Drepper <drepper@gmail.com>
11297
11298 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11299
113002011-07-15 Marek Polacek <mpolacek@redhat.com>
11301
11302 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11303
f9d68389
UD
113042011-07-18 Ulrich Drepper <drepper@gmail.com>
11305
11306 * po/nl.po: Update from translation team.
11307 * po/sv.po: Likewise.
11308
db290cf5
RM
113092011-07-16 Roland McGrath <roland@hack.frob.com>
11310
11311 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11312 now disallowed by GCC.
5c550700 11313
fd5e21c7
RM
11314 * configure.in (use-default-link): Default to yes if a test -shared
11315 link meets our qualifications.
11316 * configure: Regenerated.
11317
5c550700
RM
11318 * config.make.in (output-format): New variable.
11319 * configure.in: Check for ld --print-output-format support.
11320 * configure: Regenerated.
11321 * Makerules ($(common-objpfx)format.lds)
11322 [$(output-format) != unknown]: Just use $(output-format),
11323 instead of the linker-script munging.
11324
9fa2c032
RM
113252011-07-14 Roland McGrath <roland@hack.frob.com>
11326
a6928d51
RM
11327 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11328 of $(common-objpfx)shlib.lds.
11329 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11330
661607b3
RM
11331 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11332 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11333
9fa2c032
RM
11334 * configure.in (-z relro check): Adjust test code to add a large
11335 writable data section after it.
11336 * configure: Regenerated.
11337
defe9061
RM
113382011-07-11 Roland McGrath <roland@hack.frob.com>
11339
11340 * configure.in (-z relro check): Fix test code to make the variable
11341 truly const.
11342 * configure: Regenerated.
11343
319b9ad4
UD
113442011-07-11 Ulrich Drepper <drepper@gmail.com>
11345
11346 * nscd/nscd.h (struct traced_file): Define.
11347 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11348 elements. Add traced_files.
11349 (inotify_fd): Declare.
11350 (register_traced_file): Declare.
11351 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11352 (inotify_fd): Export.
11353 (resolv_conf_descr): Remove.
11354 (nscd_init): Move inotify descriptor creation to main.
11355 Don't register files for notification here.
11356 (register_traced_file): New function.
11357 (invalidate_cache): Don't use reset_res to determine whether to call
11358 res_init, go through the list of registered files.
11359 (main_loop_poll): The inotify descriptors are now stored in the
11360 structures for the traced files.
11361 (main_loop_epoll): Likewise
11362 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11363 to __nss_disable_nscd.
11364 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11365 for a database anymore. Check the records for all the registered
11366 files instead.
11367 * nss/Makefile (libnss_files-routines): Add files-init.
11368 (libnss_db-routines): Add db-init.
11369 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11370 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11371 * nss/nss_db/db-init.c: New file.
11372 * nss/nss_files/files-init.c: New file.
11373 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11374 __nss_lookup_function.
11375 (__nss_lookup_function): Call nss_load_library.
11376 (nss_load_all_libraries): New function.
11377 (__nss_disable_nscd): Take parameter with callback function for files
11378 to register. Set is_nscd. Load all the DSOs for the NSS modules
11379 used for the cached services.
11380 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11381 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11382 options for features to all the files in nscd.
11383
11384 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11385
23bee3e8
RM
113862011-07-10 Roland McGrath <roland@hack.frob.com>
11387
11388 * csu/elf-init.c (__libc_csu_init): Comment typo.
11389
46a5b7f0
UD
113902011-07-09 Ulrich Drepper <drepper@gmail.com>
11391
11392 * po/pl.po: Update from translation team.
11393 * po/ja.po: Likewise.
11394 * po/ru.po: Likewise.
11395 * po/ko.po: Likewise.
11396 * po/fr.po: Likewise.
11397
d30cf5bb
RM
113982011-07-09 Roland McGrath <roland@hack.frob.com>
11399
113ddea4
RM
11400 * configure.in (.ctors/.dtors header and trailer check):
11401 Use an empirical test on a built program.
11402 * configure: Regenerated.
11403
574920b4
RM
11404 * configure.in (-z relro check): Use an empirical test on a built DSO.
11405 Detect, but do not require, on ia64.
11406 * configure: Regenerated.
11407
d30cf5bb
RM
11408 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11409 Update tests that use readelf to use $READELF instead.
11410 * configure: Regenerated.
11411
8538fdb3
UD
114122011-07-08 Ulrich Drepper <drepper@gmail.com>
11413
11414 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11415 if the result is not used.
11416
04d08991
AJ
114172011-07-05 Andreas Jaeger <aj@suse.de>
11418
11419 [BZ#9696]
11420 * stdlib/tst-strtod.c: Add testcase.
11421
de283087
AD
114222011-07-07 Ulrich Drepper <drepper@gmail.com>
11423
4e5f31c8 11424 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11425 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11426 The latter has a higher limit. Take additional parameter to pass to
11427 the new function.
11428 (__pathconf): Pass file to __statfs_link_max.
11429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11430 __statfs_link_max.
11431 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11432 __statfs_link_max.
11433
de283087
AD
11434 [BZ #12868]
11435 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11437 Handle Lustre.
11438 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11439 (__statfs_filesize_max): Likewise.
11440 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11441
c75fa153
AJ
114422011-07-05 Andreas Jaeger <aj@suse.de>
11443
11444 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11445
1a544854
UD
114462011-07-06 Marek Polacek <mpolacek@redhat.com>
11447
11448 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11449 `status' variable.
11450 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11451 Likewise.
11452
6f0eec67
UD
114532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11454
11455 * Makefile (strop-tests): Add strncat.
11456 * string/test-strncat.c: New file.
11457
aae30307
UD
114582011-06-30 Marek Polacek <mpolacek@redhat.com>
11459
11460 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11461
c0cfb5eb
UD
114622011-06-21 Andreas Jaeger <aj@suse.de>
11463
11464 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11465 Copy rule from iconvdata/Makefile.
11466
01636b21
UD
114672011-07-06 Ulrich Drepper <drepper@gmail.com>
11468
11469 [BZ #12922]
11470 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11471 but no long options are defined, just return 'W'.
11472
9895c8bc
UD
114732011-06-22 Marek Polacek <mpolacek@redhat.com>
11474
11475 [BZ #9696]
11476 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11477
5d4cf042
UD
114782011-07-06 Ulrich Drepper <drepper@gmail.com>
11479
11480 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11481 netgroups to read.
960e5535 11482 (innetgr): Likewise.
5d4cf042 11483
751eb97e
RM
114842011-07-05 Roland McGrath <roland@hack.frob.com>
11485
11486 * config.make.in (install_root): Default to $(DESTDIR).
11487
f15f1e45
UD
114882011-07-05 Ulrich Drepper <drepper@gmail.com>
11489
11490 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11491
4e34ac6a
RM
114922011-07-02 Roland McGrath <roland@hack.frob.com>
11493
5e9b6af4
RM
11494 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11495
84f9ea0f
RM
11496 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11497 containing directory rather than embedding absolute directory names.
11498
ea5ee9f7
RM
11499 * scripts/check-local-headers.sh: Rewritten using awk.
11500 Match by word, not by line. Print error messages for matches.
11501 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11502
1b74661a
RM
11503 * Makerules [shlib-lds-flags empty]:
11504 ($(common-objpfx)libc_pic.opts): New target.
11505 ($(common-objpfx)libc_pic.os.clean): New target.
11506 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11507
11508 * config.make.in (OBJCOPY): New variable.
11509 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11510 * configure: Regenerated.
11511
f781ef40
RM
11512 * config.make.in (use-default-link): New variable.
11513 * configure.in (use_default_link): Grok --with-default-link to set it.
11514 * configure: Regenerated.
11515 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11516 (shlib-lds, shlib-lds-flags): Define to empty.
11517
2d4fa81e
RM
11518 * Makerules (shlib-lds): New variable.
11519 (shlib-lds-flags): New variable.
11520 (build-shlib, build-moduile, build-module-asneeded): Use it.
11521 ($(common-objpfx)libc.so): Use $(shlib-lds).
11522 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11523 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11524
31fffa6b
RM
11525 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11526 DT_FLAGS/DT_FLAGS_1 with zero flags.
11527
4e34ac6a
RM
11528 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11529 linker script munging.
11530
fcfc776b
UD
115312011-07-02 Ulrich Drepper <drepper@gmail.com>
11532
11533 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11534 as 128-bit value.
11535 * crypt/sha512.c (sha512_process_block): Perform total addition using
11536 128-bit if possible.
11537 (__sha512_finish_ctx): Likewise.
11538 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11539 as 64-bit value.
11540 * crypt/sha256.c (SWAP64): Define.
11541 (sha256_process_block): Perform total addition using 64-bit if
11542 possible.
11543 (__sha256_finish_ctx): Likewise.
11544
99231d9a
UD
115452011-07-01 Ulrich Drepper <drepper@gmail.com>
11546
11547 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11549 * nscd/hstcache.c (cache_addhst): Likewise.
11550 * nscd/grpcache.c (cache_addgr): Likewise.
11551 * nscd/aicache.c (addhstaiX): Likewise
11552 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11553
445b4a53
TK
115542011-07-01 Thorsten Kukuk <kukuk@suse.de>
11555
11556 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11558 * nscd/hstcache.c (cache_addhst): Likewise.
11559 * nscd/grpcache.c (cache_addgr): Likewise.
11560 * nscd/aicache.c (addhstaiX): Likewise
11561
6d4d8e8e
AS
115622011-07-01 Andreas Schwab <schwab@redhat.com>
11563
11564 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11565 domain only when needed.
11566
89f654c5
AS
115672011-06-30 Andreas Schwab <schwab@redhat.com>
11568
11569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11570 is always restored.
11571
cf3b23ff
UD
115722011-06-29 Ulrich Drepper <drepper@gmail.com>
11573
11574 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11575 are re-adding the entry.
11576 * nscd/servicescache.c (cache_addserv): Likewise.
11577
751626f9
AJ
115782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11579
11580 * sysdeps/generic/dl-irel.h: fix protection against multiple
11581 inclusions.
11582 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11583
9113ea1f
UD
115842011-06-28 Ulrich Drepper <drepper@gmail.com>
11585
5c0b8d90
UD
11586 [BZ #12935]
11587 * malloc/memusage.sh: Fix quoting in message.
11588 * debug/xtrace.sh: Likewise.
11589
9113ea1f
UD
11590 * configure.in: Remove support for --experimental-malloc option, make
11591 it the default.
11592 * config.make.in: Likewise.
11593 * malloc/Makefile: Likewise.
11594
a4172181
AS
115952011-06-27 Andreas Schwab <schwab@redhat.com>
11596
11597 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11598 two-byte characters.
11599
78a7eee7
RM
116002011-06-27 Roland McGrath <roland@hack.frob.com>
11601
62bede13
RM
11602 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11603 AC_CACHE_CHECK invocation.
11604 * configure: Regenerated.
11605
78a7eee7
RM
11606 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11607
5ce33a62
UD
116082011-06-27 Ulrich Drepper <drepper@gmail.com>
11609
034807a9
UD
11610 [BZ #12350]
11611 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11612 bit from old_res_options.
11613
4902da17
UD
11614 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11615
5ce33a62
UD
11616 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11617 value type for setfct.
11618
c2344f56
L
116192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11622 __gettimeofday instead of gettimeofday.
11623
68468076
UD
116242011-06-26 Ulrich Drepper <drepper@gmail.com>
11625
11626 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11627
acb0d739
L
116282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11629
11630 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11631
11632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11633 info.
11634
8912479f
L
116352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11638 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11639 strcpy-sse2-unaligned strncpy-sse2-unaligned
11640 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11641 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11642 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11643 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11644 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11645 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11647 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11648 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11649 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11650 (STRCPY): Support SSE2 and SSSE3 versions.
11651
d5495a11
UD
116522011-06-24 Ulrich Drepper <drepper@gmail.com>
11653
11654 [BZ #12874]
11655 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11656 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11657 kernels which artificially limit size of requests.
11658
0b1cbaae
L
116592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11660
11661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11662 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11663 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11664 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11665 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11666 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11667 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11668 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11670 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11671 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11672 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11673 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11674 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11675 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11677 Enable unaligned load optimization for Intel Core i3, i5 and i7
11678 processors.
11679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11680 Define.
11681 (index_Fast_Unaligned_Load): Define.
11682 (HAS_FAST_UNALIGNED_LOAD): Define.
11683
07f494a0
MP
116842011-06-23 Marek Polacek <mpolacek@redhat.com>
11685
11686 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11687
fa3fc0fe
UD
116882011-06-22 Ulrich Drepper <drepper@gmail.com>
11689
11690 [BZ #12907]
11691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11692 until it is clear that the information is realy needed.
11693 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11694
e12df166
AS
116952011-06-22 Andreas Schwab <schwab@redhat.com>
11696
11697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11698
852eb34d
UD
116992011-06-22 Ulrich Drepper <drepper@gmail.com>
11700
84e2a551
UD
11701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11702 /sys/devices/system/cpu/online if it is usable.
11703
852eb34d
UD
11704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11705 reading the information from the /proc filesystem to once a second.
11706
6e502e19
UD
117072011-06-21 Andreas Jaeger <aj@suse.de>
11708
11709 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11710 NULL after inclusion of kernel headers.
11711
75d39ff2
UD
117122011-06-21 Ulrich Drepper <drepper@gmail.com>
11713
51f9aa6a
UD
11714 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11715 calls to internal_setent.
11716
c0244a9d
UD
11717 [BZ #12885]
11718 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11719 addresses using gethostbyname4_r ignore IPv4 addresses.
11720
c5e3c2ae
UD
11721 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11722 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11723
75d39ff2
UD
11724 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11725
42675c6f
DM
117262011-06-20 David S. Miller <davem@davemloft.net>
11727
11728 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11729 inclusions.
11730 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11731
11732 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11733 (elf_irel): Use it.
11734 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11735 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11736 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11737 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11738 * sysdeps/x86_64/dl-irel.h: Likewise.
11739
11740 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11741 * elf/dl-sym.c: Likewise.
11742
57912a71
UD
117432011-06-15 Ulrich Drepper <drepper@gmail.com>
11744
11745 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11746 need to dereference resplen2.
11747
ee22793d
AS
117482011-06-14 Andreas Schwab <schwab@redhat.com>
11749
11750 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11751
a9e836b0
UD
117522011-06-15 Ulrich Drepper <drepper@gmail.com>
11753
77fb9117
UD
11754 * Makeconfig: Define vardbdir and inst_vardbdir.
11755 * nss/Makefile: Add rules to install db-Makefile.
11756
40c1b22c
UD
11757 * nss/nss_db/db-XXX.c: Cleanup.
11758
9f2da732
UD
11759 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11760 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11761 GLIBC_PRIVATE.
11762 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11763 * nss/makedb.c: Implement -g option to specify that value strings
11764 are generated and should not be added to table iterated over for
11765 get*ent calls.
11766 * nss/nss_db/db-initgroups.c: New file.
11767
82e9a1f7
UD
11768 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11769 interface.
11770
c41af17e
UD
11771 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11772 (internal_getgrouplist): Adjust to name change.
11773 Update use_initgroups_entry if this is not the first call.
11774 * nss/databases.def: Add initgroups entry.
11775
a9e836b0
UD
11776 * nss/makedb.c (compute_tables): Check result of multiple hash table
11777 sizes to minimize maximum chain length.
11778
2666d441
UD
117792011-06-14 Ulrich Drepper <drepper@gmail.com>
11780
11781 * Versions.def: Add entry for libnss_db.
11782 * shlib-versions: Likewise.
11783 * nss/Makefile: Add rules to build libnss_db.
11784 * nss/Versions: Add libnss_db information. Organize libnss_files
11785 entries better.
11786 * nss/db-Makefile: Add gshadow support. Change rules for the new
11787 makedb progra. Some minor improvements to generate smaller files.
11788 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11789 here from...
11790 * nss/makedb.c: ...here.
11791 Improve database format to be smaller and require less memory at
11792 runtime.
11793 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11794 db anymore.
11795 * nss/nss_db/db-netgrp.c: Likewise.
11796 * nss/nss_db/db-open.c: Likewise.
11797 * nss/nss_files/flies-XXX.x: Adjust comments.
11798 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11799 * nss/nss_files/files-grp.c: Likewise.
11800 * nss/nss_files/files-hosts.c: Likewise.
11801 * nss/nss_files/files-network.c: Likewise.
11802 * nss/nss_files/files-proto.c: Likewise.
11803 * nss/nss_files/files-pwd.c: Likewise.
11804 * nss/nss_files/files-rpc.c: Likewise.
11805 * nss/nss_files/files-service.c: Likewise.
11806 * nss/nss_files/files-sgrp.c: Likewise.
11807 * nss/nss_files/files-spwd.c: Likewise.
11808 * nss/nss_db/db-alias.c: Removed.
11809 * nss/nss_db/dummy-db.h: Removed.
11810
9ee76b5a
UD
118112011-06-02 Ulrich Drepper <drepper@gmail.com>
11812
11813 * nss/makedb.c: Rewritten to not use database library.
11814 * nss/Makefile: Update to build new makedb program.
11815
c71ca1f8
AJ
118162011-06-14 Andreas Jaeger <aj@suse.de>
11817
11818 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11819 memset declaration.
11820
3154bfb8
UD
118212011-06-10 Andreas Schwab <schwab@redhat.com>
11822
11823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11824 tmpbuf.
11825
b350afab
RM
118262011-06-10 Roland McGrath <roland@hack.frob.com>
11827
decd4e50
RM
11828 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11829 * elf/Makefile ($(objpfx)ld.so): Likewise.
11830
5615eaf2
RM
11831 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11832 Don't list ld.so twice in dependencies.
11833
11834 * posix/bug-regex31.c: Include <stdlib.h>.
11835
11836 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11837
11838 * nis/nss_compat/compat-spwd.c
11839 (getspent_next_nss_netgr): Remove unused variable.
11840 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11841
11842 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11843 nonmembers" output to use the right array.
11844
11845 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11846
11847 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11848
11849 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11850 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11851 * catgets/gencat.c (read_input_file): Likewise.
11852 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11853
11854 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11855 variable definition inside #if's controlling its use.
11856
11857 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11858
11859 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11860
11861 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11862
11863 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11864 unreachable code.
11865
11866 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11867
b68e08db
RM
11868 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11869 * configure: Regenerated.
11870
b350afab
RM
11871 * Makerules: Revert last change.
11872 * elf/Makefile: Likewise.
11873
28368601
RM
118742011-06-09 Roland McGrath <roland@hack.frob.com>
11875
11876 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11877 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11878 (reloc-link): Likewise.
11879
11988f8f
UD
118802011-06-09 Ulrich Drepper <drepper@gmail.com>
11881
11882 * elf/Makefile: Add rules to build pldd.
11883 * elf/pldd.c: New file.
11884 * elf/pldd-xx.c: New file.
11885
e80fab37
UD
118862011-06-07 Ulrich Drepper <drepper@gmail.com>
11887
11888 * version.h: Update for 2.15 development version.
11889
9b849836
DM
118902011-06-07 David S. Miller <davem@davemloft.net>
11891
11892 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11893 ifuncs.
11894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11895 elf_machine_lazy_rel): Likewise.
11896 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11898 elf_machine_lazy_rel): Likewise.
11899 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11900 dl_hwcap via passed in argument.
11901 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11902 Likewise.
11903
5a31b283
AK
119042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11905
11906 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11907
069e52f8
RM
119082011-06-06 Roland McGrath <roland@hack.frob.com>
11909
11910 [BZ #12849]
11911 * manual/fdl-1.1.texi: New file, verbatim from:
11912 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11913 * manual/lgpl-2.1.texi: New file, verbatim from:
11914 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11915 * manual/Makefile (licenses): New variable, list those new file names.
11916 (texis): Use it.
11917 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11918
11919 * manual/fdl.texi: File removed.
11920 * manual/lesser.texi: File removed.
11921 * manual/libc.texinfo (Copying, Documentation License):
11922 Use new @include file names, put @appendix directive before @include.
11923
f16846a5
JJ
119242011-06-04 Jakub Jelinek <jakub@redhat.com>
11925
11926 [BZ #12841]
11927 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11928 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11929 (mq_open): Add __NTH.
11930
3d29045b
L
119312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11932
11933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11934 Assume Intel Core i3/i5/i7 processor if AVX is available.
11935
8c297311
UD
119362011-05-31 Ulrich Drepper <drepper@gmail.com>
11937
11938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11939 typo.
11940
c8fc0c91
UD
119412011-05-31 Andreas Schwab <schwab@redhat.com>
11942
11943 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11944 memory. Use alloca_account. Fix memory leak when retrying.
11945
5b27a807
UD
119462011-05-31 Ulrich Drepper <drepper@gmail.com>
11947
356f8bc6
UD
11948 * version.h (RELEASE): Bump for 2.14 release.
11949 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11950
5b27a807
UD
11951 * config.make.in (RANLIB): Remove entry.
11952
01f16ab0
UD
119532011-05-30 Ulrich Drepper <drepper@gmail.com>
11954
41fce8bd
UD
11955 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11956 (libc.pot): Work around missing support for .ksh extension in xgettext.
11957
4769ae77
UD
11958 [BZ #12684]
11959 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11960 if both request failed.
11961 (send_dg): In case of server errors clear resplen or *resplen2.
11962
6b1e7d19
UD
11963 [BZ #12454]
11964 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11965 when there are multiple maps.
11966 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11967 (_dl_fini): Remove test here.
11968
01f16ab0
UD
11969 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11970
b1ebd700
UD
119712011-05-29 Ulrich Drepper <drepper@gmail.com>
11972
7ae22829
UD
11973 [BZ #12350]
11974 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11975 bit from old_res_options.
11976 (gaih_inet): Likewise.
11977
553149f6 11978 [BZ #11099]
18a84741 11979 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11980 as signed.
11981
652ffab1
UD
11982 * resolv/res_init.c (res_setoptions): Make the code more compact.
11983
16985fd0
UD
11984 [BZ #11558]
11985 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11986 set RES_USEVC.
11987
0464f746
UD
11988 [BZ #11634]
11989 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11990
7d17596c
UD
11991 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11992
cf6bbbd7
UD
11993 [BZ #11781]
11994 * malloc/malloc.h: Declare malloc hook variables as volatile.
11995
13f1ab36
UD
11996 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11997 in last patch.
11998
b1ebd700
UD
11999 [BZ #11799]
12000 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12001 raise in the comment.
80e2212d
UD
12002 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12004 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12005
ce67228d
UD
120062011-05-28 Ulrich Drepper <drepper@gmail.com>
12007
8887a920
UD
12008 [BZ #12811]
12009 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12010 grow the buffers more if it already has to be sufficient.
12011 (build_wcs_upper_buffer): Likewise.
12012 * posix/regexec.c (check_matching): Likewise.
12013 (clean_state_log_if_needed): Likewise.
12014 (extend_buffers): Don't enlarge buffers beyond size of the input
12015 buffer.
12016 Patches mostly by Emil Wojak <emil@wojak.eu>.
12017 * posix/bug-regex32.c: New file.
12018 * posix/Makefile (tests): Add bug-regex32.
12019
4f031072
UD
12020 * locale/findlocale.c (_nl_find_locale): Return right away if
12021 _nl_explode_name failed.
12022 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12023
d0478f0c
UD
12024 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12025
de81b246
UD
12026 * debug/xtrace.sh: Unify messages.
12027 * malloc/memusage.sh: Likewise.
12028
c738465a
UD
12029 [BZ #12813]
12030 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12031 time symbol from vDSO. Substitute with vsyscall if not available.
12032 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12033 __vdso_time.
12034
f1f929d7
UD
12035 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12036 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12037 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12038 Add sendmmsg and internal_sendmmsg.
12039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12041 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12042
ce67228d
UD
12043 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12044 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12046
e57420c6
UD
120472011-05-27 Ulrich Drepper <drepper@gmail.com>
12048
a8509ca5
UD
12049 [BZ #12813]
12050 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12051 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12052 available.
12053 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12054 __vdso_getcpu.
12055
e57420c6
UD
12056 [BZ #12814]
12057 * iconvdata/Makefile (tests): Add bug-iconv9.
12058 * iconvdata/bug-iconv9.c: New file.
12059
4d07db15
AS
120602011-05-27 Andreas Schwab <schwab@redhat.com>
12061
12062 [BZ #12814]
12063 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12064
ea486f69
JJ
120652011-05-25 Jakub Jelinek <jakub@redhat.com>
12066
12067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12068 (struct user_regs_struct): Change intcs field back to cs.
12069
6f038433
UD
120702011-05-25 Ulrich Drepper <drepper@gmail.com>
12071
12072 * po/ja.po: Update from translation team.
12073
67f86a25
UD
120742011-05-23 Ulrich Drepper <drepper@gmail.com>
12075
12076 [BZ #12795]
12077 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12078 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12079
def7fbd6
AS
120802011-05-20 Andreas Schwab <schwab@redhat.com>
12081
12082 * stdlib/longlong.h: Update from GCC.
12083
f50ef8f1
AS
120842011-05-23 Andreas Schwab <schwab@redhat.com>
12085
12086 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12087 parameter name.
12088 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12089 Add parameter name.
12090 (__sysconf): Pass it down.
12091
de7ce8f1
UD
120922011-05-22 Ulrich Drepper <drepper@gmail.com>
12093
f2962a71
UD
12094 [BZ #12671]
12095 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12096 some situations.
12097 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12098 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12099 add in in __libc_use_alloca calls. Adjust callers.
12100 (glob): Use malloc in some situations.
12101
de7ce8f1
UD
12102 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12103 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12104 pltexit.
12105
aec84f53
UD
121062011-05-21 Ulrich Drepper <drepper@gmail.com>
12107
05bb4a68
UD
12108 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12109 and CLOCK_BOOTTIME_ALARM.
12110
7ea72f99
UD
12111 [BZ #12782]
12112 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12113 is returned.
12114
7e4afad5
UD
12115 * string/_strerror.c (__strerror_r): Print negative errors as signed
12116 numbers.
12117
8e211fec
UD
12118 [BZ #12777]
12119 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12120 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12121 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12122
f7d82dc9
UD
12123 * configure.in: Fix typo in redirection and correct removal of test
12124 files in two cases.
12125
cc9e536d
UD
12126 [BZ #12788]
12127 * locale/setlocale.c (new_composite_name): Fix test to check for
12128 identical name of all categories.
12129
aec84f53
UD
12130 [BZ #12792]
12131 * libio/filedoalloc.c (local_isatty): New function.
12132 (_IO_file_doallocate): Use local_isatty.
12133 * stdio-common/perror.c (perror): In case a new stream is used
12134 forward the stream error.
12135 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12136 error flag.
12137
78e64fdc
RT
121382011-05-20 Ulrich Drepper <drepper@gmail.com>
12139
34a9094f
UD
12140 [BZ #11869]
12141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12142 alloca.
12143 * include/alloca.h (extend_alloca_account): Define.
12144
78e64fdc
RT
12145 [BZ #11857]
12146 * posix/regex.h: Fix comments with documentation of user-accessible
12147 fields after compilation and describe correct free'ing of pattern
12148 after re_compile_pattern.
12149 Patch by Reuben Thomas <rrt@sc3d.org>.
12150
457bddfc
RA
121512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12152
12153 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12154 and -mno-altivec to prevent the compiler from using Altivec and/or
12155 VSX instructions when the corresponding registers are not available.
12156
a4527b51
AS
121572011-05-19 Andreas Schwab <schwab@redhat.com>
12158
12159 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12160
ed690b2f
UD
121612011-05-19 Ulrich Drepper <drepper@gmail.com>
12162
12163 * libio/freopen.c (freopen): Use __dup2, not dup2.
12164 * libio/freopen64.c (freopen64): Likewise.
12165
8db73634
L
121662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12167
12168 [BZ #12775]
12169 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12170 * math/Makefile (tests): Add test-powl.
12171 (CFLAGS-test-powl.c): Define.
12172 * math/test-powl.c: New file.
12173
0a197a9d
L
121742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12177
ee30c380
UD
121782011-05-17 Ulrich Drepper <drepper@gmail.com>
12179
12180 [BZ #11837]
12181 * iconvdata/gb18030.c: Update to GB18020-2005.
12182
6ce75379
UD
121832011-05-16 Ulrich Drepper <drepper@gmail.com>
12184
a4b89fd8
AR
12185 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12186 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12187 Patch by Aharon Robbins <arnold@skeeve.com>.
12188
ea389b12
UD
12189 [BZ #11892]
12190 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12191 on the stack.
12192
68a3f91f
UD
12193 [BZ #11895]
12194 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12195 through underflows.
12196
15cc7dd1
UD
12197 [BZ #12766]
12198 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12199 point to strings before performing equality test for error_one_per_line
12200 mode.
12201
f3799213
UD
12202 [BZ #11697]
12203 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12204
d79a9c94
UD
12205 [BZ #11820]
12206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12207 (struct user_fpregs_struct): Avoid __uint*_t types.
12208
56e5eb46
UD
12209 [BZ #6420]
12210 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12211 symbol info. Use it instead of calling _dl_addr locally.
12212 (lock_and_info): New function.
12213 (tr_freehook): Call lock_and_info and pass symbol info as additional
12214 parameter to tr_where.
12215 (tr_mallochook): Likewise.
12216 (tr_reallochook): Likewise.
12217 (tr_memalignhook): Likewise.
12218
6ce75379
UD
12219 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12220 used and couldn't be at all thread-safe.
12221
f8a3b5bf
UD
122222011-05-15 Ulrich Drepper <drepper@gmail.com>
12223
94b7cc37
UD
12224 * libio/freopen.c (freopen): Don't close old file descriptor
12225 before the new one is opened. Instead dup the new file descriptor
12226 to the old one after the new stream is created.
12227 * libio/freopen64.c (freopen64): Likewise.
12228 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12229 * libio/fileops.c (_IO_new_file_close_it): Handle new
12230 _IO_FLAGS2_NOCLOSE flag.
12231 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12232 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12233 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12234 _IO_FLAGS2_NOCLOSE flag.
12235 * include/unistd.h: Add hidden_proto for dup3.
12236 Define __have_dup3.
12237 * io/dup3.c: Define hidden symbol.
12238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12239
bd25564e
UD
12240 [BZ #7101]
12241 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12242 when an incomplete long option is used.
12243 * posix/tst-getopt_long1.c: New file.
12244 * posix/Makefile (tests): Add tst-getopt_long1.
12245
c84cfef4
UD
12246 [BZ #10138]
12247 * scripts/config.guess: Update from autoconf-2.68.
12248 * scripts/config.sub: Likewise.
12249
3b85df27
UD
12250 [BZ #10157]
12251 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12252 tests into ...
12253 (has_cpuclock): ...this. New function.
12254 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12255 macro here based on has_cpuclock code.
12256
15a856b1
UD
12257 [BZ #10149]
12258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12259 First byte (not low byte) is now always NUL.
12260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12261
05f399e6
UD
12262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12263 Use non-cancelable interfaces.
12264
10a52685 12265 [BZ #9809]
94ecc67d
UD
12266 * locale/iso-639.def: Add entry for Sorani.
12267
f8a3b5bf
UD
12268 [BZ #11901]
12269 * include/stdlib.h: Move include protection to the right place.
12270 Define abort_msg_s. Declare __abort_msg with it.
12271 * stdlib/abort.c (__abort_msg): Adjust type.
12272 * assert/assert.c (__assert_fail_base): New function. Majority
12273 of code from __assert_fail. Allocate memory for __abort_msg with
12274 mmap.
12275 (__assert_fail): Now call __assert_fail_base.
12276 * assert/assert-perr.c: Remove bulk of implementation. Use
12277 __assert_fail_base.
12278 * include/assert.hL Declare __assert_fail_base.
12279 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12280 mmap.
12281 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12282
1af4e298
UD
122832011-05-14 Ulrich Drepper <drepper@gmail.com>
12284
f8a3b5bf 12285 [BZ #11952]
d26dfc60
MG
12286 [BZ #12453]
12287 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12288 until all modules are registered in the DTV.
12289 * elf/Makefile: Add rules to build and run tst-tls19.
12290 * elf/tst-tls19.c: New file.
12291 * elf/tst-tls19mod1.c: New file.
12292 * elf/tst-tls19mod2.c: New file.
12293 * elf/tst-tls19mod3.c: New file.
12294 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12295
2fc54d6f
UD
12296 [BZ #12083]
12297 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12298 correctly.
12299
98d76b46
UD
12300 [BZ #12601]
12301 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12302 two-byte sequence errors.
12303 * iconvdata/Makefile (tests): Add bug-iconv8.
12304 * iconvdata/bug-iconv8.c: New file.
12305
da3c19ef
UD
12306 [BZ #12626]
12307 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12308 buf2 definition.
12309
ca408c15
UD
12310 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12311
d6f67f7d
UD
12312 [BZ #12432]
12313 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12314 (dummy_getcfa): New function.
12315 (init): Get _Unwind_GetCFA address, use dummy if not found.
12316 (backtrace_helper): In recursion check, also check whether CFA changes.
12317 (__backtrace): Completely initialize arg.
12318
1af4e298 12319 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12320 storing incomplete byte sequence in state object. Avoid testing for
12321 guaranteed too small input if we know there is enough data available.
1af4e298 12322
da62f81b
AS
123232011-05-11 Andreas Schwab <schwab@redhat.com>
12324
12325 * Makeconfig (+link-pie): Indent.
12326 * Rules (binaries-pie): Define if $(have-fpie) and
12327 $(build-shared).
12328 (binaries-shared): Also filter out $(binaries-pie).
12329 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12330 * nscd/Makefile (others-pie): Add nscd.
12331 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12332 ($(objpfx)nscd): Remove command override.
12333 * login/Makefile (others-pie): Add pt_chown.
12334 ($(objpfx)pt_chown): Remove command override.
12335 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12336 remove command overrides.
12337
fcabc0f8
UD
123382011-05-13 Ulrich Drepper <drepper@gmail.com>
12339
20030ae6
UD
12340 * libio/tst_putwc.c: Fix error messages.
12341
fcabc0f8
UD
12342 [BZ #12724]
12343 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12344 currently writing and seek to current position when not.
12345 * libio/Makefile (tests): Add bug-fclose1.
12346 * libio/bug-fclose1.c: New file.
12347
320a5dc0
PB
123482011-05-12 Ulrich Drepper <drepper@gmail.com>
12349
12350 [BZ #12511]
12351 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12352 don't set DF_1_NODELETE here.
12353 (do_lookup_x): When entering new entry test for copy relocation
12354 and if necessary set DF_1_NODELETE flag.
12355 * elf/tst-unique4.cc: New file.
12356 * elf/tst-unique4.h: New file.
12357 * elf/tst-unique4lib.cc: New file.
12358 * elf/Makefile: Add rules to build and run tst-unique4.
12359 Patch by Piotr Bury <pbury@goahead.com>.
12360
22836f52
UD
123612011-05-11 Ulrich Drepper <drepper@gmail.com>
12362
f574184a
UD
12363 [BZ #12052]
12364 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12365
e1fb097f
UD
12366 [BZ #12625]
12367 * misc/mntent_r.c (addmntent): Flush the stream after the output
12368
22836f52
UD
12369 [BZ #12393]
12370 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12371 (is_trusted_path_normalize): Skip initial colon. Append slash
12372 to empty buffer. Duplicate is_trusted_path code but allow
12373 constructed patch to be prefix.
12374 (is_dst): Allow $ORIGIN followed by /.
12375 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12376 Correct testing of result of is_trusted_path_normalize
12377 (decompose_rpath): Fix warning.
12378
7b3b0b2a
UD
123792011-05-10 Ulrich Drepper <drepper@gmail.com>
12380
12381 [BZ #11257]
12382 * grp/initgroups.c (internal_getgrouplist): When we found the service
12383 list through the initgroups entry in nsswitch.conf do not always
12384 continue on a successful lookup. Don't always use the
eac80ce2 12385 __nss_group_database value if it is set.
7b3b0b2a
UD
12386 * nss/nsswitch.conf (initgroups): Change action for successful db
12387 lookup to continue for compatibility.
12388
2a81eaa5
UD
123892011-05-09 Ulrich Drepper <drepper@gmail.com>
12390
be97a69e
UD
12391 [BZ #11532]
12392 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12393 and CP774 modules.
12394 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12395 and CP774 modules.
12396 * iconvdata/tst-tables.sh: Likewise.
12397 * iconvdata/cp770.c: New file.
12398 * iconvdata/cp771.c: New file.
12399 * iconvdata/cp772.c: New file.
12400 * iconvdata/cp773.c: New file.
12401 * iconvdata/cp774.c: New file.
12402 * iconvdata/testdata/CP770: New file.
12403 * iconvdata/testdata/CP770..UTF8: New file.
12404 * iconvdata/testdata/CP771: New file.
12405 * iconvdata/testdata/CP771..UTF8: New file.
12406 * iconvdata/testdata/CP772: New file.
12407 * iconvdata/testdata/CP772..UTF8: New file.
12408 * iconvdata/testdata/CP773: New file.
12409 * iconvdata/testdata/CP773..UTF8: New file.
12410 * iconvdata/testdata/CP774: New file.
12411 * iconvdata/testdata/CP774..UTF8: New file.
12412
12413 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12414 END CHARMAP line.
12415 * iconvdata/gen-8bit-gap.sh: Likewise.
12416 * iconvdata/gen-8bit.sh: Likewise.
12417
c1e9e399
UD
12418 * locale/iso-639.def: Add ary entry.
12419
24c55fb3 12420 [BZ #11258]
96b4b1b0
UD
12421 * locale/C-translit.h.in: Add U20A1 transliteration.
12422
bdc2f971
KB
12423 [BZ #12178]
12424 * locale/iso-639.def: Add wae entry.
12425 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12426
2952b117
UD
12427 [BZ #12545]
12428 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12429 for n.
12430
2a81eaa5
UD
12431 [BZ #12711]
12432 * locale/C-translit.h.in: Add entry for U20B9.
12433 Patch by pravin.d.s@gmail.com.
12434
28377d1b
UD
124352011-05-08 Ulrich Drepper <drepper@gmail.com>
12436
7fb90fb8
UD
12437 [BZ #12713]
12438 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12439 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12440 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12441 in rtld. Use *stat64.
7fb90fb8 12442 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12443 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12444 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12445 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12446 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12447 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12448 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12449 __fstatat64 macros.
7fb90fb8
UD
12450 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12451 * dirent/rewinddir.c: Add libc_hidden_def.
12452 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12453 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12454
28377d1b
UD
12455 * include/dirent.h (__alloc_dir): Add flags parameter.
12456 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12457 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12458 __alloc_dir.
12459 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12460 from fdopendir if O_CLOEXEC is already set.
12461
66bdbaa4
AM
124622011-03-15 Alan Modra <amodra@gmail.com>
12463
12464 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12465 l_tls_firstbyte_offset non-zero. Save padding offset in
12466 l_tls_firstbyte_offset for later use.
12467 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12468 freeing static tls block.
12469
95721191
JN
124702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12471
12472 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12473 where #ifdef was intended. The intent is to prevent ARG_MAX from
12474 being defined by the kernel headers.
12475
f87dfb1f
UD
124762011-05-07 Ulrich Drepper <drepper@gmail.com>
12477
12478 [BZ #12734]
12479 * resolv/resolv.h: Define RES_NOTLDQUERY.
12480 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12481 no-tld-query and set RES_NOTLDQUERY.
12482 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12483 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12484 modern BIND to search name as TLD unless forbidden.
12485
47c3cd7a
UD
124862011-05-07 Petr Baudis <pasky@suse.cz>
12487 Ulrich Drepper <drepper@gmail.com>
12488
12489 [BZ #12393]
12490 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12491 (is_trusted_path): ...to here.
c1e9ea35 12492 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12493 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12494 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12495
8a35c912
PP
124962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12497
12498 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12499 __BEGIN/__END_DECLS.
12500
acd41f47
UD
125012011-05-06 Ulrich Drepper <drepper@gmail.com>
12502
12503 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12504 NSS_STATUS_NOTFOUND if no record was found.
12505
597df647
AS
125062011-05-05 Andreas Schwab <schwab@redhat.com>
12507
12508 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12509 (headers-not-in-tirpc): Remove rpc/netdb.h
12510 * resolv/netdb.h: Revert last change.
12511
b9af1301
PP
125122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12513
12514 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12515 circular dependency between libgcc.a and libc.a.
12516
4e34d5f5
AS
125172011-05-05 Andreas Schwab <schwab@redhat.com>
12518
12519 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12520 * nis/Makefile: Don't install rpcsvc/*.
12521 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12522 instead of <rpc/types.h>.
12523 (MAXHOSTNAMELEN): Define.
12524
00ee369c
AS
125252011-05-03 Andreas Schwab <schwab@redhat.com>
12526
12527 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12528
0b592a30
MB
125292011-04-28 Maciej Babinski <mbabinski@google.com>
12530
12531 [BZ #12714]
12532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12533 gethostbyname4_r when IPv6 results are possible.
12534
6e04cbbe
UD
125352011-05-02 Ulrich Drepper <drepper@gmail.com>
12536
12537 [BZ #12723]
12538 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12539 _PC_PIPE_BUF handling.
12540
e4ecafe0
BH
125412011-04-30 Bruno Haible <bruno@clisp.org>
12542
12543 [BZ #12717]
12544 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12545 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12546 to 'int'.
12547 * inet/getnameinfo.c (getnameinfo): Likewise.
12548
125ee683
UD
125492011-04-29 Ulrich Drepper <drepper@gmail.com>
12550
12551 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12552 to groups setting in database lookup.
12553 * nss/nsswitch.conf: Add initgroups entry.
12554
b722481a
EB
125552011-04-22 Ulrich Drepper <drepper@gmail.com>
12556
12557 [BZ #12685]
12558 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12559 mode string.
12560 Patch by Eric Blake <eblake@redhat.com>.
12561
4df46dbd
L
125622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12563
12564 * sunrpc/Makefile (need-export-routines): Add svc_run.
12565 (routines): Remove svc_run.
12566 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12567 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12568 * sunrpc/svc_run.c (svc_run): Likewise.
12569 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12570
e84142d2
UD
125712011-04-21 Ulrich Drepper <drepper@gmail.com>
12572
12573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12574 problem in reallocation in last patch.
12575
877175d8
UD
125762011-04-20 Ulrich Drepper <drepper@gmail.com>
12577
12578 * sunrpc/Makefile: Move inclusion of Rules.
12579
ab8eed78
UD
125802011-04-19 Ulrich Drepper <drepper@gmail.com>
12581
12582 * nss/nss_files/files-initgroups.c: New file.
12583 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12584 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12585 _nss_files_initgroups_dyn.
12586
e3d8f584
RS
125872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12588
12589 * elf/elf.h (R_ARM_IRELATIVE): Define.
12590
af190f45
UD
125912011-04-19 Ulrich Drepper <drepper@gmail.com>
12592
12593 * po/ru.po: Update from translation team.
12594
53cf59ef
UD
125952011-04-17 Ulrich Drepper <drepper@gmail.com>
12596
12597 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12598 dependencies.
12599
4c559bcd
MF
126002011-02-06 Mike Frysinger <vapier@gentoo.org>
12601
12602 [BZ #12653]
12603 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12604 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12606 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12608
4420675c
AS
126092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12610
12611 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12612 differing bytes.
12613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12616
75ea32ab
UD
126172011-04-17 Ulrich Drepper <drepper@gmail.com>
12618
12619 [BZ #12420]
12620 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12621 storing it.
12622 * stdlib/bug-getcontext.c: New file.
12623 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12624
27390476
AK
126252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12626
12627 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12628 instructions into .machine "z9-109".
12629 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12630 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12631
10442705
AK
126322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12633
12634 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12635 between environment variables and auxiliary vector.
12636
7b57bfe5
UD
126372011-04-16 Ulrich Drepper <drepper@gmail.com>
12638
12639 * Makefile: Add rules to build linkobj/libc.so.
12640 * include/libc-symbols.h: Define libc_hidden_nolink.
12641 * include/rpc/auth.h: Mark functions which are to be hidden.
12642 * include/rpc/auth_des.h: Likewise.
12643 * include/rpc/auth_unix.h: Likewise.
12644 * include/rpc/clnt.h: Likewise.
12645 * include/rpc/des_crypt.h: Likewise.
12646 * include/rpc/key_prot.h: Likewise.
12647 * include/rpc/pmap_clnt.h: Likewise.
12648 * include/rpc/pmap_prot.h: Likewise.
12649 * include/rpc/pmap_rmt.h: Likewise.
12650 * include/rpc/rpc_msg.h: Likewise.
12651 * include/rpc/svc.h: Likewise.
12652 * include/rpc/svc_auth.h: Likewise.
12653 * include/rpc/xdr.h: Likewise.
12654 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12655 * nss/Makefile: Likewise.
12656 * sunrpc/Makefile: Don't install headers. Build library with normal
12657 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12658 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12659 for the compat linking library. Remove use of INTDEF/INTUSE.
12660 * sunrpc/auth_none.c: Likewise.
12661 * sunrpc/auth_unix.c: Likewise.
12662 * sunrpc/authdes_prot.c: Likewise.
12663 * sunrpc/authuxprot.c: Likewise.
12664 * sunrpc/clnt_gen.c: Likewise.
12665 * sunrpc/clnt_perr.c: Likewise.
12666 * sunrpc/clnt_raw.c: Likewise.
12667 * sunrpc/clnt_simp.c: Likewise.
12668 * sunrpc/clnt_tcp.c: Likewise.
12669 * sunrpc/clnt_udp.c: Likewise.
12670 * sunrpc/clnt_unix.c: Likewise.
12671 * sunrpc/des_crypt.c: Likewise.
12672 * sunrpc/des_soft.c: Likewise.
12673 * sunrpc/get_myaddr.c: Likewise.
12674 * sunrpc/key_call.c: Likewise.
12675 * sunrpc/key_prot.c: Likewise.
12676 * sunrpc/netname.c: Likewise.
12677 * sunrpc/pm_getmaps.c: Likewise.
12678 * sunrpc/pm_getport.c: Likewise.
12679 * sunrpc/pmap_clnt.c: Likewise.
12680 * sunrpc/pmap_prot.c: Likewise.
12681 * sunrpc/pmap_prot2.c: Likewise.
12682 * sunrpc/pmap_rmt.c: Likewise.
12683 * sunrpc/publickey.c: Likewise.
12684 * sunrpc/rpc_cmsg.c: Likewise.
12685 * sunrpc/rpc_common.c: Likewise.
12686 * sunrpc/rpc_dtable.c: Likewise.
12687 * sunrpc/rpc_prot.c: Likewise.
12688 * sunrpc/rpc_thread.c: Likewise.
12689 * sunrpc/rtime.c: Likewise.
12690 * sunrpc/svc.c: Likewise.
12691 * sunrpc/svc_auth.c: Likewise.
12692 * sunrpc/svc_authux.c: Likewise.
12693 * sunrpc/svc_raw.c: Likewise.
12694 * sunrpc/svc_run.c: Likewise.
12695 * sunrpc/svc_simple.c: Likewise.
12696 * sunrpc/svc_tcp.c: Likewise.
12697 * sunrpc/svc_udp.c: Likewise.
12698 * sunrpc/svc_unix.c: Likewise.
12699 * sunrpc/svcauth_des.c: Likewise.
12700 * sunrpc/xcrypt.c: Likewise.
12701 * sunrpc/xdr.c: Likewise.
12702 * sunrpc/xdr_array.c: Likewise.
12703 * sunrpc/xdr_float.c: Likewise.
12704 * sunrpc/xdr_intXX_t.c: Likewise.
12705 * sunrpc/xdr_mem.c: Likewise.
12706 * sunrpc/xdr_rec.c: Likewise.
12707 * sunrpc/xdr_ref.c: Likewise.
12708 * sunrpc/xdr_sizeof.c: Likewise.
12709 * sunrpc/xdr_stdio.c: Likewise.
12710
e6c61494
UD
127112011-04-10 Ulrich Drepper <drepper@gmail.com>
12712
12713 [BZ #12650]
12714 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12715 * sysdeps/ia64/dl-tls.h: Likewise.
12716 * sysdeps/powerpc/dl-tls.h: Likewise.
12717 * sysdeps/s390/dl-tls.h: Likewise.
12718 * sysdeps/sh/dl-tls.h: Likewise.
12719 * sysdeps/sparc/dl-tls.h: Likewise.
12720 * sysdeps/x86_64/dl-tls.h: Likewise.
12721 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12722
34fe483e
AS
127232011-03-14 Andreas Schwab <schwab@redhat.com>
12724
12725 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12726 rpath element also skip the following colon.
12727 (expand_dynamic_string_token): Add is_path parameter and pass
12728 down to DL_DST_REQUIRED and _dl_dst_substitute.
12729 (decompose_rpath): Call expand_dynamic_string_token with
12730 non-zero is_path. Ignore empty rpaths.
12731 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12732 with zero is_path.
12733
f12a32e6
AS
127342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12735
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12737 Make cancelable.
12738
38a7d692
UD
127392011-04-09 Ulrich Drepper <drepper@gmail.com>
12740
12741 [BZ #12655]
12742 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12743 Patch by Filipe David Manana <fdmanana@apache.org>.
12744
e451d22b
AS
127452011-04-07 Andreas Schwab <schwab@redhat.com>
12746
12747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12748 Maintain aligned stack.
12749 (CHECK_RSP): Remove unused macro.
12750
dedc7c7b
UD
127512011-04-03 Ulrich Drepper <drepper@gmail.com>
12752
12753 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12755
94521213
UD
127562011-04-02 Ulrich Drepper <drepper@gmail.com>
12757
12758 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12759
8cb700c0 12760 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12761
0354e355
L
127622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12763
12764 [BZ #12518]
12765 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12766 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12767 * sysdeps/x86_64/memmove.c: New file.
12768 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12769 (memcpy): Renamed to ...
12770 (__new_memcpy): This.
12771 (memcpy): Provide GLIBC_2_14 memcpy.
12772 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12773 (memcpy): Provide GLIBC_2_2_5 memcpy.
12774
8593482f
UD
127752011-04-01 Ulrich Drepper <drepper@gmail.com>
12776
12777 [BZ #12631]
12778 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12779
81a5726b
AS
127802011-03-30 Andreas Schwab <schwab@redhat.com>
12781
12782 * misc/syncfs.c: New file.
12783 * misc/Makefile (routines): Add syncfs.
12784 * posix/unistd.h: Declare syncfs.
12785 * sysdeps/unix/syscalls.list: Add syncfs.
12786
00e5419f
AS
127872011-04-01 Andreas Schwab <schwab@redhat.com>
12788
12789 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12790 open_by_handle_at.
12791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12794 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12796 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12797 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12798
748876bf
UD
127992011-04-01 Ulrich Drepper <drepper@gmail.com>
12800
658e451d
UD
12801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12808
748876bf
UD
12809 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12810 sync_file_range.c with -fexceptions.
12811 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12812 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12813 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12814 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12815 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12816 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12818 sync_file_range as cancellation point
12819 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12820 now a wrapper around __call_sync_file_range with cancellation handling.
12821 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12822 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12823 function name to __call_sync_file_range.
12824 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12825 Add call_sync_file_range.
748876bf 12826
6e63d5e1
AS
128272011-04-01 Andreas Schwab <schwab@redhat.com>
12828
12829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12830 bits/timex.h.
6e63d5e1 12831
46998f74
UD
128322011-04-01 Ulrich Drepper <drepper@gmail.com>
12833
4c1423ed
UD
12834 * iconv/iconv.h: Fix typo in comment.
12835 * io/fcntl.h: Likewise.
12836 * libio/stdio.h: Likewise.
12837 * posix/spawn.h: Likewise.
12838 * posix/unistd.h: Likewise.
12839 * stdlib/stdlib.h: Likewise.
12840 * time/time.h: Likewise.
12841 * wcsmbs/wchar.h: Likewise.
12842
158648c0
UD
12843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12844 open_by_handle): Add.
12845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12846 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12847 Augment a few comments.
12848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12852 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12853 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12854 open_by_handle.
12855
46998f74
UD
12856 * io/fcntl.h (AT_EMPTY_PATH): Define.
12857
83fe108b
UD
128582011-03-30 Ulrich Drepper <drepper@gmail.com>
12859
12860 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12861 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12862 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12863 to...
12864 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12865 * Versions.def: Add GLIBC_2.14.
12866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12867 Export.
83fe108b 12868
bb242059
UD
128692011-03-22 Ulrich Drepper <drepper@gmail.com>
12870
12871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12872 round counter.
12873 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12874
c97a1282
L
128752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12876
12877 [BZ #12597]
12878 * string/test-strncmp.c (do_page_test): New function.
12879 (check2): Likewise.
12880 (test_main): Call check2.
12881 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12882
2a115601
UD
128832011-03-20 Ulrich Drepper <drepper@gmail.com>
12884
12885 [BZ #12587]
12886 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12887 Handle cache information in CPU leaf 4.
12888 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12889
8126d904
UD
128902011-03-18 Ulrich Drepper <drepper@gmail.com>
12891
042c49c6 12892 [BZ #12583]
8126d904
UD
12893 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12894 character representation.
12895 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12896
ccfe366e
RA
128972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12898
12899 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12900 END(__isnan) to END(__isnanf) to match function entry point/label
12901 EALIGN(__isnanf,...).
12902
c6e13027
JJ
129032011-03-10 Jakub Jelinek <jakub@redhat.com>
12904
12905 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12906
33f85a3f
UD
129072011-03-10 Ulrich Drepper <drepper@gmail.com>
12908
028478fa
UD
12909 [BZ #12510]
12910 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12911 copy from the symbol referenced in the relocation to initialize the
12912 used variable.
12913 Patch by Piotr Bury <pbury@goahead.com>.
12914 * elf/Makefile: Add rules to build and tst-unique3.
12915 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12916 * elf/tst-unique3.cc: New file.
12917 * elf/tst-unique3.h: New file.
12918 * elf/tst-unique3lib.cc: New file.
12919 * elf/tst-unique3lib2.cc: New file.
12920
33f85a3f
UD
12921 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12922
03592fc7
MF
129232011-03-10 Mike Frysinger <vapier@gentoo.org>
12924
12925 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12926 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12927 to _start.
03592fc7 12928
6a5ee102
UD
129292011-03-06 Ulrich Drepper <drepper@gmail.com>
12930
12931 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12932 to-be-loaded object along a path to loader is ld.so.
12933
7e4ba49c
HJ
129342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12935 Ulrich Drepper <drepper@gmail.com>
12936
12937 * sysdeps/x86_64/memset.S: After aligning destination, code
12938 branches to different locations depending on the value of
12939 misalignment, when multiarch is enabled. Fix this.
12940
129412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12942
12943 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12944 Set _x86_64_preferred_memory_instruction for AMD processsors.
12945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12946 Set bit_Prefer_SSE_for_memop for AMD processors.
12947
13a804de
UD
129482011-03-04 Ulrich Drepper <drepper@gmail.com>
12949
12950 * libio/fmemopen.c (fmemopen): Optimize a bit.
12951
9d25c392
AS
129522011-03-03 Andreas Schwab <schwab@redhat.com>
12953
12954 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12955
a5543c6a
RM
129562011-03-03 Roland McGrath <roland@redhat.com>
12957
12958 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12959
012d35f7
DM
129602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12961
7e4ba49c 12962 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12963 __bzero_ultra1 instead of __memset_ultra1.
12964
4bff6e01
AS
129652011-02-23 Andreas Schwab <schwab@redhat.com>
12966 Ulrich Drepper <drepper@gmail.com>
12967
12968 [BZ #12509]
12969 * include/link.h (struct link_map): Add l_orig_initfini.
12970 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12971 returning unsuccessfully.
12972 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12973 close of a file loaded at startup, restore the original l_initfini
12974 list.
12975 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12976 list, store the pointer.
12977 * elf/Makefile ($(objpfx)noload-mem): New rule.
12978 (noload-ENV): Define.
12979 (tests): Add $(objpfx)noload-mem.
12980 * elf/noload.c: Include <memcheck.h>.
12981 (main): Call mtrace. Close all opened handles.
12982
f2092faf
AS
129832011-02-17 Andreas Schwab <schwab@redhat.com>
12984
12985 [BZ #12454]
12986 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12987 dependencies are missing.
12988
6c8a2e88
ST
129892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12990
f2092faf 12991 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12992 Hurd needs munmap.
12993 * sysdeps/mach/hurd/ifreq.h: New file.
12994
84a42118
PB
129952011-01-27 Petr Baudis <pasky@suse.cz>
12996 Ulrich Drepper <drepper@gmail.com>
12997
071f805e 12998 [BZ 12445]#
84a42118
PB
12999 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13000 to extend_alloca().
13001 * stdio-common/bug23.c: New file.
13002 * stdio-common/Makefile (tests): Add bug23.
13003
e23fe25b
AS
130042010-09-28 Andreas Schwab <schwab@redhat.com>
13005 Ulrich Drepper <drepper@gmail.com>
13006
13007 [BZ #12489]
13008 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13009 before performing relro protection. At old place add assertion
13010 to make sure nothing changed.
13011
d3f02e10
NS
130122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13013 Glauber de Oliveira Costa <glommer@gmail.com>
13014
13015 * elf/elf.h: Add new ARM TLS relocs.
13016
d55fd7a5
RA
130172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13018
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13020 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13021 cast from r3.
13022 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13023 'tests' variable.
13024 * sysdeps/wordsize-64/tst-writev.c: New file.
13025
2206397e
RA
130262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13027
13028 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13029 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13030 insns in _dl_start to prevent a TOC reference before relocs are
13031 resolved.
13032
e9433893
UD
130332011-02-15 Ulrich Drepper <drepper@gmail.com>
13034
13035 [BZ #12469]
13036 * Makeconfig: Remove RANLIB definition.
13037 * Makerules: Don't use RANLIB.
13038 * aclocal.m4: Remove ranlib test.
13039 * configure.in: No need to check for ranlib.
13040 * elf/rtld-Rules: Don't use RANLIB.
13041
f75286c6
ST
130422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13043
8e31c82d
ST
13044 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13045 protection macro.
13046 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13047 inclusion protection macro.
13048
f75286c6
ST
13049 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13050 SIGRTMIN and SIGRTMAX and print information in that case only when
13051 SIGRTMIN is defined.
13052
c1d0e639
JJ
130532011-02-11 Jakub Jelinek <jakub@redhat.com>
13054
13055 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13056 arginfo fn returning -1.
13057
13058 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13059 and thousands string is zero terminated.
13060
edf9294e
AS
130612011-02-03 Andreas Schwab <schwab@redhat.com>
13062
13063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13064 sysdeps/unix/sysv/linux/bits/socket.h.
13065
2b7e92df
ST
130662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13067
edf9294e
AS
13068 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13069 (__CPU_COUNT): Remove old macros.
13070 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13071 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13072 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13073 (__sched_cpualloc, __sched_cpufree): Add declarations.
13074
a4c7ea7b
UD
130752011-02-05 Ulrich Drepper <drepper@gmail.com>
13076
13077 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13078 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13079 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13080 (readdhstai): Return value of addhstaiX call.
13081 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13082 (addgrbyX): Return value returned by cache_addgr.
13083 (readdgrbyname): Return value returned by addgrbyX.
13084 (readdgrbygid): Likewise.
13085 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13086 (addpwbyX): Return value returned by cache_addpw.
13087 (readdpwbyname): Return value returned by addhstbyX.
13088 (readdpwbyuid): Likewise.
13089 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13090 (addservbyX): Return value returned by cache_addserv.
13091 (readdservbyname): Return value returned by addservbyX:
13092 (readdservbyport): Likewise.
13093 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13094 (addhstbyX): Return value returned by cache_addhst.
13095 (readdhstbyname): Return value returned by addhstbyX.
13096 (readdhstbyaddr): Likewise.
13097 (readdhstbynamev6): Likewise.
13098 (readdhstbyaddrv6): Likewise.
13099 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13100 (readdinitgroups): Return value returned by addinitgroupsX.
13101 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13102 (prune_cache): Keep track of timeout value of re-added entries.
13103 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13104 * nscd/nscd.h: Adjust prototypes of readd* functions.
13105
a0bf67cc
RM
131062011-02-04 Roland McGrath <roland@redhat.com>
13107
13108 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13109 (nis_stats): Likewise.
13110 * nis/nis_modify.c (nis_modify): Likewise.
13111 * nis/nis_remove.c (nis_remove): Likewise.
13112 * nis/nis_add.c (nis_add): Likewise.
13113
13114 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13115
13116 * posix/fnmatch_loop.c: Add some consts.
13117
13118 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13119
435b95eb
L
131202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13121
13122 [BZ #12460]
13123 * config.make.in (config-cflags-novzeroupper): Define.
13124 * configure.in: Substitute libc_cv_cc_novzeroupper.
13125 * elf/Makefile (AVX-CFLAGS): Define.
13126 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13127 (CFLAGS-tst-auditmod4a.c): Likewise.
13128 (CFLAGS-tst-auditmod4b.c): Likewise.
13129 (CFLAGS-tst-auditmod6b.c): Likewise.
13130 (CFLAGS-tst-auditmod6c.c): Likewise.
13131 (CFLAGS-tst-auditmod7b.c): Likewise.
13132 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13133
8517b15e
UD
131342011-02-02 Ulrich Drepper <drepper@gmail.com>
13135
13136 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13137 function to the callback.
13138 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13139
10a656fe
AS
131402011-02-02 Andreas Schwab <schwab@redhat.com>
13141
13142 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13143 of errno.
13144
968dad0a
UD
131452011-01-19 Ulrich Drepper <drepper@gmail.com>
13146
9f94d2ea 13147 [BZ #11724]
968dad0a
UD
13148 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13149 of constructors.
13150 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13151 of destructors.
13152 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13153
13154 [BZ #11724]
13155 * elf/Makefile: Add rules to build and run new test.
13156 * elf/tst-initorder.c: New file.
13157 * elf/tst-initorder.exp: New file.
13158 * elf/tst-initordera1.c: New file.
13159 * elf/tst-initordera2.c: New file.
13160 * elf/tst-initordera3.c: New file.
13161 * elf/tst-initordera4.c: New file.
13162 * elf/tst-initorderb1.c: New file.
13163 * elf/tst-initorderb2.c: New file.
13164 * elf/tst-order-a1.c: New file.
13165 * elf/tst-order-a2.c: New file.
13166 * elf/tst-order-a3.c: New file.
13167 * elf/tst-order-a4.c: New file.
13168 * elf/tst-order-b1.c: New file.
13169 * elf/tst-order-b2.c: New file.
13170 * elf/tst-order-main.c: New file.
13171 New test case by George Gensure <werkt0@gmail.com>.
13172
86e92359
UD
131732010-10-01 Andreas Schwab <schwab@redhat.com>
13174
13175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13176 decoding ACE if AI_CANONIDN.
13177
5d5732b0
UD
131782011-01-18 Ulrich Drepper <drepper@gmail.com>
13179
13180 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13181
a77e8cbc
UD
131822011-01-17 Ulrich Drepper <drepper@gmail.com>
13183
6392473f
UD
13184 * version.h (RELEASE): Bump for 2.13 release.
13185 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13186
620a0529
UD
13187 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13188
18ba70a5
UD
13189 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13190 MADV_NOHUGEPAGE.
32465c3e
UD
13191 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13194 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13197
c0dafcf1
UD
13198 * posix/getconf.c: Update copyright year.
13199 * catgets/gencat.c: Likewise.
13200 * csu/version.c: Likewise.
13201 * debug/catchsegv.sh: Likewise.
13202 * debug/xtrace.sh: Likewise.
13203 * elf/ldconfig.c: Likewise.
13204 * elf/ldd.bash.in: Likewise.
13205 * elf/sprof.c (print_version): Likewise.
13206 * iconv/iconv_prog.c: Likewise.
13207 * iconv/iconvconfig.c: Likewise.
13208 * locale/programs/locale.c: Likewise.
13209 * locale/programs/localedef.c: Likewise.
13210 * malloc/memusage.sh: Likewise.
13211 * malloc/mtrace.pl: Likewise.
13212 * nscd/nscd.c (print_version): Likewise.
13213 * nss/getent.c: Likewise.
13214
a77e8cbc
UD
13215 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13216 PF_CAIF, and PF_ALG.
13217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13218
77e8bddf
AS
132192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13220
1f20b93a
AS
13221 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13222 (modules-names): Use them.
13223 (ifunc-test-modules, ifunc-pie-tests): Define.
13224 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13225 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13226 (test-extras): Likewise.
13227 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13228 $(compile-command.c).
13229 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13230 (all-built-dso): Define.
13231 (check-textrel.out, check-execstack.out): Depend on it.
13232
77e8bddf
AS
13233 * configure.in: Don't override --enable-multi-arch.
13234
bc425b33
UD
132352011-01-15 Ulrich Drepper <drepper@gmail.com>
13236
13237 [BZ #6812]
13238 * nscd/hstcache.c (tryagain): Define.
13239 (cache_addhst): Return tryagain not notfound for temporary errors.
13240 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13241 failed.
13242
794c3ad3
UD
132432011-01-14 Ulrich Drepper <drepper@gmail.com>
13244
70181fdd
UD
13245 [BZ #10563]
13246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13247 to make the syscall.
13248 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13249
794c3ad3
UD
13250 [BZ #12378]
13251 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13252 and fall back to matching as normal character if the string ends before
13253 the matching ']' is found. This is what POSIX requires.
13254 * posix/testfnm.c: Adjust test result.
13255 * posix/globtest.sh: Adjust test result. Add new test.
13256 * posix/tst-fnmatch.input: Likewise.
13257 * posix/tst-fnmatch2.c: Add new test.
13258
68dc9497
AS
132592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13260
13261 * elf/Makefile (check-execstack): Revert last change. Depend on
13262 check-execstack.h.
13263 (check-execstack.h): New target.
13264 (generated): Add check-execstack.h.
13265 * elf/check-execstack.c: Include "check-execstack.h".
13266 (main): Revert last change.
13267 (handle_file): Return zero if GNU_STACK is absent and
13268 DEFAULT_STACK_PERMS doesn't include PF_X.
13269
451f001b
UD
132702011-01-13 Ulrich Drepper <drepper@gmail.com>
13271
cfa28e56
UD
13272 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13273 in child fails because the descriptor is already closed.
8cf8ce17
UD
13274 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13275 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13276 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13277
1086d70d
UD
13278 [BZ #12397]
13279 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13280 syscall.
13281
451f001b
UD
13282 [BZ #10484]
13283 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13284 temporary buffer used to handle multi lookups locally.
a85b5cb4 13285 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13286
08769175
UD
132872011-01-12 Ulrich Drepper <drepper@gmail.com>
13288
13289 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13290 loader is ld.so.
13291
5e49c52e
UD
132922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13293
13294 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13295 alignment for SSE2.
13296
60522a5f
UD
132972011-01-12 Ulrich Drepper <drepper@gmail.com>
13298
13299 [BZ #12394]
13300 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13301 characters. When rounding increased number of integer digits recompute
13302 number of groups.
13303 * stdio-common/tst-grouping.c: New file.
13304 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13305
f257bbd7
UD
133062011-01-09 Ulrich Drepper <drepper@gmail.com>
13307
13308 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13309 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13310
13311 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13312 void.
13313 * bits/select.h: Likewise.
13314
fa9c15cb
UD
133152011-01-08 Ulrich Drepper <drepper@gmail.com>
13316
13317 * po/ja.po: Update from translation team.
13318
16c2895f
DM
133192011-01-04 David S. Miller <davem@sunset.davemloft.net>
13320
13321 [BZ #11155]
13322 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13323 implementation just like for lxstat, fxstatat, et al.
13324
2543fef2
JM
133252010-12-27 Jim Meyering <meyering@redhat.com>
13326
13327 [BZ #12348]
13328 * posix/regexec.c (build_trtable): Return failure indication upon
13329 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13330
98727dbe
UD
133312010-12-25 Ulrich Drepper <drepper@gmail.com>
13332
5bd6dc5c
UD
13333 [BZ #12201]
13334 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13335 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13336 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13337 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13338
97983464
UD
13339 [BZ #12207]
13340 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13341
98727dbe
UD
13342 [BZ #12204]
13343 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13344 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13345
4a531bb0
L
133462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13349 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13350 script has SORT_BY_INIT_PRIORITY.
13351 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13352 NO_CTORS_DTORS_SECTIONS is defined.
13353 * elf/soinit.c: Likewise.
13354 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13355 NO_CTORS_DTORS_SECTIONS is defined.
13356 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13357 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13358 * sysdeps/sh/init-first.c: Likewise.
13359 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13360
07eb4b71
UD
133612010-12-24 Ulrich Drepper <drepper@gmail.com>
13362
13363 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13364 always use the slow path.
13365
30950a5f
RA
133662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13367
13368 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13369 similar rule which adds the sysdep directories to the header search in
13370 order to pick up the correct platform stackinfo.h.
13371 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13372 perform test if it is, otherwise return successfully without testing.
13373 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13374 DEFAULT_STACK_PERMS define in stackinfo.h.
13375 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13376 defined in stackinfo.h.
13377 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13378 DEFAULT_STACK_PERMS defined in stackinfo.h.
13379 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13380 * sysdeps/ia64/stackinfo.h: Likewise.
13381 * sysdeps/s390/stackinfo.h: Likewise.
13382 * sysdeps/sh/stackinfo.h: Likewise.
13383 * sysdeps/sparc/stackinfo.h: Likewise.
13384 * sysdeps/x86_64/stackinfo.h: Likewise.
13385 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13386 PF_X for powerpc64. Retain PF_X for powerpc32.
13387
db753e2c
UD
133882010-12-19 Ulrich Drepper <drepper@gmail.com>
13389
14b697f7
UD
13390 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13391 accurately.
db753e2c
UD
13392 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13393 GETDENTS_64BIT_ALIGNED.
13394
28300719
UD
133952010-12-14 Ulrich Drepper <dreper@gmail.com>
13396
14b697f7 13397 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13398
4f197237
AS
133992010-12-10 Andreas Schwab <schwab@redhat.com>
13400
dbb0472f
AS
13401 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13402 _GNU_SOURCE.
13403
4f197237
AS
13404 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13405 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13406 Remove __restrict.
13407 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13408 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13409
fb88ac72
UD
134102010-12-09 Ulrich Drepper <drepper@gmail.com>
13411
13412 [BZ #11655]
13413 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13414 are initialized.
13415
42acbb92
JJ
134162010-12-09 Jakub Jelinek <jakub@redhat.com>
13417
13418 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13419
c038d98d
UD
134202010-12-03 Ulrich Drepper <drepper@gmail.com>
13421
13422 * po/it.po: Update from translation team.
13423
3a4a2499
L
134242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13427 unused codes.
13428
1e24cf6e
UD
134292010-11-30 Ulrich Drepper <drepper@gmail.com>
13430
13431 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13432
a7690819
AS
134332010-11-24 Andreas Schwab <schwab@redhat.com>
13434
13435 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13436 specially.
13437 (gaih_getanswer_slice): Likewise.
13438
3bf8d1b1
JJ
134392010-10-20 Jakub Jelinek <jakub@redhat.com>
13440
13441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13442
6db52fbb
PB
134432010-05-31 Petr Baudis <pasky@suse.cz>
13444
13445 [BZ #11149]
13446 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13447 silently even in the chroot mode.
13448
eaca7569
UD
134492010-11-22 Ulrich Drepper <drepper@gmail.com>
13450
13451 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13452 last patch a bit. Pretty printing
13453
3056dcdb
UD
134542010-05-31 Petr Baudis <pasky@suse.cz>
13455
13456 [BZ #10085]
13457 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13458 initialization of skip_initgroups_dyn.
13459
cf7c9078
UD
134602010-11-19 Ulrich Drepper <drepper@gmail.com>
13461
13462 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13463 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13464
a1fb5e3e
UD
134652010-11-16 Ulrich Drepper <drepper@gmail.com>
13466
13467 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13468
3540d66b
AS
134692010-11-11 Andreas Schwab <schwab@redhat.com>
13470
13471 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13472 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13473 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13474 ($(objpfx)tst-fnmatch-mem): New rule.
13475 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13476 * posix/tst-fnmatch.c (main): Call mtrace.
13477
13b69574
L
134782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13479
13480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13481 Support Intel processor model 6 and model 0x2c.
13482
da93d214
LM
134832010-11-10 Luis Machado <luisgpm@br.ibm.com>
13484
13485 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13486 signed comparison.
13487
8ca52c6e
L
134882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 [BZ #12205]
13491 * string/test-strncasecmp.c (check_result): New function.
13492 (do_one_test): Use it.
13493 (check1): New function.
13494 (test_main): Use it.
13495 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13496 Support strcasecmp and strncasecmp.
13497
69da074d
UD
134982010-11-08 Ulrich Drepper <drepper@gmail.com>
13499
13500 [BZ #12194]
13501 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13502 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13503
ff02d528
L
135042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13507 IFUNC support.
13508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13509 memset-x86-64.
13510 * sysdeps/x86_64/multiarch/bzero.S: New file.
13511 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13512 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13513 * sysdeps/x86_64/multiarch/memset.S: New file.
13514 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13516 Set bit_Prefer_SSE_for_memop for Intel processors.
13517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13518 Define.
13519 (index_Prefer_SSE_for_memop): Define.
13520 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13521
344d0b54
LM
135222010-11-04 Luis Machado <luisgpm@br.ibm.com>
13523
13524 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13525 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13526
c0dde15b
UD
135272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 [BZ #12191]
13530 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13531 (__x86_64_raw_data_cache_size_half): Likewise.
13532 (__x86_64_raw_shared_cache_size): Likewise.
13533 (__x86_64_raw_shared_cache_size_half): Likewise.
13534
13535 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13536 (__x86_64_raw_data_cache_size_half): Likewise.
13537 (__x86_64_raw_shared_cache_size): Likewise.
13538 (__x86_64_raw_shared_cache_size_half): Likewise.
13539 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13540 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13541 and __x86_64_raw_shared_cache_size_half. Round
13542 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13543 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13544 to multiple of 256 bytes.
13545
0e516e0e
MS
135462010-11-03 Ulrich Drepper <drepper@gmail.com>
13547
13548 [BZ #12167]
13549 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13550 of inacessible symlinks. Verify result of symlink before returning it.
13551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13552 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13553
0e012e87
ER
135542010-10-28 Erich Ritz <erichritz@gmail.com>
13555
13556 * math/math.h (isinf): Fix typo in comment.
13557
de0ff7bc
UD
135582010-11-01 Ulrich Drepper <drepper@gmail.com>
13559
13560 * po/da.po: Update from translation team.
13561
fa41c84d
UD
135622010-10-26 Ulrich Drepper <drepper@gmail.com>
13563
13564 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13565 is added to the list.
13566
f0967738
AK
135672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13568 Ulrich Drepper <drepper@gmail.com>
13569
13570 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13571 the global list here. Move code to...
13572 (_dl_add_to_namespace_list): ...here. New function.
13573 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13574 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13575 * elf/dl-load.c (lose): Don't remove the element from the list.
13576 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13577 (_dl_map_object): Likewise.
13578
135792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13580
13581 [BZ #12159]
13582 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13583 into all bytes of SSE register.
13584 Patch by Richard Li <richardpku@gmail.com>.
13585
f0967738 135862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13587
13588 [BZ #12140]
13589 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13590 perturbing.
13591
d0b9e94f
MB
135922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13593
13594 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13595 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13596 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13597 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13599 submachine.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13601
8e9f92e9
AS
136022010-10-22 Andreas Schwab <schwab@redhat.com>
13603
13604 * include/dlfcn.h (__RTLD_SECURE): Define.
13605 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13606 mode & __RTLD_SECURE instead.
13607 (open_path): Rename preloaded parameter to secure.
13608 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13609 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13610 * elf/dl-deps.c (openaux): Likewise.
13611 * elf/rtld.c (struct map_args): Remove is_preloaded.
13612 (map_doit): Don't use it.
13613 (dl_main): Likewise.
13614 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13615 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13616
bc96fbda
AS
136172010-09-09 Andreas Schwab <schwab@redhat.com>
13618
13619 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13620 (sysd-rules-targets): Remove duplicates.
13621 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13622 rtld-%.$o dependency.
13623
22cd1c9b
AS
136242010-10-18 Andreas Schwab <schwab@redhat.com>
13625
13626 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13627 _dl_map_object do it.
13628
18edac48
UD
136292010-10-19 Ulrich Drepper <drepper@gmail.com>
13630
13631 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13632 fast fma builtins, define the macros in the C99 standard.
13633 (FP_FAST_FMAF): Likewise.
13634 (FP_FAST_FMAL): Likewise.
13635 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13636
13637 * bits/mathdef.h: Update copyright year.
13638 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13639
d2050124
MM
136402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13641
13642 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13643 builtins, define the macros in the C99 standard.
13644 (FP_FAST_FMAF): Likewise.
13645 (FP_FAST_FMAL): Likewise.
13646 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13647 multiply/add.
13648 (FP_FAST_FMAF): Likewise.
13649
475facd1
JJ
136502010-10-15 Jakub Jelinek <jakub@redhat.com>
13651
13652 [BZ #3268]
13653 * math/libm-test.inc (fma_test): Some new testcases.
13654 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13655 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13656 y and infinite z. Do multiplication by C already in long double.
13657 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13659 y and infinite z. Do bitwise or of inexact bit into u.d.
13660 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13661 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13662 * sysdeps/i386/fpu/s_fma.S: Removed.
13663 * sysdeps/i386/fpu/s_fmal.S: Removed.
13664
7c08a05c
JJ
136652010-10-16 Jakub Jelinek <jakub@redhat.com>
13666
13667 [BZ #3268]
13668 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13670 computation is not scheduled after fetestexcept. Fix value
13671 of minimum denormal long double.
13672
f3f7372d
JJ
136732010-10-14 Jakub Jelinek <jakub@redhat.com>
13674
13675 [BZ #3268]
13676 * math/libm-test.inc (fma_test): Add some more tests.
13677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13678 correctly.
13679
14d43591
AS
136802010-10-15 Andreas Schwab <schwab@redhat.com>
13681
13682 * scripts/data/localplt-s390-linux-gnu.data: New file.
13683 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13684
5e908464
JJ
136852010-10-13 Jakub Jelinek <jakub@redhat.com>
13686
13687 [BZ #3268]
13688 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13689 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13690 instead of dbl-64.
13691 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13692 inlines.
13693 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13695 if one of x and y is very large and the other is subnormal.
13696 * sysdeps/s390/fpu/s_fmaf.c: New file.
13697 * sysdeps/s390/fpu/s_fma.c: New file.
13698 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13699 * sysdeps/powerpc/fpu/s_fma.S: New file.
13700 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13701 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13702 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13703
137042010-10-12 Jakub Jelinek <jakub@redhat.com>
13705
13706 [BZ #3268]
13707 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13708 fma tests.
13709 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13710 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13711 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13712 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13713 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13714 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13716
b833d51f
UD
137172010-10-12 Ulrich Drepper <drepper@redhat.com>
13718
13719 [BZ #12078]
13720 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13721 * posix/bug-regex31.input: Add test case.
13722
1751705d
UD
137232010-10-11 Ulrich Drepper <drepper@gmail.com>
13724
e9b9cbf5
UD
13725 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13726 * posix/bug-regex31.input: New file.
13727
13728 [BZ #12078]
13729 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13730 (parse_sub_exp): Fix last change, use postorder.
13731
ef06edbe
UD
13732 * posix/bug-regex31.c: New file.
13733 * posix/Makefile: Add rules to build and run bug-regex31.
13734
a129c80d
UD
13735 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13736
13737 [BZ #12078]
13738 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13739
b76b818e
UD
13740 [BZ #12108]
13741 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13742 to have entries in sys_siglist.
13743
1751705d
UD
13744 [BZ #12093]
13745 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13746 be NULL.
13747
9ff8d36f
JJ
137482010-10-07 Jakub Jelinek <jakub@redhat.com>
13749
13750 [BZ #3268]
13751 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13752 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13753 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13754 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13755 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13756 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13757 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13758 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13759 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13760 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13761 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13762 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13763 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13764 * math/ftestexcept.c (fetestexcept): Likewise.
13765 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13766 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13767 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13768 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13769 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13770 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13771 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13772
af325969
UD
137732010-10-11 Ulrich Drepper <drepper@gmail.com>
13774
c579b202 13775 [BZ #12107]
af325969
UD
13776 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13777 newline.
13778
67a67b95
UD
137792010-10-06 Ulrich Drepper <drepper@gmail.com>
13780
13781 * string/bug-strstr1.c: New file.
13782 * string/Makefile: Add rules to build and run bug-strstr1.
13783
5fb308bc
EB
137842010-10-05 Eric Blake <eblake@redhat.com>
13785
13786 [BZ #12092]
13787 * string/str-two-way.h (two_way_long_needle): Always clear memory
13788 when skipping input due to the shift table.
13789
45db99c7
UD
137902010-10-03 Ulrich Drepper <drepper@gmail.com>
13791
3b111893
UD
13792 [BZ #12005]
13793 * malloc/mcheck.c: Handle large requests.
13794
45db99c7
UD
13795 [BZ #12077]
13796 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13797 for strncmp and strncasecmp.
13798 * string/stratcliff.c: Add tests for strcmp and strncmp.
13799 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13800
cf7a1eb8
NI
138012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13802
13803 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13804 __set_fpscr.
13805
6484ba5e
AJ
138062010-09-30 Andreas Jaeger <aj@suse.de>
13807
13808 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13809 (CGROUP_SUPER_MAGIC): Define.
13810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13811 Handle btrfs and cgroup file systems.
13812 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13813 Likewise.
13814
91c42559
LM
138152010-09-27 Luis Machado <luisgpm@br.ibm.com>
13816
13817 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13818 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13819
87a97932
AK
138202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13821
13822 [BZ #12067]
13823 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13824 trying to locate the ELF header.
13825
c21cc9bc
AS
138262010-09-27 Andreas Schwab <schwab@redhat.com>
13827
13828 [BZ #11611]
13829 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13830 Mask out sign-bit copies when constructing f_fsid.
13831
315970f6
PB
138322010-09-24 Petr Baudis <pasky@suse.cz>
13833
13834 * debug/stack_chk_fail_local.c: Add missing licence exception.
13835 * debug/warning-nop.c: Likewise.
13836
1ac7a2c7
JM
138372010-09-15 Joseph Myers <joseph@codesourcery.com>
13838
13839 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13840 implementing getdents64 using getdents syscall, set d_type if
13841 __ASSUME_GETDENTS32_D_TYPE.
13842
56801c50
AS
138432010-09-16 Andreas Schwab <schwab@redhat.com>
13844
13845 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13846 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13847
dda51327
UD
138482010-09-21 Ulrich Drepper <drepper@redhat.com>
13849
13850 [BZ #12037]
13851 * posix/unistd.h: Undo change of feature selection for ftruncate from
13852 2010-01-11.
13853
8ffcee4a
UD
138542010-09-20 Ulrich Drepper <drepper@redhat.com>
13855
a545ecd9 13856 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13857 detection.
13858
e24f0a8b
AS
138592010-09-20 Andreas Schwab <schwab@redhat.com>
13860
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13862 fanotify_mark.
13863 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13864
7291c56f
AS
138652010-09-14 Andreas Schwab <schwab@redhat.com>
13866
13867 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13868 variables after CHECK_SP call.
13869 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13870
bc5fb037
AS
138712010-09-13 Andreas Schwab <schwab@redhat.com>
13872 Ulrich Drepper <drepper@redhat.com>
13873
13874 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13875 re-relocationg ld.so.
13876 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13877 _dl_init_paths call.
13878 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13879 here anymore.
13880
e66e7419
UD
138812010-09-14 Ulrich Drepper <drepper@redhat.com>
13882
13883 * resolv/res_init.c (__res_vinit): Count the default server we added.
13884
c044aa75
CLT
138852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13886 Ulrich Drepper <drepper@redhat.com>
13887
13888 [BZ #11968]
13889 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13890 (____longjmp_chk): Use %ebx for saving value across system call.
13891 Add unwind info.
13892
32cf4069
AS
138932010-09-06 Andreas Schwab <schwab@redhat.com>
13894
13895 * manual/Makefile: Don't mix pattern rules with normal rules.
13896
817328ee
AS
138972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13898
13899 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13900 operation.
13901 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13902 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13903 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13904 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13906 Likewise.
13907
29fddf61
UD
139082010-09-04 Ulrich Drepper <drepper@redhat.com>
13909
13910 [BZ #11979]
13911 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13912 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13913
0959ffc9
UD
139142010-09-02 Ulrich Drepper <drepper@redhat.com>
13915
13916 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13917 * sysdeps/x86_64/addmul_1.S: Likewise.
13918 * sysdeps/x86_64/lshift.S: Likewise.
13919 * sysdeps/x86_64/mul_1.S: Likewise.
13920 * sysdeps/x86_64/rshift.S: Likewise.
13921 * sysdeps/x86_64/sub_n.S: Likewise.
13922 * sysdeps/x86_64/submul_1.S: Likewise.
13923
ece29840
ST
139242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13925
0959ffc9
UD
13926 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13927 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13928 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13929 * bits/sched.h [__need_schedparam]
ece29840 13930 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13931 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13932 (__defined_schedparam): Define to 1.
ece29840
ST
13933 (__sched_param): New structure, identical to sched_param.
13934 (__need_schedparam): Undefine.
13935
e53a31fe
MF
139362010-08-31 Mike Frysinger <vapier@gentoo.org>
13937
fdc0c10d
MF
13938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13939 (epoll_create1): Declare.
13940
e53a31fe
MF
13941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13942
a726d796
AS
139432010-08-31 Andreas Schwab <schwab@redhat.com>
13944
13945 [BZ #7066]
13946 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13947 shifting retval into place.
13948
2f3e3dc7
UD
139492010-09-01 Ulrich Drepper <drepper@redhat.com>
13950
f2933da9
UD
13951 * nis/rpcsvc/nis.h: Update copyright notice.
13952 * nis/rpcsvc/nis.x: Likewise.
13953 * nis/rpcsvc/nis_callback.h: Likewise.
13954 * nis/rpcsvc/nis_callback.x: Likewise.
13955 * nis/rpcsvc/nis_object.x: Likewise.
13956 * nis/rpcsvc/nis_tags.h: Likewise.
13957 * nis/rpcsvc/yp.h: Likewise.
13958 * nis/rpcsvc/yp.x: Likewise.
13959 * nis/rpcsvc/ypupd.h: Likewise.
13960 * nis/yp_xdr.c: Likewise.
13961 * nis/ypupdate_xdr.c: Likewise.
13962
2f3e3dc7
UD
13963 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13964 mainly the body of pmap_getport. Add parameters to specify timeouts.
13965 (pmap_getport): Use __libc_rpc_getport.
13966 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13967 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13968 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13969
f3dcc2f9
AS
139702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13971
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13973 fanotify_mark.
13974
6d34eb5b
RM
139752010-08-27 Roland McGrath <roland@redhat.com>
13976
13977 * sysdeps/i386/i686/multiarch/Makefile
13978 (CFLAGS-varshift.c): New variable.
13979
9ea3de11
UD
139802010-08-27 Ulrich Drepper <drepper@redhat.com>
13981
c96d23fc
UD
13982 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13983 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13984
9ea3de11
UD
13985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13986
13987 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13988
623aac7f
L
139892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 * sysdeps/x86_64/strlen.S: Unroll the loop.
13992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13993 strlen-sse2 strlen-sse2-bsf.
13994 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13995 __strlen_no_bsf if bit_Slow_BSF is set.
13996 (__strlen_sse42): Removed.
13997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13998 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13999
8b2b7715
RM
140002010-08-25 Roland McGrath <roland@redhat.com>
14001
14002 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14003 * sysdeps/x86_64/multiarch/varshift.c: New file.
14004 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14005 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14006 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14007 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14008
e73015f2
L
140092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14010
14011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14012 strlen-sse2 strlen-sse2-bsf.
14013 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14014 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14015 (__strlen_sse2): Removed.
14016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14017 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14019 bit_Slow_BSF for Atom.
14020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14021 (index_Slow_BSF): Define.
14022 (HAS_SLOW_BSF): Define.
14023
df24a73e
UD
140242010-08-25 Ulrich Drepper <drepper@redhat.com>
14025
14026 [BZ #10851]
14027 * resolv/res_init.c (__res_vinit): When no server address at all
14028 is given default to loopback.
14029
f2ac4868
RM
140302010-08-24 Roland McGrath <roland@redhat.com>
14031
09055553
RM
14032 * configure.in: Remove config-name.h generation.
14033 * configure: Regenerated.
14034 * config-name.in: File removed.
14035 * scripts/config-uname.sh: New file.
14036 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14037 ($(objdir)config-name.h): New target.
14038
f2ac4868
RM
14039 * sunrpc/rpc_parse.h: Avoid nested comment.
14040
73f27d5e
RH
140412010-08-24 Richard Henderson <rth@redhat.com>
14042 Ulrich Drepper <drepper@redhat.com>
14043 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14047 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14048 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14049 _mm_alignr_epi8 with _mm_loadu_si128.
14050 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14051 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14052 (__m128i_shift_right): Removed.
14053 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14054 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14055 * sysdeps/x86_64/multiarch/varshift.h: New file.
14056 * sysdeps/x86_64/multiarch/varshift.S: New file.
14057
84b9230c
MF
140582010-08-21 Mike Frysinger <vapier@gentoo.org>
14059
14060 * configure.in: Move assembler checks to before sysdep dir checking.
14061
9bbd0ddc
PB
140622010-08-20 Petr Baudis <pasky@suse.cz>
14063
14064 * LICENSES: Sync the sunrpc license.
14065
9da4bb31
UD
140662010-08-19 Ulrich Drepper <drepper@redhat.com>
14067
a7ab6ec8
UD
14068 * sunrpc/auth_des.c: Update copyright notice once again.
14069 * sunrpc/auth_none.c: Likewise.
14070 * sunrpc/auth_unix.c: Likewise.
14071 * sunrpc/authdes_prot.c: Likewise.
14072 * sunrpc/authuxprot.c: Likewise.
14073 * sunrpc/bindrsvprt.c: Likewise.
14074 * sunrpc/clnt_gen.c: Likewise.
14075 * sunrpc/clnt_perr.c: Likewise.
14076 * sunrpc/clnt_raw.c: Likewise.
14077 * sunrpc/clnt_simp.c: Likewise.
14078 * sunrpc/clnt_tcp.c: Likewise.
14079 * sunrpc/clnt_udp.c: Likewise.
14080 * sunrpc/clnt_unix.c: Likewise.
14081 * sunrpc/des_crypt.c: Likewise.
14082 * sunrpc/des_soft.c: Likewise.
14083 * sunrpc/get_myaddr.c: Likewise.
14084 * sunrpc/getrpcport.c: Likewise.
14085 * sunrpc/key_call.c: Likewise.
14086 * sunrpc/key_prot.c: Likewise.
14087 * sunrpc/openchild.c: Likewise.
14088 * sunrpc/pm_getmaps.c: Likewise.
14089 * sunrpc/pm_getport.c: Likewise.
14090 * sunrpc/pmap_clnt.c: Likewise.
14091 * sunrpc/pmap_prot.c: Likewise.
14092 * sunrpc/pmap_prot2.c: Likewise.
14093 * sunrpc/pmap_rmt.c: Likewise.
14094 * sunrpc/rpc/auth.h: Likewise.
14095 * sunrpc/rpc/auth_unix.h: Likewise.
14096 * sunrpc/rpc/clnt.h: Likewise.
14097 * sunrpc/rpc/des_crypt.h: Likewise.
14098 * sunrpc/rpc/key_prot.h: Likewise.
14099 * sunrpc/rpc/netdb.h: Likewise.
14100 * sunrpc/rpc/pmap_clnt.h: Likewise.
14101 * sunrpc/rpc/pmap_prot.h: Likewise.
14102 * sunrpc/rpc/pmap_rmt.h: Likewise.
14103 * sunrpc/rpc/rpc.h: Likewise.
14104 * sunrpc/rpc/rpc_des.h: Likewise.
14105 * sunrpc/rpc/rpc_msg.h: Likewise.
14106 * sunrpc/rpc/svc.h: Likewise.
14107 * sunrpc/rpc/svc_auth.h: Likewise.
14108 * sunrpc/rpc/types.h: Likewise.
14109 * sunrpc/rpc/xdr.h: Likewise.
14110 * sunrpc/rpc_clntout.c: Likewise.
14111 * sunrpc/rpc_cmsg.c: Likewise.
14112 * sunrpc/rpc_common.c: Likewise.
14113 * sunrpc/rpc_cout.c: Likewise.
14114 * sunrpc/rpc_dtable.c: Likewise.
14115 * sunrpc/rpc_hout.c: Likewise.
14116 * sunrpc/rpc_main.c: Likewise.
14117 * sunrpc/rpc_parse.c: Likewise.
14118 * sunrpc/rpc_parse.h: Likewise.
14119 * sunrpc/rpc_prot.c: Likewise.
14120 * sunrpc/rpc_sample.c: Likewise.
14121 * sunrpc/rpc_scan.c: Likewise.
14122 * sunrpc/rpc_scan.h: Likewise.
14123 * sunrpc/rpc_svcout.c: Likewise.
14124 * sunrpc/rpc_tblout.c: Likewise.
14125 * sunrpc/rpc_util.c: Likewise.
14126 * sunrpc/rpc_util.h: Likewise.
14127 * sunrpc/rpcinfo.c: Likewise.
14128 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14129 * sunrpc/rpcsvc/key_prot.x: Likewise.
14130 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14131 * sunrpc/rpcsvc/mount.x: Likewise.
14132 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14133 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14134 * sunrpc/rpcsvc/rex.x: Likewise.
14135 * sunrpc/rpcsvc/rstat.x: Likewise.
14136 * sunrpc/rpcsvc/rusers.x: Likewise.
14137 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14138 * sunrpc/rpcsvc/spray.x: Likewise.
14139 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14140 * sunrpc/rtime.c: Likewise.
14141 * sunrpc/svc.c: Likewise.
14142 * sunrpc/svc_auth.c: Likewise.
14143 * sunrpc/svc_authux.c: Likewise.
14144 * sunrpc/svc_raw.c: Likewise.
14145 * sunrpc/svc_run.c: Likewise.
14146 * sunrpc/svc_simple.c: Likewise.
14147 * sunrpc/svc_tcp.c: Likewise.
14148 * sunrpc/svc_udp.c: Likewise.
14149 * sunrpc/svc_unix.c: Likewise.
14150 * sunrpc/svcauth_des.c: Likewise.
14151 * sunrpc/xcrypt.c: Likewise.
14152 * sunrpc/xdr.c: Likewise.
14153 * sunrpc/xdr_array.c: Likewise.
14154 * sunrpc/xdr_float.c: Likewise.
14155 * sunrpc/xdr_mem.c: Likewise.
14156 * sunrpc/xdr_rec.c: Likewise.
14157 * sunrpc/xdr_ref.c: Likewise.
14158 * sunrpc/xdr_sizeof.c: Likewise.
14159 * sunrpc/xdr_stdio.c: Likewise.
14160
9da4bb31
UD
14161 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14162 handling.
14163
bdaa77bc
AS
141642010-08-19 Andreas Schwab <schwab@redhat.com>
14165
14166 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14167
fe2f79db
LM
141682010-08-19 Luis Machado <luisgpm@br.ibm.com>
14169
14170 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14171 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14172 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14173 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14175 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14176 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14177 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14179 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14180 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14181 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14182 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14183 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14184
b9b42ee0
AB
141852010-07-26 Anton Blanchard <anton@samba.org>
14186
14187 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14188 * malloc/arena.c (heap_trim): Likewise.
14189
1c06ba31
UD
141902010-08-16 Ulrich Drepper <drepper@redhat.com>
14191
14192 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14193 here. Not...
14194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14195 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14196
f8392f40
L
141972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 * sysdeps/i386/elf/Makefile: New file.
14200
3162f12e
AS
142012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14202
14203 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14204 from fanotify_init.
14205 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14207
28c90b2c
UD
142082010-08-15 Ulrich Drepper <drepper@redhat.com>
14209
14210 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14211 of strncasecmp_l.
1feccb6c 14212 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14213
ca6bb004
UD
142142010-08-14 Ulrich Drepper <drepper@redhat.com>
14215
e9f82e0d
UD
14216 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14217 strncase_l-nonascii.
14218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14219 Add strncase_l-ssse3.
14220 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14221 * sysdeps/x86_64/strcmp.S: Likewise.
14222 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14223 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14224 * sysdeps/x86_64/strncase.S: New file.
14225 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14226 * sysdeps/x86_64/strncase_l.S: New file.
14227 * string/Makefile (strop-tests): Add strncasecmp.
14228 * string/test-strncasecmp.c: New file.
14229
14230 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14231 warning.
14232
ca6bb004
UD
14233 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14234 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14235
052fa7b3
AS
142362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14237
14238 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14239
962dba78
UD
142402010-08-12 Ulrich Drepper <drepper@redhat.com>
14241
14242 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14243 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14244 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14245
bebff237
AM
142462010-05-01 Alan Modra <amodra@gmail.com>
14247
14248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14249 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14250 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14251 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14252 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14253 tidying. Don't tail-call __sigjmp_save for static lib.
14254 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14255 save location.
14256 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14257 (CALL_MCOUNT): Add eh info, and nop after bl.
14258 (TAIL_CALL_SYSCALL_ERROR): New macro.
14259 (PSEUDO_RET): Use it.
14260 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14261 Correct save location of integer regs and cr.
14262 (_dl_profile_resolve): Correct cr save location. Delete nops
14263 after bl when SHARED. Reduce cfi size a little by better
14264 placement of cfi directives.
14265 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14266 make a stack frame. Instead use parm save area as a temp.
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14268 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14270 Don't make a stack frame for parent, use parm save area.
14271 Increase child stack frame to 112 bytes. Don't save unused reg,
14272 and adjust reg usage. Set up cfi on error recovery and
14273 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14275 (__makecontext): Add dummy nop after jump to exit.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14277 Use correct parm save area and cr save, reduce stack frame.
14278 Correct cfi for possible PSEUDO_RET frame setup.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14280 Branch to local label emitted by PSEUDO_RET rather than
14281 __syscall_error.
14282
02637374
AS
142832010-08-12 Andreas Schwab <schwab@redhat.com>
14284
14285 [BZ #11904]
14286 * locale/programs/locale.c (print_assignment): New function.
14287 (show_locale_vars): Use it.
14288
c3e2f19b
UD
142892010-08-11 Ulrich Drepper <drepper@redhat.com>
14290
3cdaa6ad
UD
14291 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14292 field.
14293 (struct statfs64): Likewise.
14294 (_STATFS_F_FLAGS): Define.
14295 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14296 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14297 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14298 (ST_VALID): Define locally.
14299 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14300 __statvfs_getflags, use the provided value.
14301 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14302 __ASSUME_STATFS_F_FLAGS.
14303
754f7da3
UD
14304 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14305
10b3bedc
UD
14306 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14307 Add sys/fanotify.h.
14308 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14309 fanotify_mask for GLIBC_2.13.
14310 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14311 fanotify_init and fanotify_mark.
14312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14313 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14314
c08fb0d7
UD
14315 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14316 Add prlimit.
14317 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14318 prlimit64 for GLIBC_2.13.
14319 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14320 prlimit64.
14321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14322 syscall.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14325 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14326 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14328 add prlimit alias.
14329 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14330
15bac72b
UD
14331 [BZ #11903]
14332 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14333 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14334
c3e2f19b
UD
14335 * nss/Makefile: Add rules to build and run tst-nss-test1.
14336 * shlib-versions: Add entry for libnss_test1.
14337 * nss/nss_test1.c: New file.
14338 * nss/tst-nss-test1.c: New file.
14339
14340 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14341 (__nss_configure_lookup): Set appropriate entry in
14342 __nss_configure_lookup to true.
14343 * nss/nsswitch.h: Define enum with indeces of databases in
14344 databases and __nss_database_custom arrays. Declare
14345 __nss_database_custom.
14346 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14347 to avoid using nscd when custom rules are installed.
14348 * nss/getXXbyYY_r.c: Likewise.
14349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14350
14351 * nss/nss_files/files-parse.c: Whitespace fixes.
14352
f15ce4d8
UD
143532010-08-09 Ulrich Drepper <drepper@redhat.com>
14354
14355 [BZ #11883]
14356 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14357 * posix/fnmatch_loop.c: Likewise.
14358
d22e4cc9
AK
143592010-07-17 Andi Kleen <ak@linux.intel.com>
14360
14361 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14362 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14363 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14364 * Versions.def [GLIBC_2.13]: Add.
14365
805bc17d
UD
143662010-08-06 Ulrich Drepper <drepper@redhat.com>
14367
14368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14369 Also fail if tpwd after pwuid call is NULL.
14370
5a42321d
ST
143712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14372
14373 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14374 when converting to ms.
14375
fd3ebeda
ST
143762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14377
14378 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14379 EOPNOTSUPP errors with ENOTTY.
14380 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14381 EOPNOTSUPP errors with ENOTTY.
14382
73507d3a
UD
143832010-07-31 Ulrich Drepper <drepper@redhat.com>
14384
14385 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14386 Add strcasecmp_l-ssse3.
14387 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14388 strcasecmp.
14389 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14390 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14391 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14392
fe36dd02
UD
143932010-07-30 Ulrich Drepper <drepper@redhat.com>
14394
66f6765a
UD
14395 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14396
42e08a54
UD
14397 * string/Makefile (strop-tests): Add strcasecmp.
14398 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14399 strcasecmp_l-nonascii.
14400 (gen-as-const-headers): Add locale-defines.sym.
14401 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14402 * sysdeps/x86_64/strcasecmp.S: New file.
14403 * sysdeps/x86_64/strcasecmp_l.S: New file.
14404 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14405 * sysdeps/x86_64/locale-defines.sym: New file.
14406 * string/test-strcasecmp.c: New file.
14407
fe36dd02
UD
14408 * string/test-strcasestr.c: Test both ends of the range of characters.
14409 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14410
48cbc0d6
RM
144112010-07-29 Roland McGrath <roland@redhat.com>
14412
76e6d6bc 14413 [BZ #11856]
48cbc0d6
RM
14414 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14415
880113d9
UD
144162010-07-27 Ulrich Drepper <drepper@redhat.com>
14417
14418 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14419 for ld.so.
14420
deb9cabb
AS
144212010-07-27 Andreas Schwab <schwab@redhat.com>
14422
14423 * manual/memory.texi (Malloc Tunable Parameters): Document
14424 M_PERTURB.
14425
1c7570ff
RM
144262010-07-26 Roland McGrath <roland@redhat.com>
14427
14428 [BZ #11840]
14429 * configure.in (-fgnu89-inline check): Set and substitute
14430 gnu89_inline, not libc_cv_gnu89_inline.
14431 * configure: Regenerated.
14432 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14433
24fb0f88
UD
144342010-07-26 Ulrich Drepper <drepper@redhat.com>
14435
14436 * string/test-strnlen.c: New file.
14437 * string/Makefile (strop-tests): Add strnlen.
14438 * string/tester.c (test_strnlen): Add a few more test cases.
14439 * string/tst-strlen.c: Better error reporting.
14440
14441 * sysdeps/x86_64/strnlen.S: New file.
14442
8e96b93a
UD
144432010-07-24 Ulrich Drepper <drepper@redhat.com>
14444
14445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14446 lower-latency instructions.
14447
dbc676d4
UD
144482010-07-23 Ulrich Drepper <drepper@redhat.com>
14449
14450 * string/test-strcasestr.c: New file.
14451 * string/test-strstr.c: New file.
14452 * string/Makefile (strop-tests): Add strstr and strcasestr.
14453 * string/str-two-way.h: Don't undefine MAX.
14454 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14455
f6a31e0e
AS
144562010-07-21 Andreas Schwab <schwab@redhat.com>
14457
14458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14459 strcasestr-nonascii.
14460 (CFLAGS-strcasestr-nonascii.c): Define.
14461 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14463 Remove unused attribute.
14464
5dbc3b6c
RM
144652010-07-20 Roland McGrath <roland@redhat.com>
14466
14467 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14468 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14469 ld.so.cache was broken. With it, there is no way to disable dsocaps
14470 like LD_HWCAP_MASK can disable hwcaps.
14471
23d101d8
EPM
144722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14473
14474 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14475
cc9f2e47
UD
144762010-07-16 Ulrich Drepper <drepper@redhat.com>
14477
14478 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14479 call in strcasestr.
14480 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14481 __strcasestr_sse42_nonascii.
14482 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14483 strcasestr-nonascii.c.
14484 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14485
77c1b069
LM
144862010-06-15 Luis Machado <luisgpm@br.ibm.com>
14487
14488 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14489 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14490 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14491 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14492
440566c3
UD
144932010-07-09 Ulrich Drepper <drepper@redhat.com>
14494
14495 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14496 fcntl.
14497
5be9d05d
AS
144982010-07-06 Andreas Schwab <schwab@redhat.com>
14499
c30b7ee2 14500 [BZ #11577]
5be9d05d
AS
14501 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14502 dl_signal_cerror.
14503
8a492a67
UD
145042010-07-06 Ulrich Drepper <drepper@redhat.com>
14505
14506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14507 _PC_PIPE_BUF using F_GETPIPE_SZ.
14508
713df3d5
RM
145092010-07-05 Roland McGrath <roland@redhat.com>
14510
14511 * manual/arith.texi (Rounding Functions): Fix rint description
14512 implicit in round description.
14513
702e8f14
UD
145142010-07-02 Ulrich Drepper <drepper@redhat.com>
14515
14516 * elf/Makefile: Fix linking for a few tests to make recent linker
14517 happy.
14518
52ed8be9
AS
145192010-06-30 Andreas Schwab <schwab@redhat.com>
14520
14521 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14522 $(common-objpfx)libc_nonshared.a.
14523
f47c9a11
LM
145242010-06-21 Luis Machado <luisgpm@br.ibm.com>
14525
14526 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14527 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14528 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14529 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14530 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14531 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14532 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14533 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14548 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14549 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14550 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14551 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14552 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14553 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14554 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14555 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14556 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14557 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14558 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14559 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14574
6fb8cbcb
L
145752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14578 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14579 * string/memmove.c (memmove): Renamed to ...
14580 (MEMMOVE): ...this. Default to memmove.
14581 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14582 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14583 (END_CHK): Define.
14584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14585 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14586 mempcpy-ssse3-back memmove-ssse3-back.
14587 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14588 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14589 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14590 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14591 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14592 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14593 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14594 * sysdeps/x86_64/multiarch/memmove.c: New file.
14595 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14596 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14597 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14598 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14599 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14600 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14601 Define.
14602 (index_Fast_Copy_Backward): Define.
14603 (HAS_ARCH_FEATURE): Define.
14604 (HAS_FAST_REP_STRING): Define.
14605 (HAS_FAST_COPY_BACKWARD): Define.
14606
4e733bac 146072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14608
14609 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14610 Restore proper fallback handling.
14611
63c4ed22
UD
146122010-06-19 Ulrich Drepper <drepper@redhat.com>
14613
ac2b484c
UD
14614 [BZ #11701]
14615 * posix/group_member.c (__group_member): Correct checking loop.
14616
63c4ed22
UD
14617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14618 OOM in getpwuid_r correctly. Return error number when the caller
14619 should return, otherwise -1.
14620 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14621 call returning > 0 value.
14622 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14623
765ade4b
AS
146242010-06-07 Andreas Schwab <schwab@redhat.com>
14625
14626 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14627 libc_nonshared.a from targets in modules-names.
14628
80da2e09
KS
146292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14630
14631 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14632 requires it.
14633
158db122
LM
146342010-06-10 Luis Machado <luisgpm@br.ibm.com>
14635
14636 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14637 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14638 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14640
caa78cf8
AS
146412010-06-02 Andreas Schwab <schwab@redhat.com>
14642
14643 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14644
b2ef2c01
UD
146452010-06-14 Ulrich Drepper <drepper@redhat.com>
14646
14647 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14648 and F_GETPIPE_SZ.
14649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14653 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14655
fbd643b6
RM
146562010-06-14 Roland McGrath <roland@redhat.com>
14657
14658 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14659
f32f2869
JJ
146602010-06-07 Jakub Jelinek <jakub@redhat.com>
14661
14662 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14663 __REDIRECT followed by __THROW.
14664 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14665 * posix/getopt.h (getopt): Likewise.
14666
2a50c078
EPM
146672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14668
14669 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14670 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14671 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14672 in AT_FLAGS.
14673 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14674 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14675
eb5ad2eb
LM
146762010-05-28 Luis Machado <luisgpm@br.ibm.com>
14677
14678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14679
3c88fe1e
L
146802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 [BZ #11640]
14683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14684 Properly check family and model.
14685
d2f73151
TY
146862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14687
14688 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14689
ebd2e13d
LM
146902010-05-24 Luis Machado <luisgpm@br.ibm.com>
14691
14692 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14693
b32b8b45
UD
146942010-05-21 Ulrich Drepper <drepper@redhat.com>
14695
14696 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14697 symbol reference.
14698
9acbe24d
AS
146992010-05-19 Andreas Schwab <schwab@redhat.com>
14700
14701 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14702 symbol reference.
14703
f0ccf6ea
AS
147042010-05-21 Andreas Schwab <schwab@redhat.com>
14705
3d04ff3a
AS
14706 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14707 and internal_recvmmsg.
14708 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14709 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14710 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14711 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14712
f0ccf6ea
AS
14713 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14714 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14715 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14716
5b08ac57
AS
147172010-05-20 Andreas Schwab <schwab@redhat.com>
14718
14719 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14720
4828935d
LM
147212010-05-17 Luis Machado <luisgpm@br.ibm.com>
14722
14723 POWER7 optimizations.
14724 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14725 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14726
373d545e
UD
147272010-05-19 Ulrich Drepper <drepper@redhat.com>
14728
14729 * version.h: Update for 2.13 development version.
14730
21a2b1ae
AS
147312010-05-12 Andrew Stubbs <ams@codesourcery.com>
14732
14733 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14734 exceptions. Return 0.
14735
3f7dcb2b
RM
147362010-05-07 Roland McGrath <roland@redhat.com>
14737
14738 * elf/ldconfig.c (main): Add a const.
14739
5f24d53a 147402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14741
a160f8d8
UD
14742 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14743 (args_options): Add no-idn option.
14744 (ahosts_keys_int): Add idn_flags to ai_flags.
14745 (parse_option): Handle 'i' option to clear idn_flags.
14746
5f24d53a
UD
14747 * malloc/malloc.c (_int_free): Possible race in the most recently
14748 added check. Only act on the data if no current modification
14749 happened.
265bb1ce
UD
14750
14751See ChangeLog.17 for earlier changes.