]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove sysdeps/powerpc/soft-fp.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b1d072a7
JM
12012-05-19 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34
9eae47cb
AJ
352012-05-18 Andreas Jaeger <aj@suse.de>
36
37 * csu/.gitignore: Delete.
38
e6bdb741
AJ
392012-05-18 Andreas Jaeger <aj@suse.de>
40 Carlos O'Donell <carlos_odonell@mentor.com>
41
42 * manual/install.texi (Configuring and compiling): Update
43 description about files modified in the source directory.
44 * INSTALL: Regenerated.
45
1b74487e
L
462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47
48 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49 value. Use "or" to set return value to -1.
50 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51 negate return value.
52
a88b64b9
TMQMF
532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
56 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57 failure if the compiler has Graphite support disabled.
58 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59 Likewise.
60 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
61 CFLAGS-memmove.c): Likewise.
62 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63 Likewise.
64
3707636e
L
652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
66
610b8622
L
67 * sysdeps/x86_64/x32/_itoa.h: New file.
68
7cd195df
L
69 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70 getdents system call only if kernel and user dirents have the
71 same d_ino and d_off.
72
94b07d20
L
73 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74 LLONG_MAX != LONG_MAX.
75 (_itoa_word): Use _ITOA_WORD_TYPE on value.
76 (_fitoa_word): Likewise.
77
18298070
L
78 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79 years.
80 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
82 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
83
553c7ea4
L
84 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
85 include <bits/wordsize.h>. Check __x86_64__ instead of
86 __WORDSIZE.
87 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
88 if __x86_64__ is defined. Use anonymous union on fpstate.
89
3707636e
L
90 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
91 anonymous union.
92
b53ef01a
AS
932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
94
37fb1dc0
AS
95 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
96 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
97 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
98 Refer to _rtld_local_ro instead of _rtld_global_ro.
99 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
100 Likewise.
101 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
102 Likewise.
103 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
104 Likewise.
105 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
106 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
107 of _rtld_global, and rtld_progname instead of _dl_argv[0].
108
b53ef01a
AS
109 * sysdeps/powerpc/powerpc32/dl-machine.c
110 (__elf_machine_runtime_setup) [PROF]: Don't reference
111 _dl_prof_resolve.
112
7a185db2
AJ
1132012-05-18 Andreas Jaeger <aj@suse.de>
114
115 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
116 function only available for GCCs before 3.4 since GCC 3.4
117 introduced a builtin.
118 (lrint): Likewise.
119 (llrintf): Likewise.
120 (llrint): Likewise.
121 (fmaxf): Likewise.
122 (fmax): Likewise.
123 (fminf): Likewise.
124 (fmin): Likewise.
125 (rint): Likewise.
126 (rintf): Likewise.
127 (nearbyint): Likewise.
128 (nearbyintf): Likewise.
129 (ceil): Likewise.
130 (ceilf): Likewise.
131 (floor): Likewise.
132 (floorf): Likewise.
133
3e5aef87
L
1342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
135
428bd707
L
136 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
137 on both fields and cast pointer to __syscall_ulong_t.
138
3e5aef87
L
139 * bits/types.h (__fsword_t): New type.
140 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
141 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
143 (__FSWORD_T_TYPE): Likewise.
144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
145 (__FSWORD_T_TYPE): Likewise.
146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
147 (__FSWORD_T_TYPE): Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
149 (__FSWORD_T_TYPE): Likewise.
150 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
151 __SWORD_TYPE with __fsword_t.
152 (statfs64): Likewise.
153
1ba7c3dc
DM
1542012-05-17 David S. Miller <davem@davemloft.net>
155
156 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
157
59910343
AJ
1582012-05-17 Andreas Jaeger <aj@suse.de>
159
160 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
161 warning.
162
2e4c1e9e
L
1632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
164
165 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
166
de7f5ce7
AJ
1672012-05-17 Andreas Jaeger <aj@suse.de>
168
169 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
170 when it is used.
171
286abc3d
CM
1722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
173
174 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
175
477cc68e
L
1762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
177
178 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
179 * sysdeps/x86_64/tst-mallocalign1.c: New file.
180
1a0994f5
CD
1812012-05-17 Andreas Jaeger <aj@suse.de>
182 Carlos O'Donell <carlos_odonell@mentor.com>
183
184 [BZ #14059]
185 * sysdeps/x86_64/multiarch/init-arch.h
186 (bit_YMM_Usable): Rename to...
187 (bit_AVX_Usable): ... this.
188 (bit_FMA4_Usable): New macro.
189 (bit_XMM_state): New macro.
190 (bit_YMM_state): New macro.
191 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
192 [__ASSEMBLER__] (index_AVX_Usable): ... this.
193 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
194 (CPUID_OSXSAVE): New macro.
195 (CPUID_AVX): New macro.
196 (CPUID_FMA4): New macro.
197 (index_YMM_Usable): Rename to...
198 (index_AVX_Usable): ... this.
199 (HAS_AVX): Use HAS_ARCH_FEATURE.
200 (HAS_FMA4): Likewise.
201 (HAS_YMM_USABLE): Remove.
202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
203 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
204 are present.
205 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
206 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
207 * sysdeps/x86_64/multiarch/Makefile: Likewise.
208 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
209 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
210
0af797de
CM
2112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
212
213 * math/libm-test.c: Support platforms without multiple rounding modes.
214 * math/bug-nextafter.c: Support platforms without FP exceptions.
215 * math/bug-nexttoward.c: Likewise.
216 * math/test-fenv.c: Likewise.
217 * math/test-misc.c: Likewise.
218 * stdlib/bug-getcontext.c: Likewise.
219
e39745ff
AJ
2202012-05-17 Andreas Jaeger <aj@suse.de>
221
222 * manual/examples/search.c (critter_cmp): Change signature to
223 avoid warnings.
224 * manual/string.texi (Collation Functions): Likewise.
225
48970aba
L
2262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
227
228 * bits/types.h: Fold copyright years.
229 * bits/typesizes.h: Likewise.
230 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
234 * time/time.h: Likewise.
235
bedee953
PP
2362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
237
238 [BZ #208]
239 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
240 in instead of returning them. Return void.
241 (__libc_mallinfo): Accumulate over all arenas.
242 (__malloc_stats): Adjust for change in int_mallinfo interface.
243
61653dfb
RM
2442012-05-16 Roland McGrath <roland@hack.frob.com>
245
30b99d79
RM
246 [BZ #10375]
247 * configure.in (NM): Add AC_CHECK_TOOL for it.
248 (libc_extra_cflags): New substituted variable.
249 Check for -fstack-protector being used implicitly.
250 * configure: Regenerated.
251 * config.make.in (config-extra-cflags): New variable,
252 gets @libc_extra_cflags@.
253 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
254
61653dfb
RM
255 [BZ #10375]
256 * configure.in: Check for _FORTIFY_SOURCE being predefined.
257 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
258 * configure: Regenerated.
259 * config.make.in (CPPUNDEFS): New substituted variable.
260 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
261 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
262 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
263
661768bb
L
2642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
265
266 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
267 (mq_attr): Use __syscall_slong_t.
268
d4261567
L
2692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
270
271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
272 Check __x86_64__ instead of __WORDSIZE.
273 (_STAT_VER_LINUX): Likewise.
274 (stat): Check __x86_64__ instead of __WORDSIZE. Use
275 __syscall_ulong_t and __syscall_slong_t.
276 (stat64): Likewise.
277
cf3ff365
L
2782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
279
280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
281
76cf3e4d
L
2822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
283
284 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
285
a637753a
L
2862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
287
288 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
289 __syscall_ulong_t.
290
d5e05119
L
291 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
292 include <bits/wordsize.h>. Check __x86_64__ instead of
293 __WORDSIZE.
294 (greg_t): Use "__extension__ long long int" if __x86_64__ is
295 defined.
296 (mcontext_t): Replace "unsigned long" with "unsigned long long".
297
f62ee380
L
298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
299 include <bits/wordsize.h>. Check __x86_64__ instead of
300 __WORDSIZE.
301 (user_regs_struct): Use "__extension__ unsigned long long"
302 instead of "unsigned long" if __x86_64__ is defined.
303 (user): Likewise. Pad after pointer field if __ILP32__ is
304 defined.
305
4e124ced
JM
3062012-05-16 Joseph Myers <joseph@codesourcery.com>
307
6a3951a0
JM
308 * configure.in (makeinfo): Require version 4.5 or later. Allow
309 versions 5 to 9.
310 * configure: Regenerated.
311 * manual/install.texi (texinfo): Increase version requirement to
312 4.5 or later.
313 * INSTALL: Regenerated.
314
4e124ced
JM
315 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
316
953ca31a
L
3172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
320
617aca05
L
321 * sysdeps/x86_64/x32/ffs.c: New file.
322
5762f7ae
L
323 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
324 __syscall_ulong_t.
325 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
326 defined. Use __syscall_ulong_t.
327 (shminfo): Use __syscall_ulong_t.
328 (shm_info): Likewise.
329
a26b6856
L
330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
331 __syscall_ulong_t.
332
cb2b9ef7
L
333 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
334 <bits/wordsize.h>.
335 (msgqnum_t): Use __syscall_ulong_t.
336 (msglen_t): Likewise.
337 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
338 __syscall_ulong_t.
339
34683bb0
L
340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
342
84a68786
L
343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
344
48baa5f1
L
345 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
346 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
347
180be88b
L
348 * sysvipc/sys/msg.h (msgbuf): Replace long int with
349 __syscall_slong_t.
350
5e90c8ad
L
351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
352 include <bits/wordsize.h>. Check __x86_64__ instead of
353 __WORDSIZE.
354
23dfb58b
L
355 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
356 "unsigned long long int" if __x86_64__ is defined.
357 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
358
ce5d54b0
L
359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
361 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
362
13dc9eac
L
363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
364 <stdint.h>.
365 (GET_PC): Cast to uintptr_t first.
366 (GET_FRAME): Likewise.
367 (GET_STACK): Likewise.
368
a7895d15
L
369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
376 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
377 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
398
656416c9
AS
3992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
400
5bd66283
AS
401 * Makerules (+depfiles): Also collect depfiles from .oS in
402 $(extra-objs).
403 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
404 .oS, $(libnldbl-routines)).
405
656416c9
AS
406 * Makerules (native-compile-mkdep-flags): Define.
407 * sunrpc/Makefile (extra-objs): Add $(addprefix
408 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
409 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
410 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
411 calling $(make-target-directory).
412
a46f2169
L
4132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
414
415 * bits/types.h (__snseconds_t): Removed.
416 * time/time.h (struct timespec): Replace __snseconds_t with
417 __syscall_slong_t.
418 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
419 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
420 Likewise.
421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
422 (__SNSECONDS_T_TYPE): Likewise.
423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
424 (__SNSECONDS_T_TYPE): Likewise.
425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
426 (__SNSECONDS_T_TYPE): Likewise.
427
6af6528b
L
4282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
429
430 * sysdeps/mach/hurd/bits/typesizes.h
431 (__SYSCALL_SLONG_TYPE): New macro.
432 (__SYSCALL_ULONG_TYPE): Likewise.
433
de986b56
L
4342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
435
436 * bits/types.h (__syscall_slong_t): New type.
437 (__syscall_ulong_t): Likewise.
438
439 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
440 (__SYSCALL_ULONG_TYPE): Likewise.
441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
442 (__SYSCALL_SLONG_TYPE): Likewise.
443 (__SYSCALL_ULONG_TYPE): Likewise.
444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
445 (__SYSCALL_SLONG_TYPE): Likewise.
446 (__SYSCALL_ULONG_TYPE): Likewise.
447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
448 (__SYSCALL_SLONG_TYPE): Likewise.
449 (__SYSCALL_ULONG_TYPE): Likewise.
450
85736dc7
L
4512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
452
453 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
454 Add sigaltstack-offsets.sym.
455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
456 <sigaltstack-offsets.h>.
457 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
458 longjmp_msg pointer.
459 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
460 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
461 signal stack.
462 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
463
cc03b296
JM
4642012-05-15 Joseph Myers <joseph@codesourcery.com>
465
a9538892
JM
466 * elf/stackguard-macros.h: Remove file.
467 * sysdeps/generic/stackguard-macros.h: New file.
468 * sysdeps/i386/stackguard-macros.h: Likewise.
469 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
470 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
472 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
473 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
474 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
475 * sysdeps/x86_64/stackguard-macros.h: Likewise.
476 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
477 <elf/stackguard-macros.h>.
478
cc03b296
JM
479 [BZ #14109]
480 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
481 __aligned__ in attribute.
482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
483 (gregset_t): Likewise.
484
93171016
L
4852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
486
487 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
488 * sysdeps/x86_64/64/Implies-after: Here. New file.
489 * sysdeps/x86_64/x32/Implies-after: New file.
490
d86813a0
L
4912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
492
493 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
494 and access return value for _dl_profile_fixup. Use R10_LP to
495 load frame size.
496
2953ec75
L
4972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
498
499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
500
3b550e9e
L
5012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
502
503 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
504 * sysdeps/x86_64/x32/sysdep.h: New file.
505
eda41706
L
5062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
507
508 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
509 * sysdeps/x86_64/setjmp.S: Likewise.
510
9ea01d93
AZ
5112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
512
513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
515 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
517 remove unused global constant.
518
02a91938
CM
5192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
520
521 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
522 include of <not-cancel.h>.
523
6540185f
RM
5242012-05-15 Roland McGrath <roland@hack.frob.com>
525
526 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
527
509072a0
AJ
5282012-05-15 Jeff Law <law@redhat.com>
529 Andreas Jaeger <aj@suse.de>
530
531 [BZ #13594]
532 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
533 out from...
534 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
535 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
537 code changing __hst_map_handle.map.
538
ba75122d
RM
5392012-05-15 Roland McGrath <roland@hack.frob.com>
540
541 * configure.in (sysnames): Look for Implies-before and Implies-after
542 files.
543 * configure: Regenerated.
544
890d8bd8
L
5452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
546
547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
548 8-byte data alignment with LP_SIZE alignment.
549
f6ee6623
L
5502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
551
552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
553 into R10_LP.
554
ea2626f6
L
5552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
556
557 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
558
085f715e
L
5592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
560
561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
562 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
564 Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
566
be8498fc
L
5672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
568
569 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
570 (stackinfo_sub_sp): Likewise.
571
70bc83b9
L
5722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
573
574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
575 RAX_LP.
576
9bc0b730
L
5772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
578
579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
580 into R*_LP.
581
6d2850e7
L
5822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
583
584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
585 sizes into R*_LP.
586
3cb84561
L
5872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
588
589 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
590
54e2ed81
L
5912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
594 into R11_LP and load __x86_64_shared_cache_size_half into
595 R8_LP.
596
8a17f349
L
5972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
598
599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
600 R8_LP.
601
777b1eea
AZ
6022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603
604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
605 logb for POWER7.
606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
607 logbf for POWER7.
608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
609 logbl for POWER7.
610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
611 powerpc32/power7/fpu/s_logb.c via #include.
612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
613 powerpc32/power7/fpu/s_logbf.c via #include.
614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
615 powerpc32/power7/fpu/s_logbl.c via #include.
616
d20d4ac2
JM
6172012-05-15 Joseph Myers <joseph@codesourcery.com>
618
619 * README.libm: Remove file.
620
6cdef1ab
L
6212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
622
623 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
624 count for x32. Use R*_LP and omit operand-size suffix.
625
0b254d8f
L
6262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
627
628 * shlib-versions: Move x86_64-.*-linux.* entries to ...
629 * sysdeps/x86_64/64/shlib-versions: Here. New file.
630 * sysdeps/x86_64/x32/shlib-versions: New file.
631
ceb809dc
RM
6322012-05-14 Roland McGrath <roland@hack.frob.com>
633
634 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
635 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
636 Use _dl_fatal_printf instead.
637
37f1abd4
JM
6382012-05-14 Joseph Myers <joseph@codesourcery.com>
639
640 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
641 set if not set by the user. Do not allow for being unset.
642 * sysdeps/unix/sysv/linux/configure: Regenerated.
643
11de3a33
L
6442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
645
646 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
647 the `q' suffix from lea and replace .quad with ASM_ADDR.
648
e02f153a
L
6492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
652 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
653 instead of $17.
654 (PTR_DEMANGLE): Likewise.
655
520ae0fd
L
6562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
657
658 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
659 (LP_OP): Likewise.
660 (ASM_ADDR): Likewise.
661 (RAX_LP): Likewise.
662 (RBP_LP): Likewise.
663 (RBX_LP): Likewise.
664 (RCX_LP): Likewise.
665 (RDI_LP): Likewise.
666 (RSI_LP): Likewise.
667 (RSP_LP): Likewise.
668 (R8_LP): Likewise.
669 (R9_LP): Likewise.
670 (R10_LP): Likewise.
671 (R10_LP): Likewise.
672 (R11_LP): Likewise.
673 (R12_LP): Likewise.
674 (R13_LP): Likewise.
675 (R14_LP): Likewise.
676 (R15_LP): Likewise.
677
b985be81
L
6782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
679
680 * sysdeps/x86_64/x32/dl-machine.h: New file.
681
6a4888ff
AJ
6822012-05-14 Andreas Jaeger <aj@suse.de>
683
684 * manual/Makefile (subdir): Remove export of subdir.
685 (all): Remove target.
686 (.PHONY): Remove all from list.
687 (mkinstalldirs): Remove.
688 (.PHONY): Remove installdirs from list.
689 ($(inst_infodir)/libc.info): Use make-target-directory.
690 (installdirs): Remove.
691 (subdir_%): Remove.
692 (glibc-targets): Remove.
693 (lib): Remove.
694 (stubs): Remove.
695 ($(objpfx)stubs ../po/manual.pot): Remove.
696 ($(objpfx)stamp%): Remove.
697 (make-target-directory): Remove.
698 (subdir_install): Remove.
699 (routines): Remove.
700 (aux): Remove.
701 (sources): Remove.
702 (objects): Remove.
703 (headers): Remove.
704
705 [BZ #13750]
706 * manual/.gitignore: Remove, it's not needed anymore.
707 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
708 all files in it.
709 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
710 directory.
711 (texis): Renamed to $(objpfx)texis.
712 (texis-path): New, contains path to generated files.
713 (chapters.%): Use texis-path for complete path, add extra argument
714 libc-texinfo.sh.
715 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
716 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
717 (summary,texi, stamp-summary): Use complete path of
718 files. Generate files in build dir.
719 (dir-add.texi): Build in build dir.
720 (libm-err.texi,stamp-libm-err): Likewise.
721 (version.texi, stamp-version): Likewise.
722 (.%c.texi): Likewise.
723 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
724 (mostlyclean): Remove target.
725 (realclean): Remove target.
726 (generated): Add new variable with contents from mostlyclean and
727 realclean, remove entries duplicated in common-mostlyclean, add
728 stamp-libm-err and stamp-version.
729 (generated-dirs): Add libc directory.
730 ($(inst_infodir)/libc.info): Install files from build dir.
731
732 * manual/install.texi (Configuring and compiling): Adjust since
733 the info files are not part of the tar ball anymore.
734
7ac77294
AJ
7352012-05-14 Andreas Jaeger <aj@suse.de>
736
737 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
738 variable.
739
ffb7875d
JM
7402012-05-14 Joseph Myers <joseph@codesourcery.com>
741
742 [BZ #13717]
743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
744 to 2.2.0 where earlier.
745 * sysdeps/unix/sysv/linux/configure: Regenerated.
746 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
747 Remove conditional code.
748 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
749 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
750 Remove conditional code.
751 [!__NR_lchown]: Likewise.
752 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
753 [__NR_lchown]: Likewise.
754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
755 comment referencing __ASSUME_LCHOWN_SYSCALL.
756 * sysdeps/unix/sysv/linux/i386/sigaction.c
757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
760 Remove conditional code.
761 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
762 (__protocol_available): Remove #if 0 code.
763 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
764 conditional code.
765 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
766 * sysdeps/unix/sysv/linux/kernel-features.h
767 (__ASSUME_GETCWD_SYSCALL): Don't define.
768 (__ASSUME_REALTIME_SIGNALS): Likewise.
769 (__ASSUME_PREAD_SYSCALL): Likewise.
770 (__ASSUME_PWRITE_SYSCALL): Likewise.
771 (__ASSUME_POLL_SYSCALL): Likewise.
772 (__ASSUME_LCHOWN_SYSCALL): Likewise.
773 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
774 non-SPARC.
775 (__ASSUME_SIOCGIFNAME): Don't define.
776 (__ASSUME_MSG_NOSIGNAL): Likewise.
777 (__ASSUME_SENDFILE): Define unconditionally.
778 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
779 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
780 conditional code.
781 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
782 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
784 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
787 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
812 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
813 Remove conditional code.
814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
815 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
816 Remove conditional code.
817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
818 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
819 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
820 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
821 Remove conditional code.
822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
823 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
824 Remove conditional code.
825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
826 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
827 Remove conditional code.
828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
829 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
830 Remove conditional code.
831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
832 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
833 Remove conditional code.
834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
835 * sysdeps/unix/sysv/linux/sh/pwrite64.c
836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
838 * sysdeps/unix/sysv/linux/sigaction.c
839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
841 * sysdeps/unix/sysv/linux/sigpending.c
842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
844 * sysdeps/unix/sysv/linux/sigprocmask.c
845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
847 * sysdeps/unix/sysv/linux/sigsuspend.c
848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
851 (__libc_missing_rt_sigs): Remove.
852 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
853 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
854 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
855 Remove conditional code.
856 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
857 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
858 return 1.
859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
863
1bfb7291
AJ
8642012-05-14 Andreas Jaeger <aj@suse.de>
865
caae5a81
AJ
866 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
867 it's not used in glibc.
868 (__coshm1): Likewise.
869 (__acosh1p): Likewise.
870 (__sgn): Likewise.
871
1bfb7291
AJ
872 * manual/string.texi (Copying and Concatenation): Add missing
873 variable in concat example.
874 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
875
c044d724
L
8762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
877
144c5467 878 [BZ #14103]
c044d724
L
879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
880 __builtin_clzl with __builtin_clzll.
881
2523c62b
L
8822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
883
884 [BZ #14104]
885 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
886 libc_freeres_ptr.
887
d7bb4c42
LD
8882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
889
890 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
891 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
892 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
893 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
894
9dc4e1fb
MF
8952012-05-14 Mike Frysinger <vapier@gentoo.org>
896
897 * NEWS: Update ia64 info.
898
c7df0112
AS
8992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
900
901 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
902 used as bcopy.
903
dc70356c
TS
9042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
905
906 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
907 * sysdeps/unix/syscalls.list (dup3): Likewise.
908 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
909 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
910
9fb1a21f
L
9112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
912
913 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
914 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
915
4822a2a5
L
9162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
917
918 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
919 thread pointer.
920 (TLS_IE): Use mov/add instead of movq/addq to load thread
921 pointer.
922 (TLS_GD_PREFIX): New.
923 (TLS_GD): Use it.
924
842b81d6
DM
9252012-05-11 David S. Miller <davem@davemloft.net>
926
927 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
928 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
929 (_FPU_SETCW): Likewise.
930
1cf463cd
L
9312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
932
933 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
934 is 32-byte aligned.
935
60cc4a18
AS
9362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
937
938 [BZ #11837]
939 * iconvdata/gb18030.c: Update tables.
940 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
941 characters specially.
942 (BODY for TO_LOOP): Add encoding of missing ranges.
943
febb44a4
TS
9442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
945
946 [BZ #13673]
947 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
948 * sysdeps/mach/hurd/dup3.c: Likewise.
949 * sysdeps/mach/hurd/readlinkat.c: Likewise.
950 * sysdeps/powerpc/memmove.c:: Likewise.
951
0a10fb9e
L
9522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
953
954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
955 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
956
df8a552f
L
9572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
958
959 * elf/elf.h (R_X86_64_RELATIVE64): New.
960 (R_X86_64_NUM): Updated.
961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
962 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
963 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
964 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
965 tst-quad1pie tst-quad2pie
966 (modules-names): Add tst-quadmod1 tst-quadmod2.
967 ($(objpfx)tst-quad1): New dependency.
968 ($(objpfx)tst-quad2): Likewise.
969 ($(objpfx)tst-quad1pie): Likewise.
970 ($(objpfx)tst-quad2pie): Likewise.
971 * sysdeps/x86_64/tst-quad1.c: New file.
972 * sysdeps/x86_64/tst-quad1pie.c: New file.
973 * sysdeps/x86_64/tst-quad2.c: Likewise.
974 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
975 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
976 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
977 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
978 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
979
f34d6f84
ST
9802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
981
f42d41d1
ST
982 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
983 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
984 * streams/stropts.h (t_scalar_t): Define type.
985
3c3571fc
ST
986 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
987 (_PATH_PRESERVE): Set to "/var/lib".
988 (_PATH_RWHODIR): Set to "/var/spool/rwho".
989
61f06bd3
ST
990 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
991 instead of int.
992
918d4d71
ST
993 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
994 if __dir_mkfile succeeded.
995
f34d6f84
ST
996 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
997 checking for _hurd_dtablesize. Unlock it right after having
998 finished _hurd_dtable allocation.
999
10589b4a
TS
10002012-05-10 Thomas Schwinge <thomas@schwinge.name>
1001
674cdbc7
TS
1002 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1003 * sysdeps/mach/hurd/configure: Regenerated.
1004 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1005 special-casing to...
1006 * sysdeps/gnu/configure.in: ... this new file.
1007 * sysdeps/unix/sysv/linux/configure: Regenerated.
1008 * sysdeps/gnu/configure: New generated file.
1009
8e41b99f
TS
1010 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1011 for Linux: use nsec instead of usec, as well as:
1012 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1013 members of type struct timespec.
1014 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1015 New macros.
1016 (struct stat64): Likewise.
1017 (_STATBUF_ST_NSEC): New macro.
1018 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1019
10589b4a
TS
1020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1021 __strtoul_internal rather than strtoul.
1022
63643c85
PT
10232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1024
1025 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1026 and reject them.
1027
3faebe6a
ST
10282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1029
1030 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1031 which preserves existing values.
1032 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1033
c6474b07
PT
10342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1035
1036 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1037 TIMEOUT values. Return EINVAL for NFDS values either negative or
1038 greater than FD_SETSIZE.
1039
1043890b
ST
10402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1041
1042 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1043 allocated, call __vm_protect to finish enabling the existing space, and
1044 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1045 allocate the remainder.
1046
37ed8b9b
PT
10472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1048
1049 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1050 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1051
db653660
ST
10522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1053
37ed8b9b
PT
1054 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1055 sysdeps/mach/hurd/readlink.c.
b29d4053 1056
db653660
ST
1057 * posix/tst-sysconf.c (posix_options): Only use
1058 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1059 _POSIX_SYNCHRONIZED_IO when they are defined
1060 * sysdeps/mach/hurd/bits/posix_opt.h:
1061 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1062 (_XOPEN_REALTIME): Undefine macro.
1063 (_XOPEN_REALTIME_THREADS): Undefine macro.
1064 (_XOPEN_SHM): Undefine macro.
1065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1066 macro to -1.
1067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1068 macro to -1.
1069 (_POSIX_ASYNC_IO): Undefine macro.
1070 (_POSIX_PRIORITIZED_IO): Undefine macro.
1071 (_POSIX_SPIN_LOCKS): Define macro to -1.
1072
ee16e894
ST
1073 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1074 SA_NODEFER, SA_RESETHAND.
1075 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1076 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1077 F_DUPFD_CLOEXEC.
1078
6103ae3b
TS
10792012-05-10 Thomas Schwinge <thomas@schwinge.name>
1080
1081 * elf/Makefile (pldd-modules): Define unconditionally.
1082
80b4e5f3
TS
10832012-05-10 Thomas Schwinge <thomas@schwinge.name>
1084
1085 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1086
edadcbd6
ST
10872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1088
1089 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1090 Return ENOENT when name is empty.
1091 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1092
80694780
TS
10932012-05-10 Thomas Schwinge <thomas@schwinge.name>
1094
1792c087
TS
1095 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1096
80694780
TS
1097 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1098
6b645f0d
ST
10992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1100
80694780
TS
1101 Fix mlock in all cases except non-readable pages.
1102 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1103 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1104
6b645f0d
ST
1105 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1106 (__mkdir): When path is `/', just fail with EEXIST.
1107 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1108
e468f8a3
TS
11092012-05-10 Thomas Schwinge <thomas@schwinge.name>
1110
1111 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1112 <sys/uio.h> (for writev).
1113 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1114 and <sys/param.h> (for MIN).
1115
a4186cff
PT
11162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1117
1118 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1119 REQUESTED_TIME. Properly set the remaining time and return EINTR
1120 if interrupted.
1121
510bbf14
TS
11222012-05-10 Thomas Schwinge <thomas@schwinge.name>
1123
1124 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1125 Depend on against $(link-rpcuserlibs).
1126
5d5722e8
ST
11272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1128
a4186cff
PT
1129 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1130 (__libc_stack_end): Do not use attribute_relro.
1131 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1132 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1133 to libthread-provided value.
a4186cff
PT
1134 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1135 attribute_relro.
5d5722e8 1136
37233df9
TS
11372012-05-10 Thomas Schwinge <thomas@schwinge.name>
1138
be971a2b
TS
1139 [BZ #3748]
1140 * bits/libc-lock.h (__libc_once_get): New macro.
1141 * sysdeps/mach/bits/libc-lock.h: Likewise.
1142 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1144 instead of using implementation details.
1145
37233df9
TS
1146 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1147 * libio/freopen.c: Likewise.
1148 * libio/freopen64.c: Likewise.
1149 * misc/syslog.c: Likewise.
1150 * nscd/connections.c: Likewise.
1151 * nscd/netgroupcache.c: Likewise.
1152 * sysdeps/posix/getcwd.c: Likewise.
1153
38de94a5
RM
11542012-05-10 Roland McGrath <roland@hack.frob.com>
1155
1156 * math/w_ilogbf.c: Add #include <limits.h>.
1157
67530489
ST
11582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1159
a4186cff 1160 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1161 path instead of returning without unlocking.
1162
67530489
ST
1163 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1164 immediate-write ioctls.
1165 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1166
5aa3a74a
TS
11672012-05-10 Thomas Schwinge <thomas@schwinge.name>
1168
18bad2ae
TS
1169 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1170 __builtin_frame_address instead of making assumptions about the
1171 location of the return address relative to DATA. Force early load of
1172 the return address.
1173 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1174 __builtin_frame_address.
1175
5aa3a74a
TS
1176 dup3 for GNU Hurd.
1177 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1178 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1179 implement dup3 and do some further code clean-ups.
1180 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1181 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1182
ecd0de9a
ST
11832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1184
cd9fa985
ST
1185 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1186
a4186cff
PT
1187 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1188 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1189 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1190 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1191 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1192 d->port.lock.
802ca5a5 1193
a4186cff
PT
1194 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1195 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1196 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1197
bcf55240
TS
11982012-05-10 Thomas Schwinge <thomas@schwinge.name>
1199
6960eb42
TS
1200 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1201 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1202 definitions.
1203
eb43375f
TS
1204 accept4 for GNU Hurd.
1205 * include/sys/socket.h (__libc_accept4): New prototype.
1206 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1207 to implement __libc_accept4.
1208 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1209 __libc_accept4.
1210 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1211
bcf55240
TS
1212 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1213 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1214 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1215 signal-defines.sym.
1216
6178c55b
ST
12172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1218
a4186cff 1219 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1220
6f080c2f
TS
12212012-05-10 Thomas Schwinge <thomas@schwinge.name>
1222
1223 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1224 assertion on O_CLOEXEC flag.
1225 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1226 * hurd/intern-fd.c: Likewise.
1227 * hurd/port2fd.c: Likewise.
1228
bcfe3a54
ST
12292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1230
1231 [BZ #3906]
1232 * bits/in.h (IPV6_PKTINFO): Define new macro.
1233 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1234
89c9aa49
AZ
12352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 [BZ #13954]
1238 [BZ #13955]
1239 [BZ #13956]
1240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1242 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1245 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1246 * math/libm-test.inc (logb_test) : Additional logb tests.
1247
021db4be
AJ
12482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1249 Andreas Jaeger <aj@suse.de>
1250
1251 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1252 * configure: Regenerated.
1253 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1254 * config.make.in (link-obsolete-rpc): New substituted variable.
1255 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1256 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1257 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1258 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1259 so that libc.a contains the symbols.
1260 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1261 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1262 * sunrpc/auth_none.c: Likewise.
1263 * sunrpc/auth_unix.c: Likewise.
1264 * sunrpc/authdes_prot.c: Likewise.
1265 * sunrpc/authuxprot.c: Likewise.
1266 * sunrpc/clnt_gen.c: Likewise.
1267 * sunrpc/clnt_perr.c: Likewise.
1268 * sunrpc/clnt_raw.c: Likewise.
1269 * sunrpc/clnt_simp.c: Likewise.
1270 * sunrpc/clnt_tcp.c: Likewise.
1271 * sunrpc/clnt_udp.c: Likewise.
1272 * sunrpc/clnt_unix.c: Likewise.
1273 * sunrpc/des_crypt.c: Likewise.
1274 * sunrpc/des_soft.c: Likewise.
1275 * sunrpc/get_myaddr.c: Likewise.
1276 * sunrpc/key_call.c: Likewise.
1277 * sunrpc/key_prot.c: Likewise.
1278 * sunrpc/netname.c: Likewise.
1279 * sunrpc/pm_getmaps.c: Likewise.
1280 * sunrpc/pm_getport.c: Likewise.
1281 * sunrpc/pmap_clnt.c: Likewise.
1282 * sunrpc/pmap_prot.c: Likewise.
1283 * sunrpc/pmap_prot2.c: Likewise.
1284 * sunrpc/pmap_rmt.c: Likewise.
1285 * sunrpc/publickey.c: Likewise.
1286 * sunrpc/rpc_cmsg.c: Likewise.
1287 * sunrpc/rpc_common.c: Likewise.
1288 * sunrpc/rpc_dtable.c: Likewise.
1289 * sunrpc/rpc_prot.c: Likewise.
1290 * sunrpc/rpc_thread.c: Likewise.
1291 * sunrpc/rtime.c: Likewise.
1292 * sunrpc/svc.c: Likewise.
1293 * sunrpc/svc_auth.c: Likewise.
1294 * sunrpc/svc_raw.c: Likewise.
1295 * sunrpc/svc_run.c: Likewise.
1296 * sunrpc/svc_tcp.c: Likewise.
1297 * sunrpc/svc_udp.c: Likewise.
1298 * sunrpc/svc_unix.c: Likewise.
1299 * sunrpc/svcauth_des.c: Likewise.
1300 * sunrpc/xcrypt.c: Likewise.
1301 * sunrpc/xdr.c: Likewise.
1302 * sunrpc/xdr_array.c: Likewise.
1303 * sunrpc/xdr_float.c: Likewise.
1304 * sunrpc/xdr_intXX_t.c: Likewise.
1305 * sunrpc/xdr_mem.c: Likewise.
1306 * sunrpc/xdr_rec.c: Likewise.
1307 * sunrpc/xdr_ref.c: Likewise.
1308 * sunrpc/xdr_sizeof.c: Likewise.
1309 * sunrpc/xdr_stdio.c: Likewise.
1310
b5c086a2
RM
13112012-05-10 Roland McGrath <roland@hack.frob.com>
1312
1313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1314 change. Update copyright years.
1315
6d74dd09
JM
13162012-05-10 Joseph Myers <joseph@codesourcery.com>
1317
1318 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1319
28e72501
MK
13202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1321 Joseph Myers <joseph@codesourcery.com>
1322 Paul Pluzhnikov <ppluzhnikov@google.com>
1323
1324 [BZ #14012]
1325 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1326 requiring rpcgen.
1327 [cross-compiling] (extra-libs): Likewise.
1328 [cross-compiling] (extra-libs-others): Likewise.
1329 [cross-compiling] (librpcsvc-routines): Likewise.
1330 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1331 [cross-compiling] (omit-deps): Likewise.
1332 (sunrpc-CPPFLAGS): New variable.
1333 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1334 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1335 (cross-rpcgen-objs): New variable.
1336 (extra-objs): Append $(cross-rpcgen-objs).
1337 ($(cross-rpcgen-objs)): New rule.
1338 ($(objpfx)cross-rpcgen): Likewise.
1339 (rpcgen-cmd): Define to use $(built-program-file). Expand
1340 comment.
1341 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1342 ($(objpfx)x%.stmp): Likewise.
1343 * sunrpc/proto.h [IS_IN_build] (_): Define.
1344 [IS_IN_build] (_libc_intl_domainname): Likewise.
1345
c8c59454
L
13462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1349 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1350 and R_X86_64_TPOFF64.
1351
6f27cd16
JM
13522012-05-10 Joseph Myers <joseph@codesourcery.com>
1353
1354 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1355 sysdeps/unix/sysv/syscalls.list.
1356 (stime): Likewise.
1357 (utime): Likewise.
1358 * sysdeps/unix/sysv/syscalls.list: Remove file.
1359
02467e1c
PE
13602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1361
1362 [BZ #3440]
1363 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1364 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1365 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1366 (__LC_IDENTIFICATION): Make these macros useful in #if
1367 expressions, as required by C99.
1368
da392631
AS
13692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1370
1371 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1372 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1373 after this.
1374
8115f29b
L
13752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 * stdlib/longlong.h: Updated from GCC.
1378
bdd74070
AJ
13792012-05-09 Andreas Jaeger <aj@suse.de>
1380
edfe0dbe
AJ
1381 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1382 default is first entry.
1383 (run_mode): Set type.
1384 (main): Remove informal message about syslog.
1385 (options): Fix typo.
1386
bcfe3a54
ST
1387 [BZ #14053]
1388 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1389 to asm.
bcfe3a54
ST
1390 (lrint): Likewise.
1391 (llrintf): Likewise.
1392 (llrint): Likewise.
1393 (rint): Likewise.
1394 (rintf): Likewise.
1395 (nearbyint): Likewise.
1396 (nearbyintf): Likewise.
bdd74070 1397
91d8d69e
AJ
13982012-05-09 Andreas Jaeger <aj@suse.de>
1399 Pedro Alves <palves@redhat.com>
1400
1401 * nscd/nscd.c (run_mode): Use enum.
1402 (main): Cleanup coding style issue.
1403
bb90b80b
AJ
14042012-05-09 Alexandre Oliva <aoliva@redhat.com>
1405 Andreas Jaeger <aj@suse.de>
1406
bcfe3a54
ST
1407 * nscd/nscd.c (go_background): Replaced with...
1408 (run_mode): ... this.
bb90b80b 1409 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1410 (options): Add -F --foreground.
1411 (main): Implement it.
1412 (parse_opt): Parse it.
bb90b80b 1413
1a4b75a1
AJ
14142012-05-09 Andreas Jaeger <aj@suse.de>
1415
1416 [BZ #14083]
1417 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1418 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1419 -Wconversion warning.
1420 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1421 Likewise.
1422
b1cc2472
JM
14232012-05-09 Joseph Myers <joseph@codesourcery.com>
1424
1425 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1426 == 0.
1427 (LC_ALL): Use macro-int-constant.
1428 (LC_COLLATE): Likewise.
1429 (LC_CTYPE): Likewise.
1430 (LC_MESSAGES): Likewise.
1431 (LC_MONETARY): Likewise.
1432 (LC_NUMERIC): Likewise.
1433 (LC_TIME): Likewise.
1434 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1435 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1437 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1438 Specify type.
1439 [C99-based standards] (float_t): Expect type.
1440 [C99-based standards] (double_t): Expect type.
1441 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1442 type.
1443 [C99-based standards] (HUGE_VALL): Likewise.
1444 [C99-based standards] (INFINITY): Likewise.
1445 [C99-based standards] (NAN): Likewise.
1446 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1447 [C99-based standards] (FP_NAN): Likewise.
1448 [C99-based standards] (FP_NORMAL): Likewise.
1449 [C99-based standards] (FP_SUBNORMAL): Likewise.
1450 [C99-based standards] (FP_ZERO): Likewise.
1451 [C99-based standards] (FP_FAST_FMA): Use
1452 optional-macro-int-constant. Specify type. Require == 1.
1453 [C99-based standards] (FP_FAST_FMAF): Likewise.
1454 [C99-based standards] (FP_FAST_FMAL): Likewise.
1455 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1456 [C99-based standards] (FP_ILOGBNAN): Likewise.
1457 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1458 Specify type.
1459 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1460 [C99-based standards] (math_errhandling): Specify type.
1461 [ISO99 || ISO11] (signgam): Do not allow.
1462 [non-C99-based standards] (copysignf): Do not allow.
1463 [non-C99-based standards] (exp2f): Likewise.
1464 [non-C99-based standards] (log2f): Likewise.
1465 [non-C99-based standards] (modff): Allow.
1466 [non-C99-based standards] (erff): Do not allow.
1467 [non-C99-based standards] (erfcf): Likewise.
1468 [non-C99-based standards] (gammaf): Likewise.
1469 [non-C99-based standards] (hypotf): Likewise.
1470 [non-C99-based standards] (j0f): Likewise.
1471 [non-C99-based standards] (j1f): Likewise.
1472 [non-C99-based standards] (jnf): Likewise.
1473 [non-C99-based standards] (lgammaf): Likewise.
1474 [non-C99-based standards] (tgammaf): Likewise.
1475 [non-C99-based standards] (y0f): Likewise.
1476 [non-C99-based standards] (y1f): Likewise.
1477 [non-C99-based standards] (ynf): Likewise.
1478 [non-C99-based standards] (isnanf): Likewise.
1479 [non-C99-based standards] (acoshf): Likewise.
1480 [non-C99-based standards] (asinhf): Likewise.
1481 [non-C99-based standards] (atanhf): Likewise.
1482 [non-C99-based standards] (cbrtf): Likewise.
1483 [non-C99-based standards] (expm1f): Likewise.
1484 [non-C99-based standards] (ilogbf): Likewise.
1485 [non-C99-based standards] (log1pf): Likewise.
1486 [non-C99-based standards] (logbf): Likewise.
1487 [non-C99-based standards] (nextafterf): Likewise.
1488 [non-C99-based standards] (remainderf): Likewise.
1489 [non-C99-based standards] (rintf): Likewise.
1490 [non-C99-based standards] (scalbf): Likewise.
1491 [non-C99-based standards] (copysignl): Likewise.
1492 [non-C99-based standards] (exp2l): Likewise.
1493 [non-C99-based standards] (log2l): Likewise.
1494 [non-C99-based standards] (modfl): Allow.
1495 [non-C99-based standards] (erfl): Do not allow.
1496 [non-C99-based standards] (erfcl): Likewise.
1497 [non-C99-based standards] (gammal): Likewise.
1498 [non-C99-based standards] (hypotl): Likewise.
1499 [non-C99-based standards] (j0l): Likewise.
1500 [non-C99-based standards] (j1l): Likewise.
1501 [non-C99-based standards] (jnl): Likewise.
1502 [non-C99-based standards] (lgammal): Likewise.
1503 [non-C99-based standards] (tgammal): Likewise.
1504 [non-C99-based standards] (y0l): Likewise.
1505 [non-C99-based standards] (y1l): Likewise.
1506 [non-C99-based standards] (ynl): Likewise.
1507 [non-C99-based standards] (isnanl): Likewise.
1508 [non-C99-based standards] (acoshl): Likewise.
1509 [non-C99-based standards] (asinhl): Likewise.
1510 [non-C99-based standards] (atanhl): Likewise.
1511 [non-C99-based standards] (cbrtl): Likewise.
1512 [non-C99-based standards] (expm1l): Likewise.
1513 [non-C99-based standards] (ilogbl): Likewise.
1514 [non-C99-based standards] (log1pl): Likewise.
1515 [non-C99-based standards] (logbl): Likewise.
1516 [non-C99-based standards] (nextafterl): Likewise.
1517 [non-C99-based standards] (remainderl): Likewise.
1518 [non-C99-based standards] (rintl): Likewise.
1519 [non-C99-based standards] (scalbl): Likewise.
1520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1521 [non-C99-based standards] (FP_*): Do not allow.
1522 [C99-based standards] (FP_*): Change to
1523 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1524 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1525 allow.
1526 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1527 (SIG_ERR): Likewise.
1528 [X/Open-based standards] (SIG_HOLD): Likewise.
1529 (SIG_IGN): Likewise.
1530 (SIGABRT): Use macro-int-constant. Specify type. Require
1531 positive value.
1532 (SIGFPE): Likewise.
1533 (SIGILL): Likewise.
1534 (SIGINT): Likewise.
1535 (SIGSEGV): Likewise.
1536 (SIGTER): Likewise.
1537 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1543 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1544 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1545 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1546 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1555 [X/Open-based standards] (SIGTRAP): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1560 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1561 allow.
1562
b9f1922d
IW
15632012-05-08 Ian Wienand <ianw@vmware.com>
1564
1565 [BZ #14080]
1566 * time/tzset.c (__tzset_parse_tz): Update default rules for
1567 daylight time changes in the Energy Policy Act of 2005.
1568
1db86e88
AJ
15692012-05-09 Andreas Jaeger <aj@suse.de>
1570
1571 [BZ #13983]
1572 * elf/ldconfig.c (parse_conf): Change string to make clear that
1573 ldconfig only issued a warning if ld.so.conf does not exist.
1574
dee4a4e3
DM
15752012-05-08 David S. Miller <davem@davemloft.net>
1576
ee0db190
DM
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1578 movxtod instead of popping the value on the stack.
1579
dee4a4e3
DM
1580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1581
6a43ec98
CD
15822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1583
1584 * config.h.in: Add HAVE_ARM_PCS_VFP.
1585
05c2c961
RMG
15862012-05-08 Roland Mc Grath <roland@hack.frob.com>
1587
bcfe3a54
ST
1588 [BZ #13979]
1589 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1590 checking but the checks are disabled for any reason.
05c2c961 1591
4b30f61a
L
15922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1595 and ELF64_R_TYPE with ELFW(R_TYPE).
1596
eee2bc67
JM
15972012-05-08 Joseph Myers <joseph@codesourcery.com>
1598
7ea5391a
JM
1599 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1600 (ulimit): Likewise.
1601
eee2bc67
JM
1602 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1603 (settimeofday): Likewise.
1604
abb66a67
MF
16052012-05-08 Mike Frysinger <vapier@gentoo.org>
1606
1607 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1608 a struct th_u2 inside the union, and move tu_block/tu_code into
1609 a new th_u3 union of tu_block/tu_code inside of that. Move
1610 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1611 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1612 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1613 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1614 (th_stuff): Change to th_u1.tu_stuff.
1615 (th_data): Define.
1616 (th_msg): Change to th_u1.th_u2.tu_data.
1617
7f18b530
DM
16182012-05-07 David S. Miller <davem@davemloft.net>
1619
05760585
DM
1620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1621
7f18b530
DM
1622 [BZ #14074]
1623 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1624 (SETUP_PIC_REG): Use it.
1625 (SETUP_PIC_REG_LEAF): Use it.
1626
495fd99f
JM
16272012-05-07 Joseph Myers <joseph@codesourcery.com>
1628
1629 [BZ #13885]
1630 [BZ #13923]
1631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1632 USE_AS_EXPM1L.
1633 (EXPL_FINITE): Likewise.
1634 (FLDLOG): Likewise.
1635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1636 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1637 e_expl.S.
1638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1639 USE_AS_EXPM1L.
1640 (EXPL_FINITE): Likewise.
1641 (FLDLOG): Likewise.
1642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1643 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1644 e_expl.S.
1645 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1646 test of -max_value argument for long double.
1647 * sysdeps/i386/fpu/libm-test-ulps: Update.
1648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1649
6693d694
DM
16502012-05-06 David S. Miller <davem@davemloft.net>
1651
1652 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1653 quad soft-float symbols whose references which are compiler
1654 generated.
1655 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1656
6c23e11c
JM
16572012-05-06 Joseph Myers <joseph@codesourcery.com>
1658
d8b82cad
JM
1659 [BZ #13884]
1660 [BZ #13914]
1661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1662 USE_AS_EXP10L.
1663 (EXPL_FINITE): Likewise.
1664 (FLDLOG): Likewise.
1665 (c0): Likewise.
1666 (c1): Likewise.
1667 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1668 Adjust comments for base varying.
1669 (__expl_finite): Change alias to EXPL_FINITE.
1670 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1671 e_expl.S.
1672 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1673 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1675 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1677 USE_AS_EXP10L.
1678 (EXPL_FINITE): Likewise.
1679 (FLDLOG): Likewise.
1680 (c0): Likewise.
1681 (c1): Likewise.
1682 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1683 Adjust comments for base varying.
1684 (__expl_finite): Change alias to EXPL_FINITE.
1685 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1686 tests for bugs.
1687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1688
6c23e11c
JM
1689 [BZ #14064]
1690 * math/libm-test.inc (check_float_internal): Correct ulp
1691 calculation for subnormal expected results.
1692
29ba805c
AJ
16932012-05-06 Andreas Jaeger <aj@suse.de>
1694
1695 * Makeconfig (+math-flags): New, set to -frounding-math.
1696 (+cflags): Add +math-flags so that all of glibc gets compiled with
1697 it.
1698
1699 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1700
7b17aeda
JM
17012012-05-05 Joseph Myers <joseph@codesourcery.com>
1702
5779f134
JM
1703 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1704 Disable one test.
1705
41498f4d
JM
1706 [BZ #13787]
1707 [BZ #13922]
1708 [BZ #14036]
1709 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1710 (__ieee754_expl): Allow for and saturate large arguments.
1711 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1712 (u_threshold): Likewise.
1713 (__exp): Call __ieee754_exp before checking for overflow and
1714 underflow.
1715 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1716 (u_threshold): Likewise.
1717 (__expf): Call __ieee754_expf before checking for overflow and
1718 underflow.
1719 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1720 (u_threshold): Likewise.
1721 (__expl): Call __ieee754_expl before checking for overflow and
1722 underflow.
1723 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1724 (__ieee754_expl): Allow for and saturate large arguments.
1725 * math/libm-test.inc (exp_test): Add another test. Do not allow
1726 missing overflow exception on overflow.
1727 (expm1_test): Do not allow missing overflow exception on overflow.
1728
6698b8bf
JM
1729 * sysdeps/i386/fpu/e_expl.c: Move to ...
1730 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1731 rather than using inline asm.
1732 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1733 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1734 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1735
7b17aeda
JM
1736 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1737 (nice): Likewise.
1738 (poll): Likewise.
1739 (signal): Likewise.
1740 (time): Likewise.
1741 (times): Likewise.
1742
f7c85819
JM
17432012-05-04 Joseph Myers <joseph@codesourcery.com>
1744
1745 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1746 sysdeps/unix/common/syscalls.list.
1747 (fchmod): Likewise.
1748 (fchown): Likewise.
1749 (ftruncate): Likewise.
1750 (getrusage): Likewise.
1751 (gettimeofday): Likewise.
1752 (setpgid): Likewise.
1753 (setregid): Likewise.
1754 (setreuid): Likewise.
1755 (sigaction): Likewise.
1756 (truncate): Likewise.
1757 (vhangup): Likewise.
1758 * sysdeps/unix/common/syscalls.list: Remove file.
1759 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1760 * sysdeps/unix/sysv/linux/Implies: Likewise.
1761
336270d0
L
17622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1766 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1767 Moved to ...
1768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1769 Here.
1770 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1771 to ...
1772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1773 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1774 to ...
1775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1777 to ...
1778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1780 to ...
1781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1782 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1783 to ...
1784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1785 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1786 to ...
1787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1789 to ...
1790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1791 Here.
1792 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1793 to ...
1794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1795 Here.
1796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1797 to ...
1798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1800 Moved to ...
1801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1802 Here.
1803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1804 to ...
1805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1806
d128e450
JM
18072012-05-04 Joseph Myers <joseph@codesourcery.com>
1808
fa8ee516
JM
1809 * sysdeps/unix/common/bits/dirent.h: Remove file.
1810 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1811
d128e450
JM
1812 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1813 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1814 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1815 * sysdeps/unix/bsd/isatty.c: Likewise.
1816 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1817 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1818 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1819
ff8faaf0 18202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1821
62881be4 1822 [BZ #13563]
31dc8730
AZ
1823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1824 long double comparison inaccuracies.
1825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1827
6fef930c
AS
18282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1829
1830 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1832
8f203e6c
JM
18332012-05-04 Joseph Myers <joseph@codesourcery.com>
1834
1835 [BZ #14049]
1836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1837 nonzero digits before rounding a hex value.
1838 * stdlib/tst-strtod.c (tests): Add another test.
1839
5197d9c2
AK
18402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1841
1842 * sysdeps/s390/fpu/libm-test-ulps: Update.
1843
f0c1dedf
AJ
18442012-05-03 Andreas Jaeger <aj@suse.de>
1845
1846 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1847 does not get optimized out.
1848 (malloc_opt_barrier): New.
1849
a65ef2ae 18502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1851 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1852
2b942cb7 1853 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1854 intermediate file deletion.
2b942cb7 1855 (generated): Add .symlist files.
a65ef2ae 1856
54b71e02
JM
18572012-05-03 Joseph Myers <joseph@codesourcery.com>
1858
1859 [BZ #13775]
1860 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1861 Redirect under this condition.
1862 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1863 [__USE_GNU] (__dprintf_chk): Not under this condition.
1864 [__USE_GNU] (__vdprintf_chk): Likewise.
1865 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1866 under this condition.
1867 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1868 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1869 [__USE_XOPEN2K8] (vdprintf): Likewise.
1870 [__USE_GNU] (__dprintf_chk): Not under this condition.
1871 [__USE_GNU] (__vdprintf_chk): Likewise.
1872 [__USE_GNU] (dprintf): Likewise.
1873 [__USE_GNU] (vdprintf): Likewise.
1874
d3dfcc41
RM
18752012-05-03 Roland McGrath <roland@hack.frob.com>
1876
1877 * elf/Makefile (common-generated): Set this instead of generated for
1878 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1879 $(all-built-dso)-derived lists.
1880
7ac30cc5
AJ
18812012-05-03 Andreas Jaeger <aj@suse.de>
1882
0c51e550
AJ
1883 * sysdeps/i386/fpu/libm-test-ulps: Update.
1884
7ac30cc5
AJ
1885 * FAQ: Removed.
1886 * FAQ.in: Likewise.
1887 * scripts/gen-FAQ.pl: Likewise.
1888 * manual/install.texi (Installation): Point to online location of
1889 FAQ.
1890 * Makefile (files-for-dist): Remove FAQ.
1891 (FAQ): Remove.
1892
d4c2917f
AM
18932012-05-02 Allan McRae <allan@archlinux.org>
1894
1895 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1896 (LDFLAGS-reldepmod5.so): Likewise.
1897 (LDFLAGS-reldep6mod1.so): Likewise.
1898 (LDFLAGS-reldep6mod4.so): Likewise.
1899 (LDFLAGS-reldep8mod3.so): Likewise.
1900 (LDFLAGS-unload4mod1.so): Likewise.
1901 (LDFLAGS-unload4mod2.so): Likewise.
1902 (LDFLAGS-tst-initorder): Likewise.
1903 (LDFLAGS-tst-initordera2.so): Likewise.
1904 (LDFLAGS-tst-initordera3.so): Likewise.
1905 (LDFLAGS-tst-initordera4.so): Likewise.
1906 (LDFLAGS-tst-initorderb2.so): Likewise.
1907 (LDFLAGS-noload): Likewise.
1908 (LDFLAGS-next): Likewise.
1909 (LDFLAGS-order2mod1.so): Likewise.
1910 (LDFLAGS-order2mod2.so): Likewise.
1911 (LDFLAGS-tst-initorder2): Likewise.
1912 (LDFLAGS-tst-initorder2a.so): Likewise.
1913 (LDFLAGS-tst-initorder2b.so): Likewise.
1914 (LDFLAGS-tst-initorder2c.so): Likewise.
1915 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1916
d77f993f
DM
19172012-05-02 David S. Miller <davem@davemloft.net>
1918
1919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1920
171a70b4
PP
19212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1922
1923 [BZ #14055]
1924 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1925
0be196ad
AJ
19262012-05-02 Andreas Jaeger <aj@suse.de>
1927
1928 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1929 since we manipulate rounding mode.
1930 (CPPFLAGS-test-idouble.c): Likewise.
1931 (CPPFLAGS-test-ifloat.c): Likewise.
1932 (CFLAGS-test-ldouble.c): Likewise.
1933 (CFLAGS-test-double.c): Likewise.
1934 (CFLAGS-test-float.c): Likewise.
1935 (CFLAGS-test-misc.c): Likewise.
1936 (CFLAGS-test-test-fenv.c): Likewise.
1937
4f9d04aa
AZ
19382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939
2b942cb7
RM
1940 [BZ #2550]
1941 [BZ #2570]
1942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1943 comparisons to determine direction to adjust input.
4f9d04aa 1944
82a79e7d
RM
19452012-05-01 Roland McGrath <roland@hack.frob.com>
1946
f5a01ca9
RM
1947 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1948 output to the target.
1949
90fe4186
RM
1950 * scripts/localplt.awk: New file.
1951 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1952 (check-localplt-CFLAGS): Variable removed.
1953 ($(all-built-dso:=.jmprel)): New static pattern rule.
1954 (generated): Add those targets.
1955 (localplt-built-dso): New variable.
1956 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1957
1958 * elf/check-localplt.c: File removed.
1959
82397ed6
RM
1960 * scripts/check-execstack.awk: New file.
1961 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1962 (check-execstack-CFLAGS): Variable removed.
1963 ($(objpfx)check-execstack.h): Target removed.
1964 ($(objpfx)execstack-default): New target.
1965 (generated): Add that instead of check-execstack.h.
1966 ($(all-built-dso:=.phdr)): New static pattern rule.
1967 (generated): Add those targets.
1968 * elf/check-execstack.c: File removed.
1969
82a79e7d
RM
1970 * scripts/check-textrel.awk: New file.
1971 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1972 (check-textrel-CFLAGS): Variable removed.
1973 (all-built-dso): Use := to define.o
1974 ($(all-built-dso:=.dyn)): New static pattern rule.
1975 (generated): Add those targets.
1976 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1977 * config.make.in (READELF): New substituted variable.
1978 * elf/check-textrel.c: File removed.
1979
62fde54f 19802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1981
615605c9
JM
1982 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1983 allow.
1984 * conform/data/ctype.h-data [C99-based standards] (isblank):
1985 Expect function.
1986 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1987 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1989 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1990 Specify type. Require positive value.
1991 (EILSEQ): Likewise.
1992 (ERANGE): Likewise.
1993 [ISO || POSIX] (EILSEQ): Do not expect.
1994 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1995 Specify type. Require positive value.
1996 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2006 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2007 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2008 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2009 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2010 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2011 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2012 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2013 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2014 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2015 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2016 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2017 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2018 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2019 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2020 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2021 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2022 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2023 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2024 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2025 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2026 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2027 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2028 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2029 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2030 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2031 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2032 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2033 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2034 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2035 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2036 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2037 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2038 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2039 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2040 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2041 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2042 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2043 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2044 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2045 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2046 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2047 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2048 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2049 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2050 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2051 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2052 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2053 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2054 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2055 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2056 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2057 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2058 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2059 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2060 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2061 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2062 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2063 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2064 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2070 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2071 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2072 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2073 Require >= 2.
2074 (FLT_ROUNDS): Expect as macro, not constant.
2075 (FLT_MANT_DIG): Use macro-int-constant.
2076 (DBL_MANT_DIG): Likewise.
2077 (LDBL_MANT_DIG): Likewise.
2078 (FLT_DIG): Likewise.
2079 (DBL_DIG): Likewise.
2080 (LDBL_DIG): Likewise.
2081 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2082 (DBL_MIN_EXP): Likewise.
2083 (LDBL_MIN_EXP): Likewise.
2084 (FLT_MAX_EXP): Use macro-int-constant.
2085 (DBL_MAX_EXP): Likewise.
2086 (LDBL_MAX_EXP): Likewise.
2087 (FLT_MAX_10_EXP): Likewise.
2088 (DBL_MAX_10_EXP): Likewise.
2089 (LDBL_MAX_10_EXP): Likewise.
2090 (FLT_MAX): Use macro-constant.
2091 (DBL_MAX): Likewise.
2092 (LDBL_MAX): Likewise.
2093 (FLT_EPSILON): Use macro-constant. Give upper bound.
2094 (DBL_EPSILON): Likewise.
2095 (LDBL_EPSILON): Likewise.
2096 (FLT_MIN): Likewise.
2097 (DBL_MIN): Likewise.
2098 (LDBL_MIN): Likewise.
2099 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2100 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2101 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2102 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2103 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2104 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2105 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2106 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2107 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2108 [ISO11] (FLT_TRUE_MIN): Likewise.
2109 [ISO11] (LDBL_TRUE_MIN): Likewise.
2110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2111 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2112 (SCHAR_MIN): Use macro-int-constant. Specify type.
2113 (SCHAR_MAX): Likewise.
2114 (UCHAR_MAX): Likewise.
2115 (CHAR_MIN): Likewise.
2116 (CHAR_MAX): Likewise.
2117 (MB_LEN_MAX): Use macro-int-constant.
2118 (SHRT_MIN): Use macro-int-constant. Specify type.
2119 (SHRT_MAX): Likewise.
2120 (USHRT_MAX): Likewise.
2121 (INT_MAX): Likewise.
2122 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2123 bound negative.
2124 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2125 bound with "U".
2126 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2127 bound with "L".
2128 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2129 bound negative. Suffix upper bound with "L".
2130 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2131 bound with "UL".
2132 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2133 Specify type.
2134 [C99-based standards] (LLONG_MAX): Likewise.
2135 [C99-based standards] (ULLONG_MAX): Likewise.
2136 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2137 == 0.
2138 [ISO11] (max_align_t): Require type.
2139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2140
c9140a62
JM
2141 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2142 from $CFLAGS, without defining away __attribute__ calls.
2143 (checknamespace): Use $CFLAGS_namespace.
2144
9af0bf29
JM
2145 * conform/conformtest.pl (@keywords): Only include C99 keywords
2146 for standards based on C99 or C11.
2147
343222a2
JM
2148 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2149 Disable tests.
2150 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2151 UNIX98]: Likewise.
2152
661f8cf0
JM
2153 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2154 usability of symbols in #if.
2155
ee74b9cb
JM
2156 * conform/conformtest.pl: If macro or constant types start
2157 "promoted:", expect the symbol to be of the following type
2158 promoted by the integer promotions.
62fde54f 2159
aafc49b3
JM
2160 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2161 in one place. Also handle "macro-constant".
2162
fefdf574
JM
2163 * conform/conformtest.pl: Only accept expected macro values with
2164 "==". Parse all "macro" lines in one place.
2165 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2166
f2d922fe
JM
2167 * conform/conformtest.pl: Handle braced types on "constant" lines
2168 instead of handling "typed-constant".
2169 * conform/data/signal.h-data: Use "constant" instead of
2170 "typed-constant".
2171
d22956c9
JM
2172 * conform/conformtest.pl: Handle "optional-" at start of lines in
2173 one place rather than duplicating several cases. Handle each
2174 format of "macro" line with initial "optional-".
2175
028e2e38
JM
2176 * conform/conformtest.pl: Only accept expected constant or
2177 optional-constant values with "==". Parse all "constant" lines in
2178 one place. Parse all "optional-constant" lines in one place.
2179 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2180 * conform/data/fmtmsg.h-data: Likewise.
2181 * conform/data/netinet/in.h-data: Likewise.
2182 * conform/data/tar.h-data: Likewise.
2183 * conform/data/limits.h-data: Use "==" form on "constant" and
2184 "optional-constant" lines.
2185
1b8f2850
JM
2186 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2187 Use -std=c99 for XOPEN2K.
2188 (@knownproblems): Remove.
2189 (newtoken): Don't check %isknown.
2190
a05a144b
JM
2191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2192 Do not expect macro.
2193 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2205 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2206 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2223 [XPG3] (acosh): Likewise.
2224 [XPG3] (asinh): Likewise.
2225 [XPG3] (atanh): Likewise.
2226 [XPG3] (cbrt): Likewise.
2227 [XPG3] (expm1): Likewise.
2228 [XPG3] (ilogb): Likewise.
2229 [XPG3] (log1p): Likewise.
2230 [XPG3] (logb): Likewise.
2231 [XPG3] (nextafter): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2234 [XPG3] (remainder): Likewise.
2235 [XPG3] (rint): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2243 [UNIX98 || XOPEN2K] (scalb): Expect.
2244 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2245 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2317 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2381
73c5ebe3
JM
2382 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2383 _XOPEN_SOURCE_EXTENDED for XPG4.
2384
39c33b6c
JM
2385 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2386
62fde54f
JM
2387 * Makeconfig (localtime): Remove variable.
2388 (inst_localtime-file): Likewise.
2389
0741d64c
AS
23902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2391
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2393 Update.
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2395 Update.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2397 Update.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2399 Update.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2401 Update.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2403 Update.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2405 Update.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2407 Update.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2409 Update.
2410
7cb029ee
JM
24112012-05-01 Joseph Myers <joseph@codesourcery.com>
2412
2413 [BZ #2550]
2414 [BZ #2570]
2415 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2416 comparisons to determine direction to adjust input.
2417 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2418 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2420 Likewise.
2421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2422 Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2424 Likewise.
2425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2427 Likewise.
2428 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2429 Likewise.
2430 * math/libm-test.inc (nexttoward_test): Add more tests.
2431
412bd966
AS
24322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2433
2434 [BZ #14040]
2435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2436 in version GLIBC_2.1, not GLIBC_2.0.
2437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2438 Likewise.
2439
9568c0c2
JM
24402012-04-30 Joseph Myers <joseph@codesourcery.com>
2441
adfbc8ac
JM
2442 [BZ #13942]
2443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2444 (1 - x) * (1 + x).
2445 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2446 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2447 * math/libm-test.inc (acos_test): Add more tests.
2448 (asin_test): Likewise.
2449 * sysdeps/i386/fpu/libm-test-ulps: Update.
2450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451
5ba3cc69
JM
2452 [BZ #14034]
2453 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2454 of square root.
2455 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2457 * math/libm-test.inc (acos_test_tonearest): New function.
2458 (acos_test_towardzero): Likewise.
2459 (acos_test_downward): Likewise.
2460 (acos_test_upward): Likewise.
2461 (asin_test_tonearest): Likewise.
2462 (asin_test_towardzero): Likewise.
2463 (asin_test_downward): Likewise.
2464 (asin_test_upward): Likewise.
2465 (main): Call the new functions.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2468
9568c0c2
JM
2469 [BZ #13884]
2470 [BZ #13924]
2471 * math/e_exp10.c: Include <float.h>.
2472 (__ieee754_exp10): Handle underflow here rather than multiplying
2473 large negative argument by M_LN10.
2474 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2475 of __ieee754_expf.
2476 * math/e_exp10l.c: Include <float.h>.
2477 (__ieee754_exp10l): Handle underflow here rather than multiplying
2478 large negative argument by M_LN10l.
2479 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2480 spurious overflow exception on underflow.
2481
5ac3ea17
MP
24822012-04-29 Marek Polacek <polacek@redhat.com>
2483
2484 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2485 (__fortify_function): New macro.
2486 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2487 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2488 __extern_always_inline.
2489 * libio/bits/stdio2.h: Likewise.
2490 * libio/bits/stdio.h: Likewise.
2491 * string/string.h: Likewise.
2492 * string/bits/string3.h: Likewise.
2493 * include/stdio.h: Likewise.
2494 * stdlib/bits/stdlib.h: Likewise.
2495 * stdlib/stdlib.h: Likewise.
2496 * rt/bits/mqueue2.h: Likewise.
2497 * rt/mqueue.h: Likewise.
2498 * posix/bits/unistd.h: Likewise.
2499 * posix/unistd.h: Likewise.
2500 * io/bits/poll2.h: Likewise.
2501 * io/bits/fcntl2.h: Likewise.
2502 * io/fcntl.h: Likewise.
2503 * io/sys/poll.h: Likewise.
2504 * misc/bits/syslog.h: Likewise.
2505 * misc/bits/syslog-ldbl.h: Likewise.
2506 * misc/sys/syslog.h: Likewise.
2507 * socket/bits/socket2.h: Likewise.
2508 * socket/sys/socket.h: Likewise.
2509 * debug/tst-chk1.c: Likewise.
2510 * wcsmbs/bits/wchar2.h: Likewise.
2511 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2512 * wcsmbs/wchar.h: Likewise.
2513
ecf0ebfb
AJ
25142012-04-29 Andreas Jaeger <aj@suse.de>
2515
2516 * Makerules (tests): Remove enable-check-abi protection.
2517 (check-abi-warn): Remove.
2518 (check-abi-%): Remove check-abi-warn usage.
2519
2520 * configure.in: Remove check-abi configure option.
2521 * configure: Regenerated.
2522 * config.make.in (enable-check-abi): Remove.
2523
6d5c57fa
AS
25242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2525
24c5d07e 2526 [BZ #14033]
ded5180a
AS
2527 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2528 double functions to double *_finite functions.
2529
7e0d315d
AS
2530 [BZ #13941]
2531 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2532 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2533 LDBL_MIN_EXP.
2534 * stdio-common/Makefile (tests): Add tst-sprintf3.
2535 * stdio-common/tst-sprintf3.c: New file.
2536
6d5c57fa
AS
2537 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2538 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2539
0749ff8b
JM
25402012-04-28 Joseph Myers <joseph@codesourcery.com>
2541
2542 * conform/conformtest.pl: Remove duplicate typed-constant
2543 handling.
2544
8dbd5d7b
DM
25452012-04-28 David S. Miller <davem@davemloft.net>
2546
2547 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2548 (check-abi-%): Remove AWK script prerequisite and explicit
2549 abilist directory.
2550 (check-abi): Rewrite to just diff the symlist with the abilist.
2551 (config-tls, config-abi-config): Delete, no longer used.
2552 (update-abi-%): Remove AWK script and explicit abilist directory.
2553 (update-abi): Rewrite to simply compare and conditionally copy the
2554 symlist and the sysdep abilist file. Remove update-abi-config
2555 checks.
2556 * abilist/ld.abilist: Remove.
2557 * abilist/libBrokenLocale.abilist: Remove.
2558 * abilist/libanl.abilist: Remove.
2559 * abilist/libcrypt.abilist: Remove.
2560 * abilist/libdl.abilist: Remove.
2561 * abilist/librt.abilist: Remove.
2562 * abilist/libthread_db.abilist: Remove.
2563 * abilist/libutil.abilist: Remove.
2564 * scripts/extract-abilist.awk: Remove.
2565 * scripts/merge-abilist.awk: Remove.
2566 * sysdeps/generic/libcidn.abilist: New file.
2567 * sysdeps/generic/libnss_compat.abilist: New file.
2568 * sysdeps/generic/libnss_db.abilist: New file.
2569 * sysdeps/generic/libnss_dns.abilist: New file.
2570 * sysdeps/generic/libnss_files.abilist: New file.
2571 * sysdeps/generic/libnss_hesiod.abilist: New file.
2572 * sysdeps/generic/libnss_nis.abilist: New file.
2573 * sysdeps/generic/libnss_nisplus.abilist: New file.
2574 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2575 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2576 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2577 file.
2578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2579 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2580 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2581 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2582 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2583 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2585 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2586 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2587 file.
2588 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2589 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2591 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2592 file.
2593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2594 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2596 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2599 file.
2600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2601 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2603 file.
2604 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2606 New file.
2607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2608 New file.
2609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2610 New file.
2611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2612 New file.
2613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2614 New file.
2615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2616 New file.
2617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2618 New file.
2619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2620 New file.
2621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2622 New file.
2623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2624 New file.
2625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2626 New file.
2627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2628 New file.
2629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2630 New file.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2632 file.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2634 New file.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2636 New file.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2638 file.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2640 New file.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2642 New file.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2644 file.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2646 New file.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2648 New file.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2650 New file.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2652 New file.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2654 New file.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2656 New file.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2659 file.
2660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2661 New file.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2663 file.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2665 file.
2666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2667 file.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2669 file.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2671 file.
2672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2673 New file.
2674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2675 file.
2676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2677 file.
2678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2679 New file.
2680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2681 file.
2682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2684 file.
2685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2686 New file.
2687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2688 file.
2689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2690 file.
2691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2692 file.
2693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2694 file.
2695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2696 file.
2697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2700 file.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2702 file.
2703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2704 New file.
2705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2706 file.
2707 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2708 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2709 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2710 file.
2711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2712 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2713 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2715 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2717 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2718 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2719 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2720 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2723 file.
2724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2725 New file.
2726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2727 file.
2728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2729 file.
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2731 file.
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2733 file.
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2735 file.
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2737 New file.
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2739 New file.
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2741 file.
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2743 New file.
2744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2745 file.
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2748 file.
2749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2750 New file.
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2752 file.
2753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2754 file.
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2756 file.
2757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2758 file.
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2760 file.
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2762 New file.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2764 New file.
2765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2766 file.
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2768 New file.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2770 file.
2771
41d73a1b
JM
27722012-04-28 Joseph Myers <joseph@codesourcery.com>
2773
2774 * conform/conformtest.pl: Fix typo in handling typed-constant from
2775 allow-header.
2776
28aeeda4
JM
27772012-04-27 Joseph Myers <joseph@codesourcery.com>
2778
adae8f5e
JM
2779 * README: Cut down references to pre-2.6 Linux kernels and
2780 Linuxthreads. Update lists of configurations in libc and ports
2781 and sort alphabetically. Say "or newer" with Linux kernel version
2782 requirements.
2783
28aeeda4
JM
2784 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2785
a462cb63
RA
27862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2787
2788 [BZ #887]
2789 * math/libm-test.inc (logb_test_downward): New test to expose
2790 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2791 rounding mode.
2792
6ad3493e
JM
27932012-04-27 Joseph Myers <joseph@codesourcery.com>
2794
2795 [BZ #14027]
2796 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2797 to be done.
2798 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2799 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2800
2ce4f015
JM
28012012-04-26 Joseph Myers <joseph@codesourcery.com>
2802
5aeb141a
JM
2803 * sysdeps/unix/i386/brk.S: Remove file.
2804 * sysdeps/unix/i386/dl-brk.S: Likewise.
2805 * sysdeps/unix/i386/pipe.S: Likewise.
2806 * sysdeps/unix/i386/sigreturn.S: Likewise.
2807 * sysdeps/unix/i386/syscall.S: Likewise.
2808 * sysdeps/unix/i386/vfork.S: Likewise.
2809 * sysdeps/unix/i386/wait.S: Likewise.
2810
7143acae
JM
2811 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2812 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2813
2ce4f015
JM
2814 * configure.in (arm*-none*): Do not allow without
2815 --enable-hacker-mode.
2816 (netbsd*): Remove case setting base_os.
2817 (386bsd*): Likewise.
2818 (freebsd*): Likewise.
2819 (bsdi*): Likewise.
2820 (osf*): Likewise.
2821 (sunos*): Likewise.
2822 (ultrix*): Likewise.
2823 (newsos*): Likewise.
2824 (dynix*): Likewise.
2825 (*bsd*): Likewise.
2826 (sysv*): Likewise.
2827 (isc*): Likewise.
2828 (esix*): Likewise.
2829 (sco*): Likewise.
2830 (minix*): Likewise.
2831 (irix4*): Likewise.
2832 (irix6*): Likewise.
2833 (solaris[2-9]*): Likewise.
2834 (none): Likewise.
2835 * configure: Regenerated.
2836
0ac229c8
AZ
28372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2838
2839 [BZ #11521]
2840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2841 overflow or cancellation in calculating denominator.
2842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2844 down expression to avoid unexpected rounding in newer GCCs.
2845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2846
33f244f4
DM
28472012-04-26 David S. Miller <davem@davemloft.net>
2848
2849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2850 long-double compat symbols.
2851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2864
cfa1f3e8
DM
28652012-04-25 David S. Miller <davem@davemloft.net>
2866
2867 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2868 HWCAP_* values only after the memory barriers have been defined.
2869 (atomic_full_barrier): Define.
2870 (atomic_read_barrier): Define.
2871 (atomic_write_barrier): Define.
2872
6e236b92
SP
28732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2874
2875 * shlib-versions: Add libgcc_s version information.
2876 * sysdeps/generic/libgcc_s.h: Remove.
2877 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2878 libgcc_s.h.
2879 * sysdeps/gnu/unwind-resume.c: Likewise.
2880 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2881
aab39a09
DM
28822012-04-25 David S. Miller <davem@davemloft.net>
2883
2884 * sysdeps/unix/sparc/brk.S: Delete.
2885 * sysdeps/unix/sparc/dl-brk.S: Delete.
2886 * sysdeps/unix/sparc/pipe.S: Delete.
2887 * sysdeps/unix/sparc/sysdep.S: Delete.
2888 * sysdeps/unix/sparc/sysdep.h: Delete.
2889 * sysdeps/unix/sparc/vfork.S: Delete.
2890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2891 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2893 ret_ERRVAL, r0, r1, MOVE): Define.
2894 (JUMPTARGET): Remove.
2895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2896 sysdeps/unix/sparc/sysdep.h
2897 (ENTRY, END): Remove.
2898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2899
a3cc4f48
JM
29002012-04-25 Joseph Myers <joseph@codesourcery.com>
2901
2ed8cda2
JM
2902 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2903 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2904 -DIS_IN_build.
2905
35d76d59
JM
2906 * timezone/README: Update upstream location and email address for
2907 tzcode and tzdata.
2908 * timezone/zdump.c: Update from tzcode 2012b.
2909 * timezone/zic.c: Likewise.
2910
a3cc4f48
JM
2911 * configure.in (libc_cv_as_needed): Remove test.
2912 * configure: Regenerated.
2913 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2914 conditional definition.
2915 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2916 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2917 * config.make.in (have-as-needed): Remove variable.
2918
ceab42c3
SP
29192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2920 Paul Pluzhnikov <ppluzhnikov@google.com>
2921
2922 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2923 strings correctly.
2924
3ce2865f
CLT
29252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2926
2927 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2928 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2929 * sysdeps/sh/strlen.S: Likewise.
2930
f37e0d68
JM
29312012-04-24 Joseph Myers <joseph@codesourcery.com>
2932
ae186e9a
JM
2933 * sysdeps/unix/fork.S: Remove file.
2934 * sysdeps/unix/i386/fork.S: Likewise.
2935 * sysdeps/unix/sparc/fork.S: Likewise.
2936
b96914af
JM
2937 * sysdeps/unix/system.c: Remove file.
2938 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2939
f37e0d68
JM
2940 * sysdeps/unix/getegid.S: Remove file.
2941 * sysdeps/unix/geteuid.S: Likewise.
2942
87ef29ca
RM
29432012-04-24 Roland McGrath <roland@hack.frob.com>
2944
83bcd236
RM
2945 * scripts/check-localplt.awk: New file.
2946 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2947 of diff.
2948 * scripts/data/localplt-generic.data: Add a comment.
2949
87ef29ca
RM
2950 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2951 NODE when __dir_mkfile failed.
2952 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2953 Reported by Ludovic Courtès <ludo@gnu.org>.
2954
e5a6e567
AJ
29552012-04-24 Andreas Jaeger <aj@suse.de>
2956
2957 * Makerules (common-clean): Also remove gen-as-const-headers
2958 files.
2959
c1820385
JM
29602012-04-24 Joseph Myers <joseph@codesourcery.com>
2961
2962 * Makerules (native-compile): Do not change working directory for
2963 build. Use $(OUTPUT_OPTION) in command.
2964 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2965
94e02fc4
AZ
29662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 [BZ #13886]
2969 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2970 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2971 * math/libm-test.inc (floor_test): Add more tests.
2972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2973
3a533ca3
JM
29742012-04-24 Joseph Myers <joseph@codesourcery.com>
2975
940ab4b3
JM
2976 * sysdeps/unix/getdents.c: Remove file.
2977 * sysdeps/unix/sysv/getdents.c: Likewise.
2978 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2979
90e037bd
JM
2980 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2981 sysdeps/unix/mman/syscalls.list.
2982 (mmap): Likewise.
2983 (mprotect): Likewise.
2984 (msync): Likewise.
2985 (munmap): Likewise.
2986 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2987 * sysdeps/unix/mman/syscalls.list: Remove.
2988 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2989
3a533ca3
JM
2990 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2991 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2992 * configure: Regenerated.
2993 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2994 $(libgcc_s_suffix).
2995 * config.make.in (libgcc_s_suffix): Remove variable.
2996
1ad743de
JM
29972012-04-23 Joseph Myers <joseph@codesourcery.com>
2998
4ad451e2
JM
2999 * sysdeps/unix/sysv/gethostname.c: Move to ...
3000 * sysdeps/posix/gethostname.c: ... here.
3001
5e37ce39
JM
3002 * sysdeps/unix/execve.S: Remove file.
3003
1ad743de
JM
3004 * sysdeps/unix/_exit.S: Remove file.
3005
4e681b5b
AJ
30062012-04-23 Andreas Jaeger <aj@suse.de>
3007
3008 [BZ #13739]
3009 * manual/Makefile: Remove make dist support, there's no
3010 need for a stand-alone documentation tar ball.
3011 (TEXI2DVI): Define always, it's not in Makeconfig.
3012 (dist): Removed.
3013 (tar-it): Removed.
3014 (edition): Removed.
3015 (glibc-doc-$(edition).tar): Removed
3016 (%.Z): Removed.
3017 (%.gz): Removed.
3018 (%.uu): Removed.
3019 (ETAGS): Remove, it's in Makeconfig.
3020 (move-if-change): Remove, it's in Makeconfig.
3021
c0baea34
PE
30222013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3023
3024 [BZ #13970]
3025 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3026 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3027 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3028 (strtod_l, strtof_l, strtold_l): Remove __wur.
3029 It is not necessarily an error to ignore strtol's return value.
3030 One can reliably look at the stored endptr to decide whether
3031 the number had valid syntax.
3032
7c0616fa
AJ
30332012-04-21 Andreas Jaeger <aj@suse.de>
3034
803cb6b7 3035 [BZ #13739]
7c0616fa
AJ
3036 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3037
b0fe253f
JM
30382012-04-21 Joseph Myers <joseph@codesourcery.com>
3039
3040 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3041 * sysdeps/unix/sysv/Versions: Remove file.
3042
8280f22d
MT
30432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3044
3045 [BZ #13927]
3046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3047
75ce411f 30482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3049
3050 [BZ #7064]
3051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3052 version from __vm86.
3053
097d59fa
JM
30542012-04-20 Joseph Myers <joseph@codesourcery.com>
3055
a90f3bcb
JM
3056 * sysdeps/unix/common/lxstat.c: Remove file.
3057 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3058
edc7ea78
JM
3059 * sysdeps/unix/sysv/Makefile: Remove file.
3060
cb78c221
JM
3061 * sysdeps/unix/sysv/direct.h: Remove file.
3062
efa6a45f
JM
3063 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3064 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3065 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3066 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3067 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3068 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3069 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3070
9c9f2d0c
JM
3071 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3072
4541c83b
JM
3073 * sysdeps/unix/xmknod.c: Remove file.
3074 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3075
f5d153a0
JM
3076 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3077
aa746595
JM
3078 * sysdeps/unix/sysv/i386/time.S: Remove file.
3079
cce5905e
JM
3080 * sysdeps/unix/fxstat.c: Remove file.
3081 * sysdeps/unix/xstat.c: Likewise.
3082 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3083
37fa3841
JM
3084 * sysdeps/unix/sysv/sigaction.c: Remove file.
3085
ff1962a3
JM
3086 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3087 (sysdep_headers): Remove variable.
3088 [termio.h not in sysdep_headers] (generated): Likewise.
3089 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3090 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3091 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3092 * sysdeps/unix/sysv/tcflow.c: Likewise.
3093 * sysdeps/unix/sysv/tcflush.c: Likewise.
3094 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3095 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3096 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3097 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3098 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3099
e7740d31
JM
3100 * sysdeps/unix/siglist.c: Remove file.
3101
ee06f18b
JM
3102 * sysdeps/unix/getppid.S: Remove file.
3103
097d59fa
JM
3104 * sysdeps/unix/mkdir.c: Remove file.
3105 * sysdeps/unix/rmdir.c: Likewise.
3106
ff3d51ec
AS
31072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3108
3109 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3110 ERR_MAX value.
3111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3112 errlist-compat value.
3113
50f81fd7
DM
31142012-04-18 David S. Miller <davem@davemloft.net>
3115
3116 * sysdeps/generic/memcopy.h (reg_char): Delete.
3117 * debug/strcat_chk.c: Use char, not reg_char.
3118 * debug/strcpy_chk.c: Likewise.
3119 * debug/strncat_chk.c: Likewise.
3120 * debug/strncpy_chk.c: Likewise.
3121 * string/memchr.c: Likewise.
3122 * string/memrchr.c: Likewise.
3123 * string/rawmemchr.c: Likewise.
3124 * string/strcat.c: Likewise.
3125 * string/strchr.c: Likewise.
3126 * string/strchrnul.c: Likewise.
3127 * string/strcmp.c: Likewise.
3128 * string/strcpy.c: Likewise.
3129 * string/strncat.c: Likewise.
3130 * string/strncmp.c: Likewise.
3131 * string/strncpy.c: Likewise.
3132
8ff41c46
WS
31332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3134
3135 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3136 __builtin_memcopy is called when src and dest ranges are known to not
3137 overlap.
3138
6b652f46
WS
31392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3140
3141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3142 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3143 fwd_align_merge macro call.
3144 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3145 bwd_align_merge macro call.
3146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3147
b282631e
WS
31482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3149
3150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3151 bwd_align_merge macros.
3152 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3153 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3154 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3155
95aa737c
DM
31562012-04-18 David S. Miller <davem@davemloft.net>
3157
3158 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3159
7a99a614
AJ
31602012-04-18 Andreas Jaeger <aj@suse.de>
3161
3162 [BZ# 6794]
3163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3164 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3166
3167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3168 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3169 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3170
3171 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3172 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3173 Adjust for changed ldbl-128 files.
3174
3175 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3176 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3178
e5270c23
DM
31792012-04-17 David S. Miller <davem@davemloft.net>
3180
3181 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3182
fb5e92c9
AS
31832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3184
3185 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3186 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3187 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3188 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3189 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3190 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3191
76da7265
AZ
31922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193
3194 [BZ #6794]
3195 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3196 * math/libm-test.inc: Add ilogb errno and exception tests.
3197 * math/w_ilogb.c: New file: ilogb wrapper.
3198 * math/w_ilogbf.c: New file: ilogbf wrapper.
3199 * math/w_ilogbl.c: New file: ilogbl wrapper.
3200 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3201 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3202 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3203 exception being thrown with 0.0 as argument.
3204 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3205 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3206 exception being thrown with 0.0 as argument.
3207 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3208 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3209 exception being thrown with 0.0 as argument.
3210 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3211 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3212 exception being thrown with 0.0 as argument.
3213 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3214 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3216 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3218 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3219 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3220 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3221 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3222
0396e69d
PB
32232012-04-17 Petr Baudis <pasky@ucw.cz>
3224
3225 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3226 with altivec.
3227
750b5926
MP
32282012-04-16 Marek Polacek <polacek@redhat.com>
3229
3230 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3231
751728a1
MP
32322012-04-16 Marek Polacek <polacek@redhat.com>
3233
3234 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3235 operands of fdivp instruction.
3236
34a27407
L
32372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3240 * elf/tst-auditmod3b.c: Likewise.
3241 * elf/tst-auditmod4b.c: Likewise.
3242 * elf/tst-auditmod5b.c: Likewise.
3243 * elf/tst-auditmod6b.c: Likewise.
3244 * elf/tst-auditmod6c.c: Likewise.
3245 * elf/tst-auditmod7b.c: Likewise.
3246 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3247 * sysdeps/x86_64/preconfigure.in: Likewise.
3248 * sysdeps/x86_64/preconfigure: Regenerated.
3249
7e73e17d
L
32502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3253 __ILP32__.
3254
c7a6ab72
AB
32552012-04-13 Antoine Balestrat <merkil33@gmail.com>
3256
3257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3258 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3259
a9e8e0e0
CL
32602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3261
3262 [BZ #13973]
3263 * locale/iso-639.def: Fix gl language name. Spotted by
3264 Yaron Shahrabani.
3265
ec98af7d
RM
32662012-04-12 Roland McGrath <roland@hack.frob.com>
3267
3268 [BZ #2074]
3269 * libio/libio.h (__io_write_fn): Update comment.
3270
247c3ede
PB
32712012-04-12 Petr Baudis <pasky@ucw.cz>
3272
3273 [BZ #2074]
3274 * stdio.texi (Hook Functions): The user provided writer function
3275 is not allowed to return -1.
3276
55939d6d
DM
32772012-04-11 David S. Miller <davem@davemloft.net>
3278
3279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3280
90020f5a
MF
32812012-04-11 Mike Frysinger <vapier@gentoo.org>
3282
3283 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3284 Add a leading slash to rtkaio.
3285
288f9098
JM
32862012-04-11 Jim Meyering <meyering@redhat.com>
3287
90020f5a
MF
3288 [BZ #11959]
3289 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3290 It is not necessarily an error to ignore fwrite's return
3291 value. One can reliably use ferror to test for errors after
3292 the fact.
288f9098 3293
4be2b570
L
32942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3295
3296 * bits/types.h (__snseconds_t): New type.
3297 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3298
3299 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3301 (__SNSECONDS_T_TYPE): Likewise.
3302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3303 (__SNSECONDS_T_TYPE): Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3305 (__SNSECONDS_T_TYPE): Likewise.
3306
288f9098 33072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3308
3309 [BZ #2636]
3310 * manual/time.texi (Processor Time): Return type of times is
3311 elapsed real time since an arbitrary point in the past.
3312 (CPU Time): Move CLK_TCK from here...
3313 (Processor Time): ...to here. Correct description.
3314 * manual/conf.texi (Constants for Sysconf): Correct description of
3315 _SC_CLK_TCK.
3316
d7dd4413
DM
33172012-04-10 David S. Miller <davem@davemloft.net>
3318
3319 [BZ #13967]
3320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3321 where the is a gap between DT_REL(A) and DT_JMPREL.
3322
b46068fc
L
33232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3324
3325 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3326 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3327 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3328
73d65cc3
SP
33292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3330
3331 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3332 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3333 (dl_main): Handle --inhibit-cache.
3334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3335 _dl_inhibit_cache.
3336 * elf/dl-load.c (_dl_map_object): Use it.
3337 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3338
bcc8d661
JM
33392012-04-09 Joseph Myers <joseph@codesourcery.com>
3340
8f9a2fae
JM
3341 [BZ #13872]
3342 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3343 (__ieee754_powl): Saturate large exponents rather than testing for
3344 overflow of y*log2(x).
3345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3346 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3347 exceptions.
3348
bcc8d661
JM
3349 [BZ #11521]
3350 * math/s_ctan.c: Include <float.h>.
3351 (__ctan): Avoid internal overflow or cancellation in calculating
3352 denominator.
3353 * math/s_ctanf.c: Likewise.
3354 * math/s_ctanl.c: Likewise.
3355 * math/s_ctanh.c: Likewise.
3356 * math/s_ctanhf.c: Likewise.
3357 * math/s_ctanhl.c: Likewise.
3358 * math/libm-test.inc (ctan_test): Add more tests.
3359 (ctanh_test): Likewise.
3360 * sysdeps/i386/fpu/libm-test-ulps: Update.
3361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3362
823fbbb4
AJ
33632012-04-09 Andreas Jaeger <aj@suse.de>
3364
03879793
AJ
3365 [BZ #6894]
3366 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3367 is an optional BSD extension.
3368
823fbbb4
AJ
3369 [BZ #10254]
3370 * manual/stdio.texi (Opening Streams): Document additional fopen
3371 parameters.
3372
8de131cb
RM
33732012-04-09 Roland McGrath <roland@hack.frob.com>
3374
3375 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3376 %eax without telling the compiler.
3377
c0ed9d7d
CD
33782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3379
3380 [BZ # 13963]
3381 * manual/install.texi: Use sourceware.org.
3382
c483f6b4
JM
33832012-04-09 Joseph Myers <joseph@codesourcery.com>
3384
d7dd9453
JM
3385 [BZ #13873]
3386 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3387 (__ieee754_pow): Generate overflow and underflow using huge*huge
3388 and tiny*tiny rather than just returning constant infinity or zero
3389 for large exponents.
3390 * math/libm-test.inc (pow_test): Require overflow exceptions for
3391 applicable cases of large exponents.
3392
c483f6b4
JM
3393 [BZ #706]
3394 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3395 (__ieee754_pow): Use iterative multiplication algorithm only for
3396 integer exponents with absolute value below 1024. Check for odd
3397 integer exponents when using algorithm for real exponents.
3398 * math/libm-test.inc (pow_test): Add more tests.
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3400
d2de7579
JM
34012012-04-08 Joseph Myers <joseph@codesourcery.com>
3402
3403 [BZ #13705]
3404 * math/libm-test.inc (exp_test): Do not allow overflow exception
3405 on underflow test.
3406
f77f1232
AJ
34072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3408
3409 [BZ #13705]
3410 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3411 instead of __kernel_standard_f.
3412
3884932b
MF
34132012-04-08 Mike Frysinger <vapier@gentoo.org>
3414
3415 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3416 * sysdeps/x86_64/memset_chk.S: Likewise.
3417
54472e9c
AJ
34182012-04-08 Andreas Jaeger <aj@suse.de>
3419
6ab0fbfc
AJ
3420 [BZ #10153]
3421 * manual/startup.texi (Environment Access): Describe return value
3422 for putenv and setenv.
3423
61efba8c
AJ
3424 [BZ #6895]
3425 * manual/filesys.texi (Directory Entries): Add description for
3426 DT_LNK.
3427
95c3f29a
AJ
3428 [BZ #6890]
3429 * manual/filesys.texi (Directory Entries): Clarify that it's file
3430 system not operating system in the description of DT_UNKNOWN.
3431
54472e9c
AJ
3432 [BZ #6578]
3433 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3434
624254b1
SC
34352012-04-08 Stephen Compall <s11@member.fsf.org>
3436
3437 [BZ #6649]
3438 * manual/llio.texi (Opening and Closing Files): Add cross
3439 reference to explain mode argument.
3440
1e4920e0
MF
34412012-04-07 Mike Frysinger <vapier@gentoo.org>
3442
3443 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3444 * sysdeps/x86_64/memset_chk.S: Likewise.
3445
5ed848f3
DM
34462012-04-07 David S. Miller <davem@davemloft.net>
3447
3448 * elf/elf.h (R_SPARC_WDISP10): Define.
3449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3450 R_SPARC_SIZE32.
3451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3452 R_SPARC_SIZE64 and R_SPARC_H34.
3453
96154cd8
CD
34542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3455
3456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3457 conditions and remove no longer applicable assertion.
3458
9904dc47
L
34592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 * bits/byteswap.h: Include <features.h>.
3462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3464
f8887d0a
L
34652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 * bits/byteswap.h (__bswap_16): Removed.
3468 Include <bits/byteswap-16.h> to get __bswap_16.
3469 * sysdeps/i386/bits/byteswap.h: Likewise.
3470 * sysdeps/s390/bits/byteswap.h: Likewise.
3471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3472 * bits/byteswap-16.h: New file.
3473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3474 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3475 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3476 * string/Makefile (headers): Add bits/byteswap-16.h.
3477
62470f60
PP
34782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3479
3480 [BZ #13895]
3481 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3482 extra indirection.
3483 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3484 * nss/tst-nss-static.c: New.
3485
4dad7bab
RM
34862012-04-06 Robert Millan <rmh@gnu.org>
3487
3488 [BZ #6486]
3489 * manual/llio.texi (File Position Primitive): lseek
3490 refers to WHENCE when it really means OFFSET.
3491
e9142a17
AJ
34922012-04-06 Andreas Jaeger <aj@suse.de>
3493
2c040eff
AJ
3494 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3495 strncmp declarations.
3496
e9142a17
AJ
3497 * abilist/libc.abilist: Add __poll and __ppoll.
3498
ff9f1c5f
DM
34992012-04-05 David S. Miller <davem@davemloft.net>
3500
dcd2ae90
DM
3501 * scripts/check-local-headers.sh: Accept a host triplet in the
3502 path matched by the exclude regexp.
3503
993eb054
DM
3504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3505 definition.
3506 * sysdeps/powerpc/powerpc32/dl-machine.h
3507 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3508 * sysdeps/s390/s390-32/dl-machine.h
3509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3510 * sysdeps/sparc/sparc32/dl-machine.h
3511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3512 * sysdeps/sparc/sparc64/dl-machine.h
3513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3514
ff9f1c5f
DM
3515 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3516 lazy binding.
48e2e132 3517 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3518 undefined symbol errors.
3519
48e2e132 3520 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3521 DT_NEEDED entries.
3522
e80d6f94
MM
35232012-04-05 Michael Matz <matz@suse.de>
3524
3525 [BZ #13592]
3526 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3527
349fa79f
AJ
35282012-04-05 Andreas Jaeger <aj@suse.de>
3529
3530 [BZ #13908]
3531 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3532 comment.
3533
f402708f
KK
35342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3535
3536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3537 which ROUND is no valid rounding mode.
3538
2ecccfc9
KK
35392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3540
3541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3542 read again.
3543 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3544
8a53f50f
KK
35452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3546
3547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3548 an exception using FPU order intentionally.
3549
35502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3551
3552 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3553 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3554 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3555 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3556
d653abb7
SJ
35572012-04-05 Simon Josefsson <simon@josefsson.org>
3558
3559 [BZ #12340]
3560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3561 EINVAL when BUFLEN is too smal.
3562
c3b1bf7d
TS
35632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3564
3565 [BZ #13553]
3566 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3567 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3568
b1aa60f3
AJ
35692012-04-03 Andreas Jaeger <aj@suse.de>
3570
c3b1bf7d 3571 [BZ #13938]
67f60a26
AJ
3572 * manual/setjmp.texi (System V contexts): Fix sentence.
3573
b1aa60f3
AJ
3574 [BZ #13926]
3575 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3576 New macro for this case.
3577 [!__GNUC__] (__bswap_64): New inline function for this case.
3578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3579 * bits/byteswap.h: Likewise.
3580 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3581 ull, guard with __GLIBC_HAVE_LONG_LONG.
3582
3583 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3584 __GLIBC_HAVE_LONG_LONG.
3585
3586 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3587 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3588
39c59c35
TMQMF
35892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3590
3591 [BZ #13691]
3592 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3593 inptr and inend, rather than using last_ch.
3594
135ffda8
DM
35952012-04-02 David S. Miller <davem@davemloft.net>
3596
3597 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3598 * stdio-common/printf-parse.h (read_int): Change return type to
3599 'int', return -1 on INT_MAX overflow.
3600 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3601 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3602 overflows INT_MAX. Check for overflow of in-format-string precision
3603 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3604 SIZE_MAX not INT_MAX for integer overflow test.
3605 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3606 skip the construct in the format string but do not record anything.
3607 * stdio-common/bug22.c: Adjust to test both width/prevision
3608 INT_MAX overflow as well as total length INT_MAX overflow. Check
3609 explicitly for proper errno values.
3610
228c019e
TS
36112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3612
302cadd3
TS
3613 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3614 CHAR_MAX.
3615 * string/test-strcmp.c [! WIDE]: Likewise.
3616 * time/tst-mktime2.c: Likewise for INT_MAX.
3617 * string/test-string.h: #include <sys/param.h> for MIN.
3618
228c019e
TS
3619 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3620 * sysdeps/i386/init-first.c (init): Likewise.
3621 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3622 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3623 * sysdeps/sh/init-first.c (init): Likewise.
3624
cfa633f5
UD
36252012-04-01 Ulrich Drepper <drepper@gmail.com>
3626
3627 * po/ru.po: Update from translation team.
d1635ef8 3628 * po/vi.po: Likewise.
cfa633f5 3629
6cd0a5ea
SP
36302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3631
3632 * resolv/nss_dns/dns-host.c: Merge copyright years.
3633
4b43400f
LD
36342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3635
3636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3637 Optimize memcpy with prefetch if
3638 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3639 src, dst pointers have unequal 16 byte alignments.
3640
48c41d04
SP
36412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
3643 [BZ #13928]
3644 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3645 from a CNAME entry and return the minimum ttl for the query.
3646 (gaih_getanswer_slice): Likewise.
3647
b8dc394d
JL
36482012-03-30 Jeff Law <law@redhat.com>
3649
3650 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3651 due to long keys.
3652 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3653 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3654
2f5a5ed0
JL
3655 * resolv/nss_dns/dns-host.c: Update copyright year.
3656
1d39e359
UD
36572012-03-30 Ulrich Drepper <drepper@gmail.com>
3658
c030f70c 3659 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3660 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3661
1d39e359
UD
3662 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3663 comments for sendmmsg.
3664
36652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3666
3667 [BZ #13691]
3668 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3669 with only 1 character between 0x0041 and 0x01b0.
3670 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3671 * wcsmbs/tst-mbsnrtowcs.c: New file.
3672
20fde227
DM
36732012-03-29 David S. Miller <davem@davemloft.net>
3674
3675 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3676 small copies by hand.
3677
984a4237
JL
36782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
3680 [BZ #13761]
3681 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3682 _nss_compat_initgroups_dyn): Fall back to malloc/free
3683 for large group memberships.
3684
18c9d62b
DM
36852012-03-28 David S. Miller <davem@davemloft.net>
3686
88d85d4f
DM
3687 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3688 that branches into memcpy.
3689 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3692 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3694 bits.
3695 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3696 implementation too.
3697 * sysdeps/sparc/mempcpy.S: New file.
3698
e5aa83e1
DM
3699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3700 the IFUNC routine in the libc case.
3701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3702
88570753
DM
3703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3705 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3706 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3707 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3708 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3709 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3710 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3711
249d7567
DM
3712 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3713 loop to 256 bytes instead of 64 bytes and fix test signedness.
3714
18c9d62b
DM
3715 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3716 * sysdeps/sparc/sparc32/Makefile: rather than here...
3717 * sysdeps/sparc/sparc64/Makefile: and here.
3718
05f3d1f6
UD
37192012-03-28 Ulrich Drepper <drepper@gmail.com>
3720
3721 * malloc/mallocbug.c: Avoid warnings about unused variables.
3722
86ae07a8
JL
37232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3724
3725 [BZ #13760]
3726 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3727 in the right place. Discard and retry query if response is
3728 larger than input buffer size.
3729
41bf21a1
JM
37302012-03-28 Joseph Myers <joseph@codesourcery.com>
3731
d6270972
JM
3732 [BZ #369]
3733 [BZ #2678]
3734 [BZ #3866]
3735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3736 x for large integer exponent.
3737 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3738 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3739 sign of result as needed afterwards.
3740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3742 result for underflowing pow the same as for overflow.
3743 (__kernel_standard_l): Handle powl overflow and underflow here
3744 rather than calling __kernel_standard.
3745 * math/libm-test.inc (pow_test): Add more tests.
3746
414fca03 3747 [BZ #3868]
41bf21a1
JM
3748 [BZ #13879]
3749 [BZ #13910]
3750 [BZ #13911]
3751 [BZ #13912]
3752 [BZ #13913]
3753 [BZ #13915]
3754 [BZ #13916]
3755 [BZ #13917]
3756 [BZ #13918]
3757 [BZ #13919]
3758 [BZ #13920]
3759 [BZ #13921]
3760 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3761 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3762 (__kernel_standard_l): New function.
3763 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3764 __kernel_standard.
3765 * math/w_acosl.c (__acosl): Likewise.
3766 * math/w_asinl.c (__asinl): Likewise.
3767 * math/w_atan2l.c (__atan2l): Likewise.
3768 * math/w_atanhl.c (__atanhl): Likewise.
3769 * math/w_coshl.c (__coshl): Likewise.
3770 * math/w_exp10l.c (__exp10l): Likewise.
3771 * math/w_exp2l.c (__exp2l): Likewise.
3772 * math/w_fmodl.c (__fmodl): Likewise.
3773 * math/w_hypotl.c (__hypotl): Likewise.
3774 * math/w_j0l.c (__j0l, __y0l): Likewise.
3775 * math/w_j1l.c (__j1l, __y1l): Likewise.
3776 * math/w_jnl.c (__jnl, __ynl): Likewise.
3777 * math/w_lgammal.c (__lgammal): Likewise.
3778 * math/w_log10l.c (__log10l): Likewise.
3779 * math/w_log2l.c (__log2l): Likewise.
3780 * math/w_logl.c (__logl): Likewise.
3781 * math/w_powl.c (__powl): Likewise.
3782 * math/w_remainderl.c (__remainderl): Likewise.
3783 * math/w_scalbl.c (sysv_scalbl): Likewise.
3784 * math/w_sinhl.c (__sinhl): Likewise.
3785 * math/w_sqrtl.c (__sqrtl): Likewise.
3786 * math/w_tgammal.c (__tgammal): Likewise.
3787 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3788 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3789 * math/libm-test.inc (acos_test): Add more tests.
3790 (acosh_test): Likewise.
3791 (asin_test): Likewise.
3792 (atanh_test): Likewise.
3793 (exp_test): Likewise.
3794 (exp10_test): Likewise.
3795 (exp2_test): Likewise.
3796 (expm1_test): Likewise.
3797 (lgamma_test): Likewise.
3798 (log_test): Likewise.
3799 (log10_test): Likewise.
3800 (log1p_test): Likewise.
3801 (log2_test): Likewise.
3802 (pow_test): Do not allow some spurious overflow exceptions.
3803 (sqrt_test): Add more tests.
3804 (tgamma_test): Likewise.
3805 (y0_test): Likewise.
3806 (y1_test): Likewise.
3807 (yn_test): Likewise.
3808
dd62fda6
AB
38092012-03-27 Anton Blanchard <anton@samba.org>
3810
3811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3812 MAP_HUGETLB.
3813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3816
1e3cdfda
AJ
38172012-03-27 David S. Miller <davem@davemloft.net>
3818
b855ab85
DM
3819 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3820
1e3cdfda
AJ
3821 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3822 have-as-vis3 check.
3823
38242012-03-27 Andreas Jaeger <aj@suse.de>
3825
3826 * sysdeps/x86_64/elf/configure.in: Moved to ...
3827 * sysdeps/x86_64/configure.in: ... here.
3828 * sysdeps/x86_64/elf/start.S: Moved to ...
3829 * sysdeps/x86_64/start.S: ... here.
3830 * sysdeps/x86_64/elf/configure: Delete.
3831
3832 * sysdeps/x86_64/configure.in: Merge contents from
3833 sysdeps/i386/configure.in (without i686 check).
3834
3835 * sysdeps/i386/elf/Versions: Merge into ...
3836 * sysdeps/i386/Versions: ... this.
3837 * sysdeps/i386/elf/Versions: Delete file.
3838 * sysdeps/i386/elf/start.S: Moved to ...
3839 * sysdeps/i386/start.S: ...here.
3840 * sysdeps/i386/elf/configure.in: Merge into...
3841 * sysdeps/i386/configure.in: ...here.
3842 * sysdeps/i386/elf/configure.in: Delete file.
3843 * sysdeps/i386/elf/configure: Delete file.
3844
3845 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3846 * debug/backtracesyms.c: ... here.
3847 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3848 * debug/backtracesymsfd.c: ... here.
3849 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3850 * sysdeps/generic/ifunc-sel.h: ... here.
3851
3852 * sysdeps/unix/i386/start.c: Delete file.
3853 * sysdeps/unix/sparc/start.c: Delete file.
3854 * sysdeps/unix/start.c: Delete file.
3855
3856 * sysdeps/sh/elf/configure.in: Moved to ...
3857 * sysdeps/sh/configure.in: ... here.
3858 * sysdeps/sh/elf/start.S: Moved to ...
3859 * sysdeps/sh/start.S: ... here.
3860 * sysdeps/sh/elf/configure: Delete file.
3861
3862 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3863 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3864 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3865 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3866 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3867 * sysdeps/powerpc/powerpc64/start.S: here.
3868 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3869 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3870 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3871 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3872 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3873
3874 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3875 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3876 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3877 * sysdeps/powerpc/powerpc32/start.S: ... here.
3878 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3879 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3880 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3881
3882 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3883 * sysdeps/powerpc/ifunc-sel.h: ... here.
3884 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3885 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3886
3887 * sysdeps/sparc/elf/configure.in: Moved to ...
3888 * sysdeps/sparc/configure.in: ... here.
3889 * sysdeps/sparc/elf/configure: Delete file.
3890 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3891 * sysdeps/sparc/sparc32/start.S: ... here.
3892 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3893 * sysdeps/sparc/sparc64/start.S: ... here.
3894 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3895 * sysdeps/sparc/sparc32/Makefile: ... this.
3896 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3897 * sysdeps/sparc/sparc64/Makefile: ... this.
3898
3899 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3900 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3901 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3902 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3903 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3904 * sysdeps/s390/s390-32/setjmp.S: ... here.
3905 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3906 * sysdeps/s390/s390-32/configure.in: ... here.
3907 * sysdeps/s390/s390-32/elf/configure: Delete file.
3908 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3909 * sysdeps/s390/s390-32/start.S: ... here.
3910
3911 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3912 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3913 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3914 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3915 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3916 * sysdeps/s390/s390-64/setjmp.S: ... here.
3917 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3918 * sysdeps/s390/s390-64/configure.in: ... here
3919 * sysdeps/s390/s390-64/elf/configure: Delete file.
3920 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3921 * sysdeps/s390/s390-64/start.S: ... here.
3922 * sysdeps/s390/s390-64/elf/configure: Delete.
3923
3924 * configure.in: Remove support for elf directories in sysdeps.
3925
3926 * configure: Regenerated.
3927 * sysdeps/i386/configure: Regenerated.
3928 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3929 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3930 * sysdeps/s390/s390-32/configure: Regenerated.
3931 * sysdeps/s390/s390-64/configure: Regenerated.
3932 * sysdeps/sh/configure: Regenerated.
3933 * sysdeps/sparc/configure: Regenerated.
3934 * sysdeps/x86_64/configure: Regenerated.
3935
a3f61311
AS
39362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3937
c876e002
AS
3938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3939
a3f61311
AS
3940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3941 denormal result into account.
3942
ac4c54f0
RM
39432012-03-25 Roland McGrath <roland@hack.frob.com>
3944
3945 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3946 Reported by Allan McRae <allan@archlinux.org>.
3947
6a9b9c02
JL
39482012-03-23 Jeff Law <law@redhat.com>
3949
3950 * nss/getnssent.c (__nss_getent): Fix typo.
3951
4c42a0c1
DM
39522012-03-23 David S. Miller <davem@davemloft.net>
3953
3954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3955
1532c7ac
L
39562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3959 to pad to uint64_t for each field.
3960 (dl_tls_index): Replace unsigned long with uint64_t.
3961
3ff42526
PP
39622012-03-23 Daniel Jacobowitz <dmj@google.com>
3963 Paul Pluzhnikov <ppluzhnikov@google.com>
3964
3965 [BZ #6528]
3966 * grp/Makefile (otherlibs): Don't set it.
3967 * inet/Makefile (otherlibs): Likewise.
3968 * login/Makefile (otherlibs): Likewise.
3969 * nscd/Makefile (otherlibs): Likewise.
3970 * posix/Makefile (otherlibs): Likewise.
3971 * pwd/Makefile (otherlibs): Likewise.
3972 * rt/Makefile (otherlibs): Likewise.
3973 * sunrpc/Makefile (otherlibs): Likewise.
3974 * nss/Makefile (otherlibs): Likewise.
3975 Add libnss_files to routines and static-only-routines.
3976 ($(objpfx)getent): Remove rule.
3977 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3978 static-only-routines.
3979
7c69cd14
JM
39802012-03-22 Joseph Myers <joseph@codesourcery.com>
3981
3982 [BZ #13892]
3983 * math/s_cexp.c: Include <float.h>.
3984 (__cexp): Handle exp result overflowing not necessarily
3985 overflowing both real and imaginary parts of result.
3986 * math/s_cexpf.c: Likewise.
3987 * math/s_cexpl.c: Likewise.
3988 * math/libm-test.inc (cexp_test): Add more tests.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
81b035fe
L
39922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 * include/link.h (ELFW): New macro.
3995 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3996 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3997
1da7940c
L
39982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4001 with uint64_t.
4002
b749dbb9
L
40032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4006 declaration.
4007 (struct La_x32_retval): Likewise.
4008
2ff87f3f
L
40092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 * sysdeps/x86_64/preconfigure.in: New file.
4012 * sysdeps/x86_64/preconfigure: New generated file.
4013
c0df8e69
JM
40142012-03-22 Joseph Myers <joseph@codesourcery.com>
4015
48e44791
JM
4016 [BZ #13824]
4017 * math/e_exp2l.c: Include <float.h>.
4018 (__ieee754_exp2l): Handle overflow and underflow cases
4019 separately. Only pass fractional part of argument to
4020 __ieee754_expl.
4021 * math/libm-test.inc (exp2_test): Add more tests.
4022
c0df8e69
JM
4023 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4024 negating x to take absolute value.
4025 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4026 Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4029 Likewise.
4030 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4031 computing low part if x was negated.
4032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4033
c8e43ba7
L
40342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4037 la_x32_gnu_pltexit.
4038 (pltexit): Cast int_retval to ptrdiff_t.
4039 * elf/tst-auditmod3b.c: Likewise.
4040 * elf/tst-auditmod4b.c: Likewise.
4041 * elf/tst-auditmod5b.c: Likewise.
4042 * elf/tst-auditmod6b.c: Likewise.
4043 * elf/tst-auditmod6c.c: Likewise.
4044 * elf/tst-auditmod7b.c: Likewise.
4045
4046 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4047 and x32_gnu_pltexit.
4048
4049 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4050 __ELF_NATIVE_CLASS.
4051 (La_x32_regs): New macro.
4052 (La_x32_retval): Likewise.
4053 (la_x32_gnu_pltenter): New function prototype.
4054 (la_x32_gnu_pltexit): Likewise.
4055
7998fa78
AS
40562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4057
dcb33988
AS
4058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4059 exponent.
4060
233fc563
AS
4061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4062
7998fa78
AS
4063 * configure.in (libc_cv_cc_nofma): Check for option to disable
4064 generation of FMA instructions.
4065 * configure: Regenerate.
4066 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4067 * sysdeps/ieee754/dbl-64/Makefile: New file.
4068 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4069 Remove brandred-fma4.
4070 (CFLAGS-brandred-fma4.c): Remove.
4071 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4073 define.
4074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4075 define.
4076
8e95c99a
L
40772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4080 LLONG_MAX != LONG_MAX.
4081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4082 (_fitoa_word): Likewise.
4083 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4084 LLONG_MAX != LONG_MAX.
4085 * stdio-common/_itowa.h: Include <_itoa.h>.
4086 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4087 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4088 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4089 only if not defined.
4090 (_ITOA_WORD_TYPE): Likewise.
4091 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4092 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4093
6f4db457
DM
40942012-03-21 David S. Miller <davem@davemloft.net>
4095
4096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4097
7785fe5a
L
40982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4101 of x86_64 when setting libc_cv_slibdir, libdir and
4102 libc_cv_localedir.
4103 * sysdeps/unix/sysv/linux/configure: Regenerated.
4104
4535cd55
JM
41052012-03-21 Joseph Myers <joseph@codesourcery.com>
4106
4107 * manual/lang.texi (Old Varargs): Remove section.
4108 (How Variadic): Update menu.
4109 (va_start): Do not mention varargs.h.
4110
17228132
TS
41112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4112 Joseph Myers <joseph@codesourcery.com>
4113
4114 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4115 link test.
4116 * configure: Regenerated.
4117
8149f976
TS
41182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4119
05f3d1f6
UD
4120 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4121 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4122 conformtest.pl
8149f976 4123
1a4ac776
JM
41242012-03-21 Joseph Myers <joseph@codesourcery.com>
4125
be22ce65
JM
4126 * NOTES: Remove.
4127 * Makefile (files-for-dist): Remove NOTES.
4128 (NOTES): Remove rule.
4129 * README: Don't refer to NOTES.
4130 * manual/creature.texi: Don't include macros.texi.
4131 * manual/intro.texi (creature.texi): Remove comment referring to
4132 NOTES.
4133
40b601fb
JM
4134 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4135 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4136 * configure: Regenerated.
4137 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4138 LIBC_TRY_CC_OPTION.
4139 (libc_cv_as_i686): Likewise.
4140 (libc_cv_cc_avx): Likewise.
4141 (libc_cv_cc_sse2avx): Likewise.
4142 (libc_cv_cc_fma4): Likewise.
4143 (libc_cv_cc_novzeroupper): Likewise.
4144 * sysdeps/i386/configure: Regenerated.
4145
1a4ac776
JM
4146 [BZ #13883]
4147 * sysdeps/i386/fpu/s_cexp.S: Remove.
4148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4149 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4150 * math/libm-test.inc (cexp_test): Add more tests.
4151 * sysdeps/i386/fpu/libm-test-ulps: Update.
4152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4153
a458e7fe
AM
41542012-03-21 Allan McRae <allan@archlinux.org>
4155
4156 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4157
0cb7efc5
JM
41582012-03-21 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13871]
4161 * math/w_exp2.c: Do not include <float.h>.
4162 (o_threshold, u_threshold): Remove.
4163 (__exp2): Calculate result before checking finiteness and calling
4164 __kernel_standard.
4165 * math/w_exp2f.c: Likewise.
4166 * math/w_exp2l.c: Likewise.
4167 * math/libm-test.inc (exp2_test): Require overflow exception for
4168 1e6 input.
2460d3aa
JM
4169
4170 [BZ #3866]
4171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4172 range of signed 64-bit integers before using fistpll. Remove
4173 checks for whether integers fit in mantissa bits.
4174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4175 the range of signed 32-bit integers before using fistpl. Remove
4176 checks for whether integers fit in mantissa bits.
4177 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4178 (__ieee754_powl): Test for y outside the range of signed 64-bit
4179 integers before using fistpll. Reduce 64-bit values to 63-bit
4180 ones as needed.
4181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4182 divide-by-zero is raised for zero to large negative powers.
4183 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4184 (__ieee754_powl): Test for y outside the range of signed 64-bit
4185 integers before using fistpll. Reduce 64-bit values to 63-bit
4186 ones as needed.
4187 * math/libm-test.inc (pow_test): Add more tests.
4188
eb96ffb0
L
41892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4190
4191 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4192 <stdio-common/_itoa.h>.
4193 * debug/segfault.c: Likewise.
4194 * elf/dl-cache.c: Likewise.
4195 * elf/dl-minimal.c: Likewise.
4196 * elf/dl-misc.c: Likewise.
4197 * elf/dl-sysdep.c: Likewise.
4198 * elf/dl-version.c: Likewise.
4199 * elf/rtld.c: Likewise.
4200 * hurd/hurdsock.c: Likewise.
4201 * hurd/lookup-retry.c: Likewise.
4202 * malloc/malloc.c: Likewise.
4203 * malloc/mtrace.c: Likewise.
4204 * nscd/nscd_getgr_r.c: Likewise.
4205 * nscd/nscd_getpw_r.c: Likewise.
4206 * nscd/nscd_getserv_r.c: Likewise.
4207 * posix/getopt_init.c: Likewise.
4208 * posix/wordexp.c: Likewise.
4209 * stdio-common/_itoa.c: Likewise.
4210 * stdio-common/printf_fphex.c: Likewise.
4211 * stdio-common/vfprintf.c: Likewise.
4212 * string/_strerror.c: Likewise.
4213 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4214 * sysdeps/i386/i686/hp-timing.h: Likewise.
4215 * sysdeps/mach/_strerror.c: Likewise.
4216 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4217 * sysdeps/mach/hurd/sethostid.c: Likewise.
4218 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4219 * sysdeps/mach/xpg-strerror.c: Likewise.
4220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4221 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4222 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4223 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4224 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4225 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4227 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4228 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4229 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4230 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4231 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4233 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4234 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4235 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4237 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4240 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4241
4242 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4243
4244 * stdio-common/_itoa.h: Moved to ...
4245 * sysdeps/generic/_itoa.h: Here.
4246
4247 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4248
4249 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4250 instead of "_itoa.h" and "_itowa.h".
4251 * stdio-common/vfprintf.: Likewise.
4252
d1af992d
L
42532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4256 <bits/wordsize.h>.
4257 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4258 (__signbit): Likwise.
4259 (llrintf): Likwise.
4260 (llrint): Likwise.
4261
114883e0
L
42622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4263
4264 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4265 __WORDSIZE != 64.
4266
c135cc1b
JM
42672012-03-20 Joseph Myers <joseph@codesourcery.com>
4268
4269 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4270 OVERFLOW_EXCEPTION_OK.
4271 * math/libm-test.inc ("Philosophy"): Update comment about
4272 exception testing.
4273 (OVERFLOW_EXCEPTION): Define.
4274 (OVERFLOW_EXCEPTION_OK): Likewise.
4275 (INVALID_EXCEPTION_OK): Renumber.
4276 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4277 (IGNORE_ZERO_INF_SIGN): Likewise.
4278 (test_exceptions): Handle FE_OVERFLOW.
4279 (exp10_test): Expect overflow exceptions.
4280 (exp2_test): Likewise.
4281 (expm1_test): Likewise.
4282 (nextafter_test): Likewise.
4283 (pow_test): Likewise.
4284 (scalbn_test): Likewise.
4285 (scalbln_test): Likewise.
4286
95443d88
L
42872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4288
4289 * sysdeps/x86_64/bits/atomic.h
4290 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4291 64bit integer.
4292 (atomic_exchange_acq): Likewise.
4293 (__arch_exchange_and_add_body): Likewise.
4294 (__arch_add_body): Likewise.
4295 (atomic_add_negative): Likewise.
4296 (atomic_add_zero): Likewise.
4297
490df6c4
L
42982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4299
c2722551 4300 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4301 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4302
5e52b189
L
43032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4304
4305 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4306 Check __x86_64__ instead of __WORDSIZE.
4307
a9879d4c
L
43082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4309
4310 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4311
5df98260
DM
43122012-03-19 David S. Miller <davem@davemloft.net>
4313
e1497744
DM
4314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4315
5df98260
DM
4316 * sysdeps/sparc/fpu/fenv_private.h: New file.
4317 * sysdeps/sparc/fpu/math_private.h: Use it.
4318 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4319 Remove.
4320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4321 (libc_feholdexcept_setroundl): Remove.
4322 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4323 Remove.
4324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4326
b4c35121
L
43272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4330 int64_t instead of long int.
4331 (INSERT_WORDS64): Likwise.
4332
56965fd7
L
43332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4336 _Unwind_GetCFA return to _Unwind_Ptr first.
4337
83d1aec8
JM
43382012-03-19 Joseph Myers <joseph@codesourcery.com>
4339
1897ad44
JM
4340 [BZ #13629]
4341 * math/s_clog.c: Include <float.h>.
4342 (__clog): Scale large or subnormal inputs.
4343 * math/s_clogf.c: Likewise.
4344 * math/s_clogl.c: Likewise.
4345 * math/s_clog10.c: Include <float.h>.
4346 (M_LOG10_2): Define.
4347 (__clog10): Scale large or subnormal inputs.
4348 * math/s_clog10f.c: Likewise.
4349 * math/s_clog10l.c: Likewise.
4350 * math/libm-test.inc (clog_test): Add more tests.
4351 (clog10_test): Likewise.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4354
7726d6a9
JM
4355 [BZ #11451]
4356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4357 x and y.
4358 * math/libm-test.inc (atan2_test): Add another test.
4359
83d1aec8
JM
4360 * Makerules (common-objdir-compile): Remove.
4361 * sysdeps/unix/Makefile (config-generated): Do not add
4362 $(unix-generated) to variable.
4363 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4364 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4365 Remove rule.
4366 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4367 Likewise.
4368 [generic bits/local_lim.h] (before-compile): Do not append to
4369 variable.
4370 [generic bits/local_lim.h] (common-generated): Likewise.
4371 [generic sys/param.h] (before-compile): Do not append to variable.
4372 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4373 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4376 include.
4377 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4378 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4379 [generic sys/param.h] ($(addprefix
4380 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4381 [generic sys/param.h] (common-generated): Do not append to
4382 variable.
4383 [generic sys/param.h] (sysdep_headers): Likewise.
4384 [generic bits/errno.h] (before-compile): Do not append to
4385 variable.
4386 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4387 rule.
4388 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4389 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4390 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4391 [generic bits/errno.h] (common-generated): Do not append to
4392 variable.
4393 [generic bits/ioctls.h] (before-compile): Do not append to
4394 variable.
4395 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4396 rule.
4397 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4398 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4400 rule.
4401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4402 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4403 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4404 [generic bits/ioctls.h] (common-generated): Do not append to
4405 variable.
4406 [generic sys/syscall.h] (syscall.h): Remove variable.
4407 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4408 rule.
4409 [generic sys/syscall.h] (before-compile): Do not append to
4410 variable.
4411 [generic sys/syscall.h] (common-generated): Likewise.
4412 * sysdeps/unix/errnos-tmpl.c: Remove file.
4413 * sysdeps/unix/errnos.awk: Likewise.
4414 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4415 * sysdeps/unix/ioctls.awk: Likewise.
4416 * sysdeps/unix/mk-local_lim.c: Likewise.
4417 * sysdeps/unix/snarf-ioctls: Likewise.
4418
4851a949
RH
44192012-03-19 Richard Henderson <rth@twiddle.net>
4420
bd37f2ee
RH
4421 * sysdeps/i386/fpu/fenv_private.h: New file.
4422 * sysdeps/i386/fpu/math_private.h: Use it.
4423 (math_opt_barrier, math_force_eval): Remove.
4424 (libc_feholdexcept_setround_53bit): Remove.
4425 (libc_feupdateenv_53bit): Remove.
4426 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4427 (math_opt_barrier, math_force_eval): Remove.
4428 (libc_feholdexcept): Remove.
4429 (libc_feholdexcept_setround): Remove.
4430 (libc_fetestexcept, libc_fesetenv): Remove.
4431 (libc_feupdateenv_test): Remove.
4432 (libc_feupdateenv, libc_feholdsetround): Remove.
4433 (libc_feresetround): Remove.
4434
d0adc922
RH
4435 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4436 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4437
0fe0f1f8
RH
4438 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4439 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4440 (libc_feupdateenv_testl): New.
4441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4442 (libc_feupdateenv_testf): New.
4443 (libc_feupdateenv): Use libc_feupdateenv_test.
4444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4446
eb92c487
RH
4447 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4448 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4449 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4450 (libc_feresetround_noex): New.
4451 (libc_feresetround_noexf): New.
4452 (libc_feresetround_noexl): New.
4453 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4454 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4455 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4457 SET_RESTORE_ROUND.
4458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4460 (__cos): Likewise.
4461 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4462 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4463 SET_RESTORE_ROUND_NOEX.
4464 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4465 SET_RESTORE_ROUND_NOEXF.
4466 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4467 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4468 (libc_feholdsetroundf): New.
4469 (libc_feresetround, libc_feresetroundf): New.
4470
7d2e8012
RH
4471 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4472 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4473 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4474
b4dabbb4
RH
4475 * sysdeps/generic/math_private.h: Include <fenv.h>.
4476 (default_libc_feholdexcept): New.
4477 (default_libc_feholdexcept_setround): New.
4478 (default_libc_fesetenv, default_libc_feupdateenv): New.
4479 (libc_feholdexcept): Only define if undefined.
4480 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4482 (libc_feholdexcept_setroundl): Likewise.
4483 (libc_feholdexcept_setround_53bit): Likewise.
4484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4487 (libc_feupdateenv_53bit): Likewise.
4488 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4489 (libc_feholdexcept): Convert from macro to inline function.
4490 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4491 (libc_fesetenv, libc_feupdateenv): Likewise.
4492
4851a949
RH
4493 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4494 not previously defined.
4495 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4496 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4497 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4498 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4499 * sysdeps/ieee754/flt-32/math_private.h: New file.
4500 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4501 math_private.h below SET_FLOAT_WORD.
4502 (__isnan, __isinf_ns, __finite): Remove.
4503 (__isnanf, __isinf_nsf, __finitef): Remove.
4504
e79d442e
AS
45052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4506
4507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4508
90b80344
DM
45092012-03-17 David S. Miller <davem@davemloft.net>
4510
4511 [BZ #6471]
4512 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4513 for 2.16.
4514
edc21804
DM
45152012-03-16 David S. Miller <davem@davemloft.net>
4516
77e927af
DM
4517 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4518 warnings.
4519
374976dd
DM
4520 [BZ #6471]
4521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4522 properly.
4523 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4524 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4525 sysdep_routines when subdir is sysvipc.
4526 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4527 __getshmlba helper.
4528
edc21804
DM
4529 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4530
473c3ef3
L
45312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4534 [__LP64__].
4535
eb0f39b6
L
45362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4537
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4539 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4540 (__lround): Renamed to ...
4541 (__llround): This. Replace long int with long long int.
4542 Define lround functions as aliases of llround functions.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4544
6b6cd74b
L
45452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4548 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4549 adresses to uintptr_t. Replace "long int" and "unsigned long
4550 int" with "greg_t" on va_arg.
4551
f1a77b01
L
45522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4553
4554 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4555 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4556
4557 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4558 Move e_machine check before EI_CLASS check. Handle x32
4559 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4560 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4561 SKIP_EM_IA_64 and include
4562 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4563
4564 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4565 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4566 (add_system_dir): New macro.
4567
4568 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4569 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4570
11b90b9f
JM
45712012-03-16 Joseph Myers <joseph@codesourcery.com>
4572
c36e1d23
JM
4573 [BZ #2551]
4574 [BZ #2552]
4575 [BZ #2553]
4576 [BZ #2554]
4577 [BZ #2562]
4578 [BZ #2563]
4579 [BZ #2565]
4580 [BZ #2566]
4581 [BZ #2576]
4582 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4583 (y0): Likewise.
4584 * math/w_j0f.c (j0f): Likewise.
4585 (y0f): Likewise.
4586 * math/w_j0l.c (__j0l): Likewise.
4587 (__y0l): Likewise.
4588 * math/w_j1.c (j1): Likewise.
4589 (y1): Likewise.
4590 * math/w_j1f.c (j1f): Likewise.
4591 (y1f): Likewise.
4592 * math/w_j1l.c (__j1l): Likewise.
4593 (__y1l): Likewise.
4594 * math/w_jn.c (jn): Likewise.
4595 (yn): Likewise.
4596 * math/w_jnf.c (jnf): Likewise.
4597 (ynf): Likewise.
4598 * math/w_jnl.c (__jnl): Likewise.
4599 (__ynl): Likewise.
4600 * math/libm-test.inc (j0_test): Add more tests.
4601 (j1_test): Likewise.
4602 (jn_test): Likewise. Add trailing semicolon to existing test.
4603 (y0_test): Likewise.
4604 (y1_test): Likewise.
4605 * sysdeps/i386/fpu/libm-test-ulps: Update.
4606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4607
11b90b9f
JM
4608 [BZ #13851]
4609 [BZ #13854]
4610 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4611 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4612 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4614 (__tanl): Set errno for infinite argument.
4615 * sysdeps/i386/fpu/mptan.c: Remove.
4616 * sysdeps/i386/fpu/s_tan.S: Likewise.
4617 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4618 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4619 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4620 * math/libm-test.inc (tan_test): Add more tests and enable more
4621 tests for double and long double.
4622 * sysdeps/i386/fpu/libm-test-ulps: Update.
4623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4624
6a1bd2a1
JK
46252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4626
4627 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4628 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4629
10a803e0
RM
46302012-03-16 Roland McGrath <roland@hack.frob.com>
4631
4632 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4633 * configure.in: Use it for both main tree and add-ons.
4634 * configure: Regenerated.
4635
f196c7f7
L
46362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4637
4638 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4639
8848d99d
JM
46402012-03-16 Joseph Myers <joseph@codesourcery.com>
4641
96cbe7f4
JM
4642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4643 in comment.
4644
8848d99d
JM
4645 [BZ #13851]
4646 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4647 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4651 infinite argument.
4652 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4654 != 0 for prec == 2.
4655 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4656 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4657 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4658 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4659 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4660 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4661 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4662 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4663 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4664 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4665 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4666 * math/libm-test.inc (cos_test): Add more tests and enable more
4667 tests for long double.
4668 (sin_test): Likewise.
4669 (sincos_test): Likewise.
4670 * sysdeps/i386/fpu/libm-test-ulps: Update.
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672
dd7f4703
DM
46732012-03-16 David S. Miller <davem@davemloft.net>
4674
4675 * sysdeps/sparc/fpu/math_private.h: New file.
4676
006f1daa
DM
46772012-03-15 David S. Miller <davem@davemloft.net>
4678
c0c83bc8
DM
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4680 file.
e6a62e18 4681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4683 file.
e6a62e18
DM
4684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4690 sysdep routines.
4691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4692
88cb87d9
DM
4693 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4694 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4695
006f1daa 4696 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4698 sparc-ifunc.h
006f1daa 4699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4701 Likewise.
4702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4703 Likewise.
006f1daa
DM
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4708 Likewise.
006f1daa
DM
4709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4714 Likewise.
4715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4716 Likewise.
006f1daa
DM
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4741
11e0098e
AS
47422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4743
4744 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4745 scaling.
4746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4747
e85b09d0
AJ
47482012-03-15 Andreas Jaeger <aj@suse.de>
4749
4750 [BZ #13852]
4751 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4752 ieee754/flt-32 implementation for sin, cos and sincos.
4753 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4754 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4755 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4756 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4757 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4758 ieee754/flt-32 implementation for tan.
4759
4760 * math/libm-test.inc (cos_test): Enable some large input tests for
4761 float as well
4762 (sin_test): Likewise.
4763 (sincos_test): Likewise.
4764 (tan_test): Add tests for large input.
4765
4766 * sysdeps/i386/fpu/libm-test-ulps: Update.
4767
81c64153
AJ
47682012-03-15 Andreas Jaeger <aj@suse.de>
4769
4770 [BZ #13658]
4771 * math/libm-test.inc (cos_test): Add more test cases.
4772 (sin_test): Likewise.
4773 (sincos_test): Likewise.
4774
7bbfa5c6
AJ
47752012-03-15 Andreas Jaeger <aj@suse.de>
4776
4777 [BZ #13837]
4778 * math/libm-test.inc (cos_test): Add a test case for large input
4779 value.
4780 (sin_test): Likewise.
4781 (sincos_test): Likewise.
4782
47832012-03-15 Andreas Jaeger <aj@suse.de>,
4784 Joseph Myers <joseph@codesourcery.com>
4785
4786 [BZ #13658]
0671f479 4787 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4788 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4789 * sysdeps/i386/fpu/branred.c: Likewise.
4790 * sysdeps/i386/fpu/dosincos.c: Likewise.
4791 * sysdeps/i386/fpu/mpa.c: Likewise.
4792 * sysdeps/i386/fpu/s_cos.S: Likewise.
4793 * sysdeps/i386/fpu/s_sin.S: Likewise.
4794 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4795 * sysdeps/i386/fpu/sincos32.c: Likewise.
4796
4797 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4798 Define.
4799 (libc_feupdateenv_53bit): Define.
4800 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4801 Define.
4802 (libc_feupdateenv_53bit): Define.
4803
4804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4805 53 bit (without extend i386 double precision).
4806
4807 * math/libm-test.inc (sincos_test): Add tests for large input.
4808 (sin): Likewise.
4809 (cos): Likewise.
4810
4811 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4812
9cad04ea
AS
48132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
f7062b9a
DM
48172012-03-15 David S. Miller <davem@davemloft.net>
4818
4819 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4835 file.
f7062b9a 4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4838 file.
f7062b9a 4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4841 file.
f7062b9a 4842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4844 file.
f7062b9a
DM
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4847 fmin/fmax sysdep routines.
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4849
7bd951ff
DM
48502012-03-14 David S. Miller <davem@davemloft.net>
4851
559398ab
DM
4852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4881 routines.
4882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4883 file.
559398ab 4884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4886 file.
559398ab 4887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4889 file.
559398ab 4890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4892 file.
559398ab 4893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4895 file.
559398ab 4896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4898 file.
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4900 file.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4902 file.
4903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4904 file.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4906 New file.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4908 file.
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4910 file.
559398ab 4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4913 file.
559398ab 4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4916 file.
559398ab 4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4919 file.
559398ab 4920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4922 VIS3 routines.
559398ab
DM
4923
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4925 New file.
4926
5a1c1e32
DM
4927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4928
eae47a36
DM
4929 * sysdeps/sparc/configure.in: New file.
4930 * sysdeps/sparc/configure: Generate.
4931 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4932 * configure: Regenerate.
4933 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4934 * config.make.in (have-as-vis3): New.
4935 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4936 available use -Av9d instead of -Av9a.
4937 * sysdeps/sparc/sparc64/Makefile: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4940 New file.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4942 file.
4943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4944 New file.
4945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4946 file.
eae47a36
DM
4947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4952
c0c83bc8
DM
4953 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4954 fzeros/fnegs to load 0x80000000 into a float register instead of
4955 using the stack.
7bd951ff
DM
4956 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4957
bd951ccb
JM
49582012-03-14 Joseph Myers <joseph@codesourcery.com>
4959
4960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4961 bits/syscall.h.
4962 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4963 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4964 ($(inst_includedir)/bits/syscall.h): Remove rule.
4965 ($(objpfx)bits/syscall.d): Include instead of
4966 $(objpfx)syscall-list.d.
4967 (generated): Change syscall-list.h and syscall-list.d to
4968 bits/syscall.h and bits/syscall.d.
4969
bb4e6db2
RM
49702012-03-14 Roland McGrath <roland@hack.frob.com>
4971
4972 [BZ #13846]
4973 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4974
aa4a2ae1
JM
49752012-03-14 Joseph Myers <joseph@codesourcery.com>
4976
e456826d
JM
4977 [BZ #13841]
4978 * math/s_csqrt.c: Include <float.h>.
4979 (__csqrt): Scale large or subnormal inputs.
4980 * math/s_csqrtf.c: Likewise.
4981 * math/s_csqrtl.c: Likewise.
4982 * math/libm-test.inc (csqrt_test): Add more tests.
4983 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4985
aa4a2ae1
JM
4986 [BZ #13840]
4987 * math/libm-test.inc (hypot_test): Add more tests.
4988
7c10fd35
DM
49892012-03-13 David S. Miller <davem@davemloft.net>
4990
4991 [BZ #13840]
4992 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4993 double-precision for the calculation instead of scaling.
4994
f453b98b
JM
49952012-03-13 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4998 manipulate bits before adding and subtracting TWO52[sx].
4999 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5001 Likewise.
5002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5003
09a3453f
DM
50042012-03-13 David S. Miller <davem@davemloft.net>
5005
8e59da90
DM
5006 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5007 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5009 rtld-global-offsets.h
5010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5011
2a8ab7f2
DM
5012 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5013 large parameters.
5014
10f62770
DM
5015 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5016
5f0bdb18
DM
5017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5018 'err' in the ifdef scope in which it is actually used.
5019
09a3453f
DM
5020 * nss/nss_db/db-init.c: Include string.h
5021
b4b2eb5e
DM
50222012-03-12 David S. Miller <davem@davemloft.net>
5023
98bb2f1c
DM
5024 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5025 masking out of the most significant byte of random value used.
5026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5027 Fix coding style in previous change.
5028
b4b2eb5e
DM
5029 * sysdeps/unix/sysv/linux/kernel-features.h
5030 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5031 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5032 expression.
5033 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5034 later.
5035
6e226b09
DM
50362012-03-11 David S. Miller <davem@davemloft.net>
5037
a1bcbd40
DM
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5039 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5041 for 'resultvar' otherwise things get truncated on 64-bit.
5042
cb9d6174
DM
5043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5044 Fix masking out of the most significant byte of random value used.
5045
6e226b09
DM
5046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5047
058c132d
AS
50482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5049
5050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5051
2d2cd515
DM
50522012-03-09 David S. Miller <davem@davemloft.net>
5053
5054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5055 variables with appropriate CPP guards.
5056 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5057 frame pointer, not the stack pointer. Correct layout comments. Fix test
5058 on resulting framesize and the management of the outregs buffer for pltexit.
5059 Preserve floating point return values across _dl_call_pltexit call.
5060 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5061 framesize and the management of the outregs buffer for pltexit.
5062 Preserve floating point return values across _dl_call_pltexit
5063 call.
5064 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5065 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5066 (print_exit): Fix format string for return register value.
5067
9a07f9d0
JM
50682012-03-10 Joseph Myers <joseph@codesourcery.com>
5069
5070 * sunrpc/Makefile (others): Add rpcgen.
5071 ($(objpfx)rpcgen): Remove special build rule and dependency on
5072 libc.
5073 * sunrpc/rpcgen.c: New file.
5074
547b5e30
PE
50752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5076
c524201a
PE
5077 [BZ #13673]
5078 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5079 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5080 * sysdeps/i386/crti.S: Likewise.
5081 * sysdeps/i386/crtn.S: Likewise.
5082 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5084 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5085 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5086 * sysdeps/sh/crti.S: Likewise.
5087 * sysdeps/sh/crtn.S: Likewise.
5088 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5089
7b6235f2
PE
5090 [BZ #13673]
5091 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5092 with URL.
5093 * locale/programs/locfile-kw.gperf: Likewise.
5094 * locale/programs/charmap-kw.h: Regenerated.
5095 * locale/programs/locfile-kw.h: Likewise.
5096
547b5e30
PE
5097 [BZ #13673]
5098 * intl/plural.y: Replace FSF snail mail address with URL.
5099 * intl/plural.c: Regenerated.
5100
5f0a5dae
RH
51012012-03-09 Richard Henderson <rth@twiddle.net>
5102
5103 * include/math_private.h: Remove file.
5104 * math/math_private.h: Move file ...
5105 * sysdeps/generic/math_private.h: ... here.
5106
b8c03620
RH
5107 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5108 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5109 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5110
4e234f5d 5111 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5112 and <math_private.h>.
5113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5153 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5157 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5158 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5163 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5164 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5165 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5167 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5168 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5169 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5183 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5184 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5201 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5204 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5206 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5207 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5208 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5209 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5210 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5211 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5213 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5214 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5215 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5216 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5218 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5219 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5220 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5221 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5222 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5223 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5224 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5225 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5226 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5227 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5229 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5230 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5232 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5233 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5234 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5236 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5237 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5238 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5239 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5240 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5241 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5242 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5243 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5245 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5246 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5247 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5248 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5250 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5251 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5252 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5253 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5254 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5255 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5256 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5257 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5258 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5259 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5260 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5261 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5262 * sysdeps/ieee754/k_standard.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5378 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5382 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5385 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5390 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5411 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5412 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5413 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5423 * sysdeps/ieee754/s_lib_version.c: Likewise.
5424 * sysdeps/ieee754/s_matherr.c: Likewise.
5425 * sysdeps/ieee754/s_signgam.c: Likewise.
5426 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5428 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5429 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5430 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5431 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5432 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5433 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5434 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5435 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5436 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5437 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5440 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5443 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5444 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5447
1991fa03
JM
54482012-03-09 Joseph Myers <joseph@codesourcery.com>
5449
5450 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5451 * sunrpc/rpc_main.c: Likewise.
5452 * sunrpc/rpc_svcout.c: Likewise.
5453
60d6f5a6
DM
54542012-03-09 David S. Miller <davem@davemloft.net>
5455
5456 * include/math_private.h: New file.
5457
4962050e
JM
54582012-03-09 Joseph Myers <joseph@codesourcery.com>
5459
02a6f887
JM
5460 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5461 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5462 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5463 from <bits/socket_type.h>.
5464 (enum __socket_type): Don't define here.
5465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5467 bits/socket_type.h.
5468
c6e013c1
JM
5469 [BZ #13566]
5470 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5471 checking __USE_GNU.
5472
4962050e
JM
5473 * Makerules ($(inst_includedir)/%.h): New rule.
5474 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5475 (install-others): Remove variable setting.
5476 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5477
38842f45
RH
54782012-03-08 Richard Henderson <rth@twiddle.net>
5479
67bb6da6
RH
5480 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5481 from macro to inline function; merge with the
5482 !__LIBC_INTERNAL_MATH_INLINES version.
5483 (__ieee754_sqrtf): Likewise.
5484
15194b4b
RH
5485 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5486 to inline function.
5487 (__rintf, __floor, __floorf): Likewise.
5488
64e21ede
RH
5489 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5490 macro to inline function.
5491 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5492
38842f45
RH
5493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5494 not <math/math_private.h>.
5495
c64bf5fe
DM
54962012-03-08 David S. Miller <davem@davemloft.net>
5497
5498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5499 copyright year.
5500 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5501
82d86f28
TS
55022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5503
5504 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5505 normalization.
5506 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5507 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5508
aea5d727
UD
55092012-03-08 Ulrich Drepper <drepper@gmail.com>
5510
5511 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5512 be defined individually, they must be defined as a block. Define
5513 S for printing a string instead of hidint the different by using a
5514 macro for adding the 'l'.
5515 * stdio-common/tst-fphex-wide.c: Adjust.
5516
70bca0a3
MP
55172012-03-07 Marek Polacek <polacek@redhat.com>
5518
5519 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5520
65b81130
MP
55212012-03-08 Marek Polacek <polacek@redhat.com>
5522
5523 [BZ #13806]
5524 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5525 * stdio-common/tst-fphex.c: Define a few macros to make the
5526 test reusable. Use them.
5527 * stdio-common/tst-fphex-wide.c: New file.
5528
07037eeb
JM
55292012-03-08 Joseph Myers <joseph@codesourcery.com>
5530
a7a93d50
JM
5531 [BZ #6911]
5532 * manual/macros.texi (gnusystems): New macro.
5533 (nongnusystems): Likewise.
5534 (gnulinuxhurdsystems): Likewise.
5535 (gnuhurdsystems): Likewise..
5536 (gnulinuxsystems): Likewise.
5537 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5538 variants of the GNU system, not "GNU system".
5539 * manual/conf.texi: Likewise.
5540 * manual/errno.texi: Likewise. Update example of errno macro
5541 expansion.
5542 * manual/filesys.texi: Likewise.
5543 (getumask): Document as specific to GNU/Hurd.
5544 * manual/install.texi: Likewise. Reword some references to
5545 GNU/Linux.
5546 * manual/intro.texi: Likewise.
5547 * manual/io.texi: Likewise.
5548 (File Name Portability): Detail which constraints are inapplicable
5549 to all GNU systems and which are only inapplicable to GNU/Hurd.
5550 * manual/job.texi: Likewise.
5551 * manual/llio.texi: Likewise.
5552 (O_NOCTTY): Document as present on GNU/Linux.
5553 * manual/maint.texi: Likewise.
5554 * manual/memory.texi: Likewise.
5555 * manual/pattern.texi: Likewise.
5556 * manual/pipe.texi: Likewise.
5557 * manual/process.texi: Likewise.
5558 * manual/resource.texi: Likewise.
5559 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5560 child on GNU/Hurd.
5561 * manual/setjmp.texi: Likewise.
5562 * manual/signal.texi: Likewise.
5563 * manual/startup.texi: Likewise.
5564 * manual/stdio.texi: Likewise.
5565 * manual/terminal.texi: Likewise.
5566 (ONLCR): Document as POSIX.
5567 (OXTABS): Document availability on GNU/Linux as XTABS.
5568 (ONOEOT): Document availability separately from other bits.
5569 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5570 * manual/time.texi: Likewise.
5571 * manual/users.texi: Likewise.
5572 * INSTALL: Regenerated.
5573 * sysdeps/gnu/errlist.c: Regenerated.
5574
07037eeb
JM
5575 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5576 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5577 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5578 puts.
5579 * configure: Regenerated.
5580
d1d3431a
JM
55812012-03-07 Joseph Myers <joseph@codesourcery.com>
5582
af6a1e37
JM
5583 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5584 default includes instead of AC_HEADER_CHECK.
5585 * sysdeps/i386/configure: Regenerated.
5586
d1d3431a
JM
5587 [BZ #10716]
5588 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5589 * math/s_cacoshf.c (__cacoshf): Likewise.
5590 * math/s_cacoshl.c (__cacoshl): Likewise.
5591 * math/s_casinh.c (__casinh): Set signs of result from argument.
5592 * math/s_casinhf.c (__casinhf): Likewise.
5593 * math/s_casinhl.c (__casinhl): Likewise.
5594 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5595 (casinh_test): Add more tests.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5598
482ff4da
UD
55992012-03-07 Ulrich Drepper <drepper@gmail.com>
5600
872fda05
UD
5601 * po/zh_TW.po: Update from translation team.
5602
a4300c7a
UD
5603 * login/Makefile (distribute): Remove variable.
5604 * catgets/Makefile: Likewise.
5605 * mach/Makefile: Likewise.
5606 * malloc/Makefile: Likewise.
5607 * misc/Makefile: Likewise.
5608 * iconv/Makefile: Likewise.
5609 * nscd/Makefile: Likewise.
5610 * hurd/Makefile: Likewise.
5611 * manual/Makefile: Likewise.
5612 * locale/Makefile: Likewise.
5613 * intl/Makefile: Likewise.
5614 * conform/Makefile: Likewise.
5615 * nss/Makefile: Likewise.
5616 * time/Makefile: Likewise.
5617 * soft-fp/Makefile: Likewise.
5618 * dirent/Makefile: Likewise.
5619 * gmon/Makefile: Likewise.
5620 * po/Makefile: Likewise.
5621 * rt/Makefile: Likewise.
5622 * socket/Makefile: Likewise.
5623 * math/Makefile: Likewise.
5624 * signal/Makefile: Likewise.
5625 * debug/Makefile: Likewise.
5626 * elf/Makefile: Likewise.
5627 * timezone/Makefile: Likewise.
5628 * stdlib/Makefile: Likewise.
5629 * iconvdata/Makefile: Likewise.
5630 * sunrpc/Makefile: Likewise.
5631 * io/Makefile: Likewise.
5632 * argp/Makefile: Likewise.
5633 * inet/Makefile: Likewise.
5634 * hesiod/Makefile: Likewise.
5635 * grp/Makefile: Likewise.
5636 * csu/Makefile: Likewise.
5637 * wctype/Makefile: Likewise.
5638 * crypt/Makefile: Likewise.
5639 * libio/Makefile: Likewise.
5640 * string/Makefile: Likewise.
5641 * nis/Makefile: Likewise.
5642 * resolv/Makefile: Likewise.
5643 * stdio-common/Makefile: Likewise.
5644 * wcsmbs/Makefile: Likewise.
5645 * dlfcn/Makefile: Likewise.
5646 * posix/Makefile: Likewise.
5647
3b7c4e74 5648 [BZ #6959]
482ff4da
UD
5649 * timezone/Makefile: Don't install timezone files, just the programs
5650 and scripts.
5651
f72ed77d
UD
56522012-03-06 Ulrich Drepper <drepper@gmail.com>
5653
a000466f
UD
5654 * nss/databases.def: Add missing gshadow entry.
5655
f72ed77d
UD
5656 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5657
a53b7a4e
MP
56582012-03-06 Marek Polacek <polacek@redhat.com>
5659
5660 [BZ #13726]
5661 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5662 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5663 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5664 * stdio-common/tst-long-dbl-fphex.c: New file.
5665
e9258400
DM
56662012-03-06 David S. Miller <davem@davemloft.net>
5667
5668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5669 (set_obp_int): New function.
5670 (get_obp_int): New function.
5671 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5673 Avoid unused variable warnings on 'val' and use builtin_expect.
5674 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5675 __builtin_expect.
e9258400
DM
5676 (INLINE_CLONE_SYSCALL): Likewise.
5677
3bd2c723
DM
56782012-03-05 David S. Miller <davem@davemloft.net>
5679
5680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5681
bbb78d03
AS
56822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5683
884c5db4
AS
5684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5685
bbb78d03
AS
5686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5687 only for |x| >= 40.
5688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5689
1c9f702a 56902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5691
5692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5693 Replace gettimeofday with __vdso_gettimeofday.
5694
7be16f82
RM
5695 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5696 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5697 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5698
5699 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5700 time with __vdso_time.
5701
ed58a00f
JM
57022012-03-05 Joseph Myers <joseph@codesourcery.com>
5703
5704 * manual/lang.texi (size_t): Note types to which size_t may be
5705 equivalent with the GNU C Library, but do not describe when
5706 differences between them are significant.
5707
30ee4ced
AJ
57082012-03-05 Andreas Jaeger <aj@suse.de>
5709
5710 * sysdeps/i386/fpu/libm-test-ulps: Update.
5711
b7cd39e8
JM
57122012-03-05 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #3976]
5715 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5716 (__ieee754_pow): Save and restore rounding mode and use
5717 round-to-nearest for main computations.
5718 * math/libm-test.inc (pow_test_tonearest): New function.
5719 (pow_test_towardzero): Likewise.
5720 (pow_test_downward): Likewise.
5721 (pow_test_upward): Likewise.
5722 (main): Call the new functions.
5723 * sysdeps/i386/fpu/libm-test-ulps: Update.
5724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5725
5726 [BZ #3976]
5727 * math/libm-test.inc (cosh_test_tonearest): New function.
5728 (cosh_test_towardzero): Likewise.
5729 (cosh_test_downward): Likewise.
5730 (cosh_test_upward): Likewise.
5731 (sinh_test_tonearest): Likewise.
5732 (sinh_test_towardzero): Likewise.
5733 (sinh_test_downward): Likewise.
5734 (sinh_test_upward): Likewise.
5735 (main): Call the new functions.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738
6c6a98c9
TV
57392012-03-05 Tom de Vries <tom@codesourcery.com>
5740
5741 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5742 default stack guard is set in last bytes.
5743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5744
21bb2d2e 57452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5746
21bb2d2e 5747 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5748
21bb2d2e
AJ
5749 [BZ #13656]
5750 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5751 possibly allocate from heap instead of stack.
5752 * stdio-common/bug-vfprintf-nargs.c: New file.
5753 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5754
c6922934
AS
57552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5756
5757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5758
bc957d53
MP
57592012-03-03 Marek Polacek <polacek@redhat.com>
5760
5761 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5762 * math/math_private.h: Likewise.
5763 * stdlib/tst-strtod.c: Likewise.
5764 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5765 * sysdeps/x86_64/bits/atomic.h: Likewise.
5766
6358490d
DM
57672012-03-02 David S. Miller <davem@davemloft.net>
5768
5769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5773 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5774 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5775 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5776 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5777
01ae168d
RM
57782012-03-02 Roland McGrath <roland@hack.frob.com>
5779
d9a17c07
RM
5780 [BZ #13792]
5781 * manual/examples/README: New file, says the example source files
5782 can be used under GPL>=2.
5783 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5784 line containing just "*/".
5785 * manual/examples/add.c: Add copyright header (GPL>=2).
5786 * manual/examples/argp-ex1.c: Likewise.
5787 * manual/examples/argp-ex2.c: Likewise.
5788 * manual/examples/argp-ex3.c: Likewise.
5789 * manual/examples/argp-ex4.c: Likewise.
5790 * manual/examples/atexit.c: Likewise.
5791 * manual/examples/db.c: Likewise.
5792 * manual/examples/dir.c: Likewise.
5793 * manual/examples/dir2.c: Likewise.
5794 * manual/examples/execinfo.c: Likewise.
5795 * manual/examples/filecli.c: Likewise.
5796 * manual/examples/filesrv.c: Likewise.
5797 * manual/examples/fmtmsgexpl.c: Likewise.
5798 * manual/examples/genpass.c: Likewise.
5799 * manual/examples/inetcli.c: Likewise.
5800 * manual/examples/inetsrv.c: Likewise.
5801 * manual/examples/isockad.c: Likewise.
5802 * manual/examples/longopt.c: Likewise.
5803 * manual/examples/memopen.c: Likewise.
5804 * manual/examples/memstrm.c: Likewise.
5805 * manual/examples/mkfsock.c: Likewise.
5806 * manual/examples/mkisock.c: Likewise.
5807 * manual/examples/mygetpass.c: Likewise.
5808 * manual/examples/pipe.c: Likewise.
5809 * manual/examples/popen.c: Likewise.
5810 * manual/examples/rprintf.c: Likewise.
5811 * manual/examples/search.c: Likewise.
5812 * manual/examples/select.c: Likewise.
5813 * manual/examples/setjmp.c: Likewise.
5814 * manual/examples/sigh1.c: Likewise.
5815 * manual/examples/sigusr.c: Likewise.
5816 * manual/examples/stpcpy.c: Likewise.
5817 * manual/examples/strdupa.c: Likewise.
5818 * manual/examples/strftim.c: Likewise.
5819 * manual/examples/strncat.c: Likewise.
5820 * manual/examples/subopt.c: Likewise.
5821 * manual/examples/swapcontext.c: Likewise.
5822 * manual/examples/termios.c: Likewise.
5823 * manual/examples/testopt.c: Likewise.
5824 * manual/examples/testpass.c: Likewise.
5825 * manual/examples/timeval_subtract.c: Likewise.
5826
01ae168d
RM
5827 [BZ #13792]
5828 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5829 function to ...
5830 * manual/timeval_subtract.c.texi: ... here, new file.
5831
49efa33d
DM
58322012-03-02 David S. Miller <davem@davemloft.net>
5833
5834 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5835
28afd92d
JM
58362012-03-02 Joseph Myers <joseph@codesourcery.com>
5837
804360ed
JM
5838 [BZ #3976]
5839 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5840 (__sin): Save and restore rounding mode and use round-to-nearest
5841 for all computations.
5842 (__cos): Save and restore rounding mode and use round-to-nearest
5843 for all computations.
5844 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5845 <fenv.h>.
5846 (tan): Save and restore rounding mode and use round-to-nearest for
5847 all computations.
5848 * math/libm-test.inc (cos_test_tonearest): New function.
5849 (cos_test_towardzero): Likewise.
5850 (cos_test_downward): Likewise.
5851 (cos_test_upward): Likewise.
5852 (sin_test_tonearest): Likewise.
5853 (sin_test_towardzero): Likewise.
5854 (sin_test_downward): Likewise.
5855 (sin_test_upward): Likewise.
5856 (tan_test_tonearest): Likewise.
5857 (tan_test_towardzero): Likewise.
5858 (tan_test_downward): Likewise.
5859 (tan_test_upward): Likewise.
5860 (main): Call the new functions.
5861 * sysdeps/i386/fpu/libm-test-ulps: Update.
5862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863
a6d06d7b
JM
5864 [BZ #10135]
5865 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5866 small n, then large n, before computing and testing k+n.
5867 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5869 Likewise.
5870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5871 Likewise.
5872 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5873 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5880 * math/libm-test.inc (scalbn_test): Add more tests.
5881 (scalbln_test): Likewise.
5882
07e12bb3
JM
5883 * manual/filesys.texi (mode_t): Describe constraints on size and
5884 signedness, not exact equivalence to a particular type.
5885 (ino_t): Likewise.
5886 (ino64_t): Likewise.
5887 (dev_t): Likewise.
5888 (nlink_t): Likewise.
5889 (blkcnt_t): Likewise.
5890 (blkcnt64_t): Likewise.
5891 * manual/llio.texi (off_t): Likewise.
5892
28afd92d
JM
5893 [BZ #3976]
5894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5895 (__ieee754_exp): Save and restore rounding mode and use
5896 round-to-nearest for all computations.
5897 * math/libm-test.inc (exp_test_tonearest): New function.
5898 (exp_test_towardzero): Likewise.
5899 (exp_test_downward): Likewise.
5900 (exp_test_upward): Likewise.
5901 (main): Call the new functions.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
b1eeb65d
CD
59052012-03-01 Chris Demetriou <cgd@google.com>
5906
5907 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5908 have predictable order.
5909
53362a4b
DM
59102012-03-01 David S. Miller <davem@davemloft.net>
5911
3c969083
DM
5912 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5913
759707de
DM
5914 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5915 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5916 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5917 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5918
dfdb8ff2
DM
5919 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5920 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5921 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5923 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5924 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5925 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5926 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5927 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5928
ead89f96
DM
5929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5930
7f66bd07
DM
5931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5932 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5933 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5934
53362a4b
DM
5935 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5936 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5938 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5939 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5942 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5943 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5944 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5945 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5951 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5952 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5953 * sysdeps/sparc/elf/configure: Regenerated.
5954
7b1902cb
JM
59552012-03-01 Joseph Myers <joseph@codesourcery.com>
5956
bec039bc
JM
5957 * configure.in (AS, LD): Require binutils 2.20 or later.
5958 * configure: Regenerated.
5959 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5960 as required minimum version.
5961 * INSTALL: Regenerated.
5962
7b1902cb
JM
5963 [BZ #2541]
5964 [BZ #4108]
5965 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5966 before squaring exponent.
5967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5968 bottom long double and 27 bits of top long double before squaring
5969 exponent.
5970 * math/libm-test.inc (erfc_test): Add more tests.
5971 * sysdeps/i386/fpu/libm-test-ulps: Update.
5972 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974
f775c276
KT
59752012-03-01 Kai Tietz <ktietz@redhat.com>
5976
5977 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5978 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5979 containing bit-fields.
5980 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5981 * soft-fp/single.h (_FP_UNION_S): Likewise.
5982 * soft-fp/double.h (_FP_UNION_D): Likewise.
5983
5b8a4d4a
JM
59842012-02-29 Joseph Myers <joseph@codesourcery.com>
5985
0bab47b6
JM
5986 [BZ #13786]
5987 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5988 not include ../strcmp.S.
5989 [USE_AS_STRNCASECMP_L]: Likewise.
5990 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5991 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5992 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5993 (__strncasecmp_l_ia32): Define as alias to
5994 __strncasecmp_l_nonascii.
5995
0fcad3e2
JM
5996 [BZ #5794]
5997 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000
5b8a4d4a
JM
6001 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6003
8fdceb2e
JL
60042012-02-29 Jeff Law <law@redhat.com>
6005
6006 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6007 out of bounds read.
6008
1f393a11
MP
60092012-02-29 Marek Polacek <polacek@redhat.com>
6010
6011 [BZ #13706]
6012 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6013 * elf/Makefile: Add rules to run tst-unused-dep.out.
6014
8847f037
DM
60152012-02-28 David S. Miller <davem@davemloft.net>
6016
6017 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6018 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6022 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6023
169d7f11
JM
60242012-02-29 Joseph Myers <joseph@codesourcery.com>
6025
6026 * math/libm-test.inc (llround_test): Move one test from
6027 lround_test. Use TEST_f_L in moved test.
6028 (lround_test): Move misplaced test to llround_test. Add testcase
6029 from bug 2561.
6030
39adf059
UD
60312012-02-28 Ulrich Drepper <drepper@gmail.com>
6032
6033 * sysdeps/x86_64/fpu/e_expf.S: New file.
6034 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6035
71b5d1c5
SB
60362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6037
6038 [BZ #13637]
6039 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6040 of remain_len that may cause incomplete multi-byte character and
6041 false match.
6042 * posix/bug-regex33.c: New file.
6043 * posix/Makefile (tests): Add bug-regex33.
6044
1f77f049
JM
60452012-02-28 Joseph Myers <joseph@codesourcery.com>
6046
6047 * manual/macros.texi: New file.
6048 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6049 * manual/libc.texinfo: Include macros.texi.
6050 * manual/creatute.texi: Likewise.
6051 * manual/install.texi: Likewise.
6052 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6053 @glibcadj{} in references to the GNU C Library.
6054 * manual/charset.texi: Likewise.
6055 * manual/conf.texi: Likewise.
6056 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6057 when not using those macros.
6058 * manual/creature.texi: Likewise.
6059 * manual/crypt.texi: Likewise.
6060 * manual/errno.texi: Likewise.
6061 * manual/filesys.texi: Likewise.
6062 * manual/header.texi: Likewise.
6063 * manual/install.texi: Likewise.
6064 * manual/intro.texi: Likewise.
6065 * manual/io.texi: Likewise.
6066 * manual/job.texi: Likewise.
6067 * manual/lang.texi: Likewise.
6068 * manual/libc.texiinfo: Likewise.
6069 * manual/llio.texi: Likewise.
6070 * manual/locale.texi: Likewise.
6071 * manual/maint.texi: Likewise.
6072 * manual/math.texi: Likewise.
6073 * manual/memory.texi: Likewise.
6074 * manual/message.texi: Likewise.
6075 * manual/nss.texi: Likewise.
6076 * manual/pattern.texi: Likewise.
6077 * manual/process.texi: Likewise.
6078 * manual/resource.texi: Likewise.
6079 * manual/search.texi: Likewise.
6080 * manual/setjmp.texi: Likewise.
6081 * manual/signal.texi: Likewise.
6082 * manual/socket.texi: Likewise.
6083 * manual/startup.texi: Likewise.
6084 * manual/stdio.texi: Likewise.
6085 * manual/string.texi: Likewise.
6086 * manual/sysinfo.texi: Likewise.
6087 * manual/syslog.texi: Likewise.
6088 * manual/terminal.texi: Likewise.
6089 * manual/time.texi: Likewise.
6090 * manual/users.texi: Likewise.
6091 * INSTALL: Regenerated.
6092 * NOTES: Regenerated.
d40c5d54 6093 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6094
450bf206
AS
60952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6096
6097 * include/dirent.h: Include <dirstream.h> before
6098 <dirent/dirent.h>.
6099
741a235b
DM
61002012-02-28 David S. Miller <davem@davemloft.net>
6101
6102 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6103 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6104 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6105 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6106
d6b5aa58
DM
61072012-02-27 David S. Miller <davem@davemloft.net>
6108
1aff59a3
DM
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6113
d6b5aa58
DM
6114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6115 frame pointer instead of stack pointer relative arg slot.
6116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6119
433f48bf
CD
61202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6121
6122 [BZ #3992]
6123 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6124
d674b76d
DM
61252012-02-27 David S. Miller <davem@davemloft.net>
6126
6127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6131 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6132 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6133 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6134 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6135
0e7727f7
JM
61362012-02-27 Joseph Myers <joseph@codesourcery.com>
6137
6138 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6139 later. Allow versions 5-9.
43be4ca2 6140 * configure: Regenerated.
0e7727f7
JM
6141 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6142 required minimum version and 4.6 as recommended version. Do not
6143 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6144 * INSTALL: Regenerated.
0e7727f7 6145
a78bc654
DM
61462012-02-27 David S. Miller <davem@davemloft.net>
6147
428d5830
DM
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6152 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6154 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6156
a78bc654
DM
6157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6158 manipulate bits before adding and subtracting TWO112[sx].
6159 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6160
4579f81c
RM
61612012-02-27 Roland McGrath <roland@hack.frob.com>
6162
36c8acb4
RM
6163 [BZ #13775]
6164 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6165 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6166 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6167 being in POSIX, because they are in 1003.1-2008.
6168
84ad622b
RM
6169 * rt/tst-aio.c: Include <fcntl.h>.
6170 * rt/tst-aio7.c: Likewise.
6171 * rt/tst-aio64.c: Likewise.
6172
4579f81c
RM
6173 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6174
abd923db
JM
61752012-02-27 Joseph Myers <joseph@codesourcery.com>
6176
6177 * manual/install.texi (--with-headers): Describe headers as
6178 interface headers, not private headers.
6179 (Specific advice for GNU/Linux systems): Describe use of headers
6180 from "make headers_install", not private headers from older
6181 kernels.
43be4ca2 6182 * INSTALL: Regenerated.
abd923db
JM
6183 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6184 Change to 2.6.19.
6185 * sysdeps/unix/sysv/linux/configure: Regenerated.
6186
6664049b
JM
6187 * manual/llio.texi (fclean): Remove documentation.
6188
bb8b6697
JM
6189 * manual/Makefile (libc-texi-generated): New variable. Include
6190 version.texi.
6191 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6192 $(libc-texi-generated), not duplicated list of files.
6193 (version.texi, stamp-version): New rules.
6194 (realclean): Remove $(libc-texi-generated), not individual files
6195 from that list. Do not remove dir-add.texinfo.
6196 * manual/libc.texinfo: Comment out uses of edition numbers and
6197 references to printed manual. Remove last-updated dates.
6198 (EDITION): Comment out.
6199 (ISBN): Likewise.
6200 (VERSION, UPDATED): Remove.
6201 (version.texi): Include.
6202
12e5c3b9
AS
62032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6204
6205 * sysdeps/posix/spawni.c: Include <signal.h>.
6206 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6207 * sysdeps/pthread/aio_fsync.c: Likewise.
6208
4efeffc1 62092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6210
ba63ba08
UD
6211 * conform/Makefile (tests): Run only when not cross-compiling and
6212 when fast-check is not defined.
6213
d94a4670
UD
6214 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6215 * conform/data/limits.h-data: Fixes for POSIX2008.
6216 * conform/run-conformtest.sh: Run all tests.
6217 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6218 headers.
6219 * include/bits/dlfcn.h: Likewise.
6220 * include/langinfo.h: Likewise.
6221 * include/monetary.h: Likewise.
6222 * include/sys/poll.h: Likewise.
6223
6224 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6225 for __USE_GNU.
6226 * posix/spawn.h: Define __need_sigset_t.
6227 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6228 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6229 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6230 to get sigevent_t only.
6231 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6232 only for __USE_GNU.
6233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6234 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6235 process_vm_writev only for __USE_GNU.
6236 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6237
6238 * conform/Makefile: For now ignore errors from run-conformtest.
6239 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6240 POSIX to avoid namespace pollution. Don't prepend headers.
6241 * conform/data/aio.h-data: Fixes for POSIX testing.
6242 * conform/data/fcntl.h-data: Likewise.
6243 * conform/data/glob.h-data: Likewise.
6244 * conform/data/grp.h-data: Likewise.
6245 * conform/data/pthread.h-data: Likewise.
6246 * conform/data/pwd.h-data: Likewise.
6247 * conform/data/signal.h-data: Likewise.
6248 * conform/data/spawn.h-data: Likewise.
6249 * conform/data/stdio.h-data: Likewise.
6250 * conform/data/stdlib.h-data: Likewise.
6251 * conform/data/stropts.h-data: Likewise.
6252 * conform/data/sys/mman.h-data: Likewise.
6253 * conform/data/sys/stat.h-data: Likewise.
6254 * conform/data/sys/types.h-data: Likewise.
6255 * conform/data/sys/wait.h-data: Likewise.
6256 * conform/data/time.h-data: Likewise.
6257 * conform/data/unistd.h-data: Likewise.
6258 * conform/data/utime.h-data: Likewise.
6259
6260 * io/sys/stat.h: fchmod was always in POSIX.
6261 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6262 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6263 * rt/aio.h: Define __need_timespec before including <time.h>.
6264 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6265 struct. Add forward declaration of pthread_attr_t and use it in
6266 sigevent.
6267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6269 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6270 always remove CLK_TCK definition.
6271
c20105c3
AS
62722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6273
6274 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6275
7a270350
UD
62762012-02-25 Ulrich Drepper <drepper@gmail.com>
6277
31341567
UD
6278 * conform/run-conformtest.sh: New file.
6279 * conform/Makefile: Run run-conformtest for tests.
6280 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6281 support.
6282
6283 * conform/data/uchar.h-data: New file.
6284 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6285 * conform/data/arpa/inet.h-data: Likewise.
6286 * conform/data/assert.h-data: Likewise.
6287 * conform/data/complex.h-data: Likewise.
6288 * conform/data/cpio.h-data: Likewise.
6289 * conform/data/ctype.h-data: Likewise.
6290 * conform/data/dirent.h-data: Likewise.
6291 * conform/data/dlfcn.h-data: Likewise.
6292 * conform/data/errno.h-data: Likewise.
6293 * conform/data/fcntl.h-data: Likewise.
6294 * conform/data/float.h-data: Likewise.
6295 * conform/data/fmtmsg.h-data: Likewise.
6296 * conform/data/fnmatch.h-data: Likewise.
6297 * conform/data/ftw.h-data: Likewise.
6298 * conform/data/glob.h-data: Likewise.
6299 * conform/data/grp.h-data: Likewise.
6300 * conform/data/iconv.h-data: Likewise.
6301 * conform/data/inttypes.h-data: Likewise.
6302 * conform/data/langinfo.h-data: Likewise.
6303 * conform/data/libgen.h-data: Likewise.
6304 * conform/data/limits.h-data: Likewise.
6305 * conform/data/locale.h-data: Likewise.
6306 * conform/data/math.h-data: Likewise.
6307 * conform/data/monetary.h-data: Likewise.
6308 * conform/data/mqueue.h-data: Likewise.
6309 * conform/data/ndbm.h-data: Likewise.
6310 * conform/data/net/if.h-data: Likewise.
6311 * conform/data/netdb.h-data: Likewise.
6312 * conform/data/netinet/in.h-data: Likewise.
6313 * conform/data/nl_types.h-data: Likewise.
6314 * conform/data/poll.h-data: Likewise.
6315 * conform/data/pthread.h-data: Likewise.
6316 * conform/data/pwd.h-data: Likewise.
6317 * conform/data/regex.h-data: Likewise.
6318 * conform/data/sched.h-data: Likewise.
6319 * conform/data/search.h-data: Likewise.
6320 * conform/data/semaphore.h-data: Likewise.
6321 * conform/data/setjmp.h-data: Likewise.
6322 * conform/data/signal.h-data: Likewise.
6323 * conform/data/spawn.h-data: Likewise.
6324 * conform/data/stdarg.h-data: Likewise.
6325 * conform/data/stdio.h-data: Likewise.
6326 * conform/data/stdlib.h-data: Likewise.
6327 * conform/data/string.h-data: Likewise.
6328 * conform/data/strings.h-data: Likewise.
6329 * conform/data/stropts.h-data: Likewise.
6330 * conform/data/sys/ipc.h-data: Likewise.
6331 * conform/data/sys/mman.h-data: Likewise.
6332 * conform/data/sys/msg.h-data: Likewise.
6333 * conform/data/sys/resource.h-data: Likewise.
6334 * conform/data/sys/select.h-data: Likewise.
6335 * conform/data/sys/sem.h-data: Likewise.
6336 * conform/data/sys/shm.h-data: Likewise.
6337 * conform/data/sys/socket.h-data: Likewise.
6338 * conform/data/sys/stat.h-data: Likewise.
6339 * conform/data/sys/statvfs.h-data: Likewise.
6340 * conform/data/sys/time.h-data: Likewise.
6341 * conform/data/sys/timeb.h-data: Likewise.
6342 * conform/data/sys/times.h-data: Likewise.
6343 * conform/data/sys/types.h-data: Likewise.
6344 * conform/data/sys/uio.h-data: Likewise.
6345 * conform/data/sys/un.h-data: Likewise.
6346 * conform/data/sys/utsname.h-data: Likewise.
6347 * conform/data/sys/wait.h-data: Likewise.
6348 * conform/data/syslog.h-data: Likewise.
6349 * conform/data/tar.h-data: Likewise.
6350 * conform/data/termios.h-data: Likewise.
6351 * conform/data/utime.h-data: Likewise.
6352 * conform/data/utmpx.h-data: Likewise.
6353 * conform/data/varargs.h-data: Likewise.
6354 * conform/data/wchar.h-data: Likewise.
6355 * conform/data/wctype.h-data: Likewise.
6356 * conform/data/wordexp.h-data: Likewise.
6357
6358 * include/stropts.h: New file.
6359 * include/uchar.h: New file.
6360 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6361 * include/assert.h: Likewise.
6362 * include/ctype.h: Likewise.
6363 * include/dirent.h: Likewise.
6364 * include/dlfcn.h: Likewise.
6365 * include/fcntl.h: Likewise.
6366 * include/fnmatch.h: Likewise.
6367 * include/glob.h: Likewise.
6368 * include/grp.h: Likewise.
6369 * include/libio.h: Likewise.
6370 * include/locale.h: Likewise.
6371 * include/math.h: Likewise.
6372 * include/net/if.h: Likewise.
6373 * include/netdb.h: Likewise.
6374 * include/netinet/in.h: Likewise.
6375 * include/pthread.h: Likewise.
6376 * include/pwd.h: Likewise.
6377 * include/regex.h: Likewise.
6378 * include/sched.h: Likewise.
6379 * include/search.h: Likewise.
6380 * include/setjmp.h: Likewise.
6381 * include/signal.h: Likewise.
6382 * include/stdio.h: Likewise.
6383 * include/stdlib.h: Likewise.
6384 * include/string.h: Likewise.
6385 * include/sys/cdefs.h: Likewise.
6386 * include/sys/mman.h: Likewise.
6387 * include/sys/msg.h: Likewise.
6388 * include/sys/resource.h: Likewise.
6389 * include/sys/select.h: Likewise.
6390 * include/sys/socket.h: Likewise.
6391 * include/sys/stat.h: Likewise.
6392 * include/sys/statvfs.h: Likewise.
6393 * include/sys/time.h: Likewise.
6394 * include/sys/times.h: Likewise.
6395 * include/sys/uio.h: Likewise.
6396 * include/sys/utsname.h: Likewise.
6397 * include/sys/wait.h: Likewise.
6398 * include/termios.h: Likewise.
6399 * include/time.h: Likewise.
6400 * include/ulimit.h: Likewise.
6401 * include/unistd.h: Likewise.
6402 * include/utime.h: Likewise.
6403 * include/wchar.h: Likewise.
6404 * include/wctype.h: Likewise.
6405 * include/wordexp.h: Likewise.
6406
6407 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6408
7a270350
UD
6409 * time/time.h: TIME_UTC must be a macro.
6410 Make timespec_get available for ISO C11 only as well.
6411
7724defc
UD
64122012-02-24 Ulrich Drepper <drepper@gmail.com>
6413
6414 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6415 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6416
6b1d1d46
JM
64172012-02-24 Joseph Myers <joseph@codesourcery.com>
6418
6419 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6420
0f8bbd69
JM
64212012-02-24 Joseph Myers <joseph@codesourcery.com>
6422
6423 * manual/texinfo.tex: Update to version 2012-01-19.16.
6424
66ab80bc
JM
64252012-02-24 Joseph Myers <joseph@codesourcery.com>
6426
6427 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6428
74981cc5
RM
64292012-02-24 Roland McGrath <roland@hack.frob.com>
6430
ee968201
RM
6431 [BZ #13738]
6432 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6433 * manual/fdl-1.3.texi: New file.
6434 * manual/fdl-1.1.texi: File removed.
6435
74981cc5
RM
6436 [BZ #13738]
6437 * manual/libc.texinfo (FDL_VERSION): New @set.
6438 Use it for mention of FDL in cover text.
6439 (Documentation License): Use it in @include file name.
6440
7bb764bc
JM
64412012-02-22 Joseph Myers <joseph@codesourcery.com>
6442 Roland McGrath <roland@hack.frob.com>
6443
6444 [BZ #5461]
6445 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6446 not LONG_LONG_MAX and LONG_LONG_MIN.
6447 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6448 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6449 name.
6450 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6451
6cbeae47
JM
64522012-02-22 Joseph Myers <joseph@codesourcery.com>
6453
6454 [BZ #2547]
6455 [BZ #11365]
6456 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6457 manipulate bits before adding and subtracting TWO23[sx].
6458 * math/libm-test.inc (nearbyint_test): Add more tests.
6459
fe45ce09
JM
64602012-02-22 Joseph Myers <joseph@codesourcery.com>
6461
6462 [BZ #2548]
6463 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6464 bits before adding and subtracting TWO23[sx].
6465 * math/libm-test.inc (rint_test): Add more tests.
6466 (rint_test_tonearest): Likewise.
6467 (rint_test_towardzero): Likewise.
6468 (rint_test_downward): Likewise.
6469 (rint_test_upward: Likewise.
6470
ff3b3d82
JM
64712012-02-22 Joseph Myers <joseph@codesourcery.com>
6472
6473 [BZ #10110]
6474 * include/stdc-predef.h: New file. Extracted from features.h.
6475 * include/features.h: Include stdc-predef.h.
6476 * Makefile (headers): Add stdc-predef.h.
6477 * CONFORMANCE (Compiler limitations): Update.
6478
ef0aab35
JM
64792012-02-22 Joseph Myers <joseph@codesourcery.com>
6480
6481 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6482
58639409
DM
64832012-02-21 David S. Miller <davem@davemloft.net>
6484
6485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6487
c0e70b25
DM
64882012-02-20 David S. Miller <davem@davemloft.net>
6489
6490 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6491 using a normal save/restore sequence, rather than allocating a
6492 dummy stack frame just to store a frame pointer and restore.
6493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6494
fb06851d
JM
64952012-02-21 Joseph Myers <joseph@codesourcery.com>
6496
6497 * manual/install.texi: Fix stray word in line-wrapped comment.
6498
7a8b71c3
DM
64992012-02-20 David S. Miller <davem@davemloft.net>
6500
d510c123
DM
6501 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6502 both binutils and gcc support GOTDATA.
6503
0722d7c2
DM
6504 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6505 "rd %pc" in the PIC register setup sequences.
6506
3d2b3019
DM
6507 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6508 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6510 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6516 (SYSCALL_ERROR_HANDLER): Likewise.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6520 (SYSCALL_ERROR_HANDLER): Likewise.
6521
c80098a9
DM
6522 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6523 (HAVE_GCC_GOTDATA): New.
6524 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6525 relocation support in both binutils and gcc.
6526 * sysdeps/sparc/elf/configure: Regenerate.
6527
3a2545a0
DM
6528 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6529 * sysdeps/sparc/sparc32/elf/configure: Delete.
6530 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6531 * sysdeps/sparc/sparc64/elf/configure: Delete.
6532 * sysdeps/sparc/elf/configure.in: New file.
6533 * sysdeps/sparc/elf/configure: Generate.
6534
7a8b71c3
DM
6535 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6536 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6537 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6538 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6539 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6540
f1e86fca
JM
65412012-02-21 Joseph Myers <joseph@codesourcery.com>
6542
6543 * manual/install.texi: Do not mention specific glibc version
6544 numbers.
6545 * manual/libc.texinfo (VERSION, UPDATED): Update.
6546 (@copying): Use @copyright{} and range of years.
6547
0e7dfaef
JM
65482012-02-21 Joseph Myers <joseph@codesourcery.com>
6549
6550 [BZ #13695]
6551 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6552 [crti.S not in sysdirs] (generated): Do not append.
6553 [crti.S not in sysdirs] (omit-deps): Likewise.
6554 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6555 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6556 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6557 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6558 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6559 Likewise.
6560 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6561 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6562 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6563 * csu/defs.awk: Remove file.
6564 * sysdeps/generic/initfini.c: Likewise.
6565 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6566 variable.
6567 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6568 Likewise.
6569
599af3ca
JM
65702012-02-20 Joseph Myers <joseph@codesourcery.com>
6571
6572 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6573 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6574 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6577 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6578 <bits/epoll.h>.
6579 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6580 (__EPOLL_PACKED): Define to empty if not defined by
6581 <bits/epoll.h>.
6582 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6584 bits/epoll.h.
6585
0e499750
JM
65862012-02-20 Joseph Myers <joseph@codesourcery.com>
6587
6588 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6589 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6590 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6591 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6592 <bits/timerfd.h>.
6593 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6595 bits/timerfd.h.
6596
5ad91f6e
JM
65972012-02-20 Joseph Myers <joseph@codesourcery.com>
6598
6599 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6600 in C locale.
6601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6602 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6605
06b99b02
AJ
66062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6607
6608 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6609 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6610
7638c0fd
AS
66112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6612
6613 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6614 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6615 defined.
6616 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6617 Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6619 entry for 2.16.
6620
92221550
AJ
66212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6622
6623 * math/w_acos.c: Use non-signaling floating-point comparisons.
6624 * math/w_acosf.c: Likewise.
6625 * math/w_acosh.c: Likewise.
6626 * math/w_acoshf.c: Likewise.
6627 * math/w_acoshl.c: Likewise.
6628 * math/w_acosl.c: Likewise.
6629 * math/w_asin.c: Likewise.
6630 * math/w_asinf.c: Likewise.
6631 * math/w_asinl.c: Likewise.
6632 * math/w_atanh.c: Likewise.
6633 * math/w_atanhf.c: Likewise.
6634 * math/w_atanhl.c: Likewise.
6635 * math/w_exp2.c: Likewise.
6636 * math/w_exp2f.c: Likewise.
6637 * math/w_exp2l.c: Likewise.
6638 * math/w_j0.c: Likewise.
6639 * math/w_j0f.c: Likewise.
6640 * math/w_j0l.c: Likewise.
6641 * math/w_j1.c: Likewise.
6642 * math/w_j1f.c: Likewise.
6643 * math/w_j1l.c: Likewise.
6644 * math/w_jn.c: Likewise.
6645 * math/w_jnf.c: Likewise.
6646 * math/w_log.c: Likewise.
6647 * math/w_log10.c: Likewise.
6648 * math/w_log10f.c: Likewise.
6649 * math/w_log10l.c: Likewise.
6650 * math/w_log2.c: Likewise.
6651 * math/w_log2f.c: Likewise.
6652 * math/w_log2l.c: Likewise.
6653 * math/w_logf.c: Likewise.
6654 * math/w_logl.c: Likewise.
6655 * math/w_sqrt.c: Likewise.
6656 * math/w_sqrtf.c: Likewise.
6657 * math/w_sqrtl.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6660 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6663
ebaf36eb
JM
66642012-02-19 Joseph Myers <joseph@codesourcery.com>
6665
6666 [BZ #9739]
6667 * manual/string.texi (strnlen): Use correct parameter name in
6668 equivalent expression.
6669
71c254a6
JM
66702012-02-19 Joseph Myers <joseph@codesourcery.com>
6671
6672 [BZ #11174]
6673 * manual/users.texi (seteuid): Consistently use neweuid for
6674 argument name.
6675
16d2c631
JM
66762012-02-19 Joseph Myers <joseph@codesourcery.com>
6677
6678 [BZ #13704]
6679 * manual/nss.texi (Services in the NSS configuration): Correct
6680 list of services in example configuration file.
6681
cd837b09
NB
66822012-02-19 Nick Bowler <nbowler@draconx.ca>
6683
6684 [BZ #11322]
6685 * manual/arith.texi: Remove statements about negative zero
6686 behaving identically to zero.
6687
02c4bbad
JM
66882012-02-18 Joseph Myers <joseph@codesourcery.com>
6689
6690 [BZ #5993]
6691 * manual/install.texi: Do not document upgrading from libc5.
6692
366842e7
JM
66932012-02-18 Joseph Myers <joseph@codesourcery.com>
6694
6695 [BZ #4596]
6696 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6697
dd54084d
DM
66982012-02-18 David S. Miller <davem@davemloft.net>
6699
6700 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6701 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6702 %o7 across the call.
6703 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6704 instead.
6705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6706 SETUP_PIC_REG_LEAF.
6707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6708 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6709 * sysdeps/sparc/crtn.S: Likewise.
6710
2bcc53a3
UD
67112012-02-17 Ulrich Drepper <drepper@gmail.com>
6712
6713 * aout/Makefile: Remove.
6714
09c093b5
RK
67152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6716
6717 [BZ #13058]
6718 * manual/examples/argp-ex1.c (main): Format definition in GNU
6719 style.
6720 * manual/examples/argp-ex2.c (main): Likewise.
6721 * manual/examples/argp-ex3.c (main): Likewise.
6722 * manual/examples/argp-ex4.c (main): Likewise.
6723 * manual/examples/longopt.c (main): Use new-style prototype
6724 definition.
6725 * manual/examples/strncat.c (main): Specify return type and use
6726 (void) for arguments.
6727 * manual/examples/subopt.c (main): Use char **argv argument.
6728
2ee633a2
JM
67292012-02-17 Joseph Myers <joseph@codesourcery.com>
6730
6731 [BZ #5077]
6732 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6733 rounding modes.
6734
0520adde
FB
67352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6736
6737 [BZ #6907]
6738 * manual/string.texi (strchr): Change when strchrnul is
6739 recommended.
6740
3f4081cd
DGM
67412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6742
6743 [BZ #174]
6744 * manual/locale.texi (setlocale): Document LOCPATH.
6745
d1b10e78
JM
67462012-02-17 Joseph Myers <joseph@codesourcery.com>
6747
6748 [BZ #10210]
6749 * manual/process.texi (execle): Move @dots{} before last argument.
6750
79c6869c
PB
67512012-02-17 Paul Bolle <pebolle@tiscali.nl>
6752
6753 [BZ #12047]
6754 * manual/charset.texi (Generic Charset Conversion): Fix typo
6755 (LC_TYPE -> LC_CTYPE).
6756
cc6e48bc
NB
67572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6758
6759 [BZ #5805]
6760 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6761 (scalbnf): Likewise.
6762 (scalbnl): Likewise.
6763 (scalbln): Likewise.
6764 (scalblnf): Likewise.
6765 (scalblnl): Likewise.
6766 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6767 (vwarnx): Likewise.
6768 (verr): Likewise.
6769 (verrx): Likewise.
6770 * manual/filesys.texi (telldir): Use braces around return type.
6771 * manual/llio.texi (mmap): Add space after comma.
6772 (mmap64): Likewise.
6773 * manual/math.texi (jn): Use @var{} on parameter names.
6774 (jnf): Likewise.
6775 (jnl): Likewise.
6776 (yn): Likewise.
6777 (ynf): Likewise.
6778 (ynl): Likewise.
6779 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6780 line.
6781 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6782 "...".
6783 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6784 (sched_get_priority_max): Likewise.
6785 * manual/signal.texi (sigvec): Add space after comma.
6786 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6787 names.
6788 (if_indextoname): Likewise.
6789 (if_freenameindex): Likewise.
6790 (sendto): Use ',' instead of '.' in prototype.
6791 * manual/startup.texi (syscall): Use @dots{} instead of literal
6792 "...".
6793 * manual/stdio.texi (__fpending): Separate initial words of
6794 paragraph from @deftypefun line.
6795 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6796 "...".
6797 (vsyslog): Use @var{} on parameter names.
6798 * manual/terminal.texi (stty): Use @var{} on parameter names.
6799 * manual/users.texi (getutmp): Use @var{} on parameter names.
6800 (getutmpx): Likewise.
6801
5b23062f
JM
68022012-02-17 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #6884]
6805 * manual/stdio.texi (fopen): Fix typos in description of
6806 ",ccs=STRING".
6807
8dee4833
AJ
68082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6809
6810 [BZ #4026]
6811 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6812 get clock_id definition.
6813
9078ce93
TS
68142012-02-17 Thomas Schwinge <thomas@schwinge.name>
6815
6816 [BZ #4822]
6817 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6818 (madvise): Cast every argument to void on its own.
6819
3835c55f
JM
68202012-02-17 Joseph Myers <joseph@codesourcery.com>
6821
6822 [BZ #9902]
6823 * manual/startup.texi (Exit Status): Fix typo.
6824
35c47e37
JM
68252012-02-17 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #10140]
6828 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6829 * manual/examples/argp-ex2.c: Likewise.
6830 * manual/examples/argp-ex3.c: Likewise.
6831
e3b69ca7
RH
68322012-02-16 Richard Henderson <rth@redhat.com>
6833
6834 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6835 * sysdeps/s390/s390-32/initfini.c: Remove.
6836 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6837 * sysdeps/s390/s390-64/initfini.c: Remove.
6838
df83af67
KK
68392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6840
6841 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6842 compiler output for sysdeps/generic/initfini.c.
6843 * sysdeps/sh/elf/initfini.c: Remove file.
6844
f63f3380
DM
68452012-02-16 David S. Miller <davem@davemloft.net>
6846
fb59b3a4
DM
6847 [BZ #11494]
6848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6849
f63f3380
DM
6850 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6851 * sysdeps/sparc/crti.S: New file.
6852 * sysdeps/sparc/crtn.S: New file.
6853 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6854 * sysdeps/sparc/sparc64/Makefile: Likewise.
6855
df6a4a4a
MF
68562012-02-15 Mike Frysinger <vapier@gentoo.org>
6857
6dd8f3dc 6858 [BZ #3335]
df6a4a4a
MF
6859 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6860
1cac7236
RM
68612012-02-15 Roland McGrath <roland@hack.frob.com>
6862
d2c736f8
RM
6863 [BZ #4822]
6864 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6865
1cac7236
RM
6866 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6867 (write, read, close): Likewise.
6868 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6869
8e475601
JM
68702012-02-15 Joseph Myers <joseph@codesourcery.com>
6871
6872 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6873 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6875 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6876 <bits/signalfd.h>.
6877 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6879 bits/signalfd.h.
6880
ed656b40
MP
68812012-02-14 Marek Polacek <polacek@redhat.com>
6882
6883 * sysdeps/x86_64/crti.S: New file.
6884 * sysdeps/x86_64/crtn.S: New file.
6885 * sysdeps/x86_64/elf/initfini.c: Remove file.
6886
2a979d3a
JM
68872012-02-13 Joseph Myers <joseph@codesourcery.com>
6888
6889 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6890 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6891 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6892 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6893 <bits/inotify.h>.
6894 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6896 bits/inotify.h.
6897
2a418ac3
JM
68982012-02-13 Joseph Myers <joseph@codesourcery.com>
6899
6900 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6901 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6903 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6904 <bits/eventfd.h>.
6905 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6907 bits/eventfd.h.
6908
fb779be7
TS
69092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6910
e19e83c5
RM
6911 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6912 __feraiseexcept instead of feraiseexcept.
7c35ffed 6913
fb779be7
TS
6914 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6915 nanosleep invocations.
6916 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6917 strings, and add error checking for a nanosleep invocations.
6918
59ba27a6
PE
69192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6920
6921 Replace FSF snail mail address with URLs, as per GNU coding standards.
6922 Most of the snail mail addresses were wrong anyway, and omitting
6923 them makes the source code easier to maintain. Almost all of the
6924 changes are to license notices and to locale LC_IDENTIFICATION
6925 addresses, except for this one:
6926 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6927 not its snail mail address.
6928
57b957eb
RH
69292012-02-09 Richard Henderson <rth@twiddle.net>
6930
af850b1c
RH
6931 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6932 of kernel-features.h.
6933
57b957eb
RH
6934 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6935
6b73181a
MP
69362012-02-08 Marek Polacek <polacek@redhat.com>
6937
6938 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6939 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6940 * sysdeps/gnu/_G_config.h: Likewise.
6941 * sysdeps/generic/_G_config.h: Likewise.
6942
26ecc33a
AS
69432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6944
6c6dbc63
AS
6945 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6946 tests.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948
e216c012
AS
6949 * sysdeps/powerpc/powerpc32/crti.S: New file.
6950 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6951 * sysdeps/powerpc/powerpc64/crti.S: New file.
6952 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6953
26ecc33a
AS
6954 * Makeconfig (have-initfini): Don't set.
6955 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6956 * configure.in (nopic_initfini): Don't substitute.
6957 * config.h.in (HAVE_INITFINI): Don't #undef.
6958 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6959 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6960
3add8e13
JM
69612012-02-08 Joseph Myers <joseph@codesourcery.com>
6962
6963 Support crti.S and crtn.S provided directly by architectures.
6964 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6965 [crti.S in sysdirs] (omit-deps): Likewise.
6966 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6967 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6968 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6969 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6970 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6971 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6972 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6973 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6974 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6975 compiler output for sysdeps/generic/initfini.c.
6976 * sysdeps/i386/elf/Makefile: Remove file.
6977 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6978
a22f12b4
MP
69792012-02-07 Marek Polacek <polacek@redhat.com>
6980
6981 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6982 * sysdeps/gnu/_G_config.h: Likewise.
6983 * sysdeps/mach/hurd/_G_config.h: Likewise.
6984
148cf100
MP
69852012-02-07 Marek Polacek <polacek@redhat.com>
6986
6987 * math/Makefile (tests): Add tst-CMPLX2.
6988 * math/tst-CMPLX2.c: New file.
6989
cfdc0dd7
AS
69902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6991
84ba42c4
AS
6992 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6993
cfdc0dd7
AS
6994 * math/libm-test.inc (jn_test): Add missing L suffix.
6995
622c86f4
MP
69962012-02-06 Marek Polacek <polacek@redhat.com>
6997
6998 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6999 * sysdeps/i386/fpu/e_powf.S: Likewise.
7000 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7001 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7003 * sysdeps/i386/fpu/e_pow.S: Likewise.
7004 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7005 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7006 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7007 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7008 * sysdeps/i386/fpu/e_log2.S: Likewise.
7009 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7011 * sysdeps/i386/fpu/e_powl.S: Likewise.
7012 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7013 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7014 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7015 * sysdeps/i386/fpu/e_logl.S: Likewise.
7016 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7017 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7018 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7019 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7020 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7021 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7022 * sysdeps/i386/fpu/e_log.S: Likewise.
7023 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7024 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7025 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7026 * sysdeps/i386/fpu/e_logf.S: Likewise.
7027 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7028 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7029 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7030 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7031 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7032 * sysdeps/i386/fpu/e_log10.S: Likewise.
7033 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7035 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7036 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7037 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7038 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7039 * sysdeps/i386/asm-syntax.h: Likewise.
7040 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7042 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7043 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7044 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7045 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7046 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7047 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7048 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7049 * sysdeps/powerpc/sysdep.h: Likewise.
7050 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7052
d4a54ac6
JM
70532012-02-06 Joseph Myers <joseph@codesourcery.com>
7054
7055 [BZ #411]
7056 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7057
314054ea
JM
70582012-02-06 Joseph Myers <joseph@codesourcery.com>
7059
7060 * sysdeps/i386/sysdep.h: Include <features.h>.
7061 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7062 version.
7063
d8e0ca50
JM
70642012-02-05 Joseph Myers <joseph@codesourcery.com>
7065
7066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7067 Define.
7068 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7069 LOAD_PIC_REG_STR.
7070
b1da7dd9
JM
70712012-02-03 Joseph Myers <joseph@codesourcery.com>
7072
7073 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7074 (SETUP_PIC_REG): Use GET_PC_THUNK.
7075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7076 macro.
7077
9a1d9254
JM
70782012-02-03 Joseph Myers <joseph@codesourcery.com>
7079
7080 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7081 for non-PIC compilation.
7082 (SETUP_PIC_REG): Add .p2align directive.
7083 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7084 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7085 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7086 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7087 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7088 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7089 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7091 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7092 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7093 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7094 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7095 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7096 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7097 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7098 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7099 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7105 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7106 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7107 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7110 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7116 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7117 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7124
65dc3b75
JM
71252012-02-03 Joseph Myers <joseph@codesourcery.com>
7126
7127 * math/tst-CMPLX.c: Include <stdio.h>.
7128
d55bf177
JM
71292012-01-31 Joseph Myers <joseph@codesourcery.com>
7130
7131 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7132 float.
7133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7134 * sysdeps/sparc/bits/mathdef.h: Likewise.
7135
69db4f8f
MP
71362012-01-31 Marek Polacek <polacek@redhat.com>
7137
7138 * libio/libio.h: Don't define _PARAMS.
7139 * locale/programs/config.h: Don't define PARAMS.
7140 * stdlib/strtol_l.c: Likewise.
7141 (__strtol_l): Remove PARAMS from the prototype.
7142
41b81892
UD
71432012-01-31 Ulrich Drepper <drepper@gmail.com>
7144
3b49edc0
UD
7145 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7146 names. Just use the correct names. Remove unnecessary wrapper
7147 functions.
7148 * malloc/arena.c: Likewise.
7149 * malloc/hooks.c: Likewise.
7150
41b81892
UD
7151 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7152 ARENA_TEST says not to. Simplify test for creation of a new arena.
7153 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7154
27a25b6e
UD
71552012-01-30 Ulrich Drepper <drepper@gmail.com>
7156
7157 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7158 into tail calls.
7159 (update_get_addr): New function.
7160 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7161 GET_ADDR_MODULE parameter.
7162
c8a89e7d
JM
71632012-01-30 Joseph Myers <joseph@codesourcery.com>
7164
7165 * crypt/cert.c: Remove __STDC__ conditionals.
7166 * crypt/crypt-entry.c: Likewise.
7167 * crypt/crypt_util.c: Likewise.
7168 * libio/filedoalloc.c: Likewise.
7169 * libio/fileops.c: Likewise.
7170 * libio/genops.c: Likewise.
7171 * libio/iofclose.c: Likewise.
7172 * libio/iofdopen.c: Likewise.
7173 * libio/iofopen.c: Likewise.
7174 * libio/iofopen64.c: Likewise.
7175 * libio/iogetdelim.c: Likewise.
7176 * libio/iopopen.c: Likewise.
7177 * libio/obprintf.c: Likewise.
7178 * libio/oldfileops.c: Likewise.
7179 * libio/oldiofclose.c: Likewise.
7180 * libio/oldiofdopen.c: Likewise.
7181 * libio/oldiofopen.c: Likewise.
7182 * libio/oldiopopen.c: Likewise.
7183 * libio/wfiledoalloc.c: Likewise.
7184 * libio/wgenops.c: Likewise.
7185 * locale/programs/xmalloc.c: Likewise.
7186 * misc/syslog.c: Likewise.
7187 * stdio-common/xbug.c: Likewise.
7188 * string/memchr.c: Likewise.
7189 * string/memcmp.c: Likewise.
7190 * string/memrchr.c: Likewise.
7191 * string/rawmemchr.c: Likewise.
7192 * sysdeps/posix/getcwd.c: Likewise.
7193 * time/strftime_l.c: Likewise.
7194
3b100462
JM
71952012-01-30 Joseph Myers <joseph@codesourcery.com>
7196
7197 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7198 * config.make.in (config-cflags-sse2avx): Define.
7199 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7200 Fix typo.
7201
607998af
CM
72022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7203
7204 * scripts/config.guess: Update from upstream config git repository.
7205 * scripts/config.sub: Likewise.
7206
3601428f
CM
72072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7208
3ac8b282
CM
7209 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7210 (EM_NUM): Update.
7211 (R_TILEPRO_*, R_TILEGX_*): New macros.
7212
e034841e
CM
7213 * scripts/firstversions.awk: Fix bug in version range handling.
7214
540d7568
CM
7215 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7216
3601428f
CM
7217 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7218
463de862
CM
7219 * include/sys/epoll.h: New file.
7220 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7221 libc_hidden_def.
7222
73139a76
UD
72232012-01-28 Ulrich Drepper <drepper@gmail.com>
7224
96bc5b45
UD
7225 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7226 Avoid unnecessary __WORDSIZE == 64 test.
7227 (fmaxf): Use VEX format if possible.
7228 (fmax): Likewise.
7229 (fminf): Likewise.
7230 (fmin): Likewise.
7231
56f6f6a2
UD
7232 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7233 * math/math_private.h: Remove libc_fegetround* and
7234 libc_fesetround*.
7235 * sysdeps/i386/configure.in: Check for -msse2avx.
7236 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7237 also if SSE2AVX is defined.
7238 Remove libc_fegetround* and libc_fesetround*.
7239 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7240 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7242 of HAS_YMM_USABLE.
7243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7248
73139a76
UD
7249 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7250
d73f93a4
AZ
72512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7252
7253 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7254 size is not set.
7255 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7256
6ee65ed6
UD
72572012-01-27 Ulrich Drepper <drepper@gmail.com>
7258
7259 [BZ #13618]
7260 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7261 relocation.
7262 * Makeconfig (libm): Define.
7263 * elf/Makefile: Add rules to build and run tst-relsort1.
7264 * elf/tst-relsort1.c: New file.
7265 * elf/tst-relsort1mod1.c: New file.
7266 * elf/tst-relsort1mod2.c: New file.
7267
8db21882
JM
72682012-01-27 Joseph Myers <joseph@codesourcery.com>
7269
7270 * math/s_ldexp.c: Remove __STDC__ conditionals.
7271 * math/s_ldexpf.c: Likewise.
7272 * math/s_ldexpl.c: Likewise.
7273 * math/s_nextafter.c: Likewise.
7274 * math/s_nexttowardf.c: Likewise.
7275 * math/s_significand.c: Likewise.
7276 * math/s_significandf.c: Likewise.
7277 * math/s_significandl.c: Likewise.
7278 * math/w_jnl.c: Likewise.
7279 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7280 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7281 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7282 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7283 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7284 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7288 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7291 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7292 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7293 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7294 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7298 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7299 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7300 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7306 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7307 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7309 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7310 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7311 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7312 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7315 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7316 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7318 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7319 * sysdeps/ieee754/k_standard.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7395 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7399 * sysdeps/ieee754/s_matherr.c: Likewise.
7400 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7401 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7404
965a54a4
JM
74052012-01-26 Joseph Myers <joseph@codesourcery.com>
7406
7407 * crypt/md5.h: Remove __STDC__ conditionals.
7408 * libio/libioP.h: Likewise.
7409 * locale/programs/config.h: Likewise.
7410 * sysdeps/generic/sysdep.h: Likewise.
7411 * sysdeps/i386/asm-syntax.h: Likewise.
7412 * sysdeps/s390/asm-syntax.h: Likewise.
7413 * sysdeps/unix/sysdep.h: Likewise.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7416
7071ad79
JM
74172012-01-26 Joseph Myers <joseph@codesourcery.com>
7418
7419 * libio/libio.h: Remove __STDC__ conditionals.
7420 * malloc/obstack.h: Likewise.
7421 * math/complex.h: Likewise.
7422 * math/math.h: Likewise.
7423 * sysdeps/generic/_G_config.h: Likewise.
7424 * sysdeps/gnu/_G_config.h: Likewise.
7425 * sysdeps/mach/hurd/_G_config.h: Likewise.
7426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7428 * sysdeps/sparc/bits/mathdef.h: Likewise.
7429
afc5ed09
UD
74302012-01-26 Ulrich Drepper <drepper@gmail.com>
7431
7432 [BZ #13583]
7433 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7434 Clean up HAS_* macros.
afc5ed09 7435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7436 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7437 possible.
7438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7439 HAS_AVX.
7440 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7445
bdb6de1d
JM
74462012-01-25 Joseph Myers <joseph@codesourcery.com>
7447
7448 * elf/tst-unique3.cc (gets): Remove declaration.
7449 * elf/tst-unique3lib.cc (gets): Likewise.
7450 * elf/tst-unique3lib2.cc (gets): Likewise.
7451 * elf/tst-unique4.cc (gets): Likewise.
7452
b15549e6
UD
74532012-01-24 Ulrich Drepper <drepper@gmail.com>
7454
7455 * include/stdio.h: Add C++ protection. Add gets declarations and
7456 definitions.
7457 * debug/tst-chk1.c: Don't declare gets here.
7458 * stdio-common/tst-gets.c: Likewise.
7459
a037381f
JM
74602012-01-24 Joseph Myers <joseph@codesourcery.com>
7461
7462 * posix/glob: Remove directory.
7463
f1d4aa75
JM
74642012-01-24 Joseph Myers <joseph@codesourcery.com>
7465
7466 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7467
81c0c964
PT
74682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7469
7470 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7471 of the non-standard EPFNOSUPPORT.
7472
0ea698ae
ST
74732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7474
7475 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7476 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7477 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7478
d220b117
UD
74792012-01-21 Ulrich Drepper <drepper@gmail.com>
7480
7481 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7482
3e1aa84e
UD
74832012-01-20 Ulrich Drepper <drepper@gmail.com>
7484
7485 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7486 transient errors.
7487 * nscd/grpcache.c (cache_addgr): Likewise.
7488 * nscd/hstcache.c (cache_addhst): Likewise.
7489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7490 * nscd/pwdcache.c (cache_addpw): Likewise.
7491 * nscd/servicescache.c (cache_addserv): Likewise.
7492
400aa020
UD
74932012-01-16 Ulrich Drepper <drepper@gmail.com>
7494
d77e7869
UD
7495 * malloc/malloc.c: Various cleanups.
7496 * malloc/hooks.c: Likewise.
7497
400aa020
UD
7498 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7499 * stdlib/bug-fmtmsg1.c: New file.
7500
7501 * stdlib/fmtmsg.c (init): Add missing unlock.
7502 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7503
e0a309cf
MP
75042012-01-12 Marek Polacek <polacek@redhat.com>
7505
7506 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7507 and _GNU_SOURCE.
7508
929d11c7
WS
75092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7510
7511 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7513 macro to ensure uniqueness of label name.
7514 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7515 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7516
41d0e869
UD
75172012-01-11 Ulrich Drepper <drepper@gmail.com>
7518
0cc5ed3b
UD
7519 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7520
41d0e869
UD
7521 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7522 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7525
a47a831a
UD
75262012-01-10 Ulrich Drepper <drepper@gmail.com>
7527
daa891c0
UD
7528 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7529
7530 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7531 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7532 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7533
e58ef0f2
UD
7534 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7535
a47a831a 7536 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7538 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7540
7541 * math/bits/math-finite.h: Add ldexp support.
7542
a0bfc9c7
MP
75432012-01-10 Marek Polacek <polacek@redhat.com>
7544
7545 * locale/programs/localedef.h (show_archive_content): Add noreturn
7546 attribute.
7547
d6e97a1d
UD
75482012-01-09 Ulrich Drepper <drepper@gmail.com>
7549
7550 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7551
d5835c26
UD
75522012-01-08 Ulrich Drepper <drepper@gmail.com>
7553
e5f484c6
UD
7554 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7555
d5835c26
UD
7556 * io/Makefile (headers): Add bits/poll2.h.
7557
d1f741e9
WS
75582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7559
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7561 typo #include statement.
7562
ec09c1c4
UD
75632012-01-08 Ulrich Drepper <drepper@gmail.com>
7564
7565 * include/sys/cdefs.h: Define __attribute_alloc_size.
7566 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7567 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7568 * elf/pldd.c: Likewise.
7569 * iconv/iconv_charmap.c: Likewise.
7570 * iconv/iconvconfig.c: Likewise.
7571 * iconv/strtab.c: Likewise.
7572 * locale/programs/locale.c: Likewise.
7573 * locale/programs/localedef.h: Likewise.
7574 * locale/programs/simple-hash.c: Likewise.
7575 * nscd/nscd.h: Likewise.
7576 * nss/makedb.c: Likewise.
7577 * sysdeps/generic/ldconfig.h: Likewise.
7578 * locale/programs/localedef.c: Remove xmalloc prototype.
7579 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7580
20b38e03
PP
75812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7582
7583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7584 appropriate.
7585
a0da5fe1
UD
75862012-01-08 Ulrich Drepper <drepper@gmail.com>
7587
1d5a644a 7588 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7589 * math/tst-CMPLX.c: New file.
1d5a644a 7590
8784a6db
UD
7591 * math/complex.h (CMPLXL): Fix typo.
7592
d9a216c0
UD
7593 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7594 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7595 GLIBC_2.16.
7596 * debug/tst-chk1.c: Add poll and ppoll tests.
7597 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7598 * include/sys/poll.h: Add hidden proto for ppoll.
7599 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7600 * sysdeps/mach/hurd/ppoll.c: Likewise.
7601 * io/ppoll.c: Likewise.
7602 * debug/poll_chk.c: New file.
7603 * debug/ppoll_chk.c: New file.
7604 * include/bits/poll2.h: New file.
7605 * io/bits/poll2.h: New file.
7606
ac097f5c
UD
7607 [BZ #1350]
7608 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7609
2119dcfa
UD
7610 * configure.in: static is always set to yes. Remove.
7611 * config.make.in: Don't set build-static.
7612 * Makeconfig: Remove use of build-static.
7613 * dlfcn/Makefile: Likewise.
7614 * elf/Makefile: Likewise.
7615 * math/Makefile: Likewise.
7616 * misc/Makefile: Likewise.
7617 * nptl/Makefile: Likewise.
7618 * sysdeps/mach/hurd/Makefile: Likewise.
7619
121766a9
UD
7620 * configure.in: PWD_P is not used anymore.
7621 * config.make.in: Remove PWD_P entry.
7622
51a1d39c 7623 * configure.in: Remove last remnants of RANLIB.
8720d066 7624 No need to check for signed size_t anymore.
215f4bdc
UD
7625 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7626 and IA-64.
3857022a 7627 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7628 * aclocal.m4: Likewise.
7629
d3ed7225
UD
7630 * wcsmbs/mbrtoc16.c: Implement using towc function.
7631 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7632 * wcsmbs/wcsmbsload.c: Likewise.
7633 * iconv/gconv_simple.c: Likewise.
7634 * iconv/gconv_int.h: Likewise.
7635 * iconv/gconv_builtin.h: Likewise.
7636 * iconv/iconv_prog.c: Remove CHAR16 handling.
7637
7638 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7639
7640 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7641
a0da5fe1
UD
7642 * configure.in: Remove --with-elf and --enable-bounded options.
7643 Dont set base_machine for ia64. More non-ELF conditions removed.
7644 Remove testing and setting of leading underscore information.
7645 * config.make.in (build-bounded): Set to no.
7646 * config.h.in: Remove NO_UNDERSCORES entry.
7647 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7648 them.
7649 * csu/start.c: Remove !NO_UNDERSCORE code.
7650 * locale/localeinfo.h: Likewise.
7651 * sysdeps/generic/machine-gmon.h: Likewise.
7652 * sysdeps/generic/sysdep.h: Likewise.
7653 * sysdeps/i386/sysdep.h: Likewise.
7654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7655 * sysdeps/mach/sysdep.h: Likewise.
7656 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7658 * sysdeps/sh/sysdep.h: Likewise.
7659 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7660 * sysdeps/unix/i386/sysdep.S: Likewise.
7661 * sysdeps/unix/sparc/start.c: Likewise.
7662 * sysdeps/unix/sparc/sysdep.S: Likewise.
7663 * sysdeps/unix/sparc/sysdep.h: Likewise.
7664 * sysdeps/unix/start.c: Likewise.
7665 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7666 * sysdeps/x86_64/sysdep.h: Likewise.
7667
df78418a
UD
76682012-01-07 Ulrich Drepper <drepper@gmail.com>
7669
a784e502
UD
7670 [BZ #13553]
7671 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7672 for non-gcc.
7673 * argp/argp-fmtstream.h: Use const instead __const.
7674 * argp/argp.h: Likewise.
7675 * assert/assert.h: Likewise.
7676 * bits/fenv.h: Likewise.
7677 * bits/sched.h: Likewise.
7678 * bits/sigset.h: Likewise.
7679 * bits/sigthread.h: Likewise.
7680 * catgets/nl_types.h: Likewise.
7681 * conform/data/pthread.h-data: Likewise.
7682 * crypt/crypt-private.h: Likewise.
7683 * crypt/crypt.h: Likewise.
7684 * crypt/crypt_util.c: Likewise.
7685 * ctype/ctype.h: Likewise.
7686 * debug/execinfo.h: Likewise.
7687 * debug/mbsnrtowcs_chk.c: Likewise.
7688 * debug/mbsrtowcs_chk.c: Likewise.
7689 * debug/wcsnrtombs_chk.c: Likewise.
7690 * debug/wcsrtombs_chk.c: Likewise.
7691 * debug/wcstombs_chk.c: Likewise.
7692 * dirent/dirent.h: Likewise.
7693 * dlfcn/dlfcn.h: Likewise.
7694 * elf/neededtest4.c: Likewise.
7695 * grp/grp.h: Likewise.
7696 * gshadow/gshadow.h: Likewise.
7697 * iconv/gconv.h: Likewise.
7698 * iconv/gconv_int.h: Likewise.
7699 * iconv/gconv_simple.c: Likewise.
7700 * iconv/iconv.h: Likewise.
7701 * iconv/loop.c: Likewise.
7702 * iconv/skeleton.c: Likewise.
7703 * include/aio.h: Likewise.
7704 * include/aliases.h: Likewise.
7705 * include/argz.h: Likewise.
7706 * include/arpa/inet.h: Likewise.
7707 * include/assert.h: Likewise.
7708 * include/dirent.h: Likewise.
7709 * include/dlfcn.h: Likewise.
7710 * include/execinfo.h: Likewise.
7711 * include/fcntl.h: Likewise.
7712 * include/fenv.h: Likewise.
7713 * include/glob.h: Likewise.
7714 * include/grp.h: Likewise.
7715 * include/libintl.h: Likewise.
7716 * include/mntent.h: Likewise.
7717 * include/netdb.h: Likewise.
7718 * include/pwd.h: Likewise.
7719 * include/rpc/netdb.h: Likewise.
7720 * include/sched.h: Likewise.
7721 * include/search.h: Likewise.
7722 * include/shadow.h: Likewise.
7723 * include/signal.h: Likewise.
7724 * include/stdio.h: Likewise.
7725 * include/stdlib.h: Likewise.
7726 * include/string.h: Likewise.
7727 * include/sys/socket.h: Likewise.
7728 * include/sys/stat.h: Likewise.
7729 * include/sys/statfs.h: Likewise.
7730 * include/sys/statvfs.h: Likewise.
7731 * include/sys/syslog.h: Likewise.
7732 * include/sys/time.h: Likewise.
7733 * include/sys/uio.h: Likewise.
7734 * include/time.h: Likewise.
7735 * include/unistd.h: Likewise.
7736 * include/utmp.h: Likewise.
7737 * include/wchar.h: Likewise.
7738 * include/wctype.h: Likewise.
7739 * inet/aliases.h: Likewise.
7740 * inet/arpa/inet.h: Likewise.
7741 * inet/netinet/ether.h: Likewise.
7742 * inet/netinet/in.h: Likewise.
7743 * intl/libintl.h: Likewise.
7744 * io/bits/fcntl2.h: Likewise.
7745 * io/fcntl.h: Likewise.
7746 * io/ftw.h: Likewise.
7747 * io/sys/poll.h: Likewise.
7748 * io/sys/stat.h: Likewise.
7749 * io/sys/statfs.h: Likewise.
7750 * io/sys/statvfs.h: Likewise.
7751 * io/utime.h: Likewise.
7752 * libio/bits/stdio.h: Likewise.
7753 * libio/bits/stdio2.h: Likewise.
7754 * libio/libio.h: Likewise.
7755 * libio/libioP.h: Likewise.
7756 * libio/stdio.h: Likewise.
7757 * locale/lc-ctype.c: Likewise.
7758 * locale/locale.h: Likewise.
7759 * login/utmp.h: Likewise.
7760 * malloc/arena.c: Likewise.
7761 * malloc/malloc.c: Likewise.
7762 * malloc/malloc.h: Likewise.
7763 * malloc/mcheck.c: Likewise.
7764 * malloc/mtrace.c: Likewise.
7765 * math/bits/mathcalls.h: Likewise.
7766 * math/fenv.h: Likewise.
7767 * math/math_private.h: Likewise.
7768 * misc/bits/error.h: Likewise.
7769 * misc/bits/syslog.h: Likewise.
7770 * misc/err.h: Likewise.
7771 * misc/error.h: Likewise.
7772 * misc/fstab.h: Likewise.
7773 * misc/mntent.h: Likewise.
7774 * misc/regexp.h: Likewise.
7775 * misc/search.h: Likewise.
7776 * misc/sgtty.h: Likewise.
7777 * misc/sys/mman.h: Likewise.
7778 * misc/sys/syslog.h: Likewise.
7779 * misc/sys/uio.h: Likewise.
7780 * misc/sys/xattr.h: Likewise.
7781 * misc/ttyent.h: Likewise.
7782 * nis/rpcsvc/ypclnt.h: Likewise.
7783 * nss/nss.h: Likewise.
7784 * posix/bits/unistd.h: Likewise.
7785 * posix/fnmatch.h: Likewise.
7786 * posix/glob.h: Likewise.
7787 * posix/sched.h: Likewise.
7788 * posix/spawn.h: Likewise.
7789 * posix/sys/wait.h: Likewise.
7790 * posix/unistd.h: Likewise.
7791 * posix/wordexp.h: Likewise.
7792 * pwd/pwd.h: Likewise.
7793 * resolv/netdb.h: Likewise.
7794 * resource/sys/resource.h: Likewise.
7795 * rt/aio.h: Likewise.
7796 * rt/bits/mqueue2.h: Likewise.
7797 * rt/mqueue.h: Likewise.
7798 * shadow/shadow.h: Likewise.
7799 * signal/signal.h: Likewise.
7800 * socket/send.c: Likewise.
7801 * socket/sendto.c: Likewise.
7802 * socket/sys/socket.h: Likewise.
7803 * stdio-common/printf.h: Likewise.
7804 * stdlib/bits/stdlib.h: Likewise.
7805 * stdlib/fmtmsg.h: Likewise.
7806 * stdlib/monetary.h: Likewise.
7807 * stdlib/stdlib.h: Likewise.
7808 * stdlib/ucontext.h: Likewise.
7809 * streams/stropts.h: Likewise.
7810 * string/argz.h: Likewise.
7811 * string/bits/string2.h: Likewise.
7812 * string/string.h: Likewise.
7813 * string/strings.h: Likewise.
7814 * sunrpc/rpc/auth.h: Likewise.
7815 * sunrpc/rpc/auth_des.h: Likewise.
7816 * sunrpc/rpc/clnt.h: Likewise.
7817 * sunrpc/rpc/netdb.h: Likewise.
7818 * sunrpc/rpc/pmap_clnt.h: Likewise.
7819 * sunrpc/rpc/xdr.h: Likewise.
7820 * sysdeps/generic/inttypes.h: Likewise.
7821 * sysdeps/generic/net/if.h: Likewise.
7822 * sysdeps/generic/sys/swap.h: Likewise.
7823 * sysdeps/gnu/net/if.h: Likewise.
7824 * sysdeps/gnu/utmpx.h: Likewise.
7825 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7826 * sysdeps/i386/i486/bits/string.h: Likewise.
7827 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7828 * sysdeps/s390/bits/string.h: Likewise.
7829 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7830 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7831 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7832 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7833 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7834 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7835 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7836 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7837 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7838 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7839 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7840 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7841 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7842 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7843 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7845 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7851 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7853 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7854 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7855 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7857 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7859 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7860 * sysvipc/sys/ipc.h: Likewise.
7861 * sysvipc/sys/msg.h: Likewise.
7862 * sysvipc/sys/sem.h: Likewise.
7863 * sysvipc/sys/shm.h: Likewise.
7864 * termios/termios.h: Likewise.
7865 * time/sys/time.h: Likewise.
7866 * time/time.h: Likewise.
7867 * wcsmbs/bits/wchar2.h: Likewise.
7868 * wcsmbs/uchar.h: Likewise.
7869 * wcsmbs/wchar.h: Likewise.
7870 * wctype/wctype.h: Likewise.
7871
0269750c
UD
7872 [BZ #13551]
7873 * Makeconfig: Remove all but ELF support including AIX support.
7874 * Makerules: Likewise.
7875 * config.h.in: Likewise.
7876 * config.make.in: Likewise.
7877 * configure: Likewise.
7878 * configure.in: Likewise.
7879 * csu/Makefile: Likewise.
7880 * csu/version.c: Likewise.
7881 * debug/Makefile: Likewise.
7882 * dlfcn/Makefile: Likewise.
7883 * elf/Makefile: Likewise.
7884 * extra-lib.mk: Likewise.
7885 * iconv/Makefile: Likewise.
7886 * include/libc-symbols.h: Likewise.
7887 * include/shlib-compat.h: Likewise.
7888 * resolv/Makefile: Likewise.
7889 * resolv/res_libc.c: Likewise.
7890 * rt/Makefile: Likewise.
7891 * sysdeps/i386/asm-syntax.h: Likewise.
7892 * sysdeps/i386/sysdep.h: Likewise.
7893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7894 * sysdeps/mach/sysdep.h: Likewise.
7895 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7896 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7897 * sysdeps/s390/asm-syntax.h: Likewise.
7898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7900 * sysdeps/sh/sysdep.h: Likewise.
7901 * sysdeps/unix/sparc/sysdep.h: Likewise.
7902 * sysdeps/wordsize-32/divdi3.c: Likewise.
7903 * sysdeps/x86_64/sysdep.h: Likewise.
7904
00bbd29b
UD
7905 * argp/Versions: Remove _argp_unlock_xxx.
7906
7907 [BZ #13559]
7908 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7909 * abilist/libBrokenLocale.abilist: Likewise.
7910 * abilist/libanl.abilist: Likewise.
7911 * abilist/libc.abilist: Likewise.
7912 * abilist/libcrypt.abilist: Likewise.
7913 * abilist/libdl.abilist: Likewise.
7914 * abilist/libm.abilist: Likewise.
7915 * abilist/libnsl.abilist: Likewise.
7916 * abilist/libpthread.abilist: Likewise.
7917 * abilist/libresolv.abilist: Likewise.
7918 * abilist/librt.abilist: Likewise.
7919 * abilist/libthread_db.abilist: Likewise.
7920 * abilist/libutil.abilist: Likewise.
7921 * abilist/libnss_db.abilist: New file.
7922
7923 * scripts/abilist.awk: Add support for indirect functions.
7924
a2693a0e
UD
7925 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7926
3f05895f
UD
7927 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7928
ecb6fb48
UD
7929 * shlib-versions: Remove entries for ports architectures.
7930
664f8cb9
UD
7931 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7932 files in ports.
7933 * elf/stackguard-macros.h: Remove support for IA-64.
7934 * elf/tst-auditmod1.c: Likewise.
7935 * sysdeps/generic/ldsodefs.h: Likewise.
7936
7ae81d88
UD
7937 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7938 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7939 configure files.
7940
bdeba135
UD
7941 [BZ #13552]
7942 * configure.in: Remove --enable-omitfp support.
7943 * FAQ.in: Adjust.
7944 * config.make.in: Likewise.
7945 * Makeconfig: Likewise.
7946 * manual/install.texi: Likewise.
7947
d75a0a62
UD
7948 In case anyone cares, the IA-64 architecture could move to ports.
7949 * sysdeps/ia64/*: Removed.
7950 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7951 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7952
dcc9756b
UD
7953 [BZ #13555]
7954 * configure.in: Remove entries for unsupported architectures.
7955
d3761ebc 7956 [BZ #13533]
9954432e
UD
7957 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7958 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7959 routines.
7960 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7961 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7962 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7963 fall back to using wcrtomb.
7964 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7965 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7966 renaming.
7967 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7968 * wcsmbs/tst-c16c32-1.c: New file.
7969
7970 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7971 local variable.
7972
c3a87236
UD
7973 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7974
28926a1b
UD
7975 * elf/tst-unique3.cc: Add explicit declaration of gets.
7976 * elf/tst-unique3lib.cc: Likewise.
7977 * elf/tst-unique3lib2.cc: Likewise.
7978 * elf/tst-unique4.cc: Likewise.
7979
df78418a
UD
7980 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7981
8ecd6b2a
JM
79822012-01-06 Joseph Myers <joseph@codesourcery.com>
7983
7984 [BZ #13566]
7985 * assert/assert.h (static_assert): Don't define for C++.
7986 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7987 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7988
9f115170
UD
79892012-01-03 Ulrich Drepper <drepper@gmail.com>
7990
5e0d0300
UD
7991 * iconv/loop.c (single loop): Fix assertion in storing of
7992 remaining bytes.
7993
9f115170
UD
7994 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7995
81fb02b0
UD
79962012-01-01 Ulrich Drepper <drepper@gmail.com>
7997
7998 * posix/getconf.c: Update copyright year.
7999 * nss/getent.c: Likewise.
a316c1f6 8000 * nss/makedb.c: Likewise.
81fb02b0
UD
8001 * iconv/iconvconfig.c: Likewise.
8002 * iconv/iconv_prog.c: Likewise.
8003 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8004 * elf/pldd.c: Likewise.
8005 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8006 * catgets/gencat.c: Likewise.
8007 * csu/version.c: Likewise.
8008 * elf/ldd.bash.in: Likewise.
8009 * elf/sprof.c (print_version): Likewise.
8010 * locale/programs/locale.c: Likewise.
8011 * locale/programs/localedef.c: Likewise.
a316c1f6 8012 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8013 * nscd/nscd.c (print_version): Likewise.
8014 * debug/xtrace.sh: Likewise.
8015 * malloc/memusage.sh: Likewise.
8016 * malloc/mtrace.pl: Likewise.
8017 * debug/catchsegv.sh: Likewise.
8018
2ba92745
JJ
80192011-12-30 Jakub Jelinek <jakub@redhat.com>
8020
8021 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8022 pure attribute.
8023
dadebdae
UD
80242011-12-24 Ulrich Drepper <drepper@gmail.com>
8025
d3761ebc 8026 [BZ #13533]
db6af3eb
UD
8027 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8028 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8029 transformations.
8030 * iconv/gconv_int.h: Likewise.
8031 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8032 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8033 from libc for GLIBC_2.16.
8034 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8035 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8036 * wcsmbs/uchar.h: Really define mbstate_t.
8037 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8038 * wcsmbs/c16rtomb.c: New file.
8039 * wcsmbs/mbrtoc16.c: New file.
8040 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8041 for C/POSIX locale.
8042 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8043 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8044
dadebdae
UD
8045 * wcsmbs/wchar.h: Add missing __restrict.
8046
67371b56
UD
80472011-12-23 Ulrich Drepper <drepper@gmail.com>
8048
74033a25
UD
8049 [BZ #13532]
8050 * time/Makefile (routines): Add timespec_get.
8051 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8052 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8053 timespec for ISO C11.
8054 * time/timespec_get.c: New file.
8055 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8056 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8057
380d7e87
UD
8058 [BZ #13531]
8059 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8060 * stdlib/stdlib.h: Declare aligned_alloc.
8061 * Versions.def: Add GLIBC_2.16 for libc.
8062 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8063
4e9e7a35
UD
8064 [BZ 13527]
8065 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8066 ISO C11.
8067
380d7e87 8068 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8069 code.
8070
03a71829
UD
8071 [BZ #13528]
8072 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8073
839e283e
UD
8074 [BZ #13529]
8075 * assert/assert.h (static_assert): Define.
8076
ce5294e2 8077 * version.h: Update for 2.16 development version.
90fa7312 8078
8d44e150 8079 [BZ #13526]
d7809905
UD
8080 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8081 _ISOC11_SOURCE.
8082
c0da14cd
UD
8083 * version.h (RELEASE): Bump for 2.15 release.
8084 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8085
530a3249
MP
8086 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8087 Patch by Marek Polacek <mpolacek@redhat.com>.
8088
67371b56
UD
8089 * bits/byteswap.h: Protect long long constants with __extension__.
8090 * sysdeps/i386/bits/byteswap.h: Likewise.
8091 * sysdeps/ia64/bits/byteswap.h: Likewise.
8092 * sysdeps/s390/bits/byteswap.h: Likewise.
8093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8094
15db4de1
LD
80952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8096
8097 [BZ #13540]
bbe315ea
LD
8098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8099 destination buffer.
15db4de1
LD
8100 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8101
2b2596b1
MP
81022011-12-23 Marek Polacek <polacek@redhat.com>
8103
8104 * elf/dl-addr.c (determine_info): Add inline keyword.
8105 * elf/tst-auditmod4b.c (check_avx): Likewise.
8106 * elf/tst-auditmod6b.c (check_avx): Likewise.
8107 * elf/tst-auditmod6c.c (check_avx): Likewise.
8108 * elf/tst-auditmod7b.c (check_avx): Likewise.
8109
70c6c246
UD
81102011-12-23 Ulrich Drepper <drepper@gmail.com>
8111
8112 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8113 !__SSE_MATH__.
8114
c044cf14
LD
81152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8116
15db4de1 8117 [BZ #13540]
c044cf14
LD
8118 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8119 processing for last bytes.
8120
6b13d9d9
BH
81212011-08-06 Bruno Haible <bruno@clisp.org>
8122
d455f537
BH
8123 [BZ #13061]
8124 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8125 U+0385, not to U+1FEE.
8126
6b13d9d9
BH
8127 [BZ #13062]
8128 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8129 entry for U+00A5 U+0301.
8130
db910efd
UD
81312011-12-22 Ulrich Drepper <drepper@gmail.com>
8132
27deeafc
UD
8133 [BZ #13166]
8134 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8135 buffer for the output is too small.
8136
aed9d171
UD
8137 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8138 optimization.
8139
db910efd
UD
8140 [BZ #13185]
8141 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8142 SSE flags if possible.
8143
2bd779ae
LD
81442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8145
e7f9dac3 8146 [BZ #13540]
2bd779ae
LD
8147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8148 processing for last bytes.
8149
154bfc16
JM
81502011-12-22 Joseph Myers <joseph@codesourcery.com>
8151
8152 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8153 (syscall-list-default-options, syscall-list-default-condition)
8154 (syscall-list-includes): Define.
8155 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8156 list of ABIs and options and #if conditions for each ABI. Do not
8157 handle common syscalls between ABIs specially.
8158 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8159 Remove.
8160 (syscall-list-variants, syscall-list-32bit-options)
8161 (syscall-list-32bit-condition, syscall-list-64bit-options)
8162 (syscall-list-64bit-condition): Define.
8163 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8164 (syscall-list-variants, syscall-list-32bit-options)
8165 (syscall-list-32bit-condition, syscall-list-64bit-options)
8166 (syscall-list-64bit-condition): Define.
8167 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8168 Remove.
8169 (syscall-list-variants, syscall-list-32bit-options)
8170 (syscall-list-32bit-condition, syscall-list-64bit-options)
8171 (syscall-list-64bit-condition): Define.
8172 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8173 Remove.
8174 (syscall-list-variants, syscall-list-32bit-options)
8175 (syscall-list-32bit-condition, syscall-list-64bit-options)
8176 (syscall-list-64bit-condition): Define.
8177
21eaf3a5
UD
81782011-12-22 Ulrich Drepper <drepper@gmail.com>
8179
16c6f992
UD
8180 * locale/iso-639.def: Add brx entry.
8181
41043168
UD
8182 [BZ #13328]
8183 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8184 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8185
21eaf3a5
UD
8186 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8187 __feraiseexcept_renamed.
8188
e3a851a2
UD
81892011-12-21 Ulrich Drepper <drepper@gmail.com>
8190
4920765e
UD
8191 [BZ #13538]
8192 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8193 EPOLLET with unsigned values.
8194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8195 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8196
e3a851a2
UD
8197 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8198 to large cancellation.
8199 * math/s_cacoshf.c: Likewise.
8200 * math/s_cacoshl.c: Likewise.
8201
b27e24b8
RK
82022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8203
8204 [BZ #13305]
aebefeee 8205 [BZ #12786]
b27e24b8
RK
8206 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8207 * math/s_cacoshf.c: Likewise.
8208 * math/s_cacoshl.c: Likewise.
8209
ee190f67
UD
82102011-12-21 Ulrich Drepper <drepper@gmail.com>
8211
8212 [BZ #13439]
8213 * iconv/gconv.h: Define __GCONV_SWAP.
8214 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8215 * iconvdata/utf-16.c: Likewise.
8216 * iconvdata/utf-32.c: Likewise.
8217
707f25df
AS
82182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8219
8220 [BZ #13524]
8221 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8222 numerator after shifting it by one limb.
8223
d2daaa1e
RÁE
82242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8225
8226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8227 under [__USE_EXTERN_INLINES].
8228
a4647e72
UD
82292011-12-17 Ulrich Drepper <drepper@gmail.com>
8230
8231 [BZ #13446]
8232 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8233
f0b264f1
AZ
82342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235
8236 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8237 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8238 optimized code.
8239 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8240 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8241 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8242 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8243 for strncasecmp/strncasecmp_l compilation.
8244 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8245 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8246
8ef4f244
MP
82472011-12-08 Marek Polacek <mpolacek@redhat.com>
8248
8249 [BZ #13484]
8250 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8251 of __asm__.
8252
97ac2654
UD
82532011-12-17 Ulrich Drepper <drepper@gmail.com>
8254
8255 [BZ #13506]
8256 * time/tzfile.c (__tzfile_read): Check values from file header.
8257
91d2a845
WS
82582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8259
8260 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8261 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8262 * powerpc/powerpc32/dl-start.S: Likewise.
8263 * powerpc/powerpc32/elf/start.S: Likewise.
8264 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8265 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8266 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8267 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8268 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8269 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8270 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8271 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8272 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8273 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8274 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8275 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8276 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8277 * powerpc/powerpc32/memset.S: Likewise.
8278 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8279 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8280 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8281 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8282 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8283 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8284 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8285 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8286 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8287 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8288 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8289 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8290 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8291
a1267ba1
AZ
82922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293
8294 * math/libm-test.inc: Added more nearbyint tests.
8295 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8299
ad8ac1bd
RL
83002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8301
8302 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8303 FD_CLOEXEC.
8304
1d3e4b61
UD
83052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8306
8307 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8308 Add wcscpy-ssse3 wcscpy-c.
8309 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8310 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8311 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8312 * sysdeps/x86_64/wcschr.S: New file.
8313 * sysdeps/x86_64/wcsrchr.S: New file.
8314 * string/test-strcmp.c: Remove checking of wcscmp function for
8315 wrong alignments.
8316 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8317 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8318 wcsrchr-sse2 wcsrchr-c.
8319 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8320 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8321 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8322 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8323 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8324 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8325 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8326 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8327 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8328 * wcsmbc/wcschr.c (WCSCHR): New macro.
8329
5b330a2d
UD
83302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8331
8332 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8333 * wcsmbs/test-wcsrchr.c: New file.
8334 * string/test-strrchr.c: Add wcsrchr support.
8335 (WIDE): New macro.
8336 * wcsmbs/test-wcscpy.c: New file.
8337 * string/test-strcpy.c: Add wcscpy support.
8338 (WIDE): New macro.
26428b7c 8339
f039c043
UD
83402011-12-10 Ulrich Drepper <drepper@gmail.com>
8341
8342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8343 the inner loop.
8344
850fb039
AS
83452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8346
8347 [BZ #13472]
8348 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8349
4efbd5cb
UD
83502011-12-04 Ulrich Drepper <drepper@gmail.com>
8351
52ff5dd0 8352 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8353 Minor optimizations.
52ff5dd0 8354
4efbd5cb
UD
8355 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8356 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8357 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8358
8a426e12
UD
83592011-12-03 Ulrich Drepper <drepper@gmail.com>
8360
aff2453d
UD
8361 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8362 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8363 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8364 for gcc to avoid warnings.
8365 * inet/Makefile (tests): Add tst-checks.
8366 * inet/tst-checks.c: New file.
8367
8368 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8369 warning.
8370
8371 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8372 __wmemcmp_sse2.
8373
8374 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8375 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8376
8a426e12
UD
8377 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8378
9bea3473
UD
83792011-12-02 Ulrich Drepper <drepper@gmail.com>
8380
3a965496
UD
8381 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8382 problem.
8383
9bea3473
UD
8384 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8385
f101631b
UD
83862011-11-29 Joseph Myers <joseph@codesourcery.com>
8387
8388 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8389 conditional on GCC version.
8390 (__arch_compare_and_exchange_val_8_acq)
8391 (__arch_compare_and_exchange_val_16_acq)
8392 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8393 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8394 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8395
a98275aa
UD
83962011-12-02 Joseph Myers <joseph@codesourcery.com>
8397
8398 * sysdeps/sh/backtrace.c: New file.
8399
d4cc29a2
AS
84002011-12-02 Andreas Schwab <schwab@redhat.com>
8401
8402 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8403 parenthesis.
8404
6257af2d
AS
84052011-12-01 Andreas Schwab <schwab@redhat.com>
8406
8407 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8408 falling back to utime.
8409
b5f44c1a
AS
84102011-11-30 Andreas Schwab <schwab@redhat.com>
8411
8412 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8413 expectations for float.
8414
f3a6cc0a
AS
84152011-11-29 Andreas Schwab <schwab@redhat.com>
8416
8417 * locale/weight.h (findidx): Add parameter len.
8418 * locale/weightwc.h (findidx): Likewise.
8419 * posix/fnmatch_loop.c (FCT): Adjust caller.
8420 * posix/regcomp.c (build_equiv_class): Likewise.
8421 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8422 * posix/regexec.c (check_node_accept_bytes): Likewise.
8423 * string/strcoll_l.c (STRCOLL): Likewise.
8424 * string/strxfrm_l.c (STRXFRM): Likewise.
8425
9d65ea3a
UD
84262011-11-17 Ulrich Drepper <drepper@gmail.com>
8427
8428 * Makefile.in: Remove CVSOPT handling.
8429 * configure.in: Remove use of AC_REVISION.
8430 * iconvdata/Makefile (distribute): No need to filter out CVS.
8431 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8432 handling.
8433
5583a086
AS
84342011-11-16 Andreas Schwab <schwab@redhat.com>
8435
8436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8437 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8438 [USE_AS_STRNCASECMP_L]: Likewise.
8439 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8440 NO_TLS_DIRECT_SEG_REFS.
8441 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8442 Fix argument offsets for non-PIC.
8443 [USE_AS_STRNCASECMP_L]: Likewise.
8444 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8445 NO_TLS_DIRECT_SEG_REFS.
8446
d62a8200
UD
84472011-11-15 Ulrich Drepper <drepper@gmail.com>
8448
9d65ea3a 8449 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8450 O_CLOEXEC.
8451 * locale/loadlocale.c (_nl_load_locale): Likewise.
8452
09f93bd3
AS
84532011-11-15 Andreas Schwab <schwab@redhat.com>
8454
446514f9
AS
8455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8456 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8457 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8458 (SYSCALL_GETTIME): Set errno on error.
8459
09f93bd3
AS
8460 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8461 count references to noai6ai_cached.
8462
312be3f9
UD
84632011-11-15 Ulrich Drepper <drepper@gmail.com>
8464
8465 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8466
8467 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8468 FD_CLOEXEC for /proc/self/maps.
8469
8470 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8471 FD_CLOEXEC for /proc/meminfo.
8472
8473 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8474 gai.conf.
8475
8476 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8477 FD_CLOEXEC for given file.
8478
8479 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8480
8481 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8482 FD_CLOEXEC for /etc/hosts.
8483 (_gethtent): Likewise.
8484
8485 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8486
8487 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8488 cancellation and set FD_CLOEXEC for /etc/netgroup.
8489
8490 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8491 reading /etc/publickey.
8492
8493 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8494 allow cancellation when reading /etc/group.
8495
8496 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8497 cancellation.
8498 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8499
8500 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8501 when using data file.
8502
8503 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8504
8505 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8506 (write_nis_obj): Use "c" and "e" in fopen.
8507
8508 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8509
8510 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8511
8512 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8513
8514 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8515
8516 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8517 locale.alias.
8518
8519 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8520
8521 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8522
8523 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8524
8525 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8526 file parsing and set FD_CLOEXEC.
8527
82af0fa8
UD
85282011-11-14 Ulrich Drepper <drepper@gmail.com>
8529
8530 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8531
a5fb313c
AS
85322011-11-14 Andreas Schwab <schwab@redhat.com>
8533
8534 * malloc/arena.c (arena_get2): Don't call reused_arena when
8535 _int_new_arena failed.
8536
6abf3465
UD
85372011-11-14 Ulrich Drepper <drepper@gmail.com>
8538
8539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8540 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8541 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8542 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8545 to compile strcasecmp and strncasecmp.
8546 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8547 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8548
8549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8550
76e3966e
UD
85512011-11-13 Ulrich Drepper <drepper@gmail.com>
8552
8553 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8554 locale-defines.sym to gen-as-const-headers.
8555 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8556 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8558 to compile strcasecmp and strncasecmp.
8559 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8560 strcasecmp_l and strncasecmp_l.
8561 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8562 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8563 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8564 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8565 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8566 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8567 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8568 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8569 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8570 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8571 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8572
ab26144e
UD
85732011-11-12 Ulrich Drepper <drepper@gmail.com>
8574
7edb22ef
UD
8575 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8576 result of SYSDEP_GETTIME_CPU to retval.
8577 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8578 parameter list to macro. Remove trailing semicolon. Adjust users.
8579
9694fc44
UD
8580 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8581 variable.
8582
8ad89ef8
UD
8583 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8584 mantissa words.
8585 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8586
0c822ef9
UD
8587 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8588 from unused variable.
8589
874e0564
UD
8590 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8591 DWARF definitions.
8592 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8593 for assembling.
8594
3a2edc79
UD
8595 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8596 over namespaces.
8597
f3c2577f
UD
8598 * sunrpc/rpc_prot.c (rejected): Fix case value.
8599
294ce126
UD
8600 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8601 unsigned long long int to avoid warnings in shift.
8602
5e2b63c6
UD
8603 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8604 of use of trans.
8605 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8606 variable tmp.
8607
e7f4b08e
UD
8608 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8609 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8610 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8611
ab26144e
UD
8612 * nis/nis_table.c (nis_list): Use variable of correct type for
8613 result of __follow_path call.
8614
8a6d5255
AZ
86152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8616
8617 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8618 of math functions ceil, trunc, floor, round, and sqrt, when
8619 avaliable on the platform.
8620 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8621 name clash.
8622 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8623 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8624 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8625
aaddc98c
MP
86262011-10-30 Marek Polacek <mpolacek@redhat.com>
8627
8628 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8630
95b7042b
RM
86312011-11-11 Roland McGrath <roland@hack.frob.com>
8632
8633 * include/unistd.h: Fix __readlink return type.
8634 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8635
57769839
UD
86362011-11-11 Ulrich Drepper <drepper@gmail.com>
8637
8638 * stdlib/ucontext.h: Undo last change for makecontext.
8639
edc5984d
AS
86402011-11-11 Andreas Schwab <schwab@redhat.com>
8641
98591e58
AS
8642 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8643
edc5984d
AS
8644 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8645 * setjmp/setjmp.h: Mark functions as non-leaf.
8646 * setjmp/bits/setjmp2.h: Likewise.
8647 * stdlib/ucontext.h: Likewise.
8648
77cdc054
AS
86492011-11-10 Andreas Schwab <schwab@redhat.com>
8650
8651 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8652 (reused_arena): Don't check arena limit.
8653 (arena_get2): Atomically check arena limit.
8654
fe72eebd
UD
86552011-11-08 Ulrich Drepper <drepper@gmail.com>
8656
5f078c32
UD
8657 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8658 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8659
fe72eebd
UD
8660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8661 instructions.
8662
ae1bc2fa
AS
86632011-11-07 Andreas Schwab <schwab@redhat.com>
8664
7583a88d
AS
8665 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8666 handler when locking.
8667
ae1bc2fa
AS
8668 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8669 Fix size of allocated buffer.
8670
10fb0bfa
AS
86712011-11-04 Andreas Schwab <schwab@redhat.com>
8672
998832a4
AS
8673 [BZ #10103]
8674 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8675 declarations for long double functions.
8676 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8677
10fb0bfa
AS
8678 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8679
3d7ba52b
AS
86802011-11-03 Andreas Schwab <schwab@redhat.com>
8681
a9ae54a1
AS
8682 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8683 installed.
8684
3d7ba52b
AS
8685 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8686 is disabled.
8687
bc8db248
ST
86882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8689
8690 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8691
45b96dd6
AS
86922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8693
647776f6
AS
8694 * include/alloca.h (stackinfo_alloca_round): Define.
8695 (extend_alloca): Use it.
8696 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8697 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8698 here.
8699
d91a8b93
AS
8700 * scripts/check-local-headers.sh: Ignore libaudit.h.
8701
45b96dd6
AS
8702 * nscd/Makefile (extra-objs): Make recursively expanded.
8703
432d41ce
UD
87042011-11-01 Ulrich Drepper <drepper@gmail.com>
8705
34372fc6
UD
8706 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8707 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8708
fadb59f8
UD
8709 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8710 * posix/tst-rfc3484-2.c: Likewise.
8711 * posix/tst-rfc3484-3.c: Likewise.
8712
78239589
UD
8713 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8714 process_vm_writev.
8715 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8716 process_vm_writev.
8717 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8718 process_vm_writev from libc using GLIBC_2.15 version.
8719
432d41ce
UD
8720 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8721
02f9c6cf
PP
87222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8723
8724 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8725 stack usage.
8726
3a2c0242
UD
87272011-10-31 Ulrich Drepper <drepper@gmail.com>
8728
f4ec4833
UD
8729 [BZ #13367]
8730 * nss/getent.c (initgroups_keys): Show error message in case no group
8731 names are given.
8732
3a2c0242
UD
8733 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8734 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8735 __bump_nl_timestamp.
8736 * nscd/connections (nscd_init): When host database is served open
8737 netlink socket and request notification about configuration changes.
8738 (main_loop_poll): Track netlink file descriptor and bump timestamp
8739 in case data becomes available.
8740 (main_loop_epoll): Likewise.
8741 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8742 (database_pers_head): Add extra_data fileds.
8743 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8745 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8746 Adjust caller.
8747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8748 in6ai data, call __free_in6ai.
8749 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8750 Add -DHAVE_NETLINK.
8751 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8752 interface information. Reuse previous data if netlink timestamp
8753 is not changed.
8754 (__bump_nl_timestamp): New function.
8755 (__free_in6ai): New function.
8756
636064eb
UD
87572011-10-30 Ulrich Drepper <drepper@gmail.com>
8758
8759 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8760 close_not_cancel_no_status here.
8761 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8762
9beb2334
UD
87632011-10-29 Ulrich Drepper <drepper@gmail.com>
8764
6ef76f3b
UD
8765 [BZ #13276]
8766 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8767 return value.
8768
0ffc4f3e 8769 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8770 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8771 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8772
cb95113e
UD
87732011-07-03 Andreas Jaeger <aj@suse.de>
8774
8775 [BZ #10709]
8776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8777 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8778 * math/libm-test.inc (sin_test): Add test case.
8779
a1b560ff
UD
87802011-10-29 Ulrich Drepper <drepper@gmail.com>
8781
c9aaface
UD
8782 [BZ #13337]
8783 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8784 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8785
d272e7f1
UD
8786 * elf/chroot_canon.c (chroot_canon): Cleanups.
8787
1bc33071
UD
8788 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8789
1760874d
TJ
8790 [BZ #13335]
8791 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8792 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8793
51d91b18
UD
8794 * string/test-strchr.c: Make usable for strchrnul testing.
8795 * string/test-strchrnul.c: New file.
8796 * string/Makefile (strop-tests): Add strchrnul.
8797
a1b560ff 8798 * po/it.po: Update from translation team.
b611fb81 8799 * po/es.po: Likewise.
a1b560ff 8800
a5b81e1f
UD
88012011-10-28 Ulrich Drepper <drepper@gmail.com>
8802
fd52bc6d
UD
8803 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8804 the three constants needed as parameters. Drop the others.
8805 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8806 __m128i_strloadu_tolower.
52e4b9eb
UD
8807 Create and initialize variable zero and use it in all the places
8808 where _mm_setzero_si128 was used.
fd52bc6d 8809
a5b81e1f
UD
8810 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8811 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8812 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8813 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8814 anymore.
8815 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8817 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8818 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8819 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8820 __mpranred, __mptan.
8821 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8822 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8823 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8824 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8825 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8826 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8828 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8829 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8830
b4343346
AS
88312011-10-28 Andreas Schwab <schwab@redhat.com>
8832
0c92d8a8
AS
8833 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8834 redefine if SHARED.
8835 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8836
b4343346
AS
8837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8838 wide char related routines to wcsmbs subdir.
8839
3871f58f
AS
88402011-10-27 Andreas Schwab <schwab@redhat.com>
8841
8842 [BZ #13344]
8843 * misc/sys/cdefs.h (__THROWNL): Define.
8844 * posix/unistd.h: Use __THREADNL instead of __THREAD
8845 for memory synchronization functions.
8846
94d44d9f
RM
88472011-10-26 Roland McGrath <roland@hack.frob.com>
8848
21b64b15 8849 [BZ #13349]
94d44d9f
RM
8850 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8851 doesn't exist.
8852 * manual/stdio.texi (Obstack Streams): Node removed.
8853
f6ce9294
AS
88542011-10-26 Andreas Schwab <schwab@redhat.com>
8855
80479147
AS
8856 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8857 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8858 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8859
f6ce9294
AS
8860 * math/math_private.h (math_force_eval): Allow non-addressable
8861 arguments.
8862 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8863
618280a1
UD
88642011-10-25 Ulrich Drepper <drepper@gmail.com>
8865
e0016b11
UD
8866 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8867 file is not needed.
8868
8869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8870 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8876 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8877 Add AVX variants.
8878 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8879 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8880 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8881 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8882 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8883 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8884 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8885 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8886 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8887 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8888 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8889 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8891 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8892 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8893 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8894 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8895 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8896 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8897
8898 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8899 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8900
618280a1
UD
8901 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8902 place. Use VEX encoding when compiling for AVX.
8903
37822576
AS
89042011-10-25 Andreas Schwab <schwab@redhat.com>
8905
1f1e1947
AS
8906 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8907 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8908
37822576
AS
8909 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8910
31ea014d
UD
89112011-10-25 Ulrich Drepper <drepper@gmail.com>
8912
d7826aa1 8913 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8914 useless if() expression.
d7826aa1
UD
8915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8924 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8926 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8931 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8934
31ea014d
UD
8935 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8936
16437fec
AS
89372011-10-25 Andreas Schwab <schwab@redhat.com>
8938
8939 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8940 condition.
8941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8942
31d3cc00
UD
89432011-10-25 Ulrich Drepper <drepper@gmail.com>
8944
8945 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8946 .text section. Avoid duplicate constants.
8947 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8957 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8959 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8962 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8964 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8970 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8971 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8972 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8973 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8974 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8975 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8977 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8978 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8980 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8981 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8982 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8983 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8985 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8986 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8987 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8992
58985aa9
UD
89932011-10-24 Ulrich Drepper <drepper@gmail.com>
8994
202c9deb
UD
8995 * sysdeps/x86_64/dla.h: Move to ...
8996 * sysdeps/x86_64/fpu/dla.h: ...here.
8997 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8998 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8999
af968f62
UD
9000 * config.make.in: Add have-mfma4 entry.
9001 * configure.in: Substitute libc_cv_cc_fma4.
9002 * math/Makefile (dbl-only-routines): Add sincostab.
9003 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9004 Use __sincostab not sincos.
9005 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9006 name is a macro.
9007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9011 using __copysign.
9012 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9013 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9014 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9015 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9016 and __inv.
9017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9018 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9019 __copysign.
9020 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9021 define aliases when function name is a macro.
9022 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9023 sysdeps/ieee754/dbl-64/sincos.tbl.
9024 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9025 fma4-enabled routines.
9026 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9027 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9028 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9029 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9030 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9031 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9033 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9035 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9036 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9038 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9039 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9041 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9042 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9043 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9044 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9046 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9047 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9048 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9053 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9055 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9056
58985aa9
UD
9057 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9058 rename.
9059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9067
a201fbcf
AS
90682011-10-24 Andreas Schwab <schwab@redhat.com>
9069
9070 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9071
fc2ee42a
LD
90722011-10-23 Ulrich Drepper <drepper@gmail.com>
9073
bb3129bd
UD
9074 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9075
0275fff8
UD
9076 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9077 prediction.
9078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9079
2fa2ae85
UD
9080 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9081 Remove unused variable magic_bits.
9082 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9083
fc2ee42a
LD
9084 * string/strnlen.c: Define and use STRNLEN macro.
9085 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9086 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9088 * wcsmbs/wcslen.c: Define and use WCSLEN.
9089 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9090 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9091 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9092 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9093 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9094 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9095 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9096
ce7dd29f
LD
90972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9098
9099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9100 strnlen-sse2-no-bsf.
9101 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9103 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9104 Add strnlen support.
9105 (USE_AS_STRNLEN): New macro.
9106 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9107 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9108 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9109 * sysdeps/x86_64/wcslen.S: New file.
9110
979c70a3
MZ
91112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9112
9113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9114 XMM-moves are used for copying on small sizes.
9115
2d09f82f
LD
91162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9117
9118 * wcsmbs/Makefile (strop-tests): Add wcschr.
9119 * wcsmbs/test-wcschr.c: New file.
9120 * string/test-strchr.c: Update.
9121 Add wcschr support.
9122 (WIDE): New macro.
9123
619fccca
LD
91242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9125
2d09f82f 9126 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9127 * wcsmbs/test-wcslen.c: New file.
9128 * string/test-strlen.c: Update.
9129 Add wcslen support.
9130 (WIDE): New macro.
9131
09f699ea
UD
91322011-10-23 Ulrich Drepper <drepper@gmail.com>
9133
9134 * po/it.po: Update from translation team.
9135
95584d3b
LD
91362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9137
9138 * sysdeps/x86_64/wcscmp.S: Update.
9139 Fix wrong comparison semantics.
9140 wcscmp shall use signed comparison not unsigned.
9141 Don't use substraction to avoid overflow bug.
9142 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9143 * wcsmbc/wcscmp.c: Likewise.
9144 * string/test-strcmp.c: Likewise.
9145 Add new tests to check cases with negative values.
9146
c8b3296b
UD
91472011-10-23 Ulrich Drepper <drepper@gmail.com>
9148
9149 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9150 * sysdeps/x86_64/dla.h: ...here. New file.
9151 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9160
246ad57a
AS
91612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9162
9163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9164 __ynl_finite aliases.
9165
a1a87169
UD
91662011-10-22 Ulrich Drepper <drepper@gmail.com>
9167
0d355eb7
UD
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9169
a1a87169
UD
9170 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9171 define DLA_FMA.
9172 [DLA_FMA] (EMULV): Use DLA_FMA.
9173 [DLA_FMA] (MUL12): Use EMULV.
9174 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9175 that are not needed.
9176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9183
ee2aafe0
AS
91842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9185
9186 * math/s_nan.c: Undef __nan.
9187 * math/s_nanf.c: Undef __nanf.
9188 * math/s_nanl.c: Undef __nanl.
9189 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9190 "math_private.h".
9191
bc62c2fb
UD
91922011-10-22 Ulrich Drepper <drepper@gmail.com>
9193
77425c63
UD
9194 * math/s_catan.c: Add branch predictions.
9195 * math/s_catanf.c: Likewise.
9196 * math/s_catanh.c: Likewise.
9197 * math/s_catanhf.c: Likewise.
9198 * math/s_catanhl.c: Likewise.
9199 * math/s_catanl.c: Likewise.
9200 * math/s_cexp.c: Likewise.
9201 * math/s_cexpf.c: Likewise.
9202 * math/s_cexpl.c: Likewise.
9203 * math/s_clog.c: Likewise.
9204 * math/s_clog10.c: Likewise.
9205 * math/s_clog10f.c: Likewise.
9206 * math/s_clog10l.c: Likewise.
9207 * math/s_clogf.c: Likewise.
9208 * math/s_clogl.c: Likewise.
9209 * math/s_csqrt.c: Likewise.
9210 * math/s_csqrtf.c: Likewise.
9211 * math/s_csqrtl.c: Likewise.
9212 * math/s_ctanf.c: Likewise.
9213 * math/s_ctanh.c: Likewise.
9214 * math/s_ctanhf.c: Likewise.
9215 * math/s_ctanhl.c: Likewise.
9216 * math/s_ctanl.c: Likewise.
9217
bc62c2fb
UD
9218 * math/math_private.h: Define __nan, __nanf, __nanl.
9219 * math/s_cacosh.c: Include <math_private.h>.
9220 * math/s_cacoshl.c: Likewise.
9221 * math/s_casinh.c: Likewise.
9222 * math/s_casinhf.c: Likewise.
9223 * math/s_casinhl.c: Likewise.
9224 * math/s_ccos.c: Rely entire on ccosh.
9225 * math/s_ccosf.c: Rely entire on ccoshf.
9226 * math/s_ccosl.c: Rely entirely on ccoshl.
9227 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9228 Remove tests for FE_INVALID.
9229 * math/s_ccoshf.c: Likewise.
9230 * math/s_ccoshl.c: Likewise.
9231 * math/s_csin.c: Likewise.
9232 * math/s_csinf.c: Likewise.
9233 * math/s_csinh.c Likewise.
9234 * math/s_csinhf.c: Likewise.
9235 * math/s_csinhl.c: Likewise.
9236 * math/s_csinl.c: Likewise.
9237 * math/s_ctan.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9239 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9240 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9241
8ec250a4
UD
92422011-10-21 Ulrich Drepper <drepper@gmail.com>
9243
c196fed8
UD
9244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9245 compilation problems.
9246
8ec250a4
UD
9247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9248 __builtin_expect.
9249
8d4f46c6
UD
92502011-10-20 Ulrich Drepper <drepper@gmail.com>
9251
ed72b654
UD
9252 * sysdeps/i386/configure.in: Test for -mfma4 option.
9253 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9254 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9255 COMMON_CPUID_INDEX_80000001.
9256 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9257 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9258 use it if FMA3 is not supported.
9259 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9260
8d4f46c6
UD
9261 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9262 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9263
d45c60c2
AS
92642011-10-20 Andreas Schwab <schwab@redhat.com>
9265
9266 [BZ #12892]
9267 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9268 it would create a cycle with a link time dependency.
9269
d9a4d2ab
UD
92702011-10-19 Ulrich Drepper <drepper@gmail.com>
9271
855d1560
UD
9272 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9273 instruction.
9274 * string/Makefile (strop-tests): Add rawmemchr.
9275 * string/test-rawmemchr.c: New file.
9276
d9a4d2ab
UD
9277 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9279 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9280 when compiling str{,n}casecmp and when AVX is available. Hook up
9281 new optimized code in initializers.
9282
8f3b1ffe
AS
92832011-10-19 Andreas Schwab <schwab@redhat.com>
9284
9285 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9286 __feraiseexcept instead of feraiseexcept.
9287
d38f1dba
UD
92882011-10-18 Ulrich Drepper <drepper@gmail.com>
9289
d9a8d0ab
UD
9290 * math/math_private.h: Define defaults for libc_fetestexcept and
9291 libc_feupdateenv.
9292 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9293 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9295 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9297 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9298 libc_fetestexcept and libc_feupdateenv.
9299
4855e3dd
UD
9300 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9301 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9302 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9303 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9304 libc_feholdexcept_setround.
9305
581d30e3
UD
9306 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9307 Add s_nearbyint-c and s_nearbyintf-c.
9308 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9309 nearbyintf inlines.
9310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9312 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9314
d38f1dba
UD
9315 * math/math_private.h: Define defaults for libc_fegetround,
9316 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9317 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9318 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9319 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9320 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9321 standard functions.
9322 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9323 Remove comments and hacks for old compiler versions.
9324 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9325 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9326 libc_feholdexceptl.
9327
caa6c9d8
AS
93282011-10-18 Andreas Schwab <schwab@redhat.com>
9329
9330 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9331 (__feraiseexcept_renamed): Add __NTH.
9332 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9333 namespace violations.
9334
97c066e6
UD
93352011-10-17 Ulrich Drepper <drepper@gmail.com>
9336
99ce7b04
UD
9337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9338
1004d182
UD
9339 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9340
228a984d
UD
9341 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9342 recently added interfaces.
9343 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9344
c8553a6a
UD
9345 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9346 about macro parameter expansion.
9347
ed22dcf6
UD
9348 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9349 __NO_MATH_INLINES is defined. Cleanups.
9350
9351 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9352 and __floorf is target has SSE4.1.
9353 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9354 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9355 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9356 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9357
b171c137
UD
9358 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9359 name.
9360 (floorf): Likewise.
9361
97c066e6
UD
9362 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9363
629f62ef
AS
93642011-10-17 Andreas Schwab <schwab@redhat.com>
9365
49a43d80
AS
9366 * misc/sys/cdefs.h: Fix last change.
9367
629f62ef
AS
9368 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9369 database lookup.
9370
e453f6cd
UD
93712011-10-16 Ulrich Drepper <drepper@gmail.com>
9372
aa78043a
UD
9373 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9374
ad0f5cad
UD
9375 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9384 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9385 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9386 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9387 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9388 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9389 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9390 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9391 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9392 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9394 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9395 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9396 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9397
9398 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9399 ceil, ceilf, floor, floorf.
9400
9401 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9402 Perform IRELATIVE relocations last.
9403
e453f6cd
UD
9404 * elf/do-rel.h: Add another parameter nrelative, replacing the
9405 local variable with the same name. Change name of the function
9406 to end in Rel or Rela (uppercase).
9407 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9408 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9409 elf_dynamic_do_##reloc function.
9410
fd5bdc09
UD
94112011-10-15 Ulrich Drepper <drepper@gmail.com>
9412
79b195b5
UD
9413 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9414 is sufficient, at least on modern CPUs.
9415
d4a28569
UD
9416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9417
b61099b5
UD
9418 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9420
bcf01e6d
UD
9421 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9422 __expl_finite.
9423 * math/bits/math-finite.h: Add entries for exp.
9424 * math/e_expl.c: Add __*_finite alias.
9425 * sysdeps/i386/fpu/e_exp.S: Likewise.
9426 * sysdeps/i386/fpu/e_expf.S: Likewise.
9427 * sysdeps/i386/fpu/e_expl.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9429 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9433 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9434 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9435
ba1a0d59
UD
9436 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9437 is sufficient, at least on modern CPUs.
9438
fd5bdc09
UD
9439 * ctype/ctype-info.c (__ctype_init): Define.
9440 * include/ctype.h (__ctype_init): Declare.
9441 (__ctype_b_loc): The variable is always initialized.
9442 (__ctype_toupper_loc): Likewise.
9443 (__ctype_tolower_loc): Likewise.
9444 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9445 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9446
7872cfb0
AS
94472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9448
b468825a
AS
9449 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9450
7872cfb0
AS
9451 * configure.in: Also look in $cxxmachine/include for C++ system
9452 headers.
9453
be13f7bf
LD
94542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9455
9456 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9457 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9458 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9459 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9461 (USE_AS_WMEMCMP): New macro.
9462 Fixing indents.
9463 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9464 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9465 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9466 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9468 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9469 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9470 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9471 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9472 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9474 (USE_AS_WMEMCMP): New macro.
9475 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9476 * sysdeps/string/test-memcmp.c: Update.
9477 Fix simple_wmemcmp.
9478 Add new tests.
9479 * wcsmbs/wmemcmp.c: Update.
9480 (WMEMCMP): New macro.
9481 Fix overflow bug.
9482
556a2007
AJ
94832011-10-12 Andreas Jaeger <aj@suse.de>
9484
9485 [BZ #13268]
9486 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9487
538faaa7
UD
94882011-10-15 Ulrich Drepper <drepper@gmail.com>
9489
ab6737ff
UD
9490 * libio/iofwide.c (do_length): Avoid warning.
9491
538faaa7
UD
9492 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9493
396a21b1
UD
94942011-10-14 Ulrich Drepper <drepper@gmail.com>
9495
cdf2901f
UD
9496 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9497
38ad40ce
UD
9498 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9499 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9500 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9501 * sysdeps/i386/i686/fpu/e_log.S: New file.
9502 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9503 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9504
396a21b1
UD
9505 * ctype/ctype.h: Add support for inlined isXXX functions when
9506 compiling C++ code.
9507
6b1f68c9
AS
95082011-10-14 Andreas Schwab <schwab@redhat.com>
9509
349290c0
AS
9510 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9511
6b1f68c9
AS
9512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9513
f2282d42
RM
95142011-10-13 Roland McGrath <roland@hack.frob.com>
9515
9516 [BZ #13291]
9517 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9518
5298ffa8
AS
95192011-10-13 Andreas Schwab <schwab@redhat.com>
9520
714fad23
AS
9521 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9522 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9523 feraiseexcept.
9524
81dcc7fb
AS
9525 * sysdeps/x86_64/memrchr.S: Check for zero size.
9526
5298ffa8
AS
9527 * string/stratcliff.c: Add memrchr tests.
9528
951fbcec
LD
95292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9530
9531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9532 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9533 rawmemchr-sse2 rawmemchr-sse2-bsf.
9534 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9535 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9536 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9537 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9538 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9539 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9540 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9541 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9542 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9543 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9544 * string/memrchr.c (MEMRCHR): New macro.
9545
0ac5ae23
UD
95462011-10-12 Ulrich Drepper <drepper@gmail.com>
9547
9548 Add integration with gcc's -ffinite-math-only and optimize wrapper
9549 functions in libm.
9550 * Versions.def: Define GLIBC_2.15 version for libm.
9551 * math/Makefile (headers): Add bits/math-finite.h.
9552 * math/bits/math-finite.h: New file.
9553 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9554 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9555 * math/e_acoshl.c: Add __*_finite alias.
9556 * math/e_acosl.c: Likewise.
9557 * math/e_asinl.c: Likewise.
9558 * math/e_atan2l.c: Likewise.
9559 * math/e_atanhl.c: Likewise.
9560 * math/e_coshl.c: Likewise.
9561 * math/e_exp10.c: Likewise.
9562 * math/e_exp10f.c: Likewise.
9563 * math/e_exp10l.c: Likewise.
9564 * math/e_exp2l.c: Likewise.
9565 * math/e_fmodl.c: Likewise.
9566 * math/e_gammal_r.c: Likewise.
9567 * math/e_hypotl.c: Likewise.
9568 * math/e_j0l.c: Likewise.
9569 * math/e_j1l.c: Likewise.
9570 * math/e_jnl.c: Likewise.
9571 * math/e_lgammal_r.c: Likewise.
9572 * math/e_log10l.c: Likewise.
9573 * math/e_log2l.c: Likewise.
9574 * math/e_logl.c: Likewise.
9575 * math/e_powl.c: Likewise.
9576 * math/e_sinhl.c: Likewise.
9577 * math/e_sqrtl.c: Likewise.
9578 * math/e_scalb.c: Completely rewritten and optimized.
9579 * math/e_scalbf.c: Likewise.
9580 * math/e_scalbl.c: Likewise.
9581 * math/w_acos.c: Likewise.
9582 * math/w_acosf.c: Likewise.
9583 * math/w_acosl.c: Likewise.
9584 * math/w_acosh.c: Likewise.
9585 * math/w_acoshf.c: Likewise.
9586 * math/w_acoshl.c: Likewise.
9587 * math/w_asin.c: Likewise.
9588 * math/w_asinf.c: Likewise.
9589 * math/w_asinl.c: Likewise.
9590 * math/w_atan2.c: Likewise.
9591 * math/w_atan2f.c: Likewise.
9592 * math/w_atan2l.c: Likewise.
9593 * math/w_atanh.c: Likewise.
9594 * math/w_atanhf.c: Likewise.
9595 * math/w_atanhl.c: Likewise.
9596 * math/w_exp10.c: Likewise.
9597 * math/w_exp10f.c: Likewise.
9598 * math/w_exp10l.c: Likewise.
9599 * math/w_fmod.c: Likewise.
9600 * math/w_fmodf.c: Likewise.
9601 * math/w_fmodl.c: Likewise.
9602 * math/w_j0.c: Likewise.
9603 * math/w_j0f.c: Likewise.
9604 * math/w_j0l.c: Likewise.
9605 * math/w_j1.c: Likewise.
9606 * math/w_j1f.c: Likewise.
9607 * math/w_j1l.c: Likewise.
9608 * math/w_jn.c: Likewise.
9609 * math/w_jnf.c: Likewise.
9610 * math/w_log.c: Likewise.
9611 * math/w_logf.c: Likewise.
9612 * math/w_logl.c: Likewise.
9613 * math/w_log10.c: Likewise.
9614 * math/w_log10f.c: Likewise.
9615 * math/w_log10l.c: Likewise.
9616 * math/w_log2.c: Likewise.
9617 * math/w_log2f.c: Likewise.
9618 * math/w_log2l.c: Likewise.
9619 * math/w_pow.c: Likewise.
9620 * math/w_powf.c: Likewise.
9621 * math/w_powl.c: Likewise.
9622 * math/w_remainder.c: Likewise.
9623 * math/w_remainderf.c: Likewise.
9624 * math/w_remainderl.c: Likewise.
9625 * math/w_scalb.c: Likewise.
9626 * math/w_scalbf.c: Likewise.
9627 * math/w_scalbl.c: Likewise.
9628 * math/w_sqrt.c: Likewise.
9629 * math/w_sqrtf.c: Likewise.
9630 * math/w_sqrtl.c: Likewise.
9631 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9632 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9633 used.
9634 * math/math_private.h: Declare __kernel_standard_f.
9635 * math/w_cosh.c: Remove cruft and optimize a bit.
9636 * math/w_coshf.c: Likewise.
9637 * math/w_coshl.c: Likewise.
9638 * math/w_exp2.c: Likewise.
9639 * math/w_exp2f.c: Likewise.
9640 * math/w_exp2l.c: Likewise.
9641 * math/w_hypot.c: Likewise.
9642 * math/w_hypotf.c: Likewise.
9643 * math/w_hypotl.c: Likewise.
9644 * math/w_lgamma.c: Likewise.
9645 * math/w_lgamma_r.c: Likewise.
9646 * math/w_lgammaf.c: Likewise.
9647 * math/w_lgammaf_r.c: Likewise.
9648 * math/w_lgammal.c: Likewise.
9649 * math/w_lgammal_r.c: Likewise.
9650 * math/w_sinh.c: Likewise.
9651 * math/w_sinhf.c: Likewise.
9652 * math/w_sinhl.c: Likewise.
9653 * math/w_tgamma.c: Likewise.
9654 * math/w_tgammaf.c: Likewise.
9655 * math/w_tgammal.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9658 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9659 Minor optimizations. Pretty printing. Remove cruft.
9660 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9661 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9662 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9663 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9664 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9665 * sysdeps/i386/fpu/e_asin.S: Likewise.
9666 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9667 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9668 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9669 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9672 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9673 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9674 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9675 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9676 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9677 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9678 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9679 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9680 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9681 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9682 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9683 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9684 * sysdeps/i386/fpu/e_log.S: Likewise.
9685 * sysdeps/i386/fpu/e_log10.S: Likewise.
9686 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9687 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9688 * sysdeps/i386/fpu/e_log2.S: Likewise.
9689 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9691 * sysdeps/i386/fpu/e_logf.S: Likewise.
9692 * sysdeps/i386/fpu/e_logl.S: Likewise.
9693 * sysdeps/i386/fpu/e_pow.S: Likewise.
9694 * sysdeps/i386/fpu/e_powf.S: Likewise.
9695 * sysdeps/i386/fpu/e_powl.S: Likewise.
9696 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9697 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9698 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9699 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9701 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9702 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9703 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9704 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9726 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9727 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9729 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9730 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9731 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9732 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9733 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9734 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9735 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9736 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9738 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9739 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9740 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9741 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9742 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9743 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9744 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9745 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9746 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9788 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9790 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9798 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9800 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9801 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9802 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9803 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9804 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9805 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9806 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9807 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9808 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9810 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9811 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9812 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9813 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9814 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9815 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9816 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9817 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9818 (__isnanf): Likewise.
9819 (__isinf_ns): Likewise.
9820 (__isinf_nsf): Likewise.
9821 (__finite): Likewise.
9822 (__finitef): Likewise.
9823 (__ieee754_sqrt): Define as macro.
9824 (__ieee754_sqrtf): Define as macro.
9825 (__ieee754_sqrtl): Define as macro.
9826 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9827 inlined copy.
9828 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9829 __FINITE_MATH_ONLY__ consistent.
9830 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9831
12cc2fcd
AS
98322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9833
a843a204
AS
9834 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9835 of rawmemchr.
9836
12cc2fcd
AS
9837 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9838
c853acd5
UD
98392011-10-09 Ulrich Drepper <drepper@gmail.com>
9840
9841 * po/ja.po: Update from translation team.
9842
c658d255
RM
98432011-10-08 Roland McGrath <roland@hack.frob.com>
9844
110946e4
RM
9845 * locale/programs/locarchive.c (prepare_address_space): New function.
9846 (create_archive, enlarge_archive, open_archive): Use it.
9847
50604220
RM
9848 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9849 inside [SHARED], where it is used.
9850
c658d255
RM
9851 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9852
9853 * nss/getent.c (netgroup_keys): Remove unused variable.
9854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9855
6a621eb7
UD
98562011-10-08 Ulrich Drepper <drepper@gmail.com>
9857
7edb55ce
UD
9858 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9862 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9863 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9864 * math/Makefile (libm-calls): Add s_isinf_ns.
9865 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9866 * math/multc3.c: Likewise.
9867 * math/s_casin.c: Likewise.
9868 * math/s_casinf.c: Likewise.
9869 * math/s_casinl.c: Likewise.
9870 * math/s_ccos.c: Likewise.
9871 * math/s_ccosf.c: Likewise.
9872 * math/s_ccosl.c: Likewise.
9873 * math/s_ctan.c: Likewise.
9874 * math/s_ctanf.c: Likewise.
9875 * math/s_ctanh.c: Likewise.
9876 * math/s_ctanhf.c: Likewise.
9877 * math/s_ctanhl.c: Likewise.
9878 * math/s_ctanl.c: Likewise.
9879 * math/w_fmod.c: Likewise.
9880 * math/w_fmodf.c: Likewise.
9881 * math/w_fmodl.c: Likewise.
9882 * math/w_remainder.c: Likewise.
9883 * math/w_remainderf.c: Likewise.
9884 * math/w_remainderl.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9886 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9889 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9890 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9891 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9892 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9893
187da0ae
UD
9894 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9895 of the number.
9896 * stdio-common/printf_fphex.c: Likewise.
9897 * stdio-common/printf_size.c: Likewise.
9898
9277c064
UD
9899 * math/e_exp10.c: Include math_private.h using <...> not "...".
9900 * math/e_exp10f.c: Likewise.
9901 * math/e_exp10l.c: Likewise.
9902 * math/e_exp2l.c: Likewise.
9903 * math/e_j0l.c: Likewise.
9904 * math/e_j1l.c: Likewise.
9905 * math/e_jnl.c: Likewise.
9906 * math/e_lgammal_r.c: Likewise.
9907 * math/e_rem_pio2l.c: Likewise.
9908 * math/e_scalb.c: Likewise.
9909 * math/e_scalbf.c: Likewise.
9910 * math/e_scalbl.c: Likewise.
9911 * math/k_cosl.c: Likewise.
9912 * math/k_sinl.c: Likewise.
9913 * math/k_tanl.c: Likewise.
9914 * math/s_cacoshf.c: Likewise.
9915 * math/s_catan.c: Likewise.
9916 * math/s_catanf.c: Likewise.
9917 * math/s_catanh.c: Likewise.
9918 * math/s_catanhf.c: Likewise.
9919 * math/s_catanhl.c: Likewise.
9920 * math/s_catanl.c: Likewise.
9921 * math/s_ccosh.c: Likewise.
9922 * math/s_ccoshf.c: Likewise.
9923 * math/s_ccoshl.c: Likewise.
9924 * math/s_cexp.c: Likewise.
9925 * math/s_cexpf.c: Likewise.
9926 * math/s_cexpl.c: Likewise.
9927 * math/s_clog.c: Likewise.
9928 * math/s_clog10.c: Likewise.
9929 * math/s_clog10f.c: Likewise.
9930 * math/s_clog10l.c: Likewise.
9931 * math/s_clogf.c: Likewise.
9932 * math/s_clogl.c: Likewise.
9933 * math/s_csin.c: Likewise.
9934 * math/s_csinf.c: Likewise.
9935 * math/s_csinh.c: Likewise.
9936 * math/s_csinhf.c: Likewise.
9937 * math/s_csinhl.c: Likewise.
9938 * math/s_csinl.c: Likewise.
9939 * math/s_csqrt.c: Likewise.
9940 * math/s_csqrtf.c: Likewise.
9941 * math/s_csqrtl.c: Likewise.
9942 * math/s_ctan.c: Likewise.
9943 * math/s_ctanf.c: Likewise.
9944 * math/s_ctanh.c: Likewise.
9945 * math/s_ctanhf.c: Likewise.
9946 * math/s_ctanhl.c: Likewise.
9947 * math/s_ctanl.c: Likewise.
9948 * math/s_ldexp.c: Likewise.
9949 * math/s_ldexpf.c: Likewise.
9950 * math/s_ldexpl.c: Likewise.
9951 * math/s_significand.c: Likewise.
9952 * math/s_significandf.c: Likewise.
9953 * math/s_significandl.c: Likewise.
9954 * math/w_acos.c: Likewise.
9955 * math/w_acosf.c: Likewise.
9956 * math/w_acosh.c: Likewise.
9957 * math/w_acoshf.c: Likewise.
9958 * math/w_acoshl.c: Likewise.
9959 * math/w_acosl.c: Likewise.
9960 * math/w_asin.c: Likewise.
9961 * math/w_asinf.c: Likewise.
9962 * math/w_asinl.c: Likewise.
9963 * math/w_atan2.c: Likewise.
9964 * math/w_atan2f.c: Likewise.
9965 * math/w_atan2l.c: Likewise.
9966 * math/w_atanh.c: Likewise.
9967 * math/w_atanhf.c: Likewise.
9968 * math/w_atanhl.c: Likewise.
9969 * math/w_cosh.c: Likewise.
9970 * math/w_coshf.c: Likewise.
9971 * math/w_coshl.c: Likewise.
9972 * math/w_dremf.c: Likewise.
9973 * math/w_exp10.c: Likewise.
9974 * math/w_exp10f.c: Likewise.
9975 * math/w_exp10l.c: Likewise.
9976 * math/w_exp2.c: Likewise.
9977 * math/w_exp2f.c: Likewise.
9978 * math/w_fmod.c: Likewise.
9979 * math/w_fmodf.c: Likewise.
9980 * math/w_fmodl.c: Likewise.
9981 * math/w_hypot.c: Likewise.
9982 * math/w_hypotf.c: Likewise.
9983 * math/w_hypotl.c: Likewise.
9984 * math/w_j0.c: Likewise.
9985 * math/w_j0f.c: Likewise.
9986 * math/w_j0l.c: Likewise.
9987 * math/w_j1.c: Likewise.
9988 * math/w_j1f.c: Likewise.
9989 * math/w_j1l.c: Likewise.
9990 * math/w_jn.c: Likewise.
9991 * math/w_jnf.c: Likewise.
9992 * math/w_jnl.c: Likewise.
9993 * math/w_lgamma.c: Likewise.
9994 * math/w_lgamma_r.c: Likewise.
9995 * math/w_lgammaf.c: Likewise.
9996 * math/w_lgammaf_r.c: Likewise.
9997 * math/w_lgammal.c: Likewise.
9998 * math/w_lgammal_r.c: Likewise.
9999 * math/w_log.c: Likewise.
10000 * math/w_log10.c: Likewise.
10001 * math/w_log10f.c: Likewise.
10002 * math/w_log10l.c: Likewise.
10003 * math/w_log2.c: Likewise.
10004 * math/w_log2f.c: Likewise.
10005 * math/w_log2l.c: Likewise.
10006 * math/w_logf.c: Likewise.
10007 * math/w_logl.c: Likewise.
10008 * math/w_pow.c: Likewise.
10009 * math/w_powf.c: Likewise.
10010 * math/w_powl.c: Likewise.
10011 * math/w_remainder.c: Likewise.
10012 * math/w_remainderf.c: Likewise.
10013 * math/w_remainderl.c: Likewise.
10014 * math/w_scalb.c: Likewise.
10015 * math/w_scalbf.c: Likewise.
10016 * math/w_scalbl.c: Likewise.
10017 * math/w_sinh.c: Likewise.
10018 * math/w_sinhf.c: Likewise.
10019 * math/w_sinhl.c: Likewise.
10020 * math/w_sqrt.c: Likewise.
10021 * math/w_sqrtf.c: Likewise.
10022 * math/w_sqrtl.c: Likewise.
10023 * math/w_tgamma.c: Likewise.
10024 * math/w_tgammaf.c: Likewise.
10025 * math/w_tgammal.c: Likewise.
10026
6a621eb7
UD
10027 * po/ja.po: Update from translation team.
10028
bf582445
AJ
100292011-09-29 Andreas Jaeger <aj@suse.de>
10030
f9efbf3a
AJ
10031 [BZ #13179]
10032 * sunrpc/netname.c (netname2host): Fix logic.
10033
bf582445
AJ
10034 [BZ #6779]
10035 [BZ #6783]
10036 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10037 correctly.
10038 * math/w_remainder.c (__remainder): Likewise.
10039 * math/w_remainderf.c (__remainderf): Likewise.
10040 * math/libm-test.inc (remainder_test): Add test cases.
10041
48693bea
AK
100422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043
10044 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10045 sdiv_qrnnd.
10046
42622229
LD
100472011-10-07 Ulrich Drepper <drepper@gmail.com>
10048
10049 * string/test-memcmp.c: Avoid unncessary #defines.
10050 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10051
093ecf92
LD
100522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10053
10054 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10055 Use new sse2 version for core i3 - i7 as it's faster
10056 than sse42 version.
10057 (bit_Prefer_PMINUB_for_stringop): New.
10058 * sysdeps/x86_64/rawmemchr.S: Update.
10059 Replace with faster SSE2 version.
10060 * sysdeps/x86_64/memrchr.S: New file.
10061 * sysdeps/x86_64/memchr.S: Update.
10062 Replace with faster SSE2 version.
10063
fde56e5c
MP
100642011-09-12 Marek Polacek <mpolacek@redhat.com>
10065
10066 * elf/dl-load.c (lose): Add cast to avoid warning.
10067
21fd49a9
UD
100682011-10-07 Ulrich Drepper <drepper@gmail.com>
10069
5a06e643
UD
10070 * po/ca.po: Update from translation team.
10071
684ae515
UD
10072 * inet/getnetgrent_r.c: Hook up nscd.
10073 * nscd/Makefile (routines): Add nscd_netgroup.
10074 (nscd-modules): Add netgroupcache.
10075 (CFLAGS-netgroupcache.c): Define.
10076 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10077 (cache_search): Add const to second parameter.
10078 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10079 INNETGR.
10080 (dbs): Add netgrdb entry.
10081 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10082 (verify_persistent_db): Handle netgrdb.
10083 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10084 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10085 GETFDNETGR.
10086 (netgroup_response_header): Define.
10087 (innetgroup_response_header): Define.
10088 (datahead): Add netgroup_response_header and innetgroup_response_header
10089 elements.
10090 * nscd/nscd.conf: Add entries for netgroup cache.
10091 * nscd/nscd.h (dbtype): Add netgrdb.
10092 (_PATH_NSCD_NETGROUP_DB): Define.
10093 (netgroup_iov_disabled): Declare.
10094 (xmalloc, xcalloc, xrealloc): Move declarations here.
10095 (cache_search): Adjust prototype.
10096 Add netgroup-related prototypes.
10097 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10098 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10099 (__nscd_innetgr): Declare.
10100 * nscd/selinux.c (perms): Use access_vector_t as element type and
10101 add netgroup-related initializers.
10102 * nscd/netgroupcache.c: New file.
10103 * nscd/nscd_netgroup.c: New file.
10104 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10105 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10106 For four parameters use innetgr.
10107 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10108 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10109 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10110 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10111
21fd49a9
UD
10112 * nscd/connections.c (register_traced_file): Don't register file
10113 for disabled databases.
10114
054c0457
UD
101152011-10-06 Ulrich Drepper <drepper@gmail.com>
10116
32b63198
UD
10117 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10118
054c0457
UD
10119 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10120 from tree and freeing node.
10121
64031225
JO
101222011-09-25 Jiri Olsa <jolsa@redhat.com>
10123
10124 * nss/nsswitch.c (__nss_database_lookup): Handle
10125 nss_parse_service_list out of memory case.
10126
0490345c
JO
101272011-09-15 Jiri Olsa <jolsa@redhat.com>
10128
10129 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10130 out of memory case.
10131
3a62d00d
AS
101322011-10-04 Andreas Schwab <schwab@redhat.com>
10133
10134 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10135 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10136 pass it down.
10137 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10138 elf_machine_rela, elf_machine_lazy_rel.
10139 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10140 (ELF_DYNAMIC_DO_REL): Likewise.
10141 (ELF_DYNAMIC_DO_RELA): Likewise.
10142 (ELF_DYNAMIC_RELOCATE): Likewise.
10143 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10144 to ELF_DYNAMIC_DO_REL.
10145 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10146 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10147 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10148 elf_machine_rela.
10149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10150 skip_ifunc, don't call ifunc function if non-zero.
10151 (elf_machine_rela): Likewise.
10152 (elf_machine_lazy_rel): Likewise.
10153 (elf_machine_lazy_rela): Likewise.
10154 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10155 (elf_machine_lazy_rel): Likewise.
10156 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10157 Likewise.
10158 (elf_machine_lazy_rel): Likewise.
10159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10160 Likewise.
10161 (elf_machine_lazy_rel): Likewise.
10162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10163 (elf_machine_lazy_rel): Likewise.
10164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10165 (elf_machine_lazy_rel): Likewise.
10166 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10167 (elf_machine_lazy_rel): Likewise.
10168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10169 (elf_machine_lazy_rel): Likewise.
10170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10171 (elf_machine_lazy_rel): Likewise.
10172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10173 (elf_machine_lazy_rel): Likewise.
10174
68577918
UD
101752011-09-28 Ulrich Drepper <drepper@gmail.com>
10176
10177 * nss/nss_files/files-init.c (_nss_files_init): Use static
10178 initialization for all the *_traced_file variables.
10179
68822d74
AS
101802011-09-28 Andreas Schwab <schwab@redhat.com>
10181
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10183
2056100b
RM
101842011-09-27 Roland McGrath <roland@hack.frob.com>
10185
10186 [BZ #13226]
10187 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10188
32c76b63
AS
101892011-09-27 Andreas Schwab <schwab@redhat.com>
10190
10191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10192 Reread the line before reparsing it.
10193
bf972c9d
AS
101942011-09-26 Andreas Schwab <schwab@redhat.com>
10195
10196 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10197
e057a1b5
JM
101982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10199 Maxim Kuvyrkov <maxim@codesourcery.com>
10200 Joseph Myers <joseph@codesourcery.com>
10201
10202 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10203 if needed for __stack_chk_guard.
10204
bc7e1c36
RM
102052011-09-19 Roland McGrath <roland@hack.frob.com>
10206
ecb1482f
RM
10207 * sysdeps/posix/spawni.c (script_execute): Always define it.
10208 It will be optimized away if unused.
10209 (maybe_script_execute): New function.
10210 (__spawni): Call it.
10211
bc7e1c36
RM
10212 * Makerules: Don't include tls.make.
10213 (config-tls): Always set to thread.
10214 * tls.make.c: File removed.
10215
1c3b002b
MF
102162011-09-19 Mike Frysinger <vapier@gentoo.org>
10217
10218 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10219 * config.make.in (CPPFLAGS-config): New substituted variable.
10220
2840865d
UD
102212011-09-15 Ulrich Drepper <drepper@gmail.com>
10222
88738eb6
UD
10223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10224
cbf645a6 10225 [BZ #13192]
2840865d
UD
10226 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10227 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10228
b402e91a
RM
102292011-09-15 Roland McGrath <roland@hack.frob.com>
10230
10231 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10232 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10234 (CALL_FAIL): Likewise.
10235 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10236 (CALL_FAIL): Macro removed.
10237 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10238
4c1a1f71
UD
102392011-09-15 Ulrich Drepper <drepper@gmail.com>
10240
10241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10242 for __FINITE_MATH_ONLY__ == 1.
10243
edc121be
AS
102442011-09-15 Andreas Schwab <schwab@redhat.com>
10245
10246 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10247 __ieee754_sqrt instead of sqrt.
10248 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10249 __ieee754_sqrtf instead of sqrtf.
10250 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10251 __floorf instead of floorf.
10252 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10253 __floorf, __truncf instead of floorf, truncf.
10254
cd205654
UD
102552011-09-14 Ulrich Drepper <drepper@gmail.com>
10256
ee4d0315
UD
10257 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10258
cd205654
UD
10259 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10260 __extern_always_inline.
10261 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10262 32-bit.
10263
48b67d71
AS
102642011-09-14 Andreas Schwab <schwab@redhat.com>
10265
10266 * elf/rtld.c (dl_main): Also relocate in dependency order when
10267 doing symbol dependency testing.
10268
1ae12c75
AS
102692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10270
10271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10272 Always define `refsym'.
10273
995a80df
AS
102742011-09-13 Andreas Schwab <schwab@redhat.com>
10275
e529793b
AS
10276 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10277 (__FD_ELT): Renamed from __FDELT.
10278 * misc/bits/select2.h (__FD_ELT): Likewise.
10279 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10280 __FD_MASK instead of __FDELT, __FDMASK.
10281 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10282 Likewise.
10283 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10284 Likewise.
10285
52d4fef8
AS
10286 * elf/Makefile (gen-ldd): Fix pattern.
10287
995a80df
AS
10288 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10289 (init_tls): Likewise.
10290
8682f8b0
UD
102912011-09-12 Ulrich Drepper <drepper@gmail.com>
10292
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10294
de82006d
AS
102952011-09-12 Andreas Schwab <schwab@redhat.com>
10296
a7c8e6a1
AS
10297 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10298 `struct cmsghdr *' instead of `void *'.
10299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10300 Likewise.
10301
0f31fe77
AS
103022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10303
10304 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10305 if non-absolute.
10306 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10307 ldd_rewrite_script.
0f31fe77 10308
32b4c839
UD
103092011-09-11 Ulrich Drepper <drepper@gmail.com>
10310
83cd1420
UD
10311 * configure.in: Remove --with-tls option.
10312 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10313 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10314 out in case it is missing.
10315 * sysdeps/ia64/elf/configure.in: Likewise.
10316 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10317 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10318 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10319 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10320 * sysdeps/sh/elf/configure.in: Likewise.
10321 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10322 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10323 * sysdeps/x86_64/elf/configure.in: Likewise.
10324 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10325 * sysdeps/mach/hurd/tls.h: Likewise.
10326
633f745d
UD
10327 [BZ #13067]
10328 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10329
f318beb8
UD
10330 [BZ #13090]
10331 * configure.in: Fix use of AC_INIT.
10332
32b4c839
UD
10333 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10334
3ce1f295
UD
103352011-09-10 Ulrich Drepper <drepper@gmail.com>
10336
bb016596
UD
10337 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10338 __set_errno.
8e58439c
UD
10339 * malloc/hooks.c: Likewise.
10340
aebae053 10341 [BZ #11929]
02d46fc4
UD
10342 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10343 variables statically.
10344 (narenas): Initialize.
10345 (list_lock): Initialize.
bb016596
UD
10346 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10347 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10348 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10349 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10350 Add initializers to main_arena and mp_.
10351 (malloc_state): Remove pagesize member. Change all users to use
10352 GLRO(dl_pagesize).
10353
10354 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10355 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10356 is always initialized.
10357
22a89187
UD
10358 * malloc/malloc.c: Removed unused configurations and dead code.
10359 * malloc/arena.c: Likewise.
10360 * malloc/hooks.c: Likewise.
02d46fc4 10361 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10362
d063d164
UD
10363 * include/tls.h: Removed. USE___THREAD must always be defined.
10364 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10365 * elf/dl-libc.c: Likewise.
10366 * elf/dl-tsd.c: Likewise.
10367 * include/errno.h: Likewise.
10368 * include/netdb.h: Likewise.
10369 * include/resolv.h: Likewise.
10370 * inet/herrno-loc.c: Likewise.
10371 * inet/herrno.c: Likewise.
10372 * malloc/arena.c: Likewise.
10373 * malloc/hooks.c: Likewise.
10374 * malloc/malloc.c: Likewise.
10375 * resolv/res-state.c: Likewise.
10376 * resolv/res_libc.c: Likewise.
10377 * sysdeps/i386/dl-machine.h: Likewise.
10378 * sysdeps/ia64/dl-machine.h: Likewise.
10379 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10380 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10381 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10382 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10383 * sysdeps/sh/dl-machine.h: Likewise.
10384 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10385 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10386 * sysdeps/unix/i386/sysdep.S: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10388 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10393 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10394 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10397 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10398 * sysdeps/x86_64/dl-machine.h: Likewise.
10399 * tls.make.c: Likewise.
10400
3ce1f295
UD
10401 * configure.in: Remove --with-__thread option. Make tests for
10402 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10403 tls_model attribute fail if no support is available. Remove
10404 USE_IN_LIBIO.
10405 * Makeconfig: Adjust for dropped configure option. All features are
10406 now mandatory.
10407 * Makerules: Likewise.
10408 * Versions.def: Likewise.
10409 * argp/argp-fmtstream.c: Likewise.
10410 * argp/argp-fmtstream.h: Likewise.
10411 * argp/argp-help.c: Likewise.
10412 * assert/assert.c: Likewise.
10413 * config.h.in: Likewise.
10414 * config.make.in: Likewise.
10415 * configure: Likewise.
10416 * configure.in: Likewise.
10417 * csu/Versions: Likewise.
10418 * csu/init.c: Likewise.
10419 * elf/tst-audit2.c: Likewise.
10420 * elf/tst-tls10.c: Likewise.
10421 * elf/tst-tls10.h: Likewise.
10422 * elf/tst-tls11.c: Likewise.
10423 * elf/tst-tls12.c: Likewise.
10424 * elf/tst-tls14.c: Likewise.
10425 * elf/tst-tlsmod11.c: Likewise.
10426 * elf/tst-tlsmod12.c: Likewise.
10427 * elf/tst-tlsmod13.c: Likewise.
10428 * elf/tst-tlsmod13a.c: Likewise.
10429 * elf/tst-tlsmod14a.c: Likewise.
10430 * elf/tst-tlsmod15b.c: Likewise.
10431 * elf/tst-tlsmod16a.c: Likewise.
10432 * elf/tst-tlsmod16b.c: Likewise.
10433 * elf/tst-tlsmod7.c: Likewise.
10434 * elf/tst-tlsmod8.c: Likewise.
10435 * elf/tst-tlsmod9.c: Likewise.
10436 * gmon/gmon.c: Likewise.
10437 * grp/fgetgrent_r.c: Likewise.
10438 * grp/putgrent.c: Likewise.
10439 * hurd/fopenport.c: Likewise.
10440 * include/libc-symbols.h: Likewise.
10441 * include/tls.h: Likewise.
10442 * intl/gettextP.h: Likewise.
10443 * intl/loadinfo.h: Likewise.
10444 * locale/global-locale.c: Likewise.
10445 * locale/localeinfo.h: Likewise.
10446 * mach/devstream.c: Likewise.
10447 * malloc/arena.c: Likewise.
10448 * malloc/set-freeres.c: Likewise.
10449 * misc/err.c: Likewise.
10450 * misc/getttyent.c: Likewise.
10451 * misc/mntent_r.c: Likewise.
10452 * posix/getopt.c: Likewise.
10453 * posix/wordexp.c: Likewise.
10454 * pwd/fgetpwent_r.c: Likewise.
10455 * resolv/Versions: Likewise.
10456 * resolv/res_hconf.c: Likewise.
10457 * shadow/fgetspent_r.c: Likewise.
10458 * shadow/putspent.c: Likewise.
10459 * stdio-common/printf_fphex.c: Likewise.
10460 * stdio-common/tmpfile.c: Likewise.
10461 * stdlib/abort.c: Likewise.
10462 * stdlib/fmtmsg.c: Likewise.
10463 * sunrpc/auth_unix.c: Likewise.
10464 * sunrpc/clnt_perr.c: Likewise.
10465 * sunrpc/clnt_tcp.c: Likewise.
10466 * sunrpc/clnt_udp.c: Likewise.
10467 * sunrpc/clnt_unix.c: Likewise.
10468 * sunrpc/openchild.c: Likewise.
10469 * sunrpc/svc_simple.c: Likewise.
10470 * sunrpc/svc_tcp.c: Likewise.
10471 * sunrpc/svc_udp.c: Likewise.
10472 * sunrpc/svc_unix.c: Likewise.
10473 * sunrpc/xdr.c: Likewise.
10474 * sunrpc/xdr_array.c: Likewise.
10475 * sunrpc/xdr_rec.c: Likewise.
10476 * sunrpc/xdr_ref.c: Likewise.
10477 * sunrpc/xdr_stdio.c: Likewise.
10478
1248c1c4
PB
104792011-09-09 Ulrich Drepper <drepper@gmail.com>
10480
10481 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10482
104832011-07-03 Andreas Jaeger <aj@suse.de>
10484
10485 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10486 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10487 regenerate with gen-libm-tests.pl.
10488
104892010-05-12 Petr Baudis <pasky@suse.cz>
10490
10491 [BZ #11589]
10492 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10493 around j0() zero points by switching to j1().
10494 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10498
f22e1074
UD
104992011-09-09 Ulrich Drepper <drepper@gmail.com>
10500
f19009c1
UD
10501 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10502 instead of 0.
10503 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10504 instead of 0. .
10505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10506 Patch in part by Pavel Roskin <proski@gnu.org>.
10507
3f8cc204
UD
10508 [BZ #13138]
10509 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10510 realloc.
10511 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10512 Free memory block if necessary.
10513
f22e1074
UD
10514 [BZ #12847]
10515 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10516 be NULL. Don't lock in this case.
10517
0a2349f9
RM
105182011-09-09 Roland McGrath <roland@hack.frob.com>
10519
10520 * elf/elf.h (ELFOSABI_GNU): New macro.
10521 (ELFOSABI_LINUX): Define to that.
10522
f3cdd467
DZ
105232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10524
10525 * string/strncat.c (strncat): Undef the symbol in case it has been
10526 defined in bits/string.h.
10527
74718d13
UD
105282011-09-09 Ulrich Drepper <drepper@gmail.com>
10529
633e9e0f
UD
10530 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10531
0a2349f9 10532 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10533 link map.
10534
f9924780
AJ
105352011-08-17 Andreas Jaeger <aj@suse.de>
10536
10537 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10538
7f5517aa
PP
105392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10540 Ian Lance Taylor <iant@google.com>
10541
10542 * math/libm-test.inc (lround_test): New testcase.
10543 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10544
762011fe
UD
105452011-09-08 Ulrich Drepper <drepper@gmail.com>
10546
92963737
UD
10547 * Makefile: Remove support for automatic cvs check-ins.
10548 * Makerules: Likewise.
10549 * config.make.in: Likewise.
10550 * configure.in: Likewise.
10551 * intl/Makefile: Likewise.
10552 * locale/Makefile: Likewise.
10553 * po/Makefile: Likewise.
10554 * posix/Makefile: Likewise.
10555 * sysdeps/gnu/Makefile: Likewise.
10556 * sysdeps/mach/hurd/Makefile: Likewise.
10557 * sysdeps/sparc/sparc32/Makefile: Likewise.
10558
b0727fd8
JS
10559 [BZ #13118]
10560 * posix/Makefile (bug-regex32-ENV): Define.
10561 Patch by John Stanley <jpsinthemix@verizon.net>.
10562
a0f33f99
UD
10563 * misc/Makefile (headers): Add bits/select2.h.
10564 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10565 * misc/bits/select2.h: New file.
10566 * include/bits/select2.h: New file.
10567 * debug/Makefile (routines): Add fdelt_chk.
10568 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10569 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10570 FD_ISSET.
10571 * debug/fdelt_chk.c: New file.
10572
762011fe
UD
10573 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10574 * wcsmbs/test-wmemcmp.c: Likewise.
10575 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10576 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10577
105782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10579
10580 * string/Makefile (strop-tests): Add memcmp.
10581 * string/test-wmemcmp.c: New file.
10582 * string/test-memcmp.c: Add wmemcmp support.
10583
7f513ec8
RM
105842011-09-08 Roland McGrath <roland@hack.frob.com>
10585
0442afb4
RM
10586 [BZ #13153]
10587 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10588 2011-07-19 change.
10589
7f513ec8
RM
10590 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10591 garbage value in a __mach_port_mod_refs call in the cases of the
10592 task-self and thread-self ports.
10593
a12b2239
ST
105942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10595
10596 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10597
610f9ab4
AS
105982011-09-08 Andreas Schwab <schwab@redhat.com>
10599
7f513ec8 10600 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10601
48882a1a
LD
106022011-09-07 Ulrich Drepper <drepper@gmail.com>
10603
b49865be
UD
10604 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10605
fdc86bc9
UD
10606 * elf/dl-libc.c (dlerror_run): Pass back error code from
10607 dl_catch_error.
10608
c966526a
UD
10609 [BZ #13123]
10610 * elf/dl-load.c (lose): Free l_origin if it is valid.
10611
48882a1a
LD
10612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10613 names.
10614 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10619 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10620
77a2a8b4
AZ
106212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10622
10623 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10624 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10625 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10626 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10627 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10628 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10629 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10630 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10631 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10632 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10633
24f579d8
AM
106342011-08-15 Alan Modra <amodra@gmail.com>
10635
10636 [BZ #13092]
10637 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10638 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10639 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10640 ppc_mcount to static-only-routines.
10641 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10642 __mcount_internal.
10643 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10644 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10645
3d4837df
UD
106462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10647
10648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10649 for finite and infinity parameters.
10650
22700377
WS
106512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10652
10653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10654 and add nop instructions for throughput optimization.
10655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10656
5025581e
WS
106572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10658
10659 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10660 aligned copy for power7 with vector-scalar instructions.
10661 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10662
08a300c9
L
106632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10666 AVX check.
10667
59178ef9
AS
106682011-09-07 Andreas Schwab <schwab@redhat.com>
10669
10670 [BZ #13144]
10671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10672 last change.
10673
e38ba7ab
UD
106742011-09-07 Ulrich Drepper <drepper@gmail.com>
10675
10676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10677 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10678 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10680 clock_gettime.
10681
d53a73ac
UD
106822011-09-06 Ulrich Drepper <drepper@gmail.com>
10683
fc8bffcc
UD
10684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10685 Forgot to demangle the pointer.
10686
ceaa0c5d
UD
10687 * sysdeps/i386/sysdep.h: Define atom_text_section.
10688 * sysdeps/x86_64/sysdep.h: Likewise.
10689 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10690 section with atom_text_section.
10691 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10693 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10695 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10696
a77d3c17
UD
10697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10698 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10699 already be defined. Change to take two parameters and don't assign
10700 result to variable. Adjust all users.
10701 Define INTERNAL_GETTIME if not already defined.
10702 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10703 call.
10704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10705 HAVE_CLOCK_GETTIME_VSYSCALL.
10706 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10707
d53a73ac
UD
10708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10709 gettimeofday vsyscall, just use time.
10710
a8f84144
AS
107112011-09-06 Andreas Schwab <schwab@redhat.com>
10712
10713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10714 <errno.h>.
10715
ef606249
UD
107162011-09-06 Ulrich Drepper <drepper@gmail.com>
10717
10718 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10719 syscall on x86-64.
10720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10721 syscall.
10722 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10723 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10724 syscall if possible.
10725
6585cb60
UD
107262011-09-05 Ulrich Drepper <drepper@gmail.com>
10727
10728 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10729 e_ident. Don't pass to find_mapsXX.
10730 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10731
a5f524e4
LD
107322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10733
10734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10735 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10736 * sysdeps/x86_64/multiarch/strchr.S: Update.
10737 Check bit_slow_BSF bit.
10738 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10739 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10740 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10741
554881ef
UD
107422011-09-05 Ulrich Drepper <drepper@gmail.com>
10743
d96de963
UD
10744 [BZ #13134]
10745 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10746 before glibc 2.15.
10747 (tryshell): Define.
10748 (__spawni): Change last parameter to be flag. Test
10749 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10750 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10751 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10752 * posix/spawni.c: Likewise.
10753 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10754 * posix/spawnp.c: Likewise. Change normal version to use
10755 SPAWN_XFLAGS_USE_PATH.
10756 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10757 SPAWN_XFLAGS_TRY_SHELL.
10758
d48e5868
UD
10759 [BZ #13150]
10760 * posix/glob.h: Remove gcc 1.x support.
10761
554881ef
UD
10762 [BZ #13068]
10763 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10764
693fb948
LD
107652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10766
10767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10768 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10769 strrchr-sse2-bsf
10770 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10771 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10772 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10774 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10775 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10776
1b48c537
UD
107772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10778
49d42c37
UD
10779 * sysdeps/x86_64/wcscmp.S: New file.
10780
1b48c537
UD
10781 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10782 wcscmp-c wcscmp-sse2
10783 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10784 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10785 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10786 * wcsmbs/wcscmp.c: Allow renaming.
10787
15c95c5d
DM
107882011-09-05 David S. Miller <davem@davemloft.net>
10789
10790 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10791 stack slot, rather than the struct return pointer slot.
10792 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10793 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10795 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10796
2f0ad8f3
UD
107972011-09-05 Ulrich Drepper <drepper@gmail.com>
10798
d88ae418
UD
10799 * po/ja.po: Update from translation team.
10800
2f0ad8f3
UD
10801 [BZ #13144]
10802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10803 kernel in 64-bit binaries.
10804
5f4318d1
DM
108052011-09-01 David S. Miller <davem@davemloft.net>
10806
10807 * elf/elf.h (HWCAP_SPARC_*): Move to..
10808 * sysdeps/sparc/sysdep.h: this new file and add new values.
10809 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10810 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10811 _DL_HWCAP_COUNT to 24.
10812 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10813 entries.
10814 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10815 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10816 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10818 instead of magic constants.
10819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10820
3ba57516
DM
108212011-08-31 David S. Miller <davem@davemloft.net>
10822
10823 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10825 Reimplement to do errno handling inline.
10826 (SYSCALL_ERROR_HANDLER): New macro.
10827 (__SYSCALL_STRING): Do not do errno handling in asm.
10828 (__CLONE_SYSCALL_STRING): Delete.
10829 (__INTERNAL_SYSCALL_STRING): Delete.
10830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10831 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10832 (PSEUDO): Reimplement to do errno handling inline.
10833 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10834 (SYSCALL_ERROR_HANDLER): New macro.
10835 (__SYSCALL_STRING): Do not do errno handling in asm.
10836 (__CLONE_SYSCALL_STRING): Delete.
10837 (__INTERNAL_SYSCALL_STRING): Delete.
10838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10839 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10840 i386.
10841 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10842 (inline_syscall*): Add 'err' argument.
10843 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10844 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10845 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10846 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10847
10848 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10849 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10850
2bc17433
AS
108512011-08-30 Andreas Schwab <schwab@redhat.com>
10852
10853 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10854
fbeb5f4d
JO
108552011-08-29 Jiri Olsa <jolsa@redhat.com>
10856
10857 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10858 directive.
10859
ad69cc26
DM
108602011-08-24 David S. Miller <davem@davemloft.net>
10861
10862 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10863
39dd69df
AS
108642011-08-24 Andreas Schwab <schwab@redhat.com>
10865
10866 * elf/Makefile: Add rules to build and run unload8 test.
10867 * elf/unload8.c: New file.
10868 * elf/unload8mod1.c: New file.
10869 * elf/unload8mod1x.c: New file.
10870 * elf/unload8mod2.c: New file.
10871 * elf/unload8mod3.c: New file.
10872
10873 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10874 it wasn't used.
10875
2c0b250a
DM
108762011-08-23 David S. Miller <davem@davemloft.net>
10877
10878 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10879 subtract stack bias.
10880 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10881 %sp not %fp in calculations.
10882 (_JMPBUF_UNWINDS_ADJ): Likewise.
10883
22044b48
DM
10884 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10885 (aio_suspend): Call it to force an exception region around the
10886 AIO_MISC_WAIT() invocation.
10887
2cae4995
AS
108882011-08-23 Andreas Schwab <schwab@redhat.com>
10889
10890 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10891 backslash.
10892
873a772e
AJ
108932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10894
10895 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10896 protection macro.
10897 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10898 and <dl-machine.h>.
10899 (Elf64_FuncDesc): Remove.
10900
25ad0df1
DM
109012011-08-22 David S. Miller <davem@davemloft.net>
10902
10903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10904 sigaltstack check, add missing cfi directives.
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10906 missing cfi directives, and sigaltstack handling.
10907
e888bcbe
AS
109082011-08-16 Andreas Schwab <schwab@redhat.com>
10909
10910 [BZ #11724]
10911 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10912 object is seen twice.
10913 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10914
10915 * elf/Makefile (distribute): Add tst-initorder2.c.
10916 (tests): Add tst-initorder2.
10917 (modules-names): Add tst-initorder2a tst-initorder2b
10918 tst-initorder2c tst-initorder2d. Add rules to build them.
10919 ($(objpfx)tst-initorder2.out): New rule.
10920 * elf/tst-initorder2.c: New file.
10921 * elf/tst-initorder2.exp: New file.
10922
87162f46
AS
109232011-08-22 Andreas Schwab <schwab@redhat.com>
10924
70538b7f
AS
10925 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10926
f55ffe58
AS
10927 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10928 dependencies back to end of function.
10929
87162f46
AS
10930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10931 $(elfobjdir)/ld.so.
10932
91b392a4
UD
109332011-08-21 Ulrich Drepper <drepper@gmail.com>
10934
10935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10936 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10938 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10939 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10940 of __vdso_gettimeofday.
10941 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10942 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10943 attribute_hidden.
10944 (_libc_vdso_platform_setup): Remove initialization of
10945 __vdso_gettimeofday and __vdso_time.
10946
5c43483f
UD
109472011-08-20 Ulrich Drepper <drepper@gmail.com>
10948
775a77e7
UD
10949 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10950 and fgetc_unlocked.
10951 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10952 getc_unlocked.
89f447ed 10953
49c74ba9
UD
10954 * elf/dl-open.c (add_to_global): Report additions to the global scope
10955 for LD_DEBUG=scopes.
10956 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10957 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10958
5c43483f
UD
10959 [BZ #13114]
10960 * stdio-common/Makefile (tests): Add bug24.
10961 * stdio-common/bug24.c: New file.
10962
a101b025
AJ
109632011-08-19 Andreas Jaeger <aj@suse.de>
10964
10965 [BZ #13114]
10966 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10967 non-existant file when using close-on-exec mode.
10968
c88f1766
UD
109692011-08-20 Ulrich Drepper <drepper@gmail.com>
10970
0276a718
UD
10971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10972 the very first instruction.
10973
c88f1766
UD
10974 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10975 the CFI state in the end.
10976 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10977 inclusion of dl-trampoline.h.
10978 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10979
51ccffa0
AS
109802011-08-19 Andreas Schwab <schwab@redhat.com>
10981
94d7165f
AS
10982 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10983 expectations for long double.
10984
51ccffa0
AS
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10986 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10987
fd708658 109882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10989
10990 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10991 artificual limit depends upon the system page size.
10992
44f0a71e
UD
109932011-08-17 Ulrich Drepper <drepper@gmail.com>
10994
10995 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10996 * resolv/Makefile: Define CFLAGS-libresolv.
10997
8de79a24
AS
109982011-08-17 Andreas Schwab <schwab@redhat.com>
10999
11000 * nss/makedb.c (compute_tables): Make variables used in nested
11001 function static.
11002
27724598
UD
110032011-08-17 Ulrich Drepper <drepper@gmail.com>
11004
c5305d88
UD
11005 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11006 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11007 if buffer was too small.
11008
27724598
UD
11009 * elf/pldd.c (main): Attach to all threads in the process.
11010 Rewrite /proc handling to use *at functions.
11011
076fe015
UD
110122011-08-16 Ulrich Drepper <drepper@gmail.com>
11013
174baab3
UD
11014 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11015 specifies first scope to show.
11016 (dl_open_worker): Update callers. Move printing scope of new
11017 object to before the relocation.
44f0a71e 11018 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11019 * sysdeps/generic/ldsodefs.h: Update declaration.
11020
076fe015
UD
11021 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11022 string for the scope number.
11023
a60df2c3
UD
110242011-08-14 Ulrich Drepper <drepper@gmail.com>
11025
11026 * nscd/servicescache.c (cache_addserv): Make sure written is always
11027 initialized.
11028
5e4287d1
RM
110292011-08-14 Roland McGrath <roland@hack.frob.com>
11030
85ae0589
RM
11031 * sysdeps/i386/i486/bits/atomic.h
11032 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11033 statement expression, so as to suppress "set but not used" warning.
11034 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11035
69f63097
RM
11036 * string/strncat.c (STRNCAT): Use prototype definition.
11037
675456ef
RM
11038 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11039 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11040 -Iprograms here.
11041 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11042 (localedef-modules): Add localedef.
11043 (locale-modules): Add locale.
11044
5e4287d1
RM
11045 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11046 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11047 to avoid a warning.
11048
9c96ff23
DM
110492011-08-14 David S. Miller <davem@davemloft.net>
11050
11051 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11052 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11053
f9ddf089
UD
110542011-08-13 Ulrich Drepper <drepper@gmail.com>
11055
44f0a71e 11056 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11057 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11058 * elf/rtld.c (dl_main): Set l_name of vDSO.
11059 Call _dl_show_scope when DL_DEBUG_SCOPES.
11060 (process_dl_debug): Recognize scopes flag and also set it for all.
11061 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11062 Declare _dl_show_scope.
11063
1dc27704
UD
11064 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11065 (do_dlopen): Pass caller_dlopen to dl_open.
11066 (__libc_dlopen_mode): Initialize caller_dlopen.
11067
f9ddf089
UD
11068 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11069 of libc. Make tolower call locale-independent. Optimize a bit by
11070 using isdigit instead of isalnum.
11071 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11072
9ac533d3
UD
110732011-08-12 Ulrich Drepper <drepper@gmail.com>
11074
11075 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11076 was a dependency or dynamically loaded.
11077
89edf2e9
UD
110782011-08-11 Ulrich Drepper <drepper@gmail.com>
11079
8e999d29
UD
11080 * intl/l10nflist.c: Allow architecture-specific pop function.
11081 * sysdeps/x86_64/l10nflist.c: New file.
11082
89edf2e9
UD
11083 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11084 classification.
11085
14d96785
AS
110862011-08-10 Andreas Schwab <schwab@redhat.com>
11087
11088 * include/dirent.h: Add libc_hidden_proto for scandirat and
11089 scandirat64. Don't declare __scandirat64.
11090 * dirent/scandirat.c: Add libc_hidden_def.
11091 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11092 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11093
6761ac04
DM
110942011-08-10 David S. Miller <davem@davemloft.net>
11095
11096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11097 enum.
11098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11101
c55fbd1e
UD
111022011-08-09 Ulrich Drepper <drepper@gmail.com>
11103
11104 * Versions.def [libc]: Add GLIBC_2.15.
11105 * dirent/Makefile (routines): Add scandirat and scandirat64.
11106 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11107 GLIBC_2.15.
11108 * dirent/dirent.h: Declare scandirat and scandirat64.
11109 * dirent/scandirat.c: New file.
11110 * dirent/scandirat64.c: New file.
11111 * sysdeps/wordsize-64/scandirat.c: New file.
11112 * sysdeps/wordsize-64/scandirat64.c: New file.
11113 * dirent/opendir.c: Define opendirat.
11114 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11115 using scandirat.
11116 * dirent/scandir64.c: Adjust for scandir.c change.
11117 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11118 __scandirat64, and __scandir_cancel_handler.
11119 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11120 additional parameter and use openat instead of open (outside of ld.so).
11121 Add new __opendir as wrapper around __opendirat.
11122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11123 here without requiring old scandirat implementation.
11124
879165f2
UD
111252011-08-08 Ulrich Drepper <drepper@gmail.com>
11126
11127 * dirent/scandir.c (cancel_handler): Renamed to
11128 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11129 defined. Adjust users.
11130 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11132
cb7e923b
UD
111332011-08-04 Ulrich Drepper <drepper@gmail.com>
11134
16292edd
UD
11135 * string/test-string.h (IMPL): Use __STRING to expand name and then
11136 stringify it.
11137
cb7e923b
UD
11138 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11139 of cleanups.
11140
cff82933
LD
111412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11142
11143 * string/Makefile: Update.
11144 (strop-tests): Append strncat.
11145 * string/test-wcscmp.c: New file.
11146 New comprehensive test for wcscmp.
11147 * string/test-strcmp.c: Update.
11148 (WIDE): New define.
11149
9be9bfcc
AS
111502011-07-22 Andreas Schwab <schwab@redhat.com>
11151
11152 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11153 line.
11154
2e96f1c7
AS
111552011-07-26 Andreas Schwab <schwab@redhat.com>
11156
11157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11158 encoding to ACE if AI_IDN.
11159
85188888
JJ
111602011-08-01 Jakub Jelinek <jakub@redhat.com>
11161
11162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11163 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11164
5fa16e9b
LD
111652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11166
11167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11168 Fix overflow bug in strncat.
11169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11170
11171 * string/test-strncat.c: Update.
11172 Add new tests for checking overflow bugs.
11173
111742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11175
11176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11177 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11178 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11179 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11180 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11181 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11182 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11183 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11184 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11185
11186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11187 (USE_AS_STRCAT): Define.
11188 Add strcat and strncat support.
11189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11190
8c1a459f
AS
111912011-07-25 Andreas Schwab <schwab@redhat.com>
11192
11193 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11194 __n bigger than INT_MAX+1.
11195 (__strncmp_g): Likewise.
11196
bba33c28
UD
111972011-07-23 Ulrich Drepper <drepper@gmail.com>
11198
798be72d
UD
11199 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11200 * libio/stido.h: Likewise.
11201
8accd4dc
UD
11202 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11203 (AF_NFC): Define.
11204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11205 (AF_NFC): Define.
11206
cbff0d96
UD
11207 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11210 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11212
9191c04a
UD
11213 [BZ #13021]
11214 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11215 installed.
11216
bba33c28
UD
11217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11218 typo.
11219 (_dl_x86_64_save_sse): Likewise.
11220
90f139dd
UD
112212011-07-22 Ulrich Drepper <drepper@gmail.com>
11222
1aae088a
UD
11223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11224 OSXSAVE.
11225 (_dl_x86_64_save_sse): Likewise.
11226
8e2045f5
UD
11227 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11228
90f139dd
UD
11229 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11230
1d002f25
AS
112312011-07-21 Andreas Schwab <schwab@redhat.com>
11232
11233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11234 change.
11235 (_dl_x86_64_save_sse): Use correct AVX check.
11236
21137f89
UD
112372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11238
11239 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11240 bug in strncpy/strncat.
11241 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11242
a65c0b7a
UD
112432011-07-21 Ulrich Drepper <drepper@gmail.com>
11244
11245 * string/tester.c (test_strcat): Add tests for different alignments
11246 of source and destination.
11247 (test_strncat): Likewise.
11248
6986b98a
UD
112492011-07-20 Ulrich Drepper <drepper@gmail.com>
11250
90bb2039
UD
11251 [BZ #12852]
11252 * posix/glob.c (glob): Check passed in values before using them in
11253 expressions to avoid some overflows.
11254 (glob_in_dir): Likewise.
11255
5644ef54
UD
11256 [BZ #13007]
11257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11258 check for AVX enablement so that we don't crash with old kernels and
11259 new hardware.
11260 * elf/tst-audit4.c: Add same checks here.
11261 * elf/tst-audit6.c: Likewise.
11262
11263 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11264
bfc9dc9b
AS
112652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11266
11267 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11268
702e64bb
UD
112692011-07-20 Ulrich Drepper <drepper@gmail.com>
11270
11271 * po/cs.po: Update from translation team.
11272 * po/bg.po: Likewise.
11273
295e904f
MP
112742011-07-12 Marek Polacek <mpolacek@redhat.com>
11275
11276 * misc/sys/cdefs.h: Add support for const attribute.
11277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11278 to gnu_dev_{major,minor,makedev} functions.
11279
3ff94596
MP
112802011-07-20 Marek Polacek <mpolacek@redhat.com>
11281
11282 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11283
28b59fca
AS
112842011-07-20 Andreas Schwab <schwab@redhat.com>
11285
11286 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11287 strlen results.
11288
19df733e
AK
112892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11290
11291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11292 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11293 register in order to avoid conflicts with the soft frame pointer
11294 being held in r11 when necessary.
11295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11296 (INTERNAL_VSYSCALL_NCS): Likewise.
11297
c8835729
MP
112982011-07-14 Marek Polacek <mpolacek@redhat.com>
11299
11300 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11301 * elf/dl-fini.c (_dl_fini): Adjust caller.
11302 * elf/dl-close.c (_dl_close_worker): Likewise.
11303 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11304
b902330c
MP
113052011-07-15 Marek Polacek <mpolacek@redhat.com>
11306
8991e135
MP
11307 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11308 "aux_cache->nlibs < 0".
11309
b902330c
MP
11310 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11311 in the reload-count case.
11312
99710781
LD
113132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11314
11315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11316 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11317 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11318 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11319 * sysdeps/x86_64/multiarch/strcat.S: New file.
11320 * sysdeps/x86_64/multiarch/strncat.S: New file.
11321 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11322 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11323 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11324 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11326 (USE_AS_STRCAT): Define.
11327 Add strcat and strncat support.
11328 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11330 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11331 * string/strncat.c: Update.
11332 (USE_AS_STRNCAT): Define.
11333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11334 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11335 and i7.
11336 * sysdeps/x86_64/multiarch/init-arch.h
11337 (bit_Prefer_PMINUB_for_stringop): New.
11338 (index_Prefer_PMINUB_for_stringop): Likewise.
11339 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11340 bit_Prefer_PMINUB_for_stringop.
11341
7dc6bd90
UD
113422011-07-19 Ulrich Drepper <drepper@gmail.com>
11343
11344 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11345 buffer64.
11346 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11347 of casting of buffer.
11348 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11349 buffer32 and buffer64.
11350 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11351 writes instead of casting of buffer.
11352 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11353 buffer32.
11354 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11355 casting of buffer.
11356
e0e72284
AS
113572011-07-19 Andreas Schwab <schwab@redhat.com>
11358
11359 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11360
feb1eb0b
UD
113612011-07-19 Ulrich Drepper <drepper@gmail.com>
11362
11363 * nscd/nscd.c (termination_handler): Don't do anything for a database
11364 if it has not yet been initialized.
11365
298711ff
UD
113662011-07-18 Ulrich Drepper <drepper@gmail.com>
11367
11368 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11369
113702011-07-15 Marek Polacek <mpolacek@redhat.com>
11371
11372 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11373
f9d68389
UD
113742011-07-18 Ulrich Drepper <drepper@gmail.com>
11375
11376 * po/nl.po: Update from translation team.
11377 * po/sv.po: Likewise.
11378
db290cf5
RM
113792011-07-16 Roland McGrath <roland@hack.frob.com>
11380
11381 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11382 now disallowed by GCC.
5c550700 11383
fd5e21c7
RM
11384 * configure.in (use-default-link): Default to yes if a test -shared
11385 link meets our qualifications.
11386 * configure: Regenerated.
11387
5c550700
RM
11388 * config.make.in (output-format): New variable.
11389 * configure.in: Check for ld --print-output-format support.
11390 * configure: Regenerated.
11391 * Makerules ($(common-objpfx)format.lds)
11392 [$(output-format) != unknown]: Just use $(output-format),
11393 instead of the linker-script munging.
11394
9fa2c032
RM
113952011-07-14 Roland McGrath <roland@hack.frob.com>
11396
a6928d51
RM
11397 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11398 of $(common-objpfx)shlib.lds.
11399 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11400
661607b3
RM
11401 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11402 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11403
9fa2c032
RM
11404 * configure.in (-z relro check): Adjust test code to add a large
11405 writable data section after it.
11406 * configure: Regenerated.
11407
defe9061
RM
114082011-07-11 Roland McGrath <roland@hack.frob.com>
11409
11410 * configure.in (-z relro check): Fix test code to make the variable
11411 truly const.
11412 * configure: Regenerated.
11413
319b9ad4
UD
114142011-07-11 Ulrich Drepper <drepper@gmail.com>
11415
11416 * nscd/nscd.h (struct traced_file): Define.
11417 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11418 elements. Add traced_files.
11419 (inotify_fd): Declare.
11420 (register_traced_file): Declare.
11421 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11422 (inotify_fd): Export.
11423 (resolv_conf_descr): Remove.
11424 (nscd_init): Move inotify descriptor creation to main.
11425 Don't register files for notification here.
11426 (register_traced_file): New function.
11427 (invalidate_cache): Don't use reset_res to determine whether to call
11428 res_init, go through the list of registered files.
11429 (main_loop_poll): The inotify descriptors are now stored in the
11430 structures for the traced files.
11431 (main_loop_epoll): Likewise
11432 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11433 to __nss_disable_nscd.
11434 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11435 for a database anymore. Check the records for all the registered
11436 files instead.
11437 * nss/Makefile (libnss_files-routines): Add files-init.
11438 (libnss_db-routines): Add db-init.
11439 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11440 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11441 * nss/nss_db/db-init.c: New file.
11442 * nss/nss_files/files-init.c: New file.
11443 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11444 __nss_lookup_function.
11445 (__nss_lookup_function): Call nss_load_library.
11446 (nss_load_all_libraries): New function.
11447 (__nss_disable_nscd): Take parameter with callback function for files
11448 to register. Set is_nscd. Load all the DSOs for the NSS modules
11449 used for the cached services.
11450 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11452 options for features to all the files in nscd.
11453
11454 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11455
23bee3e8
RM
114562011-07-10 Roland McGrath <roland@hack.frob.com>
11457
11458 * csu/elf-init.c (__libc_csu_init): Comment typo.
11459
46a5b7f0
UD
114602011-07-09 Ulrich Drepper <drepper@gmail.com>
11461
11462 * po/pl.po: Update from translation team.
11463 * po/ja.po: Likewise.
11464 * po/ru.po: Likewise.
11465 * po/ko.po: Likewise.
11466 * po/fr.po: Likewise.
11467
d30cf5bb
RM
114682011-07-09 Roland McGrath <roland@hack.frob.com>
11469
113ddea4
RM
11470 * configure.in (.ctors/.dtors header and trailer check):
11471 Use an empirical test on a built program.
11472 * configure: Regenerated.
11473
574920b4
RM
11474 * configure.in (-z relro check): Use an empirical test on a built DSO.
11475 Detect, but do not require, on ia64.
11476 * configure: Regenerated.
11477
d30cf5bb
RM
11478 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11479 Update tests that use readelf to use $READELF instead.
11480 * configure: Regenerated.
11481
8538fdb3
UD
114822011-07-08 Ulrich Drepper <drepper@gmail.com>
11483
11484 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11485 if the result is not used.
11486
04d08991
AJ
114872011-07-05 Andreas Jaeger <aj@suse.de>
11488
11489 [BZ#9696]
11490 * stdlib/tst-strtod.c: Add testcase.
11491
de283087
AD
114922011-07-07 Ulrich Drepper <drepper@gmail.com>
11493
4e5f31c8 11494 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11495 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11496 The latter has a higher limit. Take additional parameter to pass to
11497 the new function.
11498 (__pathconf): Pass file to __statfs_link_max.
11499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11500 __statfs_link_max.
11501 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11502 __statfs_link_max.
11503
de283087
AD
11504 [BZ #12868]
11505 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11507 Handle Lustre.
11508 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11509 (__statfs_filesize_max): Likewise.
11510 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11511
c75fa153
AJ
115122011-07-05 Andreas Jaeger <aj@suse.de>
11513
11514 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11515
1a544854
UD
115162011-07-06 Marek Polacek <mpolacek@redhat.com>
11517
11518 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11519 `status' variable.
11520 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11521 Likewise.
11522
6f0eec67
UD
115232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 * Makefile (strop-tests): Add strncat.
11526 * string/test-strncat.c: New file.
11527
aae30307
UD
115282011-06-30 Marek Polacek <mpolacek@redhat.com>
11529
11530 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11531
c0cfb5eb
UD
115322011-06-21 Andreas Jaeger <aj@suse.de>
11533
11534 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11535 Copy rule from iconvdata/Makefile.
11536
01636b21
UD
115372011-07-06 Ulrich Drepper <drepper@gmail.com>
11538
11539 [BZ #12922]
11540 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11541 but no long options are defined, just return 'W'.
11542
9895c8bc
UD
115432011-06-22 Marek Polacek <mpolacek@redhat.com>
11544
11545 [BZ #9696]
11546 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11547
5d4cf042
UD
115482011-07-06 Ulrich Drepper <drepper@gmail.com>
11549
11550 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11551 netgroups to read.
960e5535 11552 (innetgr): Likewise.
5d4cf042 11553
751eb97e
RM
115542011-07-05 Roland McGrath <roland@hack.frob.com>
11555
11556 * config.make.in (install_root): Default to $(DESTDIR).
11557
f15f1e45
UD
115582011-07-05 Ulrich Drepper <drepper@gmail.com>
11559
11560 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11561
4e34ac6a
RM
115622011-07-02 Roland McGrath <roland@hack.frob.com>
11563
5e9b6af4
RM
11564 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11565
84f9ea0f
RM
11566 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11567 containing directory rather than embedding absolute directory names.
11568
ea5ee9f7
RM
11569 * scripts/check-local-headers.sh: Rewritten using awk.
11570 Match by word, not by line. Print error messages for matches.
11571 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11572
1b74661a
RM
11573 * Makerules [shlib-lds-flags empty]:
11574 ($(common-objpfx)libc_pic.opts): New target.
11575 ($(common-objpfx)libc_pic.os.clean): New target.
11576 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11577
11578 * config.make.in (OBJCOPY): New variable.
11579 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11580 * configure: Regenerated.
11581
f781ef40
RM
11582 * config.make.in (use-default-link): New variable.
11583 * configure.in (use_default_link): Grok --with-default-link to set it.
11584 * configure: Regenerated.
11585 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11586 (shlib-lds, shlib-lds-flags): Define to empty.
11587
2d4fa81e
RM
11588 * Makerules (shlib-lds): New variable.
11589 (shlib-lds-flags): New variable.
11590 (build-shlib, build-moduile, build-module-asneeded): Use it.
11591 ($(common-objpfx)libc.so): Use $(shlib-lds).
11592 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11593 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11594
31fffa6b
RM
11595 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11596 DT_FLAGS/DT_FLAGS_1 with zero flags.
11597
4e34ac6a
RM
11598 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11599 linker script munging.
11600
fcfc776b
UD
116012011-07-02 Ulrich Drepper <drepper@gmail.com>
11602
11603 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11604 as 128-bit value.
11605 * crypt/sha512.c (sha512_process_block): Perform total addition using
11606 128-bit if possible.
11607 (__sha512_finish_ctx): Likewise.
11608 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11609 as 64-bit value.
11610 * crypt/sha256.c (SWAP64): Define.
11611 (sha256_process_block): Perform total addition using 64-bit if
11612 possible.
11613 (__sha256_finish_ctx): Likewise.
11614
99231d9a
UD
116152011-07-01 Ulrich Drepper <drepper@gmail.com>
11616
11617 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11619 * nscd/hstcache.c (cache_addhst): Likewise.
11620 * nscd/grpcache.c (cache_addgr): Likewise.
11621 * nscd/aicache.c (addhstaiX): Likewise
11622 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11623
445b4a53
TK
116242011-07-01 Thorsten Kukuk <kukuk@suse.de>
11625
11626 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11628 * nscd/hstcache.c (cache_addhst): Likewise.
11629 * nscd/grpcache.c (cache_addgr): Likewise.
11630 * nscd/aicache.c (addhstaiX): Likewise
11631
6d4d8e8e
AS
116322011-07-01 Andreas Schwab <schwab@redhat.com>
11633
11634 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11635 domain only when needed.
11636
89f654c5
AS
116372011-06-30 Andreas Schwab <schwab@redhat.com>
11638
11639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11640 is always restored.
11641
cf3b23ff
UD
116422011-06-29 Ulrich Drepper <drepper@gmail.com>
11643
11644 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11645 are re-adding the entry.
11646 * nscd/servicescache.c (cache_addserv): Likewise.
11647
751626f9
AJ
116482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11649
11650 * sysdeps/generic/dl-irel.h: fix protection against multiple
11651 inclusions.
11652 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11653
9113ea1f
UD
116542011-06-28 Ulrich Drepper <drepper@gmail.com>
11655
5c0b8d90
UD
11656 [BZ #12935]
11657 * malloc/memusage.sh: Fix quoting in message.
11658 * debug/xtrace.sh: Likewise.
11659
9113ea1f
UD
11660 * configure.in: Remove support for --experimental-malloc option, make
11661 it the default.
11662 * config.make.in: Likewise.
11663 * malloc/Makefile: Likewise.
11664
a4172181
AS
116652011-06-27 Andreas Schwab <schwab@redhat.com>
11666
11667 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11668 two-byte characters.
11669
78a7eee7
RM
116702011-06-27 Roland McGrath <roland@hack.frob.com>
11671
62bede13
RM
11672 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11673 AC_CACHE_CHECK invocation.
11674 * configure: Regenerated.
11675
78a7eee7
RM
11676 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11677
5ce33a62
UD
116782011-06-27 Ulrich Drepper <drepper@gmail.com>
11679
034807a9
UD
11680 [BZ #12350]
11681 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11682 bit from old_res_options.
11683
4902da17
UD
11684 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11685
5ce33a62
UD
11686 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11687 value type for setfct.
11688
c2344f56
L
116892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11692 __gettimeofday instead of gettimeofday.
11693
68468076
UD
116942011-06-26 Ulrich Drepper <drepper@gmail.com>
11695
11696 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11697
acb0d739
L
116982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11701
11702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11703 info.
11704
8912479f
L
117052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11708 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11709 strcpy-sse2-unaligned strncpy-sse2-unaligned
11710 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11711 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11712 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11713 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11714 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11717 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11718 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11719 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11720 (STRCPY): Support SSE2 and SSSE3 versions.
11721
d5495a11
UD
117222011-06-24 Ulrich Drepper <drepper@gmail.com>
11723
11724 [BZ #12874]
11725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11726 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11727 kernels which artificially limit size of requests.
11728
0b1cbaae
L
117292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11730
11731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11732 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11733 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11734 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11735 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11736 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11737 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11738 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11739 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11741 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11742 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11743 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11744 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11745 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11747 Enable unaligned load optimization for Intel Core i3, i5 and i7
11748 processors.
11749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11750 Define.
11751 (index_Fast_Unaligned_Load): Define.
11752 (HAS_FAST_UNALIGNED_LOAD): Define.
11753
07f494a0
MP
117542011-06-23 Marek Polacek <mpolacek@redhat.com>
11755
11756 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11757
fa3fc0fe
UD
117582011-06-22 Ulrich Drepper <drepper@gmail.com>
11759
11760 [BZ #12907]
11761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11762 until it is clear that the information is realy needed.
11763 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11764
e12df166
AS
117652011-06-22 Andreas Schwab <schwab@redhat.com>
11766
11767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11768
852eb34d
UD
117692011-06-22 Ulrich Drepper <drepper@gmail.com>
11770
84e2a551
UD
11771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11772 /sys/devices/system/cpu/online if it is usable.
11773
852eb34d
UD
11774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11775 reading the information from the /proc filesystem to once a second.
11776
6e502e19
UD
117772011-06-21 Andreas Jaeger <aj@suse.de>
11778
11779 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11780 NULL after inclusion of kernel headers.
11781
75d39ff2
UD
117822011-06-21 Ulrich Drepper <drepper@gmail.com>
11783
51f9aa6a
UD
11784 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11785 calls to internal_setent.
11786
c0244a9d
UD
11787 [BZ #12885]
11788 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11789 addresses using gethostbyname4_r ignore IPv4 addresses.
11790
c5e3c2ae
UD
11791 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11792 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11793
75d39ff2
UD
11794 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11795
42675c6f
DM
117962011-06-20 David S. Miller <davem@davemloft.net>
11797
11798 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11799 inclusions.
11800 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11801
11802 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11803 (elf_irel): Use it.
11804 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11805 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11806 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11807 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11808 * sysdeps/x86_64/dl-irel.h: Likewise.
11809
11810 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11811 * elf/dl-sym.c: Likewise.
11812
57912a71
UD
118132011-06-15 Ulrich Drepper <drepper@gmail.com>
11814
11815 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11816 need to dereference resplen2.
11817
ee22793d
AS
118182011-06-14 Andreas Schwab <schwab@redhat.com>
11819
11820 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11821
a9e836b0
UD
118222011-06-15 Ulrich Drepper <drepper@gmail.com>
11823
77fb9117
UD
11824 * Makeconfig: Define vardbdir and inst_vardbdir.
11825 * nss/Makefile: Add rules to install db-Makefile.
11826
40c1b22c
UD
11827 * nss/nss_db/db-XXX.c: Cleanup.
11828
9f2da732
UD
11829 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11830 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11831 GLIBC_PRIVATE.
11832 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11833 * nss/makedb.c: Implement -g option to specify that value strings
11834 are generated and should not be added to table iterated over for
11835 get*ent calls.
11836 * nss/nss_db/db-initgroups.c: New file.
11837
82e9a1f7
UD
11838 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11839 interface.
11840
c41af17e
UD
11841 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11842 (internal_getgrouplist): Adjust to name change.
11843 Update use_initgroups_entry if this is not the first call.
11844 * nss/databases.def: Add initgroups entry.
11845
a9e836b0
UD
11846 * nss/makedb.c (compute_tables): Check result of multiple hash table
11847 sizes to minimize maximum chain length.
11848
2666d441
UD
118492011-06-14 Ulrich Drepper <drepper@gmail.com>
11850
11851 * Versions.def: Add entry for libnss_db.
11852 * shlib-versions: Likewise.
11853 * nss/Makefile: Add rules to build libnss_db.
11854 * nss/Versions: Add libnss_db information. Organize libnss_files
11855 entries better.
11856 * nss/db-Makefile: Add gshadow support. Change rules for the new
11857 makedb progra. Some minor improvements to generate smaller files.
11858 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11859 here from...
11860 * nss/makedb.c: ...here.
11861 Improve database format to be smaller and require less memory at
11862 runtime.
11863 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11864 db anymore.
11865 * nss/nss_db/db-netgrp.c: Likewise.
11866 * nss/nss_db/db-open.c: Likewise.
11867 * nss/nss_files/flies-XXX.x: Adjust comments.
11868 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11869 * nss/nss_files/files-grp.c: Likewise.
11870 * nss/nss_files/files-hosts.c: Likewise.
11871 * nss/nss_files/files-network.c: Likewise.
11872 * nss/nss_files/files-proto.c: Likewise.
11873 * nss/nss_files/files-pwd.c: Likewise.
11874 * nss/nss_files/files-rpc.c: Likewise.
11875 * nss/nss_files/files-service.c: Likewise.
11876 * nss/nss_files/files-sgrp.c: Likewise.
11877 * nss/nss_files/files-spwd.c: Likewise.
11878 * nss/nss_db/db-alias.c: Removed.
11879 * nss/nss_db/dummy-db.h: Removed.
11880
9ee76b5a
UD
118812011-06-02 Ulrich Drepper <drepper@gmail.com>
11882
11883 * nss/makedb.c: Rewritten to not use database library.
11884 * nss/Makefile: Update to build new makedb program.
11885
c71ca1f8
AJ
118862011-06-14 Andreas Jaeger <aj@suse.de>
11887
11888 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11889 memset declaration.
11890
3154bfb8
UD
118912011-06-10 Andreas Schwab <schwab@redhat.com>
11892
11893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11894 tmpbuf.
11895
b350afab
RM
118962011-06-10 Roland McGrath <roland@hack.frob.com>
11897
decd4e50
RM
11898 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11899 * elf/Makefile ($(objpfx)ld.so): Likewise.
11900
5615eaf2
RM
11901 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11902 Don't list ld.so twice in dependencies.
11903
11904 * posix/bug-regex31.c: Include <stdlib.h>.
11905
11906 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11907
11908 * nis/nss_compat/compat-spwd.c
11909 (getspent_next_nss_netgr): Remove unused variable.
11910 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11911
11912 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11913 nonmembers" output to use the right array.
11914
11915 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11916
11917 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11918
11919 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11920 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11921 * catgets/gencat.c (read_input_file): Likewise.
11922 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11923
11924 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11925 variable definition inside #if's controlling its use.
11926
11927 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11928
11929 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11930
11931 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11932
11933 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11934 unreachable code.
11935
11936 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11937
b68e08db
RM
11938 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11939 * configure: Regenerated.
11940
b350afab
RM
11941 * Makerules: Revert last change.
11942 * elf/Makefile: Likewise.
11943
28368601
RM
119442011-06-09 Roland McGrath <roland@hack.frob.com>
11945
11946 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11947 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11948 (reloc-link): Likewise.
11949
11988f8f
UD
119502011-06-09 Ulrich Drepper <drepper@gmail.com>
11951
11952 * elf/Makefile: Add rules to build pldd.
11953 * elf/pldd.c: New file.
11954 * elf/pldd-xx.c: New file.
11955
e80fab37
UD
119562011-06-07 Ulrich Drepper <drepper@gmail.com>
11957
11958 * version.h: Update for 2.15 development version.
11959
9b849836
DM
119602011-06-07 David S. Miller <davem@davemloft.net>
11961
11962 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11963 ifuncs.
11964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11965 elf_machine_lazy_rel): Likewise.
11966 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11968 elf_machine_lazy_rel): Likewise.
11969 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11970 dl_hwcap via passed in argument.
11971 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11972 Likewise.
11973
5a31b283
AK
119742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11975
11976 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11977
069e52f8
RM
119782011-06-06 Roland McGrath <roland@hack.frob.com>
11979
11980 [BZ #12849]
11981 * manual/fdl-1.1.texi: New file, verbatim from:
11982 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11983 * manual/lgpl-2.1.texi: New file, verbatim from:
11984 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11985 * manual/Makefile (licenses): New variable, list those new file names.
11986 (texis): Use it.
11987 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11988
11989 * manual/fdl.texi: File removed.
11990 * manual/lesser.texi: File removed.
11991 * manual/libc.texinfo (Copying, Documentation License):
11992 Use new @include file names, put @appendix directive before @include.
11993
f16846a5
JJ
119942011-06-04 Jakub Jelinek <jakub@redhat.com>
11995
11996 [BZ #12841]
11997 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11998 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11999 (mq_open): Add __NTH.
12000
3d29045b
L
120012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12002
12003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12004 Assume Intel Core i3/i5/i7 processor if AVX is available.
12005
8c297311
UD
120062011-05-31 Ulrich Drepper <drepper@gmail.com>
12007
12008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12009 typo.
12010
c8fc0c91
UD
120112011-05-31 Andreas Schwab <schwab@redhat.com>
12012
12013 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12014 memory. Use alloca_account. Fix memory leak when retrying.
12015
5b27a807
UD
120162011-05-31 Ulrich Drepper <drepper@gmail.com>
12017
356f8bc6
UD
12018 * version.h (RELEASE): Bump for 2.14 release.
12019 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12020
5b27a807
UD
12021 * config.make.in (RANLIB): Remove entry.
12022
01f16ab0
UD
120232011-05-30 Ulrich Drepper <drepper@gmail.com>
12024
41fce8bd
UD
12025 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12026 (libc.pot): Work around missing support for .ksh extension in xgettext.
12027
4769ae77
UD
12028 [BZ #12684]
12029 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12030 if both request failed.
12031 (send_dg): In case of server errors clear resplen or *resplen2.
12032
6b1e7d19
UD
12033 [BZ #12454]
12034 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12035 when there are multiple maps.
12036 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12037 (_dl_fini): Remove test here.
12038
01f16ab0
UD
12039 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12040
b1ebd700
UD
120412011-05-29 Ulrich Drepper <drepper@gmail.com>
12042
7ae22829
UD
12043 [BZ #12350]
12044 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12045 bit from old_res_options.
12046 (gaih_inet): Likewise.
12047
553149f6 12048 [BZ #11099]
18a84741 12049 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12050 as signed.
12051
652ffab1
UD
12052 * resolv/res_init.c (res_setoptions): Make the code more compact.
12053
16985fd0
UD
12054 [BZ #11558]
12055 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12056 set RES_USEVC.
12057
0464f746
UD
12058 [BZ #11634]
12059 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12060
7d17596c
UD
12061 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12062
cf6bbbd7
UD
12063 [BZ #11781]
12064 * malloc/malloc.h: Declare malloc hook variables as volatile.
12065
13f1ab36
UD
12066 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12067 in last patch.
12068
b1ebd700
UD
12069 [BZ #11799]
12070 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12071 raise in the comment.
80e2212d
UD
12072 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12073 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12074 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12075
ce67228d
UD
120762011-05-28 Ulrich Drepper <drepper@gmail.com>
12077
8887a920
UD
12078 [BZ #12811]
12079 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12080 grow the buffers more if it already has to be sufficient.
12081 (build_wcs_upper_buffer): Likewise.
12082 * posix/regexec.c (check_matching): Likewise.
12083 (clean_state_log_if_needed): Likewise.
12084 (extend_buffers): Don't enlarge buffers beyond size of the input
12085 buffer.
12086 Patches mostly by Emil Wojak <emil@wojak.eu>.
12087 * posix/bug-regex32.c: New file.
12088 * posix/Makefile (tests): Add bug-regex32.
12089
4f031072
UD
12090 * locale/findlocale.c (_nl_find_locale): Return right away if
12091 _nl_explode_name failed.
12092 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12093
d0478f0c
UD
12094 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12095
de81b246
UD
12096 * debug/xtrace.sh: Unify messages.
12097 * malloc/memusage.sh: Likewise.
12098
c738465a
UD
12099 [BZ #12813]
12100 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12101 time symbol from vDSO. Substitute with vsyscall if not available.
12102 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12103 __vdso_time.
12104
f1f929d7
UD
12105 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12106 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12107 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12108 Add sendmmsg and internal_sendmmsg.
12109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12110 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12111 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12112
ce67228d
UD
12113 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12114 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12116
e57420c6
UD
121172011-05-27 Ulrich Drepper <drepper@gmail.com>
12118
a8509ca5
UD
12119 [BZ #12813]
12120 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12121 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12122 available.
12123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12124 __vdso_getcpu.
12125
e57420c6
UD
12126 [BZ #12814]
12127 * iconvdata/Makefile (tests): Add bug-iconv9.
12128 * iconvdata/bug-iconv9.c: New file.
12129
4d07db15
AS
121302011-05-27 Andreas Schwab <schwab@redhat.com>
12131
12132 [BZ #12814]
12133 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12134
ea486f69
JJ
121352011-05-25 Jakub Jelinek <jakub@redhat.com>
12136
12137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12138 (struct user_regs_struct): Change intcs field back to cs.
12139
6f038433
UD
121402011-05-25 Ulrich Drepper <drepper@gmail.com>
12141
12142 * po/ja.po: Update from translation team.
12143
67f86a25
UD
121442011-05-23 Ulrich Drepper <drepper@gmail.com>
12145
12146 [BZ #12795]
12147 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12148 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12149
def7fbd6
AS
121502011-05-20 Andreas Schwab <schwab@redhat.com>
12151
12152 * stdlib/longlong.h: Update from GCC.
12153
f50ef8f1
AS
121542011-05-23 Andreas Schwab <schwab@redhat.com>
12155
12156 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12157 parameter name.
12158 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12159 Add parameter name.
12160 (__sysconf): Pass it down.
12161
de7ce8f1
UD
121622011-05-22 Ulrich Drepper <drepper@gmail.com>
12163
f2962a71
UD
12164 [BZ #12671]
12165 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12166 some situations.
12167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12168 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12169 add in in __libc_use_alloca calls. Adjust callers.
12170 (glob): Use malloc in some situations.
12171
de7ce8f1
UD
12172 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12173 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12174 pltexit.
12175
aec84f53
UD
121762011-05-21 Ulrich Drepper <drepper@gmail.com>
12177
05bb4a68
UD
12178 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12179 and CLOCK_BOOTTIME_ALARM.
12180
7ea72f99
UD
12181 [BZ #12782]
12182 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12183 is returned.
12184
7e4afad5
UD
12185 * string/_strerror.c (__strerror_r): Print negative errors as signed
12186 numbers.
12187
8e211fec
UD
12188 [BZ #12777]
12189 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12190 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12191 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12192
f7d82dc9
UD
12193 * configure.in: Fix typo in redirection and correct removal of test
12194 files in two cases.
12195
cc9e536d
UD
12196 [BZ #12788]
12197 * locale/setlocale.c (new_composite_name): Fix test to check for
12198 identical name of all categories.
12199
aec84f53
UD
12200 [BZ #12792]
12201 * libio/filedoalloc.c (local_isatty): New function.
12202 (_IO_file_doallocate): Use local_isatty.
12203 * stdio-common/perror.c (perror): In case a new stream is used
12204 forward the stream error.
12205 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12206 error flag.
12207
78e64fdc
RT
122082011-05-20 Ulrich Drepper <drepper@gmail.com>
12209
34a9094f
UD
12210 [BZ #11869]
12211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12212 alloca.
12213 * include/alloca.h (extend_alloca_account): Define.
12214
78e64fdc
RT
12215 [BZ #11857]
12216 * posix/regex.h: Fix comments with documentation of user-accessible
12217 fields after compilation and describe correct free'ing of pattern
12218 after re_compile_pattern.
12219 Patch by Reuben Thomas <rrt@sc3d.org>.
12220
457bddfc
RA
122212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12222
12223 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12224 and -mno-altivec to prevent the compiler from using Altivec and/or
12225 VSX instructions when the corresponding registers are not available.
12226
a4527b51
AS
122272011-05-19 Andreas Schwab <schwab@redhat.com>
12228
12229 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12230
ed690b2f
UD
122312011-05-19 Ulrich Drepper <drepper@gmail.com>
12232
12233 * libio/freopen.c (freopen): Use __dup2, not dup2.
12234 * libio/freopen64.c (freopen64): Likewise.
12235
8db73634
L
122362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12237
12238 [BZ #12775]
12239 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12240 * math/Makefile (tests): Add test-powl.
12241 (CFLAGS-test-powl.c): Define.
12242 * math/test-powl.c: New file.
12243
0a197a9d
L
122442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12247
ee30c380
UD
122482011-05-17 Ulrich Drepper <drepper@gmail.com>
12249
12250 [BZ #11837]
12251 * iconvdata/gb18030.c: Update to GB18020-2005.
12252
6ce75379
UD
122532011-05-16 Ulrich Drepper <drepper@gmail.com>
12254
a4b89fd8
AR
12255 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12256 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12257 Patch by Aharon Robbins <arnold@skeeve.com>.
12258
ea389b12
UD
12259 [BZ #11892]
12260 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12261 on the stack.
12262
68a3f91f
UD
12263 [BZ #11895]
12264 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12265 through underflows.
12266
15cc7dd1
UD
12267 [BZ #12766]
12268 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12269 point to strings before performing equality test for error_one_per_line
12270 mode.
12271
f3799213
UD
12272 [BZ #11697]
12273 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12274
d79a9c94
UD
12275 [BZ #11820]
12276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12277 (struct user_fpregs_struct): Avoid __uint*_t types.
12278
56e5eb46
UD
12279 [BZ #6420]
12280 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12281 symbol info. Use it instead of calling _dl_addr locally.
12282 (lock_and_info): New function.
12283 (tr_freehook): Call lock_and_info and pass symbol info as additional
12284 parameter to tr_where.
12285 (tr_mallochook): Likewise.
12286 (tr_reallochook): Likewise.
12287 (tr_memalignhook): Likewise.
12288
6ce75379
UD
12289 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12290 used and couldn't be at all thread-safe.
12291
f8a3b5bf
UD
122922011-05-15 Ulrich Drepper <drepper@gmail.com>
12293
94b7cc37
UD
12294 * libio/freopen.c (freopen): Don't close old file descriptor
12295 before the new one is opened. Instead dup the new file descriptor
12296 to the old one after the new stream is created.
12297 * libio/freopen64.c (freopen64): Likewise.
12298 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12299 * libio/fileops.c (_IO_new_file_close_it): Handle new
12300 _IO_FLAGS2_NOCLOSE flag.
12301 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12302 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12303 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12304 _IO_FLAGS2_NOCLOSE flag.
12305 * include/unistd.h: Add hidden_proto for dup3.
12306 Define __have_dup3.
12307 * io/dup3.c: Define hidden symbol.
12308 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12309
bd25564e
UD
12310 [BZ #7101]
12311 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12312 when an incomplete long option is used.
12313 * posix/tst-getopt_long1.c: New file.
12314 * posix/Makefile (tests): Add tst-getopt_long1.
12315
c84cfef4
UD
12316 [BZ #10138]
12317 * scripts/config.guess: Update from autoconf-2.68.
12318 * scripts/config.sub: Likewise.
12319
3b85df27
UD
12320 [BZ #10157]
12321 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12322 tests into ...
12323 (has_cpuclock): ...this. New function.
12324 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12325 macro here based on has_cpuclock code.
12326
15a856b1
UD
12327 [BZ #10149]
12328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12329 First byte (not low byte) is now always NUL.
12330 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12331
05f399e6
UD
12332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12333 Use non-cancelable interfaces.
12334
10a52685 12335 [BZ #9809]
94ecc67d
UD
12336 * locale/iso-639.def: Add entry for Sorani.
12337
f8a3b5bf
UD
12338 [BZ #11901]
12339 * include/stdlib.h: Move include protection to the right place.
12340 Define abort_msg_s. Declare __abort_msg with it.
12341 * stdlib/abort.c (__abort_msg): Adjust type.
12342 * assert/assert.c (__assert_fail_base): New function. Majority
12343 of code from __assert_fail. Allocate memory for __abort_msg with
12344 mmap.
12345 (__assert_fail): Now call __assert_fail_base.
12346 * assert/assert-perr.c: Remove bulk of implementation. Use
12347 __assert_fail_base.
12348 * include/assert.hL Declare __assert_fail_base.
12349 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12350 mmap.
12351 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12352
1af4e298
UD
123532011-05-14 Ulrich Drepper <drepper@gmail.com>
12354
f8a3b5bf 12355 [BZ #11952]
d26dfc60
MG
12356 [BZ #12453]
12357 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12358 until all modules are registered in the DTV.
12359 * elf/Makefile: Add rules to build and run tst-tls19.
12360 * elf/tst-tls19.c: New file.
12361 * elf/tst-tls19mod1.c: New file.
12362 * elf/tst-tls19mod2.c: New file.
12363 * elf/tst-tls19mod3.c: New file.
12364 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12365
2fc54d6f
UD
12366 [BZ #12083]
12367 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12368 correctly.
12369
98d76b46
UD
12370 [BZ #12601]
12371 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12372 two-byte sequence errors.
12373 * iconvdata/Makefile (tests): Add bug-iconv8.
12374 * iconvdata/bug-iconv8.c: New file.
12375
da3c19ef
UD
12376 [BZ #12626]
12377 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12378 buf2 definition.
12379
ca408c15
UD
12380 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12381
d6f67f7d
UD
12382 [BZ #12432]
12383 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12384 (dummy_getcfa): New function.
12385 (init): Get _Unwind_GetCFA address, use dummy if not found.
12386 (backtrace_helper): In recursion check, also check whether CFA changes.
12387 (__backtrace): Completely initialize arg.
12388
1af4e298 12389 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12390 storing incomplete byte sequence in state object. Avoid testing for
12391 guaranteed too small input if we know there is enough data available.
1af4e298 12392
da62f81b
AS
123932011-05-11 Andreas Schwab <schwab@redhat.com>
12394
12395 * Makeconfig (+link-pie): Indent.
12396 * Rules (binaries-pie): Define if $(have-fpie) and
12397 $(build-shared).
12398 (binaries-shared): Also filter out $(binaries-pie).
12399 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12400 * nscd/Makefile (others-pie): Add nscd.
12401 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12402 ($(objpfx)nscd): Remove command override.
12403 * login/Makefile (others-pie): Add pt_chown.
12404 ($(objpfx)pt_chown): Remove command override.
12405 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12406 remove command overrides.
12407
fcabc0f8
UD
124082011-05-13 Ulrich Drepper <drepper@gmail.com>
12409
20030ae6
UD
12410 * libio/tst_putwc.c: Fix error messages.
12411
fcabc0f8
UD
12412 [BZ #12724]
12413 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12414 currently writing and seek to current position when not.
12415 * libio/Makefile (tests): Add bug-fclose1.
12416 * libio/bug-fclose1.c: New file.
12417
320a5dc0
PB
124182011-05-12 Ulrich Drepper <drepper@gmail.com>
12419
12420 [BZ #12511]
12421 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12422 don't set DF_1_NODELETE here.
12423 (do_lookup_x): When entering new entry test for copy relocation
12424 and if necessary set DF_1_NODELETE flag.
12425 * elf/tst-unique4.cc: New file.
12426 * elf/tst-unique4.h: New file.
12427 * elf/tst-unique4lib.cc: New file.
12428 * elf/Makefile: Add rules to build and run tst-unique4.
12429 Patch by Piotr Bury <pbury@goahead.com>.
12430
22836f52
UD
124312011-05-11 Ulrich Drepper <drepper@gmail.com>
12432
f574184a
UD
12433 [BZ #12052]
12434 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12435
e1fb097f
UD
12436 [BZ #12625]
12437 * misc/mntent_r.c (addmntent): Flush the stream after the output
12438
22836f52
UD
12439 [BZ #12393]
12440 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12441 (is_trusted_path_normalize): Skip initial colon. Append slash
12442 to empty buffer. Duplicate is_trusted_path code but allow
12443 constructed patch to be prefix.
12444 (is_dst): Allow $ORIGIN followed by /.
12445 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12446 Correct testing of result of is_trusted_path_normalize
12447 (decompose_rpath): Fix warning.
12448
7b3b0b2a
UD
124492011-05-10 Ulrich Drepper <drepper@gmail.com>
12450
12451 [BZ #11257]
12452 * grp/initgroups.c (internal_getgrouplist): When we found the service
12453 list through the initgroups entry in nsswitch.conf do not always
12454 continue on a successful lookup. Don't always use the
eac80ce2 12455 __nss_group_database value if it is set.
7b3b0b2a
UD
12456 * nss/nsswitch.conf (initgroups): Change action for successful db
12457 lookup to continue for compatibility.
12458
2a81eaa5
UD
124592011-05-09 Ulrich Drepper <drepper@gmail.com>
12460
be97a69e
UD
12461 [BZ #11532]
12462 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12463 and CP774 modules.
12464 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12465 and CP774 modules.
12466 * iconvdata/tst-tables.sh: Likewise.
12467 * iconvdata/cp770.c: New file.
12468 * iconvdata/cp771.c: New file.
12469 * iconvdata/cp772.c: New file.
12470 * iconvdata/cp773.c: New file.
12471 * iconvdata/cp774.c: New file.
12472 * iconvdata/testdata/CP770: New file.
12473 * iconvdata/testdata/CP770..UTF8: New file.
12474 * iconvdata/testdata/CP771: New file.
12475 * iconvdata/testdata/CP771..UTF8: New file.
12476 * iconvdata/testdata/CP772: New file.
12477 * iconvdata/testdata/CP772..UTF8: New file.
12478 * iconvdata/testdata/CP773: New file.
12479 * iconvdata/testdata/CP773..UTF8: New file.
12480 * iconvdata/testdata/CP774: New file.
12481 * iconvdata/testdata/CP774..UTF8: New file.
12482
12483 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12484 END CHARMAP line.
12485 * iconvdata/gen-8bit-gap.sh: Likewise.
12486 * iconvdata/gen-8bit.sh: Likewise.
12487
c1e9e399
UD
12488 * locale/iso-639.def: Add ary entry.
12489
24c55fb3 12490 [BZ #11258]
96b4b1b0
UD
12491 * locale/C-translit.h.in: Add U20A1 transliteration.
12492
bdc2f971
KB
12493 [BZ #12178]
12494 * locale/iso-639.def: Add wae entry.
12495 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12496
2952b117
UD
12497 [BZ #12545]
12498 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12499 for n.
12500
2a81eaa5
UD
12501 [BZ #12711]
12502 * locale/C-translit.h.in: Add entry for U20B9.
12503 Patch by pravin.d.s@gmail.com.
12504
28377d1b
UD
125052011-05-08 Ulrich Drepper <drepper@gmail.com>
12506
7fb90fb8
UD
12507 [BZ #12713]
12508 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12509 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12510 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12511 in rtld. Use *stat64.
7fb90fb8 12512 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12513 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12514 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12515 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12516 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12517 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12518 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12519 __fstatat64 macros.
7fb90fb8
UD
12520 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12521 * dirent/rewinddir.c: Add libc_hidden_def.
12522 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12523 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12524
28377d1b
UD
12525 * include/dirent.h (__alloc_dir): Add flags parameter.
12526 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12527 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12528 __alloc_dir.
12529 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12530 from fdopendir if O_CLOEXEC is already set.
12531
66bdbaa4
AM
125322011-03-15 Alan Modra <amodra@gmail.com>
12533
12534 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12535 l_tls_firstbyte_offset non-zero. Save padding offset in
12536 l_tls_firstbyte_offset for later use.
12537 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12538 freeing static tls block.
12539
95721191
JN
125402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12541
12542 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12543 where #ifdef was intended. The intent is to prevent ARG_MAX from
12544 being defined by the kernel headers.
12545
f87dfb1f
UD
125462011-05-07 Ulrich Drepper <drepper@gmail.com>
12547
12548 [BZ #12734]
12549 * resolv/resolv.h: Define RES_NOTLDQUERY.
12550 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12551 no-tld-query and set RES_NOTLDQUERY.
12552 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12553 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12554 modern BIND to search name as TLD unless forbidden.
12555
47c3cd7a
UD
125562011-05-07 Petr Baudis <pasky@suse.cz>
12557 Ulrich Drepper <drepper@gmail.com>
12558
12559 [BZ #12393]
12560 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12561 (is_trusted_path): ...to here.
c1e9ea35 12562 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12563 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12564 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12565
8a35c912
PP
125662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12567
12568 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12569 __BEGIN/__END_DECLS.
12570
acd41f47
UD
125712011-05-06 Ulrich Drepper <drepper@gmail.com>
12572
12573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12574 NSS_STATUS_NOTFOUND if no record was found.
12575
597df647
AS
125762011-05-05 Andreas Schwab <schwab@redhat.com>
12577
12578 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12579 (headers-not-in-tirpc): Remove rpc/netdb.h
12580 * resolv/netdb.h: Revert last change.
12581
b9af1301
PP
125822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12583
12584 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12585 circular dependency between libgcc.a and libc.a.
12586
4e34d5f5
AS
125872011-05-05 Andreas Schwab <schwab@redhat.com>
12588
12589 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12590 * nis/Makefile: Don't install rpcsvc/*.
12591 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12592 instead of <rpc/types.h>.
12593 (MAXHOSTNAMELEN): Define.
12594
00ee369c
AS
125952011-05-03 Andreas Schwab <schwab@redhat.com>
12596
12597 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12598
0b592a30
MB
125992011-04-28 Maciej Babinski <mbabinski@google.com>
12600
12601 [BZ #12714]
12602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12603 gethostbyname4_r when IPv6 results are possible.
12604
6e04cbbe
UD
126052011-05-02 Ulrich Drepper <drepper@gmail.com>
12606
12607 [BZ #12723]
12608 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12609 _PC_PIPE_BUF handling.
12610
e4ecafe0
BH
126112011-04-30 Bruno Haible <bruno@clisp.org>
12612
12613 [BZ #12717]
12614 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12615 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12616 to 'int'.
12617 * inet/getnameinfo.c (getnameinfo): Likewise.
12618
125ee683
UD
126192011-04-29 Ulrich Drepper <drepper@gmail.com>
12620
12621 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12622 to groups setting in database lookup.
12623 * nss/nsswitch.conf: Add initgroups entry.
12624
b722481a
EB
126252011-04-22 Ulrich Drepper <drepper@gmail.com>
12626
12627 [BZ #12685]
12628 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12629 mode string.
12630 Patch by Eric Blake <eblake@redhat.com>.
12631
4df46dbd
L
126322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12633
12634 * sunrpc/Makefile (need-export-routines): Add svc_run.
12635 (routines): Remove svc_run.
12636 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12637 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12638 * sunrpc/svc_run.c (svc_run): Likewise.
12639 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12640
e84142d2
UD
126412011-04-21 Ulrich Drepper <drepper@gmail.com>
12642
12643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12644 problem in reallocation in last patch.
12645
877175d8
UD
126462011-04-20 Ulrich Drepper <drepper@gmail.com>
12647
12648 * sunrpc/Makefile: Move inclusion of Rules.
12649
ab8eed78
UD
126502011-04-19 Ulrich Drepper <drepper@gmail.com>
12651
12652 * nss/nss_files/files-initgroups.c: New file.
12653 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12654 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12655 _nss_files_initgroups_dyn.
12656
e3d8f584
RS
126572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12658
12659 * elf/elf.h (R_ARM_IRELATIVE): Define.
12660
af190f45
UD
126612011-04-19 Ulrich Drepper <drepper@gmail.com>
12662
12663 * po/ru.po: Update from translation team.
12664
53cf59ef
UD
126652011-04-17 Ulrich Drepper <drepper@gmail.com>
12666
12667 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12668 dependencies.
12669
4c559bcd
MF
126702011-02-06 Mike Frysinger <vapier@gentoo.org>
12671
12672 [BZ #12653]
12673 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12674 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12675 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12678
4420675c
AS
126792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12680
12681 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12682 differing bytes.
12683 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12686
75ea32ab
UD
126872011-04-17 Ulrich Drepper <drepper@gmail.com>
12688
12689 [BZ #12420]
12690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12691 storing it.
12692 * stdlib/bug-getcontext.c: New file.
12693 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12694
27390476
AK
126952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12696
12697 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12698 instructions into .machine "z9-109".
12699 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12700 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12701
10442705
AK
127022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12703
12704 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12705 between environment variables and auxiliary vector.
12706
7b57bfe5
UD
127072011-04-16 Ulrich Drepper <drepper@gmail.com>
12708
12709 * Makefile: Add rules to build linkobj/libc.so.
12710 * include/libc-symbols.h: Define libc_hidden_nolink.
12711 * include/rpc/auth.h: Mark functions which are to be hidden.
12712 * include/rpc/auth_des.h: Likewise.
12713 * include/rpc/auth_unix.h: Likewise.
12714 * include/rpc/clnt.h: Likewise.
12715 * include/rpc/des_crypt.h: Likewise.
12716 * include/rpc/key_prot.h: Likewise.
12717 * include/rpc/pmap_clnt.h: Likewise.
12718 * include/rpc/pmap_prot.h: Likewise.
12719 * include/rpc/pmap_rmt.h: Likewise.
12720 * include/rpc/rpc_msg.h: Likewise.
12721 * include/rpc/svc.h: Likewise.
12722 * include/rpc/svc_auth.h: Likewise.
12723 * include/rpc/xdr.h: Likewise.
12724 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12725 * nss/Makefile: Likewise.
12726 * sunrpc/Makefile: Don't install headers. Build library with normal
12727 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12728 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12729 for the compat linking library. Remove use of INTDEF/INTUSE.
12730 * sunrpc/auth_none.c: Likewise.
12731 * sunrpc/auth_unix.c: Likewise.
12732 * sunrpc/authdes_prot.c: Likewise.
12733 * sunrpc/authuxprot.c: Likewise.
12734 * sunrpc/clnt_gen.c: Likewise.
12735 * sunrpc/clnt_perr.c: Likewise.
12736 * sunrpc/clnt_raw.c: Likewise.
12737 * sunrpc/clnt_simp.c: Likewise.
12738 * sunrpc/clnt_tcp.c: Likewise.
12739 * sunrpc/clnt_udp.c: Likewise.
12740 * sunrpc/clnt_unix.c: Likewise.
12741 * sunrpc/des_crypt.c: Likewise.
12742 * sunrpc/des_soft.c: Likewise.
12743 * sunrpc/get_myaddr.c: Likewise.
12744 * sunrpc/key_call.c: Likewise.
12745 * sunrpc/key_prot.c: Likewise.
12746 * sunrpc/netname.c: Likewise.
12747 * sunrpc/pm_getmaps.c: Likewise.
12748 * sunrpc/pm_getport.c: Likewise.
12749 * sunrpc/pmap_clnt.c: Likewise.
12750 * sunrpc/pmap_prot.c: Likewise.
12751 * sunrpc/pmap_prot2.c: Likewise.
12752 * sunrpc/pmap_rmt.c: Likewise.
12753 * sunrpc/publickey.c: Likewise.
12754 * sunrpc/rpc_cmsg.c: Likewise.
12755 * sunrpc/rpc_common.c: Likewise.
12756 * sunrpc/rpc_dtable.c: Likewise.
12757 * sunrpc/rpc_prot.c: Likewise.
12758 * sunrpc/rpc_thread.c: Likewise.
12759 * sunrpc/rtime.c: Likewise.
12760 * sunrpc/svc.c: Likewise.
12761 * sunrpc/svc_auth.c: Likewise.
12762 * sunrpc/svc_authux.c: Likewise.
12763 * sunrpc/svc_raw.c: Likewise.
12764 * sunrpc/svc_run.c: Likewise.
12765 * sunrpc/svc_simple.c: Likewise.
12766 * sunrpc/svc_tcp.c: Likewise.
12767 * sunrpc/svc_udp.c: Likewise.
12768 * sunrpc/svc_unix.c: Likewise.
12769 * sunrpc/svcauth_des.c: Likewise.
12770 * sunrpc/xcrypt.c: Likewise.
12771 * sunrpc/xdr.c: Likewise.
12772 * sunrpc/xdr_array.c: Likewise.
12773 * sunrpc/xdr_float.c: Likewise.
12774 * sunrpc/xdr_intXX_t.c: Likewise.
12775 * sunrpc/xdr_mem.c: Likewise.
12776 * sunrpc/xdr_rec.c: Likewise.
12777 * sunrpc/xdr_ref.c: Likewise.
12778 * sunrpc/xdr_sizeof.c: Likewise.
12779 * sunrpc/xdr_stdio.c: Likewise.
12780
e6c61494
UD
127812011-04-10 Ulrich Drepper <drepper@gmail.com>
12782
12783 [BZ #12650]
12784 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12785 * sysdeps/ia64/dl-tls.h: Likewise.
12786 * sysdeps/powerpc/dl-tls.h: Likewise.
12787 * sysdeps/s390/dl-tls.h: Likewise.
12788 * sysdeps/sh/dl-tls.h: Likewise.
12789 * sysdeps/sparc/dl-tls.h: Likewise.
12790 * sysdeps/x86_64/dl-tls.h: Likewise.
12791 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12792
34fe483e
AS
127932011-03-14 Andreas Schwab <schwab@redhat.com>
12794
12795 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12796 rpath element also skip the following colon.
12797 (expand_dynamic_string_token): Add is_path parameter and pass
12798 down to DL_DST_REQUIRED and _dl_dst_substitute.
12799 (decompose_rpath): Call expand_dynamic_string_token with
12800 non-zero is_path. Ignore empty rpaths.
12801 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12802 with zero is_path.
12803
f12a32e6
AS
128042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12805
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12807 Make cancelable.
12808
38a7d692
UD
128092011-04-09 Ulrich Drepper <drepper@gmail.com>
12810
12811 [BZ #12655]
12812 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12813 Patch by Filipe David Manana <fdmanana@apache.org>.
12814
e451d22b
AS
128152011-04-07 Andreas Schwab <schwab@redhat.com>
12816
12817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12818 Maintain aligned stack.
12819 (CHECK_RSP): Remove unused macro.
12820
dedc7c7b
UD
128212011-04-03 Ulrich Drepper <drepper@gmail.com>
12822
12823 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12824 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12825
94521213
UD
128262011-04-02 Ulrich Drepper <drepper@gmail.com>
12827
12828 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12829
8cb700c0 12830 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12831
0354e355
L
128322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 [BZ #12518]
12835 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12836 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12837 * sysdeps/x86_64/memmove.c: New file.
12838 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12839 (memcpy): Renamed to ...
12840 (__new_memcpy): This.
12841 (memcpy): Provide GLIBC_2_14 memcpy.
12842 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12843 (memcpy): Provide GLIBC_2_2_5 memcpy.
12844
8593482f
UD
128452011-04-01 Ulrich Drepper <drepper@gmail.com>
12846
12847 [BZ #12631]
12848 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12849
81a5726b
AS
128502011-03-30 Andreas Schwab <schwab@redhat.com>
12851
12852 * misc/syncfs.c: New file.
12853 * misc/Makefile (routines): Add syncfs.
12854 * posix/unistd.h: Declare syncfs.
12855 * sysdeps/unix/syscalls.list: Add syncfs.
12856
00e5419f
AS
128572011-04-01 Andreas Schwab <schwab@redhat.com>
12858
12859 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12860 open_by_handle_at.
12861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12866 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12868
748876bf
UD
128692011-04-01 Ulrich Drepper <drepper@gmail.com>
12870
658e451d
UD
12871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12872 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12873 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12878
748876bf
UD
12879 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12880 sync_file_range.c with -fexceptions.
12881 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12882 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12883 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12884 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12885 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12886 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12888 sync_file_range as cancellation point
12889 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12890 now a wrapper around __call_sync_file_range with cancellation handling.
12891 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12892 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12893 function name to __call_sync_file_range.
12894 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12895 Add call_sync_file_range.
748876bf 12896
6e63d5e1
AS
128972011-04-01 Andreas Schwab <schwab@redhat.com>
12898
12899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12900 bits/timex.h.
6e63d5e1 12901
46998f74
UD
129022011-04-01 Ulrich Drepper <drepper@gmail.com>
12903
4c1423ed
UD
12904 * iconv/iconv.h: Fix typo in comment.
12905 * io/fcntl.h: Likewise.
12906 * libio/stdio.h: Likewise.
12907 * posix/spawn.h: Likewise.
12908 * posix/unistd.h: Likewise.
12909 * stdlib/stdlib.h: Likewise.
12910 * time/time.h: Likewise.
12911 * wcsmbs/wchar.h: Likewise.
12912
158648c0
UD
12913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12914 open_by_handle): Add.
12915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12916 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12917 Augment a few comments.
12918 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12923 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12924 open_by_handle.
12925
46998f74
UD
12926 * io/fcntl.h (AT_EMPTY_PATH): Define.
12927
83fe108b
UD
129282011-03-30 Ulrich Drepper <drepper@gmail.com>
12929
12930 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12931 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12932 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12933 to...
12934 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12935 * Versions.def: Add GLIBC_2.14.
12936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12937 Export.
83fe108b 12938
bb242059
UD
129392011-03-22 Ulrich Drepper <drepper@gmail.com>
12940
12941 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12942 round counter.
12943 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12944
c97a1282
L
129452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12946
12947 [BZ #12597]
12948 * string/test-strncmp.c (do_page_test): New function.
12949 (check2): Likewise.
12950 (test_main): Call check2.
12951 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12952
2a115601
UD
129532011-03-20 Ulrich Drepper <drepper@gmail.com>
12954
12955 [BZ #12587]
12956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12957 Handle cache information in CPU leaf 4.
12958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12959
8126d904
UD
129602011-03-18 Ulrich Drepper <drepper@gmail.com>
12961
042c49c6 12962 [BZ #12583]
8126d904
UD
12963 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12964 character representation.
12965 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12966
ccfe366e
RA
129672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12968
12969 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12970 END(__isnan) to END(__isnanf) to match function entry point/label
12971 EALIGN(__isnanf,...).
12972
c6e13027
JJ
129732011-03-10 Jakub Jelinek <jakub@redhat.com>
12974
12975 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12976
33f85a3f
UD
129772011-03-10 Ulrich Drepper <drepper@gmail.com>
12978
028478fa
UD
12979 [BZ #12510]
12980 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12981 copy from the symbol referenced in the relocation to initialize the
12982 used variable.
12983 Patch by Piotr Bury <pbury@goahead.com>.
12984 * elf/Makefile: Add rules to build and tst-unique3.
12985 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12986 * elf/tst-unique3.cc: New file.
12987 * elf/tst-unique3.h: New file.
12988 * elf/tst-unique3lib.cc: New file.
12989 * elf/tst-unique3lib2.cc: New file.
12990
33f85a3f
UD
12991 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12992
03592fc7
MF
129932011-03-10 Mike Frysinger <vapier@gentoo.org>
12994
12995 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12996 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12997 to _start.
03592fc7 12998
6a5ee102
UD
129992011-03-06 Ulrich Drepper <drepper@gmail.com>
13000
13001 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13002 to-be-loaded object along a path to loader is ld.so.
13003
7e4ba49c
HJ
130042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13005 Ulrich Drepper <drepper@gmail.com>
13006
13007 * sysdeps/x86_64/memset.S: After aligning destination, code
13008 branches to different locations depending on the value of
13009 misalignment, when multiarch is enabled. Fix this.
13010
130112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13012
13013 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13014 Set _x86_64_preferred_memory_instruction for AMD processsors.
13015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13016 Set bit_Prefer_SSE_for_memop for AMD processors.
13017
13a804de
UD
130182011-03-04 Ulrich Drepper <drepper@gmail.com>
13019
13020 * libio/fmemopen.c (fmemopen): Optimize a bit.
13021
9d25c392
AS
130222011-03-03 Andreas Schwab <schwab@redhat.com>
13023
13024 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13025
a5543c6a
RM
130262011-03-03 Roland McGrath <roland@redhat.com>
13027
13028 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13029
012d35f7
DM
130302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13031
7e4ba49c 13032 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13033 __bzero_ultra1 instead of __memset_ultra1.
13034
4bff6e01
AS
130352011-02-23 Andreas Schwab <schwab@redhat.com>
13036 Ulrich Drepper <drepper@gmail.com>
13037
13038 [BZ #12509]
13039 * include/link.h (struct link_map): Add l_orig_initfini.
13040 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13041 returning unsuccessfully.
13042 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13043 close of a file loaded at startup, restore the original l_initfini
13044 list.
13045 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13046 list, store the pointer.
13047 * elf/Makefile ($(objpfx)noload-mem): New rule.
13048 (noload-ENV): Define.
13049 (tests): Add $(objpfx)noload-mem.
13050 * elf/noload.c: Include <memcheck.h>.
13051 (main): Call mtrace. Close all opened handles.
13052
f2092faf
AS
130532011-02-17 Andreas Schwab <schwab@redhat.com>
13054
13055 [BZ #12454]
13056 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13057 dependencies are missing.
13058
6c8a2e88
ST
130592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13060
f2092faf 13061 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13062 Hurd needs munmap.
13063 * sysdeps/mach/hurd/ifreq.h: New file.
13064
84a42118
PB
130652011-01-27 Petr Baudis <pasky@suse.cz>
13066 Ulrich Drepper <drepper@gmail.com>
13067
071f805e 13068 [BZ 12445]#
84a42118
PB
13069 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13070 to extend_alloca().
13071 * stdio-common/bug23.c: New file.
13072 * stdio-common/Makefile (tests): Add bug23.
13073
e23fe25b
AS
130742010-09-28 Andreas Schwab <schwab@redhat.com>
13075 Ulrich Drepper <drepper@gmail.com>
13076
13077 [BZ #12489]
13078 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13079 before performing relro protection. At old place add assertion
13080 to make sure nothing changed.
13081
d3f02e10
NS
130822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13083 Glauber de Oliveira Costa <glommer@gmail.com>
13084
13085 * elf/elf.h: Add new ARM TLS relocs.
13086
d55fd7a5
RA
130872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13088
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13090 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13091 cast from r3.
13092 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13093 'tests' variable.
13094 * sysdeps/wordsize-64/tst-writev.c: New file.
13095
2206397e
RA
130962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13097
13098 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13099 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13100 insns in _dl_start to prevent a TOC reference before relocs are
13101 resolved.
13102
e9433893
UD
131032011-02-15 Ulrich Drepper <drepper@gmail.com>
13104
13105 [BZ #12469]
13106 * Makeconfig: Remove RANLIB definition.
13107 * Makerules: Don't use RANLIB.
13108 * aclocal.m4: Remove ranlib test.
13109 * configure.in: No need to check for ranlib.
13110 * elf/rtld-Rules: Don't use RANLIB.
13111
f75286c6
ST
131122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13113
8e31c82d
ST
13114 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13115 protection macro.
13116 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13117 inclusion protection macro.
13118
f75286c6
ST
13119 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13120 SIGRTMIN and SIGRTMAX and print information in that case only when
13121 SIGRTMIN is defined.
13122
c1d0e639
JJ
131232011-02-11 Jakub Jelinek <jakub@redhat.com>
13124
13125 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13126 arginfo fn returning -1.
13127
13128 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13129 and thousands string is zero terminated.
13130
edf9294e
AS
131312011-02-03 Andreas Schwab <schwab@redhat.com>
13132
13133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13134 sysdeps/unix/sysv/linux/bits/socket.h.
13135
2b7e92df
ST
131362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13137
edf9294e
AS
13138 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13139 (__CPU_COUNT): Remove old macros.
13140 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13141 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13142 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13143 (__sched_cpualloc, __sched_cpufree): Add declarations.
13144
a4c7ea7b
UD
131452011-02-05 Ulrich Drepper <drepper@gmail.com>
13146
13147 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13148 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13149 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13150 (readdhstai): Return value of addhstaiX call.
13151 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13152 (addgrbyX): Return value returned by cache_addgr.
13153 (readdgrbyname): Return value returned by addgrbyX.
13154 (readdgrbygid): Likewise.
13155 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13156 (addpwbyX): Return value returned by cache_addpw.
13157 (readdpwbyname): Return value returned by addhstbyX.
13158 (readdpwbyuid): Likewise.
13159 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13160 (addservbyX): Return value returned by cache_addserv.
13161 (readdservbyname): Return value returned by addservbyX:
13162 (readdservbyport): Likewise.
13163 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13164 (addhstbyX): Return value returned by cache_addhst.
13165 (readdhstbyname): Return value returned by addhstbyX.
13166 (readdhstbyaddr): Likewise.
13167 (readdhstbynamev6): Likewise.
13168 (readdhstbyaddrv6): Likewise.
13169 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13170 (readdinitgroups): Return value returned by addinitgroupsX.
13171 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13172 (prune_cache): Keep track of timeout value of re-added entries.
13173 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13174 * nscd/nscd.h: Adjust prototypes of readd* functions.
13175
a0bf67cc
RM
131762011-02-04 Roland McGrath <roland@redhat.com>
13177
13178 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13179 (nis_stats): Likewise.
13180 * nis/nis_modify.c (nis_modify): Likewise.
13181 * nis/nis_remove.c (nis_remove): Likewise.
13182 * nis/nis_add.c (nis_add): Likewise.
13183
13184 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13185
13186 * posix/fnmatch_loop.c: Add some consts.
13187
13188 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13189
435b95eb
L
131902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 [BZ #12460]
13193 * config.make.in (config-cflags-novzeroupper): Define.
13194 * configure.in: Substitute libc_cv_cc_novzeroupper.
13195 * elf/Makefile (AVX-CFLAGS): Define.
13196 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13197 (CFLAGS-tst-auditmod4a.c): Likewise.
13198 (CFLAGS-tst-auditmod4b.c): Likewise.
13199 (CFLAGS-tst-auditmod6b.c): Likewise.
13200 (CFLAGS-tst-auditmod6c.c): Likewise.
13201 (CFLAGS-tst-auditmod7b.c): Likewise.
13202 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13203
8517b15e
UD
132042011-02-02 Ulrich Drepper <drepper@gmail.com>
13205
13206 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13207 function to the callback.
13208 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13209
10a656fe
AS
132102011-02-02 Andreas Schwab <schwab@redhat.com>
13211
13212 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13213 of errno.
13214
968dad0a
UD
132152011-01-19 Ulrich Drepper <drepper@gmail.com>
13216
9f94d2ea 13217 [BZ #11724]
968dad0a
UD
13218 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13219 of constructors.
13220 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13221 of destructors.
13222 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13223
13224 [BZ #11724]
13225 * elf/Makefile: Add rules to build and run new test.
13226 * elf/tst-initorder.c: New file.
13227 * elf/tst-initorder.exp: New file.
13228 * elf/tst-initordera1.c: New file.
13229 * elf/tst-initordera2.c: New file.
13230 * elf/tst-initordera3.c: New file.
13231 * elf/tst-initordera4.c: New file.
13232 * elf/tst-initorderb1.c: New file.
13233 * elf/tst-initorderb2.c: New file.
13234 * elf/tst-order-a1.c: New file.
13235 * elf/tst-order-a2.c: New file.
13236 * elf/tst-order-a3.c: New file.
13237 * elf/tst-order-a4.c: New file.
13238 * elf/tst-order-b1.c: New file.
13239 * elf/tst-order-b2.c: New file.
13240 * elf/tst-order-main.c: New file.
13241 New test case by George Gensure <werkt0@gmail.com>.
13242
86e92359
UD
132432010-10-01 Andreas Schwab <schwab@redhat.com>
13244
13245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13246 decoding ACE if AI_CANONIDN.
13247
5d5732b0
UD
132482011-01-18 Ulrich Drepper <drepper@gmail.com>
13249
13250 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13251
a77e8cbc
UD
132522011-01-17 Ulrich Drepper <drepper@gmail.com>
13253
6392473f
UD
13254 * version.h (RELEASE): Bump for 2.13 release.
13255 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13256
620a0529
UD
13257 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13258
18ba70a5
UD
13259 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13260 MADV_NOHUGEPAGE.
32465c3e
UD
13261 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13262 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13267
c0dafcf1
UD
13268 * posix/getconf.c: Update copyright year.
13269 * catgets/gencat.c: Likewise.
13270 * csu/version.c: Likewise.
13271 * debug/catchsegv.sh: Likewise.
13272 * debug/xtrace.sh: Likewise.
13273 * elf/ldconfig.c: Likewise.
13274 * elf/ldd.bash.in: Likewise.
13275 * elf/sprof.c (print_version): Likewise.
13276 * iconv/iconv_prog.c: Likewise.
13277 * iconv/iconvconfig.c: Likewise.
13278 * locale/programs/locale.c: Likewise.
13279 * locale/programs/localedef.c: Likewise.
13280 * malloc/memusage.sh: Likewise.
13281 * malloc/mtrace.pl: Likewise.
13282 * nscd/nscd.c (print_version): Likewise.
13283 * nss/getent.c: Likewise.
13284
a77e8cbc
UD
13285 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13286 PF_CAIF, and PF_ALG.
13287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13288
77e8bddf
AS
132892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13290
1f20b93a
AS
13291 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13292 (modules-names): Use them.
13293 (ifunc-test-modules, ifunc-pie-tests): Define.
13294 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13295 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13296 (test-extras): Likewise.
13297 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13298 $(compile-command.c).
13299 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13300 (all-built-dso): Define.
13301 (check-textrel.out, check-execstack.out): Depend on it.
13302
77e8bddf
AS
13303 * configure.in: Don't override --enable-multi-arch.
13304
bc425b33
UD
133052011-01-15 Ulrich Drepper <drepper@gmail.com>
13306
13307 [BZ #6812]
13308 * nscd/hstcache.c (tryagain): Define.
13309 (cache_addhst): Return tryagain not notfound for temporary errors.
13310 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13311 failed.
13312
794c3ad3
UD
133132011-01-14 Ulrich Drepper <drepper@gmail.com>
13314
70181fdd
UD
13315 [BZ #10563]
13316 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13317 to make the syscall.
13318 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13319
794c3ad3
UD
13320 [BZ #12378]
13321 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13322 and fall back to matching as normal character if the string ends before
13323 the matching ']' is found. This is what POSIX requires.
13324 * posix/testfnm.c: Adjust test result.
13325 * posix/globtest.sh: Adjust test result. Add new test.
13326 * posix/tst-fnmatch.input: Likewise.
13327 * posix/tst-fnmatch2.c: Add new test.
13328
68dc9497
AS
133292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13330
13331 * elf/Makefile (check-execstack): Revert last change. Depend on
13332 check-execstack.h.
13333 (check-execstack.h): New target.
13334 (generated): Add check-execstack.h.
13335 * elf/check-execstack.c: Include "check-execstack.h".
13336 (main): Revert last change.
13337 (handle_file): Return zero if GNU_STACK is absent and
13338 DEFAULT_STACK_PERMS doesn't include PF_X.
13339
451f001b
UD
133402011-01-13 Ulrich Drepper <drepper@gmail.com>
13341
cfa28e56
UD
13342 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13343 in child fails because the descriptor is already closed.
8cf8ce17
UD
13344 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13345 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13346 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13347
1086d70d
UD
13348 [BZ #12397]
13349 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13350 syscall.
13351
451f001b
UD
13352 [BZ #10484]
13353 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13354 temporary buffer used to handle multi lookups locally.
a85b5cb4 13355 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13356
08769175
UD
133572011-01-12 Ulrich Drepper <drepper@gmail.com>
13358
13359 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13360 loader is ld.so.
13361
5e49c52e
UD
133622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13363
13364 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13365 alignment for SSE2.
13366
60522a5f
UD
133672011-01-12 Ulrich Drepper <drepper@gmail.com>
13368
13369 [BZ #12394]
13370 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13371 characters. When rounding increased number of integer digits recompute
13372 number of groups.
13373 * stdio-common/tst-grouping.c: New file.
13374 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13375
f257bbd7
UD
133762011-01-09 Ulrich Drepper <drepper@gmail.com>
13377
13378 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13379 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13380
13381 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13382 void.
13383 * bits/select.h: Likewise.
13384
fa9c15cb
UD
133852011-01-08 Ulrich Drepper <drepper@gmail.com>
13386
13387 * po/ja.po: Update from translation team.
13388
16c2895f
DM
133892011-01-04 David S. Miller <davem@sunset.davemloft.net>
13390
13391 [BZ #11155]
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13393 implementation just like for lxstat, fxstatat, et al.
13394
2543fef2
JM
133952010-12-27 Jim Meyering <meyering@redhat.com>
13396
13397 [BZ #12348]
13398 * posix/regexec.c (build_trtable): Return failure indication upon
13399 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13400
98727dbe
UD
134012010-12-25 Ulrich Drepper <drepper@gmail.com>
13402
5bd6dc5c
UD
13403 [BZ #12201]
13404 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13405 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13406 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13407 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13408
97983464
UD
13409 [BZ #12207]
13410 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13411
98727dbe
UD
13412 [BZ #12204]
13413 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13414 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13415
4a531bb0
L
134162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13417
13418 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13419 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13420 script has SORT_BY_INIT_PRIORITY.
13421 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13422 NO_CTORS_DTORS_SECTIONS is defined.
13423 * elf/soinit.c: Likewise.
13424 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13425 NO_CTORS_DTORS_SECTIONS is defined.
13426 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13427 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13428 * sysdeps/sh/init-first.c: Likewise.
13429 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13430
07eb4b71
UD
134312010-12-24 Ulrich Drepper <drepper@gmail.com>
13432
13433 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13434 always use the slow path.
13435
30950a5f
RA
134362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13437
13438 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13439 similar rule which adds the sysdep directories to the header search in
13440 order to pick up the correct platform stackinfo.h.
13441 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13442 perform test if it is, otherwise return successfully without testing.
13443 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13444 DEFAULT_STACK_PERMS define in stackinfo.h.
13445 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13446 defined in stackinfo.h.
13447 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13448 DEFAULT_STACK_PERMS defined in stackinfo.h.
13449 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13450 * sysdeps/ia64/stackinfo.h: Likewise.
13451 * sysdeps/s390/stackinfo.h: Likewise.
13452 * sysdeps/sh/stackinfo.h: Likewise.
13453 * sysdeps/sparc/stackinfo.h: Likewise.
13454 * sysdeps/x86_64/stackinfo.h: Likewise.
13455 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13456 PF_X for powerpc64. Retain PF_X for powerpc32.
13457
db753e2c
UD
134582010-12-19 Ulrich Drepper <drepper@gmail.com>
13459
14b697f7
UD
13460 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13461 accurately.
db753e2c
UD
13462 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13463 GETDENTS_64BIT_ALIGNED.
13464
28300719
UD
134652010-12-14 Ulrich Drepper <dreper@gmail.com>
13466
14b697f7 13467 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13468
4f197237
AS
134692010-12-10 Andreas Schwab <schwab@redhat.com>
13470
dbb0472f
AS
13471 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13472 _GNU_SOURCE.
13473
4f197237
AS
13474 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13475 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13476 Remove __restrict.
13477 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13478 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13479
fb88ac72
UD
134802010-12-09 Ulrich Drepper <drepper@gmail.com>
13481
13482 [BZ #11655]
13483 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13484 are initialized.
13485
42acbb92
JJ
134862010-12-09 Jakub Jelinek <jakub@redhat.com>
13487
13488 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13489
c038d98d
UD
134902010-12-03 Ulrich Drepper <drepper@gmail.com>
13491
13492 * po/it.po: Update from translation team.
13493
3a4a2499
L
134942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13497 unused codes.
13498
1e24cf6e
UD
134992010-11-30 Ulrich Drepper <drepper@gmail.com>
13500
13501 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13502
a7690819
AS
135032010-11-24 Andreas Schwab <schwab@redhat.com>
13504
13505 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13506 specially.
13507 (gaih_getanswer_slice): Likewise.
13508
3bf8d1b1
JJ
135092010-10-20 Jakub Jelinek <jakub@redhat.com>
13510
13511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13512
6db52fbb
PB
135132010-05-31 Petr Baudis <pasky@suse.cz>
13514
13515 [BZ #11149]
13516 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13517 silently even in the chroot mode.
13518
eaca7569
UD
135192010-11-22 Ulrich Drepper <drepper@gmail.com>
13520
13521 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13522 last patch a bit. Pretty printing
13523
3056dcdb
UD
135242010-05-31 Petr Baudis <pasky@suse.cz>
13525
13526 [BZ #10085]
13527 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13528 initialization of skip_initgroups_dyn.
13529
cf7c9078
UD
135302010-11-19 Ulrich Drepper <drepper@gmail.com>
13531
13532 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13534
a1fb5e3e
UD
135352010-11-16 Ulrich Drepper <drepper@gmail.com>
13536
13537 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13538
3540d66b
AS
135392010-11-11 Andreas Schwab <schwab@redhat.com>
13540
13541 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13542 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13543 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13544 ($(objpfx)tst-fnmatch-mem): New rule.
13545 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13546 * posix/tst-fnmatch.c (main): Call mtrace.
13547
13b69574
L
135482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13549
13550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13551 Support Intel processor model 6 and model 0x2c.
13552
da93d214
LM
135532010-11-10 Luis Machado <luisgpm@br.ibm.com>
13554
13555 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13556 signed comparison.
13557
8ca52c6e
L
135582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13559
13560 [BZ #12205]
13561 * string/test-strncasecmp.c (check_result): New function.
13562 (do_one_test): Use it.
13563 (check1): New function.
13564 (test_main): Use it.
13565 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13566 Support strcasecmp and strncasecmp.
13567
69da074d
UD
135682010-11-08 Ulrich Drepper <drepper@gmail.com>
13569
13570 [BZ #12194]
13571 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13573
ff02d528
L
135742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13577 IFUNC support.
13578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13579 memset-x86-64.
13580 * sysdeps/x86_64/multiarch/bzero.S: New file.
13581 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13582 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13583 * sysdeps/x86_64/multiarch/memset.S: New file.
13584 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13586 Set bit_Prefer_SSE_for_memop for Intel processors.
13587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13588 Define.
13589 (index_Prefer_SSE_for_memop): Define.
13590 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13591
344d0b54
LM
135922010-11-04 Luis Machado <luisgpm@br.ibm.com>
13593
13594 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13595 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13596
c0dde15b
UD
135972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13598
13599 [BZ #12191]
13600 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13601 (__x86_64_raw_data_cache_size_half): Likewise.
13602 (__x86_64_raw_shared_cache_size): Likewise.
13603 (__x86_64_raw_shared_cache_size_half): Likewise.
13604
13605 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13606 (__x86_64_raw_data_cache_size_half): Likewise.
13607 (__x86_64_raw_shared_cache_size): Likewise.
13608 (__x86_64_raw_shared_cache_size_half): Likewise.
13609 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13610 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13611 and __x86_64_raw_shared_cache_size_half. Round
13612 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13613 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13614 to multiple of 256 bytes.
13615
0e516e0e
MS
136162010-11-03 Ulrich Drepper <drepper@gmail.com>
13617
13618 [BZ #12167]
13619 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13620 of inacessible symlinks. Verify result of symlink before returning it.
13621 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13622 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13623
0e012e87
ER
136242010-10-28 Erich Ritz <erichritz@gmail.com>
13625
13626 * math/math.h (isinf): Fix typo in comment.
13627
de0ff7bc
UD
136282010-11-01 Ulrich Drepper <drepper@gmail.com>
13629
13630 * po/da.po: Update from translation team.
13631
fa41c84d
UD
136322010-10-26 Ulrich Drepper <drepper@gmail.com>
13633
13634 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13635 is added to the list.
13636
f0967738
AK
136372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13638 Ulrich Drepper <drepper@gmail.com>
13639
13640 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13641 the global list here. Move code to...
13642 (_dl_add_to_namespace_list): ...here. New function.
13643 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13644 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13645 * elf/dl-load.c (lose): Don't remove the element from the list.
13646 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13647 (_dl_map_object): Likewise.
13648
136492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13650
13651 [BZ #12159]
13652 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13653 into all bytes of SSE register.
13654 Patch by Richard Li <richardpku@gmail.com>.
13655
f0967738 136562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13657
13658 [BZ #12140]
13659 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13660 perturbing.
13661
d0b9e94f
MB
136622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13663
13664 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13665 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13667 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13669 submachine.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13671
8e9f92e9
AS
136722010-10-22 Andreas Schwab <schwab@redhat.com>
13673
13674 * include/dlfcn.h (__RTLD_SECURE): Define.
13675 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13676 mode & __RTLD_SECURE instead.
13677 (open_path): Rename preloaded parameter to secure.
13678 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13679 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13680 * elf/dl-deps.c (openaux): Likewise.
13681 * elf/rtld.c (struct map_args): Remove is_preloaded.
13682 (map_doit): Don't use it.
13683 (dl_main): Likewise.
13684 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13685 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13686
bc96fbda
AS
136872010-09-09 Andreas Schwab <schwab@redhat.com>
13688
13689 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13690 (sysd-rules-targets): Remove duplicates.
13691 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13692 rtld-%.$o dependency.
13693
22cd1c9b
AS
136942010-10-18 Andreas Schwab <schwab@redhat.com>
13695
13696 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13697 _dl_map_object do it.
13698
18edac48
UD
136992010-10-19 Ulrich Drepper <drepper@gmail.com>
13700
13701 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13702 fast fma builtins, define the macros in the C99 standard.
13703 (FP_FAST_FMAF): Likewise.
13704 (FP_FAST_FMAL): Likewise.
13705 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13706
13707 * bits/mathdef.h: Update copyright year.
13708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13709
d2050124
MM
137102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13711
13712 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13713 builtins, define the macros in the C99 standard.
13714 (FP_FAST_FMAF): Likewise.
13715 (FP_FAST_FMAL): Likewise.
13716 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13717 multiply/add.
13718 (FP_FAST_FMAF): Likewise.
13719
475facd1
JJ
137202010-10-15 Jakub Jelinek <jakub@redhat.com>
13721
13722 [BZ #3268]
13723 * math/libm-test.inc (fma_test): Some new testcases.
13724 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13725 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13726 y and infinite z. Do multiplication by C already in long double.
13727 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13729 y and infinite z. Do bitwise or of inexact bit into u.d.
13730 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13731 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13732 * sysdeps/i386/fpu/s_fma.S: Removed.
13733 * sysdeps/i386/fpu/s_fmal.S: Removed.
13734
7c08a05c
JJ
137352010-10-16 Jakub Jelinek <jakub@redhat.com>
13736
13737 [BZ #3268]
13738 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13740 computation is not scheduled after fetestexcept. Fix value
13741 of minimum denormal long double.
13742
f3f7372d
JJ
137432010-10-14 Jakub Jelinek <jakub@redhat.com>
13744
13745 [BZ #3268]
13746 * math/libm-test.inc (fma_test): Add some more tests.
13747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13748 correctly.
13749
14d43591
AS
137502010-10-15 Andreas Schwab <schwab@redhat.com>
13751
13752 * scripts/data/localplt-s390-linux-gnu.data: New file.
13753 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13754
5e908464
JJ
137552010-10-13 Jakub Jelinek <jakub@redhat.com>
13756
13757 [BZ #3268]
13758 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13759 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13760 instead of dbl-64.
13761 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13762 inlines.
13763 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13765 if one of x and y is very large and the other is subnormal.
13766 * sysdeps/s390/fpu/s_fmaf.c: New file.
13767 * sysdeps/s390/fpu/s_fma.c: New file.
13768 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13769 * sysdeps/powerpc/fpu/s_fma.S: New file.
13770 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13771 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13772 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13773
137742010-10-12 Jakub Jelinek <jakub@redhat.com>
13775
13776 [BZ #3268]
13777 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13778 fma tests.
13779 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13780 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13781 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13782 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13783 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13784 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13786
b833d51f
UD
137872010-10-12 Ulrich Drepper <drepper@redhat.com>
13788
13789 [BZ #12078]
13790 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13791 * posix/bug-regex31.input: Add test case.
13792
1751705d
UD
137932010-10-11 Ulrich Drepper <drepper@gmail.com>
13794
e9b9cbf5
UD
13795 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13796 * posix/bug-regex31.input: New file.
13797
13798 [BZ #12078]
13799 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13800 (parse_sub_exp): Fix last change, use postorder.
13801
ef06edbe
UD
13802 * posix/bug-regex31.c: New file.
13803 * posix/Makefile: Add rules to build and run bug-regex31.
13804
a129c80d
UD
13805 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13806
13807 [BZ #12078]
13808 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13809
b76b818e
UD
13810 [BZ #12108]
13811 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13812 to have entries in sys_siglist.
13813
1751705d
UD
13814 [BZ #12093]
13815 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13816 be NULL.
13817
9ff8d36f
JJ
138182010-10-07 Jakub Jelinek <jakub@redhat.com>
13819
13820 [BZ #3268]
13821 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13822 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13823 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13824 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13825 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13826 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13827 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13828 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13829 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13830 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13831 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13832 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13833 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13834 * math/ftestexcept.c (fetestexcept): Likewise.
13835 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13836 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13837 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13838 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13839 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13840 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13841 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13842
af325969
UD
138432010-10-11 Ulrich Drepper <drepper@gmail.com>
13844
c579b202 13845 [BZ #12107]
af325969
UD
13846 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13847 newline.
13848
67a67b95
UD
138492010-10-06 Ulrich Drepper <drepper@gmail.com>
13850
13851 * string/bug-strstr1.c: New file.
13852 * string/Makefile: Add rules to build and run bug-strstr1.
13853
5fb308bc
EB
138542010-10-05 Eric Blake <eblake@redhat.com>
13855
13856 [BZ #12092]
13857 * string/str-two-way.h (two_way_long_needle): Always clear memory
13858 when skipping input due to the shift table.
13859
45db99c7
UD
138602010-10-03 Ulrich Drepper <drepper@gmail.com>
13861
3b111893
UD
13862 [BZ #12005]
13863 * malloc/mcheck.c: Handle large requests.
13864
45db99c7
UD
13865 [BZ #12077]
13866 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13867 for strncmp and strncasecmp.
13868 * string/stratcliff.c: Add tests for strcmp and strncmp.
13869 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13870
cf7a1eb8
NI
138712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13872
13873 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13874 __set_fpscr.
13875
6484ba5e
AJ
138762010-09-30 Andreas Jaeger <aj@suse.de>
13877
13878 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13879 (CGROUP_SUPER_MAGIC): Define.
13880 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13881 Handle btrfs and cgroup file systems.
13882 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13883 Likewise.
13884
91c42559
LM
138852010-09-27 Luis Machado <luisgpm@br.ibm.com>
13886
13887 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13888 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13889
87a97932
AK
138902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13891
13892 [BZ #12067]
13893 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13894 trying to locate the ELF header.
13895
c21cc9bc
AS
138962010-09-27 Andreas Schwab <schwab@redhat.com>
13897
13898 [BZ #11611]
13899 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13900 Mask out sign-bit copies when constructing f_fsid.
13901
315970f6
PB
139022010-09-24 Petr Baudis <pasky@suse.cz>
13903
13904 * debug/stack_chk_fail_local.c: Add missing licence exception.
13905 * debug/warning-nop.c: Likewise.
13906
1ac7a2c7
JM
139072010-09-15 Joseph Myers <joseph@codesourcery.com>
13908
13909 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13910 implementing getdents64 using getdents syscall, set d_type if
13911 __ASSUME_GETDENTS32_D_TYPE.
13912
56801c50
AS
139132010-09-16 Andreas Schwab <schwab@redhat.com>
13914
13915 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13916 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13917
dda51327
UD
139182010-09-21 Ulrich Drepper <drepper@redhat.com>
13919
13920 [BZ #12037]
13921 * posix/unistd.h: Undo change of feature selection for ftruncate from
13922 2010-01-11.
13923
8ffcee4a
UD
139242010-09-20 Ulrich Drepper <drepper@redhat.com>
13925
a545ecd9 13926 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13927 detection.
13928
e24f0a8b
AS
139292010-09-20 Andreas Schwab <schwab@redhat.com>
13930
13931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13932 fanotify_mark.
13933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13934
7291c56f
AS
139352010-09-14 Andreas Schwab <schwab@redhat.com>
13936
13937 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13938 variables after CHECK_SP call.
13939 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13940
bc5fb037
AS
139412010-09-13 Andreas Schwab <schwab@redhat.com>
13942 Ulrich Drepper <drepper@redhat.com>
13943
13944 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13945 re-relocationg ld.so.
13946 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13947 _dl_init_paths call.
13948 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13949 here anymore.
13950
e66e7419
UD
139512010-09-14 Ulrich Drepper <drepper@redhat.com>
13952
13953 * resolv/res_init.c (__res_vinit): Count the default server we added.
13954
c044aa75
CLT
139552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13956 Ulrich Drepper <drepper@redhat.com>
13957
13958 [BZ #11968]
13959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13960 (____longjmp_chk): Use %ebx for saving value across system call.
13961 Add unwind info.
13962
32cf4069
AS
139632010-09-06 Andreas Schwab <schwab@redhat.com>
13964
13965 * manual/Makefile: Don't mix pattern rules with normal rules.
13966
817328ee
AS
139672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13968
13969 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13970 operation.
13971 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13972 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13973 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13974 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13976 Likewise.
13977
29fddf61
UD
139782010-09-04 Ulrich Drepper <drepper@redhat.com>
13979
13980 [BZ #11979]
13981 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13982 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13983
0959ffc9
UD
139842010-09-02 Ulrich Drepper <drepper@redhat.com>
13985
13986 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13987 * sysdeps/x86_64/addmul_1.S: Likewise.
13988 * sysdeps/x86_64/lshift.S: Likewise.
13989 * sysdeps/x86_64/mul_1.S: Likewise.
13990 * sysdeps/x86_64/rshift.S: Likewise.
13991 * sysdeps/x86_64/sub_n.S: Likewise.
13992 * sysdeps/x86_64/submul_1.S: Likewise.
13993
ece29840
ST
139942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13995
0959ffc9
UD
13996 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13997 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13998 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13999 * bits/sched.h [__need_schedparam]
ece29840 14000 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14001 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14002 (__defined_schedparam): Define to 1.
ece29840
ST
14003 (__sched_param): New structure, identical to sched_param.
14004 (__need_schedparam): Undefine.
14005
e53a31fe
MF
140062010-08-31 Mike Frysinger <vapier@gentoo.org>
14007
fdc0c10d
MF
14008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14009 (epoll_create1): Declare.
14010
e53a31fe
MF
14011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14012
a726d796
AS
140132010-08-31 Andreas Schwab <schwab@redhat.com>
14014
14015 [BZ #7066]
14016 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14017 shifting retval into place.
14018
2f3e3dc7
UD
140192010-09-01 Ulrich Drepper <drepper@redhat.com>
14020
f2933da9
UD
14021 * nis/rpcsvc/nis.h: Update copyright notice.
14022 * nis/rpcsvc/nis.x: Likewise.
14023 * nis/rpcsvc/nis_callback.h: Likewise.
14024 * nis/rpcsvc/nis_callback.x: Likewise.
14025 * nis/rpcsvc/nis_object.x: Likewise.
14026 * nis/rpcsvc/nis_tags.h: Likewise.
14027 * nis/rpcsvc/yp.h: Likewise.
14028 * nis/rpcsvc/yp.x: Likewise.
14029 * nis/rpcsvc/ypupd.h: Likewise.
14030 * nis/yp_xdr.c: Likewise.
14031 * nis/ypupdate_xdr.c: Likewise.
14032
2f3e3dc7
UD
14033 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14034 mainly the body of pmap_getport. Add parameters to specify timeouts.
14035 (pmap_getport): Use __libc_rpc_getport.
14036 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14037 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14038 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14039
f3dcc2f9
AS
140402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14041
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14043 fanotify_mark.
14044
6d34eb5b
RM
140452010-08-27 Roland McGrath <roland@redhat.com>
14046
14047 * sysdeps/i386/i686/multiarch/Makefile
14048 (CFLAGS-varshift.c): New variable.
14049
9ea3de11
UD
140502010-08-27 Ulrich Drepper <drepper@redhat.com>
14051
c96d23fc
UD
14052 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14053 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14054
9ea3de11
UD
14055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14056
14057 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14058
623aac7f
L
140592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/x86_64/strlen.S: Unroll the loop.
14062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14063 strlen-sse2 strlen-sse2-bsf.
14064 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14065 __strlen_no_bsf if bit_Slow_BSF is set.
14066 (__strlen_sse42): Removed.
14067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14068 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14069
8b2b7715
RM
140702010-08-25 Roland McGrath <roland@redhat.com>
14071
14072 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14073 * sysdeps/x86_64/multiarch/varshift.c: New file.
14074 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14075 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14076 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14077 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14078
e73015f2
L
140792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14080
14081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14082 strlen-sse2 strlen-sse2-bsf.
14083 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14084 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14085 (__strlen_sse2): Removed.
14086 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14089 bit_Slow_BSF for Atom.
14090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14091 (index_Slow_BSF): Define.
14092 (HAS_SLOW_BSF): Define.
14093
df24a73e
UD
140942010-08-25 Ulrich Drepper <drepper@redhat.com>
14095
14096 [BZ #10851]
14097 * resolv/res_init.c (__res_vinit): When no server address at all
14098 is given default to loopback.
14099
f2ac4868
RM
141002010-08-24 Roland McGrath <roland@redhat.com>
14101
09055553
RM
14102 * configure.in: Remove config-name.h generation.
14103 * configure: Regenerated.
14104 * config-name.in: File removed.
14105 * scripts/config-uname.sh: New file.
14106 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14107 ($(objdir)config-name.h): New target.
14108
f2ac4868
RM
14109 * sunrpc/rpc_parse.h: Avoid nested comment.
14110
73f27d5e
RH
141112010-08-24 Richard Henderson <rth@redhat.com>
14112 Ulrich Drepper <drepper@redhat.com>
14113 H.J. Lu <hongjiu.lu@intel.com>
14114
14115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14117 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14118 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14119 _mm_alignr_epi8 with _mm_loadu_si128.
14120 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14121 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14122 (__m128i_shift_right): Removed.
14123 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14124 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14125 * sysdeps/x86_64/multiarch/varshift.h: New file.
14126 * sysdeps/x86_64/multiarch/varshift.S: New file.
14127
84b9230c
MF
141282010-08-21 Mike Frysinger <vapier@gentoo.org>
14129
14130 * configure.in: Move assembler checks to before sysdep dir checking.
14131
9bbd0ddc
PB
141322010-08-20 Petr Baudis <pasky@suse.cz>
14133
14134 * LICENSES: Sync the sunrpc license.
14135
9da4bb31
UD
141362010-08-19 Ulrich Drepper <drepper@redhat.com>
14137
a7ab6ec8
UD
14138 * sunrpc/auth_des.c: Update copyright notice once again.
14139 * sunrpc/auth_none.c: Likewise.
14140 * sunrpc/auth_unix.c: Likewise.
14141 * sunrpc/authdes_prot.c: Likewise.
14142 * sunrpc/authuxprot.c: Likewise.
14143 * sunrpc/bindrsvprt.c: Likewise.
14144 * sunrpc/clnt_gen.c: Likewise.
14145 * sunrpc/clnt_perr.c: Likewise.
14146 * sunrpc/clnt_raw.c: Likewise.
14147 * sunrpc/clnt_simp.c: Likewise.
14148 * sunrpc/clnt_tcp.c: Likewise.
14149 * sunrpc/clnt_udp.c: Likewise.
14150 * sunrpc/clnt_unix.c: Likewise.
14151 * sunrpc/des_crypt.c: Likewise.
14152 * sunrpc/des_soft.c: Likewise.
14153 * sunrpc/get_myaddr.c: Likewise.
14154 * sunrpc/getrpcport.c: Likewise.
14155 * sunrpc/key_call.c: Likewise.
14156 * sunrpc/key_prot.c: Likewise.
14157 * sunrpc/openchild.c: Likewise.
14158 * sunrpc/pm_getmaps.c: Likewise.
14159 * sunrpc/pm_getport.c: Likewise.
14160 * sunrpc/pmap_clnt.c: Likewise.
14161 * sunrpc/pmap_prot.c: Likewise.
14162 * sunrpc/pmap_prot2.c: Likewise.
14163 * sunrpc/pmap_rmt.c: Likewise.
14164 * sunrpc/rpc/auth.h: Likewise.
14165 * sunrpc/rpc/auth_unix.h: Likewise.
14166 * sunrpc/rpc/clnt.h: Likewise.
14167 * sunrpc/rpc/des_crypt.h: Likewise.
14168 * sunrpc/rpc/key_prot.h: Likewise.
14169 * sunrpc/rpc/netdb.h: Likewise.
14170 * sunrpc/rpc/pmap_clnt.h: Likewise.
14171 * sunrpc/rpc/pmap_prot.h: Likewise.
14172 * sunrpc/rpc/pmap_rmt.h: Likewise.
14173 * sunrpc/rpc/rpc.h: Likewise.
14174 * sunrpc/rpc/rpc_des.h: Likewise.
14175 * sunrpc/rpc/rpc_msg.h: Likewise.
14176 * sunrpc/rpc/svc.h: Likewise.
14177 * sunrpc/rpc/svc_auth.h: Likewise.
14178 * sunrpc/rpc/types.h: Likewise.
14179 * sunrpc/rpc/xdr.h: Likewise.
14180 * sunrpc/rpc_clntout.c: Likewise.
14181 * sunrpc/rpc_cmsg.c: Likewise.
14182 * sunrpc/rpc_common.c: Likewise.
14183 * sunrpc/rpc_cout.c: Likewise.
14184 * sunrpc/rpc_dtable.c: Likewise.
14185 * sunrpc/rpc_hout.c: Likewise.
14186 * sunrpc/rpc_main.c: Likewise.
14187 * sunrpc/rpc_parse.c: Likewise.
14188 * sunrpc/rpc_parse.h: Likewise.
14189 * sunrpc/rpc_prot.c: Likewise.
14190 * sunrpc/rpc_sample.c: Likewise.
14191 * sunrpc/rpc_scan.c: Likewise.
14192 * sunrpc/rpc_scan.h: Likewise.
14193 * sunrpc/rpc_svcout.c: Likewise.
14194 * sunrpc/rpc_tblout.c: Likewise.
14195 * sunrpc/rpc_util.c: Likewise.
14196 * sunrpc/rpc_util.h: Likewise.
14197 * sunrpc/rpcinfo.c: Likewise.
14198 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14199 * sunrpc/rpcsvc/key_prot.x: Likewise.
14200 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14201 * sunrpc/rpcsvc/mount.x: Likewise.
14202 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14203 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14204 * sunrpc/rpcsvc/rex.x: Likewise.
14205 * sunrpc/rpcsvc/rstat.x: Likewise.
14206 * sunrpc/rpcsvc/rusers.x: Likewise.
14207 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14208 * sunrpc/rpcsvc/spray.x: Likewise.
14209 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14210 * sunrpc/rtime.c: Likewise.
14211 * sunrpc/svc.c: Likewise.
14212 * sunrpc/svc_auth.c: Likewise.
14213 * sunrpc/svc_authux.c: Likewise.
14214 * sunrpc/svc_raw.c: Likewise.
14215 * sunrpc/svc_run.c: Likewise.
14216 * sunrpc/svc_simple.c: Likewise.
14217 * sunrpc/svc_tcp.c: Likewise.
14218 * sunrpc/svc_udp.c: Likewise.
14219 * sunrpc/svc_unix.c: Likewise.
14220 * sunrpc/svcauth_des.c: Likewise.
14221 * sunrpc/xcrypt.c: Likewise.
14222 * sunrpc/xdr.c: Likewise.
14223 * sunrpc/xdr_array.c: Likewise.
14224 * sunrpc/xdr_float.c: Likewise.
14225 * sunrpc/xdr_mem.c: Likewise.
14226 * sunrpc/xdr_rec.c: Likewise.
14227 * sunrpc/xdr_ref.c: Likewise.
14228 * sunrpc/xdr_sizeof.c: Likewise.
14229 * sunrpc/xdr_stdio.c: Likewise.
14230
9da4bb31
UD
14231 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14232 handling.
14233
bdaa77bc
AS
142342010-08-19 Andreas Schwab <schwab@redhat.com>
14235
14236 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14237
fe2f79db
LM
142382010-08-19 Luis Machado <luisgpm@br.ibm.com>
14239
14240 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14241 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14242 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14243 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14244 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14245 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14246 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14247 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14248 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14249 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14250 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14251 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14252 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14253 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14254
b9b42ee0
AB
142552010-07-26 Anton Blanchard <anton@samba.org>
14256
14257 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14258 * malloc/arena.c (heap_trim): Likewise.
14259
1c06ba31
UD
142602010-08-16 Ulrich Drepper <drepper@redhat.com>
14261
14262 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14263 here. Not...
14264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14265 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14266
f8392f40
L
142672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 * sysdeps/i386/elf/Makefile: New file.
14270
3162f12e
AS
142712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14272
14273 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14274 from fanotify_init.
14275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14277
28c90b2c
UD
142782010-08-15 Ulrich Drepper <drepper@redhat.com>
14279
14280 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14281 of strncasecmp_l.
1feccb6c 14282 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14283
ca6bb004
UD
142842010-08-14 Ulrich Drepper <drepper@redhat.com>
14285
e9f82e0d
UD
14286 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14287 strncase_l-nonascii.
14288 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14289 Add strncase_l-ssse3.
14290 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14291 * sysdeps/x86_64/strcmp.S: Likewise.
14292 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14293 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14294 * sysdeps/x86_64/strncase.S: New file.
14295 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14296 * sysdeps/x86_64/strncase_l.S: New file.
14297 * string/Makefile (strop-tests): Add strncasecmp.
14298 * string/test-strncasecmp.c: New file.
14299
14300 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14301 warning.
14302
ca6bb004
UD
14303 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14305
052fa7b3
AS
143062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14307
14308 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14309
962dba78
UD
143102010-08-12 Ulrich Drepper <drepper@redhat.com>
14311
14312 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14313 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14314 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14315
bebff237
AM
143162010-05-01 Alan Modra <amodra@gmail.com>
14317
14318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14319 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14320 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14321 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14322 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14323 tidying. Don't tail-call __sigjmp_save for static lib.
14324 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14325 save location.
14326 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14327 (CALL_MCOUNT): Add eh info, and nop after bl.
14328 (TAIL_CALL_SYSCALL_ERROR): New macro.
14329 (PSEUDO_RET): Use it.
14330 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14331 Correct save location of integer regs and cr.
14332 (_dl_profile_resolve): Correct cr save location. Delete nops
14333 after bl when SHARED. Reduce cfi size a little by better
14334 placement of cfi directives.
14335 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14336 make a stack frame. Instead use parm save area as a temp.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14338 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14340 Don't make a stack frame for parent, use parm save area.
14341 Increase child stack frame to 112 bytes. Don't save unused reg,
14342 and adjust reg usage. Set up cfi on error recovery and
14343 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14345 (__makecontext): Add dummy nop after jump to exit.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14347 Use correct parm save area and cr save, reduce stack frame.
14348 Correct cfi for possible PSEUDO_RET frame setup.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14350 Branch to local label emitted by PSEUDO_RET rather than
14351 __syscall_error.
14352
02637374
AS
143532010-08-12 Andreas Schwab <schwab@redhat.com>
14354
14355 [BZ #11904]
14356 * locale/programs/locale.c (print_assignment): New function.
14357 (show_locale_vars): Use it.
14358
c3e2f19b
UD
143592010-08-11 Ulrich Drepper <drepper@redhat.com>
14360
3cdaa6ad
UD
14361 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14362 field.
14363 (struct statfs64): Likewise.
14364 (_STATFS_F_FLAGS): Define.
14365 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14367 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14368 (ST_VALID): Define locally.
14369 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14370 __statvfs_getflags, use the provided value.
14371 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14372 __ASSUME_STATFS_F_FLAGS.
14373
754f7da3
UD
14374 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14375
10b3bedc
UD
14376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14377 Add sys/fanotify.h.
14378 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14379 fanotify_mask for GLIBC_2.13.
14380 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14381 fanotify_init and fanotify_mark.
14382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14383 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14384
c08fb0d7
UD
14385 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14386 Add prlimit.
14387 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14388 prlimit64 for GLIBC_2.13.
14389 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14390 prlimit64.
14391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14392 syscall.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14394 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14395 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14398 add prlimit alias.
14399 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14400
15bac72b
UD
14401 [BZ #11903]
14402 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14403 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14404
c3e2f19b
UD
14405 * nss/Makefile: Add rules to build and run tst-nss-test1.
14406 * shlib-versions: Add entry for libnss_test1.
14407 * nss/nss_test1.c: New file.
14408 * nss/tst-nss-test1.c: New file.
14409
14410 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14411 (__nss_configure_lookup): Set appropriate entry in
14412 __nss_configure_lookup to true.
14413 * nss/nsswitch.h: Define enum with indeces of databases in
14414 databases and __nss_database_custom arrays. Declare
14415 __nss_database_custom.
14416 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14417 to avoid using nscd when custom rules are installed.
14418 * nss/getXXbyYY_r.c: Likewise.
14419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14420
14421 * nss/nss_files/files-parse.c: Whitespace fixes.
14422
f15ce4d8
UD
144232010-08-09 Ulrich Drepper <drepper@redhat.com>
14424
14425 [BZ #11883]
14426 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14427 * posix/fnmatch_loop.c: Likewise.
14428
d22e4cc9
AK
144292010-07-17 Andi Kleen <ak@linux.intel.com>
14430
14431 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14432 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14433 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14434 * Versions.def [GLIBC_2.13]: Add.
14435
805bc17d
UD
144362010-08-06 Ulrich Drepper <drepper@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14439 Also fail if tpwd after pwuid call is NULL.
14440
5a42321d
ST
144412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14442
14443 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14444 when converting to ms.
14445
fd3ebeda
ST
144462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14447
14448 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14449 EOPNOTSUPP errors with ENOTTY.
14450 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14451 EOPNOTSUPP errors with ENOTTY.
14452
73507d3a
UD
144532010-07-31 Ulrich Drepper <drepper@redhat.com>
14454
14455 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14456 Add strcasecmp_l-ssse3.
14457 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14458 strcasecmp.
14459 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14460 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14461 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14462
fe36dd02
UD
144632010-07-30 Ulrich Drepper <drepper@redhat.com>
14464
66f6765a
UD
14465 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14466
42e08a54
UD
14467 * string/Makefile (strop-tests): Add strcasecmp.
14468 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14469 strcasecmp_l-nonascii.
14470 (gen-as-const-headers): Add locale-defines.sym.
14471 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14472 * sysdeps/x86_64/strcasecmp.S: New file.
14473 * sysdeps/x86_64/strcasecmp_l.S: New file.
14474 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14475 * sysdeps/x86_64/locale-defines.sym: New file.
14476 * string/test-strcasecmp.c: New file.
14477
fe36dd02
UD
14478 * string/test-strcasestr.c: Test both ends of the range of characters.
14479 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14480
48cbc0d6
RM
144812010-07-29 Roland McGrath <roland@redhat.com>
14482
76e6d6bc 14483 [BZ #11856]
48cbc0d6
RM
14484 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14485
880113d9
UD
144862010-07-27 Ulrich Drepper <drepper@redhat.com>
14487
14488 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14489 for ld.so.
14490
deb9cabb
AS
144912010-07-27 Andreas Schwab <schwab@redhat.com>
14492
14493 * manual/memory.texi (Malloc Tunable Parameters): Document
14494 M_PERTURB.
14495
1c7570ff
RM
144962010-07-26 Roland McGrath <roland@redhat.com>
14497
14498 [BZ #11840]
14499 * configure.in (-fgnu89-inline check): Set and substitute
14500 gnu89_inline, not libc_cv_gnu89_inline.
14501 * configure: Regenerated.
14502 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14503
24fb0f88
UD
145042010-07-26 Ulrich Drepper <drepper@redhat.com>
14505
14506 * string/test-strnlen.c: New file.
14507 * string/Makefile (strop-tests): Add strnlen.
14508 * string/tester.c (test_strnlen): Add a few more test cases.
14509 * string/tst-strlen.c: Better error reporting.
14510
14511 * sysdeps/x86_64/strnlen.S: New file.
14512
8e96b93a
UD
145132010-07-24 Ulrich Drepper <drepper@redhat.com>
14514
14515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14516 lower-latency instructions.
14517
dbc676d4
UD
145182010-07-23 Ulrich Drepper <drepper@redhat.com>
14519
14520 * string/test-strcasestr.c: New file.
14521 * string/test-strstr.c: New file.
14522 * string/Makefile (strop-tests): Add strstr and strcasestr.
14523 * string/str-two-way.h: Don't undefine MAX.
14524 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14525
f6a31e0e
AS
145262010-07-21 Andreas Schwab <schwab@redhat.com>
14527
14528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14529 strcasestr-nonascii.
14530 (CFLAGS-strcasestr-nonascii.c): Define.
14531 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14532 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14533 Remove unused attribute.
14534
5dbc3b6c
RM
145352010-07-20 Roland McGrath <roland@redhat.com>
14536
14537 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14538 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14539 ld.so.cache was broken. With it, there is no way to disable dsocaps
14540 like LD_HWCAP_MASK can disable hwcaps.
14541
23d101d8
EPM
145422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14543
14544 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14545
cc9f2e47
UD
145462010-07-16 Ulrich Drepper <drepper@redhat.com>
14547
14548 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14549 call in strcasestr.
14550 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14551 __strcasestr_sse42_nonascii.
14552 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14553 strcasestr-nonascii.c.
14554 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14555
77c1b069
LM
145562010-06-15 Luis Machado <luisgpm@br.ibm.com>
14557
14558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14559 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14562
440566c3
UD
145632010-07-09 Ulrich Drepper <drepper@redhat.com>
14564
14565 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14566 fcntl.
14567
5be9d05d
AS
145682010-07-06 Andreas Schwab <schwab@redhat.com>
14569
c30b7ee2 14570 [BZ #11577]
5be9d05d
AS
14571 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14572 dl_signal_cerror.
14573
8a492a67
UD
145742010-07-06 Ulrich Drepper <drepper@redhat.com>
14575
14576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14577 _PC_PIPE_BUF using F_GETPIPE_SZ.
14578
713df3d5
RM
145792010-07-05 Roland McGrath <roland@redhat.com>
14580
14581 * manual/arith.texi (Rounding Functions): Fix rint description
14582 implicit in round description.
14583
702e8f14
UD
145842010-07-02 Ulrich Drepper <drepper@redhat.com>
14585
14586 * elf/Makefile: Fix linking for a few tests to make recent linker
14587 happy.
14588
52ed8be9
AS
145892010-06-30 Andreas Schwab <schwab@redhat.com>
14590
14591 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14592 $(common-objpfx)libc_nonshared.a.
14593
f47c9a11
LM
145942010-06-21 Luis Machado <luisgpm@br.ibm.com>
14595
14596 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14597 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14598 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14599 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14600 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14601 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14602 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14603 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14618 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14619 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14620 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14621 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14622 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14623 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14624 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14625 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14626 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14627 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14628 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14629 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14644
6fb8cbcb
L
146452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14648 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14649 * string/memmove.c (memmove): Renamed to ...
14650 (MEMMOVE): ...this. Default to memmove.
14651 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14652 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14653 (END_CHK): Define.
14654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14655 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14656 mempcpy-ssse3-back memmove-ssse3-back.
14657 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14660 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14661 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14662 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14663 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14664 * sysdeps/x86_64/multiarch/memmove.c: New file.
14665 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14666 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14667 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14668 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14669 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14671 Define.
14672 (index_Fast_Copy_Backward): Define.
14673 (HAS_ARCH_FEATURE): Define.
14674 (HAS_FAST_REP_STRING): Define.
14675 (HAS_FAST_COPY_BACKWARD): Define.
14676
4e733bac 146772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14678
14679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14680 Restore proper fallback handling.
14681
63c4ed22
UD
146822010-06-19 Ulrich Drepper <drepper@redhat.com>
14683
ac2b484c
UD
14684 [BZ #11701]
14685 * posix/group_member.c (__group_member): Correct checking loop.
14686
63c4ed22
UD
14687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14688 OOM in getpwuid_r correctly. Return error number when the caller
14689 should return, otherwise -1.
14690 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14691 call returning > 0 value.
14692 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14693
765ade4b
AS
146942010-06-07 Andreas Schwab <schwab@redhat.com>
14695
14696 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14697 libc_nonshared.a from targets in modules-names.
14698
80da2e09
KS
146992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14700
14701 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14702 requires it.
14703
158db122
LM
147042010-06-10 Luis Machado <luisgpm@br.ibm.com>
14705
14706 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14707 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14709 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14710
caa78cf8
AS
147112010-06-02 Andreas Schwab <schwab@redhat.com>
14712
14713 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14714
b2ef2c01
UD
147152010-06-14 Ulrich Drepper <drepper@redhat.com>
14716
14717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14718 and F_GETPIPE_SZ.
14719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14725
fbd643b6
RM
147262010-06-14 Roland McGrath <roland@redhat.com>
14727
14728 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14729
f32f2869
JJ
147302010-06-07 Jakub Jelinek <jakub@redhat.com>
14731
14732 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14733 __REDIRECT followed by __THROW.
14734 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14735 * posix/getopt.h (getopt): Likewise.
14736
2a50c078
EPM
147372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14738
14739 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14740 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14741 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14742 in AT_FLAGS.
14743 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14744 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14745
eb5ad2eb
LM
147462010-05-28 Luis Machado <luisgpm@br.ibm.com>
14747
14748 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14749
3c88fe1e
L
147502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14751
14752 [BZ #11640]
14753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14754 Properly check family and model.
14755
d2f73151
TY
147562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14757
14758 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14759
ebd2e13d
LM
147602010-05-24 Luis Machado <luisgpm@br.ibm.com>
14761
14762 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14763
b32b8b45
UD
147642010-05-21 Ulrich Drepper <drepper@redhat.com>
14765
14766 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14767 symbol reference.
14768
9acbe24d
AS
147692010-05-19 Andreas Schwab <schwab@redhat.com>
14770
14771 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14772 symbol reference.
14773
f0ccf6ea
AS
147742010-05-21 Andreas Schwab <schwab@redhat.com>
14775
3d04ff3a
AS
14776 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14777 and internal_recvmmsg.
14778 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14779 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14781 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14782
f0ccf6ea
AS
14783 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14784 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14785 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14786
5b08ac57
AS
147872010-05-20 Andreas Schwab <schwab@redhat.com>
14788
14789 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14790
4828935d
LM
147912010-05-17 Luis Machado <luisgpm@br.ibm.com>
14792
14793 POWER7 optimizations.
14794 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14795 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14796
373d545e
UD
147972010-05-19 Ulrich Drepper <drepper@redhat.com>
14798
14799 * version.h: Update for 2.13 development version.
14800
21a2b1ae
AS
148012010-05-12 Andrew Stubbs <ams@codesourcery.com>
14802
14803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14804 exceptions. Return 0.
14805
3f7dcb2b
RM
148062010-05-07 Roland McGrath <roland@redhat.com>
14807
14808 * elf/ldconfig.c (main): Add a const.
14809
5f24d53a 148102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14811
a160f8d8
UD
14812 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14813 (args_options): Add no-idn option.
14814 (ahosts_keys_int): Add idn_flags to ai_flags.
14815 (parse_option): Handle 'i' option to clear idn_flags.
14816
5f24d53a
UD
14817 * malloc/malloc.c (_int_free): Possible race in the most recently
14818 added check. Only act on the data if no current modification
14819 happened.
265bb1ce
UD
14820
14821See ChangeLog.17 for earlier changes.