]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add sysdeps/x86_64/x32/_itoa.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3707636e
L
12012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2
610b8622
L
3 * sysdeps/x86_64/x32/_itoa.h: New file.
4
7cd195df
L
5 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6 getdents system call only if kernel and user dirents have the
7 same d_ino and d_off.
8
94b07d20
L
9 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10 LLONG_MAX != LONG_MAX.
11 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12 (_fitoa_word): Likewise.
13
18298070
L
14 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15 years.
16 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19
553c7ea4
L
20 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21 include <bits/wordsize.h>. Check __x86_64__ instead of
22 __WORDSIZE.
23 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24 if __x86_64__ is defined. Use anonymous union on fpstate.
25
3707636e
L
26 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27 anonymous union.
28
b53ef01a
AS
292012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30
37fb1dc0
AS
31 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34 Refer to _rtld_local_ro instead of _rtld_global_ro.
35 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36 Likewise.
37 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38 Likewise.
39 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40 Likewise.
41 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44
b53ef01a
AS
45 * sysdeps/powerpc/powerpc32/dl-machine.c
46 (__elf_machine_runtime_setup) [PROF]: Don't reference
47 _dl_prof_resolve.
48
7a185db2
AJ
492012-05-18 Andreas Jaeger <aj@suse.de>
50
51 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52 function only available for GCCs before 3.4 since GCC 3.4
53 introduced a builtin.
54 (lrint): Likewise.
55 (llrintf): Likewise.
56 (llrint): Likewise.
57 (fmaxf): Likewise.
58 (fmax): Likewise.
59 (fminf): Likewise.
60 (fmin): Likewise.
61 (rint): Likewise.
62 (rintf): Likewise.
63 (nearbyint): Likewise.
64 (nearbyintf): Likewise.
65 (ceil): Likewise.
66 (ceilf): Likewise.
67 (floor): Likewise.
68 (floorf): Likewise.
69
3e5aef87
L
702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71
428bd707
L
72 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73 on both fields and cast pointer to __syscall_ulong_t.
74
3e5aef87
L
75 * bits/types.h (__fsword_t): New type.
76 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79 (__FSWORD_T_TYPE): Likewise.
80 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81 (__FSWORD_T_TYPE): Likewise.
82 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83 (__FSWORD_T_TYPE): Likewise.
84 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
85 (__FSWORD_T_TYPE): Likewise.
86 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
87 __SWORD_TYPE with __fsword_t.
88 (statfs64): Likewise.
89
1ba7c3dc
DM
902012-05-17 David S. Miller <davem@davemloft.net>
91
92 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
93
59910343
AJ
942012-05-17 Andreas Jaeger <aj@suse.de>
95
96 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
97 warning.
98
2e4c1e9e
L
992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
100
101 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
102
de7f5ce7
AJ
1032012-05-17 Andreas Jaeger <aj@suse.de>
104
105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
106 when it is used.
107
286abc3d
CM
1082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
109
110 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
111
477cc68e
L
1122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
115 * sysdeps/x86_64/tst-mallocalign1.c: New file.
116
1a0994f5
CD
1172012-05-17 Andreas Jaeger <aj@suse.de>
118 Carlos O'Donell <carlos_odonell@mentor.com>
119
120 [BZ #14059]
121 * sysdeps/x86_64/multiarch/init-arch.h
122 (bit_YMM_Usable): Rename to...
123 (bit_AVX_Usable): ... this.
124 (bit_FMA4_Usable): New macro.
125 (bit_XMM_state): New macro.
126 (bit_YMM_state): New macro.
127 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
128 [__ASSEMBLER__] (index_AVX_Usable): ... this.
129 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
130 (CPUID_OSXSAVE): New macro.
131 (CPUID_AVX): New macro.
132 (CPUID_FMA4): New macro.
133 (index_YMM_Usable): Rename to...
134 (index_AVX_Usable): ... this.
135 (HAS_AVX): Use HAS_ARCH_FEATURE.
136 (HAS_FMA4): Likewise.
137 (HAS_YMM_USABLE): Remove.
138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
139 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
140 are present.
141 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
142 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
143 * sysdeps/x86_64/multiarch/Makefile: Likewise.
144 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
145 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
146
0af797de
CM
1472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
148
149 * math/libm-test.c: Support platforms without multiple rounding modes.
150 * math/bug-nextafter.c: Support platforms without FP exceptions.
151 * math/bug-nexttoward.c: Likewise.
152 * math/test-fenv.c: Likewise.
153 * math/test-misc.c: Likewise.
154 * stdlib/bug-getcontext.c: Likewise.
155
e39745ff
AJ
1562012-05-17 Andreas Jaeger <aj@suse.de>
157
158 * manual/examples/search.c (critter_cmp): Change signature to
159 avoid warnings.
160 * manual/string.texi (Collation Functions): Likewise.
161
48970aba
L
1622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
163
164 * bits/types.h: Fold copyright years.
165 * bits/typesizes.h: Likewise.
166 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
170 * time/time.h: Likewise.
171
bedee953
PP
1722012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
173
174 [BZ #208]
175 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
176 in instead of returning them. Return void.
177 (__libc_mallinfo): Accumulate over all arenas.
178 (__malloc_stats): Adjust for change in int_mallinfo interface.
179
61653dfb
RM
1802012-05-16 Roland McGrath <roland@hack.frob.com>
181
30b99d79
RM
182 [BZ #10375]
183 * configure.in (NM): Add AC_CHECK_TOOL for it.
184 (libc_extra_cflags): New substituted variable.
185 Check for -fstack-protector being used implicitly.
186 * configure: Regenerated.
187 * config.make.in (config-extra-cflags): New variable,
188 gets @libc_extra_cflags@.
189 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
190
61653dfb
RM
191 [BZ #10375]
192 * configure.in: Check for _FORTIFY_SOURCE being predefined.
193 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
194 * configure: Regenerated.
195 * config.make.in (CPPUNDEFS): New substituted variable.
196 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
197 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
198 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
199
661768bb
L
2002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
201
202 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
203 (mq_attr): Use __syscall_slong_t.
204
d4261567
L
2052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
206
207 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
208 Check __x86_64__ instead of __WORDSIZE.
209 (_STAT_VER_LINUX): Likewise.
210 (stat): Check __x86_64__ instead of __WORDSIZE. Use
211 __syscall_ulong_t and __syscall_slong_t.
212 (stat64): Likewise.
213
cf3ff365
L
2142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
215
216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
217
76cf3e4d
L
2182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
219
220 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
221
a637753a
L
2222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
223
224 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
225 __syscall_ulong_t.
226
d5e05119
L
227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
228 include <bits/wordsize.h>. Check __x86_64__ instead of
229 __WORDSIZE.
230 (greg_t): Use "__extension__ long long int" if __x86_64__ is
231 defined.
232 (mcontext_t): Replace "unsigned long" with "unsigned long long".
233
f62ee380
L
234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
235 include <bits/wordsize.h>. Check __x86_64__ instead of
236 __WORDSIZE.
237 (user_regs_struct): Use "__extension__ unsigned long long"
238 instead of "unsigned long" if __x86_64__ is defined.
239 (user): Likewise. Pad after pointer field if __ILP32__ is
240 defined.
241
4e124ced
JM
2422012-05-16 Joseph Myers <joseph@codesourcery.com>
243
6a3951a0
JM
244 * configure.in (makeinfo): Require version 4.5 or later. Allow
245 versions 5 to 9.
246 * configure: Regenerated.
247 * manual/install.texi (texinfo): Increase version requirement to
248 4.5 or later.
249 * INSTALL: Regenerated.
250
4e124ced
JM
251 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
252
953ca31a
L
2532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
254
255 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
256
617aca05
L
257 * sysdeps/x86_64/x32/ffs.c: New file.
258
5762f7ae
L
259 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
260 __syscall_ulong_t.
261 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
262 defined. Use __syscall_ulong_t.
263 (shminfo): Use __syscall_ulong_t.
264 (shm_info): Likewise.
265
a26b6856
L
266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
267 __syscall_ulong_t.
268
cb2b9ef7
L
269 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
270 <bits/wordsize.h>.
271 (msgqnum_t): Use __syscall_ulong_t.
272 (msglen_t): Likewise.
273 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
274 __syscall_ulong_t.
275
34683bb0
L
276 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
278
84a68786
L
279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
280
48baa5f1
L
281 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
282 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
283
180be88b
L
284 * sysvipc/sys/msg.h (msgbuf): Replace long int with
285 __syscall_slong_t.
286
5e90c8ad
L
287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
288 include <bits/wordsize.h>. Check __x86_64__ instead of
289 __WORDSIZE.
290
23dfb58b
L
291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
292 "unsigned long long int" if __x86_64__ is defined.
293 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
294
ce5d54b0
L
295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
297 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
298
13dc9eac
L
299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
300 <stdint.h>.
301 (GET_PC): Cast to uintptr_t first.
302 (GET_FRAME): Likewise.
303 (GET_STACK): Likewise.
304
a7895d15
L
305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
313 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
334
656416c9
AS
3352012-05-16 Andreas Schwab <schwab@linux-m68k.org>
336
5bd66283
AS
337 * Makerules (+depfiles): Also collect depfiles from .oS in
338 $(extra-objs).
339 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
340 .oS, $(libnldbl-routines)).
341
656416c9
AS
342 * Makerules (native-compile-mkdep-flags): Define.
343 * sunrpc/Makefile (extra-objs): Add $(addprefix
344 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
345 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
346 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
347 calling $(make-target-directory).
348
a46f2169
L
3492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
350
351 * bits/types.h (__snseconds_t): Removed.
352 * time/time.h (struct timespec): Replace __snseconds_t with
353 __syscall_slong_t.
354 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
355 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
356 Likewise.
357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
358 (__SNSECONDS_T_TYPE): Likewise.
359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
360 (__SNSECONDS_T_TYPE): Likewise.
361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
362 (__SNSECONDS_T_TYPE): Likewise.
363
6af6528b
L
3642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
365
366 * sysdeps/mach/hurd/bits/typesizes.h
367 (__SYSCALL_SLONG_TYPE): New macro.
368 (__SYSCALL_ULONG_TYPE): Likewise.
369
de986b56
L
3702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
371
372 * bits/types.h (__syscall_slong_t): New type.
373 (__syscall_ulong_t): Likewise.
374
375 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
376 (__SYSCALL_ULONG_TYPE): Likewise.
377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
378 (__SYSCALL_SLONG_TYPE): Likewise.
379 (__SYSCALL_ULONG_TYPE): Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
381 (__SYSCALL_SLONG_TYPE): Likewise.
382 (__SYSCALL_ULONG_TYPE): Likewise.
383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
384 (__SYSCALL_SLONG_TYPE): Likewise.
385 (__SYSCALL_ULONG_TYPE): Likewise.
386
85736dc7
L
3872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
388
389 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
390 Add sigaltstack-offsets.sym.
391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
392 <sigaltstack-offsets.h>.
393 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
394 longjmp_msg pointer.
395 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
396 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
397 signal stack.
398 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
399
cc03b296
JM
4002012-05-15 Joseph Myers <joseph@codesourcery.com>
401
a9538892
JM
402 * elf/stackguard-macros.h: Remove file.
403 * sysdeps/generic/stackguard-macros.h: New file.
404 * sysdeps/i386/stackguard-macros.h: Likewise.
405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
411 * sysdeps/x86_64/stackguard-macros.h: Likewise.
412 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
413 <elf/stackguard-macros.h>.
414
cc03b296
JM
415 [BZ #14109]
416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
417 __aligned__ in attribute.
418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
419 (gregset_t): Likewise.
420
93171016
L
4212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
424 * sysdeps/x86_64/64/Implies-after: Here. New file.
425 * sysdeps/x86_64/x32/Implies-after: New file.
426
d86813a0
L
4272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
430 and access return value for _dl_profile_fixup. Use R10_LP to
431 load frame size.
432
2953ec75
L
4332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
434
435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
436
3b550e9e
L
4372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
438
439 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
440 * sysdeps/x86_64/x32/sysdep.h: New file.
441
eda41706
L
4422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
445 * sysdeps/x86_64/setjmp.S: Likewise.
446
9ea01d93
AZ
4472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448
449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
451 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
453 remove unused global constant.
454
02a91938
CM
4552012-05-15 Chris Metcalf <cmetcalf@tilera.com>
456
457 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
458 include of <not-cancel.h>.
459
6540185f
RM
4602012-05-15 Roland McGrath <roland@hack.frob.com>
461
462 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
463
509072a0
AJ
4642012-05-15 Jeff Law <law@redhat.com>
465 Andreas Jaeger <aj@suse.de>
466
467 [BZ #13594]
468 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
469 out from...
470 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
471 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
473 code changing __hst_map_handle.map.
474
ba75122d
RM
4752012-05-15 Roland McGrath <roland@hack.frob.com>
476
477 * configure.in (sysnames): Look for Implies-before and Implies-after
478 files.
479 * configure: Regenerated.
480
890d8bd8
L
4812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
482
483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
484 8-byte data alignment with LP_SIZE alignment.
485
f6ee6623
L
4862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
487
488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
489 into R10_LP.
490
ea2626f6
L
4912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
492
493 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
494
085f715e
L
4952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
496
497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
500 Likewise.
501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
502
be8498fc
L
5032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
504
505 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
506 (stackinfo_sub_sp): Likewise.
507
70bc83b9
L
5082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
509
510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
511 RAX_LP.
512
9bc0b730
L
5132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
514
515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
516 into R*_LP.
517
6d2850e7
L
5182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
519
520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
521 sizes into R*_LP.
522
3cb84561
L
5232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
524
525 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
526
54e2ed81
L
5272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
528
529 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
530 into R11_LP and load __x86_64_shared_cache_size_half into
531 R8_LP.
532
8a17f349
L
5332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
534
535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
536 R8_LP.
537
777b1eea
AZ
5382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539
540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
541 logb for POWER7.
542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
543 logbf for POWER7.
544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
545 logbl for POWER7.
546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
547 powerpc32/power7/fpu/s_logb.c via #include.
548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
549 powerpc32/power7/fpu/s_logbf.c via #include.
550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
551 powerpc32/power7/fpu/s_logbl.c via #include.
552
d20d4ac2
JM
5532012-05-15 Joseph Myers <joseph@codesourcery.com>
554
555 * README.libm: Remove file.
556
6cdef1ab
L
5572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
558
559 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
560 count for x32. Use R*_LP and omit operand-size suffix.
561
0b254d8f
L
5622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
563
564 * shlib-versions: Move x86_64-.*-linux.* entries to ...
565 * sysdeps/x86_64/64/shlib-versions: Here. New file.
566 * sysdeps/x86_64/x32/shlib-versions: New file.
567
ceb809dc
RM
5682012-05-14 Roland McGrath <roland@hack.frob.com>
569
570 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
571 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
572 Use _dl_fatal_printf instead.
573
37f1abd4
JM
5742012-05-14 Joseph Myers <joseph@codesourcery.com>
575
576 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
577 set if not set by the user. Do not allow for being unset.
578 * sysdeps/unix/sysv/linux/configure: Regenerated.
579
11de3a33
L
5802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
581
582 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
583 the `q' suffix from lea and replace .quad with ASM_ADDR.
584
e02f153a
L
5852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
588 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
589 instead of $17.
590 (PTR_DEMANGLE): Likewise.
591
520ae0fd
L
5922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
593
594 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
595 (LP_OP): Likewise.
596 (ASM_ADDR): Likewise.
597 (RAX_LP): Likewise.
598 (RBP_LP): Likewise.
599 (RBX_LP): Likewise.
600 (RCX_LP): Likewise.
601 (RDI_LP): Likewise.
602 (RSI_LP): Likewise.
603 (RSP_LP): Likewise.
604 (R8_LP): Likewise.
605 (R9_LP): Likewise.
606 (R10_LP): Likewise.
607 (R10_LP): Likewise.
608 (R11_LP): Likewise.
609 (R12_LP): Likewise.
610 (R13_LP): Likewise.
611 (R14_LP): Likewise.
612 (R15_LP): Likewise.
613
b985be81
L
6142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
615
616 * sysdeps/x86_64/x32/dl-machine.h: New file.
617
6a4888ff
AJ
6182012-05-14 Andreas Jaeger <aj@suse.de>
619
620 * manual/Makefile (subdir): Remove export of subdir.
621 (all): Remove target.
622 (.PHONY): Remove all from list.
623 (mkinstalldirs): Remove.
624 (.PHONY): Remove installdirs from list.
625 ($(inst_infodir)/libc.info): Use make-target-directory.
626 (installdirs): Remove.
627 (subdir_%): Remove.
628 (glibc-targets): Remove.
629 (lib): Remove.
630 (stubs): Remove.
631 ($(objpfx)stubs ../po/manual.pot): Remove.
632 ($(objpfx)stamp%): Remove.
633 (make-target-directory): Remove.
634 (subdir_install): Remove.
635 (routines): Remove.
636 (aux): Remove.
637 (sources): Remove.
638 (objects): Remove.
639 (headers): Remove.
640
641 [BZ #13750]
642 * manual/.gitignore: Remove, it's not needed anymore.
643 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
644 all files in it.
645 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
646 directory.
647 (texis): Renamed to $(objpfx)texis.
648 (texis-path): New, contains path to generated files.
649 (chapters.%): Use texis-path for complete path, add extra argument
650 libc-texinfo.sh.
651 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
652 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
653 (summary,texi, stamp-summary): Use complete path of
654 files. Generate files in build dir.
655 (dir-add.texi): Build in build dir.
656 (libm-err.texi,stamp-libm-err): Likewise.
657 (version.texi, stamp-version): Likewise.
658 (.%c.texi): Likewise.
659 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
660 (mostlyclean): Remove target.
661 (realclean): Remove target.
662 (generated): Add new variable with contents from mostlyclean and
663 realclean, remove entries duplicated in common-mostlyclean, add
664 stamp-libm-err and stamp-version.
665 (generated-dirs): Add libc directory.
666 ($(inst_infodir)/libc.info): Install files from build dir.
667
668 * manual/install.texi (Configuring and compiling): Adjust since
669 the info files are not part of the tar ball anymore.
670
7ac77294
AJ
6712012-05-14 Andreas Jaeger <aj@suse.de>
672
673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
674 variable.
675
ffb7875d
JM
6762012-05-14 Joseph Myers <joseph@codesourcery.com>
677
678 [BZ #13717]
679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
680 to 2.2.0 where earlier.
681 * sysdeps/unix/sysv/linux/configure: Regenerated.
682 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
683 Remove conditional code.
684 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
685 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
686 Remove conditional code.
687 [!__NR_lchown]: Likewise.
688 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
689 [__NR_lchown]: Likewise.
690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
691 comment referencing __ASSUME_LCHOWN_SYSCALL.
692 * sysdeps/unix/sysv/linux/i386/sigaction.c
693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
696 Remove conditional code.
697 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
698 (__protocol_available): Remove #if 0 code.
699 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
700 conditional code.
701 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
702 * sysdeps/unix/sysv/linux/kernel-features.h
703 (__ASSUME_GETCWD_SYSCALL): Don't define.
704 (__ASSUME_REALTIME_SIGNALS): Likewise.
705 (__ASSUME_PREAD_SYSCALL): Likewise.
706 (__ASSUME_PWRITE_SYSCALL): Likewise.
707 (__ASSUME_POLL_SYSCALL): Likewise.
708 (__ASSUME_LCHOWN_SYSCALL): Likewise.
709 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
710 non-SPARC.
711 (__ASSUME_SIOCGIFNAME): Don't define.
712 (__ASSUME_MSG_NOSIGNAL): Likewise.
713 (__ASSUME_SENDFILE): Define unconditionally.
714 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
715 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
716 conditional code.
717 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
718 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
720 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
723 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
748 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
749 Remove conditional code.
750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
751 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
752 Remove conditional code.
753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
755 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
757 Remove conditional code.
758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
760 Remove conditional code.
761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
762 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
763 Remove conditional code.
764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
765 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
766 Remove conditional code.
767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
768 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
769 Remove conditional code.
770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
771 * sysdeps/unix/sysv/linux/sh/pwrite64.c
772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
774 * sysdeps/unix/sysv/linux/sigaction.c
775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
777 * sysdeps/unix/sysv/linux/sigpending.c
778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/sigprocmask.c
781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
783 * sysdeps/unix/sysv/linux/sigsuspend.c
784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
787 (__libc_missing_rt_sigs): Remove.
788 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
789 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
790 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
791 Remove conditional code.
792 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
793 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
794 return 1.
795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
796 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
799
1bfb7291
AJ
8002012-05-14 Andreas Jaeger <aj@suse.de>
801
caae5a81
AJ
802 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
803 it's not used in glibc.
804 (__coshm1): Likewise.
805 (__acosh1p): Likewise.
806 (__sgn): Likewise.
807
1bfb7291
AJ
808 * manual/string.texi (Copying and Concatenation): Add missing
809 variable in concat example.
810 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
811
c044d724
L
8122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
813
144c5467 814 [BZ #14103]
c044d724
L
815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
816 __builtin_clzl with __builtin_clzll.
817
2523c62b
L
8182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
819
820 [BZ #14104]
821 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
822 libc_freeres_ptr.
823
d7bb4c42
LD
8242012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
825
826 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
827 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
828 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
830
9dc4e1fb
MF
8312012-05-14 Mike Frysinger <vapier@gentoo.org>
832
833 * NEWS: Update ia64 info.
834
c7df0112
AS
8352012-05-12 Andreas Schwab <schwab@linux-m68k.org>
836
837 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
838 used as bcopy.
839
dc70356c
TS
8402012-05-12 Thomas Schwinge <thomas@codesourcery.com>
841
842 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
843 * sysdeps/unix/syscalls.list (dup3): Likewise.
844 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
845 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
846
9fb1a21f
L
8472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
848
849 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
850 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
851
4822a2a5
L
8522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
853
854 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
855 thread pointer.
856 (TLS_IE): Use mov/add instead of movq/addq to load thread
857 pointer.
858 (TLS_GD_PREFIX): New.
859 (TLS_GD): Use it.
860
842b81d6
DM
8612012-05-11 David S. Miller <davem@davemloft.net>
862
863 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
864 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
865 (_FPU_SETCW): Likewise.
866
1cf463cd
L
8672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
868
869 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
870 is 32-byte aligned.
871
60cc4a18
AS
8722012-05-11 Andreas Schwab <schwab@linux-m68k.org>
873
874 [BZ #11837]
875 * iconvdata/gb18030.c: Update tables.
876 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
877 characters specially.
878 (BODY for TO_LOOP): Add encoding of missing ranges.
879
febb44a4
TS
8802012-05-11 Thomas Schwinge <thomas@codesourcery.com>
881
882 [BZ #13673]
883 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
884 * sysdeps/mach/hurd/dup3.c: Likewise.
885 * sysdeps/mach/hurd/readlinkat.c: Likewise.
886 * sysdeps/powerpc/memmove.c:: Likewise.
887
0a10fb9e
L
8882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
889
890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
891 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
892
df8a552f
L
8932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
894
895 * elf/elf.h (R_X86_64_RELATIVE64): New.
896 (R_X86_64_NUM): Updated.
897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
898 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
899 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
900 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
901 tst-quad1pie tst-quad2pie
902 (modules-names): Add tst-quadmod1 tst-quadmod2.
903 ($(objpfx)tst-quad1): New dependency.
904 ($(objpfx)tst-quad2): Likewise.
905 ($(objpfx)tst-quad1pie): Likewise.
906 ($(objpfx)tst-quad2pie): Likewise.
907 * sysdeps/x86_64/tst-quad1.c: New file.
908 * sysdeps/x86_64/tst-quad1pie.c: New file.
909 * sysdeps/x86_64/tst-quad2.c: Likewise.
910 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
911 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
912 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
913 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
914 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
915
f34d6f84
ST
9162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
917
f42d41d1
ST
918 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
919 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
920 * streams/stropts.h (t_scalar_t): Define type.
921
3c3571fc
ST
922 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
923 (_PATH_PRESERVE): Set to "/var/lib".
924 (_PATH_RWHODIR): Set to "/var/spool/rwho".
925
61f06bd3
ST
926 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
927 instead of int.
928
918d4d71
ST
929 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
930 if __dir_mkfile succeeded.
931
f34d6f84
ST
932 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
933 checking for _hurd_dtablesize. Unlock it right after having
934 finished _hurd_dtable allocation.
935
10589b4a
TS
9362012-05-10 Thomas Schwinge <thomas@schwinge.name>
937
674cdbc7
TS
938 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
939 * sysdeps/mach/hurd/configure: Regenerated.
940 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
941 special-casing to...
942 * sysdeps/gnu/configure.in: ... this new file.
943 * sysdeps/unix/sysv/linux/configure: Regenerated.
944 * sysdeps/gnu/configure: New generated file.
945
8e41b99f
TS
946 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
947 for Linux: use nsec instead of usec, as well as:
948 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
949 members of type struct timespec.
950 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
951 New macros.
952 (struct stat64): Likewise.
953 (_STATBUF_ST_NSEC): New macro.
954 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
955
10589b4a
TS
956 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
957 __strtoul_internal rather than strtoul.
958
63643c85
PT
9592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
960
961 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
962 and reject them.
963
3faebe6a
ST
9642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
965
966 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
967 which preserves existing values.
968 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
969
c6474b07
PT
9702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
971
972 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
973 TIMEOUT values. Return EINVAL for NFDS values either negative or
974 greater than FD_SETSIZE.
975
1043890b
ST
9762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
977
978 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
979 allocated, call __vm_protect to finish enabling the existing space, and
980 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
981 allocate the remainder.
982
37ed8b9b
PT
9832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
984
985 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
986 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
987
db653660
ST
9882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
989
37ed8b9b
PT
990 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
991 sysdeps/mach/hurd/readlink.c.
b29d4053 992
db653660
ST
993 * posix/tst-sysconf.c (posix_options): Only use
994 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
995 _POSIX_SYNCHRONIZED_IO when they are defined
996 * sysdeps/mach/hurd/bits/posix_opt.h:
997 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
998 (_XOPEN_REALTIME): Undefine macro.
999 (_XOPEN_REALTIME_THREADS): Undefine macro.
1000 (_XOPEN_SHM): Undefine macro.
1001 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1002 macro to -1.
1003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1004 macro to -1.
1005 (_POSIX_ASYNC_IO): Undefine macro.
1006 (_POSIX_PRIORITIZED_IO): Undefine macro.
1007 (_POSIX_SPIN_LOCKS): Define macro to -1.
1008
ee16e894
ST
1009 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1010 SA_NODEFER, SA_RESETHAND.
1011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1012 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1013 F_DUPFD_CLOEXEC.
1014
6103ae3b
TS
10152012-05-10 Thomas Schwinge <thomas@schwinge.name>
1016
1017 * elf/Makefile (pldd-modules): Define unconditionally.
1018
80b4e5f3
TS
10192012-05-10 Thomas Schwinge <thomas@schwinge.name>
1020
1021 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1022
edadcbd6
ST
10232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1024
1025 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1026 Return ENOENT when name is empty.
1027 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1028
80694780
TS
10292012-05-10 Thomas Schwinge <thomas@schwinge.name>
1030
1792c087
TS
1031 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1032
80694780
TS
1033 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1034
6b645f0d
ST
10352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1036
80694780
TS
1037 Fix mlock in all cases except non-readable pages.
1038 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1039 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1040
6b645f0d
ST
1041 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1042 (__mkdir): When path is `/', just fail with EEXIST.
1043 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1044
e468f8a3
TS
10452012-05-10 Thomas Schwinge <thomas@schwinge.name>
1046
1047 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1048 <sys/uio.h> (for writev).
1049 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1050 and <sys/param.h> (for MIN).
1051
a4186cff
PT
10522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1053
1054 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1055 REQUESTED_TIME. Properly set the remaining time and return EINTR
1056 if interrupted.
1057
510bbf14
TS
10582012-05-10 Thomas Schwinge <thomas@schwinge.name>
1059
1060 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1061 Depend on against $(link-rpcuserlibs).
1062
5d5722e8
ST
10632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1064
a4186cff
PT
1065 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1066 (__libc_stack_end): Do not use attribute_relro.
1067 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1068 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1069 to libthread-provided value.
a4186cff
PT
1070 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1071 attribute_relro.
5d5722e8 1072
37233df9
TS
10732012-05-10 Thomas Schwinge <thomas@schwinge.name>
1074
be971a2b
TS
1075 [BZ #3748]
1076 * bits/libc-lock.h (__libc_once_get): New macro.
1077 * sysdeps/mach/bits/libc-lock.h: Likewise.
1078 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1080 instead of using implementation details.
1081
37233df9
TS
1082 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1083 * libio/freopen.c: Likewise.
1084 * libio/freopen64.c: Likewise.
1085 * misc/syslog.c: Likewise.
1086 * nscd/connections.c: Likewise.
1087 * nscd/netgroupcache.c: Likewise.
1088 * sysdeps/posix/getcwd.c: Likewise.
1089
38de94a5
RM
10902012-05-10 Roland McGrath <roland@hack.frob.com>
1091
1092 * math/w_ilogbf.c: Add #include <limits.h>.
1093
67530489
ST
10942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1095
a4186cff 1096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1097 path instead of returning without unlocking.
1098
67530489
ST
1099 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1100 immediate-write ioctls.
1101 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1102
5aa3a74a
TS
11032012-05-10 Thomas Schwinge <thomas@schwinge.name>
1104
18bad2ae
TS
1105 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1106 __builtin_frame_address instead of making assumptions about the
1107 location of the return address relative to DATA. Force early load of
1108 the return address.
1109 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1110 __builtin_frame_address.
1111
5aa3a74a
TS
1112 dup3 for GNU Hurd.
1113 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1114 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1115 implement dup3 and do some further code clean-ups.
1116 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1117 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1118
ecd0de9a
ST
11192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1120
cd9fa985
ST
1121 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1122
a4186cff
PT
1123 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1124 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1125 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1126 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1127 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1128 d->port.lock.
802ca5a5 1129
a4186cff
PT
1130 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1131 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1132 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1133
bcf55240
TS
11342012-05-10 Thomas Schwinge <thomas@schwinge.name>
1135
6960eb42
TS
1136 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1137 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1138 definitions.
1139
eb43375f
TS
1140 accept4 for GNU Hurd.
1141 * include/sys/socket.h (__libc_accept4): New prototype.
1142 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1143 to implement __libc_accept4.
1144 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1145 __libc_accept4.
1146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1147
bcf55240
TS
1148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1149 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1150 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1151 signal-defines.sym.
1152
6178c55b
ST
11532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1154
a4186cff 1155 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1156
6f080c2f
TS
11572012-05-10 Thomas Schwinge <thomas@schwinge.name>
1158
1159 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1160 assertion on O_CLOEXEC flag.
1161 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1162 * hurd/intern-fd.c: Likewise.
1163 * hurd/port2fd.c: Likewise.
1164
bcfe3a54
ST
11652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1166
1167 [BZ #3906]
1168 * bits/in.h (IPV6_PKTINFO): Define new macro.
1169 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1170
89c9aa49
AZ
11712012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 [BZ #13954]
1174 [BZ #13955]
1175 [BZ #13956]
1176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1178 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1179 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1182 * math/libm-test.inc (logb_test) : Additional logb tests.
1183
021db4be
AJ
11842012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1185 Andreas Jaeger <aj@suse.de>
1186
1187 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1188 * configure: Regenerated.
1189 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1190 * config.make.in (link-obsolete-rpc): New substituted variable.
1191 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1192 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1193 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1194 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1195 so that libc.a contains the symbols.
1196 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1197 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1198 * sunrpc/auth_none.c: Likewise.
1199 * sunrpc/auth_unix.c: Likewise.
1200 * sunrpc/authdes_prot.c: Likewise.
1201 * sunrpc/authuxprot.c: Likewise.
1202 * sunrpc/clnt_gen.c: Likewise.
1203 * sunrpc/clnt_perr.c: Likewise.
1204 * sunrpc/clnt_raw.c: Likewise.
1205 * sunrpc/clnt_simp.c: Likewise.
1206 * sunrpc/clnt_tcp.c: Likewise.
1207 * sunrpc/clnt_udp.c: Likewise.
1208 * sunrpc/clnt_unix.c: Likewise.
1209 * sunrpc/des_crypt.c: Likewise.
1210 * sunrpc/des_soft.c: Likewise.
1211 * sunrpc/get_myaddr.c: Likewise.
1212 * sunrpc/key_call.c: Likewise.
1213 * sunrpc/key_prot.c: Likewise.
1214 * sunrpc/netname.c: Likewise.
1215 * sunrpc/pm_getmaps.c: Likewise.
1216 * sunrpc/pm_getport.c: Likewise.
1217 * sunrpc/pmap_clnt.c: Likewise.
1218 * sunrpc/pmap_prot.c: Likewise.
1219 * sunrpc/pmap_prot2.c: Likewise.
1220 * sunrpc/pmap_rmt.c: Likewise.
1221 * sunrpc/publickey.c: Likewise.
1222 * sunrpc/rpc_cmsg.c: Likewise.
1223 * sunrpc/rpc_common.c: Likewise.
1224 * sunrpc/rpc_dtable.c: Likewise.
1225 * sunrpc/rpc_prot.c: Likewise.
1226 * sunrpc/rpc_thread.c: Likewise.
1227 * sunrpc/rtime.c: Likewise.
1228 * sunrpc/svc.c: Likewise.
1229 * sunrpc/svc_auth.c: Likewise.
1230 * sunrpc/svc_raw.c: Likewise.
1231 * sunrpc/svc_run.c: Likewise.
1232 * sunrpc/svc_tcp.c: Likewise.
1233 * sunrpc/svc_udp.c: Likewise.
1234 * sunrpc/svc_unix.c: Likewise.
1235 * sunrpc/svcauth_des.c: Likewise.
1236 * sunrpc/xcrypt.c: Likewise.
1237 * sunrpc/xdr.c: Likewise.
1238 * sunrpc/xdr_array.c: Likewise.
1239 * sunrpc/xdr_float.c: Likewise.
1240 * sunrpc/xdr_intXX_t.c: Likewise.
1241 * sunrpc/xdr_mem.c: Likewise.
1242 * sunrpc/xdr_rec.c: Likewise.
1243 * sunrpc/xdr_ref.c: Likewise.
1244 * sunrpc/xdr_sizeof.c: Likewise.
1245 * sunrpc/xdr_stdio.c: Likewise.
1246
b5c086a2
RM
12472012-05-10 Roland McGrath <roland@hack.frob.com>
1248
1249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1250 change. Update copyright years.
1251
6d74dd09
JM
12522012-05-10 Joseph Myers <joseph@codesourcery.com>
1253
1254 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1255
28e72501
MK
12562012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1257 Joseph Myers <joseph@codesourcery.com>
1258 Paul Pluzhnikov <ppluzhnikov@google.com>
1259
1260 [BZ #14012]
1261 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1262 requiring rpcgen.
1263 [cross-compiling] (extra-libs): Likewise.
1264 [cross-compiling] (extra-libs-others): Likewise.
1265 [cross-compiling] (librpcsvc-routines): Likewise.
1266 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1267 [cross-compiling] (omit-deps): Likewise.
1268 (sunrpc-CPPFLAGS): New variable.
1269 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1270 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1271 (cross-rpcgen-objs): New variable.
1272 (extra-objs): Append $(cross-rpcgen-objs).
1273 ($(cross-rpcgen-objs)): New rule.
1274 ($(objpfx)cross-rpcgen): Likewise.
1275 (rpcgen-cmd): Define to use $(built-program-file). Expand
1276 comment.
1277 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1278 ($(objpfx)x%.stmp): Likewise.
1279 * sunrpc/proto.h [IS_IN_build] (_): Define.
1280 [IS_IN_build] (_libc_intl_domainname): Likewise.
1281
c8c59454
L
12822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1285 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1286 and R_X86_64_TPOFF64.
1287
6f27cd16
JM
12882012-05-10 Joseph Myers <joseph@codesourcery.com>
1289
1290 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1291 sysdeps/unix/sysv/syscalls.list.
1292 (stime): Likewise.
1293 (utime): Likewise.
1294 * sysdeps/unix/sysv/syscalls.list: Remove file.
1295
02467e1c
PE
12962012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1297
1298 [BZ #3440]
1299 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1300 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1301 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1302 (__LC_IDENTIFICATION): Make these macros useful in #if
1303 expressions, as required by C99.
1304
da392631
AS
13052012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1306
1307 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1308 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1309 after this.
1310
8115f29b
L
13112012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 * stdlib/longlong.h: Updated from GCC.
1314
bdd74070
AJ
13152012-05-09 Andreas Jaeger <aj@suse.de>
1316
edfe0dbe
AJ
1317 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1318 default is first entry.
1319 (run_mode): Set type.
1320 (main): Remove informal message about syslog.
1321 (options): Fix typo.
1322
bcfe3a54
ST
1323 [BZ #14053]
1324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1325 to asm.
bcfe3a54
ST
1326 (lrint): Likewise.
1327 (llrintf): Likewise.
1328 (llrint): Likewise.
1329 (rint): Likewise.
1330 (rintf): Likewise.
1331 (nearbyint): Likewise.
1332 (nearbyintf): Likewise.
bdd74070 1333
91d8d69e
AJ
13342012-05-09 Andreas Jaeger <aj@suse.de>
1335 Pedro Alves <palves@redhat.com>
1336
1337 * nscd/nscd.c (run_mode): Use enum.
1338 (main): Cleanup coding style issue.
1339
bb90b80b
AJ
13402012-05-09 Alexandre Oliva <aoliva@redhat.com>
1341 Andreas Jaeger <aj@suse.de>
1342
bcfe3a54
ST
1343 * nscd/nscd.c (go_background): Replaced with...
1344 (run_mode): ... this.
bb90b80b 1345 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1346 (options): Add -F --foreground.
1347 (main): Implement it.
1348 (parse_opt): Parse it.
bb90b80b 1349
1a4b75a1
AJ
13502012-05-09 Andreas Jaeger <aj@suse.de>
1351
1352 [BZ #14083]
1353 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1354 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1355 -Wconversion warning.
1356 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1357 Likewise.
1358
b1cc2472
JM
13592012-05-09 Joseph Myers <joseph@codesourcery.com>
1360
1361 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1362 == 0.
1363 (LC_ALL): Use macro-int-constant.
1364 (LC_COLLATE): Likewise.
1365 (LC_CTYPE): Likewise.
1366 (LC_MESSAGES): Likewise.
1367 (LC_MONETARY): Likewise.
1368 (LC_NUMERIC): Likewise.
1369 (LC_TIME): Likewise.
1370 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1371 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1373 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1374 Specify type.
1375 [C99-based standards] (float_t): Expect type.
1376 [C99-based standards] (double_t): Expect type.
1377 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1378 type.
1379 [C99-based standards] (HUGE_VALL): Likewise.
1380 [C99-based standards] (INFINITY): Likewise.
1381 [C99-based standards] (NAN): Likewise.
1382 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1383 [C99-based standards] (FP_NAN): Likewise.
1384 [C99-based standards] (FP_NORMAL): Likewise.
1385 [C99-based standards] (FP_SUBNORMAL): Likewise.
1386 [C99-based standards] (FP_ZERO): Likewise.
1387 [C99-based standards] (FP_FAST_FMA): Use
1388 optional-macro-int-constant. Specify type. Require == 1.
1389 [C99-based standards] (FP_FAST_FMAF): Likewise.
1390 [C99-based standards] (FP_FAST_FMAL): Likewise.
1391 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1392 [C99-based standards] (FP_ILOGBNAN): Likewise.
1393 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1394 Specify type.
1395 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1396 [C99-based standards] (math_errhandling): Specify type.
1397 [ISO99 || ISO11] (signgam): Do not allow.
1398 [non-C99-based standards] (copysignf): Do not allow.
1399 [non-C99-based standards] (exp2f): Likewise.
1400 [non-C99-based standards] (log2f): Likewise.
1401 [non-C99-based standards] (modff): Allow.
1402 [non-C99-based standards] (erff): Do not allow.
1403 [non-C99-based standards] (erfcf): Likewise.
1404 [non-C99-based standards] (gammaf): Likewise.
1405 [non-C99-based standards] (hypotf): Likewise.
1406 [non-C99-based standards] (j0f): Likewise.
1407 [non-C99-based standards] (j1f): Likewise.
1408 [non-C99-based standards] (jnf): Likewise.
1409 [non-C99-based standards] (lgammaf): Likewise.
1410 [non-C99-based standards] (tgammaf): Likewise.
1411 [non-C99-based standards] (y0f): Likewise.
1412 [non-C99-based standards] (y1f): Likewise.
1413 [non-C99-based standards] (ynf): Likewise.
1414 [non-C99-based standards] (isnanf): Likewise.
1415 [non-C99-based standards] (acoshf): Likewise.
1416 [non-C99-based standards] (asinhf): Likewise.
1417 [non-C99-based standards] (atanhf): Likewise.
1418 [non-C99-based standards] (cbrtf): Likewise.
1419 [non-C99-based standards] (expm1f): Likewise.
1420 [non-C99-based standards] (ilogbf): Likewise.
1421 [non-C99-based standards] (log1pf): Likewise.
1422 [non-C99-based standards] (logbf): Likewise.
1423 [non-C99-based standards] (nextafterf): Likewise.
1424 [non-C99-based standards] (remainderf): Likewise.
1425 [non-C99-based standards] (rintf): Likewise.
1426 [non-C99-based standards] (scalbf): Likewise.
1427 [non-C99-based standards] (copysignl): Likewise.
1428 [non-C99-based standards] (exp2l): Likewise.
1429 [non-C99-based standards] (log2l): Likewise.
1430 [non-C99-based standards] (modfl): Allow.
1431 [non-C99-based standards] (erfl): Do not allow.
1432 [non-C99-based standards] (erfcl): Likewise.
1433 [non-C99-based standards] (gammal): Likewise.
1434 [non-C99-based standards] (hypotl): Likewise.
1435 [non-C99-based standards] (j0l): Likewise.
1436 [non-C99-based standards] (j1l): Likewise.
1437 [non-C99-based standards] (jnl): Likewise.
1438 [non-C99-based standards] (lgammal): Likewise.
1439 [non-C99-based standards] (tgammal): Likewise.
1440 [non-C99-based standards] (y0l): Likewise.
1441 [non-C99-based standards] (y1l): Likewise.
1442 [non-C99-based standards] (ynl): Likewise.
1443 [non-C99-based standards] (isnanl): Likewise.
1444 [non-C99-based standards] (acoshl): Likewise.
1445 [non-C99-based standards] (asinhl): Likewise.
1446 [non-C99-based standards] (atanhl): Likewise.
1447 [non-C99-based standards] (cbrtl): Likewise.
1448 [non-C99-based standards] (expm1l): Likewise.
1449 [non-C99-based standards] (ilogbl): Likewise.
1450 [non-C99-based standards] (log1pl): Likewise.
1451 [non-C99-based standards] (logbl): Likewise.
1452 [non-C99-based standards] (nextafterl): Likewise.
1453 [non-C99-based standards] (remainderl): Likewise.
1454 [non-C99-based standards] (rintl): Likewise.
1455 [non-C99-based standards] (scalbl): Likewise.
1456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1457 [non-C99-based standards] (FP_*): Do not allow.
1458 [C99-based standards] (FP_*): Change to
1459 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1460 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1461 allow.
1462 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1463 (SIG_ERR): Likewise.
1464 [X/Open-based standards] (SIG_HOLD): Likewise.
1465 (SIG_IGN): Likewise.
1466 (SIGABRT): Use macro-int-constant. Specify type. Require
1467 positive value.
1468 (SIGFPE): Likewise.
1469 (SIGILL): Likewise.
1470 (SIGINT): Likewise.
1471 (SIGSEGV): Likewise.
1472 (SIGTER): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1491 [X/Open-based standards] (SIGTRAP): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1496 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1497 allow.
1498
b9f1922d
IW
14992012-05-08 Ian Wienand <ianw@vmware.com>
1500
1501 [BZ #14080]
1502 * time/tzset.c (__tzset_parse_tz): Update default rules for
1503 daylight time changes in the Energy Policy Act of 2005.
1504
1db86e88
AJ
15052012-05-09 Andreas Jaeger <aj@suse.de>
1506
1507 [BZ #13983]
1508 * elf/ldconfig.c (parse_conf): Change string to make clear that
1509 ldconfig only issued a warning if ld.so.conf does not exist.
1510
dee4a4e3
DM
15112012-05-08 David S. Miller <davem@davemloft.net>
1512
ee0db190
DM
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1514 movxtod instead of popping the value on the stack.
1515
dee4a4e3
DM
1516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1517
6a43ec98
CD
15182012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1519
1520 * config.h.in: Add HAVE_ARM_PCS_VFP.
1521
05c2c961
RMG
15222012-05-08 Roland Mc Grath <roland@hack.frob.com>
1523
bcfe3a54
ST
1524 [BZ #13979]
1525 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1526 checking but the checks are disabled for any reason.
05c2c961 1527
4b30f61a
L
15282012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1529
1530 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1531 and ELF64_R_TYPE with ELFW(R_TYPE).
1532
eee2bc67
JM
15332012-05-08 Joseph Myers <joseph@codesourcery.com>
1534
7ea5391a
JM
1535 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1536 (ulimit): Likewise.
1537
eee2bc67
JM
1538 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1539 (settimeofday): Likewise.
1540
abb66a67
MF
15412012-05-08 Mike Frysinger <vapier@gentoo.org>
1542
1543 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1544 a struct th_u2 inside the union, and move tu_block/tu_code into
1545 a new th_u3 union of tu_block/tu_code inside of that. Move
1546 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1547 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1548 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1549 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1550 (th_stuff): Change to th_u1.tu_stuff.
1551 (th_data): Define.
1552 (th_msg): Change to th_u1.th_u2.tu_data.
1553
7f18b530
DM
15542012-05-07 David S. Miller <davem@davemloft.net>
1555
05760585
DM
1556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1557
7f18b530
DM
1558 [BZ #14074]
1559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1560 (SETUP_PIC_REG): Use it.
1561 (SETUP_PIC_REG_LEAF): Use it.
1562
495fd99f
JM
15632012-05-07 Joseph Myers <joseph@codesourcery.com>
1564
1565 [BZ #13885]
1566 [BZ #13923]
1567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1568 USE_AS_EXPM1L.
1569 (EXPL_FINITE): Likewise.
1570 (FLDLOG): Likewise.
1571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1572 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1573 e_expl.S.
1574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1575 USE_AS_EXPM1L.
1576 (EXPL_FINITE): Likewise.
1577 (FLDLOG): Likewise.
1578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1579 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1580 e_expl.S.
1581 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1582 test of -max_value argument for long double.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1585
6693d694
DM
15862012-05-06 David S. Miller <davem@davemloft.net>
1587
1588 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1589 quad soft-float symbols whose references which are compiler
1590 generated.
1591 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1592
6c23e11c
JM
15932012-05-06 Joseph Myers <joseph@codesourcery.com>
1594
d8b82cad
JM
1595 [BZ #13884]
1596 [BZ #13914]
1597 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1598 USE_AS_EXP10L.
1599 (EXPL_FINITE): Likewise.
1600 (FLDLOG): Likewise.
1601 (c0): Likewise.
1602 (c1): Likewise.
1603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1604 Adjust comments for base varying.
1605 (__expl_finite): Change alias to EXPL_FINITE.
1606 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1607 e_expl.S.
1608 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1609 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1611 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1613 USE_AS_EXP10L.
1614 (EXPL_FINITE): Likewise.
1615 (FLDLOG): Likewise.
1616 (c0): Likewise.
1617 (c1): Likewise.
1618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1619 Adjust comments for base varying.
1620 (__expl_finite): Change alias to EXPL_FINITE.
1621 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1622 tests for bugs.
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1624
6c23e11c
JM
1625 [BZ #14064]
1626 * math/libm-test.inc (check_float_internal): Correct ulp
1627 calculation for subnormal expected results.
1628
29ba805c
AJ
16292012-05-06 Andreas Jaeger <aj@suse.de>
1630
1631 * Makeconfig (+math-flags): New, set to -frounding-math.
1632 (+cflags): Add +math-flags so that all of glibc gets compiled with
1633 it.
1634
1635 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1636
7b17aeda
JM
16372012-05-05 Joseph Myers <joseph@codesourcery.com>
1638
5779f134
JM
1639 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1640 Disable one test.
1641
41498f4d
JM
1642 [BZ #13787]
1643 [BZ #13922]
1644 [BZ #14036]
1645 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1646 (__ieee754_expl): Allow for and saturate large arguments.
1647 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1648 (u_threshold): Likewise.
1649 (__exp): Call __ieee754_exp before checking for overflow and
1650 underflow.
1651 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1652 (u_threshold): Likewise.
1653 (__expf): Call __ieee754_expf before checking for overflow and
1654 underflow.
1655 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1656 (u_threshold): Likewise.
1657 (__expl): Call __ieee754_expl before checking for overflow and
1658 underflow.
1659 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1660 (__ieee754_expl): Allow for and saturate large arguments.
1661 * math/libm-test.inc (exp_test): Add another test. Do not allow
1662 missing overflow exception on overflow.
1663 (expm1_test): Do not allow missing overflow exception on overflow.
1664
6698b8bf
JM
1665 * sysdeps/i386/fpu/e_expl.c: Move to ...
1666 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1667 rather than using inline asm.
1668 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1669 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1670 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1671
7b17aeda
JM
1672 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1673 (nice): Likewise.
1674 (poll): Likewise.
1675 (signal): Likewise.
1676 (time): Likewise.
1677 (times): Likewise.
1678
f7c85819
JM
16792012-05-04 Joseph Myers <joseph@codesourcery.com>
1680
1681 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1682 sysdeps/unix/common/syscalls.list.
1683 (fchmod): Likewise.
1684 (fchown): Likewise.
1685 (ftruncate): Likewise.
1686 (getrusage): Likewise.
1687 (gettimeofday): Likewise.
1688 (setpgid): Likewise.
1689 (setregid): Likewise.
1690 (setreuid): Likewise.
1691 (sigaction): Likewise.
1692 (truncate): Likewise.
1693 (vhangup): Likewise.
1694 * sysdeps/unix/common/syscalls.list: Remove file.
1695 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1696 * sysdeps/unix/sysv/linux/Implies: Likewise.
1697
336270d0
L
16982012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1703 Moved to ...
1704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1705 Here.
1706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1707 to ...
1708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1710 to ...
1711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1713 to ...
1714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1716 to ...
1717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1718 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1719 to ...
1720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1722 to ...
1723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1725 to ...
1726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1727 Here.
1728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1729 to ...
1730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1731 Here.
1732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1733 to ...
1734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1735 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1736 Moved to ...
1737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1738 Here.
1739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1740 to ...
1741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1742
d128e450
JM
17432012-05-04 Joseph Myers <joseph@codesourcery.com>
1744
fa8ee516
JM
1745 * sysdeps/unix/common/bits/dirent.h: Remove file.
1746 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1747
d128e450
JM
1748 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1749 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1750 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1751 * sysdeps/unix/bsd/isatty.c: Likewise.
1752 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1753 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1754 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1755
ff8faaf0 17562012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1757
62881be4 1758 [BZ #13563]
31dc8730
AZ
1759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1760 long double comparison inaccuracies.
1761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1763
6fef930c
AS
17642012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1765
1766 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1768
8f203e6c
JM
17692012-05-04 Joseph Myers <joseph@codesourcery.com>
1770
1771 [BZ #14049]
1772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1773 nonzero digits before rounding a hex value.
1774 * stdlib/tst-strtod.c (tests): Add another test.
1775
5197d9c2
AK
17762012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1777
1778 * sysdeps/s390/fpu/libm-test-ulps: Update.
1779
f0c1dedf
AJ
17802012-05-03 Andreas Jaeger <aj@suse.de>
1781
1782 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1783 does not get optimized out.
1784 (malloc_opt_barrier): New.
1785
a65ef2ae 17862012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1787 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1788
2b942cb7 1789 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1790 intermediate file deletion.
2b942cb7 1791 (generated): Add .symlist files.
a65ef2ae 1792
54b71e02
JM
17932012-05-03 Joseph Myers <joseph@codesourcery.com>
1794
1795 [BZ #13775]
1796 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1797 Redirect under this condition.
1798 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1799 [__USE_GNU] (__dprintf_chk): Not under this condition.
1800 [__USE_GNU] (__vdprintf_chk): Likewise.
1801 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1802 under this condition.
1803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1804 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1805 [__USE_XOPEN2K8] (vdprintf): Likewise.
1806 [__USE_GNU] (__dprintf_chk): Not under this condition.
1807 [__USE_GNU] (__vdprintf_chk): Likewise.
1808 [__USE_GNU] (dprintf): Likewise.
1809 [__USE_GNU] (vdprintf): Likewise.
1810
d3dfcc41
RM
18112012-05-03 Roland McGrath <roland@hack.frob.com>
1812
1813 * elf/Makefile (common-generated): Set this instead of generated for
1814 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1815 $(all-built-dso)-derived lists.
1816
7ac30cc5
AJ
18172012-05-03 Andreas Jaeger <aj@suse.de>
1818
0c51e550
AJ
1819 * sysdeps/i386/fpu/libm-test-ulps: Update.
1820
7ac30cc5
AJ
1821 * FAQ: Removed.
1822 * FAQ.in: Likewise.
1823 * scripts/gen-FAQ.pl: Likewise.
1824 * manual/install.texi (Installation): Point to online location of
1825 FAQ.
1826 * Makefile (files-for-dist): Remove FAQ.
1827 (FAQ): Remove.
1828
d4c2917f
AM
18292012-05-02 Allan McRae <allan@archlinux.org>
1830
1831 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1832 (LDFLAGS-reldepmod5.so): Likewise.
1833 (LDFLAGS-reldep6mod1.so): Likewise.
1834 (LDFLAGS-reldep6mod4.so): Likewise.
1835 (LDFLAGS-reldep8mod3.so): Likewise.
1836 (LDFLAGS-unload4mod1.so): Likewise.
1837 (LDFLAGS-unload4mod2.so): Likewise.
1838 (LDFLAGS-tst-initorder): Likewise.
1839 (LDFLAGS-tst-initordera2.so): Likewise.
1840 (LDFLAGS-tst-initordera3.so): Likewise.
1841 (LDFLAGS-tst-initordera4.so): Likewise.
1842 (LDFLAGS-tst-initorderb2.so): Likewise.
1843 (LDFLAGS-noload): Likewise.
1844 (LDFLAGS-next): Likewise.
1845 (LDFLAGS-order2mod1.so): Likewise.
1846 (LDFLAGS-order2mod2.so): Likewise.
1847 (LDFLAGS-tst-initorder2): Likewise.
1848 (LDFLAGS-tst-initorder2a.so): Likewise.
1849 (LDFLAGS-tst-initorder2b.so): Likewise.
1850 (LDFLAGS-tst-initorder2c.so): Likewise.
1851 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1852
d77f993f
DM
18532012-05-02 David S. Miller <davem@davemloft.net>
1854
1855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1856
171a70b4
PP
18572012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1858
1859 [BZ #14055]
1860 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1861
0be196ad
AJ
18622012-05-02 Andreas Jaeger <aj@suse.de>
1863
1864 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1865 since we manipulate rounding mode.
1866 (CPPFLAGS-test-idouble.c): Likewise.
1867 (CPPFLAGS-test-ifloat.c): Likewise.
1868 (CFLAGS-test-ldouble.c): Likewise.
1869 (CFLAGS-test-double.c): Likewise.
1870 (CFLAGS-test-float.c): Likewise.
1871 (CFLAGS-test-misc.c): Likewise.
1872 (CFLAGS-test-test-fenv.c): Likewise.
1873
4f9d04aa
AZ
18742012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875
2b942cb7
RM
1876 [BZ #2550]
1877 [BZ #2570]
1878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1879 comparisons to determine direction to adjust input.
4f9d04aa 1880
82a79e7d
RM
18812012-05-01 Roland McGrath <roland@hack.frob.com>
1882
f5a01ca9
RM
1883 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1884 output to the target.
1885
90fe4186
RM
1886 * scripts/localplt.awk: New file.
1887 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1888 (check-localplt-CFLAGS): Variable removed.
1889 ($(all-built-dso:=.jmprel)): New static pattern rule.
1890 (generated): Add those targets.
1891 (localplt-built-dso): New variable.
1892 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1893
1894 * elf/check-localplt.c: File removed.
1895
82397ed6
RM
1896 * scripts/check-execstack.awk: New file.
1897 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1898 (check-execstack-CFLAGS): Variable removed.
1899 ($(objpfx)check-execstack.h): Target removed.
1900 ($(objpfx)execstack-default): New target.
1901 (generated): Add that instead of check-execstack.h.
1902 ($(all-built-dso:=.phdr)): New static pattern rule.
1903 (generated): Add those targets.
1904 * elf/check-execstack.c: File removed.
1905
82a79e7d
RM
1906 * scripts/check-textrel.awk: New file.
1907 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1908 (check-textrel-CFLAGS): Variable removed.
1909 (all-built-dso): Use := to define.o
1910 ($(all-built-dso:=.dyn)): New static pattern rule.
1911 (generated): Add those targets.
1912 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1913 * config.make.in (READELF): New substituted variable.
1914 * elf/check-textrel.c: File removed.
1915
62fde54f 19162012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1917
615605c9
JM
1918 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1919 allow.
1920 * conform/data/ctype.h-data [C99-based standards] (isblank):
1921 Expect function.
1922 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1923 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1925 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1926 Specify type. Require positive value.
1927 (EILSEQ): Likewise.
1928 (ERANGE): Likewise.
1929 [ISO || POSIX] (EILSEQ): Do not expect.
1930 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1931 Specify type. Require positive value.
1932 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1933 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1934 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1935 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1939 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1940 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1941 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1942 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1943 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1944 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1945 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1946 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1947 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1948 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1949 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1950 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1951 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1952 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1953 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1954 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1955 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1956 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1957 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1958 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1978 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1979 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1980 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1981 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1982 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1983 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1984 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1985 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1986 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1987 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1988 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2006 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2007 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2008 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2009 Require >= 2.
2010 (FLT_ROUNDS): Expect as macro, not constant.
2011 (FLT_MANT_DIG): Use macro-int-constant.
2012 (DBL_MANT_DIG): Likewise.
2013 (LDBL_MANT_DIG): Likewise.
2014 (FLT_DIG): Likewise.
2015 (DBL_DIG): Likewise.
2016 (LDBL_DIG): Likewise.
2017 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2018 (DBL_MIN_EXP): Likewise.
2019 (LDBL_MIN_EXP): Likewise.
2020 (FLT_MAX_EXP): Use macro-int-constant.
2021 (DBL_MAX_EXP): Likewise.
2022 (LDBL_MAX_EXP): Likewise.
2023 (FLT_MAX_10_EXP): Likewise.
2024 (DBL_MAX_10_EXP): Likewise.
2025 (LDBL_MAX_10_EXP): Likewise.
2026 (FLT_MAX): Use macro-constant.
2027 (DBL_MAX): Likewise.
2028 (LDBL_MAX): Likewise.
2029 (FLT_EPSILON): Use macro-constant. Give upper bound.
2030 (DBL_EPSILON): Likewise.
2031 (LDBL_EPSILON): Likewise.
2032 (FLT_MIN): Likewise.
2033 (DBL_MIN): Likewise.
2034 (LDBL_MIN): Likewise.
2035 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2036 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2037 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2038 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2039 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2040 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2041 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2042 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2043 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2044 [ISO11] (FLT_TRUE_MIN): Likewise.
2045 [ISO11] (LDBL_TRUE_MIN): Likewise.
2046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2047 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2048 (SCHAR_MIN): Use macro-int-constant. Specify type.
2049 (SCHAR_MAX): Likewise.
2050 (UCHAR_MAX): Likewise.
2051 (CHAR_MIN): Likewise.
2052 (CHAR_MAX): Likewise.
2053 (MB_LEN_MAX): Use macro-int-constant.
2054 (SHRT_MIN): Use macro-int-constant. Specify type.
2055 (SHRT_MAX): Likewise.
2056 (USHRT_MAX): Likewise.
2057 (INT_MAX): Likewise.
2058 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2059 bound negative.
2060 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2061 bound with "U".
2062 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2063 bound with "L".
2064 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2065 bound negative. Suffix upper bound with "L".
2066 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2067 bound with "UL".
2068 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2069 Specify type.
2070 [C99-based standards] (LLONG_MAX): Likewise.
2071 [C99-based standards] (ULLONG_MAX): Likewise.
2072 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2073 == 0.
2074 [ISO11] (max_align_t): Require type.
2075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2076
c9140a62
JM
2077 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2078 from $CFLAGS, without defining away __attribute__ calls.
2079 (checknamespace): Use $CFLAGS_namespace.
2080
9af0bf29
JM
2081 * conform/conformtest.pl (@keywords): Only include C99 keywords
2082 for standards based on C99 or C11.
2083
343222a2
JM
2084 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2085 Disable tests.
2086 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2087 UNIX98]: Likewise.
2088
661f8cf0
JM
2089 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2090 usability of symbols in #if.
2091
ee74b9cb
JM
2092 * conform/conformtest.pl: If macro or constant types start
2093 "promoted:", expect the symbol to be of the following type
2094 promoted by the integer promotions.
62fde54f 2095
aafc49b3
JM
2096 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2097 in one place. Also handle "macro-constant".
2098
fefdf574
JM
2099 * conform/conformtest.pl: Only accept expected macro values with
2100 "==". Parse all "macro" lines in one place.
2101 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2102
f2d922fe
JM
2103 * conform/conformtest.pl: Handle braced types on "constant" lines
2104 instead of handling "typed-constant".
2105 * conform/data/signal.h-data: Use "constant" instead of
2106 "typed-constant".
2107
d22956c9
JM
2108 * conform/conformtest.pl: Handle "optional-" at start of lines in
2109 one place rather than duplicating several cases. Handle each
2110 format of "macro" line with initial "optional-".
2111
028e2e38
JM
2112 * conform/conformtest.pl: Only accept expected constant or
2113 optional-constant values with "==". Parse all "constant" lines in
2114 one place. Parse all "optional-constant" lines in one place.
2115 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2116 * conform/data/fmtmsg.h-data: Likewise.
2117 * conform/data/netinet/in.h-data: Likewise.
2118 * conform/data/tar.h-data: Likewise.
2119 * conform/data/limits.h-data: Use "==" form on "constant" and
2120 "optional-constant" lines.
2121
1b8f2850
JM
2122 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2123 Use -std=c99 for XOPEN2K.
2124 (@knownproblems): Remove.
2125 (newtoken): Don't check %isknown.
2126
a05a144b
JM
2127 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2128 Do not expect macro.
2129 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2141 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2142 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2159 [XPG3] (acosh): Likewise.
2160 [XPG3] (asinh): Likewise.
2161 [XPG3] (atanh): Likewise.
2162 [XPG3] (cbrt): Likewise.
2163 [XPG3] (expm1): Likewise.
2164 [XPG3] (ilogb): Likewise.
2165 [XPG3] (log1p): Likewise.
2166 [XPG3] (logb): Likewise.
2167 [XPG3] (nextafter): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2170 [XPG3] (remainder): Likewise.
2171 [XPG3] (rint): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2179 [UNIX98 || XOPEN2K] (scalb): Expect.
2180 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2181 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2317
73c5ebe3
JM
2318 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2319 _XOPEN_SOURCE_EXTENDED for XPG4.
2320
39c33b6c
JM
2321 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2322
62fde54f
JM
2323 * Makeconfig (localtime): Remove variable.
2324 (inst_localtime-file): Likewise.
2325
0741d64c
AS
23262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2327
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2329 Update.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2331 Update.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2333 Update.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2335 Update.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2337 Update.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2339 Update.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2341 Update.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2343 Update.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2345 Update.
2346
7cb029ee
JM
23472012-05-01 Joseph Myers <joseph@codesourcery.com>
2348
2349 [BZ #2550]
2350 [BZ #2570]
2351 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2352 comparisons to determine direction to adjust input.
2353 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2354 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2356 Likewise.
2357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2358 Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2360 Likewise.
2361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2363 Likewise.
2364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2365 Likewise.
2366 * math/libm-test.inc (nexttoward_test): Add more tests.
2367
412bd966
AS
23682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2369
2370 [BZ #14040]
2371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2372 in version GLIBC_2.1, not GLIBC_2.0.
2373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2374 Likewise.
2375
9568c0c2
JM
23762012-04-30 Joseph Myers <joseph@codesourcery.com>
2377
adfbc8ac
JM
2378 [BZ #13942]
2379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2380 (1 - x) * (1 + x).
2381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2382 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2383 * math/libm-test.inc (acos_test): Add more tests.
2384 (asin_test): Likewise.
2385 * sysdeps/i386/fpu/libm-test-ulps: Update.
2386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387
5ba3cc69
JM
2388 [BZ #14034]
2389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2390 of square root.
2391 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2393 * math/libm-test.inc (acos_test_tonearest): New function.
2394 (acos_test_towardzero): Likewise.
2395 (acos_test_downward): Likewise.
2396 (acos_test_upward): Likewise.
2397 (asin_test_tonearest): Likewise.
2398 (asin_test_towardzero): Likewise.
2399 (asin_test_downward): Likewise.
2400 (asin_test_upward): Likewise.
2401 (main): Call the new functions.
2402 * sysdeps/i386/fpu/libm-test-ulps: Update.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2404
9568c0c2
JM
2405 [BZ #13884]
2406 [BZ #13924]
2407 * math/e_exp10.c: Include <float.h>.
2408 (__ieee754_exp10): Handle underflow here rather than multiplying
2409 large negative argument by M_LN10.
2410 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2411 of __ieee754_expf.
2412 * math/e_exp10l.c: Include <float.h>.
2413 (__ieee754_exp10l): Handle underflow here rather than multiplying
2414 large negative argument by M_LN10l.
2415 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2416 spurious overflow exception on underflow.
2417
5ac3ea17
MP
24182012-04-29 Marek Polacek <polacek@redhat.com>
2419
2420 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2421 (__fortify_function): New macro.
2422 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2423 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2424 __extern_always_inline.
2425 * libio/bits/stdio2.h: Likewise.
2426 * libio/bits/stdio.h: Likewise.
2427 * string/string.h: Likewise.
2428 * string/bits/string3.h: Likewise.
2429 * include/stdio.h: Likewise.
2430 * stdlib/bits/stdlib.h: Likewise.
2431 * stdlib/stdlib.h: Likewise.
2432 * rt/bits/mqueue2.h: Likewise.
2433 * rt/mqueue.h: Likewise.
2434 * posix/bits/unistd.h: Likewise.
2435 * posix/unistd.h: Likewise.
2436 * io/bits/poll2.h: Likewise.
2437 * io/bits/fcntl2.h: Likewise.
2438 * io/fcntl.h: Likewise.
2439 * io/sys/poll.h: Likewise.
2440 * misc/bits/syslog.h: Likewise.
2441 * misc/bits/syslog-ldbl.h: Likewise.
2442 * misc/sys/syslog.h: Likewise.
2443 * socket/bits/socket2.h: Likewise.
2444 * socket/sys/socket.h: Likewise.
2445 * debug/tst-chk1.c: Likewise.
2446 * wcsmbs/bits/wchar2.h: Likewise.
2447 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2448 * wcsmbs/wchar.h: Likewise.
2449
ecf0ebfb
AJ
24502012-04-29 Andreas Jaeger <aj@suse.de>
2451
2452 * Makerules (tests): Remove enable-check-abi protection.
2453 (check-abi-warn): Remove.
2454 (check-abi-%): Remove check-abi-warn usage.
2455
2456 * configure.in: Remove check-abi configure option.
2457 * configure: Regenerated.
2458 * config.make.in (enable-check-abi): Remove.
2459
6d5c57fa
AS
24602012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2461
24c5d07e 2462 [BZ #14033]
ded5180a
AS
2463 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2464 double functions to double *_finite functions.
2465
7e0d315d
AS
2466 [BZ #13941]
2467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2468 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2469 LDBL_MIN_EXP.
2470 * stdio-common/Makefile (tests): Add tst-sprintf3.
2471 * stdio-common/tst-sprintf3.c: New file.
2472
6d5c57fa
AS
2473 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2474 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2475
0749ff8b
JM
24762012-04-28 Joseph Myers <joseph@codesourcery.com>
2477
2478 * conform/conformtest.pl: Remove duplicate typed-constant
2479 handling.
2480
8dbd5d7b
DM
24812012-04-28 David S. Miller <davem@davemloft.net>
2482
2483 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2484 (check-abi-%): Remove AWK script prerequisite and explicit
2485 abilist directory.
2486 (check-abi): Rewrite to just diff the symlist with the abilist.
2487 (config-tls, config-abi-config): Delete, no longer used.
2488 (update-abi-%): Remove AWK script and explicit abilist directory.
2489 (update-abi): Rewrite to simply compare and conditionally copy the
2490 symlist and the sysdep abilist file. Remove update-abi-config
2491 checks.
2492 * abilist/ld.abilist: Remove.
2493 * abilist/libBrokenLocale.abilist: Remove.
2494 * abilist/libanl.abilist: Remove.
2495 * abilist/libcrypt.abilist: Remove.
2496 * abilist/libdl.abilist: Remove.
2497 * abilist/librt.abilist: Remove.
2498 * abilist/libthread_db.abilist: Remove.
2499 * abilist/libutil.abilist: Remove.
2500 * scripts/extract-abilist.awk: Remove.
2501 * scripts/merge-abilist.awk: Remove.
2502 * sysdeps/generic/libcidn.abilist: New file.
2503 * sysdeps/generic/libnss_compat.abilist: New file.
2504 * sysdeps/generic/libnss_db.abilist: New file.
2505 * sysdeps/generic/libnss_dns.abilist: New file.
2506 * sysdeps/generic/libnss_files.abilist: New file.
2507 * sysdeps/generic/libnss_hesiod.abilist: New file.
2508 * sysdeps/generic/libnss_nis.abilist: New file.
2509 * sysdeps/generic/libnss_nisplus.abilist: New file.
2510 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2511 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2512 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2513 file.
2514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2515 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2516 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2517 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2518 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2519 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2521 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2522 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2523 file.
2524 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2528 file.
2529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2531 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2535 file.
2536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2539 file.
2540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2542 New file.
2543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2544 New file.
2545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2546 New file.
2547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2548 New file.
2549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2550 New file.
2551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2552 New file.
2553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2554 New file.
2555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2556 New file.
2557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2558 New file.
2559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2560 New file.
2561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2562 New file.
2563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2564 New file.
2565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2566 New file.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2568 file.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2570 New file.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2572 New file.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2574 file.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2576 New file.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2578 New file.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2580 file.
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2582 New file.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2584 New file.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2586 New file.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2588 New file.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2590 New file.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2592 New file.
2593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2595 file.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2597 New file.
2598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2599 file.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2601 file.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2603 file.
2604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2605 file.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2607 file.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2609 New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2611 file.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2613 file.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2615 New file.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2617 file.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2620 file.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2622 New file.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2624 file.
2625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2626 file.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2628 file.
2629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2630 file.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2632 file.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2634 New file.
2635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2636 file.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2638 file.
2639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2640 New file.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2642 file.
2643 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2645 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2646 file.
2647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2651 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2653 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2655 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2659 file.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2661 New file.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2663 file.
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2665 file.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2667 file.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2669 file.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2671 file.
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2673 New file.
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2675 New file.
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2677 file.
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2679 New file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2681 file.
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2684 file.
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2686 New file.
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2688 file.
2689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2690 file.
2691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2692 file.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2694 file.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2696 file.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2700 New file.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2702 file.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2704 New file.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2706 file.
2707
41d73a1b
JM
27082012-04-28 Joseph Myers <joseph@codesourcery.com>
2709
2710 * conform/conformtest.pl: Fix typo in handling typed-constant from
2711 allow-header.
2712
28aeeda4
JM
27132012-04-27 Joseph Myers <joseph@codesourcery.com>
2714
adae8f5e
JM
2715 * README: Cut down references to pre-2.6 Linux kernels and
2716 Linuxthreads. Update lists of configurations in libc and ports
2717 and sort alphabetically. Say "or newer" with Linux kernel version
2718 requirements.
2719
28aeeda4
JM
2720 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2721
a462cb63
RA
27222012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2723
2724 [BZ #887]
2725 * math/libm-test.inc (logb_test_downward): New test to expose
2726 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2727 rounding mode.
2728
6ad3493e
JM
27292012-04-27 Joseph Myers <joseph@codesourcery.com>
2730
2731 [BZ #14027]
2732 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2733 to be done.
2734 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2735 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2736
2ce4f015
JM
27372012-04-26 Joseph Myers <joseph@codesourcery.com>
2738
5aeb141a
JM
2739 * sysdeps/unix/i386/brk.S: Remove file.
2740 * sysdeps/unix/i386/dl-brk.S: Likewise.
2741 * sysdeps/unix/i386/pipe.S: Likewise.
2742 * sysdeps/unix/i386/sigreturn.S: Likewise.
2743 * sysdeps/unix/i386/syscall.S: Likewise.
2744 * sysdeps/unix/i386/vfork.S: Likewise.
2745 * sysdeps/unix/i386/wait.S: Likewise.
2746
7143acae
JM
2747 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2748 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2749
2ce4f015
JM
2750 * configure.in (arm*-none*): Do not allow without
2751 --enable-hacker-mode.
2752 (netbsd*): Remove case setting base_os.
2753 (386bsd*): Likewise.
2754 (freebsd*): Likewise.
2755 (bsdi*): Likewise.
2756 (osf*): Likewise.
2757 (sunos*): Likewise.
2758 (ultrix*): Likewise.
2759 (newsos*): Likewise.
2760 (dynix*): Likewise.
2761 (*bsd*): Likewise.
2762 (sysv*): Likewise.
2763 (isc*): Likewise.
2764 (esix*): Likewise.
2765 (sco*): Likewise.
2766 (minix*): Likewise.
2767 (irix4*): Likewise.
2768 (irix6*): Likewise.
2769 (solaris[2-9]*): Likewise.
2770 (none): Likewise.
2771 * configure: Regenerated.
2772
0ac229c8
AZ
27732012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2774
2775 [BZ #11521]
2776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2777 overflow or cancellation in calculating denominator.
2778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2780 down expression to avoid unexpected rounding in newer GCCs.
2781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2782
33f244f4
DM
27832012-04-26 David S. Miller <davem@davemloft.net>
2784
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2786 long-double compat symbols.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2800
cfa1f3e8
DM
28012012-04-25 David S. Miller <davem@davemloft.net>
2802
2803 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2804 HWCAP_* values only after the memory barriers have been defined.
2805 (atomic_full_barrier): Define.
2806 (atomic_read_barrier): Define.
2807 (atomic_write_barrier): Define.
2808
6e236b92
SP
28092012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2810
2811 * shlib-versions: Add libgcc_s version information.
2812 * sysdeps/generic/libgcc_s.h: Remove.
2813 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2814 libgcc_s.h.
2815 * sysdeps/gnu/unwind-resume.c: Likewise.
2816 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2817
aab39a09
DM
28182012-04-25 David S. Miller <davem@davemloft.net>
2819
2820 * sysdeps/unix/sparc/brk.S: Delete.
2821 * sysdeps/unix/sparc/dl-brk.S: Delete.
2822 * sysdeps/unix/sparc/pipe.S: Delete.
2823 * sysdeps/unix/sparc/sysdep.S: Delete.
2824 * sysdeps/unix/sparc/sysdep.h: Delete.
2825 * sysdeps/unix/sparc/vfork.S: Delete.
2826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2827 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2829 ret_ERRVAL, r0, r1, MOVE): Define.
2830 (JUMPTARGET): Remove.
2831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2832 sysdeps/unix/sparc/sysdep.h
2833 (ENTRY, END): Remove.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2835
a3cc4f48
JM
28362012-04-25 Joseph Myers <joseph@codesourcery.com>
2837
2ed8cda2
JM
2838 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2839 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2840 -DIS_IN_build.
2841
35d76d59
JM
2842 * timezone/README: Update upstream location and email address for
2843 tzcode and tzdata.
2844 * timezone/zdump.c: Update from tzcode 2012b.
2845 * timezone/zic.c: Likewise.
2846
a3cc4f48
JM
2847 * configure.in (libc_cv_as_needed): Remove test.
2848 * configure: Regenerated.
2849 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2850 conditional definition.
2851 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2852 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2853 * config.make.in (have-as-needed): Remove variable.
2854
ceab42c3
SP
28552012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2856 Paul Pluzhnikov <ppluzhnikov@google.com>
2857
2858 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2859 strings correctly.
2860
3ce2865f
CLT
28612012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2862
2863 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2864 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2865 * sysdeps/sh/strlen.S: Likewise.
2866
f37e0d68
JM
28672012-04-24 Joseph Myers <joseph@codesourcery.com>
2868
ae186e9a
JM
2869 * sysdeps/unix/fork.S: Remove file.
2870 * sysdeps/unix/i386/fork.S: Likewise.
2871 * sysdeps/unix/sparc/fork.S: Likewise.
2872
b96914af
JM
2873 * sysdeps/unix/system.c: Remove file.
2874 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2875
f37e0d68
JM
2876 * sysdeps/unix/getegid.S: Remove file.
2877 * sysdeps/unix/geteuid.S: Likewise.
2878
87ef29ca
RM
28792012-04-24 Roland McGrath <roland@hack.frob.com>
2880
83bcd236
RM
2881 * scripts/check-localplt.awk: New file.
2882 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2883 of diff.
2884 * scripts/data/localplt-generic.data: Add a comment.
2885
87ef29ca
RM
2886 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2887 NODE when __dir_mkfile failed.
2888 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2889 Reported by Ludovic Courtès <ludo@gnu.org>.
2890
e5a6e567
AJ
28912012-04-24 Andreas Jaeger <aj@suse.de>
2892
2893 * Makerules (common-clean): Also remove gen-as-const-headers
2894 files.
2895
c1820385
JM
28962012-04-24 Joseph Myers <joseph@codesourcery.com>
2897
2898 * Makerules (native-compile): Do not change working directory for
2899 build. Use $(OUTPUT_OPTION) in command.
2900 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2901
94e02fc4
AZ
29022012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903
2904 [BZ #13886]
2905 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2906 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2907 * math/libm-test.inc (floor_test): Add more tests.
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2909
3a533ca3
JM
29102012-04-24 Joseph Myers <joseph@codesourcery.com>
2911
940ab4b3
JM
2912 * sysdeps/unix/getdents.c: Remove file.
2913 * sysdeps/unix/sysv/getdents.c: Likewise.
2914 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2915
90e037bd
JM
2916 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2917 sysdeps/unix/mman/syscalls.list.
2918 (mmap): Likewise.
2919 (mprotect): Likewise.
2920 (msync): Likewise.
2921 (munmap): Likewise.
2922 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2923 * sysdeps/unix/mman/syscalls.list: Remove.
2924 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2925
3a533ca3
JM
2926 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2927 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2928 * configure: Regenerated.
2929 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2930 $(libgcc_s_suffix).
2931 * config.make.in (libgcc_s_suffix): Remove variable.
2932
1ad743de
JM
29332012-04-23 Joseph Myers <joseph@codesourcery.com>
2934
4ad451e2
JM
2935 * sysdeps/unix/sysv/gethostname.c: Move to ...
2936 * sysdeps/posix/gethostname.c: ... here.
2937
5e37ce39
JM
2938 * sysdeps/unix/execve.S: Remove file.
2939
1ad743de
JM
2940 * sysdeps/unix/_exit.S: Remove file.
2941
4e681b5b
AJ
29422012-04-23 Andreas Jaeger <aj@suse.de>
2943
2944 [BZ #13739]
2945 * manual/Makefile: Remove make dist support, there's no
2946 need for a stand-alone documentation tar ball.
2947 (TEXI2DVI): Define always, it's not in Makeconfig.
2948 (dist): Removed.
2949 (tar-it): Removed.
2950 (edition): Removed.
2951 (glibc-doc-$(edition).tar): Removed
2952 (%.Z): Removed.
2953 (%.gz): Removed.
2954 (%.uu): Removed.
2955 (ETAGS): Remove, it's in Makeconfig.
2956 (move-if-change): Remove, it's in Makeconfig.
2957
c0baea34
PE
29582013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2959
2960 [BZ #13970]
2961 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2962 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2963 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2964 (strtod_l, strtof_l, strtold_l): Remove __wur.
2965 It is not necessarily an error to ignore strtol's return value.
2966 One can reliably look at the stored endptr to decide whether
2967 the number had valid syntax.
2968
7c0616fa
AJ
29692012-04-21 Andreas Jaeger <aj@suse.de>
2970
803cb6b7 2971 [BZ #13739]
7c0616fa
AJ
2972 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2973
b0fe253f
JM
29742012-04-21 Joseph Myers <joseph@codesourcery.com>
2975
2976 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2977 * sysdeps/unix/sysv/Versions: Remove file.
2978
8280f22d
MT
29792012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2980
2981 [BZ #13927]
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2983
75ce411f 29842012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2985
2986 [BZ #7064]
2987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2988 version from __vm86.
2989
097d59fa
JM
29902012-04-20 Joseph Myers <joseph@codesourcery.com>
2991
a90f3bcb
JM
2992 * sysdeps/unix/common/lxstat.c: Remove file.
2993 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2994
edc7ea78
JM
2995 * sysdeps/unix/sysv/Makefile: Remove file.
2996
cb78c221
JM
2997 * sysdeps/unix/sysv/direct.h: Remove file.
2998
efa6a45f
JM
2999 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3000 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3001 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3002 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3003 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3004 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3005 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3006
9c9f2d0c
JM
3007 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3008
4541c83b
JM
3009 * sysdeps/unix/xmknod.c: Remove file.
3010 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3011
f5d153a0
JM
3012 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3013
aa746595
JM
3014 * sysdeps/unix/sysv/i386/time.S: Remove file.
3015
cce5905e
JM
3016 * sysdeps/unix/fxstat.c: Remove file.
3017 * sysdeps/unix/xstat.c: Likewise.
3018 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3019
37fa3841
JM
3020 * sysdeps/unix/sysv/sigaction.c: Remove file.
3021
ff1962a3
JM
3022 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3023 (sysdep_headers): Remove variable.
3024 [termio.h not in sysdep_headers] (generated): Likewise.
3025 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3026 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3027 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3028 * sysdeps/unix/sysv/tcflow.c: Likewise.
3029 * sysdeps/unix/sysv/tcflush.c: Likewise.
3030 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3031 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3032 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3033 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3034 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3035
e7740d31
JM
3036 * sysdeps/unix/siglist.c: Remove file.
3037
ee06f18b
JM
3038 * sysdeps/unix/getppid.S: Remove file.
3039
097d59fa
JM
3040 * sysdeps/unix/mkdir.c: Remove file.
3041 * sysdeps/unix/rmdir.c: Likewise.
3042
ff3d51ec
AS
30432012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3044
3045 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3046 ERR_MAX value.
3047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3048 errlist-compat value.
3049
50f81fd7
DM
30502012-04-18 David S. Miller <davem@davemloft.net>
3051
3052 * sysdeps/generic/memcopy.h (reg_char): Delete.
3053 * debug/strcat_chk.c: Use char, not reg_char.
3054 * debug/strcpy_chk.c: Likewise.
3055 * debug/strncat_chk.c: Likewise.
3056 * debug/strncpy_chk.c: Likewise.
3057 * string/memchr.c: Likewise.
3058 * string/memrchr.c: Likewise.
3059 * string/rawmemchr.c: Likewise.
3060 * string/strcat.c: Likewise.
3061 * string/strchr.c: Likewise.
3062 * string/strchrnul.c: Likewise.
3063 * string/strcmp.c: Likewise.
3064 * string/strcpy.c: Likewise.
3065 * string/strncat.c: Likewise.
3066 * string/strncmp.c: Likewise.
3067 * string/strncpy.c: Likewise.
3068
8ff41c46
WS
30692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3070
3071 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3072 __builtin_memcopy is called when src and dest ranges are known to not
3073 overlap.
3074
6b652f46
WS
30752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3076
3077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3078 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3079 fwd_align_merge macro call.
3080 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3081 bwd_align_merge macro call.
3082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3083
b282631e
WS
30842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3085
3086 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3087 bwd_align_merge macros.
3088 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3089 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3091
95aa737c
DM
30922012-04-18 David S. Miller <davem@davemloft.net>
3093
3094 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3095
7a99a614
AJ
30962012-04-18 Andreas Jaeger <aj@suse.de>
3097
3098 [BZ# 6794]
3099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3102
3103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3106
3107 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3108 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3109 Adjust for changed ldbl-128 files.
3110
3111 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3114
e5270c23
DM
31152012-04-17 David S. Miller <davem@davemloft.net>
3116
3117 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3118
fb5e92c9
AS
31192012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3122 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3123 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3124 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3125 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3126 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3127
76da7265
AZ
31282012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3129
3130 [BZ #6794]
3131 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3132 * math/libm-test.inc: Add ilogb errno and exception tests.
3133 * math/w_ilogb.c: New file: ilogb wrapper.
3134 * math/w_ilogbf.c: New file: ilogbf wrapper.
3135 * math/w_ilogbl.c: New file: ilogbl wrapper.
3136 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3137 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3138 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3139 exception being thrown with 0.0 as argument.
3140 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3141 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3142 exception being thrown with 0.0 as argument.
3143 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3144 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3145 exception being thrown with 0.0 as argument.
3146 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3147 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3148 exception being thrown with 0.0 as argument.
3149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3150 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3152 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3153 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3154 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3155 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3156 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3157 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3158
0396e69d
PB
31592012-04-17 Petr Baudis <pasky@ucw.cz>
3160
3161 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3162 with altivec.
3163
750b5926
MP
31642012-04-16 Marek Polacek <polacek@redhat.com>
3165
3166 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3167
751728a1
MP
31682012-04-16 Marek Polacek <polacek@redhat.com>
3169
3170 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3171 operands of fdivp instruction.
3172
34a27407
L
31732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3176 * elf/tst-auditmod3b.c: Likewise.
3177 * elf/tst-auditmod4b.c: Likewise.
3178 * elf/tst-auditmod5b.c: Likewise.
3179 * elf/tst-auditmod6b.c: Likewise.
3180 * elf/tst-auditmod6c.c: Likewise.
3181 * elf/tst-auditmod7b.c: Likewise.
3182 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3183 * sysdeps/x86_64/preconfigure.in: Likewise.
3184 * sysdeps/x86_64/preconfigure: Regenerated.
3185
7e73e17d
L
31862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3187
3188 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3189 __ILP32__.
3190
c7a6ab72
AB
31912012-04-13 Antoine Balestrat <merkil33@gmail.com>
3192
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3194 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3195
a9e8e0e0
CL
31962012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3197
3198 [BZ #13973]
3199 * locale/iso-639.def: Fix gl language name. Spotted by
3200 Yaron Shahrabani.
3201
ec98af7d
RM
32022012-04-12 Roland McGrath <roland@hack.frob.com>
3203
3204 [BZ #2074]
3205 * libio/libio.h (__io_write_fn): Update comment.
3206
247c3ede
PB
32072012-04-12 Petr Baudis <pasky@ucw.cz>
3208
3209 [BZ #2074]
3210 * stdio.texi (Hook Functions): The user provided writer function
3211 is not allowed to return -1.
3212
55939d6d
DM
32132012-04-11 David S. Miller <davem@davemloft.net>
3214
3215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3216
90020f5a
MF
32172012-04-11 Mike Frysinger <vapier@gentoo.org>
3218
3219 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3220 Add a leading slash to rtkaio.
3221
288f9098
JM
32222012-04-11 Jim Meyering <meyering@redhat.com>
3223
90020f5a
MF
3224 [BZ #11959]
3225 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3226 It is not necessarily an error to ignore fwrite's return
3227 value. One can reliably use ferror to test for errors after
3228 the fact.
288f9098 3229
4be2b570
L
32302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 * bits/types.h (__snseconds_t): New type.
3233 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3234
3235 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3237 (__SNSECONDS_T_TYPE): Likewise.
3238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3239 (__SNSECONDS_T_TYPE): Likewise.
3240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3241 (__SNSECONDS_T_TYPE): Likewise.
3242
288f9098 32432012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3244
3245 [BZ #2636]
3246 * manual/time.texi (Processor Time): Return type of times is
3247 elapsed real time since an arbitrary point in the past.
3248 (CPU Time): Move CLK_TCK from here...
3249 (Processor Time): ...to here. Correct description.
3250 * manual/conf.texi (Constants for Sysconf): Correct description of
3251 _SC_CLK_TCK.
3252
d7dd4413
DM
32532012-04-10 David S. Miller <davem@davemloft.net>
3254
3255 [BZ #13967]
3256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3257 where the is a gap between DT_REL(A) and DT_JMPREL.
3258
b46068fc
L
32592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3262 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3263 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3264
73d65cc3
SP
32652012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
3267 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3268 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3269 (dl_main): Handle --inhibit-cache.
3270 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3271 _dl_inhibit_cache.
3272 * elf/dl-load.c (_dl_map_object): Use it.
3273 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3274
bcc8d661
JM
32752012-04-09 Joseph Myers <joseph@codesourcery.com>
3276
8f9a2fae
JM
3277 [BZ #13872]
3278 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3279 (__ieee754_powl): Saturate large exponents rather than testing for
3280 overflow of y*log2(x).
3281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3282 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3283 exceptions.
3284
bcc8d661
JM
3285 [BZ #11521]
3286 * math/s_ctan.c: Include <float.h>.
3287 (__ctan): Avoid internal overflow or cancellation in calculating
3288 denominator.
3289 * math/s_ctanf.c: Likewise.
3290 * math/s_ctanl.c: Likewise.
3291 * math/s_ctanh.c: Likewise.
3292 * math/s_ctanhf.c: Likewise.
3293 * math/s_ctanhl.c: Likewise.
3294 * math/libm-test.inc (ctan_test): Add more tests.
3295 (ctanh_test): Likewise.
3296 * sysdeps/i386/fpu/libm-test-ulps: Update.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3298
823fbbb4
AJ
32992012-04-09 Andreas Jaeger <aj@suse.de>
3300
03879793
AJ
3301 [BZ #6894]
3302 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3303 is an optional BSD extension.
3304
823fbbb4
AJ
3305 [BZ #10254]
3306 * manual/stdio.texi (Opening Streams): Document additional fopen
3307 parameters.
3308
8de131cb
RM
33092012-04-09 Roland McGrath <roland@hack.frob.com>
3310
3311 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3312 %eax without telling the compiler.
3313
c0ed9d7d
CD
33142012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3315
3316 [BZ # 13963]
3317 * manual/install.texi: Use sourceware.org.
3318
c483f6b4
JM
33192012-04-09 Joseph Myers <joseph@codesourcery.com>
3320
d7dd9453
JM
3321 [BZ #13873]
3322 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3323 (__ieee754_pow): Generate overflow and underflow using huge*huge
3324 and tiny*tiny rather than just returning constant infinity or zero
3325 for large exponents.
3326 * math/libm-test.inc (pow_test): Require overflow exceptions for
3327 applicable cases of large exponents.
3328
c483f6b4
JM
3329 [BZ #706]
3330 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3331 (__ieee754_pow): Use iterative multiplication algorithm only for
3332 integer exponents with absolute value below 1024. Check for odd
3333 integer exponents when using algorithm for real exponents.
3334 * math/libm-test.inc (pow_test): Add more tests.
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3336
d2de7579
JM
33372012-04-08 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #13705]
3340 * math/libm-test.inc (exp_test): Do not allow overflow exception
3341 on underflow test.
3342
f77f1232
AJ
33432012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3344
3345 [BZ #13705]
3346 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3347 instead of __kernel_standard_f.
3348
3884932b
MF
33492012-04-08 Mike Frysinger <vapier@gentoo.org>
3350
3351 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3352 * sysdeps/x86_64/memset_chk.S: Likewise.
3353
54472e9c
AJ
33542012-04-08 Andreas Jaeger <aj@suse.de>
3355
6ab0fbfc
AJ
3356 [BZ #10153]
3357 * manual/startup.texi (Environment Access): Describe return value
3358 for putenv and setenv.
3359
61efba8c
AJ
3360 [BZ #6895]
3361 * manual/filesys.texi (Directory Entries): Add description for
3362 DT_LNK.
3363
95c3f29a
AJ
3364 [BZ #6890]
3365 * manual/filesys.texi (Directory Entries): Clarify that it's file
3366 system not operating system in the description of DT_UNKNOWN.
3367
54472e9c
AJ
3368 [BZ #6578]
3369 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3370
624254b1
SC
33712012-04-08 Stephen Compall <s11@member.fsf.org>
3372
3373 [BZ #6649]
3374 * manual/llio.texi (Opening and Closing Files): Add cross
3375 reference to explain mode argument.
3376
1e4920e0
MF
33772012-04-07 Mike Frysinger <vapier@gentoo.org>
3378
3379 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3380 * sysdeps/x86_64/memset_chk.S: Likewise.
3381
5ed848f3
DM
33822012-04-07 David S. Miller <davem@davemloft.net>
3383
3384 * elf/elf.h (R_SPARC_WDISP10): Define.
3385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3386 R_SPARC_SIZE32.
3387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3388 R_SPARC_SIZE64 and R_SPARC_H34.
3389
96154cd8
CD
33902012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3391
3392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3393 conditions and remove no longer applicable assertion.
3394
9904dc47
L
33952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * bits/byteswap.h: Include <features.h>.
3398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3400
f8887d0a
L
34012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * bits/byteswap.h (__bswap_16): Removed.
3404 Include <bits/byteswap-16.h> to get __bswap_16.
3405 * sysdeps/i386/bits/byteswap.h: Likewise.
3406 * sysdeps/s390/bits/byteswap.h: Likewise.
3407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3408 * bits/byteswap-16.h: New file.
3409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3410 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3411 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3412 * string/Makefile (headers): Add bits/byteswap-16.h.
3413
62470f60
PP
34142012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3415
3416 [BZ #13895]
3417 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3418 extra indirection.
3419 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3420 * nss/tst-nss-static.c: New.
3421
4dad7bab
RM
34222012-04-06 Robert Millan <rmh@gnu.org>
3423
3424 [BZ #6486]
3425 * manual/llio.texi (File Position Primitive): lseek
3426 refers to WHENCE when it really means OFFSET.
3427
e9142a17
AJ
34282012-04-06 Andreas Jaeger <aj@suse.de>
3429
2c040eff
AJ
3430 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3431 strncmp declarations.
3432
e9142a17
AJ
3433 * abilist/libc.abilist: Add __poll and __ppoll.
3434
ff9f1c5f
DM
34352012-04-05 David S. Miller <davem@davemloft.net>
3436
dcd2ae90
DM
3437 * scripts/check-local-headers.sh: Accept a host triplet in the
3438 path matched by the exclude regexp.
3439
993eb054
DM
3440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3441 definition.
3442 * sysdeps/powerpc/powerpc32/dl-machine.h
3443 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3444 * sysdeps/s390/s390-32/dl-machine.h
3445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3446 * sysdeps/sparc/sparc32/dl-machine.h
3447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3448 * sysdeps/sparc/sparc64/dl-machine.h
3449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3450
ff9f1c5f
DM
3451 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3452 lazy binding.
48e2e132 3453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3454 undefined symbol errors.
3455
48e2e132 3456 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3457 DT_NEEDED entries.
3458
e80d6f94
MM
34592012-04-05 Michael Matz <matz@suse.de>
3460
3461 [BZ #13592]
3462 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3463
349fa79f
AJ
34642012-04-05 Andreas Jaeger <aj@suse.de>
3465
3466 [BZ #13908]
3467 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3468 comment.
3469
f402708f
KK
34702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3471
3472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3473 which ROUND is no valid rounding mode.
3474
2ecccfc9
KK
34752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3476
3477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3478 read again.
3479 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3480
8a53f50f
KK
34812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3482
3483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3484 an exception using FPU order intentionally.
3485
34862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3487
3488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3489 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3490 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3491 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3492
d653abb7
SJ
34932012-04-05 Simon Josefsson <simon@josefsson.org>
3494
3495 [BZ #12340]
3496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3497 EINVAL when BUFLEN is too smal.
3498
c3b1bf7d
TS
34992012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3500
3501 [BZ #13553]
3502 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3503 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3504
b1aa60f3
AJ
35052012-04-03 Andreas Jaeger <aj@suse.de>
3506
c3b1bf7d 3507 [BZ #13938]
67f60a26
AJ
3508 * manual/setjmp.texi (System V contexts): Fix sentence.
3509
b1aa60f3
AJ
3510 [BZ #13926]
3511 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3512 New macro for this case.
3513 [!__GNUC__] (__bswap_64): New inline function for this case.
3514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3515 * bits/byteswap.h: Likewise.
3516 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3517 ull, guard with __GLIBC_HAVE_LONG_LONG.
3518
3519 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3520 __GLIBC_HAVE_LONG_LONG.
3521
3522 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3523 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3524
39c59c35
TMQMF
35252012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3526
3527 [BZ #13691]
3528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3529 inptr and inend, rather than using last_ch.
3530
135ffda8
DM
35312012-04-02 David S. Miller <davem@davemloft.net>
3532
3533 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3534 * stdio-common/printf-parse.h (read_int): Change return type to
3535 'int', return -1 on INT_MAX overflow.
3536 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3537 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3538 overflows INT_MAX. Check for overflow of in-format-string precision
3539 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3540 SIZE_MAX not INT_MAX for integer overflow test.
3541 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3542 skip the construct in the format string but do not record anything.
3543 * stdio-common/bug22.c: Adjust to test both width/prevision
3544 INT_MAX overflow as well as total length INT_MAX overflow. Check
3545 explicitly for proper errno values.
3546
228c019e
TS
35472012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3548
302cadd3
TS
3549 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3550 CHAR_MAX.
3551 * string/test-strcmp.c [! WIDE]: Likewise.
3552 * time/tst-mktime2.c: Likewise for INT_MAX.
3553 * string/test-string.h: #include <sys/param.h> for MIN.
3554
228c019e
TS
3555 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3556 * sysdeps/i386/init-first.c (init): Likewise.
3557 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3558 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3559 * sysdeps/sh/init-first.c (init): Likewise.
3560
cfa633f5
UD
35612012-04-01 Ulrich Drepper <drepper@gmail.com>
3562
3563 * po/ru.po: Update from translation team.
d1635ef8 3564 * po/vi.po: Likewise.
cfa633f5 3565
6cd0a5ea
SP
35662012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3567
3568 * resolv/nss_dns/dns-host.c: Merge copyright years.
3569
4b43400f
LD
35702012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3571
3572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3573 Optimize memcpy with prefetch if
3574 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3575 src, dst pointers have unequal 16 byte alignments.
3576
48c41d04
SP
35772012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3578
3579 [BZ #13928]
3580 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3581 from a CNAME entry and return the minimum ttl for the query.
3582 (gaih_getanswer_slice): Likewise.
3583
b8dc394d
JL
35842012-03-30 Jeff Law <law@redhat.com>
3585
3586 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3587 due to long keys.
3588 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3589 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3590
2f5a5ed0
JL
3591 * resolv/nss_dns/dns-host.c: Update copyright year.
3592
1d39e359
UD
35932012-03-30 Ulrich Drepper <drepper@gmail.com>
3594
c030f70c 3595 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3596 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3597
1d39e359
UD
3598 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3599 comments for sendmmsg.
3600
36012012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3602
3603 [BZ #13691]
3604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3605 with only 1 character between 0x0041 and 0x01b0.
3606 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3607 * wcsmbs/tst-mbsnrtowcs.c: New file.
3608
20fde227
DM
36092012-03-29 David S. Miller <davem@davemloft.net>
3610
3611 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3612 small copies by hand.
3613
984a4237
JL
36142012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 [BZ #13761]
3617 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3618 _nss_compat_initgroups_dyn): Fall back to malloc/free
3619 for large group memberships.
3620
18c9d62b
DM
36212012-03-28 David S. Miller <davem@davemloft.net>
3622
88d85d4f
DM
3623 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3624 that branches into memcpy.
3625 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3628 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3630 bits.
3631 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3632 implementation too.
3633 * sysdeps/sparc/mempcpy.S: New file.
3634
e5aa83e1
DM
3635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3636 the IFUNC routine in the libc case.
3637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3638
88570753
DM
3639 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3641 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3642 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3643 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3644 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3645 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3646 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3647
249d7567
DM
3648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3649 loop to 256 bytes instead of 64 bytes and fix test signedness.
3650
18c9d62b
DM
3651 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3652 * sysdeps/sparc/sparc32/Makefile: rather than here...
3653 * sysdeps/sparc/sparc64/Makefile: and here.
3654
05f3d1f6
UD
36552012-03-28 Ulrich Drepper <drepper@gmail.com>
3656
3657 * malloc/mallocbug.c: Avoid warnings about unused variables.
3658
86ae07a8
JL
36592012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
3661 [BZ #13760]
3662 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3663 in the right place. Discard and retry query if response is
3664 larger than input buffer size.
3665
41bf21a1
JM
36662012-03-28 Joseph Myers <joseph@codesourcery.com>
3667
d6270972
JM
3668 [BZ #369]
3669 [BZ #2678]
3670 [BZ #3866]
3671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3672 x for large integer exponent.
3673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3675 sign of result as needed afterwards.
3676 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3677 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3678 result for underflowing pow the same as for overflow.
3679 (__kernel_standard_l): Handle powl overflow and underflow here
3680 rather than calling __kernel_standard.
3681 * math/libm-test.inc (pow_test): Add more tests.
3682
414fca03 3683 [BZ #3868]
41bf21a1
JM
3684 [BZ #13879]
3685 [BZ #13910]
3686 [BZ #13911]
3687 [BZ #13912]
3688 [BZ #13913]
3689 [BZ #13915]
3690 [BZ #13916]
3691 [BZ #13917]
3692 [BZ #13918]
3693 [BZ #13919]
3694 [BZ #13920]
3695 [BZ #13921]
3696 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3697 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3698 (__kernel_standard_l): New function.
3699 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3700 __kernel_standard.
3701 * math/w_acosl.c (__acosl): Likewise.
3702 * math/w_asinl.c (__asinl): Likewise.
3703 * math/w_atan2l.c (__atan2l): Likewise.
3704 * math/w_atanhl.c (__atanhl): Likewise.
3705 * math/w_coshl.c (__coshl): Likewise.
3706 * math/w_exp10l.c (__exp10l): Likewise.
3707 * math/w_exp2l.c (__exp2l): Likewise.
3708 * math/w_fmodl.c (__fmodl): Likewise.
3709 * math/w_hypotl.c (__hypotl): Likewise.
3710 * math/w_j0l.c (__j0l, __y0l): Likewise.
3711 * math/w_j1l.c (__j1l, __y1l): Likewise.
3712 * math/w_jnl.c (__jnl, __ynl): Likewise.
3713 * math/w_lgammal.c (__lgammal): Likewise.
3714 * math/w_log10l.c (__log10l): Likewise.
3715 * math/w_log2l.c (__log2l): Likewise.
3716 * math/w_logl.c (__logl): Likewise.
3717 * math/w_powl.c (__powl): Likewise.
3718 * math/w_remainderl.c (__remainderl): Likewise.
3719 * math/w_scalbl.c (sysv_scalbl): Likewise.
3720 * math/w_sinhl.c (__sinhl): Likewise.
3721 * math/w_sqrtl.c (__sqrtl): Likewise.
3722 * math/w_tgammal.c (__tgammal): Likewise.
3723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3724 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3725 * math/libm-test.inc (acos_test): Add more tests.
3726 (acosh_test): Likewise.
3727 (asin_test): Likewise.
3728 (atanh_test): Likewise.
3729 (exp_test): Likewise.
3730 (exp10_test): Likewise.
3731 (exp2_test): Likewise.
3732 (expm1_test): Likewise.
3733 (lgamma_test): Likewise.
3734 (log_test): Likewise.
3735 (log10_test): Likewise.
3736 (log1p_test): Likewise.
3737 (log2_test): Likewise.
3738 (pow_test): Do not allow some spurious overflow exceptions.
3739 (sqrt_test): Add more tests.
3740 (tgamma_test): Likewise.
3741 (y0_test): Likewise.
3742 (y1_test): Likewise.
3743 (yn_test): Likewise.
3744
dd62fda6
AB
37452012-03-27 Anton Blanchard <anton@samba.org>
3746
3747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3748 MAP_HUGETLB.
3749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3752
1e3cdfda
AJ
37532012-03-27 David S. Miller <davem@davemloft.net>
3754
b855ab85
DM
3755 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3756
1e3cdfda
AJ
3757 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3758 have-as-vis3 check.
3759
37602012-03-27 Andreas Jaeger <aj@suse.de>
3761
3762 * sysdeps/x86_64/elf/configure.in: Moved to ...
3763 * sysdeps/x86_64/configure.in: ... here.
3764 * sysdeps/x86_64/elf/start.S: Moved to ...
3765 * sysdeps/x86_64/start.S: ... here.
3766 * sysdeps/x86_64/elf/configure: Delete.
3767
3768 * sysdeps/x86_64/configure.in: Merge contents from
3769 sysdeps/i386/configure.in (without i686 check).
3770
3771 * sysdeps/i386/elf/Versions: Merge into ...
3772 * sysdeps/i386/Versions: ... this.
3773 * sysdeps/i386/elf/Versions: Delete file.
3774 * sysdeps/i386/elf/start.S: Moved to ...
3775 * sysdeps/i386/start.S: ...here.
3776 * sysdeps/i386/elf/configure.in: Merge into...
3777 * sysdeps/i386/configure.in: ...here.
3778 * sysdeps/i386/elf/configure.in: Delete file.
3779 * sysdeps/i386/elf/configure: Delete file.
3780
3781 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3782 * debug/backtracesyms.c: ... here.
3783 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3784 * debug/backtracesymsfd.c: ... here.
3785 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3786 * sysdeps/generic/ifunc-sel.h: ... here.
3787
3788 * sysdeps/unix/i386/start.c: Delete file.
3789 * sysdeps/unix/sparc/start.c: Delete file.
3790 * sysdeps/unix/start.c: Delete file.
3791
3792 * sysdeps/sh/elf/configure.in: Moved to ...
3793 * sysdeps/sh/configure.in: ... here.
3794 * sysdeps/sh/elf/start.S: Moved to ...
3795 * sysdeps/sh/start.S: ... here.
3796 * sysdeps/sh/elf/configure: Delete file.
3797
3798 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3799 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3800 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3801 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3802 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3803 * sysdeps/powerpc/powerpc64/start.S: here.
3804 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3805 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3806 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3807 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3808 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3809
3810 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3811 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3812 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3813 * sysdeps/powerpc/powerpc32/start.S: ... here.
3814 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3815 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3816 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3817
3818 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3819 * sysdeps/powerpc/ifunc-sel.h: ... here.
3820 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3821 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3822
3823 * sysdeps/sparc/elf/configure.in: Moved to ...
3824 * sysdeps/sparc/configure.in: ... here.
3825 * sysdeps/sparc/elf/configure: Delete file.
3826 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3827 * sysdeps/sparc/sparc32/start.S: ... here.
3828 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3829 * sysdeps/sparc/sparc64/start.S: ... here.
3830 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3831 * sysdeps/sparc/sparc32/Makefile: ... this.
3832 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3833 * sysdeps/sparc/sparc64/Makefile: ... this.
3834
3835 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3836 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3837 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3838 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3839 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3840 * sysdeps/s390/s390-32/setjmp.S: ... here.
3841 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3842 * sysdeps/s390/s390-32/configure.in: ... here.
3843 * sysdeps/s390/s390-32/elf/configure: Delete file.
3844 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3845 * sysdeps/s390/s390-32/start.S: ... here.
3846
3847 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3848 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3849 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3850 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3851 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3852 * sysdeps/s390/s390-64/setjmp.S: ... here.
3853 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3854 * sysdeps/s390/s390-64/configure.in: ... here
3855 * sysdeps/s390/s390-64/elf/configure: Delete file.
3856 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3857 * sysdeps/s390/s390-64/start.S: ... here.
3858 * sysdeps/s390/s390-64/elf/configure: Delete.
3859
3860 * configure.in: Remove support for elf directories in sysdeps.
3861
3862 * configure: Regenerated.
3863 * sysdeps/i386/configure: Regenerated.
3864 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3865 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3866 * sysdeps/s390/s390-32/configure: Regenerated.
3867 * sysdeps/s390/s390-64/configure: Regenerated.
3868 * sysdeps/sh/configure: Regenerated.
3869 * sysdeps/sparc/configure: Regenerated.
3870 * sysdeps/x86_64/configure: Regenerated.
3871
a3f61311
AS
38722012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3873
c876e002
AS
3874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3875
a3f61311
AS
3876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3877 denormal result into account.
3878
ac4c54f0
RM
38792012-03-25 Roland McGrath <roland@hack.frob.com>
3880
3881 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3882 Reported by Allan McRae <allan@archlinux.org>.
3883
6a9b9c02
JL
38842012-03-23 Jeff Law <law@redhat.com>
3885
3886 * nss/getnssent.c (__nss_getent): Fix typo.
3887
4c42a0c1
DM
38882012-03-23 David S. Miller <davem@davemloft.net>
3889
3890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3891
1532c7ac
L
38922012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3895 to pad to uint64_t for each field.
3896 (dl_tls_index): Replace unsigned long with uint64_t.
3897
3ff42526
PP
38982012-03-23 Daniel Jacobowitz <dmj@google.com>
3899 Paul Pluzhnikov <ppluzhnikov@google.com>
3900
3901 [BZ #6528]
3902 * grp/Makefile (otherlibs): Don't set it.
3903 * inet/Makefile (otherlibs): Likewise.
3904 * login/Makefile (otherlibs): Likewise.
3905 * nscd/Makefile (otherlibs): Likewise.
3906 * posix/Makefile (otherlibs): Likewise.
3907 * pwd/Makefile (otherlibs): Likewise.
3908 * rt/Makefile (otherlibs): Likewise.
3909 * sunrpc/Makefile (otherlibs): Likewise.
3910 * nss/Makefile (otherlibs): Likewise.
3911 Add libnss_files to routines and static-only-routines.
3912 ($(objpfx)getent): Remove rule.
3913 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3914 static-only-routines.
3915
7c69cd14
JM
39162012-03-22 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #13892]
3919 * math/s_cexp.c: Include <float.h>.
3920 (__cexp): Handle exp result overflowing not necessarily
3921 overflowing both real and imaginary parts of result.
3922 * math/s_cexpf.c: Likewise.
3923 * math/s_cexpl.c: Likewise.
3924 * math/libm-test.inc (cexp_test): Add more tests.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927
81b035fe
L
39282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * include/link.h (ELFW): New macro.
3931 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3932 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3933
1da7940c
L
39342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3937 with uint64_t.
3938
b749dbb9
L
39392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3940
3941 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3942 declaration.
3943 (struct La_x32_retval): Likewise.
3944
2ff87f3f
L
39452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3946
3947 * sysdeps/x86_64/preconfigure.in: New file.
3948 * sysdeps/x86_64/preconfigure: New generated file.
3949
c0df8e69
JM
39502012-03-22 Joseph Myers <joseph@codesourcery.com>
3951
48e44791
JM
3952 [BZ #13824]
3953 * math/e_exp2l.c: Include <float.h>.
3954 (__ieee754_exp2l): Handle overflow and underflow cases
3955 separately. Only pass fractional part of argument to
3956 __ieee754_expl.
3957 * math/libm-test.inc (exp2_test): Add more tests.
3958
c0df8e69
JM
3959 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3960 negating x to take absolute value.
3961 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3962 Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3965 Likewise.
3966 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3967 computing low part if x was negated.
3968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3969
c8e43ba7
L
39702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3973 la_x32_gnu_pltexit.
3974 (pltexit): Cast int_retval to ptrdiff_t.
3975 * elf/tst-auditmod3b.c: Likewise.
3976 * elf/tst-auditmod4b.c: Likewise.
3977 * elf/tst-auditmod5b.c: Likewise.
3978 * elf/tst-auditmod6b.c: Likewise.
3979 * elf/tst-auditmod6c.c: Likewise.
3980 * elf/tst-auditmod7b.c: Likewise.
3981
3982 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3983 and x32_gnu_pltexit.
3984
3985 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3986 __ELF_NATIVE_CLASS.
3987 (La_x32_regs): New macro.
3988 (La_x32_retval): Likewise.
3989 (la_x32_gnu_pltenter): New function prototype.
3990 (la_x32_gnu_pltexit): Likewise.
3991
7998fa78
AS
39922012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3993
dcb33988
AS
3994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3995 exponent.
3996
233fc563
AS
3997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3998
7998fa78
AS
3999 * configure.in (libc_cv_cc_nofma): Check for option to disable
4000 generation of FMA instructions.
4001 * configure: Regenerate.
4002 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4003 * sysdeps/ieee754/dbl-64/Makefile: New file.
4004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4005 Remove brandred-fma4.
4006 (CFLAGS-brandred-fma4.c): Remove.
4007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4009 define.
4010 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4011 define.
4012
8e95c99a
L
40132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4016 LLONG_MAX != LONG_MAX.
4017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4018 (_fitoa_word): Likewise.
4019 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4020 LLONG_MAX != LONG_MAX.
4021 * stdio-common/_itowa.h: Include <_itoa.h>.
4022 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4023 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4024 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4025 only if not defined.
4026 (_ITOA_WORD_TYPE): Likewise.
4027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4028 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4029
6f4db457
DM
40302012-03-21 David S. Miller <davem@davemloft.net>
4031
4032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4033
7785fe5a
L
40342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4037 of x86_64 when setting libc_cv_slibdir, libdir and
4038 libc_cv_localedir.
4039 * sysdeps/unix/sysv/linux/configure: Regenerated.
4040
4535cd55
JM
40412012-03-21 Joseph Myers <joseph@codesourcery.com>
4042
4043 * manual/lang.texi (Old Varargs): Remove section.
4044 (How Variadic): Update menu.
4045 (va_start): Do not mention varargs.h.
4046
17228132
TS
40472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4048 Joseph Myers <joseph@codesourcery.com>
4049
4050 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4051 link test.
4052 * configure: Regenerated.
4053
8149f976
TS
40542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4055
05f3d1f6
UD
4056 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4057 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4058 conformtest.pl
8149f976 4059
1a4ac776
JM
40602012-03-21 Joseph Myers <joseph@codesourcery.com>
4061
be22ce65
JM
4062 * NOTES: Remove.
4063 * Makefile (files-for-dist): Remove NOTES.
4064 (NOTES): Remove rule.
4065 * README: Don't refer to NOTES.
4066 * manual/creature.texi: Don't include macros.texi.
4067 * manual/intro.texi (creature.texi): Remove comment referring to
4068 NOTES.
4069
40b601fb
JM
4070 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4071 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4072 * configure: Regenerated.
4073 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4074 LIBC_TRY_CC_OPTION.
4075 (libc_cv_as_i686): Likewise.
4076 (libc_cv_cc_avx): Likewise.
4077 (libc_cv_cc_sse2avx): Likewise.
4078 (libc_cv_cc_fma4): Likewise.
4079 (libc_cv_cc_novzeroupper): Likewise.
4080 * sysdeps/i386/configure: Regenerated.
4081
1a4ac776
JM
4082 [BZ #13883]
4083 * sysdeps/i386/fpu/s_cexp.S: Remove.
4084 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4086 * math/libm-test.inc (cexp_test): Add more tests.
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089
a458e7fe
AM
40902012-03-21 Allan McRae <allan@archlinux.org>
4091
4092 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4093
0cb7efc5
JM
40942012-03-21 Joseph Myers <joseph@codesourcery.com>
4095
4096 [BZ #13871]
4097 * math/w_exp2.c: Do not include <float.h>.
4098 (o_threshold, u_threshold): Remove.
4099 (__exp2): Calculate result before checking finiteness and calling
4100 __kernel_standard.
4101 * math/w_exp2f.c: Likewise.
4102 * math/w_exp2l.c: Likewise.
4103 * math/libm-test.inc (exp2_test): Require overflow exception for
4104 1e6 input.
2460d3aa
JM
4105
4106 [BZ #3866]
4107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4108 range of signed 64-bit integers before using fistpll. Remove
4109 checks for whether integers fit in mantissa bits.
4110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4111 the range of signed 32-bit integers before using fistpl. Remove
4112 checks for whether integers fit in mantissa bits.
4113 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4118 divide-by-zero is raised for zero to large negative powers.
4119 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4120 (__ieee754_powl): Test for y outside the range of signed 64-bit
4121 integers before using fistpll. Reduce 64-bit values to 63-bit
4122 ones as needed.
4123 * math/libm-test.inc (pow_test): Add more tests.
4124
eb96ffb0
L
41252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4126
4127 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4128 <stdio-common/_itoa.h>.
4129 * debug/segfault.c: Likewise.
4130 * elf/dl-cache.c: Likewise.
4131 * elf/dl-minimal.c: Likewise.
4132 * elf/dl-misc.c: Likewise.
4133 * elf/dl-sysdep.c: Likewise.
4134 * elf/dl-version.c: Likewise.
4135 * elf/rtld.c: Likewise.
4136 * hurd/hurdsock.c: Likewise.
4137 * hurd/lookup-retry.c: Likewise.
4138 * malloc/malloc.c: Likewise.
4139 * malloc/mtrace.c: Likewise.
4140 * nscd/nscd_getgr_r.c: Likewise.
4141 * nscd/nscd_getpw_r.c: Likewise.
4142 * nscd/nscd_getserv_r.c: Likewise.
4143 * posix/getopt_init.c: Likewise.
4144 * posix/wordexp.c: Likewise.
4145 * stdio-common/_itoa.c: Likewise.
4146 * stdio-common/printf_fphex.c: Likewise.
4147 * stdio-common/vfprintf.c: Likewise.
4148 * string/_strerror.c: Likewise.
4149 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4150 * sysdeps/i386/i686/hp-timing.h: Likewise.
4151 * sysdeps/mach/_strerror.c: Likewise.
4152 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4153 * sysdeps/mach/hurd/sethostid.c: Likewise.
4154 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4155 * sysdeps/mach/xpg-strerror.c: Likewise.
4156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4158 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4159 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4161 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4163 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4164 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4165 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4168 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4169 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4174 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4175 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4177
4178 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4179
4180 * stdio-common/_itoa.h: Moved to ...
4181 * sysdeps/generic/_itoa.h: Here.
4182
4183 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4184
4185 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4186 instead of "_itoa.h" and "_itowa.h".
4187 * stdio-common/vfprintf.: Likewise.
4188
d1af992d
L
41892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4190
4191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4192 <bits/wordsize.h>.
4193 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4194 (__signbit): Likwise.
4195 (llrintf): Likwise.
4196 (llrint): Likwise.
4197
114883e0
L
41982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4199
4200 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4201 __WORDSIZE != 64.
4202
c135cc1b
JM
42032012-03-20 Joseph Myers <joseph@codesourcery.com>
4204
4205 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4206 OVERFLOW_EXCEPTION_OK.
4207 * math/libm-test.inc ("Philosophy"): Update comment about
4208 exception testing.
4209 (OVERFLOW_EXCEPTION): Define.
4210 (OVERFLOW_EXCEPTION_OK): Likewise.
4211 (INVALID_EXCEPTION_OK): Renumber.
4212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4213 (IGNORE_ZERO_INF_SIGN): Likewise.
4214 (test_exceptions): Handle FE_OVERFLOW.
4215 (exp10_test): Expect overflow exceptions.
4216 (exp2_test): Likewise.
4217 (expm1_test): Likewise.
4218 (nextafter_test): Likewise.
4219 (pow_test): Likewise.
4220 (scalbn_test): Likewise.
4221 (scalbln_test): Likewise.
4222
95443d88
L
42232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/x86_64/bits/atomic.h
4226 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4227 64bit integer.
4228 (atomic_exchange_acq): Likewise.
4229 (__arch_exchange_and_add_body): Likewise.
4230 (__arch_add_body): Likewise.
4231 (atomic_add_negative): Likewise.
4232 (atomic_add_zero): Likewise.
4233
490df6c4
L
42342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4235
c2722551 4236 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4237 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4238
5e52b189
L
42392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4242 Check __x86_64__ instead of __WORDSIZE.
4243
a9879d4c
L
42442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4247
5df98260
DM
42482012-03-19 David S. Miller <davem@davemloft.net>
4249
e1497744
DM
4250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4251
5df98260
DM
4252 * sysdeps/sparc/fpu/fenv_private.h: New file.
4253 * sysdeps/sparc/fpu/math_private.h: Use it.
4254 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4255 Remove.
4256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4257 (libc_feholdexcept_setroundl): Remove.
4258 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4259 Remove.
4260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4262
b4c35121
L
42632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4266 int64_t instead of long int.
4267 (INSERT_WORDS64): Likwise.
4268
56965fd7
L
42692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4272 _Unwind_GetCFA return to _Unwind_Ptr first.
4273
83d1aec8
JM
42742012-03-19 Joseph Myers <joseph@codesourcery.com>
4275
1897ad44
JM
4276 [BZ #13629]
4277 * math/s_clog.c: Include <float.h>.
4278 (__clog): Scale large or subnormal inputs.
4279 * math/s_clogf.c: Likewise.
4280 * math/s_clogl.c: Likewise.
4281 * math/s_clog10.c: Include <float.h>.
4282 (M_LOG10_2): Define.
4283 (__clog10): Scale large or subnormal inputs.
4284 * math/s_clog10f.c: Likewise.
4285 * math/s_clog10l.c: Likewise.
4286 * math/libm-test.inc (clog_test): Add more tests.
4287 (clog10_test): Likewise.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4290
7726d6a9
JM
4291 [BZ #11451]
4292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4293 x and y.
4294 * math/libm-test.inc (atan2_test): Add another test.
4295
83d1aec8
JM
4296 * Makerules (common-objdir-compile): Remove.
4297 * sysdeps/unix/Makefile (config-generated): Do not add
4298 $(unix-generated) to variable.
4299 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4300 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4301 Remove rule.
4302 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4303 Likewise.
4304 [generic bits/local_lim.h] (before-compile): Do not append to
4305 variable.
4306 [generic bits/local_lim.h] (common-generated): Likewise.
4307 [generic sys/param.h] (before-compile): Do not append to variable.
4308 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4309 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4310 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4312 include.
4313 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4314 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4315 [generic sys/param.h] ($(addprefix
4316 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4317 [generic sys/param.h] (common-generated): Do not append to
4318 variable.
4319 [generic sys/param.h] (sysdep_headers): Likewise.
4320 [generic bits/errno.h] (before-compile): Do not append to
4321 variable.
4322 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4323 rule.
4324 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4325 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4326 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4327 [generic bits/errno.h] (common-generated): Do not append to
4328 variable.
4329 [generic bits/ioctls.h] (before-compile): Do not append to
4330 variable.
4331 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4332 rule.
4333 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4334 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4335 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4336 rule.
4337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4338 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4339 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4340 [generic bits/ioctls.h] (common-generated): Do not append to
4341 variable.
4342 [generic sys/syscall.h] (syscall.h): Remove variable.
4343 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4344 rule.
4345 [generic sys/syscall.h] (before-compile): Do not append to
4346 variable.
4347 [generic sys/syscall.h] (common-generated): Likewise.
4348 * sysdeps/unix/errnos-tmpl.c: Remove file.
4349 * sysdeps/unix/errnos.awk: Likewise.
4350 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4351 * sysdeps/unix/ioctls.awk: Likewise.
4352 * sysdeps/unix/mk-local_lim.c: Likewise.
4353 * sysdeps/unix/snarf-ioctls: Likewise.
4354
4851a949
RH
43552012-03-19 Richard Henderson <rth@twiddle.net>
4356
bd37f2ee
RH
4357 * sysdeps/i386/fpu/fenv_private.h: New file.
4358 * sysdeps/i386/fpu/math_private.h: Use it.
4359 (math_opt_barrier, math_force_eval): Remove.
4360 (libc_feholdexcept_setround_53bit): Remove.
4361 (libc_feupdateenv_53bit): Remove.
4362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4363 (math_opt_barrier, math_force_eval): Remove.
4364 (libc_feholdexcept): Remove.
4365 (libc_feholdexcept_setround): Remove.
4366 (libc_fetestexcept, libc_fesetenv): Remove.
4367 (libc_feupdateenv_test): Remove.
4368 (libc_feupdateenv, libc_feholdsetround): Remove.
4369 (libc_feresetround): Remove.
4370
d0adc922
RH
4371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4372 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4373
0fe0f1f8
RH
4374 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4375 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4376 (libc_feupdateenv_testl): New.
4377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4378 (libc_feupdateenv_testf): New.
4379 (libc_feupdateenv): Use libc_feupdateenv_test.
4380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4382
eb92c487
RH
4383 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4384 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4385 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4386 (libc_feresetround_noex): New.
4387 (libc_feresetround_noexf): New.
4388 (libc_feresetround_noexl): New.
4389 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4390 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4391 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4393 SET_RESTORE_ROUND.
4394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4396 (__cos): Likewise.
4397 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4399 SET_RESTORE_ROUND_NOEX.
4400 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4401 SET_RESTORE_ROUND_NOEXF.
4402 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4403 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4404 (libc_feholdsetroundf): New.
4405 (libc_feresetround, libc_feresetroundf): New.
4406
7d2e8012
RH
4407 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4408 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4409 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4410
b4dabbb4
RH
4411 * sysdeps/generic/math_private.h: Include <fenv.h>.
4412 (default_libc_feholdexcept): New.
4413 (default_libc_feholdexcept_setround): New.
4414 (default_libc_fesetenv, default_libc_feupdateenv): New.
4415 (libc_feholdexcept): Only define if undefined.
4416 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4418 (libc_feholdexcept_setroundl): Likewise.
4419 (libc_feholdexcept_setround_53bit): Likewise.
4420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4423 (libc_feupdateenv_53bit): Likewise.
4424 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4425 (libc_feholdexcept): Convert from macro to inline function.
4426 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4427 (libc_fesetenv, libc_feupdateenv): Likewise.
4428
4851a949
RH
4429 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4430 not previously defined.
4431 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4432 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4433 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4434 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4435 * sysdeps/ieee754/flt-32/math_private.h: New file.
4436 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4437 math_private.h below SET_FLOAT_WORD.
4438 (__isnan, __isinf_ns, __finite): Remove.
4439 (__isnanf, __isinf_nsf, __finitef): Remove.
4440
e79d442e
AS
44412012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4442
4443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4444
90b80344
DM
44452012-03-17 David S. Miller <davem@davemloft.net>
4446
4447 [BZ #6471]
4448 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4449 for 2.16.
4450
edc21804
DM
44512012-03-16 David S. Miller <davem@davemloft.net>
4452
77e927af
DM
4453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4454 warnings.
4455
374976dd
DM
4456 [BZ #6471]
4457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4458 properly.
4459 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4460 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4461 sysdep_routines when subdir is sysvipc.
4462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4463 __getshmlba helper.
4464
edc21804
DM
4465 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4466
473c3ef3
L
44672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4470 [__LP64__].
4471
eb0f39b6
L
44722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4475 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4476 (__lround): Renamed to ...
4477 (__llround): This. Replace long int with long long int.
4478 Define lround functions as aliases of llround functions.
4479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4480
6b6cd74b
L
44812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4484 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4485 adresses to uintptr_t. Replace "long int" and "unsigned long
4486 int" with "greg_t" on va_arg.
4487
f1a77b01
L
44882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4491 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4492
4493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4494 Move e_machine check before EI_CLASS check. Handle x32
4495 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4496 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4497 SKIP_EM_IA_64 and include
4498 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4499
4500 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4501 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4502 (add_system_dir): New macro.
4503
4504 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4505 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4506
11b90b9f
JM
45072012-03-16 Joseph Myers <joseph@codesourcery.com>
4508
c36e1d23
JM
4509 [BZ #2551]
4510 [BZ #2552]
4511 [BZ #2553]
4512 [BZ #2554]
4513 [BZ #2562]
4514 [BZ #2563]
4515 [BZ #2565]
4516 [BZ #2566]
4517 [BZ #2576]
4518 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4519 (y0): Likewise.
4520 * math/w_j0f.c (j0f): Likewise.
4521 (y0f): Likewise.
4522 * math/w_j0l.c (__j0l): Likewise.
4523 (__y0l): Likewise.
4524 * math/w_j1.c (j1): Likewise.
4525 (y1): Likewise.
4526 * math/w_j1f.c (j1f): Likewise.
4527 (y1f): Likewise.
4528 * math/w_j1l.c (__j1l): Likewise.
4529 (__y1l): Likewise.
4530 * math/w_jn.c (jn): Likewise.
4531 (yn): Likewise.
4532 * math/w_jnf.c (jnf): Likewise.
4533 (ynf): Likewise.
4534 * math/w_jnl.c (__jnl): Likewise.
4535 (__ynl): Likewise.
4536 * math/libm-test.inc (j0_test): Add more tests.
4537 (j1_test): Likewise.
4538 (jn_test): Likewise. Add trailing semicolon to existing test.
4539 (y0_test): Likewise.
4540 (y1_test): Likewise.
4541 * sysdeps/i386/fpu/libm-test-ulps: Update.
4542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4543
11b90b9f
JM
4544 [BZ #13851]
4545 [BZ #13854]
4546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4547 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4548 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4550 (__tanl): Set errno for infinite argument.
4551 * sysdeps/i386/fpu/mptan.c: Remove.
4552 * sysdeps/i386/fpu/s_tan.S: Likewise.
4553 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4554 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4555 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4556 * math/libm-test.inc (tan_test): Add more tests and enable more
4557 tests for double and long double.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4560
6a1bd2a1
JK
45612012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4562
4563 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4564 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4565
10a803e0
RM
45662012-03-16 Roland McGrath <roland@hack.frob.com>
4567
4568 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4569 * configure.in: Use it for both main tree and add-ons.
4570 * configure: Regenerated.
4571
f196c7f7
L
45722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4575
8848d99d
JM
45762012-03-16 Joseph Myers <joseph@codesourcery.com>
4577
96cbe7f4
JM
4578 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4579 in comment.
4580
8848d99d
JM
4581 [BZ #13851]
4582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4583 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4586 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4587 infinite argument.
4588 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4590 != 0 for prec == 2.
4591 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4592 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4593 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4594 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4595 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4596 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4597 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4598 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4599 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4600 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4601 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4602 * math/libm-test.inc (cos_test): Add more tests and enable more
4603 tests for long double.
4604 (sin_test): Likewise.
4605 (sincos_test): Likewise.
4606 * sysdeps/i386/fpu/libm-test-ulps: Update.
4607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4608
dd7f4703
DM
46092012-03-16 David S. Miller <davem@davemloft.net>
4610
4611 * sysdeps/sparc/fpu/math_private.h: New file.
4612
006f1daa
DM
46132012-03-15 David S. Miller <davem@davemloft.net>
4614
c0c83bc8
DM
4615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4616 file.
e6a62e18 4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4619 file.
e6a62e18
DM
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4626 sysdep routines.
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4628
88cb87d9
DM
4629 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4630 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4631
006f1daa 4632 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4634 sparc-ifunc.h
006f1daa 4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4637 Likewise.
4638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4639 Likewise.
006f1daa
DM
4640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4644 Likewise.
006f1daa
DM
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4650 Likewise.
4651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4652 Likewise.
006f1daa
DM
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4677
11e0098e
AS
46782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4681 scaling.
4682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4683
e85b09d0
AJ
46842012-03-15 Andreas Jaeger <aj@suse.de>
4685
4686 [BZ #13852]
4687 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4688 ieee754/flt-32 implementation for sin, cos and sincos.
4689 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4690 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4691 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4692 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4693 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4694 ieee754/flt-32 implementation for tan.
4695
4696 * math/libm-test.inc (cos_test): Enable some large input tests for
4697 float as well
4698 (sin_test): Likewise.
4699 (sincos_test): Likewise.
4700 (tan_test): Add tests for large input.
4701
4702 * sysdeps/i386/fpu/libm-test-ulps: Update.
4703
81c64153
AJ
47042012-03-15 Andreas Jaeger <aj@suse.de>
4705
4706 [BZ #13658]
4707 * math/libm-test.inc (cos_test): Add more test cases.
4708 (sin_test): Likewise.
4709 (sincos_test): Likewise.
4710
7bbfa5c6
AJ
47112012-03-15 Andreas Jaeger <aj@suse.de>
4712
4713 [BZ #13837]
4714 * math/libm-test.inc (cos_test): Add a test case for large input
4715 value.
4716 (sin_test): Likewise.
4717 (sincos_test): Likewise.
4718
47192012-03-15 Andreas Jaeger <aj@suse.de>,
4720 Joseph Myers <joseph@codesourcery.com>
4721
4722 [BZ #13658]
0671f479 4723 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4724 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4725 * sysdeps/i386/fpu/branred.c: Likewise.
4726 * sysdeps/i386/fpu/dosincos.c: Likewise.
4727 * sysdeps/i386/fpu/mpa.c: Likewise.
4728 * sysdeps/i386/fpu/s_cos.S: Likewise.
4729 * sysdeps/i386/fpu/s_sin.S: Likewise.
4730 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4731 * sysdeps/i386/fpu/sincos32.c: Likewise.
4732
4733 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4734 Define.
4735 (libc_feupdateenv_53bit): Define.
4736 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4737 Define.
4738 (libc_feupdateenv_53bit): Define.
4739
4740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4741 53 bit (without extend i386 double precision).
4742
4743 * math/libm-test.inc (sincos_test): Add tests for large input.
4744 (sin): Likewise.
4745 (cos): Likewise.
4746
4747 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4748
9cad04ea
AS
47492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4750
4751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4752
f7062b9a
DM
47532012-03-15 David S. Miller <davem@davemloft.net>
4754
4755 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4771 file.
f7062b9a 4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4774 file.
f7062b9a 4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4777 file.
f7062b9a 4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4780 file.
f7062b9a
DM
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4783 fmin/fmax sysdep routines.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4785
7bd951ff
DM
47862012-03-14 David S. Miller <davem@davemloft.net>
4787
559398ab
DM
4788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4817 routines.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4819 file.
559398ab 4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4822 file.
559398ab 4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4825 file.
559398ab 4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4828 file.
559398ab 4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4831 file.
559398ab 4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4834 file.
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4836 file.
4837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4838 file.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4840 file.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4842 New file.
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4844 file.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4846 file.
559398ab 4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4849 file.
559398ab 4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4852 file.
559398ab 4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4855 file.
559398ab 4856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4858 VIS3 routines.
559398ab
DM
4859
4860 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4861 New file.
4862
5a1c1e32
DM
4863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4864
eae47a36
DM
4865 * sysdeps/sparc/configure.in: New file.
4866 * sysdeps/sparc/configure: Generate.
4867 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4868 * configure: Regenerate.
4869 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4870 * config.make.in (have-as-vis3): New.
4871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4872 available use -Av9d instead of -Av9a.
4873 * sysdeps/sparc/sparc64/Makefile: Likewise.
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4876 New file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4878 file.
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4880 New file.
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4882 file.
eae47a36
DM
4883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4888
c0c83bc8
DM
4889 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4890 fzeros/fnegs to load 0x80000000 into a float register instead of
4891 using the stack.
7bd951ff
DM
4892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4893
bd951ccb
JM
48942012-03-14 Joseph Myers <joseph@codesourcery.com>
4895
4896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4897 bits/syscall.h.
4898 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4899 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4900 ($(inst_includedir)/bits/syscall.h): Remove rule.
4901 ($(objpfx)bits/syscall.d): Include instead of
4902 $(objpfx)syscall-list.d.
4903 (generated): Change syscall-list.h and syscall-list.d to
4904 bits/syscall.h and bits/syscall.d.
4905
bb4e6db2
RM
49062012-03-14 Roland McGrath <roland@hack.frob.com>
4907
4908 [BZ #13846]
4909 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4910
aa4a2ae1
JM
49112012-03-14 Joseph Myers <joseph@codesourcery.com>
4912
e456826d
JM
4913 [BZ #13841]
4914 * math/s_csqrt.c: Include <float.h>.
4915 (__csqrt): Scale large or subnormal inputs.
4916 * math/s_csqrtf.c: Likewise.
4917 * math/s_csqrtl.c: Likewise.
4918 * math/libm-test.inc (csqrt_test): Add more tests.
4919 * sysdeps/i386/fpu/libm-test-ulps: Update.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921
aa4a2ae1
JM
4922 [BZ #13840]
4923 * math/libm-test.inc (hypot_test): Add more tests.
4924
7c10fd35
DM
49252012-03-13 David S. Miller <davem@davemloft.net>
4926
4927 [BZ #13840]
4928 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4929 double-precision for the calculation instead of scaling.
4930
f453b98b
JM
49312012-03-13 Joseph Myers <joseph@codesourcery.com>
4932
4933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4934 manipulate bits before adding and subtracting TWO52[sx].
4935 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4937 Likewise.
4938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4939
09a3453f
DM
49402012-03-13 David S. Miller <davem@davemloft.net>
4941
8e59da90
DM
4942 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4943 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4945 rtld-global-offsets.h
4946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4947
2a8ab7f2
DM
4948 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4949 large parameters.
4950
10f62770
DM
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4952
5f0bdb18
DM
4953 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4954 'err' in the ifdef scope in which it is actually used.
4955
09a3453f
DM
4956 * nss/nss_db/db-init.c: Include string.h
4957
b4b2eb5e
DM
49582012-03-12 David S. Miller <davem@davemloft.net>
4959
98bb2f1c
DM
4960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4961 masking out of the most significant byte of random value used.
4962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4963 Fix coding style in previous change.
4964
b4b2eb5e
DM
4965 * sysdeps/unix/sysv/linux/kernel-features.h
4966 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4967 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4968 expression.
4969 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4970 later.
4971
6e226b09
DM
49722012-03-11 David S. Miller <davem@davemloft.net>
4973
a1bcbd40
DM
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4975 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4977 for 'resultvar' otherwise things get truncated on 64-bit.
4978
cb9d6174
DM
4979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4980 Fix masking out of the most significant byte of random value used.
4981
6e226b09
DM
4982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4983
058c132d
AS
49842012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4987
2d2cd515
DM
49882012-03-09 David S. Miller <davem@davemloft.net>
4989
4990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4991 variables with appropriate CPP guards.
4992 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4993 frame pointer, not the stack pointer. Correct layout comments. Fix test
4994 on resulting framesize and the management of the outregs buffer for pltexit.
4995 Preserve floating point return values across _dl_call_pltexit call.
4996 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4997 framesize and the management of the outregs buffer for pltexit.
4998 Preserve floating point return values across _dl_call_pltexit
4999 call.
5000 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5001 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5002 (print_exit): Fix format string for return register value.
5003
9a07f9d0
JM
50042012-03-10 Joseph Myers <joseph@codesourcery.com>
5005
5006 * sunrpc/Makefile (others): Add rpcgen.
5007 ($(objpfx)rpcgen): Remove special build rule and dependency on
5008 libc.
5009 * sunrpc/rpcgen.c: New file.
5010
547b5e30
PE
50112012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5012
c524201a
PE
5013 [BZ #13673]
5014 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5015 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5016 * sysdeps/i386/crti.S: Likewise.
5017 * sysdeps/i386/crtn.S: Likewise.
5018 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5019 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5022 * sysdeps/sh/crti.S: Likewise.
5023 * sysdeps/sh/crtn.S: Likewise.
5024 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5025
7b6235f2
PE
5026 [BZ #13673]
5027 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5028 with URL.
5029 * locale/programs/locfile-kw.gperf: Likewise.
5030 * locale/programs/charmap-kw.h: Regenerated.
5031 * locale/programs/locfile-kw.h: Likewise.
5032
547b5e30
PE
5033 [BZ #13673]
5034 * intl/plural.y: Replace FSF snail mail address with URL.
5035 * intl/plural.c: Regenerated.
5036
5f0a5dae
RH
50372012-03-09 Richard Henderson <rth@twiddle.net>
5038
5039 * include/math_private.h: Remove file.
5040 * math/math_private.h: Move file ...
5041 * sysdeps/generic/math_private.h: ... here.
5042
b8c03620
RH
5043 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5044 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5046
4e234f5d 5047 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5048 and <math_private.h>.
5049 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5050 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5141 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5146 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5149 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5150 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5151 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5159 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5176 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5177 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5178 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5179 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5187 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5188 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5192 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5197 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5198 * sysdeps/ieee754/k_standard.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5331 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5359 * sysdeps/ieee754/s_lib_version.c: Likewise.
5360 * sysdeps/ieee754/s_matherr.c: Likewise.
5361 * sysdeps/ieee754/s_signgam.c: Likewise.
5362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5365 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5367 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5368 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5369 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5370 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5371 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5372 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5373 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5374 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5376 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5377 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5383
1991fa03
JM
53842012-03-09 Joseph Myers <joseph@codesourcery.com>
5385
5386 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5387 * sunrpc/rpc_main.c: Likewise.
5388 * sunrpc/rpc_svcout.c: Likewise.
5389
60d6f5a6
DM
53902012-03-09 David S. Miller <davem@davemloft.net>
5391
5392 * include/math_private.h: New file.
5393
4962050e
JM
53942012-03-09 Joseph Myers <joseph@codesourcery.com>
5395
02a6f887
JM
5396 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5397 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5398 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5399 from <bits/socket_type.h>.
5400 (enum __socket_type): Don't define here.
5401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5403 bits/socket_type.h.
5404
c6e013c1
JM
5405 [BZ #13566]
5406 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5407 checking __USE_GNU.
5408
4962050e
JM
5409 * Makerules ($(inst_includedir)/%.h): New rule.
5410 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5411 (install-others): Remove variable setting.
5412 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5413
38842f45
RH
54142012-03-08 Richard Henderson <rth@twiddle.net>
5415
67bb6da6
RH
5416 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5417 from macro to inline function; merge with the
5418 !__LIBC_INTERNAL_MATH_INLINES version.
5419 (__ieee754_sqrtf): Likewise.
5420
15194b4b
RH
5421 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5422 to inline function.
5423 (__rintf, __floor, __floorf): Likewise.
5424
64e21ede
RH
5425 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5426 macro to inline function.
5427 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5428
38842f45
RH
5429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5430 not <math/math_private.h>.
5431
c64bf5fe
DM
54322012-03-08 David S. Miller <davem@davemloft.net>
5433
5434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5435 copyright year.
5436 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5437
82d86f28
TS
54382012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5439
5440 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5441 normalization.
5442 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5443 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5444
aea5d727
UD
54452012-03-08 Ulrich Drepper <drepper@gmail.com>
5446
5447 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5448 be defined individually, they must be defined as a block. Define
5449 S for printing a string instead of hidint the different by using a
5450 macro for adding the 'l'.
5451 * stdio-common/tst-fphex-wide.c: Adjust.
5452
70bca0a3
MP
54532012-03-07 Marek Polacek <polacek@redhat.com>
5454
5455 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5456
65b81130
MP
54572012-03-08 Marek Polacek <polacek@redhat.com>
5458
5459 [BZ #13806]
5460 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5461 * stdio-common/tst-fphex.c: Define a few macros to make the
5462 test reusable. Use them.
5463 * stdio-common/tst-fphex-wide.c: New file.
5464
07037eeb
JM
54652012-03-08 Joseph Myers <joseph@codesourcery.com>
5466
a7a93d50
JM
5467 [BZ #6911]
5468 * manual/macros.texi (gnusystems): New macro.
5469 (nongnusystems): Likewise.
5470 (gnulinuxhurdsystems): Likewise.
5471 (gnuhurdsystems): Likewise..
5472 (gnulinuxsystems): Likewise.
5473 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5474 variants of the GNU system, not "GNU system".
5475 * manual/conf.texi: Likewise.
5476 * manual/errno.texi: Likewise. Update example of errno macro
5477 expansion.
5478 * manual/filesys.texi: Likewise.
5479 (getumask): Document as specific to GNU/Hurd.
5480 * manual/install.texi: Likewise. Reword some references to
5481 GNU/Linux.
5482 * manual/intro.texi: Likewise.
5483 * manual/io.texi: Likewise.
5484 (File Name Portability): Detail which constraints are inapplicable
5485 to all GNU systems and which are only inapplicable to GNU/Hurd.
5486 * manual/job.texi: Likewise.
5487 * manual/llio.texi: Likewise.
5488 (O_NOCTTY): Document as present on GNU/Linux.
5489 * manual/maint.texi: Likewise.
5490 * manual/memory.texi: Likewise.
5491 * manual/pattern.texi: Likewise.
5492 * manual/pipe.texi: Likewise.
5493 * manual/process.texi: Likewise.
5494 * manual/resource.texi: Likewise.
5495 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5496 child on GNU/Hurd.
5497 * manual/setjmp.texi: Likewise.
5498 * manual/signal.texi: Likewise.
5499 * manual/startup.texi: Likewise.
5500 * manual/stdio.texi: Likewise.
5501 * manual/terminal.texi: Likewise.
5502 (ONLCR): Document as POSIX.
5503 (OXTABS): Document availability on GNU/Linux as XTABS.
5504 (ONOEOT): Document availability separately from other bits.
5505 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5506 * manual/time.texi: Likewise.
5507 * manual/users.texi: Likewise.
5508 * INSTALL: Regenerated.
5509 * sysdeps/gnu/errlist.c: Regenerated.
5510
07037eeb
JM
5511 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5512 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5513 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5514 puts.
5515 * configure: Regenerated.
5516
d1d3431a
JM
55172012-03-07 Joseph Myers <joseph@codesourcery.com>
5518
af6a1e37
JM
5519 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5520 default includes instead of AC_HEADER_CHECK.
5521 * sysdeps/i386/configure: Regenerated.
5522
d1d3431a
JM
5523 [BZ #10716]
5524 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5525 * math/s_cacoshf.c (__cacoshf): Likewise.
5526 * math/s_cacoshl.c (__cacoshl): Likewise.
5527 * math/s_casinh.c (__casinh): Set signs of result from argument.
5528 * math/s_casinhf.c (__casinhf): Likewise.
5529 * math/s_casinhl.c (__casinhl): Likewise.
5530 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5531 (casinh_test): Add more tests.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534
482ff4da
UD
55352012-03-07 Ulrich Drepper <drepper@gmail.com>
5536
872fda05
UD
5537 * po/zh_TW.po: Update from translation team.
5538
a4300c7a
UD
5539 * login/Makefile (distribute): Remove variable.
5540 * catgets/Makefile: Likewise.
5541 * mach/Makefile: Likewise.
5542 * malloc/Makefile: Likewise.
5543 * misc/Makefile: Likewise.
5544 * iconv/Makefile: Likewise.
5545 * nscd/Makefile: Likewise.
5546 * hurd/Makefile: Likewise.
5547 * manual/Makefile: Likewise.
5548 * locale/Makefile: Likewise.
5549 * intl/Makefile: Likewise.
5550 * conform/Makefile: Likewise.
5551 * nss/Makefile: Likewise.
5552 * time/Makefile: Likewise.
5553 * soft-fp/Makefile: Likewise.
5554 * dirent/Makefile: Likewise.
5555 * gmon/Makefile: Likewise.
5556 * po/Makefile: Likewise.
5557 * rt/Makefile: Likewise.
5558 * socket/Makefile: Likewise.
5559 * math/Makefile: Likewise.
5560 * signal/Makefile: Likewise.
5561 * debug/Makefile: Likewise.
5562 * elf/Makefile: Likewise.
5563 * timezone/Makefile: Likewise.
5564 * stdlib/Makefile: Likewise.
5565 * iconvdata/Makefile: Likewise.
5566 * sunrpc/Makefile: Likewise.
5567 * io/Makefile: Likewise.
5568 * argp/Makefile: Likewise.
5569 * inet/Makefile: Likewise.
5570 * hesiod/Makefile: Likewise.
5571 * grp/Makefile: Likewise.
5572 * csu/Makefile: Likewise.
5573 * wctype/Makefile: Likewise.
5574 * crypt/Makefile: Likewise.
5575 * libio/Makefile: Likewise.
5576 * string/Makefile: Likewise.
5577 * nis/Makefile: Likewise.
5578 * resolv/Makefile: Likewise.
5579 * stdio-common/Makefile: Likewise.
5580 * wcsmbs/Makefile: Likewise.
5581 * dlfcn/Makefile: Likewise.
5582 * posix/Makefile: Likewise.
5583
3b7c4e74 5584 [BZ #6959]
482ff4da
UD
5585 * timezone/Makefile: Don't install timezone files, just the programs
5586 and scripts.
5587
f72ed77d
UD
55882012-03-06 Ulrich Drepper <drepper@gmail.com>
5589
a000466f
UD
5590 * nss/databases.def: Add missing gshadow entry.
5591
f72ed77d
UD
5592 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5593
a53b7a4e
MP
55942012-03-06 Marek Polacek <polacek@redhat.com>
5595
5596 [BZ #13726]
5597 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5598 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5599 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5600 * stdio-common/tst-long-dbl-fphex.c: New file.
5601
e9258400
DM
56022012-03-06 David S. Miller <davem@davemloft.net>
5603
5604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5605 (set_obp_int): New function.
5606 (get_obp_int): New function.
5607 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5609 Avoid unused variable warnings on 'val' and use builtin_expect.
5610 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5611 __builtin_expect.
e9258400
DM
5612 (INLINE_CLONE_SYSCALL): Likewise.
5613
3bd2c723
DM
56142012-03-05 David S. Miller <davem@davemloft.net>
5615
5616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5617
bbb78d03
AS
56182012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5619
884c5db4
AS
5620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5621
bbb78d03
AS
5622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5623 only for |x| >= 40.
5624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5625
1c9f702a 56262012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5627
5628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5629 Replace gettimeofday with __vdso_gettimeofday.
5630
7be16f82
RM
5631 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5632 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5633 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5634
5635 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5636 time with __vdso_time.
5637
ed58a00f
JM
56382012-03-05 Joseph Myers <joseph@codesourcery.com>
5639
5640 * manual/lang.texi (size_t): Note types to which size_t may be
5641 equivalent with the GNU C Library, but do not describe when
5642 differences between them are significant.
5643
30ee4ced
AJ
56442012-03-05 Andreas Jaeger <aj@suse.de>
5645
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5647
b7cd39e8
JM
56482012-03-05 Joseph Myers <joseph@codesourcery.com>
5649
5650 [BZ #3976]
5651 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5652 (__ieee754_pow): Save and restore rounding mode and use
5653 round-to-nearest for main computations.
5654 * math/libm-test.inc (pow_test_tonearest): New function.
5655 (pow_test_towardzero): Likewise.
5656 (pow_test_downward): Likewise.
5657 (pow_test_upward): Likewise.
5658 (main): Call the new functions.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5661
5662 [BZ #3976]
5663 * math/libm-test.inc (cosh_test_tonearest): New function.
5664 (cosh_test_towardzero): Likewise.
5665 (cosh_test_downward): Likewise.
5666 (cosh_test_upward): Likewise.
5667 (sinh_test_tonearest): Likewise.
5668 (sinh_test_towardzero): Likewise.
5669 (sinh_test_downward): Likewise.
5670 (sinh_test_upward): Likewise.
5671 (main): Call the new functions.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5674
6c6a98c9
TV
56752012-03-05 Tom de Vries <tom@codesourcery.com>
5676
5677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5678 default stack guard is set in last bytes.
5679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5680
21bb2d2e 56812012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5682
21bb2d2e 5683 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5684
21bb2d2e
AJ
5685 [BZ #13656]
5686 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5687 possibly allocate from heap instead of stack.
5688 * stdio-common/bug-vfprintf-nargs.c: New file.
5689 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5690
c6922934
AS
56912012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5692
5693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5694
bc957d53
MP
56952012-03-03 Marek Polacek <polacek@redhat.com>
5696
5697 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5698 * math/math_private.h: Likewise.
5699 * stdlib/tst-strtod.c: Likewise.
5700 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5701 * sysdeps/x86_64/bits/atomic.h: Likewise.
5702
6358490d
DM
57032012-03-02 David S. Miller <davem@davemloft.net>
5704
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5709 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5710 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5711 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5712 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5713
01ae168d
RM
57142012-03-02 Roland McGrath <roland@hack.frob.com>
5715
d9a17c07
RM
5716 [BZ #13792]
5717 * manual/examples/README: New file, says the example source files
5718 can be used under GPL>=2.
5719 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5720 line containing just "*/".
5721 * manual/examples/add.c: Add copyright header (GPL>=2).
5722 * manual/examples/argp-ex1.c: Likewise.
5723 * manual/examples/argp-ex2.c: Likewise.
5724 * manual/examples/argp-ex3.c: Likewise.
5725 * manual/examples/argp-ex4.c: Likewise.
5726 * manual/examples/atexit.c: Likewise.
5727 * manual/examples/db.c: Likewise.
5728 * manual/examples/dir.c: Likewise.
5729 * manual/examples/dir2.c: Likewise.
5730 * manual/examples/execinfo.c: Likewise.
5731 * manual/examples/filecli.c: Likewise.
5732 * manual/examples/filesrv.c: Likewise.
5733 * manual/examples/fmtmsgexpl.c: Likewise.
5734 * manual/examples/genpass.c: Likewise.
5735 * manual/examples/inetcli.c: Likewise.
5736 * manual/examples/inetsrv.c: Likewise.
5737 * manual/examples/isockad.c: Likewise.
5738 * manual/examples/longopt.c: Likewise.
5739 * manual/examples/memopen.c: Likewise.
5740 * manual/examples/memstrm.c: Likewise.
5741 * manual/examples/mkfsock.c: Likewise.
5742 * manual/examples/mkisock.c: Likewise.
5743 * manual/examples/mygetpass.c: Likewise.
5744 * manual/examples/pipe.c: Likewise.
5745 * manual/examples/popen.c: Likewise.
5746 * manual/examples/rprintf.c: Likewise.
5747 * manual/examples/search.c: Likewise.
5748 * manual/examples/select.c: Likewise.
5749 * manual/examples/setjmp.c: Likewise.
5750 * manual/examples/sigh1.c: Likewise.
5751 * manual/examples/sigusr.c: Likewise.
5752 * manual/examples/stpcpy.c: Likewise.
5753 * manual/examples/strdupa.c: Likewise.
5754 * manual/examples/strftim.c: Likewise.
5755 * manual/examples/strncat.c: Likewise.
5756 * manual/examples/subopt.c: Likewise.
5757 * manual/examples/swapcontext.c: Likewise.
5758 * manual/examples/termios.c: Likewise.
5759 * manual/examples/testopt.c: Likewise.
5760 * manual/examples/testpass.c: Likewise.
5761 * manual/examples/timeval_subtract.c: Likewise.
5762
01ae168d
RM
5763 [BZ #13792]
5764 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5765 function to ...
5766 * manual/timeval_subtract.c.texi: ... here, new file.
5767
49efa33d
DM
57682012-03-02 David S. Miller <davem@davemloft.net>
5769
5770 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5771
28afd92d
JM
57722012-03-02 Joseph Myers <joseph@codesourcery.com>
5773
804360ed
JM
5774 [BZ #3976]
5775 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5776 (__sin): Save and restore rounding mode and use round-to-nearest
5777 for all computations.
5778 (__cos): Save and restore rounding mode and use round-to-nearest
5779 for all computations.
5780 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5781 <fenv.h>.
5782 (tan): Save and restore rounding mode and use round-to-nearest for
5783 all computations.
5784 * math/libm-test.inc (cos_test_tonearest): New function.
5785 (cos_test_towardzero): Likewise.
5786 (cos_test_downward): Likewise.
5787 (cos_test_upward): Likewise.
5788 (sin_test_tonearest): Likewise.
5789 (sin_test_towardzero): Likewise.
5790 (sin_test_downward): Likewise.
5791 (sin_test_upward): Likewise.
5792 (tan_test_tonearest): Likewise.
5793 (tan_test_towardzero): Likewise.
5794 (tan_test_downward): Likewise.
5795 (tan_test_upward): Likewise.
5796 (main): Call the new functions.
5797 * sysdeps/i386/fpu/libm-test-ulps: Update.
5798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5799
a6d06d7b
JM
5800 [BZ #10135]
5801 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5802 small n, then large n, before computing and testing k+n.
5803 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5805 Likewise.
5806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5807 Likewise.
5808 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5809 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5816 * math/libm-test.inc (scalbn_test): Add more tests.
5817 (scalbln_test): Likewise.
5818
07e12bb3
JM
5819 * manual/filesys.texi (mode_t): Describe constraints on size and
5820 signedness, not exact equivalence to a particular type.
5821 (ino_t): Likewise.
5822 (ino64_t): Likewise.
5823 (dev_t): Likewise.
5824 (nlink_t): Likewise.
5825 (blkcnt_t): Likewise.
5826 (blkcnt64_t): Likewise.
5827 * manual/llio.texi (off_t): Likewise.
5828
28afd92d
JM
5829 [BZ #3976]
5830 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5831 (__ieee754_exp): Save and restore rounding mode and use
5832 round-to-nearest for all computations.
5833 * math/libm-test.inc (exp_test_tonearest): New function.
5834 (exp_test_towardzero): Likewise.
5835 (exp_test_downward): Likewise.
5836 (exp_test_upward): Likewise.
5837 (main): Call the new functions.
5838 * sysdeps/i386/fpu/libm-test-ulps: Update.
5839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5840
b1eeb65d
CD
58412012-03-01 Chris Demetriou <cgd@google.com>
5842
5843 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5844 have predictable order.
5845
53362a4b
DM
58462012-03-01 David S. Miller <davem@davemloft.net>
5847
3c969083
DM
5848 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5849
759707de
DM
5850 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5851 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5852 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5854
dfdb8ff2
DM
5855 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5856 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5857 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5861 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5862 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5864
ead89f96
DM
5865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5866
7f66bd07
DM
5867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5868 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5870
53362a4b
DM
5871 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5873 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5879 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5880 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5881 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5884 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5885 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5887 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5888 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5889 * sysdeps/sparc/elf/configure: Regenerated.
5890
7b1902cb
JM
58912012-03-01 Joseph Myers <joseph@codesourcery.com>
5892
bec039bc
JM
5893 * configure.in (AS, LD): Require binutils 2.20 or later.
5894 * configure: Regenerated.
5895 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5896 as required minimum version.
5897 * INSTALL: Regenerated.
5898
7b1902cb
JM
5899 [BZ #2541]
5900 [BZ #4108]
5901 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5902 before squaring exponent.
5903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5904 bottom long double and 27 bits of top long double before squaring
5905 exponent.
5906 * math/libm-test.inc (erfc_test): Add more tests.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5910
f775c276
KT
59112012-03-01 Kai Tietz <ktietz@redhat.com>
5912
5913 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5914 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5915 containing bit-fields.
5916 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5917 * soft-fp/single.h (_FP_UNION_S): Likewise.
5918 * soft-fp/double.h (_FP_UNION_D): Likewise.
5919
5b8a4d4a
JM
59202012-02-29 Joseph Myers <joseph@codesourcery.com>
5921
0bab47b6
JM
5922 [BZ #13786]
5923 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5924 not include ../strcmp.S.
5925 [USE_AS_STRNCASECMP_L]: Likewise.
5926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5927 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5928 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5929 (__strncasecmp_l_ia32): Define as alias to
5930 __strncasecmp_l_nonascii.
5931
0fcad3e2
JM
5932 [BZ #5794]
5933 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5934 * sysdeps/i386/fpu/libm-test-ulps: Update.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936
5b8a4d4a
JM
5937 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939
8fdceb2e
JL
59402012-02-29 Jeff Law <law@redhat.com>
5941
5942 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5943 out of bounds read.
5944
1f393a11
MP
59452012-02-29 Marek Polacek <polacek@redhat.com>
5946
5947 [BZ #13706]
5948 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5949 * elf/Makefile: Add rules to run tst-unused-dep.out.
5950
8847f037
DM
59512012-02-28 David S. Miller <davem@davemloft.net>
5952
5953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5957 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5958 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5959
169d7f11
JM
59602012-02-29 Joseph Myers <joseph@codesourcery.com>
5961
5962 * math/libm-test.inc (llround_test): Move one test from
5963 lround_test. Use TEST_f_L in moved test.
5964 (lround_test): Move misplaced test to llround_test. Add testcase
5965 from bug 2561.
5966
39adf059
UD
59672012-02-28 Ulrich Drepper <drepper@gmail.com>
5968
5969 * sysdeps/x86_64/fpu/e_expf.S: New file.
5970 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5971
71b5d1c5
SB
59722012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5973
5974 [BZ #13637]
5975 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5976 of remain_len that may cause incomplete multi-byte character and
5977 false match.
5978 * posix/bug-regex33.c: New file.
5979 * posix/Makefile (tests): Add bug-regex33.
5980
1f77f049
JM
59812012-02-28 Joseph Myers <joseph@codesourcery.com>
5982
5983 * manual/macros.texi: New file.
5984 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5985 * manual/libc.texinfo: Include macros.texi.
5986 * manual/creatute.texi: Likewise.
5987 * manual/install.texi: Likewise.
5988 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5989 @glibcadj{} in references to the GNU C Library.
5990 * manual/charset.texi: Likewise.
5991 * manual/conf.texi: Likewise.
5992 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5993 when not using those macros.
5994 * manual/creature.texi: Likewise.
5995 * manual/crypt.texi: Likewise.
5996 * manual/errno.texi: Likewise.
5997 * manual/filesys.texi: Likewise.
5998 * manual/header.texi: Likewise.
5999 * manual/install.texi: Likewise.
6000 * manual/intro.texi: Likewise.
6001 * manual/io.texi: Likewise.
6002 * manual/job.texi: Likewise.
6003 * manual/lang.texi: Likewise.
6004 * manual/libc.texiinfo: Likewise.
6005 * manual/llio.texi: Likewise.
6006 * manual/locale.texi: Likewise.
6007 * manual/maint.texi: Likewise.
6008 * manual/math.texi: Likewise.
6009 * manual/memory.texi: Likewise.
6010 * manual/message.texi: Likewise.
6011 * manual/nss.texi: Likewise.
6012 * manual/pattern.texi: Likewise.
6013 * manual/process.texi: Likewise.
6014 * manual/resource.texi: Likewise.
6015 * manual/search.texi: Likewise.
6016 * manual/setjmp.texi: Likewise.
6017 * manual/signal.texi: Likewise.
6018 * manual/socket.texi: Likewise.
6019 * manual/startup.texi: Likewise.
6020 * manual/stdio.texi: Likewise.
6021 * manual/string.texi: Likewise.
6022 * manual/sysinfo.texi: Likewise.
6023 * manual/syslog.texi: Likewise.
6024 * manual/terminal.texi: Likewise.
6025 * manual/time.texi: Likewise.
6026 * manual/users.texi: Likewise.
6027 * INSTALL: Regenerated.
6028 * NOTES: Regenerated.
d40c5d54 6029 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6030
450bf206
AS
60312012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6032
6033 * include/dirent.h: Include <dirstream.h> before
6034 <dirent/dirent.h>.
6035
741a235b
DM
60362012-02-28 David S. Miller <davem@davemloft.net>
6037
6038 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6039 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6040 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6042
d6b5aa58
DM
60432012-02-27 David S. Miller <davem@davemloft.net>
6044
1aff59a3
DM
6045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6047 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6048 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6049
d6b5aa58
DM
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6051 frame pointer instead of stack pointer relative arg slot.
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6055
433f48bf
CD
60562012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6057
6058 [BZ #3992]
6059 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6060
d674b76d
DM
60612012-02-27 David S. Miller <davem@davemloft.net>
6062
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6067 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6068 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6071
0e7727f7
JM
60722012-02-27 Joseph Myers <joseph@codesourcery.com>
6073
6074 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6075 later. Allow versions 5-9.
43be4ca2 6076 * configure: Regenerated.
0e7727f7
JM
6077 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6078 required minimum version and 4.6 as recommended version. Do not
6079 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6080 * INSTALL: Regenerated.
0e7727f7 6081
a78bc654
DM
60822012-02-27 David S. Miller <davem@davemloft.net>
6083
428d5830
DM
6084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6090 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6092
a78bc654
DM
6093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6094 manipulate bits before adding and subtracting TWO112[sx].
6095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6096
4579f81c
RM
60972012-02-27 Roland McGrath <roland@hack.frob.com>
6098
36c8acb4
RM
6099 [BZ #13775]
6100 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6101 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6102 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6103 being in POSIX, because they are in 1003.1-2008.
6104
84ad622b
RM
6105 * rt/tst-aio.c: Include <fcntl.h>.
6106 * rt/tst-aio7.c: Likewise.
6107 * rt/tst-aio64.c: Likewise.
6108
4579f81c
RM
6109 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6110
abd923db
JM
61112012-02-27 Joseph Myers <joseph@codesourcery.com>
6112
6113 * manual/install.texi (--with-headers): Describe headers as
6114 interface headers, not private headers.
6115 (Specific advice for GNU/Linux systems): Describe use of headers
6116 from "make headers_install", not private headers from older
6117 kernels.
43be4ca2 6118 * INSTALL: Regenerated.
abd923db
JM
6119 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6120 Change to 2.6.19.
6121 * sysdeps/unix/sysv/linux/configure: Regenerated.
6122
6664049b
JM
6123 * manual/llio.texi (fclean): Remove documentation.
6124
bb8b6697
JM
6125 * manual/Makefile (libc-texi-generated): New variable. Include
6126 version.texi.
6127 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6128 $(libc-texi-generated), not duplicated list of files.
6129 (version.texi, stamp-version): New rules.
6130 (realclean): Remove $(libc-texi-generated), not individual files
6131 from that list. Do not remove dir-add.texinfo.
6132 * manual/libc.texinfo: Comment out uses of edition numbers and
6133 references to printed manual. Remove last-updated dates.
6134 (EDITION): Comment out.
6135 (ISBN): Likewise.
6136 (VERSION, UPDATED): Remove.
6137 (version.texi): Include.
6138
12e5c3b9
AS
61392012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6140
6141 * sysdeps/posix/spawni.c: Include <signal.h>.
6142 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6143 * sysdeps/pthread/aio_fsync.c: Likewise.
6144
4efeffc1 61452012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6146
ba63ba08
UD
6147 * conform/Makefile (tests): Run only when not cross-compiling and
6148 when fast-check is not defined.
6149
d94a4670
UD
6150 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6151 * conform/data/limits.h-data: Fixes for POSIX2008.
6152 * conform/run-conformtest.sh: Run all tests.
6153 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6154 headers.
6155 * include/bits/dlfcn.h: Likewise.
6156 * include/langinfo.h: Likewise.
6157 * include/monetary.h: Likewise.
6158 * include/sys/poll.h: Likewise.
6159
6160 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6161 for __USE_GNU.
6162 * posix/spawn.h: Define __need_sigset_t.
6163 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6164 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6165 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6166 to get sigevent_t only.
6167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6168 only for __USE_GNU.
6169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6171 process_vm_writev only for __USE_GNU.
6172 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6173
6174 * conform/Makefile: For now ignore errors from run-conformtest.
6175 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6176 POSIX to avoid namespace pollution. Don't prepend headers.
6177 * conform/data/aio.h-data: Fixes for POSIX testing.
6178 * conform/data/fcntl.h-data: Likewise.
6179 * conform/data/glob.h-data: Likewise.
6180 * conform/data/grp.h-data: Likewise.
6181 * conform/data/pthread.h-data: Likewise.
6182 * conform/data/pwd.h-data: Likewise.
6183 * conform/data/signal.h-data: Likewise.
6184 * conform/data/spawn.h-data: Likewise.
6185 * conform/data/stdio.h-data: Likewise.
6186 * conform/data/stdlib.h-data: Likewise.
6187 * conform/data/stropts.h-data: Likewise.
6188 * conform/data/sys/mman.h-data: Likewise.
6189 * conform/data/sys/stat.h-data: Likewise.
6190 * conform/data/sys/types.h-data: Likewise.
6191 * conform/data/sys/wait.h-data: Likewise.
6192 * conform/data/time.h-data: Likewise.
6193 * conform/data/unistd.h-data: Likewise.
6194 * conform/data/utime.h-data: Likewise.
6195
6196 * io/sys/stat.h: fchmod was always in POSIX.
6197 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6198 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6199 * rt/aio.h: Define __need_timespec before including <time.h>.
6200 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6201 struct. Add forward declaration of pthread_attr_t and use it in
6202 sigevent.
6203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6205 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6206 always remove CLK_TCK definition.
6207
c20105c3
AS
62082012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6209
6210 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6211
7a270350
UD
62122012-02-25 Ulrich Drepper <drepper@gmail.com>
6213
31341567
UD
6214 * conform/run-conformtest.sh: New file.
6215 * conform/Makefile: Run run-conformtest for tests.
6216 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6217 support.
6218
6219 * conform/data/uchar.h-data: New file.
6220 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6221 * conform/data/arpa/inet.h-data: Likewise.
6222 * conform/data/assert.h-data: Likewise.
6223 * conform/data/complex.h-data: Likewise.
6224 * conform/data/cpio.h-data: Likewise.
6225 * conform/data/ctype.h-data: Likewise.
6226 * conform/data/dirent.h-data: Likewise.
6227 * conform/data/dlfcn.h-data: Likewise.
6228 * conform/data/errno.h-data: Likewise.
6229 * conform/data/fcntl.h-data: Likewise.
6230 * conform/data/float.h-data: Likewise.
6231 * conform/data/fmtmsg.h-data: Likewise.
6232 * conform/data/fnmatch.h-data: Likewise.
6233 * conform/data/ftw.h-data: Likewise.
6234 * conform/data/glob.h-data: Likewise.
6235 * conform/data/grp.h-data: Likewise.
6236 * conform/data/iconv.h-data: Likewise.
6237 * conform/data/inttypes.h-data: Likewise.
6238 * conform/data/langinfo.h-data: Likewise.
6239 * conform/data/libgen.h-data: Likewise.
6240 * conform/data/limits.h-data: Likewise.
6241 * conform/data/locale.h-data: Likewise.
6242 * conform/data/math.h-data: Likewise.
6243 * conform/data/monetary.h-data: Likewise.
6244 * conform/data/mqueue.h-data: Likewise.
6245 * conform/data/ndbm.h-data: Likewise.
6246 * conform/data/net/if.h-data: Likewise.
6247 * conform/data/netdb.h-data: Likewise.
6248 * conform/data/netinet/in.h-data: Likewise.
6249 * conform/data/nl_types.h-data: Likewise.
6250 * conform/data/poll.h-data: Likewise.
6251 * conform/data/pthread.h-data: Likewise.
6252 * conform/data/pwd.h-data: Likewise.
6253 * conform/data/regex.h-data: Likewise.
6254 * conform/data/sched.h-data: Likewise.
6255 * conform/data/search.h-data: Likewise.
6256 * conform/data/semaphore.h-data: Likewise.
6257 * conform/data/setjmp.h-data: Likewise.
6258 * conform/data/signal.h-data: Likewise.
6259 * conform/data/spawn.h-data: Likewise.
6260 * conform/data/stdarg.h-data: Likewise.
6261 * conform/data/stdio.h-data: Likewise.
6262 * conform/data/stdlib.h-data: Likewise.
6263 * conform/data/string.h-data: Likewise.
6264 * conform/data/strings.h-data: Likewise.
6265 * conform/data/stropts.h-data: Likewise.
6266 * conform/data/sys/ipc.h-data: Likewise.
6267 * conform/data/sys/mman.h-data: Likewise.
6268 * conform/data/sys/msg.h-data: Likewise.
6269 * conform/data/sys/resource.h-data: Likewise.
6270 * conform/data/sys/select.h-data: Likewise.
6271 * conform/data/sys/sem.h-data: Likewise.
6272 * conform/data/sys/shm.h-data: Likewise.
6273 * conform/data/sys/socket.h-data: Likewise.
6274 * conform/data/sys/stat.h-data: Likewise.
6275 * conform/data/sys/statvfs.h-data: Likewise.
6276 * conform/data/sys/time.h-data: Likewise.
6277 * conform/data/sys/timeb.h-data: Likewise.
6278 * conform/data/sys/times.h-data: Likewise.
6279 * conform/data/sys/types.h-data: Likewise.
6280 * conform/data/sys/uio.h-data: Likewise.
6281 * conform/data/sys/un.h-data: Likewise.
6282 * conform/data/sys/utsname.h-data: Likewise.
6283 * conform/data/sys/wait.h-data: Likewise.
6284 * conform/data/syslog.h-data: Likewise.
6285 * conform/data/tar.h-data: Likewise.
6286 * conform/data/termios.h-data: Likewise.
6287 * conform/data/utime.h-data: Likewise.
6288 * conform/data/utmpx.h-data: Likewise.
6289 * conform/data/varargs.h-data: Likewise.
6290 * conform/data/wchar.h-data: Likewise.
6291 * conform/data/wctype.h-data: Likewise.
6292 * conform/data/wordexp.h-data: Likewise.
6293
6294 * include/stropts.h: New file.
6295 * include/uchar.h: New file.
6296 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6297 * include/assert.h: Likewise.
6298 * include/ctype.h: Likewise.
6299 * include/dirent.h: Likewise.
6300 * include/dlfcn.h: Likewise.
6301 * include/fcntl.h: Likewise.
6302 * include/fnmatch.h: Likewise.
6303 * include/glob.h: Likewise.
6304 * include/grp.h: Likewise.
6305 * include/libio.h: Likewise.
6306 * include/locale.h: Likewise.
6307 * include/math.h: Likewise.
6308 * include/net/if.h: Likewise.
6309 * include/netdb.h: Likewise.
6310 * include/netinet/in.h: Likewise.
6311 * include/pthread.h: Likewise.
6312 * include/pwd.h: Likewise.
6313 * include/regex.h: Likewise.
6314 * include/sched.h: Likewise.
6315 * include/search.h: Likewise.
6316 * include/setjmp.h: Likewise.
6317 * include/signal.h: Likewise.
6318 * include/stdio.h: Likewise.
6319 * include/stdlib.h: Likewise.
6320 * include/string.h: Likewise.
6321 * include/sys/cdefs.h: Likewise.
6322 * include/sys/mman.h: Likewise.
6323 * include/sys/msg.h: Likewise.
6324 * include/sys/resource.h: Likewise.
6325 * include/sys/select.h: Likewise.
6326 * include/sys/socket.h: Likewise.
6327 * include/sys/stat.h: Likewise.
6328 * include/sys/statvfs.h: Likewise.
6329 * include/sys/time.h: Likewise.
6330 * include/sys/times.h: Likewise.
6331 * include/sys/uio.h: Likewise.
6332 * include/sys/utsname.h: Likewise.
6333 * include/sys/wait.h: Likewise.
6334 * include/termios.h: Likewise.
6335 * include/time.h: Likewise.
6336 * include/ulimit.h: Likewise.
6337 * include/unistd.h: Likewise.
6338 * include/utime.h: Likewise.
6339 * include/wchar.h: Likewise.
6340 * include/wctype.h: Likewise.
6341 * include/wordexp.h: Likewise.
6342
6343 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6344
7a270350
UD
6345 * time/time.h: TIME_UTC must be a macro.
6346 Make timespec_get available for ISO C11 only as well.
6347
7724defc
UD
63482012-02-24 Ulrich Drepper <drepper@gmail.com>
6349
6350 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6351 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6352
6b1d1d46
JM
63532012-02-24 Joseph Myers <joseph@codesourcery.com>
6354
6355 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6356
0f8bbd69
JM
63572012-02-24 Joseph Myers <joseph@codesourcery.com>
6358
6359 * manual/texinfo.tex: Update to version 2012-01-19.16.
6360
66ab80bc
JM
63612012-02-24 Joseph Myers <joseph@codesourcery.com>
6362
6363 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6364
74981cc5
RM
63652012-02-24 Roland McGrath <roland@hack.frob.com>
6366
ee968201
RM
6367 [BZ #13738]
6368 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6369 * manual/fdl-1.3.texi: New file.
6370 * manual/fdl-1.1.texi: File removed.
6371
74981cc5
RM
6372 [BZ #13738]
6373 * manual/libc.texinfo (FDL_VERSION): New @set.
6374 Use it for mention of FDL in cover text.
6375 (Documentation License): Use it in @include file name.
6376
7bb764bc
JM
63772012-02-22 Joseph Myers <joseph@codesourcery.com>
6378 Roland McGrath <roland@hack.frob.com>
6379
6380 [BZ #5461]
6381 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6382 not LONG_LONG_MAX and LONG_LONG_MIN.
6383 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6384 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6385 name.
6386 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6387
6cbeae47
JM
63882012-02-22 Joseph Myers <joseph@codesourcery.com>
6389
6390 [BZ #2547]
6391 [BZ #11365]
6392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6393 manipulate bits before adding and subtracting TWO23[sx].
6394 * math/libm-test.inc (nearbyint_test): Add more tests.
6395
fe45ce09
JM
63962012-02-22 Joseph Myers <joseph@codesourcery.com>
6397
6398 [BZ #2548]
6399 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6400 bits before adding and subtracting TWO23[sx].
6401 * math/libm-test.inc (rint_test): Add more tests.
6402 (rint_test_tonearest): Likewise.
6403 (rint_test_towardzero): Likewise.
6404 (rint_test_downward): Likewise.
6405 (rint_test_upward: Likewise.
6406
ff3b3d82
JM
64072012-02-22 Joseph Myers <joseph@codesourcery.com>
6408
6409 [BZ #10110]
6410 * include/stdc-predef.h: New file. Extracted from features.h.
6411 * include/features.h: Include stdc-predef.h.
6412 * Makefile (headers): Add stdc-predef.h.
6413 * CONFORMANCE (Compiler limitations): Update.
6414
ef0aab35
JM
64152012-02-22 Joseph Myers <joseph@codesourcery.com>
6416
6417 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6418
58639409
DM
64192012-02-21 David S. Miller <davem@davemloft.net>
6420
6421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6423
c0e70b25
DM
64242012-02-20 David S. Miller <davem@davemloft.net>
6425
6426 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6427 using a normal save/restore sequence, rather than allocating a
6428 dummy stack frame just to store a frame pointer and restore.
6429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6430
fb06851d
JM
64312012-02-21 Joseph Myers <joseph@codesourcery.com>
6432
6433 * manual/install.texi: Fix stray word in line-wrapped comment.
6434
7a8b71c3
DM
64352012-02-20 David S. Miller <davem@davemloft.net>
6436
d510c123
DM
6437 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6438 both binutils and gcc support GOTDATA.
6439
0722d7c2
DM
6440 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6441 "rd %pc" in the PIC register setup sequences.
6442
3d2b3019
DM
6443 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6444 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6446 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6452 (SYSCALL_ERROR_HANDLER): Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6456 (SYSCALL_ERROR_HANDLER): Likewise.
6457
c80098a9
DM
6458 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6459 (HAVE_GCC_GOTDATA): New.
6460 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6461 relocation support in both binutils and gcc.
6462 * sysdeps/sparc/elf/configure: Regenerate.
6463
3a2545a0
DM
6464 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6465 * sysdeps/sparc/sparc32/elf/configure: Delete.
6466 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6467 * sysdeps/sparc/sparc64/elf/configure: Delete.
6468 * sysdeps/sparc/elf/configure.in: New file.
6469 * sysdeps/sparc/elf/configure: Generate.
6470
7a8b71c3
DM
6471 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6472 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6473 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6474 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6475 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6476
f1e86fca
JM
64772012-02-21 Joseph Myers <joseph@codesourcery.com>
6478
6479 * manual/install.texi: Do not mention specific glibc version
6480 numbers.
6481 * manual/libc.texinfo (VERSION, UPDATED): Update.
6482 (@copying): Use @copyright{} and range of years.
6483
0e7dfaef
JM
64842012-02-21 Joseph Myers <joseph@codesourcery.com>
6485
6486 [BZ #13695]
6487 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6488 [crti.S not in sysdirs] (generated): Do not append.
6489 [crti.S not in sysdirs] (omit-deps): Likewise.
6490 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6491 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6492 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6493 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6494 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6495 Likewise.
6496 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6497 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6498 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6499 * csu/defs.awk: Remove file.
6500 * sysdeps/generic/initfini.c: Likewise.
6501 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6502 variable.
6503 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6504 Likewise.
6505
599af3ca
JM
65062012-02-20 Joseph Myers <joseph@codesourcery.com>
6507
6508 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6513 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6514 <bits/epoll.h>.
6515 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6516 (__EPOLL_PACKED): Define to empty if not defined by
6517 <bits/epoll.h>.
6518 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6520 bits/epoll.h.
6521
0e499750
JM
65222012-02-20 Joseph Myers <joseph@codesourcery.com>
6523
6524 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6525 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6527 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6528 <bits/timerfd.h>.
6529 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6531 bits/timerfd.h.
6532
5ad91f6e
JM
65332012-02-20 Joseph Myers <joseph@codesourcery.com>
6534
6535 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6536 in C locale.
6537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6541
06b99b02
AJ
65422012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6543
6544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6546
7638c0fd
AS
65472012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6548
6549 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6550 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6551 defined.
6552 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6553 Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6555 entry for 2.16.
6556
92221550
AJ
65572012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6558
6559 * math/w_acos.c: Use non-signaling floating-point comparisons.
6560 * math/w_acosf.c: Likewise.
6561 * math/w_acosh.c: Likewise.
6562 * math/w_acoshf.c: Likewise.
6563 * math/w_acoshl.c: Likewise.
6564 * math/w_acosl.c: Likewise.
6565 * math/w_asin.c: Likewise.
6566 * math/w_asinf.c: Likewise.
6567 * math/w_asinl.c: Likewise.
6568 * math/w_atanh.c: Likewise.
6569 * math/w_atanhf.c: Likewise.
6570 * math/w_atanhl.c: Likewise.
6571 * math/w_exp2.c: Likewise.
6572 * math/w_exp2f.c: Likewise.
6573 * math/w_exp2l.c: Likewise.
6574 * math/w_j0.c: Likewise.
6575 * math/w_j0f.c: Likewise.
6576 * math/w_j0l.c: Likewise.
6577 * math/w_j1.c: Likewise.
6578 * math/w_j1f.c: Likewise.
6579 * math/w_j1l.c: Likewise.
6580 * math/w_jn.c: Likewise.
6581 * math/w_jnf.c: Likewise.
6582 * math/w_log.c: Likewise.
6583 * math/w_log10.c: Likewise.
6584 * math/w_log10f.c: Likewise.
6585 * math/w_log10l.c: Likewise.
6586 * math/w_log2.c: Likewise.
6587 * math/w_log2f.c: Likewise.
6588 * math/w_log2l.c: Likewise.
6589 * math/w_logf.c: Likewise.
6590 * math/w_logl.c: Likewise.
6591 * math/w_sqrt.c: Likewise.
6592 * math/w_sqrtf.c: Likewise.
6593 * math/w_sqrtl.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6597 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6598 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6599
ebaf36eb
JM
66002012-02-19 Joseph Myers <joseph@codesourcery.com>
6601
6602 [BZ #9739]
6603 * manual/string.texi (strnlen): Use correct parameter name in
6604 equivalent expression.
6605
71c254a6
JM
66062012-02-19 Joseph Myers <joseph@codesourcery.com>
6607
6608 [BZ #11174]
6609 * manual/users.texi (seteuid): Consistently use neweuid for
6610 argument name.
6611
16d2c631
JM
66122012-02-19 Joseph Myers <joseph@codesourcery.com>
6613
6614 [BZ #13704]
6615 * manual/nss.texi (Services in the NSS configuration): Correct
6616 list of services in example configuration file.
6617
cd837b09
NB
66182012-02-19 Nick Bowler <nbowler@draconx.ca>
6619
6620 [BZ #11322]
6621 * manual/arith.texi: Remove statements about negative zero
6622 behaving identically to zero.
6623
02c4bbad
JM
66242012-02-18 Joseph Myers <joseph@codesourcery.com>
6625
6626 [BZ #5993]
6627 * manual/install.texi: Do not document upgrading from libc5.
6628
366842e7
JM
66292012-02-18 Joseph Myers <joseph@codesourcery.com>
6630
6631 [BZ #4596]
6632 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6633
dd54084d
DM
66342012-02-18 David S. Miller <davem@davemloft.net>
6635
6636 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6637 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6638 %o7 across the call.
6639 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6640 instead.
6641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6642 SETUP_PIC_REG_LEAF.
6643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6644 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6645 * sysdeps/sparc/crtn.S: Likewise.
6646
2bcc53a3
UD
66472012-02-17 Ulrich Drepper <drepper@gmail.com>
6648
6649 * aout/Makefile: Remove.
6650
09c093b5
RK
66512012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6652
6653 [BZ #13058]
6654 * manual/examples/argp-ex1.c (main): Format definition in GNU
6655 style.
6656 * manual/examples/argp-ex2.c (main): Likewise.
6657 * manual/examples/argp-ex3.c (main): Likewise.
6658 * manual/examples/argp-ex4.c (main): Likewise.
6659 * manual/examples/longopt.c (main): Use new-style prototype
6660 definition.
6661 * manual/examples/strncat.c (main): Specify return type and use
6662 (void) for arguments.
6663 * manual/examples/subopt.c (main): Use char **argv argument.
6664
2ee633a2
JM
66652012-02-17 Joseph Myers <joseph@codesourcery.com>
6666
6667 [BZ #5077]
6668 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6669 rounding modes.
6670
0520adde
FB
66712012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6672
6673 [BZ #6907]
6674 * manual/string.texi (strchr): Change when strchrnul is
6675 recommended.
6676
3f4081cd
DGM
66772012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6678
6679 [BZ #174]
6680 * manual/locale.texi (setlocale): Document LOCPATH.
6681
d1b10e78
JM
66822012-02-17 Joseph Myers <joseph@codesourcery.com>
6683
6684 [BZ #10210]
6685 * manual/process.texi (execle): Move @dots{} before last argument.
6686
79c6869c
PB
66872012-02-17 Paul Bolle <pebolle@tiscali.nl>
6688
6689 [BZ #12047]
6690 * manual/charset.texi (Generic Charset Conversion): Fix typo
6691 (LC_TYPE -> LC_CTYPE).
6692
cc6e48bc
NB
66932012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6694
6695 [BZ #5805]
6696 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6697 (scalbnf): Likewise.
6698 (scalbnl): Likewise.
6699 (scalbln): Likewise.
6700 (scalblnf): Likewise.
6701 (scalblnl): Likewise.
6702 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6703 (vwarnx): Likewise.
6704 (verr): Likewise.
6705 (verrx): Likewise.
6706 * manual/filesys.texi (telldir): Use braces around return type.
6707 * manual/llio.texi (mmap): Add space after comma.
6708 (mmap64): Likewise.
6709 * manual/math.texi (jn): Use @var{} on parameter names.
6710 (jnf): Likewise.
6711 (jnl): Likewise.
6712 (yn): Likewise.
6713 (ynf): Likewise.
6714 (ynl): Likewise.
6715 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6716 line.
6717 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6718 "...".
6719 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6720 (sched_get_priority_max): Likewise.
6721 * manual/signal.texi (sigvec): Add space after comma.
6722 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6723 names.
6724 (if_indextoname): Likewise.
6725 (if_freenameindex): Likewise.
6726 (sendto): Use ',' instead of '.' in prototype.
6727 * manual/startup.texi (syscall): Use @dots{} instead of literal
6728 "...".
6729 * manual/stdio.texi (__fpending): Separate initial words of
6730 paragraph from @deftypefun line.
6731 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6732 "...".
6733 (vsyslog): Use @var{} on parameter names.
6734 * manual/terminal.texi (stty): Use @var{} on parameter names.
6735 * manual/users.texi (getutmp): Use @var{} on parameter names.
6736 (getutmpx): Likewise.
6737
5b23062f
JM
67382012-02-17 Joseph Myers <joseph@codesourcery.com>
6739
6740 [BZ #6884]
6741 * manual/stdio.texi (fopen): Fix typos in description of
6742 ",ccs=STRING".
6743
8dee4833
AJ
67442012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6745
6746 [BZ #4026]
6747 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6748 get clock_id definition.
6749
9078ce93
TS
67502012-02-17 Thomas Schwinge <thomas@schwinge.name>
6751
6752 [BZ #4822]
6753 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6754 (madvise): Cast every argument to void on its own.
6755
3835c55f
JM
67562012-02-17 Joseph Myers <joseph@codesourcery.com>
6757
6758 [BZ #9902]
6759 * manual/startup.texi (Exit Status): Fix typo.
6760
35c47e37
JM
67612012-02-17 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #10140]
6764 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6765 * manual/examples/argp-ex2.c: Likewise.
6766 * manual/examples/argp-ex3.c: Likewise.
6767
e3b69ca7
RH
67682012-02-16 Richard Henderson <rth@redhat.com>
6769
6770 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6771 * sysdeps/s390/s390-32/initfini.c: Remove.
6772 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6773 * sysdeps/s390/s390-64/initfini.c: Remove.
6774
df83af67
KK
67752012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6776
6777 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6778 compiler output for sysdeps/generic/initfini.c.
6779 * sysdeps/sh/elf/initfini.c: Remove file.
6780
f63f3380
DM
67812012-02-16 David S. Miller <davem@davemloft.net>
6782
fb59b3a4
DM
6783 [BZ #11494]
6784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6785
f63f3380
DM
6786 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6787 * sysdeps/sparc/crti.S: New file.
6788 * sysdeps/sparc/crtn.S: New file.
6789 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6790 * sysdeps/sparc/sparc64/Makefile: Likewise.
6791
df6a4a4a
MF
67922012-02-15 Mike Frysinger <vapier@gentoo.org>
6793
6dd8f3dc 6794 [BZ #3335]
df6a4a4a
MF
6795 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6796
1cac7236
RM
67972012-02-15 Roland McGrath <roland@hack.frob.com>
6798
d2c736f8
RM
6799 [BZ #4822]
6800 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6801
1cac7236
RM
6802 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6803 (write, read, close): Likewise.
6804 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6805
8e475601
JM
68062012-02-15 Joseph Myers <joseph@codesourcery.com>
6807
6808 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6809 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6811 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6812 <bits/signalfd.h>.
6813 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6815 bits/signalfd.h.
6816
ed656b40
MP
68172012-02-14 Marek Polacek <polacek@redhat.com>
6818
6819 * sysdeps/x86_64/crti.S: New file.
6820 * sysdeps/x86_64/crtn.S: New file.
6821 * sysdeps/x86_64/elf/initfini.c: Remove file.
6822
2a979d3a
JM
68232012-02-13 Joseph Myers <joseph@codesourcery.com>
6824
6825 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6826 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6828 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6829 <bits/inotify.h>.
6830 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6832 bits/inotify.h.
6833
2a418ac3
JM
68342012-02-13 Joseph Myers <joseph@codesourcery.com>
6835
6836 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6837 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6838 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6839 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6840 <bits/eventfd.h>.
6841 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6843 bits/eventfd.h.
6844
fb779be7
TS
68452012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6846
e19e83c5
RM
6847 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6848 __feraiseexcept instead of feraiseexcept.
7c35ffed 6849
fb779be7
TS
6850 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6851 nanosleep invocations.
6852 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6853 strings, and add error checking for a nanosleep invocations.
6854
59ba27a6
PE
68552012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6856
6857 Replace FSF snail mail address with URLs, as per GNU coding standards.
6858 Most of the snail mail addresses were wrong anyway, and omitting
6859 them makes the source code easier to maintain. Almost all of the
6860 changes are to license notices and to locale LC_IDENTIFICATION
6861 addresses, except for this one:
6862 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6863 not its snail mail address.
6864
57b957eb
RH
68652012-02-09 Richard Henderson <rth@twiddle.net>
6866
af850b1c
RH
6867 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6868 of kernel-features.h.
6869
57b957eb
RH
6870 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6871
6b73181a
MP
68722012-02-08 Marek Polacek <polacek@redhat.com>
6873
6874 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6875 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6876 * sysdeps/gnu/_G_config.h: Likewise.
6877 * sysdeps/generic/_G_config.h: Likewise.
6878
26ecc33a
AS
68792012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6880
6c6dbc63
AS
6881 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6882 tests.
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6884
e216c012
AS
6885 * sysdeps/powerpc/powerpc32/crti.S: New file.
6886 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6887 * sysdeps/powerpc/powerpc64/crti.S: New file.
6888 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6889
26ecc33a
AS
6890 * Makeconfig (have-initfini): Don't set.
6891 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6892 * configure.in (nopic_initfini): Don't substitute.
6893 * config.h.in (HAVE_INITFINI): Don't #undef.
6894 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6895 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6896
3add8e13
JM
68972012-02-08 Joseph Myers <joseph@codesourcery.com>
6898
6899 Support crti.S and crtn.S provided directly by architectures.
6900 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6901 [crti.S in sysdirs] (omit-deps): Likewise.
6902 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6903 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6904 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6905 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6906 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6907 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6908 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6909 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6910 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6911 compiler output for sysdeps/generic/initfini.c.
6912 * sysdeps/i386/elf/Makefile: Remove file.
6913 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6914
a22f12b4
MP
69152012-02-07 Marek Polacek <polacek@redhat.com>
6916
6917 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6918 * sysdeps/gnu/_G_config.h: Likewise.
6919 * sysdeps/mach/hurd/_G_config.h: Likewise.
6920
148cf100
MP
69212012-02-07 Marek Polacek <polacek@redhat.com>
6922
6923 * math/Makefile (tests): Add tst-CMPLX2.
6924 * math/tst-CMPLX2.c: New file.
6925
cfdc0dd7
AS
69262012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6927
84ba42c4
AS
6928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6929
cfdc0dd7
AS
6930 * math/libm-test.inc (jn_test): Add missing L suffix.
6931
622c86f4
MP
69322012-02-06 Marek Polacek <polacek@redhat.com>
6933
6934 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6935 * sysdeps/i386/fpu/e_powf.S: Likewise.
6936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6937 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6939 * sysdeps/i386/fpu/e_pow.S: Likewise.
6940 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6942 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6943 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6944 * sysdeps/i386/fpu/e_log2.S: Likewise.
6945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6946 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6947 * sysdeps/i386/fpu/e_powl.S: Likewise.
6948 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6950 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6951 * sysdeps/i386/fpu/e_logl.S: Likewise.
6952 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6953 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6958 * sysdeps/i386/fpu/e_log.S: Likewise.
6959 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6961 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6962 * sysdeps/i386/fpu/e_logf.S: Likewise.
6963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6965 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6966 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6967 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6968 * sysdeps/i386/fpu/e_log10.S: Likewise.
6969 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6970 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6971 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6972 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6974 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6975 * sysdeps/i386/asm-syntax.h: Likewise.
6976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6979 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6980 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6985 * sysdeps/powerpc/sysdep.h: Likewise.
6986 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6987 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6988
d4a54ac6
JM
69892012-02-06 Joseph Myers <joseph@codesourcery.com>
6990
6991 [BZ #411]
6992 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6993
314054ea
JM
69942012-02-06 Joseph Myers <joseph@codesourcery.com>
6995
6996 * sysdeps/i386/sysdep.h: Include <features.h>.
6997 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6998 version.
6999
d8e0ca50
JM
70002012-02-05 Joseph Myers <joseph@codesourcery.com>
7001
7002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7003 Define.
7004 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7005 LOAD_PIC_REG_STR.
7006
b1da7dd9
JM
70072012-02-03 Joseph Myers <joseph@codesourcery.com>
7008
7009 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7010 (SETUP_PIC_REG): Use GET_PC_THUNK.
7011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7012 macro.
7013
9a1d9254
JM
70142012-02-03 Joseph Myers <joseph@codesourcery.com>
7015
7016 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7017 for non-PIC compilation.
7018 (SETUP_PIC_REG): Add .p2align directive.
7019 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7020 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7021 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7060
65dc3b75
JM
70612012-02-03 Joseph Myers <joseph@codesourcery.com>
7062
7063 * math/tst-CMPLX.c: Include <stdio.h>.
7064
d55bf177
JM
70652012-01-31 Joseph Myers <joseph@codesourcery.com>
7066
7067 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7068 float.
7069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7070 * sysdeps/sparc/bits/mathdef.h: Likewise.
7071
69db4f8f
MP
70722012-01-31 Marek Polacek <polacek@redhat.com>
7073
7074 * libio/libio.h: Don't define _PARAMS.
7075 * locale/programs/config.h: Don't define PARAMS.
7076 * stdlib/strtol_l.c: Likewise.
7077 (__strtol_l): Remove PARAMS from the prototype.
7078
41b81892
UD
70792012-01-31 Ulrich Drepper <drepper@gmail.com>
7080
3b49edc0
UD
7081 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7082 names. Just use the correct names. Remove unnecessary wrapper
7083 functions.
7084 * malloc/arena.c: Likewise.
7085 * malloc/hooks.c: Likewise.
7086
41b81892
UD
7087 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7088 ARENA_TEST says not to. Simplify test for creation of a new arena.
7089 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7090
27a25b6e
UD
70912012-01-30 Ulrich Drepper <drepper@gmail.com>
7092
7093 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7094 into tail calls.
7095 (update_get_addr): New function.
7096 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7097 GET_ADDR_MODULE parameter.
7098
c8a89e7d
JM
70992012-01-30 Joseph Myers <joseph@codesourcery.com>
7100
7101 * crypt/cert.c: Remove __STDC__ conditionals.
7102 * crypt/crypt-entry.c: Likewise.
7103 * crypt/crypt_util.c: Likewise.
7104 * libio/filedoalloc.c: Likewise.
7105 * libio/fileops.c: Likewise.
7106 * libio/genops.c: Likewise.
7107 * libio/iofclose.c: Likewise.
7108 * libio/iofdopen.c: Likewise.
7109 * libio/iofopen.c: Likewise.
7110 * libio/iofopen64.c: Likewise.
7111 * libio/iogetdelim.c: Likewise.
7112 * libio/iopopen.c: Likewise.
7113 * libio/obprintf.c: Likewise.
7114 * libio/oldfileops.c: Likewise.
7115 * libio/oldiofclose.c: Likewise.
7116 * libio/oldiofdopen.c: Likewise.
7117 * libio/oldiofopen.c: Likewise.
7118 * libio/oldiopopen.c: Likewise.
7119 * libio/wfiledoalloc.c: Likewise.
7120 * libio/wgenops.c: Likewise.
7121 * locale/programs/xmalloc.c: Likewise.
7122 * misc/syslog.c: Likewise.
7123 * stdio-common/xbug.c: Likewise.
7124 * string/memchr.c: Likewise.
7125 * string/memcmp.c: Likewise.
7126 * string/memrchr.c: Likewise.
7127 * string/rawmemchr.c: Likewise.
7128 * sysdeps/posix/getcwd.c: Likewise.
7129 * time/strftime_l.c: Likewise.
7130
3b100462
JM
71312012-01-30 Joseph Myers <joseph@codesourcery.com>
7132
7133 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7134 * config.make.in (config-cflags-sse2avx): Define.
7135 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7136 Fix typo.
7137
607998af
CM
71382012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7139
7140 * scripts/config.guess: Update from upstream config git repository.
7141 * scripts/config.sub: Likewise.
7142
3601428f
CM
71432012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7144
3ac8b282
CM
7145 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7146 (EM_NUM): Update.
7147 (R_TILEPRO_*, R_TILEGX_*): New macros.
7148
e034841e
CM
7149 * scripts/firstversions.awk: Fix bug in version range handling.
7150
540d7568
CM
7151 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7152
3601428f
CM
7153 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7154
463de862
CM
7155 * include/sys/epoll.h: New file.
7156 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7157 libc_hidden_def.
7158
73139a76
UD
71592012-01-28 Ulrich Drepper <drepper@gmail.com>
7160
96bc5b45
UD
7161 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7162 Avoid unnecessary __WORDSIZE == 64 test.
7163 (fmaxf): Use VEX format if possible.
7164 (fmax): Likewise.
7165 (fminf): Likewise.
7166 (fmin): Likewise.
7167
56f6f6a2
UD
7168 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7169 * math/math_private.h: Remove libc_fegetround* and
7170 libc_fesetround*.
7171 * sysdeps/i386/configure.in: Check for -msse2avx.
7172 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7173 also if SSE2AVX is defined.
7174 Remove libc_fegetround* and libc_fesetround*.
7175 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7176 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7178 of HAS_YMM_USABLE.
7179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7184
73139a76
UD
7185 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7186
d73f93a4
AZ
71872012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188
7189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7190 size is not set.
7191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7192
6ee65ed6
UD
71932012-01-27 Ulrich Drepper <drepper@gmail.com>
7194
7195 [BZ #13618]
7196 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7197 relocation.
7198 * Makeconfig (libm): Define.
7199 * elf/Makefile: Add rules to build and run tst-relsort1.
7200 * elf/tst-relsort1.c: New file.
7201 * elf/tst-relsort1mod1.c: New file.
7202 * elf/tst-relsort1mod2.c: New file.
7203
8db21882
JM
72042012-01-27 Joseph Myers <joseph@codesourcery.com>
7205
7206 * math/s_ldexp.c: Remove __STDC__ conditionals.
7207 * math/s_ldexpf.c: Likewise.
7208 * math/s_ldexpl.c: Likewise.
7209 * math/s_nextafter.c: Likewise.
7210 * math/s_nexttowardf.c: Likewise.
7211 * math/s_significand.c: Likewise.
7212 * math/s_significandf.c: Likewise.
7213 * math/s_significandl.c: Likewise.
7214 * math/w_jnl.c: Likewise.
7215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7234 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7237 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7239 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7249 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7255 * sysdeps/ieee754/k_standard.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7317 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7335 * sysdeps/ieee754/s_matherr.c: Likewise.
7336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7340
965a54a4
JM
73412012-01-26 Joseph Myers <joseph@codesourcery.com>
7342
7343 * crypt/md5.h: Remove __STDC__ conditionals.
7344 * libio/libioP.h: Likewise.
7345 * locale/programs/config.h: Likewise.
7346 * sysdeps/generic/sysdep.h: Likewise.
7347 * sysdeps/i386/asm-syntax.h: Likewise.
7348 * sysdeps/s390/asm-syntax.h: Likewise.
7349 * sysdeps/unix/sysdep.h: Likewise.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7352
7071ad79
JM
73532012-01-26 Joseph Myers <joseph@codesourcery.com>
7354
7355 * libio/libio.h: Remove __STDC__ conditionals.
7356 * malloc/obstack.h: Likewise.
7357 * math/complex.h: Likewise.
7358 * math/math.h: Likewise.
7359 * sysdeps/generic/_G_config.h: Likewise.
7360 * sysdeps/gnu/_G_config.h: Likewise.
7361 * sysdeps/mach/hurd/_G_config.h: Likewise.
7362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7363 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7364 * sysdeps/sparc/bits/mathdef.h: Likewise.
7365
afc5ed09
UD
73662012-01-26 Ulrich Drepper <drepper@gmail.com>
7367
7368 [BZ #13583]
7369 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7370 Clean up HAS_* macros.
afc5ed09 7371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7372 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7373 possible.
7374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7375 HAS_AVX.
7376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7381
bdb6de1d
JM
73822012-01-25 Joseph Myers <joseph@codesourcery.com>
7383
7384 * elf/tst-unique3.cc (gets): Remove declaration.
7385 * elf/tst-unique3lib.cc (gets): Likewise.
7386 * elf/tst-unique3lib2.cc (gets): Likewise.
7387 * elf/tst-unique4.cc (gets): Likewise.
7388
b15549e6
UD
73892012-01-24 Ulrich Drepper <drepper@gmail.com>
7390
7391 * include/stdio.h: Add C++ protection. Add gets declarations and
7392 definitions.
7393 * debug/tst-chk1.c: Don't declare gets here.
7394 * stdio-common/tst-gets.c: Likewise.
7395
a037381f
JM
73962012-01-24 Joseph Myers <joseph@codesourcery.com>
7397
7398 * posix/glob: Remove directory.
7399
f1d4aa75
JM
74002012-01-24 Joseph Myers <joseph@codesourcery.com>
7401
7402 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7403
81c0c964
PT
74042012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7405
7406 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7407 of the non-standard EPFNOSUPPORT.
7408
0ea698ae
ST
74092011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7410
7411 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7412 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7413 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7414
d220b117
UD
74152012-01-21 Ulrich Drepper <drepper@gmail.com>
7416
7417 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7418
3e1aa84e
UD
74192012-01-20 Ulrich Drepper <drepper@gmail.com>
7420
7421 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7422 transient errors.
7423 * nscd/grpcache.c (cache_addgr): Likewise.
7424 * nscd/hstcache.c (cache_addhst): Likewise.
7425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7426 * nscd/pwdcache.c (cache_addpw): Likewise.
7427 * nscd/servicescache.c (cache_addserv): Likewise.
7428
400aa020
UD
74292012-01-16 Ulrich Drepper <drepper@gmail.com>
7430
d77e7869
UD
7431 * malloc/malloc.c: Various cleanups.
7432 * malloc/hooks.c: Likewise.
7433
400aa020
UD
7434 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7435 * stdlib/bug-fmtmsg1.c: New file.
7436
7437 * stdlib/fmtmsg.c (init): Add missing unlock.
7438 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7439
e0a309cf
MP
74402012-01-12 Marek Polacek <polacek@redhat.com>
7441
7442 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7443 and _GNU_SOURCE.
7444
929d11c7
WS
74452012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7446
7447 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7448 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7449 macro to ensure uniqueness of label name.
7450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7452
41d0e869
UD
74532012-01-11 Ulrich Drepper <drepper@gmail.com>
7454
0cc5ed3b
UD
7455 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7456
41d0e869
UD
7457 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7461
a47a831a
UD
74622012-01-10 Ulrich Drepper <drepper@gmail.com>
7463
daa891c0
UD
7464 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7465
7466 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7469
e58ef0f2
UD
7470 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7471
a47a831a 7472 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7476
7477 * math/bits/math-finite.h: Add ldexp support.
7478
a0bfc9c7
MP
74792012-01-10 Marek Polacek <polacek@redhat.com>
7480
7481 * locale/programs/localedef.h (show_archive_content): Add noreturn
7482 attribute.
7483
d6e97a1d
UD
74842012-01-09 Ulrich Drepper <drepper@gmail.com>
7485
7486 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7487
d5835c26
UD
74882012-01-08 Ulrich Drepper <drepper@gmail.com>
7489
e5f484c6
UD
7490 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7491
d5835c26
UD
7492 * io/Makefile (headers): Add bits/poll2.h.
7493
d1f741e9
WS
74942011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7495
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7497 typo #include statement.
7498
ec09c1c4
UD
74992012-01-08 Ulrich Drepper <drepper@gmail.com>
7500
7501 * include/sys/cdefs.h: Define __attribute_alloc_size.
7502 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7503 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7504 * elf/pldd.c: Likewise.
7505 * iconv/iconv_charmap.c: Likewise.
7506 * iconv/iconvconfig.c: Likewise.
7507 * iconv/strtab.c: Likewise.
7508 * locale/programs/locale.c: Likewise.
7509 * locale/programs/localedef.h: Likewise.
7510 * locale/programs/simple-hash.c: Likewise.
7511 * nscd/nscd.h: Likewise.
7512 * nss/makedb.c: Likewise.
7513 * sysdeps/generic/ldconfig.h: Likewise.
7514 * locale/programs/localedef.c: Remove xmalloc prototype.
7515 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7516
20b38e03
PP
75172012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7518
7519 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7520 appropriate.
7521
a0da5fe1
UD
75222012-01-08 Ulrich Drepper <drepper@gmail.com>
7523
1d5a644a 7524 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7525 * math/tst-CMPLX.c: New file.
1d5a644a 7526
8784a6db
UD
7527 * math/complex.h (CMPLXL): Fix typo.
7528
d9a216c0
UD
7529 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7530 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7531 GLIBC_2.16.
7532 * debug/tst-chk1.c: Add poll and ppoll tests.
7533 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7534 * include/sys/poll.h: Add hidden proto for ppoll.
7535 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7536 * sysdeps/mach/hurd/ppoll.c: Likewise.
7537 * io/ppoll.c: Likewise.
7538 * debug/poll_chk.c: New file.
7539 * debug/ppoll_chk.c: New file.
7540 * include/bits/poll2.h: New file.
7541 * io/bits/poll2.h: New file.
7542
ac097f5c
UD
7543 [BZ #1350]
7544 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7545
2119dcfa
UD
7546 * configure.in: static is always set to yes. Remove.
7547 * config.make.in: Don't set build-static.
7548 * Makeconfig: Remove use of build-static.
7549 * dlfcn/Makefile: Likewise.
7550 * elf/Makefile: Likewise.
7551 * math/Makefile: Likewise.
7552 * misc/Makefile: Likewise.
7553 * nptl/Makefile: Likewise.
7554 * sysdeps/mach/hurd/Makefile: Likewise.
7555
121766a9
UD
7556 * configure.in: PWD_P is not used anymore.
7557 * config.make.in: Remove PWD_P entry.
7558
51a1d39c 7559 * configure.in: Remove last remnants of RANLIB.
8720d066 7560 No need to check for signed size_t anymore.
215f4bdc
UD
7561 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7562 and IA-64.
3857022a 7563 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7564 * aclocal.m4: Likewise.
7565
d3ed7225
UD
7566 * wcsmbs/mbrtoc16.c: Implement using towc function.
7567 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7568 * wcsmbs/wcsmbsload.c: Likewise.
7569 * iconv/gconv_simple.c: Likewise.
7570 * iconv/gconv_int.h: Likewise.
7571 * iconv/gconv_builtin.h: Likewise.
7572 * iconv/iconv_prog.c: Remove CHAR16 handling.
7573
7574 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7575
7576 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7577
a0da5fe1
UD
7578 * configure.in: Remove --with-elf and --enable-bounded options.
7579 Dont set base_machine for ia64. More non-ELF conditions removed.
7580 Remove testing and setting of leading underscore information.
7581 * config.make.in (build-bounded): Set to no.
7582 * config.h.in: Remove NO_UNDERSCORES entry.
7583 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7584 them.
7585 * csu/start.c: Remove !NO_UNDERSCORE code.
7586 * locale/localeinfo.h: Likewise.
7587 * sysdeps/generic/machine-gmon.h: Likewise.
7588 * sysdeps/generic/sysdep.h: Likewise.
7589 * sysdeps/i386/sysdep.h: Likewise.
7590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7591 * sysdeps/mach/sysdep.h: Likewise.
7592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7594 * sysdeps/sh/sysdep.h: Likewise.
7595 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7596 * sysdeps/unix/i386/sysdep.S: Likewise.
7597 * sysdeps/unix/sparc/start.c: Likewise.
7598 * sysdeps/unix/sparc/sysdep.S: Likewise.
7599 * sysdeps/unix/sparc/sysdep.h: Likewise.
7600 * sysdeps/unix/start.c: Likewise.
7601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7602 * sysdeps/x86_64/sysdep.h: Likewise.
7603
df78418a
UD
76042012-01-07 Ulrich Drepper <drepper@gmail.com>
7605
a784e502
UD
7606 [BZ #13553]
7607 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7608 for non-gcc.
7609 * argp/argp-fmtstream.h: Use const instead __const.
7610 * argp/argp.h: Likewise.
7611 * assert/assert.h: Likewise.
7612 * bits/fenv.h: Likewise.
7613 * bits/sched.h: Likewise.
7614 * bits/sigset.h: Likewise.
7615 * bits/sigthread.h: Likewise.
7616 * catgets/nl_types.h: Likewise.
7617 * conform/data/pthread.h-data: Likewise.
7618 * crypt/crypt-private.h: Likewise.
7619 * crypt/crypt.h: Likewise.
7620 * crypt/crypt_util.c: Likewise.
7621 * ctype/ctype.h: Likewise.
7622 * debug/execinfo.h: Likewise.
7623 * debug/mbsnrtowcs_chk.c: Likewise.
7624 * debug/mbsrtowcs_chk.c: Likewise.
7625 * debug/wcsnrtombs_chk.c: Likewise.
7626 * debug/wcsrtombs_chk.c: Likewise.
7627 * debug/wcstombs_chk.c: Likewise.
7628 * dirent/dirent.h: Likewise.
7629 * dlfcn/dlfcn.h: Likewise.
7630 * elf/neededtest4.c: Likewise.
7631 * grp/grp.h: Likewise.
7632 * gshadow/gshadow.h: Likewise.
7633 * iconv/gconv.h: Likewise.
7634 * iconv/gconv_int.h: Likewise.
7635 * iconv/gconv_simple.c: Likewise.
7636 * iconv/iconv.h: Likewise.
7637 * iconv/loop.c: Likewise.
7638 * iconv/skeleton.c: Likewise.
7639 * include/aio.h: Likewise.
7640 * include/aliases.h: Likewise.
7641 * include/argz.h: Likewise.
7642 * include/arpa/inet.h: Likewise.
7643 * include/assert.h: Likewise.
7644 * include/dirent.h: Likewise.
7645 * include/dlfcn.h: Likewise.
7646 * include/execinfo.h: Likewise.
7647 * include/fcntl.h: Likewise.
7648 * include/fenv.h: Likewise.
7649 * include/glob.h: Likewise.
7650 * include/grp.h: Likewise.
7651 * include/libintl.h: Likewise.
7652 * include/mntent.h: Likewise.
7653 * include/netdb.h: Likewise.
7654 * include/pwd.h: Likewise.
7655 * include/rpc/netdb.h: Likewise.
7656 * include/sched.h: Likewise.
7657 * include/search.h: Likewise.
7658 * include/shadow.h: Likewise.
7659 * include/signal.h: Likewise.
7660 * include/stdio.h: Likewise.
7661 * include/stdlib.h: Likewise.
7662 * include/string.h: Likewise.
7663 * include/sys/socket.h: Likewise.
7664 * include/sys/stat.h: Likewise.
7665 * include/sys/statfs.h: Likewise.
7666 * include/sys/statvfs.h: Likewise.
7667 * include/sys/syslog.h: Likewise.
7668 * include/sys/time.h: Likewise.
7669 * include/sys/uio.h: Likewise.
7670 * include/time.h: Likewise.
7671 * include/unistd.h: Likewise.
7672 * include/utmp.h: Likewise.
7673 * include/wchar.h: Likewise.
7674 * include/wctype.h: Likewise.
7675 * inet/aliases.h: Likewise.
7676 * inet/arpa/inet.h: Likewise.
7677 * inet/netinet/ether.h: Likewise.
7678 * inet/netinet/in.h: Likewise.
7679 * intl/libintl.h: Likewise.
7680 * io/bits/fcntl2.h: Likewise.
7681 * io/fcntl.h: Likewise.
7682 * io/ftw.h: Likewise.
7683 * io/sys/poll.h: Likewise.
7684 * io/sys/stat.h: Likewise.
7685 * io/sys/statfs.h: Likewise.
7686 * io/sys/statvfs.h: Likewise.
7687 * io/utime.h: Likewise.
7688 * libio/bits/stdio.h: Likewise.
7689 * libio/bits/stdio2.h: Likewise.
7690 * libio/libio.h: Likewise.
7691 * libio/libioP.h: Likewise.
7692 * libio/stdio.h: Likewise.
7693 * locale/lc-ctype.c: Likewise.
7694 * locale/locale.h: Likewise.
7695 * login/utmp.h: Likewise.
7696 * malloc/arena.c: Likewise.
7697 * malloc/malloc.c: Likewise.
7698 * malloc/malloc.h: Likewise.
7699 * malloc/mcheck.c: Likewise.
7700 * malloc/mtrace.c: Likewise.
7701 * math/bits/mathcalls.h: Likewise.
7702 * math/fenv.h: Likewise.
7703 * math/math_private.h: Likewise.
7704 * misc/bits/error.h: Likewise.
7705 * misc/bits/syslog.h: Likewise.
7706 * misc/err.h: Likewise.
7707 * misc/error.h: Likewise.
7708 * misc/fstab.h: Likewise.
7709 * misc/mntent.h: Likewise.
7710 * misc/regexp.h: Likewise.
7711 * misc/search.h: Likewise.
7712 * misc/sgtty.h: Likewise.
7713 * misc/sys/mman.h: Likewise.
7714 * misc/sys/syslog.h: Likewise.
7715 * misc/sys/uio.h: Likewise.
7716 * misc/sys/xattr.h: Likewise.
7717 * misc/ttyent.h: Likewise.
7718 * nis/rpcsvc/ypclnt.h: Likewise.
7719 * nss/nss.h: Likewise.
7720 * posix/bits/unistd.h: Likewise.
7721 * posix/fnmatch.h: Likewise.
7722 * posix/glob.h: Likewise.
7723 * posix/sched.h: Likewise.
7724 * posix/spawn.h: Likewise.
7725 * posix/sys/wait.h: Likewise.
7726 * posix/unistd.h: Likewise.
7727 * posix/wordexp.h: Likewise.
7728 * pwd/pwd.h: Likewise.
7729 * resolv/netdb.h: Likewise.
7730 * resource/sys/resource.h: Likewise.
7731 * rt/aio.h: Likewise.
7732 * rt/bits/mqueue2.h: Likewise.
7733 * rt/mqueue.h: Likewise.
7734 * shadow/shadow.h: Likewise.
7735 * signal/signal.h: Likewise.
7736 * socket/send.c: Likewise.
7737 * socket/sendto.c: Likewise.
7738 * socket/sys/socket.h: Likewise.
7739 * stdio-common/printf.h: Likewise.
7740 * stdlib/bits/stdlib.h: Likewise.
7741 * stdlib/fmtmsg.h: Likewise.
7742 * stdlib/monetary.h: Likewise.
7743 * stdlib/stdlib.h: Likewise.
7744 * stdlib/ucontext.h: Likewise.
7745 * streams/stropts.h: Likewise.
7746 * string/argz.h: Likewise.
7747 * string/bits/string2.h: Likewise.
7748 * string/string.h: Likewise.
7749 * string/strings.h: Likewise.
7750 * sunrpc/rpc/auth.h: Likewise.
7751 * sunrpc/rpc/auth_des.h: Likewise.
7752 * sunrpc/rpc/clnt.h: Likewise.
7753 * sunrpc/rpc/netdb.h: Likewise.
7754 * sunrpc/rpc/pmap_clnt.h: Likewise.
7755 * sunrpc/rpc/xdr.h: Likewise.
7756 * sysdeps/generic/inttypes.h: Likewise.
7757 * sysdeps/generic/net/if.h: Likewise.
7758 * sysdeps/generic/sys/swap.h: Likewise.
7759 * sysdeps/gnu/net/if.h: Likewise.
7760 * sysdeps/gnu/utmpx.h: Likewise.
7761 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7762 * sysdeps/i386/i486/bits/string.h: Likewise.
7763 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7764 * sysdeps/s390/bits/string.h: Likewise.
7765 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7766 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7767 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7768 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7769 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7770 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7771 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7774 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7776 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7777 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7778 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7779 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7780 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7781 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7789 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7790 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7792 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7793 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7795 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7796 * sysvipc/sys/ipc.h: Likewise.
7797 * sysvipc/sys/msg.h: Likewise.
7798 * sysvipc/sys/sem.h: Likewise.
7799 * sysvipc/sys/shm.h: Likewise.
7800 * termios/termios.h: Likewise.
7801 * time/sys/time.h: Likewise.
7802 * time/time.h: Likewise.
7803 * wcsmbs/bits/wchar2.h: Likewise.
7804 * wcsmbs/uchar.h: Likewise.
7805 * wcsmbs/wchar.h: Likewise.
7806 * wctype/wctype.h: Likewise.
7807
0269750c
UD
7808 [BZ #13551]
7809 * Makeconfig: Remove all but ELF support including AIX support.
7810 * Makerules: Likewise.
7811 * config.h.in: Likewise.
7812 * config.make.in: Likewise.
7813 * configure: Likewise.
7814 * configure.in: Likewise.
7815 * csu/Makefile: Likewise.
7816 * csu/version.c: Likewise.
7817 * debug/Makefile: Likewise.
7818 * dlfcn/Makefile: Likewise.
7819 * elf/Makefile: Likewise.
7820 * extra-lib.mk: Likewise.
7821 * iconv/Makefile: Likewise.
7822 * include/libc-symbols.h: Likewise.
7823 * include/shlib-compat.h: Likewise.
7824 * resolv/Makefile: Likewise.
7825 * resolv/res_libc.c: Likewise.
7826 * rt/Makefile: Likewise.
7827 * sysdeps/i386/asm-syntax.h: Likewise.
7828 * sysdeps/i386/sysdep.h: Likewise.
7829 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7830 * sysdeps/mach/sysdep.h: Likewise.
7831 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7832 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7833 * sysdeps/s390/asm-syntax.h: Likewise.
7834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7836 * sysdeps/sh/sysdep.h: Likewise.
7837 * sysdeps/unix/sparc/sysdep.h: Likewise.
7838 * sysdeps/wordsize-32/divdi3.c: Likewise.
7839 * sysdeps/x86_64/sysdep.h: Likewise.
7840
00bbd29b
UD
7841 * argp/Versions: Remove _argp_unlock_xxx.
7842
7843 [BZ #13559]
7844 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7845 * abilist/libBrokenLocale.abilist: Likewise.
7846 * abilist/libanl.abilist: Likewise.
7847 * abilist/libc.abilist: Likewise.
7848 * abilist/libcrypt.abilist: Likewise.
7849 * abilist/libdl.abilist: Likewise.
7850 * abilist/libm.abilist: Likewise.
7851 * abilist/libnsl.abilist: Likewise.
7852 * abilist/libpthread.abilist: Likewise.
7853 * abilist/libresolv.abilist: Likewise.
7854 * abilist/librt.abilist: Likewise.
7855 * abilist/libthread_db.abilist: Likewise.
7856 * abilist/libutil.abilist: Likewise.
7857 * abilist/libnss_db.abilist: New file.
7858
7859 * scripts/abilist.awk: Add support for indirect functions.
7860
a2693a0e
UD
7861 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7862
3f05895f
UD
7863 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7864
ecb6fb48
UD
7865 * shlib-versions: Remove entries for ports architectures.
7866
664f8cb9
UD
7867 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7868 files in ports.
7869 * elf/stackguard-macros.h: Remove support for IA-64.
7870 * elf/tst-auditmod1.c: Likewise.
7871 * sysdeps/generic/ldsodefs.h: Likewise.
7872
7ae81d88
UD
7873 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7874 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7875 configure files.
7876
bdeba135
UD
7877 [BZ #13552]
7878 * configure.in: Remove --enable-omitfp support.
7879 * FAQ.in: Adjust.
7880 * config.make.in: Likewise.
7881 * Makeconfig: Likewise.
7882 * manual/install.texi: Likewise.
7883
d75a0a62
UD
7884 In case anyone cares, the IA-64 architecture could move to ports.
7885 * sysdeps/ia64/*: Removed.
7886 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7887 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7888
dcc9756b
UD
7889 [BZ #13555]
7890 * configure.in: Remove entries for unsupported architectures.
7891
d3761ebc 7892 [BZ #13533]
9954432e
UD
7893 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7894 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7895 routines.
7896 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7897 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7898 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7899 fall back to using wcrtomb.
7900 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7901 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7902 renaming.
7903 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7904 * wcsmbs/tst-c16c32-1.c: New file.
7905
7906 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7907 local variable.
7908
c3a87236
UD
7909 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7910
28926a1b
UD
7911 * elf/tst-unique3.cc: Add explicit declaration of gets.
7912 * elf/tst-unique3lib.cc: Likewise.
7913 * elf/tst-unique3lib2.cc: Likewise.
7914 * elf/tst-unique4.cc: Likewise.
7915
df78418a
UD
7916 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7917
8ecd6b2a
JM
79182012-01-06 Joseph Myers <joseph@codesourcery.com>
7919
7920 [BZ #13566]
7921 * assert/assert.h (static_assert): Don't define for C++.
7922 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7923 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7924
9f115170
UD
79252012-01-03 Ulrich Drepper <drepper@gmail.com>
7926
5e0d0300
UD
7927 * iconv/loop.c (single loop): Fix assertion in storing of
7928 remaining bytes.
7929
9f115170
UD
7930 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7931
81fb02b0
UD
79322012-01-01 Ulrich Drepper <drepper@gmail.com>
7933
7934 * posix/getconf.c: Update copyright year.
7935 * nss/getent.c: Likewise.
a316c1f6 7936 * nss/makedb.c: Likewise.
81fb02b0
UD
7937 * iconv/iconvconfig.c: Likewise.
7938 * iconv/iconv_prog.c: Likewise.
7939 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7940 * elf/pldd.c: Likewise.
7941 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7942 * catgets/gencat.c: Likewise.
7943 * csu/version.c: Likewise.
7944 * elf/ldd.bash.in: Likewise.
7945 * elf/sprof.c (print_version): Likewise.
7946 * locale/programs/locale.c: Likewise.
7947 * locale/programs/localedef.c: Likewise.
a316c1f6 7948 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7949 * nscd/nscd.c (print_version): Likewise.
7950 * debug/xtrace.sh: Likewise.
7951 * malloc/memusage.sh: Likewise.
7952 * malloc/mtrace.pl: Likewise.
7953 * debug/catchsegv.sh: Likewise.
7954
2ba92745
JJ
79552011-12-30 Jakub Jelinek <jakub@redhat.com>
7956
7957 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7958 pure attribute.
7959
dadebdae
UD
79602011-12-24 Ulrich Drepper <drepper@gmail.com>
7961
d3761ebc 7962 [BZ #13533]
db6af3eb
UD
7963 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7964 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7965 transformations.
7966 * iconv/gconv_int.h: Likewise.
7967 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7968 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7969 from libc for GLIBC_2.16.
7970 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7971 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7972 * wcsmbs/uchar.h: Really define mbstate_t.
7973 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7974 * wcsmbs/c16rtomb.c: New file.
7975 * wcsmbs/mbrtoc16.c: New file.
7976 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7977 for C/POSIX locale.
7978 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7979 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7980
dadebdae
UD
7981 * wcsmbs/wchar.h: Add missing __restrict.
7982
67371b56
UD
79832011-12-23 Ulrich Drepper <drepper@gmail.com>
7984
74033a25
UD
7985 [BZ #13532]
7986 * time/Makefile (routines): Add timespec_get.
7987 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7988 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7989 timespec for ISO C11.
7990 * time/timespec_get.c: New file.
7991 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7992 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7993
380d7e87
UD
7994 [BZ #13531]
7995 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7996 * stdlib/stdlib.h: Declare aligned_alloc.
7997 * Versions.def: Add GLIBC_2.16 for libc.
7998 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7999
4e9e7a35
UD
8000 [BZ 13527]
8001 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8002 ISO C11.
8003
380d7e87 8004 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8005 code.
8006
03a71829
UD
8007 [BZ #13528]
8008 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8009
839e283e
UD
8010 [BZ #13529]
8011 * assert/assert.h (static_assert): Define.
8012
ce5294e2 8013 * version.h: Update for 2.16 development version.
90fa7312 8014
8d44e150 8015 [BZ #13526]
d7809905
UD
8016 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8017 _ISOC11_SOURCE.
8018
c0da14cd
UD
8019 * version.h (RELEASE): Bump for 2.15 release.
8020 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8021
530a3249
MP
8022 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8023 Patch by Marek Polacek <mpolacek@redhat.com>.
8024
67371b56
UD
8025 * bits/byteswap.h: Protect long long constants with __extension__.
8026 * sysdeps/i386/bits/byteswap.h: Likewise.
8027 * sysdeps/ia64/bits/byteswap.h: Likewise.
8028 * sysdeps/s390/bits/byteswap.h: Likewise.
8029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8030
15db4de1
LD
80312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8032
8033 [BZ #13540]
bbe315ea
LD
8034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8035 destination buffer.
15db4de1
LD
8036 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8037
2b2596b1
MP
80382011-12-23 Marek Polacek <polacek@redhat.com>
8039
8040 * elf/dl-addr.c (determine_info): Add inline keyword.
8041 * elf/tst-auditmod4b.c (check_avx): Likewise.
8042 * elf/tst-auditmod6b.c (check_avx): Likewise.
8043 * elf/tst-auditmod6c.c (check_avx): Likewise.
8044 * elf/tst-auditmod7b.c (check_avx): Likewise.
8045
70c6c246
UD
80462011-12-23 Ulrich Drepper <drepper@gmail.com>
8047
8048 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8049 !__SSE_MATH__.
8050
c044cf14
LD
80512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8052
15db4de1 8053 [BZ #13540]
c044cf14
LD
8054 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8055 processing for last bytes.
8056
6b13d9d9
BH
80572011-08-06 Bruno Haible <bruno@clisp.org>
8058
d455f537
BH
8059 [BZ #13061]
8060 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8061 U+0385, not to U+1FEE.
8062
6b13d9d9
BH
8063 [BZ #13062]
8064 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8065 entry for U+00A5 U+0301.
8066
db910efd
UD
80672011-12-22 Ulrich Drepper <drepper@gmail.com>
8068
27deeafc
UD
8069 [BZ #13166]
8070 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8071 buffer for the output is too small.
8072
aed9d171
UD
8073 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8074 optimization.
8075
db910efd
UD
8076 [BZ #13185]
8077 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8078 SSE flags if possible.
8079
2bd779ae
LD
80802011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8081
e7f9dac3 8082 [BZ #13540]
2bd779ae
LD
8083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8084 processing for last bytes.
8085
154bfc16
JM
80862011-12-22 Joseph Myers <joseph@codesourcery.com>
8087
8088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8089 (syscall-list-default-options, syscall-list-default-condition)
8090 (syscall-list-includes): Define.
8091 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8092 list of ABIs and options and #if conditions for each ABI. Do not
8093 handle common syscalls between ABIs specially.
8094 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8095 Remove.
8096 (syscall-list-variants, syscall-list-32bit-options)
8097 (syscall-list-32bit-condition, syscall-list-64bit-options)
8098 (syscall-list-64bit-condition): Define.
8099 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8100 (syscall-list-variants, syscall-list-32bit-options)
8101 (syscall-list-32bit-condition, syscall-list-64bit-options)
8102 (syscall-list-64bit-condition): Define.
8103 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8104 Remove.
8105 (syscall-list-variants, syscall-list-32bit-options)
8106 (syscall-list-32bit-condition, syscall-list-64bit-options)
8107 (syscall-list-64bit-condition): Define.
8108 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8109 Remove.
8110 (syscall-list-variants, syscall-list-32bit-options)
8111 (syscall-list-32bit-condition, syscall-list-64bit-options)
8112 (syscall-list-64bit-condition): Define.
8113
21eaf3a5
UD
81142011-12-22 Ulrich Drepper <drepper@gmail.com>
8115
16c6f992
UD
8116 * locale/iso-639.def: Add brx entry.
8117
41043168
UD
8118 [BZ #13328]
8119 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8120 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8121
21eaf3a5
UD
8122 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8123 __feraiseexcept_renamed.
8124
e3a851a2
UD
81252011-12-21 Ulrich Drepper <drepper@gmail.com>
8126
4920765e
UD
8127 [BZ #13538]
8128 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8129 EPOLLET with unsigned values.
8130 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8132
e3a851a2
UD
8133 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8134 to large cancellation.
8135 * math/s_cacoshf.c: Likewise.
8136 * math/s_cacoshl.c: Likewise.
8137
b27e24b8
RK
81382011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8139
8140 [BZ #13305]
aebefeee 8141 [BZ #12786]
b27e24b8
RK
8142 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8143 * math/s_cacoshf.c: Likewise.
8144 * math/s_cacoshl.c: Likewise.
8145
ee190f67
UD
81462011-12-21 Ulrich Drepper <drepper@gmail.com>
8147
8148 [BZ #13439]
8149 * iconv/gconv.h: Define __GCONV_SWAP.
8150 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8151 * iconvdata/utf-16.c: Likewise.
8152 * iconvdata/utf-32.c: Likewise.
8153
707f25df
AS
81542011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8155
8156 [BZ #13524]
8157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8158 numerator after shifting it by one limb.
8159
d2daaa1e
RÁE
81602011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8161
8162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8163 under [__USE_EXTERN_INLINES].
8164
a4647e72
UD
81652011-12-17 Ulrich Drepper <drepper@gmail.com>
8166
8167 [BZ #13446]
8168 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8169
f0b264f1
AZ
81702011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8171
8172 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8173 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8174 optimized code.
8175 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8176 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8177 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8178 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8179 for strncasecmp/strncasecmp_l compilation.
8180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8181 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8182
8ef4f244
MP
81832011-12-08 Marek Polacek <mpolacek@redhat.com>
8184
8185 [BZ #13484]
8186 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8187 of __asm__.
8188
97ac2654
UD
81892011-12-17 Ulrich Drepper <drepper@gmail.com>
8190
8191 [BZ #13506]
8192 * time/tzfile.c (__tzfile_read): Check values from file header.
8193
91d2a845
WS
81942011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8195
8196 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8197 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8198 * powerpc/powerpc32/dl-start.S: Likewise.
8199 * powerpc/powerpc32/elf/start.S: Likewise.
8200 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8201 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8202 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8203 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8204 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8205 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8206 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8207 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8208 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8209 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8210 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8211 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8212 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8213 * powerpc/powerpc32/memset.S: Likewise.
8214 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8215 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8216 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8217 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8218 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8219 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8220 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8221 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8222 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8223 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8225 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8226 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8227
a1267ba1
AZ
82282011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8229
8230 * math/libm-test.inc: Added more nearbyint tests.
8231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8235
ad8ac1bd
RL
82362011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8237
8238 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8239 FD_CLOEXEC.
8240
1d3e4b61
UD
82412011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8242
8243 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8244 Add wcscpy-ssse3 wcscpy-c.
8245 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8246 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8247 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8248 * sysdeps/x86_64/wcschr.S: New file.
8249 * sysdeps/x86_64/wcsrchr.S: New file.
8250 * string/test-strcmp.c: Remove checking of wcscmp function for
8251 wrong alignments.
8252 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8253 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8254 wcsrchr-sse2 wcsrchr-c.
8255 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8256 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8257 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8258 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8259 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8260 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8261 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8262 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8263 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8264 * wcsmbc/wcschr.c (WCSCHR): New macro.
8265
5b330a2d
UD
82662011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8267
8268 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8269 * wcsmbs/test-wcsrchr.c: New file.
8270 * string/test-strrchr.c: Add wcsrchr support.
8271 (WIDE): New macro.
8272 * wcsmbs/test-wcscpy.c: New file.
8273 * string/test-strcpy.c: Add wcscpy support.
8274 (WIDE): New macro.
26428b7c 8275
f039c043
UD
82762011-12-10 Ulrich Drepper <drepper@gmail.com>
8277
8278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8279 the inner loop.
8280
850fb039
AS
82812011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8282
8283 [BZ #13472]
8284 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8285
4efbd5cb
UD
82862011-12-04 Ulrich Drepper <drepper@gmail.com>
8287
52ff5dd0 8288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8289 Minor optimizations.
52ff5dd0 8290
4efbd5cb
UD
8291 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8292 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8293 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8294
8a426e12
UD
82952011-12-03 Ulrich Drepper <drepper@gmail.com>
8296
aff2453d
UD
8297 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8298 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8299 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8300 for gcc to avoid warnings.
8301 * inet/Makefile (tests): Add tst-checks.
8302 * inet/tst-checks.c: New file.
8303
8304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8305 warning.
8306
8307 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8308 __wmemcmp_sse2.
8309
8310 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8311 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8312
8a426e12
UD
8313 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8314
9bea3473
UD
83152011-12-02 Ulrich Drepper <drepper@gmail.com>
8316
3a965496
UD
8317 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8318 problem.
8319
9bea3473
UD
8320 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8321
f101631b
UD
83222011-11-29 Joseph Myers <joseph@codesourcery.com>
8323
8324 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8325 conditional on GCC version.
8326 (__arch_compare_and_exchange_val_8_acq)
8327 (__arch_compare_and_exchange_val_16_acq)
8328 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8329 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8330 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8331
a98275aa
UD
83322011-12-02 Joseph Myers <joseph@codesourcery.com>
8333
8334 * sysdeps/sh/backtrace.c: New file.
8335
d4cc29a2
AS
83362011-12-02 Andreas Schwab <schwab@redhat.com>
8337
8338 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8339 parenthesis.
8340
6257af2d
AS
83412011-12-01 Andreas Schwab <schwab@redhat.com>
8342
8343 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8344 falling back to utime.
8345
b5f44c1a
AS
83462011-11-30 Andreas Schwab <schwab@redhat.com>
8347
8348 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8349 expectations for float.
8350
f3a6cc0a
AS
83512011-11-29 Andreas Schwab <schwab@redhat.com>
8352
8353 * locale/weight.h (findidx): Add parameter len.
8354 * locale/weightwc.h (findidx): Likewise.
8355 * posix/fnmatch_loop.c (FCT): Adjust caller.
8356 * posix/regcomp.c (build_equiv_class): Likewise.
8357 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8358 * posix/regexec.c (check_node_accept_bytes): Likewise.
8359 * string/strcoll_l.c (STRCOLL): Likewise.
8360 * string/strxfrm_l.c (STRXFRM): Likewise.
8361
9d65ea3a
UD
83622011-11-17 Ulrich Drepper <drepper@gmail.com>
8363
8364 * Makefile.in: Remove CVSOPT handling.
8365 * configure.in: Remove use of AC_REVISION.
8366 * iconvdata/Makefile (distribute): No need to filter out CVS.
8367 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8368 handling.
8369
5583a086
AS
83702011-11-16 Andreas Schwab <schwab@redhat.com>
8371
8372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8373 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8374 [USE_AS_STRNCASECMP_L]: Likewise.
8375 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8376 NO_TLS_DIRECT_SEG_REFS.
8377 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8378 Fix argument offsets for non-PIC.
8379 [USE_AS_STRNCASECMP_L]: Likewise.
8380 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8381 NO_TLS_DIRECT_SEG_REFS.
8382
d62a8200
UD
83832011-11-15 Ulrich Drepper <drepper@gmail.com>
8384
9d65ea3a 8385 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8386 O_CLOEXEC.
8387 * locale/loadlocale.c (_nl_load_locale): Likewise.
8388
09f93bd3
AS
83892011-11-15 Andreas Schwab <schwab@redhat.com>
8390
446514f9
AS
8391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8392 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8394 (SYSCALL_GETTIME): Set errno on error.
8395
09f93bd3
AS
8396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8397 count references to noai6ai_cached.
8398
312be3f9
UD
83992011-11-15 Ulrich Drepper <drepper@gmail.com>
8400
8401 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8402
8403 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8404 FD_CLOEXEC for /proc/self/maps.
8405
8406 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8407 FD_CLOEXEC for /proc/meminfo.
8408
8409 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8410 gai.conf.
8411
8412 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8413 FD_CLOEXEC for given file.
8414
8415 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8416
8417 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8418 FD_CLOEXEC for /etc/hosts.
8419 (_gethtent): Likewise.
8420
8421 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8422
8423 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8424 cancellation and set FD_CLOEXEC for /etc/netgroup.
8425
8426 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8427 reading /etc/publickey.
8428
8429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8430 allow cancellation when reading /etc/group.
8431
8432 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8433 cancellation.
8434 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8435
8436 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8437 when using data file.
8438
8439 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8440
8441 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8442 (write_nis_obj): Use "c" and "e" in fopen.
8443
8444 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8445
8446 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8447
8448 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8449
8450 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8451
8452 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8453 locale.alias.
8454
8455 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8456
8457 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8458
8459 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8460
8461 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8462 file parsing and set FD_CLOEXEC.
8463
82af0fa8
UD
84642011-11-14 Ulrich Drepper <drepper@gmail.com>
8465
8466 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8467
a5fb313c
AS
84682011-11-14 Andreas Schwab <schwab@redhat.com>
8469
8470 * malloc/arena.c (arena_get2): Don't call reused_arena when
8471 _int_new_arena failed.
8472
6abf3465
UD
84732011-11-14 Ulrich Drepper <drepper@gmail.com>
8474
8475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8476 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8481 to compile strcasecmp and strncasecmp.
8482 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8483 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8484
8485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8486
76e3966e
UD
84872011-11-13 Ulrich Drepper <drepper@gmail.com>
8488
8489 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8490 locale-defines.sym to gen-as-const-headers.
8491 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8492 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8494 to compile strcasecmp and strncasecmp.
8495 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8496 strcasecmp_l and strncasecmp_l.
8497 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8498 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8499 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8501 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8503 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8504 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8505 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8507 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8508
ab26144e
UD
85092011-11-12 Ulrich Drepper <drepper@gmail.com>
8510
7edb22ef
UD
8511 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8512 result of SYSDEP_GETTIME_CPU to retval.
8513 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8514 parameter list to macro. Remove trailing semicolon. Adjust users.
8515
9694fc44
UD
8516 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8517 variable.
8518
8ad89ef8
UD
8519 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8520 mantissa words.
8521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8522
0c822ef9
UD
8523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8524 from unused variable.
8525
874e0564
UD
8526 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8527 DWARF definitions.
8528 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8529 for assembling.
8530
3a2edc79
UD
8531 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8532 over namespaces.
8533
f3c2577f
UD
8534 * sunrpc/rpc_prot.c (rejected): Fix case value.
8535
294ce126
UD
8536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8537 unsigned long long int to avoid warnings in shift.
8538
5e2b63c6
UD
8539 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8540 of use of trans.
8541 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8542 variable tmp.
8543
e7f4b08e
UD
8544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8545 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8546 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8547
ab26144e
UD
8548 * nis/nis_table.c (nis_list): Use variable of correct type for
8549 result of __follow_path call.
8550
8a6d5255
AZ
85512011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8552
8553 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8554 of math functions ceil, trunc, floor, round, and sqrt, when
8555 avaliable on the platform.
8556 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8557 name clash.
8558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8561
aaddc98c
MP
85622011-10-30 Marek Polacek <mpolacek@redhat.com>
8563
8564 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8566
95b7042b
RM
85672011-11-11 Roland McGrath <roland@hack.frob.com>
8568
8569 * include/unistd.h: Fix __readlink return type.
8570 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8571
57769839
UD
85722011-11-11 Ulrich Drepper <drepper@gmail.com>
8573
8574 * stdlib/ucontext.h: Undo last change for makecontext.
8575
edc5984d
AS
85762011-11-11 Andreas Schwab <schwab@redhat.com>
8577
98591e58
AS
8578 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8579
edc5984d
AS
8580 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8581 * setjmp/setjmp.h: Mark functions as non-leaf.
8582 * setjmp/bits/setjmp2.h: Likewise.
8583 * stdlib/ucontext.h: Likewise.
8584
77cdc054
AS
85852011-11-10 Andreas Schwab <schwab@redhat.com>
8586
8587 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8588 (reused_arena): Don't check arena limit.
8589 (arena_get2): Atomically check arena limit.
8590
fe72eebd
UD
85912011-11-08 Ulrich Drepper <drepper@gmail.com>
8592
5f078c32
UD
8593 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8594 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8595
fe72eebd
UD
8596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8597 instructions.
8598
ae1bc2fa
AS
85992011-11-07 Andreas Schwab <schwab@redhat.com>
8600
7583a88d
AS
8601 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8602 handler when locking.
8603
ae1bc2fa
AS
8604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8605 Fix size of allocated buffer.
8606
10fb0bfa
AS
86072011-11-04 Andreas Schwab <schwab@redhat.com>
8608
998832a4
AS
8609 [BZ #10103]
8610 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8611 declarations for long double functions.
8612 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8613
10fb0bfa
AS
8614 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8615
3d7ba52b
AS
86162011-11-03 Andreas Schwab <schwab@redhat.com>
8617
a9ae54a1
AS
8618 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8619 installed.
8620
3d7ba52b
AS
8621 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8622 is disabled.
8623
bc8db248
ST
86242011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8625
8626 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8627
45b96dd6
AS
86282011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8629
647776f6
AS
8630 * include/alloca.h (stackinfo_alloca_round): Define.
8631 (extend_alloca): Use it.
8632 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8633 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8634 here.
8635
d91a8b93
AS
8636 * scripts/check-local-headers.sh: Ignore libaudit.h.
8637
45b96dd6
AS
8638 * nscd/Makefile (extra-objs): Make recursively expanded.
8639
432d41ce
UD
86402011-11-01 Ulrich Drepper <drepper@gmail.com>
8641
34372fc6
UD
8642 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8644
fadb59f8
UD
8645 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8646 * posix/tst-rfc3484-2.c: Likewise.
8647 * posix/tst-rfc3484-3.c: Likewise.
8648
78239589
UD
8649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8650 process_vm_writev.
8651 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8652 process_vm_writev.
8653 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8654 process_vm_writev from libc using GLIBC_2.15 version.
8655
432d41ce
UD
8656 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8657
02f9c6cf
PP
86582011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8659
8660 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8661 stack usage.
8662
3a2c0242
UD
86632011-10-31 Ulrich Drepper <drepper@gmail.com>
8664
f4ec4833
UD
8665 [BZ #13367]
8666 * nss/getent.c (initgroups_keys): Show error message in case no group
8667 names are given.
8668
3a2c0242
UD
8669 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8670 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8671 __bump_nl_timestamp.
8672 * nscd/connections (nscd_init): When host database is served open
8673 netlink socket and request notification about configuration changes.
8674 (main_loop_poll): Track netlink file descriptor and bump timestamp
8675 in case data becomes available.
8676 (main_loop_epoll): Likewise.
8677 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8678 (database_pers_head): Add extra_data fileds.
8679 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8681 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8682 Adjust caller.
8683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8684 in6ai data, call __free_in6ai.
8685 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8686 Add -DHAVE_NETLINK.
8687 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8688 interface information. Reuse previous data if netlink timestamp
8689 is not changed.
8690 (__bump_nl_timestamp): New function.
8691 (__free_in6ai): New function.
8692
636064eb
UD
86932011-10-30 Ulrich Drepper <drepper@gmail.com>
8694
8695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8696 close_not_cancel_no_status here.
8697 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8698
9beb2334
UD
86992011-10-29 Ulrich Drepper <drepper@gmail.com>
8700
6ef76f3b
UD
8701 [BZ #13276]
8702 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8703 return value.
8704
0ffc4f3e 8705 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8706 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8707 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8708
cb95113e
UD
87092011-07-03 Andreas Jaeger <aj@suse.de>
8710
8711 [BZ #10709]
8712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8713 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8714 * math/libm-test.inc (sin_test): Add test case.
8715
a1b560ff
UD
87162011-10-29 Ulrich Drepper <drepper@gmail.com>
8717
c9aaface
UD
8718 [BZ #13337]
8719 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8721
d272e7f1
UD
8722 * elf/chroot_canon.c (chroot_canon): Cleanups.
8723
1bc33071
UD
8724 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8725
1760874d
TJ
8726 [BZ #13335]
8727 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8728 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8729
51d91b18
UD
8730 * string/test-strchr.c: Make usable for strchrnul testing.
8731 * string/test-strchrnul.c: New file.
8732 * string/Makefile (strop-tests): Add strchrnul.
8733
a1b560ff 8734 * po/it.po: Update from translation team.
b611fb81 8735 * po/es.po: Likewise.
a1b560ff 8736
a5b81e1f
UD
87372011-10-28 Ulrich Drepper <drepper@gmail.com>
8738
fd52bc6d
UD
8739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8740 the three constants needed as parameters. Drop the others.
8741 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8742 __m128i_strloadu_tolower.
52e4b9eb
UD
8743 Create and initialize variable zero and use it in all the places
8744 where _mm_setzero_si128 was used.
fd52bc6d 8745
a5b81e1f
UD
8746 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8747 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8748 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8749 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8750 anymore.
8751 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8753 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8754 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8756 __mpranred, __mptan.
8757 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8758 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8759 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8760 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8761 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8762 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8766
b4343346
AS
87672011-10-28 Andreas Schwab <schwab@redhat.com>
8768
0c92d8a8
AS
8769 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8770 redefine if SHARED.
8771 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8772
b4343346
AS
8773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8774 wide char related routines to wcsmbs subdir.
8775
3871f58f
AS
87762011-10-27 Andreas Schwab <schwab@redhat.com>
8777
8778 [BZ #13344]
8779 * misc/sys/cdefs.h (__THROWNL): Define.
8780 * posix/unistd.h: Use __THREADNL instead of __THREAD
8781 for memory synchronization functions.
8782
94d44d9f
RM
87832011-10-26 Roland McGrath <roland@hack.frob.com>
8784
21b64b15 8785 [BZ #13349]
94d44d9f
RM
8786 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8787 doesn't exist.
8788 * manual/stdio.texi (Obstack Streams): Node removed.
8789
f6ce9294
AS
87902011-10-26 Andreas Schwab <schwab@redhat.com>
8791
80479147
AS
8792 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8794 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8795
f6ce9294
AS
8796 * math/math_private.h (math_force_eval): Allow non-addressable
8797 arguments.
8798 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8799
618280a1
UD
88002011-10-25 Ulrich Drepper <drepper@gmail.com>
8801
e0016b11
UD
8802 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8803 file is not needed.
8804
8805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8812 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8813 Add AVX variants.
8814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8819 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8820 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8824 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8829 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8832 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8833
8834 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8835 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8836
618280a1
UD
8837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8838 place. Use VEX encoding when compiling for AVX.
8839
37822576
AS
88402011-10-25 Andreas Schwab <schwab@redhat.com>
8841
1f1e1947
AS
8842 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8843 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8844
37822576
AS
8845 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8846
31ea014d
UD
88472011-10-25 Ulrich Drepper <drepper@gmail.com>
8848
d7826aa1 8849 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8850 useless if() expression.
d7826aa1
UD
8851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8862 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8870
31ea014d
UD
8871 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8872
16437fec
AS
88732011-10-25 Andreas Schwab <schwab@redhat.com>
8874
8875 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8876 condition.
8877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8878
31d3cc00
UD
88792011-10-25 Ulrich Drepper <drepper@gmail.com>
8880
8881 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8882 .text section. Avoid duplicate constants.
8883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8895 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8907 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8908 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8909 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8910 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8913 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8919 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8925 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8926 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8927 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8928
58985aa9
UD
89292011-10-24 Ulrich Drepper <drepper@gmail.com>
8930
202c9deb
UD
8931 * sysdeps/x86_64/dla.h: Move to ...
8932 * sysdeps/x86_64/fpu/dla.h: ...here.
8933 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8934 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8935
af968f62
UD
8936 * config.make.in: Add have-mfma4 entry.
8937 * configure.in: Substitute libc_cv_cc_fma4.
8938 * math/Makefile (dbl-only-routines): Add sincostab.
8939 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8940 Use __sincostab not sincos.
8941 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8942 name is a macro.
8943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8947 using __copysign.
8948 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8949 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8950 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8951 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8952 and __inv.
8953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8954 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8955 __copysign.
8956 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8957 define aliases when function name is a macro.
8958 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8959 sysdeps/ieee754/dbl-64/sincos.tbl.
8960 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8961 fma4-enabled routines.
8962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8964 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8965 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8971 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8972 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8973 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8992
58985aa9
UD
8993 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8994 rename.
8995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9003
a201fbcf
AS
90042011-10-24 Andreas Schwab <schwab@redhat.com>
9005
9006 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9007
fc2ee42a
LD
90082011-10-23 Ulrich Drepper <drepper@gmail.com>
9009
bb3129bd
UD
9010 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9011
0275fff8
UD
9012 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9013 prediction.
9014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9015
2fa2ae85
UD
9016 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9017 Remove unused variable magic_bits.
9018 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9019
fc2ee42a
LD
9020 * string/strnlen.c: Define and use STRNLEN macro.
9021 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9022 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9024 * wcsmbs/wcslen.c: Define and use WCSLEN.
9025 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9026 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9027 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9028 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9029 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9030 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9032
ce7dd29f
LD
90332011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9034
9035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9036 strnlen-sse2-no-bsf.
9037 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9040 Add strnlen support.
9041 (USE_AS_STRNLEN): New macro.
9042 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9043 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9044 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9045 * sysdeps/x86_64/wcslen.S: New file.
9046
979c70a3
MZ
90472011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9048
9049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9050 XMM-moves are used for copying on small sizes.
9051
2d09f82f
LD
90522011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9053
9054 * wcsmbs/Makefile (strop-tests): Add wcschr.
9055 * wcsmbs/test-wcschr.c: New file.
9056 * string/test-strchr.c: Update.
9057 Add wcschr support.
9058 (WIDE): New macro.
9059
619fccca
LD
90602011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9061
2d09f82f 9062 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9063 * wcsmbs/test-wcslen.c: New file.
9064 * string/test-strlen.c: Update.
9065 Add wcslen support.
9066 (WIDE): New macro.
9067
09f699ea
UD
90682011-10-23 Ulrich Drepper <drepper@gmail.com>
9069
9070 * po/it.po: Update from translation team.
9071
95584d3b
LD
90722011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9073
9074 * sysdeps/x86_64/wcscmp.S: Update.
9075 Fix wrong comparison semantics.
9076 wcscmp shall use signed comparison not unsigned.
9077 Don't use substraction to avoid overflow bug.
9078 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9079 * wcsmbc/wcscmp.c: Likewise.
9080 * string/test-strcmp.c: Likewise.
9081 Add new tests to check cases with negative values.
9082
c8b3296b
UD
90832011-10-23 Ulrich Drepper <drepper@gmail.com>
9084
9085 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9086 * sysdeps/x86_64/dla.h: ...here. New file.
9087 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9096
246ad57a
AS
90972011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9098
9099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9100 __ynl_finite aliases.
9101
a1a87169
UD
91022011-10-22 Ulrich Drepper <drepper@gmail.com>
9103
0d355eb7
UD
9104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9105
a1a87169
UD
9106 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9107 define DLA_FMA.
9108 [DLA_FMA] (EMULV): Use DLA_FMA.
9109 [DLA_FMA] (MUL12): Use EMULV.
9110 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9111 that are not needed.
9112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9119
ee2aafe0
AS
91202011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9121
9122 * math/s_nan.c: Undef __nan.
9123 * math/s_nanf.c: Undef __nanf.
9124 * math/s_nanl.c: Undef __nanl.
9125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9126 "math_private.h".
9127
bc62c2fb
UD
91282011-10-22 Ulrich Drepper <drepper@gmail.com>
9129
77425c63
UD
9130 * math/s_catan.c: Add branch predictions.
9131 * math/s_catanf.c: Likewise.
9132 * math/s_catanh.c: Likewise.
9133 * math/s_catanhf.c: Likewise.
9134 * math/s_catanhl.c: Likewise.
9135 * math/s_catanl.c: Likewise.
9136 * math/s_cexp.c: Likewise.
9137 * math/s_cexpf.c: Likewise.
9138 * math/s_cexpl.c: Likewise.
9139 * math/s_clog.c: Likewise.
9140 * math/s_clog10.c: Likewise.
9141 * math/s_clog10f.c: Likewise.
9142 * math/s_clog10l.c: Likewise.
9143 * math/s_clogf.c: Likewise.
9144 * math/s_clogl.c: Likewise.
9145 * math/s_csqrt.c: Likewise.
9146 * math/s_csqrtf.c: Likewise.
9147 * math/s_csqrtl.c: Likewise.
9148 * math/s_ctanf.c: Likewise.
9149 * math/s_ctanh.c: Likewise.
9150 * math/s_ctanhf.c: Likewise.
9151 * math/s_ctanhl.c: Likewise.
9152 * math/s_ctanl.c: Likewise.
9153
bc62c2fb
UD
9154 * math/math_private.h: Define __nan, __nanf, __nanl.
9155 * math/s_cacosh.c: Include <math_private.h>.
9156 * math/s_cacoshl.c: Likewise.
9157 * math/s_casinh.c: Likewise.
9158 * math/s_casinhf.c: Likewise.
9159 * math/s_casinhl.c: Likewise.
9160 * math/s_ccos.c: Rely entire on ccosh.
9161 * math/s_ccosf.c: Rely entire on ccoshf.
9162 * math/s_ccosl.c: Rely entirely on ccoshl.
9163 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9164 Remove tests for FE_INVALID.
9165 * math/s_ccoshf.c: Likewise.
9166 * math/s_ccoshl.c: Likewise.
9167 * math/s_csin.c: Likewise.
9168 * math/s_csinf.c: Likewise.
9169 * math/s_csinh.c Likewise.
9170 * math/s_csinhf.c: Likewise.
9171 * math/s_csinhl.c: Likewise.
9172 * math/s_csinl.c: Likewise.
9173 * math/s_ctan.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9175 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9176 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9177
8ec250a4
UD
91782011-10-21 Ulrich Drepper <drepper@gmail.com>
9179
c196fed8
UD
9180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9181 compilation problems.
9182
8ec250a4
UD
9183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9184 __builtin_expect.
9185
8d4f46c6
UD
91862011-10-20 Ulrich Drepper <drepper@gmail.com>
9187
ed72b654
UD
9188 * sysdeps/i386/configure.in: Test for -mfma4 option.
9189 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9190 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9191 COMMON_CPUID_INDEX_80000001.
9192 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9193 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9194 use it if FMA3 is not supported.
9195 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9196
8d4f46c6
UD
9197 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9199
d45c60c2
AS
92002011-10-20 Andreas Schwab <schwab@redhat.com>
9201
9202 [BZ #12892]
9203 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9204 it would create a cycle with a link time dependency.
9205
d9a4d2ab
UD
92062011-10-19 Ulrich Drepper <drepper@gmail.com>
9207
855d1560
UD
9208 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9209 instruction.
9210 * string/Makefile (strop-tests): Add rawmemchr.
9211 * string/test-rawmemchr.c: New file.
9212
d9a4d2ab
UD
9213 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9215 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9216 when compiling str{,n}casecmp and when AVX is available. Hook up
9217 new optimized code in initializers.
9218
8f3b1ffe
AS
92192011-10-19 Andreas Schwab <schwab@redhat.com>
9220
9221 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9222 __feraiseexcept instead of feraiseexcept.
9223
d38f1dba
UD
92242011-10-18 Ulrich Drepper <drepper@gmail.com>
9225
d9a8d0ab
UD
9226 * math/math_private.h: Define defaults for libc_fetestexcept and
9227 libc_feupdateenv.
9228 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9229 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9231 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9233 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9234 libc_fetestexcept and libc_feupdateenv.
9235
4855e3dd
UD
9236 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9237 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9238 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9239 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9240 libc_feholdexcept_setround.
9241
581d30e3
UD
9242 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9243 Add s_nearbyint-c and s_nearbyintf-c.
9244 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9245 nearbyintf inlines.
9246 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9250
d38f1dba
UD
9251 * math/math_private.h: Define defaults for libc_fegetround,
9252 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9253 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9254 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9256 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9257 standard functions.
9258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9259 Remove comments and hacks for old compiler versions.
9260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9261 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9262 libc_feholdexceptl.
9263
caa6c9d8
AS
92642011-10-18 Andreas Schwab <schwab@redhat.com>
9265
9266 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9267 (__feraiseexcept_renamed): Add __NTH.
9268 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9269 namespace violations.
9270
97c066e6
UD
92712011-10-17 Ulrich Drepper <drepper@gmail.com>
9272
99ce7b04
UD
9273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9274
1004d182
UD
9275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9276
228a984d
UD
9277 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9278 recently added interfaces.
9279 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9280
c8553a6a
UD
9281 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9282 about macro parameter expansion.
9283
ed22dcf6
UD
9284 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9285 __NO_MATH_INLINES is defined. Cleanups.
9286
9287 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9288 and __floorf is target has SSE4.1.
9289 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9293
b171c137
UD
9294 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9295 name.
9296 (floorf): Likewise.
9297
97c066e6
UD
9298 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9299
629f62ef
AS
93002011-10-17 Andreas Schwab <schwab@redhat.com>
9301
49a43d80
AS
9302 * misc/sys/cdefs.h: Fix last change.
9303
629f62ef
AS
9304 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9305 database lookup.
9306
e453f6cd
UD
93072011-10-16 Ulrich Drepper <drepper@gmail.com>
9308
aa78043a
UD
9309 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9310
ad0f5cad
UD
9311 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9321 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9322 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9323 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9324 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9326 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9327 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9328 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9329 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9330 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9331 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9332 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9333
9334 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9335 ceil, ceilf, floor, floorf.
9336
9337 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9338 Perform IRELATIVE relocations last.
9339
e453f6cd
UD
9340 * elf/do-rel.h: Add another parameter nrelative, replacing the
9341 local variable with the same name. Change name of the function
9342 to end in Rel or Rela (uppercase).
9343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9344 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9345 elf_dynamic_do_##reloc function.
9346
fd5bdc09
UD
93472011-10-15 Ulrich Drepper <drepper@gmail.com>
9348
79b195b5
UD
9349 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9350 is sufficient, at least on modern CPUs.
9351
d4a28569
UD
9352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9353
b61099b5
UD
9354 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9356
bcf01e6d
UD
9357 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9358 __expl_finite.
9359 * math/bits/math-finite.h: Add entries for exp.
9360 * math/e_expl.c: Add __*_finite alias.
9361 * sysdeps/i386/fpu/e_exp.S: Likewise.
9362 * sysdeps/i386/fpu/e_expf.S: Likewise.
9363 * sysdeps/i386/fpu/e_expl.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9365 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9369 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9371
ba1a0d59
UD
9372 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9373 is sufficient, at least on modern CPUs.
9374
fd5bdc09
UD
9375 * ctype/ctype-info.c (__ctype_init): Define.
9376 * include/ctype.h (__ctype_init): Declare.
9377 (__ctype_b_loc): The variable is always initialized.
9378 (__ctype_toupper_loc): Likewise.
9379 (__ctype_tolower_loc): Likewise.
9380 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9381 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9382
7872cfb0
AS
93832011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9384
b468825a
AS
9385 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9386
7872cfb0
AS
9387 * configure.in: Also look in $cxxmachine/include for C++ system
9388 headers.
9389
be13f7bf
LD
93902011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9391
9392 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9393 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9394 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9395 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9397 (USE_AS_WMEMCMP): New macro.
9398 Fixing indents.
9399 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9400 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9401 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9402 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9404 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9405 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9406 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9407 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9408 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9410 (USE_AS_WMEMCMP): New macro.
9411 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9412 * sysdeps/string/test-memcmp.c: Update.
9413 Fix simple_wmemcmp.
9414 Add new tests.
9415 * wcsmbs/wmemcmp.c: Update.
9416 (WMEMCMP): New macro.
9417 Fix overflow bug.
9418
556a2007
AJ
94192011-10-12 Andreas Jaeger <aj@suse.de>
9420
9421 [BZ #13268]
9422 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9423
538faaa7
UD
94242011-10-15 Ulrich Drepper <drepper@gmail.com>
9425
ab6737ff
UD
9426 * libio/iofwide.c (do_length): Avoid warning.
9427
538faaa7
UD
9428 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9429
396a21b1
UD
94302011-10-14 Ulrich Drepper <drepper@gmail.com>
9431
cdf2901f
UD
9432 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9433
38ad40ce
UD
9434 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9435 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9436 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9437 * sysdeps/i386/i686/fpu/e_log.S: New file.
9438 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9439 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9440
396a21b1
UD
9441 * ctype/ctype.h: Add support for inlined isXXX functions when
9442 compiling C++ code.
9443
6b1f68c9
AS
94442011-10-14 Andreas Schwab <schwab@redhat.com>
9445
349290c0
AS
9446 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9447
6b1f68c9
AS
9448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9449
f2282d42
RM
94502011-10-13 Roland McGrath <roland@hack.frob.com>
9451
9452 [BZ #13291]
9453 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9454
5298ffa8
AS
94552011-10-13 Andreas Schwab <schwab@redhat.com>
9456
714fad23
AS
9457 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9458 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9459 feraiseexcept.
9460
81dcc7fb
AS
9461 * sysdeps/x86_64/memrchr.S: Check for zero size.
9462
5298ffa8
AS
9463 * string/stratcliff.c: Add memrchr tests.
9464
951fbcec
LD
94652011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9466
9467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9468 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9469 rawmemchr-sse2 rawmemchr-sse2-bsf.
9470 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9471 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9472 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9473 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9474 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9475 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9476 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9477 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9478 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9480 * string/memrchr.c (MEMRCHR): New macro.
9481
0ac5ae23
UD
94822011-10-12 Ulrich Drepper <drepper@gmail.com>
9483
9484 Add integration with gcc's -ffinite-math-only and optimize wrapper
9485 functions in libm.
9486 * Versions.def: Define GLIBC_2.15 version for libm.
9487 * math/Makefile (headers): Add bits/math-finite.h.
9488 * math/bits/math-finite.h: New file.
9489 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9490 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9491 * math/e_acoshl.c: Add __*_finite alias.
9492 * math/e_acosl.c: Likewise.
9493 * math/e_asinl.c: Likewise.
9494 * math/e_atan2l.c: Likewise.
9495 * math/e_atanhl.c: Likewise.
9496 * math/e_coshl.c: Likewise.
9497 * math/e_exp10.c: Likewise.
9498 * math/e_exp10f.c: Likewise.
9499 * math/e_exp10l.c: Likewise.
9500 * math/e_exp2l.c: Likewise.
9501 * math/e_fmodl.c: Likewise.
9502 * math/e_gammal_r.c: Likewise.
9503 * math/e_hypotl.c: Likewise.
9504 * math/e_j0l.c: Likewise.
9505 * math/e_j1l.c: Likewise.
9506 * math/e_jnl.c: Likewise.
9507 * math/e_lgammal_r.c: Likewise.
9508 * math/e_log10l.c: Likewise.
9509 * math/e_log2l.c: Likewise.
9510 * math/e_logl.c: Likewise.
9511 * math/e_powl.c: Likewise.
9512 * math/e_sinhl.c: Likewise.
9513 * math/e_sqrtl.c: Likewise.
9514 * math/e_scalb.c: Completely rewritten and optimized.
9515 * math/e_scalbf.c: Likewise.
9516 * math/e_scalbl.c: Likewise.
9517 * math/w_acos.c: Likewise.
9518 * math/w_acosf.c: Likewise.
9519 * math/w_acosl.c: Likewise.
9520 * math/w_acosh.c: Likewise.
9521 * math/w_acoshf.c: Likewise.
9522 * math/w_acoshl.c: Likewise.
9523 * math/w_asin.c: Likewise.
9524 * math/w_asinf.c: Likewise.
9525 * math/w_asinl.c: Likewise.
9526 * math/w_atan2.c: Likewise.
9527 * math/w_atan2f.c: Likewise.
9528 * math/w_atan2l.c: Likewise.
9529 * math/w_atanh.c: Likewise.
9530 * math/w_atanhf.c: Likewise.
9531 * math/w_atanhl.c: Likewise.
9532 * math/w_exp10.c: Likewise.
9533 * math/w_exp10f.c: Likewise.
9534 * math/w_exp10l.c: Likewise.
9535 * math/w_fmod.c: Likewise.
9536 * math/w_fmodf.c: Likewise.
9537 * math/w_fmodl.c: Likewise.
9538 * math/w_j0.c: Likewise.
9539 * math/w_j0f.c: Likewise.
9540 * math/w_j0l.c: Likewise.
9541 * math/w_j1.c: Likewise.
9542 * math/w_j1f.c: Likewise.
9543 * math/w_j1l.c: Likewise.
9544 * math/w_jn.c: Likewise.
9545 * math/w_jnf.c: Likewise.
9546 * math/w_log.c: Likewise.
9547 * math/w_logf.c: Likewise.
9548 * math/w_logl.c: Likewise.
9549 * math/w_log10.c: Likewise.
9550 * math/w_log10f.c: Likewise.
9551 * math/w_log10l.c: Likewise.
9552 * math/w_log2.c: Likewise.
9553 * math/w_log2f.c: Likewise.
9554 * math/w_log2l.c: Likewise.
9555 * math/w_pow.c: Likewise.
9556 * math/w_powf.c: Likewise.
9557 * math/w_powl.c: Likewise.
9558 * math/w_remainder.c: Likewise.
9559 * math/w_remainderf.c: Likewise.
9560 * math/w_remainderl.c: Likewise.
9561 * math/w_scalb.c: Likewise.
9562 * math/w_scalbf.c: Likewise.
9563 * math/w_scalbl.c: Likewise.
9564 * math/w_sqrt.c: Likewise.
9565 * math/w_sqrtf.c: Likewise.
9566 * math/w_sqrtl.c: Likewise.
9567 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9568 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9569 used.
9570 * math/math_private.h: Declare __kernel_standard_f.
9571 * math/w_cosh.c: Remove cruft and optimize a bit.
9572 * math/w_coshf.c: Likewise.
9573 * math/w_coshl.c: Likewise.
9574 * math/w_exp2.c: Likewise.
9575 * math/w_exp2f.c: Likewise.
9576 * math/w_exp2l.c: Likewise.
9577 * math/w_hypot.c: Likewise.
9578 * math/w_hypotf.c: Likewise.
9579 * math/w_hypotl.c: Likewise.
9580 * math/w_lgamma.c: Likewise.
9581 * math/w_lgamma_r.c: Likewise.
9582 * math/w_lgammaf.c: Likewise.
9583 * math/w_lgammaf_r.c: Likewise.
9584 * math/w_lgammal.c: Likewise.
9585 * math/w_lgammal_r.c: Likewise.
9586 * math/w_sinh.c: Likewise.
9587 * math/w_sinhf.c: Likewise.
9588 * math/w_sinhl.c: Likewise.
9589 * math/w_tgamma.c: Likewise.
9590 * math/w_tgammaf.c: Likewise.
9591 * math/w_tgammal.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9594 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9595 Minor optimizations. Pretty printing. Remove cruft.
9596 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9598 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9599 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9600 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9601 * sysdeps/i386/fpu/e_asin.S: Likewise.
9602 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9603 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9604 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9605 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9609 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9610 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9611 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9612 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9613 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9614 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9615 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9616 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9617 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9618 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9619 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9620 * sysdeps/i386/fpu/e_log.S: Likewise.
9621 * sysdeps/i386/fpu/e_log10.S: Likewise.
9622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9624 * sysdeps/i386/fpu/e_log2.S: Likewise.
9625 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9627 * sysdeps/i386/fpu/e_logf.S: Likewise.
9628 * sysdeps/i386/fpu/e_logl.S: Likewise.
9629 * sysdeps/i386/fpu/e_pow.S: Likewise.
9630 * sysdeps/i386/fpu/e_powf.S: Likewise.
9631 * sysdeps/i386/fpu/e_powl.S: Likewise.
9632 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9633 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9634 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9635 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9638 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9639 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9640 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9662 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9668 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9680 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9736 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9737 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9738 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9739 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9740 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9741 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9742 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9743 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9744 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9745 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9749 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9751 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9752 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9753 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9754 (__isnanf): Likewise.
9755 (__isinf_ns): Likewise.
9756 (__isinf_nsf): Likewise.
9757 (__finite): Likewise.
9758 (__finitef): Likewise.
9759 (__ieee754_sqrt): Define as macro.
9760 (__ieee754_sqrtf): Define as macro.
9761 (__ieee754_sqrtl): Define as macro.
9762 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9763 inlined copy.
9764 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9765 __FINITE_MATH_ONLY__ consistent.
9766 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9767
12cc2fcd
AS
97682011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9769
a843a204
AS
9770 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9771 of rawmemchr.
9772
12cc2fcd
AS
9773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9774
c853acd5
UD
97752011-10-09 Ulrich Drepper <drepper@gmail.com>
9776
9777 * po/ja.po: Update from translation team.
9778
c658d255
RM
97792011-10-08 Roland McGrath <roland@hack.frob.com>
9780
110946e4
RM
9781 * locale/programs/locarchive.c (prepare_address_space): New function.
9782 (create_archive, enlarge_archive, open_archive): Use it.
9783
50604220
RM
9784 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9785 inside [SHARED], where it is used.
9786
c658d255
RM
9787 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9788
9789 * nss/getent.c (netgroup_keys): Remove unused variable.
9790 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9791
6a621eb7
UD
97922011-10-08 Ulrich Drepper <drepper@gmail.com>
9793
7edb55ce
UD
9794 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9795 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9798 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9800 * math/Makefile (libm-calls): Add s_isinf_ns.
9801 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9802 * math/multc3.c: Likewise.
9803 * math/s_casin.c: Likewise.
9804 * math/s_casinf.c: Likewise.
9805 * math/s_casinl.c: Likewise.
9806 * math/s_ccos.c: Likewise.
9807 * math/s_ccosf.c: Likewise.
9808 * math/s_ccosl.c: Likewise.
9809 * math/s_ctan.c: Likewise.
9810 * math/s_ctanf.c: Likewise.
9811 * math/s_ctanh.c: Likewise.
9812 * math/s_ctanhf.c: Likewise.
9813 * math/s_ctanhl.c: Likewise.
9814 * math/s_ctanl.c: Likewise.
9815 * math/w_fmod.c: Likewise.
9816 * math/w_fmodf.c: Likewise.
9817 * math/w_fmodl.c: Likewise.
9818 * math/w_remainder.c: Likewise.
9819 * math/w_remainderf.c: Likewise.
9820 * math/w_remainderl.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9822 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9825 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9826 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9827 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9828 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9829
187da0ae
UD
9830 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9831 of the number.
9832 * stdio-common/printf_fphex.c: Likewise.
9833 * stdio-common/printf_size.c: Likewise.
9834
9277c064
UD
9835 * math/e_exp10.c: Include math_private.h using <...> not "...".
9836 * math/e_exp10f.c: Likewise.
9837 * math/e_exp10l.c: Likewise.
9838 * math/e_exp2l.c: Likewise.
9839 * math/e_j0l.c: Likewise.
9840 * math/e_j1l.c: Likewise.
9841 * math/e_jnl.c: Likewise.
9842 * math/e_lgammal_r.c: Likewise.
9843 * math/e_rem_pio2l.c: Likewise.
9844 * math/e_scalb.c: Likewise.
9845 * math/e_scalbf.c: Likewise.
9846 * math/e_scalbl.c: Likewise.
9847 * math/k_cosl.c: Likewise.
9848 * math/k_sinl.c: Likewise.
9849 * math/k_tanl.c: Likewise.
9850 * math/s_cacoshf.c: Likewise.
9851 * math/s_catan.c: Likewise.
9852 * math/s_catanf.c: Likewise.
9853 * math/s_catanh.c: Likewise.
9854 * math/s_catanhf.c: Likewise.
9855 * math/s_catanhl.c: Likewise.
9856 * math/s_catanl.c: Likewise.
9857 * math/s_ccosh.c: Likewise.
9858 * math/s_ccoshf.c: Likewise.
9859 * math/s_ccoshl.c: Likewise.
9860 * math/s_cexp.c: Likewise.
9861 * math/s_cexpf.c: Likewise.
9862 * math/s_cexpl.c: Likewise.
9863 * math/s_clog.c: Likewise.
9864 * math/s_clog10.c: Likewise.
9865 * math/s_clog10f.c: Likewise.
9866 * math/s_clog10l.c: Likewise.
9867 * math/s_clogf.c: Likewise.
9868 * math/s_clogl.c: Likewise.
9869 * math/s_csin.c: Likewise.
9870 * math/s_csinf.c: Likewise.
9871 * math/s_csinh.c: Likewise.
9872 * math/s_csinhf.c: Likewise.
9873 * math/s_csinhl.c: Likewise.
9874 * math/s_csinl.c: Likewise.
9875 * math/s_csqrt.c: Likewise.
9876 * math/s_csqrtf.c: Likewise.
9877 * math/s_csqrtl.c: Likewise.
9878 * math/s_ctan.c: Likewise.
9879 * math/s_ctanf.c: Likewise.
9880 * math/s_ctanh.c: Likewise.
9881 * math/s_ctanhf.c: Likewise.
9882 * math/s_ctanhl.c: Likewise.
9883 * math/s_ctanl.c: Likewise.
9884 * math/s_ldexp.c: Likewise.
9885 * math/s_ldexpf.c: Likewise.
9886 * math/s_ldexpl.c: Likewise.
9887 * math/s_significand.c: Likewise.
9888 * math/s_significandf.c: Likewise.
9889 * math/s_significandl.c: Likewise.
9890 * math/w_acos.c: Likewise.
9891 * math/w_acosf.c: Likewise.
9892 * math/w_acosh.c: Likewise.
9893 * math/w_acoshf.c: Likewise.
9894 * math/w_acoshl.c: Likewise.
9895 * math/w_acosl.c: Likewise.
9896 * math/w_asin.c: Likewise.
9897 * math/w_asinf.c: Likewise.
9898 * math/w_asinl.c: Likewise.
9899 * math/w_atan2.c: Likewise.
9900 * math/w_atan2f.c: Likewise.
9901 * math/w_atan2l.c: Likewise.
9902 * math/w_atanh.c: Likewise.
9903 * math/w_atanhf.c: Likewise.
9904 * math/w_atanhl.c: Likewise.
9905 * math/w_cosh.c: Likewise.
9906 * math/w_coshf.c: Likewise.
9907 * math/w_coshl.c: Likewise.
9908 * math/w_dremf.c: Likewise.
9909 * math/w_exp10.c: Likewise.
9910 * math/w_exp10f.c: Likewise.
9911 * math/w_exp10l.c: Likewise.
9912 * math/w_exp2.c: Likewise.
9913 * math/w_exp2f.c: Likewise.
9914 * math/w_fmod.c: Likewise.
9915 * math/w_fmodf.c: Likewise.
9916 * math/w_fmodl.c: Likewise.
9917 * math/w_hypot.c: Likewise.
9918 * math/w_hypotf.c: Likewise.
9919 * math/w_hypotl.c: Likewise.
9920 * math/w_j0.c: Likewise.
9921 * math/w_j0f.c: Likewise.
9922 * math/w_j0l.c: Likewise.
9923 * math/w_j1.c: Likewise.
9924 * math/w_j1f.c: Likewise.
9925 * math/w_j1l.c: Likewise.
9926 * math/w_jn.c: Likewise.
9927 * math/w_jnf.c: Likewise.
9928 * math/w_jnl.c: Likewise.
9929 * math/w_lgamma.c: Likewise.
9930 * math/w_lgamma_r.c: Likewise.
9931 * math/w_lgammaf.c: Likewise.
9932 * math/w_lgammaf_r.c: Likewise.
9933 * math/w_lgammal.c: Likewise.
9934 * math/w_lgammal_r.c: Likewise.
9935 * math/w_log.c: Likewise.
9936 * math/w_log10.c: Likewise.
9937 * math/w_log10f.c: Likewise.
9938 * math/w_log10l.c: Likewise.
9939 * math/w_log2.c: Likewise.
9940 * math/w_log2f.c: Likewise.
9941 * math/w_log2l.c: Likewise.
9942 * math/w_logf.c: Likewise.
9943 * math/w_logl.c: Likewise.
9944 * math/w_pow.c: Likewise.
9945 * math/w_powf.c: Likewise.
9946 * math/w_powl.c: Likewise.
9947 * math/w_remainder.c: Likewise.
9948 * math/w_remainderf.c: Likewise.
9949 * math/w_remainderl.c: Likewise.
9950 * math/w_scalb.c: Likewise.
9951 * math/w_scalbf.c: Likewise.
9952 * math/w_scalbl.c: Likewise.
9953 * math/w_sinh.c: Likewise.
9954 * math/w_sinhf.c: Likewise.
9955 * math/w_sinhl.c: Likewise.
9956 * math/w_sqrt.c: Likewise.
9957 * math/w_sqrtf.c: Likewise.
9958 * math/w_sqrtl.c: Likewise.
9959 * math/w_tgamma.c: Likewise.
9960 * math/w_tgammaf.c: Likewise.
9961 * math/w_tgammal.c: Likewise.
9962
6a621eb7
UD
9963 * po/ja.po: Update from translation team.
9964
bf582445
AJ
99652011-09-29 Andreas Jaeger <aj@suse.de>
9966
f9efbf3a
AJ
9967 [BZ #13179]
9968 * sunrpc/netname.c (netname2host): Fix logic.
9969
bf582445
AJ
9970 [BZ #6779]
9971 [BZ #6783]
9972 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9973 correctly.
9974 * math/w_remainder.c (__remainder): Likewise.
9975 * math/w_remainderf.c (__remainderf): Likewise.
9976 * math/libm-test.inc (remainder_test): Add test cases.
9977
48693bea
AK
99782011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9979
9980 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9981 sdiv_qrnnd.
9982
42622229
LD
99832011-10-07 Ulrich Drepper <drepper@gmail.com>
9984
9985 * string/test-memcmp.c: Avoid unncessary #defines.
9986 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9987
093ecf92
LD
99882011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9989
9990 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9991 Use new sse2 version for core i3 - i7 as it's faster
9992 than sse42 version.
9993 (bit_Prefer_PMINUB_for_stringop): New.
9994 * sysdeps/x86_64/rawmemchr.S: Update.
9995 Replace with faster SSE2 version.
9996 * sysdeps/x86_64/memrchr.S: New file.
9997 * sysdeps/x86_64/memchr.S: Update.
9998 Replace with faster SSE2 version.
9999
fde56e5c
MP
100002011-09-12 Marek Polacek <mpolacek@redhat.com>
10001
10002 * elf/dl-load.c (lose): Add cast to avoid warning.
10003
21fd49a9
UD
100042011-10-07 Ulrich Drepper <drepper@gmail.com>
10005
5a06e643
UD
10006 * po/ca.po: Update from translation team.
10007
684ae515
UD
10008 * inet/getnetgrent_r.c: Hook up nscd.
10009 * nscd/Makefile (routines): Add nscd_netgroup.
10010 (nscd-modules): Add netgroupcache.
10011 (CFLAGS-netgroupcache.c): Define.
10012 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10013 (cache_search): Add const to second parameter.
10014 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10015 INNETGR.
10016 (dbs): Add netgrdb entry.
10017 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10018 (verify_persistent_db): Handle netgrdb.
10019 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10020 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10021 GETFDNETGR.
10022 (netgroup_response_header): Define.
10023 (innetgroup_response_header): Define.
10024 (datahead): Add netgroup_response_header and innetgroup_response_header
10025 elements.
10026 * nscd/nscd.conf: Add entries for netgroup cache.
10027 * nscd/nscd.h (dbtype): Add netgrdb.
10028 (_PATH_NSCD_NETGROUP_DB): Define.
10029 (netgroup_iov_disabled): Declare.
10030 (xmalloc, xcalloc, xrealloc): Move declarations here.
10031 (cache_search): Adjust prototype.
10032 Add netgroup-related prototypes.
10033 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10034 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10035 (__nscd_innetgr): Declare.
10036 * nscd/selinux.c (perms): Use access_vector_t as element type and
10037 add netgroup-related initializers.
10038 * nscd/netgroupcache.c: New file.
10039 * nscd/nscd_netgroup.c: New file.
10040 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10041 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10042 For four parameters use innetgr.
10043 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10044 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10045 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10046 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10047
21fd49a9
UD
10048 * nscd/connections.c (register_traced_file): Don't register file
10049 for disabled databases.
10050
054c0457
UD
100512011-10-06 Ulrich Drepper <drepper@gmail.com>
10052
32b63198
UD
10053 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10054
054c0457
UD
10055 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10056 from tree and freeing node.
10057
64031225
JO
100582011-09-25 Jiri Olsa <jolsa@redhat.com>
10059
10060 * nss/nsswitch.c (__nss_database_lookup): Handle
10061 nss_parse_service_list out of memory case.
10062
0490345c
JO
100632011-09-15 Jiri Olsa <jolsa@redhat.com>
10064
10065 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10066 out of memory case.
10067
3a62d00d
AS
100682011-10-04 Andreas Schwab <schwab@redhat.com>
10069
10070 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10071 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10072 pass it down.
10073 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10074 elf_machine_rela, elf_machine_lazy_rel.
10075 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10076 (ELF_DYNAMIC_DO_REL): Likewise.
10077 (ELF_DYNAMIC_DO_RELA): Likewise.
10078 (ELF_DYNAMIC_RELOCATE): Likewise.
10079 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10080 to ELF_DYNAMIC_DO_REL.
10081 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10082 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10083 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10084 elf_machine_rela.
10085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10086 skip_ifunc, don't call ifunc function if non-zero.
10087 (elf_machine_rela): Likewise.
10088 (elf_machine_lazy_rel): Likewise.
10089 (elf_machine_lazy_rela): Likewise.
10090 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10091 (elf_machine_lazy_rel): Likewise.
10092 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10093 Likewise.
10094 (elf_machine_lazy_rel): Likewise.
10095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10096 Likewise.
10097 (elf_machine_lazy_rel): Likewise.
10098 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10099 (elf_machine_lazy_rel): Likewise.
10100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10101 (elf_machine_lazy_rel): Likewise.
10102 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10103 (elf_machine_lazy_rel): Likewise.
10104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10105 (elf_machine_lazy_rel): Likewise.
10106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10107 (elf_machine_lazy_rel): Likewise.
10108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10109 (elf_machine_lazy_rel): Likewise.
10110
68577918
UD
101112011-09-28 Ulrich Drepper <drepper@gmail.com>
10112
10113 * nss/nss_files/files-init.c (_nss_files_init): Use static
10114 initialization for all the *_traced_file variables.
10115
68822d74
AS
101162011-09-28 Andreas Schwab <schwab@redhat.com>
10117
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10119
2056100b
RM
101202011-09-27 Roland McGrath <roland@hack.frob.com>
10121
10122 [BZ #13226]
10123 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10124
32c76b63
AS
101252011-09-27 Andreas Schwab <schwab@redhat.com>
10126
10127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10128 Reread the line before reparsing it.
10129
bf972c9d
AS
101302011-09-26 Andreas Schwab <schwab@redhat.com>
10131
10132 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10133
e057a1b5
JM
101342011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10135 Maxim Kuvyrkov <maxim@codesourcery.com>
10136 Joseph Myers <joseph@codesourcery.com>
10137
10138 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10139 if needed for __stack_chk_guard.
10140
bc7e1c36
RM
101412011-09-19 Roland McGrath <roland@hack.frob.com>
10142
ecb1482f
RM
10143 * sysdeps/posix/spawni.c (script_execute): Always define it.
10144 It will be optimized away if unused.
10145 (maybe_script_execute): New function.
10146 (__spawni): Call it.
10147
bc7e1c36
RM
10148 * Makerules: Don't include tls.make.
10149 (config-tls): Always set to thread.
10150 * tls.make.c: File removed.
10151
1c3b002b
MF
101522011-09-19 Mike Frysinger <vapier@gentoo.org>
10153
10154 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10155 * config.make.in (CPPFLAGS-config): New substituted variable.
10156
2840865d
UD
101572011-09-15 Ulrich Drepper <drepper@gmail.com>
10158
88738eb6
UD
10159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10160
cbf645a6 10161 [BZ #13192]
2840865d
UD
10162 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10163 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10164
b402e91a
RM
101652011-09-15 Roland McGrath <roland@hack.frob.com>
10166
10167 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10168 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10170 (CALL_FAIL): Likewise.
10171 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10172 (CALL_FAIL): Macro removed.
10173 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10174
4c1a1f71
UD
101752011-09-15 Ulrich Drepper <drepper@gmail.com>
10176
10177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10178 for __FINITE_MATH_ONLY__ == 1.
10179
edc121be
AS
101802011-09-15 Andreas Schwab <schwab@redhat.com>
10181
10182 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10183 __ieee754_sqrt instead of sqrt.
10184 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10185 __ieee754_sqrtf instead of sqrtf.
10186 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10187 __floorf instead of floorf.
10188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10189 __floorf, __truncf instead of floorf, truncf.
10190
cd205654
UD
101912011-09-14 Ulrich Drepper <drepper@gmail.com>
10192
ee4d0315
UD
10193 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10194
cd205654
UD
10195 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10196 __extern_always_inline.
10197 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10198 32-bit.
10199
48b67d71
AS
102002011-09-14 Andreas Schwab <schwab@redhat.com>
10201
10202 * elf/rtld.c (dl_main): Also relocate in dependency order when
10203 doing symbol dependency testing.
10204
1ae12c75
AS
102052011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10206
10207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10208 Always define `refsym'.
10209
995a80df
AS
102102011-09-13 Andreas Schwab <schwab@redhat.com>
10211
e529793b
AS
10212 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10213 (__FD_ELT): Renamed from __FDELT.
10214 * misc/bits/select2.h (__FD_ELT): Likewise.
10215 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10216 __FD_MASK instead of __FDELT, __FDMASK.
10217 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10218 Likewise.
10219 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10220 Likewise.
10221
52d4fef8
AS
10222 * elf/Makefile (gen-ldd): Fix pattern.
10223
995a80df
AS
10224 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10225 (init_tls): Likewise.
10226
8682f8b0
UD
102272011-09-12 Ulrich Drepper <drepper@gmail.com>
10228
10229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10230
de82006d
AS
102312011-09-12 Andreas Schwab <schwab@redhat.com>
10232
a7c8e6a1
AS
10233 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10234 `struct cmsghdr *' instead of `void *'.
10235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10236 Likewise.
10237
0f31fe77
AS
102382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10239
10240 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10241 if non-absolute.
10242 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10243 ldd_rewrite_script.
0f31fe77 10244
32b4c839
UD
102452011-09-11 Ulrich Drepper <drepper@gmail.com>
10246
83cd1420
UD
10247 * configure.in: Remove --with-tls option.
10248 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10249 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10250 out in case it is missing.
10251 * sysdeps/ia64/elf/configure.in: Likewise.
10252 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10253 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10254 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10255 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10256 * sysdeps/sh/elf/configure.in: Likewise.
10257 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10258 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10259 * sysdeps/x86_64/elf/configure.in: Likewise.
10260 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10261 * sysdeps/mach/hurd/tls.h: Likewise.
10262
633f745d
UD
10263 [BZ #13067]
10264 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10265
f318beb8
UD
10266 [BZ #13090]
10267 * configure.in: Fix use of AC_INIT.
10268
32b4c839
UD
10269 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10270
3ce1f295
UD
102712011-09-10 Ulrich Drepper <drepper@gmail.com>
10272
bb016596
UD
10273 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10274 __set_errno.
8e58439c
UD
10275 * malloc/hooks.c: Likewise.
10276
aebae053 10277 [BZ #11929]
02d46fc4
UD
10278 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10279 variables statically.
10280 (narenas): Initialize.
10281 (list_lock): Initialize.
bb016596
UD
10282 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10283 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10284 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10285 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10286 Add initializers to main_arena and mp_.
10287 (malloc_state): Remove pagesize member. Change all users to use
10288 GLRO(dl_pagesize).
10289
10290 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10291 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10292 is always initialized.
10293
22a89187
UD
10294 * malloc/malloc.c: Removed unused configurations and dead code.
10295 * malloc/arena.c: Likewise.
10296 * malloc/hooks.c: Likewise.
02d46fc4 10297 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10298
d063d164
UD
10299 * include/tls.h: Removed. USE___THREAD must always be defined.
10300 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10301 * elf/dl-libc.c: Likewise.
10302 * elf/dl-tsd.c: Likewise.
10303 * include/errno.h: Likewise.
10304 * include/netdb.h: Likewise.
10305 * include/resolv.h: Likewise.
10306 * inet/herrno-loc.c: Likewise.
10307 * inet/herrno.c: Likewise.
10308 * malloc/arena.c: Likewise.
10309 * malloc/hooks.c: Likewise.
10310 * malloc/malloc.c: Likewise.
10311 * resolv/res-state.c: Likewise.
10312 * resolv/res_libc.c: Likewise.
10313 * sysdeps/i386/dl-machine.h: Likewise.
10314 * sysdeps/ia64/dl-machine.h: Likewise.
10315 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10317 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10318 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10319 * sysdeps/sh/dl-machine.h: Likewise.
10320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10321 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10322 * sysdeps/unix/i386/sysdep.S: Likewise.
10323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10324 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10334 * sysdeps/x86_64/dl-machine.h: Likewise.
10335 * tls.make.c: Likewise.
10336
3ce1f295
UD
10337 * configure.in: Remove --with-__thread option. Make tests for
10338 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10339 tls_model attribute fail if no support is available. Remove
10340 USE_IN_LIBIO.
10341 * Makeconfig: Adjust for dropped configure option. All features are
10342 now mandatory.
10343 * Makerules: Likewise.
10344 * Versions.def: Likewise.
10345 * argp/argp-fmtstream.c: Likewise.
10346 * argp/argp-fmtstream.h: Likewise.
10347 * argp/argp-help.c: Likewise.
10348 * assert/assert.c: Likewise.
10349 * config.h.in: Likewise.
10350 * config.make.in: Likewise.
10351 * configure: Likewise.
10352 * configure.in: Likewise.
10353 * csu/Versions: Likewise.
10354 * csu/init.c: Likewise.
10355 * elf/tst-audit2.c: Likewise.
10356 * elf/tst-tls10.c: Likewise.
10357 * elf/tst-tls10.h: Likewise.
10358 * elf/tst-tls11.c: Likewise.
10359 * elf/tst-tls12.c: Likewise.
10360 * elf/tst-tls14.c: Likewise.
10361 * elf/tst-tlsmod11.c: Likewise.
10362 * elf/tst-tlsmod12.c: Likewise.
10363 * elf/tst-tlsmod13.c: Likewise.
10364 * elf/tst-tlsmod13a.c: Likewise.
10365 * elf/tst-tlsmod14a.c: Likewise.
10366 * elf/tst-tlsmod15b.c: Likewise.
10367 * elf/tst-tlsmod16a.c: Likewise.
10368 * elf/tst-tlsmod16b.c: Likewise.
10369 * elf/tst-tlsmod7.c: Likewise.
10370 * elf/tst-tlsmod8.c: Likewise.
10371 * elf/tst-tlsmod9.c: Likewise.
10372 * gmon/gmon.c: Likewise.
10373 * grp/fgetgrent_r.c: Likewise.
10374 * grp/putgrent.c: Likewise.
10375 * hurd/fopenport.c: Likewise.
10376 * include/libc-symbols.h: Likewise.
10377 * include/tls.h: Likewise.
10378 * intl/gettextP.h: Likewise.
10379 * intl/loadinfo.h: Likewise.
10380 * locale/global-locale.c: Likewise.
10381 * locale/localeinfo.h: Likewise.
10382 * mach/devstream.c: Likewise.
10383 * malloc/arena.c: Likewise.
10384 * malloc/set-freeres.c: Likewise.
10385 * misc/err.c: Likewise.
10386 * misc/getttyent.c: Likewise.
10387 * misc/mntent_r.c: Likewise.
10388 * posix/getopt.c: Likewise.
10389 * posix/wordexp.c: Likewise.
10390 * pwd/fgetpwent_r.c: Likewise.
10391 * resolv/Versions: Likewise.
10392 * resolv/res_hconf.c: Likewise.
10393 * shadow/fgetspent_r.c: Likewise.
10394 * shadow/putspent.c: Likewise.
10395 * stdio-common/printf_fphex.c: Likewise.
10396 * stdio-common/tmpfile.c: Likewise.
10397 * stdlib/abort.c: Likewise.
10398 * stdlib/fmtmsg.c: Likewise.
10399 * sunrpc/auth_unix.c: Likewise.
10400 * sunrpc/clnt_perr.c: Likewise.
10401 * sunrpc/clnt_tcp.c: Likewise.
10402 * sunrpc/clnt_udp.c: Likewise.
10403 * sunrpc/clnt_unix.c: Likewise.
10404 * sunrpc/openchild.c: Likewise.
10405 * sunrpc/svc_simple.c: Likewise.
10406 * sunrpc/svc_tcp.c: Likewise.
10407 * sunrpc/svc_udp.c: Likewise.
10408 * sunrpc/svc_unix.c: Likewise.
10409 * sunrpc/xdr.c: Likewise.
10410 * sunrpc/xdr_array.c: Likewise.
10411 * sunrpc/xdr_rec.c: Likewise.
10412 * sunrpc/xdr_ref.c: Likewise.
10413 * sunrpc/xdr_stdio.c: Likewise.
10414
1248c1c4
PB
104152011-09-09 Ulrich Drepper <drepper@gmail.com>
10416
10417 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10418
104192011-07-03 Andreas Jaeger <aj@suse.de>
10420
10421 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10423 regenerate with gen-libm-tests.pl.
10424
104252010-05-12 Petr Baudis <pasky@suse.cz>
10426
10427 [BZ #11589]
10428 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10429 around j0() zero points by switching to j1().
10430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10434
f22e1074
UD
104352011-09-09 Ulrich Drepper <drepper@gmail.com>
10436
f19009c1
UD
10437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10438 instead of 0.
10439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10440 instead of 0. .
10441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10442 Patch in part by Pavel Roskin <proski@gnu.org>.
10443
3f8cc204
UD
10444 [BZ #13138]
10445 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10446 realloc.
10447 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10448 Free memory block if necessary.
10449
f22e1074
UD
10450 [BZ #12847]
10451 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10452 be NULL. Don't lock in this case.
10453
0a2349f9
RM
104542011-09-09 Roland McGrath <roland@hack.frob.com>
10455
10456 * elf/elf.h (ELFOSABI_GNU): New macro.
10457 (ELFOSABI_LINUX): Define to that.
10458
f3cdd467
DZ
104592011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10460
10461 * string/strncat.c (strncat): Undef the symbol in case it has been
10462 defined in bits/string.h.
10463
74718d13
UD
104642011-09-09 Ulrich Drepper <drepper@gmail.com>
10465
633e9e0f
UD
10466 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10467
0a2349f9 10468 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10469 link map.
10470
f9924780
AJ
104712011-08-17 Andreas Jaeger <aj@suse.de>
10472
10473 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10474
7f5517aa
PP
104752011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10476 Ian Lance Taylor <iant@google.com>
10477
10478 * math/libm-test.inc (lround_test): New testcase.
10479 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10480
762011fe
UD
104812011-09-08 Ulrich Drepper <drepper@gmail.com>
10482
92963737
UD
10483 * Makefile: Remove support for automatic cvs check-ins.
10484 * Makerules: Likewise.
10485 * config.make.in: Likewise.
10486 * configure.in: Likewise.
10487 * intl/Makefile: Likewise.
10488 * locale/Makefile: Likewise.
10489 * po/Makefile: Likewise.
10490 * posix/Makefile: Likewise.
10491 * sysdeps/gnu/Makefile: Likewise.
10492 * sysdeps/mach/hurd/Makefile: Likewise.
10493 * sysdeps/sparc/sparc32/Makefile: Likewise.
10494
b0727fd8
JS
10495 [BZ #13118]
10496 * posix/Makefile (bug-regex32-ENV): Define.
10497 Patch by John Stanley <jpsinthemix@verizon.net>.
10498
a0f33f99
UD
10499 * misc/Makefile (headers): Add bits/select2.h.
10500 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10501 * misc/bits/select2.h: New file.
10502 * include/bits/select2.h: New file.
10503 * debug/Makefile (routines): Add fdelt_chk.
10504 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10505 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10506 FD_ISSET.
10507 * debug/fdelt_chk.c: New file.
10508
762011fe
UD
10509 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10510 * wcsmbs/test-wmemcmp.c: Likewise.
10511 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10512 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10513
105142011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10515
10516 * string/Makefile (strop-tests): Add memcmp.
10517 * string/test-wmemcmp.c: New file.
10518 * string/test-memcmp.c: Add wmemcmp support.
10519
7f513ec8
RM
105202011-09-08 Roland McGrath <roland@hack.frob.com>
10521
0442afb4
RM
10522 [BZ #13153]
10523 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10524 2011-07-19 change.
10525
7f513ec8
RM
10526 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10527 garbage value in a __mach_port_mod_refs call in the cases of the
10528 task-self and thread-self ports.
10529
a12b2239
ST
105302011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10531
10532 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10533
610f9ab4
AS
105342011-09-08 Andreas Schwab <schwab@redhat.com>
10535
7f513ec8 10536 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10537
48882a1a
LD
105382011-09-07 Ulrich Drepper <drepper@gmail.com>
10539
b49865be
UD
10540 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10541
fdc86bc9
UD
10542 * elf/dl-libc.c (dlerror_run): Pass back error code from
10543 dl_catch_error.
10544
c966526a
UD
10545 [BZ #13123]
10546 * elf/dl-load.c (lose): Free l_origin if it is valid.
10547
48882a1a
LD
10548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10549 names.
10550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10555 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10556
77a2a8b4
AZ
105572011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10558
10559 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10560 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10561 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10563 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10564 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10565 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10566 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10567 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10568 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10569
24f579d8
AM
105702011-08-15 Alan Modra <amodra@gmail.com>
10571
10572 [BZ #13092]
10573 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10574 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10575 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10576 ppc_mcount to static-only-routines.
10577 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10578 __mcount_internal.
10579 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10580 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10581
3d4837df
UD
105822011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10583
10584 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10585 for finite and infinity parameters.
10586
22700377
WS
105872011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10590 and add nop instructions for throughput optimization.
10591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10592
5025581e
WS
105932011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10594
10595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10596 aligned copy for power7 with vector-scalar instructions.
10597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10598
08a300c9
L
105992011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10602 AVX check.
10603
59178ef9
AS
106042011-09-07 Andreas Schwab <schwab@redhat.com>
10605
10606 [BZ #13144]
10607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10608 last change.
10609
e38ba7ab
UD
106102011-09-07 Ulrich Drepper <drepper@gmail.com>
10611
10612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10613 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10614 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10615 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10616 clock_gettime.
10617
d53a73ac
UD
106182011-09-06 Ulrich Drepper <drepper@gmail.com>
10619
fc8bffcc
UD
10620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10621 Forgot to demangle the pointer.
10622
ceaa0c5d
UD
10623 * sysdeps/i386/sysdep.h: Define atom_text_section.
10624 * sysdeps/x86_64/sysdep.h: Likewise.
10625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10626 section with atom_text_section.
10627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10632
a77d3c17
UD
10633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10635 already be defined. Change to take two parameters and don't assign
10636 result to variable. Adjust all users.
10637 Define INTERNAL_GETTIME if not already defined.
10638 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10639 call.
10640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10641 HAVE_CLOCK_GETTIME_VSYSCALL.
10642 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10643
d53a73ac
UD
10644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10645 gettimeofday vsyscall, just use time.
10646
a8f84144
AS
106472011-09-06 Andreas Schwab <schwab@redhat.com>
10648
10649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10650 <errno.h>.
10651
ef606249
UD
106522011-09-06 Ulrich Drepper <drepper@gmail.com>
10653
10654 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10655 syscall on x86-64.
10656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10657 syscall.
10658 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10659 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10660 syscall if possible.
10661
6585cb60
UD
106622011-09-05 Ulrich Drepper <drepper@gmail.com>
10663
10664 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10665 e_ident. Don't pass to find_mapsXX.
10666 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10667
a5f524e4
LD
106682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10669
10670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10671 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10672 * sysdeps/x86_64/multiarch/strchr.S: Update.
10673 Check bit_slow_BSF bit.
10674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10677
554881ef
UD
106782011-09-05 Ulrich Drepper <drepper@gmail.com>
10679
d96de963
UD
10680 [BZ #13134]
10681 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10682 before glibc 2.15.
10683 (tryshell): Define.
10684 (__spawni): Change last parameter to be flag. Test
10685 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10686 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10687 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10688 * posix/spawni.c: Likewise.
10689 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10690 * posix/spawnp.c: Likewise. Change normal version to use
10691 SPAWN_XFLAGS_USE_PATH.
10692 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10693 SPAWN_XFLAGS_TRY_SHELL.
10694
d48e5868
UD
10695 [BZ #13150]
10696 * posix/glob.h: Remove gcc 1.x support.
10697
554881ef
UD
10698 [BZ #13068]
10699 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10700
693fb948
LD
107012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10702
10703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10704 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10705 strrchr-sse2-bsf
10706 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10707 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10708 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10710 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10712
1b48c537
UD
107132011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10714
49d42c37
UD
10715 * sysdeps/x86_64/wcscmp.S: New file.
10716
1b48c537
UD
10717 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10718 wcscmp-c wcscmp-sse2
10719 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10720 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10721 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10722 * wcsmbs/wcscmp.c: Allow renaming.
10723
15c95c5d
DM
107242011-09-05 David S. Miller <davem@davemloft.net>
10725
10726 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10727 stack slot, rather than the struct return pointer slot.
10728 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10729 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10732
2f0ad8f3
UD
107332011-09-05 Ulrich Drepper <drepper@gmail.com>
10734
d88ae418
UD
10735 * po/ja.po: Update from translation team.
10736
2f0ad8f3
UD
10737 [BZ #13144]
10738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10739 kernel in 64-bit binaries.
10740
5f4318d1
DM
107412011-09-01 David S. Miller <davem@davemloft.net>
10742
10743 * elf/elf.h (HWCAP_SPARC_*): Move to..
10744 * sysdeps/sparc/sysdep.h: this new file and add new values.
10745 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10746 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10747 _DL_HWCAP_COUNT to 24.
10748 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10749 entries.
10750 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10751 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10752 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10754 instead of magic constants.
10755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10756
3ba57516
DM
107572011-08-31 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10761 Reimplement to do errno handling inline.
10762 (SYSCALL_ERROR_HANDLER): New macro.
10763 (__SYSCALL_STRING): Do not do errno handling in asm.
10764 (__CLONE_SYSCALL_STRING): Delete.
10765 (__INTERNAL_SYSCALL_STRING): Delete.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10767 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10768 (PSEUDO): Reimplement to do errno handling inline.
10769 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10770 (SYSCALL_ERROR_HANDLER): New macro.
10771 (__SYSCALL_STRING): Do not do errno handling in asm.
10772 (__CLONE_SYSCALL_STRING): Delete.
10773 (__INTERNAL_SYSCALL_STRING): Delete.
10774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10775 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10776 i386.
10777 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10778 (inline_syscall*): Add 'err' argument.
10779 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10780 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10781 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10782 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10783
10784 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10786
2bc17433
AS
107872011-08-30 Andreas Schwab <schwab@redhat.com>
10788
10789 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10790
fbeb5f4d
JO
107912011-08-29 Jiri Olsa <jolsa@redhat.com>
10792
10793 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10794 directive.
10795
ad69cc26
DM
107962011-08-24 David S. Miller <davem@davemloft.net>
10797
10798 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10799
39dd69df
AS
108002011-08-24 Andreas Schwab <schwab@redhat.com>
10801
10802 * elf/Makefile: Add rules to build and run unload8 test.
10803 * elf/unload8.c: New file.
10804 * elf/unload8mod1.c: New file.
10805 * elf/unload8mod1x.c: New file.
10806 * elf/unload8mod2.c: New file.
10807 * elf/unload8mod3.c: New file.
10808
10809 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10810 it wasn't used.
10811
2c0b250a
DM
108122011-08-23 David S. Miller <davem@davemloft.net>
10813
10814 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10815 subtract stack bias.
10816 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10817 %sp not %fp in calculations.
10818 (_JMPBUF_UNWINDS_ADJ): Likewise.
10819
22044b48
DM
10820 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10821 (aio_suspend): Call it to force an exception region around the
10822 AIO_MISC_WAIT() invocation.
10823
2cae4995
AS
108242011-08-23 Andreas Schwab <schwab@redhat.com>
10825
10826 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10827 backslash.
10828
873a772e
AJ
108292011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10830
10831 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10832 protection macro.
10833 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10834 and <dl-machine.h>.
10835 (Elf64_FuncDesc): Remove.
10836
25ad0df1
DM
108372011-08-22 David S. Miller <davem@davemloft.net>
10838
10839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10840 sigaltstack check, add missing cfi directives.
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10842 missing cfi directives, and sigaltstack handling.
10843
e888bcbe
AS
108442011-08-16 Andreas Schwab <schwab@redhat.com>
10845
10846 [BZ #11724]
10847 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10848 object is seen twice.
10849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10850
10851 * elf/Makefile (distribute): Add tst-initorder2.c.
10852 (tests): Add tst-initorder2.
10853 (modules-names): Add tst-initorder2a tst-initorder2b
10854 tst-initorder2c tst-initorder2d. Add rules to build them.
10855 ($(objpfx)tst-initorder2.out): New rule.
10856 * elf/tst-initorder2.c: New file.
10857 * elf/tst-initorder2.exp: New file.
10858
87162f46
AS
108592011-08-22 Andreas Schwab <schwab@redhat.com>
10860
70538b7f
AS
10861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10862
f55ffe58
AS
10863 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10864 dependencies back to end of function.
10865
87162f46
AS
10866 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10867 $(elfobjdir)/ld.so.
10868
91b392a4
UD
108692011-08-21 Ulrich Drepper <drepper@gmail.com>
10870
10871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10872 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10874 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10875 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10876 of __vdso_gettimeofday.
10877 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10878 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10879 attribute_hidden.
10880 (_libc_vdso_platform_setup): Remove initialization of
10881 __vdso_gettimeofday and __vdso_time.
10882
5c43483f
UD
108832011-08-20 Ulrich Drepper <drepper@gmail.com>
10884
775a77e7
UD
10885 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10886 and fgetc_unlocked.
10887 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10888 getc_unlocked.
89f447ed 10889
49c74ba9
UD
10890 * elf/dl-open.c (add_to_global): Report additions to the global scope
10891 for LD_DEBUG=scopes.
10892 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10893 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10894
5c43483f
UD
10895 [BZ #13114]
10896 * stdio-common/Makefile (tests): Add bug24.
10897 * stdio-common/bug24.c: New file.
10898
a101b025
AJ
108992011-08-19 Andreas Jaeger <aj@suse.de>
10900
10901 [BZ #13114]
10902 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10903 non-existant file when using close-on-exec mode.
10904
c88f1766
UD
109052011-08-20 Ulrich Drepper <drepper@gmail.com>
10906
0276a718
UD
10907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10908 the very first instruction.
10909
c88f1766
UD
10910 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10911 the CFI state in the end.
10912 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10913 inclusion of dl-trampoline.h.
10914 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10915
51ccffa0
AS
109162011-08-19 Andreas Schwab <schwab@redhat.com>
10917
94d7165f
AS
10918 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10919 expectations for long double.
10920
51ccffa0
AS
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10922 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10923
fd708658 109242011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10925
10926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10927 artificual limit depends upon the system page size.
10928
44f0a71e
UD
109292011-08-17 Ulrich Drepper <drepper@gmail.com>
10930
10931 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10932 * resolv/Makefile: Define CFLAGS-libresolv.
10933
8de79a24
AS
109342011-08-17 Andreas Schwab <schwab@redhat.com>
10935
10936 * nss/makedb.c (compute_tables): Make variables used in nested
10937 function static.
10938
27724598
UD
109392011-08-17 Ulrich Drepper <drepper@gmail.com>
10940
c5305d88
UD
10941 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10942 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10943 if buffer was too small.
10944
27724598
UD
10945 * elf/pldd.c (main): Attach to all threads in the process.
10946 Rewrite /proc handling to use *at functions.
10947
076fe015
UD
109482011-08-16 Ulrich Drepper <drepper@gmail.com>
10949
174baab3
UD
10950 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10951 specifies first scope to show.
10952 (dl_open_worker): Update callers. Move printing scope of new
10953 object to before the relocation.
44f0a71e 10954 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10955 * sysdeps/generic/ldsodefs.h: Update declaration.
10956
076fe015
UD
10957 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10958 string for the scope number.
10959
a60df2c3
UD
109602011-08-14 Ulrich Drepper <drepper@gmail.com>
10961
10962 * nscd/servicescache.c (cache_addserv): Make sure written is always
10963 initialized.
10964
5e4287d1
RM
109652011-08-14 Roland McGrath <roland@hack.frob.com>
10966
85ae0589
RM
10967 * sysdeps/i386/i486/bits/atomic.h
10968 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10969 statement expression, so as to suppress "set but not used" warning.
10970 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10971
69f63097
RM
10972 * string/strncat.c (STRNCAT): Use prototype definition.
10973
675456ef
RM
10974 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10975 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10976 -Iprograms here.
10977 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10978 (localedef-modules): Add localedef.
10979 (locale-modules): Add locale.
10980
5e4287d1
RM
10981 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10982 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10983 to avoid a warning.
10984
9c96ff23
DM
109852011-08-14 David S. Miller <davem@davemloft.net>
10986
10987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10988 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10989
f9ddf089
UD
109902011-08-13 Ulrich Drepper <drepper@gmail.com>
10991
44f0a71e 10992 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10993 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10994 * elf/rtld.c (dl_main): Set l_name of vDSO.
10995 Call _dl_show_scope when DL_DEBUG_SCOPES.
10996 (process_dl_debug): Recognize scopes flag and also set it for all.
10997 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10998 Declare _dl_show_scope.
10999
1dc27704
UD
11000 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11001 (do_dlopen): Pass caller_dlopen to dl_open.
11002 (__libc_dlopen_mode): Initialize caller_dlopen.
11003
f9ddf089
UD
11004 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11005 of libc. Make tolower call locale-independent. Optimize a bit by
11006 using isdigit instead of isalnum.
11007 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11008
9ac533d3
UD
110092011-08-12 Ulrich Drepper <drepper@gmail.com>
11010
11011 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11012 was a dependency or dynamically loaded.
11013
89edf2e9
UD
110142011-08-11 Ulrich Drepper <drepper@gmail.com>
11015
8e999d29
UD
11016 * intl/l10nflist.c: Allow architecture-specific pop function.
11017 * sysdeps/x86_64/l10nflist.c: New file.
11018
89edf2e9
UD
11019 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11020 classification.
11021
14d96785
AS
110222011-08-10 Andreas Schwab <schwab@redhat.com>
11023
11024 * include/dirent.h: Add libc_hidden_proto for scandirat and
11025 scandirat64. Don't declare __scandirat64.
11026 * dirent/scandirat.c: Add libc_hidden_def.
11027 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11028 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11029
6761ac04
DM
110302011-08-10 David S. Miller <davem@davemloft.net>
11031
11032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11033 enum.
11034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11037
c55fbd1e
UD
110382011-08-09 Ulrich Drepper <drepper@gmail.com>
11039
11040 * Versions.def [libc]: Add GLIBC_2.15.
11041 * dirent/Makefile (routines): Add scandirat and scandirat64.
11042 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11043 GLIBC_2.15.
11044 * dirent/dirent.h: Declare scandirat and scandirat64.
11045 * dirent/scandirat.c: New file.
11046 * dirent/scandirat64.c: New file.
11047 * sysdeps/wordsize-64/scandirat.c: New file.
11048 * sysdeps/wordsize-64/scandirat64.c: New file.
11049 * dirent/opendir.c: Define opendirat.
11050 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11051 using scandirat.
11052 * dirent/scandir64.c: Adjust for scandir.c change.
11053 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11054 __scandirat64, and __scandir_cancel_handler.
11055 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11056 additional parameter and use openat instead of open (outside of ld.so).
11057 Add new __opendir as wrapper around __opendirat.
11058 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11059 here without requiring old scandirat implementation.
11060
879165f2
UD
110612011-08-08 Ulrich Drepper <drepper@gmail.com>
11062
11063 * dirent/scandir.c (cancel_handler): Renamed to
11064 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11065 defined. Adjust users.
11066 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11068
cb7e923b
UD
110692011-08-04 Ulrich Drepper <drepper@gmail.com>
11070
16292edd
UD
11071 * string/test-string.h (IMPL): Use __STRING to expand name and then
11072 stringify it.
11073
cb7e923b
UD
11074 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11075 of cleanups.
11076
cff82933
LD
110772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11078
11079 * string/Makefile: Update.
11080 (strop-tests): Append strncat.
11081 * string/test-wcscmp.c: New file.
11082 New comprehensive test for wcscmp.
11083 * string/test-strcmp.c: Update.
11084 (WIDE): New define.
11085
9be9bfcc
AS
110862011-07-22 Andreas Schwab <schwab@redhat.com>
11087
11088 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11089 line.
11090
2e96f1c7
AS
110912011-07-26 Andreas Schwab <schwab@redhat.com>
11092
11093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11094 encoding to ACE if AI_IDN.
11095
85188888
JJ
110962011-08-01 Jakub Jelinek <jakub@redhat.com>
11097
11098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11099 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11100
5fa16e9b
LD
111012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11102
11103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11104 Fix overflow bug in strncat.
11105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11106
11107 * string/test-strncat.c: Update.
11108 Add new tests for checking overflow bugs.
11109
111102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11111
11112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11113 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11114 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11115 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11117 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11118 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11119 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11120 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11121
11122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11123 (USE_AS_STRCAT): Define.
11124 Add strcat and strncat support.
11125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11126
8c1a459f
AS
111272011-07-25 Andreas Schwab <schwab@redhat.com>
11128
11129 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11130 __n bigger than INT_MAX+1.
11131 (__strncmp_g): Likewise.
11132
bba33c28
UD
111332011-07-23 Ulrich Drepper <drepper@gmail.com>
11134
798be72d
UD
11135 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11136 * libio/stido.h: Likewise.
11137
8accd4dc
UD
11138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11139 (AF_NFC): Define.
11140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11141 (AF_NFC): Define.
11142
cbff0d96
UD
11143 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11148
9191c04a
UD
11149 [BZ #13021]
11150 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11151 installed.
11152
bba33c28
UD
11153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11154 typo.
11155 (_dl_x86_64_save_sse): Likewise.
11156
90f139dd
UD
111572011-07-22 Ulrich Drepper <drepper@gmail.com>
11158
1aae088a
UD
11159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11160 OSXSAVE.
11161 (_dl_x86_64_save_sse): Likewise.
11162
8e2045f5
UD
11163 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11164
90f139dd
UD
11165 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11166
1d002f25
AS
111672011-07-21 Andreas Schwab <schwab@redhat.com>
11168
11169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11170 change.
11171 (_dl_x86_64_save_sse): Use correct AVX check.
11172
21137f89
UD
111732011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11174
11175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11176 bug in strncpy/strncat.
11177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11178
a65c0b7a
UD
111792011-07-21 Ulrich Drepper <drepper@gmail.com>
11180
11181 * string/tester.c (test_strcat): Add tests for different alignments
11182 of source and destination.
11183 (test_strncat): Likewise.
11184
6986b98a
UD
111852011-07-20 Ulrich Drepper <drepper@gmail.com>
11186
90bb2039
UD
11187 [BZ #12852]
11188 * posix/glob.c (glob): Check passed in values before using them in
11189 expressions to avoid some overflows.
11190 (glob_in_dir): Likewise.
11191
5644ef54
UD
11192 [BZ #13007]
11193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11194 check for AVX enablement so that we don't crash with old kernels and
11195 new hardware.
11196 * elf/tst-audit4.c: Add same checks here.
11197 * elf/tst-audit6.c: Likewise.
11198
11199 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11200
bfc9dc9b
AS
112012011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11202
11203 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11204
702e64bb
UD
112052011-07-20 Ulrich Drepper <drepper@gmail.com>
11206
11207 * po/cs.po: Update from translation team.
11208 * po/bg.po: Likewise.
11209
295e904f
MP
112102011-07-12 Marek Polacek <mpolacek@redhat.com>
11211
11212 * misc/sys/cdefs.h: Add support for const attribute.
11213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11214 to gnu_dev_{major,minor,makedev} functions.
11215
3ff94596
MP
112162011-07-20 Marek Polacek <mpolacek@redhat.com>
11217
11218 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11219
28b59fca
AS
112202011-07-20 Andreas Schwab <schwab@redhat.com>
11221
11222 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11223 strlen results.
11224
19df733e
AK
112252011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11226
11227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11228 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11229 register in order to avoid conflicts with the soft frame pointer
11230 being held in r11 when necessary.
11231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11232 (INTERNAL_VSYSCALL_NCS): Likewise.
11233
c8835729
MP
112342011-07-14 Marek Polacek <mpolacek@redhat.com>
11235
11236 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11237 * elf/dl-fini.c (_dl_fini): Adjust caller.
11238 * elf/dl-close.c (_dl_close_worker): Likewise.
11239 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11240
b902330c
MP
112412011-07-15 Marek Polacek <mpolacek@redhat.com>
11242
8991e135
MP
11243 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11244 "aux_cache->nlibs < 0".
11245
b902330c
MP
11246 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11247 in the reload-count case.
11248
99710781
LD
112492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11250
11251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11252 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11253 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11254 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11255 * sysdeps/x86_64/multiarch/strcat.S: New file.
11256 * sysdeps/x86_64/multiarch/strncat.S: New file.
11257 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11258 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11259 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11260 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11262 (USE_AS_STRCAT): Define.
11263 Add strcat and strncat support.
11264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11266 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11267 * string/strncat.c: Update.
11268 (USE_AS_STRNCAT): Define.
11269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11270 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11271 and i7.
11272 * sysdeps/x86_64/multiarch/init-arch.h
11273 (bit_Prefer_PMINUB_for_stringop): New.
11274 (index_Prefer_PMINUB_for_stringop): Likewise.
11275 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11276 bit_Prefer_PMINUB_for_stringop.
11277
7dc6bd90
UD
112782011-07-19 Ulrich Drepper <drepper@gmail.com>
11279
11280 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11281 buffer64.
11282 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11283 of casting of buffer.
11284 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11285 buffer32 and buffer64.
11286 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11287 writes instead of casting of buffer.
11288 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11289 buffer32.
11290 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11291 casting of buffer.
11292
e0e72284
AS
112932011-07-19 Andreas Schwab <schwab@redhat.com>
11294
11295 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11296
feb1eb0b
UD
112972011-07-19 Ulrich Drepper <drepper@gmail.com>
11298
11299 * nscd/nscd.c (termination_handler): Don't do anything for a database
11300 if it has not yet been initialized.
11301
298711ff
UD
113022011-07-18 Ulrich Drepper <drepper@gmail.com>
11303
11304 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11305
113062011-07-15 Marek Polacek <mpolacek@redhat.com>
11307
11308 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11309
f9d68389
UD
113102011-07-18 Ulrich Drepper <drepper@gmail.com>
11311
11312 * po/nl.po: Update from translation team.
11313 * po/sv.po: Likewise.
11314
db290cf5
RM
113152011-07-16 Roland McGrath <roland@hack.frob.com>
11316
11317 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11318 now disallowed by GCC.
5c550700 11319
fd5e21c7
RM
11320 * configure.in (use-default-link): Default to yes if a test -shared
11321 link meets our qualifications.
11322 * configure: Regenerated.
11323
5c550700
RM
11324 * config.make.in (output-format): New variable.
11325 * configure.in: Check for ld --print-output-format support.
11326 * configure: Regenerated.
11327 * Makerules ($(common-objpfx)format.lds)
11328 [$(output-format) != unknown]: Just use $(output-format),
11329 instead of the linker-script munging.
11330
9fa2c032
RM
113312011-07-14 Roland McGrath <roland@hack.frob.com>
11332
a6928d51
RM
11333 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11334 of $(common-objpfx)shlib.lds.
11335 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11336
661607b3
RM
11337 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11338 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11339
9fa2c032
RM
11340 * configure.in (-z relro check): Adjust test code to add a large
11341 writable data section after it.
11342 * configure: Regenerated.
11343
defe9061
RM
113442011-07-11 Roland McGrath <roland@hack.frob.com>
11345
11346 * configure.in (-z relro check): Fix test code to make the variable
11347 truly const.
11348 * configure: Regenerated.
11349
319b9ad4
UD
113502011-07-11 Ulrich Drepper <drepper@gmail.com>
11351
11352 * nscd/nscd.h (struct traced_file): Define.
11353 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11354 elements. Add traced_files.
11355 (inotify_fd): Declare.
11356 (register_traced_file): Declare.
11357 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11358 (inotify_fd): Export.
11359 (resolv_conf_descr): Remove.
11360 (nscd_init): Move inotify descriptor creation to main.
11361 Don't register files for notification here.
11362 (register_traced_file): New function.
11363 (invalidate_cache): Don't use reset_res to determine whether to call
11364 res_init, go through the list of registered files.
11365 (main_loop_poll): The inotify descriptors are now stored in the
11366 structures for the traced files.
11367 (main_loop_epoll): Likewise
11368 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11369 to __nss_disable_nscd.
11370 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11371 for a database anymore. Check the records for all the registered
11372 files instead.
11373 * nss/Makefile (libnss_files-routines): Add files-init.
11374 (libnss_db-routines): Add db-init.
11375 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11376 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11377 * nss/nss_db/db-init.c: New file.
11378 * nss/nss_files/files-init.c: New file.
11379 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11380 __nss_lookup_function.
11381 (__nss_lookup_function): Call nss_load_library.
11382 (nss_load_all_libraries): New function.
11383 (__nss_disable_nscd): Take parameter with callback function for files
11384 to register. Set is_nscd. Load all the DSOs for the NSS modules
11385 used for the cached services.
11386 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11387 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11388 options for features to all the files in nscd.
11389
11390 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11391
23bee3e8
RM
113922011-07-10 Roland McGrath <roland@hack.frob.com>
11393
11394 * csu/elf-init.c (__libc_csu_init): Comment typo.
11395
46a5b7f0
UD
113962011-07-09 Ulrich Drepper <drepper@gmail.com>
11397
11398 * po/pl.po: Update from translation team.
11399 * po/ja.po: Likewise.
11400 * po/ru.po: Likewise.
11401 * po/ko.po: Likewise.
11402 * po/fr.po: Likewise.
11403
d30cf5bb
RM
114042011-07-09 Roland McGrath <roland@hack.frob.com>
11405
113ddea4
RM
11406 * configure.in (.ctors/.dtors header and trailer check):
11407 Use an empirical test on a built program.
11408 * configure: Regenerated.
11409
574920b4
RM
11410 * configure.in (-z relro check): Use an empirical test on a built DSO.
11411 Detect, but do not require, on ia64.
11412 * configure: Regenerated.
11413
d30cf5bb
RM
11414 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11415 Update tests that use readelf to use $READELF instead.
11416 * configure: Regenerated.
11417
8538fdb3
UD
114182011-07-08 Ulrich Drepper <drepper@gmail.com>
11419
11420 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11421 if the result is not used.
11422
04d08991
AJ
114232011-07-05 Andreas Jaeger <aj@suse.de>
11424
11425 [BZ#9696]
11426 * stdlib/tst-strtod.c: Add testcase.
11427
de283087
AD
114282011-07-07 Ulrich Drepper <drepper@gmail.com>
11429
4e5f31c8 11430 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11431 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11432 The latter has a higher limit. Take additional parameter to pass to
11433 the new function.
11434 (__pathconf): Pass file to __statfs_link_max.
11435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11436 __statfs_link_max.
11437 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11438 __statfs_link_max.
11439
de283087
AD
11440 [BZ #12868]
11441 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11442 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11443 Handle Lustre.
11444 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11445 (__statfs_filesize_max): Likewise.
11446 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11447
c75fa153
AJ
114482011-07-05 Andreas Jaeger <aj@suse.de>
11449
11450 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11451
1a544854
UD
114522011-07-06 Marek Polacek <mpolacek@redhat.com>
11453
11454 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11455 `status' variable.
11456 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11457 Likewise.
11458
6f0eec67
UD
114592011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11460
11461 * Makefile (strop-tests): Add strncat.
11462 * string/test-strncat.c: New file.
11463
aae30307
UD
114642011-06-30 Marek Polacek <mpolacek@redhat.com>
11465
11466 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11467
c0cfb5eb
UD
114682011-06-21 Andreas Jaeger <aj@suse.de>
11469
11470 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11471 Copy rule from iconvdata/Makefile.
11472
01636b21
UD
114732011-07-06 Ulrich Drepper <drepper@gmail.com>
11474
11475 [BZ #12922]
11476 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11477 but no long options are defined, just return 'W'.
11478
9895c8bc
UD
114792011-06-22 Marek Polacek <mpolacek@redhat.com>
11480
11481 [BZ #9696]
11482 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11483
5d4cf042
UD
114842011-07-06 Ulrich Drepper <drepper@gmail.com>
11485
11486 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11487 netgroups to read.
960e5535 11488 (innetgr): Likewise.
5d4cf042 11489
751eb97e
RM
114902011-07-05 Roland McGrath <roland@hack.frob.com>
11491
11492 * config.make.in (install_root): Default to $(DESTDIR).
11493
f15f1e45
UD
114942011-07-05 Ulrich Drepper <drepper@gmail.com>
11495
11496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11497
4e34ac6a
RM
114982011-07-02 Roland McGrath <roland@hack.frob.com>
11499
5e9b6af4
RM
11500 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11501
84f9ea0f
RM
11502 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11503 containing directory rather than embedding absolute directory names.
11504
ea5ee9f7
RM
11505 * scripts/check-local-headers.sh: Rewritten using awk.
11506 Match by word, not by line. Print error messages for matches.
11507 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11508
1b74661a
RM
11509 * Makerules [shlib-lds-flags empty]:
11510 ($(common-objpfx)libc_pic.opts): New target.
11511 ($(common-objpfx)libc_pic.os.clean): New target.
11512 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11513
11514 * config.make.in (OBJCOPY): New variable.
11515 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11516 * configure: Regenerated.
11517
f781ef40
RM
11518 * config.make.in (use-default-link): New variable.
11519 * configure.in (use_default_link): Grok --with-default-link to set it.
11520 * configure: Regenerated.
11521 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11522 (shlib-lds, shlib-lds-flags): Define to empty.
11523
2d4fa81e
RM
11524 * Makerules (shlib-lds): New variable.
11525 (shlib-lds-flags): New variable.
11526 (build-shlib, build-moduile, build-module-asneeded): Use it.
11527 ($(common-objpfx)libc.so): Use $(shlib-lds).
11528 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11530
31fffa6b
RM
11531 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11532 DT_FLAGS/DT_FLAGS_1 with zero flags.
11533
4e34ac6a
RM
11534 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11535 linker script munging.
11536
fcfc776b
UD
115372011-07-02 Ulrich Drepper <drepper@gmail.com>
11538
11539 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11540 as 128-bit value.
11541 * crypt/sha512.c (sha512_process_block): Perform total addition using
11542 128-bit if possible.
11543 (__sha512_finish_ctx): Likewise.
11544 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11545 as 64-bit value.
11546 * crypt/sha256.c (SWAP64): Define.
11547 (sha256_process_block): Perform total addition using 64-bit if
11548 possible.
11549 (__sha256_finish_ctx): Likewise.
11550
99231d9a
UD
115512011-07-01 Ulrich Drepper <drepper@gmail.com>
11552
11553 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11555 * nscd/hstcache.c (cache_addhst): Likewise.
11556 * nscd/grpcache.c (cache_addgr): Likewise.
11557 * nscd/aicache.c (addhstaiX): Likewise
11558 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11559
445b4a53
TK
115602011-07-01 Thorsten Kukuk <kukuk@suse.de>
11561
11562 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11564 * nscd/hstcache.c (cache_addhst): Likewise.
11565 * nscd/grpcache.c (cache_addgr): Likewise.
11566 * nscd/aicache.c (addhstaiX): Likewise
11567
6d4d8e8e
AS
115682011-07-01 Andreas Schwab <schwab@redhat.com>
11569
11570 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11571 domain only when needed.
11572
89f654c5
AS
115732011-06-30 Andreas Schwab <schwab@redhat.com>
11574
11575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11576 is always restored.
11577
cf3b23ff
UD
115782011-06-29 Ulrich Drepper <drepper@gmail.com>
11579
11580 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11581 are re-adding the entry.
11582 * nscd/servicescache.c (cache_addserv): Likewise.
11583
751626f9
AJ
115842011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11585
11586 * sysdeps/generic/dl-irel.h: fix protection against multiple
11587 inclusions.
11588 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11589
9113ea1f
UD
115902011-06-28 Ulrich Drepper <drepper@gmail.com>
11591
5c0b8d90
UD
11592 [BZ #12935]
11593 * malloc/memusage.sh: Fix quoting in message.
11594 * debug/xtrace.sh: Likewise.
11595
9113ea1f
UD
11596 * configure.in: Remove support for --experimental-malloc option, make
11597 it the default.
11598 * config.make.in: Likewise.
11599 * malloc/Makefile: Likewise.
11600
a4172181
AS
116012011-06-27 Andreas Schwab <schwab@redhat.com>
11602
11603 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11604 two-byte characters.
11605
78a7eee7
RM
116062011-06-27 Roland McGrath <roland@hack.frob.com>
11607
62bede13
RM
11608 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11609 AC_CACHE_CHECK invocation.
11610 * configure: Regenerated.
11611
78a7eee7
RM
11612 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11613
5ce33a62
UD
116142011-06-27 Ulrich Drepper <drepper@gmail.com>
11615
034807a9
UD
11616 [BZ #12350]
11617 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11618 bit from old_res_options.
11619
4902da17
UD
11620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11621
5ce33a62
UD
11622 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11623 value type for setfct.
11624
c2344f56
L
116252011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11626
11627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11628 __gettimeofday instead of gettimeofday.
11629
68468076
UD
116302011-06-26 Ulrich Drepper <drepper@gmail.com>
11631
11632 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11633
acb0d739
L
116342011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11637
11638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11639 info.
11640
8912479f
L
116412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11644 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11645 strcpy-sse2-unaligned strncpy-sse2-unaligned
11646 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11647 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11648 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11649 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11650 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11653 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11654 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11655 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11656 (STRCPY): Support SSE2 and SSSE3 versions.
11657
d5495a11
UD
116582011-06-24 Ulrich Drepper <drepper@gmail.com>
11659
11660 [BZ #12874]
11661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11662 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11663 kernels which artificially limit size of requests.
11664
0b1cbaae
L
116652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11666
11667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11668 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11669 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11670 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11671 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11672 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11673 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11674 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11677 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11678 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11679 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11680 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11681 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11683 Enable unaligned load optimization for Intel Core i3, i5 and i7
11684 processors.
11685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11686 Define.
11687 (index_Fast_Unaligned_Load): Define.
11688 (HAS_FAST_UNALIGNED_LOAD): Define.
11689
07f494a0
MP
116902011-06-23 Marek Polacek <mpolacek@redhat.com>
11691
11692 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11693
fa3fc0fe
UD
116942011-06-22 Ulrich Drepper <drepper@gmail.com>
11695
11696 [BZ #12907]
11697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11698 until it is clear that the information is realy needed.
11699 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11700
e12df166
AS
117012011-06-22 Andreas Schwab <schwab@redhat.com>
11702
11703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11704
852eb34d
UD
117052011-06-22 Ulrich Drepper <drepper@gmail.com>
11706
84e2a551
UD
11707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11708 /sys/devices/system/cpu/online if it is usable.
11709
852eb34d
UD
11710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11711 reading the information from the /proc filesystem to once a second.
11712
6e502e19
UD
117132011-06-21 Andreas Jaeger <aj@suse.de>
11714
11715 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11716 NULL after inclusion of kernel headers.
11717
75d39ff2
UD
117182011-06-21 Ulrich Drepper <drepper@gmail.com>
11719
51f9aa6a
UD
11720 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11721 calls to internal_setent.
11722
c0244a9d
UD
11723 [BZ #12885]
11724 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11725 addresses using gethostbyname4_r ignore IPv4 addresses.
11726
c5e3c2ae
UD
11727 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11728 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11729
75d39ff2
UD
11730 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11731
42675c6f
DM
117322011-06-20 David S. Miller <davem@davemloft.net>
11733
11734 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11735 inclusions.
11736 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11737
11738 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11739 (elf_irel): Use it.
11740 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11741 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11742 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11743 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11744 * sysdeps/x86_64/dl-irel.h: Likewise.
11745
11746 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11747 * elf/dl-sym.c: Likewise.
11748
57912a71
UD
117492011-06-15 Ulrich Drepper <drepper@gmail.com>
11750
11751 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11752 need to dereference resplen2.
11753
ee22793d
AS
117542011-06-14 Andreas Schwab <schwab@redhat.com>
11755
11756 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11757
a9e836b0
UD
117582011-06-15 Ulrich Drepper <drepper@gmail.com>
11759
77fb9117
UD
11760 * Makeconfig: Define vardbdir and inst_vardbdir.
11761 * nss/Makefile: Add rules to install db-Makefile.
11762
40c1b22c
UD
11763 * nss/nss_db/db-XXX.c: Cleanup.
11764
9f2da732
UD
11765 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11766 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11767 GLIBC_PRIVATE.
11768 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11769 * nss/makedb.c: Implement -g option to specify that value strings
11770 are generated and should not be added to table iterated over for
11771 get*ent calls.
11772 * nss/nss_db/db-initgroups.c: New file.
11773
82e9a1f7
UD
11774 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11775 interface.
11776
c41af17e
UD
11777 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11778 (internal_getgrouplist): Adjust to name change.
11779 Update use_initgroups_entry if this is not the first call.
11780 * nss/databases.def: Add initgroups entry.
11781
a9e836b0
UD
11782 * nss/makedb.c (compute_tables): Check result of multiple hash table
11783 sizes to minimize maximum chain length.
11784
2666d441
UD
117852011-06-14 Ulrich Drepper <drepper@gmail.com>
11786
11787 * Versions.def: Add entry for libnss_db.
11788 * shlib-versions: Likewise.
11789 * nss/Makefile: Add rules to build libnss_db.
11790 * nss/Versions: Add libnss_db information. Organize libnss_files
11791 entries better.
11792 * nss/db-Makefile: Add gshadow support. Change rules for the new
11793 makedb progra. Some minor improvements to generate smaller files.
11794 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11795 here from...
11796 * nss/makedb.c: ...here.
11797 Improve database format to be smaller and require less memory at
11798 runtime.
11799 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11800 db anymore.
11801 * nss/nss_db/db-netgrp.c: Likewise.
11802 * nss/nss_db/db-open.c: Likewise.
11803 * nss/nss_files/flies-XXX.x: Adjust comments.
11804 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11805 * nss/nss_files/files-grp.c: Likewise.
11806 * nss/nss_files/files-hosts.c: Likewise.
11807 * nss/nss_files/files-network.c: Likewise.
11808 * nss/nss_files/files-proto.c: Likewise.
11809 * nss/nss_files/files-pwd.c: Likewise.
11810 * nss/nss_files/files-rpc.c: Likewise.
11811 * nss/nss_files/files-service.c: Likewise.
11812 * nss/nss_files/files-sgrp.c: Likewise.
11813 * nss/nss_files/files-spwd.c: Likewise.
11814 * nss/nss_db/db-alias.c: Removed.
11815 * nss/nss_db/dummy-db.h: Removed.
11816
9ee76b5a
UD
118172011-06-02 Ulrich Drepper <drepper@gmail.com>
11818
11819 * nss/makedb.c: Rewritten to not use database library.
11820 * nss/Makefile: Update to build new makedb program.
11821
c71ca1f8
AJ
118222011-06-14 Andreas Jaeger <aj@suse.de>
11823
11824 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11825 memset declaration.
11826
3154bfb8
UD
118272011-06-10 Andreas Schwab <schwab@redhat.com>
11828
11829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11830 tmpbuf.
11831
b350afab
RM
118322011-06-10 Roland McGrath <roland@hack.frob.com>
11833
decd4e50
RM
11834 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11835 * elf/Makefile ($(objpfx)ld.so): Likewise.
11836
5615eaf2
RM
11837 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11838 Don't list ld.so twice in dependencies.
11839
11840 * posix/bug-regex31.c: Include <stdlib.h>.
11841
11842 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11843
11844 * nis/nss_compat/compat-spwd.c
11845 (getspent_next_nss_netgr): Remove unused variable.
11846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11847
11848 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11849 nonmembers" output to use the right array.
11850
11851 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11852
11853 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11854
11855 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11856 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11857 * catgets/gencat.c (read_input_file): Likewise.
11858 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11859
11860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11861 variable definition inside #if's controlling its use.
11862
11863 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11864
11865 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11866
11867 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11868
11869 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11870 unreachable code.
11871
11872 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11873
b68e08db
RM
11874 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11875 * configure: Regenerated.
11876
b350afab
RM
11877 * Makerules: Revert last change.
11878 * elf/Makefile: Likewise.
11879
28368601
RM
118802011-06-09 Roland McGrath <roland@hack.frob.com>
11881
11882 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11883 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11884 (reloc-link): Likewise.
11885
11988f8f
UD
118862011-06-09 Ulrich Drepper <drepper@gmail.com>
11887
11888 * elf/Makefile: Add rules to build pldd.
11889 * elf/pldd.c: New file.
11890 * elf/pldd-xx.c: New file.
11891
e80fab37
UD
118922011-06-07 Ulrich Drepper <drepper@gmail.com>
11893
11894 * version.h: Update for 2.15 development version.
11895
9b849836
DM
118962011-06-07 David S. Miller <davem@davemloft.net>
11897
11898 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11899 ifuncs.
11900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11901 elf_machine_lazy_rel): Likewise.
11902 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11904 elf_machine_lazy_rel): Likewise.
11905 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11906 dl_hwcap via passed in argument.
11907 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11908 Likewise.
11909
5a31b283
AK
119102011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11911
11912 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11913
069e52f8
RM
119142011-06-06 Roland McGrath <roland@hack.frob.com>
11915
11916 [BZ #12849]
11917 * manual/fdl-1.1.texi: New file, verbatim from:
11918 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11919 * manual/lgpl-2.1.texi: New file, verbatim from:
11920 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11921 * manual/Makefile (licenses): New variable, list those new file names.
11922 (texis): Use it.
11923 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11924
11925 * manual/fdl.texi: File removed.
11926 * manual/lesser.texi: File removed.
11927 * manual/libc.texinfo (Copying, Documentation License):
11928 Use new @include file names, put @appendix directive before @include.
11929
f16846a5
JJ
119302011-06-04 Jakub Jelinek <jakub@redhat.com>
11931
11932 [BZ #12841]
11933 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11934 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11935 (mq_open): Add __NTH.
11936
3d29045b
L
119372011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11940 Assume Intel Core i3/i5/i7 processor if AVX is available.
11941
8c297311
UD
119422011-05-31 Ulrich Drepper <drepper@gmail.com>
11943
11944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11945 typo.
11946
c8fc0c91
UD
119472011-05-31 Andreas Schwab <schwab@redhat.com>
11948
11949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11950 memory. Use alloca_account. Fix memory leak when retrying.
11951
5b27a807
UD
119522011-05-31 Ulrich Drepper <drepper@gmail.com>
11953
356f8bc6
UD
11954 * version.h (RELEASE): Bump for 2.14 release.
11955 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11956
5b27a807
UD
11957 * config.make.in (RANLIB): Remove entry.
11958
01f16ab0
UD
119592011-05-30 Ulrich Drepper <drepper@gmail.com>
11960
41fce8bd
UD
11961 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11962 (libc.pot): Work around missing support for .ksh extension in xgettext.
11963
4769ae77
UD
11964 [BZ #12684]
11965 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11966 if both request failed.
11967 (send_dg): In case of server errors clear resplen or *resplen2.
11968
6b1e7d19
UD
11969 [BZ #12454]
11970 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11971 when there are multiple maps.
11972 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11973 (_dl_fini): Remove test here.
11974
01f16ab0
UD
11975 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11976
b1ebd700
UD
119772011-05-29 Ulrich Drepper <drepper@gmail.com>
11978
7ae22829
UD
11979 [BZ #12350]
11980 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11981 bit from old_res_options.
11982 (gaih_inet): Likewise.
11983
553149f6 11984 [BZ #11099]
18a84741 11985 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11986 as signed.
11987
652ffab1
UD
11988 * resolv/res_init.c (res_setoptions): Make the code more compact.
11989
16985fd0
UD
11990 [BZ #11558]
11991 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11992 set RES_USEVC.
11993
0464f746
UD
11994 [BZ #11634]
11995 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11996
7d17596c
UD
11997 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11998
cf6bbbd7
UD
11999 [BZ #11781]
12000 * malloc/malloc.h: Declare malloc hook variables as volatile.
12001
13f1ab36
UD
12002 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12003 in last patch.
12004
b1ebd700
UD
12005 [BZ #11799]
12006 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12007 raise in the comment.
80e2212d
UD
12008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12010 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12011
ce67228d
UD
120122011-05-28 Ulrich Drepper <drepper@gmail.com>
12013
8887a920
UD
12014 [BZ #12811]
12015 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12016 grow the buffers more if it already has to be sufficient.
12017 (build_wcs_upper_buffer): Likewise.
12018 * posix/regexec.c (check_matching): Likewise.
12019 (clean_state_log_if_needed): Likewise.
12020 (extend_buffers): Don't enlarge buffers beyond size of the input
12021 buffer.
12022 Patches mostly by Emil Wojak <emil@wojak.eu>.
12023 * posix/bug-regex32.c: New file.
12024 * posix/Makefile (tests): Add bug-regex32.
12025
4f031072
UD
12026 * locale/findlocale.c (_nl_find_locale): Return right away if
12027 _nl_explode_name failed.
12028 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12029
d0478f0c
UD
12030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12031
de81b246
UD
12032 * debug/xtrace.sh: Unify messages.
12033 * malloc/memusage.sh: Likewise.
12034
c738465a
UD
12035 [BZ #12813]
12036 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12037 time symbol from vDSO. Substitute with vsyscall if not available.
12038 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12039 __vdso_time.
12040
f1f929d7
UD
12041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12042 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12043 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12044 Add sendmmsg and internal_sendmmsg.
12045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12046 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12048
ce67228d
UD
12049 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12050 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12051 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12052
e57420c6
UD
120532011-05-27 Ulrich Drepper <drepper@gmail.com>
12054
a8509ca5
UD
12055 [BZ #12813]
12056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12057 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12058 available.
12059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12060 __vdso_getcpu.
12061
e57420c6
UD
12062 [BZ #12814]
12063 * iconvdata/Makefile (tests): Add bug-iconv9.
12064 * iconvdata/bug-iconv9.c: New file.
12065
4d07db15
AS
120662011-05-27 Andreas Schwab <schwab@redhat.com>
12067
12068 [BZ #12814]
12069 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12070
ea486f69
JJ
120712011-05-25 Jakub Jelinek <jakub@redhat.com>
12072
12073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12074 (struct user_regs_struct): Change intcs field back to cs.
12075
6f038433
UD
120762011-05-25 Ulrich Drepper <drepper@gmail.com>
12077
12078 * po/ja.po: Update from translation team.
12079
67f86a25
UD
120802011-05-23 Ulrich Drepper <drepper@gmail.com>
12081
12082 [BZ #12795]
12083 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12084 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12085
def7fbd6
AS
120862011-05-20 Andreas Schwab <schwab@redhat.com>
12087
12088 * stdlib/longlong.h: Update from GCC.
12089
f50ef8f1
AS
120902011-05-23 Andreas Schwab <schwab@redhat.com>
12091
12092 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12093 parameter name.
12094 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12095 Add parameter name.
12096 (__sysconf): Pass it down.
12097
de7ce8f1
UD
120982011-05-22 Ulrich Drepper <drepper@gmail.com>
12099
f2962a71
UD
12100 [BZ #12671]
12101 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12102 some situations.
12103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12104 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12105 add in in __libc_use_alloca calls. Adjust callers.
12106 (glob): Use malloc in some situations.
12107
de7ce8f1
UD
12108 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12109 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12110 pltexit.
12111
aec84f53
UD
121122011-05-21 Ulrich Drepper <drepper@gmail.com>
12113
05bb4a68
UD
12114 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12115 and CLOCK_BOOTTIME_ALARM.
12116
7ea72f99
UD
12117 [BZ #12782]
12118 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12119 is returned.
12120
7e4afad5
UD
12121 * string/_strerror.c (__strerror_r): Print negative errors as signed
12122 numbers.
12123
8e211fec
UD
12124 [BZ #12777]
12125 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12126 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12127 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12128
f7d82dc9
UD
12129 * configure.in: Fix typo in redirection and correct removal of test
12130 files in two cases.
12131
cc9e536d
UD
12132 [BZ #12788]
12133 * locale/setlocale.c (new_composite_name): Fix test to check for
12134 identical name of all categories.
12135
aec84f53
UD
12136 [BZ #12792]
12137 * libio/filedoalloc.c (local_isatty): New function.
12138 (_IO_file_doallocate): Use local_isatty.
12139 * stdio-common/perror.c (perror): In case a new stream is used
12140 forward the stream error.
12141 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12142 error flag.
12143
78e64fdc
RT
121442011-05-20 Ulrich Drepper <drepper@gmail.com>
12145
34a9094f
UD
12146 [BZ #11869]
12147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12148 alloca.
12149 * include/alloca.h (extend_alloca_account): Define.
12150
78e64fdc
RT
12151 [BZ #11857]
12152 * posix/regex.h: Fix comments with documentation of user-accessible
12153 fields after compilation and describe correct free'ing of pattern
12154 after re_compile_pattern.
12155 Patch by Reuben Thomas <rrt@sc3d.org>.
12156
457bddfc
RA
121572011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12158
12159 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12160 and -mno-altivec to prevent the compiler from using Altivec and/or
12161 VSX instructions when the corresponding registers are not available.
12162
a4527b51
AS
121632011-05-19 Andreas Schwab <schwab@redhat.com>
12164
12165 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12166
ed690b2f
UD
121672011-05-19 Ulrich Drepper <drepper@gmail.com>
12168
12169 * libio/freopen.c (freopen): Use __dup2, not dup2.
12170 * libio/freopen64.c (freopen64): Likewise.
12171
8db73634
L
121722011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12173
12174 [BZ #12775]
12175 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12176 * math/Makefile (tests): Add test-powl.
12177 (CFLAGS-test-powl.c): Define.
12178 * math/test-powl.c: New file.
12179
0a197a9d
L
121802011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12183
ee30c380
UD
121842011-05-17 Ulrich Drepper <drepper@gmail.com>
12185
12186 [BZ #11837]
12187 * iconvdata/gb18030.c: Update to GB18020-2005.
12188
6ce75379
UD
121892011-05-16 Ulrich Drepper <drepper@gmail.com>
12190
a4b89fd8
AR
12191 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12192 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12193 Patch by Aharon Robbins <arnold@skeeve.com>.
12194
ea389b12
UD
12195 [BZ #11892]
12196 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12197 on the stack.
12198
68a3f91f
UD
12199 [BZ #11895]
12200 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12201 through underflows.
12202
15cc7dd1
UD
12203 [BZ #12766]
12204 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12205 point to strings before performing equality test for error_one_per_line
12206 mode.
12207
f3799213
UD
12208 [BZ #11697]
12209 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12210
d79a9c94
UD
12211 [BZ #11820]
12212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12213 (struct user_fpregs_struct): Avoid __uint*_t types.
12214
56e5eb46
UD
12215 [BZ #6420]
12216 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12217 symbol info. Use it instead of calling _dl_addr locally.
12218 (lock_and_info): New function.
12219 (tr_freehook): Call lock_and_info and pass symbol info as additional
12220 parameter to tr_where.
12221 (tr_mallochook): Likewise.
12222 (tr_reallochook): Likewise.
12223 (tr_memalignhook): Likewise.
12224
6ce75379
UD
12225 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12226 used and couldn't be at all thread-safe.
12227
f8a3b5bf
UD
122282011-05-15 Ulrich Drepper <drepper@gmail.com>
12229
94b7cc37
UD
12230 * libio/freopen.c (freopen): Don't close old file descriptor
12231 before the new one is opened. Instead dup the new file descriptor
12232 to the old one after the new stream is created.
12233 * libio/freopen64.c (freopen64): Likewise.
12234 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12235 * libio/fileops.c (_IO_new_file_close_it): Handle new
12236 _IO_FLAGS2_NOCLOSE flag.
12237 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12238 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12239 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12240 _IO_FLAGS2_NOCLOSE flag.
12241 * include/unistd.h: Add hidden_proto for dup3.
12242 Define __have_dup3.
12243 * io/dup3.c: Define hidden symbol.
12244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12245
bd25564e
UD
12246 [BZ #7101]
12247 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12248 when an incomplete long option is used.
12249 * posix/tst-getopt_long1.c: New file.
12250 * posix/Makefile (tests): Add tst-getopt_long1.
12251
c84cfef4
UD
12252 [BZ #10138]
12253 * scripts/config.guess: Update from autoconf-2.68.
12254 * scripts/config.sub: Likewise.
12255
3b85df27
UD
12256 [BZ #10157]
12257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12258 tests into ...
12259 (has_cpuclock): ...this. New function.
12260 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12261 macro here based on has_cpuclock code.
12262
15a856b1
UD
12263 [BZ #10149]
12264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12265 First byte (not low byte) is now always NUL.
12266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12267
05f399e6
UD
12268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12269 Use non-cancelable interfaces.
12270
10a52685 12271 [BZ #9809]
94ecc67d
UD
12272 * locale/iso-639.def: Add entry for Sorani.
12273
f8a3b5bf
UD
12274 [BZ #11901]
12275 * include/stdlib.h: Move include protection to the right place.
12276 Define abort_msg_s. Declare __abort_msg with it.
12277 * stdlib/abort.c (__abort_msg): Adjust type.
12278 * assert/assert.c (__assert_fail_base): New function. Majority
12279 of code from __assert_fail. Allocate memory for __abort_msg with
12280 mmap.
12281 (__assert_fail): Now call __assert_fail_base.
12282 * assert/assert-perr.c: Remove bulk of implementation. Use
12283 __assert_fail_base.
12284 * include/assert.hL Declare __assert_fail_base.
12285 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12286 mmap.
12287 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12288
1af4e298
UD
122892011-05-14 Ulrich Drepper <drepper@gmail.com>
12290
f8a3b5bf 12291 [BZ #11952]
d26dfc60
MG
12292 [BZ #12453]
12293 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12294 until all modules are registered in the DTV.
12295 * elf/Makefile: Add rules to build and run tst-tls19.
12296 * elf/tst-tls19.c: New file.
12297 * elf/tst-tls19mod1.c: New file.
12298 * elf/tst-tls19mod2.c: New file.
12299 * elf/tst-tls19mod3.c: New file.
12300 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12301
2fc54d6f
UD
12302 [BZ #12083]
12303 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12304 correctly.
12305
98d76b46
UD
12306 [BZ #12601]
12307 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12308 two-byte sequence errors.
12309 * iconvdata/Makefile (tests): Add bug-iconv8.
12310 * iconvdata/bug-iconv8.c: New file.
12311
da3c19ef
UD
12312 [BZ #12626]
12313 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12314 buf2 definition.
12315
ca408c15
UD
12316 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12317
d6f67f7d
UD
12318 [BZ #12432]
12319 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12320 (dummy_getcfa): New function.
12321 (init): Get _Unwind_GetCFA address, use dummy if not found.
12322 (backtrace_helper): In recursion check, also check whether CFA changes.
12323 (__backtrace): Completely initialize arg.
12324
1af4e298 12325 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12326 storing incomplete byte sequence in state object. Avoid testing for
12327 guaranteed too small input if we know there is enough data available.
1af4e298 12328
da62f81b
AS
123292011-05-11 Andreas Schwab <schwab@redhat.com>
12330
12331 * Makeconfig (+link-pie): Indent.
12332 * Rules (binaries-pie): Define if $(have-fpie) and
12333 $(build-shared).
12334 (binaries-shared): Also filter out $(binaries-pie).
12335 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12336 * nscd/Makefile (others-pie): Add nscd.
12337 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12338 ($(objpfx)nscd): Remove command override.
12339 * login/Makefile (others-pie): Add pt_chown.
12340 ($(objpfx)pt_chown): Remove command override.
12341 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12342 remove command overrides.
12343
fcabc0f8
UD
123442011-05-13 Ulrich Drepper <drepper@gmail.com>
12345
20030ae6
UD
12346 * libio/tst_putwc.c: Fix error messages.
12347
fcabc0f8
UD
12348 [BZ #12724]
12349 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12350 currently writing and seek to current position when not.
12351 * libio/Makefile (tests): Add bug-fclose1.
12352 * libio/bug-fclose1.c: New file.
12353
320a5dc0
PB
123542011-05-12 Ulrich Drepper <drepper@gmail.com>
12355
12356 [BZ #12511]
12357 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12358 don't set DF_1_NODELETE here.
12359 (do_lookup_x): When entering new entry test for copy relocation
12360 and if necessary set DF_1_NODELETE flag.
12361 * elf/tst-unique4.cc: New file.
12362 * elf/tst-unique4.h: New file.
12363 * elf/tst-unique4lib.cc: New file.
12364 * elf/Makefile: Add rules to build and run tst-unique4.
12365 Patch by Piotr Bury <pbury@goahead.com>.
12366
22836f52
UD
123672011-05-11 Ulrich Drepper <drepper@gmail.com>
12368
f574184a
UD
12369 [BZ #12052]
12370 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12371
e1fb097f
UD
12372 [BZ #12625]
12373 * misc/mntent_r.c (addmntent): Flush the stream after the output
12374
22836f52
UD
12375 [BZ #12393]
12376 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12377 (is_trusted_path_normalize): Skip initial colon. Append slash
12378 to empty buffer. Duplicate is_trusted_path code but allow
12379 constructed patch to be prefix.
12380 (is_dst): Allow $ORIGIN followed by /.
12381 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12382 Correct testing of result of is_trusted_path_normalize
12383 (decompose_rpath): Fix warning.
12384
7b3b0b2a
UD
123852011-05-10 Ulrich Drepper <drepper@gmail.com>
12386
12387 [BZ #11257]
12388 * grp/initgroups.c (internal_getgrouplist): When we found the service
12389 list through the initgroups entry in nsswitch.conf do not always
12390 continue on a successful lookup. Don't always use the
eac80ce2 12391 __nss_group_database value if it is set.
7b3b0b2a
UD
12392 * nss/nsswitch.conf (initgroups): Change action for successful db
12393 lookup to continue for compatibility.
12394
2a81eaa5
UD
123952011-05-09 Ulrich Drepper <drepper@gmail.com>
12396
be97a69e
UD
12397 [BZ #11532]
12398 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12399 and CP774 modules.
12400 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12401 and CP774 modules.
12402 * iconvdata/tst-tables.sh: Likewise.
12403 * iconvdata/cp770.c: New file.
12404 * iconvdata/cp771.c: New file.
12405 * iconvdata/cp772.c: New file.
12406 * iconvdata/cp773.c: New file.
12407 * iconvdata/cp774.c: New file.
12408 * iconvdata/testdata/CP770: New file.
12409 * iconvdata/testdata/CP770..UTF8: New file.
12410 * iconvdata/testdata/CP771: New file.
12411 * iconvdata/testdata/CP771..UTF8: New file.
12412 * iconvdata/testdata/CP772: New file.
12413 * iconvdata/testdata/CP772..UTF8: New file.
12414 * iconvdata/testdata/CP773: New file.
12415 * iconvdata/testdata/CP773..UTF8: New file.
12416 * iconvdata/testdata/CP774: New file.
12417 * iconvdata/testdata/CP774..UTF8: New file.
12418
12419 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12420 END CHARMAP line.
12421 * iconvdata/gen-8bit-gap.sh: Likewise.
12422 * iconvdata/gen-8bit.sh: Likewise.
12423
c1e9e399
UD
12424 * locale/iso-639.def: Add ary entry.
12425
24c55fb3 12426 [BZ #11258]
96b4b1b0
UD
12427 * locale/C-translit.h.in: Add U20A1 transliteration.
12428
bdc2f971
KB
12429 [BZ #12178]
12430 * locale/iso-639.def: Add wae entry.
12431 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12432
2952b117
UD
12433 [BZ #12545]
12434 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12435 for n.
12436
2a81eaa5
UD
12437 [BZ #12711]
12438 * locale/C-translit.h.in: Add entry for U20B9.
12439 Patch by pravin.d.s@gmail.com.
12440
28377d1b
UD
124412011-05-08 Ulrich Drepper <drepper@gmail.com>
12442
7fb90fb8
UD
12443 [BZ #12713]
12444 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12445 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12446 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12447 in rtld. Use *stat64.
7fb90fb8 12448 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12449 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12450 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12451 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12452 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12453 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12454 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12455 __fstatat64 macros.
7fb90fb8
UD
12456 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12457 * dirent/rewinddir.c: Add libc_hidden_def.
12458 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12459 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12460
28377d1b
UD
12461 * include/dirent.h (__alloc_dir): Add flags parameter.
12462 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12463 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12464 __alloc_dir.
12465 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12466 from fdopendir if O_CLOEXEC is already set.
12467
66bdbaa4
AM
124682011-03-15 Alan Modra <amodra@gmail.com>
12469
12470 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12471 l_tls_firstbyte_offset non-zero. Save padding offset in
12472 l_tls_firstbyte_offset for later use.
12473 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12474 freeing static tls block.
12475
95721191
JN
124762011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12477
12478 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12479 where #ifdef was intended. The intent is to prevent ARG_MAX from
12480 being defined by the kernel headers.
12481
f87dfb1f
UD
124822011-05-07 Ulrich Drepper <drepper@gmail.com>
12483
12484 [BZ #12734]
12485 * resolv/resolv.h: Define RES_NOTLDQUERY.
12486 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12487 no-tld-query and set RES_NOTLDQUERY.
12488 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12489 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12490 modern BIND to search name as TLD unless forbidden.
12491
47c3cd7a
UD
124922011-05-07 Petr Baudis <pasky@suse.cz>
12493 Ulrich Drepper <drepper@gmail.com>
12494
12495 [BZ #12393]
12496 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12497 (is_trusted_path): ...to here.
c1e9ea35 12498 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12499 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12500 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12501
8a35c912
PP
125022011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12503
12504 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12505 __BEGIN/__END_DECLS.
12506
acd41f47
UD
125072011-05-06 Ulrich Drepper <drepper@gmail.com>
12508
12509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12510 NSS_STATUS_NOTFOUND if no record was found.
12511
597df647
AS
125122011-05-05 Andreas Schwab <schwab@redhat.com>
12513
12514 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12515 (headers-not-in-tirpc): Remove rpc/netdb.h
12516 * resolv/netdb.h: Revert last change.
12517
b9af1301
PP
125182011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12519
12520 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12521 circular dependency between libgcc.a and libc.a.
12522
4e34d5f5
AS
125232011-05-05 Andreas Schwab <schwab@redhat.com>
12524
12525 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12526 * nis/Makefile: Don't install rpcsvc/*.
12527 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12528 instead of <rpc/types.h>.
12529 (MAXHOSTNAMELEN): Define.
12530
00ee369c
AS
125312011-05-03 Andreas Schwab <schwab@redhat.com>
12532
12533 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12534
0b592a30
MB
125352011-04-28 Maciej Babinski <mbabinski@google.com>
12536
12537 [BZ #12714]
12538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12539 gethostbyname4_r when IPv6 results are possible.
12540
6e04cbbe
UD
125412011-05-02 Ulrich Drepper <drepper@gmail.com>
12542
12543 [BZ #12723]
12544 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12545 _PC_PIPE_BUF handling.
12546
e4ecafe0
BH
125472011-04-30 Bruno Haible <bruno@clisp.org>
12548
12549 [BZ #12717]
12550 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12551 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12552 to 'int'.
12553 * inet/getnameinfo.c (getnameinfo): Likewise.
12554
125ee683
UD
125552011-04-29 Ulrich Drepper <drepper@gmail.com>
12556
12557 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12558 to groups setting in database lookup.
12559 * nss/nsswitch.conf: Add initgroups entry.
12560
b722481a
EB
125612011-04-22 Ulrich Drepper <drepper@gmail.com>
12562
12563 [BZ #12685]
12564 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12565 mode string.
12566 Patch by Eric Blake <eblake@redhat.com>.
12567
4df46dbd
L
125682011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 * sunrpc/Makefile (need-export-routines): Add svc_run.
12571 (routines): Remove svc_run.
12572 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12573 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12574 * sunrpc/svc_run.c (svc_run): Likewise.
12575 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12576
e84142d2
UD
125772011-04-21 Ulrich Drepper <drepper@gmail.com>
12578
12579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12580 problem in reallocation in last patch.
12581
877175d8
UD
125822011-04-20 Ulrich Drepper <drepper@gmail.com>
12583
12584 * sunrpc/Makefile: Move inclusion of Rules.
12585
ab8eed78
UD
125862011-04-19 Ulrich Drepper <drepper@gmail.com>
12587
12588 * nss/nss_files/files-initgroups.c: New file.
12589 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12590 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12591 _nss_files_initgroups_dyn.
12592
e3d8f584
RS
125932011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12594
12595 * elf/elf.h (R_ARM_IRELATIVE): Define.
12596
af190f45
UD
125972011-04-19 Ulrich Drepper <drepper@gmail.com>
12598
12599 * po/ru.po: Update from translation team.
12600
53cf59ef
UD
126012011-04-17 Ulrich Drepper <drepper@gmail.com>
12602
12603 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12604 dependencies.
12605
4c559bcd
MF
126062011-02-06 Mike Frysinger <vapier@gentoo.org>
12607
12608 [BZ #12653]
12609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12610 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12611 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12614
4420675c
AS
126152011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12616
12617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12618 differing bytes.
12619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12622
75ea32ab
UD
126232011-04-17 Ulrich Drepper <drepper@gmail.com>
12624
12625 [BZ #12420]
12626 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12627 storing it.
12628 * stdlib/bug-getcontext.c: New file.
12629 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12630
27390476
AK
126312011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12632
12633 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12634 instructions into .machine "z9-109".
12635 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12636 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12637
10442705
AK
126382011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12639
12640 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12641 between environment variables and auxiliary vector.
12642
7b57bfe5
UD
126432011-04-16 Ulrich Drepper <drepper@gmail.com>
12644
12645 * Makefile: Add rules to build linkobj/libc.so.
12646 * include/libc-symbols.h: Define libc_hidden_nolink.
12647 * include/rpc/auth.h: Mark functions which are to be hidden.
12648 * include/rpc/auth_des.h: Likewise.
12649 * include/rpc/auth_unix.h: Likewise.
12650 * include/rpc/clnt.h: Likewise.
12651 * include/rpc/des_crypt.h: Likewise.
12652 * include/rpc/key_prot.h: Likewise.
12653 * include/rpc/pmap_clnt.h: Likewise.
12654 * include/rpc/pmap_prot.h: Likewise.
12655 * include/rpc/pmap_rmt.h: Likewise.
12656 * include/rpc/rpc_msg.h: Likewise.
12657 * include/rpc/svc.h: Likewise.
12658 * include/rpc/svc_auth.h: Likewise.
12659 * include/rpc/xdr.h: Likewise.
12660 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12661 * nss/Makefile: Likewise.
12662 * sunrpc/Makefile: Don't install headers. Build library with normal
12663 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12664 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12665 for the compat linking library. Remove use of INTDEF/INTUSE.
12666 * sunrpc/auth_none.c: Likewise.
12667 * sunrpc/auth_unix.c: Likewise.
12668 * sunrpc/authdes_prot.c: Likewise.
12669 * sunrpc/authuxprot.c: Likewise.
12670 * sunrpc/clnt_gen.c: Likewise.
12671 * sunrpc/clnt_perr.c: Likewise.
12672 * sunrpc/clnt_raw.c: Likewise.
12673 * sunrpc/clnt_simp.c: Likewise.
12674 * sunrpc/clnt_tcp.c: Likewise.
12675 * sunrpc/clnt_udp.c: Likewise.
12676 * sunrpc/clnt_unix.c: Likewise.
12677 * sunrpc/des_crypt.c: Likewise.
12678 * sunrpc/des_soft.c: Likewise.
12679 * sunrpc/get_myaddr.c: Likewise.
12680 * sunrpc/key_call.c: Likewise.
12681 * sunrpc/key_prot.c: Likewise.
12682 * sunrpc/netname.c: Likewise.
12683 * sunrpc/pm_getmaps.c: Likewise.
12684 * sunrpc/pm_getport.c: Likewise.
12685 * sunrpc/pmap_clnt.c: Likewise.
12686 * sunrpc/pmap_prot.c: Likewise.
12687 * sunrpc/pmap_prot2.c: Likewise.
12688 * sunrpc/pmap_rmt.c: Likewise.
12689 * sunrpc/publickey.c: Likewise.
12690 * sunrpc/rpc_cmsg.c: Likewise.
12691 * sunrpc/rpc_common.c: Likewise.
12692 * sunrpc/rpc_dtable.c: Likewise.
12693 * sunrpc/rpc_prot.c: Likewise.
12694 * sunrpc/rpc_thread.c: Likewise.
12695 * sunrpc/rtime.c: Likewise.
12696 * sunrpc/svc.c: Likewise.
12697 * sunrpc/svc_auth.c: Likewise.
12698 * sunrpc/svc_authux.c: Likewise.
12699 * sunrpc/svc_raw.c: Likewise.
12700 * sunrpc/svc_run.c: Likewise.
12701 * sunrpc/svc_simple.c: Likewise.
12702 * sunrpc/svc_tcp.c: Likewise.
12703 * sunrpc/svc_udp.c: Likewise.
12704 * sunrpc/svc_unix.c: Likewise.
12705 * sunrpc/svcauth_des.c: Likewise.
12706 * sunrpc/xcrypt.c: Likewise.
12707 * sunrpc/xdr.c: Likewise.
12708 * sunrpc/xdr_array.c: Likewise.
12709 * sunrpc/xdr_float.c: Likewise.
12710 * sunrpc/xdr_intXX_t.c: Likewise.
12711 * sunrpc/xdr_mem.c: Likewise.
12712 * sunrpc/xdr_rec.c: Likewise.
12713 * sunrpc/xdr_ref.c: Likewise.
12714 * sunrpc/xdr_sizeof.c: Likewise.
12715 * sunrpc/xdr_stdio.c: Likewise.
12716
e6c61494
UD
127172011-04-10 Ulrich Drepper <drepper@gmail.com>
12718
12719 [BZ #12650]
12720 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12721 * sysdeps/ia64/dl-tls.h: Likewise.
12722 * sysdeps/powerpc/dl-tls.h: Likewise.
12723 * sysdeps/s390/dl-tls.h: Likewise.
12724 * sysdeps/sh/dl-tls.h: Likewise.
12725 * sysdeps/sparc/dl-tls.h: Likewise.
12726 * sysdeps/x86_64/dl-tls.h: Likewise.
12727 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12728
34fe483e
AS
127292011-03-14 Andreas Schwab <schwab@redhat.com>
12730
12731 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12732 rpath element also skip the following colon.
12733 (expand_dynamic_string_token): Add is_path parameter and pass
12734 down to DL_DST_REQUIRED and _dl_dst_substitute.
12735 (decompose_rpath): Call expand_dynamic_string_token with
12736 non-zero is_path. Ignore empty rpaths.
12737 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12738 with zero is_path.
12739
f12a32e6
AS
127402011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12741
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12743 Make cancelable.
12744
38a7d692
UD
127452011-04-09 Ulrich Drepper <drepper@gmail.com>
12746
12747 [BZ #12655]
12748 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12749 Patch by Filipe David Manana <fdmanana@apache.org>.
12750
e451d22b
AS
127512011-04-07 Andreas Schwab <schwab@redhat.com>
12752
12753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12754 Maintain aligned stack.
12755 (CHECK_RSP): Remove unused macro.
12756
dedc7c7b
UD
127572011-04-03 Ulrich Drepper <drepper@gmail.com>
12758
12759 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12761
94521213
UD
127622011-04-02 Ulrich Drepper <drepper@gmail.com>
12763
12764 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12765
8cb700c0 12766 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12767
0354e355
L
127682011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12769
12770 [BZ #12518]
12771 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12772 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12773 * sysdeps/x86_64/memmove.c: New file.
12774 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12775 (memcpy): Renamed to ...
12776 (__new_memcpy): This.
12777 (memcpy): Provide GLIBC_2_14 memcpy.
12778 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12779 (memcpy): Provide GLIBC_2_2_5 memcpy.
12780
8593482f
UD
127812011-04-01 Ulrich Drepper <drepper@gmail.com>
12782
12783 [BZ #12631]
12784 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12785
81a5726b
AS
127862011-03-30 Andreas Schwab <schwab@redhat.com>
12787
12788 * misc/syncfs.c: New file.
12789 * misc/Makefile (routines): Add syncfs.
12790 * posix/unistd.h: Declare syncfs.
12791 * sysdeps/unix/syscalls.list: Add syncfs.
12792
00e5419f
AS
127932011-04-01 Andreas Schwab <schwab@redhat.com>
12794
12795 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12796 open_by_handle_at.
12797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12802 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12804
748876bf
UD
128052011-04-01 Ulrich Drepper <drepper@gmail.com>
12806
658e451d
UD
12807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12814
748876bf
UD
12815 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12816 sync_file_range.c with -fexceptions.
12817 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12818 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12819 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12820 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12821 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12824 sync_file_range as cancellation point
12825 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12826 now a wrapper around __call_sync_file_range with cancellation handling.
12827 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12829 function name to __call_sync_file_range.
12830 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12831 Add call_sync_file_range.
748876bf 12832
6e63d5e1
AS
128332011-04-01 Andreas Schwab <schwab@redhat.com>
12834
12835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12836 bits/timex.h.
6e63d5e1 12837
46998f74
UD
128382011-04-01 Ulrich Drepper <drepper@gmail.com>
12839
4c1423ed
UD
12840 * iconv/iconv.h: Fix typo in comment.
12841 * io/fcntl.h: Likewise.
12842 * libio/stdio.h: Likewise.
12843 * posix/spawn.h: Likewise.
12844 * posix/unistd.h: Likewise.
12845 * stdlib/stdlib.h: Likewise.
12846 * time/time.h: Likewise.
12847 * wcsmbs/wchar.h: Likewise.
12848
158648c0
UD
12849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12850 open_by_handle): Add.
12851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12852 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12853 Augment a few comments.
12854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12859 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12860 open_by_handle.
12861
46998f74
UD
12862 * io/fcntl.h (AT_EMPTY_PATH): Define.
12863
83fe108b
UD
128642011-03-30 Ulrich Drepper <drepper@gmail.com>
12865
12866 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12867 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12868 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12869 to...
12870 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12871 * Versions.def: Add GLIBC_2.14.
12872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12873 Export.
83fe108b 12874
bb242059
UD
128752011-03-22 Ulrich Drepper <drepper@gmail.com>
12876
12877 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12878 round counter.
12879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12880
c97a1282
L
128812011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12882
12883 [BZ #12597]
12884 * string/test-strncmp.c (do_page_test): New function.
12885 (check2): Likewise.
12886 (test_main): Call check2.
12887 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12888
2a115601
UD
128892011-03-20 Ulrich Drepper <drepper@gmail.com>
12890
12891 [BZ #12587]
12892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12893 Handle cache information in CPU leaf 4.
12894 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12895
8126d904
UD
128962011-03-18 Ulrich Drepper <drepper@gmail.com>
12897
042c49c6 12898 [BZ #12583]
8126d904
UD
12899 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12900 character representation.
12901 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12902
ccfe366e
RA
129032011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12904
12905 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12906 END(__isnan) to END(__isnanf) to match function entry point/label
12907 EALIGN(__isnanf,...).
12908
c6e13027
JJ
129092011-03-10 Jakub Jelinek <jakub@redhat.com>
12910
12911 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12912
33f85a3f
UD
129132011-03-10 Ulrich Drepper <drepper@gmail.com>
12914
028478fa
UD
12915 [BZ #12510]
12916 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12917 copy from the symbol referenced in the relocation to initialize the
12918 used variable.
12919 Patch by Piotr Bury <pbury@goahead.com>.
12920 * elf/Makefile: Add rules to build and tst-unique3.
12921 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12922 * elf/tst-unique3.cc: New file.
12923 * elf/tst-unique3.h: New file.
12924 * elf/tst-unique3lib.cc: New file.
12925 * elf/tst-unique3lib2.cc: New file.
12926
33f85a3f
UD
12927 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12928
03592fc7
MF
129292011-03-10 Mike Frysinger <vapier@gentoo.org>
12930
12931 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12932 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12933 to _start.
03592fc7 12934
6a5ee102
UD
129352011-03-06 Ulrich Drepper <drepper@gmail.com>
12936
12937 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12938 to-be-loaded object along a path to loader is ld.so.
12939
7e4ba49c
HJ
129402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12941 Ulrich Drepper <drepper@gmail.com>
12942
12943 * sysdeps/x86_64/memset.S: After aligning destination, code
12944 branches to different locations depending on the value of
12945 misalignment, when multiarch is enabled. Fix this.
12946
129472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12948
12949 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12950 Set _x86_64_preferred_memory_instruction for AMD processsors.
12951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12952 Set bit_Prefer_SSE_for_memop for AMD processors.
12953
13a804de
UD
129542011-03-04 Ulrich Drepper <drepper@gmail.com>
12955
12956 * libio/fmemopen.c (fmemopen): Optimize a bit.
12957
9d25c392
AS
129582011-03-03 Andreas Schwab <schwab@redhat.com>
12959
12960 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12961
a5543c6a
RM
129622011-03-03 Roland McGrath <roland@redhat.com>
12963
12964 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12965
012d35f7
DM
129662011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12967
7e4ba49c 12968 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12969 __bzero_ultra1 instead of __memset_ultra1.
12970
4bff6e01
AS
129712011-02-23 Andreas Schwab <schwab@redhat.com>
12972 Ulrich Drepper <drepper@gmail.com>
12973
12974 [BZ #12509]
12975 * include/link.h (struct link_map): Add l_orig_initfini.
12976 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12977 returning unsuccessfully.
12978 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12979 close of a file loaded at startup, restore the original l_initfini
12980 list.
12981 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12982 list, store the pointer.
12983 * elf/Makefile ($(objpfx)noload-mem): New rule.
12984 (noload-ENV): Define.
12985 (tests): Add $(objpfx)noload-mem.
12986 * elf/noload.c: Include <memcheck.h>.
12987 (main): Call mtrace. Close all opened handles.
12988
f2092faf
AS
129892011-02-17 Andreas Schwab <schwab@redhat.com>
12990
12991 [BZ #12454]
12992 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12993 dependencies are missing.
12994
6c8a2e88
ST
129952011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12996
f2092faf 12997 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12998 Hurd needs munmap.
12999 * sysdeps/mach/hurd/ifreq.h: New file.
13000
84a42118
PB
130012011-01-27 Petr Baudis <pasky@suse.cz>
13002 Ulrich Drepper <drepper@gmail.com>
13003
071f805e 13004 [BZ 12445]#
84a42118
PB
13005 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13006 to extend_alloca().
13007 * stdio-common/bug23.c: New file.
13008 * stdio-common/Makefile (tests): Add bug23.
13009
e23fe25b
AS
130102010-09-28 Andreas Schwab <schwab@redhat.com>
13011 Ulrich Drepper <drepper@gmail.com>
13012
13013 [BZ #12489]
13014 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13015 before performing relro protection. At old place add assertion
13016 to make sure nothing changed.
13017
d3f02e10
NS
130182011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13019 Glauber de Oliveira Costa <glommer@gmail.com>
13020
13021 * elf/elf.h: Add new ARM TLS relocs.
13022
d55fd7a5
RA
130232011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13024
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13026 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13027 cast from r3.
13028 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13029 'tests' variable.
13030 * sysdeps/wordsize-64/tst-writev.c: New file.
13031
2206397e
RA
130322011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13033
13034 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13035 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13036 insns in _dl_start to prevent a TOC reference before relocs are
13037 resolved.
13038
e9433893
UD
130392011-02-15 Ulrich Drepper <drepper@gmail.com>
13040
13041 [BZ #12469]
13042 * Makeconfig: Remove RANLIB definition.
13043 * Makerules: Don't use RANLIB.
13044 * aclocal.m4: Remove ranlib test.
13045 * configure.in: No need to check for ranlib.
13046 * elf/rtld-Rules: Don't use RANLIB.
13047
f75286c6
ST
130482011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13049
8e31c82d
ST
13050 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13051 protection macro.
13052 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13053 inclusion protection macro.
13054
f75286c6
ST
13055 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13056 SIGRTMIN and SIGRTMAX and print information in that case only when
13057 SIGRTMIN is defined.
13058
c1d0e639
JJ
130592011-02-11 Jakub Jelinek <jakub@redhat.com>
13060
13061 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13062 arginfo fn returning -1.
13063
13064 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13065 and thousands string is zero terminated.
13066
edf9294e
AS
130672011-02-03 Andreas Schwab <schwab@redhat.com>
13068
13069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13070 sysdeps/unix/sysv/linux/bits/socket.h.
13071
2b7e92df
ST
130722011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13073
edf9294e
AS
13074 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13075 (__CPU_COUNT): Remove old macros.
13076 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13077 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13078 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13079 (__sched_cpualloc, __sched_cpufree): Add declarations.
13080
a4c7ea7b
UD
130812011-02-05 Ulrich Drepper <drepper@gmail.com>
13082
13083 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13084 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13085 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13086 (readdhstai): Return value of addhstaiX call.
13087 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13088 (addgrbyX): Return value returned by cache_addgr.
13089 (readdgrbyname): Return value returned by addgrbyX.
13090 (readdgrbygid): Likewise.
13091 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13092 (addpwbyX): Return value returned by cache_addpw.
13093 (readdpwbyname): Return value returned by addhstbyX.
13094 (readdpwbyuid): Likewise.
13095 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13096 (addservbyX): Return value returned by cache_addserv.
13097 (readdservbyname): Return value returned by addservbyX:
13098 (readdservbyport): Likewise.
13099 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13100 (addhstbyX): Return value returned by cache_addhst.
13101 (readdhstbyname): Return value returned by addhstbyX.
13102 (readdhstbyaddr): Likewise.
13103 (readdhstbynamev6): Likewise.
13104 (readdhstbyaddrv6): Likewise.
13105 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13106 (readdinitgroups): Return value returned by addinitgroupsX.
13107 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13108 (prune_cache): Keep track of timeout value of re-added entries.
13109 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13110 * nscd/nscd.h: Adjust prototypes of readd* functions.
13111
a0bf67cc
RM
131122011-02-04 Roland McGrath <roland@redhat.com>
13113
13114 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13115 (nis_stats): Likewise.
13116 * nis/nis_modify.c (nis_modify): Likewise.
13117 * nis/nis_remove.c (nis_remove): Likewise.
13118 * nis/nis_add.c (nis_add): Likewise.
13119
13120 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13121
13122 * posix/fnmatch_loop.c: Add some consts.
13123
13124 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13125
435b95eb
L
131262011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 [BZ #12460]
13129 * config.make.in (config-cflags-novzeroupper): Define.
13130 * configure.in: Substitute libc_cv_cc_novzeroupper.
13131 * elf/Makefile (AVX-CFLAGS): Define.
13132 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13133 (CFLAGS-tst-auditmod4a.c): Likewise.
13134 (CFLAGS-tst-auditmod4b.c): Likewise.
13135 (CFLAGS-tst-auditmod6b.c): Likewise.
13136 (CFLAGS-tst-auditmod6c.c): Likewise.
13137 (CFLAGS-tst-auditmod7b.c): Likewise.
13138 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13139
8517b15e
UD
131402011-02-02 Ulrich Drepper <drepper@gmail.com>
13141
13142 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13143 function to the callback.
13144 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13145
10a656fe
AS
131462011-02-02 Andreas Schwab <schwab@redhat.com>
13147
13148 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13149 of errno.
13150
968dad0a
UD
131512011-01-19 Ulrich Drepper <drepper@gmail.com>
13152
9f94d2ea 13153 [BZ #11724]
968dad0a
UD
13154 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13155 of constructors.
13156 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13157 of destructors.
13158 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13159
13160 [BZ #11724]
13161 * elf/Makefile: Add rules to build and run new test.
13162 * elf/tst-initorder.c: New file.
13163 * elf/tst-initorder.exp: New file.
13164 * elf/tst-initordera1.c: New file.
13165 * elf/tst-initordera2.c: New file.
13166 * elf/tst-initordera3.c: New file.
13167 * elf/tst-initordera4.c: New file.
13168 * elf/tst-initorderb1.c: New file.
13169 * elf/tst-initorderb2.c: New file.
13170 * elf/tst-order-a1.c: New file.
13171 * elf/tst-order-a2.c: New file.
13172 * elf/tst-order-a3.c: New file.
13173 * elf/tst-order-a4.c: New file.
13174 * elf/tst-order-b1.c: New file.
13175 * elf/tst-order-b2.c: New file.
13176 * elf/tst-order-main.c: New file.
13177 New test case by George Gensure <werkt0@gmail.com>.
13178
86e92359
UD
131792010-10-01 Andreas Schwab <schwab@redhat.com>
13180
13181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13182 decoding ACE if AI_CANONIDN.
13183
5d5732b0
UD
131842011-01-18 Ulrich Drepper <drepper@gmail.com>
13185
13186 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13187
a77e8cbc
UD
131882011-01-17 Ulrich Drepper <drepper@gmail.com>
13189
6392473f
UD
13190 * version.h (RELEASE): Bump for 2.13 release.
13191 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13192
620a0529
UD
13193 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13194
18ba70a5
UD
13195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13196 MADV_NOHUGEPAGE.
32465c3e
UD
13197 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13203
c0dafcf1
UD
13204 * posix/getconf.c: Update copyright year.
13205 * catgets/gencat.c: Likewise.
13206 * csu/version.c: Likewise.
13207 * debug/catchsegv.sh: Likewise.
13208 * debug/xtrace.sh: Likewise.
13209 * elf/ldconfig.c: Likewise.
13210 * elf/ldd.bash.in: Likewise.
13211 * elf/sprof.c (print_version): Likewise.
13212 * iconv/iconv_prog.c: Likewise.
13213 * iconv/iconvconfig.c: Likewise.
13214 * locale/programs/locale.c: Likewise.
13215 * locale/programs/localedef.c: Likewise.
13216 * malloc/memusage.sh: Likewise.
13217 * malloc/mtrace.pl: Likewise.
13218 * nscd/nscd.c (print_version): Likewise.
13219 * nss/getent.c: Likewise.
13220
a77e8cbc
UD
13221 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13222 PF_CAIF, and PF_ALG.
13223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13224
77e8bddf
AS
132252011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13226
1f20b93a
AS
13227 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13228 (modules-names): Use them.
13229 (ifunc-test-modules, ifunc-pie-tests): Define.
13230 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13231 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13232 (test-extras): Likewise.
13233 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13234 $(compile-command.c).
13235 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13236 (all-built-dso): Define.
13237 (check-textrel.out, check-execstack.out): Depend on it.
13238
77e8bddf
AS
13239 * configure.in: Don't override --enable-multi-arch.
13240
bc425b33
UD
132412011-01-15 Ulrich Drepper <drepper@gmail.com>
13242
13243 [BZ #6812]
13244 * nscd/hstcache.c (tryagain): Define.
13245 (cache_addhst): Return tryagain not notfound for temporary errors.
13246 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13247 failed.
13248
794c3ad3
UD
132492011-01-14 Ulrich Drepper <drepper@gmail.com>
13250
70181fdd
UD
13251 [BZ #10563]
13252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13253 to make the syscall.
13254 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13255
794c3ad3
UD
13256 [BZ #12378]
13257 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13258 and fall back to matching as normal character if the string ends before
13259 the matching ']' is found. This is what POSIX requires.
13260 * posix/testfnm.c: Adjust test result.
13261 * posix/globtest.sh: Adjust test result. Add new test.
13262 * posix/tst-fnmatch.input: Likewise.
13263 * posix/tst-fnmatch2.c: Add new test.
13264
68dc9497
AS
132652010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13266
13267 * elf/Makefile (check-execstack): Revert last change. Depend on
13268 check-execstack.h.
13269 (check-execstack.h): New target.
13270 (generated): Add check-execstack.h.
13271 * elf/check-execstack.c: Include "check-execstack.h".
13272 (main): Revert last change.
13273 (handle_file): Return zero if GNU_STACK is absent and
13274 DEFAULT_STACK_PERMS doesn't include PF_X.
13275
451f001b
UD
132762011-01-13 Ulrich Drepper <drepper@gmail.com>
13277
cfa28e56
UD
13278 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13279 in child fails because the descriptor is already closed.
8cf8ce17
UD
13280 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13281 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13282 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13283
1086d70d
UD
13284 [BZ #12397]
13285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13286 syscall.
13287
451f001b
UD
13288 [BZ #10484]
13289 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13290 temporary buffer used to handle multi lookups locally.
a85b5cb4 13291 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13292
08769175
UD
132932011-01-12 Ulrich Drepper <drepper@gmail.com>
13294
13295 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13296 loader is ld.so.
13297
5e49c52e
UD
132982011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13299
13300 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13301 alignment for SSE2.
13302
60522a5f
UD
133032011-01-12 Ulrich Drepper <drepper@gmail.com>
13304
13305 [BZ #12394]
13306 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13307 characters. When rounding increased number of integer digits recompute
13308 number of groups.
13309 * stdio-common/tst-grouping.c: New file.
13310 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13311
f257bbd7
UD
133122011-01-09 Ulrich Drepper <drepper@gmail.com>
13313
13314 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13315 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13316
13317 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13318 void.
13319 * bits/select.h: Likewise.
13320
fa9c15cb
UD
133212011-01-08 Ulrich Drepper <drepper@gmail.com>
13322
13323 * po/ja.po: Update from translation team.
13324
16c2895f
DM
133252011-01-04 David S. Miller <davem@sunset.davemloft.net>
13326
13327 [BZ #11155]
13328 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13329 implementation just like for lxstat, fxstatat, et al.
13330
2543fef2
JM
133312010-12-27 Jim Meyering <meyering@redhat.com>
13332
13333 [BZ #12348]
13334 * posix/regexec.c (build_trtable): Return failure indication upon
13335 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13336
98727dbe
UD
133372010-12-25 Ulrich Drepper <drepper@gmail.com>
13338
5bd6dc5c
UD
13339 [BZ #12201]
13340 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13341 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13343 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13344
97983464
UD
13345 [BZ #12207]
13346 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13347
98727dbe
UD
13348 [BZ #12204]
13349 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13350 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13351
4a531bb0
L
133522010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13355 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13356 script has SORT_BY_INIT_PRIORITY.
13357 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13358 NO_CTORS_DTORS_SECTIONS is defined.
13359 * elf/soinit.c: Likewise.
13360 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13361 NO_CTORS_DTORS_SECTIONS is defined.
13362 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13363 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13364 * sysdeps/sh/init-first.c: Likewise.
13365 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13366
07eb4b71
UD
133672010-12-24 Ulrich Drepper <drepper@gmail.com>
13368
13369 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13370 always use the slow path.
13371
30950a5f
RA
133722010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13373
13374 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13375 similar rule which adds the sysdep directories to the header search in
13376 order to pick up the correct platform stackinfo.h.
13377 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13378 perform test if it is, otherwise return successfully without testing.
13379 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13380 DEFAULT_STACK_PERMS define in stackinfo.h.
13381 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13382 defined in stackinfo.h.
13383 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13384 DEFAULT_STACK_PERMS defined in stackinfo.h.
13385 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13386 * sysdeps/ia64/stackinfo.h: Likewise.
13387 * sysdeps/s390/stackinfo.h: Likewise.
13388 * sysdeps/sh/stackinfo.h: Likewise.
13389 * sysdeps/sparc/stackinfo.h: Likewise.
13390 * sysdeps/x86_64/stackinfo.h: Likewise.
13391 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13392 PF_X for powerpc64. Retain PF_X for powerpc32.
13393
db753e2c
UD
133942010-12-19 Ulrich Drepper <drepper@gmail.com>
13395
14b697f7
UD
13396 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13397 accurately.
db753e2c
UD
13398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13399 GETDENTS_64BIT_ALIGNED.
13400
28300719
UD
134012010-12-14 Ulrich Drepper <dreper@gmail.com>
13402
14b697f7 13403 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13404
4f197237
AS
134052010-12-10 Andreas Schwab <schwab@redhat.com>
13406
dbb0472f
AS
13407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13408 _GNU_SOURCE.
13409
4f197237
AS
13410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13411 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13412 Remove __restrict.
13413 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13414 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13415
fb88ac72
UD
134162010-12-09 Ulrich Drepper <drepper@gmail.com>
13417
13418 [BZ #11655]
13419 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13420 are initialized.
13421
42acbb92
JJ
134222010-12-09 Jakub Jelinek <jakub@redhat.com>
13423
13424 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13425
c038d98d
UD
134262010-12-03 Ulrich Drepper <drepper@gmail.com>
13427
13428 * po/it.po: Update from translation team.
13429
3a4a2499
L
134302010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13433 unused codes.
13434
1e24cf6e
UD
134352010-11-30 Ulrich Drepper <drepper@gmail.com>
13436
13437 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13438
a7690819
AS
134392010-11-24 Andreas Schwab <schwab@redhat.com>
13440
13441 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13442 specially.
13443 (gaih_getanswer_slice): Likewise.
13444
3bf8d1b1
JJ
134452010-10-20 Jakub Jelinek <jakub@redhat.com>
13446
13447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13448
6db52fbb
PB
134492010-05-31 Petr Baudis <pasky@suse.cz>
13450
13451 [BZ #11149]
13452 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13453 silently even in the chroot mode.
13454
eaca7569
UD
134552010-11-22 Ulrich Drepper <drepper@gmail.com>
13456
13457 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13458 last patch a bit. Pretty printing
13459
3056dcdb
UD
134602010-05-31 Petr Baudis <pasky@suse.cz>
13461
13462 [BZ #10085]
13463 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13464 initialization of skip_initgroups_dyn.
13465
cf7c9078
UD
134662010-11-19 Ulrich Drepper <drepper@gmail.com>
13467
13468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13470
a1fb5e3e
UD
134712010-11-16 Ulrich Drepper <drepper@gmail.com>
13472
13473 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13474
3540d66b
AS
134752010-11-11 Andreas Schwab <schwab@redhat.com>
13476
13477 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13478 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13479 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13480 ($(objpfx)tst-fnmatch-mem): New rule.
13481 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13482 * posix/tst-fnmatch.c (main): Call mtrace.
13483
13b69574
L
134842010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13485
13486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13487 Support Intel processor model 6 and model 0x2c.
13488
da93d214
LM
134892010-11-10 Luis Machado <luisgpm@br.ibm.com>
13490
13491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13492 signed comparison.
13493
8ca52c6e
L
134942010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 [BZ #12205]
13497 * string/test-strncasecmp.c (check_result): New function.
13498 (do_one_test): Use it.
13499 (check1): New function.
13500 (test_main): Use it.
13501 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13502 Support strcasecmp and strncasecmp.
13503
69da074d
UD
135042010-11-08 Ulrich Drepper <drepper@gmail.com>
13505
13506 [BZ #12194]
13507 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13509
ff02d528
L
135102010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13513 IFUNC support.
13514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13515 memset-x86-64.
13516 * sysdeps/x86_64/multiarch/bzero.S: New file.
13517 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13518 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13519 * sysdeps/x86_64/multiarch/memset.S: New file.
13520 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13522 Set bit_Prefer_SSE_for_memop for Intel processors.
13523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13524 Define.
13525 (index_Prefer_SSE_for_memop): Define.
13526 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13527
344d0b54
LM
135282010-11-04 Luis Machado <luisgpm@br.ibm.com>
13529
13530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13532
c0dde15b
UD
135332010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13534
13535 [BZ #12191]
13536 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13537 (__x86_64_raw_data_cache_size_half): Likewise.
13538 (__x86_64_raw_shared_cache_size): Likewise.
13539 (__x86_64_raw_shared_cache_size_half): Likewise.
13540
13541 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13542 (__x86_64_raw_data_cache_size_half): Likewise.
13543 (__x86_64_raw_shared_cache_size): Likewise.
13544 (__x86_64_raw_shared_cache_size_half): Likewise.
13545 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13546 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13547 and __x86_64_raw_shared_cache_size_half. Round
13548 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13549 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13550 to multiple of 256 bytes.
13551
0e516e0e
MS
135522010-11-03 Ulrich Drepper <drepper@gmail.com>
13553
13554 [BZ #12167]
13555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13556 of inacessible symlinks. Verify result of symlink before returning it.
13557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13558 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13559
0e012e87
ER
135602010-10-28 Erich Ritz <erichritz@gmail.com>
13561
13562 * math/math.h (isinf): Fix typo in comment.
13563
de0ff7bc
UD
135642010-11-01 Ulrich Drepper <drepper@gmail.com>
13565
13566 * po/da.po: Update from translation team.
13567
fa41c84d
UD
135682010-10-26 Ulrich Drepper <drepper@gmail.com>
13569
13570 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13571 is added to the list.
13572
f0967738
AK
135732010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13574 Ulrich Drepper <drepper@gmail.com>
13575
13576 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13577 the global list here. Move code to...
13578 (_dl_add_to_namespace_list): ...here. New function.
13579 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13580 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13581 * elf/dl-load.c (lose): Don't remove the element from the list.
13582 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13583 (_dl_map_object): Likewise.
13584
135852010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13586
13587 [BZ #12159]
13588 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13589 into all bytes of SSE register.
13590 Patch by Richard Li <richardpku@gmail.com>.
13591
f0967738 135922010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13593
13594 [BZ #12140]
13595 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13596 perturbing.
13597
d0b9e94f
MB
135982010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13599
13600 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13601 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13603 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13605 submachine.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13607
8e9f92e9
AS
136082010-10-22 Andreas Schwab <schwab@redhat.com>
13609
13610 * include/dlfcn.h (__RTLD_SECURE): Define.
13611 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13612 mode & __RTLD_SECURE instead.
13613 (open_path): Rename preloaded parameter to secure.
13614 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13615 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13616 * elf/dl-deps.c (openaux): Likewise.
13617 * elf/rtld.c (struct map_args): Remove is_preloaded.
13618 (map_doit): Don't use it.
13619 (dl_main): Likewise.
13620 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13621 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13622
bc96fbda
AS
136232010-09-09 Andreas Schwab <schwab@redhat.com>
13624
13625 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13626 (sysd-rules-targets): Remove duplicates.
13627 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13628 rtld-%.$o dependency.
13629
22cd1c9b
AS
136302010-10-18 Andreas Schwab <schwab@redhat.com>
13631
13632 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13633 _dl_map_object do it.
13634
18edac48
UD
136352010-10-19 Ulrich Drepper <drepper@gmail.com>
13636
13637 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13638 fast fma builtins, define the macros in the C99 standard.
13639 (FP_FAST_FMAF): Likewise.
13640 (FP_FAST_FMAL): Likewise.
13641 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13642
13643 * bits/mathdef.h: Update copyright year.
13644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13645
d2050124
MM
136462010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13647
13648 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13649 builtins, define the macros in the C99 standard.
13650 (FP_FAST_FMAF): Likewise.
13651 (FP_FAST_FMAL): Likewise.
13652 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13653 multiply/add.
13654 (FP_FAST_FMAF): Likewise.
13655
475facd1
JJ
136562010-10-15 Jakub Jelinek <jakub@redhat.com>
13657
13658 [BZ #3268]
13659 * math/libm-test.inc (fma_test): Some new testcases.
13660 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13662 y and infinite z. Do multiplication by C already in long double.
13663 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13665 y and infinite z. Do bitwise or of inexact bit into u.d.
13666 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13667 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13668 * sysdeps/i386/fpu/s_fma.S: Removed.
13669 * sysdeps/i386/fpu/s_fmal.S: Removed.
13670
7c08a05c
JJ
136712010-10-16 Jakub Jelinek <jakub@redhat.com>
13672
13673 [BZ #3268]
13674 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13676 computation is not scheduled after fetestexcept. Fix value
13677 of minimum denormal long double.
13678
f3f7372d
JJ
136792010-10-14 Jakub Jelinek <jakub@redhat.com>
13680
13681 [BZ #3268]
13682 * math/libm-test.inc (fma_test): Add some more tests.
13683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13684 correctly.
13685
14d43591
AS
136862010-10-15 Andreas Schwab <schwab@redhat.com>
13687
13688 * scripts/data/localplt-s390-linux-gnu.data: New file.
13689 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13690
5e908464
JJ
136912010-10-13 Jakub Jelinek <jakub@redhat.com>
13692
13693 [BZ #3268]
13694 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13695 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13696 instead of dbl-64.
13697 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13698 inlines.
13699 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13701 if one of x and y is very large and the other is subnormal.
13702 * sysdeps/s390/fpu/s_fmaf.c: New file.
13703 * sysdeps/s390/fpu/s_fma.c: New file.
13704 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13705 * sysdeps/powerpc/fpu/s_fma.S: New file.
13706 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13707 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13708 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13709
137102010-10-12 Jakub Jelinek <jakub@redhat.com>
13711
13712 [BZ #3268]
13713 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13714 fma tests.
13715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13716 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13717 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13718 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13719 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13720 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13722
b833d51f
UD
137232010-10-12 Ulrich Drepper <drepper@redhat.com>
13724
13725 [BZ #12078]
13726 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13727 * posix/bug-regex31.input: Add test case.
13728
1751705d
UD
137292010-10-11 Ulrich Drepper <drepper@gmail.com>
13730
e9b9cbf5
UD
13731 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13732 * posix/bug-regex31.input: New file.
13733
13734 [BZ #12078]
13735 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13736 (parse_sub_exp): Fix last change, use postorder.
13737
ef06edbe
UD
13738 * posix/bug-regex31.c: New file.
13739 * posix/Makefile: Add rules to build and run bug-regex31.
13740
a129c80d
UD
13741 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13742
13743 [BZ #12078]
13744 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13745
b76b818e
UD
13746 [BZ #12108]
13747 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13748 to have entries in sys_siglist.
13749
1751705d
UD
13750 [BZ #12093]
13751 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13752 be NULL.
13753
9ff8d36f
JJ
137542010-10-07 Jakub Jelinek <jakub@redhat.com>
13755
13756 [BZ #3268]
13757 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13758 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13759 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13760 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13761 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13762 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13763 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13764 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13765 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13766 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13767 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13769 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13770 * math/ftestexcept.c (fetestexcept): Likewise.
13771 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13772 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13773 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13774 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13775 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13776 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13778
af325969
UD
137792010-10-11 Ulrich Drepper <drepper@gmail.com>
13780
c579b202 13781 [BZ #12107]
af325969
UD
13782 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13783 newline.
13784
67a67b95
UD
137852010-10-06 Ulrich Drepper <drepper@gmail.com>
13786
13787 * string/bug-strstr1.c: New file.
13788 * string/Makefile: Add rules to build and run bug-strstr1.
13789
5fb308bc
EB
137902010-10-05 Eric Blake <eblake@redhat.com>
13791
13792 [BZ #12092]
13793 * string/str-two-way.h (two_way_long_needle): Always clear memory
13794 when skipping input due to the shift table.
13795
45db99c7
UD
137962010-10-03 Ulrich Drepper <drepper@gmail.com>
13797
3b111893
UD
13798 [BZ #12005]
13799 * malloc/mcheck.c: Handle large requests.
13800
45db99c7
UD
13801 [BZ #12077]
13802 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13803 for strncmp and strncasecmp.
13804 * string/stratcliff.c: Add tests for strcmp and strncmp.
13805 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13806
cf7a1eb8
NI
138072010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13808
13809 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13810 __set_fpscr.
13811
6484ba5e
AJ
138122010-09-30 Andreas Jaeger <aj@suse.de>
13813
13814 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13815 (CGROUP_SUPER_MAGIC): Define.
13816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13817 Handle btrfs and cgroup file systems.
13818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13819 Likewise.
13820
91c42559
LM
138212010-09-27 Luis Machado <luisgpm@br.ibm.com>
13822
13823 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13824 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13825
87a97932
AK
138262010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13827
13828 [BZ #12067]
13829 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13830 trying to locate the ELF header.
13831
c21cc9bc
AS
138322010-09-27 Andreas Schwab <schwab@redhat.com>
13833
13834 [BZ #11611]
13835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13836 Mask out sign-bit copies when constructing f_fsid.
13837
315970f6
PB
138382010-09-24 Petr Baudis <pasky@suse.cz>
13839
13840 * debug/stack_chk_fail_local.c: Add missing licence exception.
13841 * debug/warning-nop.c: Likewise.
13842
1ac7a2c7
JM
138432010-09-15 Joseph Myers <joseph@codesourcery.com>
13844
13845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13846 implementing getdents64 using getdents syscall, set d_type if
13847 __ASSUME_GETDENTS32_D_TYPE.
13848
56801c50
AS
138492010-09-16 Andreas Schwab <schwab@redhat.com>
13850
13851 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13852 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13853
dda51327
UD
138542010-09-21 Ulrich Drepper <drepper@redhat.com>
13855
13856 [BZ #12037]
13857 * posix/unistd.h: Undo change of feature selection for ftruncate from
13858 2010-01-11.
13859
8ffcee4a
UD
138602010-09-20 Ulrich Drepper <drepper@redhat.com>
13861
a545ecd9 13862 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13863 detection.
13864
e24f0a8b
AS
138652010-09-20 Andreas Schwab <schwab@redhat.com>
13866
13867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13868 fanotify_mark.
13869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13870
7291c56f
AS
138712010-09-14 Andreas Schwab <schwab@redhat.com>
13872
13873 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13874 variables after CHECK_SP call.
13875 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13876
bc5fb037
AS
138772010-09-13 Andreas Schwab <schwab@redhat.com>
13878 Ulrich Drepper <drepper@redhat.com>
13879
13880 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13881 re-relocationg ld.so.
13882 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13883 _dl_init_paths call.
13884 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13885 here anymore.
13886
e66e7419
UD
138872010-09-14 Ulrich Drepper <drepper@redhat.com>
13888
13889 * resolv/res_init.c (__res_vinit): Count the default server we added.
13890
c044aa75
CLT
138912010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13892 Ulrich Drepper <drepper@redhat.com>
13893
13894 [BZ #11968]
13895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13896 (____longjmp_chk): Use %ebx for saving value across system call.
13897 Add unwind info.
13898
32cf4069
AS
138992010-09-06 Andreas Schwab <schwab@redhat.com>
13900
13901 * manual/Makefile: Don't mix pattern rules with normal rules.
13902
817328ee
AS
139032010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13904
13905 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13906 operation.
13907 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13908 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13909 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13910 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13912 Likewise.
13913
29fddf61
UD
139142010-09-04 Ulrich Drepper <drepper@redhat.com>
13915
13916 [BZ #11979]
13917 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13918 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13919
0959ffc9
UD
139202010-09-02 Ulrich Drepper <drepper@redhat.com>
13921
13922 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13923 * sysdeps/x86_64/addmul_1.S: Likewise.
13924 * sysdeps/x86_64/lshift.S: Likewise.
13925 * sysdeps/x86_64/mul_1.S: Likewise.
13926 * sysdeps/x86_64/rshift.S: Likewise.
13927 * sysdeps/x86_64/sub_n.S: Likewise.
13928 * sysdeps/x86_64/submul_1.S: Likewise.
13929
ece29840
ST
139302010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13931
0959ffc9
UD
13932 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13933 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13934 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13935 * bits/sched.h [__need_schedparam]
ece29840 13936 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13937 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13938 (__defined_schedparam): Define to 1.
ece29840
ST
13939 (__sched_param): New structure, identical to sched_param.
13940 (__need_schedparam): Undefine.
13941
e53a31fe
MF
139422010-08-31 Mike Frysinger <vapier@gentoo.org>
13943
fdc0c10d
MF
13944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13945 (epoll_create1): Declare.
13946
e53a31fe
MF
13947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13948
a726d796
AS
139492010-08-31 Andreas Schwab <schwab@redhat.com>
13950
13951 [BZ #7066]
13952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13953 shifting retval into place.
13954
2f3e3dc7
UD
139552010-09-01 Ulrich Drepper <drepper@redhat.com>
13956
f2933da9
UD
13957 * nis/rpcsvc/nis.h: Update copyright notice.
13958 * nis/rpcsvc/nis.x: Likewise.
13959 * nis/rpcsvc/nis_callback.h: Likewise.
13960 * nis/rpcsvc/nis_callback.x: Likewise.
13961 * nis/rpcsvc/nis_object.x: Likewise.
13962 * nis/rpcsvc/nis_tags.h: Likewise.
13963 * nis/rpcsvc/yp.h: Likewise.
13964 * nis/rpcsvc/yp.x: Likewise.
13965 * nis/rpcsvc/ypupd.h: Likewise.
13966 * nis/yp_xdr.c: Likewise.
13967 * nis/ypupdate_xdr.c: Likewise.
13968
2f3e3dc7
UD
13969 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13970 mainly the body of pmap_getport. Add parameters to specify timeouts.
13971 (pmap_getport): Use __libc_rpc_getport.
13972 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13973 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13974 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13975
f3dcc2f9
AS
139762010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13977
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13979 fanotify_mark.
13980
6d34eb5b
RM
139812010-08-27 Roland McGrath <roland@redhat.com>
13982
13983 * sysdeps/i386/i686/multiarch/Makefile
13984 (CFLAGS-varshift.c): New variable.
13985
9ea3de11
UD
139862010-08-27 Ulrich Drepper <drepper@redhat.com>
13987
c96d23fc
UD
13988 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13989 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13990
9ea3de11
UD
13991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13992
13993 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13994
623aac7f
L
139952010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13996
13997 * sysdeps/x86_64/strlen.S: Unroll the loop.
13998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13999 strlen-sse2 strlen-sse2-bsf.
14000 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14001 __strlen_no_bsf if bit_Slow_BSF is set.
14002 (__strlen_sse42): Removed.
14003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14004 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14005
8b2b7715
RM
140062010-08-25 Roland McGrath <roland@redhat.com>
14007
14008 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14009 * sysdeps/x86_64/multiarch/varshift.c: New file.
14010 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14011 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14012 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14014
e73015f2
L
140152010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14016
14017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14018 strlen-sse2 strlen-sse2-bsf.
14019 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14020 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14021 (__strlen_sse2): Removed.
14022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14025 bit_Slow_BSF for Atom.
14026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14027 (index_Slow_BSF): Define.
14028 (HAS_SLOW_BSF): Define.
14029
df24a73e
UD
140302010-08-25 Ulrich Drepper <drepper@redhat.com>
14031
14032 [BZ #10851]
14033 * resolv/res_init.c (__res_vinit): When no server address at all
14034 is given default to loopback.
14035
f2ac4868
RM
140362010-08-24 Roland McGrath <roland@redhat.com>
14037
09055553
RM
14038 * configure.in: Remove config-name.h generation.
14039 * configure: Regenerated.
14040 * config-name.in: File removed.
14041 * scripts/config-uname.sh: New file.
14042 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14043 ($(objdir)config-name.h): New target.
14044
f2ac4868
RM
14045 * sunrpc/rpc_parse.h: Avoid nested comment.
14046
73f27d5e
RH
140472010-08-24 Richard Henderson <rth@redhat.com>
14048 Ulrich Drepper <drepper@redhat.com>
14049 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14053 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14054 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14055 _mm_alignr_epi8 with _mm_loadu_si128.
14056 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14057 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14058 (__m128i_shift_right): Removed.
14059 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14060 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14061 * sysdeps/x86_64/multiarch/varshift.h: New file.
14062 * sysdeps/x86_64/multiarch/varshift.S: New file.
14063
84b9230c
MF
140642010-08-21 Mike Frysinger <vapier@gentoo.org>
14065
14066 * configure.in: Move assembler checks to before sysdep dir checking.
14067
9bbd0ddc
PB
140682010-08-20 Petr Baudis <pasky@suse.cz>
14069
14070 * LICENSES: Sync the sunrpc license.
14071
9da4bb31
UD
140722010-08-19 Ulrich Drepper <drepper@redhat.com>
14073
a7ab6ec8
UD
14074 * sunrpc/auth_des.c: Update copyright notice once again.
14075 * sunrpc/auth_none.c: Likewise.
14076 * sunrpc/auth_unix.c: Likewise.
14077 * sunrpc/authdes_prot.c: Likewise.
14078 * sunrpc/authuxprot.c: Likewise.
14079 * sunrpc/bindrsvprt.c: Likewise.
14080 * sunrpc/clnt_gen.c: Likewise.
14081 * sunrpc/clnt_perr.c: Likewise.
14082 * sunrpc/clnt_raw.c: Likewise.
14083 * sunrpc/clnt_simp.c: Likewise.
14084 * sunrpc/clnt_tcp.c: Likewise.
14085 * sunrpc/clnt_udp.c: Likewise.
14086 * sunrpc/clnt_unix.c: Likewise.
14087 * sunrpc/des_crypt.c: Likewise.
14088 * sunrpc/des_soft.c: Likewise.
14089 * sunrpc/get_myaddr.c: Likewise.
14090 * sunrpc/getrpcport.c: Likewise.
14091 * sunrpc/key_call.c: Likewise.
14092 * sunrpc/key_prot.c: Likewise.
14093 * sunrpc/openchild.c: Likewise.
14094 * sunrpc/pm_getmaps.c: Likewise.
14095 * sunrpc/pm_getport.c: Likewise.
14096 * sunrpc/pmap_clnt.c: Likewise.
14097 * sunrpc/pmap_prot.c: Likewise.
14098 * sunrpc/pmap_prot2.c: Likewise.
14099 * sunrpc/pmap_rmt.c: Likewise.
14100 * sunrpc/rpc/auth.h: Likewise.
14101 * sunrpc/rpc/auth_unix.h: Likewise.
14102 * sunrpc/rpc/clnt.h: Likewise.
14103 * sunrpc/rpc/des_crypt.h: Likewise.
14104 * sunrpc/rpc/key_prot.h: Likewise.
14105 * sunrpc/rpc/netdb.h: Likewise.
14106 * sunrpc/rpc/pmap_clnt.h: Likewise.
14107 * sunrpc/rpc/pmap_prot.h: Likewise.
14108 * sunrpc/rpc/pmap_rmt.h: Likewise.
14109 * sunrpc/rpc/rpc.h: Likewise.
14110 * sunrpc/rpc/rpc_des.h: Likewise.
14111 * sunrpc/rpc/rpc_msg.h: Likewise.
14112 * sunrpc/rpc/svc.h: Likewise.
14113 * sunrpc/rpc/svc_auth.h: Likewise.
14114 * sunrpc/rpc/types.h: Likewise.
14115 * sunrpc/rpc/xdr.h: Likewise.
14116 * sunrpc/rpc_clntout.c: Likewise.
14117 * sunrpc/rpc_cmsg.c: Likewise.
14118 * sunrpc/rpc_common.c: Likewise.
14119 * sunrpc/rpc_cout.c: Likewise.
14120 * sunrpc/rpc_dtable.c: Likewise.
14121 * sunrpc/rpc_hout.c: Likewise.
14122 * sunrpc/rpc_main.c: Likewise.
14123 * sunrpc/rpc_parse.c: Likewise.
14124 * sunrpc/rpc_parse.h: Likewise.
14125 * sunrpc/rpc_prot.c: Likewise.
14126 * sunrpc/rpc_sample.c: Likewise.
14127 * sunrpc/rpc_scan.c: Likewise.
14128 * sunrpc/rpc_scan.h: Likewise.
14129 * sunrpc/rpc_svcout.c: Likewise.
14130 * sunrpc/rpc_tblout.c: Likewise.
14131 * sunrpc/rpc_util.c: Likewise.
14132 * sunrpc/rpc_util.h: Likewise.
14133 * sunrpc/rpcinfo.c: Likewise.
14134 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14135 * sunrpc/rpcsvc/key_prot.x: Likewise.
14136 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14137 * sunrpc/rpcsvc/mount.x: Likewise.
14138 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14139 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14140 * sunrpc/rpcsvc/rex.x: Likewise.
14141 * sunrpc/rpcsvc/rstat.x: Likewise.
14142 * sunrpc/rpcsvc/rusers.x: Likewise.
14143 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14144 * sunrpc/rpcsvc/spray.x: Likewise.
14145 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14146 * sunrpc/rtime.c: Likewise.
14147 * sunrpc/svc.c: Likewise.
14148 * sunrpc/svc_auth.c: Likewise.
14149 * sunrpc/svc_authux.c: Likewise.
14150 * sunrpc/svc_raw.c: Likewise.
14151 * sunrpc/svc_run.c: Likewise.
14152 * sunrpc/svc_simple.c: Likewise.
14153 * sunrpc/svc_tcp.c: Likewise.
14154 * sunrpc/svc_udp.c: Likewise.
14155 * sunrpc/svc_unix.c: Likewise.
14156 * sunrpc/svcauth_des.c: Likewise.
14157 * sunrpc/xcrypt.c: Likewise.
14158 * sunrpc/xdr.c: Likewise.
14159 * sunrpc/xdr_array.c: Likewise.
14160 * sunrpc/xdr_float.c: Likewise.
14161 * sunrpc/xdr_mem.c: Likewise.
14162 * sunrpc/xdr_rec.c: Likewise.
14163 * sunrpc/xdr_ref.c: Likewise.
14164 * sunrpc/xdr_sizeof.c: Likewise.
14165 * sunrpc/xdr_stdio.c: Likewise.
14166
9da4bb31
UD
14167 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14168 handling.
14169
bdaa77bc
AS
141702010-08-19 Andreas Schwab <schwab@redhat.com>
14171
14172 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14173
fe2f79db
LM
141742010-08-19 Luis Machado <luisgpm@br.ibm.com>
14175
14176 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14179 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14181 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14182 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14183 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14186 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14187 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14188 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14189 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14190
b9b42ee0
AB
141912010-07-26 Anton Blanchard <anton@samba.org>
14192
14193 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14194 * malloc/arena.c (heap_trim): Likewise.
14195
1c06ba31
UD
141962010-08-16 Ulrich Drepper <drepper@redhat.com>
14197
14198 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14199 here. Not...
14200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14201 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14202
f8392f40
L
142032010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * sysdeps/i386/elf/Makefile: New file.
14206
3162f12e
AS
142072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14208
14209 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14210 from fanotify_init.
14211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14213
28c90b2c
UD
142142010-08-15 Ulrich Drepper <drepper@redhat.com>
14215
14216 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14217 of strncasecmp_l.
1feccb6c 14218 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14219
ca6bb004
UD
142202010-08-14 Ulrich Drepper <drepper@redhat.com>
14221
e9f82e0d
UD
14222 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14223 strncase_l-nonascii.
14224 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14225 Add strncase_l-ssse3.
14226 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14227 * sysdeps/x86_64/strcmp.S: Likewise.
14228 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14229 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14230 * sysdeps/x86_64/strncase.S: New file.
14231 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14232 * sysdeps/x86_64/strncase_l.S: New file.
14233 * string/Makefile (strop-tests): Add strncasecmp.
14234 * string/test-strncasecmp.c: New file.
14235
14236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14237 warning.
14238
ca6bb004
UD
14239 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14241
052fa7b3
AS
142422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14245
962dba78
UD
142462010-08-12 Ulrich Drepper <drepper@redhat.com>
14247
14248 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14251
bebff237
AM
142522010-05-01 Alan Modra <amodra@gmail.com>
14253
14254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14255 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14256 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14257 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14258 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14259 tidying. Don't tail-call __sigjmp_save for static lib.
14260 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14261 save location.
14262 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14263 (CALL_MCOUNT): Add eh info, and nop after bl.
14264 (TAIL_CALL_SYSCALL_ERROR): New macro.
14265 (PSEUDO_RET): Use it.
14266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14267 Correct save location of integer regs and cr.
14268 (_dl_profile_resolve): Correct cr save location. Delete nops
14269 after bl when SHARED. Reduce cfi size a little by better
14270 placement of cfi directives.
14271 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14272 make a stack frame. Instead use parm save area as a temp.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14274 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14276 Don't make a stack frame for parent, use parm save area.
14277 Increase child stack frame to 112 bytes. Don't save unused reg,
14278 and adjust reg usage. Set up cfi on error recovery and
14279 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14281 (__makecontext): Add dummy nop after jump to exit.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14283 Use correct parm save area and cr save, reduce stack frame.
14284 Correct cfi for possible PSEUDO_RET frame setup.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14286 Branch to local label emitted by PSEUDO_RET rather than
14287 __syscall_error.
14288
02637374
AS
142892010-08-12 Andreas Schwab <schwab@redhat.com>
14290
14291 [BZ #11904]
14292 * locale/programs/locale.c (print_assignment): New function.
14293 (show_locale_vars): Use it.
14294
c3e2f19b
UD
142952010-08-11 Ulrich Drepper <drepper@redhat.com>
14296
3cdaa6ad
UD
14297 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14298 field.
14299 (struct statfs64): Likewise.
14300 (_STATFS_F_FLAGS): Define.
14301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14303 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14304 (ST_VALID): Define locally.
14305 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14306 __statvfs_getflags, use the provided value.
14307 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14308 __ASSUME_STATFS_F_FLAGS.
14309
754f7da3
UD
14310 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14311
10b3bedc
UD
14312 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14313 Add sys/fanotify.h.
14314 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14315 fanotify_mask for GLIBC_2.13.
14316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14317 fanotify_init and fanotify_mark.
14318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14319 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14320
c08fb0d7
UD
14321 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14322 Add prlimit.
14323 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14324 prlimit64 for GLIBC_2.13.
14325 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14326 prlimit64.
14327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14328 syscall.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14331 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14334 add prlimit alias.
14335 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14336
15bac72b
UD
14337 [BZ #11903]
14338 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14339 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14340
c3e2f19b
UD
14341 * nss/Makefile: Add rules to build and run tst-nss-test1.
14342 * shlib-versions: Add entry for libnss_test1.
14343 * nss/nss_test1.c: New file.
14344 * nss/tst-nss-test1.c: New file.
14345
14346 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14347 (__nss_configure_lookup): Set appropriate entry in
14348 __nss_configure_lookup to true.
14349 * nss/nsswitch.h: Define enum with indeces of databases in
14350 databases and __nss_database_custom arrays. Declare
14351 __nss_database_custom.
14352 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14353 to avoid using nscd when custom rules are installed.
14354 * nss/getXXbyYY_r.c: Likewise.
14355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14356
14357 * nss/nss_files/files-parse.c: Whitespace fixes.
14358
f15ce4d8
UD
143592010-08-09 Ulrich Drepper <drepper@redhat.com>
14360
14361 [BZ #11883]
14362 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14363 * posix/fnmatch_loop.c: Likewise.
14364
d22e4cc9
AK
143652010-07-17 Andi Kleen <ak@linux.intel.com>
14366
14367 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14368 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14369 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14370 * Versions.def [GLIBC_2.13]: Add.
14371
805bc17d
UD
143722010-08-06 Ulrich Drepper <drepper@redhat.com>
14373
14374 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14375 Also fail if tpwd after pwuid call is NULL.
14376
5a42321d
ST
143772010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14378
14379 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14380 when converting to ms.
14381
fd3ebeda
ST
143822010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14383
14384 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14385 EOPNOTSUPP errors with ENOTTY.
14386 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14387 EOPNOTSUPP errors with ENOTTY.
14388
73507d3a
UD
143892010-07-31 Ulrich Drepper <drepper@redhat.com>
14390
14391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14392 Add strcasecmp_l-ssse3.
14393 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14394 strcasecmp.
14395 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14396 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14397 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14398
fe36dd02
UD
143992010-07-30 Ulrich Drepper <drepper@redhat.com>
14400
66f6765a
UD
14401 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14402
42e08a54
UD
14403 * string/Makefile (strop-tests): Add strcasecmp.
14404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14405 strcasecmp_l-nonascii.
14406 (gen-as-const-headers): Add locale-defines.sym.
14407 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14408 * sysdeps/x86_64/strcasecmp.S: New file.
14409 * sysdeps/x86_64/strcasecmp_l.S: New file.
14410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14411 * sysdeps/x86_64/locale-defines.sym: New file.
14412 * string/test-strcasecmp.c: New file.
14413
fe36dd02
UD
14414 * string/test-strcasestr.c: Test both ends of the range of characters.
14415 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14416
48cbc0d6
RM
144172010-07-29 Roland McGrath <roland@redhat.com>
14418
76e6d6bc 14419 [BZ #11856]
48cbc0d6
RM
14420 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14421
880113d9
UD
144222010-07-27 Ulrich Drepper <drepper@redhat.com>
14423
14424 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14425 for ld.so.
14426
deb9cabb
AS
144272010-07-27 Andreas Schwab <schwab@redhat.com>
14428
14429 * manual/memory.texi (Malloc Tunable Parameters): Document
14430 M_PERTURB.
14431
1c7570ff
RM
144322010-07-26 Roland McGrath <roland@redhat.com>
14433
14434 [BZ #11840]
14435 * configure.in (-fgnu89-inline check): Set and substitute
14436 gnu89_inline, not libc_cv_gnu89_inline.
14437 * configure: Regenerated.
14438 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14439
24fb0f88
UD
144402010-07-26 Ulrich Drepper <drepper@redhat.com>
14441
14442 * string/test-strnlen.c: New file.
14443 * string/Makefile (strop-tests): Add strnlen.
14444 * string/tester.c (test_strnlen): Add a few more test cases.
14445 * string/tst-strlen.c: Better error reporting.
14446
14447 * sysdeps/x86_64/strnlen.S: New file.
14448
8e96b93a
UD
144492010-07-24 Ulrich Drepper <drepper@redhat.com>
14450
14451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14452 lower-latency instructions.
14453
dbc676d4
UD
144542010-07-23 Ulrich Drepper <drepper@redhat.com>
14455
14456 * string/test-strcasestr.c: New file.
14457 * string/test-strstr.c: New file.
14458 * string/Makefile (strop-tests): Add strstr and strcasestr.
14459 * string/str-two-way.h: Don't undefine MAX.
14460 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14461
f6a31e0e
AS
144622010-07-21 Andreas Schwab <schwab@redhat.com>
14463
14464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14465 strcasestr-nonascii.
14466 (CFLAGS-strcasestr-nonascii.c): Define.
14467 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14469 Remove unused attribute.
14470
5dbc3b6c
RM
144712010-07-20 Roland McGrath <roland@redhat.com>
14472
14473 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14474 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14475 ld.so.cache was broken. With it, there is no way to disable dsocaps
14476 like LD_HWCAP_MASK can disable hwcaps.
14477
23d101d8
EPM
144782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14479
14480 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14481
cc9f2e47
UD
144822010-07-16 Ulrich Drepper <drepper@redhat.com>
14483
14484 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14485 call in strcasestr.
14486 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14487 __strcasestr_sse42_nonascii.
14488 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14489 strcasestr-nonascii.c.
14490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14491
77c1b069
LM
144922010-06-15 Luis Machado <luisgpm@br.ibm.com>
14493
14494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14498
440566c3
UD
144992010-07-09 Ulrich Drepper <drepper@redhat.com>
14500
14501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14502 fcntl.
14503
5be9d05d
AS
145042010-07-06 Andreas Schwab <schwab@redhat.com>
14505
c30b7ee2 14506 [BZ #11577]
5be9d05d
AS
14507 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14508 dl_signal_cerror.
14509
8a492a67
UD
145102010-07-06 Ulrich Drepper <drepper@redhat.com>
14511
14512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14513 _PC_PIPE_BUF using F_GETPIPE_SZ.
14514
713df3d5
RM
145152010-07-05 Roland McGrath <roland@redhat.com>
14516
14517 * manual/arith.texi (Rounding Functions): Fix rint description
14518 implicit in round description.
14519
702e8f14
UD
145202010-07-02 Ulrich Drepper <drepper@redhat.com>
14521
14522 * elf/Makefile: Fix linking for a few tests to make recent linker
14523 happy.
14524
52ed8be9
AS
145252010-06-30 Andreas Schwab <schwab@redhat.com>
14526
14527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14528 $(common-objpfx)libc_nonshared.a.
14529
f47c9a11
LM
145302010-06-21 Luis Machado <luisgpm@br.ibm.com>
14531
14532 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14533 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14534 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14535 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14536 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14538 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14539 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14554 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14555 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14556 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14557 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14558 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14559 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14560 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14561 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14562 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14563 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14564 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14565 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14580
6fb8cbcb
L
145812010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14582
14583 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14584 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14585 * string/memmove.c (memmove): Renamed to ...
14586 (MEMMOVE): ...this. Default to memmove.
14587 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14588 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14589 (END_CHK): Define.
14590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14591 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14592 mempcpy-ssse3-back memmove-ssse3-back.
14593 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14596 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14597 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14598 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14599 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14600 * sysdeps/x86_64/multiarch/memmove.c: New file.
14601 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14602 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14603 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14604 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14605 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14607 Define.
14608 (index_Fast_Copy_Backward): Define.
14609 (HAS_ARCH_FEATURE): Define.
14610 (HAS_FAST_REP_STRING): Define.
14611 (HAS_FAST_COPY_BACKWARD): Define.
14612
4e733bac 146132010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14614
14615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14616 Restore proper fallback handling.
14617
63c4ed22
UD
146182010-06-19 Ulrich Drepper <drepper@redhat.com>
14619
ac2b484c
UD
14620 [BZ #11701]
14621 * posix/group_member.c (__group_member): Correct checking loop.
14622
63c4ed22
UD
14623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14624 OOM in getpwuid_r correctly. Return error number when the caller
14625 should return, otherwise -1.
14626 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14627 call returning > 0 value.
14628 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14629
765ade4b
AS
146302010-06-07 Andreas Schwab <schwab@redhat.com>
14631
14632 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14633 libc_nonshared.a from targets in modules-names.
14634
80da2e09
KS
146352010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14636
14637 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14638 requires it.
14639
158db122
LM
146402010-06-10 Luis Machado <luisgpm@br.ibm.com>
14641
14642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14646
caa78cf8
AS
146472010-06-02 Andreas Schwab <schwab@redhat.com>
14648
14649 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14650
b2ef2c01
UD
146512010-06-14 Ulrich Drepper <drepper@redhat.com>
14652
14653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14654 and F_GETPIPE_SZ.
14655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14661
fbd643b6
RM
146622010-06-14 Roland McGrath <roland@redhat.com>
14663
14664 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14665
f32f2869
JJ
146662010-06-07 Jakub Jelinek <jakub@redhat.com>
14667
14668 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14669 __REDIRECT followed by __THROW.
14670 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14671 * posix/getopt.h (getopt): Likewise.
14672
2a50c078
EPM
146732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14674
14675 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14676 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14677 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14678 in AT_FLAGS.
14679 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14680 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14681
eb5ad2eb
LM
146822010-05-28 Luis Machado <luisgpm@br.ibm.com>
14683
14684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14685
3c88fe1e
L
146862010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 [BZ #11640]
14689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14690 Properly check family and model.
14691
d2f73151
TY
146922010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14693
14694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14695
ebd2e13d
LM
146962010-05-24 Luis Machado <luisgpm@br.ibm.com>
14697
14698 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14699
b32b8b45
UD
147002010-05-21 Ulrich Drepper <drepper@redhat.com>
14701
14702 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14703 symbol reference.
14704
9acbe24d
AS
147052010-05-19 Andreas Schwab <schwab@redhat.com>
14706
14707 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14708 symbol reference.
14709
f0ccf6ea
AS
147102010-05-21 Andreas Schwab <schwab@redhat.com>
14711
3d04ff3a
AS
14712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14713 and internal_recvmmsg.
14714 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14715 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14717 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14718
f0ccf6ea
AS
14719 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14720 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14721 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14722
5b08ac57
AS
147232010-05-20 Andreas Schwab <schwab@redhat.com>
14724
14725 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14726
4828935d
LM
147272010-05-17 Luis Machado <luisgpm@br.ibm.com>
14728
14729 POWER7 optimizations.
14730 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14731 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14732
373d545e
UD
147332010-05-19 Ulrich Drepper <drepper@redhat.com>
14734
14735 * version.h: Update for 2.13 development version.
14736
21a2b1ae
AS
147372010-05-12 Andrew Stubbs <ams@codesourcery.com>
14738
14739 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14740 exceptions. Return 0.
14741
3f7dcb2b
RM
147422010-05-07 Roland McGrath <roland@redhat.com>
14743
14744 * elf/ldconfig.c (main): Add a const.
14745
5f24d53a 147462010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14747
a160f8d8
UD
14748 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14749 (args_options): Add no-idn option.
14750 (ahosts_keys_int): Add idn_flags to ai_flags.
14751 (parse_option): Handle 'i' option to clear idn_flags.
14752
5f24d53a
UD
14753 * malloc/malloc.c (_int_free): Possible race in the most recently
14754 added check. Only act on the data if no current modification
14755 happened.
265bb1ce
UD
14756
14757See ChangeLog.17 for earlier changes.