]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[PowerPC] Remove -ftree-loop-linear from Makefiles
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a88b64b9
TMQMF
12012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5 failure if the compiler has Graphite support disabled.
6 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7 Likewise.
8 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9 CFLAGS-memmove.c): Likewise.
10 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11 Likewise.
12
3707636e
L
132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14
610b8622
L
15 * sysdeps/x86_64/x32/_itoa.h: New file.
16
7cd195df
L
17 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18 getdents system call only if kernel and user dirents have the
19 same d_ino and d_off.
20
94b07d20
L
21 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22 LLONG_MAX != LONG_MAX.
23 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24 (_fitoa_word): Likewise.
25
18298070
L
26 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27 years.
28 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31
553c7ea4
L
32 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33 include <bits/wordsize.h>. Check __x86_64__ instead of
34 __WORDSIZE.
35 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36 if __x86_64__ is defined. Use anonymous union on fpstate.
37
3707636e
L
38 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39 anonymous union.
40
b53ef01a
AS
412012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42
37fb1dc0
AS
43 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46 Refer to _rtld_local_ro instead of _rtld_global_ro.
47 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48 Likewise.
49 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50 Likewise.
51 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52 Likewise.
53 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55 of _rtld_global, and rtld_progname instead of _dl_argv[0].
56
b53ef01a
AS
57 * sysdeps/powerpc/powerpc32/dl-machine.c
58 (__elf_machine_runtime_setup) [PROF]: Don't reference
59 _dl_prof_resolve.
60
7a185db2
AJ
612012-05-18 Andreas Jaeger <aj@suse.de>
62
63 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64 function only available for GCCs before 3.4 since GCC 3.4
65 introduced a builtin.
66 (lrint): Likewise.
67 (llrintf): Likewise.
68 (llrint): Likewise.
69 (fmaxf): Likewise.
70 (fmax): Likewise.
71 (fminf): Likewise.
72 (fmin): Likewise.
73 (rint): Likewise.
74 (rintf): Likewise.
75 (nearbyint): Likewise.
76 (nearbyintf): Likewise.
77 (ceil): Likewise.
78 (ceilf): Likewise.
79 (floor): Likewise.
80 (floorf): Likewise.
81
3e5aef87
L
822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
83
428bd707
L
84 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
85 on both fields and cast pointer to __syscall_ulong_t.
86
3e5aef87
L
87 * bits/types.h (__fsword_t): New type.
88 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
89 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
90 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
91 (__FSWORD_T_TYPE): Likewise.
92 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
93 (__FSWORD_T_TYPE): Likewise.
94 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
95 (__FSWORD_T_TYPE): Likewise.
96 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
97 (__FSWORD_T_TYPE): Likewise.
98 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
99 __SWORD_TYPE with __fsword_t.
100 (statfs64): Likewise.
101
1ba7c3dc
DM
1022012-05-17 David S. Miller <davem@davemloft.net>
103
104 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
105
59910343
AJ
1062012-05-17 Andreas Jaeger <aj@suse.de>
107
108 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
109 warning.
110
2e4c1e9e
L
1112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
112
113 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
114
de7f5ce7
AJ
1152012-05-17 Andreas Jaeger <aj@suse.de>
116
117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
118 when it is used.
119
286abc3d
CM
1202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
121
122 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
123
477cc68e
L
1242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
125
126 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
127 * sysdeps/x86_64/tst-mallocalign1.c: New file.
128
1a0994f5
CD
1292012-05-17 Andreas Jaeger <aj@suse.de>
130 Carlos O'Donell <carlos_odonell@mentor.com>
131
132 [BZ #14059]
133 * sysdeps/x86_64/multiarch/init-arch.h
134 (bit_YMM_Usable): Rename to...
135 (bit_AVX_Usable): ... this.
136 (bit_FMA4_Usable): New macro.
137 (bit_XMM_state): New macro.
138 (bit_YMM_state): New macro.
139 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
140 [__ASSEMBLER__] (index_AVX_Usable): ... this.
141 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
142 (CPUID_OSXSAVE): New macro.
143 (CPUID_AVX): New macro.
144 (CPUID_FMA4): New macro.
145 (index_YMM_Usable): Rename to...
146 (index_AVX_Usable): ... this.
147 (HAS_AVX): Use HAS_ARCH_FEATURE.
148 (HAS_FMA4): Likewise.
149 (HAS_YMM_USABLE): Remove.
150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
151 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
152 are present.
153 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
154 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
155 * sysdeps/x86_64/multiarch/Makefile: Likewise.
156 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
157 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
158
0af797de
CM
1592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
160
161 * math/libm-test.c: Support platforms without multiple rounding modes.
162 * math/bug-nextafter.c: Support platforms without FP exceptions.
163 * math/bug-nexttoward.c: Likewise.
164 * math/test-fenv.c: Likewise.
165 * math/test-misc.c: Likewise.
166 * stdlib/bug-getcontext.c: Likewise.
167
e39745ff
AJ
1682012-05-17 Andreas Jaeger <aj@suse.de>
169
170 * manual/examples/search.c (critter_cmp): Change signature to
171 avoid warnings.
172 * manual/string.texi (Collation Functions): Likewise.
173
48970aba
L
1742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
175
176 * bits/types.h: Fold copyright years.
177 * bits/typesizes.h: Likewise.
178 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
182 * time/time.h: Likewise.
183
bedee953
PP
1842012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
185
186 [BZ #208]
187 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
188 in instead of returning them. Return void.
189 (__libc_mallinfo): Accumulate over all arenas.
190 (__malloc_stats): Adjust for change in int_mallinfo interface.
191
61653dfb
RM
1922012-05-16 Roland McGrath <roland@hack.frob.com>
193
30b99d79
RM
194 [BZ #10375]
195 * configure.in (NM): Add AC_CHECK_TOOL for it.
196 (libc_extra_cflags): New substituted variable.
197 Check for -fstack-protector being used implicitly.
198 * configure: Regenerated.
199 * config.make.in (config-extra-cflags): New variable,
200 gets @libc_extra_cflags@.
201 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
202
61653dfb
RM
203 [BZ #10375]
204 * configure.in: Check for _FORTIFY_SOURCE being predefined.
205 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
206 * configure: Regenerated.
207 * config.make.in (CPPUNDEFS): New substituted variable.
208 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
209 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
210 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
211
661768bb
L
2122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
213
214 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
215 (mq_attr): Use __syscall_slong_t.
216
d4261567
L
2172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
218
219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
220 Check __x86_64__ instead of __WORDSIZE.
221 (_STAT_VER_LINUX): Likewise.
222 (stat): Check __x86_64__ instead of __WORDSIZE. Use
223 __syscall_ulong_t and __syscall_slong_t.
224 (stat64): Likewise.
225
cf3ff365
L
2262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
227
228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
229
76cf3e4d
L
2302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
231
232 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
233
a637753a
L
2342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
235
236 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
237 __syscall_ulong_t.
238
d5e05119
L
239 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
240 include <bits/wordsize.h>. Check __x86_64__ instead of
241 __WORDSIZE.
242 (greg_t): Use "__extension__ long long int" if __x86_64__ is
243 defined.
244 (mcontext_t): Replace "unsigned long" with "unsigned long long".
245
f62ee380
L
246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
247 include <bits/wordsize.h>. Check __x86_64__ instead of
248 __WORDSIZE.
249 (user_regs_struct): Use "__extension__ unsigned long long"
250 instead of "unsigned long" if __x86_64__ is defined.
251 (user): Likewise. Pad after pointer field if __ILP32__ is
252 defined.
253
4e124ced
JM
2542012-05-16 Joseph Myers <joseph@codesourcery.com>
255
6a3951a0
JM
256 * configure.in (makeinfo): Require version 4.5 or later. Allow
257 versions 5 to 9.
258 * configure: Regenerated.
259 * manual/install.texi (texinfo): Increase version requirement to
260 4.5 or later.
261 * INSTALL: Regenerated.
262
4e124ced
JM
263 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
264
953ca31a
L
2652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
266
267 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
268
617aca05
L
269 * sysdeps/x86_64/x32/ffs.c: New file.
270
5762f7ae
L
271 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
272 __syscall_ulong_t.
273 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
274 defined. Use __syscall_ulong_t.
275 (shminfo): Use __syscall_ulong_t.
276 (shm_info): Likewise.
277
a26b6856
L
278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
279 __syscall_ulong_t.
280
cb2b9ef7
L
281 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
282 <bits/wordsize.h>.
283 (msgqnum_t): Use __syscall_ulong_t.
284 (msglen_t): Likewise.
285 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
286 __syscall_ulong_t.
287
34683bb0
L
288 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
289 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
290
84a68786
L
291 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
292
48baa5f1
L
293 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
294 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
295
180be88b
L
296 * sysvipc/sys/msg.h (msgbuf): Replace long int with
297 __syscall_slong_t.
298
5e90c8ad
L
299 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
300 include <bits/wordsize.h>. Check __x86_64__ instead of
301 __WORDSIZE.
302
23dfb58b
L
303 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
304 "unsigned long long int" if __x86_64__ is defined.
305 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
306
ce5d54b0
L
307 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
308 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
309 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
310
13dc9eac
L
311 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
312 <stdint.h>.
313 (GET_PC): Cast to uintptr_t first.
314 (GET_FRAME): Likewise.
315 (GET_STACK): Likewise.
316
a7895d15
L
317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
318 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
323 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
324 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
331 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
335 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
345 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
346
656416c9
AS
3472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
348
5bd66283
AS
349 * Makerules (+depfiles): Also collect depfiles from .oS in
350 $(extra-objs).
351 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
352 .oS, $(libnldbl-routines)).
353
656416c9
AS
354 * Makerules (native-compile-mkdep-flags): Define.
355 * sunrpc/Makefile (extra-objs): Add $(addprefix
356 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
357 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
358 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
359 calling $(make-target-directory).
360
a46f2169
L
3612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
362
363 * bits/types.h (__snseconds_t): Removed.
364 * time/time.h (struct timespec): Replace __snseconds_t with
365 __syscall_slong_t.
366 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
367 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
368 Likewise.
369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
370 (__SNSECONDS_T_TYPE): Likewise.
371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
372 (__SNSECONDS_T_TYPE): Likewise.
373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
374 (__SNSECONDS_T_TYPE): Likewise.
375
6af6528b
L
3762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
377
378 * sysdeps/mach/hurd/bits/typesizes.h
379 (__SYSCALL_SLONG_TYPE): New macro.
380 (__SYSCALL_ULONG_TYPE): Likewise.
381
de986b56
L
3822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
383
384 * bits/types.h (__syscall_slong_t): New type.
385 (__syscall_ulong_t): Likewise.
386
387 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
388 (__SYSCALL_ULONG_TYPE): Likewise.
389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
390 (__SYSCALL_SLONG_TYPE): Likewise.
391 (__SYSCALL_ULONG_TYPE): Likewise.
392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
393 (__SYSCALL_SLONG_TYPE): Likewise.
394 (__SYSCALL_ULONG_TYPE): Likewise.
395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
396 (__SYSCALL_SLONG_TYPE): Likewise.
397 (__SYSCALL_ULONG_TYPE): Likewise.
398
85736dc7
L
3992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
400
401 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
402 Add sigaltstack-offsets.sym.
403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
404 <sigaltstack-offsets.h>.
405 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
406 longjmp_msg pointer.
407 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
408 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
409 signal stack.
410 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
411
cc03b296
JM
4122012-05-15 Joseph Myers <joseph@codesourcery.com>
413
a9538892
JM
414 * elf/stackguard-macros.h: Remove file.
415 * sysdeps/generic/stackguard-macros.h: New file.
416 * sysdeps/i386/stackguard-macros.h: Likewise.
417 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
418 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
419 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
420 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
421 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
422 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
423 * sysdeps/x86_64/stackguard-macros.h: Likewise.
424 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
425 <elf/stackguard-macros.h>.
426
cc03b296
JM
427 [BZ #14109]
428 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
429 __aligned__ in attribute.
430 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
431 (gregset_t): Likewise.
432
93171016
L
4332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
434
435 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
436 * sysdeps/x86_64/64/Implies-after: Here. New file.
437 * sysdeps/x86_64/x32/Implies-after: New file.
438
d86813a0
L
4392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
440
441 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
442 and access return value for _dl_profile_fixup. Use R10_LP to
443 load frame size.
444
2953ec75
L
4452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
446
447 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
448
3b550e9e
L
4492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
450
451 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
452 * sysdeps/x86_64/x32/sysdep.h: New file.
453
eda41706
L
4542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
455
456 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
457 * sysdeps/x86_64/setjmp.S: Likewise.
458
9ea01d93
AZ
4592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460
461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
462 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
463 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
464 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
465 remove unused global constant.
466
02a91938
CM
4672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
468
469 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
470 include of <not-cancel.h>.
471
6540185f
RM
4722012-05-15 Roland McGrath <roland@hack.frob.com>
473
474 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
475
509072a0
AJ
4762012-05-15 Jeff Law <law@redhat.com>
477 Andreas Jaeger <aj@suse.de>
478
479 [BZ #13594]
480 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
481 out from...
482 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
483 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
484 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
485 code changing __hst_map_handle.map.
486
ba75122d
RM
4872012-05-15 Roland McGrath <roland@hack.frob.com>
488
489 * configure.in (sysnames): Look for Implies-before and Implies-after
490 files.
491 * configure: Regenerated.
492
890d8bd8
L
4932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
494
495 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
496 8-byte data alignment with LP_SIZE alignment.
497
f6ee6623
L
4982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
499
500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
501 into R10_LP.
502
ea2626f6
L
5032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
504
505 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
506
085f715e
L
5072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
508
509 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
510 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
512 Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
514
be8498fc
L
5152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
516
517 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
518 (stackinfo_sub_sp): Likewise.
519
70bc83b9
L
5202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
521
522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
523 RAX_LP.
524
9bc0b730
L
5252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
526
527 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
528 into R*_LP.
529
6d2850e7
L
5302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
531
532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
533 sizes into R*_LP.
534
3cb84561
L
5352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
536
537 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
538
54e2ed81
L
5392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
540
541 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
542 into R11_LP and load __x86_64_shared_cache_size_half into
543 R8_LP.
544
8a17f349
L
5452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
546
547 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
548 R8_LP.
549
777b1eea
AZ
5502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
553 logb for POWER7.
554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
555 logbf for POWER7.
556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
557 logbl for POWER7.
558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
559 powerpc32/power7/fpu/s_logb.c via #include.
560 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
561 powerpc32/power7/fpu/s_logbf.c via #include.
562 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
563 powerpc32/power7/fpu/s_logbl.c via #include.
564
d20d4ac2
JM
5652012-05-15 Joseph Myers <joseph@codesourcery.com>
566
567 * README.libm: Remove file.
568
6cdef1ab
L
5692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
570
571 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
572 count for x32. Use R*_LP and omit operand-size suffix.
573
0b254d8f
L
5742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
575
576 * shlib-versions: Move x86_64-.*-linux.* entries to ...
577 * sysdeps/x86_64/64/shlib-versions: Here. New file.
578 * sysdeps/x86_64/x32/shlib-versions: New file.
579
ceb809dc
RM
5802012-05-14 Roland McGrath <roland@hack.frob.com>
581
582 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
583 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
584 Use _dl_fatal_printf instead.
585
37f1abd4
JM
5862012-05-14 Joseph Myers <joseph@codesourcery.com>
587
588 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
589 set if not set by the user. Do not allow for being unset.
590 * sysdeps/unix/sysv/linux/configure: Regenerated.
591
11de3a33
L
5922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
593
594 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
595 the `q' suffix from lea and replace .quad with ASM_ADDR.
596
e02f153a
L
5972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
598
599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
600 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
601 instead of $17.
602 (PTR_DEMANGLE): Likewise.
603
520ae0fd
L
6042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
605
606 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
607 (LP_OP): Likewise.
608 (ASM_ADDR): Likewise.
609 (RAX_LP): Likewise.
610 (RBP_LP): Likewise.
611 (RBX_LP): Likewise.
612 (RCX_LP): Likewise.
613 (RDI_LP): Likewise.
614 (RSI_LP): Likewise.
615 (RSP_LP): Likewise.
616 (R8_LP): Likewise.
617 (R9_LP): Likewise.
618 (R10_LP): Likewise.
619 (R10_LP): Likewise.
620 (R11_LP): Likewise.
621 (R12_LP): Likewise.
622 (R13_LP): Likewise.
623 (R14_LP): Likewise.
624 (R15_LP): Likewise.
625
b985be81
L
6262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
627
628 * sysdeps/x86_64/x32/dl-machine.h: New file.
629
6a4888ff
AJ
6302012-05-14 Andreas Jaeger <aj@suse.de>
631
632 * manual/Makefile (subdir): Remove export of subdir.
633 (all): Remove target.
634 (.PHONY): Remove all from list.
635 (mkinstalldirs): Remove.
636 (.PHONY): Remove installdirs from list.
637 ($(inst_infodir)/libc.info): Use make-target-directory.
638 (installdirs): Remove.
639 (subdir_%): Remove.
640 (glibc-targets): Remove.
641 (lib): Remove.
642 (stubs): Remove.
643 ($(objpfx)stubs ../po/manual.pot): Remove.
644 ($(objpfx)stamp%): Remove.
645 (make-target-directory): Remove.
646 (subdir_install): Remove.
647 (routines): Remove.
648 (aux): Remove.
649 (sources): Remove.
650 (objects): Remove.
651 (headers): Remove.
652
653 [BZ #13750]
654 * manual/.gitignore: Remove, it's not needed anymore.
655 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
656 all files in it.
657 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
658 directory.
659 (texis): Renamed to $(objpfx)texis.
660 (texis-path): New, contains path to generated files.
661 (chapters.%): Use texis-path for complete path, add extra argument
662 libc-texinfo.sh.
663 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
664 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
665 (summary,texi, stamp-summary): Use complete path of
666 files. Generate files in build dir.
667 (dir-add.texi): Build in build dir.
668 (libm-err.texi,stamp-libm-err): Likewise.
669 (version.texi, stamp-version): Likewise.
670 (.%c.texi): Likewise.
671 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
672 (mostlyclean): Remove target.
673 (realclean): Remove target.
674 (generated): Add new variable with contents from mostlyclean and
675 realclean, remove entries duplicated in common-mostlyclean, add
676 stamp-libm-err and stamp-version.
677 (generated-dirs): Add libc directory.
678 ($(inst_infodir)/libc.info): Install files from build dir.
679
680 * manual/install.texi (Configuring and compiling): Adjust since
681 the info files are not part of the tar ball anymore.
682
7ac77294
AJ
6832012-05-14 Andreas Jaeger <aj@suse.de>
684
685 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
686 variable.
687
ffb7875d
JM
6882012-05-14 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #13717]
691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
692 to 2.2.0 where earlier.
693 * sysdeps/unix/sysv/linux/configure: Regenerated.
694 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
695 Remove conditional code.
696 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
697 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
698 Remove conditional code.
699 [!__NR_lchown]: Likewise.
700 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
701 [__NR_lchown]: Likewise.
702 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
703 comment referencing __ASSUME_LCHOWN_SYSCALL.
704 * sysdeps/unix/sysv/linux/i386/sigaction.c
705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
707 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
708 Remove conditional code.
709 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
710 (__protocol_available): Remove #if 0 code.
711 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
712 conditional code.
713 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
714 * sysdeps/unix/sysv/linux/kernel-features.h
715 (__ASSUME_GETCWD_SYSCALL): Don't define.
716 (__ASSUME_REALTIME_SIGNALS): Likewise.
717 (__ASSUME_PREAD_SYSCALL): Likewise.
718 (__ASSUME_PWRITE_SYSCALL): Likewise.
719 (__ASSUME_POLL_SYSCALL): Likewise.
720 (__ASSUME_LCHOWN_SYSCALL): Likewise.
721 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
722 non-SPARC.
723 (__ASSUME_SIOCGIFNAME): Don't define.
724 (__ASSUME_MSG_NOSIGNAL): Likewise.
725 (__ASSUME_SENDFILE): Define unconditionally.
726 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
727 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
728 conditional code.
729 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
731 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
732 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
733 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
734 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
735 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
749 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
752 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
755 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
760 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
761 Remove conditional code.
762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
763 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
764 Remove conditional code.
765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
766 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
767 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
769 Remove conditional code.
770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
771 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
772 Remove conditional code.
773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
774 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
775 Remove conditional code.
776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
777 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
778 Remove conditional code.
779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
781 Remove conditional code.
782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
783 * sysdeps/unix/sysv/linux/sh/pwrite64.c
784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
786 * sysdeps/unix/sysv/linux/sigaction.c
787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
789 * sysdeps/unix/sysv/linux/sigpending.c
790 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
791 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
792 * sysdeps/unix/sysv/linux/sigprocmask.c
793 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
794 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
795 * sysdeps/unix/sysv/linux/sigsuspend.c
796 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
797 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
798 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
799 (__libc_missing_rt_sigs): Remove.
800 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
801 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
802 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
803 Remove conditional code.
804 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
805 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
806 return 1.
807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
808 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
809 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
810 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
811
1bfb7291
AJ
8122012-05-14 Andreas Jaeger <aj@suse.de>
813
caae5a81
AJ
814 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
815 it's not used in glibc.
816 (__coshm1): Likewise.
817 (__acosh1p): Likewise.
818 (__sgn): Likewise.
819
1bfb7291
AJ
820 * manual/string.texi (Copying and Concatenation): Add missing
821 variable in concat example.
822 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
823
c044d724
L
8242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
825
144c5467 826 [BZ #14103]
c044d724
L
827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
828 __builtin_clzl with __builtin_clzll.
829
2523c62b
L
8302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
831
832 [BZ #14104]
833 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
834 libc_freeres_ptr.
835
d7bb4c42
LD
8362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
837
838 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
839 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
840 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
841 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
842
9dc4e1fb
MF
8432012-05-14 Mike Frysinger <vapier@gentoo.org>
844
845 * NEWS: Update ia64 info.
846
c7df0112
AS
8472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
848
849 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
850 used as bcopy.
851
dc70356c
TS
8522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
853
854 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
855 * sysdeps/unix/syscalls.list (dup3): Likewise.
856 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
857 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
858
9fb1a21f
L
8592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
860
861 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
862 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
863
4822a2a5
L
8642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
865
866 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
867 thread pointer.
868 (TLS_IE): Use mov/add instead of movq/addq to load thread
869 pointer.
870 (TLS_GD_PREFIX): New.
871 (TLS_GD): Use it.
872
842b81d6
DM
8732012-05-11 David S. Miller <davem@davemloft.net>
874
875 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
876 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
877 (_FPU_SETCW): Likewise.
878
1cf463cd
L
8792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
880
881 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
882 is 32-byte aligned.
883
60cc4a18
AS
8842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
885
886 [BZ #11837]
887 * iconvdata/gb18030.c: Update tables.
888 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
889 characters specially.
890 (BODY for TO_LOOP): Add encoding of missing ranges.
891
febb44a4
TS
8922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
893
894 [BZ #13673]
895 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
896 * sysdeps/mach/hurd/dup3.c: Likewise.
897 * sysdeps/mach/hurd/readlinkat.c: Likewise.
898 * sysdeps/powerpc/memmove.c:: Likewise.
899
0a10fb9e
L
9002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
901
902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
903 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
904
df8a552f
L
9052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
906
907 * elf/elf.h (R_X86_64_RELATIVE64): New.
908 (R_X86_64_NUM): Updated.
909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
910 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
911 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
912 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
913 tst-quad1pie tst-quad2pie
914 (modules-names): Add tst-quadmod1 tst-quadmod2.
915 ($(objpfx)tst-quad1): New dependency.
916 ($(objpfx)tst-quad2): Likewise.
917 ($(objpfx)tst-quad1pie): Likewise.
918 ($(objpfx)tst-quad2pie): Likewise.
919 * sysdeps/x86_64/tst-quad1.c: New file.
920 * sysdeps/x86_64/tst-quad1pie.c: New file.
921 * sysdeps/x86_64/tst-quad2.c: Likewise.
922 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
923 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
924 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
925 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
926 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
927
f34d6f84
ST
9282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
929
f42d41d1
ST
930 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
931 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
932 * streams/stropts.h (t_scalar_t): Define type.
933
3c3571fc
ST
934 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
935 (_PATH_PRESERVE): Set to "/var/lib".
936 (_PATH_RWHODIR): Set to "/var/spool/rwho".
937
61f06bd3
ST
938 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
939 instead of int.
940
918d4d71
ST
941 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
942 if __dir_mkfile succeeded.
943
f34d6f84
ST
944 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
945 checking for _hurd_dtablesize. Unlock it right after having
946 finished _hurd_dtable allocation.
947
10589b4a
TS
9482012-05-10 Thomas Schwinge <thomas@schwinge.name>
949
674cdbc7
TS
950 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
951 * sysdeps/mach/hurd/configure: Regenerated.
952 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
953 special-casing to...
954 * sysdeps/gnu/configure.in: ... this new file.
955 * sysdeps/unix/sysv/linux/configure: Regenerated.
956 * sysdeps/gnu/configure: New generated file.
957
8e41b99f
TS
958 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
959 for Linux: use nsec instead of usec, as well as:
960 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
961 members of type struct timespec.
962 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
963 New macros.
964 (struct stat64): Likewise.
965 (_STATBUF_ST_NSEC): New macro.
966 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
967
10589b4a
TS
968 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
969 __strtoul_internal rather than strtoul.
970
63643c85
PT
9712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
972
973 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
974 and reject them.
975
3faebe6a
ST
9762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
977
978 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
979 which preserves existing values.
980 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
981
c6474b07
PT
9822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
983
984 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
985 TIMEOUT values. Return EINVAL for NFDS values either negative or
986 greater than FD_SETSIZE.
987
1043890b
ST
9882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
989
990 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
991 allocated, call __vm_protect to finish enabling the existing space, and
992 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
993 allocate the remainder.
994
37ed8b9b
PT
9952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
996
997 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
998 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
999
db653660
ST
10002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1001
37ed8b9b
PT
1002 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1003 sysdeps/mach/hurd/readlink.c.
b29d4053 1004
db653660
ST
1005 * posix/tst-sysconf.c (posix_options): Only use
1006 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1007 _POSIX_SYNCHRONIZED_IO when they are defined
1008 * sysdeps/mach/hurd/bits/posix_opt.h:
1009 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1010 (_XOPEN_REALTIME): Undefine macro.
1011 (_XOPEN_REALTIME_THREADS): Undefine macro.
1012 (_XOPEN_SHM): Undefine macro.
1013 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1014 macro to -1.
1015 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1016 macro to -1.
1017 (_POSIX_ASYNC_IO): Undefine macro.
1018 (_POSIX_PRIORITIZED_IO): Undefine macro.
1019 (_POSIX_SPIN_LOCKS): Define macro to -1.
1020
ee16e894
ST
1021 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1022 SA_NODEFER, SA_RESETHAND.
1023 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1024 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1025 F_DUPFD_CLOEXEC.
1026
6103ae3b
TS
10272012-05-10 Thomas Schwinge <thomas@schwinge.name>
1028
1029 * elf/Makefile (pldd-modules): Define unconditionally.
1030
80b4e5f3
TS
10312012-05-10 Thomas Schwinge <thomas@schwinge.name>
1032
1033 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1034
edadcbd6
ST
10352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1036
1037 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1038 Return ENOENT when name is empty.
1039 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1040
80694780
TS
10412012-05-10 Thomas Schwinge <thomas@schwinge.name>
1042
1792c087
TS
1043 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1044
80694780
TS
1045 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1046
6b645f0d
ST
10472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1048
80694780
TS
1049 Fix mlock in all cases except non-readable pages.
1050 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1051 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1052
6b645f0d
ST
1053 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1054 (__mkdir): When path is `/', just fail with EEXIST.
1055 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1056
e468f8a3
TS
10572012-05-10 Thomas Schwinge <thomas@schwinge.name>
1058
1059 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1060 <sys/uio.h> (for writev).
1061 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1062 and <sys/param.h> (for MIN).
1063
a4186cff
PT
10642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1065
1066 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1067 REQUESTED_TIME. Properly set the remaining time and return EINTR
1068 if interrupted.
1069
510bbf14
TS
10702012-05-10 Thomas Schwinge <thomas@schwinge.name>
1071
1072 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1073 Depend on against $(link-rpcuserlibs).
1074
5d5722e8
ST
10752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1076
a4186cff
PT
1077 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1078 (__libc_stack_end): Do not use attribute_relro.
1079 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1080 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1081 to libthread-provided value.
a4186cff
PT
1082 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1083 attribute_relro.
5d5722e8 1084
37233df9
TS
10852012-05-10 Thomas Schwinge <thomas@schwinge.name>
1086
be971a2b
TS
1087 [BZ #3748]
1088 * bits/libc-lock.h (__libc_once_get): New macro.
1089 * sysdeps/mach/bits/libc-lock.h: Likewise.
1090 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1092 instead of using implementation details.
1093
37233df9
TS
1094 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1095 * libio/freopen.c: Likewise.
1096 * libio/freopen64.c: Likewise.
1097 * misc/syslog.c: Likewise.
1098 * nscd/connections.c: Likewise.
1099 * nscd/netgroupcache.c: Likewise.
1100 * sysdeps/posix/getcwd.c: Likewise.
1101
38de94a5
RM
11022012-05-10 Roland McGrath <roland@hack.frob.com>
1103
1104 * math/w_ilogbf.c: Add #include <limits.h>.
1105
67530489
ST
11062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1107
a4186cff 1108 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1109 path instead of returning without unlocking.
1110
67530489
ST
1111 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1112 immediate-write ioctls.
1113 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1114
5aa3a74a
TS
11152012-05-10 Thomas Schwinge <thomas@schwinge.name>
1116
18bad2ae
TS
1117 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1118 __builtin_frame_address instead of making assumptions about the
1119 location of the return address relative to DATA. Force early load of
1120 the return address.
1121 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1122 __builtin_frame_address.
1123
5aa3a74a
TS
1124 dup3 for GNU Hurd.
1125 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1126 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1127 implement dup3 and do some further code clean-ups.
1128 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1129 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1130
ecd0de9a
ST
11312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1132
cd9fa985
ST
1133 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1134
a4186cff
PT
1135 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1136 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1137 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1138 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1139 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1140 d->port.lock.
802ca5a5 1141
a4186cff
PT
1142 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1143 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1144 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1145
bcf55240
TS
11462012-05-10 Thomas Schwinge <thomas@schwinge.name>
1147
6960eb42
TS
1148 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1149 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1150 definitions.
1151
eb43375f
TS
1152 accept4 for GNU Hurd.
1153 * include/sys/socket.h (__libc_accept4): New prototype.
1154 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1155 to implement __libc_accept4.
1156 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1157 __libc_accept4.
1158 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1159
bcf55240
TS
1160 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1161 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1162 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1163 signal-defines.sym.
1164
6178c55b
ST
11652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1166
a4186cff 1167 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1168
6f080c2f
TS
11692012-05-10 Thomas Schwinge <thomas@schwinge.name>
1170
1171 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1172 assertion on O_CLOEXEC flag.
1173 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1174 * hurd/intern-fd.c: Likewise.
1175 * hurd/port2fd.c: Likewise.
1176
bcfe3a54
ST
11772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1178
1179 [BZ #3906]
1180 * bits/in.h (IPV6_PKTINFO): Define new macro.
1181 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1182
89c9aa49
AZ
11832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 [BZ #13954]
1186 [BZ #13955]
1187 [BZ #13956]
1188 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1190 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1191 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1193 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1194 * math/libm-test.inc (logb_test) : Additional logb tests.
1195
021db4be
AJ
11962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1197 Andreas Jaeger <aj@suse.de>
1198
1199 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1200 * configure: Regenerated.
1201 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1202 * config.make.in (link-obsolete-rpc): New substituted variable.
1203 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1204 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1205 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1206 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1207 so that libc.a contains the symbols.
1208 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1209 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1210 * sunrpc/auth_none.c: Likewise.
1211 * sunrpc/auth_unix.c: Likewise.
1212 * sunrpc/authdes_prot.c: Likewise.
1213 * sunrpc/authuxprot.c: Likewise.
1214 * sunrpc/clnt_gen.c: Likewise.
1215 * sunrpc/clnt_perr.c: Likewise.
1216 * sunrpc/clnt_raw.c: Likewise.
1217 * sunrpc/clnt_simp.c: Likewise.
1218 * sunrpc/clnt_tcp.c: Likewise.
1219 * sunrpc/clnt_udp.c: Likewise.
1220 * sunrpc/clnt_unix.c: Likewise.
1221 * sunrpc/des_crypt.c: Likewise.
1222 * sunrpc/des_soft.c: Likewise.
1223 * sunrpc/get_myaddr.c: Likewise.
1224 * sunrpc/key_call.c: Likewise.
1225 * sunrpc/key_prot.c: Likewise.
1226 * sunrpc/netname.c: Likewise.
1227 * sunrpc/pm_getmaps.c: Likewise.
1228 * sunrpc/pm_getport.c: Likewise.
1229 * sunrpc/pmap_clnt.c: Likewise.
1230 * sunrpc/pmap_prot.c: Likewise.
1231 * sunrpc/pmap_prot2.c: Likewise.
1232 * sunrpc/pmap_rmt.c: Likewise.
1233 * sunrpc/publickey.c: Likewise.
1234 * sunrpc/rpc_cmsg.c: Likewise.
1235 * sunrpc/rpc_common.c: Likewise.
1236 * sunrpc/rpc_dtable.c: Likewise.
1237 * sunrpc/rpc_prot.c: Likewise.
1238 * sunrpc/rpc_thread.c: Likewise.
1239 * sunrpc/rtime.c: Likewise.
1240 * sunrpc/svc.c: Likewise.
1241 * sunrpc/svc_auth.c: Likewise.
1242 * sunrpc/svc_raw.c: Likewise.
1243 * sunrpc/svc_run.c: Likewise.
1244 * sunrpc/svc_tcp.c: Likewise.
1245 * sunrpc/svc_udp.c: Likewise.
1246 * sunrpc/svc_unix.c: Likewise.
1247 * sunrpc/svcauth_des.c: Likewise.
1248 * sunrpc/xcrypt.c: Likewise.
1249 * sunrpc/xdr.c: Likewise.
1250 * sunrpc/xdr_array.c: Likewise.
1251 * sunrpc/xdr_float.c: Likewise.
1252 * sunrpc/xdr_intXX_t.c: Likewise.
1253 * sunrpc/xdr_mem.c: Likewise.
1254 * sunrpc/xdr_rec.c: Likewise.
1255 * sunrpc/xdr_ref.c: Likewise.
1256 * sunrpc/xdr_sizeof.c: Likewise.
1257 * sunrpc/xdr_stdio.c: Likewise.
1258
b5c086a2
RM
12592012-05-10 Roland McGrath <roland@hack.frob.com>
1260
1261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1262 change. Update copyright years.
1263
6d74dd09
JM
12642012-05-10 Joseph Myers <joseph@codesourcery.com>
1265
1266 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1267
28e72501
MK
12682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1269 Joseph Myers <joseph@codesourcery.com>
1270 Paul Pluzhnikov <ppluzhnikov@google.com>
1271
1272 [BZ #14012]
1273 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1274 requiring rpcgen.
1275 [cross-compiling] (extra-libs): Likewise.
1276 [cross-compiling] (extra-libs-others): Likewise.
1277 [cross-compiling] (librpcsvc-routines): Likewise.
1278 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1279 [cross-compiling] (omit-deps): Likewise.
1280 (sunrpc-CPPFLAGS): New variable.
1281 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1282 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1283 (cross-rpcgen-objs): New variable.
1284 (extra-objs): Append $(cross-rpcgen-objs).
1285 ($(cross-rpcgen-objs)): New rule.
1286 ($(objpfx)cross-rpcgen): Likewise.
1287 (rpcgen-cmd): Define to use $(built-program-file). Expand
1288 comment.
1289 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1290 ($(objpfx)x%.stmp): Likewise.
1291 * sunrpc/proto.h [IS_IN_build] (_): Define.
1292 [IS_IN_build] (_libc_intl_domainname): Likewise.
1293
c8c59454
L
12942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1297 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1298 and R_X86_64_TPOFF64.
1299
6f27cd16
JM
13002012-05-10 Joseph Myers <joseph@codesourcery.com>
1301
1302 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1303 sysdeps/unix/sysv/syscalls.list.
1304 (stime): Likewise.
1305 (utime): Likewise.
1306 * sysdeps/unix/sysv/syscalls.list: Remove file.
1307
02467e1c
PE
13082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1309
1310 [BZ #3440]
1311 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1312 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1313 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1314 (__LC_IDENTIFICATION): Make these macros useful in #if
1315 expressions, as required by C99.
1316
da392631
AS
13172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1318
1319 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1320 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1321 after this.
1322
8115f29b
L
13232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * stdlib/longlong.h: Updated from GCC.
1326
bdd74070
AJ
13272012-05-09 Andreas Jaeger <aj@suse.de>
1328
edfe0dbe
AJ
1329 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1330 default is first entry.
1331 (run_mode): Set type.
1332 (main): Remove informal message about syslog.
1333 (options): Fix typo.
1334
bcfe3a54
ST
1335 [BZ #14053]
1336 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1337 to asm.
bcfe3a54
ST
1338 (lrint): Likewise.
1339 (llrintf): Likewise.
1340 (llrint): Likewise.
1341 (rint): Likewise.
1342 (rintf): Likewise.
1343 (nearbyint): Likewise.
1344 (nearbyintf): Likewise.
bdd74070 1345
91d8d69e
AJ
13462012-05-09 Andreas Jaeger <aj@suse.de>
1347 Pedro Alves <palves@redhat.com>
1348
1349 * nscd/nscd.c (run_mode): Use enum.
1350 (main): Cleanup coding style issue.
1351
bb90b80b
AJ
13522012-05-09 Alexandre Oliva <aoliva@redhat.com>
1353 Andreas Jaeger <aj@suse.de>
1354
bcfe3a54
ST
1355 * nscd/nscd.c (go_background): Replaced with...
1356 (run_mode): ... this.
bb90b80b 1357 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1358 (options): Add -F --foreground.
1359 (main): Implement it.
1360 (parse_opt): Parse it.
bb90b80b 1361
1a4b75a1
AJ
13622012-05-09 Andreas Jaeger <aj@suse.de>
1363
1364 [BZ #14083]
1365 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1366 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1367 -Wconversion warning.
1368 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1369 Likewise.
1370
b1cc2472
JM
13712012-05-09 Joseph Myers <joseph@codesourcery.com>
1372
1373 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1374 == 0.
1375 (LC_ALL): Use macro-int-constant.
1376 (LC_COLLATE): Likewise.
1377 (LC_CTYPE): Likewise.
1378 (LC_MESSAGES): Likewise.
1379 (LC_MONETARY): Likewise.
1380 (LC_NUMERIC): Likewise.
1381 (LC_TIME): Likewise.
1382 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1383 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1384 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1385 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1386 Specify type.
1387 [C99-based standards] (float_t): Expect type.
1388 [C99-based standards] (double_t): Expect type.
1389 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1390 type.
1391 [C99-based standards] (HUGE_VALL): Likewise.
1392 [C99-based standards] (INFINITY): Likewise.
1393 [C99-based standards] (NAN): Likewise.
1394 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1395 [C99-based standards] (FP_NAN): Likewise.
1396 [C99-based standards] (FP_NORMAL): Likewise.
1397 [C99-based standards] (FP_SUBNORMAL): Likewise.
1398 [C99-based standards] (FP_ZERO): Likewise.
1399 [C99-based standards] (FP_FAST_FMA): Use
1400 optional-macro-int-constant. Specify type. Require == 1.
1401 [C99-based standards] (FP_FAST_FMAF): Likewise.
1402 [C99-based standards] (FP_FAST_FMAL): Likewise.
1403 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1404 [C99-based standards] (FP_ILOGBNAN): Likewise.
1405 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1406 Specify type.
1407 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1408 [C99-based standards] (math_errhandling): Specify type.
1409 [ISO99 || ISO11] (signgam): Do not allow.
1410 [non-C99-based standards] (copysignf): Do not allow.
1411 [non-C99-based standards] (exp2f): Likewise.
1412 [non-C99-based standards] (log2f): Likewise.
1413 [non-C99-based standards] (modff): Allow.
1414 [non-C99-based standards] (erff): Do not allow.
1415 [non-C99-based standards] (erfcf): Likewise.
1416 [non-C99-based standards] (gammaf): Likewise.
1417 [non-C99-based standards] (hypotf): Likewise.
1418 [non-C99-based standards] (j0f): Likewise.
1419 [non-C99-based standards] (j1f): Likewise.
1420 [non-C99-based standards] (jnf): Likewise.
1421 [non-C99-based standards] (lgammaf): Likewise.
1422 [non-C99-based standards] (tgammaf): Likewise.
1423 [non-C99-based standards] (y0f): Likewise.
1424 [non-C99-based standards] (y1f): Likewise.
1425 [non-C99-based standards] (ynf): Likewise.
1426 [non-C99-based standards] (isnanf): Likewise.
1427 [non-C99-based standards] (acoshf): Likewise.
1428 [non-C99-based standards] (asinhf): Likewise.
1429 [non-C99-based standards] (atanhf): Likewise.
1430 [non-C99-based standards] (cbrtf): Likewise.
1431 [non-C99-based standards] (expm1f): Likewise.
1432 [non-C99-based standards] (ilogbf): Likewise.
1433 [non-C99-based standards] (log1pf): Likewise.
1434 [non-C99-based standards] (logbf): Likewise.
1435 [non-C99-based standards] (nextafterf): Likewise.
1436 [non-C99-based standards] (remainderf): Likewise.
1437 [non-C99-based standards] (rintf): Likewise.
1438 [non-C99-based standards] (scalbf): Likewise.
1439 [non-C99-based standards] (copysignl): Likewise.
1440 [non-C99-based standards] (exp2l): Likewise.
1441 [non-C99-based standards] (log2l): Likewise.
1442 [non-C99-based standards] (modfl): Allow.
1443 [non-C99-based standards] (erfl): Do not allow.
1444 [non-C99-based standards] (erfcl): Likewise.
1445 [non-C99-based standards] (gammal): Likewise.
1446 [non-C99-based standards] (hypotl): Likewise.
1447 [non-C99-based standards] (j0l): Likewise.
1448 [non-C99-based standards] (j1l): Likewise.
1449 [non-C99-based standards] (jnl): Likewise.
1450 [non-C99-based standards] (lgammal): Likewise.
1451 [non-C99-based standards] (tgammal): Likewise.
1452 [non-C99-based standards] (y0l): Likewise.
1453 [non-C99-based standards] (y1l): Likewise.
1454 [non-C99-based standards] (ynl): Likewise.
1455 [non-C99-based standards] (isnanl): Likewise.
1456 [non-C99-based standards] (acoshl): Likewise.
1457 [non-C99-based standards] (asinhl): Likewise.
1458 [non-C99-based standards] (atanhl): Likewise.
1459 [non-C99-based standards] (cbrtl): Likewise.
1460 [non-C99-based standards] (expm1l): Likewise.
1461 [non-C99-based standards] (ilogbl): Likewise.
1462 [non-C99-based standards] (log1pl): Likewise.
1463 [non-C99-based standards] (logbl): Likewise.
1464 [non-C99-based standards] (nextafterl): Likewise.
1465 [non-C99-based standards] (remainderl): Likewise.
1466 [non-C99-based standards] (rintl): Likewise.
1467 [non-C99-based standards] (scalbl): Likewise.
1468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1469 [non-C99-based standards] (FP_*): Do not allow.
1470 [C99-based standards] (FP_*): Change to
1471 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1472 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1473 allow.
1474 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1475 (SIG_ERR): Likewise.
1476 [X/Open-based standards] (SIG_HOLD): Likewise.
1477 (SIG_IGN): Likewise.
1478 (SIGABRT): Use macro-int-constant. Specify type. Require
1479 positive value.
1480 (SIGFPE): Likewise.
1481 (SIGILL): Likewise.
1482 (SIGINT): Likewise.
1483 (SIGSEGV): Likewise.
1484 (SIGTER): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1496 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1497 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1503 [X/Open-based standards] (SIGTRAP): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1508 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1509 allow.
1510
b9f1922d
IW
15112012-05-08 Ian Wienand <ianw@vmware.com>
1512
1513 [BZ #14080]
1514 * time/tzset.c (__tzset_parse_tz): Update default rules for
1515 daylight time changes in the Energy Policy Act of 2005.
1516
1db86e88
AJ
15172012-05-09 Andreas Jaeger <aj@suse.de>
1518
1519 [BZ #13983]
1520 * elf/ldconfig.c (parse_conf): Change string to make clear that
1521 ldconfig only issued a warning if ld.so.conf does not exist.
1522
dee4a4e3
DM
15232012-05-08 David S. Miller <davem@davemloft.net>
1524
ee0db190
DM
1525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1526 movxtod instead of popping the value on the stack.
1527
dee4a4e3
DM
1528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1529
6a43ec98
CD
15302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1531
1532 * config.h.in: Add HAVE_ARM_PCS_VFP.
1533
05c2c961
RMG
15342012-05-08 Roland Mc Grath <roland@hack.frob.com>
1535
bcfe3a54
ST
1536 [BZ #13979]
1537 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1538 checking but the checks are disabled for any reason.
05c2c961 1539
4b30f61a
L
15402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1543 and ELF64_R_TYPE with ELFW(R_TYPE).
1544
eee2bc67
JM
15452012-05-08 Joseph Myers <joseph@codesourcery.com>
1546
7ea5391a
JM
1547 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1548 (ulimit): Likewise.
1549
eee2bc67
JM
1550 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1551 (settimeofday): Likewise.
1552
abb66a67
MF
15532012-05-08 Mike Frysinger <vapier@gentoo.org>
1554
1555 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1556 a struct th_u2 inside the union, and move tu_block/tu_code into
1557 a new th_u3 union of tu_block/tu_code inside of that. Move
1558 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1559 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1560 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1561 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1562 (th_stuff): Change to th_u1.tu_stuff.
1563 (th_data): Define.
1564 (th_msg): Change to th_u1.th_u2.tu_data.
1565
7f18b530
DM
15662012-05-07 David S. Miller <davem@davemloft.net>
1567
05760585
DM
1568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1569
7f18b530
DM
1570 [BZ #14074]
1571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1572 (SETUP_PIC_REG): Use it.
1573 (SETUP_PIC_REG_LEAF): Use it.
1574
495fd99f
JM
15752012-05-07 Joseph Myers <joseph@codesourcery.com>
1576
1577 [BZ #13885]
1578 [BZ #13923]
1579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1580 USE_AS_EXPM1L.
1581 (EXPL_FINITE): Likewise.
1582 (FLDLOG): Likewise.
1583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1584 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1585 e_expl.S.
1586 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1587 USE_AS_EXPM1L.
1588 (EXPL_FINITE): Likewise.
1589 (FLDLOG): Likewise.
1590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1591 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1592 e_expl.S.
1593 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1594 test of -max_value argument for long double.
1595 * sysdeps/i386/fpu/libm-test-ulps: Update.
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1597
6693d694
DM
15982012-05-06 David S. Miller <davem@davemloft.net>
1599
1600 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1601 quad soft-float symbols whose references which are compiler
1602 generated.
1603 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1604
6c23e11c
JM
16052012-05-06 Joseph Myers <joseph@codesourcery.com>
1606
d8b82cad
JM
1607 [BZ #13884]
1608 [BZ #13914]
1609 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1610 USE_AS_EXP10L.
1611 (EXPL_FINITE): Likewise.
1612 (FLDLOG): Likewise.
1613 (c0): Likewise.
1614 (c1): Likewise.
1615 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1616 Adjust comments for base varying.
1617 (__expl_finite): Change alias to EXPL_FINITE.
1618 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1619 e_expl.S.
1620 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1621 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1623 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1624 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1625 USE_AS_EXP10L.
1626 (EXPL_FINITE): Likewise.
1627 (FLDLOG): Likewise.
1628 (c0): Likewise.
1629 (c1): Likewise.
1630 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1631 Adjust comments for base varying.
1632 (__expl_finite): Change alias to EXPL_FINITE.
1633 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1634 tests for bugs.
1635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1636
6c23e11c
JM
1637 [BZ #14064]
1638 * math/libm-test.inc (check_float_internal): Correct ulp
1639 calculation for subnormal expected results.
1640
29ba805c
AJ
16412012-05-06 Andreas Jaeger <aj@suse.de>
1642
1643 * Makeconfig (+math-flags): New, set to -frounding-math.
1644 (+cflags): Add +math-flags so that all of glibc gets compiled with
1645 it.
1646
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1648
7b17aeda
JM
16492012-05-05 Joseph Myers <joseph@codesourcery.com>
1650
5779f134
JM
1651 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1652 Disable one test.
1653
41498f4d
JM
1654 [BZ #13787]
1655 [BZ #13922]
1656 [BZ #14036]
1657 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1658 (__ieee754_expl): Allow for and saturate large arguments.
1659 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1660 (u_threshold): Likewise.
1661 (__exp): Call __ieee754_exp before checking for overflow and
1662 underflow.
1663 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1664 (u_threshold): Likewise.
1665 (__expf): Call __ieee754_expf before checking for overflow and
1666 underflow.
1667 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1668 (u_threshold): Likewise.
1669 (__expl): Call __ieee754_expl before checking for overflow and
1670 underflow.
1671 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1672 (__ieee754_expl): Allow for and saturate large arguments.
1673 * math/libm-test.inc (exp_test): Add another test. Do not allow
1674 missing overflow exception on overflow.
1675 (expm1_test): Do not allow missing overflow exception on overflow.
1676
6698b8bf
JM
1677 * sysdeps/i386/fpu/e_expl.c: Move to ...
1678 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1679 rather than using inline asm.
1680 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1681 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1682 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1683
7b17aeda
JM
1684 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1685 (nice): Likewise.
1686 (poll): Likewise.
1687 (signal): Likewise.
1688 (time): Likewise.
1689 (times): Likewise.
1690
f7c85819
JM
16912012-05-04 Joseph Myers <joseph@codesourcery.com>
1692
1693 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1694 sysdeps/unix/common/syscalls.list.
1695 (fchmod): Likewise.
1696 (fchown): Likewise.
1697 (ftruncate): Likewise.
1698 (getrusage): Likewise.
1699 (gettimeofday): Likewise.
1700 (setpgid): Likewise.
1701 (setregid): Likewise.
1702 (setreuid): Likewise.
1703 (sigaction): Likewise.
1704 (truncate): Likewise.
1705 (vhangup): Likewise.
1706 * sysdeps/unix/common/syscalls.list: Remove file.
1707 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1708 * sysdeps/unix/sysv/linux/Implies: Likewise.
1709
336270d0
L
17102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1714 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1715 Moved to ...
1716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1717 Here.
1718 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1719 to ...
1720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1721 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1722 to ...
1723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1724 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1725 to ...
1726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1727 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1728 to ...
1729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1730 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1731 to ...
1732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1733 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1734 to ...
1735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1736 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1737 to ...
1738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1739 Here.
1740 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1741 to ...
1742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1743 Here.
1744 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1745 to ...
1746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1747 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1748 Moved to ...
1749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1750 Here.
1751 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1752 to ...
1753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1754
d128e450
JM
17552012-05-04 Joseph Myers <joseph@codesourcery.com>
1756
fa8ee516
JM
1757 * sysdeps/unix/common/bits/dirent.h: Remove file.
1758 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1759
d128e450
JM
1760 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1761 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1762 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1763 * sysdeps/unix/bsd/isatty.c: Likewise.
1764 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1765 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1766 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1767
ff8faaf0 17682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1769
62881be4 1770 [BZ #13563]
31dc8730
AZ
1771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1772 long double comparison inaccuracies.
1773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775
6fef930c
AS
17762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1777
1778 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1780
8f203e6c
JM
17812012-05-04 Joseph Myers <joseph@codesourcery.com>
1782
1783 [BZ #14049]
1784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1785 nonzero digits before rounding a hex value.
1786 * stdlib/tst-strtod.c (tests): Add another test.
1787
5197d9c2
AK
17882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1789
1790 * sysdeps/s390/fpu/libm-test-ulps: Update.
1791
f0c1dedf
AJ
17922012-05-03 Andreas Jaeger <aj@suse.de>
1793
1794 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1795 does not get optimized out.
1796 (malloc_opt_barrier): New.
1797
a65ef2ae 17982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1799 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1800
2b942cb7 1801 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1802 intermediate file deletion.
2b942cb7 1803 (generated): Add .symlist files.
a65ef2ae 1804
54b71e02
JM
18052012-05-03 Joseph Myers <joseph@codesourcery.com>
1806
1807 [BZ #13775]
1808 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1809 Redirect under this condition.
1810 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1811 [__USE_GNU] (__dprintf_chk): Not under this condition.
1812 [__USE_GNU] (__vdprintf_chk): Likewise.
1813 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1814 under this condition.
1815 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1816 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1817 [__USE_XOPEN2K8] (vdprintf): Likewise.
1818 [__USE_GNU] (__dprintf_chk): Not under this condition.
1819 [__USE_GNU] (__vdprintf_chk): Likewise.
1820 [__USE_GNU] (dprintf): Likewise.
1821 [__USE_GNU] (vdprintf): Likewise.
1822
d3dfcc41
RM
18232012-05-03 Roland McGrath <roland@hack.frob.com>
1824
1825 * elf/Makefile (common-generated): Set this instead of generated for
1826 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1827 $(all-built-dso)-derived lists.
1828
7ac30cc5
AJ
18292012-05-03 Andreas Jaeger <aj@suse.de>
1830
0c51e550
AJ
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832
7ac30cc5
AJ
1833 * FAQ: Removed.
1834 * FAQ.in: Likewise.
1835 * scripts/gen-FAQ.pl: Likewise.
1836 * manual/install.texi (Installation): Point to online location of
1837 FAQ.
1838 * Makefile (files-for-dist): Remove FAQ.
1839 (FAQ): Remove.
1840
d4c2917f
AM
18412012-05-02 Allan McRae <allan@archlinux.org>
1842
1843 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1844 (LDFLAGS-reldepmod5.so): Likewise.
1845 (LDFLAGS-reldep6mod1.so): Likewise.
1846 (LDFLAGS-reldep6mod4.so): Likewise.
1847 (LDFLAGS-reldep8mod3.so): Likewise.
1848 (LDFLAGS-unload4mod1.so): Likewise.
1849 (LDFLAGS-unload4mod2.so): Likewise.
1850 (LDFLAGS-tst-initorder): Likewise.
1851 (LDFLAGS-tst-initordera2.so): Likewise.
1852 (LDFLAGS-tst-initordera3.so): Likewise.
1853 (LDFLAGS-tst-initordera4.so): Likewise.
1854 (LDFLAGS-tst-initorderb2.so): Likewise.
1855 (LDFLAGS-noload): Likewise.
1856 (LDFLAGS-next): Likewise.
1857 (LDFLAGS-order2mod1.so): Likewise.
1858 (LDFLAGS-order2mod2.so): Likewise.
1859 (LDFLAGS-tst-initorder2): Likewise.
1860 (LDFLAGS-tst-initorder2a.so): Likewise.
1861 (LDFLAGS-tst-initorder2b.so): Likewise.
1862 (LDFLAGS-tst-initorder2c.so): Likewise.
1863 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1864
d77f993f
DM
18652012-05-02 David S. Miller <davem@davemloft.net>
1866
1867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1868
171a70b4
PP
18692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1870
1871 [BZ #14055]
1872 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1873
0be196ad
AJ
18742012-05-02 Andreas Jaeger <aj@suse.de>
1875
1876 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1877 since we manipulate rounding mode.
1878 (CPPFLAGS-test-idouble.c): Likewise.
1879 (CPPFLAGS-test-ifloat.c): Likewise.
1880 (CFLAGS-test-ldouble.c): Likewise.
1881 (CFLAGS-test-double.c): Likewise.
1882 (CFLAGS-test-float.c): Likewise.
1883 (CFLAGS-test-misc.c): Likewise.
1884 (CFLAGS-test-test-fenv.c): Likewise.
1885
4f9d04aa
AZ
18862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887
2b942cb7
RM
1888 [BZ #2550]
1889 [BZ #2570]
1890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1891 comparisons to determine direction to adjust input.
4f9d04aa 1892
82a79e7d
RM
18932012-05-01 Roland McGrath <roland@hack.frob.com>
1894
f5a01ca9
RM
1895 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1896 output to the target.
1897
90fe4186
RM
1898 * scripts/localplt.awk: New file.
1899 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1900 (check-localplt-CFLAGS): Variable removed.
1901 ($(all-built-dso:=.jmprel)): New static pattern rule.
1902 (generated): Add those targets.
1903 (localplt-built-dso): New variable.
1904 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1905
1906 * elf/check-localplt.c: File removed.
1907
82397ed6
RM
1908 * scripts/check-execstack.awk: New file.
1909 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1910 (check-execstack-CFLAGS): Variable removed.
1911 ($(objpfx)check-execstack.h): Target removed.
1912 ($(objpfx)execstack-default): New target.
1913 (generated): Add that instead of check-execstack.h.
1914 ($(all-built-dso:=.phdr)): New static pattern rule.
1915 (generated): Add those targets.
1916 * elf/check-execstack.c: File removed.
1917
82a79e7d
RM
1918 * scripts/check-textrel.awk: New file.
1919 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1920 (check-textrel-CFLAGS): Variable removed.
1921 (all-built-dso): Use := to define.o
1922 ($(all-built-dso:=.dyn)): New static pattern rule.
1923 (generated): Add those targets.
1924 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1925 * config.make.in (READELF): New substituted variable.
1926 * elf/check-textrel.c: File removed.
1927
62fde54f 19282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1929
615605c9
JM
1930 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1931 allow.
1932 * conform/data/ctype.h-data [C99-based standards] (isblank):
1933 Expect function.
1934 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1935 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1937 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1938 Specify type. Require positive value.
1939 (EILSEQ): Likewise.
1940 (ERANGE): Likewise.
1941 [ISO || POSIX] (EILSEQ): Do not expect.
1942 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1943 Specify type. Require positive value.
1944 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1945 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1946 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1947 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1948 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1949 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1950 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1951 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1952 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1953 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1954 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1955 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1956 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1957 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1958 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1978 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1979 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1980 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1981 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1982 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1983 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1984 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1985 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1986 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1987 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1988 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2006 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2007 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2008 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2009 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2010 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2011 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2012 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2013 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2014 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2015 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2016 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2017 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2018 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2019 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2020 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2021 Require >= 2.
2022 (FLT_ROUNDS): Expect as macro, not constant.
2023 (FLT_MANT_DIG): Use macro-int-constant.
2024 (DBL_MANT_DIG): Likewise.
2025 (LDBL_MANT_DIG): Likewise.
2026 (FLT_DIG): Likewise.
2027 (DBL_DIG): Likewise.
2028 (LDBL_DIG): Likewise.
2029 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2030 (DBL_MIN_EXP): Likewise.
2031 (LDBL_MIN_EXP): Likewise.
2032 (FLT_MAX_EXP): Use macro-int-constant.
2033 (DBL_MAX_EXP): Likewise.
2034 (LDBL_MAX_EXP): Likewise.
2035 (FLT_MAX_10_EXP): Likewise.
2036 (DBL_MAX_10_EXP): Likewise.
2037 (LDBL_MAX_10_EXP): Likewise.
2038 (FLT_MAX): Use macro-constant.
2039 (DBL_MAX): Likewise.
2040 (LDBL_MAX): Likewise.
2041 (FLT_EPSILON): Use macro-constant. Give upper bound.
2042 (DBL_EPSILON): Likewise.
2043 (LDBL_EPSILON): Likewise.
2044 (FLT_MIN): Likewise.
2045 (DBL_MIN): Likewise.
2046 (LDBL_MIN): Likewise.
2047 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2048 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2049 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2050 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2051 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2052 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2053 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2054 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2055 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2056 [ISO11] (FLT_TRUE_MIN): Likewise.
2057 [ISO11] (LDBL_TRUE_MIN): Likewise.
2058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2059 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2060 (SCHAR_MIN): Use macro-int-constant. Specify type.
2061 (SCHAR_MAX): Likewise.
2062 (UCHAR_MAX): Likewise.
2063 (CHAR_MIN): Likewise.
2064 (CHAR_MAX): Likewise.
2065 (MB_LEN_MAX): Use macro-int-constant.
2066 (SHRT_MIN): Use macro-int-constant. Specify type.
2067 (SHRT_MAX): Likewise.
2068 (USHRT_MAX): Likewise.
2069 (INT_MAX): Likewise.
2070 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2071 bound negative.
2072 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2073 bound with "U".
2074 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2075 bound with "L".
2076 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2077 bound negative. Suffix upper bound with "L".
2078 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2079 bound with "UL".
2080 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2081 Specify type.
2082 [C99-based standards] (LLONG_MAX): Likewise.
2083 [C99-based standards] (ULLONG_MAX): Likewise.
2084 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2085 == 0.
2086 [ISO11] (max_align_t): Require type.
2087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2088
c9140a62
JM
2089 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2090 from $CFLAGS, without defining away __attribute__ calls.
2091 (checknamespace): Use $CFLAGS_namespace.
2092
9af0bf29
JM
2093 * conform/conformtest.pl (@keywords): Only include C99 keywords
2094 for standards based on C99 or C11.
2095
343222a2
JM
2096 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2097 Disable tests.
2098 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2099 UNIX98]: Likewise.
2100
661f8cf0
JM
2101 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2102 usability of symbols in #if.
2103
ee74b9cb
JM
2104 * conform/conformtest.pl: If macro or constant types start
2105 "promoted:", expect the symbol to be of the following type
2106 promoted by the integer promotions.
62fde54f 2107
aafc49b3
JM
2108 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2109 in one place. Also handle "macro-constant".
2110
fefdf574
JM
2111 * conform/conformtest.pl: Only accept expected macro values with
2112 "==". Parse all "macro" lines in one place.
2113 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2114
f2d922fe
JM
2115 * conform/conformtest.pl: Handle braced types on "constant" lines
2116 instead of handling "typed-constant".
2117 * conform/data/signal.h-data: Use "constant" instead of
2118 "typed-constant".
2119
d22956c9
JM
2120 * conform/conformtest.pl: Handle "optional-" at start of lines in
2121 one place rather than duplicating several cases. Handle each
2122 format of "macro" line with initial "optional-".
2123
028e2e38
JM
2124 * conform/conformtest.pl: Only accept expected constant or
2125 optional-constant values with "==". Parse all "constant" lines in
2126 one place. Parse all "optional-constant" lines in one place.
2127 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2128 * conform/data/fmtmsg.h-data: Likewise.
2129 * conform/data/netinet/in.h-data: Likewise.
2130 * conform/data/tar.h-data: Likewise.
2131 * conform/data/limits.h-data: Use "==" form on "constant" and
2132 "optional-constant" lines.
2133
1b8f2850
JM
2134 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2135 Use -std=c99 for XOPEN2K.
2136 (@knownproblems): Remove.
2137 (newtoken): Don't check %isknown.
2138
a05a144b
JM
2139 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2140 Do not expect macro.
2141 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2142 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2153 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2154 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2159 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2160 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2161 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2164 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2165 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2167 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2171 [XPG3] (acosh): Likewise.
2172 [XPG3] (asinh): Likewise.
2173 [XPG3] (atanh): Likewise.
2174 [XPG3] (cbrt): Likewise.
2175 [XPG3] (expm1): Likewise.
2176 [XPG3] (ilogb): Likewise.
2177 [XPG3] (log1p): Likewise.
2178 [XPG3] (logb): Likewise.
2179 [XPG3] (nextafter): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2182 [XPG3] (remainder): Likewise.
2183 [XPG3] (rint): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2191 [UNIX98 || XOPEN2K] (scalb): Expect.
2192 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2193 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2317 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2329
73c5ebe3
JM
2330 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2331 _XOPEN_SOURCE_EXTENDED for XPG4.
2332
39c33b6c
JM
2333 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2334
62fde54f
JM
2335 * Makeconfig (localtime): Remove variable.
2336 (inst_localtime-file): Likewise.
2337
0741d64c
AS
23382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2339
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2341 Update.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2343 Update.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2345 Update.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2347 Update.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2349 Update.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2351 Update.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2353 Update.
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2355 Update.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2357 Update.
2358
7cb029ee
JM
23592012-05-01 Joseph Myers <joseph@codesourcery.com>
2360
2361 [BZ #2550]
2362 [BZ #2570]
2363 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2364 comparisons to determine direction to adjust input.
2365 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2366 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2368 Likewise.
2369 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2370 Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2372 Likewise.
2373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2375 Likewise.
2376 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2377 Likewise.
2378 * math/libm-test.inc (nexttoward_test): Add more tests.
2379
412bd966
AS
23802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2381
2382 [BZ #14040]
2383 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2384 in version GLIBC_2.1, not GLIBC_2.0.
2385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2386 Likewise.
2387
9568c0c2
JM
23882012-04-30 Joseph Myers <joseph@codesourcery.com>
2389
adfbc8ac
JM
2390 [BZ #13942]
2391 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2392 (1 - x) * (1 + x).
2393 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2394 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2395 * math/libm-test.inc (acos_test): Add more tests.
2396 (asin_test): Likewise.
2397 * sysdeps/i386/fpu/libm-test-ulps: Update.
2398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2399
5ba3cc69
JM
2400 [BZ #14034]
2401 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2402 of square root.
2403 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2404 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2405 * math/libm-test.inc (acos_test_tonearest): New function.
2406 (acos_test_towardzero): Likewise.
2407 (acos_test_downward): Likewise.
2408 (acos_test_upward): Likewise.
2409 (asin_test_tonearest): Likewise.
2410 (asin_test_towardzero): Likewise.
2411 (asin_test_downward): Likewise.
2412 (asin_test_upward): Likewise.
2413 (main): Call the new functions.
2414 * sysdeps/i386/fpu/libm-test-ulps: Update.
2415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2416
9568c0c2
JM
2417 [BZ #13884]
2418 [BZ #13924]
2419 * math/e_exp10.c: Include <float.h>.
2420 (__ieee754_exp10): Handle underflow here rather than multiplying
2421 large negative argument by M_LN10.
2422 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2423 of __ieee754_expf.
2424 * math/e_exp10l.c: Include <float.h>.
2425 (__ieee754_exp10l): Handle underflow here rather than multiplying
2426 large negative argument by M_LN10l.
2427 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2428 spurious overflow exception on underflow.
2429
5ac3ea17
MP
24302012-04-29 Marek Polacek <polacek@redhat.com>
2431
2432 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2433 (__fortify_function): New macro.
2434 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2435 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2436 __extern_always_inline.
2437 * libio/bits/stdio2.h: Likewise.
2438 * libio/bits/stdio.h: Likewise.
2439 * string/string.h: Likewise.
2440 * string/bits/string3.h: Likewise.
2441 * include/stdio.h: Likewise.
2442 * stdlib/bits/stdlib.h: Likewise.
2443 * stdlib/stdlib.h: Likewise.
2444 * rt/bits/mqueue2.h: Likewise.
2445 * rt/mqueue.h: Likewise.
2446 * posix/bits/unistd.h: Likewise.
2447 * posix/unistd.h: Likewise.
2448 * io/bits/poll2.h: Likewise.
2449 * io/bits/fcntl2.h: Likewise.
2450 * io/fcntl.h: Likewise.
2451 * io/sys/poll.h: Likewise.
2452 * misc/bits/syslog.h: Likewise.
2453 * misc/bits/syslog-ldbl.h: Likewise.
2454 * misc/sys/syslog.h: Likewise.
2455 * socket/bits/socket2.h: Likewise.
2456 * socket/sys/socket.h: Likewise.
2457 * debug/tst-chk1.c: Likewise.
2458 * wcsmbs/bits/wchar2.h: Likewise.
2459 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2460 * wcsmbs/wchar.h: Likewise.
2461
ecf0ebfb
AJ
24622012-04-29 Andreas Jaeger <aj@suse.de>
2463
2464 * Makerules (tests): Remove enable-check-abi protection.
2465 (check-abi-warn): Remove.
2466 (check-abi-%): Remove check-abi-warn usage.
2467
2468 * configure.in: Remove check-abi configure option.
2469 * configure: Regenerated.
2470 * config.make.in (enable-check-abi): Remove.
2471
6d5c57fa
AS
24722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2473
24c5d07e 2474 [BZ #14033]
ded5180a
AS
2475 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2476 double functions to double *_finite functions.
2477
7e0d315d
AS
2478 [BZ #13941]
2479 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2480 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2481 LDBL_MIN_EXP.
2482 * stdio-common/Makefile (tests): Add tst-sprintf3.
2483 * stdio-common/tst-sprintf3.c: New file.
2484
6d5c57fa
AS
2485 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2486 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2487
0749ff8b
JM
24882012-04-28 Joseph Myers <joseph@codesourcery.com>
2489
2490 * conform/conformtest.pl: Remove duplicate typed-constant
2491 handling.
2492
8dbd5d7b
DM
24932012-04-28 David S. Miller <davem@davemloft.net>
2494
2495 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2496 (check-abi-%): Remove AWK script prerequisite and explicit
2497 abilist directory.
2498 (check-abi): Rewrite to just diff the symlist with the abilist.
2499 (config-tls, config-abi-config): Delete, no longer used.
2500 (update-abi-%): Remove AWK script and explicit abilist directory.
2501 (update-abi): Rewrite to simply compare and conditionally copy the
2502 symlist and the sysdep abilist file. Remove update-abi-config
2503 checks.
2504 * abilist/ld.abilist: Remove.
2505 * abilist/libBrokenLocale.abilist: Remove.
2506 * abilist/libanl.abilist: Remove.
2507 * abilist/libcrypt.abilist: Remove.
2508 * abilist/libdl.abilist: Remove.
2509 * abilist/librt.abilist: Remove.
2510 * abilist/libthread_db.abilist: Remove.
2511 * abilist/libutil.abilist: Remove.
2512 * scripts/extract-abilist.awk: Remove.
2513 * scripts/merge-abilist.awk: Remove.
2514 * sysdeps/generic/libcidn.abilist: New file.
2515 * sysdeps/generic/libnss_compat.abilist: New file.
2516 * sysdeps/generic/libnss_db.abilist: New file.
2517 * sysdeps/generic/libnss_dns.abilist: New file.
2518 * sysdeps/generic/libnss_files.abilist: New file.
2519 * sysdeps/generic/libnss_hesiod.abilist: New file.
2520 * sysdeps/generic/libnss_nis.abilist: New file.
2521 * sysdeps/generic/libnss_nisplus.abilist: New file.
2522 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2523 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2524 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2525 file.
2526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2527 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2528 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2529 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2530 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2532 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2533 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2534 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2535 file.
2536 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2537 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2538 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2539 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2540 file.
2541 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2542 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2543 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2545 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2546 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2547 file.
2548 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2549 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2550 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2551 file.
2552 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2554 New file.
2555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2556 New file.
2557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2558 New file.
2559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2560 New file.
2561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2562 New file.
2563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2564 New file.
2565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2566 New file.
2567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2568 New file.
2569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2570 New file.
2571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2572 New file.
2573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2574 New file.
2575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2576 New file.
2577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2578 New file.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2580 file.
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2582 New file.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2584 New file.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2586 file.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2588 New file.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2590 New file.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2592 file.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2594 New file.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2596 New file.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2598 New file.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2600 New file.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2602 New file.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2604 New file.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2607 file.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2609 New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2611 file.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2613 file.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2615 file.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2617 file.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2619 file.
2620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2621 New file.
2622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2623 file.
2624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2625 file.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2627 New file.
2628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2629 file.
2630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2632 file.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2634 New file.
2635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2636 file.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2638 file.
2639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2640 file.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2642 file.
2643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2644 file.
2645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2646 New file.
2647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2648 file.
2649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2650 file.
2651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2652 New file.
2653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2654 file.
2655 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2656 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2657 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2658 file.
2659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2660 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2661 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2662 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2663 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2664 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2665 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2666 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2667 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2668 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2671 file.
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2673 New file.
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2675 file.
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2677 file.
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2679 file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2681 file.
2682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2683 file.
2684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2685 New file.
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2687 New file.
2688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2689 file.
2690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2691 New file.
2692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2693 file.
2694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2696 file.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2700 file.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2702 file.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2704 file.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2706 file.
2707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2708 file.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2710 New file.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2712 New file.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2714 file.
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2716 New file.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2718 file.
2719
41d73a1b
JM
27202012-04-28 Joseph Myers <joseph@codesourcery.com>
2721
2722 * conform/conformtest.pl: Fix typo in handling typed-constant from
2723 allow-header.
2724
28aeeda4
JM
27252012-04-27 Joseph Myers <joseph@codesourcery.com>
2726
adae8f5e
JM
2727 * README: Cut down references to pre-2.6 Linux kernels and
2728 Linuxthreads. Update lists of configurations in libc and ports
2729 and sort alphabetically. Say "or newer" with Linux kernel version
2730 requirements.
2731
28aeeda4
JM
2732 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2733
a462cb63
RA
27342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2735
2736 [BZ #887]
2737 * math/libm-test.inc (logb_test_downward): New test to expose
2738 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2739 rounding mode.
2740
6ad3493e
JM
27412012-04-27 Joseph Myers <joseph@codesourcery.com>
2742
2743 [BZ #14027]
2744 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2745 to be done.
2746 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2747 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2748
2ce4f015
JM
27492012-04-26 Joseph Myers <joseph@codesourcery.com>
2750
5aeb141a
JM
2751 * sysdeps/unix/i386/brk.S: Remove file.
2752 * sysdeps/unix/i386/dl-brk.S: Likewise.
2753 * sysdeps/unix/i386/pipe.S: Likewise.
2754 * sysdeps/unix/i386/sigreturn.S: Likewise.
2755 * sysdeps/unix/i386/syscall.S: Likewise.
2756 * sysdeps/unix/i386/vfork.S: Likewise.
2757 * sysdeps/unix/i386/wait.S: Likewise.
2758
7143acae
JM
2759 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2760 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2761
2ce4f015
JM
2762 * configure.in (arm*-none*): Do not allow without
2763 --enable-hacker-mode.
2764 (netbsd*): Remove case setting base_os.
2765 (386bsd*): Likewise.
2766 (freebsd*): Likewise.
2767 (bsdi*): Likewise.
2768 (osf*): Likewise.
2769 (sunos*): Likewise.
2770 (ultrix*): Likewise.
2771 (newsos*): Likewise.
2772 (dynix*): Likewise.
2773 (*bsd*): Likewise.
2774 (sysv*): Likewise.
2775 (isc*): Likewise.
2776 (esix*): Likewise.
2777 (sco*): Likewise.
2778 (minix*): Likewise.
2779 (irix4*): Likewise.
2780 (irix6*): Likewise.
2781 (solaris[2-9]*): Likewise.
2782 (none): Likewise.
2783 * configure: Regenerated.
2784
0ac229c8
AZ
27852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2786
2787 [BZ #11521]
2788 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2789 overflow or cancellation in calculating denominator.
2790 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2792 down expression to avoid unexpected rounding in newer GCCs.
2793 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2794
33f244f4
DM
27952012-04-26 David S. Miller <davem@davemloft.net>
2796
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2798 long-double compat symbols.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2812
cfa1f3e8
DM
28132012-04-25 David S. Miller <davem@davemloft.net>
2814
2815 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2816 HWCAP_* values only after the memory barriers have been defined.
2817 (atomic_full_barrier): Define.
2818 (atomic_read_barrier): Define.
2819 (atomic_write_barrier): Define.
2820
6e236b92
SP
28212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2822
2823 * shlib-versions: Add libgcc_s version information.
2824 * sysdeps/generic/libgcc_s.h: Remove.
2825 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2826 libgcc_s.h.
2827 * sysdeps/gnu/unwind-resume.c: Likewise.
2828 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2829
aab39a09
DM
28302012-04-25 David S. Miller <davem@davemloft.net>
2831
2832 * sysdeps/unix/sparc/brk.S: Delete.
2833 * sysdeps/unix/sparc/dl-brk.S: Delete.
2834 * sysdeps/unix/sparc/pipe.S: Delete.
2835 * sysdeps/unix/sparc/sysdep.S: Delete.
2836 * sysdeps/unix/sparc/sysdep.h: Delete.
2837 * sysdeps/unix/sparc/vfork.S: Delete.
2838 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2839 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2841 ret_ERRVAL, r0, r1, MOVE): Define.
2842 (JUMPTARGET): Remove.
2843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2844 sysdeps/unix/sparc/sysdep.h
2845 (ENTRY, END): Remove.
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2847
a3cc4f48
JM
28482012-04-25 Joseph Myers <joseph@codesourcery.com>
2849
2ed8cda2
JM
2850 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2851 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2852 -DIS_IN_build.
2853
35d76d59
JM
2854 * timezone/README: Update upstream location and email address for
2855 tzcode and tzdata.
2856 * timezone/zdump.c: Update from tzcode 2012b.
2857 * timezone/zic.c: Likewise.
2858
a3cc4f48
JM
2859 * configure.in (libc_cv_as_needed): Remove test.
2860 * configure: Regenerated.
2861 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2862 conditional definition.
2863 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2864 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2865 * config.make.in (have-as-needed): Remove variable.
2866
ceab42c3
SP
28672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2868 Paul Pluzhnikov <ppluzhnikov@google.com>
2869
2870 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2871 strings correctly.
2872
3ce2865f
CLT
28732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2874
2875 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2876 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2877 * sysdeps/sh/strlen.S: Likewise.
2878
f37e0d68
JM
28792012-04-24 Joseph Myers <joseph@codesourcery.com>
2880
ae186e9a
JM
2881 * sysdeps/unix/fork.S: Remove file.
2882 * sysdeps/unix/i386/fork.S: Likewise.
2883 * sysdeps/unix/sparc/fork.S: Likewise.
2884
b96914af
JM
2885 * sysdeps/unix/system.c: Remove file.
2886 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2887
f37e0d68
JM
2888 * sysdeps/unix/getegid.S: Remove file.
2889 * sysdeps/unix/geteuid.S: Likewise.
2890
87ef29ca
RM
28912012-04-24 Roland McGrath <roland@hack.frob.com>
2892
83bcd236
RM
2893 * scripts/check-localplt.awk: New file.
2894 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2895 of diff.
2896 * scripts/data/localplt-generic.data: Add a comment.
2897
87ef29ca
RM
2898 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2899 NODE when __dir_mkfile failed.
2900 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2901 Reported by Ludovic Courtès <ludo@gnu.org>.
2902
e5a6e567
AJ
29032012-04-24 Andreas Jaeger <aj@suse.de>
2904
2905 * Makerules (common-clean): Also remove gen-as-const-headers
2906 files.
2907
c1820385
JM
29082012-04-24 Joseph Myers <joseph@codesourcery.com>
2909
2910 * Makerules (native-compile): Do not change working directory for
2911 build. Use $(OUTPUT_OPTION) in command.
2912 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2913
94e02fc4
AZ
29142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915
2916 [BZ #13886]
2917 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2918 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2919 * math/libm-test.inc (floor_test): Add more tests.
2920 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2921
3a533ca3
JM
29222012-04-24 Joseph Myers <joseph@codesourcery.com>
2923
940ab4b3
JM
2924 * sysdeps/unix/getdents.c: Remove file.
2925 * sysdeps/unix/sysv/getdents.c: Likewise.
2926 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2927
90e037bd
JM
2928 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2929 sysdeps/unix/mman/syscalls.list.
2930 (mmap): Likewise.
2931 (mprotect): Likewise.
2932 (msync): Likewise.
2933 (munmap): Likewise.
2934 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2935 * sysdeps/unix/mman/syscalls.list: Remove.
2936 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2937
3a533ca3
JM
2938 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2939 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2940 * configure: Regenerated.
2941 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2942 $(libgcc_s_suffix).
2943 * config.make.in (libgcc_s_suffix): Remove variable.
2944
1ad743de
JM
29452012-04-23 Joseph Myers <joseph@codesourcery.com>
2946
4ad451e2
JM
2947 * sysdeps/unix/sysv/gethostname.c: Move to ...
2948 * sysdeps/posix/gethostname.c: ... here.
2949
5e37ce39
JM
2950 * sysdeps/unix/execve.S: Remove file.
2951
1ad743de
JM
2952 * sysdeps/unix/_exit.S: Remove file.
2953
4e681b5b
AJ
29542012-04-23 Andreas Jaeger <aj@suse.de>
2955
2956 [BZ #13739]
2957 * manual/Makefile: Remove make dist support, there's no
2958 need for a stand-alone documentation tar ball.
2959 (TEXI2DVI): Define always, it's not in Makeconfig.
2960 (dist): Removed.
2961 (tar-it): Removed.
2962 (edition): Removed.
2963 (glibc-doc-$(edition).tar): Removed
2964 (%.Z): Removed.
2965 (%.gz): Removed.
2966 (%.uu): Removed.
2967 (ETAGS): Remove, it's in Makeconfig.
2968 (move-if-change): Remove, it's in Makeconfig.
2969
c0baea34
PE
29702013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2971
2972 [BZ #13970]
2973 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2974 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2975 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2976 (strtod_l, strtof_l, strtold_l): Remove __wur.
2977 It is not necessarily an error to ignore strtol's return value.
2978 One can reliably look at the stored endptr to decide whether
2979 the number had valid syntax.
2980
7c0616fa
AJ
29812012-04-21 Andreas Jaeger <aj@suse.de>
2982
803cb6b7 2983 [BZ #13739]
7c0616fa
AJ
2984 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2985
b0fe253f
JM
29862012-04-21 Joseph Myers <joseph@codesourcery.com>
2987
2988 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2989 * sysdeps/unix/sysv/Versions: Remove file.
2990
8280f22d
MT
29912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2992
2993 [BZ #13927]
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2995
75ce411f 29962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2997
2998 [BZ #7064]
2999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3000 version from __vm86.
3001
097d59fa
JM
30022012-04-20 Joseph Myers <joseph@codesourcery.com>
3003
a90f3bcb
JM
3004 * sysdeps/unix/common/lxstat.c: Remove file.
3005 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3006
edc7ea78
JM
3007 * sysdeps/unix/sysv/Makefile: Remove file.
3008
cb78c221
JM
3009 * sysdeps/unix/sysv/direct.h: Remove file.
3010
efa6a45f
JM
3011 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3012 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3013 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3014 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3015 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3016 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3017 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3018
9c9f2d0c
JM
3019 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3020
4541c83b
JM
3021 * sysdeps/unix/xmknod.c: Remove file.
3022 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3023
f5d153a0
JM
3024 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3025
aa746595
JM
3026 * sysdeps/unix/sysv/i386/time.S: Remove file.
3027
cce5905e
JM
3028 * sysdeps/unix/fxstat.c: Remove file.
3029 * sysdeps/unix/xstat.c: Likewise.
3030 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3031
37fa3841
JM
3032 * sysdeps/unix/sysv/sigaction.c: Remove file.
3033
ff1962a3
JM
3034 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3035 (sysdep_headers): Remove variable.
3036 [termio.h not in sysdep_headers] (generated): Likewise.
3037 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3038 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3039 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3040 * sysdeps/unix/sysv/tcflow.c: Likewise.
3041 * sysdeps/unix/sysv/tcflush.c: Likewise.
3042 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3043 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3044 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3045 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3046 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3047
e7740d31
JM
3048 * sysdeps/unix/siglist.c: Remove file.
3049
ee06f18b
JM
3050 * sysdeps/unix/getppid.S: Remove file.
3051
097d59fa
JM
3052 * sysdeps/unix/mkdir.c: Remove file.
3053 * sysdeps/unix/rmdir.c: Likewise.
3054
ff3d51ec
AS
30552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3056
3057 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3058 ERR_MAX value.
3059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3060 errlist-compat value.
3061
50f81fd7
DM
30622012-04-18 David S. Miller <davem@davemloft.net>
3063
3064 * sysdeps/generic/memcopy.h (reg_char): Delete.
3065 * debug/strcat_chk.c: Use char, not reg_char.
3066 * debug/strcpy_chk.c: Likewise.
3067 * debug/strncat_chk.c: Likewise.
3068 * debug/strncpy_chk.c: Likewise.
3069 * string/memchr.c: Likewise.
3070 * string/memrchr.c: Likewise.
3071 * string/rawmemchr.c: Likewise.
3072 * string/strcat.c: Likewise.
3073 * string/strchr.c: Likewise.
3074 * string/strchrnul.c: Likewise.
3075 * string/strcmp.c: Likewise.
3076 * string/strcpy.c: Likewise.
3077 * string/strncat.c: Likewise.
3078 * string/strncmp.c: Likewise.
3079 * string/strncpy.c: Likewise.
3080
8ff41c46
WS
30812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3082
3083 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3084 __builtin_memcopy is called when src and dest ranges are known to not
3085 overlap.
3086
6b652f46
WS
30872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3088
3089 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3090 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3091 fwd_align_merge macro call.
3092 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3093 bwd_align_merge macro call.
3094 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3095
b282631e
WS
30962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3097
3098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3099 bwd_align_merge macros.
3100 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3101 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3103
95aa737c
DM
31042012-04-18 David S. Miller <davem@davemloft.net>
3105
3106 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3107
7a99a614
AJ
31082012-04-18 Andreas Jaeger <aj@suse.de>
3109
3110 [BZ# 6794]
3111 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3112 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3114
3115 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3116 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3117 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3118
3119 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3120 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3121 Adjust for changed ldbl-128 files.
3122
3123 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3124 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3126
e5270c23
DM
31272012-04-17 David S. Miller <davem@davemloft.net>
3128
3129 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3130
fb5e92c9
AS
31312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3132
3133 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3134 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3135 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3136 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3137 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3138 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3139
76da7265
AZ
31402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141
3142 [BZ #6794]
3143 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3144 * math/libm-test.inc: Add ilogb errno and exception tests.
3145 * math/w_ilogb.c: New file: ilogb wrapper.
3146 * math/w_ilogbf.c: New file: ilogbf wrapper.
3147 * math/w_ilogbl.c: New file: ilogbl wrapper.
3148 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3149 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3150 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3151 exception being thrown with 0.0 as argument.
3152 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3153 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3154 exception being thrown with 0.0 as argument.
3155 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3156 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3157 exception being thrown with 0.0 as argument.
3158 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3159 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3160 exception being thrown with 0.0 as argument.
3161 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3162 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3163 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3164 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3165 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3166 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3167 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3168 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3169 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3170
0396e69d
PB
31712012-04-17 Petr Baudis <pasky@ucw.cz>
3172
3173 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3174 with altivec.
3175
750b5926
MP
31762012-04-16 Marek Polacek <polacek@redhat.com>
3177
3178 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3179
751728a1
MP
31802012-04-16 Marek Polacek <polacek@redhat.com>
3181
3182 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3183 operands of fdivp instruction.
3184
34a27407
L
31852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3186
3187 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3188 * elf/tst-auditmod3b.c: Likewise.
3189 * elf/tst-auditmod4b.c: Likewise.
3190 * elf/tst-auditmod5b.c: Likewise.
3191 * elf/tst-auditmod6b.c: Likewise.
3192 * elf/tst-auditmod6c.c: Likewise.
3193 * elf/tst-auditmod7b.c: Likewise.
3194 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3195 * sysdeps/x86_64/preconfigure.in: Likewise.
3196 * sysdeps/x86_64/preconfigure: Regenerated.
3197
7e73e17d
L
31982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3201 __ILP32__.
3202
c7a6ab72
AB
32032012-04-13 Antoine Balestrat <merkil33@gmail.com>
3204
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3206 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3207
a9e8e0e0
CL
32082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3209
3210 [BZ #13973]
3211 * locale/iso-639.def: Fix gl language name. Spotted by
3212 Yaron Shahrabani.
3213
ec98af7d
RM
32142012-04-12 Roland McGrath <roland@hack.frob.com>
3215
3216 [BZ #2074]
3217 * libio/libio.h (__io_write_fn): Update comment.
3218
247c3ede
PB
32192012-04-12 Petr Baudis <pasky@ucw.cz>
3220
3221 [BZ #2074]
3222 * stdio.texi (Hook Functions): The user provided writer function
3223 is not allowed to return -1.
3224
55939d6d
DM
32252012-04-11 David S. Miller <davem@davemloft.net>
3226
3227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3228
90020f5a
MF
32292012-04-11 Mike Frysinger <vapier@gentoo.org>
3230
3231 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3232 Add a leading slash to rtkaio.
3233
288f9098
JM
32342012-04-11 Jim Meyering <meyering@redhat.com>
3235
90020f5a
MF
3236 [BZ #11959]
3237 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3238 It is not necessarily an error to ignore fwrite's return
3239 value. One can reliably use ferror to test for errors after
3240 the fact.
288f9098 3241
4be2b570
L
32422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3243
3244 * bits/types.h (__snseconds_t): New type.
3245 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3246
3247 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3249 (__SNSECONDS_T_TYPE): Likewise.
3250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3251 (__SNSECONDS_T_TYPE): Likewise.
3252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3253 (__SNSECONDS_T_TYPE): Likewise.
3254
288f9098 32552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3256
3257 [BZ #2636]
3258 * manual/time.texi (Processor Time): Return type of times is
3259 elapsed real time since an arbitrary point in the past.
3260 (CPU Time): Move CLK_TCK from here...
3261 (Processor Time): ...to here. Correct description.
3262 * manual/conf.texi (Constants for Sysconf): Correct description of
3263 _SC_CLK_TCK.
3264
d7dd4413
DM
32652012-04-10 David S. Miller <davem@davemloft.net>
3266
3267 [BZ #13967]
3268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3269 where the is a gap between DT_REL(A) and DT_JMPREL.
3270
b46068fc
L
32712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3272
3273 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3274 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3275 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3276
73d65cc3
SP
32772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3278
3279 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3280 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3281 (dl_main): Handle --inhibit-cache.
3282 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3283 _dl_inhibit_cache.
3284 * elf/dl-load.c (_dl_map_object): Use it.
3285 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3286
bcc8d661
JM
32872012-04-09 Joseph Myers <joseph@codesourcery.com>
3288
8f9a2fae
JM
3289 [BZ #13872]
3290 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3291 (__ieee754_powl): Saturate large exponents rather than testing for
3292 overflow of y*log2(x).
3293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3294 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3295 exceptions.
3296
bcc8d661
JM
3297 [BZ #11521]
3298 * math/s_ctan.c: Include <float.h>.
3299 (__ctan): Avoid internal overflow or cancellation in calculating
3300 denominator.
3301 * math/s_ctanf.c: Likewise.
3302 * math/s_ctanl.c: Likewise.
3303 * math/s_ctanh.c: Likewise.
3304 * math/s_ctanhf.c: Likewise.
3305 * math/s_ctanhl.c: Likewise.
3306 * math/libm-test.inc (ctan_test): Add more tests.
3307 (ctanh_test): Likewise.
3308 * sysdeps/i386/fpu/libm-test-ulps: Update.
3309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310
823fbbb4
AJ
33112012-04-09 Andreas Jaeger <aj@suse.de>
3312
03879793
AJ
3313 [BZ #6894]
3314 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3315 is an optional BSD extension.
3316
823fbbb4
AJ
3317 [BZ #10254]
3318 * manual/stdio.texi (Opening Streams): Document additional fopen
3319 parameters.
3320
8de131cb
RM
33212012-04-09 Roland McGrath <roland@hack.frob.com>
3322
3323 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3324 %eax without telling the compiler.
3325
c0ed9d7d
CD
33262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3327
3328 [BZ # 13963]
3329 * manual/install.texi: Use sourceware.org.
3330
c483f6b4
JM
33312012-04-09 Joseph Myers <joseph@codesourcery.com>
3332
d7dd9453
JM
3333 [BZ #13873]
3334 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3335 (__ieee754_pow): Generate overflow and underflow using huge*huge
3336 and tiny*tiny rather than just returning constant infinity or zero
3337 for large exponents.
3338 * math/libm-test.inc (pow_test): Require overflow exceptions for
3339 applicable cases of large exponents.
3340
c483f6b4
JM
3341 [BZ #706]
3342 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3343 (__ieee754_pow): Use iterative multiplication algorithm only for
3344 integer exponents with absolute value below 1024. Check for odd
3345 integer exponents when using algorithm for real exponents.
3346 * math/libm-test.inc (pow_test): Add more tests.
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3348
d2de7579
JM
33492012-04-08 Joseph Myers <joseph@codesourcery.com>
3350
3351 [BZ #13705]
3352 * math/libm-test.inc (exp_test): Do not allow overflow exception
3353 on underflow test.
3354
f77f1232
AJ
33552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3356
3357 [BZ #13705]
3358 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3359 instead of __kernel_standard_f.
3360
3884932b
MF
33612012-04-08 Mike Frysinger <vapier@gentoo.org>
3362
3363 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3364 * sysdeps/x86_64/memset_chk.S: Likewise.
3365
54472e9c
AJ
33662012-04-08 Andreas Jaeger <aj@suse.de>
3367
6ab0fbfc
AJ
3368 [BZ #10153]
3369 * manual/startup.texi (Environment Access): Describe return value
3370 for putenv and setenv.
3371
61efba8c
AJ
3372 [BZ #6895]
3373 * manual/filesys.texi (Directory Entries): Add description for
3374 DT_LNK.
3375
95c3f29a
AJ
3376 [BZ #6890]
3377 * manual/filesys.texi (Directory Entries): Clarify that it's file
3378 system not operating system in the description of DT_UNKNOWN.
3379
54472e9c
AJ
3380 [BZ #6578]
3381 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3382
624254b1
SC
33832012-04-08 Stephen Compall <s11@member.fsf.org>
3384
3385 [BZ #6649]
3386 * manual/llio.texi (Opening and Closing Files): Add cross
3387 reference to explain mode argument.
3388
1e4920e0
MF
33892012-04-07 Mike Frysinger <vapier@gentoo.org>
3390
3391 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3392 * sysdeps/x86_64/memset_chk.S: Likewise.
3393
5ed848f3
DM
33942012-04-07 David S. Miller <davem@davemloft.net>
3395
3396 * elf/elf.h (R_SPARC_WDISP10): Define.
3397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3398 R_SPARC_SIZE32.
3399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3400 R_SPARC_SIZE64 and R_SPARC_H34.
3401
96154cd8
CD
34022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3403
3404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3405 conditions and remove no longer applicable assertion.
3406
9904dc47
L
34072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * bits/byteswap.h: Include <features.h>.
3410 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3411 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3412
f8887d0a
L
34132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3414
3415 * bits/byteswap.h (__bswap_16): Removed.
3416 Include <bits/byteswap-16.h> to get __bswap_16.
3417 * sysdeps/i386/bits/byteswap.h: Likewise.
3418 * sysdeps/s390/bits/byteswap.h: Likewise.
3419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3420 * bits/byteswap-16.h: New file.
3421 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3422 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3423 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3424 * string/Makefile (headers): Add bits/byteswap-16.h.
3425
62470f60
PP
34262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3427
3428 [BZ #13895]
3429 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3430 extra indirection.
3431 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3432 * nss/tst-nss-static.c: New.
3433
4dad7bab
RM
34342012-04-06 Robert Millan <rmh@gnu.org>
3435
3436 [BZ #6486]
3437 * manual/llio.texi (File Position Primitive): lseek
3438 refers to WHENCE when it really means OFFSET.
3439
e9142a17
AJ
34402012-04-06 Andreas Jaeger <aj@suse.de>
3441
2c040eff
AJ
3442 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3443 strncmp declarations.
3444
e9142a17
AJ
3445 * abilist/libc.abilist: Add __poll and __ppoll.
3446
ff9f1c5f
DM
34472012-04-05 David S. Miller <davem@davemloft.net>
3448
dcd2ae90
DM
3449 * scripts/check-local-headers.sh: Accept a host triplet in the
3450 path matched by the exclude regexp.
3451
993eb054
DM
3452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3453 definition.
3454 * sysdeps/powerpc/powerpc32/dl-machine.h
3455 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3456 * sysdeps/s390/s390-32/dl-machine.h
3457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3458 * sysdeps/sparc/sparc32/dl-machine.h
3459 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3460 * sysdeps/sparc/sparc64/dl-machine.h
3461 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3462
ff9f1c5f
DM
3463 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3464 lazy binding.
48e2e132 3465 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3466 undefined symbol errors.
3467
48e2e132 3468 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3469 DT_NEEDED entries.
3470
e80d6f94
MM
34712012-04-05 Michael Matz <matz@suse.de>
3472
3473 [BZ #13592]
3474 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3475
349fa79f
AJ
34762012-04-05 Andreas Jaeger <aj@suse.de>
3477
3478 [BZ #13908]
3479 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3480 comment.
3481
f402708f
KK
34822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3483
3484 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3485 which ROUND is no valid rounding mode.
3486
2ecccfc9
KK
34872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3488
3489 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3490 read again.
3491 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3492
8a53f50f
KK
34932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3494
3495 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3496 an exception using FPU order intentionally.
3497
34982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3499
3500 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3501 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3502 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3503 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3504
d653abb7
SJ
35052012-04-05 Simon Josefsson <simon@josefsson.org>
3506
3507 [BZ #12340]
3508 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3509 EINVAL when BUFLEN is too smal.
3510
c3b1bf7d
TS
35112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3512
3513 [BZ #13553]
3514 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3515 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3516
b1aa60f3
AJ
35172012-04-03 Andreas Jaeger <aj@suse.de>
3518
c3b1bf7d 3519 [BZ #13938]
67f60a26
AJ
3520 * manual/setjmp.texi (System V contexts): Fix sentence.
3521
b1aa60f3
AJ
3522 [BZ #13926]
3523 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3524 New macro for this case.
3525 [!__GNUC__] (__bswap_64): New inline function for this case.
3526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3527 * bits/byteswap.h: Likewise.
3528 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3529 ull, guard with __GLIBC_HAVE_LONG_LONG.
3530
3531 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3532 __GLIBC_HAVE_LONG_LONG.
3533
3534 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3535 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3536
39c59c35
TMQMF
35372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3538
3539 [BZ #13691]
3540 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3541 inptr and inend, rather than using last_ch.
3542
135ffda8
DM
35432012-04-02 David S. Miller <davem@davemloft.net>
3544
3545 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3546 * stdio-common/printf-parse.h (read_int): Change return type to
3547 'int', return -1 on INT_MAX overflow.
3548 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3549 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3550 overflows INT_MAX. Check for overflow of in-format-string precision
3551 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3552 SIZE_MAX not INT_MAX for integer overflow test.
3553 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3554 skip the construct in the format string but do not record anything.
3555 * stdio-common/bug22.c: Adjust to test both width/prevision
3556 INT_MAX overflow as well as total length INT_MAX overflow. Check
3557 explicitly for proper errno values.
3558
228c019e
TS
35592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3560
302cadd3
TS
3561 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3562 CHAR_MAX.
3563 * string/test-strcmp.c [! WIDE]: Likewise.
3564 * time/tst-mktime2.c: Likewise for INT_MAX.
3565 * string/test-string.h: #include <sys/param.h> for MIN.
3566
228c019e
TS
3567 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3568 * sysdeps/i386/init-first.c (init): Likewise.
3569 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3570 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3571 * sysdeps/sh/init-first.c (init): Likewise.
3572
cfa633f5
UD
35732012-04-01 Ulrich Drepper <drepper@gmail.com>
3574
3575 * po/ru.po: Update from translation team.
d1635ef8 3576 * po/vi.po: Likewise.
cfa633f5 3577
6cd0a5ea
SP
35782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
3580 * resolv/nss_dns/dns-host.c: Merge copyright years.
3581
4b43400f
LD
35822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3583
3584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3585 Optimize memcpy with prefetch if
3586 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3587 src, dst pointers have unequal 16 byte alignments.
3588
48c41d04
SP
35892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3590
3591 [BZ #13928]
3592 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3593 from a CNAME entry and return the minimum ttl for the query.
3594 (gaih_getanswer_slice): Likewise.
3595
b8dc394d
JL
35962012-03-30 Jeff Law <law@redhat.com>
3597
3598 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3599 due to long keys.
3600 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3601 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3602
2f5a5ed0
JL
3603 * resolv/nss_dns/dns-host.c: Update copyright year.
3604
1d39e359
UD
36052012-03-30 Ulrich Drepper <drepper@gmail.com>
3606
c030f70c 3607 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3608 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3609
1d39e359
UD
3610 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3611 comments for sendmmsg.
3612
36132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3614
3615 [BZ #13691]
3616 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3617 with only 1 character between 0x0041 and 0x01b0.
3618 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3619 * wcsmbs/tst-mbsnrtowcs.c: New file.
3620
20fde227
DM
36212012-03-29 David S. Miller <davem@davemloft.net>
3622
3623 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3624 small copies by hand.
3625
984a4237
JL
36262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
3628 [BZ #13761]
3629 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3630 _nss_compat_initgroups_dyn): Fall back to malloc/free
3631 for large group memberships.
3632
18c9d62b
DM
36332012-03-28 David S. Miller <davem@davemloft.net>
3634
88d85d4f
DM
3635 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3636 that branches into memcpy.
3637 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3640 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3642 bits.
3643 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3644 implementation too.
3645 * sysdeps/sparc/mempcpy.S: New file.
3646
e5aa83e1
DM
3647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3648 the IFUNC routine in the libc case.
3649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3650
88570753
DM
3651 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3652 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3653 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3654 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3655 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3656 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3657 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3658 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3659
249d7567
DM
3660 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3661 loop to 256 bytes instead of 64 bytes and fix test signedness.
3662
18c9d62b
DM
3663 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3664 * sysdeps/sparc/sparc32/Makefile: rather than here...
3665 * sysdeps/sparc/sparc64/Makefile: and here.
3666
05f3d1f6
UD
36672012-03-28 Ulrich Drepper <drepper@gmail.com>
3668
3669 * malloc/mallocbug.c: Avoid warnings about unused variables.
3670
86ae07a8
JL
36712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3672
3673 [BZ #13760]
3674 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3675 in the right place. Discard and retry query if response is
3676 larger than input buffer size.
3677
41bf21a1
JM
36782012-03-28 Joseph Myers <joseph@codesourcery.com>
3679
d6270972
JM
3680 [BZ #369]
3681 [BZ #2678]
3682 [BZ #3866]
3683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3684 x for large integer exponent.
3685 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3686 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3687 sign of result as needed afterwards.
3688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3689 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3690 result for underflowing pow the same as for overflow.
3691 (__kernel_standard_l): Handle powl overflow and underflow here
3692 rather than calling __kernel_standard.
3693 * math/libm-test.inc (pow_test): Add more tests.
3694
414fca03 3695 [BZ #3868]
41bf21a1
JM
3696 [BZ #13879]
3697 [BZ #13910]
3698 [BZ #13911]
3699 [BZ #13912]
3700 [BZ #13913]
3701 [BZ #13915]
3702 [BZ #13916]
3703 [BZ #13917]
3704 [BZ #13918]
3705 [BZ #13919]
3706 [BZ #13920]
3707 [BZ #13921]
3708 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3709 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3710 (__kernel_standard_l): New function.
3711 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3712 __kernel_standard.
3713 * math/w_acosl.c (__acosl): Likewise.
3714 * math/w_asinl.c (__asinl): Likewise.
3715 * math/w_atan2l.c (__atan2l): Likewise.
3716 * math/w_atanhl.c (__atanhl): Likewise.
3717 * math/w_coshl.c (__coshl): Likewise.
3718 * math/w_exp10l.c (__exp10l): Likewise.
3719 * math/w_exp2l.c (__exp2l): Likewise.
3720 * math/w_fmodl.c (__fmodl): Likewise.
3721 * math/w_hypotl.c (__hypotl): Likewise.
3722 * math/w_j0l.c (__j0l, __y0l): Likewise.
3723 * math/w_j1l.c (__j1l, __y1l): Likewise.
3724 * math/w_jnl.c (__jnl, __ynl): Likewise.
3725 * math/w_lgammal.c (__lgammal): Likewise.
3726 * math/w_log10l.c (__log10l): Likewise.
3727 * math/w_log2l.c (__log2l): Likewise.
3728 * math/w_logl.c (__logl): Likewise.
3729 * math/w_powl.c (__powl): Likewise.
3730 * math/w_remainderl.c (__remainderl): Likewise.
3731 * math/w_scalbl.c (sysv_scalbl): Likewise.
3732 * math/w_sinhl.c (__sinhl): Likewise.
3733 * math/w_sqrtl.c (__sqrtl): Likewise.
3734 * math/w_tgammal.c (__tgammal): Likewise.
3735 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3736 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3737 * math/libm-test.inc (acos_test): Add more tests.
3738 (acosh_test): Likewise.
3739 (asin_test): Likewise.
3740 (atanh_test): Likewise.
3741 (exp_test): Likewise.
3742 (exp10_test): Likewise.
3743 (exp2_test): Likewise.
3744 (expm1_test): Likewise.
3745 (lgamma_test): Likewise.
3746 (log_test): Likewise.
3747 (log10_test): Likewise.
3748 (log1p_test): Likewise.
3749 (log2_test): Likewise.
3750 (pow_test): Do not allow some spurious overflow exceptions.
3751 (sqrt_test): Add more tests.
3752 (tgamma_test): Likewise.
3753 (y0_test): Likewise.
3754 (y1_test): Likewise.
3755 (yn_test): Likewise.
3756
dd62fda6
AB
37572012-03-27 Anton Blanchard <anton@samba.org>
3758
3759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3760 MAP_HUGETLB.
3761 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3762 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3764
1e3cdfda
AJ
37652012-03-27 David S. Miller <davem@davemloft.net>
3766
b855ab85
DM
3767 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3768
1e3cdfda
AJ
3769 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3770 have-as-vis3 check.
3771
37722012-03-27 Andreas Jaeger <aj@suse.de>
3773
3774 * sysdeps/x86_64/elf/configure.in: Moved to ...
3775 * sysdeps/x86_64/configure.in: ... here.
3776 * sysdeps/x86_64/elf/start.S: Moved to ...
3777 * sysdeps/x86_64/start.S: ... here.
3778 * sysdeps/x86_64/elf/configure: Delete.
3779
3780 * sysdeps/x86_64/configure.in: Merge contents from
3781 sysdeps/i386/configure.in (without i686 check).
3782
3783 * sysdeps/i386/elf/Versions: Merge into ...
3784 * sysdeps/i386/Versions: ... this.
3785 * sysdeps/i386/elf/Versions: Delete file.
3786 * sysdeps/i386/elf/start.S: Moved to ...
3787 * sysdeps/i386/start.S: ...here.
3788 * sysdeps/i386/elf/configure.in: Merge into...
3789 * sysdeps/i386/configure.in: ...here.
3790 * sysdeps/i386/elf/configure.in: Delete file.
3791 * sysdeps/i386/elf/configure: Delete file.
3792
3793 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3794 * debug/backtracesyms.c: ... here.
3795 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3796 * debug/backtracesymsfd.c: ... here.
3797 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3798 * sysdeps/generic/ifunc-sel.h: ... here.
3799
3800 * sysdeps/unix/i386/start.c: Delete file.
3801 * sysdeps/unix/sparc/start.c: Delete file.
3802 * sysdeps/unix/start.c: Delete file.
3803
3804 * sysdeps/sh/elf/configure.in: Moved to ...
3805 * sysdeps/sh/configure.in: ... here.
3806 * sysdeps/sh/elf/start.S: Moved to ...
3807 * sysdeps/sh/start.S: ... here.
3808 * sysdeps/sh/elf/configure: Delete file.
3809
3810 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3811 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3812 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3813 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3814 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3815 * sysdeps/powerpc/powerpc64/start.S: here.
3816 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3817 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3818 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3819 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3820 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3821
3822 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3823 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3824 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3825 * sysdeps/powerpc/powerpc32/start.S: ... here.
3826 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3827 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3828 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3829
3830 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3831 * sysdeps/powerpc/ifunc-sel.h: ... here.
3832 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3833 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3834
3835 * sysdeps/sparc/elf/configure.in: Moved to ...
3836 * sysdeps/sparc/configure.in: ... here.
3837 * sysdeps/sparc/elf/configure: Delete file.
3838 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3839 * sysdeps/sparc/sparc32/start.S: ... here.
3840 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3841 * sysdeps/sparc/sparc64/start.S: ... here.
3842 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3843 * sysdeps/sparc/sparc32/Makefile: ... this.
3844 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3845 * sysdeps/sparc/sparc64/Makefile: ... this.
3846
3847 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3848 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3849 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3850 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3851 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3852 * sysdeps/s390/s390-32/setjmp.S: ... here.
3853 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3854 * sysdeps/s390/s390-32/configure.in: ... here.
3855 * sysdeps/s390/s390-32/elf/configure: Delete file.
3856 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3857 * sysdeps/s390/s390-32/start.S: ... here.
3858
3859 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3860 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3861 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3862 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3863 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3864 * sysdeps/s390/s390-64/setjmp.S: ... here.
3865 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3866 * sysdeps/s390/s390-64/configure.in: ... here
3867 * sysdeps/s390/s390-64/elf/configure: Delete file.
3868 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3869 * sysdeps/s390/s390-64/start.S: ... here.
3870 * sysdeps/s390/s390-64/elf/configure: Delete.
3871
3872 * configure.in: Remove support for elf directories in sysdeps.
3873
3874 * configure: Regenerated.
3875 * sysdeps/i386/configure: Regenerated.
3876 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3877 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3878 * sysdeps/s390/s390-32/configure: Regenerated.
3879 * sysdeps/s390/s390-64/configure: Regenerated.
3880 * sysdeps/sh/configure: Regenerated.
3881 * sysdeps/sparc/configure: Regenerated.
3882 * sysdeps/x86_64/configure: Regenerated.
3883
a3f61311
AS
38842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3885
c876e002
AS
3886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3887
a3f61311
AS
3888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3889 denormal result into account.
3890
ac4c54f0
RM
38912012-03-25 Roland McGrath <roland@hack.frob.com>
3892
3893 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3894 Reported by Allan McRae <allan@archlinux.org>.
3895
6a9b9c02
JL
38962012-03-23 Jeff Law <law@redhat.com>
3897
3898 * nss/getnssent.c (__nss_getent): Fix typo.
3899
4c42a0c1
DM
39002012-03-23 David S. Miller <davem@davemloft.net>
3901
3902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3903
1532c7ac
L
39042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3905
3906 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3907 to pad to uint64_t for each field.
3908 (dl_tls_index): Replace unsigned long with uint64_t.
3909
3ff42526
PP
39102012-03-23 Daniel Jacobowitz <dmj@google.com>
3911 Paul Pluzhnikov <ppluzhnikov@google.com>
3912
3913 [BZ #6528]
3914 * grp/Makefile (otherlibs): Don't set it.
3915 * inet/Makefile (otherlibs): Likewise.
3916 * login/Makefile (otherlibs): Likewise.
3917 * nscd/Makefile (otherlibs): Likewise.
3918 * posix/Makefile (otherlibs): Likewise.
3919 * pwd/Makefile (otherlibs): Likewise.
3920 * rt/Makefile (otherlibs): Likewise.
3921 * sunrpc/Makefile (otherlibs): Likewise.
3922 * nss/Makefile (otherlibs): Likewise.
3923 Add libnss_files to routines and static-only-routines.
3924 ($(objpfx)getent): Remove rule.
3925 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3926 static-only-routines.
3927
7c69cd14
JM
39282012-03-22 Joseph Myers <joseph@codesourcery.com>
3929
3930 [BZ #13892]
3931 * math/s_cexp.c: Include <float.h>.
3932 (__cexp): Handle exp result overflowing not necessarily
3933 overflowing both real and imaginary parts of result.
3934 * math/s_cexpf.c: Likewise.
3935 * math/s_cexpl.c: Likewise.
3936 * math/libm-test.inc (cexp_test): Add more tests.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939
81b035fe
L
39402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * include/link.h (ELFW): New macro.
3943 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3944 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3945
1da7940c
L
39462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3947
3948 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3949 with uint64_t.
3950
b749dbb9
L
39512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3954 declaration.
3955 (struct La_x32_retval): Likewise.
3956
2ff87f3f
L
39572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * sysdeps/x86_64/preconfigure.in: New file.
3960 * sysdeps/x86_64/preconfigure: New generated file.
3961
c0df8e69
JM
39622012-03-22 Joseph Myers <joseph@codesourcery.com>
3963
48e44791
JM
3964 [BZ #13824]
3965 * math/e_exp2l.c: Include <float.h>.
3966 (__ieee754_exp2l): Handle overflow and underflow cases
3967 separately. Only pass fractional part of argument to
3968 __ieee754_expl.
3969 * math/libm-test.inc (exp2_test): Add more tests.
3970
c0df8e69
JM
3971 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3972 negating x to take absolute value.
3973 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3974 Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3977 Likewise.
3978 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3979 computing low part if x was negated.
3980 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3981
c8e43ba7
L
39822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3985 la_x32_gnu_pltexit.
3986 (pltexit): Cast int_retval to ptrdiff_t.
3987 * elf/tst-auditmod3b.c: Likewise.
3988 * elf/tst-auditmod4b.c: Likewise.
3989 * elf/tst-auditmod5b.c: Likewise.
3990 * elf/tst-auditmod6b.c: Likewise.
3991 * elf/tst-auditmod6c.c: Likewise.
3992 * elf/tst-auditmod7b.c: Likewise.
3993
3994 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3995 and x32_gnu_pltexit.
3996
3997 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3998 __ELF_NATIVE_CLASS.
3999 (La_x32_regs): New macro.
4000 (La_x32_retval): Likewise.
4001 (la_x32_gnu_pltenter): New function prototype.
4002 (la_x32_gnu_pltexit): Likewise.
4003
7998fa78
AS
40042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4005
dcb33988
AS
4006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4007 exponent.
4008
233fc563
AS
4009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4010
7998fa78
AS
4011 * configure.in (libc_cv_cc_nofma): Check for option to disable
4012 generation of FMA instructions.
4013 * configure: Regenerate.
4014 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4015 * sysdeps/ieee754/dbl-64/Makefile: New file.
4016 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4017 Remove brandred-fma4.
4018 (CFLAGS-brandred-fma4.c): Remove.
4019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4020 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4021 define.
4022 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4023 define.
4024
8e95c99a
L
40252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4026
4027 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4028 LLONG_MAX != LONG_MAX.
4029 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4030 (_fitoa_word): Likewise.
4031 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4032 LLONG_MAX != LONG_MAX.
4033 * stdio-common/_itowa.h: Include <_itoa.h>.
4034 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4035 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4036 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4037 only if not defined.
4038 (_ITOA_WORD_TYPE): Likewise.
4039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4040 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4041
6f4db457
DM
40422012-03-21 David S. Miller <davem@davemloft.net>
4043
4044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4045
7785fe5a
L
40462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4049 of x86_64 when setting libc_cv_slibdir, libdir and
4050 libc_cv_localedir.
4051 * sysdeps/unix/sysv/linux/configure: Regenerated.
4052
4535cd55
JM
40532012-03-21 Joseph Myers <joseph@codesourcery.com>
4054
4055 * manual/lang.texi (Old Varargs): Remove section.
4056 (How Variadic): Update menu.
4057 (va_start): Do not mention varargs.h.
4058
17228132
TS
40592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4060 Joseph Myers <joseph@codesourcery.com>
4061
4062 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4063 link test.
4064 * configure: Regenerated.
4065
8149f976
TS
40662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4067
05f3d1f6
UD
4068 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4069 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4070 conformtest.pl
8149f976 4071
1a4ac776
JM
40722012-03-21 Joseph Myers <joseph@codesourcery.com>
4073
be22ce65
JM
4074 * NOTES: Remove.
4075 * Makefile (files-for-dist): Remove NOTES.
4076 (NOTES): Remove rule.
4077 * README: Don't refer to NOTES.
4078 * manual/creature.texi: Don't include macros.texi.
4079 * manual/intro.texi (creature.texi): Remove comment referring to
4080 NOTES.
4081
40b601fb
JM
4082 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4083 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4084 * configure: Regenerated.
4085 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4086 LIBC_TRY_CC_OPTION.
4087 (libc_cv_as_i686): Likewise.
4088 (libc_cv_cc_avx): Likewise.
4089 (libc_cv_cc_sse2avx): Likewise.
4090 (libc_cv_cc_fma4): Likewise.
4091 (libc_cv_cc_novzeroupper): Likewise.
4092 * sysdeps/i386/configure: Regenerated.
4093
1a4ac776
JM
4094 [BZ #13883]
4095 * sysdeps/i386/fpu/s_cexp.S: Remove.
4096 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4097 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4098 * math/libm-test.inc (cexp_test): Add more tests.
4099 * sysdeps/i386/fpu/libm-test-ulps: Update.
4100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4101
a458e7fe
AM
41022012-03-21 Allan McRae <allan@archlinux.org>
4103
4104 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4105
0cb7efc5
JM
41062012-03-21 Joseph Myers <joseph@codesourcery.com>
4107
4108 [BZ #13871]
4109 * math/w_exp2.c: Do not include <float.h>.
4110 (o_threshold, u_threshold): Remove.
4111 (__exp2): Calculate result before checking finiteness and calling
4112 __kernel_standard.
4113 * math/w_exp2f.c: Likewise.
4114 * math/w_exp2l.c: Likewise.
4115 * math/libm-test.inc (exp2_test): Require overflow exception for
4116 1e6 input.
2460d3aa
JM
4117
4118 [BZ #3866]
4119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4120 range of signed 64-bit integers before using fistpll. Remove
4121 checks for whether integers fit in mantissa bits.
4122 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4123 the range of signed 32-bit integers before using fistpl. Remove
4124 checks for whether integers fit in mantissa bits.
4125 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4126 (__ieee754_powl): Test for y outside the range of signed 64-bit
4127 integers before using fistpll. Reduce 64-bit values to 63-bit
4128 ones as needed.
4129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4130 divide-by-zero is raised for zero to large negative powers.
4131 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4132 (__ieee754_powl): Test for y outside the range of signed 64-bit
4133 integers before using fistpll. Reduce 64-bit values to 63-bit
4134 ones as needed.
4135 * math/libm-test.inc (pow_test): Add more tests.
4136
eb96ffb0
L
41372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4140 <stdio-common/_itoa.h>.
4141 * debug/segfault.c: Likewise.
4142 * elf/dl-cache.c: Likewise.
4143 * elf/dl-minimal.c: Likewise.
4144 * elf/dl-misc.c: Likewise.
4145 * elf/dl-sysdep.c: Likewise.
4146 * elf/dl-version.c: Likewise.
4147 * elf/rtld.c: Likewise.
4148 * hurd/hurdsock.c: Likewise.
4149 * hurd/lookup-retry.c: Likewise.
4150 * malloc/malloc.c: Likewise.
4151 * malloc/mtrace.c: Likewise.
4152 * nscd/nscd_getgr_r.c: Likewise.
4153 * nscd/nscd_getpw_r.c: Likewise.
4154 * nscd/nscd_getserv_r.c: Likewise.
4155 * posix/getopt_init.c: Likewise.
4156 * posix/wordexp.c: Likewise.
4157 * stdio-common/_itoa.c: Likewise.
4158 * stdio-common/printf_fphex.c: Likewise.
4159 * stdio-common/vfprintf.c: Likewise.
4160 * string/_strerror.c: Likewise.
4161 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4162 * sysdeps/i386/i686/hp-timing.h: Likewise.
4163 * sysdeps/mach/_strerror.c: Likewise.
4164 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4165 * sysdeps/mach/hurd/sethostid.c: Likewise.
4166 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4167 * sysdeps/mach/xpg-strerror.c: Likewise.
4168 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4169 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4170 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4171 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4172 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4173 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4175 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4176 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4177 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4180 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4181 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4182 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4184 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4185 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4186 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4187 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4188 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4189
4190 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4191
4192 * stdio-common/_itoa.h: Moved to ...
4193 * sysdeps/generic/_itoa.h: Here.
4194
4195 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4196
4197 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4198 instead of "_itoa.h" and "_itowa.h".
4199 * stdio-common/vfprintf.: Likewise.
4200
d1af992d
L
42012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4204 <bits/wordsize.h>.
4205 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4206 (__signbit): Likwise.
4207 (llrintf): Likwise.
4208 (llrint): Likwise.
4209
114883e0
L
42102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4211
4212 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4213 __WORDSIZE != 64.
4214
c135cc1b
JM
42152012-03-20 Joseph Myers <joseph@codesourcery.com>
4216
4217 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4218 OVERFLOW_EXCEPTION_OK.
4219 * math/libm-test.inc ("Philosophy"): Update comment about
4220 exception testing.
4221 (OVERFLOW_EXCEPTION): Define.
4222 (OVERFLOW_EXCEPTION_OK): Likewise.
4223 (INVALID_EXCEPTION_OK): Renumber.
4224 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4225 (IGNORE_ZERO_INF_SIGN): Likewise.
4226 (test_exceptions): Handle FE_OVERFLOW.
4227 (exp10_test): Expect overflow exceptions.
4228 (exp2_test): Likewise.
4229 (expm1_test): Likewise.
4230 (nextafter_test): Likewise.
4231 (pow_test): Likewise.
4232 (scalbn_test): Likewise.
4233 (scalbln_test): Likewise.
4234
95443d88
L
42352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4236
4237 * sysdeps/x86_64/bits/atomic.h
4238 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4239 64bit integer.
4240 (atomic_exchange_acq): Likewise.
4241 (__arch_exchange_and_add_body): Likewise.
4242 (__arch_add_body): Likewise.
4243 (atomic_add_negative): Likewise.
4244 (atomic_add_zero): Likewise.
4245
490df6c4
L
42462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4247
c2722551 4248 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4249 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4250
5e52b189
L
42512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4252
4253 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4254 Check __x86_64__ instead of __WORDSIZE.
4255
a9879d4c
L
42562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4259
5df98260
DM
42602012-03-19 David S. Miller <davem@davemloft.net>
4261
e1497744
DM
4262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4263
5df98260
DM
4264 * sysdeps/sparc/fpu/fenv_private.h: New file.
4265 * sysdeps/sparc/fpu/math_private.h: Use it.
4266 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4267 Remove.
4268 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4269 (libc_feholdexcept_setroundl): Remove.
4270 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4271 Remove.
4272 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4273 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4274
b4c35121
L
42752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4276
4277 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4278 int64_t instead of long int.
4279 (INSERT_WORDS64): Likwise.
4280
56965fd7
L
42812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4284 _Unwind_GetCFA return to _Unwind_Ptr first.
4285
83d1aec8
JM
42862012-03-19 Joseph Myers <joseph@codesourcery.com>
4287
1897ad44
JM
4288 [BZ #13629]
4289 * math/s_clog.c: Include <float.h>.
4290 (__clog): Scale large or subnormal inputs.
4291 * math/s_clogf.c: Likewise.
4292 * math/s_clogl.c: Likewise.
4293 * math/s_clog10.c: Include <float.h>.
4294 (M_LOG10_2): Define.
4295 (__clog10): Scale large or subnormal inputs.
4296 * math/s_clog10f.c: Likewise.
4297 * math/s_clog10l.c: Likewise.
4298 * math/libm-test.inc (clog_test): Add more tests.
4299 (clog10_test): Likewise.
4300 * sysdeps/i386/fpu/libm-test-ulps: Update.
4301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302
7726d6a9
JM
4303 [BZ #11451]
4304 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4305 x and y.
4306 * math/libm-test.inc (atan2_test): Add another test.
4307
83d1aec8
JM
4308 * Makerules (common-objdir-compile): Remove.
4309 * sysdeps/unix/Makefile (config-generated): Do not add
4310 $(unix-generated) to variable.
4311 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4312 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4313 Remove rule.
4314 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4315 Likewise.
4316 [generic bits/local_lim.h] (before-compile): Do not append to
4317 variable.
4318 [generic bits/local_lim.h] (common-generated): Likewise.
4319 [generic sys/param.h] (before-compile): Do not append to variable.
4320 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4321 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4322 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4323 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4324 include.
4325 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4326 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4327 [generic sys/param.h] ($(addprefix
4328 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4329 [generic sys/param.h] (common-generated): Do not append to
4330 variable.
4331 [generic sys/param.h] (sysdep_headers): Likewise.
4332 [generic bits/errno.h] (before-compile): Do not append to
4333 variable.
4334 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4335 rule.
4336 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4337 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4338 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4339 [generic bits/errno.h] (common-generated): Do not append to
4340 variable.
4341 [generic bits/ioctls.h] (before-compile): Do not append to
4342 variable.
4343 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4344 rule.
4345 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4346 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4347 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4348 rule.
4349 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4350 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4351 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4352 [generic bits/ioctls.h] (common-generated): Do not append to
4353 variable.
4354 [generic sys/syscall.h] (syscall.h): Remove variable.
4355 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4356 rule.
4357 [generic sys/syscall.h] (before-compile): Do not append to
4358 variable.
4359 [generic sys/syscall.h] (common-generated): Likewise.
4360 * sysdeps/unix/errnos-tmpl.c: Remove file.
4361 * sysdeps/unix/errnos.awk: Likewise.
4362 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4363 * sysdeps/unix/ioctls.awk: Likewise.
4364 * sysdeps/unix/mk-local_lim.c: Likewise.
4365 * sysdeps/unix/snarf-ioctls: Likewise.
4366
4851a949
RH
43672012-03-19 Richard Henderson <rth@twiddle.net>
4368
bd37f2ee
RH
4369 * sysdeps/i386/fpu/fenv_private.h: New file.
4370 * sysdeps/i386/fpu/math_private.h: Use it.
4371 (math_opt_barrier, math_force_eval): Remove.
4372 (libc_feholdexcept_setround_53bit): Remove.
4373 (libc_feupdateenv_53bit): Remove.
4374 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4375 (math_opt_barrier, math_force_eval): Remove.
4376 (libc_feholdexcept): Remove.
4377 (libc_feholdexcept_setround): Remove.
4378 (libc_fetestexcept, libc_fesetenv): Remove.
4379 (libc_feupdateenv_test): Remove.
4380 (libc_feupdateenv, libc_feholdsetround): Remove.
4381 (libc_feresetround): Remove.
4382
d0adc922
RH
4383 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4384 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4385
0fe0f1f8
RH
4386 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4387 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4388 (libc_feupdateenv_testl): New.
4389 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4390 (libc_feupdateenv_testf): New.
4391 (libc_feupdateenv): Use libc_feupdateenv_test.
4392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4394
eb92c487
RH
4395 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4396 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4397 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4398 (libc_feresetround_noex): New.
4399 (libc_feresetround_noexf): New.
4400 (libc_feresetround_noexl): New.
4401 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4402 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4403 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4405 SET_RESTORE_ROUND.
4406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4408 (__cos): Likewise.
4409 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4410 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4411 SET_RESTORE_ROUND_NOEX.
4412 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4413 SET_RESTORE_ROUND_NOEXF.
4414 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4415 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4416 (libc_feholdsetroundf): New.
4417 (libc_feresetround, libc_feresetroundf): New.
4418
7d2e8012
RH
4419 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4420 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4421 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4422
b4dabbb4
RH
4423 * sysdeps/generic/math_private.h: Include <fenv.h>.
4424 (default_libc_feholdexcept): New.
4425 (default_libc_feholdexcept_setround): New.
4426 (default_libc_fesetenv, default_libc_feupdateenv): New.
4427 (libc_feholdexcept): Only define if undefined.
4428 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4429 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4430 (libc_feholdexcept_setroundl): Likewise.
4431 (libc_feholdexcept_setround_53bit): Likewise.
4432 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4433 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4434 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4435 (libc_feupdateenv_53bit): Likewise.
4436 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4437 (libc_feholdexcept): Convert from macro to inline function.
4438 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4439 (libc_fesetenv, libc_feupdateenv): Likewise.
4440
4851a949
RH
4441 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4442 not previously defined.
4443 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4444 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4445 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4446 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4447 * sysdeps/ieee754/flt-32/math_private.h: New file.
4448 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4449 math_private.h below SET_FLOAT_WORD.
4450 (__isnan, __isinf_ns, __finite): Remove.
4451 (__isnanf, __isinf_nsf, __finitef): Remove.
4452
e79d442e
AS
44532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4454
4455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4456
90b80344
DM
44572012-03-17 David S. Miller <davem@davemloft.net>
4458
4459 [BZ #6471]
4460 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4461 for 2.16.
4462
edc21804
DM
44632012-03-16 David S. Miller <davem@davemloft.net>
4464
77e927af
DM
4465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4466 warnings.
4467
374976dd
DM
4468 [BZ #6471]
4469 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4470 properly.
4471 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4472 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4473 sysdep_routines when subdir is sysvipc.
4474 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4475 __getshmlba helper.
4476
edc21804
DM
4477 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4478
473c3ef3
L
44792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4482 [__LP64__].
4483
eb0f39b6
L
44842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4487 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4488 (__lround): Renamed to ...
4489 (__llround): This. Replace long int with long long int.
4490 Define lround functions as aliases of llround functions.
4491 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4492
6b6cd74b
L
44932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4494
4495 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4496 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4497 adresses to uintptr_t. Replace "long int" and "unsigned long
4498 int" with "greg_t" on va_arg.
4499
f1a77b01
L
45002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4503 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4504
4505 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4506 Move e_machine check before EI_CLASS check. Handle x32
4507 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4508 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4509 SKIP_EM_IA_64 and include
4510 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4511
4512 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4513 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4514 (add_system_dir): New macro.
4515
4516 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4517 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4518
11b90b9f
JM
45192012-03-16 Joseph Myers <joseph@codesourcery.com>
4520
c36e1d23
JM
4521 [BZ #2551]
4522 [BZ #2552]
4523 [BZ #2553]
4524 [BZ #2554]
4525 [BZ #2562]
4526 [BZ #2563]
4527 [BZ #2565]
4528 [BZ #2566]
4529 [BZ #2576]
4530 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4531 (y0): Likewise.
4532 * math/w_j0f.c (j0f): Likewise.
4533 (y0f): Likewise.
4534 * math/w_j0l.c (__j0l): Likewise.
4535 (__y0l): Likewise.
4536 * math/w_j1.c (j1): Likewise.
4537 (y1): Likewise.
4538 * math/w_j1f.c (j1f): Likewise.
4539 (y1f): Likewise.
4540 * math/w_j1l.c (__j1l): Likewise.
4541 (__y1l): Likewise.
4542 * math/w_jn.c (jn): Likewise.
4543 (yn): Likewise.
4544 * math/w_jnf.c (jnf): Likewise.
4545 (ynf): Likewise.
4546 * math/w_jnl.c (__jnl): Likewise.
4547 (__ynl): Likewise.
4548 * math/libm-test.inc (j0_test): Add more tests.
4549 (j1_test): Likewise.
4550 (jn_test): Likewise. Add trailing semicolon to existing test.
4551 (y0_test): Likewise.
4552 (y1_test): Likewise.
4553 * sysdeps/i386/fpu/libm-test-ulps: Update.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555
11b90b9f
JM
4556 [BZ #13851]
4557 [BZ #13854]
4558 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4559 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4560 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4562 (__tanl): Set errno for infinite argument.
4563 * sysdeps/i386/fpu/mptan.c: Remove.
4564 * sysdeps/i386/fpu/s_tan.S: Likewise.
4565 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4566 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4567 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4568 * math/libm-test.inc (tan_test): Add more tests and enable more
4569 tests for double and long double.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
6a1bd2a1
JK
45732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4576 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4577
10a803e0
RM
45782012-03-16 Roland McGrath <roland@hack.frob.com>
4579
4580 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4581 * configure.in: Use it for both main tree and add-ons.
4582 * configure: Regenerated.
4583
f196c7f7
L
45842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4587
8848d99d
JM
45882012-03-16 Joseph Myers <joseph@codesourcery.com>
4589
96cbe7f4
JM
4590 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4591 in comment.
4592
8848d99d
JM
4593 [BZ #13851]
4594 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4595 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4597 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4598 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4599 infinite argument.
4600 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4602 != 0 for prec == 2.
4603 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4604 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4605 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4606 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4607 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4608 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4609 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4610 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4611 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4612 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4613 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4614 * math/libm-test.inc (cos_test): Add more tests and enable more
4615 tests for long double.
4616 (sin_test): Likewise.
4617 (sincos_test): Likewise.
4618 * sysdeps/i386/fpu/libm-test-ulps: Update.
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4620
dd7f4703
DM
46212012-03-16 David S. Miller <davem@davemloft.net>
4622
4623 * sysdeps/sparc/fpu/math_private.h: New file.
4624
006f1daa
DM
46252012-03-15 David S. Miller <davem@davemloft.net>
4626
c0c83bc8
DM
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4628 file.
e6a62e18 4629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4631 file.
e6a62e18
DM
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4638 sysdep routines.
4639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4640
88cb87d9
DM
4641 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4642 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4643
006f1daa 4644 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4646 sparc-ifunc.h
006f1daa 4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4649 Likewise.
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4651 Likewise.
006f1daa
DM
4652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4656 Likewise.
006f1daa
DM
4657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4662 Likewise.
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4664 Likewise.
006f1daa
DM
4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4689
11e0098e
AS
46902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4691
4692 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4693 scaling.
4694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4695
e85b09d0
AJ
46962012-03-15 Andreas Jaeger <aj@suse.de>
4697
4698 [BZ #13852]
4699 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4700 ieee754/flt-32 implementation for sin, cos and sincos.
4701 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4702 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4703 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4704 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4705 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4706 ieee754/flt-32 implementation for tan.
4707
4708 * math/libm-test.inc (cos_test): Enable some large input tests for
4709 float as well
4710 (sin_test): Likewise.
4711 (sincos_test): Likewise.
4712 (tan_test): Add tests for large input.
4713
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715
81c64153
AJ
47162012-03-15 Andreas Jaeger <aj@suse.de>
4717
4718 [BZ #13658]
4719 * math/libm-test.inc (cos_test): Add more test cases.
4720 (sin_test): Likewise.
4721 (sincos_test): Likewise.
4722
7bbfa5c6
AJ
47232012-03-15 Andreas Jaeger <aj@suse.de>
4724
4725 [BZ #13837]
4726 * math/libm-test.inc (cos_test): Add a test case for large input
4727 value.
4728 (sin_test): Likewise.
4729 (sincos_test): Likewise.
4730
47312012-03-15 Andreas Jaeger <aj@suse.de>,
4732 Joseph Myers <joseph@codesourcery.com>
4733
4734 [BZ #13658]
0671f479 4735 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4736 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4737 * sysdeps/i386/fpu/branred.c: Likewise.
4738 * sysdeps/i386/fpu/dosincos.c: Likewise.
4739 * sysdeps/i386/fpu/mpa.c: Likewise.
4740 * sysdeps/i386/fpu/s_cos.S: Likewise.
4741 * sysdeps/i386/fpu/s_sin.S: Likewise.
4742 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4743 * sysdeps/i386/fpu/sincos32.c: Likewise.
4744
4745 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4746 Define.
4747 (libc_feupdateenv_53bit): Define.
4748 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4749 Define.
4750 (libc_feupdateenv_53bit): Define.
4751
4752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4753 53 bit (without extend i386 double precision).
4754
4755 * math/libm-test.inc (sincos_test): Add tests for large input.
4756 (sin): Likewise.
4757 (cos): Likewise.
4758
4759 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4760
9cad04ea
AS
47612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4762
4763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4764
f7062b9a
DM
47652012-03-15 David S. Miller <davem@davemloft.net>
4766
4767 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4783 file.
f7062b9a 4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4786 file.
f7062b9a 4787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4789 file.
f7062b9a 4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4792 file.
f7062b9a
DM
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4795 fmin/fmax sysdep routines.
4796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4797
7bd951ff
DM
47982012-03-14 David S. Miller <davem@davemloft.net>
4799
559398ab
DM
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4829 routines.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4831 file.
559398ab 4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4834 file.
559398ab 4835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4837 file.
559398ab 4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4840 file.
559398ab 4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4843 file.
559398ab 4844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4846 file.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4848 file.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4850 file.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4852 file.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4854 New file.
4855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4856 file.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4858 file.
559398ab 4859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4861 file.
559398ab 4862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4864 file.
559398ab 4865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4867 file.
559398ab 4868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4870 VIS3 routines.
559398ab
DM
4871
4872 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4873 New file.
4874
5a1c1e32
DM
4875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4876
eae47a36
DM
4877 * sysdeps/sparc/configure.in: New file.
4878 * sysdeps/sparc/configure: Generate.
4879 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4880 * configure: Regenerate.
4881 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4882 * config.make.in (have-as-vis3): New.
4883 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4884 available use -Av9d instead of -Av9a.
4885 * sysdeps/sparc/sparc64/Makefile: Likewise.
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4888 New file.
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4890 file.
4891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4892 New file.
4893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4894 file.
eae47a36
DM
4895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4900
c0c83bc8
DM
4901 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4902 fzeros/fnegs to load 0x80000000 into a float register instead of
4903 using the stack.
7bd951ff
DM
4904 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4905
bd951ccb
JM
49062012-03-14 Joseph Myers <joseph@codesourcery.com>
4907
4908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4909 bits/syscall.h.
4910 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4911 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4912 ($(inst_includedir)/bits/syscall.h): Remove rule.
4913 ($(objpfx)bits/syscall.d): Include instead of
4914 $(objpfx)syscall-list.d.
4915 (generated): Change syscall-list.h and syscall-list.d to
4916 bits/syscall.h and bits/syscall.d.
4917
bb4e6db2
RM
49182012-03-14 Roland McGrath <roland@hack.frob.com>
4919
4920 [BZ #13846]
4921 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4922
aa4a2ae1
JM
49232012-03-14 Joseph Myers <joseph@codesourcery.com>
4924
e456826d
JM
4925 [BZ #13841]
4926 * math/s_csqrt.c: Include <float.h>.
4927 (__csqrt): Scale large or subnormal inputs.
4928 * math/s_csqrtf.c: Likewise.
4929 * math/s_csqrtl.c: Likewise.
4930 * math/libm-test.inc (csqrt_test): Add more tests.
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4933
aa4a2ae1
JM
4934 [BZ #13840]
4935 * math/libm-test.inc (hypot_test): Add more tests.
4936
7c10fd35
DM
49372012-03-13 David S. Miller <davem@davemloft.net>
4938
4939 [BZ #13840]
4940 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4941 double-precision for the calculation instead of scaling.
4942
f453b98b
JM
49432012-03-13 Joseph Myers <joseph@codesourcery.com>
4944
4945 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4946 manipulate bits before adding and subtracting TWO52[sx].
4947 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4948 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4949 Likewise.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4951
09a3453f
DM
49522012-03-13 David S. Miller <davem@davemloft.net>
4953
8e59da90
DM
4954 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4955 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4957 rtld-global-offsets.h
4958 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4959
2a8ab7f2
DM
4960 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4961 large parameters.
4962
10f62770
DM
4963 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4964
5f0bdb18
DM
4965 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4966 'err' in the ifdef scope in which it is actually used.
4967
09a3453f
DM
4968 * nss/nss_db/db-init.c: Include string.h
4969
b4b2eb5e
DM
49702012-03-12 David S. Miller <davem@davemloft.net>
4971
98bb2f1c
DM
4972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4973 masking out of the most significant byte of random value used.
4974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4975 Fix coding style in previous change.
4976
b4b2eb5e
DM
4977 * sysdeps/unix/sysv/linux/kernel-features.h
4978 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4979 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4980 expression.
4981 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4982 later.
4983
6e226b09
DM
49842012-03-11 David S. Miller <davem@davemloft.net>
4985
a1bcbd40
DM
4986 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4987 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4989 for 'resultvar' otherwise things get truncated on 64-bit.
4990
cb9d6174
DM
4991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4992 Fix masking out of the most significant byte of random value used.
4993
6e226b09
DM
4994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4995
058c132d
AS
49962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4997
4998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4999
2d2cd515
DM
50002012-03-09 David S. Miller <davem@davemloft.net>
5001
5002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5003 variables with appropriate CPP guards.
5004 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5005 frame pointer, not the stack pointer. Correct layout comments. Fix test
5006 on resulting framesize and the management of the outregs buffer for pltexit.
5007 Preserve floating point return values across _dl_call_pltexit call.
5008 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5009 framesize and the management of the outregs buffer for pltexit.
5010 Preserve floating point return values across _dl_call_pltexit
5011 call.
5012 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5013 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5014 (print_exit): Fix format string for return register value.
5015
9a07f9d0
JM
50162012-03-10 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sunrpc/Makefile (others): Add rpcgen.
5019 ($(objpfx)rpcgen): Remove special build rule and dependency on
5020 libc.
5021 * sunrpc/rpcgen.c: New file.
5022
547b5e30
PE
50232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5024
c524201a
PE
5025 [BZ #13673]
5026 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5027 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5028 * sysdeps/i386/crti.S: Likewise.
5029 * sysdeps/i386/crtn.S: Likewise.
5030 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5034 * sysdeps/sh/crti.S: Likewise.
5035 * sysdeps/sh/crtn.S: Likewise.
5036 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5037
7b6235f2
PE
5038 [BZ #13673]
5039 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5040 with URL.
5041 * locale/programs/locfile-kw.gperf: Likewise.
5042 * locale/programs/charmap-kw.h: Regenerated.
5043 * locale/programs/locfile-kw.h: Likewise.
5044
547b5e30
PE
5045 [BZ #13673]
5046 * intl/plural.y: Replace FSF snail mail address with URL.
5047 * intl/plural.c: Regenerated.
5048
5f0a5dae
RH
50492012-03-09 Richard Henderson <rth@twiddle.net>
5050
5051 * include/math_private.h: Remove file.
5052 * math/math_private.h: Move file ...
5053 * sysdeps/generic/math_private.h: ... here.
5054
b8c03620
RH
5055 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5056 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5057 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5058
4e234f5d 5059 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5060 and <math_private.h>.
5061 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5062 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5063 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5064 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5065 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5149 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5158 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5159 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5161 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5162 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5163 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5166 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5169 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5171 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5175 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5176 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5178 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5188 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5192 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5194 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5195 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5196 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5197 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5198 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5199 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5200 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5201 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5203 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5204 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5205 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5209 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5210 * sysdeps/ieee754/k_standard.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5330 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5333 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5360 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5361 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5371 * sysdeps/ieee754/s_lib_version.c: Likewise.
5372 * sysdeps/ieee754/s_matherr.c: Likewise.
5373 * sysdeps/ieee754/s_signgam.c: Likewise.
5374 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5376 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5377 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5378 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5379 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5380 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5381 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5382 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5383 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5384 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5385 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5388 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5389 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5391 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5392 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5395
1991fa03
JM
53962012-03-09 Joseph Myers <joseph@codesourcery.com>
5397
5398 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5399 * sunrpc/rpc_main.c: Likewise.
5400 * sunrpc/rpc_svcout.c: Likewise.
5401
60d6f5a6
DM
54022012-03-09 David S. Miller <davem@davemloft.net>
5403
5404 * include/math_private.h: New file.
5405
4962050e
JM
54062012-03-09 Joseph Myers <joseph@codesourcery.com>
5407
02a6f887
JM
5408 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5409 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5410 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5411 from <bits/socket_type.h>.
5412 (enum __socket_type): Don't define here.
5413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5415 bits/socket_type.h.
5416
c6e013c1
JM
5417 [BZ #13566]
5418 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5419 checking __USE_GNU.
5420
4962050e
JM
5421 * Makerules ($(inst_includedir)/%.h): New rule.
5422 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5423 (install-others): Remove variable setting.
5424 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5425
38842f45
RH
54262012-03-08 Richard Henderson <rth@twiddle.net>
5427
67bb6da6
RH
5428 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5429 from macro to inline function; merge with the
5430 !__LIBC_INTERNAL_MATH_INLINES version.
5431 (__ieee754_sqrtf): Likewise.
5432
15194b4b
RH
5433 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5434 to inline function.
5435 (__rintf, __floor, __floorf): Likewise.
5436
64e21ede
RH
5437 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5438 macro to inline function.
5439 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5440
38842f45
RH
5441 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5442 not <math/math_private.h>.
5443
c64bf5fe
DM
54442012-03-08 David S. Miller <davem@davemloft.net>
5445
5446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5447 copyright year.
5448 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5449
82d86f28
TS
54502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5451
5452 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5453 normalization.
5454 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5455 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5456
aea5d727
UD
54572012-03-08 Ulrich Drepper <drepper@gmail.com>
5458
5459 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5460 be defined individually, they must be defined as a block. Define
5461 S for printing a string instead of hidint the different by using a
5462 macro for adding the 'l'.
5463 * stdio-common/tst-fphex-wide.c: Adjust.
5464
70bca0a3
MP
54652012-03-07 Marek Polacek <polacek@redhat.com>
5466
5467 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5468
65b81130
MP
54692012-03-08 Marek Polacek <polacek@redhat.com>
5470
5471 [BZ #13806]
5472 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5473 * stdio-common/tst-fphex.c: Define a few macros to make the
5474 test reusable. Use them.
5475 * stdio-common/tst-fphex-wide.c: New file.
5476
07037eeb
JM
54772012-03-08 Joseph Myers <joseph@codesourcery.com>
5478
a7a93d50
JM
5479 [BZ #6911]
5480 * manual/macros.texi (gnusystems): New macro.
5481 (nongnusystems): Likewise.
5482 (gnulinuxhurdsystems): Likewise.
5483 (gnuhurdsystems): Likewise..
5484 (gnulinuxsystems): Likewise.
5485 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5486 variants of the GNU system, not "GNU system".
5487 * manual/conf.texi: Likewise.
5488 * manual/errno.texi: Likewise. Update example of errno macro
5489 expansion.
5490 * manual/filesys.texi: Likewise.
5491 (getumask): Document as specific to GNU/Hurd.
5492 * manual/install.texi: Likewise. Reword some references to
5493 GNU/Linux.
5494 * manual/intro.texi: Likewise.
5495 * manual/io.texi: Likewise.
5496 (File Name Portability): Detail which constraints are inapplicable
5497 to all GNU systems and which are only inapplicable to GNU/Hurd.
5498 * manual/job.texi: Likewise.
5499 * manual/llio.texi: Likewise.
5500 (O_NOCTTY): Document as present on GNU/Linux.
5501 * manual/maint.texi: Likewise.
5502 * manual/memory.texi: Likewise.
5503 * manual/pattern.texi: Likewise.
5504 * manual/pipe.texi: Likewise.
5505 * manual/process.texi: Likewise.
5506 * manual/resource.texi: Likewise.
5507 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5508 child on GNU/Hurd.
5509 * manual/setjmp.texi: Likewise.
5510 * manual/signal.texi: Likewise.
5511 * manual/startup.texi: Likewise.
5512 * manual/stdio.texi: Likewise.
5513 * manual/terminal.texi: Likewise.
5514 (ONLCR): Document as POSIX.
5515 (OXTABS): Document availability on GNU/Linux as XTABS.
5516 (ONOEOT): Document availability separately from other bits.
5517 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5518 * manual/time.texi: Likewise.
5519 * manual/users.texi: Likewise.
5520 * INSTALL: Regenerated.
5521 * sysdeps/gnu/errlist.c: Regenerated.
5522
07037eeb
JM
5523 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5524 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5525 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5526 puts.
5527 * configure: Regenerated.
5528
d1d3431a
JM
55292012-03-07 Joseph Myers <joseph@codesourcery.com>
5530
af6a1e37
JM
5531 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5532 default includes instead of AC_HEADER_CHECK.
5533 * sysdeps/i386/configure: Regenerated.
5534
d1d3431a
JM
5535 [BZ #10716]
5536 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5537 * math/s_cacoshf.c (__cacoshf): Likewise.
5538 * math/s_cacoshl.c (__cacoshl): Likewise.
5539 * math/s_casinh.c (__casinh): Set signs of result from argument.
5540 * math/s_casinhf.c (__casinhf): Likewise.
5541 * math/s_casinhl.c (__casinhl): Likewise.
5542 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5543 (casinh_test): Add more tests.
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5546
482ff4da
UD
55472012-03-07 Ulrich Drepper <drepper@gmail.com>
5548
872fda05
UD
5549 * po/zh_TW.po: Update from translation team.
5550
a4300c7a
UD
5551 * login/Makefile (distribute): Remove variable.
5552 * catgets/Makefile: Likewise.
5553 * mach/Makefile: Likewise.
5554 * malloc/Makefile: Likewise.
5555 * misc/Makefile: Likewise.
5556 * iconv/Makefile: Likewise.
5557 * nscd/Makefile: Likewise.
5558 * hurd/Makefile: Likewise.
5559 * manual/Makefile: Likewise.
5560 * locale/Makefile: Likewise.
5561 * intl/Makefile: Likewise.
5562 * conform/Makefile: Likewise.
5563 * nss/Makefile: Likewise.
5564 * time/Makefile: Likewise.
5565 * soft-fp/Makefile: Likewise.
5566 * dirent/Makefile: Likewise.
5567 * gmon/Makefile: Likewise.
5568 * po/Makefile: Likewise.
5569 * rt/Makefile: Likewise.
5570 * socket/Makefile: Likewise.
5571 * math/Makefile: Likewise.
5572 * signal/Makefile: Likewise.
5573 * debug/Makefile: Likewise.
5574 * elf/Makefile: Likewise.
5575 * timezone/Makefile: Likewise.
5576 * stdlib/Makefile: Likewise.
5577 * iconvdata/Makefile: Likewise.
5578 * sunrpc/Makefile: Likewise.
5579 * io/Makefile: Likewise.
5580 * argp/Makefile: Likewise.
5581 * inet/Makefile: Likewise.
5582 * hesiod/Makefile: Likewise.
5583 * grp/Makefile: Likewise.
5584 * csu/Makefile: Likewise.
5585 * wctype/Makefile: Likewise.
5586 * crypt/Makefile: Likewise.
5587 * libio/Makefile: Likewise.
5588 * string/Makefile: Likewise.
5589 * nis/Makefile: Likewise.
5590 * resolv/Makefile: Likewise.
5591 * stdio-common/Makefile: Likewise.
5592 * wcsmbs/Makefile: Likewise.
5593 * dlfcn/Makefile: Likewise.
5594 * posix/Makefile: Likewise.
5595
3b7c4e74 5596 [BZ #6959]
482ff4da
UD
5597 * timezone/Makefile: Don't install timezone files, just the programs
5598 and scripts.
5599
f72ed77d
UD
56002012-03-06 Ulrich Drepper <drepper@gmail.com>
5601
a000466f
UD
5602 * nss/databases.def: Add missing gshadow entry.
5603
f72ed77d
UD
5604 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5605
a53b7a4e
MP
56062012-03-06 Marek Polacek <polacek@redhat.com>
5607
5608 [BZ #13726]
5609 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5610 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5611 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5612 * stdio-common/tst-long-dbl-fphex.c: New file.
5613
e9258400
DM
56142012-03-06 David S. Miller <davem@davemloft.net>
5615
5616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5617 (set_obp_int): New function.
5618 (get_obp_int): New function.
5619 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5620 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5621 Avoid unused variable warnings on 'val' and use builtin_expect.
5622 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5623 __builtin_expect.
e9258400
DM
5624 (INLINE_CLONE_SYSCALL): Likewise.
5625
3bd2c723
DM
56262012-03-05 David S. Miller <davem@davemloft.net>
5627
5628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5629
bbb78d03
AS
56302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5631
884c5db4
AS
5632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5633
bbb78d03
AS
5634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5635 only for |x| >= 40.
5636 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5637
1c9f702a 56382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5639
5640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5641 Replace gettimeofday with __vdso_gettimeofday.
5642
7be16f82
RM
5643 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5644 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5645 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5646
5647 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5648 time with __vdso_time.
5649
ed58a00f
JM
56502012-03-05 Joseph Myers <joseph@codesourcery.com>
5651
5652 * manual/lang.texi (size_t): Note types to which size_t may be
5653 equivalent with the GNU C Library, but do not describe when
5654 differences between them are significant.
5655
30ee4ced
AJ
56562012-03-05 Andreas Jaeger <aj@suse.de>
5657
5658 * sysdeps/i386/fpu/libm-test-ulps: Update.
5659
b7cd39e8
JM
56602012-03-05 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #3976]
5663 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5664 (__ieee754_pow): Save and restore rounding mode and use
5665 round-to-nearest for main computations.
5666 * math/libm-test.inc (pow_test_tonearest): New function.
5667 (pow_test_towardzero): Likewise.
5668 (pow_test_downward): Likewise.
5669 (pow_test_upward): Likewise.
5670 (main): Call the new functions.
5671 * sysdeps/i386/fpu/libm-test-ulps: Update.
5672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5673
5674 [BZ #3976]
5675 * math/libm-test.inc (cosh_test_tonearest): New function.
5676 (cosh_test_towardzero): Likewise.
5677 (cosh_test_downward): Likewise.
5678 (cosh_test_upward): Likewise.
5679 (sinh_test_tonearest): Likewise.
5680 (sinh_test_towardzero): Likewise.
5681 (sinh_test_downward): Likewise.
5682 (sinh_test_upward): Likewise.
5683 (main): Call the new functions.
5684 * sysdeps/i386/fpu/libm-test-ulps: Update.
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5686
6c6a98c9
TV
56872012-03-05 Tom de Vries <tom@codesourcery.com>
5688
5689 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5690 default stack guard is set in last bytes.
5691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5692
21bb2d2e 56932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5694
21bb2d2e 5695 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5696
21bb2d2e
AJ
5697 [BZ #13656]
5698 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5699 possibly allocate from heap instead of stack.
5700 * stdio-common/bug-vfprintf-nargs.c: New file.
5701 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5702
c6922934
AS
57032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5704
5705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5706
bc957d53
MP
57072012-03-03 Marek Polacek <polacek@redhat.com>
5708
5709 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5710 * math/math_private.h: Likewise.
5711 * stdlib/tst-strtod.c: Likewise.
5712 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5713 * sysdeps/x86_64/bits/atomic.h: Likewise.
5714
6358490d
DM
57152012-03-02 David S. Miller <davem@davemloft.net>
5716
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5721 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5722 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5723 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5724 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5725
01ae168d
RM
57262012-03-02 Roland McGrath <roland@hack.frob.com>
5727
d9a17c07
RM
5728 [BZ #13792]
5729 * manual/examples/README: New file, says the example source files
5730 can be used under GPL>=2.
5731 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5732 line containing just "*/".
5733 * manual/examples/add.c: Add copyright header (GPL>=2).
5734 * manual/examples/argp-ex1.c: Likewise.
5735 * manual/examples/argp-ex2.c: Likewise.
5736 * manual/examples/argp-ex3.c: Likewise.
5737 * manual/examples/argp-ex4.c: Likewise.
5738 * manual/examples/atexit.c: Likewise.
5739 * manual/examples/db.c: Likewise.
5740 * manual/examples/dir.c: Likewise.
5741 * manual/examples/dir2.c: Likewise.
5742 * manual/examples/execinfo.c: Likewise.
5743 * manual/examples/filecli.c: Likewise.
5744 * manual/examples/filesrv.c: Likewise.
5745 * manual/examples/fmtmsgexpl.c: Likewise.
5746 * manual/examples/genpass.c: Likewise.
5747 * manual/examples/inetcli.c: Likewise.
5748 * manual/examples/inetsrv.c: Likewise.
5749 * manual/examples/isockad.c: Likewise.
5750 * manual/examples/longopt.c: Likewise.
5751 * manual/examples/memopen.c: Likewise.
5752 * manual/examples/memstrm.c: Likewise.
5753 * manual/examples/mkfsock.c: Likewise.
5754 * manual/examples/mkisock.c: Likewise.
5755 * manual/examples/mygetpass.c: Likewise.
5756 * manual/examples/pipe.c: Likewise.
5757 * manual/examples/popen.c: Likewise.
5758 * manual/examples/rprintf.c: Likewise.
5759 * manual/examples/search.c: Likewise.
5760 * manual/examples/select.c: Likewise.
5761 * manual/examples/setjmp.c: Likewise.
5762 * manual/examples/sigh1.c: Likewise.
5763 * manual/examples/sigusr.c: Likewise.
5764 * manual/examples/stpcpy.c: Likewise.
5765 * manual/examples/strdupa.c: Likewise.
5766 * manual/examples/strftim.c: Likewise.
5767 * manual/examples/strncat.c: Likewise.
5768 * manual/examples/subopt.c: Likewise.
5769 * manual/examples/swapcontext.c: Likewise.
5770 * manual/examples/termios.c: Likewise.
5771 * manual/examples/testopt.c: Likewise.
5772 * manual/examples/testpass.c: Likewise.
5773 * manual/examples/timeval_subtract.c: Likewise.
5774
01ae168d
RM
5775 [BZ #13792]
5776 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5777 function to ...
5778 * manual/timeval_subtract.c.texi: ... here, new file.
5779
49efa33d
DM
57802012-03-02 David S. Miller <davem@davemloft.net>
5781
5782 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5783
28afd92d
JM
57842012-03-02 Joseph Myers <joseph@codesourcery.com>
5785
804360ed
JM
5786 [BZ #3976]
5787 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5788 (__sin): Save and restore rounding mode and use round-to-nearest
5789 for all computations.
5790 (__cos): Save and restore rounding mode and use round-to-nearest
5791 for all computations.
5792 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5793 <fenv.h>.
5794 (tan): Save and restore rounding mode and use round-to-nearest for
5795 all computations.
5796 * math/libm-test.inc (cos_test_tonearest): New function.
5797 (cos_test_towardzero): Likewise.
5798 (cos_test_downward): Likewise.
5799 (cos_test_upward): Likewise.
5800 (sin_test_tonearest): Likewise.
5801 (sin_test_towardzero): Likewise.
5802 (sin_test_downward): Likewise.
5803 (sin_test_upward): Likewise.
5804 (tan_test_tonearest): Likewise.
5805 (tan_test_towardzero): Likewise.
5806 (tan_test_downward): Likewise.
5807 (tan_test_upward): Likewise.
5808 (main): Call the new functions.
5809 * sysdeps/i386/fpu/libm-test-ulps: Update.
5810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811
a6d06d7b
JM
5812 [BZ #10135]
5813 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5814 small n, then large n, before computing and testing k+n.
5815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5817 Likewise.
5818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5819 Likewise.
5820 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5821 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5828 * math/libm-test.inc (scalbn_test): Add more tests.
5829 (scalbln_test): Likewise.
5830
07e12bb3
JM
5831 * manual/filesys.texi (mode_t): Describe constraints on size and
5832 signedness, not exact equivalence to a particular type.
5833 (ino_t): Likewise.
5834 (ino64_t): Likewise.
5835 (dev_t): Likewise.
5836 (nlink_t): Likewise.
5837 (blkcnt_t): Likewise.
5838 (blkcnt64_t): Likewise.
5839 * manual/llio.texi (off_t): Likewise.
5840
28afd92d
JM
5841 [BZ #3976]
5842 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5843 (__ieee754_exp): Save and restore rounding mode and use
5844 round-to-nearest for all computations.
5845 * math/libm-test.inc (exp_test_tonearest): New function.
5846 (exp_test_towardzero): Likewise.
5847 (exp_test_downward): Likewise.
5848 (exp_test_upward): Likewise.
5849 (main): Call the new functions.
5850 * sysdeps/i386/fpu/libm-test-ulps: Update.
5851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5852
b1eeb65d
CD
58532012-03-01 Chris Demetriou <cgd@google.com>
5854
5855 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5856 have predictable order.
5857
53362a4b
DM
58582012-03-01 David S. Miller <davem@davemloft.net>
5859
3c969083
DM
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5861
759707de
DM
5862 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5864 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5866
dfdb8ff2
DM
5867 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5868 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5869 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5871 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5872 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5873 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5874 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5875 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5876
ead89f96
DM
5877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5878
7f66bd07
DM
5879 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5880 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5882
53362a4b
DM
5883 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5885 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5886 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5887 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5891 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5892 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5893 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5897 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5899 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5900 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5901 * sysdeps/sparc/elf/configure: Regenerated.
5902
7b1902cb
JM
59032012-03-01 Joseph Myers <joseph@codesourcery.com>
5904
bec039bc
JM
5905 * configure.in (AS, LD): Require binutils 2.20 or later.
5906 * configure: Regenerated.
5907 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5908 as required minimum version.
5909 * INSTALL: Regenerated.
5910
7b1902cb
JM
5911 [BZ #2541]
5912 [BZ #4108]
5913 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5914 before squaring exponent.
5915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5916 bottom long double and 27 bits of top long double before squaring
5917 exponent.
5918 * math/libm-test.inc (erfc_test): Add more tests.
5919 * sysdeps/i386/fpu/libm-test-ulps: Update.
5920 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922
f775c276
KT
59232012-03-01 Kai Tietz <ktietz@redhat.com>
5924
5925 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5926 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5927 containing bit-fields.
5928 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5929 * soft-fp/single.h (_FP_UNION_S): Likewise.
5930 * soft-fp/double.h (_FP_UNION_D): Likewise.
5931
5b8a4d4a
JM
59322012-02-29 Joseph Myers <joseph@codesourcery.com>
5933
0bab47b6
JM
5934 [BZ #13786]
5935 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5936 not include ../strcmp.S.
5937 [USE_AS_STRNCASECMP_L]: Likewise.
5938 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5939 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5940 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5941 (__strncasecmp_l_ia32): Define as alias to
5942 __strncasecmp_l_nonascii.
5943
0fcad3e2
JM
5944 [BZ #5794]
5945 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5946 * sysdeps/i386/fpu/libm-test-ulps: Update.
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948
5b8a4d4a
JM
5949 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951
8fdceb2e
JL
59522012-02-29 Jeff Law <law@redhat.com>
5953
5954 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5955 out of bounds read.
5956
1f393a11
MP
59572012-02-29 Marek Polacek <polacek@redhat.com>
5958
5959 [BZ #13706]
5960 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5961 * elf/Makefile: Add rules to run tst-unused-dep.out.
5962
8847f037
DM
59632012-02-28 David S. Miller <davem@davemloft.net>
5964
5965 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5966 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5967 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5969 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5970 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5971
169d7f11
JM
59722012-02-29 Joseph Myers <joseph@codesourcery.com>
5973
5974 * math/libm-test.inc (llround_test): Move one test from
5975 lround_test. Use TEST_f_L in moved test.
5976 (lround_test): Move misplaced test to llround_test. Add testcase
5977 from bug 2561.
5978
39adf059
UD
59792012-02-28 Ulrich Drepper <drepper@gmail.com>
5980
5981 * sysdeps/x86_64/fpu/e_expf.S: New file.
5982 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5983
71b5d1c5
SB
59842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5985
5986 [BZ #13637]
5987 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5988 of remain_len that may cause incomplete multi-byte character and
5989 false match.
5990 * posix/bug-regex33.c: New file.
5991 * posix/Makefile (tests): Add bug-regex33.
5992
1f77f049
JM
59932012-02-28 Joseph Myers <joseph@codesourcery.com>
5994
5995 * manual/macros.texi: New file.
5996 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5997 * manual/libc.texinfo: Include macros.texi.
5998 * manual/creatute.texi: Likewise.
5999 * manual/install.texi: Likewise.
6000 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6001 @glibcadj{} in references to the GNU C Library.
6002 * manual/charset.texi: Likewise.
6003 * manual/conf.texi: Likewise.
6004 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6005 when not using those macros.
6006 * manual/creature.texi: Likewise.
6007 * manual/crypt.texi: Likewise.
6008 * manual/errno.texi: Likewise.
6009 * manual/filesys.texi: Likewise.
6010 * manual/header.texi: Likewise.
6011 * manual/install.texi: Likewise.
6012 * manual/intro.texi: Likewise.
6013 * manual/io.texi: Likewise.
6014 * manual/job.texi: Likewise.
6015 * manual/lang.texi: Likewise.
6016 * manual/libc.texiinfo: Likewise.
6017 * manual/llio.texi: Likewise.
6018 * manual/locale.texi: Likewise.
6019 * manual/maint.texi: Likewise.
6020 * manual/math.texi: Likewise.
6021 * manual/memory.texi: Likewise.
6022 * manual/message.texi: Likewise.
6023 * manual/nss.texi: Likewise.
6024 * manual/pattern.texi: Likewise.
6025 * manual/process.texi: Likewise.
6026 * manual/resource.texi: Likewise.
6027 * manual/search.texi: Likewise.
6028 * manual/setjmp.texi: Likewise.
6029 * manual/signal.texi: Likewise.
6030 * manual/socket.texi: Likewise.
6031 * manual/startup.texi: Likewise.
6032 * manual/stdio.texi: Likewise.
6033 * manual/string.texi: Likewise.
6034 * manual/sysinfo.texi: Likewise.
6035 * manual/syslog.texi: Likewise.
6036 * manual/terminal.texi: Likewise.
6037 * manual/time.texi: Likewise.
6038 * manual/users.texi: Likewise.
6039 * INSTALL: Regenerated.
6040 * NOTES: Regenerated.
d40c5d54 6041 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6042
450bf206
AS
60432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6044
6045 * include/dirent.h: Include <dirstream.h> before
6046 <dirent/dirent.h>.
6047
741a235b
DM
60482012-02-28 David S. Miller <davem@davemloft.net>
6049
6050 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6051 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6052 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6053 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6054
d6b5aa58
DM
60552012-02-27 David S. Miller <davem@davemloft.net>
6056
1aff59a3
DM
6057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6059 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6061
d6b5aa58
DM
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6063 frame pointer instead of stack pointer relative arg slot.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6065 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6066 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6067
433f48bf
CD
60682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6069
6070 [BZ #3992]
6071 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6072
d674b76d
DM
60732012-02-27 David S. Miller <davem@davemloft.net>
6074
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6079 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6080 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6081 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6082 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6083
0e7727f7
JM
60842012-02-27 Joseph Myers <joseph@codesourcery.com>
6085
6086 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6087 later. Allow versions 5-9.
43be4ca2 6088 * configure: Regenerated.
0e7727f7
JM
6089 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6090 required minimum version and 4.6 as recommended version. Do not
6091 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6092 * INSTALL: Regenerated.
0e7727f7 6093
a78bc654
DM
60942012-02-27 David S. Miller <davem@davemloft.net>
6095
428d5830
DM
6096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6102 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6104
a78bc654
DM
6105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6106 manipulate bits before adding and subtracting TWO112[sx].
6107 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6108
4579f81c
RM
61092012-02-27 Roland McGrath <roland@hack.frob.com>
6110
36c8acb4
RM
6111 [BZ #13775]
6112 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6113 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6114 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6115 being in POSIX, because they are in 1003.1-2008.
6116
84ad622b
RM
6117 * rt/tst-aio.c: Include <fcntl.h>.
6118 * rt/tst-aio7.c: Likewise.
6119 * rt/tst-aio64.c: Likewise.
6120
4579f81c
RM
6121 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6122
abd923db
JM
61232012-02-27 Joseph Myers <joseph@codesourcery.com>
6124
6125 * manual/install.texi (--with-headers): Describe headers as
6126 interface headers, not private headers.
6127 (Specific advice for GNU/Linux systems): Describe use of headers
6128 from "make headers_install", not private headers from older
6129 kernels.
43be4ca2 6130 * INSTALL: Regenerated.
abd923db
JM
6131 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6132 Change to 2.6.19.
6133 * sysdeps/unix/sysv/linux/configure: Regenerated.
6134
6664049b
JM
6135 * manual/llio.texi (fclean): Remove documentation.
6136
bb8b6697
JM
6137 * manual/Makefile (libc-texi-generated): New variable. Include
6138 version.texi.
6139 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6140 $(libc-texi-generated), not duplicated list of files.
6141 (version.texi, stamp-version): New rules.
6142 (realclean): Remove $(libc-texi-generated), not individual files
6143 from that list. Do not remove dir-add.texinfo.
6144 * manual/libc.texinfo: Comment out uses of edition numbers and
6145 references to printed manual. Remove last-updated dates.
6146 (EDITION): Comment out.
6147 (ISBN): Likewise.
6148 (VERSION, UPDATED): Remove.
6149 (version.texi): Include.
6150
12e5c3b9
AS
61512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6152
6153 * sysdeps/posix/spawni.c: Include <signal.h>.
6154 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6155 * sysdeps/pthread/aio_fsync.c: Likewise.
6156
4efeffc1 61572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6158
ba63ba08
UD
6159 * conform/Makefile (tests): Run only when not cross-compiling and
6160 when fast-check is not defined.
6161
d94a4670
UD
6162 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6163 * conform/data/limits.h-data: Fixes for POSIX2008.
6164 * conform/run-conformtest.sh: Run all tests.
6165 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6166 headers.
6167 * include/bits/dlfcn.h: Likewise.
6168 * include/langinfo.h: Likewise.
6169 * include/monetary.h: Likewise.
6170 * include/sys/poll.h: Likewise.
6171
6172 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6173 for __USE_GNU.
6174 * posix/spawn.h: Define __need_sigset_t.
6175 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6176 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6177 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6178 to get sigevent_t only.
6179 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6180 only for __USE_GNU.
6181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6183 process_vm_writev only for __USE_GNU.
6184 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6185
6186 * conform/Makefile: For now ignore errors from run-conformtest.
6187 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6188 POSIX to avoid namespace pollution. Don't prepend headers.
6189 * conform/data/aio.h-data: Fixes for POSIX testing.
6190 * conform/data/fcntl.h-data: Likewise.
6191 * conform/data/glob.h-data: Likewise.
6192 * conform/data/grp.h-data: Likewise.
6193 * conform/data/pthread.h-data: Likewise.
6194 * conform/data/pwd.h-data: Likewise.
6195 * conform/data/signal.h-data: Likewise.
6196 * conform/data/spawn.h-data: Likewise.
6197 * conform/data/stdio.h-data: Likewise.
6198 * conform/data/stdlib.h-data: Likewise.
6199 * conform/data/stropts.h-data: Likewise.
6200 * conform/data/sys/mman.h-data: Likewise.
6201 * conform/data/sys/stat.h-data: Likewise.
6202 * conform/data/sys/types.h-data: Likewise.
6203 * conform/data/sys/wait.h-data: Likewise.
6204 * conform/data/time.h-data: Likewise.
6205 * conform/data/unistd.h-data: Likewise.
6206 * conform/data/utime.h-data: Likewise.
6207
6208 * io/sys/stat.h: fchmod was always in POSIX.
6209 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6210 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6211 * rt/aio.h: Define __need_timespec before including <time.h>.
6212 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6213 struct. Add forward declaration of pthread_attr_t and use it in
6214 sigevent.
6215 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6217 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6218 always remove CLK_TCK definition.
6219
c20105c3
AS
62202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6221
6222 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6223
7a270350
UD
62242012-02-25 Ulrich Drepper <drepper@gmail.com>
6225
31341567
UD
6226 * conform/run-conformtest.sh: New file.
6227 * conform/Makefile: Run run-conformtest for tests.
6228 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6229 support.
6230
6231 * conform/data/uchar.h-data: New file.
6232 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6233 * conform/data/arpa/inet.h-data: Likewise.
6234 * conform/data/assert.h-data: Likewise.
6235 * conform/data/complex.h-data: Likewise.
6236 * conform/data/cpio.h-data: Likewise.
6237 * conform/data/ctype.h-data: Likewise.
6238 * conform/data/dirent.h-data: Likewise.
6239 * conform/data/dlfcn.h-data: Likewise.
6240 * conform/data/errno.h-data: Likewise.
6241 * conform/data/fcntl.h-data: Likewise.
6242 * conform/data/float.h-data: Likewise.
6243 * conform/data/fmtmsg.h-data: Likewise.
6244 * conform/data/fnmatch.h-data: Likewise.
6245 * conform/data/ftw.h-data: Likewise.
6246 * conform/data/glob.h-data: Likewise.
6247 * conform/data/grp.h-data: Likewise.
6248 * conform/data/iconv.h-data: Likewise.
6249 * conform/data/inttypes.h-data: Likewise.
6250 * conform/data/langinfo.h-data: Likewise.
6251 * conform/data/libgen.h-data: Likewise.
6252 * conform/data/limits.h-data: Likewise.
6253 * conform/data/locale.h-data: Likewise.
6254 * conform/data/math.h-data: Likewise.
6255 * conform/data/monetary.h-data: Likewise.
6256 * conform/data/mqueue.h-data: Likewise.
6257 * conform/data/ndbm.h-data: Likewise.
6258 * conform/data/net/if.h-data: Likewise.
6259 * conform/data/netdb.h-data: Likewise.
6260 * conform/data/netinet/in.h-data: Likewise.
6261 * conform/data/nl_types.h-data: Likewise.
6262 * conform/data/poll.h-data: Likewise.
6263 * conform/data/pthread.h-data: Likewise.
6264 * conform/data/pwd.h-data: Likewise.
6265 * conform/data/regex.h-data: Likewise.
6266 * conform/data/sched.h-data: Likewise.
6267 * conform/data/search.h-data: Likewise.
6268 * conform/data/semaphore.h-data: Likewise.
6269 * conform/data/setjmp.h-data: Likewise.
6270 * conform/data/signal.h-data: Likewise.
6271 * conform/data/spawn.h-data: Likewise.
6272 * conform/data/stdarg.h-data: Likewise.
6273 * conform/data/stdio.h-data: Likewise.
6274 * conform/data/stdlib.h-data: Likewise.
6275 * conform/data/string.h-data: Likewise.
6276 * conform/data/strings.h-data: Likewise.
6277 * conform/data/stropts.h-data: Likewise.
6278 * conform/data/sys/ipc.h-data: Likewise.
6279 * conform/data/sys/mman.h-data: Likewise.
6280 * conform/data/sys/msg.h-data: Likewise.
6281 * conform/data/sys/resource.h-data: Likewise.
6282 * conform/data/sys/select.h-data: Likewise.
6283 * conform/data/sys/sem.h-data: Likewise.
6284 * conform/data/sys/shm.h-data: Likewise.
6285 * conform/data/sys/socket.h-data: Likewise.
6286 * conform/data/sys/stat.h-data: Likewise.
6287 * conform/data/sys/statvfs.h-data: Likewise.
6288 * conform/data/sys/time.h-data: Likewise.
6289 * conform/data/sys/timeb.h-data: Likewise.
6290 * conform/data/sys/times.h-data: Likewise.
6291 * conform/data/sys/types.h-data: Likewise.
6292 * conform/data/sys/uio.h-data: Likewise.
6293 * conform/data/sys/un.h-data: Likewise.
6294 * conform/data/sys/utsname.h-data: Likewise.
6295 * conform/data/sys/wait.h-data: Likewise.
6296 * conform/data/syslog.h-data: Likewise.
6297 * conform/data/tar.h-data: Likewise.
6298 * conform/data/termios.h-data: Likewise.
6299 * conform/data/utime.h-data: Likewise.
6300 * conform/data/utmpx.h-data: Likewise.
6301 * conform/data/varargs.h-data: Likewise.
6302 * conform/data/wchar.h-data: Likewise.
6303 * conform/data/wctype.h-data: Likewise.
6304 * conform/data/wordexp.h-data: Likewise.
6305
6306 * include/stropts.h: New file.
6307 * include/uchar.h: New file.
6308 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6309 * include/assert.h: Likewise.
6310 * include/ctype.h: Likewise.
6311 * include/dirent.h: Likewise.
6312 * include/dlfcn.h: Likewise.
6313 * include/fcntl.h: Likewise.
6314 * include/fnmatch.h: Likewise.
6315 * include/glob.h: Likewise.
6316 * include/grp.h: Likewise.
6317 * include/libio.h: Likewise.
6318 * include/locale.h: Likewise.
6319 * include/math.h: Likewise.
6320 * include/net/if.h: Likewise.
6321 * include/netdb.h: Likewise.
6322 * include/netinet/in.h: Likewise.
6323 * include/pthread.h: Likewise.
6324 * include/pwd.h: Likewise.
6325 * include/regex.h: Likewise.
6326 * include/sched.h: Likewise.
6327 * include/search.h: Likewise.
6328 * include/setjmp.h: Likewise.
6329 * include/signal.h: Likewise.
6330 * include/stdio.h: Likewise.
6331 * include/stdlib.h: Likewise.
6332 * include/string.h: Likewise.
6333 * include/sys/cdefs.h: Likewise.
6334 * include/sys/mman.h: Likewise.
6335 * include/sys/msg.h: Likewise.
6336 * include/sys/resource.h: Likewise.
6337 * include/sys/select.h: Likewise.
6338 * include/sys/socket.h: Likewise.
6339 * include/sys/stat.h: Likewise.
6340 * include/sys/statvfs.h: Likewise.
6341 * include/sys/time.h: Likewise.
6342 * include/sys/times.h: Likewise.
6343 * include/sys/uio.h: Likewise.
6344 * include/sys/utsname.h: Likewise.
6345 * include/sys/wait.h: Likewise.
6346 * include/termios.h: Likewise.
6347 * include/time.h: Likewise.
6348 * include/ulimit.h: Likewise.
6349 * include/unistd.h: Likewise.
6350 * include/utime.h: Likewise.
6351 * include/wchar.h: Likewise.
6352 * include/wctype.h: Likewise.
6353 * include/wordexp.h: Likewise.
6354
6355 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6356
7a270350
UD
6357 * time/time.h: TIME_UTC must be a macro.
6358 Make timespec_get available for ISO C11 only as well.
6359
7724defc
UD
63602012-02-24 Ulrich Drepper <drepper@gmail.com>
6361
6362 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6363 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6364
6b1d1d46
JM
63652012-02-24 Joseph Myers <joseph@codesourcery.com>
6366
6367 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6368
0f8bbd69
JM
63692012-02-24 Joseph Myers <joseph@codesourcery.com>
6370
6371 * manual/texinfo.tex: Update to version 2012-01-19.16.
6372
66ab80bc
JM
63732012-02-24 Joseph Myers <joseph@codesourcery.com>
6374
6375 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6376
74981cc5
RM
63772012-02-24 Roland McGrath <roland@hack.frob.com>
6378
ee968201
RM
6379 [BZ #13738]
6380 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6381 * manual/fdl-1.3.texi: New file.
6382 * manual/fdl-1.1.texi: File removed.
6383
74981cc5
RM
6384 [BZ #13738]
6385 * manual/libc.texinfo (FDL_VERSION): New @set.
6386 Use it for mention of FDL in cover text.
6387 (Documentation License): Use it in @include file name.
6388
7bb764bc
JM
63892012-02-22 Joseph Myers <joseph@codesourcery.com>
6390 Roland McGrath <roland@hack.frob.com>
6391
6392 [BZ #5461]
6393 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6394 not LONG_LONG_MAX and LONG_LONG_MIN.
6395 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6396 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6397 name.
6398 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6399
6cbeae47
JM
64002012-02-22 Joseph Myers <joseph@codesourcery.com>
6401
6402 [BZ #2547]
6403 [BZ #11365]
6404 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6405 manipulate bits before adding and subtracting TWO23[sx].
6406 * math/libm-test.inc (nearbyint_test): Add more tests.
6407
fe45ce09
JM
64082012-02-22 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #2548]
6411 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6412 bits before adding and subtracting TWO23[sx].
6413 * math/libm-test.inc (rint_test): Add more tests.
6414 (rint_test_tonearest): Likewise.
6415 (rint_test_towardzero): Likewise.
6416 (rint_test_downward): Likewise.
6417 (rint_test_upward: Likewise.
6418
ff3b3d82
JM
64192012-02-22 Joseph Myers <joseph@codesourcery.com>
6420
6421 [BZ #10110]
6422 * include/stdc-predef.h: New file. Extracted from features.h.
6423 * include/features.h: Include stdc-predef.h.
6424 * Makefile (headers): Add stdc-predef.h.
6425 * CONFORMANCE (Compiler limitations): Update.
6426
ef0aab35
JM
64272012-02-22 Joseph Myers <joseph@codesourcery.com>
6428
6429 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6430
58639409
DM
64312012-02-21 David S. Miller <davem@davemloft.net>
6432
6433 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6434 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6435
c0e70b25
DM
64362012-02-20 David S. Miller <davem@davemloft.net>
6437
6438 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6439 using a normal save/restore sequence, rather than allocating a
6440 dummy stack frame just to store a frame pointer and restore.
6441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6442
fb06851d
JM
64432012-02-21 Joseph Myers <joseph@codesourcery.com>
6444
6445 * manual/install.texi: Fix stray word in line-wrapped comment.
6446
7a8b71c3
DM
64472012-02-20 David S. Miller <davem@davemloft.net>
6448
d510c123
DM
6449 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6450 both binutils and gcc support GOTDATA.
6451
0722d7c2
DM
6452 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6453 "rd %pc" in the PIC register setup sequences.
6454
3d2b3019
DM
6455 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6456 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6457 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6458 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6459 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6464 (SYSCALL_ERROR_HANDLER): Likewise.
6465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6468 (SYSCALL_ERROR_HANDLER): Likewise.
6469
c80098a9
DM
6470 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6471 (HAVE_GCC_GOTDATA): New.
6472 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6473 relocation support in both binutils and gcc.
6474 * sysdeps/sparc/elf/configure: Regenerate.
6475
3a2545a0
DM
6476 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6477 * sysdeps/sparc/sparc32/elf/configure: Delete.
6478 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6479 * sysdeps/sparc/sparc64/elf/configure: Delete.
6480 * sysdeps/sparc/elf/configure.in: New file.
6481 * sysdeps/sparc/elf/configure: Generate.
6482
7a8b71c3
DM
6483 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6484 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6485 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6486 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6487 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6488
f1e86fca
JM
64892012-02-21 Joseph Myers <joseph@codesourcery.com>
6490
6491 * manual/install.texi: Do not mention specific glibc version
6492 numbers.
6493 * manual/libc.texinfo (VERSION, UPDATED): Update.
6494 (@copying): Use @copyright{} and range of years.
6495
0e7dfaef
JM
64962012-02-21 Joseph Myers <joseph@codesourcery.com>
6497
6498 [BZ #13695]
6499 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6500 [crti.S not in sysdirs] (generated): Do not append.
6501 [crti.S not in sysdirs] (omit-deps): Likewise.
6502 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6503 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6504 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6505 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6506 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6507 Likewise.
6508 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6509 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6510 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6511 * csu/defs.awk: Remove file.
6512 * sysdeps/generic/initfini.c: Likewise.
6513 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6514 variable.
6515 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6516 Likewise.
6517
599af3ca
JM
65182012-02-20 Joseph Myers <joseph@codesourcery.com>
6519
6520 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6521 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6522 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6524 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6525 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6526 <bits/epoll.h>.
6527 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6528 (__EPOLL_PACKED): Define to empty if not defined by
6529 <bits/epoll.h>.
6530 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6532 bits/epoll.h.
6533
0e499750
JM
65342012-02-20 Joseph Myers <joseph@codesourcery.com>
6535
6536 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6537 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6538 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6539 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6540 <bits/timerfd.h>.
6541 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6543 bits/timerfd.h.
6544
5ad91f6e
JM
65452012-02-20 Joseph Myers <joseph@codesourcery.com>
6546
6547 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6548 in C locale.
6549 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6550 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6551 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553
06b99b02
AJ
65542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6555
6556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6557 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6558
7638c0fd
AS
65592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6560
6561 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6562 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6563 defined.
6564 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6565 Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6567 entry for 2.16.
6568
92221550
AJ
65692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6570
6571 * math/w_acos.c: Use non-signaling floating-point comparisons.
6572 * math/w_acosf.c: Likewise.
6573 * math/w_acosh.c: Likewise.
6574 * math/w_acoshf.c: Likewise.
6575 * math/w_acoshl.c: Likewise.
6576 * math/w_acosl.c: Likewise.
6577 * math/w_asin.c: Likewise.
6578 * math/w_asinf.c: Likewise.
6579 * math/w_asinl.c: Likewise.
6580 * math/w_atanh.c: Likewise.
6581 * math/w_atanhf.c: Likewise.
6582 * math/w_atanhl.c: Likewise.
6583 * math/w_exp2.c: Likewise.
6584 * math/w_exp2f.c: Likewise.
6585 * math/w_exp2l.c: Likewise.
6586 * math/w_j0.c: Likewise.
6587 * math/w_j0f.c: Likewise.
6588 * math/w_j0l.c: Likewise.
6589 * math/w_j1.c: Likewise.
6590 * math/w_j1f.c: Likewise.
6591 * math/w_j1l.c: Likewise.
6592 * math/w_jn.c: Likewise.
6593 * math/w_jnf.c: Likewise.
6594 * math/w_log.c: Likewise.
6595 * math/w_log10.c: Likewise.
6596 * math/w_log10f.c: Likewise.
6597 * math/w_log10l.c: Likewise.
6598 * math/w_log2.c: Likewise.
6599 * math/w_log2f.c: Likewise.
6600 * math/w_log2l.c: Likewise.
6601 * math/w_logf.c: Likewise.
6602 * math/w_logl.c: Likewise.
6603 * math/w_sqrt.c: Likewise.
6604 * math/w_sqrtf.c: Likewise.
6605 * math/w_sqrtl.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6608 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6609 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6611
ebaf36eb
JM
66122012-02-19 Joseph Myers <joseph@codesourcery.com>
6613
6614 [BZ #9739]
6615 * manual/string.texi (strnlen): Use correct parameter name in
6616 equivalent expression.
6617
71c254a6
JM
66182012-02-19 Joseph Myers <joseph@codesourcery.com>
6619
6620 [BZ #11174]
6621 * manual/users.texi (seteuid): Consistently use neweuid for
6622 argument name.
6623
16d2c631
JM
66242012-02-19 Joseph Myers <joseph@codesourcery.com>
6625
6626 [BZ #13704]
6627 * manual/nss.texi (Services in the NSS configuration): Correct
6628 list of services in example configuration file.
6629
cd837b09
NB
66302012-02-19 Nick Bowler <nbowler@draconx.ca>
6631
6632 [BZ #11322]
6633 * manual/arith.texi: Remove statements about negative zero
6634 behaving identically to zero.
6635
02c4bbad
JM
66362012-02-18 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #5993]
6639 * manual/install.texi: Do not document upgrading from libc5.
6640
366842e7
JM
66412012-02-18 Joseph Myers <joseph@codesourcery.com>
6642
6643 [BZ #4596]
6644 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6645
dd54084d
DM
66462012-02-18 David S. Miller <davem@davemloft.net>
6647
6648 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6649 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6650 %o7 across the call.
6651 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6652 instead.
6653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6654 SETUP_PIC_REG_LEAF.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6656 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6657 * sysdeps/sparc/crtn.S: Likewise.
6658
2bcc53a3
UD
66592012-02-17 Ulrich Drepper <drepper@gmail.com>
6660
6661 * aout/Makefile: Remove.
6662
09c093b5
RK
66632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6664
6665 [BZ #13058]
6666 * manual/examples/argp-ex1.c (main): Format definition in GNU
6667 style.
6668 * manual/examples/argp-ex2.c (main): Likewise.
6669 * manual/examples/argp-ex3.c (main): Likewise.
6670 * manual/examples/argp-ex4.c (main): Likewise.
6671 * manual/examples/longopt.c (main): Use new-style prototype
6672 definition.
6673 * manual/examples/strncat.c (main): Specify return type and use
6674 (void) for arguments.
6675 * manual/examples/subopt.c (main): Use char **argv argument.
6676
2ee633a2
JM
66772012-02-17 Joseph Myers <joseph@codesourcery.com>
6678
6679 [BZ #5077]
6680 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6681 rounding modes.
6682
0520adde
FB
66832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6684
6685 [BZ #6907]
6686 * manual/string.texi (strchr): Change when strchrnul is
6687 recommended.
6688
3f4081cd
DGM
66892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6690
6691 [BZ #174]
6692 * manual/locale.texi (setlocale): Document LOCPATH.
6693
d1b10e78
JM
66942012-02-17 Joseph Myers <joseph@codesourcery.com>
6695
6696 [BZ #10210]
6697 * manual/process.texi (execle): Move @dots{} before last argument.
6698
79c6869c
PB
66992012-02-17 Paul Bolle <pebolle@tiscali.nl>
6700
6701 [BZ #12047]
6702 * manual/charset.texi (Generic Charset Conversion): Fix typo
6703 (LC_TYPE -> LC_CTYPE).
6704
cc6e48bc
NB
67052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6706
6707 [BZ #5805]
6708 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6709 (scalbnf): Likewise.
6710 (scalbnl): Likewise.
6711 (scalbln): Likewise.
6712 (scalblnf): Likewise.
6713 (scalblnl): Likewise.
6714 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6715 (vwarnx): Likewise.
6716 (verr): Likewise.
6717 (verrx): Likewise.
6718 * manual/filesys.texi (telldir): Use braces around return type.
6719 * manual/llio.texi (mmap): Add space after comma.
6720 (mmap64): Likewise.
6721 * manual/math.texi (jn): Use @var{} on parameter names.
6722 (jnf): Likewise.
6723 (jnl): Likewise.
6724 (yn): Likewise.
6725 (ynf): Likewise.
6726 (ynl): Likewise.
6727 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6728 line.
6729 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6730 "...".
6731 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6732 (sched_get_priority_max): Likewise.
6733 * manual/signal.texi (sigvec): Add space after comma.
6734 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6735 names.
6736 (if_indextoname): Likewise.
6737 (if_freenameindex): Likewise.
6738 (sendto): Use ',' instead of '.' in prototype.
6739 * manual/startup.texi (syscall): Use @dots{} instead of literal
6740 "...".
6741 * manual/stdio.texi (__fpending): Separate initial words of
6742 paragraph from @deftypefun line.
6743 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6744 "...".
6745 (vsyslog): Use @var{} on parameter names.
6746 * manual/terminal.texi (stty): Use @var{} on parameter names.
6747 * manual/users.texi (getutmp): Use @var{} on parameter names.
6748 (getutmpx): Likewise.
6749
5b23062f
JM
67502012-02-17 Joseph Myers <joseph@codesourcery.com>
6751
6752 [BZ #6884]
6753 * manual/stdio.texi (fopen): Fix typos in description of
6754 ",ccs=STRING".
6755
8dee4833
AJ
67562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6757
6758 [BZ #4026]
6759 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6760 get clock_id definition.
6761
9078ce93
TS
67622012-02-17 Thomas Schwinge <thomas@schwinge.name>
6763
6764 [BZ #4822]
6765 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6766 (madvise): Cast every argument to void on its own.
6767
3835c55f
JM
67682012-02-17 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #9902]
6771 * manual/startup.texi (Exit Status): Fix typo.
6772
35c47e37
JM
67732012-02-17 Joseph Myers <joseph@codesourcery.com>
6774
6775 [BZ #10140]
6776 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6777 * manual/examples/argp-ex2.c: Likewise.
6778 * manual/examples/argp-ex3.c: Likewise.
6779
e3b69ca7
RH
67802012-02-16 Richard Henderson <rth@redhat.com>
6781
6782 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6783 * sysdeps/s390/s390-32/initfini.c: Remove.
6784 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6785 * sysdeps/s390/s390-64/initfini.c: Remove.
6786
df83af67
KK
67872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6788
6789 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6790 compiler output for sysdeps/generic/initfini.c.
6791 * sysdeps/sh/elf/initfini.c: Remove file.
6792
f63f3380
DM
67932012-02-16 David S. Miller <davem@davemloft.net>
6794
fb59b3a4
DM
6795 [BZ #11494]
6796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6797
f63f3380
DM
6798 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6799 * sysdeps/sparc/crti.S: New file.
6800 * sysdeps/sparc/crtn.S: New file.
6801 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6802 * sysdeps/sparc/sparc64/Makefile: Likewise.
6803
df6a4a4a
MF
68042012-02-15 Mike Frysinger <vapier@gentoo.org>
6805
6dd8f3dc 6806 [BZ #3335]
df6a4a4a
MF
6807 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6808
1cac7236
RM
68092012-02-15 Roland McGrath <roland@hack.frob.com>
6810
d2c736f8
RM
6811 [BZ #4822]
6812 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6813
1cac7236
RM
6814 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6815 (write, read, close): Likewise.
6816 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6817
8e475601
JM
68182012-02-15 Joseph Myers <joseph@codesourcery.com>
6819
6820 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6821 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6823 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6824 <bits/signalfd.h>.
6825 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6827 bits/signalfd.h.
6828
ed656b40
MP
68292012-02-14 Marek Polacek <polacek@redhat.com>
6830
6831 * sysdeps/x86_64/crti.S: New file.
6832 * sysdeps/x86_64/crtn.S: New file.
6833 * sysdeps/x86_64/elf/initfini.c: Remove file.
6834
2a979d3a
JM
68352012-02-13 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6838 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6839 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6840 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6841 <bits/inotify.h>.
6842 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6844 bits/inotify.h.
6845
2a418ac3
JM
68462012-02-13 Joseph Myers <joseph@codesourcery.com>
6847
6848 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6849 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6851 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6852 <bits/eventfd.h>.
6853 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6855 bits/eventfd.h.
6856
fb779be7
TS
68572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6858
e19e83c5
RM
6859 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6860 __feraiseexcept instead of feraiseexcept.
7c35ffed 6861
fb779be7
TS
6862 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6863 nanosleep invocations.
6864 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6865 strings, and add error checking for a nanosleep invocations.
6866
59ba27a6
PE
68672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6868
6869 Replace FSF snail mail address with URLs, as per GNU coding standards.
6870 Most of the snail mail addresses were wrong anyway, and omitting
6871 them makes the source code easier to maintain. Almost all of the
6872 changes are to license notices and to locale LC_IDENTIFICATION
6873 addresses, except for this one:
6874 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6875 not its snail mail address.
6876
57b957eb
RH
68772012-02-09 Richard Henderson <rth@twiddle.net>
6878
af850b1c
RH
6879 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6880 of kernel-features.h.
6881
57b957eb
RH
6882 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6883
6b73181a
MP
68842012-02-08 Marek Polacek <polacek@redhat.com>
6885
6886 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6887 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6888 * sysdeps/gnu/_G_config.h: Likewise.
6889 * sysdeps/generic/_G_config.h: Likewise.
6890
26ecc33a
AS
68912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6892
6c6dbc63
AS
6893 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6894 tests.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6896
e216c012
AS
6897 * sysdeps/powerpc/powerpc32/crti.S: New file.
6898 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6899 * sysdeps/powerpc/powerpc64/crti.S: New file.
6900 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6901
26ecc33a
AS
6902 * Makeconfig (have-initfini): Don't set.
6903 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6904 * configure.in (nopic_initfini): Don't substitute.
6905 * config.h.in (HAVE_INITFINI): Don't #undef.
6906 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6907 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6908
3add8e13
JM
69092012-02-08 Joseph Myers <joseph@codesourcery.com>
6910
6911 Support crti.S and crtn.S provided directly by architectures.
6912 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6913 [crti.S in sysdirs] (omit-deps): Likewise.
6914 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6915 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6916 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6917 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6918 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6919 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6920 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6921 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6922 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6923 compiler output for sysdeps/generic/initfini.c.
6924 * sysdeps/i386/elf/Makefile: Remove file.
6925 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6926
a22f12b4
MP
69272012-02-07 Marek Polacek <polacek@redhat.com>
6928
6929 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6930 * sysdeps/gnu/_G_config.h: Likewise.
6931 * sysdeps/mach/hurd/_G_config.h: Likewise.
6932
148cf100
MP
69332012-02-07 Marek Polacek <polacek@redhat.com>
6934
6935 * math/Makefile (tests): Add tst-CMPLX2.
6936 * math/tst-CMPLX2.c: New file.
6937
cfdc0dd7
AS
69382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6939
84ba42c4
AS
6940 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6941
cfdc0dd7
AS
6942 * math/libm-test.inc (jn_test): Add missing L suffix.
6943
622c86f4
MP
69442012-02-06 Marek Polacek <polacek@redhat.com>
6945
6946 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6947 * sysdeps/i386/fpu/e_powf.S: Likewise.
6948 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6949 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6951 * sysdeps/i386/fpu/e_pow.S: Likewise.
6952 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6954 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6955 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6956 * sysdeps/i386/fpu/e_log2.S: Likewise.
6957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6959 * sysdeps/i386/fpu/e_powl.S: Likewise.
6960 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6961 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6962 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6963 * sysdeps/i386/fpu/e_logl.S: Likewise.
6964 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6965 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6970 * sysdeps/i386/fpu/e_log.S: Likewise.
6971 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6973 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6974 * sysdeps/i386/fpu/e_logf.S: Likewise.
6975 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6976 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6977 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6980 * sysdeps/i386/fpu/e_log10.S: Likewise.
6981 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6982 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6983 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6984 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6985 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6987 * sysdeps/i386/asm-syntax.h: Likewise.
6988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6991 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6992 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6993 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6994 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6995 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6996 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6997 * sysdeps/powerpc/sysdep.h: Likewise.
6998 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6999 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7000
d4a54ac6
JM
70012012-02-06 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #411]
7004 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7005
314054ea
JM
70062012-02-06 Joseph Myers <joseph@codesourcery.com>
7007
7008 * sysdeps/i386/sysdep.h: Include <features.h>.
7009 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7010 version.
7011
d8e0ca50
JM
70122012-02-05 Joseph Myers <joseph@codesourcery.com>
7013
7014 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7015 Define.
7016 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7017 LOAD_PIC_REG_STR.
7018
b1da7dd9
JM
70192012-02-03 Joseph Myers <joseph@codesourcery.com>
7020
7021 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7022 (SETUP_PIC_REG): Use GET_PC_THUNK.
7023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7024 macro.
7025
9a1d9254
JM
70262012-02-03 Joseph Myers <joseph@codesourcery.com>
7027
7028 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7029 for non-PIC compilation.
7030 (SETUP_PIC_REG): Add .p2align directive.
7031 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7032 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7056 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7060 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7061 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7063 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7064 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7065 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7066 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7067 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7068 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7069 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7071 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7072
65dc3b75
JM
70732012-02-03 Joseph Myers <joseph@codesourcery.com>
7074
7075 * math/tst-CMPLX.c: Include <stdio.h>.
7076
d55bf177
JM
70772012-01-31 Joseph Myers <joseph@codesourcery.com>
7078
7079 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7080 float.
7081 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7082 * sysdeps/sparc/bits/mathdef.h: Likewise.
7083
69db4f8f
MP
70842012-01-31 Marek Polacek <polacek@redhat.com>
7085
7086 * libio/libio.h: Don't define _PARAMS.
7087 * locale/programs/config.h: Don't define PARAMS.
7088 * stdlib/strtol_l.c: Likewise.
7089 (__strtol_l): Remove PARAMS from the prototype.
7090
41b81892
UD
70912012-01-31 Ulrich Drepper <drepper@gmail.com>
7092
3b49edc0
UD
7093 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7094 names. Just use the correct names. Remove unnecessary wrapper
7095 functions.
7096 * malloc/arena.c: Likewise.
7097 * malloc/hooks.c: Likewise.
7098
41b81892
UD
7099 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7100 ARENA_TEST says not to. Simplify test for creation of a new arena.
7101 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7102
27a25b6e
UD
71032012-01-30 Ulrich Drepper <drepper@gmail.com>
7104
7105 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7106 into tail calls.
7107 (update_get_addr): New function.
7108 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7109 GET_ADDR_MODULE parameter.
7110
c8a89e7d
JM
71112012-01-30 Joseph Myers <joseph@codesourcery.com>
7112
7113 * crypt/cert.c: Remove __STDC__ conditionals.
7114 * crypt/crypt-entry.c: Likewise.
7115 * crypt/crypt_util.c: Likewise.
7116 * libio/filedoalloc.c: Likewise.
7117 * libio/fileops.c: Likewise.
7118 * libio/genops.c: Likewise.
7119 * libio/iofclose.c: Likewise.
7120 * libio/iofdopen.c: Likewise.
7121 * libio/iofopen.c: Likewise.
7122 * libio/iofopen64.c: Likewise.
7123 * libio/iogetdelim.c: Likewise.
7124 * libio/iopopen.c: Likewise.
7125 * libio/obprintf.c: Likewise.
7126 * libio/oldfileops.c: Likewise.
7127 * libio/oldiofclose.c: Likewise.
7128 * libio/oldiofdopen.c: Likewise.
7129 * libio/oldiofopen.c: Likewise.
7130 * libio/oldiopopen.c: Likewise.
7131 * libio/wfiledoalloc.c: Likewise.
7132 * libio/wgenops.c: Likewise.
7133 * locale/programs/xmalloc.c: Likewise.
7134 * misc/syslog.c: Likewise.
7135 * stdio-common/xbug.c: Likewise.
7136 * string/memchr.c: Likewise.
7137 * string/memcmp.c: Likewise.
7138 * string/memrchr.c: Likewise.
7139 * string/rawmemchr.c: Likewise.
7140 * sysdeps/posix/getcwd.c: Likewise.
7141 * time/strftime_l.c: Likewise.
7142
3b100462
JM
71432012-01-30 Joseph Myers <joseph@codesourcery.com>
7144
7145 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7146 * config.make.in (config-cflags-sse2avx): Define.
7147 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7148 Fix typo.
7149
607998af
CM
71502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7151
7152 * scripts/config.guess: Update from upstream config git repository.
7153 * scripts/config.sub: Likewise.
7154
3601428f
CM
71552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7156
3ac8b282
CM
7157 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7158 (EM_NUM): Update.
7159 (R_TILEPRO_*, R_TILEGX_*): New macros.
7160
e034841e
CM
7161 * scripts/firstversions.awk: Fix bug in version range handling.
7162
540d7568
CM
7163 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7164
3601428f
CM
7165 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7166
463de862
CM
7167 * include/sys/epoll.h: New file.
7168 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7169 libc_hidden_def.
7170
73139a76
UD
71712012-01-28 Ulrich Drepper <drepper@gmail.com>
7172
96bc5b45
UD
7173 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7174 Avoid unnecessary __WORDSIZE == 64 test.
7175 (fmaxf): Use VEX format if possible.
7176 (fmax): Likewise.
7177 (fminf): Likewise.
7178 (fmin): Likewise.
7179
56f6f6a2
UD
7180 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7181 * math/math_private.h: Remove libc_fegetround* and
7182 libc_fesetround*.
7183 * sysdeps/i386/configure.in: Check for -msse2avx.
7184 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7185 also if SSE2AVX is defined.
7186 Remove libc_fegetround* and libc_fesetround*.
7187 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7188 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7190 of HAS_YMM_USABLE.
7191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7192 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7193 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7194 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7195 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7196
73139a76
UD
7197 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7198
d73f93a4
AZ
71992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7200
7201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7202 size is not set.
7203 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7204
6ee65ed6
UD
72052012-01-27 Ulrich Drepper <drepper@gmail.com>
7206
7207 [BZ #13618]
7208 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7209 relocation.
7210 * Makeconfig (libm): Define.
7211 * elf/Makefile: Add rules to build and run tst-relsort1.
7212 * elf/tst-relsort1.c: New file.
7213 * elf/tst-relsort1mod1.c: New file.
7214 * elf/tst-relsort1mod2.c: New file.
7215
8db21882
JM
72162012-01-27 Joseph Myers <joseph@codesourcery.com>
7217
7218 * math/s_ldexp.c: Remove __STDC__ conditionals.
7219 * math/s_ldexpf.c: Likewise.
7220 * math/s_ldexpl.c: Likewise.
7221 * math/s_nextafter.c: Likewise.
7222 * math/s_nexttowardf.c: Likewise.
7223 * math/s_significand.c: Likewise.
7224 * math/s_significandf.c: Likewise.
7225 * math/s_significandl.c: Likewise.
7226 * math/w_jnl.c: Likewise.
7227 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7228 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7229 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7230 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7231 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7253 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7254 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7255 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7256 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7257 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7258 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7259 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7260 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7261 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7262 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7263 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7264 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7265 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7266 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7267 * sysdeps/ieee754/k_standard.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7334 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7342 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7347 * sysdeps/ieee754/s_matherr.c: Likewise.
7348 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7349 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7351 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7352
965a54a4
JM
73532012-01-26 Joseph Myers <joseph@codesourcery.com>
7354
7355 * crypt/md5.h: Remove __STDC__ conditionals.
7356 * libio/libioP.h: Likewise.
7357 * locale/programs/config.h: Likewise.
7358 * sysdeps/generic/sysdep.h: Likewise.
7359 * sysdeps/i386/asm-syntax.h: Likewise.
7360 * sysdeps/s390/asm-syntax.h: Likewise.
7361 * sysdeps/unix/sysdep.h: Likewise.
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7364
7071ad79
JM
73652012-01-26 Joseph Myers <joseph@codesourcery.com>
7366
7367 * libio/libio.h: Remove __STDC__ conditionals.
7368 * malloc/obstack.h: Likewise.
7369 * math/complex.h: Likewise.
7370 * math/math.h: Likewise.
7371 * sysdeps/generic/_G_config.h: Likewise.
7372 * sysdeps/gnu/_G_config.h: Likewise.
7373 * sysdeps/mach/hurd/_G_config.h: Likewise.
7374 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7375 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7376 * sysdeps/sparc/bits/mathdef.h: Likewise.
7377
afc5ed09
UD
73782012-01-26 Ulrich Drepper <drepper@gmail.com>
7379
7380 [BZ #13583]
7381 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7382 Clean up HAS_* macros.
afc5ed09 7383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7384 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7385 possible.
7386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7387 HAS_AVX.
7388 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7389 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7390 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7393
bdb6de1d
JM
73942012-01-25 Joseph Myers <joseph@codesourcery.com>
7395
7396 * elf/tst-unique3.cc (gets): Remove declaration.
7397 * elf/tst-unique3lib.cc (gets): Likewise.
7398 * elf/tst-unique3lib2.cc (gets): Likewise.
7399 * elf/tst-unique4.cc (gets): Likewise.
7400
b15549e6
UD
74012012-01-24 Ulrich Drepper <drepper@gmail.com>
7402
7403 * include/stdio.h: Add C++ protection. Add gets declarations and
7404 definitions.
7405 * debug/tst-chk1.c: Don't declare gets here.
7406 * stdio-common/tst-gets.c: Likewise.
7407
a037381f
JM
74082012-01-24 Joseph Myers <joseph@codesourcery.com>
7409
7410 * posix/glob: Remove directory.
7411
f1d4aa75
JM
74122012-01-24 Joseph Myers <joseph@codesourcery.com>
7413
7414 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7415
81c0c964
PT
74162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7417
7418 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7419 of the non-standard EPFNOSUPPORT.
7420
0ea698ae
ST
74212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422
7423 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7424 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7425 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7426
d220b117
UD
74272012-01-21 Ulrich Drepper <drepper@gmail.com>
7428
7429 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7430
3e1aa84e
UD
74312012-01-20 Ulrich Drepper <drepper@gmail.com>
7432
7433 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7434 transient errors.
7435 * nscd/grpcache.c (cache_addgr): Likewise.
7436 * nscd/hstcache.c (cache_addhst): Likewise.
7437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7438 * nscd/pwdcache.c (cache_addpw): Likewise.
7439 * nscd/servicescache.c (cache_addserv): Likewise.
7440
400aa020
UD
74412012-01-16 Ulrich Drepper <drepper@gmail.com>
7442
d77e7869
UD
7443 * malloc/malloc.c: Various cleanups.
7444 * malloc/hooks.c: Likewise.
7445
400aa020
UD
7446 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7447 * stdlib/bug-fmtmsg1.c: New file.
7448
7449 * stdlib/fmtmsg.c (init): Add missing unlock.
7450 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7451
e0a309cf
MP
74522012-01-12 Marek Polacek <polacek@redhat.com>
7453
7454 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7455 and _GNU_SOURCE.
7456
929d11c7
WS
74572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7458
7459 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7460 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7461 macro to ensure uniqueness of label name.
7462 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7463 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7464
41d0e869
UD
74652012-01-11 Ulrich Drepper <drepper@gmail.com>
7466
0cc5ed3b
UD
7467 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7468
41d0e869
UD
7469 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7470 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7473
a47a831a
UD
74742012-01-10 Ulrich Drepper <drepper@gmail.com>
7475
daa891c0
UD
7476 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7477
7478 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7479 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7481
e58ef0f2
UD
7482 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7483
a47a831a 7484 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7485 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7488
7489 * math/bits/math-finite.h: Add ldexp support.
7490
a0bfc9c7
MP
74912012-01-10 Marek Polacek <polacek@redhat.com>
7492
7493 * locale/programs/localedef.h (show_archive_content): Add noreturn
7494 attribute.
7495
d6e97a1d
UD
74962012-01-09 Ulrich Drepper <drepper@gmail.com>
7497
7498 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7499
d5835c26
UD
75002012-01-08 Ulrich Drepper <drepper@gmail.com>
7501
e5f484c6
UD
7502 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7503
d5835c26
UD
7504 * io/Makefile (headers): Add bits/poll2.h.
7505
d1f741e9
WS
75062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7507
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7509 typo #include statement.
7510
ec09c1c4
UD
75112012-01-08 Ulrich Drepper <drepper@gmail.com>
7512
7513 * include/sys/cdefs.h: Define __attribute_alloc_size.
7514 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7515 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7516 * elf/pldd.c: Likewise.
7517 * iconv/iconv_charmap.c: Likewise.
7518 * iconv/iconvconfig.c: Likewise.
7519 * iconv/strtab.c: Likewise.
7520 * locale/programs/locale.c: Likewise.
7521 * locale/programs/localedef.h: Likewise.
7522 * locale/programs/simple-hash.c: Likewise.
7523 * nscd/nscd.h: Likewise.
7524 * nss/makedb.c: Likewise.
7525 * sysdeps/generic/ldconfig.h: Likewise.
7526 * locale/programs/localedef.c: Remove xmalloc prototype.
7527 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7528
20b38e03
PP
75292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7530
7531 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7532 appropriate.
7533
a0da5fe1
UD
75342012-01-08 Ulrich Drepper <drepper@gmail.com>
7535
1d5a644a 7536 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7537 * math/tst-CMPLX.c: New file.
1d5a644a 7538
8784a6db
UD
7539 * math/complex.h (CMPLXL): Fix typo.
7540
d9a216c0
UD
7541 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7542 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7543 GLIBC_2.16.
7544 * debug/tst-chk1.c: Add poll and ppoll tests.
7545 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7546 * include/sys/poll.h: Add hidden proto for ppoll.
7547 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7548 * sysdeps/mach/hurd/ppoll.c: Likewise.
7549 * io/ppoll.c: Likewise.
7550 * debug/poll_chk.c: New file.
7551 * debug/ppoll_chk.c: New file.
7552 * include/bits/poll2.h: New file.
7553 * io/bits/poll2.h: New file.
7554
ac097f5c
UD
7555 [BZ #1350]
7556 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7557
2119dcfa
UD
7558 * configure.in: static is always set to yes. Remove.
7559 * config.make.in: Don't set build-static.
7560 * Makeconfig: Remove use of build-static.
7561 * dlfcn/Makefile: Likewise.
7562 * elf/Makefile: Likewise.
7563 * math/Makefile: Likewise.
7564 * misc/Makefile: Likewise.
7565 * nptl/Makefile: Likewise.
7566 * sysdeps/mach/hurd/Makefile: Likewise.
7567
121766a9
UD
7568 * configure.in: PWD_P is not used anymore.
7569 * config.make.in: Remove PWD_P entry.
7570
51a1d39c 7571 * configure.in: Remove last remnants of RANLIB.
8720d066 7572 No need to check for signed size_t anymore.
215f4bdc
UD
7573 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7574 and IA-64.
3857022a 7575 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7576 * aclocal.m4: Likewise.
7577
d3ed7225
UD
7578 * wcsmbs/mbrtoc16.c: Implement using towc function.
7579 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7580 * wcsmbs/wcsmbsload.c: Likewise.
7581 * iconv/gconv_simple.c: Likewise.
7582 * iconv/gconv_int.h: Likewise.
7583 * iconv/gconv_builtin.h: Likewise.
7584 * iconv/iconv_prog.c: Remove CHAR16 handling.
7585
7586 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7587
7588 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7589
a0da5fe1
UD
7590 * configure.in: Remove --with-elf and --enable-bounded options.
7591 Dont set base_machine for ia64. More non-ELF conditions removed.
7592 Remove testing and setting of leading underscore information.
7593 * config.make.in (build-bounded): Set to no.
7594 * config.h.in: Remove NO_UNDERSCORES entry.
7595 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7596 them.
7597 * csu/start.c: Remove !NO_UNDERSCORE code.
7598 * locale/localeinfo.h: Likewise.
7599 * sysdeps/generic/machine-gmon.h: Likewise.
7600 * sysdeps/generic/sysdep.h: Likewise.
7601 * sysdeps/i386/sysdep.h: Likewise.
7602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7603 * sysdeps/mach/sysdep.h: Likewise.
7604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7606 * sysdeps/sh/sysdep.h: Likewise.
7607 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7608 * sysdeps/unix/i386/sysdep.S: Likewise.
7609 * sysdeps/unix/sparc/start.c: Likewise.
7610 * sysdeps/unix/sparc/sysdep.S: Likewise.
7611 * sysdeps/unix/sparc/sysdep.h: Likewise.
7612 * sysdeps/unix/start.c: Likewise.
7613 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7614 * sysdeps/x86_64/sysdep.h: Likewise.
7615
df78418a
UD
76162012-01-07 Ulrich Drepper <drepper@gmail.com>
7617
a784e502
UD
7618 [BZ #13553]
7619 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7620 for non-gcc.
7621 * argp/argp-fmtstream.h: Use const instead __const.
7622 * argp/argp.h: Likewise.
7623 * assert/assert.h: Likewise.
7624 * bits/fenv.h: Likewise.
7625 * bits/sched.h: Likewise.
7626 * bits/sigset.h: Likewise.
7627 * bits/sigthread.h: Likewise.
7628 * catgets/nl_types.h: Likewise.
7629 * conform/data/pthread.h-data: Likewise.
7630 * crypt/crypt-private.h: Likewise.
7631 * crypt/crypt.h: Likewise.
7632 * crypt/crypt_util.c: Likewise.
7633 * ctype/ctype.h: Likewise.
7634 * debug/execinfo.h: Likewise.
7635 * debug/mbsnrtowcs_chk.c: Likewise.
7636 * debug/mbsrtowcs_chk.c: Likewise.
7637 * debug/wcsnrtombs_chk.c: Likewise.
7638 * debug/wcsrtombs_chk.c: Likewise.
7639 * debug/wcstombs_chk.c: Likewise.
7640 * dirent/dirent.h: Likewise.
7641 * dlfcn/dlfcn.h: Likewise.
7642 * elf/neededtest4.c: Likewise.
7643 * grp/grp.h: Likewise.
7644 * gshadow/gshadow.h: Likewise.
7645 * iconv/gconv.h: Likewise.
7646 * iconv/gconv_int.h: Likewise.
7647 * iconv/gconv_simple.c: Likewise.
7648 * iconv/iconv.h: Likewise.
7649 * iconv/loop.c: Likewise.
7650 * iconv/skeleton.c: Likewise.
7651 * include/aio.h: Likewise.
7652 * include/aliases.h: Likewise.
7653 * include/argz.h: Likewise.
7654 * include/arpa/inet.h: Likewise.
7655 * include/assert.h: Likewise.
7656 * include/dirent.h: Likewise.
7657 * include/dlfcn.h: Likewise.
7658 * include/execinfo.h: Likewise.
7659 * include/fcntl.h: Likewise.
7660 * include/fenv.h: Likewise.
7661 * include/glob.h: Likewise.
7662 * include/grp.h: Likewise.
7663 * include/libintl.h: Likewise.
7664 * include/mntent.h: Likewise.
7665 * include/netdb.h: Likewise.
7666 * include/pwd.h: Likewise.
7667 * include/rpc/netdb.h: Likewise.
7668 * include/sched.h: Likewise.
7669 * include/search.h: Likewise.
7670 * include/shadow.h: Likewise.
7671 * include/signal.h: Likewise.
7672 * include/stdio.h: Likewise.
7673 * include/stdlib.h: Likewise.
7674 * include/string.h: Likewise.
7675 * include/sys/socket.h: Likewise.
7676 * include/sys/stat.h: Likewise.
7677 * include/sys/statfs.h: Likewise.
7678 * include/sys/statvfs.h: Likewise.
7679 * include/sys/syslog.h: Likewise.
7680 * include/sys/time.h: Likewise.
7681 * include/sys/uio.h: Likewise.
7682 * include/time.h: Likewise.
7683 * include/unistd.h: Likewise.
7684 * include/utmp.h: Likewise.
7685 * include/wchar.h: Likewise.
7686 * include/wctype.h: Likewise.
7687 * inet/aliases.h: Likewise.
7688 * inet/arpa/inet.h: Likewise.
7689 * inet/netinet/ether.h: Likewise.
7690 * inet/netinet/in.h: Likewise.
7691 * intl/libintl.h: Likewise.
7692 * io/bits/fcntl2.h: Likewise.
7693 * io/fcntl.h: Likewise.
7694 * io/ftw.h: Likewise.
7695 * io/sys/poll.h: Likewise.
7696 * io/sys/stat.h: Likewise.
7697 * io/sys/statfs.h: Likewise.
7698 * io/sys/statvfs.h: Likewise.
7699 * io/utime.h: Likewise.
7700 * libio/bits/stdio.h: Likewise.
7701 * libio/bits/stdio2.h: Likewise.
7702 * libio/libio.h: Likewise.
7703 * libio/libioP.h: Likewise.
7704 * libio/stdio.h: Likewise.
7705 * locale/lc-ctype.c: Likewise.
7706 * locale/locale.h: Likewise.
7707 * login/utmp.h: Likewise.
7708 * malloc/arena.c: Likewise.
7709 * malloc/malloc.c: Likewise.
7710 * malloc/malloc.h: Likewise.
7711 * malloc/mcheck.c: Likewise.
7712 * malloc/mtrace.c: Likewise.
7713 * math/bits/mathcalls.h: Likewise.
7714 * math/fenv.h: Likewise.
7715 * math/math_private.h: Likewise.
7716 * misc/bits/error.h: Likewise.
7717 * misc/bits/syslog.h: Likewise.
7718 * misc/err.h: Likewise.
7719 * misc/error.h: Likewise.
7720 * misc/fstab.h: Likewise.
7721 * misc/mntent.h: Likewise.
7722 * misc/regexp.h: Likewise.
7723 * misc/search.h: Likewise.
7724 * misc/sgtty.h: Likewise.
7725 * misc/sys/mman.h: Likewise.
7726 * misc/sys/syslog.h: Likewise.
7727 * misc/sys/uio.h: Likewise.
7728 * misc/sys/xattr.h: Likewise.
7729 * misc/ttyent.h: Likewise.
7730 * nis/rpcsvc/ypclnt.h: Likewise.
7731 * nss/nss.h: Likewise.
7732 * posix/bits/unistd.h: Likewise.
7733 * posix/fnmatch.h: Likewise.
7734 * posix/glob.h: Likewise.
7735 * posix/sched.h: Likewise.
7736 * posix/spawn.h: Likewise.
7737 * posix/sys/wait.h: Likewise.
7738 * posix/unistd.h: Likewise.
7739 * posix/wordexp.h: Likewise.
7740 * pwd/pwd.h: Likewise.
7741 * resolv/netdb.h: Likewise.
7742 * resource/sys/resource.h: Likewise.
7743 * rt/aio.h: Likewise.
7744 * rt/bits/mqueue2.h: Likewise.
7745 * rt/mqueue.h: Likewise.
7746 * shadow/shadow.h: Likewise.
7747 * signal/signal.h: Likewise.
7748 * socket/send.c: Likewise.
7749 * socket/sendto.c: Likewise.
7750 * socket/sys/socket.h: Likewise.
7751 * stdio-common/printf.h: Likewise.
7752 * stdlib/bits/stdlib.h: Likewise.
7753 * stdlib/fmtmsg.h: Likewise.
7754 * stdlib/monetary.h: Likewise.
7755 * stdlib/stdlib.h: Likewise.
7756 * stdlib/ucontext.h: Likewise.
7757 * streams/stropts.h: Likewise.
7758 * string/argz.h: Likewise.
7759 * string/bits/string2.h: Likewise.
7760 * string/string.h: Likewise.
7761 * string/strings.h: Likewise.
7762 * sunrpc/rpc/auth.h: Likewise.
7763 * sunrpc/rpc/auth_des.h: Likewise.
7764 * sunrpc/rpc/clnt.h: Likewise.
7765 * sunrpc/rpc/netdb.h: Likewise.
7766 * sunrpc/rpc/pmap_clnt.h: Likewise.
7767 * sunrpc/rpc/xdr.h: Likewise.
7768 * sysdeps/generic/inttypes.h: Likewise.
7769 * sysdeps/generic/net/if.h: Likewise.
7770 * sysdeps/generic/sys/swap.h: Likewise.
7771 * sysdeps/gnu/net/if.h: Likewise.
7772 * sysdeps/gnu/utmpx.h: Likewise.
7773 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7774 * sysdeps/i386/i486/bits/string.h: Likewise.
7775 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7776 * sysdeps/s390/bits/string.h: Likewise.
7777 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7778 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7779 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7780 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7781 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7782 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7783 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7784 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7785 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7786 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7788 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7789 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7790 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7791 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7792 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7798 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7800 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7802 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7804 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7805 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7806 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7807 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7808 * sysvipc/sys/ipc.h: Likewise.
7809 * sysvipc/sys/msg.h: Likewise.
7810 * sysvipc/sys/sem.h: Likewise.
7811 * sysvipc/sys/shm.h: Likewise.
7812 * termios/termios.h: Likewise.
7813 * time/sys/time.h: Likewise.
7814 * time/time.h: Likewise.
7815 * wcsmbs/bits/wchar2.h: Likewise.
7816 * wcsmbs/uchar.h: Likewise.
7817 * wcsmbs/wchar.h: Likewise.
7818 * wctype/wctype.h: Likewise.
7819
0269750c
UD
7820 [BZ #13551]
7821 * Makeconfig: Remove all but ELF support including AIX support.
7822 * Makerules: Likewise.
7823 * config.h.in: Likewise.
7824 * config.make.in: Likewise.
7825 * configure: Likewise.
7826 * configure.in: Likewise.
7827 * csu/Makefile: Likewise.
7828 * csu/version.c: Likewise.
7829 * debug/Makefile: Likewise.
7830 * dlfcn/Makefile: Likewise.
7831 * elf/Makefile: Likewise.
7832 * extra-lib.mk: Likewise.
7833 * iconv/Makefile: Likewise.
7834 * include/libc-symbols.h: Likewise.
7835 * include/shlib-compat.h: Likewise.
7836 * resolv/Makefile: Likewise.
7837 * resolv/res_libc.c: Likewise.
7838 * rt/Makefile: Likewise.
7839 * sysdeps/i386/asm-syntax.h: Likewise.
7840 * sysdeps/i386/sysdep.h: Likewise.
7841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7842 * sysdeps/mach/sysdep.h: Likewise.
7843 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7844 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7845 * sysdeps/s390/asm-syntax.h: Likewise.
7846 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7848 * sysdeps/sh/sysdep.h: Likewise.
7849 * sysdeps/unix/sparc/sysdep.h: Likewise.
7850 * sysdeps/wordsize-32/divdi3.c: Likewise.
7851 * sysdeps/x86_64/sysdep.h: Likewise.
7852
00bbd29b
UD
7853 * argp/Versions: Remove _argp_unlock_xxx.
7854
7855 [BZ #13559]
7856 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7857 * abilist/libBrokenLocale.abilist: Likewise.
7858 * abilist/libanl.abilist: Likewise.
7859 * abilist/libc.abilist: Likewise.
7860 * abilist/libcrypt.abilist: Likewise.
7861 * abilist/libdl.abilist: Likewise.
7862 * abilist/libm.abilist: Likewise.
7863 * abilist/libnsl.abilist: Likewise.
7864 * abilist/libpthread.abilist: Likewise.
7865 * abilist/libresolv.abilist: Likewise.
7866 * abilist/librt.abilist: Likewise.
7867 * abilist/libthread_db.abilist: Likewise.
7868 * abilist/libutil.abilist: Likewise.
7869 * abilist/libnss_db.abilist: New file.
7870
7871 * scripts/abilist.awk: Add support for indirect functions.
7872
a2693a0e
UD
7873 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7874
3f05895f
UD
7875 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7876
ecb6fb48
UD
7877 * shlib-versions: Remove entries for ports architectures.
7878
664f8cb9
UD
7879 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7880 files in ports.
7881 * elf/stackguard-macros.h: Remove support for IA-64.
7882 * elf/tst-auditmod1.c: Likewise.
7883 * sysdeps/generic/ldsodefs.h: Likewise.
7884
7ae81d88
UD
7885 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7886 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7887 configure files.
7888
bdeba135
UD
7889 [BZ #13552]
7890 * configure.in: Remove --enable-omitfp support.
7891 * FAQ.in: Adjust.
7892 * config.make.in: Likewise.
7893 * Makeconfig: Likewise.
7894 * manual/install.texi: Likewise.
7895
d75a0a62
UD
7896 In case anyone cares, the IA-64 architecture could move to ports.
7897 * sysdeps/ia64/*: Removed.
7898 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7899 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7900
dcc9756b
UD
7901 [BZ #13555]
7902 * configure.in: Remove entries for unsupported architectures.
7903
d3761ebc 7904 [BZ #13533]
9954432e
UD
7905 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7906 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7907 routines.
7908 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7909 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7910 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7911 fall back to using wcrtomb.
7912 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7913 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7914 renaming.
7915 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7916 * wcsmbs/tst-c16c32-1.c: New file.
7917
7918 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7919 local variable.
7920
c3a87236
UD
7921 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7922
28926a1b
UD
7923 * elf/tst-unique3.cc: Add explicit declaration of gets.
7924 * elf/tst-unique3lib.cc: Likewise.
7925 * elf/tst-unique3lib2.cc: Likewise.
7926 * elf/tst-unique4.cc: Likewise.
7927
df78418a
UD
7928 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7929
8ecd6b2a
JM
79302012-01-06 Joseph Myers <joseph@codesourcery.com>
7931
7932 [BZ #13566]
7933 * assert/assert.h (static_assert): Don't define for C++.
7934 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7935 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7936
9f115170
UD
79372012-01-03 Ulrich Drepper <drepper@gmail.com>
7938
5e0d0300
UD
7939 * iconv/loop.c (single loop): Fix assertion in storing of
7940 remaining bytes.
7941
9f115170
UD
7942 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7943
81fb02b0
UD
79442012-01-01 Ulrich Drepper <drepper@gmail.com>
7945
7946 * posix/getconf.c: Update copyright year.
7947 * nss/getent.c: Likewise.
a316c1f6 7948 * nss/makedb.c: Likewise.
81fb02b0
UD
7949 * iconv/iconvconfig.c: Likewise.
7950 * iconv/iconv_prog.c: Likewise.
7951 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7952 * elf/pldd.c: Likewise.
7953 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7954 * catgets/gencat.c: Likewise.
7955 * csu/version.c: Likewise.
7956 * elf/ldd.bash.in: Likewise.
7957 * elf/sprof.c (print_version): Likewise.
7958 * locale/programs/locale.c: Likewise.
7959 * locale/programs/localedef.c: Likewise.
a316c1f6 7960 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7961 * nscd/nscd.c (print_version): Likewise.
7962 * debug/xtrace.sh: Likewise.
7963 * malloc/memusage.sh: Likewise.
7964 * malloc/mtrace.pl: Likewise.
7965 * debug/catchsegv.sh: Likewise.
7966
2ba92745
JJ
79672011-12-30 Jakub Jelinek <jakub@redhat.com>
7968
7969 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7970 pure attribute.
7971
dadebdae
UD
79722011-12-24 Ulrich Drepper <drepper@gmail.com>
7973
d3761ebc 7974 [BZ #13533]
db6af3eb
UD
7975 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7976 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7977 transformations.
7978 * iconv/gconv_int.h: Likewise.
7979 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7980 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7981 from libc for GLIBC_2.16.
7982 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7983 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7984 * wcsmbs/uchar.h: Really define mbstate_t.
7985 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7986 * wcsmbs/c16rtomb.c: New file.
7987 * wcsmbs/mbrtoc16.c: New file.
7988 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7989 for C/POSIX locale.
7990 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7991 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7992
dadebdae
UD
7993 * wcsmbs/wchar.h: Add missing __restrict.
7994
67371b56
UD
79952011-12-23 Ulrich Drepper <drepper@gmail.com>
7996
74033a25
UD
7997 [BZ #13532]
7998 * time/Makefile (routines): Add timespec_get.
7999 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8000 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8001 timespec for ISO C11.
8002 * time/timespec_get.c: New file.
8003 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8004 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8005
380d7e87
UD
8006 [BZ #13531]
8007 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8008 * stdlib/stdlib.h: Declare aligned_alloc.
8009 * Versions.def: Add GLIBC_2.16 for libc.
8010 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8011
4e9e7a35
UD
8012 [BZ 13527]
8013 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8014 ISO C11.
8015
380d7e87 8016 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8017 code.
8018
03a71829
UD
8019 [BZ #13528]
8020 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8021
839e283e
UD
8022 [BZ #13529]
8023 * assert/assert.h (static_assert): Define.
8024
ce5294e2 8025 * version.h: Update for 2.16 development version.
90fa7312 8026
8d44e150 8027 [BZ #13526]
d7809905
UD
8028 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8029 _ISOC11_SOURCE.
8030
c0da14cd
UD
8031 * version.h (RELEASE): Bump for 2.15 release.
8032 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8033
530a3249
MP
8034 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8035 Patch by Marek Polacek <mpolacek@redhat.com>.
8036
67371b56
UD
8037 * bits/byteswap.h: Protect long long constants with __extension__.
8038 * sysdeps/i386/bits/byteswap.h: Likewise.
8039 * sysdeps/ia64/bits/byteswap.h: Likewise.
8040 * sysdeps/s390/bits/byteswap.h: Likewise.
8041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8042
15db4de1
LD
80432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8044
8045 [BZ #13540]
bbe315ea
LD
8046 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8047 destination buffer.
15db4de1
LD
8048 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8049
2b2596b1
MP
80502011-12-23 Marek Polacek <polacek@redhat.com>
8051
8052 * elf/dl-addr.c (determine_info): Add inline keyword.
8053 * elf/tst-auditmod4b.c (check_avx): Likewise.
8054 * elf/tst-auditmod6b.c (check_avx): Likewise.
8055 * elf/tst-auditmod6c.c (check_avx): Likewise.
8056 * elf/tst-auditmod7b.c (check_avx): Likewise.
8057
70c6c246
UD
80582011-12-23 Ulrich Drepper <drepper@gmail.com>
8059
8060 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8061 !__SSE_MATH__.
8062
c044cf14
LD
80632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8064
15db4de1 8065 [BZ #13540]
c044cf14
LD
8066 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8067 processing for last bytes.
8068
6b13d9d9
BH
80692011-08-06 Bruno Haible <bruno@clisp.org>
8070
d455f537
BH
8071 [BZ #13061]
8072 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8073 U+0385, not to U+1FEE.
8074
6b13d9d9
BH
8075 [BZ #13062]
8076 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8077 entry for U+00A5 U+0301.
8078
db910efd
UD
80792011-12-22 Ulrich Drepper <drepper@gmail.com>
8080
27deeafc
UD
8081 [BZ #13166]
8082 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8083 buffer for the output is too small.
8084
aed9d171
UD
8085 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8086 optimization.
8087
db910efd
UD
8088 [BZ #13185]
8089 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8090 SSE flags if possible.
8091
2bd779ae
LD
80922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8093
e7f9dac3 8094 [BZ #13540]
2bd779ae
LD
8095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8096 processing for last bytes.
8097
154bfc16
JM
80982011-12-22 Joseph Myers <joseph@codesourcery.com>
8099
8100 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8101 (syscall-list-default-options, syscall-list-default-condition)
8102 (syscall-list-includes): Define.
8103 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8104 list of ABIs and options and #if conditions for each ABI. Do not
8105 handle common syscalls between ABIs specially.
8106 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8107 Remove.
8108 (syscall-list-variants, syscall-list-32bit-options)
8109 (syscall-list-32bit-condition, syscall-list-64bit-options)
8110 (syscall-list-64bit-condition): Define.
8111 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8112 (syscall-list-variants, syscall-list-32bit-options)
8113 (syscall-list-32bit-condition, syscall-list-64bit-options)
8114 (syscall-list-64bit-condition): Define.
8115 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8116 Remove.
8117 (syscall-list-variants, syscall-list-32bit-options)
8118 (syscall-list-32bit-condition, syscall-list-64bit-options)
8119 (syscall-list-64bit-condition): Define.
8120 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8121 Remove.
8122 (syscall-list-variants, syscall-list-32bit-options)
8123 (syscall-list-32bit-condition, syscall-list-64bit-options)
8124 (syscall-list-64bit-condition): Define.
8125
21eaf3a5
UD
81262011-12-22 Ulrich Drepper <drepper@gmail.com>
8127
16c6f992
UD
8128 * locale/iso-639.def: Add brx entry.
8129
41043168
UD
8130 [BZ #13328]
8131 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8132 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8133
21eaf3a5
UD
8134 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8135 __feraiseexcept_renamed.
8136
e3a851a2
UD
81372011-12-21 Ulrich Drepper <drepper@gmail.com>
8138
4920765e
UD
8139 [BZ #13538]
8140 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8141 EPOLLET with unsigned values.
8142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8144
e3a851a2
UD
8145 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8146 to large cancellation.
8147 * math/s_cacoshf.c: Likewise.
8148 * math/s_cacoshl.c: Likewise.
8149
b27e24b8
RK
81502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8151
8152 [BZ #13305]
aebefeee 8153 [BZ #12786]
b27e24b8
RK
8154 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8155 * math/s_cacoshf.c: Likewise.
8156 * math/s_cacoshl.c: Likewise.
8157
ee190f67
UD
81582011-12-21 Ulrich Drepper <drepper@gmail.com>
8159
8160 [BZ #13439]
8161 * iconv/gconv.h: Define __GCONV_SWAP.
8162 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8163 * iconvdata/utf-16.c: Likewise.
8164 * iconvdata/utf-32.c: Likewise.
8165
707f25df
AS
81662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8167
8168 [BZ #13524]
8169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8170 numerator after shifting it by one limb.
8171
d2daaa1e
RÁE
81722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8173
8174 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8175 under [__USE_EXTERN_INLINES].
8176
a4647e72
UD
81772011-12-17 Ulrich Drepper <drepper@gmail.com>
8178
8179 [BZ #13446]
8180 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8181
f0b264f1
AZ
81822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183
8184 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8185 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8186 optimized code.
8187 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8188 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8189 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8190 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8191 for strncasecmp/strncasecmp_l compilation.
8192 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8193 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8194
8ef4f244
MP
81952011-12-08 Marek Polacek <mpolacek@redhat.com>
8196
8197 [BZ #13484]
8198 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8199 of __asm__.
8200
97ac2654
UD
82012011-12-17 Ulrich Drepper <drepper@gmail.com>
8202
8203 [BZ #13506]
8204 * time/tzfile.c (__tzfile_read): Check values from file header.
8205
91d2a845
WS
82062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8207
8208 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8209 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8210 * powerpc/powerpc32/dl-start.S: Likewise.
8211 * powerpc/powerpc32/elf/start.S: Likewise.
8212 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8213 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8214 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8215 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8216 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8217 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8218 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8219 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8220 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8221 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8222 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8223 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8224 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8225 * powerpc/powerpc32/memset.S: Likewise.
8226 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8227 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8228 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8229 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8230 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8231 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8232 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8233 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8234 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8235 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8236 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8237 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8238 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8239
a1267ba1
AZ
82402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8241
8242 * math/libm-test.inc: Added more nearbyint tests.
8243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8247
ad8ac1bd
RL
82482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8249
8250 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8251 FD_CLOEXEC.
8252
1d3e4b61
UD
82532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8254
8255 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8256 Add wcscpy-ssse3 wcscpy-c.
8257 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8258 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8259 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8260 * sysdeps/x86_64/wcschr.S: New file.
8261 * sysdeps/x86_64/wcsrchr.S: New file.
8262 * string/test-strcmp.c: Remove checking of wcscmp function for
8263 wrong alignments.
8264 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8265 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8266 wcsrchr-sse2 wcsrchr-c.
8267 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8268 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8269 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8270 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8271 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8272 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8273 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8274 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8275 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8276 * wcsmbc/wcschr.c (WCSCHR): New macro.
8277
5b330a2d
UD
82782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8279
8280 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8281 * wcsmbs/test-wcsrchr.c: New file.
8282 * string/test-strrchr.c: Add wcsrchr support.
8283 (WIDE): New macro.
8284 * wcsmbs/test-wcscpy.c: New file.
8285 * string/test-strcpy.c: Add wcscpy support.
8286 (WIDE): New macro.
26428b7c 8287
f039c043
UD
82882011-12-10 Ulrich Drepper <drepper@gmail.com>
8289
8290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8291 the inner loop.
8292
850fb039
AS
82932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8294
8295 [BZ #13472]
8296 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8297
4efbd5cb
UD
82982011-12-04 Ulrich Drepper <drepper@gmail.com>
8299
52ff5dd0 8300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8301 Minor optimizations.
52ff5dd0 8302
4efbd5cb
UD
8303 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8304 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8305 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8306
8a426e12
UD
83072011-12-03 Ulrich Drepper <drepper@gmail.com>
8308
aff2453d
UD
8309 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8310 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8311 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8312 for gcc to avoid warnings.
8313 * inet/Makefile (tests): Add tst-checks.
8314 * inet/tst-checks.c: New file.
8315
8316 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8317 warning.
8318
8319 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8320 __wmemcmp_sse2.
8321
8322 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8323 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8324
8a426e12
UD
8325 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8326
9bea3473
UD
83272011-12-02 Ulrich Drepper <drepper@gmail.com>
8328
3a965496
UD
8329 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8330 problem.
8331
9bea3473
UD
8332 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8333
f101631b
UD
83342011-11-29 Joseph Myers <joseph@codesourcery.com>
8335
8336 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8337 conditional on GCC version.
8338 (__arch_compare_and_exchange_val_8_acq)
8339 (__arch_compare_and_exchange_val_16_acq)
8340 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8341 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8342 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8343
a98275aa
UD
83442011-12-02 Joseph Myers <joseph@codesourcery.com>
8345
8346 * sysdeps/sh/backtrace.c: New file.
8347
d4cc29a2
AS
83482011-12-02 Andreas Schwab <schwab@redhat.com>
8349
8350 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8351 parenthesis.
8352
6257af2d
AS
83532011-12-01 Andreas Schwab <schwab@redhat.com>
8354
8355 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8356 falling back to utime.
8357
b5f44c1a
AS
83582011-11-30 Andreas Schwab <schwab@redhat.com>
8359
8360 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8361 expectations for float.
8362
f3a6cc0a
AS
83632011-11-29 Andreas Schwab <schwab@redhat.com>
8364
8365 * locale/weight.h (findidx): Add parameter len.
8366 * locale/weightwc.h (findidx): Likewise.
8367 * posix/fnmatch_loop.c (FCT): Adjust caller.
8368 * posix/regcomp.c (build_equiv_class): Likewise.
8369 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8370 * posix/regexec.c (check_node_accept_bytes): Likewise.
8371 * string/strcoll_l.c (STRCOLL): Likewise.
8372 * string/strxfrm_l.c (STRXFRM): Likewise.
8373
9d65ea3a
UD
83742011-11-17 Ulrich Drepper <drepper@gmail.com>
8375
8376 * Makefile.in: Remove CVSOPT handling.
8377 * configure.in: Remove use of AC_REVISION.
8378 * iconvdata/Makefile (distribute): No need to filter out CVS.
8379 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8380 handling.
8381
5583a086
AS
83822011-11-16 Andreas Schwab <schwab@redhat.com>
8383
8384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8385 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8386 [USE_AS_STRNCASECMP_L]: Likewise.
8387 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8388 NO_TLS_DIRECT_SEG_REFS.
8389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8390 Fix argument offsets for non-PIC.
8391 [USE_AS_STRNCASECMP_L]: Likewise.
8392 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8393 NO_TLS_DIRECT_SEG_REFS.
8394
d62a8200
UD
83952011-11-15 Ulrich Drepper <drepper@gmail.com>
8396
9d65ea3a 8397 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8398 O_CLOEXEC.
8399 * locale/loadlocale.c (_nl_load_locale): Likewise.
8400
09f93bd3
AS
84012011-11-15 Andreas Schwab <schwab@redhat.com>
8402
446514f9
AS
8403 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8404 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8405 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8406 (SYSCALL_GETTIME): Set errno on error.
8407
09f93bd3
AS
8408 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8409 count references to noai6ai_cached.
8410
312be3f9
UD
84112011-11-15 Ulrich Drepper <drepper@gmail.com>
8412
8413 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8414
8415 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8416 FD_CLOEXEC for /proc/self/maps.
8417
8418 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8419 FD_CLOEXEC for /proc/meminfo.
8420
8421 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8422 gai.conf.
8423
8424 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8425 FD_CLOEXEC for given file.
8426
8427 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8428
8429 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8430 FD_CLOEXEC for /etc/hosts.
8431 (_gethtent): Likewise.
8432
8433 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8434
8435 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8436 cancellation and set FD_CLOEXEC for /etc/netgroup.
8437
8438 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8439 reading /etc/publickey.
8440
8441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8442 allow cancellation when reading /etc/group.
8443
8444 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8445 cancellation.
8446 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8447
8448 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8449 when using data file.
8450
8451 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8452
8453 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8454 (write_nis_obj): Use "c" and "e" in fopen.
8455
8456 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8457
8458 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8459
8460 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8461
8462 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8463
8464 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8465 locale.alias.
8466
8467 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8468
8469 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8470
8471 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8472
8473 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8474 file parsing and set FD_CLOEXEC.
8475
82af0fa8
UD
84762011-11-14 Ulrich Drepper <drepper@gmail.com>
8477
8478 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8479
a5fb313c
AS
84802011-11-14 Andreas Schwab <schwab@redhat.com>
8481
8482 * malloc/arena.c (arena_get2): Don't call reused_arena when
8483 _int_new_arena failed.
8484
6abf3465
UD
84852011-11-14 Ulrich Drepper <drepper@gmail.com>
8486
8487 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8488 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8493 to compile strcasecmp and strncasecmp.
8494 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8495 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8496
8497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8498
76e3966e
UD
84992011-11-13 Ulrich Drepper <drepper@gmail.com>
8500
8501 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8502 locale-defines.sym to gen-as-const-headers.
8503 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8504 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8506 to compile strcasecmp and strncasecmp.
8507 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8508 strcasecmp_l and strncasecmp_l.
8509 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8510 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8511 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8512 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8513 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8514 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8515 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8516 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8517 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8518 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8519 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8520
ab26144e
UD
85212011-11-12 Ulrich Drepper <drepper@gmail.com>
8522
7edb22ef
UD
8523 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8524 result of SYSDEP_GETTIME_CPU to retval.
8525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8526 parameter list to macro. Remove trailing semicolon. Adjust users.
8527
9694fc44
UD
8528 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8529 variable.
8530
8ad89ef8
UD
8531 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8532 mantissa words.
8533 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8534
0c822ef9
UD
8535 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8536 from unused variable.
8537
874e0564
UD
8538 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8539 DWARF definitions.
8540 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8541 for assembling.
8542
3a2edc79
UD
8543 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8544 over namespaces.
8545
f3c2577f
UD
8546 * sunrpc/rpc_prot.c (rejected): Fix case value.
8547
294ce126
UD
8548 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8549 unsigned long long int to avoid warnings in shift.
8550
5e2b63c6
UD
8551 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8552 of use of trans.
8553 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8554 variable tmp.
8555
e7f4b08e
UD
8556 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8557 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8558 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8559
ab26144e
UD
8560 * nis/nis_table.c (nis_list): Use variable of correct type for
8561 result of __follow_path call.
8562
8a6d5255
AZ
85632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564
8565 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8566 of math functions ceil, trunc, floor, round, and sqrt, when
8567 avaliable on the platform.
8568 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8569 name clash.
8570 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8571 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8572 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8573
aaddc98c
MP
85742011-10-30 Marek Polacek <mpolacek@redhat.com>
8575
8576 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8577 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8578
95b7042b
RM
85792011-11-11 Roland McGrath <roland@hack.frob.com>
8580
8581 * include/unistd.h: Fix __readlink return type.
8582 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8583
57769839
UD
85842011-11-11 Ulrich Drepper <drepper@gmail.com>
8585
8586 * stdlib/ucontext.h: Undo last change for makecontext.
8587
edc5984d
AS
85882011-11-11 Andreas Schwab <schwab@redhat.com>
8589
98591e58
AS
8590 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8591
edc5984d
AS
8592 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8593 * setjmp/setjmp.h: Mark functions as non-leaf.
8594 * setjmp/bits/setjmp2.h: Likewise.
8595 * stdlib/ucontext.h: Likewise.
8596
77cdc054
AS
85972011-11-10 Andreas Schwab <schwab@redhat.com>
8598
8599 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8600 (reused_arena): Don't check arena limit.
8601 (arena_get2): Atomically check arena limit.
8602
fe72eebd
UD
86032011-11-08 Ulrich Drepper <drepper@gmail.com>
8604
5f078c32
UD
8605 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8606 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8607
fe72eebd
UD
8608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8609 instructions.
8610
ae1bc2fa
AS
86112011-11-07 Andreas Schwab <schwab@redhat.com>
8612
7583a88d
AS
8613 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8614 handler when locking.
8615
ae1bc2fa
AS
8616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8617 Fix size of allocated buffer.
8618
10fb0bfa
AS
86192011-11-04 Andreas Schwab <schwab@redhat.com>
8620
998832a4
AS
8621 [BZ #10103]
8622 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8623 declarations for long double functions.
8624 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8625
10fb0bfa
AS
8626 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8627
3d7ba52b
AS
86282011-11-03 Andreas Schwab <schwab@redhat.com>
8629
a9ae54a1
AS
8630 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8631 installed.
8632
3d7ba52b
AS
8633 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8634 is disabled.
8635
bc8db248
ST
86362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8637
8638 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8639
45b96dd6
AS
86402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8641
647776f6
AS
8642 * include/alloca.h (stackinfo_alloca_round): Define.
8643 (extend_alloca): Use it.
8644 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8645 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8646 here.
8647
d91a8b93
AS
8648 * scripts/check-local-headers.sh: Ignore libaudit.h.
8649
45b96dd6
AS
8650 * nscd/Makefile (extra-objs): Make recursively expanded.
8651
432d41ce
UD
86522011-11-01 Ulrich Drepper <drepper@gmail.com>
8653
34372fc6
UD
8654 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8656
fadb59f8
UD
8657 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8658 * posix/tst-rfc3484-2.c: Likewise.
8659 * posix/tst-rfc3484-3.c: Likewise.
8660
78239589
UD
8661 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8662 process_vm_writev.
8663 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8664 process_vm_writev.
8665 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8666 process_vm_writev from libc using GLIBC_2.15 version.
8667
432d41ce
UD
8668 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8669
02f9c6cf
PP
86702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8671
8672 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8673 stack usage.
8674
3a2c0242
UD
86752011-10-31 Ulrich Drepper <drepper@gmail.com>
8676
f4ec4833
UD
8677 [BZ #13367]
8678 * nss/getent.c (initgroups_keys): Show error message in case no group
8679 names are given.
8680
3a2c0242
UD
8681 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8682 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8683 __bump_nl_timestamp.
8684 * nscd/connections (nscd_init): When host database is served open
8685 netlink socket and request notification about configuration changes.
8686 (main_loop_poll): Track netlink file descriptor and bump timestamp
8687 in case data becomes available.
8688 (main_loop_epoll): Likewise.
8689 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8690 (database_pers_head): Add extra_data fileds.
8691 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8692 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8693 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8694 Adjust caller.
8695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8696 in6ai data, call __free_in6ai.
8697 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8698 Add -DHAVE_NETLINK.
8699 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8700 interface information. Reuse previous data if netlink timestamp
8701 is not changed.
8702 (__bump_nl_timestamp): New function.
8703 (__free_in6ai): New function.
8704
636064eb
UD
87052011-10-30 Ulrich Drepper <drepper@gmail.com>
8706
8707 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8708 close_not_cancel_no_status here.
8709 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8710
9beb2334
UD
87112011-10-29 Ulrich Drepper <drepper@gmail.com>
8712
6ef76f3b
UD
8713 [BZ #13276]
8714 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8715 return value.
8716
0ffc4f3e 8717 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8718 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8719 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8720
cb95113e
UD
87212011-07-03 Andreas Jaeger <aj@suse.de>
8722
8723 [BZ #10709]
8724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8725 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8726 * math/libm-test.inc (sin_test): Add test case.
8727
a1b560ff
UD
87282011-10-29 Ulrich Drepper <drepper@gmail.com>
8729
c9aaface
UD
8730 [BZ #13337]
8731 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8732 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8733
d272e7f1
UD
8734 * elf/chroot_canon.c (chroot_canon): Cleanups.
8735
1bc33071
UD
8736 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8737
1760874d
TJ
8738 [BZ #13335]
8739 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8740 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8741
51d91b18
UD
8742 * string/test-strchr.c: Make usable for strchrnul testing.
8743 * string/test-strchrnul.c: New file.
8744 * string/Makefile (strop-tests): Add strchrnul.
8745
a1b560ff 8746 * po/it.po: Update from translation team.
b611fb81 8747 * po/es.po: Likewise.
a1b560ff 8748
a5b81e1f
UD
87492011-10-28 Ulrich Drepper <drepper@gmail.com>
8750
fd52bc6d
UD
8751 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8752 the three constants needed as parameters. Drop the others.
8753 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8754 __m128i_strloadu_tolower.
52e4b9eb
UD
8755 Create and initialize variable zero and use it in all the places
8756 where _mm_setzero_si128 was used.
fd52bc6d 8757
a5b81e1f
UD
8758 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8759 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8760 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8762 anymore.
8763 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8764 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8765 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8766 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8767 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8768 __mpranred, __mptan.
8769 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8770 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8771 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8772 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8773 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8774 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8775 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8776 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8777 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8778
b4343346
AS
87792011-10-28 Andreas Schwab <schwab@redhat.com>
8780
0c92d8a8
AS
8781 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8782 redefine if SHARED.
8783 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8784
b4343346
AS
8785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8786 wide char related routines to wcsmbs subdir.
8787
3871f58f
AS
87882011-10-27 Andreas Schwab <schwab@redhat.com>
8789
8790 [BZ #13344]
8791 * misc/sys/cdefs.h (__THROWNL): Define.
8792 * posix/unistd.h: Use __THREADNL instead of __THREAD
8793 for memory synchronization functions.
8794
94d44d9f
RM
87952011-10-26 Roland McGrath <roland@hack.frob.com>
8796
21b64b15 8797 [BZ #13349]
94d44d9f
RM
8798 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8799 doesn't exist.
8800 * manual/stdio.texi (Obstack Streams): Node removed.
8801
f6ce9294
AS
88022011-10-26 Andreas Schwab <schwab@redhat.com>
8803
80479147
AS
8804 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8805 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8806 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8807
f6ce9294
AS
8808 * math/math_private.h (math_force_eval): Allow non-addressable
8809 arguments.
8810 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8811
618280a1
UD
88122011-10-25 Ulrich Drepper <drepper@gmail.com>
8813
e0016b11
UD
8814 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8815 file is not needed.
8816
8817 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8818 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8820 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8824 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8825 Add AVX variants.
8826 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8827 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8828 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8829 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8830 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8831 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8832 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8833 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8834 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8835 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8836 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8837 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8839 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8840 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8841 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8842 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8843 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8844 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8845
8846 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8847 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8848
618280a1
UD
8849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8850 place. Use VEX encoding when compiling for AVX.
8851
37822576
AS
88522011-10-25 Andreas Schwab <schwab@redhat.com>
8853
1f1e1947
AS
8854 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8855 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8856
37822576
AS
8857 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8858
31ea014d
UD
88592011-10-25 Ulrich Drepper <drepper@gmail.com>
8860
d7826aa1 8861 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8862 useless if() expression.
d7826aa1
UD
8863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8874 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8875 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8876 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8877 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8878 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8882
31ea014d
UD
8883 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8884
16437fec
AS
88852011-10-25 Andreas Schwab <schwab@redhat.com>
8886
8887 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8888 condition.
8889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8890
31d3cc00
UD
88912011-10-25 Ulrich Drepper <drepper@gmail.com>
8892
8893 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8894 .text section. Avoid duplicate constants.
8895 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8905 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8907 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8912 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8919 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8922 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8924 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8925 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8926 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8927 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8928 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8929 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8930 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8931 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8932 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8933 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8937 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8939 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8940
58985aa9
UD
89412011-10-24 Ulrich Drepper <drepper@gmail.com>
8942
202c9deb
UD
8943 * sysdeps/x86_64/dla.h: Move to ...
8944 * sysdeps/x86_64/fpu/dla.h: ...here.
8945 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8946 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8947
af968f62
UD
8948 * config.make.in: Add have-mfma4 entry.
8949 * configure.in: Substitute libc_cv_cc_fma4.
8950 * math/Makefile (dbl-only-routines): Add sincostab.
8951 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8952 Use __sincostab not sincos.
8953 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8954 name is a macro.
8955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8959 using __copysign.
8960 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8961 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8962 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8963 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8964 and __inv.
8965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8966 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8967 __copysign.
8968 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8969 define aliases when function name is a macro.
8970 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8971 sysdeps/ieee754/dbl-64/sincos.tbl.
8972 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8973 fma4-enabled routines.
8974 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8979 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8981 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8985 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8986 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8987 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8989 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8990 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8991 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8992 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8994 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8995 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8997 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9001 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9002 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9003 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9004
58985aa9
UD
9005 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9006 rename.
9007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9015
a201fbcf
AS
90162011-10-24 Andreas Schwab <schwab@redhat.com>
9017
9018 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9019
fc2ee42a
LD
90202011-10-23 Ulrich Drepper <drepper@gmail.com>
9021
bb3129bd
UD
9022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9023
0275fff8
UD
9024 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9025 prediction.
9026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9027
2fa2ae85
UD
9028 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9029 Remove unused variable magic_bits.
9030 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9031
fc2ee42a
LD
9032 * string/strnlen.c: Define and use STRNLEN macro.
9033 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9034 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9036 * wcsmbs/wcslen.c: Define and use WCSLEN.
9037 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9038 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9039 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9040 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9041 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9042 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9043 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9044
ce7dd29f
LD
90452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9046
9047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9048 strnlen-sse2-no-bsf.
9049 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9051 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9052 Add strnlen support.
9053 (USE_AS_STRNLEN): New macro.
9054 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9055 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9056 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9057 * sysdeps/x86_64/wcslen.S: New file.
9058
979c70a3
MZ
90592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9060
9061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9062 XMM-moves are used for copying on small sizes.
9063
2d09f82f
LD
90642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9065
9066 * wcsmbs/Makefile (strop-tests): Add wcschr.
9067 * wcsmbs/test-wcschr.c: New file.
9068 * string/test-strchr.c: Update.
9069 Add wcschr support.
9070 (WIDE): New macro.
9071
619fccca
LD
90722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9073
2d09f82f 9074 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9075 * wcsmbs/test-wcslen.c: New file.
9076 * string/test-strlen.c: Update.
9077 Add wcslen support.
9078 (WIDE): New macro.
9079
09f699ea
UD
90802011-10-23 Ulrich Drepper <drepper@gmail.com>
9081
9082 * po/it.po: Update from translation team.
9083
95584d3b
LD
90842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9085
9086 * sysdeps/x86_64/wcscmp.S: Update.
9087 Fix wrong comparison semantics.
9088 wcscmp shall use signed comparison not unsigned.
9089 Don't use substraction to avoid overflow bug.
9090 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9091 * wcsmbc/wcscmp.c: Likewise.
9092 * string/test-strcmp.c: Likewise.
9093 Add new tests to check cases with negative values.
9094
c8b3296b
UD
90952011-10-23 Ulrich Drepper <drepper@gmail.com>
9096
9097 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9098 * sysdeps/x86_64/dla.h: ...here. New file.
9099 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9108
246ad57a
AS
91092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9110
9111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9112 __ynl_finite aliases.
9113
a1a87169
UD
91142011-10-22 Ulrich Drepper <drepper@gmail.com>
9115
0d355eb7
UD
9116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9117
a1a87169
UD
9118 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9119 define DLA_FMA.
9120 [DLA_FMA] (EMULV): Use DLA_FMA.
9121 [DLA_FMA] (MUL12): Use EMULV.
9122 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9123 that are not needed.
9124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9131
ee2aafe0
AS
91322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9133
9134 * math/s_nan.c: Undef __nan.
9135 * math/s_nanf.c: Undef __nanf.
9136 * math/s_nanl.c: Undef __nanl.
9137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9138 "math_private.h".
9139
bc62c2fb
UD
91402011-10-22 Ulrich Drepper <drepper@gmail.com>
9141
77425c63
UD
9142 * math/s_catan.c: Add branch predictions.
9143 * math/s_catanf.c: Likewise.
9144 * math/s_catanh.c: Likewise.
9145 * math/s_catanhf.c: Likewise.
9146 * math/s_catanhl.c: Likewise.
9147 * math/s_catanl.c: Likewise.
9148 * math/s_cexp.c: Likewise.
9149 * math/s_cexpf.c: Likewise.
9150 * math/s_cexpl.c: Likewise.
9151 * math/s_clog.c: Likewise.
9152 * math/s_clog10.c: Likewise.
9153 * math/s_clog10f.c: Likewise.
9154 * math/s_clog10l.c: Likewise.
9155 * math/s_clogf.c: Likewise.
9156 * math/s_clogl.c: Likewise.
9157 * math/s_csqrt.c: Likewise.
9158 * math/s_csqrtf.c: Likewise.
9159 * math/s_csqrtl.c: Likewise.
9160 * math/s_ctanf.c: Likewise.
9161 * math/s_ctanh.c: Likewise.
9162 * math/s_ctanhf.c: Likewise.
9163 * math/s_ctanhl.c: Likewise.
9164 * math/s_ctanl.c: Likewise.
9165
bc62c2fb
UD
9166 * math/math_private.h: Define __nan, __nanf, __nanl.
9167 * math/s_cacosh.c: Include <math_private.h>.
9168 * math/s_cacoshl.c: Likewise.
9169 * math/s_casinh.c: Likewise.
9170 * math/s_casinhf.c: Likewise.
9171 * math/s_casinhl.c: Likewise.
9172 * math/s_ccos.c: Rely entire on ccosh.
9173 * math/s_ccosf.c: Rely entire on ccoshf.
9174 * math/s_ccosl.c: Rely entirely on ccoshl.
9175 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9176 Remove tests for FE_INVALID.
9177 * math/s_ccoshf.c: Likewise.
9178 * math/s_ccoshl.c: Likewise.
9179 * math/s_csin.c: Likewise.
9180 * math/s_csinf.c: Likewise.
9181 * math/s_csinh.c Likewise.
9182 * math/s_csinhf.c: Likewise.
9183 * math/s_csinhl.c: Likewise.
9184 * math/s_csinl.c: Likewise.
9185 * math/s_ctan.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9187 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9189
8ec250a4
UD
91902011-10-21 Ulrich Drepper <drepper@gmail.com>
9191
c196fed8
UD
9192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9193 compilation problems.
9194
8ec250a4
UD
9195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9196 __builtin_expect.
9197
8d4f46c6
UD
91982011-10-20 Ulrich Drepper <drepper@gmail.com>
9199
ed72b654
UD
9200 * sysdeps/i386/configure.in: Test for -mfma4 option.
9201 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9202 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9203 COMMON_CPUID_INDEX_80000001.
9204 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9205 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9206 use it if FMA3 is not supported.
9207 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9208
8d4f46c6
UD
9209 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9210 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9211
d45c60c2
AS
92122011-10-20 Andreas Schwab <schwab@redhat.com>
9213
9214 [BZ #12892]
9215 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9216 it would create a cycle with a link time dependency.
9217
d9a4d2ab
UD
92182011-10-19 Ulrich Drepper <drepper@gmail.com>
9219
855d1560
UD
9220 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9221 instruction.
9222 * string/Makefile (strop-tests): Add rawmemchr.
9223 * string/test-rawmemchr.c: New file.
9224
d9a4d2ab
UD
9225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9227 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9228 when compiling str{,n}casecmp and when AVX is available. Hook up
9229 new optimized code in initializers.
9230
8f3b1ffe
AS
92312011-10-19 Andreas Schwab <schwab@redhat.com>
9232
9233 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9234 __feraiseexcept instead of feraiseexcept.
9235
d38f1dba
UD
92362011-10-18 Ulrich Drepper <drepper@gmail.com>
9237
d9a8d0ab
UD
9238 * math/math_private.h: Define defaults for libc_fetestexcept and
9239 libc_feupdateenv.
9240 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9241 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9242 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9243 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9244 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9245 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9246 libc_fetestexcept and libc_feupdateenv.
9247
4855e3dd
UD
9248 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9249 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9250 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9251 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9252 libc_feholdexcept_setround.
9253
581d30e3
UD
9254 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9255 Add s_nearbyint-c and s_nearbyintf-c.
9256 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9257 nearbyintf inlines.
9258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9260 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9262
d38f1dba
UD
9263 * math/math_private.h: Define defaults for libc_fegetround,
9264 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9265 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9266 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9268 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9269 standard functions.
9270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9271 Remove comments and hacks for old compiler versions.
9272 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9273 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9274 libc_feholdexceptl.
9275
caa6c9d8
AS
92762011-10-18 Andreas Schwab <schwab@redhat.com>
9277
9278 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9279 (__feraiseexcept_renamed): Add __NTH.
9280 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9281 namespace violations.
9282
97c066e6
UD
92832011-10-17 Ulrich Drepper <drepper@gmail.com>
9284
99ce7b04
UD
9285 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9286
1004d182
UD
9287 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9288
228a984d
UD
9289 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9290 recently added interfaces.
9291 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9292
c8553a6a
UD
9293 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9294 about macro parameter expansion.
9295
ed22dcf6
UD
9296 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9297 __NO_MATH_INLINES is defined. Cleanups.
9298
9299 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9300 and __floorf is target has SSE4.1.
9301 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9302 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9303 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9304 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9305
b171c137
UD
9306 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9307 name.
9308 (floorf): Likewise.
9309
97c066e6
UD
9310 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9311
629f62ef
AS
93122011-10-17 Andreas Schwab <schwab@redhat.com>
9313
49a43d80
AS
9314 * misc/sys/cdefs.h: Fix last change.
9315
629f62ef
AS
9316 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9317 database lookup.
9318
e453f6cd
UD
93192011-10-16 Ulrich Drepper <drepper@gmail.com>
9320
aa78043a
UD
9321 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9322
ad0f5cad
UD
9323 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9329 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9330 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9331 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9332 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9333 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9334 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9335 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9336 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9337 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9338 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9339 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9340 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9342 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9344 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9345
9346 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9347 ceil, ceilf, floor, floorf.
9348
9349 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9350 Perform IRELATIVE relocations last.
9351
e453f6cd
UD
9352 * elf/do-rel.h: Add another parameter nrelative, replacing the
9353 local variable with the same name. Change name of the function
9354 to end in Rel or Rela (uppercase).
9355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9356 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9357 elf_dynamic_do_##reloc function.
9358
fd5bdc09
UD
93592011-10-15 Ulrich Drepper <drepper@gmail.com>
9360
79b195b5
UD
9361 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9362 is sufficient, at least on modern CPUs.
9363
d4a28569
UD
9364 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9365
b61099b5
UD
9366 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9367 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9368
bcf01e6d
UD
9369 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9370 __expl_finite.
9371 * math/bits/math-finite.h: Add entries for exp.
9372 * math/e_expl.c: Add __*_finite alias.
9373 * sysdeps/i386/fpu/e_exp.S: Likewise.
9374 * sysdeps/i386/fpu/e_expf.S: Likewise.
9375 * sysdeps/i386/fpu/e_expl.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9377 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9378 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9381 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9383
ba1a0d59
UD
9384 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9385 is sufficient, at least on modern CPUs.
9386
fd5bdc09
UD
9387 * ctype/ctype-info.c (__ctype_init): Define.
9388 * include/ctype.h (__ctype_init): Declare.
9389 (__ctype_b_loc): The variable is always initialized.
9390 (__ctype_toupper_loc): Likewise.
9391 (__ctype_tolower_loc): Likewise.
9392 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9393 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9394
7872cfb0
AS
93952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9396
b468825a
AS
9397 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9398
7872cfb0
AS
9399 * configure.in: Also look in $cxxmachine/include for C++ system
9400 headers.
9401
be13f7bf
LD
94022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9403
9404 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9405 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9406 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9407 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9408 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9409 (USE_AS_WMEMCMP): New macro.
9410 Fixing indents.
9411 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9412 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9413 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9414 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9416 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9417 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9419 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9420 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9421 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9422 (USE_AS_WMEMCMP): New macro.
9423 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9424 * sysdeps/string/test-memcmp.c: Update.
9425 Fix simple_wmemcmp.
9426 Add new tests.
9427 * wcsmbs/wmemcmp.c: Update.
9428 (WMEMCMP): New macro.
9429 Fix overflow bug.
9430
556a2007
AJ
94312011-10-12 Andreas Jaeger <aj@suse.de>
9432
9433 [BZ #13268]
9434 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9435
538faaa7
UD
94362011-10-15 Ulrich Drepper <drepper@gmail.com>
9437
ab6737ff
UD
9438 * libio/iofwide.c (do_length): Avoid warning.
9439
538faaa7
UD
9440 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9441
396a21b1
UD
94422011-10-14 Ulrich Drepper <drepper@gmail.com>
9443
cdf2901f
UD
9444 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9445
38ad40ce
UD
9446 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9447 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9448 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9449 * sysdeps/i386/i686/fpu/e_log.S: New file.
9450 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9451 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9452
396a21b1
UD
9453 * ctype/ctype.h: Add support for inlined isXXX functions when
9454 compiling C++ code.
9455
6b1f68c9
AS
94562011-10-14 Andreas Schwab <schwab@redhat.com>
9457
349290c0
AS
9458 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9459
6b1f68c9
AS
9460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9461
f2282d42
RM
94622011-10-13 Roland McGrath <roland@hack.frob.com>
9463
9464 [BZ #13291]
9465 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9466
5298ffa8
AS
94672011-10-13 Andreas Schwab <schwab@redhat.com>
9468
714fad23
AS
9469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9470 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9471 feraiseexcept.
9472
81dcc7fb
AS
9473 * sysdeps/x86_64/memrchr.S: Check for zero size.
9474
5298ffa8
AS
9475 * string/stratcliff.c: Add memrchr tests.
9476
951fbcec
LD
94772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9478
9479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9480 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9481 rawmemchr-sse2 rawmemchr-sse2-bsf.
9482 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9483 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9484 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9485 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9486 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9487 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9488 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9489 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9490 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9491 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9492 * string/memrchr.c (MEMRCHR): New macro.
9493
0ac5ae23
UD
94942011-10-12 Ulrich Drepper <drepper@gmail.com>
9495
9496 Add integration with gcc's -ffinite-math-only and optimize wrapper
9497 functions in libm.
9498 * Versions.def: Define GLIBC_2.15 version for libm.
9499 * math/Makefile (headers): Add bits/math-finite.h.
9500 * math/bits/math-finite.h: New file.
9501 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9502 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9503 * math/e_acoshl.c: Add __*_finite alias.
9504 * math/e_acosl.c: Likewise.
9505 * math/e_asinl.c: Likewise.
9506 * math/e_atan2l.c: Likewise.
9507 * math/e_atanhl.c: Likewise.
9508 * math/e_coshl.c: Likewise.
9509 * math/e_exp10.c: Likewise.
9510 * math/e_exp10f.c: Likewise.
9511 * math/e_exp10l.c: Likewise.
9512 * math/e_exp2l.c: Likewise.
9513 * math/e_fmodl.c: Likewise.
9514 * math/e_gammal_r.c: Likewise.
9515 * math/e_hypotl.c: Likewise.
9516 * math/e_j0l.c: Likewise.
9517 * math/e_j1l.c: Likewise.
9518 * math/e_jnl.c: Likewise.
9519 * math/e_lgammal_r.c: Likewise.
9520 * math/e_log10l.c: Likewise.
9521 * math/e_log2l.c: Likewise.
9522 * math/e_logl.c: Likewise.
9523 * math/e_powl.c: Likewise.
9524 * math/e_sinhl.c: Likewise.
9525 * math/e_sqrtl.c: Likewise.
9526 * math/e_scalb.c: Completely rewritten and optimized.
9527 * math/e_scalbf.c: Likewise.
9528 * math/e_scalbl.c: Likewise.
9529 * math/w_acos.c: Likewise.
9530 * math/w_acosf.c: Likewise.
9531 * math/w_acosl.c: Likewise.
9532 * math/w_acosh.c: Likewise.
9533 * math/w_acoshf.c: Likewise.
9534 * math/w_acoshl.c: Likewise.
9535 * math/w_asin.c: Likewise.
9536 * math/w_asinf.c: Likewise.
9537 * math/w_asinl.c: Likewise.
9538 * math/w_atan2.c: Likewise.
9539 * math/w_atan2f.c: Likewise.
9540 * math/w_atan2l.c: Likewise.
9541 * math/w_atanh.c: Likewise.
9542 * math/w_atanhf.c: Likewise.
9543 * math/w_atanhl.c: Likewise.
9544 * math/w_exp10.c: Likewise.
9545 * math/w_exp10f.c: Likewise.
9546 * math/w_exp10l.c: Likewise.
9547 * math/w_fmod.c: Likewise.
9548 * math/w_fmodf.c: Likewise.
9549 * math/w_fmodl.c: Likewise.
9550 * math/w_j0.c: Likewise.
9551 * math/w_j0f.c: Likewise.
9552 * math/w_j0l.c: Likewise.
9553 * math/w_j1.c: Likewise.
9554 * math/w_j1f.c: Likewise.
9555 * math/w_j1l.c: Likewise.
9556 * math/w_jn.c: Likewise.
9557 * math/w_jnf.c: Likewise.
9558 * math/w_log.c: Likewise.
9559 * math/w_logf.c: Likewise.
9560 * math/w_logl.c: Likewise.
9561 * math/w_log10.c: Likewise.
9562 * math/w_log10f.c: Likewise.
9563 * math/w_log10l.c: Likewise.
9564 * math/w_log2.c: Likewise.
9565 * math/w_log2f.c: Likewise.
9566 * math/w_log2l.c: Likewise.
9567 * math/w_pow.c: Likewise.
9568 * math/w_powf.c: Likewise.
9569 * math/w_powl.c: Likewise.
9570 * math/w_remainder.c: Likewise.
9571 * math/w_remainderf.c: Likewise.
9572 * math/w_remainderl.c: Likewise.
9573 * math/w_scalb.c: Likewise.
9574 * math/w_scalbf.c: Likewise.
9575 * math/w_scalbl.c: Likewise.
9576 * math/w_sqrt.c: Likewise.
9577 * math/w_sqrtf.c: Likewise.
9578 * math/w_sqrtl.c: Likewise.
9579 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9580 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9581 used.
9582 * math/math_private.h: Declare __kernel_standard_f.
9583 * math/w_cosh.c: Remove cruft and optimize a bit.
9584 * math/w_coshf.c: Likewise.
9585 * math/w_coshl.c: Likewise.
9586 * math/w_exp2.c: Likewise.
9587 * math/w_exp2f.c: Likewise.
9588 * math/w_exp2l.c: Likewise.
9589 * math/w_hypot.c: Likewise.
9590 * math/w_hypotf.c: Likewise.
9591 * math/w_hypotl.c: Likewise.
9592 * math/w_lgamma.c: Likewise.
9593 * math/w_lgamma_r.c: Likewise.
9594 * math/w_lgammaf.c: Likewise.
9595 * math/w_lgammaf_r.c: Likewise.
9596 * math/w_lgammal.c: Likewise.
9597 * math/w_lgammal_r.c: Likewise.
9598 * math/w_sinh.c: Likewise.
9599 * math/w_sinhf.c: Likewise.
9600 * math/w_sinhl.c: Likewise.
9601 * math/w_tgamma.c: Likewise.
9602 * math/w_tgammaf.c: Likewise.
9603 * math/w_tgammal.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9606 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9607 Minor optimizations. Pretty printing. Remove cruft.
9608 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9609 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9611 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9612 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9613 * sysdeps/i386/fpu/e_asin.S: Likewise.
9614 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9615 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9616 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9617 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9621 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9622 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9623 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9624 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9625 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9626 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9627 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9628 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9629 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9630 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9631 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9632 * sysdeps/i386/fpu/e_log.S: Likewise.
9633 * sysdeps/i386/fpu/e_log10.S: Likewise.
9634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9636 * sysdeps/i386/fpu/e_log2.S: Likewise.
9637 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9638 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9639 * sysdeps/i386/fpu/e_logf.S: Likewise.
9640 * sysdeps/i386/fpu/e_logl.S: Likewise.
9641 * sysdeps/i386/fpu/e_pow.S: Likewise.
9642 * sysdeps/i386/fpu/e_powf.S: Likewise.
9643 * sysdeps/i386/fpu/e_powl.S: Likewise.
9644 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9645 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9646 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9649 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9650 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9651 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9652 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9677 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9678 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9680 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9682 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9684 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9686 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9687 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9688 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9689 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9690 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9691 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9692 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9693 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9694 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9741 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9746 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9747 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9748 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9750 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9751 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9752 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9753 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9754 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9755 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9756 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9759 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9760 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9761 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9763 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9764 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9765 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9766 (__isnanf): Likewise.
9767 (__isinf_ns): Likewise.
9768 (__isinf_nsf): Likewise.
9769 (__finite): Likewise.
9770 (__finitef): Likewise.
9771 (__ieee754_sqrt): Define as macro.
9772 (__ieee754_sqrtf): Define as macro.
9773 (__ieee754_sqrtl): Define as macro.
9774 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9775 inlined copy.
9776 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9777 __FINITE_MATH_ONLY__ consistent.
9778 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9779
12cc2fcd
AS
97802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9781
a843a204
AS
9782 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9783 of rawmemchr.
9784
12cc2fcd
AS
9785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9786
c853acd5
UD
97872011-10-09 Ulrich Drepper <drepper@gmail.com>
9788
9789 * po/ja.po: Update from translation team.
9790
c658d255
RM
97912011-10-08 Roland McGrath <roland@hack.frob.com>
9792
110946e4
RM
9793 * locale/programs/locarchive.c (prepare_address_space): New function.
9794 (create_archive, enlarge_archive, open_archive): Use it.
9795
50604220
RM
9796 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9797 inside [SHARED], where it is used.
9798
c658d255
RM
9799 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9800
9801 * nss/getent.c (netgroup_keys): Remove unused variable.
9802 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9803
6a621eb7
UD
98042011-10-08 Ulrich Drepper <drepper@gmail.com>
9805
7edb55ce
UD
9806 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9807 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9809 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9810 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9811 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9812 * math/Makefile (libm-calls): Add s_isinf_ns.
9813 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9814 * math/multc3.c: Likewise.
9815 * math/s_casin.c: Likewise.
9816 * math/s_casinf.c: Likewise.
9817 * math/s_casinl.c: Likewise.
9818 * math/s_ccos.c: Likewise.
9819 * math/s_ccosf.c: Likewise.
9820 * math/s_ccosl.c: Likewise.
9821 * math/s_ctan.c: Likewise.
9822 * math/s_ctanf.c: Likewise.
9823 * math/s_ctanh.c: Likewise.
9824 * math/s_ctanhf.c: Likewise.
9825 * math/s_ctanhl.c: Likewise.
9826 * math/s_ctanl.c: Likewise.
9827 * math/w_fmod.c: Likewise.
9828 * math/w_fmodf.c: Likewise.
9829 * math/w_fmodl.c: Likewise.
9830 * math/w_remainder.c: Likewise.
9831 * math/w_remainderf.c: Likewise.
9832 * math/w_remainderl.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9834 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9837 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9838 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9839 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9840 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9841
187da0ae
UD
9842 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9843 of the number.
9844 * stdio-common/printf_fphex.c: Likewise.
9845 * stdio-common/printf_size.c: Likewise.
9846
9277c064
UD
9847 * math/e_exp10.c: Include math_private.h using <...> not "...".
9848 * math/e_exp10f.c: Likewise.
9849 * math/e_exp10l.c: Likewise.
9850 * math/e_exp2l.c: Likewise.
9851 * math/e_j0l.c: Likewise.
9852 * math/e_j1l.c: Likewise.
9853 * math/e_jnl.c: Likewise.
9854 * math/e_lgammal_r.c: Likewise.
9855 * math/e_rem_pio2l.c: Likewise.
9856 * math/e_scalb.c: Likewise.
9857 * math/e_scalbf.c: Likewise.
9858 * math/e_scalbl.c: Likewise.
9859 * math/k_cosl.c: Likewise.
9860 * math/k_sinl.c: Likewise.
9861 * math/k_tanl.c: Likewise.
9862 * math/s_cacoshf.c: Likewise.
9863 * math/s_catan.c: Likewise.
9864 * math/s_catanf.c: Likewise.
9865 * math/s_catanh.c: Likewise.
9866 * math/s_catanhf.c: Likewise.
9867 * math/s_catanhl.c: Likewise.
9868 * math/s_catanl.c: Likewise.
9869 * math/s_ccosh.c: Likewise.
9870 * math/s_ccoshf.c: Likewise.
9871 * math/s_ccoshl.c: Likewise.
9872 * math/s_cexp.c: Likewise.
9873 * math/s_cexpf.c: Likewise.
9874 * math/s_cexpl.c: Likewise.
9875 * math/s_clog.c: Likewise.
9876 * math/s_clog10.c: Likewise.
9877 * math/s_clog10f.c: Likewise.
9878 * math/s_clog10l.c: Likewise.
9879 * math/s_clogf.c: Likewise.
9880 * math/s_clogl.c: Likewise.
9881 * math/s_csin.c: Likewise.
9882 * math/s_csinf.c: Likewise.
9883 * math/s_csinh.c: Likewise.
9884 * math/s_csinhf.c: Likewise.
9885 * math/s_csinhl.c: Likewise.
9886 * math/s_csinl.c: Likewise.
9887 * math/s_csqrt.c: Likewise.
9888 * math/s_csqrtf.c: Likewise.
9889 * math/s_csqrtl.c: Likewise.
9890 * math/s_ctan.c: Likewise.
9891 * math/s_ctanf.c: Likewise.
9892 * math/s_ctanh.c: Likewise.
9893 * math/s_ctanhf.c: Likewise.
9894 * math/s_ctanhl.c: Likewise.
9895 * math/s_ctanl.c: Likewise.
9896 * math/s_ldexp.c: Likewise.
9897 * math/s_ldexpf.c: Likewise.
9898 * math/s_ldexpl.c: Likewise.
9899 * math/s_significand.c: Likewise.
9900 * math/s_significandf.c: Likewise.
9901 * math/s_significandl.c: Likewise.
9902 * math/w_acos.c: Likewise.
9903 * math/w_acosf.c: Likewise.
9904 * math/w_acosh.c: Likewise.
9905 * math/w_acoshf.c: Likewise.
9906 * math/w_acoshl.c: Likewise.
9907 * math/w_acosl.c: Likewise.
9908 * math/w_asin.c: Likewise.
9909 * math/w_asinf.c: Likewise.
9910 * math/w_asinl.c: Likewise.
9911 * math/w_atan2.c: Likewise.
9912 * math/w_atan2f.c: Likewise.
9913 * math/w_atan2l.c: Likewise.
9914 * math/w_atanh.c: Likewise.
9915 * math/w_atanhf.c: Likewise.
9916 * math/w_atanhl.c: Likewise.
9917 * math/w_cosh.c: Likewise.
9918 * math/w_coshf.c: Likewise.
9919 * math/w_coshl.c: Likewise.
9920 * math/w_dremf.c: Likewise.
9921 * math/w_exp10.c: Likewise.
9922 * math/w_exp10f.c: Likewise.
9923 * math/w_exp10l.c: Likewise.
9924 * math/w_exp2.c: Likewise.
9925 * math/w_exp2f.c: Likewise.
9926 * math/w_fmod.c: Likewise.
9927 * math/w_fmodf.c: Likewise.
9928 * math/w_fmodl.c: Likewise.
9929 * math/w_hypot.c: Likewise.
9930 * math/w_hypotf.c: Likewise.
9931 * math/w_hypotl.c: Likewise.
9932 * math/w_j0.c: Likewise.
9933 * math/w_j0f.c: Likewise.
9934 * math/w_j0l.c: Likewise.
9935 * math/w_j1.c: Likewise.
9936 * math/w_j1f.c: Likewise.
9937 * math/w_j1l.c: Likewise.
9938 * math/w_jn.c: Likewise.
9939 * math/w_jnf.c: Likewise.
9940 * math/w_jnl.c: Likewise.
9941 * math/w_lgamma.c: Likewise.
9942 * math/w_lgamma_r.c: Likewise.
9943 * math/w_lgammaf.c: Likewise.
9944 * math/w_lgammaf_r.c: Likewise.
9945 * math/w_lgammal.c: Likewise.
9946 * math/w_lgammal_r.c: Likewise.
9947 * math/w_log.c: Likewise.
9948 * math/w_log10.c: Likewise.
9949 * math/w_log10f.c: Likewise.
9950 * math/w_log10l.c: Likewise.
9951 * math/w_log2.c: Likewise.
9952 * math/w_log2f.c: Likewise.
9953 * math/w_log2l.c: Likewise.
9954 * math/w_logf.c: Likewise.
9955 * math/w_logl.c: Likewise.
9956 * math/w_pow.c: Likewise.
9957 * math/w_powf.c: Likewise.
9958 * math/w_powl.c: Likewise.
9959 * math/w_remainder.c: Likewise.
9960 * math/w_remainderf.c: Likewise.
9961 * math/w_remainderl.c: Likewise.
9962 * math/w_scalb.c: Likewise.
9963 * math/w_scalbf.c: Likewise.
9964 * math/w_scalbl.c: Likewise.
9965 * math/w_sinh.c: Likewise.
9966 * math/w_sinhf.c: Likewise.
9967 * math/w_sinhl.c: Likewise.
9968 * math/w_sqrt.c: Likewise.
9969 * math/w_sqrtf.c: Likewise.
9970 * math/w_sqrtl.c: Likewise.
9971 * math/w_tgamma.c: Likewise.
9972 * math/w_tgammaf.c: Likewise.
9973 * math/w_tgammal.c: Likewise.
9974
6a621eb7
UD
9975 * po/ja.po: Update from translation team.
9976
bf582445
AJ
99772011-09-29 Andreas Jaeger <aj@suse.de>
9978
f9efbf3a
AJ
9979 [BZ #13179]
9980 * sunrpc/netname.c (netname2host): Fix logic.
9981
bf582445
AJ
9982 [BZ #6779]
9983 [BZ #6783]
9984 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9985 correctly.
9986 * math/w_remainder.c (__remainder): Likewise.
9987 * math/w_remainderf.c (__remainderf): Likewise.
9988 * math/libm-test.inc (remainder_test): Add test cases.
9989
48693bea
AK
99902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9991
9992 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9993 sdiv_qrnnd.
9994
42622229
LD
99952011-10-07 Ulrich Drepper <drepper@gmail.com>
9996
9997 * string/test-memcmp.c: Avoid unncessary #defines.
9998 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9999
093ecf92
LD
100002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10001
10002 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10003 Use new sse2 version for core i3 - i7 as it's faster
10004 than sse42 version.
10005 (bit_Prefer_PMINUB_for_stringop): New.
10006 * sysdeps/x86_64/rawmemchr.S: Update.
10007 Replace with faster SSE2 version.
10008 * sysdeps/x86_64/memrchr.S: New file.
10009 * sysdeps/x86_64/memchr.S: Update.
10010 Replace with faster SSE2 version.
10011
fde56e5c
MP
100122011-09-12 Marek Polacek <mpolacek@redhat.com>
10013
10014 * elf/dl-load.c (lose): Add cast to avoid warning.
10015
21fd49a9
UD
100162011-10-07 Ulrich Drepper <drepper@gmail.com>
10017
5a06e643
UD
10018 * po/ca.po: Update from translation team.
10019
684ae515
UD
10020 * inet/getnetgrent_r.c: Hook up nscd.
10021 * nscd/Makefile (routines): Add nscd_netgroup.
10022 (nscd-modules): Add netgroupcache.
10023 (CFLAGS-netgroupcache.c): Define.
10024 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10025 (cache_search): Add const to second parameter.
10026 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10027 INNETGR.
10028 (dbs): Add netgrdb entry.
10029 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10030 (verify_persistent_db): Handle netgrdb.
10031 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10032 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10033 GETFDNETGR.
10034 (netgroup_response_header): Define.
10035 (innetgroup_response_header): Define.
10036 (datahead): Add netgroup_response_header and innetgroup_response_header
10037 elements.
10038 * nscd/nscd.conf: Add entries for netgroup cache.
10039 * nscd/nscd.h (dbtype): Add netgrdb.
10040 (_PATH_NSCD_NETGROUP_DB): Define.
10041 (netgroup_iov_disabled): Declare.
10042 (xmalloc, xcalloc, xrealloc): Move declarations here.
10043 (cache_search): Adjust prototype.
10044 Add netgroup-related prototypes.
10045 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10046 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10047 (__nscd_innetgr): Declare.
10048 * nscd/selinux.c (perms): Use access_vector_t as element type and
10049 add netgroup-related initializers.
10050 * nscd/netgroupcache.c: New file.
10051 * nscd/nscd_netgroup.c: New file.
10052 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10053 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10054 For four parameters use innetgr.
10055 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10056 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10057 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10058 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10059
21fd49a9
UD
10060 * nscd/connections.c (register_traced_file): Don't register file
10061 for disabled databases.
10062
054c0457
UD
100632011-10-06 Ulrich Drepper <drepper@gmail.com>
10064
32b63198
UD
10065 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10066
054c0457
UD
10067 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10068 from tree and freeing node.
10069
64031225
JO
100702011-09-25 Jiri Olsa <jolsa@redhat.com>
10071
10072 * nss/nsswitch.c (__nss_database_lookup): Handle
10073 nss_parse_service_list out of memory case.
10074
0490345c
JO
100752011-09-15 Jiri Olsa <jolsa@redhat.com>
10076
10077 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10078 out of memory case.
10079
3a62d00d
AS
100802011-10-04 Andreas Schwab <schwab@redhat.com>
10081
10082 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10083 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10084 pass it down.
10085 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10086 elf_machine_rela, elf_machine_lazy_rel.
10087 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10088 (ELF_DYNAMIC_DO_REL): Likewise.
10089 (ELF_DYNAMIC_DO_RELA): Likewise.
10090 (ELF_DYNAMIC_RELOCATE): Likewise.
10091 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10092 to ELF_DYNAMIC_DO_REL.
10093 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10094 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10095 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10096 elf_machine_rela.
10097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10098 skip_ifunc, don't call ifunc function if non-zero.
10099 (elf_machine_rela): Likewise.
10100 (elf_machine_lazy_rel): Likewise.
10101 (elf_machine_lazy_rela): Likewise.
10102 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10103 (elf_machine_lazy_rel): Likewise.
10104 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10105 Likewise.
10106 (elf_machine_lazy_rel): Likewise.
10107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10108 Likewise.
10109 (elf_machine_lazy_rel): Likewise.
10110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10111 (elf_machine_lazy_rel): Likewise.
10112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10113 (elf_machine_lazy_rel): Likewise.
10114 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10115 (elf_machine_lazy_rel): Likewise.
10116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10117 (elf_machine_lazy_rel): Likewise.
10118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10119 (elf_machine_lazy_rel): Likewise.
10120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10121 (elf_machine_lazy_rel): Likewise.
10122
68577918
UD
101232011-09-28 Ulrich Drepper <drepper@gmail.com>
10124
10125 * nss/nss_files/files-init.c (_nss_files_init): Use static
10126 initialization for all the *_traced_file variables.
10127
68822d74
AS
101282011-09-28 Andreas Schwab <schwab@redhat.com>
10129
10130 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10131
2056100b
RM
101322011-09-27 Roland McGrath <roland@hack.frob.com>
10133
10134 [BZ #13226]
10135 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10136
32c76b63
AS
101372011-09-27 Andreas Schwab <schwab@redhat.com>
10138
10139 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10140 Reread the line before reparsing it.
10141
bf972c9d
AS
101422011-09-26 Andreas Schwab <schwab@redhat.com>
10143
10144 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10145
e057a1b5
JM
101462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10147 Maxim Kuvyrkov <maxim@codesourcery.com>
10148 Joseph Myers <joseph@codesourcery.com>
10149
10150 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10151 if needed for __stack_chk_guard.
10152
bc7e1c36
RM
101532011-09-19 Roland McGrath <roland@hack.frob.com>
10154
ecb1482f
RM
10155 * sysdeps/posix/spawni.c (script_execute): Always define it.
10156 It will be optimized away if unused.
10157 (maybe_script_execute): New function.
10158 (__spawni): Call it.
10159
bc7e1c36
RM
10160 * Makerules: Don't include tls.make.
10161 (config-tls): Always set to thread.
10162 * tls.make.c: File removed.
10163
1c3b002b
MF
101642011-09-19 Mike Frysinger <vapier@gentoo.org>
10165
10166 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10167 * config.make.in (CPPFLAGS-config): New substituted variable.
10168
2840865d
UD
101692011-09-15 Ulrich Drepper <drepper@gmail.com>
10170
88738eb6
UD
10171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10172
cbf645a6 10173 [BZ #13192]
2840865d
UD
10174 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10175 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10176
b402e91a
RM
101772011-09-15 Roland McGrath <roland@hack.frob.com>
10178
10179 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10180 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10182 (CALL_FAIL): Likewise.
10183 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10184 (CALL_FAIL): Macro removed.
10185 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10186
4c1a1f71
UD
101872011-09-15 Ulrich Drepper <drepper@gmail.com>
10188
10189 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10190 for __FINITE_MATH_ONLY__ == 1.
10191
edc121be
AS
101922011-09-15 Andreas Schwab <schwab@redhat.com>
10193
10194 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10195 __ieee754_sqrt instead of sqrt.
10196 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10197 __ieee754_sqrtf instead of sqrtf.
10198 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10199 __floorf instead of floorf.
10200 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10201 __floorf, __truncf instead of floorf, truncf.
10202
cd205654
UD
102032011-09-14 Ulrich Drepper <drepper@gmail.com>
10204
ee4d0315
UD
10205 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10206
cd205654
UD
10207 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10208 __extern_always_inline.
10209 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10210 32-bit.
10211
48b67d71
AS
102122011-09-14 Andreas Schwab <schwab@redhat.com>
10213
10214 * elf/rtld.c (dl_main): Also relocate in dependency order when
10215 doing symbol dependency testing.
10216
1ae12c75
AS
102172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10218
10219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10220 Always define `refsym'.
10221
995a80df
AS
102222011-09-13 Andreas Schwab <schwab@redhat.com>
10223
e529793b
AS
10224 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10225 (__FD_ELT): Renamed from __FDELT.
10226 * misc/bits/select2.h (__FD_ELT): Likewise.
10227 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10228 __FD_MASK instead of __FDELT, __FDMASK.
10229 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10230 Likewise.
10231 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10232 Likewise.
10233
52d4fef8
AS
10234 * elf/Makefile (gen-ldd): Fix pattern.
10235
995a80df
AS
10236 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10237 (init_tls): Likewise.
10238
8682f8b0
UD
102392011-09-12 Ulrich Drepper <drepper@gmail.com>
10240
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10242
de82006d
AS
102432011-09-12 Andreas Schwab <schwab@redhat.com>
10244
a7c8e6a1
AS
10245 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10246 `struct cmsghdr *' instead of `void *'.
10247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10248 Likewise.
10249
0f31fe77
AS
102502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10251
10252 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10253 if non-absolute.
10254 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10255 ldd_rewrite_script.
0f31fe77 10256
32b4c839
UD
102572011-09-11 Ulrich Drepper <drepper@gmail.com>
10258
83cd1420
UD
10259 * configure.in: Remove --with-tls option.
10260 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10261 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10262 out in case it is missing.
10263 * sysdeps/ia64/elf/configure.in: Likewise.
10264 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10265 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10266 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10267 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10268 * sysdeps/sh/elf/configure.in: Likewise.
10269 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10270 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10271 * sysdeps/x86_64/elf/configure.in: Likewise.
10272 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10273 * sysdeps/mach/hurd/tls.h: Likewise.
10274
633f745d
UD
10275 [BZ #13067]
10276 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10277
f318beb8
UD
10278 [BZ #13090]
10279 * configure.in: Fix use of AC_INIT.
10280
32b4c839
UD
10281 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10282
3ce1f295
UD
102832011-09-10 Ulrich Drepper <drepper@gmail.com>
10284
bb016596
UD
10285 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10286 __set_errno.
8e58439c
UD
10287 * malloc/hooks.c: Likewise.
10288
aebae053 10289 [BZ #11929]
02d46fc4
UD
10290 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10291 variables statically.
10292 (narenas): Initialize.
10293 (list_lock): Initialize.
bb016596
UD
10294 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10295 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10296 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10297 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10298 Add initializers to main_arena and mp_.
10299 (malloc_state): Remove pagesize member. Change all users to use
10300 GLRO(dl_pagesize).
10301
10302 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10303 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10304 is always initialized.
10305
22a89187
UD
10306 * malloc/malloc.c: Removed unused configurations and dead code.
10307 * malloc/arena.c: Likewise.
10308 * malloc/hooks.c: Likewise.
02d46fc4 10309 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10310
d063d164
UD
10311 * include/tls.h: Removed. USE___THREAD must always be defined.
10312 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10313 * elf/dl-libc.c: Likewise.
10314 * elf/dl-tsd.c: Likewise.
10315 * include/errno.h: Likewise.
10316 * include/netdb.h: Likewise.
10317 * include/resolv.h: Likewise.
10318 * inet/herrno-loc.c: Likewise.
10319 * inet/herrno.c: Likewise.
10320 * malloc/arena.c: Likewise.
10321 * malloc/hooks.c: Likewise.
10322 * malloc/malloc.c: Likewise.
10323 * resolv/res-state.c: Likewise.
10324 * resolv/res_libc.c: Likewise.
10325 * sysdeps/i386/dl-machine.h: Likewise.
10326 * sysdeps/ia64/dl-machine.h: Likewise.
10327 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10328 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10329 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10330 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10331 * sysdeps/sh/dl-machine.h: Likewise.
10332 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10334 * sysdeps/unix/i386/sysdep.S: Likewise.
10335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10336 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10341 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10346 * sysdeps/x86_64/dl-machine.h: Likewise.
10347 * tls.make.c: Likewise.
10348
3ce1f295
UD
10349 * configure.in: Remove --with-__thread option. Make tests for
10350 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10351 tls_model attribute fail if no support is available. Remove
10352 USE_IN_LIBIO.
10353 * Makeconfig: Adjust for dropped configure option. All features are
10354 now mandatory.
10355 * Makerules: Likewise.
10356 * Versions.def: Likewise.
10357 * argp/argp-fmtstream.c: Likewise.
10358 * argp/argp-fmtstream.h: Likewise.
10359 * argp/argp-help.c: Likewise.
10360 * assert/assert.c: Likewise.
10361 * config.h.in: Likewise.
10362 * config.make.in: Likewise.
10363 * configure: Likewise.
10364 * configure.in: Likewise.
10365 * csu/Versions: Likewise.
10366 * csu/init.c: Likewise.
10367 * elf/tst-audit2.c: Likewise.
10368 * elf/tst-tls10.c: Likewise.
10369 * elf/tst-tls10.h: Likewise.
10370 * elf/tst-tls11.c: Likewise.
10371 * elf/tst-tls12.c: Likewise.
10372 * elf/tst-tls14.c: Likewise.
10373 * elf/tst-tlsmod11.c: Likewise.
10374 * elf/tst-tlsmod12.c: Likewise.
10375 * elf/tst-tlsmod13.c: Likewise.
10376 * elf/tst-tlsmod13a.c: Likewise.
10377 * elf/tst-tlsmod14a.c: Likewise.
10378 * elf/tst-tlsmod15b.c: Likewise.
10379 * elf/tst-tlsmod16a.c: Likewise.
10380 * elf/tst-tlsmod16b.c: Likewise.
10381 * elf/tst-tlsmod7.c: Likewise.
10382 * elf/tst-tlsmod8.c: Likewise.
10383 * elf/tst-tlsmod9.c: Likewise.
10384 * gmon/gmon.c: Likewise.
10385 * grp/fgetgrent_r.c: Likewise.
10386 * grp/putgrent.c: Likewise.
10387 * hurd/fopenport.c: Likewise.
10388 * include/libc-symbols.h: Likewise.
10389 * include/tls.h: Likewise.
10390 * intl/gettextP.h: Likewise.
10391 * intl/loadinfo.h: Likewise.
10392 * locale/global-locale.c: Likewise.
10393 * locale/localeinfo.h: Likewise.
10394 * mach/devstream.c: Likewise.
10395 * malloc/arena.c: Likewise.
10396 * malloc/set-freeres.c: Likewise.
10397 * misc/err.c: Likewise.
10398 * misc/getttyent.c: Likewise.
10399 * misc/mntent_r.c: Likewise.
10400 * posix/getopt.c: Likewise.
10401 * posix/wordexp.c: Likewise.
10402 * pwd/fgetpwent_r.c: Likewise.
10403 * resolv/Versions: Likewise.
10404 * resolv/res_hconf.c: Likewise.
10405 * shadow/fgetspent_r.c: Likewise.
10406 * shadow/putspent.c: Likewise.
10407 * stdio-common/printf_fphex.c: Likewise.
10408 * stdio-common/tmpfile.c: Likewise.
10409 * stdlib/abort.c: Likewise.
10410 * stdlib/fmtmsg.c: Likewise.
10411 * sunrpc/auth_unix.c: Likewise.
10412 * sunrpc/clnt_perr.c: Likewise.
10413 * sunrpc/clnt_tcp.c: Likewise.
10414 * sunrpc/clnt_udp.c: Likewise.
10415 * sunrpc/clnt_unix.c: Likewise.
10416 * sunrpc/openchild.c: Likewise.
10417 * sunrpc/svc_simple.c: Likewise.
10418 * sunrpc/svc_tcp.c: Likewise.
10419 * sunrpc/svc_udp.c: Likewise.
10420 * sunrpc/svc_unix.c: Likewise.
10421 * sunrpc/xdr.c: Likewise.
10422 * sunrpc/xdr_array.c: Likewise.
10423 * sunrpc/xdr_rec.c: Likewise.
10424 * sunrpc/xdr_ref.c: Likewise.
10425 * sunrpc/xdr_stdio.c: Likewise.
10426
1248c1c4
PB
104272011-09-09 Ulrich Drepper <drepper@gmail.com>
10428
10429 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10430
104312011-07-03 Andreas Jaeger <aj@suse.de>
10432
10433 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10434 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10435 regenerate with gen-libm-tests.pl.
10436
104372010-05-12 Petr Baudis <pasky@suse.cz>
10438
10439 [BZ #11589]
10440 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10441 around j0() zero points by switching to j1().
10442 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10446
f22e1074
UD
104472011-09-09 Ulrich Drepper <drepper@gmail.com>
10448
f19009c1
UD
10449 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10450 instead of 0.
10451 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10452 instead of 0. .
10453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10454 Patch in part by Pavel Roskin <proski@gnu.org>.
10455
3f8cc204
UD
10456 [BZ #13138]
10457 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10458 realloc.
10459 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10460 Free memory block if necessary.
10461
f22e1074
UD
10462 [BZ #12847]
10463 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10464 be NULL. Don't lock in this case.
10465
0a2349f9
RM
104662011-09-09 Roland McGrath <roland@hack.frob.com>
10467
10468 * elf/elf.h (ELFOSABI_GNU): New macro.
10469 (ELFOSABI_LINUX): Define to that.
10470
f3cdd467
DZ
104712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10472
10473 * string/strncat.c (strncat): Undef the symbol in case it has been
10474 defined in bits/string.h.
10475
74718d13
UD
104762011-09-09 Ulrich Drepper <drepper@gmail.com>
10477
633e9e0f
UD
10478 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10479
0a2349f9 10480 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10481 link map.
10482
f9924780
AJ
104832011-08-17 Andreas Jaeger <aj@suse.de>
10484
10485 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10486
7f5517aa
PP
104872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10488 Ian Lance Taylor <iant@google.com>
10489
10490 * math/libm-test.inc (lround_test): New testcase.
10491 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10492
762011fe
UD
104932011-09-08 Ulrich Drepper <drepper@gmail.com>
10494
92963737
UD
10495 * Makefile: Remove support for automatic cvs check-ins.
10496 * Makerules: Likewise.
10497 * config.make.in: Likewise.
10498 * configure.in: Likewise.
10499 * intl/Makefile: Likewise.
10500 * locale/Makefile: Likewise.
10501 * po/Makefile: Likewise.
10502 * posix/Makefile: Likewise.
10503 * sysdeps/gnu/Makefile: Likewise.
10504 * sysdeps/mach/hurd/Makefile: Likewise.
10505 * sysdeps/sparc/sparc32/Makefile: Likewise.
10506
b0727fd8
JS
10507 [BZ #13118]
10508 * posix/Makefile (bug-regex32-ENV): Define.
10509 Patch by John Stanley <jpsinthemix@verizon.net>.
10510
a0f33f99
UD
10511 * misc/Makefile (headers): Add bits/select2.h.
10512 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10513 * misc/bits/select2.h: New file.
10514 * include/bits/select2.h: New file.
10515 * debug/Makefile (routines): Add fdelt_chk.
10516 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10517 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10518 FD_ISSET.
10519 * debug/fdelt_chk.c: New file.
10520
762011fe
UD
10521 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10522 * wcsmbs/test-wmemcmp.c: Likewise.
10523 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10524 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10525
105262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10527
10528 * string/Makefile (strop-tests): Add memcmp.
10529 * string/test-wmemcmp.c: New file.
10530 * string/test-memcmp.c: Add wmemcmp support.
10531
7f513ec8
RM
105322011-09-08 Roland McGrath <roland@hack.frob.com>
10533
0442afb4
RM
10534 [BZ #13153]
10535 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10536 2011-07-19 change.
10537
7f513ec8
RM
10538 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10539 garbage value in a __mach_port_mod_refs call in the cases of the
10540 task-self and thread-self ports.
10541
a12b2239
ST
105422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10543
10544 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10545
610f9ab4
AS
105462011-09-08 Andreas Schwab <schwab@redhat.com>
10547
7f513ec8 10548 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10549
48882a1a
LD
105502011-09-07 Ulrich Drepper <drepper@gmail.com>
10551
b49865be
UD
10552 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10553
fdc86bc9
UD
10554 * elf/dl-libc.c (dlerror_run): Pass back error code from
10555 dl_catch_error.
10556
c966526a
UD
10557 [BZ #13123]
10558 * elf/dl-load.c (lose): Free l_origin if it is valid.
10559
48882a1a
LD
10560 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10561 names.
10562 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10563 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10567 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10568
77a2a8b4
AZ
105692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570
10571 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10572 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10573 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10574 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10575 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10576 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10577 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10578 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10579 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10580 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10581
24f579d8
AM
105822011-08-15 Alan Modra <amodra@gmail.com>
10583
10584 [BZ #13092]
10585 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10586 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10587 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10588 ppc_mcount to static-only-routines.
10589 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10590 __mcount_internal.
10591 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10592 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10593
3d4837df
UD
105942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10595
10596 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10597 for finite and infinity parameters.
10598
22700377
WS
105992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10600
10601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10602 and add nop instructions for throughput optimization.
10603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10604
5025581e
WS
106052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10606
10607 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10608 aligned copy for power7 with vector-scalar instructions.
10609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10610
08a300c9
L
106112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10614 AVX check.
10615
59178ef9
AS
106162011-09-07 Andreas Schwab <schwab@redhat.com>
10617
10618 [BZ #13144]
10619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10620 last change.
10621
e38ba7ab
UD
106222011-09-07 Ulrich Drepper <drepper@gmail.com>
10623
10624 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10625 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10626 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10627 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10628 clock_gettime.
10629
d53a73ac
UD
106302011-09-06 Ulrich Drepper <drepper@gmail.com>
10631
fc8bffcc
UD
10632 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10633 Forgot to demangle the pointer.
10634
ceaa0c5d
UD
10635 * sysdeps/i386/sysdep.h: Define atom_text_section.
10636 * sysdeps/x86_64/sysdep.h: Likewise.
10637 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10638 section with atom_text_section.
10639 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10640 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10643 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10644
a77d3c17
UD
10645 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10646 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10647 already be defined. Change to take two parameters and don't assign
10648 result to variable. Adjust all users.
10649 Define INTERNAL_GETTIME if not already defined.
10650 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10651 call.
10652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10653 HAVE_CLOCK_GETTIME_VSYSCALL.
10654 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10655
d53a73ac
UD
10656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10657 gettimeofday vsyscall, just use time.
10658
a8f84144
AS
106592011-09-06 Andreas Schwab <schwab@redhat.com>
10660
10661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10662 <errno.h>.
10663
ef606249
UD
106642011-09-06 Ulrich Drepper <drepper@gmail.com>
10665
10666 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10667 syscall on x86-64.
10668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10669 syscall.
10670 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10672 syscall if possible.
10673
6585cb60
UD
106742011-09-05 Ulrich Drepper <drepper@gmail.com>
10675
10676 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10677 e_ident. Don't pass to find_mapsXX.
10678 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10679
a5f524e4
LD
106802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10681
10682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10683 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10684 * sysdeps/x86_64/multiarch/strchr.S: Update.
10685 Check bit_slow_BSF bit.
10686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10687 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10689
554881ef
UD
106902011-09-05 Ulrich Drepper <drepper@gmail.com>
10691
d96de963
UD
10692 [BZ #13134]
10693 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10694 before glibc 2.15.
10695 (tryshell): Define.
10696 (__spawni): Change last parameter to be flag. Test
10697 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10698 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10699 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10700 * posix/spawni.c: Likewise.
10701 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10702 * posix/spawnp.c: Likewise. Change normal version to use
10703 SPAWN_XFLAGS_USE_PATH.
10704 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10705 SPAWN_XFLAGS_TRY_SHELL.
10706
d48e5868
UD
10707 [BZ #13150]
10708 * posix/glob.h: Remove gcc 1.x support.
10709
554881ef
UD
10710 [BZ #13068]
10711 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10712
693fb948
LD
107132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10714
10715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10716 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10717 strrchr-sse2-bsf
10718 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10719 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10720 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10721 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10722 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10723 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10724
1b48c537
UD
107252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10726
49d42c37
UD
10727 * sysdeps/x86_64/wcscmp.S: New file.
10728
1b48c537
UD
10729 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10730 wcscmp-c wcscmp-sse2
10731 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10732 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10733 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10734 * wcsmbs/wcscmp.c: Allow renaming.
10735
15c95c5d
DM
107362011-09-05 David S. Miller <davem@davemloft.net>
10737
10738 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10739 stack slot, rather than the struct return pointer slot.
10740 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10741 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10744
2f0ad8f3
UD
107452011-09-05 Ulrich Drepper <drepper@gmail.com>
10746
d88ae418
UD
10747 * po/ja.po: Update from translation team.
10748
2f0ad8f3
UD
10749 [BZ #13144]
10750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10751 kernel in 64-bit binaries.
10752
5f4318d1
DM
107532011-09-01 David S. Miller <davem@davemloft.net>
10754
10755 * elf/elf.h (HWCAP_SPARC_*): Move to..
10756 * sysdeps/sparc/sysdep.h: this new file and add new values.
10757 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10758 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10759 _DL_HWCAP_COUNT to 24.
10760 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10761 entries.
10762 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10763 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10764 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10766 instead of magic constants.
10767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10768
3ba57516
DM
107692011-08-31 David S. Miller <davem@davemloft.net>
10770
10771 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10773 Reimplement to do errno handling inline.
10774 (SYSCALL_ERROR_HANDLER): New macro.
10775 (__SYSCALL_STRING): Do not do errno handling in asm.
10776 (__CLONE_SYSCALL_STRING): Delete.
10777 (__INTERNAL_SYSCALL_STRING): Delete.
10778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10779 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10780 (PSEUDO): Reimplement to do errno handling inline.
10781 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10782 (SYSCALL_ERROR_HANDLER): New macro.
10783 (__SYSCALL_STRING): Do not do errno handling in asm.
10784 (__CLONE_SYSCALL_STRING): Delete.
10785 (__INTERNAL_SYSCALL_STRING): Delete.
10786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10787 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10788 i386.
10789 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10790 (inline_syscall*): Add 'err' argument.
10791 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10792 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10793 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10794 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10795
10796 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10797 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10798
2bc17433
AS
107992011-08-30 Andreas Schwab <schwab@redhat.com>
10800
10801 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10802
fbeb5f4d
JO
108032011-08-29 Jiri Olsa <jolsa@redhat.com>
10804
10805 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10806 directive.
10807
ad69cc26
DM
108082011-08-24 David S. Miller <davem@davemloft.net>
10809
10810 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10811
39dd69df
AS
108122011-08-24 Andreas Schwab <schwab@redhat.com>
10813
10814 * elf/Makefile: Add rules to build and run unload8 test.
10815 * elf/unload8.c: New file.
10816 * elf/unload8mod1.c: New file.
10817 * elf/unload8mod1x.c: New file.
10818 * elf/unload8mod2.c: New file.
10819 * elf/unload8mod3.c: New file.
10820
10821 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10822 it wasn't used.
10823
2c0b250a
DM
108242011-08-23 David S. Miller <davem@davemloft.net>
10825
10826 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10827 subtract stack bias.
10828 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10829 %sp not %fp in calculations.
10830 (_JMPBUF_UNWINDS_ADJ): Likewise.
10831
22044b48
DM
10832 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10833 (aio_suspend): Call it to force an exception region around the
10834 AIO_MISC_WAIT() invocation.
10835
2cae4995
AS
108362011-08-23 Andreas Schwab <schwab@redhat.com>
10837
10838 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10839 backslash.
10840
873a772e
AJ
108412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10842
10843 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10844 protection macro.
10845 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10846 and <dl-machine.h>.
10847 (Elf64_FuncDesc): Remove.
10848
25ad0df1
DM
108492011-08-22 David S. Miller <davem@davemloft.net>
10850
10851 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10852 sigaltstack check, add missing cfi directives.
10853 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10854 missing cfi directives, and sigaltstack handling.
10855
e888bcbe
AS
108562011-08-16 Andreas Schwab <schwab@redhat.com>
10857
10858 [BZ #11724]
10859 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10860 object is seen twice.
10861 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10862
10863 * elf/Makefile (distribute): Add tst-initorder2.c.
10864 (tests): Add tst-initorder2.
10865 (modules-names): Add tst-initorder2a tst-initorder2b
10866 tst-initorder2c tst-initorder2d. Add rules to build them.
10867 ($(objpfx)tst-initorder2.out): New rule.
10868 * elf/tst-initorder2.c: New file.
10869 * elf/tst-initorder2.exp: New file.
10870
87162f46
AS
108712011-08-22 Andreas Schwab <schwab@redhat.com>
10872
70538b7f
AS
10873 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10874
f55ffe58
AS
10875 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10876 dependencies back to end of function.
10877
87162f46
AS
10878 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10879 $(elfobjdir)/ld.so.
10880
91b392a4
UD
108812011-08-21 Ulrich Drepper <drepper@gmail.com>
10882
10883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10884 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10886 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10887 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10888 of __vdso_gettimeofday.
10889 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10890 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10891 attribute_hidden.
10892 (_libc_vdso_platform_setup): Remove initialization of
10893 __vdso_gettimeofday and __vdso_time.
10894
5c43483f
UD
108952011-08-20 Ulrich Drepper <drepper@gmail.com>
10896
775a77e7
UD
10897 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10898 and fgetc_unlocked.
10899 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10900 getc_unlocked.
89f447ed 10901
49c74ba9
UD
10902 * elf/dl-open.c (add_to_global): Report additions to the global scope
10903 for LD_DEBUG=scopes.
10904 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10905 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10906
5c43483f
UD
10907 [BZ #13114]
10908 * stdio-common/Makefile (tests): Add bug24.
10909 * stdio-common/bug24.c: New file.
10910
a101b025
AJ
109112011-08-19 Andreas Jaeger <aj@suse.de>
10912
10913 [BZ #13114]
10914 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10915 non-existant file when using close-on-exec mode.
10916
c88f1766
UD
109172011-08-20 Ulrich Drepper <drepper@gmail.com>
10918
0276a718
UD
10919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10920 the very first instruction.
10921
c88f1766
UD
10922 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10923 the CFI state in the end.
10924 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10925 inclusion of dl-trampoline.h.
10926 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10927
51ccffa0
AS
109282011-08-19 Andreas Schwab <schwab@redhat.com>
10929
94d7165f
AS
10930 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10931 expectations for long double.
10932
51ccffa0
AS
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10934 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10935
fd708658 109362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10937
10938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10939 artificual limit depends upon the system page size.
10940
44f0a71e
UD
109412011-08-17 Ulrich Drepper <drepper@gmail.com>
10942
10943 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10944 * resolv/Makefile: Define CFLAGS-libresolv.
10945
8de79a24
AS
109462011-08-17 Andreas Schwab <schwab@redhat.com>
10947
10948 * nss/makedb.c (compute_tables): Make variables used in nested
10949 function static.
10950
27724598
UD
109512011-08-17 Ulrich Drepper <drepper@gmail.com>
10952
c5305d88
UD
10953 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10954 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10955 if buffer was too small.
10956
27724598
UD
10957 * elf/pldd.c (main): Attach to all threads in the process.
10958 Rewrite /proc handling to use *at functions.
10959
076fe015
UD
109602011-08-16 Ulrich Drepper <drepper@gmail.com>
10961
174baab3
UD
10962 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10963 specifies first scope to show.
10964 (dl_open_worker): Update callers. Move printing scope of new
10965 object to before the relocation.
44f0a71e 10966 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10967 * sysdeps/generic/ldsodefs.h: Update declaration.
10968
076fe015
UD
10969 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10970 string for the scope number.
10971
a60df2c3
UD
109722011-08-14 Ulrich Drepper <drepper@gmail.com>
10973
10974 * nscd/servicescache.c (cache_addserv): Make sure written is always
10975 initialized.
10976
5e4287d1
RM
109772011-08-14 Roland McGrath <roland@hack.frob.com>
10978
85ae0589
RM
10979 * sysdeps/i386/i486/bits/atomic.h
10980 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10981 statement expression, so as to suppress "set but not used" warning.
10982 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10983
69f63097
RM
10984 * string/strncat.c (STRNCAT): Use prototype definition.
10985
675456ef
RM
10986 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10987 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10988 -Iprograms here.
10989 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10990 (localedef-modules): Add localedef.
10991 (locale-modules): Add locale.
10992
5e4287d1
RM
10993 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10994 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10995 to avoid a warning.
10996
9c96ff23
DM
109972011-08-14 David S. Miller <davem@davemloft.net>
10998
10999 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11000 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11001
f9ddf089
UD
110022011-08-13 Ulrich Drepper <drepper@gmail.com>
11003
44f0a71e 11004 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11005 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11006 * elf/rtld.c (dl_main): Set l_name of vDSO.
11007 Call _dl_show_scope when DL_DEBUG_SCOPES.
11008 (process_dl_debug): Recognize scopes flag and also set it for all.
11009 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11010 Declare _dl_show_scope.
11011
1dc27704
UD
11012 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11013 (do_dlopen): Pass caller_dlopen to dl_open.
11014 (__libc_dlopen_mode): Initialize caller_dlopen.
11015
f9ddf089
UD
11016 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11017 of libc. Make tolower call locale-independent. Optimize a bit by
11018 using isdigit instead of isalnum.
11019 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11020
9ac533d3
UD
110212011-08-12 Ulrich Drepper <drepper@gmail.com>
11022
11023 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11024 was a dependency or dynamically loaded.
11025
89edf2e9
UD
110262011-08-11 Ulrich Drepper <drepper@gmail.com>
11027
8e999d29
UD
11028 * intl/l10nflist.c: Allow architecture-specific pop function.
11029 * sysdeps/x86_64/l10nflist.c: New file.
11030
89edf2e9
UD
11031 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11032 classification.
11033
14d96785
AS
110342011-08-10 Andreas Schwab <schwab@redhat.com>
11035
11036 * include/dirent.h: Add libc_hidden_proto for scandirat and
11037 scandirat64. Don't declare __scandirat64.
11038 * dirent/scandirat.c: Add libc_hidden_def.
11039 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11040 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11041
6761ac04
DM
110422011-08-10 David S. Miller <davem@davemloft.net>
11043
11044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11045 enum.
11046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11049
c55fbd1e
UD
110502011-08-09 Ulrich Drepper <drepper@gmail.com>
11051
11052 * Versions.def [libc]: Add GLIBC_2.15.
11053 * dirent/Makefile (routines): Add scandirat and scandirat64.
11054 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11055 GLIBC_2.15.
11056 * dirent/dirent.h: Declare scandirat and scandirat64.
11057 * dirent/scandirat.c: New file.
11058 * dirent/scandirat64.c: New file.
11059 * sysdeps/wordsize-64/scandirat.c: New file.
11060 * sysdeps/wordsize-64/scandirat64.c: New file.
11061 * dirent/opendir.c: Define opendirat.
11062 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11063 using scandirat.
11064 * dirent/scandir64.c: Adjust for scandir.c change.
11065 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11066 __scandirat64, and __scandir_cancel_handler.
11067 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11068 additional parameter and use openat instead of open (outside of ld.so).
11069 Add new __opendir as wrapper around __opendirat.
11070 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11071 here without requiring old scandirat implementation.
11072
879165f2
UD
110732011-08-08 Ulrich Drepper <drepper@gmail.com>
11074
11075 * dirent/scandir.c (cancel_handler): Renamed to
11076 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11077 defined. Adjust users.
11078 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11079 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11080
cb7e923b
UD
110812011-08-04 Ulrich Drepper <drepper@gmail.com>
11082
16292edd
UD
11083 * string/test-string.h (IMPL): Use __STRING to expand name and then
11084 stringify it.
11085
cb7e923b
UD
11086 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11087 of cleanups.
11088
cff82933
LD
110892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11090
11091 * string/Makefile: Update.
11092 (strop-tests): Append strncat.
11093 * string/test-wcscmp.c: New file.
11094 New comprehensive test for wcscmp.
11095 * string/test-strcmp.c: Update.
11096 (WIDE): New define.
11097
9be9bfcc
AS
110982011-07-22 Andreas Schwab <schwab@redhat.com>
11099
11100 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11101 line.
11102
2e96f1c7
AS
111032011-07-26 Andreas Schwab <schwab@redhat.com>
11104
11105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11106 encoding to ACE if AI_IDN.
11107
85188888
JJ
111082011-08-01 Jakub Jelinek <jakub@redhat.com>
11109
11110 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11111 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11112
5fa16e9b
LD
111132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11114
11115 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11116 Fix overflow bug in strncat.
11117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11118
11119 * string/test-strncat.c: Update.
11120 Add new tests for checking overflow bugs.
11121
111222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11123
11124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11125 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11126 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11127 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11129 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11130 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11131 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11132 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11133
11134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11135 (USE_AS_STRCAT): Define.
11136 Add strcat and strncat support.
11137 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11138
8c1a459f
AS
111392011-07-25 Andreas Schwab <schwab@redhat.com>
11140
11141 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11142 __n bigger than INT_MAX+1.
11143 (__strncmp_g): Likewise.
11144
bba33c28
UD
111452011-07-23 Ulrich Drepper <drepper@gmail.com>
11146
798be72d
UD
11147 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11148 * libio/stido.h: Likewise.
11149
8accd4dc
UD
11150 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11151 (AF_NFC): Define.
11152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11153 (AF_NFC): Define.
11154
cbff0d96
UD
11155 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11158 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11160
9191c04a
UD
11161 [BZ #13021]
11162 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11163 installed.
11164
bba33c28
UD
11165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11166 typo.
11167 (_dl_x86_64_save_sse): Likewise.
11168
90f139dd
UD
111692011-07-22 Ulrich Drepper <drepper@gmail.com>
11170
1aae088a
UD
11171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11172 OSXSAVE.
11173 (_dl_x86_64_save_sse): Likewise.
11174
8e2045f5
UD
11175 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11176
90f139dd
UD
11177 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11178
1d002f25
AS
111792011-07-21 Andreas Schwab <schwab@redhat.com>
11180
11181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11182 change.
11183 (_dl_x86_64_save_sse): Use correct AVX check.
11184
21137f89
UD
111852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11186
11187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11188 bug in strncpy/strncat.
11189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11190
a65c0b7a
UD
111912011-07-21 Ulrich Drepper <drepper@gmail.com>
11192
11193 * string/tester.c (test_strcat): Add tests for different alignments
11194 of source and destination.
11195 (test_strncat): Likewise.
11196
6986b98a
UD
111972011-07-20 Ulrich Drepper <drepper@gmail.com>
11198
90bb2039
UD
11199 [BZ #12852]
11200 * posix/glob.c (glob): Check passed in values before using them in
11201 expressions to avoid some overflows.
11202 (glob_in_dir): Likewise.
11203
5644ef54
UD
11204 [BZ #13007]
11205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11206 check for AVX enablement so that we don't crash with old kernels and
11207 new hardware.
11208 * elf/tst-audit4.c: Add same checks here.
11209 * elf/tst-audit6.c: Likewise.
11210
11211 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11212
bfc9dc9b
AS
112132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11214
11215 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11216
702e64bb
UD
112172011-07-20 Ulrich Drepper <drepper@gmail.com>
11218
11219 * po/cs.po: Update from translation team.
11220 * po/bg.po: Likewise.
11221
295e904f
MP
112222011-07-12 Marek Polacek <mpolacek@redhat.com>
11223
11224 * misc/sys/cdefs.h: Add support for const attribute.
11225 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11226 to gnu_dev_{major,minor,makedev} functions.
11227
3ff94596
MP
112282011-07-20 Marek Polacek <mpolacek@redhat.com>
11229
11230 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11231
28b59fca
AS
112322011-07-20 Andreas Schwab <schwab@redhat.com>
11233
11234 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11235 strlen results.
11236
19df733e
AK
112372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11238
11239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11240 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11241 register in order to avoid conflicts with the soft frame pointer
11242 being held in r11 when necessary.
11243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11244 (INTERNAL_VSYSCALL_NCS): Likewise.
11245
c8835729
MP
112462011-07-14 Marek Polacek <mpolacek@redhat.com>
11247
11248 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11249 * elf/dl-fini.c (_dl_fini): Adjust caller.
11250 * elf/dl-close.c (_dl_close_worker): Likewise.
11251 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11252
b902330c
MP
112532011-07-15 Marek Polacek <mpolacek@redhat.com>
11254
8991e135
MP
11255 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11256 "aux_cache->nlibs < 0".
11257
b902330c
MP
11258 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11259 in the reload-count case.
11260
99710781
LD
112612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11262
11263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11264 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11265 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11266 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11267 * sysdeps/x86_64/multiarch/strcat.S: New file.
11268 * sysdeps/x86_64/multiarch/strncat.S: New file.
11269 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11271 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11272 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11273 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11274 (USE_AS_STRCAT): Define.
11275 Add strcat and strncat support.
11276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11278 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11279 * string/strncat.c: Update.
11280 (USE_AS_STRNCAT): Define.
11281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11282 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11283 and i7.
11284 * sysdeps/x86_64/multiarch/init-arch.h
11285 (bit_Prefer_PMINUB_for_stringop): New.
11286 (index_Prefer_PMINUB_for_stringop): Likewise.
11287 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11288 bit_Prefer_PMINUB_for_stringop.
11289
7dc6bd90
UD
112902011-07-19 Ulrich Drepper <drepper@gmail.com>
11291
11292 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11293 buffer64.
11294 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11295 of casting of buffer.
11296 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11297 buffer32 and buffer64.
11298 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11299 writes instead of casting of buffer.
11300 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11301 buffer32.
11302 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11303 casting of buffer.
11304
e0e72284
AS
113052011-07-19 Andreas Schwab <schwab@redhat.com>
11306
11307 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11308
feb1eb0b
UD
113092011-07-19 Ulrich Drepper <drepper@gmail.com>
11310
11311 * nscd/nscd.c (termination_handler): Don't do anything for a database
11312 if it has not yet been initialized.
11313
298711ff
UD
113142011-07-18 Ulrich Drepper <drepper@gmail.com>
11315
11316 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11317
113182011-07-15 Marek Polacek <mpolacek@redhat.com>
11319
11320 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11321
f9d68389
UD
113222011-07-18 Ulrich Drepper <drepper@gmail.com>
11323
11324 * po/nl.po: Update from translation team.
11325 * po/sv.po: Likewise.
11326
db290cf5
RM
113272011-07-16 Roland McGrath <roland@hack.frob.com>
11328
11329 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11330 now disallowed by GCC.
5c550700 11331
fd5e21c7
RM
11332 * configure.in (use-default-link): Default to yes if a test -shared
11333 link meets our qualifications.
11334 * configure: Regenerated.
11335
5c550700
RM
11336 * config.make.in (output-format): New variable.
11337 * configure.in: Check for ld --print-output-format support.
11338 * configure: Regenerated.
11339 * Makerules ($(common-objpfx)format.lds)
11340 [$(output-format) != unknown]: Just use $(output-format),
11341 instead of the linker-script munging.
11342
9fa2c032
RM
113432011-07-14 Roland McGrath <roland@hack.frob.com>
11344
a6928d51
RM
11345 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11346 of $(common-objpfx)shlib.lds.
11347 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11348
661607b3
RM
11349 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11350 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11351
9fa2c032
RM
11352 * configure.in (-z relro check): Adjust test code to add a large
11353 writable data section after it.
11354 * configure: Regenerated.
11355
defe9061
RM
113562011-07-11 Roland McGrath <roland@hack.frob.com>
11357
11358 * configure.in (-z relro check): Fix test code to make the variable
11359 truly const.
11360 * configure: Regenerated.
11361
319b9ad4
UD
113622011-07-11 Ulrich Drepper <drepper@gmail.com>
11363
11364 * nscd/nscd.h (struct traced_file): Define.
11365 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11366 elements. Add traced_files.
11367 (inotify_fd): Declare.
11368 (register_traced_file): Declare.
11369 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11370 (inotify_fd): Export.
11371 (resolv_conf_descr): Remove.
11372 (nscd_init): Move inotify descriptor creation to main.
11373 Don't register files for notification here.
11374 (register_traced_file): New function.
11375 (invalidate_cache): Don't use reset_res to determine whether to call
11376 res_init, go through the list of registered files.
11377 (main_loop_poll): The inotify descriptors are now stored in the
11378 structures for the traced files.
11379 (main_loop_epoll): Likewise
11380 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11381 to __nss_disable_nscd.
11382 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11383 for a database anymore. Check the records for all the registered
11384 files instead.
11385 * nss/Makefile (libnss_files-routines): Add files-init.
11386 (libnss_db-routines): Add db-init.
11387 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11388 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11389 * nss/nss_db/db-init.c: New file.
11390 * nss/nss_files/files-init.c: New file.
11391 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11392 __nss_lookup_function.
11393 (__nss_lookup_function): Call nss_load_library.
11394 (nss_load_all_libraries): New function.
11395 (__nss_disable_nscd): Take parameter with callback function for files
11396 to register. Set is_nscd. Load all the DSOs for the NSS modules
11397 used for the cached services.
11398 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11399 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11400 options for features to all the files in nscd.
11401
11402 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11403
23bee3e8
RM
114042011-07-10 Roland McGrath <roland@hack.frob.com>
11405
11406 * csu/elf-init.c (__libc_csu_init): Comment typo.
11407
46a5b7f0
UD
114082011-07-09 Ulrich Drepper <drepper@gmail.com>
11409
11410 * po/pl.po: Update from translation team.
11411 * po/ja.po: Likewise.
11412 * po/ru.po: Likewise.
11413 * po/ko.po: Likewise.
11414 * po/fr.po: Likewise.
11415
d30cf5bb
RM
114162011-07-09 Roland McGrath <roland@hack.frob.com>
11417
113ddea4
RM
11418 * configure.in (.ctors/.dtors header and trailer check):
11419 Use an empirical test on a built program.
11420 * configure: Regenerated.
11421
574920b4
RM
11422 * configure.in (-z relro check): Use an empirical test on a built DSO.
11423 Detect, but do not require, on ia64.
11424 * configure: Regenerated.
11425
d30cf5bb
RM
11426 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11427 Update tests that use readelf to use $READELF instead.
11428 * configure: Regenerated.
11429
8538fdb3
UD
114302011-07-08 Ulrich Drepper <drepper@gmail.com>
11431
11432 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11433 if the result is not used.
11434
04d08991
AJ
114352011-07-05 Andreas Jaeger <aj@suse.de>
11436
11437 [BZ#9696]
11438 * stdlib/tst-strtod.c: Add testcase.
11439
de283087
AD
114402011-07-07 Ulrich Drepper <drepper@gmail.com>
11441
4e5f31c8 11442 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11443 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11444 The latter has a higher limit. Take additional parameter to pass to
11445 the new function.
11446 (__pathconf): Pass file to __statfs_link_max.
11447 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11448 __statfs_link_max.
11449 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11450 __statfs_link_max.
11451
de283087
AD
11452 [BZ #12868]
11453 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11454 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11455 Handle Lustre.
11456 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11457 (__statfs_filesize_max): Likewise.
11458 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11459
c75fa153
AJ
114602011-07-05 Andreas Jaeger <aj@suse.de>
11461
11462 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11463
1a544854
UD
114642011-07-06 Marek Polacek <mpolacek@redhat.com>
11465
11466 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11467 `status' variable.
11468 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11469 Likewise.
11470
6f0eec67
UD
114712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * Makefile (strop-tests): Add strncat.
11474 * string/test-strncat.c: New file.
11475
aae30307
UD
114762011-06-30 Marek Polacek <mpolacek@redhat.com>
11477
11478 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11479
c0cfb5eb
UD
114802011-06-21 Andreas Jaeger <aj@suse.de>
11481
11482 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11483 Copy rule from iconvdata/Makefile.
11484
01636b21
UD
114852011-07-06 Ulrich Drepper <drepper@gmail.com>
11486
11487 [BZ #12922]
11488 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11489 but no long options are defined, just return 'W'.
11490
9895c8bc
UD
114912011-06-22 Marek Polacek <mpolacek@redhat.com>
11492
11493 [BZ #9696]
11494 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11495
5d4cf042
UD
114962011-07-06 Ulrich Drepper <drepper@gmail.com>
11497
11498 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11499 netgroups to read.
960e5535 11500 (innetgr): Likewise.
5d4cf042 11501
751eb97e
RM
115022011-07-05 Roland McGrath <roland@hack.frob.com>
11503
11504 * config.make.in (install_root): Default to $(DESTDIR).
11505
f15f1e45
UD
115062011-07-05 Ulrich Drepper <drepper@gmail.com>
11507
11508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11509
4e34ac6a
RM
115102011-07-02 Roland McGrath <roland@hack.frob.com>
11511
5e9b6af4
RM
11512 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11513
84f9ea0f
RM
11514 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11515 containing directory rather than embedding absolute directory names.
11516
ea5ee9f7
RM
11517 * scripts/check-local-headers.sh: Rewritten using awk.
11518 Match by word, not by line. Print error messages for matches.
11519 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11520
1b74661a
RM
11521 * Makerules [shlib-lds-flags empty]:
11522 ($(common-objpfx)libc_pic.opts): New target.
11523 ($(common-objpfx)libc_pic.os.clean): New target.
11524 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11525
11526 * config.make.in (OBJCOPY): New variable.
11527 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11528 * configure: Regenerated.
11529
f781ef40
RM
11530 * config.make.in (use-default-link): New variable.
11531 * configure.in (use_default_link): Grok --with-default-link to set it.
11532 * configure: Regenerated.
11533 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11534 (shlib-lds, shlib-lds-flags): Define to empty.
11535
2d4fa81e
RM
11536 * Makerules (shlib-lds): New variable.
11537 (shlib-lds-flags): New variable.
11538 (build-shlib, build-moduile, build-module-asneeded): Use it.
11539 ($(common-objpfx)libc.so): Use $(shlib-lds).
11540 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11542
31fffa6b
RM
11543 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11544 DT_FLAGS/DT_FLAGS_1 with zero flags.
11545
4e34ac6a
RM
11546 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11547 linker script munging.
11548
fcfc776b
UD
115492011-07-02 Ulrich Drepper <drepper@gmail.com>
11550
11551 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11552 as 128-bit value.
11553 * crypt/sha512.c (sha512_process_block): Perform total addition using
11554 128-bit if possible.
11555 (__sha512_finish_ctx): Likewise.
11556 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11557 as 64-bit value.
11558 * crypt/sha256.c (SWAP64): Define.
11559 (sha256_process_block): Perform total addition using 64-bit if
11560 possible.
11561 (__sha256_finish_ctx): Likewise.
11562
99231d9a
UD
115632011-07-01 Ulrich Drepper <drepper@gmail.com>
11564
11565 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11567 * nscd/hstcache.c (cache_addhst): Likewise.
11568 * nscd/grpcache.c (cache_addgr): Likewise.
11569 * nscd/aicache.c (addhstaiX): Likewise
11570 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11571
445b4a53
TK
115722011-07-01 Thorsten Kukuk <kukuk@suse.de>
11573
11574 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11576 * nscd/hstcache.c (cache_addhst): Likewise.
11577 * nscd/grpcache.c (cache_addgr): Likewise.
11578 * nscd/aicache.c (addhstaiX): Likewise
11579
6d4d8e8e
AS
115802011-07-01 Andreas Schwab <schwab@redhat.com>
11581
11582 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11583 domain only when needed.
11584
89f654c5
AS
115852011-06-30 Andreas Schwab <schwab@redhat.com>
11586
11587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11588 is always restored.
11589
cf3b23ff
UD
115902011-06-29 Ulrich Drepper <drepper@gmail.com>
11591
11592 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11593 are re-adding the entry.
11594 * nscd/servicescache.c (cache_addserv): Likewise.
11595
751626f9
AJ
115962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11597
11598 * sysdeps/generic/dl-irel.h: fix protection against multiple
11599 inclusions.
11600 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11601
9113ea1f
UD
116022011-06-28 Ulrich Drepper <drepper@gmail.com>
11603
5c0b8d90
UD
11604 [BZ #12935]
11605 * malloc/memusage.sh: Fix quoting in message.
11606 * debug/xtrace.sh: Likewise.
11607
9113ea1f
UD
11608 * configure.in: Remove support for --experimental-malloc option, make
11609 it the default.
11610 * config.make.in: Likewise.
11611 * malloc/Makefile: Likewise.
11612
a4172181
AS
116132011-06-27 Andreas Schwab <schwab@redhat.com>
11614
11615 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11616 two-byte characters.
11617
78a7eee7
RM
116182011-06-27 Roland McGrath <roland@hack.frob.com>
11619
62bede13
RM
11620 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11621 AC_CACHE_CHECK invocation.
11622 * configure: Regenerated.
11623
78a7eee7
RM
11624 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11625
5ce33a62
UD
116262011-06-27 Ulrich Drepper <drepper@gmail.com>
11627
034807a9
UD
11628 [BZ #12350]
11629 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11630 bit from old_res_options.
11631
4902da17
UD
11632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11633
5ce33a62
UD
11634 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11635 value type for setfct.
11636
c2344f56
L
116372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11640 __gettimeofday instead of gettimeofday.
11641
68468076
UD
116422011-06-26 Ulrich Drepper <drepper@gmail.com>
11643
11644 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11645
acb0d739
L
116462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11649
11650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11651 info.
11652
8912479f
L
116532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11654
11655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11656 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11657 strcpy-sse2-unaligned strncpy-sse2-unaligned
11658 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11659 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11660 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11661 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11662 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11665 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11666 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11667 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11668 (STRCPY): Support SSE2 and SSSE3 versions.
11669
d5495a11
UD
116702011-06-24 Ulrich Drepper <drepper@gmail.com>
11671
11672 [BZ #12874]
11673 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11674 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11675 kernels which artificially limit size of requests.
11676
0b1cbaae
L
116772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11678
11679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11680 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11681 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11682 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11683 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11684 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11685 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11686 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11689 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11690 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11691 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11692 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11693 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11695 Enable unaligned load optimization for Intel Core i3, i5 and i7
11696 processors.
11697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11698 Define.
11699 (index_Fast_Unaligned_Load): Define.
11700 (HAS_FAST_UNALIGNED_LOAD): Define.
11701
07f494a0
MP
117022011-06-23 Marek Polacek <mpolacek@redhat.com>
11703
11704 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11705
fa3fc0fe
UD
117062011-06-22 Ulrich Drepper <drepper@gmail.com>
11707
11708 [BZ #12907]
11709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11710 until it is clear that the information is realy needed.
11711 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11712
e12df166
AS
117132011-06-22 Andreas Schwab <schwab@redhat.com>
11714
11715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11716
852eb34d
UD
117172011-06-22 Ulrich Drepper <drepper@gmail.com>
11718
84e2a551
UD
11719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11720 /sys/devices/system/cpu/online if it is usable.
11721
852eb34d
UD
11722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11723 reading the information from the /proc filesystem to once a second.
11724
6e502e19
UD
117252011-06-21 Andreas Jaeger <aj@suse.de>
11726
11727 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11728 NULL after inclusion of kernel headers.
11729
75d39ff2
UD
117302011-06-21 Ulrich Drepper <drepper@gmail.com>
11731
51f9aa6a
UD
11732 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11733 calls to internal_setent.
11734
c0244a9d
UD
11735 [BZ #12885]
11736 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11737 addresses using gethostbyname4_r ignore IPv4 addresses.
11738
c5e3c2ae
UD
11739 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11740 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11741
75d39ff2
UD
11742 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11743
42675c6f
DM
117442011-06-20 David S. Miller <davem@davemloft.net>
11745
11746 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11747 inclusions.
11748 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11749
11750 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11751 (elf_irel): Use it.
11752 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11753 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11754 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11755 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11756 * sysdeps/x86_64/dl-irel.h: Likewise.
11757
11758 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11759 * elf/dl-sym.c: Likewise.
11760
57912a71
UD
117612011-06-15 Ulrich Drepper <drepper@gmail.com>
11762
11763 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11764 need to dereference resplen2.
11765
ee22793d
AS
117662011-06-14 Andreas Schwab <schwab@redhat.com>
11767
11768 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11769
a9e836b0
UD
117702011-06-15 Ulrich Drepper <drepper@gmail.com>
11771
77fb9117
UD
11772 * Makeconfig: Define vardbdir and inst_vardbdir.
11773 * nss/Makefile: Add rules to install db-Makefile.
11774
40c1b22c
UD
11775 * nss/nss_db/db-XXX.c: Cleanup.
11776
9f2da732
UD
11777 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11778 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11779 GLIBC_PRIVATE.
11780 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11781 * nss/makedb.c: Implement -g option to specify that value strings
11782 are generated and should not be added to table iterated over for
11783 get*ent calls.
11784 * nss/nss_db/db-initgroups.c: New file.
11785
82e9a1f7
UD
11786 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11787 interface.
11788
c41af17e
UD
11789 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11790 (internal_getgrouplist): Adjust to name change.
11791 Update use_initgroups_entry if this is not the first call.
11792 * nss/databases.def: Add initgroups entry.
11793
a9e836b0
UD
11794 * nss/makedb.c (compute_tables): Check result of multiple hash table
11795 sizes to minimize maximum chain length.
11796
2666d441
UD
117972011-06-14 Ulrich Drepper <drepper@gmail.com>
11798
11799 * Versions.def: Add entry for libnss_db.
11800 * shlib-versions: Likewise.
11801 * nss/Makefile: Add rules to build libnss_db.
11802 * nss/Versions: Add libnss_db information. Organize libnss_files
11803 entries better.
11804 * nss/db-Makefile: Add gshadow support. Change rules for the new
11805 makedb progra. Some minor improvements to generate smaller files.
11806 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11807 here from...
11808 * nss/makedb.c: ...here.
11809 Improve database format to be smaller and require less memory at
11810 runtime.
11811 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11812 db anymore.
11813 * nss/nss_db/db-netgrp.c: Likewise.
11814 * nss/nss_db/db-open.c: Likewise.
11815 * nss/nss_files/flies-XXX.x: Adjust comments.
11816 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11817 * nss/nss_files/files-grp.c: Likewise.
11818 * nss/nss_files/files-hosts.c: Likewise.
11819 * nss/nss_files/files-network.c: Likewise.
11820 * nss/nss_files/files-proto.c: Likewise.
11821 * nss/nss_files/files-pwd.c: Likewise.
11822 * nss/nss_files/files-rpc.c: Likewise.
11823 * nss/nss_files/files-service.c: Likewise.
11824 * nss/nss_files/files-sgrp.c: Likewise.
11825 * nss/nss_files/files-spwd.c: Likewise.
11826 * nss/nss_db/db-alias.c: Removed.
11827 * nss/nss_db/dummy-db.h: Removed.
11828
9ee76b5a
UD
118292011-06-02 Ulrich Drepper <drepper@gmail.com>
11830
11831 * nss/makedb.c: Rewritten to not use database library.
11832 * nss/Makefile: Update to build new makedb program.
11833
c71ca1f8
AJ
118342011-06-14 Andreas Jaeger <aj@suse.de>
11835
11836 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11837 memset declaration.
11838
3154bfb8
UD
118392011-06-10 Andreas Schwab <schwab@redhat.com>
11840
11841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11842 tmpbuf.
11843
b350afab
RM
118442011-06-10 Roland McGrath <roland@hack.frob.com>
11845
decd4e50
RM
11846 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11847 * elf/Makefile ($(objpfx)ld.so): Likewise.
11848
5615eaf2
RM
11849 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11850 Don't list ld.so twice in dependencies.
11851
11852 * posix/bug-regex31.c: Include <stdlib.h>.
11853
11854 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11855
11856 * nis/nss_compat/compat-spwd.c
11857 (getspent_next_nss_netgr): Remove unused variable.
11858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11859
11860 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11861 nonmembers" output to use the right array.
11862
11863 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11864
11865 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11866
11867 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11868 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11869 * catgets/gencat.c (read_input_file): Likewise.
11870 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11871
11872 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11873 variable definition inside #if's controlling its use.
11874
11875 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11876
11877 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11878
11879 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11880
11881 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11882 unreachable code.
11883
11884 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11885
b68e08db
RM
11886 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11887 * configure: Regenerated.
11888
b350afab
RM
11889 * Makerules: Revert last change.
11890 * elf/Makefile: Likewise.
11891
28368601
RM
118922011-06-09 Roland McGrath <roland@hack.frob.com>
11893
11894 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11895 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11896 (reloc-link): Likewise.
11897
11988f8f
UD
118982011-06-09 Ulrich Drepper <drepper@gmail.com>
11899
11900 * elf/Makefile: Add rules to build pldd.
11901 * elf/pldd.c: New file.
11902 * elf/pldd-xx.c: New file.
11903
e80fab37
UD
119042011-06-07 Ulrich Drepper <drepper@gmail.com>
11905
11906 * version.h: Update for 2.15 development version.
11907
9b849836
DM
119082011-06-07 David S. Miller <davem@davemloft.net>
11909
11910 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11911 ifuncs.
11912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11913 elf_machine_lazy_rel): Likewise.
11914 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11916 elf_machine_lazy_rel): Likewise.
11917 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11918 dl_hwcap via passed in argument.
11919 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11920 Likewise.
11921
5a31b283
AK
119222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11923
11924 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11925
069e52f8
RM
119262011-06-06 Roland McGrath <roland@hack.frob.com>
11927
11928 [BZ #12849]
11929 * manual/fdl-1.1.texi: New file, verbatim from:
11930 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11931 * manual/lgpl-2.1.texi: New file, verbatim from:
11932 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11933 * manual/Makefile (licenses): New variable, list those new file names.
11934 (texis): Use it.
11935 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11936
11937 * manual/fdl.texi: File removed.
11938 * manual/lesser.texi: File removed.
11939 * manual/libc.texinfo (Copying, Documentation License):
11940 Use new @include file names, put @appendix directive before @include.
11941
f16846a5
JJ
119422011-06-04 Jakub Jelinek <jakub@redhat.com>
11943
11944 [BZ #12841]
11945 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11946 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11947 (mq_open): Add __NTH.
11948
3d29045b
L
119492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11952 Assume Intel Core i3/i5/i7 processor if AVX is available.
11953
8c297311
UD
119542011-05-31 Ulrich Drepper <drepper@gmail.com>
11955
11956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11957 typo.
11958
c8fc0c91
UD
119592011-05-31 Andreas Schwab <schwab@redhat.com>
11960
11961 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11962 memory. Use alloca_account. Fix memory leak when retrying.
11963
5b27a807
UD
119642011-05-31 Ulrich Drepper <drepper@gmail.com>
11965
356f8bc6
UD
11966 * version.h (RELEASE): Bump for 2.14 release.
11967 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11968
5b27a807
UD
11969 * config.make.in (RANLIB): Remove entry.
11970
01f16ab0
UD
119712011-05-30 Ulrich Drepper <drepper@gmail.com>
11972
41fce8bd
UD
11973 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11974 (libc.pot): Work around missing support for .ksh extension in xgettext.
11975
4769ae77
UD
11976 [BZ #12684]
11977 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11978 if both request failed.
11979 (send_dg): In case of server errors clear resplen or *resplen2.
11980
6b1e7d19
UD
11981 [BZ #12454]
11982 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11983 when there are multiple maps.
11984 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11985 (_dl_fini): Remove test here.
11986
01f16ab0
UD
11987 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11988
b1ebd700
UD
119892011-05-29 Ulrich Drepper <drepper@gmail.com>
11990
7ae22829
UD
11991 [BZ #12350]
11992 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11993 bit from old_res_options.
11994 (gaih_inet): Likewise.
11995
553149f6 11996 [BZ #11099]
18a84741 11997 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11998 as signed.
11999
652ffab1
UD
12000 * resolv/res_init.c (res_setoptions): Make the code more compact.
12001
16985fd0
UD
12002 [BZ #11558]
12003 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12004 set RES_USEVC.
12005
0464f746
UD
12006 [BZ #11634]
12007 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12008
7d17596c
UD
12009 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12010
cf6bbbd7
UD
12011 [BZ #11781]
12012 * malloc/malloc.h: Declare malloc hook variables as volatile.
12013
13f1ab36
UD
12014 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12015 in last patch.
12016
b1ebd700
UD
12017 [BZ #11799]
12018 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12019 raise in the comment.
80e2212d
UD
12020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12022 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12023
ce67228d
UD
120242011-05-28 Ulrich Drepper <drepper@gmail.com>
12025
8887a920
UD
12026 [BZ #12811]
12027 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12028 grow the buffers more if it already has to be sufficient.
12029 (build_wcs_upper_buffer): Likewise.
12030 * posix/regexec.c (check_matching): Likewise.
12031 (clean_state_log_if_needed): Likewise.
12032 (extend_buffers): Don't enlarge buffers beyond size of the input
12033 buffer.
12034 Patches mostly by Emil Wojak <emil@wojak.eu>.
12035 * posix/bug-regex32.c: New file.
12036 * posix/Makefile (tests): Add bug-regex32.
12037
4f031072
UD
12038 * locale/findlocale.c (_nl_find_locale): Return right away if
12039 _nl_explode_name failed.
12040 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12041
d0478f0c
UD
12042 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12043
de81b246
UD
12044 * debug/xtrace.sh: Unify messages.
12045 * malloc/memusage.sh: Likewise.
12046
c738465a
UD
12047 [BZ #12813]
12048 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12049 time symbol from vDSO. Substitute with vsyscall if not available.
12050 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12051 __vdso_time.
12052
f1f929d7
UD
12053 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12054 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12055 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12056 Add sendmmsg and internal_sendmmsg.
12057 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12059 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12060
ce67228d
UD
12061 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12062 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12063 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12064
e57420c6
UD
120652011-05-27 Ulrich Drepper <drepper@gmail.com>
12066
a8509ca5
UD
12067 [BZ #12813]
12068 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12069 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12070 available.
12071 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12072 __vdso_getcpu.
12073
e57420c6
UD
12074 [BZ #12814]
12075 * iconvdata/Makefile (tests): Add bug-iconv9.
12076 * iconvdata/bug-iconv9.c: New file.
12077
4d07db15
AS
120782011-05-27 Andreas Schwab <schwab@redhat.com>
12079
12080 [BZ #12814]
12081 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12082
ea486f69
JJ
120832011-05-25 Jakub Jelinek <jakub@redhat.com>
12084
12085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12086 (struct user_regs_struct): Change intcs field back to cs.
12087
6f038433
UD
120882011-05-25 Ulrich Drepper <drepper@gmail.com>
12089
12090 * po/ja.po: Update from translation team.
12091
67f86a25
UD
120922011-05-23 Ulrich Drepper <drepper@gmail.com>
12093
12094 [BZ #12795]
12095 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12096 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12097
def7fbd6
AS
120982011-05-20 Andreas Schwab <schwab@redhat.com>
12099
12100 * stdlib/longlong.h: Update from GCC.
12101
f50ef8f1
AS
121022011-05-23 Andreas Schwab <schwab@redhat.com>
12103
12104 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12105 parameter name.
12106 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12107 Add parameter name.
12108 (__sysconf): Pass it down.
12109
de7ce8f1
UD
121102011-05-22 Ulrich Drepper <drepper@gmail.com>
12111
f2962a71
UD
12112 [BZ #12671]
12113 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12114 some situations.
12115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12116 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12117 add in in __libc_use_alloca calls. Adjust callers.
12118 (glob): Use malloc in some situations.
12119
de7ce8f1
UD
12120 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12121 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12122 pltexit.
12123
aec84f53
UD
121242011-05-21 Ulrich Drepper <drepper@gmail.com>
12125
05bb4a68
UD
12126 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12127 and CLOCK_BOOTTIME_ALARM.
12128
7ea72f99
UD
12129 [BZ #12782]
12130 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12131 is returned.
12132
7e4afad5
UD
12133 * string/_strerror.c (__strerror_r): Print negative errors as signed
12134 numbers.
12135
8e211fec
UD
12136 [BZ #12777]
12137 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12138 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12139 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12140
f7d82dc9
UD
12141 * configure.in: Fix typo in redirection and correct removal of test
12142 files in two cases.
12143
cc9e536d
UD
12144 [BZ #12788]
12145 * locale/setlocale.c (new_composite_name): Fix test to check for
12146 identical name of all categories.
12147
aec84f53
UD
12148 [BZ #12792]
12149 * libio/filedoalloc.c (local_isatty): New function.
12150 (_IO_file_doallocate): Use local_isatty.
12151 * stdio-common/perror.c (perror): In case a new stream is used
12152 forward the stream error.
12153 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12154 error flag.
12155
78e64fdc
RT
121562011-05-20 Ulrich Drepper <drepper@gmail.com>
12157
34a9094f
UD
12158 [BZ #11869]
12159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12160 alloca.
12161 * include/alloca.h (extend_alloca_account): Define.
12162
78e64fdc
RT
12163 [BZ #11857]
12164 * posix/regex.h: Fix comments with documentation of user-accessible
12165 fields after compilation and describe correct free'ing of pattern
12166 after re_compile_pattern.
12167 Patch by Reuben Thomas <rrt@sc3d.org>.
12168
457bddfc
RA
121692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12170
12171 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12172 and -mno-altivec to prevent the compiler from using Altivec and/or
12173 VSX instructions when the corresponding registers are not available.
12174
a4527b51
AS
121752011-05-19 Andreas Schwab <schwab@redhat.com>
12176
12177 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12178
ed690b2f
UD
121792011-05-19 Ulrich Drepper <drepper@gmail.com>
12180
12181 * libio/freopen.c (freopen): Use __dup2, not dup2.
12182 * libio/freopen64.c (freopen64): Likewise.
12183
8db73634
L
121842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12185
12186 [BZ #12775]
12187 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12188 * math/Makefile (tests): Add test-powl.
12189 (CFLAGS-test-powl.c): Define.
12190 * math/test-powl.c: New file.
12191
0a197a9d
L
121922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12193
12194 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12195
ee30c380
UD
121962011-05-17 Ulrich Drepper <drepper@gmail.com>
12197
12198 [BZ #11837]
12199 * iconvdata/gb18030.c: Update to GB18020-2005.
12200
6ce75379
UD
122012011-05-16 Ulrich Drepper <drepper@gmail.com>
12202
a4b89fd8
AR
12203 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12204 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12205 Patch by Aharon Robbins <arnold@skeeve.com>.
12206
ea389b12
UD
12207 [BZ #11892]
12208 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12209 on the stack.
12210
68a3f91f
UD
12211 [BZ #11895]
12212 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12213 through underflows.
12214
15cc7dd1
UD
12215 [BZ #12766]
12216 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12217 point to strings before performing equality test for error_one_per_line
12218 mode.
12219
f3799213
UD
12220 [BZ #11697]
12221 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12222
d79a9c94
UD
12223 [BZ #11820]
12224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12225 (struct user_fpregs_struct): Avoid __uint*_t types.
12226
56e5eb46
UD
12227 [BZ #6420]
12228 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12229 symbol info. Use it instead of calling _dl_addr locally.
12230 (lock_and_info): New function.
12231 (tr_freehook): Call lock_and_info and pass symbol info as additional
12232 parameter to tr_where.
12233 (tr_mallochook): Likewise.
12234 (tr_reallochook): Likewise.
12235 (tr_memalignhook): Likewise.
12236
6ce75379
UD
12237 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12238 used and couldn't be at all thread-safe.
12239
f8a3b5bf
UD
122402011-05-15 Ulrich Drepper <drepper@gmail.com>
12241
94b7cc37
UD
12242 * libio/freopen.c (freopen): Don't close old file descriptor
12243 before the new one is opened. Instead dup the new file descriptor
12244 to the old one after the new stream is created.
12245 * libio/freopen64.c (freopen64): Likewise.
12246 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12247 * libio/fileops.c (_IO_new_file_close_it): Handle new
12248 _IO_FLAGS2_NOCLOSE flag.
12249 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12250 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12251 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12252 _IO_FLAGS2_NOCLOSE flag.
12253 * include/unistd.h: Add hidden_proto for dup3.
12254 Define __have_dup3.
12255 * io/dup3.c: Define hidden symbol.
12256 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12257
bd25564e
UD
12258 [BZ #7101]
12259 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12260 when an incomplete long option is used.
12261 * posix/tst-getopt_long1.c: New file.
12262 * posix/Makefile (tests): Add tst-getopt_long1.
12263
c84cfef4
UD
12264 [BZ #10138]
12265 * scripts/config.guess: Update from autoconf-2.68.
12266 * scripts/config.sub: Likewise.
12267
3b85df27
UD
12268 [BZ #10157]
12269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12270 tests into ...
12271 (has_cpuclock): ...this. New function.
12272 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12273 macro here based on has_cpuclock code.
12274
15a856b1
UD
12275 [BZ #10149]
12276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12277 First byte (not low byte) is now always NUL.
12278 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12279
05f399e6
UD
12280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12281 Use non-cancelable interfaces.
12282
10a52685 12283 [BZ #9809]
94ecc67d
UD
12284 * locale/iso-639.def: Add entry for Sorani.
12285
f8a3b5bf
UD
12286 [BZ #11901]
12287 * include/stdlib.h: Move include protection to the right place.
12288 Define abort_msg_s. Declare __abort_msg with it.
12289 * stdlib/abort.c (__abort_msg): Adjust type.
12290 * assert/assert.c (__assert_fail_base): New function. Majority
12291 of code from __assert_fail. Allocate memory for __abort_msg with
12292 mmap.
12293 (__assert_fail): Now call __assert_fail_base.
12294 * assert/assert-perr.c: Remove bulk of implementation. Use
12295 __assert_fail_base.
12296 * include/assert.hL Declare __assert_fail_base.
12297 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12298 mmap.
12299 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12300
1af4e298
UD
123012011-05-14 Ulrich Drepper <drepper@gmail.com>
12302
f8a3b5bf 12303 [BZ #11952]
d26dfc60
MG
12304 [BZ #12453]
12305 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12306 until all modules are registered in the DTV.
12307 * elf/Makefile: Add rules to build and run tst-tls19.
12308 * elf/tst-tls19.c: New file.
12309 * elf/tst-tls19mod1.c: New file.
12310 * elf/tst-tls19mod2.c: New file.
12311 * elf/tst-tls19mod3.c: New file.
12312 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12313
2fc54d6f
UD
12314 [BZ #12083]
12315 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12316 correctly.
12317
98d76b46
UD
12318 [BZ #12601]
12319 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12320 two-byte sequence errors.
12321 * iconvdata/Makefile (tests): Add bug-iconv8.
12322 * iconvdata/bug-iconv8.c: New file.
12323
da3c19ef
UD
12324 [BZ #12626]
12325 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12326 buf2 definition.
12327
ca408c15
UD
12328 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12329
d6f67f7d
UD
12330 [BZ #12432]
12331 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12332 (dummy_getcfa): New function.
12333 (init): Get _Unwind_GetCFA address, use dummy if not found.
12334 (backtrace_helper): In recursion check, also check whether CFA changes.
12335 (__backtrace): Completely initialize arg.
12336
1af4e298 12337 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12338 storing incomplete byte sequence in state object. Avoid testing for
12339 guaranteed too small input if we know there is enough data available.
1af4e298 12340
da62f81b
AS
123412011-05-11 Andreas Schwab <schwab@redhat.com>
12342
12343 * Makeconfig (+link-pie): Indent.
12344 * Rules (binaries-pie): Define if $(have-fpie) and
12345 $(build-shared).
12346 (binaries-shared): Also filter out $(binaries-pie).
12347 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12348 * nscd/Makefile (others-pie): Add nscd.
12349 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12350 ($(objpfx)nscd): Remove command override.
12351 * login/Makefile (others-pie): Add pt_chown.
12352 ($(objpfx)pt_chown): Remove command override.
12353 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12354 remove command overrides.
12355
fcabc0f8
UD
123562011-05-13 Ulrich Drepper <drepper@gmail.com>
12357
20030ae6
UD
12358 * libio/tst_putwc.c: Fix error messages.
12359
fcabc0f8
UD
12360 [BZ #12724]
12361 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12362 currently writing and seek to current position when not.
12363 * libio/Makefile (tests): Add bug-fclose1.
12364 * libio/bug-fclose1.c: New file.
12365
320a5dc0
PB
123662011-05-12 Ulrich Drepper <drepper@gmail.com>
12367
12368 [BZ #12511]
12369 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12370 don't set DF_1_NODELETE here.
12371 (do_lookup_x): When entering new entry test for copy relocation
12372 and if necessary set DF_1_NODELETE flag.
12373 * elf/tst-unique4.cc: New file.
12374 * elf/tst-unique4.h: New file.
12375 * elf/tst-unique4lib.cc: New file.
12376 * elf/Makefile: Add rules to build and run tst-unique4.
12377 Patch by Piotr Bury <pbury@goahead.com>.
12378
22836f52
UD
123792011-05-11 Ulrich Drepper <drepper@gmail.com>
12380
f574184a
UD
12381 [BZ #12052]
12382 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12383
e1fb097f
UD
12384 [BZ #12625]
12385 * misc/mntent_r.c (addmntent): Flush the stream after the output
12386
22836f52
UD
12387 [BZ #12393]
12388 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12389 (is_trusted_path_normalize): Skip initial colon. Append slash
12390 to empty buffer. Duplicate is_trusted_path code but allow
12391 constructed patch to be prefix.
12392 (is_dst): Allow $ORIGIN followed by /.
12393 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12394 Correct testing of result of is_trusted_path_normalize
12395 (decompose_rpath): Fix warning.
12396
7b3b0b2a
UD
123972011-05-10 Ulrich Drepper <drepper@gmail.com>
12398
12399 [BZ #11257]
12400 * grp/initgroups.c (internal_getgrouplist): When we found the service
12401 list through the initgroups entry in nsswitch.conf do not always
12402 continue on a successful lookup. Don't always use the
eac80ce2 12403 __nss_group_database value if it is set.
7b3b0b2a
UD
12404 * nss/nsswitch.conf (initgroups): Change action for successful db
12405 lookup to continue for compatibility.
12406
2a81eaa5
UD
124072011-05-09 Ulrich Drepper <drepper@gmail.com>
12408
be97a69e
UD
12409 [BZ #11532]
12410 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12411 and CP774 modules.
12412 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12413 and CP774 modules.
12414 * iconvdata/tst-tables.sh: Likewise.
12415 * iconvdata/cp770.c: New file.
12416 * iconvdata/cp771.c: New file.
12417 * iconvdata/cp772.c: New file.
12418 * iconvdata/cp773.c: New file.
12419 * iconvdata/cp774.c: New file.
12420 * iconvdata/testdata/CP770: New file.
12421 * iconvdata/testdata/CP770..UTF8: New file.
12422 * iconvdata/testdata/CP771: New file.
12423 * iconvdata/testdata/CP771..UTF8: New file.
12424 * iconvdata/testdata/CP772: New file.
12425 * iconvdata/testdata/CP772..UTF8: New file.
12426 * iconvdata/testdata/CP773: New file.
12427 * iconvdata/testdata/CP773..UTF8: New file.
12428 * iconvdata/testdata/CP774: New file.
12429 * iconvdata/testdata/CP774..UTF8: New file.
12430
12431 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12432 END CHARMAP line.
12433 * iconvdata/gen-8bit-gap.sh: Likewise.
12434 * iconvdata/gen-8bit.sh: Likewise.
12435
c1e9e399
UD
12436 * locale/iso-639.def: Add ary entry.
12437
24c55fb3 12438 [BZ #11258]
96b4b1b0
UD
12439 * locale/C-translit.h.in: Add U20A1 transliteration.
12440
bdc2f971
KB
12441 [BZ #12178]
12442 * locale/iso-639.def: Add wae entry.
12443 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12444
2952b117
UD
12445 [BZ #12545]
12446 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12447 for n.
12448
2a81eaa5
UD
12449 [BZ #12711]
12450 * locale/C-translit.h.in: Add entry for U20B9.
12451 Patch by pravin.d.s@gmail.com.
12452
28377d1b
UD
124532011-05-08 Ulrich Drepper <drepper@gmail.com>
12454
7fb90fb8
UD
12455 [BZ #12713]
12456 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12457 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12458 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12459 in rtld. Use *stat64.
7fb90fb8 12460 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12461 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12462 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12463 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12464 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12465 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12466 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12467 __fstatat64 macros.
7fb90fb8
UD
12468 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12469 * dirent/rewinddir.c: Add libc_hidden_def.
12470 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12471 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12472
28377d1b
UD
12473 * include/dirent.h (__alloc_dir): Add flags parameter.
12474 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12475 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12476 __alloc_dir.
12477 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12478 from fdopendir if O_CLOEXEC is already set.
12479
66bdbaa4
AM
124802011-03-15 Alan Modra <amodra@gmail.com>
12481
12482 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12483 l_tls_firstbyte_offset non-zero. Save padding offset in
12484 l_tls_firstbyte_offset for later use.
12485 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12486 freeing static tls block.
12487
95721191
JN
124882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12489
12490 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12491 where #ifdef was intended. The intent is to prevent ARG_MAX from
12492 being defined by the kernel headers.
12493
f87dfb1f
UD
124942011-05-07 Ulrich Drepper <drepper@gmail.com>
12495
12496 [BZ #12734]
12497 * resolv/resolv.h: Define RES_NOTLDQUERY.
12498 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12499 no-tld-query and set RES_NOTLDQUERY.
12500 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12501 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12502 modern BIND to search name as TLD unless forbidden.
12503
47c3cd7a
UD
125042011-05-07 Petr Baudis <pasky@suse.cz>
12505 Ulrich Drepper <drepper@gmail.com>
12506
12507 [BZ #12393]
12508 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12509 (is_trusted_path): ...to here.
c1e9ea35 12510 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12511 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12512 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12513
8a35c912
PP
125142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12515
12516 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12517 __BEGIN/__END_DECLS.
12518
acd41f47
UD
125192011-05-06 Ulrich Drepper <drepper@gmail.com>
12520
12521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12522 NSS_STATUS_NOTFOUND if no record was found.
12523
597df647
AS
125242011-05-05 Andreas Schwab <schwab@redhat.com>
12525
12526 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12527 (headers-not-in-tirpc): Remove rpc/netdb.h
12528 * resolv/netdb.h: Revert last change.
12529
b9af1301
PP
125302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12531
12532 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12533 circular dependency between libgcc.a and libc.a.
12534
4e34d5f5
AS
125352011-05-05 Andreas Schwab <schwab@redhat.com>
12536
12537 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12538 * nis/Makefile: Don't install rpcsvc/*.
12539 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12540 instead of <rpc/types.h>.
12541 (MAXHOSTNAMELEN): Define.
12542
00ee369c
AS
125432011-05-03 Andreas Schwab <schwab@redhat.com>
12544
12545 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12546
0b592a30
MB
125472011-04-28 Maciej Babinski <mbabinski@google.com>
12548
12549 [BZ #12714]
12550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12551 gethostbyname4_r when IPv6 results are possible.
12552
6e04cbbe
UD
125532011-05-02 Ulrich Drepper <drepper@gmail.com>
12554
12555 [BZ #12723]
12556 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12557 _PC_PIPE_BUF handling.
12558
e4ecafe0
BH
125592011-04-30 Bruno Haible <bruno@clisp.org>
12560
12561 [BZ #12717]
12562 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12563 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12564 to 'int'.
12565 * inet/getnameinfo.c (getnameinfo): Likewise.
12566
125ee683
UD
125672011-04-29 Ulrich Drepper <drepper@gmail.com>
12568
12569 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12570 to groups setting in database lookup.
12571 * nss/nsswitch.conf: Add initgroups entry.
12572
b722481a
EB
125732011-04-22 Ulrich Drepper <drepper@gmail.com>
12574
12575 [BZ #12685]
12576 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12577 mode string.
12578 Patch by Eric Blake <eblake@redhat.com>.
12579
4df46dbd
L
125802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 * sunrpc/Makefile (need-export-routines): Add svc_run.
12583 (routines): Remove svc_run.
12584 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12585 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12586 * sunrpc/svc_run.c (svc_run): Likewise.
12587 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12588
e84142d2
UD
125892011-04-21 Ulrich Drepper <drepper@gmail.com>
12590
12591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12592 problem in reallocation in last patch.
12593
877175d8
UD
125942011-04-20 Ulrich Drepper <drepper@gmail.com>
12595
12596 * sunrpc/Makefile: Move inclusion of Rules.
12597
ab8eed78
UD
125982011-04-19 Ulrich Drepper <drepper@gmail.com>
12599
12600 * nss/nss_files/files-initgroups.c: New file.
12601 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12602 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12603 _nss_files_initgroups_dyn.
12604
e3d8f584
RS
126052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12606
12607 * elf/elf.h (R_ARM_IRELATIVE): Define.
12608
af190f45
UD
126092011-04-19 Ulrich Drepper <drepper@gmail.com>
12610
12611 * po/ru.po: Update from translation team.
12612
53cf59ef
UD
126132011-04-17 Ulrich Drepper <drepper@gmail.com>
12614
12615 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12616 dependencies.
12617
4c559bcd
MF
126182011-02-06 Mike Frysinger <vapier@gentoo.org>
12619
12620 [BZ #12653]
12621 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12622 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12626
4420675c
AS
126272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12628
12629 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12630 differing bytes.
12631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12634
75ea32ab
UD
126352011-04-17 Ulrich Drepper <drepper@gmail.com>
12636
12637 [BZ #12420]
12638 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12639 storing it.
12640 * stdlib/bug-getcontext.c: New file.
12641 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12642
27390476
AK
126432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12644
12645 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12646 instructions into .machine "z9-109".
12647 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12648 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12649
10442705
AK
126502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12651
12652 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12653 between environment variables and auxiliary vector.
12654
7b57bfe5
UD
126552011-04-16 Ulrich Drepper <drepper@gmail.com>
12656
12657 * Makefile: Add rules to build linkobj/libc.so.
12658 * include/libc-symbols.h: Define libc_hidden_nolink.
12659 * include/rpc/auth.h: Mark functions which are to be hidden.
12660 * include/rpc/auth_des.h: Likewise.
12661 * include/rpc/auth_unix.h: Likewise.
12662 * include/rpc/clnt.h: Likewise.
12663 * include/rpc/des_crypt.h: Likewise.
12664 * include/rpc/key_prot.h: Likewise.
12665 * include/rpc/pmap_clnt.h: Likewise.
12666 * include/rpc/pmap_prot.h: Likewise.
12667 * include/rpc/pmap_rmt.h: Likewise.
12668 * include/rpc/rpc_msg.h: Likewise.
12669 * include/rpc/svc.h: Likewise.
12670 * include/rpc/svc_auth.h: Likewise.
12671 * include/rpc/xdr.h: Likewise.
12672 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12673 * nss/Makefile: Likewise.
12674 * sunrpc/Makefile: Don't install headers. Build library with normal
12675 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12676 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12677 for the compat linking library. Remove use of INTDEF/INTUSE.
12678 * sunrpc/auth_none.c: Likewise.
12679 * sunrpc/auth_unix.c: Likewise.
12680 * sunrpc/authdes_prot.c: Likewise.
12681 * sunrpc/authuxprot.c: Likewise.
12682 * sunrpc/clnt_gen.c: Likewise.
12683 * sunrpc/clnt_perr.c: Likewise.
12684 * sunrpc/clnt_raw.c: Likewise.
12685 * sunrpc/clnt_simp.c: Likewise.
12686 * sunrpc/clnt_tcp.c: Likewise.
12687 * sunrpc/clnt_udp.c: Likewise.
12688 * sunrpc/clnt_unix.c: Likewise.
12689 * sunrpc/des_crypt.c: Likewise.
12690 * sunrpc/des_soft.c: Likewise.
12691 * sunrpc/get_myaddr.c: Likewise.
12692 * sunrpc/key_call.c: Likewise.
12693 * sunrpc/key_prot.c: Likewise.
12694 * sunrpc/netname.c: Likewise.
12695 * sunrpc/pm_getmaps.c: Likewise.
12696 * sunrpc/pm_getport.c: Likewise.
12697 * sunrpc/pmap_clnt.c: Likewise.
12698 * sunrpc/pmap_prot.c: Likewise.
12699 * sunrpc/pmap_prot2.c: Likewise.
12700 * sunrpc/pmap_rmt.c: Likewise.
12701 * sunrpc/publickey.c: Likewise.
12702 * sunrpc/rpc_cmsg.c: Likewise.
12703 * sunrpc/rpc_common.c: Likewise.
12704 * sunrpc/rpc_dtable.c: Likewise.
12705 * sunrpc/rpc_prot.c: Likewise.
12706 * sunrpc/rpc_thread.c: Likewise.
12707 * sunrpc/rtime.c: Likewise.
12708 * sunrpc/svc.c: Likewise.
12709 * sunrpc/svc_auth.c: Likewise.
12710 * sunrpc/svc_authux.c: Likewise.
12711 * sunrpc/svc_raw.c: Likewise.
12712 * sunrpc/svc_run.c: Likewise.
12713 * sunrpc/svc_simple.c: Likewise.
12714 * sunrpc/svc_tcp.c: Likewise.
12715 * sunrpc/svc_udp.c: Likewise.
12716 * sunrpc/svc_unix.c: Likewise.
12717 * sunrpc/svcauth_des.c: Likewise.
12718 * sunrpc/xcrypt.c: Likewise.
12719 * sunrpc/xdr.c: Likewise.
12720 * sunrpc/xdr_array.c: Likewise.
12721 * sunrpc/xdr_float.c: Likewise.
12722 * sunrpc/xdr_intXX_t.c: Likewise.
12723 * sunrpc/xdr_mem.c: Likewise.
12724 * sunrpc/xdr_rec.c: Likewise.
12725 * sunrpc/xdr_ref.c: Likewise.
12726 * sunrpc/xdr_sizeof.c: Likewise.
12727 * sunrpc/xdr_stdio.c: Likewise.
12728
e6c61494
UD
127292011-04-10 Ulrich Drepper <drepper@gmail.com>
12730
12731 [BZ #12650]
12732 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12733 * sysdeps/ia64/dl-tls.h: Likewise.
12734 * sysdeps/powerpc/dl-tls.h: Likewise.
12735 * sysdeps/s390/dl-tls.h: Likewise.
12736 * sysdeps/sh/dl-tls.h: Likewise.
12737 * sysdeps/sparc/dl-tls.h: Likewise.
12738 * sysdeps/x86_64/dl-tls.h: Likewise.
12739 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12740
34fe483e
AS
127412011-03-14 Andreas Schwab <schwab@redhat.com>
12742
12743 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12744 rpath element also skip the following colon.
12745 (expand_dynamic_string_token): Add is_path parameter and pass
12746 down to DL_DST_REQUIRED and _dl_dst_substitute.
12747 (decompose_rpath): Call expand_dynamic_string_token with
12748 non-zero is_path. Ignore empty rpaths.
12749 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12750 with zero is_path.
12751
f12a32e6
AS
127522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12753
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12755 Make cancelable.
12756
38a7d692
UD
127572011-04-09 Ulrich Drepper <drepper@gmail.com>
12758
12759 [BZ #12655]
12760 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12761 Patch by Filipe David Manana <fdmanana@apache.org>.
12762
e451d22b
AS
127632011-04-07 Andreas Schwab <schwab@redhat.com>
12764
12765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12766 Maintain aligned stack.
12767 (CHECK_RSP): Remove unused macro.
12768
dedc7c7b
UD
127692011-04-03 Ulrich Drepper <drepper@gmail.com>
12770
12771 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12773
94521213
UD
127742011-04-02 Ulrich Drepper <drepper@gmail.com>
12775
12776 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12777
8cb700c0 12778 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12779
0354e355
L
127802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12781
12782 [BZ #12518]
12783 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12784 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12785 * sysdeps/x86_64/memmove.c: New file.
12786 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12787 (memcpy): Renamed to ...
12788 (__new_memcpy): This.
12789 (memcpy): Provide GLIBC_2_14 memcpy.
12790 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12791 (memcpy): Provide GLIBC_2_2_5 memcpy.
12792
8593482f
UD
127932011-04-01 Ulrich Drepper <drepper@gmail.com>
12794
12795 [BZ #12631]
12796 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12797
81a5726b
AS
127982011-03-30 Andreas Schwab <schwab@redhat.com>
12799
12800 * misc/syncfs.c: New file.
12801 * misc/Makefile (routines): Add syncfs.
12802 * posix/unistd.h: Declare syncfs.
12803 * sysdeps/unix/syscalls.list: Add syncfs.
12804
00e5419f
AS
128052011-04-01 Andreas Schwab <schwab@redhat.com>
12806
12807 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12808 open_by_handle_at.
12809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12814 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12816
748876bf
UD
128172011-04-01 Ulrich Drepper <drepper@gmail.com>
12818
658e451d
UD
12819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12823 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12825 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12826
748876bf
UD
12827 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12828 sync_file_range.c with -fexceptions.
12829 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12830 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12831 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12832 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12833 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12834 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12836 sync_file_range as cancellation point
12837 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12838 now a wrapper around __call_sync_file_range with cancellation handling.
12839 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12840 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12841 function name to __call_sync_file_range.
12842 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12843 Add call_sync_file_range.
748876bf 12844
6e63d5e1
AS
128452011-04-01 Andreas Schwab <schwab@redhat.com>
12846
12847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12848 bits/timex.h.
6e63d5e1 12849
46998f74
UD
128502011-04-01 Ulrich Drepper <drepper@gmail.com>
12851
4c1423ed
UD
12852 * iconv/iconv.h: Fix typo in comment.
12853 * io/fcntl.h: Likewise.
12854 * libio/stdio.h: Likewise.
12855 * posix/spawn.h: Likewise.
12856 * posix/unistd.h: Likewise.
12857 * stdlib/stdlib.h: Likewise.
12858 * time/time.h: Likewise.
12859 * wcsmbs/wchar.h: Likewise.
12860
158648c0
UD
12861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12862 open_by_handle): Add.
12863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12864 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12865 Augment a few comments.
12866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12871 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12872 open_by_handle.
12873
46998f74
UD
12874 * io/fcntl.h (AT_EMPTY_PATH): Define.
12875
83fe108b
UD
128762011-03-30 Ulrich Drepper <drepper@gmail.com>
12877
12878 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12879 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12880 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12881 to...
12882 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12883 * Versions.def: Add GLIBC_2.14.
12884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12885 Export.
83fe108b 12886
bb242059
UD
128872011-03-22 Ulrich Drepper <drepper@gmail.com>
12888
12889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12890 round counter.
12891 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12892
c97a1282
L
128932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 [BZ #12597]
12896 * string/test-strncmp.c (do_page_test): New function.
12897 (check2): Likewise.
12898 (test_main): Call check2.
12899 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12900
2a115601
UD
129012011-03-20 Ulrich Drepper <drepper@gmail.com>
12902
12903 [BZ #12587]
12904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12905 Handle cache information in CPU leaf 4.
12906 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12907
8126d904
UD
129082011-03-18 Ulrich Drepper <drepper@gmail.com>
12909
042c49c6 12910 [BZ #12583]
8126d904
UD
12911 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12912 character representation.
12913 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12914
ccfe366e
RA
129152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12916
12917 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12918 END(__isnan) to END(__isnanf) to match function entry point/label
12919 EALIGN(__isnanf,...).
12920
c6e13027
JJ
129212011-03-10 Jakub Jelinek <jakub@redhat.com>
12922
12923 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12924
33f85a3f
UD
129252011-03-10 Ulrich Drepper <drepper@gmail.com>
12926
028478fa
UD
12927 [BZ #12510]
12928 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12929 copy from the symbol referenced in the relocation to initialize the
12930 used variable.
12931 Patch by Piotr Bury <pbury@goahead.com>.
12932 * elf/Makefile: Add rules to build and tst-unique3.
12933 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12934 * elf/tst-unique3.cc: New file.
12935 * elf/tst-unique3.h: New file.
12936 * elf/tst-unique3lib.cc: New file.
12937 * elf/tst-unique3lib2.cc: New file.
12938
33f85a3f
UD
12939 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12940
03592fc7
MF
129412011-03-10 Mike Frysinger <vapier@gentoo.org>
12942
12943 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12944 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12945 to _start.
03592fc7 12946
6a5ee102
UD
129472011-03-06 Ulrich Drepper <drepper@gmail.com>
12948
12949 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12950 to-be-loaded object along a path to loader is ld.so.
12951
7e4ba49c
HJ
129522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12953 Ulrich Drepper <drepper@gmail.com>
12954
12955 * sysdeps/x86_64/memset.S: After aligning destination, code
12956 branches to different locations depending on the value of
12957 misalignment, when multiarch is enabled. Fix this.
12958
129592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12960
12961 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12962 Set _x86_64_preferred_memory_instruction for AMD processsors.
12963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12964 Set bit_Prefer_SSE_for_memop for AMD processors.
12965
13a804de
UD
129662011-03-04 Ulrich Drepper <drepper@gmail.com>
12967
12968 * libio/fmemopen.c (fmemopen): Optimize a bit.
12969
9d25c392
AS
129702011-03-03 Andreas Schwab <schwab@redhat.com>
12971
12972 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12973
a5543c6a
RM
129742011-03-03 Roland McGrath <roland@redhat.com>
12975
12976 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12977
012d35f7
DM
129782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12979
7e4ba49c 12980 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12981 __bzero_ultra1 instead of __memset_ultra1.
12982
4bff6e01
AS
129832011-02-23 Andreas Schwab <schwab@redhat.com>
12984 Ulrich Drepper <drepper@gmail.com>
12985
12986 [BZ #12509]
12987 * include/link.h (struct link_map): Add l_orig_initfini.
12988 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12989 returning unsuccessfully.
12990 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12991 close of a file loaded at startup, restore the original l_initfini
12992 list.
12993 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12994 list, store the pointer.
12995 * elf/Makefile ($(objpfx)noload-mem): New rule.
12996 (noload-ENV): Define.
12997 (tests): Add $(objpfx)noload-mem.
12998 * elf/noload.c: Include <memcheck.h>.
12999 (main): Call mtrace. Close all opened handles.
13000
f2092faf
AS
130012011-02-17 Andreas Schwab <schwab@redhat.com>
13002
13003 [BZ #12454]
13004 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13005 dependencies are missing.
13006
6c8a2e88
ST
130072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13008
f2092faf 13009 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13010 Hurd needs munmap.
13011 * sysdeps/mach/hurd/ifreq.h: New file.
13012
84a42118
PB
130132011-01-27 Petr Baudis <pasky@suse.cz>
13014 Ulrich Drepper <drepper@gmail.com>
13015
071f805e 13016 [BZ 12445]#
84a42118
PB
13017 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13018 to extend_alloca().
13019 * stdio-common/bug23.c: New file.
13020 * stdio-common/Makefile (tests): Add bug23.
13021
e23fe25b
AS
130222010-09-28 Andreas Schwab <schwab@redhat.com>
13023 Ulrich Drepper <drepper@gmail.com>
13024
13025 [BZ #12489]
13026 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13027 before performing relro protection. At old place add assertion
13028 to make sure nothing changed.
13029
d3f02e10
NS
130302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13031 Glauber de Oliveira Costa <glommer@gmail.com>
13032
13033 * elf/elf.h: Add new ARM TLS relocs.
13034
d55fd7a5
RA
130352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13036
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13038 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13039 cast from r3.
13040 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13041 'tests' variable.
13042 * sysdeps/wordsize-64/tst-writev.c: New file.
13043
2206397e
RA
130442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13045
13046 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13047 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13048 insns in _dl_start to prevent a TOC reference before relocs are
13049 resolved.
13050
e9433893
UD
130512011-02-15 Ulrich Drepper <drepper@gmail.com>
13052
13053 [BZ #12469]
13054 * Makeconfig: Remove RANLIB definition.
13055 * Makerules: Don't use RANLIB.
13056 * aclocal.m4: Remove ranlib test.
13057 * configure.in: No need to check for ranlib.
13058 * elf/rtld-Rules: Don't use RANLIB.
13059
f75286c6
ST
130602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13061
8e31c82d
ST
13062 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13063 protection macro.
13064 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13065 inclusion protection macro.
13066
f75286c6
ST
13067 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13068 SIGRTMIN and SIGRTMAX and print information in that case only when
13069 SIGRTMIN is defined.
13070
c1d0e639
JJ
130712011-02-11 Jakub Jelinek <jakub@redhat.com>
13072
13073 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13074 arginfo fn returning -1.
13075
13076 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13077 and thousands string is zero terminated.
13078
edf9294e
AS
130792011-02-03 Andreas Schwab <schwab@redhat.com>
13080
13081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13082 sysdeps/unix/sysv/linux/bits/socket.h.
13083
2b7e92df
ST
130842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13085
edf9294e
AS
13086 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13087 (__CPU_COUNT): Remove old macros.
13088 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13089 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13090 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13091 (__sched_cpualloc, __sched_cpufree): Add declarations.
13092
a4c7ea7b
UD
130932011-02-05 Ulrich Drepper <drepper@gmail.com>
13094
13095 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13096 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13097 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13098 (readdhstai): Return value of addhstaiX call.
13099 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13100 (addgrbyX): Return value returned by cache_addgr.
13101 (readdgrbyname): Return value returned by addgrbyX.
13102 (readdgrbygid): Likewise.
13103 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13104 (addpwbyX): Return value returned by cache_addpw.
13105 (readdpwbyname): Return value returned by addhstbyX.
13106 (readdpwbyuid): Likewise.
13107 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13108 (addservbyX): Return value returned by cache_addserv.
13109 (readdservbyname): Return value returned by addservbyX:
13110 (readdservbyport): Likewise.
13111 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13112 (addhstbyX): Return value returned by cache_addhst.
13113 (readdhstbyname): Return value returned by addhstbyX.
13114 (readdhstbyaddr): Likewise.
13115 (readdhstbynamev6): Likewise.
13116 (readdhstbyaddrv6): Likewise.
13117 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13118 (readdinitgroups): Return value returned by addinitgroupsX.
13119 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13120 (prune_cache): Keep track of timeout value of re-added entries.
13121 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13122 * nscd/nscd.h: Adjust prototypes of readd* functions.
13123
a0bf67cc
RM
131242011-02-04 Roland McGrath <roland@redhat.com>
13125
13126 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13127 (nis_stats): Likewise.
13128 * nis/nis_modify.c (nis_modify): Likewise.
13129 * nis/nis_remove.c (nis_remove): Likewise.
13130 * nis/nis_add.c (nis_add): Likewise.
13131
13132 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13133
13134 * posix/fnmatch_loop.c: Add some consts.
13135
13136 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13137
435b95eb
L
131382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 [BZ #12460]
13141 * config.make.in (config-cflags-novzeroupper): Define.
13142 * configure.in: Substitute libc_cv_cc_novzeroupper.
13143 * elf/Makefile (AVX-CFLAGS): Define.
13144 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13145 (CFLAGS-tst-auditmod4a.c): Likewise.
13146 (CFLAGS-tst-auditmod4b.c): Likewise.
13147 (CFLAGS-tst-auditmod6b.c): Likewise.
13148 (CFLAGS-tst-auditmod6c.c): Likewise.
13149 (CFLAGS-tst-auditmod7b.c): Likewise.
13150 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13151
8517b15e
UD
131522011-02-02 Ulrich Drepper <drepper@gmail.com>
13153
13154 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13155 function to the callback.
13156 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13157
10a656fe
AS
131582011-02-02 Andreas Schwab <schwab@redhat.com>
13159
13160 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13161 of errno.
13162
968dad0a
UD
131632011-01-19 Ulrich Drepper <drepper@gmail.com>
13164
9f94d2ea 13165 [BZ #11724]
968dad0a
UD
13166 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13167 of constructors.
13168 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13169 of destructors.
13170 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13171
13172 [BZ #11724]
13173 * elf/Makefile: Add rules to build and run new test.
13174 * elf/tst-initorder.c: New file.
13175 * elf/tst-initorder.exp: New file.
13176 * elf/tst-initordera1.c: New file.
13177 * elf/tst-initordera2.c: New file.
13178 * elf/tst-initordera3.c: New file.
13179 * elf/tst-initordera4.c: New file.
13180 * elf/tst-initorderb1.c: New file.
13181 * elf/tst-initorderb2.c: New file.
13182 * elf/tst-order-a1.c: New file.
13183 * elf/tst-order-a2.c: New file.
13184 * elf/tst-order-a3.c: New file.
13185 * elf/tst-order-a4.c: New file.
13186 * elf/tst-order-b1.c: New file.
13187 * elf/tst-order-b2.c: New file.
13188 * elf/tst-order-main.c: New file.
13189 New test case by George Gensure <werkt0@gmail.com>.
13190
86e92359
UD
131912010-10-01 Andreas Schwab <schwab@redhat.com>
13192
13193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13194 decoding ACE if AI_CANONIDN.
13195
5d5732b0
UD
131962011-01-18 Ulrich Drepper <drepper@gmail.com>
13197
13198 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13199
a77e8cbc
UD
132002011-01-17 Ulrich Drepper <drepper@gmail.com>
13201
6392473f
UD
13202 * version.h (RELEASE): Bump for 2.13 release.
13203 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13204
620a0529
UD
13205 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13206
18ba70a5
UD
13207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13208 MADV_NOHUGEPAGE.
32465c3e
UD
13209 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13215
c0dafcf1
UD
13216 * posix/getconf.c: Update copyright year.
13217 * catgets/gencat.c: Likewise.
13218 * csu/version.c: Likewise.
13219 * debug/catchsegv.sh: Likewise.
13220 * debug/xtrace.sh: Likewise.
13221 * elf/ldconfig.c: Likewise.
13222 * elf/ldd.bash.in: Likewise.
13223 * elf/sprof.c (print_version): Likewise.
13224 * iconv/iconv_prog.c: Likewise.
13225 * iconv/iconvconfig.c: Likewise.
13226 * locale/programs/locale.c: Likewise.
13227 * locale/programs/localedef.c: Likewise.
13228 * malloc/memusage.sh: Likewise.
13229 * malloc/mtrace.pl: Likewise.
13230 * nscd/nscd.c (print_version): Likewise.
13231 * nss/getent.c: Likewise.
13232
a77e8cbc
UD
13233 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13234 PF_CAIF, and PF_ALG.
13235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13236
77e8bddf
AS
132372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13238
1f20b93a
AS
13239 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13240 (modules-names): Use them.
13241 (ifunc-test-modules, ifunc-pie-tests): Define.
13242 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13243 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13244 (test-extras): Likewise.
13245 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13246 $(compile-command.c).
13247 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13248 (all-built-dso): Define.
13249 (check-textrel.out, check-execstack.out): Depend on it.
13250
77e8bddf
AS
13251 * configure.in: Don't override --enable-multi-arch.
13252
bc425b33
UD
132532011-01-15 Ulrich Drepper <drepper@gmail.com>
13254
13255 [BZ #6812]
13256 * nscd/hstcache.c (tryagain): Define.
13257 (cache_addhst): Return tryagain not notfound for temporary errors.
13258 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13259 failed.
13260
794c3ad3
UD
132612011-01-14 Ulrich Drepper <drepper@gmail.com>
13262
70181fdd
UD
13263 [BZ #10563]
13264 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13265 to make the syscall.
13266 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13267
794c3ad3
UD
13268 [BZ #12378]
13269 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13270 and fall back to matching as normal character if the string ends before
13271 the matching ']' is found. This is what POSIX requires.
13272 * posix/testfnm.c: Adjust test result.
13273 * posix/globtest.sh: Adjust test result. Add new test.
13274 * posix/tst-fnmatch.input: Likewise.
13275 * posix/tst-fnmatch2.c: Add new test.
13276
68dc9497
AS
132772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13278
13279 * elf/Makefile (check-execstack): Revert last change. Depend on
13280 check-execstack.h.
13281 (check-execstack.h): New target.
13282 (generated): Add check-execstack.h.
13283 * elf/check-execstack.c: Include "check-execstack.h".
13284 (main): Revert last change.
13285 (handle_file): Return zero if GNU_STACK is absent and
13286 DEFAULT_STACK_PERMS doesn't include PF_X.
13287
451f001b
UD
132882011-01-13 Ulrich Drepper <drepper@gmail.com>
13289
cfa28e56
UD
13290 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13291 in child fails because the descriptor is already closed.
8cf8ce17
UD
13292 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13293 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13294 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13295
1086d70d
UD
13296 [BZ #12397]
13297 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13298 syscall.
13299
451f001b
UD
13300 [BZ #10484]
13301 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13302 temporary buffer used to handle multi lookups locally.
a85b5cb4 13303 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13304
08769175
UD
133052011-01-12 Ulrich Drepper <drepper@gmail.com>
13306
13307 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13308 loader is ld.so.
13309
5e49c52e
UD
133102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13311
13312 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13313 alignment for SSE2.
13314
60522a5f
UD
133152011-01-12 Ulrich Drepper <drepper@gmail.com>
13316
13317 [BZ #12394]
13318 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13319 characters. When rounding increased number of integer digits recompute
13320 number of groups.
13321 * stdio-common/tst-grouping.c: New file.
13322 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13323
f257bbd7
UD
133242011-01-09 Ulrich Drepper <drepper@gmail.com>
13325
13326 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13327 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13328
13329 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13330 void.
13331 * bits/select.h: Likewise.
13332
fa9c15cb
UD
133332011-01-08 Ulrich Drepper <drepper@gmail.com>
13334
13335 * po/ja.po: Update from translation team.
13336
16c2895f
DM
133372011-01-04 David S. Miller <davem@sunset.davemloft.net>
13338
13339 [BZ #11155]
13340 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13341 implementation just like for lxstat, fxstatat, et al.
13342
2543fef2
JM
133432010-12-27 Jim Meyering <meyering@redhat.com>
13344
13345 [BZ #12348]
13346 * posix/regexec.c (build_trtable): Return failure indication upon
13347 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13348
98727dbe
UD
133492010-12-25 Ulrich Drepper <drepper@gmail.com>
13350
5bd6dc5c
UD
13351 [BZ #12201]
13352 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13353 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13354 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13356
97983464
UD
13357 [BZ #12207]
13358 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13359
98727dbe
UD
13360 [BZ #12204]
13361 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13362 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13363
4a531bb0
L
133642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13365
13366 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13367 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13368 script has SORT_BY_INIT_PRIORITY.
13369 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13370 NO_CTORS_DTORS_SECTIONS is defined.
13371 * elf/soinit.c: Likewise.
13372 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13373 NO_CTORS_DTORS_SECTIONS is defined.
13374 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13375 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13376 * sysdeps/sh/init-first.c: Likewise.
13377 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13378
07eb4b71
UD
133792010-12-24 Ulrich Drepper <drepper@gmail.com>
13380
13381 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13382 always use the slow path.
13383
30950a5f
RA
133842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13385
13386 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13387 similar rule which adds the sysdep directories to the header search in
13388 order to pick up the correct platform stackinfo.h.
13389 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13390 perform test if it is, otherwise return successfully without testing.
13391 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13392 DEFAULT_STACK_PERMS define in stackinfo.h.
13393 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13394 defined in stackinfo.h.
13395 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13396 DEFAULT_STACK_PERMS defined in stackinfo.h.
13397 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13398 * sysdeps/ia64/stackinfo.h: Likewise.
13399 * sysdeps/s390/stackinfo.h: Likewise.
13400 * sysdeps/sh/stackinfo.h: Likewise.
13401 * sysdeps/sparc/stackinfo.h: Likewise.
13402 * sysdeps/x86_64/stackinfo.h: Likewise.
13403 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13404 PF_X for powerpc64. Retain PF_X for powerpc32.
13405
db753e2c
UD
134062010-12-19 Ulrich Drepper <drepper@gmail.com>
13407
14b697f7
UD
13408 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13409 accurately.
db753e2c
UD
13410 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13411 GETDENTS_64BIT_ALIGNED.
13412
28300719
UD
134132010-12-14 Ulrich Drepper <dreper@gmail.com>
13414
14b697f7 13415 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13416
4f197237
AS
134172010-12-10 Andreas Schwab <schwab@redhat.com>
13418
dbb0472f
AS
13419 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13420 _GNU_SOURCE.
13421
4f197237
AS
13422 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13423 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13424 Remove __restrict.
13425 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13426 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13427
fb88ac72
UD
134282010-12-09 Ulrich Drepper <drepper@gmail.com>
13429
13430 [BZ #11655]
13431 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13432 are initialized.
13433
42acbb92
JJ
134342010-12-09 Jakub Jelinek <jakub@redhat.com>
13435
13436 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13437
c038d98d
UD
134382010-12-03 Ulrich Drepper <drepper@gmail.com>
13439
13440 * po/it.po: Update from translation team.
13441
3a4a2499
L
134422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13443
13444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13445 unused codes.
13446
1e24cf6e
UD
134472010-11-30 Ulrich Drepper <drepper@gmail.com>
13448
13449 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13450
a7690819
AS
134512010-11-24 Andreas Schwab <schwab@redhat.com>
13452
13453 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13454 specially.
13455 (gaih_getanswer_slice): Likewise.
13456
3bf8d1b1
JJ
134572010-10-20 Jakub Jelinek <jakub@redhat.com>
13458
13459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13460
6db52fbb
PB
134612010-05-31 Petr Baudis <pasky@suse.cz>
13462
13463 [BZ #11149]
13464 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13465 silently even in the chroot mode.
13466
eaca7569
UD
134672010-11-22 Ulrich Drepper <drepper@gmail.com>
13468
13469 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13470 last patch a bit. Pretty printing
13471
3056dcdb
UD
134722010-05-31 Petr Baudis <pasky@suse.cz>
13473
13474 [BZ #10085]
13475 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13476 initialization of skip_initgroups_dyn.
13477
cf7c9078
UD
134782010-11-19 Ulrich Drepper <drepper@gmail.com>
13479
13480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13482
a1fb5e3e
UD
134832010-11-16 Ulrich Drepper <drepper@gmail.com>
13484
13485 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13486
3540d66b
AS
134872010-11-11 Andreas Schwab <schwab@redhat.com>
13488
13489 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13490 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13491 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13492 ($(objpfx)tst-fnmatch-mem): New rule.
13493 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13494 * posix/tst-fnmatch.c (main): Call mtrace.
13495
13b69574
L
134962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13499 Support Intel processor model 6 and model 0x2c.
13500
da93d214
LM
135012010-11-10 Luis Machado <luisgpm@br.ibm.com>
13502
13503 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13504 signed comparison.
13505
8ca52c6e
L
135062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 [BZ #12205]
13509 * string/test-strncasecmp.c (check_result): New function.
13510 (do_one_test): Use it.
13511 (check1): New function.
13512 (test_main): Use it.
13513 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13514 Support strcasecmp and strncasecmp.
13515
69da074d
UD
135162010-11-08 Ulrich Drepper <drepper@gmail.com>
13517
13518 [BZ #12194]
13519 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13520 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13521
ff02d528
L
135222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13523
13524 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13525 IFUNC support.
13526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13527 memset-x86-64.
13528 * sysdeps/x86_64/multiarch/bzero.S: New file.
13529 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13530 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13531 * sysdeps/x86_64/multiarch/memset.S: New file.
13532 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13534 Set bit_Prefer_SSE_for_memop for Intel processors.
13535 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13536 Define.
13537 (index_Prefer_SSE_for_memop): Define.
13538 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13539
344d0b54
LM
135402010-11-04 Luis Machado <luisgpm@br.ibm.com>
13541
13542 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13543 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13544
c0dde15b
UD
135452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13546
13547 [BZ #12191]
13548 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13549 (__x86_64_raw_data_cache_size_half): Likewise.
13550 (__x86_64_raw_shared_cache_size): Likewise.
13551 (__x86_64_raw_shared_cache_size_half): Likewise.
13552
13553 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13554 (__x86_64_raw_data_cache_size_half): Likewise.
13555 (__x86_64_raw_shared_cache_size): Likewise.
13556 (__x86_64_raw_shared_cache_size_half): Likewise.
13557 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13558 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13559 and __x86_64_raw_shared_cache_size_half. Round
13560 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13561 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13562 to multiple of 256 bytes.
13563
0e516e0e
MS
135642010-11-03 Ulrich Drepper <drepper@gmail.com>
13565
13566 [BZ #12167]
13567 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13568 of inacessible symlinks. Verify result of symlink before returning it.
13569 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13570 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13571
0e012e87
ER
135722010-10-28 Erich Ritz <erichritz@gmail.com>
13573
13574 * math/math.h (isinf): Fix typo in comment.
13575
de0ff7bc
UD
135762010-11-01 Ulrich Drepper <drepper@gmail.com>
13577
13578 * po/da.po: Update from translation team.
13579
fa41c84d
UD
135802010-10-26 Ulrich Drepper <drepper@gmail.com>
13581
13582 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13583 is added to the list.
13584
f0967738
AK
135852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13586 Ulrich Drepper <drepper@gmail.com>
13587
13588 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13589 the global list here. Move code to...
13590 (_dl_add_to_namespace_list): ...here. New function.
13591 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13592 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13593 * elf/dl-load.c (lose): Don't remove the element from the list.
13594 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13595 (_dl_map_object): Likewise.
13596
135972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13598
13599 [BZ #12159]
13600 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13601 into all bytes of SSE register.
13602 Patch by Richard Li <richardpku@gmail.com>.
13603
f0967738 136042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13605
13606 [BZ #12140]
13607 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13608 perturbing.
13609
d0b9e94f
MB
136102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13611
13612 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13613 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13614 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13615 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13617 submachine.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13619
8e9f92e9
AS
136202010-10-22 Andreas Schwab <schwab@redhat.com>
13621
13622 * include/dlfcn.h (__RTLD_SECURE): Define.
13623 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13624 mode & __RTLD_SECURE instead.
13625 (open_path): Rename preloaded parameter to secure.
13626 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13627 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13628 * elf/dl-deps.c (openaux): Likewise.
13629 * elf/rtld.c (struct map_args): Remove is_preloaded.
13630 (map_doit): Don't use it.
13631 (dl_main): Likewise.
13632 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13633 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13634
bc96fbda
AS
136352010-09-09 Andreas Schwab <schwab@redhat.com>
13636
13637 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13638 (sysd-rules-targets): Remove duplicates.
13639 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13640 rtld-%.$o dependency.
13641
22cd1c9b
AS
136422010-10-18 Andreas Schwab <schwab@redhat.com>
13643
13644 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13645 _dl_map_object do it.
13646
18edac48
UD
136472010-10-19 Ulrich Drepper <drepper@gmail.com>
13648
13649 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13650 fast fma builtins, define the macros in the C99 standard.
13651 (FP_FAST_FMAF): Likewise.
13652 (FP_FAST_FMAL): Likewise.
13653 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13654
13655 * bits/mathdef.h: Update copyright year.
13656 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13657
d2050124
MM
136582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13659
13660 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13661 builtins, define the macros in the C99 standard.
13662 (FP_FAST_FMAF): Likewise.
13663 (FP_FAST_FMAL): Likewise.
13664 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13665 multiply/add.
13666 (FP_FAST_FMAF): Likewise.
13667
475facd1
JJ
136682010-10-15 Jakub Jelinek <jakub@redhat.com>
13669
13670 [BZ #3268]
13671 * math/libm-test.inc (fma_test): Some new testcases.
13672 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13674 y and infinite z. Do multiplication by C already in long double.
13675 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13677 y and infinite z. Do bitwise or of inexact bit into u.d.
13678 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13679 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13680 * sysdeps/i386/fpu/s_fma.S: Removed.
13681 * sysdeps/i386/fpu/s_fmal.S: Removed.
13682
7c08a05c
JJ
136832010-10-16 Jakub Jelinek <jakub@redhat.com>
13684
13685 [BZ #3268]
13686 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13688 computation is not scheduled after fetestexcept. Fix value
13689 of minimum denormal long double.
13690
f3f7372d
JJ
136912010-10-14 Jakub Jelinek <jakub@redhat.com>
13692
13693 [BZ #3268]
13694 * math/libm-test.inc (fma_test): Add some more tests.
13695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13696 correctly.
13697
14d43591
AS
136982010-10-15 Andreas Schwab <schwab@redhat.com>
13699
13700 * scripts/data/localplt-s390-linux-gnu.data: New file.
13701 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13702
5e908464
JJ
137032010-10-13 Jakub Jelinek <jakub@redhat.com>
13704
13705 [BZ #3268]
13706 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13707 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13708 instead of dbl-64.
13709 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13710 inlines.
13711 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13713 if one of x and y is very large and the other is subnormal.
13714 * sysdeps/s390/fpu/s_fmaf.c: New file.
13715 * sysdeps/s390/fpu/s_fma.c: New file.
13716 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13717 * sysdeps/powerpc/fpu/s_fma.S: New file.
13718 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13719 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13720 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13721
137222010-10-12 Jakub Jelinek <jakub@redhat.com>
13723
13724 [BZ #3268]
13725 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13726 fma tests.
13727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13728 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13729 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13730 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13731 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13732 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13734
b833d51f
UD
137352010-10-12 Ulrich Drepper <drepper@redhat.com>
13736
13737 [BZ #12078]
13738 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13739 * posix/bug-regex31.input: Add test case.
13740
1751705d
UD
137412010-10-11 Ulrich Drepper <drepper@gmail.com>
13742
e9b9cbf5
UD
13743 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13744 * posix/bug-regex31.input: New file.
13745
13746 [BZ #12078]
13747 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13748 (parse_sub_exp): Fix last change, use postorder.
13749
ef06edbe
UD
13750 * posix/bug-regex31.c: New file.
13751 * posix/Makefile: Add rules to build and run bug-regex31.
13752
a129c80d
UD
13753 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13754
13755 [BZ #12078]
13756 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13757
b76b818e
UD
13758 [BZ #12108]
13759 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13760 to have entries in sys_siglist.
13761
1751705d
UD
13762 [BZ #12093]
13763 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13764 be NULL.
13765
9ff8d36f
JJ
137662010-10-07 Jakub Jelinek <jakub@redhat.com>
13767
13768 [BZ #3268]
13769 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13770 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13771 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13772 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13773 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13774 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13775 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13776 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13777 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13778 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13779 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13780 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13781 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13782 * math/ftestexcept.c (fetestexcept): Likewise.
13783 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13784 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13785 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13786 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13787 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13788 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13790
af325969
UD
137912010-10-11 Ulrich Drepper <drepper@gmail.com>
13792
c579b202 13793 [BZ #12107]
af325969
UD
13794 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13795 newline.
13796
67a67b95
UD
137972010-10-06 Ulrich Drepper <drepper@gmail.com>
13798
13799 * string/bug-strstr1.c: New file.
13800 * string/Makefile: Add rules to build and run bug-strstr1.
13801
5fb308bc
EB
138022010-10-05 Eric Blake <eblake@redhat.com>
13803
13804 [BZ #12092]
13805 * string/str-two-way.h (two_way_long_needle): Always clear memory
13806 when skipping input due to the shift table.
13807
45db99c7
UD
138082010-10-03 Ulrich Drepper <drepper@gmail.com>
13809
3b111893
UD
13810 [BZ #12005]
13811 * malloc/mcheck.c: Handle large requests.
13812
45db99c7
UD
13813 [BZ #12077]
13814 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13815 for strncmp and strncasecmp.
13816 * string/stratcliff.c: Add tests for strcmp and strncmp.
13817 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13818
cf7a1eb8
NI
138192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13820
13821 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13822 __set_fpscr.
13823
6484ba5e
AJ
138242010-09-30 Andreas Jaeger <aj@suse.de>
13825
13826 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13827 (CGROUP_SUPER_MAGIC): Define.
13828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13829 Handle btrfs and cgroup file systems.
13830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13831 Likewise.
13832
91c42559
LM
138332010-09-27 Luis Machado <luisgpm@br.ibm.com>
13834
13835 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13836 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13837
87a97932
AK
138382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13839
13840 [BZ #12067]
13841 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13842 trying to locate the ELF header.
13843
c21cc9bc
AS
138442010-09-27 Andreas Schwab <schwab@redhat.com>
13845
13846 [BZ #11611]
13847 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13848 Mask out sign-bit copies when constructing f_fsid.
13849
315970f6
PB
138502010-09-24 Petr Baudis <pasky@suse.cz>
13851
13852 * debug/stack_chk_fail_local.c: Add missing licence exception.
13853 * debug/warning-nop.c: Likewise.
13854
1ac7a2c7
JM
138552010-09-15 Joseph Myers <joseph@codesourcery.com>
13856
13857 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13858 implementing getdents64 using getdents syscall, set d_type if
13859 __ASSUME_GETDENTS32_D_TYPE.
13860
56801c50
AS
138612010-09-16 Andreas Schwab <schwab@redhat.com>
13862
13863 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13864 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13865
dda51327
UD
138662010-09-21 Ulrich Drepper <drepper@redhat.com>
13867
13868 [BZ #12037]
13869 * posix/unistd.h: Undo change of feature selection for ftruncate from
13870 2010-01-11.
13871
8ffcee4a
UD
138722010-09-20 Ulrich Drepper <drepper@redhat.com>
13873
a545ecd9 13874 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13875 detection.
13876
e24f0a8b
AS
138772010-09-20 Andreas Schwab <schwab@redhat.com>
13878
13879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13880 fanotify_mark.
13881 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13882
7291c56f
AS
138832010-09-14 Andreas Schwab <schwab@redhat.com>
13884
13885 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13886 variables after CHECK_SP call.
13887 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13888
bc5fb037
AS
138892010-09-13 Andreas Schwab <schwab@redhat.com>
13890 Ulrich Drepper <drepper@redhat.com>
13891
13892 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13893 re-relocationg ld.so.
13894 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13895 _dl_init_paths call.
13896 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13897 here anymore.
13898
e66e7419
UD
138992010-09-14 Ulrich Drepper <drepper@redhat.com>
13900
13901 * resolv/res_init.c (__res_vinit): Count the default server we added.
13902
c044aa75
CLT
139032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13904 Ulrich Drepper <drepper@redhat.com>
13905
13906 [BZ #11968]
13907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13908 (____longjmp_chk): Use %ebx for saving value across system call.
13909 Add unwind info.
13910
32cf4069
AS
139112010-09-06 Andreas Schwab <schwab@redhat.com>
13912
13913 * manual/Makefile: Don't mix pattern rules with normal rules.
13914
817328ee
AS
139152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13916
13917 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13918 operation.
13919 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13920 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13921 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13922 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13924 Likewise.
13925
29fddf61
UD
139262010-09-04 Ulrich Drepper <drepper@redhat.com>
13927
13928 [BZ #11979]
13929 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13930 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13931
0959ffc9
UD
139322010-09-02 Ulrich Drepper <drepper@redhat.com>
13933
13934 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13935 * sysdeps/x86_64/addmul_1.S: Likewise.
13936 * sysdeps/x86_64/lshift.S: Likewise.
13937 * sysdeps/x86_64/mul_1.S: Likewise.
13938 * sysdeps/x86_64/rshift.S: Likewise.
13939 * sysdeps/x86_64/sub_n.S: Likewise.
13940 * sysdeps/x86_64/submul_1.S: Likewise.
13941
ece29840
ST
139422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13943
0959ffc9
UD
13944 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13945 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13946 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13947 * bits/sched.h [__need_schedparam]
ece29840 13948 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13949 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13950 (__defined_schedparam): Define to 1.
ece29840
ST
13951 (__sched_param): New structure, identical to sched_param.
13952 (__need_schedparam): Undefine.
13953
e53a31fe
MF
139542010-08-31 Mike Frysinger <vapier@gentoo.org>
13955
fdc0c10d
MF
13956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13957 (epoll_create1): Declare.
13958
e53a31fe
MF
13959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13960
a726d796
AS
139612010-08-31 Andreas Schwab <schwab@redhat.com>
13962
13963 [BZ #7066]
13964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13965 shifting retval into place.
13966
2f3e3dc7
UD
139672010-09-01 Ulrich Drepper <drepper@redhat.com>
13968
f2933da9
UD
13969 * nis/rpcsvc/nis.h: Update copyright notice.
13970 * nis/rpcsvc/nis.x: Likewise.
13971 * nis/rpcsvc/nis_callback.h: Likewise.
13972 * nis/rpcsvc/nis_callback.x: Likewise.
13973 * nis/rpcsvc/nis_object.x: Likewise.
13974 * nis/rpcsvc/nis_tags.h: Likewise.
13975 * nis/rpcsvc/yp.h: Likewise.
13976 * nis/rpcsvc/yp.x: Likewise.
13977 * nis/rpcsvc/ypupd.h: Likewise.
13978 * nis/yp_xdr.c: Likewise.
13979 * nis/ypupdate_xdr.c: Likewise.
13980
2f3e3dc7
UD
13981 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13982 mainly the body of pmap_getport. Add parameters to specify timeouts.
13983 (pmap_getport): Use __libc_rpc_getport.
13984 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13985 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13986 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13987
f3dcc2f9
AS
139882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13989
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13991 fanotify_mark.
13992
6d34eb5b
RM
139932010-08-27 Roland McGrath <roland@redhat.com>
13994
13995 * sysdeps/i386/i686/multiarch/Makefile
13996 (CFLAGS-varshift.c): New variable.
13997
9ea3de11
UD
139982010-08-27 Ulrich Drepper <drepper@redhat.com>
13999
c96d23fc
UD
14000 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14001 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14002
9ea3de11
UD
14003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14004
14005 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14006
623aac7f
L
140072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14008
14009 * sysdeps/x86_64/strlen.S: Unroll the loop.
14010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14011 strlen-sse2 strlen-sse2-bsf.
14012 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14013 __strlen_no_bsf if bit_Slow_BSF is set.
14014 (__strlen_sse42): Removed.
14015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14016 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14017
8b2b7715
RM
140182010-08-25 Roland McGrath <roland@redhat.com>
14019
14020 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14021 * sysdeps/x86_64/multiarch/varshift.c: New file.
14022 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14023 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14024 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14025 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14026
e73015f2
L
140272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14028
14029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14030 strlen-sse2 strlen-sse2-bsf.
14031 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14032 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14033 (__strlen_sse2): Removed.
14034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14037 bit_Slow_BSF for Atom.
14038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14039 (index_Slow_BSF): Define.
14040 (HAS_SLOW_BSF): Define.
14041
df24a73e
UD
140422010-08-25 Ulrich Drepper <drepper@redhat.com>
14043
14044 [BZ #10851]
14045 * resolv/res_init.c (__res_vinit): When no server address at all
14046 is given default to loopback.
14047
f2ac4868
RM
140482010-08-24 Roland McGrath <roland@redhat.com>
14049
09055553
RM
14050 * configure.in: Remove config-name.h generation.
14051 * configure: Regenerated.
14052 * config-name.in: File removed.
14053 * scripts/config-uname.sh: New file.
14054 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14055 ($(objdir)config-name.h): New target.
14056
f2ac4868
RM
14057 * sunrpc/rpc_parse.h: Avoid nested comment.
14058
73f27d5e
RH
140592010-08-24 Richard Henderson <rth@redhat.com>
14060 Ulrich Drepper <drepper@redhat.com>
14061 H.J. Lu <hongjiu.lu@intel.com>
14062
14063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14065 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14066 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14067 _mm_alignr_epi8 with _mm_loadu_si128.
14068 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14069 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14070 (__m128i_shift_right): Removed.
14071 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14072 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14073 * sysdeps/x86_64/multiarch/varshift.h: New file.
14074 * sysdeps/x86_64/multiarch/varshift.S: New file.
14075
84b9230c
MF
140762010-08-21 Mike Frysinger <vapier@gentoo.org>
14077
14078 * configure.in: Move assembler checks to before sysdep dir checking.
14079
9bbd0ddc
PB
140802010-08-20 Petr Baudis <pasky@suse.cz>
14081
14082 * LICENSES: Sync the sunrpc license.
14083
9da4bb31
UD
140842010-08-19 Ulrich Drepper <drepper@redhat.com>
14085
a7ab6ec8
UD
14086 * sunrpc/auth_des.c: Update copyright notice once again.
14087 * sunrpc/auth_none.c: Likewise.
14088 * sunrpc/auth_unix.c: Likewise.
14089 * sunrpc/authdes_prot.c: Likewise.
14090 * sunrpc/authuxprot.c: Likewise.
14091 * sunrpc/bindrsvprt.c: Likewise.
14092 * sunrpc/clnt_gen.c: Likewise.
14093 * sunrpc/clnt_perr.c: Likewise.
14094 * sunrpc/clnt_raw.c: Likewise.
14095 * sunrpc/clnt_simp.c: Likewise.
14096 * sunrpc/clnt_tcp.c: Likewise.
14097 * sunrpc/clnt_udp.c: Likewise.
14098 * sunrpc/clnt_unix.c: Likewise.
14099 * sunrpc/des_crypt.c: Likewise.
14100 * sunrpc/des_soft.c: Likewise.
14101 * sunrpc/get_myaddr.c: Likewise.
14102 * sunrpc/getrpcport.c: Likewise.
14103 * sunrpc/key_call.c: Likewise.
14104 * sunrpc/key_prot.c: Likewise.
14105 * sunrpc/openchild.c: Likewise.
14106 * sunrpc/pm_getmaps.c: Likewise.
14107 * sunrpc/pm_getport.c: Likewise.
14108 * sunrpc/pmap_clnt.c: Likewise.
14109 * sunrpc/pmap_prot.c: Likewise.
14110 * sunrpc/pmap_prot2.c: Likewise.
14111 * sunrpc/pmap_rmt.c: Likewise.
14112 * sunrpc/rpc/auth.h: Likewise.
14113 * sunrpc/rpc/auth_unix.h: Likewise.
14114 * sunrpc/rpc/clnt.h: Likewise.
14115 * sunrpc/rpc/des_crypt.h: Likewise.
14116 * sunrpc/rpc/key_prot.h: Likewise.
14117 * sunrpc/rpc/netdb.h: Likewise.
14118 * sunrpc/rpc/pmap_clnt.h: Likewise.
14119 * sunrpc/rpc/pmap_prot.h: Likewise.
14120 * sunrpc/rpc/pmap_rmt.h: Likewise.
14121 * sunrpc/rpc/rpc.h: Likewise.
14122 * sunrpc/rpc/rpc_des.h: Likewise.
14123 * sunrpc/rpc/rpc_msg.h: Likewise.
14124 * sunrpc/rpc/svc.h: Likewise.
14125 * sunrpc/rpc/svc_auth.h: Likewise.
14126 * sunrpc/rpc/types.h: Likewise.
14127 * sunrpc/rpc/xdr.h: Likewise.
14128 * sunrpc/rpc_clntout.c: Likewise.
14129 * sunrpc/rpc_cmsg.c: Likewise.
14130 * sunrpc/rpc_common.c: Likewise.
14131 * sunrpc/rpc_cout.c: Likewise.
14132 * sunrpc/rpc_dtable.c: Likewise.
14133 * sunrpc/rpc_hout.c: Likewise.
14134 * sunrpc/rpc_main.c: Likewise.
14135 * sunrpc/rpc_parse.c: Likewise.
14136 * sunrpc/rpc_parse.h: Likewise.
14137 * sunrpc/rpc_prot.c: Likewise.
14138 * sunrpc/rpc_sample.c: Likewise.
14139 * sunrpc/rpc_scan.c: Likewise.
14140 * sunrpc/rpc_scan.h: Likewise.
14141 * sunrpc/rpc_svcout.c: Likewise.
14142 * sunrpc/rpc_tblout.c: Likewise.
14143 * sunrpc/rpc_util.c: Likewise.
14144 * sunrpc/rpc_util.h: Likewise.
14145 * sunrpc/rpcinfo.c: Likewise.
14146 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14147 * sunrpc/rpcsvc/key_prot.x: Likewise.
14148 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14149 * sunrpc/rpcsvc/mount.x: Likewise.
14150 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14151 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14152 * sunrpc/rpcsvc/rex.x: Likewise.
14153 * sunrpc/rpcsvc/rstat.x: Likewise.
14154 * sunrpc/rpcsvc/rusers.x: Likewise.
14155 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14156 * sunrpc/rpcsvc/spray.x: Likewise.
14157 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14158 * sunrpc/rtime.c: Likewise.
14159 * sunrpc/svc.c: Likewise.
14160 * sunrpc/svc_auth.c: Likewise.
14161 * sunrpc/svc_authux.c: Likewise.
14162 * sunrpc/svc_raw.c: Likewise.
14163 * sunrpc/svc_run.c: Likewise.
14164 * sunrpc/svc_simple.c: Likewise.
14165 * sunrpc/svc_tcp.c: Likewise.
14166 * sunrpc/svc_udp.c: Likewise.
14167 * sunrpc/svc_unix.c: Likewise.
14168 * sunrpc/svcauth_des.c: Likewise.
14169 * sunrpc/xcrypt.c: Likewise.
14170 * sunrpc/xdr.c: Likewise.
14171 * sunrpc/xdr_array.c: Likewise.
14172 * sunrpc/xdr_float.c: Likewise.
14173 * sunrpc/xdr_mem.c: Likewise.
14174 * sunrpc/xdr_rec.c: Likewise.
14175 * sunrpc/xdr_ref.c: Likewise.
14176 * sunrpc/xdr_sizeof.c: Likewise.
14177 * sunrpc/xdr_stdio.c: Likewise.
14178
9da4bb31
UD
14179 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14180 handling.
14181
bdaa77bc
AS
141822010-08-19 Andreas Schwab <schwab@redhat.com>
14183
14184 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14185
fe2f79db
LM
141862010-08-19 Luis Machado <luisgpm@br.ibm.com>
14187
14188 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14191 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14192 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14193 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14194 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14195 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14197 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14198 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14199 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14200 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14201 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14202
b9b42ee0
AB
142032010-07-26 Anton Blanchard <anton@samba.org>
14204
14205 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14206 * malloc/arena.c (heap_trim): Likewise.
14207
1c06ba31
UD
142082010-08-16 Ulrich Drepper <drepper@redhat.com>
14209
14210 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14211 here. Not...
14212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14213 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14214
f8392f40
L
142152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14216
14217 * sysdeps/i386/elf/Makefile: New file.
14218
3162f12e
AS
142192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14220
14221 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14222 from fanotify_init.
14223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14225
28c90b2c
UD
142262010-08-15 Ulrich Drepper <drepper@redhat.com>
14227
14228 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14229 of strncasecmp_l.
1feccb6c 14230 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14231
ca6bb004
UD
142322010-08-14 Ulrich Drepper <drepper@redhat.com>
14233
e9f82e0d
UD
14234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14235 strncase_l-nonascii.
14236 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14237 Add strncase_l-ssse3.
14238 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14239 * sysdeps/x86_64/strcmp.S: Likewise.
14240 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14241 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14242 * sysdeps/x86_64/strncase.S: New file.
14243 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14244 * sysdeps/x86_64/strncase_l.S: New file.
14245 * string/Makefile (strop-tests): Add strncasecmp.
14246 * string/test-strncasecmp.c: New file.
14247
14248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14249 warning.
14250
ca6bb004
UD
14251 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14252 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14253
052fa7b3
AS
142542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14255
14256 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14257
962dba78
UD
142582010-08-12 Ulrich Drepper <drepper@redhat.com>
14259
14260 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14263
bebff237
AM
142642010-05-01 Alan Modra <amodra@gmail.com>
14265
14266 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14267 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14268 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14269 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14270 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14271 tidying. Don't tail-call __sigjmp_save for static lib.
14272 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14273 save location.
14274 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14275 (CALL_MCOUNT): Add eh info, and nop after bl.
14276 (TAIL_CALL_SYSCALL_ERROR): New macro.
14277 (PSEUDO_RET): Use it.
14278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14279 Correct save location of integer regs and cr.
14280 (_dl_profile_resolve): Correct cr save location. Delete nops
14281 after bl when SHARED. Reduce cfi size a little by better
14282 placement of cfi directives.
14283 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14284 make a stack frame. Instead use parm save area as a temp.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14286 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14288 Don't make a stack frame for parent, use parm save area.
14289 Increase child stack frame to 112 bytes. Don't save unused reg,
14290 and adjust reg usage. Set up cfi on error recovery and
14291 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14293 (__makecontext): Add dummy nop after jump to exit.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14295 Use correct parm save area and cr save, reduce stack frame.
14296 Correct cfi for possible PSEUDO_RET frame setup.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14298 Branch to local label emitted by PSEUDO_RET rather than
14299 __syscall_error.
14300
02637374
AS
143012010-08-12 Andreas Schwab <schwab@redhat.com>
14302
14303 [BZ #11904]
14304 * locale/programs/locale.c (print_assignment): New function.
14305 (show_locale_vars): Use it.
14306
c3e2f19b
UD
143072010-08-11 Ulrich Drepper <drepper@redhat.com>
14308
3cdaa6ad
UD
14309 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14310 field.
14311 (struct statfs64): Likewise.
14312 (_STATFS_F_FLAGS): Define.
14313 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14315 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14316 (ST_VALID): Define locally.
14317 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14318 __statvfs_getflags, use the provided value.
14319 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14320 __ASSUME_STATFS_F_FLAGS.
14321
754f7da3
UD
14322 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14323
10b3bedc
UD
14324 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14325 Add sys/fanotify.h.
14326 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14327 fanotify_mask for GLIBC_2.13.
14328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14329 fanotify_init and fanotify_mark.
14330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14331 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14332
c08fb0d7
UD
14333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14334 Add prlimit.
14335 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14336 prlimit64 for GLIBC_2.13.
14337 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14338 prlimit64.
14339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14340 syscall.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14346 add prlimit alias.
14347 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14348
15bac72b
UD
14349 [BZ #11903]
14350 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14351 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14352
c3e2f19b
UD
14353 * nss/Makefile: Add rules to build and run tst-nss-test1.
14354 * shlib-versions: Add entry for libnss_test1.
14355 * nss/nss_test1.c: New file.
14356 * nss/tst-nss-test1.c: New file.
14357
14358 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14359 (__nss_configure_lookup): Set appropriate entry in
14360 __nss_configure_lookup to true.
14361 * nss/nsswitch.h: Define enum with indeces of databases in
14362 databases and __nss_database_custom arrays. Declare
14363 __nss_database_custom.
14364 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14365 to avoid using nscd when custom rules are installed.
14366 * nss/getXXbyYY_r.c: Likewise.
14367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14368
14369 * nss/nss_files/files-parse.c: Whitespace fixes.
14370
f15ce4d8
UD
143712010-08-09 Ulrich Drepper <drepper@redhat.com>
14372
14373 [BZ #11883]
14374 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14375 * posix/fnmatch_loop.c: Likewise.
14376
d22e4cc9
AK
143772010-07-17 Andi Kleen <ak@linux.intel.com>
14378
14379 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14380 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14381 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14382 * Versions.def [GLIBC_2.13]: Add.
14383
805bc17d
UD
143842010-08-06 Ulrich Drepper <drepper@redhat.com>
14385
14386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14387 Also fail if tpwd after pwuid call is NULL.
14388
5a42321d
ST
143892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14390
14391 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14392 when converting to ms.
14393
fd3ebeda
ST
143942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14395
14396 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14397 EOPNOTSUPP errors with ENOTTY.
14398 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14399 EOPNOTSUPP errors with ENOTTY.
14400
73507d3a
UD
144012010-07-31 Ulrich Drepper <drepper@redhat.com>
14402
14403 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14404 Add strcasecmp_l-ssse3.
14405 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14406 strcasecmp.
14407 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14409 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14410
fe36dd02
UD
144112010-07-30 Ulrich Drepper <drepper@redhat.com>
14412
66f6765a
UD
14413 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14414
42e08a54
UD
14415 * string/Makefile (strop-tests): Add strcasecmp.
14416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14417 strcasecmp_l-nonascii.
14418 (gen-as-const-headers): Add locale-defines.sym.
14419 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14420 * sysdeps/x86_64/strcasecmp.S: New file.
14421 * sysdeps/x86_64/strcasecmp_l.S: New file.
14422 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14423 * sysdeps/x86_64/locale-defines.sym: New file.
14424 * string/test-strcasecmp.c: New file.
14425
fe36dd02
UD
14426 * string/test-strcasestr.c: Test both ends of the range of characters.
14427 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14428
48cbc0d6
RM
144292010-07-29 Roland McGrath <roland@redhat.com>
14430
76e6d6bc 14431 [BZ #11856]
48cbc0d6
RM
14432 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14433
880113d9
UD
144342010-07-27 Ulrich Drepper <drepper@redhat.com>
14435
14436 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14437 for ld.so.
14438
deb9cabb
AS
144392010-07-27 Andreas Schwab <schwab@redhat.com>
14440
14441 * manual/memory.texi (Malloc Tunable Parameters): Document
14442 M_PERTURB.
14443
1c7570ff
RM
144442010-07-26 Roland McGrath <roland@redhat.com>
14445
14446 [BZ #11840]
14447 * configure.in (-fgnu89-inline check): Set and substitute
14448 gnu89_inline, not libc_cv_gnu89_inline.
14449 * configure: Regenerated.
14450 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14451
24fb0f88
UD
144522010-07-26 Ulrich Drepper <drepper@redhat.com>
14453
14454 * string/test-strnlen.c: New file.
14455 * string/Makefile (strop-tests): Add strnlen.
14456 * string/tester.c (test_strnlen): Add a few more test cases.
14457 * string/tst-strlen.c: Better error reporting.
14458
14459 * sysdeps/x86_64/strnlen.S: New file.
14460
8e96b93a
UD
144612010-07-24 Ulrich Drepper <drepper@redhat.com>
14462
14463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14464 lower-latency instructions.
14465
dbc676d4
UD
144662010-07-23 Ulrich Drepper <drepper@redhat.com>
14467
14468 * string/test-strcasestr.c: New file.
14469 * string/test-strstr.c: New file.
14470 * string/Makefile (strop-tests): Add strstr and strcasestr.
14471 * string/str-two-way.h: Don't undefine MAX.
14472 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14473
f6a31e0e
AS
144742010-07-21 Andreas Schwab <schwab@redhat.com>
14475
14476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14477 strcasestr-nonascii.
14478 (CFLAGS-strcasestr-nonascii.c): Define.
14479 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14481 Remove unused attribute.
14482
5dbc3b6c
RM
144832010-07-20 Roland McGrath <roland@redhat.com>
14484
14485 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14486 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14487 ld.so.cache was broken. With it, there is no way to disable dsocaps
14488 like LD_HWCAP_MASK can disable hwcaps.
14489
23d101d8
EPM
144902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14491
14492 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14493
cc9f2e47
UD
144942010-07-16 Ulrich Drepper <drepper@redhat.com>
14495
14496 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14497 call in strcasestr.
14498 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14499 __strcasestr_sse42_nonascii.
14500 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14501 strcasestr-nonascii.c.
14502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14503
77c1b069
LM
145042010-06-15 Luis Machado <luisgpm@br.ibm.com>
14505
14506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14508 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14510
440566c3
UD
145112010-07-09 Ulrich Drepper <drepper@redhat.com>
14512
14513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14514 fcntl.
14515
5be9d05d
AS
145162010-07-06 Andreas Schwab <schwab@redhat.com>
14517
c30b7ee2 14518 [BZ #11577]
5be9d05d
AS
14519 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14520 dl_signal_cerror.
14521
8a492a67
UD
145222010-07-06 Ulrich Drepper <drepper@redhat.com>
14523
14524 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14525 _PC_PIPE_BUF using F_GETPIPE_SZ.
14526
713df3d5
RM
145272010-07-05 Roland McGrath <roland@redhat.com>
14528
14529 * manual/arith.texi (Rounding Functions): Fix rint description
14530 implicit in round description.
14531
702e8f14
UD
145322010-07-02 Ulrich Drepper <drepper@redhat.com>
14533
14534 * elf/Makefile: Fix linking for a few tests to make recent linker
14535 happy.
14536
52ed8be9
AS
145372010-06-30 Andreas Schwab <schwab@redhat.com>
14538
14539 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14540 $(common-objpfx)libc_nonshared.a.
14541
f47c9a11
LM
145422010-06-21 Luis Machado <luisgpm@br.ibm.com>
14543
14544 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14545 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14546 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14547 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14548 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14549 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14550 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14551 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14566 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14567 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14568 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14569 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14570 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14571 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14572 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14573 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14574 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14575 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14576 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14577 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14592
6fb8cbcb
L
145932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14594
14595 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14596 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14597 * string/memmove.c (memmove): Renamed to ...
14598 (MEMMOVE): ...this. Default to memmove.
14599 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14600 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14601 (END_CHK): Define.
14602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14603 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14604 mempcpy-ssse3-back memmove-ssse3-back.
14605 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14606 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14608 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14609 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14610 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14611 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14612 * sysdeps/x86_64/multiarch/memmove.c: New file.
14613 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14614 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14615 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14616 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14617 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14619 Define.
14620 (index_Fast_Copy_Backward): Define.
14621 (HAS_ARCH_FEATURE): Define.
14622 (HAS_FAST_REP_STRING): Define.
14623 (HAS_FAST_COPY_BACKWARD): Define.
14624
4e733bac 146252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14626
14627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14628 Restore proper fallback handling.
14629
63c4ed22
UD
146302010-06-19 Ulrich Drepper <drepper@redhat.com>
14631
ac2b484c
UD
14632 [BZ #11701]
14633 * posix/group_member.c (__group_member): Correct checking loop.
14634
63c4ed22
UD
14635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14636 OOM in getpwuid_r correctly. Return error number when the caller
14637 should return, otherwise -1.
14638 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14639 call returning > 0 value.
14640 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14641
765ade4b
AS
146422010-06-07 Andreas Schwab <schwab@redhat.com>
14643
14644 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14645 libc_nonshared.a from targets in modules-names.
14646
80da2e09
KS
146472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14648
14649 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14650 requires it.
14651
158db122
LM
146522010-06-10 Luis Machado <luisgpm@br.ibm.com>
14653
14654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14655 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14658
caa78cf8
AS
146592010-06-02 Andreas Schwab <schwab@redhat.com>
14660
14661 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14662
b2ef2c01
UD
146632010-06-14 Ulrich Drepper <drepper@redhat.com>
14664
14665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14666 and F_GETPIPE_SZ.
14667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14671 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14673
fbd643b6
RM
146742010-06-14 Roland McGrath <roland@redhat.com>
14675
14676 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14677
f32f2869
JJ
146782010-06-07 Jakub Jelinek <jakub@redhat.com>
14679
14680 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14681 __REDIRECT followed by __THROW.
14682 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14683 * posix/getopt.h (getopt): Likewise.
14684
2a50c078
EPM
146852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14686
14687 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14688 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14689 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14690 in AT_FLAGS.
14691 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14692 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14693
eb5ad2eb
LM
146942010-05-28 Luis Machado <luisgpm@br.ibm.com>
14695
14696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14697
3c88fe1e
L
146982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14699
14700 [BZ #11640]
14701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14702 Properly check family and model.
14703
d2f73151
TY
147042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14705
14706 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14707
ebd2e13d
LM
147082010-05-24 Luis Machado <luisgpm@br.ibm.com>
14709
14710 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14711
b32b8b45
UD
147122010-05-21 Ulrich Drepper <drepper@redhat.com>
14713
14714 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14715 symbol reference.
14716
9acbe24d
AS
147172010-05-19 Andreas Schwab <schwab@redhat.com>
14718
14719 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14720 symbol reference.
14721
f0ccf6ea
AS
147222010-05-21 Andreas Schwab <schwab@redhat.com>
14723
3d04ff3a
AS
14724 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14725 and internal_recvmmsg.
14726 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14727 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14728 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14729 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14730
f0ccf6ea
AS
14731 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14732 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14733 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14734
5b08ac57
AS
147352010-05-20 Andreas Schwab <schwab@redhat.com>
14736
14737 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14738
4828935d
LM
147392010-05-17 Luis Machado <luisgpm@br.ibm.com>
14740
14741 POWER7 optimizations.
14742 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14743 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14744
373d545e
UD
147452010-05-19 Ulrich Drepper <drepper@redhat.com>
14746
14747 * version.h: Update for 2.13 development version.
14748
21a2b1ae
AS
147492010-05-12 Andrew Stubbs <ams@codesourcery.com>
14750
14751 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14752 exceptions. Return 0.
14753
3f7dcb2b
RM
147542010-05-07 Roland McGrath <roland@redhat.com>
14755
14756 * elf/ldconfig.c (main): Add a const.
14757
5f24d53a 147582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14759
a160f8d8
UD
14760 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14761 (args_options): Add no-idn option.
14762 (ahosts_keys_int): Add idn_flags to ai_flags.
14763 (parse_option): Handle 'i' option to clear idn_flags.
14764
5f24d53a
UD
14765 * malloc/malloc.c (_int_free): Possible race in the most recently
14766 added check. Only act on the data if no current modification
14767 happened.
265bb1ce
UD
14768
14769See ChangeLog.17 for earlier changes.