]> sourceware.org Git - glibc.git/blame - ChangeLog
Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs.
[glibc.git] / ChangeLog
CommitLineData
cbc00a03
RM
12012-05-21 Roland McGrath <roland@hack.frob.com>
2
3 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5 __alignof__ (long double).
6
478143fa
AZ
72012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10
c7683a6d
RH
112012-05-20 Richard Henderson <rth@twiddle.net>
12
13 * misc/getauxval.c: New file.
14 * misc/sys/auxv.h: New file.
15 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16 (routines): Add getauxval.
17 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19 * elf/dl-sysdep.c (_dl_auxv): Remove.
20 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21 * elf/dl-support.c (_dl_auxv): New variable.
22 (_dl_aux_init): Initialize it.
23 * manual/startup.texi (Auxiliary Vector): New node.
24 * sysdeps/generic/bits/hwcap.h: New file.
25 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28 * sysdeps/sparc/sysdep.h: ... here. Include it.
29 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32 Update.
c7683a6d
RH
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41
a6f1845d
AZ
422012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45
cbcbe830
DM
462012-05-19 David S. Miller <davem@davemloft.net>
47
48 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49
e0b16cc2
JM
502012-05-19 Joseph Myers <joseph@codesourcery.com>
51
52 [BZ #14123]
53 * math/s_ccosh.c: Include <float.h>
54 (__ccosh): Avoid internal overflow calculating sinh and cosh
55 values before multiplying by sin and cos values.
56 * math/s_ccoshf.c: Likewise.
57 * math/s_ccoshl.c: Likewise.
58 * math/s_csin.c: Likewise.
59 * math/s_csinf.c: Likewise.
60 * math/s_csinl.c: Likewise.
61 * math/s_csinh.c: Likewise.
62 * math/s_csinhf.c: Likewise.
63 * math/s_csinhl.c: Likewise.
64 * math/libm-test.inc (ccos_test): Add more tests.
65 (ccosh_test): Likewise.
66 (csin_test): Likewise.
67 (csinh_test): Likewise.
68 * sysdeps/i386/fpu/libm-test-ulps: Update.
69 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70
6ad13e08
L
712012-05-19 H.J. Lu <hongjiu.lu@intel.com>
72
f66f0ce8
L
73 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75
6ad13e08
L
76 * sysdeps/x86_64/x32/_itoa.h: Add comment.
77
b1d072a7
JM
782012-05-19 Joseph Myers <joseph@codesourcery.com>
79
80 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
82 * sysdeps/powerpc/soft-fp/Versions: Likewise.
83 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
84 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
85 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
86 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
87 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
88 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
89 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
90 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
91 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
92 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
93 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
94 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
95 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
96 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
97 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
98 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
99 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
100 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
101 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
102 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
103 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
104 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
105 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
106 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
107 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
108 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
109 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
110 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
111
9eae47cb
AJ
1122012-05-18 Andreas Jaeger <aj@suse.de>
113
114 * csu/.gitignore: Delete.
115
bb07f69f
L
1162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
117
118 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
119 (timex): Use __syscall_slong_t.
120
e6bdb741
AJ
1212012-05-18 Andreas Jaeger <aj@suse.de>
122 Carlos O'Donell <carlos_odonell@mentor.com>
123
124 * manual/install.texi (Configuring and compiling): Update
125 description about files modified in the source directory.
126 * INSTALL: Regenerated.
127
1b74487e
L
1282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
129
130 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
131 value. Use "or" to set return value to -1.
132 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
133 negate return value.
134
a88b64b9
TMQMF
1352012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
136
137 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
138 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
139 failure if the compiler has Graphite support disabled.
140 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
141 Likewise.
142 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
143 CFLAGS-memmove.c): Likewise.
144 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
145 Likewise.
146
3707636e
L
1472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
148
610b8622
L
149 * sysdeps/x86_64/x32/_itoa.h: New file.
150
7cd195df
L
151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
152 getdents system call only if kernel and user dirents have the
153 same d_ino and d_off.
154
94b07d20
L
155 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
156 LLONG_MAX != LONG_MAX.
157 (_itoa_word): Use _ITOA_WORD_TYPE on value.
158 (_fitoa_word): Likewise.
159
18298070
L
160 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
161 years.
162 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
164 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
165
553c7ea4
L
166 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
167 include <bits/wordsize.h>. Check __x86_64__ instead of
168 __WORDSIZE.
169 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
170 if __x86_64__ is defined. Use anonymous union on fpstate.
171
3707636e
L
172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
173 anonymous union.
174
b53ef01a
AS
1752012-05-18 Andreas Schwab <schwab@linux-m68k.org>
176
37fb1dc0
AS
177 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
178 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
179 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
180 Refer to _rtld_local_ro instead of _rtld_global_ro.
181 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
182 Likewise.
183 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
184 Likewise.
185 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
186 Likewise.
187 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
188 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
189 of _rtld_global, and rtld_progname instead of _dl_argv[0].
190
b53ef01a
AS
191 * sysdeps/powerpc/powerpc32/dl-machine.c
192 (__elf_machine_runtime_setup) [PROF]: Don't reference
193 _dl_prof_resolve.
194
7a185db2
AJ
1952012-05-18 Andreas Jaeger <aj@suse.de>
196
197 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
198 function only available for GCCs before 3.4 since GCC 3.4
199 introduced a builtin.
200 (lrint): Likewise.
201 (llrintf): Likewise.
202 (llrint): Likewise.
203 (fmaxf): Likewise.
204 (fmax): Likewise.
205 (fminf): Likewise.
206 (fmin): Likewise.
207 (rint): Likewise.
208 (rintf): Likewise.
209 (nearbyint): Likewise.
210 (nearbyintf): Likewise.
211 (ceil): Likewise.
212 (ceilf): Likewise.
213 (floor): Likewise.
214 (floorf): Likewise.
215
3e5aef87
L
2162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
217
428bd707
L
218 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
219 on both fields and cast pointer to __syscall_ulong_t.
220
3e5aef87
L
221 * bits/types.h (__fsword_t): New type.
222 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
223 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
225 (__FSWORD_T_TYPE): Likewise.
226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
227 (__FSWORD_T_TYPE): Likewise.
228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
229 (__FSWORD_T_TYPE): Likewise.
230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
231 (__FSWORD_T_TYPE): Likewise.
232 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
233 __SWORD_TYPE with __fsword_t.
234 (statfs64): Likewise.
235
1ba7c3dc
DM
2362012-05-17 David S. Miller <davem@davemloft.net>
237
238 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
239
59910343
AJ
2402012-05-17 Andreas Jaeger <aj@suse.de>
241
242 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
243 warning.
244
2e4c1e9e
L
2452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
248
de7f5ce7
AJ
2492012-05-17 Andreas Jaeger <aj@suse.de>
250
251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
252 when it is used.
253
286abc3d
CM
2542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
255
256 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
257
477cc68e
L
2582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
259
260 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
261 * sysdeps/x86_64/tst-mallocalign1.c: New file.
262
1a0994f5
CD
2632012-05-17 Andreas Jaeger <aj@suse.de>
264 Carlos O'Donell <carlos_odonell@mentor.com>
265
266 [BZ #14059]
267 * sysdeps/x86_64/multiarch/init-arch.h
268 (bit_YMM_Usable): Rename to...
269 (bit_AVX_Usable): ... this.
270 (bit_FMA4_Usable): New macro.
271 (bit_XMM_state): New macro.
272 (bit_YMM_state): New macro.
273 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
274 [__ASSEMBLER__] (index_AVX_Usable): ... this.
275 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
276 (CPUID_OSXSAVE): New macro.
277 (CPUID_AVX): New macro.
278 (CPUID_FMA4): New macro.
279 (index_YMM_Usable): Rename to...
280 (index_AVX_Usable): ... this.
281 (HAS_AVX): Use HAS_ARCH_FEATURE.
282 (HAS_FMA4): Likewise.
283 (HAS_YMM_USABLE): Remove.
284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
285 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
286 are present.
287 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
288 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
289 * sysdeps/x86_64/multiarch/Makefile: Likewise.
290 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
291 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
292
0af797de
CM
2932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
294
295 * math/libm-test.c: Support platforms without multiple rounding modes.
296 * math/bug-nextafter.c: Support platforms without FP exceptions.
297 * math/bug-nexttoward.c: Likewise.
298 * math/test-fenv.c: Likewise.
299 * math/test-misc.c: Likewise.
300 * stdlib/bug-getcontext.c: Likewise.
301
e39745ff
AJ
3022012-05-17 Andreas Jaeger <aj@suse.de>
303
304 * manual/examples/search.c (critter_cmp): Change signature to
305 avoid warnings.
306 * manual/string.texi (Collation Functions): Likewise.
307
48970aba
L
3082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
309
310 * bits/types.h: Fold copyright years.
311 * bits/typesizes.h: Likewise.
312 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
316 * time/time.h: Likewise.
317
bedee953
PP
3182012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
319
320 [BZ #208]
321 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
322 in instead of returning them. Return void.
323 (__libc_mallinfo): Accumulate over all arenas.
324 (__malloc_stats): Adjust for change in int_mallinfo interface.
325
61653dfb
RM
3262012-05-16 Roland McGrath <roland@hack.frob.com>
327
30b99d79
RM
328 [BZ #10375]
329 * configure.in (NM): Add AC_CHECK_TOOL for it.
330 (libc_extra_cflags): New substituted variable.
331 Check for -fstack-protector being used implicitly.
332 * configure: Regenerated.
333 * config.make.in (config-extra-cflags): New variable,
334 gets @libc_extra_cflags@.
335 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
336
61653dfb
RM
337 [BZ #10375]
338 * configure.in: Check for _FORTIFY_SOURCE being predefined.
339 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
340 * configure: Regenerated.
341 * config.make.in (CPPUNDEFS): New substituted variable.
342 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
343 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
344 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
345
661768bb
L
3462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
347
348 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
349 (mq_attr): Use __syscall_slong_t.
350
d4261567
L
3512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
352
353 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
354 Check __x86_64__ instead of __WORDSIZE.
355 (_STAT_VER_LINUX): Likewise.
356 (stat): Check __x86_64__ instead of __WORDSIZE. Use
357 __syscall_ulong_t and __syscall_slong_t.
358 (stat64): Likewise.
359
cf3ff365
L
3602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
361
362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
363
76cf3e4d
L
3642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
365
366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
367
a637753a
L
3682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
369
370 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
371 __syscall_ulong_t.
372
d5e05119
L
373 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
374 include <bits/wordsize.h>. Check __x86_64__ instead of
375 __WORDSIZE.
376 (greg_t): Use "__extension__ long long int" if __x86_64__ is
377 defined.
378 (mcontext_t): Replace "unsigned long" with "unsigned long long".
379
f62ee380
L
380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
381 include <bits/wordsize.h>. Check __x86_64__ instead of
382 __WORDSIZE.
383 (user_regs_struct): Use "__extension__ unsigned long long"
384 instead of "unsigned long" if __x86_64__ is defined.
385 (user): Likewise. Pad after pointer field if __ILP32__ is
386 defined.
387
4e124ced
JM
3882012-05-16 Joseph Myers <joseph@codesourcery.com>
389
6a3951a0
JM
390 * configure.in (makeinfo): Require version 4.5 or later. Allow
391 versions 5 to 9.
392 * configure: Regenerated.
393 * manual/install.texi (texinfo): Increase version requirement to
394 4.5 or later.
395 * INSTALL: Regenerated.
396
4e124ced
JM
397 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
398
953ca31a
L
3992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
400
401 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
402
617aca05
L
403 * sysdeps/x86_64/x32/ffs.c: New file.
404
5762f7ae
L
405 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
406 __syscall_ulong_t.
407 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
408 defined. Use __syscall_ulong_t.
409 (shminfo): Use __syscall_ulong_t.
410 (shm_info): Likewise.
411
a26b6856
L
412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
413 __syscall_ulong_t.
414
cb2b9ef7
L
415 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
416 <bits/wordsize.h>.
417 (msgqnum_t): Use __syscall_ulong_t.
418 (msglen_t): Likewise.
419 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
420 __syscall_ulong_t.
421
34683bb0
L
422 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
424
84a68786
L
425 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
426
48baa5f1
L
427 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
428 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
429
180be88b
L
430 * sysvipc/sys/msg.h (msgbuf): Replace long int with
431 __syscall_slong_t.
432
5e90c8ad
L
433 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
434 include <bits/wordsize.h>. Check __x86_64__ instead of
435 __WORDSIZE.
436
23dfb58b
L
437 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
438 "unsigned long long int" if __x86_64__ is defined.
439 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
440
ce5d54b0
L
441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
442 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
443 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
444
13dc9eac
L
445 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
446 <stdint.h>.
447 (GET_PC): Cast to uintptr_t first.
448 (GET_FRAME): Likewise.
449 (GET_STACK): Likewise.
450
a7895d15
L
451 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
457 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
458 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
459 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
469 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
473 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
480
656416c9
AS
4812012-05-16 Andreas Schwab <schwab@linux-m68k.org>
482
5bd66283
AS
483 * Makerules (+depfiles): Also collect depfiles from .oS in
484 $(extra-objs).
485 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
486 .oS, $(libnldbl-routines)).
487
656416c9
AS
488 * Makerules (native-compile-mkdep-flags): Define.
489 * sunrpc/Makefile (extra-objs): Add $(addprefix
490 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
491 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
492 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
493 calling $(make-target-directory).
494
a46f2169
L
4952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
496
497 * bits/types.h (__snseconds_t): Removed.
498 * time/time.h (struct timespec): Replace __snseconds_t with
499 __syscall_slong_t.
500 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
501 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
502 Likewise.
503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
504 (__SNSECONDS_T_TYPE): Likewise.
505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
506 (__SNSECONDS_T_TYPE): Likewise.
507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
508 (__SNSECONDS_T_TYPE): Likewise.
509
6af6528b
L
5102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
511
512 * sysdeps/mach/hurd/bits/typesizes.h
513 (__SYSCALL_SLONG_TYPE): New macro.
514 (__SYSCALL_ULONG_TYPE): Likewise.
515
de986b56
L
5162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
517
518 * bits/types.h (__syscall_slong_t): New type.
519 (__syscall_ulong_t): Likewise.
520
521 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
522 (__SYSCALL_ULONG_TYPE): Likewise.
523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
524 (__SYSCALL_SLONG_TYPE): Likewise.
525 (__SYSCALL_ULONG_TYPE): Likewise.
526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
527 (__SYSCALL_SLONG_TYPE): Likewise.
528 (__SYSCALL_ULONG_TYPE): Likewise.
529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
530 (__SYSCALL_SLONG_TYPE): Likewise.
531 (__SYSCALL_ULONG_TYPE): Likewise.
532
85736dc7
L
5332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
534
535 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
536 Add sigaltstack-offsets.sym.
537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
538 <sigaltstack-offsets.h>.
539 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
540 longjmp_msg pointer.
541 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
542 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
543 signal stack.
544 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
545
cc03b296
JM
5462012-05-15 Joseph Myers <joseph@codesourcery.com>
547
a9538892
JM
548 * elf/stackguard-macros.h: Remove file.
549 * sysdeps/generic/stackguard-macros.h: New file.
550 * sysdeps/i386/stackguard-macros.h: Likewise.
551 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
552 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
553 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
554 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
555 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
556 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
557 * sysdeps/x86_64/stackguard-macros.h: Likewise.
558 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
559 <elf/stackguard-macros.h>.
560
cc03b296
JM
561 [BZ #14109]
562 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
563 __aligned__ in attribute.
564 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
565 (gregset_t): Likewise.
566
93171016
L
5672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
568
569 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
570 * sysdeps/x86_64/64/Implies-after: Here. New file.
571 * sysdeps/x86_64/x32/Implies-after: New file.
572
d86813a0
L
5732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
574
575 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
576 and access return value for _dl_profile_fixup. Use R10_LP to
577 load frame size.
578
2953ec75
L
5792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
580
581 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
582
3b550e9e
L
5832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
584
585 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
586 * sysdeps/x86_64/x32/sysdep.h: New file.
587
eda41706
L
5882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
589
590 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
591 * sysdeps/x86_64/setjmp.S: Likewise.
592
9ea01d93
AZ
5932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
594
595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
597 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
598 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
599 remove unused global constant.
600
02a91938
CM
6012012-05-15 Chris Metcalf <cmetcalf@tilera.com>
602
603 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
604 include of <not-cancel.h>.
605
6540185f
RM
6062012-05-15 Roland McGrath <roland@hack.frob.com>
607
608 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
609
509072a0
AJ
6102012-05-15 Jeff Law <law@redhat.com>
611 Andreas Jaeger <aj@suse.de>
612
613 [BZ #13594]
614 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
615 out from...
616 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
617 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
618 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
619 code changing __hst_map_handle.map.
620
ba75122d
RM
6212012-05-15 Roland McGrath <roland@hack.frob.com>
622
623 * configure.in (sysnames): Look for Implies-before and Implies-after
624 files.
625 * configure: Regenerated.
626
890d8bd8
L
6272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
628
629 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
630 8-byte data alignment with LP_SIZE alignment.
631
f6ee6623
L
6322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
633
634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
635 into R10_LP.
636
ea2626f6
L
6372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
638
639 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
640
085f715e
L
6412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
642
643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
644 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
646 Likewise.
647 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
648
be8498fc
L
6492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
652 (stackinfo_sub_sp): Likewise.
653
70bc83b9
L
6542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
655
656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
657 RAX_LP.
658
9bc0b730
L
6592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
660
661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
662 into R*_LP.
663
6d2850e7
L
6642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
665
666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
667 sizes into R*_LP.
668
3cb84561
L
6692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
670
671 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
672
54e2ed81
L
6732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
674
675 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
676 into R11_LP and load __x86_64_shared_cache_size_half into
677 R8_LP.
678
8a17f349
L
6792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
680
681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
682 R8_LP.
683
777b1eea
AZ
6842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
687 logb for POWER7.
688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
689 logbf for POWER7.
690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
691 logbl for POWER7.
692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
693 powerpc32/power7/fpu/s_logb.c via #include.
694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
695 powerpc32/power7/fpu/s_logbf.c via #include.
696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
697 powerpc32/power7/fpu/s_logbl.c via #include.
698
d20d4ac2
JM
6992012-05-15 Joseph Myers <joseph@codesourcery.com>
700
701 * README.libm: Remove file.
702
6cdef1ab
L
7032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
704
705 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
706 count for x32. Use R*_LP and omit operand-size suffix.
707
0b254d8f
L
7082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
709
710 * shlib-versions: Move x86_64-.*-linux.* entries to ...
711 * sysdeps/x86_64/64/shlib-versions: Here. New file.
712 * sysdeps/x86_64/x32/shlib-versions: New file.
713
ceb809dc
RM
7142012-05-14 Roland McGrath <roland@hack.frob.com>
715
716 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
717 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
718 Use _dl_fatal_printf instead.
719
37f1abd4
JM
7202012-05-14 Joseph Myers <joseph@codesourcery.com>
721
722 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
723 set if not set by the user. Do not allow for being unset.
724 * sysdeps/unix/sysv/linux/configure: Regenerated.
725
11de3a33
L
7262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
727
728 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
729 the `q' suffix from lea and replace .quad with ASM_ADDR.
730
e02f153a
L
7312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
732
733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
734 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
735 instead of $17.
736 (PTR_DEMANGLE): Likewise.
737
520ae0fd
L
7382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
739
740 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
741 (LP_OP): Likewise.
742 (ASM_ADDR): Likewise.
743 (RAX_LP): Likewise.
744 (RBP_LP): Likewise.
745 (RBX_LP): Likewise.
746 (RCX_LP): Likewise.
747 (RDI_LP): Likewise.
748 (RSI_LP): Likewise.
749 (RSP_LP): Likewise.
750 (R8_LP): Likewise.
751 (R9_LP): Likewise.
752 (R10_LP): Likewise.
753 (R10_LP): Likewise.
754 (R11_LP): Likewise.
755 (R12_LP): Likewise.
756 (R13_LP): Likewise.
757 (R14_LP): Likewise.
758 (R15_LP): Likewise.
759
b985be81
L
7602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/x86_64/x32/dl-machine.h: New file.
763
6a4888ff
AJ
7642012-05-14 Andreas Jaeger <aj@suse.de>
765
766 * manual/Makefile (subdir): Remove export of subdir.
767 (all): Remove target.
768 (.PHONY): Remove all from list.
769 (mkinstalldirs): Remove.
770 (.PHONY): Remove installdirs from list.
771 ($(inst_infodir)/libc.info): Use make-target-directory.
772 (installdirs): Remove.
773 (subdir_%): Remove.
774 (glibc-targets): Remove.
775 (lib): Remove.
776 (stubs): Remove.
777 ($(objpfx)stubs ../po/manual.pot): Remove.
778 ($(objpfx)stamp%): Remove.
779 (make-target-directory): Remove.
780 (subdir_install): Remove.
781 (routines): Remove.
782 (aux): Remove.
783 (sources): Remove.
784 (objects): Remove.
785 (headers): Remove.
786
787 [BZ #13750]
788 * manual/.gitignore: Remove, it's not needed anymore.
789 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
790 all files in it.
791 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
792 directory.
793 (texis): Renamed to $(objpfx)texis.
794 (texis-path): New, contains path to generated files.
795 (chapters.%): Use texis-path for complete path, add extra argument
796 libc-texinfo.sh.
797 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
798 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
799 (summary,texi, stamp-summary): Use complete path of
800 files. Generate files in build dir.
801 (dir-add.texi): Build in build dir.
802 (libm-err.texi,stamp-libm-err): Likewise.
803 (version.texi, stamp-version): Likewise.
804 (.%c.texi): Likewise.
805 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
806 (mostlyclean): Remove target.
807 (realclean): Remove target.
808 (generated): Add new variable with contents from mostlyclean and
809 realclean, remove entries duplicated in common-mostlyclean, add
810 stamp-libm-err and stamp-version.
811 (generated-dirs): Add libc directory.
812 ($(inst_infodir)/libc.info): Install files from build dir.
813
814 * manual/install.texi (Configuring and compiling): Adjust since
815 the info files are not part of the tar ball anymore.
816
7ac77294
AJ
8172012-05-14 Andreas Jaeger <aj@suse.de>
818
819 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
820 variable.
821
ffb7875d
JM
8222012-05-14 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #13717]
825 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
826 to 2.2.0 where earlier.
827 * sysdeps/unix/sysv/linux/configure: Regenerated.
828 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
829 Remove conditional code.
830 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
831 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
832 Remove conditional code.
833 [!__NR_lchown]: Likewise.
834 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
835 [__NR_lchown]: Likewise.
836 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
837 comment referencing __ASSUME_LCHOWN_SYSCALL.
838 * sysdeps/unix/sysv/linux/i386/sigaction.c
839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
841 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
842 Remove conditional code.
843 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
844 (__protocol_available): Remove #if 0 code.
845 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
846 conditional code.
847 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
848 * sysdeps/unix/sysv/linux/kernel-features.h
849 (__ASSUME_GETCWD_SYSCALL): Don't define.
850 (__ASSUME_REALTIME_SIGNALS): Likewise.
851 (__ASSUME_PREAD_SYSCALL): Likewise.
852 (__ASSUME_PWRITE_SYSCALL): Likewise.
853 (__ASSUME_POLL_SYSCALL): Likewise.
854 (__ASSUME_LCHOWN_SYSCALL): Likewise.
855 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
856 non-SPARC.
857 (__ASSUME_SIOCGIFNAME): Don't define.
858 (__ASSUME_MSG_NOSIGNAL): Likewise.
859 (__ASSUME_SENDFILE): Define unconditionally.
860 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
861 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
862 conditional code.
863 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
864 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
865 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
866 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
867 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
868 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
869 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
871 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
877 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
883 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
884 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
889 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
894 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
895 Remove conditional code.
896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
897 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
898 Remove conditional code.
899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
901 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
903 Remove conditional code.
904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
905 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
906 Remove conditional code.
907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
908 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
909 Remove conditional code.
910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
911 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
912 Remove conditional code.
913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
914 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
915 Remove conditional code.
916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
917 * sysdeps/unix/sysv/linux/sh/pwrite64.c
918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
920 * sysdeps/unix/sysv/linux/sigaction.c
921 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
922 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
923 * sysdeps/unix/sysv/linux/sigpending.c
924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
926 * sysdeps/unix/sysv/linux/sigprocmask.c
927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
929 * sysdeps/unix/sysv/linux/sigsuspend.c
930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
933 (__libc_missing_rt_sigs): Remove.
934 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
935 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
936 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
937 Remove conditional code.
938 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
939 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
940 return 1.
941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
942 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
943 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
944 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
945
1bfb7291
AJ
9462012-05-14 Andreas Jaeger <aj@suse.de>
947
caae5a81
AJ
948 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
949 it's not used in glibc.
950 (__coshm1): Likewise.
951 (__acosh1p): Likewise.
952 (__sgn): Likewise.
953
1bfb7291
AJ
954 * manual/string.texi (Copying and Concatenation): Add missing
955 variable in concat example.
956 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
957
c044d724
L
9582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
959
144c5467 960 [BZ #14103]
c044d724
L
961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
962 __builtin_clzl with __builtin_clzll.
963
2523c62b
L
9642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
965
966 [BZ #14104]
967 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
968 libc_freeres_ptr.
969
d7bb4c42
LD
9702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
971
972 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
973 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
974 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
975 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
976
9dc4e1fb
MF
9772012-05-14 Mike Frysinger <vapier@gentoo.org>
978
979 * NEWS: Update ia64 info.
980
c7df0112
AS
9812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
982
983 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
984 used as bcopy.
985
dc70356c
TS
9862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
987
988 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
989 * sysdeps/unix/syscalls.list (dup3): Likewise.
990 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
991 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
992
9fb1a21f
L
9932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
994
995 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
996 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
997
4822a2a5
L
9982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1001 thread pointer.
1002 (TLS_IE): Use mov/add instead of movq/addq to load thread
1003 pointer.
1004 (TLS_GD_PREFIX): New.
1005 (TLS_GD): Use it.
1006
842b81d6
DM
10072012-05-11 David S. Miller <davem@davemloft.net>
1008
1009 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1010 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1011 (_FPU_SETCW): Likewise.
1012
1cf463cd
L
10132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1016 is 32-byte aligned.
1017
60cc4a18
AS
10182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1019
1020 [BZ #11837]
1021 * iconvdata/gb18030.c: Update tables.
1022 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1023 characters specially.
1024 (BODY for TO_LOOP): Add encoding of missing ranges.
1025
febb44a4
TS
10262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1027
1028 [BZ #13673]
1029 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1030 * sysdeps/mach/hurd/dup3.c: Likewise.
1031 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1032 * sysdeps/powerpc/memmove.c:: Likewise.
1033
0a10fb9e
L
10342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1037 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1038
df8a552f
L
10392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 * elf/elf.h (R_X86_64_RELATIVE64): New.
1042 (R_X86_64_NUM): Updated.
1043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1044 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1045 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1046 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1047 tst-quad1pie tst-quad2pie
1048 (modules-names): Add tst-quadmod1 tst-quadmod2.
1049 ($(objpfx)tst-quad1): New dependency.
1050 ($(objpfx)tst-quad2): Likewise.
1051 ($(objpfx)tst-quad1pie): Likewise.
1052 ($(objpfx)tst-quad2pie): Likewise.
1053 * sysdeps/x86_64/tst-quad1.c: New file.
1054 * sysdeps/x86_64/tst-quad1pie.c: New file.
1055 * sysdeps/x86_64/tst-quad2.c: Likewise.
1056 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1057 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1058 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1059 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1060 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1061
f34d6f84
ST
10622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1063
f42d41d1
ST
1064 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1065 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1066 * streams/stropts.h (t_scalar_t): Define type.
1067
3c3571fc
ST
1068 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1069 (_PATH_PRESERVE): Set to "/var/lib".
1070 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1071
61f06bd3
ST
1072 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1073 instead of int.
1074
918d4d71
ST
1075 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1076 if __dir_mkfile succeeded.
1077
f34d6f84
ST
1078 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1079 checking for _hurd_dtablesize. Unlock it right after having
1080 finished _hurd_dtable allocation.
1081
10589b4a
TS
10822012-05-10 Thomas Schwinge <thomas@schwinge.name>
1083
674cdbc7
TS
1084 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1085 * sysdeps/mach/hurd/configure: Regenerated.
1086 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1087 special-casing to...
1088 * sysdeps/gnu/configure.in: ... this new file.
1089 * sysdeps/unix/sysv/linux/configure: Regenerated.
1090 * sysdeps/gnu/configure: New generated file.
1091
8e41b99f
TS
1092 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1093 for Linux: use nsec instead of usec, as well as:
1094 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1095 members of type struct timespec.
1096 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1097 New macros.
1098 (struct stat64): Likewise.
1099 (_STATBUF_ST_NSEC): New macro.
1100 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1101
10589b4a
TS
1102 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1103 __strtoul_internal rather than strtoul.
1104
63643c85
PT
11052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1106
1107 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1108 and reject them.
1109
3faebe6a
ST
11102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1111
1112 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1113 which preserves existing values.
1114 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1115
c6474b07
PT
11162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1117
1118 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1119 TIMEOUT values. Return EINVAL for NFDS values either negative or
1120 greater than FD_SETSIZE.
1121
1043890b
ST
11222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1123
1124 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1125 allocated, call __vm_protect to finish enabling the existing space, and
1126 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1127 allocate the remainder.
1128
37ed8b9b
PT
11292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1130
1131 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1132 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1133
db653660
ST
11342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1135
37ed8b9b
PT
1136 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1137 sysdeps/mach/hurd/readlink.c.
b29d4053 1138
db653660
ST
1139 * posix/tst-sysconf.c (posix_options): Only use
1140 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1141 _POSIX_SYNCHRONIZED_IO when they are defined
1142 * sysdeps/mach/hurd/bits/posix_opt.h:
1143 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1144 (_XOPEN_REALTIME): Undefine macro.
1145 (_XOPEN_REALTIME_THREADS): Undefine macro.
1146 (_XOPEN_SHM): Undefine macro.
1147 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1148 macro to -1.
1149 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1150 macro to -1.
1151 (_POSIX_ASYNC_IO): Undefine macro.
1152 (_POSIX_PRIORITIZED_IO): Undefine macro.
1153 (_POSIX_SPIN_LOCKS): Define macro to -1.
1154
ee16e894
ST
1155 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1156 SA_NODEFER, SA_RESETHAND.
1157 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1158 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1159 F_DUPFD_CLOEXEC.
1160
6103ae3b
TS
11612012-05-10 Thomas Schwinge <thomas@schwinge.name>
1162
1163 * elf/Makefile (pldd-modules): Define unconditionally.
1164
80b4e5f3
TS
11652012-05-10 Thomas Schwinge <thomas@schwinge.name>
1166
1167 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1168
edadcbd6
ST
11692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1170
1171 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1172 Return ENOENT when name is empty.
1173 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1174
80694780
TS
11752012-05-10 Thomas Schwinge <thomas@schwinge.name>
1176
1792c087
TS
1177 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1178
80694780
TS
1179 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1180
6b645f0d
ST
11812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1182
80694780
TS
1183 Fix mlock in all cases except non-readable pages.
1184 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1185 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1186
6b645f0d
ST
1187 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1188 (__mkdir): When path is `/', just fail with EEXIST.
1189 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1190
e468f8a3
TS
11912012-05-10 Thomas Schwinge <thomas@schwinge.name>
1192
1193 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1194 <sys/uio.h> (for writev).
1195 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1196 and <sys/param.h> (for MIN).
1197
a4186cff
PT
11982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1199
1200 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1201 REQUESTED_TIME. Properly set the remaining time and return EINTR
1202 if interrupted.
1203
510bbf14
TS
12042012-05-10 Thomas Schwinge <thomas@schwinge.name>
1205
1206 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1207 Depend on against $(link-rpcuserlibs).
1208
5d5722e8
ST
12092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1210
a4186cff
PT
1211 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1212 (__libc_stack_end): Do not use attribute_relro.
1213 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1214 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1215 to libthread-provided value.
a4186cff
PT
1216 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1217 attribute_relro.
5d5722e8 1218
37233df9
TS
12192012-05-10 Thomas Schwinge <thomas@schwinge.name>
1220
be971a2b
TS
1221 [BZ #3748]
1222 * bits/libc-lock.h (__libc_once_get): New macro.
1223 * sysdeps/mach/bits/libc-lock.h: Likewise.
1224 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1226 instead of using implementation details.
1227
37233df9
TS
1228 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1229 * libio/freopen.c: Likewise.
1230 * libio/freopen64.c: Likewise.
1231 * misc/syslog.c: Likewise.
1232 * nscd/connections.c: Likewise.
1233 * nscd/netgroupcache.c: Likewise.
1234 * sysdeps/posix/getcwd.c: Likewise.
1235
38de94a5
RM
12362012-05-10 Roland McGrath <roland@hack.frob.com>
1237
1238 * math/w_ilogbf.c: Add #include <limits.h>.
1239
67530489
ST
12402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1241
a4186cff 1242 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1243 path instead of returning without unlocking.
1244
67530489
ST
1245 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1246 immediate-write ioctls.
1247 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1248
5aa3a74a
TS
12492012-05-10 Thomas Schwinge <thomas@schwinge.name>
1250
18bad2ae
TS
1251 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1252 __builtin_frame_address instead of making assumptions about the
1253 location of the return address relative to DATA. Force early load of
1254 the return address.
1255 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1256 __builtin_frame_address.
1257
5aa3a74a
TS
1258 dup3 for GNU Hurd.
1259 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1260 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1261 implement dup3 and do some further code clean-ups.
1262 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1263 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1264
ecd0de9a
ST
12652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1266
cd9fa985
ST
1267 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1268
a4186cff
PT
1269 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1270 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1271 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1272 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1273 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1274 d->port.lock.
802ca5a5 1275
a4186cff
PT
1276 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1277 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1278 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1279
bcf55240
TS
12802012-05-10 Thomas Schwinge <thomas@schwinge.name>
1281
6960eb42
TS
1282 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1283 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1284 definitions.
1285
eb43375f
TS
1286 accept4 for GNU Hurd.
1287 * include/sys/socket.h (__libc_accept4): New prototype.
1288 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1289 to implement __libc_accept4.
1290 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1291 __libc_accept4.
1292 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1293
bcf55240
TS
1294 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1295 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1296 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1297 signal-defines.sym.
1298
6178c55b
ST
12992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1300
a4186cff 1301 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1302
6f080c2f
TS
13032012-05-10 Thomas Schwinge <thomas@schwinge.name>
1304
1305 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1306 assertion on O_CLOEXEC flag.
1307 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1308 * hurd/intern-fd.c: Likewise.
1309 * hurd/port2fd.c: Likewise.
1310
bcfe3a54
ST
13112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1312
1313 [BZ #3906]
1314 * bits/in.h (IPV6_PKTINFO): Define new macro.
1315 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1316
89c9aa49
AZ
13172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318
1319 [BZ #13954]
1320 [BZ #13955]
1321 [BZ #13956]
1322 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1324 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1327 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1328 * math/libm-test.inc (logb_test) : Additional logb tests.
1329
021db4be
AJ
13302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1331 Andreas Jaeger <aj@suse.de>
1332
1333 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1334 * configure: Regenerated.
1335 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1336 * config.make.in (link-obsolete-rpc): New substituted variable.
1337 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1338 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1339 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1340 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1341 so that libc.a contains the symbols.
1342 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1343 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1344 * sunrpc/auth_none.c: Likewise.
1345 * sunrpc/auth_unix.c: Likewise.
1346 * sunrpc/authdes_prot.c: Likewise.
1347 * sunrpc/authuxprot.c: Likewise.
1348 * sunrpc/clnt_gen.c: Likewise.
1349 * sunrpc/clnt_perr.c: Likewise.
1350 * sunrpc/clnt_raw.c: Likewise.
1351 * sunrpc/clnt_simp.c: Likewise.
1352 * sunrpc/clnt_tcp.c: Likewise.
1353 * sunrpc/clnt_udp.c: Likewise.
1354 * sunrpc/clnt_unix.c: Likewise.
1355 * sunrpc/des_crypt.c: Likewise.
1356 * sunrpc/des_soft.c: Likewise.
1357 * sunrpc/get_myaddr.c: Likewise.
1358 * sunrpc/key_call.c: Likewise.
1359 * sunrpc/key_prot.c: Likewise.
1360 * sunrpc/netname.c: Likewise.
1361 * sunrpc/pm_getmaps.c: Likewise.
1362 * sunrpc/pm_getport.c: Likewise.
1363 * sunrpc/pmap_clnt.c: Likewise.
1364 * sunrpc/pmap_prot.c: Likewise.
1365 * sunrpc/pmap_prot2.c: Likewise.
1366 * sunrpc/pmap_rmt.c: Likewise.
1367 * sunrpc/publickey.c: Likewise.
1368 * sunrpc/rpc_cmsg.c: Likewise.
1369 * sunrpc/rpc_common.c: Likewise.
1370 * sunrpc/rpc_dtable.c: Likewise.
1371 * sunrpc/rpc_prot.c: Likewise.
1372 * sunrpc/rpc_thread.c: Likewise.
1373 * sunrpc/rtime.c: Likewise.
1374 * sunrpc/svc.c: Likewise.
1375 * sunrpc/svc_auth.c: Likewise.
1376 * sunrpc/svc_raw.c: Likewise.
1377 * sunrpc/svc_run.c: Likewise.
1378 * sunrpc/svc_tcp.c: Likewise.
1379 * sunrpc/svc_udp.c: Likewise.
1380 * sunrpc/svc_unix.c: Likewise.
1381 * sunrpc/svcauth_des.c: Likewise.
1382 * sunrpc/xcrypt.c: Likewise.
1383 * sunrpc/xdr.c: Likewise.
1384 * sunrpc/xdr_array.c: Likewise.
1385 * sunrpc/xdr_float.c: Likewise.
1386 * sunrpc/xdr_intXX_t.c: Likewise.
1387 * sunrpc/xdr_mem.c: Likewise.
1388 * sunrpc/xdr_rec.c: Likewise.
1389 * sunrpc/xdr_ref.c: Likewise.
1390 * sunrpc/xdr_sizeof.c: Likewise.
1391 * sunrpc/xdr_stdio.c: Likewise.
1392
b5c086a2
RM
13932012-05-10 Roland McGrath <roland@hack.frob.com>
1394
1395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1396 change. Update copyright years.
1397
6d74dd09
JM
13982012-05-10 Joseph Myers <joseph@codesourcery.com>
1399
1400 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1401
28e72501
MK
14022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1403 Joseph Myers <joseph@codesourcery.com>
1404 Paul Pluzhnikov <ppluzhnikov@google.com>
1405
1406 [BZ #14012]
1407 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1408 requiring rpcgen.
1409 [cross-compiling] (extra-libs): Likewise.
1410 [cross-compiling] (extra-libs-others): Likewise.
1411 [cross-compiling] (librpcsvc-routines): Likewise.
1412 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1413 [cross-compiling] (omit-deps): Likewise.
1414 (sunrpc-CPPFLAGS): New variable.
1415 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1416 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1417 (cross-rpcgen-objs): New variable.
1418 (extra-objs): Append $(cross-rpcgen-objs).
1419 ($(cross-rpcgen-objs)): New rule.
1420 ($(objpfx)cross-rpcgen): Likewise.
1421 (rpcgen-cmd): Define to use $(built-program-file). Expand
1422 comment.
1423 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1424 ($(objpfx)x%.stmp): Likewise.
1425 * sunrpc/proto.h [IS_IN_build] (_): Define.
1426 [IS_IN_build] (_libc_intl_domainname): Likewise.
1427
c8c59454
L
14282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1429
1430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1431 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1432 and R_X86_64_TPOFF64.
1433
6f27cd16
JM
14342012-05-10 Joseph Myers <joseph@codesourcery.com>
1435
1436 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1437 sysdeps/unix/sysv/syscalls.list.
1438 (stime): Likewise.
1439 (utime): Likewise.
1440 * sysdeps/unix/sysv/syscalls.list: Remove file.
1441
02467e1c
PE
14422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1443
1444 [BZ #3440]
1445 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1446 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1447 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1448 (__LC_IDENTIFICATION): Make these macros useful in #if
1449 expressions, as required by C99.
1450
da392631
AS
14512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1452
1453 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1454 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1455 after this.
1456
8115f29b
L
14572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 * stdlib/longlong.h: Updated from GCC.
1460
bdd74070
AJ
14612012-05-09 Andreas Jaeger <aj@suse.de>
1462
edfe0dbe
AJ
1463 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1464 default is first entry.
1465 (run_mode): Set type.
1466 (main): Remove informal message about syslog.
1467 (options): Fix typo.
1468
bcfe3a54
ST
1469 [BZ #14053]
1470 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1471 to asm.
bcfe3a54
ST
1472 (lrint): Likewise.
1473 (llrintf): Likewise.
1474 (llrint): Likewise.
1475 (rint): Likewise.
1476 (rintf): Likewise.
1477 (nearbyint): Likewise.
1478 (nearbyintf): Likewise.
bdd74070 1479
91d8d69e
AJ
14802012-05-09 Andreas Jaeger <aj@suse.de>
1481 Pedro Alves <palves@redhat.com>
1482
1483 * nscd/nscd.c (run_mode): Use enum.
1484 (main): Cleanup coding style issue.
1485
bb90b80b
AJ
14862012-05-09 Alexandre Oliva <aoliva@redhat.com>
1487 Andreas Jaeger <aj@suse.de>
1488
bcfe3a54
ST
1489 * nscd/nscd.c (go_background): Replaced with...
1490 (run_mode): ... this.
bb90b80b 1491 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1492 (options): Add -F --foreground.
1493 (main): Implement it.
1494 (parse_opt): Parse it.
bb90b80b 1495
1a4b75a1
AJ
14962012-05-09 Andreas Jaeger <aj@suse.de>
1497
1498 [BZ #14083]
1499 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1500 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1501 -Wconversion warning.
1502 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1503 Likewise.
1504
b1cc2472
JM
15052012-05-09 Joseph Myers <joseph@codesourcery.com>
1506
1507 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1508 == 0.
1509 (LC_ALL): Use macro-int-constant.
1510 (LC_COLLATE): Likewise.
1511 (LC_CTYPE): Likewise.
1512 (LC_MESSAGES): Likewise.
1513 (LC_MONETARY): Likewise.
1514 (LC_NUMERIC): Likewise.
1515 (LC_TIME): Likewise.
1516 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1517 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1519 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1520 Specify type.
1521 [C99-based standards] (float_t): Expect type.
1522 [C99-based standards] (double_t): Expect type.
1523 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1524 type.
1525 [C99-based standards] (HUGE_VALL): Likewise.
1526 [C99-based standards] (INFINITY): Likewise.
1527 [C99-based standards] (NAN): Likewise.
1528 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1529 [C99-based standards] (FP_NAN): Likewise.
1530 [C99-based standards] (FP_NORMAL): Likewise.
1531 [C99-based standards] (FP_SUBNORMAL): Likewise.
1532 [C99-based standards] (FP_ZERO): Likewise.
1533 [C99-based standards] (FP_FAST_FMA): Use
1534 optional-macro-int-constant. Specify type. Require == 1.
1535 [C99-based standards] (FP_FAST_FMAF): Likewise.
1536 [C99-based standards] (FP_FAST_FMAL): Likewise.
1537 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1538 [C99-based standards] (FP_ILOGBNAN): Likewise.
1539 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1540 Specify type.
1541 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1542 [C99-based standards] (math_errhandling): Specify type.
1543 [ISO99 || ISO11] (signgam): Do not allow.
1544 [non-C99-based standards] (copysignf): Do not allow.
1545 [non-C99-based standards] (exp2f): Likewise.
1546 [non-C99-based standards] (log2f): Likewise.
1547 [non-C99-based standards] (modff): Allow.
1548 [non-C99-based standards] (erff): Do not allow.
1549 [non-C99-based standards] (erfcf): Likewise.
1550 [non-C99-based standards] (gammaf): Likewise.
1551 [non-C99-based standards] (hypotf): Likewise.
1552 [non-C99-based standards] (j0f): Likewise.
1553 [non-C99-based standards] (j1f): Likewise.
1554 [non-C99-based standards] (jnf): Likewise.
1555 [non-C99-based standards] (lgammaf): Likewise.
1556 [non-C99-based standards] (tgammaf): Likewise.
1557 [non-C99-based standards] (y0f): Likewise.
1558 [non-C99-based standards] (y1f): Likewise.
1559 [non-C99-based standards] (ynf): Likewise.
1560 [non-C99-based standards] (isnanf): Likewise.
1561 [non-C99-based standards] (acoshf): Likewise.
1562 [non-C99-based standards] (asinhf): Likewise.
1563 [non-C99-based standards] (atanhf): Likewise.
1564 [non-C99-based standards] (cbrtf): Likewise.
1565 [non-C99-based standards] (expm1f): Likewise.
1566 [non-C99-based standards] (ilogbf): Likewise.
1567 [non-C99-based standards] (log1pf): Likewise.
1568 [non-C99-based standards] (logbf): Likewise.
1569 [non-C99-based standards] (nextafterf): Likewise.
1570 [non-C99-based standards] (remainderf): Likewise.
1571 [non-C99-based standards] (rintf): Likewise.
1572 [non-C99-based standards] (scalbf): Likewise.
1573 [non-C99-based standards] (copysignl): Likewise.
1574 [non-C99-based standards] (exp2l): Likewise.
1575 [non-C99-based standards] (log2l): Likewise.
1576 [non-C99-based standards] (modfl): Allow.
1577 [non-C99-based standards] (erfl): Do not allow.
1578 [non-C99-based standards] (erfcl): Likewise.
1579 [non-C99-based standards] (gammal): Likewise.
1580 [non-C99-based standards] (hypotl): Likewise.
1581 [non-C99-based standards] (j0l): Likewise.
1582 [non-C99-based standards] (j1l): Likewise.
1583 [non-C99-based standards] (jnl): Likewise.
1584 [non-C99-based standards] (lgammal): Likewise.
1585 [non-C99-based standards] (tgammal): Likewise.
1586 [non-C99-based standards] (y0l): Likewise.
1587 [non-C99-based standards] (y1l): Likewise.
1588 [non-C99-based standards] (ynl): Likewise.
1589 [non-C99-based standards] (isnanl): Likewise.
1590 [non-C99-based standards] (acoshl): Likewise.
1591 [non-C99-based standards] (asinhl): Likewise.
1592 [non-C99-based standards] (atanhl): Likewise.
1593 [non-C99-based standards] (cbrtl): Likewise.
1594 [non-C99-based standards] (expm1l): Likewise.
1595 [non-C99-based standards] (ilogbl): Likewise.
1596 [non-C99-based standards] (log1pl): Likewise.
1597 [non-C99-based standards] (logbl): Likewise.
1598 [non-C99-based standards] (nextafterl): Likewise.
1599 [non-C99-based standards] (remainderl): Likewise.
1600 [non-C99-based standards] (rintl): Likewise.
1601 [non-C99-based standards] (scalbl): Likewise.
1602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1603 [non-C99-based standards] (FP_*): Do not allow.
1604 [C99-based standards] (FP_*): Change to
1605 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1606 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1607 allow.
1608 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1609 (SIG_ERR): Likewise.
1610 [X/Open-based standards] (SIG_HOLD): Likewise.
1611 (SIG_IGN): Likewise.
1612 (SIGABRT): Use macro-int-constant. Specify type. Require
1613 positive value.
1614 (SIGFPE): Likewise.
1615 (SIGILL): Likewise.
1616 (SIGINT): Likewise.
1617 (SIGSEGV): Likewise.
1618 (SIGTER): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1620 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1621 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1622 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1623 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1624 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1625 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1626 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1627 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1628 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1629 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1630 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1631 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1632 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1633 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1634 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1635 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1636 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1637 [X/Open-based standards] (SIGTRAP): Likewise.
1638 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1639 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1640 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1641 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1642 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1643 allow.
1644
b9f1922d
IW
16452012-05-08 Ian Wienand <ianw@vmware.com>
1646
1647 [BZ #14080]
1648 * time/tzset.c (__tzset_parse_tz): Update default rules for
1649 daylight time changes in the Energy Policy Act of 2005.
1650
1db86e88
AJ
16512012-05-09 Andreas Jaeger <aj@suse.de>
1652
1653 [BZ #13983]
1654 * elf/ldconfig.c (parse_conf): Change string to make clear that
1655 ldconfig only issued a warning if ld.so.conf does not exist.
1656
dee4a4e3
DM
16572012-05-08 David S. Miller <davem@davemloft.net>
1658
ee0db190
DM
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1660 movxtod instead of popping the value on the stack.
1661
dee4a4e3
DM
1662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1663
6a43ec98
CD
16642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1665
1666 * config.h.in: Add HAVE_ARM_PCS_VFP.
1667
05c2c961
RMG
16682012-05-08 Roland Mc Grath <roland@hack.frob.com>
1669
bcfe3a54
ST
1670 [BZ #13979]
1671 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1672 checking but the checks are disabled for any reason.
05c2c961 1673
4b30f61a
L
16742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1675
1676 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1677 and ELF64_R_TYPE with ELFW(R_TYPE).
1678
eee2bc67
JM
16792012-05-08 Joseph Myers <joseph@codesourcery.com>
1680
7ea5391a
JM
1681 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1682 (ulimit): Likewise.
1683
eee2bc67
JM
1684 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1685 (settimeofday): Likewise.
1686
abb66a67
MF
16872012-05-08 Mike Frysinger <vapier@gentoo.org>
1688
1689 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1690 a struct th_u2 inside the union, and move tu_block/tu_code into
1691 a new th_u3 union of tu_block/tu_code inside of that. Move
1692 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1693 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1694 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1695 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1696 (th_stuff): Change to th_u1.tu_stuff.
1697 (th_data): Define.
1698 (th_msg): Change to th_u1.th_u2.tu_data.
1699
7f18b530
DM
17002012-05-07 David S. Miller <davem@davemloft.net>
1701
05760585
DM
1702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1703
7f18b530
DM
1704 [BZ #14074]
1705 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1706 (SETUP_PIC_REG): Use it.
1707 (SETUP_PIC_REG_LEAF): Use it.
1708
495fd99f
JM
17092012-05-07 Joseph Myers <joseph@codesourcery.com>
1710
1711 [BZ #13885]
1712 [BZ #13923]
1713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1714 USE_AS_EXPM1L.
1715 (EXPL_FINITE): Likewise.
1716 (FLDLOG): Likewise.
1717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1718 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1719 e_expl.S.
1720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1721 USE_AS_EXPM1L.
1722 (EXPL_FINITE): Likewise.
1723 (FLDLOG): Likewise.
1724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1725 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1726 e_expl.S.
1727 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1728 test of -max_value argument for long double.
1729 * sysdeps/i386/fpu/libm-test-ulps: Update.
1730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1731
6693d694
DM
17322012-05-06 David S. Miller <davem@davemloft.net>
1733
1734 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1735 quad soft-float symbols whose references which are compiler
1736 generated.
1737 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1738
6c23e11c
JM
17392012-05-06 Joseph Myers <joseph@codesourcery.com>
1740
d8b82cad
JM
1741 [BZ #13884]
1742 [BZ #13914]
1743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1744 USE_AS_EXP10L.
1745 (EXPL_FINITE): Likewise.
1746 (FLDLOG): Likewise.
1747 (c0): Likewise.
1748 (c1): Likewise.
1749 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1750 Adjust comments for base varying.
1751 (__expl_finite): Change alias to EXPL_FINITE.
1752 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1753 e_expl.S.
1754 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1755 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1757 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1758 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1759 USE_AS_EXP10L.
1760 (EXPL_FINITE): Likewise.
1761 (FLDLOG): Likewise.
1762 (c0): Likewise.
1763 (c1): Likewise.
1764 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1765 Adjust comments for base varying.
1766 (__expl_finite): Change alias to EXPL_FINITE.
1767 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1768 tests for bugs.
1769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1770
6c23e11c
JM
1771 [BZ #14064]
1772 * math/libm-test.inc (check_float_internal): Correct ulp
1773 calculation for subnormal expected results.
1774
29ba805c
AJ
17752012-05-06 Andreas Jaeger <aj@suse.de>
1776
1777 * Makeconfig (+math-flags): New, set to -frounding-math.
1778 (+cflags): Add +math-flags so that all of glibc gets compiled with
1779 it.
1780
1781 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1782
7b17aeda
JM
17832012-05-05 Joseph Myers <joseph@codesourcery.com>
1784
5779f134
JM
1785 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1786 Disable one test.
1787
41498f4d
JM
1788 [BZ #13787]
1789 [BZ #13922]
1790 [BZ #14036]
1791 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1792 (__ieee754_expl): Allow for and saturate large arguments.
1793 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1794 (u_threshold): Likewise.
1795 (__exp): Call __ieee754_exp before checking for overflow and
1796 underflow.
1797 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1798 (u_threshold): Likewise.
1799 (__expf): Call __ieee754_expf before checking for overflow and
1800 underflow.
1801 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1802 (u_threshold): Likewise.
1803 (__expl): Call __ieee754_expl before checking for overflow and
1804 underflow.
1805 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1806 (__ieee754_expl): Allow for and saturate large arguments.
1807 * math/libm-test.inc (exp_test): Add another test. Do not allow
1808 missing overflow exception on overflow.
1809 (expm1_test): Do not allow missing overflow exception on overflow.
1810
6698b8bf
JM
1811 * sysdeps/i386/fpu/e_expl.c: Move to ...
1812 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1813 rather than using inline asm.
1814 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1815 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1816 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1817
7b17aeda
JM
1818 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1819 (nice): Likewise.
1820 (poll): Likewise.
1821 (signal): Likewise.
1822 (time): Likewise.
1823 (times): Likewise.
1824
f7c85819
JM
18252012-05-04 Joseph Myers <joseph@codesourcery.com>
1826
1827 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1828 sysdeps/unix/common/syscalls.list.
1829 (fchmod): Likewise.
1830 (fchown): Likewise.
1831 (ftruncate): Likewise.
1832 (getrusage): Likewise.
1833 (gettimeofday): Likewise.
1834 (setpgid): Likewise.
1835 (setregid): Likewise.
1836 (setreuid): Likewise.
1837 (sigaction): Likewise.
1838 (truncate): Likewise.
1839 (vhangup): Likewise.
1840 * sysdeps/unix/common/syscalls.list: Remove file.
1841 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1842 * sysdeps/unix/sysv/linux/Implies: Likewise.
1843
336270d0
L
18442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1848 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1849 Moved to ...
1850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1851 Here.
1852 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1853 to ...
1854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1855 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1856 to ...
1857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1858 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1859 to ...
1860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1861 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1862 to ...
1863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1864 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1865 to ...
1866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1868 to ...
1869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1870 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1871 to ...
1872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1873 Here.
1874 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1875 to ...
1876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1877 Here.
1878 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1879 to ...
1880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1882 Moved to ...
1883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1884 Here.
1885 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1886 to ...
1887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1888
d128e450
JM
18892012-05-04 Joseph Myers <joseph@codesourcery.com>
1890
fa8ee516
JM
1891 * sysdeps/unix/common/bits/dirent.h: Remove file.
1892 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1893
d128e450
JM
1894 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1895 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1896 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1897 * sysdeps/unix/bsd/isatty.c: Likewise.
1898 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1899 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1900 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1901
ff8faaf0 19022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1903
62881be4 1904 [BZ #13563]
31dc8730
AZ
1905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1906 long double comparison inaccuracies.
1907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1909
6fef930c
AS
19102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1911
1912 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1914
8f203e6c
JM
19152012-05-04 Joseph Myers <joseph@codesourcery.com>
1916
1917 [BZ #14049]
1918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1919 nonzero digits before rounding a hex value.
1920 * stdlib/tst-strtod.c (tests): Add another test.
1921
5197d9c2
AK
19222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1923
1924 * sysdeps/s390/fpu/libm-test-ulps: Update.
1925
f0c1dedf
AJ
19262012-05-03 Andreas Jaeger <aj@suse.de>
1927
1928 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1929 does not get optimized out.
1930 (malloc_opt_barrier): New.
1931
a65ef2ae 19322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1933 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1934
2b942cb7 1935 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1936 intermediate file deletion.
2b942cb7 1937 (generated): Add .symlist files.
a65ef2ae 1938
54b71e02
JM
19392012-05-03 Joseph Myers <joseph@codesourcery.com>
1940
1941 [BZ #13775]
1942 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1943 Redirect under this condition.
1944 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1945 [__USE_GNU] (__dprintf_chk): Not under this condition.
1946 [__USE_GNU] (__vdprintf_chk): Likewise.
1947 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1948 under this condition.
1949 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1950 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1951 [__USE_XOPEN2K8] (vdprintf): Likewise.
1952 [__USE_GNU] (__dprintf_chk): Not under this condition.
1953 [__USE_GNU] (__vdprintf_chk): Likewise.
1954 [__USE_GNU] (dprintf): Likewise.
1955 [__USE_GNU] (vdprintf): Likewise.
1956
d3dfcc41
RM
19572012-05-03 Roland McGrath <roland@hack.frob.com>
1958
1959 * elf/Makefile (common-generated): Set this instead of generated for
1960 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1961 $(all-built-dso)-derived lists.
1962
7ac30cc5
AJ
19632012-05-03 Andreas Jaeger <aj@suse.de>
1964
0c51e550
AJ
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966
7ac30cc5
AJ
1967 * FAQ: Removed.
1968 * FAQ.in: Likewise.
1969 * scripts/gen-FAQ.pl: Likewise.
1970 * manual/install.texi (Installation): Point to online location of
1971 FAQ.
1972 * Makefile (files-for-dist): Remove FAQ.
1973 (FAQ): Remove.
1974
d4c2917f
AM
19752012-05-02 Allan McRae <allan@archlinux.org>
1976
1977 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1978 (LDFLAGS-reldepmod5.so): Likewise.
1979 (LDFLAGS-reldep6mod1.so): Likewise.
1980 (LDFLAGS-reldep6mod4.so): Likewise.
1981 (LDFLAGS-reldep8mod3.so): Likewise.
1982 (LDFLAGS-unload4mod1.so): Likewise.
1983 (LDFLAGS-unload4mod2.so): Likewise.
1984 (LDFLAGS-tst-initorder): Likewise.
1985 (LDFLAGS-tst-initordera2.so): Likewise.
1986 (LDFLAGS-tst-initordera3.so): Likewise.
1987 (LDFLAGS-tst-initordera4.so): Likewise.
1988 (LDFLAGS-tst-initorderb2.so): Likewise.
1989 (LDFLAGS-noload): Likewise.
1990 (LDFLAGS-next): Likewise.
1991 (LDFLAGS-order2mod1.so): Likewise.
1992 (LDFLAGS-order2mod2.so): Likewise.
1993 (LDFLAGS-tst-initorder2): Likewise.
1994 (LDFLAGS-tst-initorder2a.so): Likewise.
1995 (LDFLAGS-tst-initorder2b.so): Likewise.
1996 (LDFLAGS-tst-initorder2c.so): Likewise.
1997 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1998
d77f993f
DM
19992012-05-02 David S. Miller <davem@davemloft.net>
2000
2001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2002
171a70b4
PP
20032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2004
2005 [BZ #14055]
2006 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2007
0be196ad
AJ
20082012-05-02 Andreas Jaeger <aj@suse.de>
2009
2010 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2011 since we manipulate rounding mode.
2012 (CPPFLAGS-test-idouble.c): Likewise.
2013 (CPPFLAGS-test-ifloat.c): Likewise.
2014 (CFLAGS-test-ldouble.c): Likewise.
2015 (CFLAGS-test-double.c): Likewise.
2016 (CFLAGS-test-float.c): Likewise.
2017 (CFLAGS-test-misc.c): Likewise.
2018 (CFLAGS-test-test-fenv.c): Likewise.
2019
4f9d04aa
AZ
20202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021
2b942cb7
RM
2022 [BZ #2550]
2023 [BZ #2570]
2024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2025 comparisons to determine direction to adjust input.
4f9d04aa 2026
82a79e7d
RM
20272012-05-01 Roland McGrath <roland@hack.frob.com>
2028
f5a01ca9
RM
2029 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2030 output to the target.
2031
90fe4186
RM
2032 * scripts/localplt.awk: New file.
2033 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2034 (check-localplt-CFLAGS): Variable removed.
2035 ($(all-built-dso:=.jmprel)): New static pattern rule.
2036 (generated): Add those targets.
2037 (localplt-built-dso): New variable.
2038 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2039
2040 * elf/check-localplt.c: File removed.
2041
82397ed6
RM
2042 * scripts/check-execstack.awk: New file.
2043 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2044 (check-execstack-CFLAGS): Variable removed.
2045 ($(objpfx)check-execstack.h): Target removed.
2046 ($(objpfx)execstack-default): New target.
2047 (generated): Add that instead of check-execstack.h.
2048 ($(all-built-dso:=.phdr)): New static pattern rule.
2049 (generated): Add those targets.
2050 * elf/check-execstack.c: File removed.
2051
82a79e7d
RM
2052 * scripts/check-textrel.awk: New file.
2053 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2054 (check-textrel-CFLAGS): Variable removed.
2055 (all-built-dso): Use := to define.o
2056 ($(all-built-dso:=.dyn)): New static pattern rule.
2057 (generated): Add those targets.
2058 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2059 * config.make.in (READELF): New substituted variable.
2060 * elf/check-textrel.c: File removed.
2061
62fde54f 20622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2063
615605c9
JM
2064 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2065 allow.
2066 * conform/data/ctype.h-data [C99-based standards] (isblank):
2067 Expect function.
2068 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2069 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2071 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2072 Specify type. Require positive value.
2073 (EILSEQ): Likewise.
2074 (ERANGE): Likewise.
2075 [ISO || POSIX] (EILSEQ): Do not expect.
2076 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2077 Specify type. Require positive value.
2078 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2081 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2082 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2087 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2088 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2089 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2090 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2091 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2092 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2093 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2094 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2096 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2097 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2100 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2101 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2102 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2103 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2105 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2106 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2107 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2108 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2109 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2111 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2112 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2113 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2114 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2115 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2116 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2117 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2118 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2119 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2120 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2121 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2122 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2123 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2124 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2125 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2126 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2127 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2128 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2129 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2130 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2131 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2132 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2133 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2134 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2135 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2142 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2143 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2149 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2150 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2151 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2152 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2153 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2154 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2155 Require >= 2.
2156 (FLT_ROUNDS): Expect as macro, not constant.
2157 (FLT_MANT_DIG): Use macro-int-constant.
2158 (DBL_MANT_DIG): Likewise.
2159 (LDBL_MANT_DIG): Likewise.
2160 (FLT_DIG): Likewise.
2161 (DBL_DIG): Likewise.
2162 (LDBL_DIG): Likewise.
2163 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2164 (DBL_MIN_EXP): Likewise.
2165 (LDBL_MIN_EXP): Likewise.
2166 (FLT_MAX_EXP): Use macro-int-constant.
2167 (DBL_MAX_EXP): Likewise.
2168 (LDBL_MAX_EXP): Likewise.
2169 (FLT_MAX_10_EXP): Likewise.
2170 (DBL_MAX_10_EXP): Likewise.
2171 (LDBL_MAX_10_EXP): Likewise.
2172 (FLT_MAX): Use macro-constant.
2173 (DBL_MAX): Likewise.
2174 (LDBL_MAX): Likewise.
2175 (FLT_EPSILON): Use macro-constant. Give upper bound.
2176 (DBL_EPSILON): Likewise.
2177 (LDBL_EPSILON): Likewise.
2178 (FLT_MIN): Likewise.
2179 (DBL_MIN): Likewise.
2180 (LDBL_MIN): Likewise.
2181 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2182 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2183 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2184 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2185 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2186 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2187 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2188 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2189 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2190 [ISO11] (FLT_TRUE_MIN): Likewise.
2191 [ISO11] (LDBL_TRUE_MIN): Likewise.
2192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2193 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2194 (SCHAR_MIN): Use macro-int-constant. Specify type.
2195 (SCHAR_MAX): Likewise.
2196 (UCHAR_MAX): Likewise.
2197 (CHAR_MIN): Likewise.
2198 (CHAR_MAX): Likewise.
2199 (MB_LEN_MAX): Use macro-int-constant.
2200 (SHRT_MIN): Use macro-int-constant. Specify type.
2201 (SHRT_MAX): Likewise.
2202 (USHRT_MAX): Likewise.
2203 (INT_MAX): Likewise.
2204 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2205 bound negative.
2206 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2207 bound with "U".
2208 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2209 bound with "L".
2210 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2211 bound negative. Suffix upper bound with "L".
2212 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2213 bound with "UL".
2214 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2215 Specify type.
2216 [C99-based standards] (LLONG_MAX): Likewise.
2217 [C99-based standards] (ULLONG_MAX): Likewise.
2218 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2219 == 0.
2220 [ISO11] (max_align_t): Require type.
2221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2222
c9140a62
JM
2223 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2224 from $CFLAGS, without defining away __attribute__ calls.
2225 (checknamespace): Use $CFLAGS_namespace.
2226
9af0bf29
JM
2227 * conform/conformtest.pl (@keywords): Only include C99 keywords
2228 for standards based on C99 or C11.
2229
343222a2
JM
2230 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2231 Disable tests.
2232 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2233 UNIX98]: Likewise.
2234
661f8cf0
JM
2235 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2236 usability of symbols in #if.
2237
ee74b9cb
JM
2238 * conform/conformtest.pl: If macro or constant types start
2239 "promoted:", expect the symbol to be of the following type
2240 promoted by the integer promotions.
62fde54f 2241
aafc49b3
JM
2242 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2243 in one place. Also handle "macro-constant".
2244
fefdf574
JM
2245 * conform/conformtest.pl: Only accept expected macro values with
2246 "==". Parse all "macro" lines in one place.
2247 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2248
f2d922fe
JM
2249 * conform/conformtest.pl: Handle braced types on "constant" lines
2250 instead of handling "typed-constant".
2251 * conform/data/signal.h-data: Use "constant" instead of
2252 "typed-constant".
2253
d22956c9
JM
2254 * conform/conformtest.pl: Handle "optional-" at start of lines in
2255 one place rather than duplicating several cases. Handle each
2256 format of "macro" line with initial "optional-".
2257
028e2e38
JM
2258 * conform/conformtest.pl: Only accept expected constant or
2259 optional-constant values with "==". Parse all "constant" lines in
2260 one place. Parse all "optional-constant" lines in one place.
2261 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2262 * conform/data/fmtmsg.h-data: Likewise.
2263 * conform/data/netinet/in.h-data: Likewise.
2264 * conform/data/tar.h-data: Likewise.
2265 * conform/data/limits.h-data: Use "==" form on "constant" and
2266 "optional-constant" lines.
2267
1b8f2850
JM
2268 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2269 Use -std=c99 for XOPEN2K.
2270 (@knownproblems): Remove.
2271 (newtoken): Don't check %isknown.
2272
a05a144b
JM
2273 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2274 Do not expect macro.
2275 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2287 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2288 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2305 [XPG3] (acosh): Likewise.
2306 [XPG3] (asinh): Likewise.
2307 [XPG3] (atanh): Likewise.
2308 [XPG3] (cbrt): Likewise.
2309 [XPG3] (expm1): Likewise.
2310 [XPG3] (ilogb): Likewise.
2311 [XPG3] (log1p): Likewise.
2312 [XPG3] (logb): Likewise.
2313 [XPG3] (nextafter): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2316 [XPG3] (remainder): Likewise.
2317 [XPG3] (rint): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2325 [UNIX98 || XOPEN2K] (scalb): Expect.
2326 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2327 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2463
73c5ebe3
JM
2464 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2465 _XOPEN_SOURCE_EXTENDED for XPG4.
2466
39c33b6c
JM
2467 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2468
62fde54f
JM
2469 * Makeconfig (localtime): Remove variable.
2470 (inst_localtime-file): Likewise.
2471
0741d64c
AS
24722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2473
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2475 Update.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2477 Update.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2479 Update.
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2481 Update.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2483 Update.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2485 Update.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2487 Update.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2489 Update.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2491 Update.
2492
7cb029ee
JM
24932012-05-01 Joseph Myers <joseph@codesourcery.com>
2494
2495 [BZ #2550]
2496 [BZ #2570]
2497 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2498 comparisons to determine direction to adjust input.
2499 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2500 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2502 Likewise.
2503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2504 Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2506 Likewise.
2507 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2508 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2509 Likewise.
2510 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2511 Likewise.
2512 * math/libm-test.inc (nexttoward_test): Add more tests.
2513
412bd966
AS
25142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2515
2516 [BZ #14040]
2517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2518 in version GLIBC_2.1, not GLIBC_2.0.
2519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2520 Likewise.
2521
9568c0c2
JM
25222012-04-30 Joseph Myers <joseph@codesourcery.com>
2523
adfbc8ac
JM
2524 [BZ #13942]
2525 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2526 (1 - x) * (1 + x).
2527 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2528 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2529 * math/libm-test.inc (acos_test): Add more tests.
2530 (asin_test): Likewise.
2531 * sysdeps/i386/fpu/libm-test-ulps: Update.
2532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533
5ba3cc69
JM
2534 [BZ #14034]
2535 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2536 of square root.
2537 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2538 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2539 * math/libm-test.inc (acos_test_tonearest): New function.
2540 (acos_test_towardzero): Likewise.
2541 (acos_test_downward): Likewise.
2542 (acos_test_upward): Likewise.
2543 (asin_test_tonearest): Likewise.
2544 (asin_test_towardzero): Likewise.
2545 (asin_test_downward): Likewise.
2546 (asin_test_upward): Likewise.
2547 (main): Call the new functions.
2548 * sysdeps/i386/fpu/libm-test-ulps: Update.
2549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2550
9568c0c2
JM
2551 [BZ #13884]
2552 [BZ #13924]
2553 * math/e_exp10.c: Include <float.h>.
2554 (__ieee754_exp10): Handle underflow here rather than multiplying
2555 large negative argument by M_LN10.
2556 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2557 of __ieee754_expf.
2558 * math/e_exp10l.c: Include <float.h>.
2559 (__ieee754_exp10l): Handle underflow here rather than multiplying
2560 large negative argument by M_LN10l.
2561 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2562 spurious overflow exception on underflow.
2563
5ac3ea17
MP
25642012-04-29 Marek Polacek <polacek@redhat.com>
2565
2566 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2567 (__fortify_function): New macro.
2568 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2569 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2570 __extern_always_inline.
2571 * libio/bits/stdio2.h: Likewise.
2572 * libio/bits/stdio.h: Likewise.
2573 * string/string.h: Likewise.
2574 * string/bits/string3.h: Likewise.
2575 * include/stdio.h: Likewise.
2576 * stdlib/bits/stdlib.h: Likewise.
2577 * stdlib/stdlib.h: Likewise.
2578 * rt/bits/mqueue2.h: Likewise.
2579 * rt/mqueue.h: Likewise.
2580 * posix/bits/unistd.h: Likewise.
2581 * posix/unistd.h: Likewise.
2582 * io/bits/poll2.h: Likewise.
2583 * io/bits/fcntl2.h: Likewise.
2584 * io/fcntl.h: Likewise.
2585 * io/sys/poll.h: Likewise.
2586 * misc/bits/syslog.h: Likewise.
2587 * misc/bits/syslog-ldbl.h: Likewise.
2588 * misc/sys/syslog.h: Likewise.
2589 * socket/bits/socket2.h: Likewise.
2590 * socket/sys/socket.h: Likewise.
2591 * debug/tst-chk1.c: Likewise.
2592 * wcsmbs/bits/wchar2.h: Likewise.
2593 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2594 * wcsmbs/wchar.h: Likewise.
2595
ecf0ebfb
AJ
25962012-04-29 Andreas Jaeger <aj@suse.de>
2597
2598 * Makerules (tests): Remove enable-check-abi protection.
2599 (check-abi-warn): Remove.
2600 (check-abi-%): Remove check-abi-warn usage.
2601
2602 * configure.in: Remove check-abi configure option.
2603 * configure: Regenerated.
2604 * config.make.in (enable-check-abi): Remove.
2605
6d5c57fa
AS
26062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2607
24c5d07e 2608 [BZ #14033]
ded5180a
AS
2609 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2610 double functions to double *_finite functions.
2611
7e0d315d
AS
2612 [BZ #13941]
2613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2614 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2615 LDBL_MIN_EXP.
2616 * stdio-common/Makefile (tests): Add tst-sprintf3.
2617 * stdio-common/tst-sprintf3.c: New file.
2618
6d5c57fa
AS
2619 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2620 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2621
0749ff8b
JM
26222012-04-28 Joseph Myers <joseph@codesourcery.com>
2623
2624 * conform/conformtest.pl: Remove duplicate typed-constant
2625 handling.
2626
8dbd5d7b
DM
26272012-04-28 David S. Miller <davem@davemloft.net>
2628
2629 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2630 (check-abi-%): Remove AWK script prerequisite and explicit
2631 abilist directory.
2632 (check-abi): Rewrite to just diff the symlist with the abilist.
2633 (config-tls, config-abi-config): Delete, no longer used.
2634 (update-abi-%): Remove AWK script and explicit abilist directory.
2635 (update-abi): Rewrite to simply compare and conditionally copy the
2636 symlist and the sysdep abilist file. Remove update-abi-config
2637 checks.
2638 * abilist/ld.abilist: Remove.
2639 * abilist/libBrokenLocale.abilist: Remove.
2640 * abilist/libanl.abilist: Remove.
2641 * abilist/libcrypt.abilist: Remove.
2642 * abilist/libdl.abilist: Remove.
2643 * abilist/librt.abilist: Remove.
2644 * abilist/libthread_db.abilist: Remove.
2645 * abilist/libutil.abilist: Remove.
2646 * scripts/extract-abilist.awk: Remove.
2647 * scripts/merge-abilist.awk: Remove.
2648 * sysdeps/generic/libcidn.abilist: New file.
2649 * sysdeps/generic/libnss_compat.abilist: New file.
2650 * sysdeps/generic/libnss_db.abilist: New file.
2651 * sysdeps/generic/libnss_dns.abilist: New file.
2652 * sysdeps/generic/libnss_files.abilist: New file.
2653 * sysdeps/generic/libnss_hesiod.abilist: New file.
2654 * sysdeps/generic/libnss_nis.abilist: New file.
2655 * sysdeps/generic/libnss_nisplus.abilist: New file.
2656 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2657 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2658 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2659 file.
2660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2661 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2662 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2663 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2664 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2665 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2666 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2667 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2668 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2669 file.
2670 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2671 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2672 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2673 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2674 file.
2675 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2676 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2677 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2679 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2680 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2681 file.
2682 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2683 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2684 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2685 file.
2686 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2688 New file.
2689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2690 New file.
2691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2692 New file.
2693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2694 New file.
2695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2696 New file.
2697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2700 New file.
2701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2702 New file.
2703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2704 New file.
2705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2706 New file.
2707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2708 New file.
2709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2710 New file.
2711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2712 New file.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2714 file.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2716 New file.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2718 New file.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2720 file.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2722 New file.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2724 New file.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2726 file.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2728 New file.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2730 New file.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2732 New file.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2734 New file.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2736 New file.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2738 New file.
2739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2741 file.
2742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2743 New file.
2744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2745 file.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2747 file.
2748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2749 file.
2750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2751 file.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2753 file.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2755 New file.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2757 file.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2759 file.
2760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2761 New file.
2762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2763 file.
2764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2766 file.
2767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2768 New file.
2769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2770 file.
2771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2772 file.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2774 file.
2775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2776 file.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2778 file.
2779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2780 New file.
2781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2782 file.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2784 file.
2785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2786 New file.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2788 file.
2789 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2790 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2791 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2792 file.
2793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2794 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2795 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2796 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2797 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2798 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2799 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2800 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2801 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2802 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2805 file.
2806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2807 New file.
2808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2809 file.
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2811 file.
2812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2813 file.
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2815 file.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2817 file.
2818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2819 New file.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2821 New file.
2822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2823 file.
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2825 New file.
2826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2827 file.
2828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2830 file.
2831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2832 New file.
2833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2834 file.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2836 file.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2838 file.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2840 file.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2842 file.
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2844 New file.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2846 New file.
2847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2848 file.
2849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2850 New file.
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2852 file.
2853
41d73a1b
JM
28542012-04-28 Joseph Myers <joseph@codesourcery.com>
2855
2856 * conform/conformtest.pl: Fix typo in handling typed-constant from
2857 allow-header.
2858
28aeeda4
JM
28592012-04-27 Joseph Myers <joseph@codesourcery.com>
2860
adae8f5e
JM
2861 * README: Cut down references to pre-2.6 Linux kernels and
2862 Linuxthreads. Update lists of configurations in libc and ports
2863 and sort alphabetically. Say "or newer" with Linux kernel version
2864 requirements.
2865
28aeeda4
JM
2866 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2867
a462cb63
RA
28682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2869
2870 [BZ #887]
2871 * math/libm-test.inc (logb_test_downward): New test to expose
2872 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2873 rounding mode.
2874
6ad3493e
JM
28752012-04-27 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #14027]
2878 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2879 to be done.
2880 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2881 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2882
2ce4f015
JM
28832012-04-26 Joseph Myers <joseph@codesourcery.com>
2884
5aeb141a
JM
2885 * sysdeps/unix/i386/brk.S: Remove file.
2886 * sysdeps/unix/i386/dl-brk.S: Likewise.
2887 * sysdeps/unix/i386/pipe.S: Likewise.
2888 * sysdeps/unix/i386/sigreturn.S: Likewise.
2889 * sysdeps/unix/i386/syscall.S: Likewise.
2890 * sysdeps/unix/i386/vfork.S: Likewise.
2891 * sysdeps/unix/i386/wait.S: Likewise.
2892
7143acae
JM
2893 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2894 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2895
2ce4f015
JM
2896 * configure.in (arm*-none*): Do not allow without
2897 --enable-hacker-mode.
2898 (netbsd*): Remove case setting base_os.
2899 (386bsd*): Likewise.
2900 (freebsd*): Likewise.
2901 (bsdi*): Likewise.
2902 (osf*): Likewise.
2903 (sunos*): Likewise.
2904 (ultrix*): Likewise.
2905 (newsos*): Likewise.
2906 (dynix*): Likewise.
2907 (*bsd*): Likewise.
2908 (sysv*): Likewise.
2909 (isc*): Likewise.
2910 (esix*): Likewise.
2911 (sco*): Likewise.
2912 (minix*): Likewise.
2913 (irix4*): Likewise.
2914 (irix6*): Likewise.
2915 (solaris[2-9]*): Likewise.
2916 (none): Likewise.
2917 * configure: Regenerated.
2918
0ac229c8
AZ
29192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2920
2921 [BZ #11521]
2922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2923 overflow or cancellation in calculating denominator.
2924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2926 down expression to avoid unexpected rounding in newer GCCs.
2927 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2928
33f244f4
DM
29292012-04-26 David S. Miller <davem@davemloft.net>
2930
2931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2932 long-double compat symbols.
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2946
cfa1f3e8
DM
29472012-04-25 David S. Miller <davem@davemloft.net>
2948
2949 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2950 HWCAP_* values only after the memory barriers have been defined.
2951 (atomic_full_barrier): Define.
2952 (atomic_read_barrier): Define.
2953 (atomic_write_barrier): Define.
2954
6e236b92
SP
29552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 * shlib-versions: Add libgcc_s version information.
2958 * sysdeps/generic/libgcc_s.h: Remove.
2959 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2960 libgcc_s.h.
2961 * sysdeps/gnu/unwind-resume.c: Likewise.
2962 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2963
aab39a09
DM
29642012-04-25 David S. Miller <davem@davemloft.net>
2965
2966 * sysdeps/unix/sparc/brk.S: Delete.
2967 * sysdeps/unix/sparc/dl-brk.S: Delete.
2968 * sysdeps/unix/sparc/pipe.S: Delete.
2969 * sysdeps/unix/sparc/sysdep.S: Delete.
2970 * sysdeps/unix/sparc/sysdep.h: Delete.
2971 * sysdeps/unix/sparc/vfork.S: Delete.
2972 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2973 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2974 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2975 ret_ERRVAL, r0, r1, MOVE): Define.
2976 (JUMPTARGET): Remove.
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2978 sysdeps/unix/sparc/sysdep.h
2979 (ENTRY, END): Remove.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2981
a3cc4f48
JM
29822012-04-25 Joseph Myers <joseph@codesourcery.com>
2983
2ed8cda2
JM
2984 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2985 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2986 -DIS_IN_build.
2987
35d76d59
JM
2988 * timezone/README: Update upstream location and email address for
2989 tzcode and tzdata.
2990 * timezone/zdump.c: Update from tzcode 2012b.
2991 * timezone/zic.c: Likewise.
2992
a3cc4f48
JM
2993 * configure.in (libc_cv_as_needed): Remove test.
2994 * configure: Regenerated.
2995 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2996 conditional definition.
2997 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2998 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2999 * config.make.in (have-as-needed): Remove variable.
3000
ceab42c3
SP
30012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3002 Paul Pluzhnikov <ppluzhnikov@google.com>
3003
3004 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3005 strings correctly.
3006
3ce2865f
CLT
30072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3008
3009 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3010 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3011 * sysdeps/sh/strlen.S: Likewise.
3012
f37e0d68
JM
30132012-04-24 Joseph Myers <joseph@codesourcery.com>
3014
ae186e9a
JM
3015 * sysdeps/unix/fork.S: Remove file.
3016 * sysdeps/unix/i386/fork.S: Likewise.
3017 * sysdeps/unix/sparc/fork.S: Likewise.
3018
b96914af
JM
3019 * sysdeps/unix/system.c: Remove file.
3020 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3021
f37e0d68
JM
3022 * sysdeps/unix/getegid.S: Remove file.
3023 * sysdeps/unix/geteuid.S: Likewise.
3024
87ef29ca
RM
30252012-04-24 Roland McGrath <roland@hack.frob.com>
3026
83bcd236
RM
3027 * scripts/check-localplt.awk: New file.
3028 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3029 of diff.
3030 * scripts/data/localplt-generic.data: Add a comment.
3031
87ef29ca
RM
3032 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3033 NODE when __dir_mkfile failed.
3034 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3035 Reported by Ludovic Courtès <ludo@gnu.org>.
3036
e5a6e567
AJ
30372012-04-24 Andreas Jaeger <aj@suse.de>
3038
3039 * Makerules (common-clean): Also remove gen-as-const-headers
3040 files.
3041
c1820385
JM
30422012-04-24 Joseph Myers <joseph@codesourcery.com>
3043
3044 * Makerules (native-compile): Do not change working directory for
3045 build. Use $(OUTPUT_OPTION) in command.
3046 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3047
94e02fc4
AZ
30482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3049
3050 [BZ #13886]
3051 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3052 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3053 * math/libm-test.inc (floor_test): Add more tests.
3054 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3055
3a533ca3
JM
30562012-04-24 Joseph Myers <joseph@codesourcery.com>
3057
940ab4b3
JM
3058 * sysdeps/unix/getdents.c: Remove file.
3059 * sysdeps/unix/sysv/getdents.c: Likewise.
3060 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3061
90e037bd
JM
3062 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3063 sysdeps/unix/mman/syscalls.list.
3064 (mmap): Likewise.
3065 (mprotect): Likewise.
3066 (msync): Likewise.
3067 (munmap): Likewise.
3068 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3069 * sysdeps/unix/mman/syscalls.list: Remove.
3070 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3071
3a533ca3
JM
3072 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3073 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3074 * configure: Regenerated.
3075 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3076 $(libgcc_s_suffix).
3077 * config.make.in (libgcc_s_suffix): Remove variable.
3078
1ad743de
JM
30792012-04-23 Joseph Myers <joseph@codesourcery.com>
3080
4ad451e2
JM
3081 * sysdeps/unix/sysv/gethostname.c: Move to ...
3082 * sysdeps/posix/gethostname.c: ... here.
3083
5e37ce39
JM
3084 * sysdeps/unix/execve.S: Remove file.
3085
1ad743de
JM
3086 * sysdeps/unix/_exit.S: Remove file.
3087
4e681b5b
AJ
30882012-04-23 Andreas Jaeger <aj@suse.de>
3089
3090 [BZ #13739]
3091 * manual/Makefile: Remove make dist support, there's no
3092 need for a stand-alone documentation tar ball.
3093 (TEXI2DVI): Define always, it's not in Makeconfig.
3094 (dist): Removed.
3095 (tar-it): Removed.
3096 (edition): Removed.
3097 (glibc-doc-$(edition).tar): Removed
3098 (%.Z): Removed.
3099 (%.gz): Removed.
3100 (%.uu): Removed.
3101 (ETAGS): Remove, it's in Makeconfig.
3102 (move-if-change): Remove, it's in Makeconfig.
3103
c0baea34
PE
31042013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 [BZ #13970]
3107 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3108 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3109 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3110 (strtod_l, strtof_l, strtold_l): Remove __wur.
3111 It is not necessarily an error to ignore strtol's return value.
3112 One can reliably look at the stored endptr to decide whether
3113 the number had valid syntax.
3114
7c0616fa
AJ
31152012-04-21 Andreas Jaeger <aj@suse.de>
3116
803cb6b7 3117 [BZ #13739]
7c0616fa
AJ
3118 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3119
b0fe253f
JM
31202012-04-21 Joseph Myers <joseph@codesourcery.com>
3121
3122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3123 * sysdeps/unix/sysv/Versions: Remove file.
3124
8280f22d
MT
31252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3126
3127 [BZ #13927]
3128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3129
75ce411f 31302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3131
3132 [BZ #7064]
3133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3134 version from __vm86.
3135
097d59fa
JM
31362012-04-20 Joseph Myers <joseph@codesourcery.com>
3137
a90f3bcb
JM
3138 * sysdeps/unix/common/lxstat.c: Remove file.
3139 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3140
edc7ea78
JM
3141 * sysdeps/unix/sysv/Makefile: Remove file.
3142
cb78c221
JM
3143 * sysdeps/unix/sysv/direct.h: Remove file.
3144
efa6a45f
JM
3145 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3146 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3147 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3148 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3149 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3150 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3151 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3152
9c9f2d0c
JM
3153 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3154
4541c83b
JM
3155 * sysdeps/unix/xmknod.c: Remove file.
3156 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3157
f5d153a0
JM
3158 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3159
aa746595
JM
3160 * sysdeps/unix/sysv/i386/time.S: Remove file.
3161
cce5905e
JM
3162 * sysdeps/unix/fxstat.c: Remove file.
3163 * sysdeps/unix/xstat.c: Likewise.
3164 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3165
37fa3841
JM
3166 * sysdeps/unix/sysv/sigaction.c: Remove file.
3167
ff1962a3
JM
3168 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3169 (sysdep_headers): Remove variable.
3170 [termio.h not in sysdep_headers] (generated): Likewise.
3171 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3172 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3173 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3174 * sysdeps/unix/sysv/tcflow.c: Likewise.
3175 * sysdeps/unix/sysv/tcflush.c: Likewise.
3176 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3177 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3178 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3179 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3180 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3181
e7740d31
JM
3182 * sysdeps/unix/siglist.c: Remove file.
3183
ee06f18b
JM
3184 * sysdeps/unix/getppid.S: Remove file.
3185
097d59fa
JM
3186 * sysdeps/unix/mkdir.c: Remove file.
3187 * sysdeps/unix/rmdir.c: Likewise.
3188
ff3d51ec
AS
31892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3190
3191 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3192 ERR_MAX value.
3193 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3194 errlist-compat value.
3195
50f81fd7
DM
31962012-04-18 David S. Miller <davem@davemloft.net>
3197
3198 * sysdeps/generic/memcopy.h (reg_char): Delete.
3199 * debug/strcat_chk.c: Use char, not reg_char.
3200 * debug/strcpy_chk.c: Likewise.
3201 * debug/strncat_chk.c: Likewise.
3202 * debug/strncpy_chk.c: Likewise.
3203 * string/memchr.c: Likewise.
3204 * string/memrchr.c: Likewise.
3205 * string/rawmemchr.c: Likewise.
3206 * string/strcat.c: Likewise.
3207 * string/strchr.c: Likewise.
3208 * string/strchrnul.c: Likewise.
3209 * string/strcmp.c: Likewise.
3210 * string/strcpy.c: Likewise.
3211 * string/strncat.c: Likewise.
3212 * string/strncmp.c: Likewise.
3213 * string/strncpy.c: Likewise.
3214
8ff41c46
WS
32152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3216
3217 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3218 __builtin_memcopy is called when src and dest ranges are known to not
3219 overlap.
3220
6b652f46
WS
32212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3222
3223 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3224 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3225 fwd_align_merge macro call.
3226 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3227 bwd_align_merge macro call.
3228 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3229
b282631e
WS
32302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3231
3232 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3233 bwd_align_merge macros.
3234 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3235 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3237
95aa737c
DM
32382012-04-18 David S. Miller <davem@davemloft.net>
3239
3240 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3241
7a99a614
AJ
32422012-04-18 Andreas Jaeger <aj@suse.de>
3243
3244 [BZ# 6794]
3245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3248
3249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3250 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3252
3253 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3254 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3255 Adjust for changed ldbl-128 files.
3256
3257 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3258 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3259 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3260
e5270c23
DM
32612012-04-17 David S. Miller <davem@davemloft.net>
3262
3263 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3264
fb5e92c9
AS
32652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3266
3267 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3268 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3269 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3270 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3271 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3272 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3273
76da7265
AZ
32742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275
3276 [BZ #6794]
3277 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3278 * math/libm-test.inc: Add ilogb errno and exception tests.
3279 * math/w_ilogb.c: New file: ilogb wrapper.
3280 * math/w_ilogbf.c: New file: ilogbf wrapper.
3281 * math/w_ilogbl.c: New file: ilogbl wrapper.
3282 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3283 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3284 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3285 exception being thrown with 0.0 as argument.
3286 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3287 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3288 exception being thrown with 0.0 as argument.
3289 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3290 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3291 exception being thrown with 0.0 as argument.
3292 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3293 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3294 exception being thrown with 0.0 as argument.
3295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3296 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3297 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3298 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3300 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3301 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3302 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3303 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3304
0396e69d
PB
33052012-04-17 Petr Baudis <pasky@ucw.cz>
3306
3307 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3308 with altivec.
3309
750b5926
MP
33102012-04-16 Marek Polacek <polacek@redhat.com>
3311
3312 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3313
751728a1
MP
33142012-04-16 Marek Polacek <polacek@redhat.com>
3315
3316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3317 operands of fdivp instruction.
3318
34a27407
L
33192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3320
3321 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3322 * elf/tst-auditmod3b.c: Likewise.
3323 * elf/tst-auditmod4b.c: Likewise.
3324 * elf/tst-auditmod5b.c: Likewise.
3325 * elf/tst-auditmod6b.c: Likewise.
3326 * elf/tst-auditmod6c.c: Likewise.
3327 * elf/tst-auditmod7b.c: Likewise.
3328 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3329 * sysdeps/x86_64/preconfigure.in: Likewise.
3330 * sysdeps/x86_64/preconfigure: Regenerated.
3331
7e73e17d
L
33322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3335 __ILP32__.
3336
c7a6ab72
AB
33372012-04-13 Antoine Balestrat <merkil33@gmail.com>
3338
3339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3340 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3341
a9e8e0e0
CL
33422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3343
3344 [BZ #13973]
3345 * locale/iso-639.def: Fix gl language name. Spotted by
3346 Yaron Shahrabani.
3347
ec98af7d
RM
33482012-04-12 Roland McGrath <roland@hack.frob.com>
3349
3350 [BZ #2074]
3351 * libio/libio.h (__io_write_fn): Update comment.
3352
247c3ede
PB
33532012-04-12 Petr Baudis <pasky@ucw.cz>
3354
3355 [BZ #2074]
3356 * stdio.texi (Hook Functions): The user provided writer function
3357 is not allowed to return -1.
3358
55939d6d
DM
33592012-04-11 David S. Miller <davem@davemloft.net>
3360
3361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3362
90020f5a
MF
33632012-04-11 Mike Frysinger <vapier@gentoo.org>
3364
3365 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3366 Add a leading slash to rtkaio.
3367
288f9098
JM
33682012-04-11 Jim Meyering <meyering@redhat.com>
3369
90020f5a
MF
3370 [BZ #11959]
3371 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3372 It is not necessarily an error to ignore fwrite's return
3373 value. One can reliably use ferror to test for errors after
3374 the fact.
288f9098 3375
4be2b570
L
33762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 * bits/types.h (__snseconds_t): New type.
3379 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3380
3381 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3383 (__SNSECONDS_T_TYPE): Likewise.
3384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3385 (__SNSECONDS_T_TYPE): Likewise.
3386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3387 (__SNSECONDS_T_TYPE): Likewise.
3388
288f9098 33892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3390
3391 [BZ #2636]
3392 * manual/time.texi (Processor Time): Return type of times is
3393 elapsed real time since an arbitrary point in the past.
3394 (CPU Time): Move CLK_TCK from here...
3395 (Processor Time): ...to here. Correct description.
3396 * manual/conf.texi (Constants for Sysconf): Correct description of
3397 _SC_CLK_TCK.
3398
d7dd4413
DM
33992012-04-10 David S. Miller <davem@davemloft.net>
3400
3401 [BZ #13967]
3402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3403 where the is a gap between DT_REL(A) and DT_JMPREL.
3404
b46068fc
L
34052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3408 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3409 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3410
73d65cc3
SP
34112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3412
3413 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3414 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3415 (dl_main): Handle --inhibit-cache.
3416 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3417 _dl_inhibit_cache.
3418 * elf/dl-load.c (_dl_map_object): Use it.
3419 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3420
bcc8d661
JM
34212012-04-09 Joseph Myers <joseph@codesourcery.com>
3422
8f9a2fae
JM
3423 [BZ #13872]
3424 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3425 (__ieee754_powl): Saturate large exponents rather than testing for
3426 overflow of y*log2(x).
3427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3428 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3429 exceptions.
3430
bcc8d661
JM
3431 [BZ #11521]
3432 * math/s_ctan.c: Include <float.h>.
3433 (__ctan): Avoid internal overflow or cancellation in calculating
3434 denominator.
3435 * math/s_ctanf.c: Likewise.
3436 * math/s_ctanl.c: Likewise.
3437 * math/s_ctanh.c: Likewise.
3438 * math/s_ctanhf.c: Likewise.
3439 * math/s_ctanhl.c: Likewise.
3440 * math/libm-test.inc (ctan_test): Add more tests.
3441 (ctanh_test): Likewise.
3442 * sysdeps/i386/fpu/libm-test-ulps: Update.
3443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3444
823fbbb4
AJ
34452012-04-09 Andreas Jaeger <aj@suse.de>
3446
03879793
AJ
3447 [BZ #6894]
3448 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3449 is an optional BSD extension.
3450
823fbbb4
AJ
3451 [BZ #10254]
3452 * manual/stdio.texi (Opening Streams): Document additional fopen
3453 parameters.
3454
8de131cb
RM
34552012-04-09 Roland McGrath <roland@hack.frob.com>
3456
3457 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3458 %eax without telling the compiler.
3459
c0ed9d7d
CD
34602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3461
3462 [BZ # 13963]
3463 * manual/install.texi: Use sourceware.org.
3464
c483f6b4
JM
34652012-04-09 Joseph Myers <joseph@codesourcery.com>
3466
d7dd9453
JM
3467 [BZ #13873]
3468 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3469 (__ieee754_pow): Generate overflow and underflow using huge*huge
3470 and tiny*tiny rather than just returning constant infinity or zero
3471 for large exponents.
3472 * math/libm-test.inc (pow_test): Require overflow exceptions for
3473 applicable cases of large exponents.
3474
c483f6b4
JM
3475 [BZ #706]
3476 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3477 (__ieee754_pow): Use iterative multiplication algorithm only for
3478 integer exponents with absolute value below 1024. Check for odd
3479 integer exponents when using algorithm for real exponents.
3480 * math/libm-test.inc (pow_test): Add more tests.
3481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3482
d2de7579
JM
34832012-04-08 Joseph Myers <joseph@codesourcery.com>
3484
3485 [BZ #13705]
3486 * math/libm-test.inc (exp_test): Do not allow overflow exception
3487 on underflow test.
3488
f77f1232
AJ
34892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3490
3491 [BZ #13705]
3492 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3493 instead of __kernel_standard_f.
3494
3884932b
MF
34952012-04-08 Mike Frysinger <vapier@gentoo.org>
3496
3497 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3498 * sysdeps/x86_64/memset_chk.S: Likewise.
3499
54472e9c
AJ
35002012-04-08 Andreas Jaeger <aj@suse.de>
3501
6ab0fbfc
AJ
3502 [BZ #10153]
3503 * manual/startup.texi (Environment Access): Describe return value
3504 for putenv and setenv.
3505
61efba8c
AJ
3506 [BZ #6895]
3507 * manual/filesys.texi (Directory Entries): Add description for
3508 DT_LNK.
3509
95c3f29a
AJ
3510 [BZ #6890]
3511 * manual/filesys.texi (Directory Entries): Clarify that it's file
3512 system not operating system in the description of DT_UNKNOWN.
3513
54472e9c
AJ
3514 [BZ #6578]
3515 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3516
624254b1
SC
35172012-04-08 Stephen Compall <s11@member.fsf.org>
3518
3519 [BZ #6649]
3520 * manual/llio.texi (Opening and Closing Files): Add cross
3521 reference to explain mode argument.
3522
1e4920e0
MF
35232012-04-07 Mike Frysinger <vapier@gentoo.org>
3524
3525 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3526 * sysdeps/x86_64/memset_chk.S: Likewise.
3527
5ed848f3
DM
35282012-04-07 David S. Miller <davem@davemloft.net>
3529
3530 * elf/elf.h (R_SPARC_WDISP10): Define.
3531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3532 R_SPARC_SIZE32.
3533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3534 R_SPARC_SIZE64 and R_SPARC_H34.
3535
96154cd8
CD
35362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3537
3538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3539 conditions and remove no longer applicable assertion.
3540
9904dc47
L
35412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 * bits/byteswap.h: Include <features.h>.
3544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3546
f8887d0a
L
35472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * bits/byteswap.h (__bswap_16): Removed.
3550 Include <bits/byteswap-16.h> to get __bswap_16.
3551 * sysdeps/i386/bits/byteswap.h: Likewise.
3552 * sysdeps/s390/bits/byteswap.h: Likewise.
3553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3554 * bits/byteswap-16.h: New file.
3555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3556 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3557 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3558 * string/Makefile (headers): Add bits/byteswap-16.h.
3559
62470f60
PP
35602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3561
3562 [BZ #13895]
3563 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3564 extra indirection.
3565 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3566 * nss/tst-nss-static.c: New.
3567
4dad7bab
RM
35682012-04-06 Robert Millan <rmh@gnu.org>
3569
3570 [BZ #6486]
3571 * manual/llio.texi (File Position Primitive): lseek
3572 refers to WHENCE when it really means OFFSET.
3573
e9142a17
AJ
35742012-04-06 Andreas Jaeger <aj@suse.de>
3575
2c040eff
AJ
3576 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3577 strncmp declarations.
3578
e9142a17
AJ
3579 * abilist/libc.abilist: Add __poll and __ppoll.
3580
ff9f1c5f
DM
35812012-04-05 David S. Miller <davem@davemloft.net>
3582
dcd2ae90
DM
3583 * scripts/check-local-headers.sh: Accept a host triplet in the
3584 path matched by the exclude regexp.
3585
993eb054
DM
3586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3587 definition.
3588 * sysdeps/powerpc/powerpc32/dl-machine.h
3589 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3590 * sysdeps/s390/s390-32/dl-machine.h
3591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3592 * sysdeps/sparc/sparc32/dl-machine.h
3593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3594 * sysdeps/sparc/sparc64/dl-machine.h
3595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3596
ff9f1c5f
DM
3597 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3598 lazy binding.
48e2e132 3599 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3600 undefined symbol errors.
3601
48e2e132 3602 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3603 DT_NEEDED entries.
3604
e80d6f94
MM
36052012-04-05 Michael Matz <matz@suse.de>
3606
3607 [BZ #13592]
3608 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3609
349fa79f
AJ
36102012-04-05 Andreas Jaeger <aj@suse.de>
3611
3612 [BZ #13908]
3613 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3614 comment.
3615
f402708f
KK
36162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3617
3618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3619 which ROUND is no valid rounding mode.
3620
2ecccfc9
KK
36212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3622
3623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3624 read again.
3625 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3626
8a53f50f
KK
36272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3628
3629 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3630 an exception using FPU order intentionally.
3631
36322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3633
3634 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3635 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3636 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3637 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3638
d653abb7
SJ
36392012-04-05 Simon Josefsson <simon@josefsson.org>
3640
3641 [BZ #12340]
3642 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3643 EINVAL when BUFLEN is too smal.
3644
c3b1bf7d
TS
36452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3646
3647 [BZ #13553]
3648 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3649 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3650
b1aa60f3
AJ
36512012-04-03 Andreas Jaeger <aj@suse.de>
3652
c3b1bf7d 3653 [BZ #13938]
67f60a26
AJ
3654 * manual/setjmp.texi (System V contexts): Fix sentence.
3655
b1aa60f3
AJ
3656 [BZ #13926]
3657 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3658 New macro for this case.
3659 [!__GNUC__] (__bswap_64): New inline function for this case.
3660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3661 * bits/byteswap.h: Likewise.
3662 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3663 ull, guard with __GLIBC_HAVE_LONG_LONG.
3664
3665 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3666 __GLIBC_HAVE_LONG_LONG.
3667
3668 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3669 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3670
39c59c35
TMQMF
36712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3672
3673 [BZ #13691]
3674 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3675 inptr and inend, rather than using last_ch.
3676
135ffda8
DM
36772012-04-02 David S. Miller <davem@davemloft.net>
3678
3679 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3680 * stdio-common/printf-parse.h (read_int): Change return type to
3681 'int', return -1 on INT_MAX overflow.
3682 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3683 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3684 overflows INT_MAX. Check for overflow of in-format-string precision
3685 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3686 SIZE_MAX not INT_MAX for integer overflow test.
3687 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3688 skip the construct in the format string but do not record anything.
3689 * stdio-common/bug22.c: Adjust to test both width/prevision
3690 INT_MAX overflow as well as total length INT_MAX overflow. Check
3691 explicitly for proper errno values.
3692
228c019e
TS
36932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3694
302cadd3
TS
3695 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3696 CHAR_MAX.
3697 * string/test-strcmp.c [! WIDE]: Likewise.
3698 * time/tst-mktime2.c: Likewise for INT_MAX.
3699 * string/test-string.h: #include <sys/param.h> for MIN.
3700
228c019e
TS
3701 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3702 * sysdeps/i386/init-first.c (init): Likewise.
3703 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3704 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3705 * sysdeps/sh/init-first.c (init): Likewise.
3706
cfa633f5
UD
37072012-04-01 Ulrich Drepper <drepper@gmail.com>
3708
3709 * po/ru.po: Update from translation team.
d1635ef8 3710 * po/vi.po: Likewise.
cfa633f5 3711
6cd0a5ea
SP
37122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 * resolv/nss_dns/dns-host.c: Merge copyright years.
3715
4b43400f
LD
37162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3717
3718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3719 Optimize memcpy with prefetch if
3720 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3721 src, dst pointers have unequal 16 byte alignments.
3722
48c41d04
SP
37232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3724
3725 [BZ #13928]
3726 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3727 from a CNAME entry and return the minimum ttl for the query.
3728 (gaih_getanswer_slice): Likewise.
3729
b8dc394d
JL
37302012-03-30 Jeff Law <law@redhat.com>
3731
3732 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3733 due to long keys.
3734 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3735 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3736
2f5a5ed0
JL
3737 * resolv/nss_dns/dns-host.c: Update copyright year.
3738
1d39e359
UD
37392012-03-30 Ulrich Drepper <drepper@gmail.com>
3740
c030f70c 3741 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3742 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3743
1d39e359
UD
3744 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3745 comments for sendmmsg.
3746
37472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3748
3749 [BZ #13691]
3750 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3751 with only 1 character between 0x0041 and 0x01b0.
3752 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3753 * wcsmbs/tst-mbsnrtowcs.c: New file.
3754
20fde227
DM
37552012-03-29 David S. Miller <davem@davemloft.net>
3756
3757 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3758 small copies by hand.
3759
984a4237
JL
37602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
3762 [BZ #13761]
3763 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3764 _nss_compat_initgroups_dyn): Fall back to malloc/free
3765 for large group memberships.
3766
18c9d62b
DM
37672012-03-28 David S. Miller <davem@davemloft.net>
3768
88d85d4f
DM
3769 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3770 that branches into memcpy.
3771 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3774 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3776 bits.
3777 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3778 implementation too.
3779 * sysdeps/sparc/mempcpy.S: New file.
3780
e5aa83e1
DM
3781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3782 the IFUNC routine in the libc case.
3783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3784
88570753
DM
3785 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3786 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3787 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3788 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3789 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3790 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3791 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3792 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3793
249d7567
DM
3794 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3795 loop to 256 bytes instead of 64 bytes and fix test signedness.
3796
18c9d62b
DM
3797 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3798 * sysdeps/sparc/sparc32/Makefile: rather than here...
3799 * sysdeps/sparc/sparc64/Makefile: and here.
3800
05f3d1f6
UD
38012012-03-28 Ulrich Drepper <drepper@gmail.com>
3802
3803 * malloc/mallocbug.c: Avoid warnings about unused variables.
3804
86ae07a8
JL
38052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
3807 [BZ #13760]
3808 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3809 in the right place. Discard and retry query if response is
3810 larger than input buffer size.
3811
41bf21a1
JM
38122012-03-28 Joseph Myers <joseph@codesourcery.com>
3813
d6270972
JM
3814 [BZ #369]
3815 [BZ #2678]
3816 [BZ #3866]
3817 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3818 x for large integer exponent.
3819 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3820 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3821 sign of result as needed afterwards.
3822 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3823 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3824 result for underflowing pow the same as for overflow.
3825 (__kernel_standard_l): Handle powl overflow and underflow here
3826 rather than calling __kernel_standard.
3827 * math/libm-test.inc (pow_test): Add more tests.
3828
414fca03 3829 [BZ #3868]
41bf21a1
JM
3830 [BZ #13879]
3831 [BZ #13910]
3832 [BZ #13911]
3833 [BZ #13912]
3834 [BZ #13913]
3835 [BZ #13915]
3836 [BZ #13916]
3837 [BZ #13917]
3838 [BZ #13918]
3839 [BZ #13919]
3840 [BZ #13920]
3841 [BZ #13921]
3842 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3843 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3844 (__kernel_standard_l): New function.
3845 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3846 __kernel_standard.
3847 * math/w_acosl.c (__acosl): Likewise.
3848 * math/w_asinl.c (__asinl): Likewise.
3849 * math/w_atan2l.c (__atan2l): Likewise.
3850 * math/w_atanhl.c (__atanhl): Likewise.
3851 * math/w_coshl.c (__coshl): Likewise.
3852 * math/w_exp10l.c (__exp10l): Likewise.
3853 * math/w_exp2l.c (__exp2l): Likewise.
3854 * math/w_fmodl.c (__fmodl): Likewise.
3855 * math/w_hypotl.c (__hypotl): Likewise.
3856 * math/w_j0l.c (__j0l, __y0l): Likewise.
3857 * math/w_j1l.c (__j1l, __y1l): Likewise.
3858 * math/w_jnl.c (__jnl, __ynl): Likewise.
3859 * math/w_lgammal.c (__lgammal): Likewise.
3860 * math/w_log10l.c (__log10l): Likewise.
3861 * math/w_log2l.c (__log2l): Likewise.
3862 * math/w_logl.c (__logl): Likewise.
3863 * math/w_powl.c (__powl): Likewise.
3864 * math/w_remainderl.c (__remainderl): Likewise.
3865 * math/w_scalbl.c (sysv_scalbl): Likewise.
3866 * math/w_sinhl.c (__sinhl): Likewise.
3867 * math/w_sqrtl.c (__sqrtl): Likewise.
3868 * math/w_tgammal.c (__tgammal): Likewise.
3869 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3870 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3871 * math/libm-test.inc (acos_test): Add more tests.
3872 (acosh_test): Likewise.
3873 (asin_test): Likewise.
3874 (atanh_test): Likewise.
3875 (exp_test): Likewise.
3876 (exp10_test): Likewise.
3877 (exp2_test): Likewise.
3878 (expm1_test): Likewise.
3879 (lgamma_test): Likewise.
3880 (log_test): Likewise.
3881 (log10_test): Likewise.
3882 (log1p_test): Likewise.
3883 (log2_test): Likewise.
3884 (pow_test): Do not allow some spurious overflow exceptions.
3885 (sqrt_test): Add more tests.
3886 (tgamma_test): Likewise.
3887 (y0_test): Likewise.
3888 (y1_test): Likewise.
3889 (yn_test): Likewise.
3890
dd62fda6
AB
38912012-03-27 Anton Blanchard <anton@samba.org>
3892
3893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3894 MAP_HUGETLB.
3895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3898
1e3cdfda
AJ
38992012-03-27 David S. Miller <davem@davemloft.net>
3900
b855ab85
DM
3901 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3902
1e3cdfda
AJ
3903 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3904 have-as-vis3 check.
3905
39062012-03-27 Andreas Jaeger <aj@suse.de>
3907
3908 * sysdeps/x86_64/elf/configure.in: Moved to ...
3909 * sysdeps/x86_64/configure.in: ... here.
3910 * sysdeps/x86_64/elf/start.S: Moved to ...
3911 * sysdeps/x86_64/start.S: ... here.
3912 * sysdeps/x86_64/elf/configure: Delete.
3913
3914 * sysdeps/x86_64/configure.in: Merge contents from
3915 sysdeps/i386/configure.in (without i686 check).
3916
3917 * sysdeps/i386/elf/Versions: Merge into ...
3918 * sysdeps/i386/Versions: ... this.
3919 * sysdeps/i386/elf/Versions: Delete file.
3920 * sysdeps/i386/elf/start.S: Moved to ...
3921 * sysdeps/i386/start.S: ...here.
3922 * sysdeps/i386/elf/configure.in: Merge into...
3923 * sysdeps/i386/configure.in: ...here.
3924 * sysdeps/i386/elf/configure.in: Delete file.
3925 * sysdeps/i386/elf/configure: Delete file.
3926
3927 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3928 * debug/backtracesyms.c: ... here.
3929 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3930 * debug/backtracesymsfd.c: ... here.
3931 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3932 * sysdeps/generic/ifunc-sel.h: ... here.
3933
3934 * sysdeps/unix/i386/start.c: Delete file.
3935 * sysdeps/unix/sparc/start.c: Delete file.
3936 * sysdeps/unix/start.c: Delete file.
3937
3938 * sysdeps/sh/elf/configure.in: Moved to ...
3939 * sysdeps/sh/configure.in: ... here.
3940 * sysdeps/sh/elf/start.S: Moved to ...
3941 * sysdeps/sh/start.S: ... here.
3942 * sysdeps/sh/elf/configure: Delete file.
3943
3944 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3945 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3946 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3947 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3948 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3949 * sysdeps/powerpc/powerpc64/start.S: here.
3950 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3951 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3952 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3953 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3954 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3955
3956 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3957 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3958 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3959 * sysdeps/powerpc/powerpc32/start.S: ... here.
3960 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3961 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3962 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3963
3964 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3965 * sysdeps/powerpc/ifunc-sel.h: ... here.
3966 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3967 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3968
3969 * sysdeps/sparc/elf/configure.in: Moved to ...
3970 * sysdeps/sparc/configure.in: ... here.
3971 * sysdeps/sparc/elf/configure: Delete file.
3972 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3973 * sysdeps/sparc/sparc32/start.S: ... here.
3974 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3975 * sysdeps/sparc/sparc64/start.S: ... here.
3976 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3977 * sysdeps/sparc/sparc32/Makefile: ... this.
3978 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3979 * sysdeps/sparc/sparc64/Makefile: ... this.
3980
3981 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3982 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3983 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3984 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3985 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3986 * sysdeps/s390/s390-32/setjmp.S: ... here.
3987 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3988 * sysdeps/s390/s390-32/configure.in: ... here.
3989 * sysdeps/s390/s390-32/elf/configure: Delete file.
3990 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3991 * sysdeps/s390/s390-32/start.S: ... here.
3992
3993 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3994 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3995 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3996 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3997 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3998 * sysdeps/s390/s390-64/setjmp.S: ... here.
3999 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4000 * sysdeps/s390/s390-64/configure.in: ... here
4001 * sysdeps/s390/s390-64/elf/configure: Delete file.
4002 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4003 * sysdeps/s390/s390-64/start.S: ... here.
4004 * sysdeps/s390/s390-64/elf/configure: Delete.
4005
4006 * configure.in: Remove support for elf directories in sysdeps.
4007
4008 * configure: Regenerated.
4009 * sysdeps/i386/configure: Regenerated.
4010 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4011 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4012 * sysdeps/s390/s390-32/configure: Regenerated.
4013 * sysdeps/s390/s390-64/configure: Regenerated.
4014 * sysdeps/sh/configure: Regenerated.
4015 * sysdeps/sparc/configure: Regenerated.
4016 * sysdeps/x86_64/configure: Regenerated.
4017
a3f61311
AS
40182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4019
c876e002
AS
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4021
a3f61311
AS
4022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4023 denormal result into account.
4024
ac4c54f0
RM
40252012-03-25 Roland McGrath <roland@hack.frob.com>
4026
4027 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4028 Reported by Allan McRae <allan@archlinux.org>.
4029
6a9b9c02
JL
40302012-03-23 Jeff Law <law@redhat.com>
4031
4032 * nss/getnssent.c (__nss_getent): Fix typo.
4033
4c42a0c1
DM
40342012-03-23 David S. Miller <davem@davemloft.net>
4035
4036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4037
1532c7ac
L
40382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4041 to pad to uint64_t for each field.
4042 (dl_tls_index): Replace unsigned long with uint64_t.
4043
3ff42526
PP
40442012-03-23 Daniel Jacobowitz <dmj@google.com>
4045 Paul Pluzhnikov <ppluzhnikov@google.com>
4046
4047 [BZ #6528]
4048 * grp/Makefile (otherlibs): Don't set it.
4049 * inet/Makefile (otherlibs): Likewise.
4050 * login/Makefile (otherlibs): Likewise.
4051 * nscd/Makefile (otherlibs): Likewise.
4052 * posix/Makefile (otherlibs): Likewise.
4053 * pwd/Makefile (otherlibs): Likewise.
4054 * rt/Makefile (otherlibs): Likewise.
4055 * sunrpc/Makefile (otherlibs): Likewise.
4056 * nss/Makefile (otherlibs): Likewise.
4057 Add libnss_files to routines and static-only-routines.
4058 ($(objpfx)getent): Remove rule.
4059 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4060 static-only-routines.
4061
7c69cd14
JM
40622012-03-22 Joseph Myers <joseph@codesourcery.com>
4063
4064 [BZ #13892]
4065 * math/s_cexp.c: Include <float.h>.
4066 (__cexp): Handle exp result overflowing not necessarily
4067 overflowing both real and imaginary parts of result.
4068 * math/s_cexpf.c: Likewise.
4069 * math/s_cexpl.c: Likewise.
4070 * math/libm-test.inc (cexp_test): Add more tests.
4071 * sysdeps/i386/fpu/libm-test-ulps: Update.
4072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4073
81b035fe
L
40742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * include/link.h (ELFW): New macro.
4077 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4078 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4079
1da7940c
L
40802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4081
4082 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4083 with uint64_t.
4084
b749dbb9
L
40852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4088 declaration.
4089 (struct La_x32_retval): Likewise.
4090
2ff87f3f
L
40912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4092
4093 * sysdeps/x86_64/preconfigure.in: New file.
4094 * sysdeps/x86_64/preconfigure: New generated file.
4095
c0df8e69
JM
40962012-03-22 Joseph Myers <joseph@codesourcery.com>
4097
48e44791
JM
4098 [BZ #13824]
4099 * math/e_exp2l.c: Include <float.h>.
4100 (__ieee754_exp2l): Handle overflow and underflow cases
4101 separately. Only pass fractional part of argument to
4102 __ieee754_expl.
4103 * math/libm-test.inc (exp2_test): Add more tests.
4104
c0df8e69
JM
4105 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4106 negating x to take absolute value.
4107 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4108 Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4111 Likewise.
4112 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4113 computing low part if x was negated.
4114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4115
c8e43ba7
L
41162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4119 la_x32_gnu_pltexit.
4120 (pltexit): Cast int_retval to ptrdiff_t.
4121 * elf/tst-auditmod3b.c: Likewise.
4122 * elf/tst-auditmod4b.c: Likewise.
4123 * elf/tst-auditmod5b.c: Likewise.
4124 * elf/tst-auditmod6b.c: Likewise.
4125 * elf/tst-auditmod6c.c: Likewise.
4126 * elf/tst-auditmod7b.c: Likewise.
4127
4128 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4129 and x32_gnu_pltexit.
4130
4131 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4132 __ELF_NATIVE_CLASS.
4133 (La_x32_regs): New macro.
4134 (La_x32_retval): Likewise.
4135 (la_x32_gnu_pltenter): New function prototype.
4136 (la_x32_gnu_pltexit): Likewise.
4137
7998fa78
AS
41382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4139
dcb33988
AS
4140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4141 exponent.
4142
233fc563
AS
4143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4144
7998fa78
AS
4145 * configure.in (libc_cv_cc_nofma): Check for option to disable
4146 generation of FMA instructions.
4147 * configure: Regenerate.
4148 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4149 * sysdeps/ieee754/dbl-64/Makefile: New file.
4150 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4151 Remove brandred-fma4.
4152 (CFLAGS-brandred-fma4.c): Remove.
4153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4154 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4155 define.
4156 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4157 define.
4158
8e95c99a
L
41592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4162 LLONG_MAX != LONG_MAX.
4163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4164 (_fitoa_word): Likewise.
4165 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4166 LLONG_MAX != LONG_MAX.
4167 * stdio-common/_itowa.h: Include <_itoa.h>.
4168 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4169 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4170 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4171 only if not defined.
4172 (_ITOA_WORD_TYPE): Likewise.
4173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4174 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4175
6f4db457
DM
41762012-03-21 David S. Miller <davem@davemloft.net>
4177
4178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4179
7785fe5a
L
41802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4181
4182 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4183 of x86_64 when setting libc_cv_slibdir, libdir and
4184 libc_cv_localedir.
4185 * sysdeps/unix/sysv/linux/configure: Regenerated.
4186
4535cd55
JM
41872012-03-21 Joseph Myers <joseph@codesourcery.com>
4188
4189 * manual/lang.texi (Old Varargs): Remove section.
4190 (How Variadic): Update menu.
4191 (va_start): Do not mention varargs.h.
4192
17228132
TS
41932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4194 Joseph Myers <joseph@codesourcery.com>
4195
4196 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4197 link test.
4198 * configure: Regenerated.
4199
8149f976
TS
42002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4201
05f3d1f6
UD
4202 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4203 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4204 conformtest.pl
8149f976 4205
1a4ac776
JM
42062012-03-21 Joseph Myers <joseph@codesourcery.com>
4207
be22ce65
JM
4208 * NOTES: Remove.
4209 * Makefile (files-for-dist): Remove NOTES.
4210 (NOTES): Remove rule.
4211 * README: Don't refer to NOTES.
4212 * manual/creature.texi: Don't include macros.texi.
4213 * manual/intro.texi (creature.texi): Remove comment referring to
4214 NOTES.
4215
40b601fb
JM
4216 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4217 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4218 * configure: Regenerated.
4219 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4220 LIBC_TRY_CC_OPTION.
4221 (libc_cv_as_i686): Likewise.
4222 (libc_cv_cc_avx): Likewise.
4223 (libc_cv_cc_sse2avx): Likewise.
4224 (libc_cv_cc_fma4): Likewise.
4225 (libc_cv_cc_novzeroupper): Likewise.
4226 * sysdeps/i386/configure: Regenerated.
4227
1a4ac776
JM
4228 [BZ #13883]
4229 * sysdeps/i386/fpu/s_cexp.S: Remove.
4230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4231 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4232 * math/libm-test.inc (cexp_test): Add more tests.
4233 * sysdeps/i386/fpu/libm-test-ulps: Update.
4234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235
a458e7fe
AM
42362012-03-21 Allan McRae <allan@archlinux.org>
4237
4238 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4239
0cb7efc5
JM
42402012-03-21 Joseph Myers <joseph@codesourcery.com>
4241
4242 [BZ #13871]
4243 * math/w_exp2.c: Do not include <float.h>.
4244 (o_threshold, u_threshold): Remove.
4245 (__exp2): Calculate result before checking finiteness and calling
4246 __kernel_standard.
4247 * math/w_exp2f.c: Likewise.
4248 * math/w_exp2l.c: Likewise.
4249 * math/libm-test.inc (exp2_test): Require overflow exception for
4250 1e6 input.
2460d3aa
JM
4251
4252 [BZ #3866]
4253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4254 range of signed 64-bit integers before using fistpll. Remove
4255 checks for whether integers fit in mantissa bits.
4256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4257 the range of signed 32-bit integers before using fistpl. Remove
4258 checks for whether integers fit in mantissa bits.
4259 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4260 (__ieee754_powl): Test for y outside the range of signed 64-bit
4261 integers before using fistpll. Reduce 64-bit values to 63-bit
4262 ones as needed.
4263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4264 divide-by-zero is raised for zero to large negative powers.
4265 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4266 (__ieee754_powl): Test for y outside the range of signed 64-bit
4267 integers before using fistpll. Reduce 64-bit values to 63-bit
4268 ones as needed.
4269 * math/libm-test.inc (pow_test): Add more tests.
4270
eb96ffb0
L
42712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4272
4273 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4274 <stdio-common/_itoa.h>.
4275 * debug/segfault.c: Likewise.
4276 * elf/dl-cache.c: Likewise.
4277 * elf/dl-minimal.c: Likewise.
4278 * elf/dl-misc.c: Likewise.
4279 * elf/dl-sysdep.c: Likewise.
4280 * elf/dl-version.c: Likewise.
4281 * elf/rtld.c: Likewise.
4282 * hurd/hurdsock.c: Likewise.
4283 * hurd/lookup-retry.c: Likewise.
4284 * malloc/malloc.c: Likewise.
4285 * malloc/mtrace.c: Likewise.
4286 * nscd/nscd_getgr_r.c: Likewise.
4287 * nscd/nscd_getpw_r.c: Likewise.
4288 * nscd/nscd_getserv_r.c: Likewise.
4289 * posix/getopt_init.c: Likewise.
4290 * posix/wordexp.c: Likewise.
4291 * stdio-common/_itoa.c: Likewise.
4292 * stdio-common/printf_fphex.c: Likewise.
4293 * stdio-common/vfprintf.c: Likewise.
4294 * string/_strerror.c: Likewise.
4295 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4296 * sysdeps/i386/i686/hp-timing.h: Likewise.
4297 * sysdeps/mach/_strerror.c: Likewise.
4298 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4299 * sysdeps/mach/hurd/sethostid.c: Likewise.
4300 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4301 * sysdeps/mach/xpg-strerror.c: Likewise.
4302 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4304 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4305 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4306 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4307 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4309 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4310 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4311 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4312 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4313 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4320 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4321 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4323
4324 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4325
4326 * stdio-common/_itoa.h: Moved to ...
4327 * sysdeps/generic/_itoa.h: Here.
4328
4329 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4330
4331 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4332 instead of "_itoa.h" and "_itowa.h".
4333 * stdio-common/vfprintf.: Likewise.
4334
d1af992d
L
43352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4338 <bits/wordsize.h>.
4339 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4340 (__signbit): Likwise.
4341 (llrintf): Likwise.
4342 (llrint): Likwise.
4343
114883e0
L
43442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4347 __WORDSIZE != 64.
4348
c135cc1b
JM
43492012-03-20 Joseph Myers <joseph@codesourcery.com>
4350
4351 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4352 OVERFLOW_EXCEPTION_OK.
4353 * math/libm-test.inc ("Philosophy"): Update comment about
4354 exception testing.
4355 (OVERFLOW_EXCEPTION): Define.
4356 (OVERFLOW_EXCEPTION_OK): Likewise.
4357 (INVALID_EXCEPTION_OK): Renumber.
4358 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4359 (IGNORE_ZERO_INF_SIGN): Likewise.
4360 (test_exceptions): Handle FE_OVERFLOW.
4361 (exp10_test): Expect overflow exceptions.
4362 (exp2_test): Likewise.
4363 (expm1_test): Likewise.
4364 (nextafter_test): Likewise.
4365 (pow_test): Likewise.
4366 (scalbn_test): Likewise.
4367 (scalbln_test): Likewise.
4368
95443d88
L
43692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 * sysdeps/x86_64/bits/atomic.h
4372 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4373 64bit integer.
4374 (atomic_exchange_acq): Likewise.
4375 (__arch_exchange_and_add_body): Likewise.
4376 (__arch_add_body): Likewise.
4377 (atomic_add_negative): Likewise.
4378 (atomic_add_zero): Likewise.
4379
490df6c4
L
43802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4381
c2722551 4382 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4383 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4384
5e52b189
L
43852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4388 Check __x86_64__ instead of __WORDSIZE.
4389
a9879d4c
L
43902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4393
5df98260
DM
43942012-03-19 David S. Miller <davem@davemloft.net>
4395
e1497744
DM
4396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4397
5df98260
DM
4398 * sysdeps/sparc/fpu/fenv_private.h: New file.
4399 * sysdeps/sparc/fpu/math_private.h: Use it.
4400 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4401 Remove.
4402 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4403 (libc_feholdexcept_setroundl): Remove.
4404 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4405 Remove.
4406 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4407 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4408
b4c35121
L
44092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4412 int64_t instead of long int.
4413 (INSERT_WORDS64): Likwise.
4414
56965fd7
L
44152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4418 _Unwind_GetCFA return to _Unwind_Ptr first.
4419
83d1aec8
JM
44202012-03-19 Joseph Myers <joseph@codesourcery.com>
4421
1897ad44
JM
4422 [BZ #13629]
4423 * math/s_clog.c: Include <float.h>.
4424 (__clog): Scale large or subnormal inputs.
4425 * math/s_clogf.c: Likewise.
4426 * math/s_clogl.c: Likewise.
4427 * math/s_clog10.c: Include <float.h>.
4428 (M_LOG10_2): Define.
4429 (__clog10): Scale large or subnormal inputs.
4430 * math/s_clog10f.c: Likewise.
4431 * math/s_clog10l.c: Likewise.
4432 * math/libm-test.inc (clog_test): Add more tests.
4433 (clog10_test): Likewise.
4434 * sysdeps/i386/fpu/libm-test-ulps: Update.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4436
7726d6a9
JM
4437 [BZ #11451]
4438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4439 x and y.
4440 * math/libm-test.inc (atan2_test): Add another test.
4441
83d1aec8
JM
4442 * Makerules (common-objdir-compile): Remove.
4443 * sysdeps/unix/Makefile (config-generated): Do not add
4444 $(unix-generated) to variable.
4445 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4446 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4447 Remove rule.
4448 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4449 Likewise.
4450 [generic bits/local_lim.h] (before-compile): Do not append to
4451 variable.
4452 [generic bits/local_lim.h] (common-generated): Likewise.
4453 [generic sys/param.h] (before-compile): Do not append to variable.
4454 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4455 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4456 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4457 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4458 include.
4459 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4460 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4461 [generic sys/param.h] ($(addprefix
4462 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4463 [generic sys/param.h] (common-generated): Do not append to
4464 variable.
4465 [generic sys/param.h] (sysdep_headers): Likewise.
4466 [generic bits/errno.h] (before-compile): Do not append to
4467 variable.
4468 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4469 rule.
4470 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4471 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4472 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4473 [generic bits/errno.h] (common-generated): Do not append to
4474 variable.
4475 [generic bits/ioctls.h] (before-compile): Do not append to
4476 variable.
4477 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4478 rule.
4479 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4480 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4481 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4482 rule.
4483 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4484 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4485 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4486 [generic bits/ioctls.h] (common-generated): Do not append to
4487 variable.
4488 [generic sys/syscall.h] (syscall.h): Remove variable.
4489 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4490 rule.
4491 [generic sys/syscall.h] (before-compile): Do not append to
4492 variable.
4493 [generic sys/syscall.h] (common-generated): Likewise.
4494 * sysdeps/unix/errnos-tmpl.c: Remove file.
4495 * sysdeps/unix/errnos.awk: Likewise.
4496 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4497 * sysdeps/unix/ioctls.awk: Likewise.
4498 * sysdeps/unix/mk-local_lim.c: Likewise.
4499 * sysdeps/unix/snarf-ioctls: Likewise.
4500
4851a949
RH
45012012-03-19 Richard Henderson <rth@twiddle.net>
4502
bd37f2ee
RH
4503 * sysdeps/i386/fpu/fenv_private.h: New file.
4504 * sysdeps/i386/fpu/math_private.h: Use it.
4505 (math_opt_barrier, math_force_eval): Remove.
4506 (libc_feholdexcept_setround_53bit): Remove.
4507 (libc_feupdateenv_53bit): Remove.
4508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4509 (math_opt_barrier, math_force_eval): Remove.
4510 (libc_feholdexcept): Remove.
4511 (libc_feholdexcept_setround): Remove.
4512 (libc_fetestexcept, libc_fesetenv): Remove.
4513 (libc_feupdateenv_test): Remove.
4514 (libc_feupdateenv, libc_feholdsetround): Remove.
4515 (libc_feresetround): Remove.
4516
d0adc922
RH
4517 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4518 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4519
0fe0f1f8
RH
4520 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4521 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4522 (libc_feupdateenv_testl): New.
4523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4524 (libc_feupdateenv_testf): New.
4525 (libc_feupdateenv): Use libc_feupdateenv_test.
4526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4528
eb92c487
RH
4529 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4530 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4531 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4532 (libc_feresetround_noex): New.
4533 (libc_feresetround_noexf): New.
4534 (libc_feresetround_noexl): New.
4535 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4536 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4537 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4538 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4539 SET_RESTORE_ROUND.
4540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4542 (__cos): Likewise.
4543 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4544 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4545 SET_RESTORE_ROUND_NOEX.
4546 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4547 SET_RESTORE_ROUND_NOEXF.
4548 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4549 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4550 (libc_feholdsetroundf): New.
4551 (libc_feresetround, libc_feresetroundf): New.
4552
7d2e8012
RH
4553 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4554 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4555 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4556
b4dabbb4
RH
4557 * sysdeps/generic/math_private.h: Include <fenv.h>.
4558 (default_libc_feholdexcept): New.
4559 (default_libc_feholdexcept_setround): New.
4560 (default_libc_fesetenv, default_libc_feupdateenv): New.
4561 (libc_feholdexcept): Only define if undefined.
4562 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4564 (libc_feholdexcept_setroundl): Likewise.
4565 (libc_feholdexcept_setround_53bit): Likewise.
4566 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4569 (libc_feupdateenv_53bit): Likewise.
4570 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4571 (libc_feholdexcept): Convert from macro to inline function.
4572 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4573 (libc_fesetenv, libc_feupdateenv): Likewise.
4574
4851a949
RH
4575 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4576 not previously defined.
4577 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4578 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4579 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4580 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4581 * sysdeps/ieee754/flt-32/math_private.h: New file.
4582 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4583 math_private.h below SET_FLOAT_WORD.
4584 (__isnan, __isinf_ns, __finite): Remove.
4585 (__isnanf, __isinf_nsf, __finitef): Remove.
4586
e79d442e
AS
45872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4588
4589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4590
90b80344
DM
45912012-03-17 David S. Miller <davem@davemloft.net>
4592
4593 [BZ #6471]
4594 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4595 for 2.16.
4596
edc21804
DM
45972012-03-16 David S. Miller <davem@davemloft.net>
4598
77e927af
DM
4599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4600 warnings.
4601
374976dd
DM
4602 [BZ #6471]
4603 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4604 properly.
4605 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4606 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4607 sysdep_routines when subdir is sysvipc.
4608 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4609 __getshmlba helper.
4610
edc21804
DM
4611 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4612
473c3ef3
L
46132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4614
4615 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4616 [__LP64__].
4617
eb0f39b6
L
46182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4621 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4622 (__lround): Renamed to ...
4623 (__llround): This. Replace long int with long long int.
4624 Define lround functions as aliases of llround functions.
4625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4626
6b6cd74b
L
46272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4630 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4631 adresses to uintptr_t. Replace "long int" and "unsigned long
4632 int" with "greg_t" on va_arg.
4633
f1a77b01
L
46342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4637 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4638
4639 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4640 Move e_machine check before EI_CLASS check. Handle x32
4641 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4642 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4643 SKIP_EM_IA_64 and include
4644 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4645
4646 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4647 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4648 (add_system_dir): New macro.
4649
4650 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4651 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4652
11b90b9f
JM
46532012-03-16 Joseph Myers <joseph@codesourcery.com>
4654
c36e1d23
JM
4655 [BZ #2551]
4656 [BZ #2552]
4657 [BZ #2553]
4658 [BZ #2554]
4659 [BZ #2562]
4660 [BZ #2563]
4661 [BZ #2565]
4662 [BZ #2566]
4663 [BZ #2576]
4664 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4665 (y0): Likewise.
4666 * math/w_j0f.c (j0f): Likewise.
4667 (y0f): Likewise.
4668 * math/w_j0l.c (__j0l): Likewise.
4669 (__y0l): Likewise.
4670 * math/w_j1.c (j1): Likewise.
4671 (y1): Likewise.
4672 * math/w_j1f.c (j1f): Likewise.
4673 (y1f): Likewise.
4674 * math/w_j1l.c (__j1l): Likewise.
4675 (__y1l): Likewise.
4676 * math/w_jn.c (jn): Likewise.
4677 (yn): Likewise.
4678 * math/w_jnf.c (jnf): Likewise.
4679 (ynf): Likewise.
4680 * math/w_jnl.c (__jnl): Likewise.
4681 (__ynl): Likewise.
4682 * math/libm-test.inc (j0_test): Add more tests.
4683 (j1_test): Likewise.
4684 (jn_test): Likewise. Add trailing semicolon to existing test.
4685 (y0_test): Likewise.
4686 (y1_test): Likewise.
4687 * sysdeps/i386/fpu/libm-test-ulps: Update.
4688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4689
11b90b9f
JM
4690 [BZ #13851]
4691 [BZ #13854]
4692 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4693 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4694 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4696 (__tanl): Set errno for infinite argument.
4697 * sysdeps/i386/fpu/mptan.c: Remove.
4698 * sysdeps/i386/fpu/s_tan.S: Likewise.
4699 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4700 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4701 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4702 * math/libm-test.inc (tan_test): Add more tests and enable more
4703 tests for double and long double.
4704 * sysdeps/i386/fpu/libm-test-ulps: Update.
4705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4706
6a1bd2a1
JK
47072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4708
4709 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4710 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4711
10a803e0
RM
47122012-03-16 Roland McGrath <roland@hack.frob.com>
4713
4714 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4715 * configure.in: Use it for both main tree and add-ons.
4716 * configure: Regenerated.
4717
f196c7f7
L
47182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4719
4720 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4721
8848d99d
JM
47222012-03-16 Joseph Myers <joseph@codesourcery.com>
4723
96cbe7f4
JM
4724 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4725 in comment.
4726
8848d99d
JM
4727 [BZ #13851]
4728 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4729 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4733 infinite argument.
4734 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4736 != 0 for prec == 2.
4737 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4738 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4739 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4740 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4741 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4742 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4743 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4744 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4745 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4746 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4747 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4748 * math/libm-test.inc (cos_test): Add more tests and enable more
4749 tests for long double.
4750 (sin_test): Likewise.
4751 (sincos_test): Likewise.
4752 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754
dd7f4703
DM
47552012-03-16 David S. Miller <davem@davemloft.net>
4756
4757 * sysdeps/sparc/fpu/math_private.h: New file.
4758
006f1daa
DM
47592012-03-15 David S. Miller <davem@davemloft.net>
4760
c0c83bc8
DM
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4762 file.
e6a62e18 4763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4765 file.
e6a62e18
DM
4766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4772 sysdep routines.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4774
88cb87d9
DM
4775 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4776 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4777
006f1daa 4778 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4780 sparc-ifunc.h
006f1daa 4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4783 Likewise.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4785 Likewise.
006f1daa
DM
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4790 Likewise.
006f1daa
DM
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4796 Likewise.
4797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4798 Likewise.
006f1daa
DM
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4823
11e0098e
AS
48242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4825
4826 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4827 scaling.
4828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4829
e85b09d0
AJ
48302012-03-15 Andreas Jaeger <aj@suse.de>
4831
4832 [BZ #13852]
4833 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4834 ieee754/flt-32 implementation for sin, cos and sincos.
4835 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4836 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4837 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4838 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4839 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4840 ieee754/flt-32 implementation for tan.
4841
4842 * math/libm-test.inc (cos_test): Enable some large input tests for
4843 float as well
4844 (sin_test): Likewise.
4845 (sincos_test): Likewise.
4846 (tan_test): Add tests for large input.
4847
4848 * sysdeps/i386/fpu/libm-test-ulps: Update.
4849
81c64153
AJ
48502012-03-15 Andreas Jaeger <aj@suse.de>
4851
4852 [BZ #13658]
4853 * math/libm-test.inc (cos_test): Add more test cases.
4854 (sin_test): Likewise.
4855 (sincos_test): Likewise.
4856
7bbfa5c6
AJ
48572012-03-15 Andreas Jaeger <aj@suse.de>
4858
4859 [BZ #13837]
4860 * math/libm-test.inc (cos_test): Add a test case for large input
4861 value.
4862 (sin_test): Likewise.
4863 (sincos_test): Likewise.
4864
48652012-03-15 Andreas Jaeger <aj@suse.de>,
4866 Joseph Myers <joseph@codesourcery.com>
4867
4868 [BZ #13658]
0671f479 4869 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4870 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4871 * sysdeps/i386/fpu/branred.c: Likewise.
4872 * sysdeps/i386/fpu/dosincos.c: Likewise.
4873 * sysdeps/i386/fpu/mpa.c: Likewise.
4874 * sysdeps/i386/fpu/s_cos.S: Likewise.
4875 * sysdeps/i386/fpu/s_sin.S: Likewise.
4876 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4877 * sysdeps/i386/fpu/sincos32.c: Likewise.
4878
4879 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4880 Define.
4881 (libc_feupdateenv_53bit): Define.
4882 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4883 Define.
4884 (libc_feupdateenv_53bit): Define.
4885
4886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4887 53 bit (without extend i386 double precision).
4888
4889 * math/libm-test.inc (sincos_test): Add tests for large input.
4890 (sin): Likewise.
4891 (cos): Likewise.
4892
4893 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4894
9cad04ea
AS
48952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4896
4897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4898
f7062b9a
DM
48992012-03-15 David S. Miller <davem@davemloft.net>
4900
4901 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4917 file.
f7062b9a 4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4920 file.
f7062b9a 4921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4923 file.
f7062b9a 4924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4926 file.
f7062b9a
DM
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4929 fmin/fmax sysdep routines.
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4931
7bd951ff
DM
49322012-03-14 David S. Miller <davem@davemloft.net>
4933
559398ab
DM
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4963 routines.
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4965 file.
559398ab 4966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4968 file.
559398ab 4969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4971 file.
559398ab 4972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4974 file.
559398ab 4975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4977 file.
559398ab 4978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4980 file.
4981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4982 file.
4983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4984 file.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4986 file.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4988 New file.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4990 file.
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4992 file.
559398ab 4993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4995 file.
559398ab 4996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4998 file.
559398ab 4999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5001 file.
559398ab 5002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5004 VIS3 routines.
559398ab
DM
5005
5006 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5007 New file.
5008
5a1c1e32
DM
5009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5010
eae47a36
DM
5011 * sysdeps/sparc/configure.in: New file.
5012 * sysdeps/sparc/configure: Generate.
5013 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5014 * configure: Regenerate.
5015 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5016 * config.make.in (have-as-vis3): New.
5017 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5018 available use -Av9d instead of -Av9a.
5019 * sysdeps/sparc/sparc64/Makefile: Likewise.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5022 New file.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5024 file.
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5026 New file.
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5028 file.
eae47a36
DM
5029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5034
c0c83bc8
DM
5035 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5036 fzeros/fnegs to load 0x80000000 into a float register instead of
5037 using the stack.
7bd951ff
DM
5038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5039
bd951ccb
JM
50402012-03-14 Joseph Myers <joseph@codesourcery.com>
5041
5042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5043 bits/syscall.h.
5044 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5045 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5046 ($(inst_includedir)/bits/syscall.h): Remove rule.
5047 ($(objpfx)bits/syscall.d): Include instead of
5048 $(objpfx)syscall-list.d.
5049 (generated): Change syscall-list.h and syscall-list.d to
5050 bits/syscall.h and bits/syscall.d.
5051
bb4e6db2
RM
50522012-03-14 Roland McGrath <roland@hack.frob.com>
5053
5054 [BZ #13846]
5055 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5056
aa4a2ae1
JM
50572012-03-14 Joseph Myers <joseph@codesourcery.com>
5058
e456826d
JM
5059 [BZ #13841]
5060 * math/s_csqrt.c: Include <float.h>.
5061 (__csqrt): Scale large or subnormal inputs.
5062 * math/s_csqrtf.c: Likewise.
5063 * math/s_csqrtl.c: Likewise.
5064 * math/libm-test.inc (csqrt_test): Add more tests.
5065 * sysdeps/i386/fpu/libm-test-ulps: Update.
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067
aa4a2ae1
JM
5068 [BZ #13840]
5069 * math/libm-test.inc (hypot_test): Add more tests.
5070
7c10fd35
DM
50712012-03-13 David S. Miller <davem@davemloft.net>
5072
5073 [BZ #13840]
5074 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5075 double-precision for the calculation instead of scaling.
5076
f453b98b
JM
50772012-03-13 Joseph Myers <joseph@codesourcery.com>
5078
5079 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5080 manipulate bits before adding and subtracting TWO52[sx].
5081 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5083 Likewise.
5084 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5085
09a3453f
DM
50862012-03-13 David S. Miller <davem@davemloft.net>
5087
8e59da90
DM
5088 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5089 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5091 rtld-global-offsets.h
5092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5093
2a8ab7f2
DM
5094 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5095 large parameters.
5096
10f62770
DM
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5098
5f0bdb18
DM
5099 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5100 'err' in the ifdef scope in which it is actually used.
5101
09a3453f
DM
5102 * nss/nss_db/db-init.c: Include string.h
5103
b4b2eb5e
DM
51042012-03-12 David S. Miller <davem@davemloft.net>
5105
98bb2f1c
DM
5106 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5107 masking out of the most significant byte of random value used.
5108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5109 Fix coding style in previous change.
5110
b4b2eb5e
DM
5111 * sysdeps/unix/sysv/linux/kernel-features.h
5112 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5113 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5114 expression.
5115 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5116 later.
5117
6e226b09
DM
51182012-03-11 David S. Miller <davem@davemloft.net>
5119
a1bcbd40
DM
5120 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5121 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5123 for 'resultvar' otherwise things get truncated on 64-bit.
5124
cb9d6174
DM
5125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5126 Fix masking out of the most significant byte of random value used.
5127
6e226b09
DM
5128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5129
058c132d
AS
51302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5131
5132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5133
2d2cd515
DM
51342012-03-09 David S. Miller <davem@davemloft.net>
5135
5136 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5137 variables with appropriate CPP guards.
5138 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5139 frame pointer, not the stack pointer. Correct layout comments. Fix test
5140 on resulting framesize and the management of the outregs buffer for pltexit.
5141 Preserve floating point return values across _dl_call_pltexit call.
5142 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5143 framesize and the management of the outregs buffer for pltexit.
5144 Preserve floating point return values across _dl_call_pltexit
5145 call.
5146 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5147 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5148 (print_exit): Fix format string for return register value.
5149
9a07f9d0
JM
51502012-03-10 Joseph Myers <joseph@codesourcery.com>
5151
5152 * sunrpc/Makefile (others): Add rpcgen.
5153 ($(objpfx)rpcgen): Remove special build rule and dependency on
5154 libc.
5155 * sunrpc/rpcgen.c: New file.
5156
547b5e30
PE
51572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5158
c524201a
PE
5159 [BZ #13673]
5160 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5161 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5162 * sysdeps/i386/crti.S: Likewise.
5163 * sysdeps/i386/crtn.S: Likewise.
5164 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5165 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5166 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5167 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5168 * sysdeps/sh/crti.S: Likewise.
5169 * sysdeps/sh/crtn.S: Likewise.
5170 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5171
7b6235f2
PE
5172 [BZ #13673]
5173 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5174 with URL.
5175 * locale/programs/locfile-kw.gperf: Likewise.
5176 * locale/programs/charmap-kw.h: Regenerated.
5177 * locale/programs/locfile-kw.h: Likewise.
5178
547b5e30
PE
5179 [BZ #13673]
5180 * intl/plural.y: Replace FSF snail mail address with URL.
5181 * intl/plural.c: Regenerated.
5182
5f0a5dae
RH
51832012-03-09 Richard Henderson <rth@twiddle.net>
5184
5185 * include/math_private.h: Remove file.
5186 * math/math_private.h: Move file ...
5187 * sysdeps/generic/math_private.h: ... here.
5188
b8c03620
RH
5189 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5190 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5191 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5192
4e234f5d 5193 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5194 and <math_private.h>.
5195 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5196 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5197 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5198 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5199 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5283 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5286 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5289 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5292 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5297 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5298 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5300 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5302 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5307 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5309 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5311 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5312 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5313 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5314 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5315 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5316 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5317 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5318 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5319 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5322 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5323 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5324 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5325 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5327 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5328 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5329 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5330 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5331 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5333 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5337 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5339 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5340 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5341 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5343 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5344 * sysdeps/ieee754/k_standard.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5464 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5494 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5505 * sysdeps/ieee754/s_lib_version.c: Likewise.
5506 * sysdeps/ieee754/s_matherr.c: Likewise.
5507 * sysdeps/ieee754/s_signgam.c: Likewise.
5508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5510 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5511 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5513 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5514 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5515 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5516 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5517 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5518 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5519 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5520 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5521 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5522 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5525 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5529
1991fa03
JM
55302012-03-09 Joseph Myers <joseph@codesourcery.com>
5531
5532 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5533 * sunrpc/rpc_main.c: Likewise.
5534 * sunrpc/rpc_svcout.c: Likewise.
5535
60d6f5a6
DM
55362012-03-09 David S. Miller <davem@davemloft.net>
5537
5538 * include/math_private.h: New file.
5539
4962050e
JM
55402012-03-09 Joseph Myers <joseph@codesourcery.com>
5541
02a6f887
JM
5542 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5543 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5544 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5545 from <bits/socket_type.h>.
5546 (enum __socket_type): Don't define here.
5547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5549 bits/socket_type.h.
5550
c6e013c1
JM
5551 [BZ #13566]
5552 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5553 checking __USE_GNU.
5554
4962050e
JM
5555 * Makerules ($(inst_includedir)/%.h): New rule.
5556 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5557 (install-others): Remove variable setting.
5558 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5559
38842f45
RH
55602012-03-08 Richard Henderson <rth@twiddle.net>
5561
67bb6da6
RH
5562 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5563 from macro to inline function; merge with the
5564 !__LIBC_INTERNAL_MATH_INLINES version.
5565 (__ieee754_sqrtf): Likewise.
5566
15194b4b
RH
5567 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5568 to inline function.
5569 (__rintf, __floor, __floorf): Likewise.
5570
64e21ede
RH
5571 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5572 macro to inline function.
5573 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5574
38842f45
RH
5575 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5576 not <math/math_private.h>.
5577
c64bf5fe
DM
55782012-03-08 David S. Miller <davem@davemloft.net>
5579
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5581 copyright year.
5582 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5583
82d86f28
TS
55842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5585
5586 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5587 normalization.
5588 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5590
aea5d727
UD
55912012-03-08 Ulrich Drepper <drepper@gmail.com>
5592
5593 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5594 be defined individually, they must be defined as a block. Define
5595 S for printing a string instead of hidint the different by using a
5596 macro for adding the 'l'.
5597 * stdio-common/tst-fphex-wide.c: Adjust.
5598
70bca0a3
MP
55992012-03-07 Marek Polacek <polacek@redhat.com>
5600
5601 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5602
65b81130
MP
56032012-03-08 Marek Polacek <polacek@redhat.com>
5604
5605 [BZ #13806]
5606 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5607 * stdio-common/tst-fphex.c: Define a few macros to make the
5608 test reusable. Use them.
5609 * stdio-common/tst-fphex-wide.c: New file.
5610
07037eeb
JM
56112012-03-08 Joseph Myers <joseph@codesourcery.com>
5612
a7a93d50
JM
5613 [BZ #6911]
5614 * manual/macros.texi (gnusystems): New macro.
5615 (nongnusystems): Likewise.
5616 (gnulinuxhurdsystems): Likewise.
5617 (gnuhurdsystems): Likewise..
5618 (gnulinuxsystems): Likewise.
5619 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5620 variants of the GNU system, not "GNU system".
5621 * manual/conf.texi: Likewise.
5622 * manual/errno.texi: Likewise. Update example of errno macro
5623 expansion.
5624 * manual/filesys.texi: Likewise.
5625 (getumask): Document as specific to GNU/Hurd.
5626 * manual/install.texi: Likewise. Reword some references to
5627 GNU/Linux.
5628 * manual/intro.texi: Likewise.
5629 * manual/io.texi: Likewise.
5630 (File Name Portability): Detail which constraints are inapplicable
5631 to all GNU systems and which are only inapplicable to GNU/Hurd.
5632 * manual/job.texi: Likewise.
5633 * manual/llio.texi: Likewise.
5634 (O_NOCTTY): Document as present on GNU/Linux.
5635 * manual/maint.texi: Likewise.
5636 * manual/memory.texi: Likewise.
5637 * manual/pattern.texi: Likewise.
5638 * manual/pipe.texi: Likewise.
5639 * manual/process.texi: Likewise.
5640 * manual/resource.texi: Likewise.
5641 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5642 child on GNU/Hurd.
5643 * manual/setjmp.texi: Likewise.
5644 * manual/signal.texi: Likewise.
5645 * manual/startup.texi: Likewise.
5646 * manual/stdio.texi: Likewise.
5647 * manual/terminal.texi: Likewise.
5648 (ONLCR): Document as POSIX.
5649 (OXTABS): Document availability on GNU/Linux as XTABS.
5650 (ONOEOT): Document availability separately from other bits.
5651 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5652 * manual/time.texi: Likewise.
5653 * manual/users.texi: Likewise.
5654 * INSTALL: Regenerated.
5655 * sysdeps/gnu/errlist.c: Regenerated.
5656
07037eeb
JM
5657 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5658 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5659 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5660 puts.
5661 * configure: Regenerated.
5662
d1d3431a
JM
56632012-03-07 Joseph Myers <joseph@codesourcery.com>
5664
af6a1e37
JM
5665 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5666 default includes instead of AC_HEADER_CHECK.
5667 * sysdeps/i386/configure: Regenerated.
5668
d1d3431a
JM
5669 [BZ #10716]
5670 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5671 * math/s_cacoshf.c (__cacoshf): Likewise.
5672 * math/s_cacoshl.c (__cacoshl): Likewise.
5673 * math/s_casinh.c (__casinh): Set signs of result from argument.
5674 * math/s_casinhf.c (__casinhf): Likewise.
5675 * math/s_casinhl.c (__casinhl): Likewise.
5676 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5677 (casinh_test): Add more tests.
5678 * sysdeps/i386/fpu/libm-test-ulps: Update.
5679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5680
482ff4da
UD
56812012-03-07 Ulrich Drepper <drepper@gmail.com>
5682
872fda05
UD
5683 * po/zh_TW.po: Update from translation team.
5684
a4300c7a
UD
5685 * login/Makefile (distribute): Remove variable.
5686 * catgets/Makefile: Likewise.
5687 * mach/Makefile: Likewise.
5688 * malloc/Makefile: Likewise.
5689 * misc/Makefile: Likewise.
5690 * iconv/Makefile: Likewise.
5691 * nscd/Makefile: Likewise.
5692 * hurd/Makefile: Likewise.
5693 * manual/Makefile: Likewise.
5694 * locale/Makefile: Likewise.
5695 * intl/Makefile: Likewise.
5696 * conform/Makefile: Likewise.
5697 * nss/Makefile: Likewise.
5698 * time/Makefile: Likewise.
5699 * soft-fp/Makefile: Likewise.
5700 * dirent/Makefile: Likewise.
5701 * gmon/Makefile: Likewise.
5702 * po/Makefile: Likewise.
5703 * rt/Makefile: Likewise.
5704 * socket/Makefile: Likewise.
5705 * math/Makefile: Likewise.
5706 * signal/Makefile: Likewise.
5707 * debug/Makefile: Likewise.
5708 * elf/Makefile: Likewise.
5709 * timezone/Makefile: Likewise.
5710 * stdlib/Makefile: Likewise.
5711 * iconvdata/Makefile: Likewise.
5712 * sunrpc/Makefile: Likewise.
5713 * io/Makefile: Likewise.
5714 * argp/Makefile: Likewise.
5715 * inet/Makefile: Likewise.
5716 * hesiod/Makefile: Likewise.
5717 * grp/Makefile: Likewise.
5718 * csu/Makefile: Likewise.
5719 * wctype/Makefile: Likewise.
5720 * crypt/Makefile: Likewise.
5721 * libio/Makefile: Likewise.
5722 * string/Makefile: Likewise.
5723 * nis/Makefile: Likewise.
5724 * resolv/Makefile: Likewise.
5725 * stdio-common/Makefile: Likewise.
5726 * wcsmbs/Makefile: Likewise.
5727 * dlfcn/Makefile: Likewise.
5728 * posix/Makefile: Likewise.
5729
3b7c4e74 5730 [BZ #6959]
482ff4da
UD
5731 * timezone/Makefile: Don't install timezone files, just the programs
5732 and scripts.
5733
f72ed77d
UD
57342012-03-06 Ulrich Drepper <drepper@gmail.com>
5735
a000466f
UD
5736 * nss/databases.def: Add missing gshadow entry.
5737
f72ed77d
UD
5738 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5739
a53b7a4e
MP
57402012-03-06 Marek Polacek <polacek@redhat.com>
5741
5742 [BZ #13726]
5743 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5744 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5745 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5746 * stdio-common/tst-long-dbl-fphex.c: New file.
5747
e9258400
DM
57482012-03-06 David S. Miller <davem@davemloft.net>
5749
5750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5751 (set_obp_int): New function.
5752 (get_obp_int): New function.
5753 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5755 Avoid unused variable warnings on 'val' and use builtin_expect.
5756 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5757 __builtin_expect.
e9258400
DM
5758 (INLINE_CLONE_SYSCALL): Likewise.
5759
3bd2c723
DM
57602012-03-05 David S. Miller <davem@davemloft.net>
5761
5762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5763
bbb78d03
AS
57642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5765
884c5db4
AS
5766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5767
bbb78d03
AS
5768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5769 only for |x| >= 40.
5770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5771
1c9f702a 57722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5773
5774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5775 Replace gettimeofday with __vdso_gettimeofday.
5776
7be16f82
RM
5777 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5778 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5779 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5780
5781 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5782 time with __vdso_time.
5783
ed58a00f
JM
57842012-03-05 Joseph Myers <joseph@codesourcery.com>
5785
5786 * manual/lang.texi (size_t): Note types to which size_t may be
5787 equivalent with the GNU C Library, but do not describe when
5788 differences between them are significant.
5789
30ee4ced
AJ
57902012-03-05 Andreas Jaeger <aj@suse.de>
5791
5792 * sysdeps/i386/fpu/libm-test-ulps: Update.
5793
b7cd39e8
JM
57942012-03-05 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #3976]
5797 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5798 (__ieee754_pow): Save and restore rounding mode and use
5799 round-to-nearest for main computations.
5800 * math/libm-test.inc (pow_test_tonearest): New function.
5801 (pow_test_towardzero): Likewise.
5802 (pow_test_downward): Likewise.
5803 (pow_test_upward): Likewise.
5804 (main): Call the new functions.
5805 * sysdeps/i386/fpu/libm-test-ulps: Update.
5806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5807
5808 [BZ #3976]
5809 * math/libm-test.inc (cosh_test_tonearest): New function.
5810 (cosh_test_towardzero): Likewise.
5811 (cosh_test_downward): Likewise.
5812 (cosh_test_upward): Likewise.
5813 (sinh_test_tonearest): Likewise.
5814 (sinh_test_towardzero): Likewise.
5815 (sinh_test_downward): Likewise.
5816 (sinh_test_upward): Likewise.
5817 (main): Call the new functions.
5818 * sysdeps/i386/fpu/libm-test-ulps: Update.
5819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820
6c6a98c9
TV
58212012-03-05 Tom de Vries <tom@codesourcery.com>
5822
5823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5824 default stack guard is set in last bytes.
5825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5826
21bb2d2e 58272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5828
21bb2d2e 5829 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5830
21bb2d2e
AJ
5831 [BZ #13656]
5832 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5833 possibly allocate from heap instead of stack.
5834 * stdio-common/bug-vfprintf-nargs.c: New file.
5835 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5836
c6922934
AS
58372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5838
5839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5840
bc957d53
MP
58412012-03-03 Marek Polacek <polacek@redhat.com>
5842
5843 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5844 * math/math_private.h: Likewise.
5845 * stdlib/tst-strtod.c: Likewise.
5846 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5847 * sysdeps/x86_64/bits/atomic.h: Likewise.
5848
6358490d
DM
58492012-03-02 David S. Miller <davem@davemloft.net>
5850
5851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5859
01ae168d
RM
58602012-03-02 Roland McGrath <roland@hack.frob.com>
5861
d9a17c07
RM
5862 [BZ #13792]
5863 * manual/examples/README: New file, says the example source files
5864 can be used under GPL>=2.
5865 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5866 line containing just "*/".
5867 * manual/examples/add.c: Add copyright header (GPL>=2).
5868 * manual/examples/argp-ex1.c: Likewise.
5869 * manual/examples/argp-ex2.c: Likewise.
5870 * manual/examples/argp-ex3.c: Likewise.
5871 * manual/examples/argp-ex4.c: Likewise.
5872 * manual/examples/atexit.c: Likewise.
5873 * manual/examples/db.c: Likewise.
5874 * manual/examples/dir.c: Likewise.
5875 * manual/examples/dir2.c: Likewise.
5876 * manual/examples/execinfo.c: Likewise.
5877 * manual/examples/filecli.c: Likewise.
5878 * manual/examples/filesrv.c: Likewise.
5879 * manual/examples/fmtmsgexpl.c: Likewise.
5880 * manual/examples/genpass.c: Likewise.
5881 * manual/examples/inetcli.c: Likewise.
5882 * manual/examples/inetsrv.c: Likewise.
5883 * manual/examples/isockad.c: Likewise.
5884 * manual/examples/longopt.c: Likewise.
5885 * manual/examples/memopen.c: Likewise.
5886 * manual/examples/memstrm.c: Likewise.
5887 * manual/examples/mkfsock.c: Likewise.
5888 * manual/examples/mkisock.c: Likewise.
5889 * manual/examples/mygetpass.c: Likewise.
5890 * manual/examples/pipe.c: Likewise.
5891 * manual/examples/popen.c: Likewise.
5892 * manual/examples/rprintf.c: Likewise.
5893 * manual/examples/search.c: Likewise.
5894 * manual/examples/select.c: Likewise.
5895 * manual/examples/setjmp.c: Likewise.
5896 * manual/examples/sigh1.c: Likewise.
5897 * manual/examples/sigusr.c: Likewise.
5898 * manual/examples/stpcpy.c: Likewise.
5899 * manual/examples/strdupa.c: Likewise.
5900 * manual/examples/strftim.c: Likewise.
5901 * manual/examples/strncat.c: Likewise.
5902 * manual/examples/subopt.c: Likewise.
5903 * manual/examples/swapcontext.c: Likewise.
5904 * manual/examples/termios.c: Likewise.
5905 * manual/examples/testopt.c: Likewise.
5906 * manual/examples/testpass.c: Likewise.
5907 * manual/examples/timeval_subtract.c: Likewise.
5908
01ae168d
RM
5909 [BZ #13792]
5910 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5911 function to ...
5912 * manual/timeval_subtract.c.texi: ... here, new file.
5913
49efa33d
DM
59142012-03-02 David S. Miller <davem@davemloft.net>
5915
5916 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5917
28afd92d
JM
59182012-03-02 Joseph Myers <joseph@codesourcery.com>
5919
804360ed
JM
5920 [BZ #3976]
5921 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5922 (__sin): Save and restore rounding mode and use round-to-nearest
5923 for all computations.
5924 (__cos): Save and restore rounding mode and use round-to-nearest
5925 for all computations.
5926 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5927 <fenv.h>.
5928 (tan): Save and restore rounding mode and use round-to-nearest for
5929 all computations.
5930 * math/libm-test.inc (cos_test_tonearest): New function.
5931 (cos_test_towardzero): Likewise.
5932 (cos_test_downward): Likewise.
5933 (cos_test_upward): Likewise.
5934 (sin_test_tonearest): Likewise.
5935 (sin_test_towardzero): Likewise.
5936 (sin_test_downward): Likewise.
5937 (sin_test_upward): Likewise.
5938 (tan_test_tonearest): Likewise.
5939 (tan_test_towardzero): Likewise.
5940 (tan_test_downward): Likewise.
5941 (tan_test_upward): Likewise.
5942 (main): Call the new functions.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
a6d06d7b
JM
5946 [BZ #10135]
5947 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5948 small n, then large n, before computing and testing k+n.
5949 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5951 Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5953 Likewise.
5954 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5955 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5961 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5962 * math/libm-test.inc (scalbn_test): Add more tests.
5963 (scalbln_test): Likewise.
5964
07e12bb3
JM
5965 * manual/filesys.texi (mode_t): Describe constraints on size and
5966 signedness, not exact equivalence to a particular type.
5967 (ino_t): Likewise.
5968 (ino64_t): Likewise.
5969 (dev_t): Likewise.
5970 (nlink_t): Likewise.
5971 (blkcnt_t): Likewise.
5972 (blkcnt64_t): Likewise.
5973 * manual/llio.texi (off_t): Likewise.
5974
28afd92d
JM
5975 [BZ #3976]
5976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5977 (__ieee754_exp): Save and restore rounding mode and use
5978 round-to-nearest for all computations.
5979 * math/libm-test.inc (exp_test_tonearest): New function.
5980 (exp_test_towardzero): Likewise.
5981 (exp_test_downward): Likewise.
5982 (exp_test_upward): Likewise.
5983 (main): Call the new functions.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986
b1eeb65d
CD
59872012-03-01 Chris Demetriou <cgd@google.com>
5988
5989 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5990 have predictable order.
5991
53362a4b
DM
59922012-03-01 David S. Miller <davem@davemloft.net>
5993
3c969083
DM
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5995
759707de
DM
5996 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5997 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5998 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5999 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6000
dfdb8ff2
DM
6001 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6002 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6003 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6005 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6006 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6007 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6008 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6009 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6010
ead89f96
DM
6011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6012
7f66bd07
DM
6013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6014 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6015 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6016
53362a4b
DM
6017 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6018 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6019 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6020 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6021 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6024 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6025 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6026 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6027 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6033 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6034 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6035 * sysdeps/sparc/elf/configure: Regenerated.
6036
7b1902cb
JM
60372012-03-01 Joseph Myers <joseph@codesourcery.com>
6038
bec039bc
JM
6039 * configure.in (AS, LD): Require binutils 2.20 or later.
6040 * configure: Regenerated.
6041 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6042 as required minimum version.
6043 * INSTALL: Regenerated.
6044
7b1902cb
JM
6045 [BZ #2541]
6046 [BZ #4108]
6047 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6048 before squaring exponent.
6049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6050 bottom long double and 27 bits of top long double before squaring
6051 exponent.
6052 * math/libm-test.inc (erfc_test): Add more tests.
6053 * sysdeps/i386/fpu/libm-test-ulps: Update.
6054 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6056
f775c276
KT
60572012-03-01 Kai Tietz <ktietz@redhat.com>
6058
6059 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6060 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6061 containing bit-fields.
6062 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6063 * soft-fp/single.h (_FP_UNION_S): Likewise.
6064 * soft-fp/double.h (_FP_UNION_D): Likewise.
6065
5b8a4d4a
JM
60662012-02-29 Joseph Myers <joseph@codesourcery.com>
6067
0bab47b6
JM
6068 [BZ #13786]
6069 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6070 not include ../strcmp.S.
6071 [USE_AS_STRNCASECMP_L]: Likewise.
6072 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6073 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6074 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6075 (__strncasecmp_l_ia32): Define as alias to
6076 __strncasecmp_l_nonascii.
6077
0fcad3e2
JM
6078 [BZ #5794]
6079 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6082
5b8a4d4a
JM
6083 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085
8fdceb2e
JL
60862012-02-29 Jeff Law <law@redhat.com>
6087
6088 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6089 out of bounds read.
6090
1f393a11
MP
60912012-02-29 Marek Polacek <polacek@redhat.com>
6092
6093 [BZ #13706]
6094 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6095 * elf/Makefile: Add rules to run tst-unused-dep.out.
6096
8847f037
DM
60972012-02-28 David S. Miller <davem@davemloft.net>
6098
6099 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6100 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6104 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6105
169d7f11
JM
61062012-02-29 Joseph Myers <joseph@codesourcery.com>
6107
6108 * math/libm-test.inc (llround_test): Move one test from
6109 lround_test. Use TEST_f_L in moved test.
6110 (lround_test): Move misplaced test to llround_test. Add testcase
6111 from bug 2561.
6112
39adf059
UD
61132012-02-28 Ulrich Drepper <drepper@gmail.com>
6114
6115 * sysdeps/x86_64/fpu/e_expf.S: New file.
6116 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6117
71b5d1c5
SB
61182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6119
6120 [BZ #13637]
6121 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6122 of remain_len that may cause incomplete multi-byte character and
6123 false match.
6124 * posix/bug-regex33.c: New file.
6125 * posix/Makefile (tests): Add bug-regex33.
6126
1f77f049
JM
61272012-02-28 Joseph Myers <joseph@codesourcery.com>
6128
6129 * manual/macros.texi: New file.
6130 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6131 * manual/libc.texinfo: Include macros.texi.
6132 * manual/creatute.texi: Likewise.
6133 * manual/install.texi: Likewise.
6134 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6135 @glibcadj{} in references to the GNU C Library.
6136 * manual/charset.texi: Likewise.
6137 * manual/conf.texi: Likewise.
6138 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6139 when not using those macros.
6140 * manual/creature.texi: Likewise.
6141 * manual/crypt.texi: Likewise.
6142 * manual/errno.texi: Likewise.
6143 * manual/filesys.texi: Likewise.
6144 * manual/header.texi: Likewise.
6145 * manual/install.texi: Likewise.
6146 * manual/intro.texi: Likewise.
6147 * manual/io.texi: Likewise.
6148 * manual/job.texi: Likewise.
6149 * manual/lang.texi: Likewise.
6150 * manual/libc.texiinfo: Likewise.
6151 * manual/llio.texi: Likewise.
6152 * manual/locale.texi: Likewise.
6153 * manual/maint.texi: Likewise.
6154 * manual/math.texi: Likewise.
6155 * manual/memory.texi: Likewise.
6156 * manual/message.texi: Likewise.
6157 * manual/nss.texi: Likewise.
6158 * manual/pattern.texi: Likewise.
6159 * manual/process.texi: Likewise.
6160 * manual/resource.texi: Likewise.
6161 * manual/search.texi: Likewise.
6162 * manual/setjmp.texi: Likewise.
6163 * manual/signal.texi: Likewise.
6164 * manual/socket.texi: Likewise.
6165 * manual/startup.texi: Likewise.
6166 * manual/stdio.texi: Likewise.
6167 * manual/string.texi: Likewise.
6168 * manual/sysinfo.texi: Likewise.
6169 * manual/syslog.texi: Likewise.
6170 * manual/terminal.texi: Likewise.
6171 * manual/time.texi: Likewise.
6172 * manual/users.texi: Likewise.
6173 * INSTALL: Regenerated.
6174 * NOTES: Regenerated.
d40c5d54 6175 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6176
450bf206
AS
61772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6178
6179 * include/dirent.h: Include <dirstream.h> before
6180 <dirent/dirent.h>.
6181
741a235b
DM
61822012-02-28 David S. Miller <davem@davemloft.net>
6183
6184 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6185 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6188
d6b5aa58
DM
61892012-02-27 David S. Miller <davem@davemloft.net>
6190
1aff59a3
DM
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6195
d6b5aa58
DM
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6197 frame pointer instead of stack pointer relative arg slot.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6201
433f48bf
CD
62022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6203
6204 [BZ #3992]
6205 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6206
d674b76d
DM
62072012-02-27 David S. Miller <davem@davemloft.net>
6208
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6213 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6214 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6215 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6216 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6217
0e7727f7
JM
62182012-02-27 Joseph Myers <joseph@codesourcery.com>
6219
6220 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6221 later. Allow versions 5-9.
43be4ca2 6222 * configure: Regenerated.
0e7727f7
JM
6223 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6224 required minimum version and 4.6 as recommended version. Do not
6225 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6226 * INSTALL: Regenerated.
0e7727f7 6227
a78bc654
DM
62282012-02-27 David S. Miller <davem@davemloft.net>
6229
428d5830
DM
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6236 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6238
a78bc654
DM
6239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6240 manipulate bits before adding and subtracting TWO112[sx].
6241 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6242
4579f81c
RM
62432012-02-27 Roland McGrath <roland@hack.frob.com>
6244
36c8acb4
RM
6245 [BZ #13775]
6246 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6247 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6248 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6249 being in POSIX, because they are in 1003.1-2008.
6250
84ad622b
RM
6251 * rt/tst-aio.c: Include <fcntl.h>.
6252 * rt/tst-aio7.c: Likewise.
6253 * rt/tst-aio64.c: Likewise.
6254
4579f81c
RM
6255 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6256
abd923db
JM
62572012-02-27 Joseph Myers <joseph@codesourcery.com>
6258
6259 * manual/install.texi (--with-headers): Describe headers as
6260 interface headers, not private headers.
6261 (Specific advice for GNU/Linux systems): Describe use of headers
6262 from "make headers_install", not private headers from older
6263 kernels.
43be4ca2 6264 * INSTALL: Regenerated.
abd923db
JM
6265 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6266 Change to 2.6.19.
6267 * sysdeps/unix/sysv/linux/configure: Regenerated.
6268
6664049b
JM
6269 * manual/llio.texi (fclean): Remove documentation.
6270
bb8b6697
JM
6271 * manual/Makefile (libc-texi-generated): New variable. Include
6272 version.texi.
6273 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6274 $(libc-texi-generated), not duplicated list of files.
6275 (version.texi, stamp-version): New rules.
6276 (realclean): Remove $(libc-texi-generated), not individual files
6277 from that list. Do not remove dir-add.texinfo.
6278 * manual/libc.texinfo: Comment out uses of edition numbers and
6279 references to printed manual. Remove last-updated dates.
6280 (EDITION): Comment out.
6281 (ISBN): Likewise.
6282 (VERSION, UPDATED): Remove.
6283 (version.texi): Include.
6284
12e5c3b9
AS
62852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6286
6287 * sysdeps/posix/spawni.c: Include <signal.h>.
6288 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6289 * sysdeps/pthread/aio_fsync.c: Likewise.
6290
4efeffc1 62912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6292
ba63ba08
UD
6293 * conform/Makefile (tests): Run only when not cross-compiling and
6294 when fast-check is not defined.
6295
d94a4670
UD
6296 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6297 * conform/data/limits.h-data: Fixes for POSIX2008.
6298 * conform/run-conformtest.sh: Run all tests.
6299 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6300 headers.
6301 * include/bits/dlfcn.h: Likewise.
6302 * include/langinfo.h: Likewise.
6303 * include/monetary.h: Likewise.
6304 * include/sys/poll.h: Likewise.
6305
6306 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6307 for __USE_GNU.
6308 * posix/spawn.h: Define __need_sigset_t.
6309 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6310 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6311 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6312 to get sigevent_t only.
6313 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6314 only for __USE_GNU.
6315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6316 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6317 process_vm_writev only for __USE_GNU.
6318 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6319
6320 * conform/Makefile: For now ignore errors from run-conformtest.
6321 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6322 POSIX to avoid namespace pollution. Don't prepend headers.
6323 * conform/data/aio.h-data: Fixes for POSIX testing.
6324 * conform/data/fcntl.h-data: Likewise.
6325 * conform/data/glob.h-data: Likewise.
6326 * conform/data/grp.h-data: Likewise.
6327 * conform/data/pthread.h-data: Likewise.
6328 * conform/data/pwd.h-data: Likewise.
6329 * conform/data/signal.h-data: Likewise.
6330 * conform/data/spawn.h-data: Likewise.
6331 * conform/data/stdio.h-data: Likewise.
6332 * conform/data/stdlib.h-data: Likewise.
6333 * conform/data/stropts.h-data: Likewise.
6334 * conform/data/sys/mman.h-data: Likewise.
6335 * conform/data/sys/stat.h-data: Likewise.
6336 * conform/data/sys/types.h-data: Likewise.
6337 * conform/data/sys/wait.h-data: Likewise.
6338 * conform/data/time.h-data: Likewise.
6339 * conform/data/unistd.h-data: Likewise.
6340 * conform/data/utime.h-data: Likewise.
6341
6342 * io/sys/stat.h: fchmod was always in POSIX.
6343 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6344 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6345 * rt/aio.h: Define __need_timespec before including <time.h>.
6346 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6347 struct. Add forward declaration of pthread_attr_t and use it in
6348 sigevent.
6349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6351 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6352 always remove CLK_TCK definition.
6353
c20105c3
AS
63542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6355
6356 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6357
7a270350
UD
63582012-02-25 Ulrich Drepper <drepper@gmail.com>
6359
31341567
UD
6360 * conform/run-conformtest.sh: New file.
6361 * conform/Makefile: Run run-conformtest for tests.
6362 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6363 support.
6364
6365 * conform/data/uchar.h-data: New file.
6366 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6367 * conform/data/arpa/inet.h-data: Likewise.
6368 * conform/data/assert.h-data: Likewise.
6369 * conform/data/complex.h-data: Likewise.
6370 * conform/data/cpio.h-data: Likewise.
6371 * conform/data/ctype.h-data: Likewise.
6372 * conform/data/dirent.h-data: Likewise.
6373 * conform/data/dlfcn.h-data: Likewise.
6374 * conform/data/errno.h-data: Likewise.
6375 * conform/data/fcntl.h-data: Likewise.
6376 * conform/data/float.h-data: Likewise.
6377 * conform/data/fmtmsg.h-data: Likewise.
6378 * conform/data/fnmatch.h-data: Likewise.
6379 * conform/data/ftw.h-data: Likewise.
6380 * conform/data/glob.h-data: Likewise.
6381 * conform/data/grp.h-data: Likewise.
6382 * conform/data/iconv.h-data: Likewise.
6383 * conform/data/inttypes.h-data: Likewise.
6384 * conform/data/langinfo.h-data: Likewise.
6385 * conform/data/libgen.h-data: Likewise.
6386 * conform/data/limits.h-data: Likewise.
6387 * conform/data/locale.h-data: Likewise.
6388 * conform/data/math.h-data: Likewise.
6389 * conform/data/monetary.h-data: Likewise.
6390 * conform/data/mqueue.h-data: Likewise.
6391 * conform/data/ndbm.h-data: Likewise.
6392 * conform/data/net/if.h-data: Likewise.
6393 * conform/data/netdb.h-data: Likewise.
6394 * conform/data/netinet/in.h-data: Likewise.
6395 * conform/data/nl_types.h-data: Likewise.
6396 * conform/data/poll.h-data: Likewise.
6397 * conform/data/pthread.h-data: Likewise.
6398 * conform/data/pwd.h-data: Likewise.
6399 * conform/data/regex.h-data: Likewise.
6400 * conform/data/sched.h-data: Likewise.
6401 * conform/data/search.h-data: Likewise.
6402 * conform/data/semaphore.h-data: Likewise.
6403 * conform/data/setjmp.h-data: Likewise.
6404 * conform/data/signal.h-data: Likewise.
6405 * conform/data/spawn.h-data: Likewise.
6406 * conform/data/stdarg.h-data: Likewise.
6407 * conform/data/stdio.h-data: Likewise.
6408 * conform/data/stdlib.h-data: Likewise.
6409 * conform/data/string.h-data: Likewise.
6410 * conform/data/strings.h-data: Likewise.
6411 * conform/data/stropts.h-data: Likewise.
6412 * conform/data/sys/ipc.h-data: Likewise.
6413 * conform/data/sys/mman.h-data: Likewise.
6414 * conform/data/sys/msg.h-data: Likewise.
6415 * conform/data/sys/resource.h-data: Likewise.
6416 * conform/data/sys/select.h-data: Likewise.
6417 * conform/data/sys/sem.h-data: Likewise.
6418 * conform/data/sys/shm.h-data: Likewise.
6419 * conform/data/sys/socket.h-data: Likewise.
6420 * conform/data/sys/stat.h-data: Likewise.
6421 * conform/data/sys/statvfs.h-data: Likewise.
6422 * conform/data/sys/time.h-data: Likewise.
6423 * conform/data/sys/timeb.h-data: Likewise.
6424 * conform/data/sys/times.h-data: Likewise.
6425 * conform/data/sys/types.h-data: Likewise.
6426 * conform/data/sys/uio.h-data: Likewise.
6427 * conform/data/sys/un.h-data: Likewise.
6428 * conform/data/sys/utsname.h-data: Likewise.
6429 * conform/data/sys/wait.h-data: Likewise.
6430 * conform/data/syslog.h-data: Likewise.
6431 * conform/data/tar.h-data: Likewise.
6432 * conform/data/termios.h-data: Likewise.
6433 * conform/data/utime.h-data: Likewise.
6434 * conform/data/utmpx.h-data: Likewise.
6435 * conform/data/varargs.h-data: Likewise.
6436 * conform/data/wchar.h-data: Likewise.
6437 * conform/data/wctype.h-data: Likewise.
6438 * conform/data/wordexp.h-data: Likewise.
6439
6440 * include/stropts.h: New file.
6441 * include/uchar.h: New file.
6442 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6443 * include/assert.h: Likewise.
6444 * include/ctype.h: Likewise.
6445 * include/dirent.h: Likewise.
6446 * include/dlfcn.h: Likewise.
6447 * include/fcntl.h: Likewise.
6448 * include/fnmatch.h: Likewise.
6449 * include/glob.h: Likewise.
6450 * include/grp.h: Likewise.
6451 * include/libio.h: Likewise.
6452 * include/locale.h: Likewise.
6453 * include/math.h: Likewise.
6454 * include/net/if.h: Likewise.
6455 * include/netdb.h: Likewise.
6456 * include/netinet/in.h: Likewise.
6457 * include/pthread.h: Likewise.
6458 * include/pwd.h: Likewise.
6459 * include/regex.h: Likewise.
6460 * include/sched.h: Likewise.
6461 * include/search.h: Likewise.
6462 * include/setjmp.h: Likewise.
6463 * include/signal.h: Likewise.
6464 * include/stdio.h: Likewise.
6465 * include/stdlib.h: Likewise.
6466 * include/string.h: Likewise.
6467 * include/sys/cdefs.h: Likewise.
6468 * include/sys/mman.h: Likewise.
6469 * include/sys/msg.h: Likewise.
6470 * include/sys/resource.h: Likewise.
6471 * include/sys/select.h: Likewise.
6472 * include/sys/socket.h: Likewise.
6473 * include/sys/stat.h: Likewise.
6474 * include/sys/statvfs.h: Likewise.
6475 * include/sys/time.h: Likewise.
6476 * include/sys/times.h: Likewise.
6477 * include/sys/uio.h: Likewise.
6478 * include/sys/utsname.h: Likewise.
6479 * include/sys/wait.h: Likewise.
6480 * include/termios.h: Likewise.
6481 * include/time.h: Likewise.
6482 * include/ulimit.h: Likewise.
6483 * include/unistd.h: Likewise.
6484 * include/utime.h: Likewise.
6485 * include/wchar.h: Likewise.
6486 * include/wctype.h: Likewise.
6487 * include/wordexp.h: Likewise.
6488
6489 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6490
7a270350
UD
6491 * time/time.h: TIME_UTC must be a macro.
6492 Make timespec_get available for ISO C11 only as well.
6493
7724defc
UD
64942012-02-24 Ulrich Drepper <drepper@gmail.com>
6495
6496 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6497 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6498
6b1d1d46
JM
64992012-02-24 Joseph Myers <joseph@codesourcery.com>
6500
6501 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6502
0f8bbd69
JM
65032012-02-24 Joseph Myers <joseph@codesourcery.com>
6504
6505 * manual/texinfo.tex: Update to version 2012-01-19.16.
6506
66ab80bc
JM
65072012-02-24 Joseph Myers <joseph@codesourcery.com>
6508
6509 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6510
74981cc5
RM
65112012-02-24 Roland McGrath <roland@hack.frob.com>
6512
ee968201
RM
6513 [BZ #13738]
6514 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6515 * manual/fdl-1.3.texi: New file.
6516 * manual/fdl-1.1.texi: File removed.
6517
74981cc5
RM
6518 [BZ #13738]
6519 * manual/libc.texinfo (FDL_VERSION): New @set.
6520 Use it for mention of FDL in cover text.
6521 (Documentation License): Use it in @include file name.
6522
7bb764bc
JM
65232012-02-22 Joseph Myers <joseph@codesourcery.com>
6524 Roland McGrath <roland@hack.frob.com>
6525
6526 [BZ #5461]
6527 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6528 not LONG_LONG_MAX and LONG_LONG_MIN.
6529 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6530 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6531 name.
6532 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6533
6cbeae47
JM
65342012-02-22 Joseph Myers <joseph@codesourcery.com>
6535
6536 [BZ #2547]
6537 [BZ #11365]
6538 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6539 manipulate bits before adding and subtracting TWO23[sx].
6540 * math/libm-test.inc (nearbyint_test): Add more tests.
6541
fe45ce09
JM
65422012-02-22 Joseph Myers <joseph@codesourcery.com>
6543
6544 [BZ #2548]
6545 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6546 bits before adding and subtracting TWO23[sx].
6547 * math/libm-test.inc (rint_test): Add more tests.
6548 (rint_test_tonearest): Likewise.
6549 (rint_test_towardzero): Likewise.
6550 (rint_test_downward): Likewise.
6551 (rint_test_upward: Likewise.
6552
ff3b3d82
JM
65532012-02-22 Joseph Myers <joseph@codesourcery.com>
6554
6555 [BZ #10110]
6556 * include/stdc-predef.h: New file. Extracted from features.h.
6557 * include/features.h: Include stdc-predef.h.
6558 * Makefile (headers): Add stdc-predef.h.
6559 * CONFORMANCE (Compiler limitations): Update.
6560
ef0aab35
JM
65612012-02-22 Joseph Myers <joseph@codesourcery.com>
6562
6563 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6564
58639409
DM
65652012-02-21 David S. Miller <davem@davemloft.net>
6566
6567 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6568 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6569
c0e70b25
DM
65702012-02-20 David S. Miller <davem@davemloft.net>
6571
6572 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6573 using a normal save/restore sequence, rather than allocating a
6574 dummy stack frame just to store a frame pointer and restore.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6576
fb06851d
JM
65772012-02-21 Joseph Myers <joseph@codesourcery.com>
6578
6579 * manual/install.texi: Fix stray word in line-wrapped comment.
6580
7a8b71c3
DM
65812012-02-20 David S. Miller <davem@davemloft.net>
6582
d510c123
DM
6583 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6584 both binutils and gcc support GOTDATA.
6585
0722d7c2
DM
6586 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6587 "rd %pc" in the PIC register setup sequences.
6588
3d2b3019
DM
6589 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6590 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6591 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6592 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6593 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6595 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6598 (SYSCALL_ERROR_HANDLER): Likewise.
6599 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6600 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6602 (SYSCALL_ERROR_HANDLER): Likewise.
6603
c80098a9
DM
6604 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6605 (HAVE_GCC_GOTDATA): New.
6606 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6607 relocation support in both binutils and gcc.
6608 * sysdeps/sparc/elf/configure: Regenerate.
6609
3a2545a0
DM
6610 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6611 * sysdeps/sparc/sparc32/elf/configure: Delete.
6612 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6613 * sysdeps/sparc/sparc64/elf/configure: Delete.
6614 * sysdeps/sparc/elf/configure.in: New file.
6615 * sysdeps/sparc/elf/configure: Generate.
6616
7a8b71c3
DM
6617 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6618 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6619 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6620 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6621 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6622
f1e86fca
JM
66232012-02-21 Joseph Myers <joseph@codesourcery.com>
6624
6625 * manual/install.texi: Do not mention specific glibc version
6626 numbers.
6627 * manual/libc.texinfo (VERSION, UPDATED): Update.
6628 (@copying): Use @copyright{} and range of years.
6629
0e7dfaef
JM
66302012-02-21 Joseph Myers <joseph@codesourcery.com>
6631
6632 [BZ #13695]
6633 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6634 [crti.S not in sysdirs] (generated): Do not append.
6635 [crti.S not in sysdirs] (omit-deps): Likewise.
6636 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6637 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6638 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6639 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6640 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6641 Likewise.
6642 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6643 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6644 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6645 * csu/defs.awk: Remove file.
6646 * sysdeps/generic/initfini.c: Likewise.
6647 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6648 variable.
6649 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6650 Likewise.
6651
599af3ca
JM
66522012-02-20 Joseph Myers <joseph@codesourcery.com>
6653
6654 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6655 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6658 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6659 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6660 <bits/epoll.h>.
6661 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6662 (__EPOLL_PACKED): Define to empty if not defined by
6663 <bits/epoll.h>.
6664 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6666 bits/epoll.h.
6667
0e499750
JM
66682012-02-20 Joseph Myers <joseph@codesourcery.com>
6669
6670 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6671 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6673 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6674 <bits/timerfd.h>.
6675 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6677 bits/timerfd.h.
6678
5ad91f6e
JM
66792012-02-20 Joseph Myers <joseph@codesourcery.com>
6680
6681 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6682 in C locale.
6683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6687
06b99b02
AJ
66882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6689
6690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6691 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6692
7638c0fd
AS
66932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6694
6695 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6696 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6697 defined.
6698 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6699 Likewise.
6700 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6701 entry for 2.16.
6702
92221550
AJ
67032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6704
6705 * math/w_acos.c: Use non-signaling floating-point comparisons.
6706 * math/w_acosf.c: Likewise.
6707 * math/w_acosh.c: Likewise.
6708 * math/w_acoshf.c: Likewise.
6709 * math/w_acoshl.c: Likewise.
6710 * math/w_acosl.c: Likewise.
6711 * math/w_asin.c: Likewise.
6712 * math/w_asinf.c: Likewise.
6713 * math/w_asinl.c: Likewise.
6714 * math/w_atanh.c: Likewise.
6715 * math/w_atanhf.c: Likewise.
6716 * math/w_atanhl.c: Likewise.
6717 * math/w_exp2.c: Likewise.
6718 * math/w_exp2f.c: Likewise.
6719 * math/w_exp2l.c: Likewise.
6720 * math/w_j0.c: Likewise.
6721 * math/w_j0f.c: Likewise.
6722 * math/w_j0l.c: Likewise.
6723 * math/w_j1.c: Likewise.
6724 * math/w_j1f.c: Likewise.
6725 * math/w_j1l.c: Likewise.
6726 * math/w_jn.c: Likewise.
6727 * math/w_jnf.c: Likewise.
6728 * math/w_log.c: Likewise.
6729 * math/w_log10.c: Likewise.
6730 * math/w_log10f.c: Likewise.
6731 * math/w_log10l.c: Likewise.
6732 * math/w_log2.c: Likewise.
6733 * math/w_log2f.c: Likewise.
6734 * math/w_log2l.c: Likewise.
6735 * math/w_logf.c: Likewise.
6736 * math/w_logl.c: Likewise.
6737 * math/w_sqrt.c: Likewise.
6738 * math/w_sqrtf.c: Likewise.
6739 * math/w_sqrtl.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6743 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6745
ebaf36eb
JM
67462012-02-19 Joseph Myers <joseph@codesourcery.com>
6747
6748 [BZ #9739]
6749 * manual/string.texi (strnlen): Use correct parameter name in
6750 equivalent expression.
6751
71c254a6
JM
67522012-02-19 Joseph Myers <joseph@codesourcery.com>
6753
6754 [BZ #11174]
6755 * manual/users.texi (seteuid): Consistently use neweuid for
6756 argument name.
6757
16d2c631
JM
67582012-02-19 Joseph Myers <joseph@codesourcery.com>
6759
6760 [BZ #13704]
6761 * manual/nss.texi (Services in the NSS configuration): Correct
6762 list of services in example configuration file.
6763
cd837b09
NB
67642012-02-19 Nick Bowler <nbowler@draconx.ca>
6765
6766 [BZ #11322]
6767 * manual/arith.texi: Remove statements about negative zero
6768 behaving identically to zero.
6769
02c4bbad
JM
67702012-02-18 Joseph Myers <joseph@codesourcery.com>
6771
6772 [BZ #5993]
6773 * manual/install.texi: Do not document upgrading from libc5.
6774
366842e7
JM
67752012-02-18 Joseph Myers <joseph@codesourcery.com>
6776
6777 [BZ #4596]
6778 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6779
dd54084d
DM
67802012-02-18 David S. Miller <davem@davemloft.net>
6781
6782 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6783 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6784 %o7 across the call.
6785 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6786 instead.
6787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6788 SETUP_PIC_REG_LEAF.
6789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6790 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6791 * sysdeps/sparc/crtn.S: Likewise.
6792
2bcc53a3
UD
67932012-02-17 Ulrich Drepper <drepper@gmail.com>
6794
6795 * aout/Makefile: Remove.
6796
09c093b5
RK
67972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6798
6799 [BZ #13058]
6800 * manual/examples/argp-ex1.c (main): Format definition in GNU
6801 style.
6802 * manual/examples/argp-ex2.c (main): Likewise.
6803 * manual/examples/argp-ex3.c (main): Likewise.
6804 * manual/examples/argp-ex4.c (main): Likewise.
6805 * manual/examples/longopt.c (main): Use new-style prototype
6806 definition.
6807 * manual/examples/strncat.c (main): Specify return type and use
6808 (void) for arguments.
6809 * manual/examples/subopt.c (main): Use char **argv argument.
6810
2ee633a2
JM
68112012-02-17 Joseph Myers <joseph@codesourcery.com>
6812
6813 [BZ #5077]
6814 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6815 rounding modes.
6816
0520adde
FB
68172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6818
6819 [BZ #6907]
6820 * manual/string.texi (strchr): Change when strchrnul is
6821 recommended.
6822
3f4081cd
DGM
68232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6824
6825 [BZ #174]
6826 * manual/locale.texi (setlocale): Document LOCPATH.
6827
d1b10e78
JM
68282012-02-17 Joseph Myers <joseph@codesourcery.com>
6829
6830 [BZ #10210]
6831 * manual/process.texi (execle): Move @dots{} before last argument.
6832
79c6869c
PB
68332012-02-17 Paul Bolle <pebolle@tiscali.nl>
6834
6835 [BZ #12047]
6836 * manual/charset.texi (Generic Charset Conversion): Fix typo
6837 (LC_TYPE -> LC_CTYPE).
6838
cc6e48bc
NB
68392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6840
6841 [BZ #5805]
6842 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6843 (scalbnf): Likewise.
6844 (scalbnl): Likewise.
6845 (scalbln): Likewise.
6846 (scalblnf): Likewise.
6847 (scalblnl): Likewise.
6848 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6849 (vwarnx): Likewise.
6850 (verr): Likewise.
6851 (verrx): Likewise.
6852 * manual/filesys.texi (telldir): Use braces around return type.
6853 * manual/llio.texi (mmap): Add space after comma.
6854 (mmap64): Likewise.
6855 * manual/math.texi (jn): Use @var{} on parameter names.
6856 (jnf): Likewise.
6857 (jnl): Likewise.
6858 (yn): Likewise.
6859 (ynf): Likewise.
6860 (ynl): Likewise.
6861 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6862 line.
6863 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6864 "...".
6865 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6866 (sched_get_priority_max): Likewise.
6867 * manual/signal.texi (sigvec): Add space after comma.
6868 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6869 names.
6870 (if_indextoname): Likewise.
6871 (if_freenameindex): Likewise.
6872 (sendto): Use ',' instead of '.' in prototype.
6873 * manual/startup.texi (syscall): Use @dots{} instead of literal
6874 "...".
6875 * manual/stdio.texi (__fpending): Separate initial words of
6876 paragraph from @deftypefun line.
6877 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6878 "...".
6879 (vsyslog): Use @var{} on parameter names.
6880 * manual/terminal.texi (stty): Use @var{} on parameter names.
6881 * manual/users.texi (getutmp): Use @var{} on parameter names.
6882 (getutmpx): Likewise.
6883
5b23062f
JM
68842012-02-17 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #6884]
6887 * manual/stdio.texi (fopen): Fix typos in description of
6888 ",ccs=STRING".
6889
8dee4833
AJ
68902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6891
6892 [BZ #4026]
6893 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6894 get clock_id definition.
6895
9078ce93
TS
68962012-02-17 Thomas Schwinge <thomas@schwinge.name>
6897
6898 [BZ #4822]
6899 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6900 (madvise): Cast every argument to void on its own.
6901
3835c55f
JM
69022012-02-17 Joseph Myers <joseph@codesourcery.com>
6903
6904 [BZ #9902]
6905 * manual/startup.texi (Exit Status): Fix typo.
6906
35c47e37
JM
69072012-02-17 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #10140]
6910 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6911 * manual/examples/argp-ex2.c: Likewise.
6912 * manual/examples/argp-ex3.c: Likewise.
6913
e3b69ca7
RH
69142012-02-16 Richard Henderson <rth@redhat.com>
6915
6916 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6917 * sysdeps/s390/s390-32/initfini.c: Remove.
6918 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6919 * sysdeps/s390/s390-64/initfini.c: Remove.
6920
df83af67
KK
69212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6922
6923 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6924 compiler output for sysdeps/generic/initfini.c.
6925 * sysdeps/sh/elf/initfini.c: Remove file.
6926
f63f3380
DM
69272012-02-16 David S. Miller <davem@davemloft.net>
6928
fb59b3a4
DM
6929 [BZ #11494]
6930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6931
f63f3380
DM
6932 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6933 * sysdeps/sparc/crti.S: New file.
6934 * sysdeps/sparc/crtn.S: New file.
6935 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6936 * sysdeps/sparc/sparc64/Makefile: Likewise.
6937
df6a4a4a
MF
69382012-02-15 Mike Frysinger <vapier@gentoo.org>
6939
6dd8f3dc 6940 [BZ #3335]
df6a4a4a
MF
6941 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6942
1cac7236
RM
69432012-02-15 Roland McGrath <roland@hack.frob.com>
6944
d2c736f8
RM
6945 [BZ #4822]
6946 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6947
1cac7236
RM
6948 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6949 (write, read, close): Likewise.
6950 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6951
8e475601
JM
69522012-02-15 Joseph Myers <joseph@codesourcery.com>
6953
6954 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6955 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6957 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6958 <bits/signalfd.h>.
6959 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6961 bits/signalfd.h.
6962
ed656b40
MP
69632012-02-14 Marek Polacek <polacek@redhat.com>
6964
6965 * sysdeps/x86_64/crti.S: New file.
6966 * sysdeps/x86_64/crtn.S: New file.
6967 * sysdeps/x86_64/elf/initfini.c: Remove file.
6968
2a979d3a
JM
69692012-02-13 Joseph Myers <joseph@codesourcery.com>
6970
6971 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6972 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6974 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6975 <bits/inotify.h>.
6976 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6978 bits/inotify.h.
6979
2a418ac3
JM
69802012-02-13 Joseph Myers <joseph@codesourcery.com>
6981
6982 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6983 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6985 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6986 <bits/eventfd.h>.
6987 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6989 bits/eventfd.h.
6990
fb779be7
TS
69912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6992
e19e83c5
RM
6993 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6994 __feraiseexcept instead of feraiseexcept.
7c35ffed 6995
fb779be7
TS
6996 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6997 nanosleep invocations.
6998 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6999 strings, and add error checking for a nanosleep invocations.
7000
59ba27a6
PE
70012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7002
7003 Replace FSF snail mail address with URLs, as per GNU coding standards.
7004 Most of the snail mail addresses were wrong anyway, and omitting
7005 them makes the source code easier to maintain. Almost all of the
7006 changes are to license notices and to locale LC_IDENTIFICATION
7007 addresses, except for this one:
7008 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7009 not its snail mail address.
7010
57b957eb
RH
70112012-02-09 Richard Henderson <rth@twiddle.net>
7012
af850b1c
RH
7013 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7014 of kernel-features.h.
7015
57b957eb
RH
7016 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7017
6b73181a
MP
70182012-02-08 Marek Polacek <polacek@redhat.com>
7019
7020 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7021 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7022 * sysdeps/gnu/_G_config.h: Likewise.
7023 * sysdeps/generic/_G_config.h: Likewise.
7024
26ecc33a
AS
70252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7026
6c6dbc63
AS
7027 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7028 tests.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7030
e216c012
AS
7031 * sysdeps/powerpc/powerpc32/crti.S: New file.
7032 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7033 * sysdeps/powerpc/powerpc64/crti.S: New file.
7034 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7035
26ecc33a
AS
7036 * Makeconfig (have-initfini): Don't set.
7037 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7038 * configure.in (nopic_initfini): Don't substitute.
7039 * config.h.in (HAVE_INITFINI): Don't #undef.
7040 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7041 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7042
3add8e13
JM
70432012-02-08 Joseph Myers <joseph@codesourcery.com>
7044
7045 Support crti.S and crtn.S provided directly by architectures.
7046 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7047 [crti.S in sysdirs] (omit-deps): Likewise.
7048 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7049 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7050 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7051 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7052 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7053 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7054 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7055 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7056 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7057 compiler output for sysdeps/generic/initfini.c.
7058 * sysdeps/i386/elf/Makefile: Remove file.
7059 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7060
a22f12b4
MP
70612012-02-07 Marek Polacek <polacek@redhat.com>
7062
7063 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7064 * sysdeps/gnu/_G_config.h: Likewise.
7065 * sysdeps/mach/hurd/_G_config.h: Likewise.
7066
148cf100
MP
70672012-02-07 Marek Polacek <polacek@redhat.com>
7068
7069 * math/Makefile (tests): Add tst-CMPLX2.
7070 * math/tst-CMPLX2.c: New file.
7071
cfdc0dd7
AS
70722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7073
84ba42c4
AS
7074 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7075
cfdc0dd7
AS
7076 * math/libm-test.inc (jn_test): Add missing L suffix.
7077
622c86f4
MP
70782012-02-06 Marek Polacek <polacek@redhat.com>
7079
7080 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7081 * sysdeps/i386/fpu/e_powf.S: Likewise.
7082 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7083 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7084 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7085 * sysdeps/i386/fpu/e_pow.S: Likewise.
7086 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7088 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7089 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7090 * sysdeps/i386/fpu/e_log2.S: Likewise.
7091 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7092 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7093 * sysdeps/i386/fpu/e_powl.S: Likewise.
7094 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7096 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7097 * sysdeps/i386/fpu/e_logl.S: Likewise.
7098 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7099 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7100 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7101 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7102 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7104 * sysdeps/i386/fpu/e_log.S: Likewise.
7105 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7107 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7108 * sysdeps/i386/fpu/e_logf.S: Likewise.
7109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7111 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7112 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7113 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7114 * sysdeps/i386/fpu/e_log10.S: Likewise.
7115 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7116 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7117 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7118 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7119 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7120 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7121 * sysdeps/i386/asm-syntax.h: Likewise.
7122 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7124 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7125 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7126 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7131 * sysdeps/powerpc/sysdep.h: Likewise.
7132 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7134
d4a54ac6
JM
71352012-02-06 Joseph Myers <joseph@codesourcery.com>
7136
7137 [BZ #411]
7138 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7139
314054ea
JM
71402012-02-06 Joseph Myers <joseph@codesourcery.com>
7141
7142 * sysdeps/i386/sysdep.h: Include <features.h>.
7143 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7144 version.
7145
d8e0ca50
JM
71462012-02-05 Joseph Myers <joseph@codesourcery.com>
7147
7148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7149 Define.
7150 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7151 LOAD_PIC_REG_STR.
7152
b1da7dd9
JM
71532012-02-03 Joseph Myers <joseph@codesourcery.com>
7154
7155 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7156 (SETUP_PIC_REG): Use GET_PC_THUNK.
7157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7158 macro.
7159
9a1d9254
JM
71602012-02-03 Joseph Myers <joseph@codesourcery.com>
7161
7162 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7163 for non-PIC compilation.
7164 (SETUP_PIC_REG): Add .p2align directive.
7165 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7166 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7206
65dc3b75
JM
72072012-02-03 Joseph Myers <joseph@codesourcery.com>
7208
7209 * math/tst-CMPLX.c: Include <stdio.h>.
7210
d55bf177
JM
72112012-01-31 Joseph Myers <joseph@codesourcery.com>
7212
7213 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7214 float.
7215 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7216 * sysdeps/sparc/bits/mathdef.h: Likewise.
7217
69db4f8f
MP
72182012-01-31 Marek Polacek <polacek@redhat.com>
7219
7220 * libio/libio.h: Don't define _PARAMS.
7221 * locale/programs/config.h: Don't define PARAMS.
7222 * stdlib/strtol_l.c: Likewise.
7223 (__strtol_l): Remove PARAMS from the prototype.
7224
41b81892
UD
72252012-01-31 Ulrich Drepper <drepper@gmail.com>
7226
3b49edc0
UD
7227 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7228 names. Just use the correct names. Remove unnecessary wrapper
7229 functions.
7230 * malloc/arena.c: Likewise.
7231 * malloc/hooks.c: Likewise.
7232
41b81892
UD
7233 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7234 ARENA_TEST says not to. Simplify test for creation of a new arena.
7235 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7236
27a25b6e
UD
72372012-01-30 Ulrich Drepper <drepper@gmail.com>
7238
7239 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7240 into tail calls.
7241 (update_get_addr): New function.
7242 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7243 GET_ADDR_MODULE parameter.
7244
c8a89e7d
JM
72452012-01-30 Joseph Myers <joseph@codesourcery.com>
7246
7247 * crypt/cert.c: Remove __STDC__ conditionals.
7248 * crypt/crypt-entry.c: Likewise.
7249 * crypt/crypt_util.c: Likewise.
7250 * libio/filedoalloc.c: Likewise.
7251 * libio/fileops.c: Likewise.
7252 * libio/genops.c: Likewise.
7253 * libio/iofclose.c: Likewise.
7254 * libio/iofdopen.c: Likewise.
7255 * libio/iofopen.c: Likewise.
7256 * libio/iofopen64.c: Likewise.
7257 * libio/iogetdelim.c: Likewise.
7258 * libio/iopopen.c: Likewise.
7259 * libio/obprintf.c: Likewise.
7260 * libio/oldfileops.c: Likewise.
7261 * libio/oldiofclose.c: Likewise.
7262 * libio/oldiofdopen.c: Likewise.
7263 * libio/oldiofopen.c: Likewise.
7264 * libio/oldiopopen.c: Likewise.
7265 * libio/wfiledoalloc.c: Likewise.
7266 * libio/wgenops.c: Likewise.
7267 * locale/programs/xmalloc.c: Likewise.
7268 * misc/syslog.c: Likewise.
7269 * stdio-common/xbug.c: Likewise.
7270 * string/memchr.c: Likewise.
7271 * string/memcmp.c: Likewise.
7272 * string/memrchr.c: Likewise.
7273 * string/rawmemchr.c: Likewise.
7274 * sysdeps/posix/getcwd.c: Likewise.
7275 * time/strftime_l.c: Likewise.
7276
3b100462
JM
72772012-01-30 Joseph Myers <joseph@codesourcery.com>
7278
7279 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7280 * config.make.in (config-cflags-sse2avx): Define.
7281 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7282 Fix typo.
7283
607998af
CM
72842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7285
7286 * scripts/config.guess: Update from upstream config git repository.
7287 * scripts/config.sub: Likewise.
7288
3601428f
CM
72892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7290
3ac8b282
CM
7291 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7292 (EM_NUM): Update.
7293 (R_TILEPRO_*, R_TILEGX_*): New macros.
7294
e034841e
CM
7295 * scripts/firstversions.awk: Fix bug in version range handling.
7296
540d7568
CM
7297 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7298
3601428f
CM
7299 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7300
463de862
CM
7301 * include/sys/epoll.h: New file.
7302 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7303 libc_hidden_def.
7304
73139a76
UD
73052012-01-28 Ulrich Drepper <drepper@gmail.com>
7306
96bc5b45
UD
7307 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7308 Avoid unnecessary __WORDSIZE == 64 test.
7309 (fmaxf): Use VEX format if possible.
7310 (fmax): Likewise.
7311 (fminf): Likewise.
7312 (fmin): Likewise.
7313
56f6f6a2
UD
7314 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7315 * math/math_private.h: Remove libc_fegetround* and
7316 libc_fesetround*.
7317 * sysdeps/i386/configure.in: Check for -msse2avx.
7318 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7319 also if SSE2AVX is defined.
7320 Remove libc_fegetround* and libc_fesetround*.
7321 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7322 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7324 of HAS_YMM_USABLE.
7325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7330
73139a76
UD
7331 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7332
d73f93a4
AZ
73332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7334
7335 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7336 size is not set.
7337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7338
6ee65ed6
UD
73392012-01-27 Ulrich Drepper <drepper@gmail.com>
7340
7341 [BZ #13618]
7342 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7343 relocation.
7344 * Makeconfig (libm): Define.
7345 * elf/Makefile: Add rules to build and run tst-relsort1.
7346 * elf/tst-relsort1.c: New file.
7347 * elf/tst-relsort1mod1.c: New file.
7348 * elf/tst-relsort1mod2.c: New file.
7349
8db21882
JM
73502012-01-27 Joseph Myers <joseph@codesourcery.com>
7351
7352 * math/s_ldexp.c: Remove __STDC__ conditionals.
7353 * math/s_ldexpf.c: Likewise.
7354 * math/s_ldexpl.c: Likewise.
7355 * math/s_nextafter.c: Likewise.
7356 * math/s_nexttowardf.c: Likewise.
7357 * math/s_significand.c: Likewise.
7358 * math/s_significandf.c: Likewise.
7359 * math/s_significandl.c: Likewise.
7360 * math/w_jnl.c: Likewise.
7361 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7362 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7363 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7364 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7365 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7389 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7391 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7392 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7395 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7396 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7397 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7398 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7399 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7400 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7401 * sysdeps/ieee754/k_standard.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7463 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7477 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7481 * sysdeps/ieee754/s_matherr.c: Likewise.
7482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7486
965a54a4
JM
74872012-01-26 Joseph Myers <joseph@codesourcery.com>
7488
7489 * crypt/md5.h: Remove __STDC__ conditionals.
7490 * libio/libioP.h: Likewise.
7491 * locale/programs/config.h: Likewise.
7492 * sysdeps/generic/sysdep.h: Likewise.
7493 * sysdeps/i386/asm-syntax.h: Likewise.
7494 * sysdeps/s390/asm-syntax.h: Likewise.
7495 * sysdeps/unix/sysdep.h: Likewise.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7498
7071ad79
JM
74992012-01-26 Joseph Myers <joseph@codesourcery.com>
7500
7501 * libio/libio.h: Remove __STDC__ conditionals.
7502 * malloc/obstack.h: Likewise.
7503 * math/complex.h: Likewise.
7504 * math/math.h: Likewise.
7505 * sysdeps/generic/_G_config.h: Likewise.
7506 * sysdeps/gnu/_G_config.h: Likewise.
7507 * sysdeps/mach/hurd/_G_config.h: Likewise.
7508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7510 * sysdeps/sparc/bits/mathdef.h: Likewise.
7511
afc5ed09
UD
75122012-01-26 Ulrich Drepper <drepper@gmail.com>
7513
7514 [BZ #13583]
7515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7516 Clean up HAS_* macros.
afc5ed09 7517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7518 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7519 possible.
7520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7521 HAS_AVX.
7522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7523 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7524 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7525 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7527
bdb6de1d
JM
75282012-01-25 Joseph Myers <joseph@codesourcery.com>
7529
7530 * elf/tst-unique3.cc (gets): Remove declaration.
7531 * elf/tst-unique3lib.cc (gets): Likewise.
7532 * elf/tst-unique3lib2.cc (gets): Likewise.
7533 * elf/tst-unique4.cc (gets): Likewise.
7534
b15549e6
UD
75352012-01-24 Ulrich Drepper <drepper@gmail.com>
7536
7537 * include/stdio.h: Add C++ protection. Add gets declarations and
7538 definitions.
7539 * debug/tst-chk1.c: Don't declare gets here.
7540 * stdio-common/tst-gets.c: Likewise.
7541
a037381f
JM
75422012-01-24 Joseph Myers <joseph@codesourcery.com>
7543
7544 * posix/glob: Remove directory.
7545
f1d4aa75
JM
75462012-01-24 Joseph Myers <joseph@codesourcery.com>
7547
7548 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7549
81c0c964
PT
75502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7551
7552 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7553 of the non-standard EPFNOSUPPORT.
7554
0ea698ae
ST
75552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7556
7557 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7558 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7559 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7560
d220b117
UD
75612012-01-21 Ulrich Drepper <drepper@gmail.com>
7562
7563 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7564
3e1aa84e
UD
75652012-01-20 Ulrich Drepper <drepper@gmail.com>
7566
7567 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7568 transient errors.
7569 * nscd/grpcache.c (cache_addgr): Likewise.
7570 * nscd/hstcache.c (cache_addhst): Likewise.
7571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7572 * nscd/pwdcache.c (cache_addpw): Likewise.
7573 * nscd/servicescache.c (cache_addserv): Likewise.
7574
400aa020
UD
75752012-01-16 Ulrich Drepper <drepper@gmail.com>
7576
d77e7869
UD
7577 * malloc/malloc.c: Various cleanups.
7578 * malloc/hooks.c: Likewise.
7579
400aa020
UD
7580 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7581 * stdlib/bug-fmtmsg1.c: New file.
7582
7583 * stdlib/fmtmsg.c (init): Add missing unlock.
7584 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7585
e0a309cf
MP
75862012-01-12 Marek Polacek <polacek@redhat.com>
7587
7588 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7589 and _GNU_SOURCE.
7590
929d11c7
WS
75912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7592
7593 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7594 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7595 macro to ensure uniqueness of label name.
7596 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7597 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7598
41d0e869
UD
75992012-01-11 Ulrich Drepper <drepper@gmail.com>
7600
0cc5ed3b
UD
7601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7602
41d0e869
UD
7603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7604 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7607
a47a831a
UD
76082012-01-10 Ulrich Drepper <drepper@gmail.com>
7609
daa891c0
UD
7610 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7611
7612 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7613 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7615
e58ef0f2
UD
7616 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7617
a47a831a 7618 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7619 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7622
7623 * math/bits/math-finite.h: Add ldexp support.
7624
a0bfc9c7
MP
76252012-01-10 Marek Polacek <polacek@redhat.com>
7626
7627 * locale/programs/localedef.h (show_archive_content): Add noreturn
7628 attribute.
7629
d6e97a1d
UD
76302012-01-09 Ulrich Drepper <drepper@gmail.com>
7631
7632 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7633
d5835c26
UD
76342012-01-08 Ulrich Drepper <drepper@gmail.com>
7635
e5f484c6
UD
7636 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7637
d5835c26
UD
7638 * io/Makefile (headers): Add bits/poll2.h.
7639
d1f741e9
WS
76402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7641
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7643 typo #include statement.
7644
ec09c1c4
UD
76452012-01-08 Ulrich Drepper <drepper@gmail.com>
7646
7647 * include/sys/cdefs.h: Define __attribute_alloc_size.
7648 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7649 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7650 * elf/pldd.c: Likewise.
7651 * iconv/iconv_charmap.c: Likewise.
7652 * iconv/iconvconfig.c: Likewise.
7653 * iconv/strtab.c: Likewise.
7654 * locale/programs/locale.c: Likewise.
7655 * locale/programs/localedef.h: Likewise.
7656 * locale/programs/simple-hash.c: Likewise.
7657 * nscd/nscd.h: Likewise.
7658 * nss/makedb.c: Likewise.
7659 * sysdeps/generic/ldconfig.h: Likewise.
7660 * locale/programs/localedef.c: Remove xmalloc prototype.
7661 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7662
20b38e03
PP
76632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7664
7665 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7666 appropriate.
7667
a0da5fe1
UD
76682012-01-08 Ulrich Drepper <drepper@gmail.com>
7669
1d5a644a 7670 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7671 * math/tst-CMPLX.c: New file.
1d5a644a 7672
8784a6db
UD
7673 * math/complex.h (CMPLXL): Fix typo.
7674
d9a216c0
UD
7675 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7676 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7677 GLIBC_2.16.
7678 * debug/tst-chk1.c: Add poll and ppoll tests.
7679 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7680 * include/sys/poll.h: Add hidden proto for ppoll.
7681 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7682 * sysdeps/mach/hurd/ppoll.c: Likewise.
7683 * io/ppoll.c: Likewise.
7684 * debug/poll_chk.c: New file.
7685 * debug/ppoll_chk.c: New file.
7686 * include/bits/poll2.h: New file.
7687 * io/bits/poll2.h: New file.
7688
ac097f5c
UD
7689 [BZ #1350]
7690 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7691
2119dcfa
UD
7692 * configure.in: static is always set to yes. Remove.
7693 * config.make.in: Don't set build-static.
7694 * Makeconfig: Remove use of build-static.
7695 * dlfcn/Makefile: Likewise.
7696 * elf/Makefile: Likewise.
7697 * math/Makefile: Likewise.
7698 * misc/Makefile: Likewise.
7699 * nptl/Makefile: Likewise.
7700 * sysdeps/mach/hurd/Makefile: Likewise.
7701
121766a9
UD
7702 * configure.in: PWD_P is not used anymore.
7703 * config.make.in: Remove PWD_P entry.
7704
51a1d39c 7705 * configure.in: Remove last remnants of RANLIB.
8720d066 7706 No need to check for signed size_t anymore.
215f4bdc
UD
7707 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7708 and IA-64.
3857022a 7709 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7710 * aclocal.m4: Likewise.
7711
d3ed7225
UD
7712 * wcsmbs/mbrtoc16.c: Implement using towc function.
7713 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7714 * wcsmbs/wcsmbsload.c: Likewise.
7715 * iconv/gconv_simple.c: Likewise.
7716 * iconv/gconv_int.h: Likewise.
7717 * iconv/gconv_builtin.h: Likewise.
7718 * iconv/iconv_prog.c: Remove CHAR16 handling.
7719
7720 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7721
7722 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7723
a0da5fe1
UD
7724 * configure.in: Remove --with-elf and --enable-bounded options.
7725 Dont set base_machine for ia64. More non-ELF conditions removed.
7726 Remove testing and setting of leading underscore information.
7727 * config.make.in (build-bounded): Set to no.
7728 * config.h.in: Remove NO_UNDERSCORES entry.
7729 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7730 them.
7731 * csu/start.c: Remove !NO_UNDERSCORE code.
7732 * locale/localeinfo.h: Likewise.
7733 * sysdeps/generic/machine-gmon.h: Likewise.
7734 * sysdeps/generic/sysdep.h: Likewise.
7735 * sysdeps/i386/sysdep.h: Likewise.
7736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7737 * sysdeps/mach/sysdep.h: Likewise.
7738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7740 * sysdeps/sh/sysdep.h: Likewise.
7741 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7742 * sysdeps/unix/i386/sysdep.S: Likewise.
7743 * sysdeps/unix/sparc/start.c: Likewise.
7744 * sysdeps/unix/sparc/sysdep.S: Likewise.
7745 * sysdeps/unix/sparc/sysdep.h: Likewise.
7746 * sysdeps/unix/start.c: Likewise.
7747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7748 * sysdeps/x86_64/sysdep.h: Likewise.
7749
df78418a
UD
77502012-01-07 Ulrich Drepper <drepper@gmail.com>
7751
a784e502
UD
7752 [BZ #13553]
7753 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7754 for non-gcc.
7755 * argp/argp-fmtstream.h: Use const instead __const.
7756 * argp/argp.h: Likewise.
7757 * assert/assert.h: Likewise.
7758 * bits/fenv.h: Likewise.
7759 * bits/sched.h: Likewise.
7760 * bits/sigset.h: Likewise.
7761 * bits/sigthread.h: Likewise.
7762 * catgets/nl_types.h: Likewise.
7763 * conform/data/pthread.h-data: Likewise.
7764 * crypt/crypt-private.h: Likewise.
7765 * crypt/crypt.h: Likewise.
7766 * crypt/crypt_util.c: Likewise.
7767 * ctype/ctype.h: Likewise.
7768 * debug/execinfo.h: Likewise.
7769 * debug/mbsnrtowcs_chk.c: Likewise.
7770 * debug/mbsrtowcs_chk.c: Likewise.
7771 * debug/wcsnrtombs_chk.c: Likewise.
7772 * debug/wcsrtombs_chk.c: Likewise.
7773 * debug/wcstombs_chk.c: Likewise.
7774 * dirent/dirent.h: Likewise.
7775 * dlfcn/dlfcn.h: Likewise.
7776 * elf/neededtest4.c: Likewise.
7777 * grp/grp.h: Likewise.
7778 * gshadow/gshadow.h: Likewise.
7779 * iconv/gconv.h: Likewise.
7780 * iconv/gconv_int.h: Likewise.
7781 * iconv/gconv_simple.c: Likewise.
7782 * iconv/iconv.h: Likewise.
7783 * iconv/loop.c: Likewise.
7784 * iconv/skeleton.c: Likewise.
7785 * include/aio.h: Likewise.
7786 * include/aliases.h: Likewise.
7787 * include/argz.h: Likewise.
7788 * include/arpa/inet.h: Likewise.
7789 * include/assert.h: Likewise.
7790 * include/dirent.h: Likewise.
7791 * include/dlfcn.h: Likewise.
7792 * include/execinfo.h: Likewise.
7793 * include/fcntl.h: Likewise.
7794 * include/fenv.h: Likewise.
7795 * include/glob.h: Likewise.
7796 * include/grp.h: Likewise.
7797 * include/libintl.h: Likewise.
7798 * include/mntent.h: Likewise.
7799 * include/netdb.h: Likewise.
7800 * include/pwd.h: Likewise.
7801 * include/rpc/netdb.h: Likewise.
7802 * include/sched.h: Likewise.
7803 * include/search.h: Likewise.
7804 * include/shadow.h: Likewise.
7805 * include/signal.h: Likewise.
7806 * include/stdio.h: Likewise.
7807 * include/stdlib.h: Likewise.
7808 * include/string.h: Likewise.
7809 * include/sys/socket.h: Likewise.
7810 * include/sys/stat.h: Likewise.
7811 * include/sys/statfs.h: Likewise.
7812 * include/sys/statvfs.h: Likewise.
7813 * include/sys/syslog.h: Likewise.
7814 * include/sys/time.h: Likewise.
7815 * include/sys/uio.h: Likewise.
7816 * include/time.h: Likewise.
7817 * include/unistd.h: Likewise.
7818 * include/utmp.h: Likewise.
7819 * include/wchar.h: Likewise.
7820 * include/wctype.h: Likewise.
7821 * inet/aliases.h: Likewise.
7822 * inet/arpa/inet.h: Likewise.
7823 * inet/netinet/ether.h: Likewise.
7824 * inet/netinet/in.h: Likewise.
7825 * intl/libintl.h: Likewise.
7826 * io/bits/fcntl2.h: Likewise.
7827 * io/fcntl.h: Likewise.
7828 * io/ftw.h: Likewise.
7829 * io/sys/poll.h: Likewise.
7830 * io/sys/stat.h: Likewise.
7831 * io/sys/statfs.h: Likewise.
7832 * io/sys/statvfs.h: Likewise.
7833 * io/utime.h: Likewise.
7834 * libio/bits/stdio.h: Likewise.
7835 * libio/bits/stdio2.h: Likewise.
7836 * libio/libio.h: Likewise.
7837 * libio/libioP.h: Likewise.
7838 * libio/stdio.h: Likewise.
7839 * locale/lc-ctype.c: Likewise.
7840 * locale/locale.h: Likewise.
7841 * login/utmp.h: Likewise.
7842 * malloc/arena.c: Likewise.
7843 * malloc/malloc.c: Likewise.
7844 * malloc/malloc.h: Likewise.
7845 * malloc/mcheck.c: Likewise.
7846 * malloc/mtrace.c: Likewise.
7847 * math/bits/mathcalls.h: Likewise.
7848 * math/fenv.h: Likewise.
7849 * math/math_private.h: Likewise.
7850 * misc/bits/error.h: Likewise.
7851 * misc/bits/syslog.h: Likewise.
7852 * misc/err.h: Likewise.
7853 * misc/error.h: Likewise.
7854 * misc/fstab.h: Likewise.
7855 * misc/mntent.h: Likewise.
7856 * misc/regexp.h: Likewise.
7857 * misc/search.h: Likewise.
7858 * misc/sgtty.h: Likewise.
7859 * misc/sys/mman.h: Likewise.
7860 * misc/sys/syslog.h: Likewise.
7861 * misc/sys/uio.h: Likewise.
7862 * misc/sys/xattr.h: Likewise.
7863 * misc/ttyent.h: Likewise.
7864 * nis/rpcsvc/ypclnt.h: Likewise.
7865 * nss/nss.h: Likewise.
7866 * posix/bits/unistd.h: Likewise.
7867 * posix/fnmatch.h: Likewise.
7868 * posix/glob.h: Likewise.
7869 * posix/sched.h: Likewise.
7870 * posix/spawn.h: Likewise.
7871 * posix/sys/wait.h: Likewise.
7872 * posix/unistd.h: Likewise.
7873 * posix/wordexp.h: Likewise.
7874 * pwd/pwd.h: Likewise.
7875 * resolv/netdb.h: Likewise.
7876 * resource/sys/resource.h: Likewise.
7877 * rt/aio.h: Likewise.
7878 * rt/bits/mqueue2.h: Likewise.
7879 * rt/mqueue.h: Likewise.
7880 * shadow/shadow.h: Likewise.
7881 * signal/signal.h: Likewise.
7882 * socket/send.c: Likewise.
7883 * socket/sendto.c: Likewise.
7884 * socket/sys/socket.h: Likewise.
7885 * stdio-common/printf.h: Likewise.
7886 * stdlib/bits/stdlib.h: Likewise.
7887 * stdlib/fmtmsg.h: Likewise.
7888 * stdlib/monetary.h: Likewise.
7889 * stdlib/stdlib.h: Likewise.
7890 * stdlib/ucontext.h: Likewise.
7891 * streams/stropts.h: Likewise.
7892 * string/argz.h: Likewise.
7893 * string/bits/string2.h: Likewise.
7894 * string/string.h: Likewise.
7895 * string/strings.h: Likewise.
7896 * sunrpc/rpc/auth.h: Likewise.
7897 * sunrpc/rpc/auth_des.h: Likewise.
7898 * sunrpc/rpc/clnt.h: Likewise.
7899 * sunrpc/rpc/netdb.h: Likewise.
7900 * sunrpc/rpc/pmap_clnt.h: Likewise.
7901 * sunrpc/rpc/xdr.h: Likewise.
7902 * sysdeps/generic/inttypes.h: Likewise.
7903 * sysdeps/generic/net/if.h: Likewise.
7904 * sysdeps/generic/sys/swap.h: Likewise.
7905 * sysdeps/gnu/net/if.h: Likewise.
7906 * sysdeps/gnu/utmpx.h: Likewise.
7907 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7908 * sysdeps/i386/i486/bits/string.h: Likewise.
7909 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7910 * sysdeps/s390/bits/string.h: Likewise.
7911 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7912 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7913 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7914 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7915 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7916 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7917 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7918 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7919 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7920 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7921 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7922 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7923 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7924 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7925 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7926 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7927 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7933 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7935 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7936 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7937 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7939 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7941 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7942 * sysvipc/sys/ipc.h: Likewise.
7943 * sysvipc/sys/msg.h: Likewise.
7944 * sysvipc/sys/sem.h: Likewise.
7945 * sysvipc/sys/shm.h: Likewise.
7946 * termios/termios.h: Likewise.
7947 * time/sys/time.h: Likewise.
7948 * time/time.h: Likewise.
7949 * wcsmbs/bits/wchar2.h: Likewise.
7950 * wcsmbs/uchar.h: Likewise.
7951 * wcsmbs/wchar.h: Likewise.
7952 * wctype/wctype.h: Likewise.
7953
0269750c
UD
7954 [BZ #13551]
7955 * Makeconfig: Remove all but ELF support including AIX support.
7956 * Makerules: Likewise.
7957 * config.h.in: Likewise.
7958 * config.make.in: Likewise.
7959 * configure: Likewise.
7960 * configure.in: Likewise.
7961 * csu/Makefile: Likewise.
7962 * csu/version.c: Likewise.
7963 * debug/Makefile: Likewise.
7964 * dlfcn/Makefile: Likewise.
7965 * elf/Makefile: Likewise.
7966 * extra-lib.mk: Likewise.
7967 * iconv/Makefile: Likewise.
7968 * include/libc-symbols.h: Likewise.
7969 * include/shlib-compat.h: Likewise.
7970 * resolv/Makefile: Likewise.
7971 * resolv/res_libc.c: Likewise.
7972 * rt/Makefile: Likewise.
7973 * sysdeps/i386/asm-syntax.h: Likewise.
7974 * sysdeps/i386/sysdep.h: Likewise.
7975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7976 * sysdeps/mach/sysdep.h: Likewise.
7977 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7978 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7979 * sysdeps/s390/asm-syntax.h: Likewise.
7980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7982 * sysdeps/sh/sysdep.h: Likewise.
7983 * sysdeps/unix/sparc/sysdep.h: Likewise.
7984 * sysdeps/wordsize-32/divdi3.c: Likewise.
7985 * sysdeps/x86_64/sysdep.h: Likewise.
7986
00bbd29b
UD
7987 * argp/Versions: Remove _argp_unlock_xxx.
7988
7989 [BZ #13559]
7990 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7991 * abilist/libBrokenLocale.abilist: Likewise.
7992 * abilist/libanl.abilist: Likewise.
7993 * abilist/libc.abilist: Likewise.
7994 * abilist/libcrypt.abilist: Likewise.
7995 * abilist/libdl.abilist: Likewise.
7996 * abilist/libm.abilist: Likewise.
7997 * abilist/libnsl.abilist: Likewise.
7998 * abilist/libpthread.abilist: Likewise.
7999 * abilist/libresolv.abilist: Likewise.
8000 * abilist/librt.abilist: Likewise.
8001 * abilist/libthread_db.abilist: Likewise.
8002 * abilist/libutil.abilist: Likewise.
8003 * abilist/libnss_db.abilist: New file.
8004
8005 * scripts/abilist.awk: Add support for indirect functions.
8006
a2693a0e
UD
8007 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8008
3f05895f
UD
8009 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8010
ecb6fb48
UD
8011 * shlib-versions: Remove entries for ports architectures.
8012
664f8cb9
UD
8013 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8014 files in ports.
8015 * elf/stackguard-macros.h: Remove support for IA-64.
8016 * elf/tst-auditmod1.c: Likewise.
8017 * sysdeps/generic/ldsodefs.h: Likewise.
8018
7ae81d88
UD
8019 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8020 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8021 configure files.
8022
bdeba135
UD
8023 [BZ #13552]
8024 * configure.in: Remove --enable-omitfp support.
8025 * FAQ.in: Adjust.
8026 * config.make.in: Likewise.
8027 * Makeconfig: Likewise.
8028 * manual/install.texi: Likewise.
8029
d75a0a62
UD
8030 In case anyone cares, the IA-64 architecture could move to ports.
8031 * sysdeps/ia64/*: Removed.
8032 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8033 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8034
dcc9756b
UD
8035 [BZ #13555]
8036 * configure.in: Remove entries for unsupported architectures.
8037
d3761ebc 8038 [BZ #13533]
9954432e
UD
8039 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8040 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8041 routines.
8042 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8043 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8044 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8045 fall back to using wcrtomb.
8046 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8047 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8048 renaming.
8049 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8050 * wcsmbs/tst-c16c32-1.c: New file.
8051
8052 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8053 local variable.
8054
c3a87236
UD
8055 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8056
28926a1b
UD
8057 * elf/tst-unique3.cc: Add explicit declaration of gets.
8058 * elf/tst-unique3lib.cc: Likewise.
8059 * elf/tst-unique3lib2.cc: Likewise.
8060 * elf/tst-unique4.cc: Likewise.
8061
df78418a
UD
8062 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8063
8ecd6b2a
JM
80642012-01-06 Joseph Myers <joseph@codesourcery.com>
8065
8066 [BZ #13566]
8067 * assert/assert.h (static_assert): Don't define for C++.
8068 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8069 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8070
9f115170
UD
80712012-01-03 Ulrich Drepper <drepper@gmail.com>
8072
5e0d0300
UD
8073 * iconv/loop.c (single loop): Fix assertion in storing of
8074 remaining bytes.
8075
9f115170
UD
8076 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8077
81fb02b0
UD
80782012-01-01 Ulrich Drepper <drepper@gmail.com>
8079
8080 * posix/getconf.c: Update copyright year.
8081 * nss/getent.c: Likewise.
a316c1f6 8082 * nss/makedb.c: Likewise.
81fb02b0
UD
8083 * iconv/iconvconfig.c: Likewise.
8084 * iconv/iconv_prog.c: Likewise.
8085 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8086 * elf/pldd.c: Likewise.
8087 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8088 * catgets/gencat.c: Likewise.
8089 * csu/version.c: Likewise.
8090 * elf/ldd.bash.in: Likewise.
8091 * elf/sprof.c (print_version): Likewise.
8092 * locale/programs/locale.c: Likewise.
8093 * locale/programs/localedef.c: Likewise.
a316c1f6 8094 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8095 * nscd/nscd.c (print_version): Likewise.
8096 * debug/xtrace.sh: Likewise.
8097 * malloc/memusage.sh: Likewise.
8098 * malloc/mtrace.pl: Likewise.
8099 * debug/catchsegv.sh: Likewise.
8100
2ba92745
JJ
81012011-12-30 Jakub Jelinek <jakub@redhat.com>
8102
8103 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8104 pure attribute.
8105
dadebdae
UD
81062011-12-24 Ulrich Drepper <drepper@gmail.com>
8107
d3761ebc 8108 [BZ #13533]
db6af3eb
UD
8109 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8110 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8111 transformations.
8112 * iconv/gconv_int.h: Likewise.
8113 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8114 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8115 from libc for GLIBC_2.16.
8116 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8117 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8118 * wcsmbs/uchar.h: Really define mbstate_t.
8119 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8120 * wcsmbs/c16rtomb.c: New file.
8121 * wcsmbs/mbrtoc16.c: New file.
8122 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8123 for C/POSIX locale.
8124 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8125 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8126
dadebdae
UD
8127 * wcsmbs/wchar.h: Add missing __restrict.
8128
67371b56
UD
81292011-12-23 Ulrich Drepper <drepper@gmail.com>
8130
74033a25
UD
8131 [BZ #13532]
8132 * time/Makefile (routines): Add timespec_get.
8133 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8134 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8135 timespec for ISO C11.
8136 * time/timespec_get.c: New file.
8137 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8138 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8139
380d7e87
UD
8140 [BZ #13531]
8141 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8142 * stdlib/stdlib.h: Declare aligned_alloc.
8143 * Versions.def: Add GLIBC_2.16 for libc.
8144 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8145
4e9e7a35
UD
8146 [BZ 13527]
8147 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8148 ISO C11.
8149
380d7e87 8150 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8151 code.
8152
03a71829
UD
8153 [BZ #13528]
8154 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8155
839e283e
UD
8156 [BZ #13529]
8157 * assert/assert.h (static_assert): Define.
8158
ce5294e2 8159 * version.h: Update for 2.16 development version.
90fa7312 8160
8d44e150 8161 [BZ #13526]
d7809905
UD
8162 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8163 _ISOC11_SOURCE.
8164
c0da14cd
UD
8165 * version.h (RELEASE): Bump for 2.15 release.
8166 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8167
530a3249
MP
8168 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8169 Patch by Marek Polacek <mpolacek@redhat.com>.
8170
67371b56
UD
8171 * bits/byteswap.h: Protect long long constants with __extension__.
8172 * sysdeps/i386/bits/byteswap.h: Likewise.
8173 * sysdeps/ia64/bits/byteswap.h: Likewise.
8174 * sysdeps/s390/bits/byteswap.h: Likewise.
8175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8176
15db4de1
LD
81772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8178
8179 [BZ #13540]
bbe315ea
LD
8180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8181 destination buffer.
15db4de1
LD
8182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8183
2b2596b1
MP
81842011-12-23 Marek Polacek <polacek@redhat.com>
8185
8186 * elf/dl-addr.c (determine_info): Add inline keyword.
8187 * elf/tst-auditmod4b.c (check_avx): Likewise.
8188 * elf/tst-auditmod6b.c (check_avx): Likewise.
8189 * elf/tst-auditmod6c.c (check_avx): Likewise.
8190 * elf/tst-auditmod7b.c (check_avx): Likewise.
8191
70c6c246
UD
81922011-12-23 Ulrich Drepper <drepper@gmail.com>
8193
8194 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8195 !__SSE_MATH__.
8196
c044cf14
LD
81972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8198
15db4de1 8199 [BZ #13540]
c044cf14
LD
8200 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8201 processing for last bytes.
8202
6b13d9d9
BH
82032011-08-06 Bruno Haible <bruno@clisp.org>
8204
d455f537
BH
8205 [BZ #13061]
8206 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8207 U+0385, not to U+1FEE.
8208
6b13d9d9
BH
8209 [BZ #13062]
8210 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8211 entry for U+00A5 U+0301.
8212
db910efd
UD
82132011-12-22 Ulrich Drepper <drepper@gmail.com>
8214
27deeafc
UD
8215 [BZ #13166]
8216 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8217 buffer for the output is too small.
8218
aed9d171
UD
8219 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8220 optimization.
8221
db910efd
UD
8222 [BZ #13185]
8223 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8224 SSE flags if possible.
8225
2bd779ae
LD
82262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8227
e7f9dac3 8228 [BZ #13540]
2bd779ae
LD
8229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8230 processing for last bytes.
8231
154bfc16
JM
82322011-12-22 Joseph Myers <joseph@codesourcery.com>
8233
8234 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8235 (syscall-list-default-options, syscall-list-default-condition)
8236 (syscall-list-includes): Define.
8237 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8238 list of ABIs and options and #if conditions for each ABI. Do not
8239 handle common syscalls between ABIs specially.
8240 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8241 Remove.
8242 (syscall-list-variants, syscall-list-32bit-options)
8243 (syscall-list-32bit-condition, syscall-list-64bit-options)
8244 (syscall-list-64bit-condition): Define.
8245 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8246 (syscall-list-variants, syscall-list-32bit-options)
8247 (syscall-list-32bit-condition, syscall-list-64bit-options)
8248 (syscall-list-64bit-condition): Define.
8249 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8250 Remove.
8251 (syscall-list-variants, syscall-list-32bit-options)
8252 (syscall-list-32bit-condition, syscall-list-64bit-options)
8253 (syscall-list-64bit-condition): Define.
8254 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8255 Remove.
8256 (syscall-list-variants, syscall-list-32bit-options)
8257 (syscall-list-32bit-condition, syscall-list-64bit-options)
8258 (syscall-list-64bit-condition): Define.
8259
21eaf3a5
UD
82602011-12-22 Ulrich Drepper <drepper@gmail.com>
8261
16c6f992
UD
8262 * locale/iso-639.def: Add brx entry.
8263
41043168
UD
8264 [BZ #13328]
8265 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8266 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8267
21eaf3a5
UD
8268 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8269 __feraiseexcept_renamed.
8270
e3a851a2
UD
82712011-12-21 Ulrich Drepper <drepper@gmail.com>
8272
4920765e
UD
8273 [BZ #13538]
8274 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8275 EPOLLET with unsigned values.
8276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8278
e3a851a2
UD
8279 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8280 to large cancellation.
8281 * math/s_cacoshf.c: Likewise.
8282 * math/s_cacoshl.c: Likewise.
8283
b27e24b8
RK
82842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8285
8286 [BZ #13305]
aebefeee 8287 [BZ #12786]
b27e24b8
RK
8288 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8289 * math/s_cacoshf.c: Likewise.
8290 * math/s_cacoshl.c: Likewise.
8291
ee190f67
UD
82922011-12-21 Ulrich Drepper <drepper@gmail.com>
8293
8294 [BZ #13439]
8295 * iconv/gconv.h: Define __GCONV_SWAP.
8296 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8297 * iconvdata/utf-16.c: Likewise.
8298 * iconvdata/utf-32.c: Likewise.
8299
707f25df
AS
83002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8301
8302 [BZ #13524]
8303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8304 numerator after shifting it by one limb.
8305
d2daaa1e
RÁE
83062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8307
8308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8309 under [__USE_EXTERN_INLINES].
8310
a4647e72
UD
83112011-12-17 Ulrich Drepper <drepper@gmail.com>
8312
8313 [BZ #13446]
8314 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8315
f0b264f1
AZ
83162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8317
8318 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8319 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8320 optimized code.
8321 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8322 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8323 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8324 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8325 for strncasecmp/strncasecmp_l compilation.
8326 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8327 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8328
8ef4f244
MP
83292011-12-08 Marek Polacek <mpolacek@redhat.com>
8330
8331 [BZ #13484]
8332 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8333 of __asm__.
8334
97ac2654
UD
83352011-12-17 Ulrich Drepper <drepper@gmail.com>
8336
8337 [BZ #13506]
8338 * time/tzfile.c (__tzfile_read): Check values from file header.
8339
91d2a845
WS
83402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8341
8342 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8343 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8344 * powerpc/powerpc32/dl-start.S: Likewise.
8345 * powerpc/powerpc32/elf/start.S: Likewise.
8346 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8347 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8348 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8349 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8350 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8351 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8352 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8353 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8354 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8355 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8356 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8357 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8358 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8359 * powerpc/powerpc32/memset.S: Likewise.
8360 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8361 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8362 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8363 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8364 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8365 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8366 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8367 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8368 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8369 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8370 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8373
a1267ba1
AZ
83742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8375
8376 * math/libm-test.inc: Added more nearbyint tests.
8377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8381
ad8ac1bd
RL
83822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8383
8384 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8385 FD_CLOEXEC.
8386
1d3e4b61
UD
83872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8388
8389 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8390 Add wcscpy-ssse3 wcscpy-c.
8391 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8392 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8393 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8394 * sysdeps/x86_64/wcschr.S: New file.
8395 * sysdeps/x86_64/wcsrchr.S: New file.
8396 * string/test-strcmp.c: Remove checking of wcscmp function for
8397 wrong alignments.
8398 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8399 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8400 wcsrchr-sse2 wcsrchr-c.
8401 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8402 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8403 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8404 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8405 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8406 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8407 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8408 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8409 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8410 * wcsmbc/wcschr.c (WCSCHR): New macro.
8411
5b330a2d
UD
84122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8413
8414 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8415 * wcsmbs/test-wcsrchr.c: New file.
8416 * string/test-strrchr.c: Add wcsrchr support.
8417 (WIDE): New macro.
8418 * wcsmbs/test-wcscpy.c: New file.
8419 * string/test-strcpy.c: Add wcscpy support.
8420 (WIDE): New macro.
26428b7c 8421
f039c043
UD
84222011-12-10 Ulrich Drepper <drepper@gmail.com>
8423
8424 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8425 the inner loop.
8426
850fb039
AS
84272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8428
8429 [BZ #13472]
8430 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8431
4efbd5cb
UD
84322011-12-04 Ulrich Drepper <drepper@gmail.com>
8433
52ff5dd0 8434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8435 Minor optimizations.
52ff5dd0 8436
4efbd5cb
UD
8437 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8438 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8439 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8440
8a426e12
UD
84412011-12-03 Ulrich Drepper <drepper@gmail.com>
8442
aff2453d
UD
8443 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8444 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8445 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8446 for gcc to avoid warnings.
8447 * inet/Makefile (tests): Add tst-checks.
8448 * inet/tst-checks.c: New file.
8449
8450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8451 warning.
8452
8453 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8454 __wmemcmp_sse2.
8455
8456 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8457 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8458
8a426e12
UD
8459 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8460
9bea3473
UD
84612011-12-02 Ulrich Drepper <drepper@gmail.com>
8462
3a965496
UD
8463 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8464 problem.
8465
9bea3473
UD
8466 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8467
f101631b
UD
84682011-11-29 Joseph Myers <joseph@codesourcery.com>
8469
8470 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8471 conditional on GCC version.
8472 (__arch_compare_and_exchange_val_8_acq)
8473 (__arch_compare_and_exchange_val_16_acq)
8474 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8475 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8476 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8477
a98275aa
UD
84782011-12-02 Joseph Myers <joseph@codesourcery.com>
8479
8480 * sysdeps/sh/backtrace.c: New file.
8481
d4cc29a2
AS
84822011-12-02 Andreas Schwab <schwab@redhat.com>
8483
8484 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8485 parenthesis.
8486
6257af2d
AS
84872011-12-01 Andreas Schwab <schwab@redhat.com>
8488
8489 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8490 falling back to utime.
8491
b5f44c1a
AS
84922011-11-30 Andreas Schwab <schwab@redhat.com>
8493
8494 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8495 expectations for float.
8496
f3a6cc0a
AS
84972011-11-29 Andreas Schwab <schwab@redhat.com>
8498
8499 * locale/weight.h (findidx): Add parameter len.
8500 * locale/weightwc.h (findidx): Likewise.
8501 * posix/fnmatch_loop.c (FCT): Adjust caller.
8502 * posix/regcomp.c (build_equiv_class): Likewise.
8503 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8504 * posix/regexec.c (check_node_accept_bytes): Likewise.
8505 * string/strcoll_l.c (STRCOLL): Likewise.
8506 * string/strxfrm_l.c (STRXFRM): Likewise.
8507
9d65ea3a
UD
85082011-11-17 Ulrich Drepper <drepper@gmail.com>
8509
8510 * Makefile.in: Remove CVSOPT handling.
8511 * configure.in: Remove use of AC_REVISION.
8512 * iconvdata/Makefile (distribute): No need to filter out CVS.
8513 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8514 handling.
8515
5583a086
AS
85162011-11-16 Andreas Schwab <schwab@redhat.com>
8517
8518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8519 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8520 [USE_AS_STRNCASECMP_L]: Likewise.
8521 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8522 NO_TLS_DIRECT_SEG_REFS.
8523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8524 Fix argument offsets for non-PIC.
8525 [USE_AS_STRNCASECMP_L]: Likewise.
8526 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8527 NO_TLS_DIRECT_SEG_REFS.
8528
d62a8200
UD
85292011-11-15 Ulrich Drepper <drepper@gmail.com>
8530
9d65ea3a 8531 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8532 O_CLOEXEC.
8533 * locale/loadlocale.c (_nl_load_locale): Likewise.
8534
09f93bd3
AS
85352011-11-15 Andreas Schwab <schwab@redhat.com>
8536
446514f9
AS
8537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8538 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8540 (SYSCALL_GETTIME): Set errno on error.
8541
09f93bd3
AS
8542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8543 count references to noai6ai_cached.
8544
312be3f9
UD
85452011-11-15 Ulrich Drepper <drepper@gmail.com>
8546
8547 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8548
8549 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8550 FD_CLOEXEC for /proc/self/maps.
8551
8552 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8553 FD_CLOEXEC for /proc/meminfo.
8554
8555 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8556 gai.conf.
8557
8558 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8559 FD_CLOEXEC for given file.
8560
8561 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8562
8563 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8564 FD_CLOEXEC for /etc/hosts.
8565 (_gethtent): Likewise.
8566
8567 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8568
8569 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8570 cancellation and set FD_CLOEXEC for /etc/netgroup.
8571
8572 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8573 reading /etc/publickey.
8574
8575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8576 allow cancellation when reading /etc/group.
8577
8578 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8579 cancellation.
8580 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8581
8582 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8583 when using data file.
8584
8585 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8586
8587 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8588 (write_nis_obj): Use "c" and "e" in fopen.
8589
8590 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8591
8592 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8593
8594 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8595
8596 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8597
8598 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8599 locale.alias.
8600
8601 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8602
8603 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8604
8605 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8606
8607 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8608 file parsing and set FD_CLOEXEC.
8609
82af0fa8
UD
86102011-11-14 Ulrich Drepper <drepper@gmail.com>
8611
8612 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8613
a5fb313c
AS
86142011-11-14 Andreas Schwab <schwab@redhat.com>
8615
8616 * malloc/arena.c (arena_get2): Don't call reused_arena when
8617 _int_new_arena failed.
8618
6abf3465
UD
86192011-11-14 Ulrich Drepper <drepper@gmail.com>
8620
8621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8622 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8623 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8627 to compile strcasecmp and strncasecmp.
8628 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8629 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8630
8631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8632
76e3966e
UD
86332011-11-13 Ulrich Drepper <drepper@gmail.com>
8634
8635 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8636 locale-defines.sym to gen-as-const-headers.
8637 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8638 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8640 to compile strcasecmp and strncasecmp.
8641 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8642 strcasecmp_l and strncasecmp_l.
8643 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8644 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8645 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8646 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8647 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8648 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8649 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8650 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8651 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8652 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8653 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8654
ab26144e
UD
86552011-11-12 Ulrich Drepper <drepper@gmail.com>
8656
7edb22ef
UD
8657 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8658 result of SYSDEP_GETTIME_CPU to retval.
8659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8660 parameter list to macro. Remove trailing semicolon. Adjust users.
8661
9694fc44
UD
8662 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8663 variable.
8664
8ad89ef8
UD
8665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8666 mantissa words.
8667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8668
0c822ef9
UD
8669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8670 from unused variable.
8671
874e0564
UD
8672 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8673 DWARF definitions.
8674 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8675 for assembling.
8676
3a2edc79
UD
8677 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8678 over namespaces.
8679
f3c2577f
UD
8680 * sunrpc/rpc_prot.c (rejected): Fix case value.
8681
294ce126
UD
8682 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8683 unsigned long long int to avoid warnings in shift.
8684
5e2b63c6
UD
8685 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8686 of use of trans.
8687 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8688 variable tmp.
8689
e7f4b08e
UD
8690 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8691 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8692 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8693
ab26144e
UD
8694 * nis/nis_table.c (nis_list): Use variable of correct type for
8695 result of __follow_path call.
8696
8a6d5255
AZ
86972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8698
8699 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8700 of math functions ceil, trunc, floor, round, and sqrt, when
8701 avaliable on the platform.
8702 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8703 name clash.
8704 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8705 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8706 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8707
aaddc98c
MP
87082011-10-30 Marek Polacek <mpolacek@redhat.com>
8709
8710 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8712
95b7042b
RM
87132011-11-11 Roland McGrath <roland@hack.frob.com>
8714
8715 * include/unistd.h: Fix __readlink return type.
8716 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8717
57769839
UD
87182011-11-11 Ulrich Drepper <drepper@gmail.com>
8719
8720 * stdlib/ucontext.h: Undo last change for makecontext.
8721
edc5984d
AS
87222011-11-11 Andreas Schwab <schwab@redhat.com>
8723
98591e58
AS
8724 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8725
edc5984d
AS
8726 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8727 * setjmp/setjmp.h: Mark functions as non-leaf.
8728 * setjmp/bits/setjmp2.h: Likewise.
8729 * stdlib/ucontext.h: Likewise.
8730
77cdc054
AS
87312011-11-10 Andreas Schwab <schwab@redhat.com>
8732
8733 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8734 (reused_arena): Don't check arena limit.
8735 (arena_get2): Atomically check arena limit.
8736
fe72eebd
UD
87372011-11-08 Ulrich Drepper <drepper@gmail.com>
8738
5f078c32
UD
8739 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8740 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8741
fe72eebd
UD
8742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8743 instructions.
8744
ae1bc2fa
AS
87452011-11-07 Andreas Schwab <schwab@redhat.com>
8746
7583a88d
AS
8747 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8748 handler when locking.
8749
ae1bc2fa
AS
8750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8751 Fix size of allocated buffer.
8752
10fb0bfa
AS
87532011-11-04 Andreas Schwab <schwab@redhat.com>
8754
998832a4
AS
8755 [BZ #10103]
8756 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8757 declarations for long double functions.
8758 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8759
10fb0bfa
AS
8760 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8761
3d7ba52b
AS
87622011-11-03 Andreas Schwab <schwab@redhat.com>
8763
a9ae54a1
AS
8764 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8765 installed.
8766
3d7ba52b
AS
8767 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8768 is disabled.
8769
bc8db248
ST
87702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8771
8772 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8773
45b96dd6
AS
87742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8775
647776f6
AS
8776 * include/alloca.h (stackinfo_alloca_round): Define.
8777 (extend_alloca): Use it.
8778 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8779 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8780 here.
8781
d91a8b93
AS
8782 * scripts/check-local-headers.sh: Ignore libaudit.h.
8783
45b96dd6
AS
8784 * nscd/Makefile (extra-objs): Make recursively expanded.
8785
432d41ce
UD
87862011-11-01 Ulrich Drepper <drepper@gmail.com>
8787
34372fc6
UD
8788 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8790
fadb59f8
UD
8791 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8792 * posix/tst-rfc3484-2.c: Likewise.
8793 * posix/tst-rfc3484-3.c: Likewise.
8794
78239589
UD
8795 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8796 process_vm_writev.
8797 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8798 process_vm_writev.
8799 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8800 process_vm_writev from libc using GLIBC_2.15 version.
8801
432d41ce
UD
8802 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8803
02f9c6cf
PP
88042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8805
8806 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8807 stack usage.
8808
3a2c0242
UD
88092011-10-31 Ulrich Drepper <drepper@gmail.com>
8810
f4ec4833
UD
8811 [BZ #13367]
8812 * nss/getent.c (initgroups_keys): Show error message in case no group
8813 names are given.
8814
3a2c0242
UD
8815 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8816 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8817 __bump_nl_timestamp.
8818 * nscd/connections (nscd_init): When host database is served open
8819 netlink socket and request notification about configuration changes.
8820 (main_loop_poll): Track netlink file descriptor and bump timestamp
8821 in case data becomes available.
8822 (main_loop_epoll): Likewise.
8823 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8824 (database_pers_head): Add extra_data fileds.
8825 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8826 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8827 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8828 Adjust caller.
8829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8830 in6ai data, call __free_in6ai.
8831 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8832 Add -DHAVE_NETLINK.
8833 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8834 interface information. Reuse previous data if netlink timestamp
8835 is not changed.
8836 (__bump_nl_timestamp): New function.
8837 (__free_in6ai): New function.
8838
636064eb
UD
88392011-10-30 Ulrich Drepper <drepper@gmail.com>
8840
8841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8842 close_not_cancel_no_status here.
8843 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8844
9beb2334
UD
88452011-10-29 Ulrich Drepper <drepper@gmail.com>
8846
6ef76f3b
UD
8847 [BZ #13276]
8848 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8849 return value.
8850
0ffc4f3e 8851 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8852 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8853 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8854
cb95113e
UD
88552011-07-03 Andreas Jaeger <aj@suse.de>
8856
8857 [BZ #10709]
8858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8859 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8860 * math/libm-test.inc (sin_test): Add test case.
8861
a1b560ff
UD
88622011-10-29 Ulrich Drepper <drepper@gmail.com>
8863
c9aaface
UD
8864 [BZ #13337]
8865 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8866 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8867
d272e7f1
UD
8868 * elf/chroot_canon.c (chroot_canon): Cleanups.
8869
1bc33071
UD
8870 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8871
1760874d
TJ
8872 [BZ #13335]
8873 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8874 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8875
51d91b18
UD
8876 * string/test-strchr.c: Make usable for strchrnul testing.
8877 * string/test-strchrnul.c: New file.
8878 * string/Makefile (strop-tests): Add strchrnul.
8879
a1b560ff 8880 * po/it.po: Update from translation team.
b611fb81 8881 * po/es.po: Likewise.
a1b560ff 8882
a5b81e1f
UD
88832011-10-28 Ulrich Drepper <drepper@gmail.com>
8884
fd52bc6d
UD
8885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8886 the three constants needed as parameters. Drop the others.
8887 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8888 __m128i_strloadu_tolower.
52e4b9eb
UD
8889 Create and initialize variable zero and use it in all the places
8890 where _mm_setzero_si128 was used.
fd52bc6d 8891
a5b81e1f
UD
8892 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8893 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8894 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8896 anymore.
8897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8898 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8899 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8900 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8902 __mpranred, __mptan.
8903 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8904 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8905 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8906 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8911 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8912
b4343346
AS
89132011-10-28 Andreas Schwab <schwab@redhat.com>
8914
0c92d8a8
AS
8915 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8916 redefine if SHARED.
8917 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8918
b4343346
AS
8919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8920 wide char related routines to wcsmbs subdir.
8921
3871f58f
AS
89222011-10-27 Andreas Schwab <schwab@redhat.com>
8923
8924 [BZ #13344]
8925 * misc/sys/cdefs.h (__THROWNL): Define.
8926 * posix/unistd.h: Use __THREADNL instead of __THREAD
8927 for memory synchronization functions.
8928
94d44d9f
RM
89292011-10-26 Roland McGrath <roland@hack.frob.com>
8930
21b64b15 8931 [BZ #13349]
94d44d9f
RM
8932 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8933 doesn't exist.
8934 * manual/stdio.texi (Obstack Streams): Node removed.
8935
f6ce9294
AS
89362011-10-26 Andreas Schwab <schwab@redhat.com>
8937
80479147
AS
8938 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8940 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8941
f6ce9294
AS
8942 * math/math_private.h (math_force_eval): Allow non-addressable
8943 arguments.
8944 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8945
618280a1
UD
89462011-10-25 Ulrich Drepper <drepper@gmail.com>
8947
e0016b11
UD
8948 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8949 file is not needed.
8950
8951 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8953 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8954 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8958 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8959 Add AVX variants.
8960 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8961 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8962 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8964 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8966 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8968 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8969 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8970 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8971 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8973 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8979
8980 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8981 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8982
618280a1
UD
8983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8984 place. Use VEX encoding when compiling for AVX.
8985
37822576
AS
89862011-10-25 Andreas Schwab <schwab@redhat.com>
8987
1f1e1947
AS
8988 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8989 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8990
37822576
AS
8991 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8992
31ea014d
UD
89932011-10-25 Ulrich Drepper <drepper@gmail.com>
8994
d7826aa1 8995 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8996 useless if() expression.
d7826aa1
UD
8997 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9016
31ea014d
UD
9017 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9018
16437fec
AS
90192011-10-25 Andreas Schwab <schwab@redhat.com>
9020
9021 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9022 condition.
9023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9024
31d3cc00
UD
90252011-10-25 Ulrich Drepper <drepper@gmail.com>
9026
9027 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9028 .text section. Avoid duplicate constants.
9029 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9039 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9041 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9044 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9056 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9057 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9058 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9059 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9069 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9071 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9074
58985aa9
UD
90752011-10-24 Ulrich Drepper <drepper@gmail.com>
9076
202c9deb
UD
9077 * sysdeps/x86_64/dla.h: Move to ...
9078 * sysdeps/x86_64/fpu/dla.h: ...here.
9079 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9080 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9081
af968f62
UD
9082 * config.make.in: Add have-mfma4 entry.
9083 * configure.in: Substitute libc_cv_cc_fma4.
9084 * math/Makefile (dbl-only-routines): Add sincostab.
9085 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9086 Use __sincostab not sincos.
9087 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9088 name is a macro.
9089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9093 using __copysign.
9094 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9095 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9096 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9097 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9098 and __inv.
9099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9100 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9101 __copysign.
9102 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9103 define aliases when function name is a macro.
9104 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9105 sysdeps/ieee754/dbl-64/sincos.tbl.
9106 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9107 fma4-enabled routines.
9108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9109 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9110 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9111 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9113 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9115 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9117 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9118 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9119 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9120 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9121 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9122 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9123 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9124 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9125 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9126 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9128 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9129 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9135 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9137 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9138
58985aa9
UD
9139 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9140 rename.
9141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9149
a201fbcf
AS
91502011-10-24 Andreas Schwab <schwab@redhat.com>
9151
9152 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9153
fc2ee42a
LD
91542011-10-23 Ulrich Drepper <drepper@gmail.com>
9155
bb3129bd
UD
9156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9157
0275fff8
UD
9158 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9159 prediction.
9160 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9161
2fa2ae85
UD
9162 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9163 Remove unused variable magic_bits.
9164 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9165
fc2ee42a
LD
9166 * string/strnlen.c: Define and use STRNLEN macro.
9167 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9168 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9170 * wcsmbs/wcslen.c: Define and use WCSLEN.
9171 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9172 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9173 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9174 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9175 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9176 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9177 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9178
ce7dd29f
LD
91792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9180
9181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9182 strnlen-sse2-no-bsf.
9183 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9185 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9186 Add strnlen support.
9187 (USE_AS_STRNLEN): New macro.
9188 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9189 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9190 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9191 * sysdeps/x86_64/wcslen.S: New file.
9192
979c70a3
MZ
91932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9194
9195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9196 XMM-moves are used for copying on small sizes.
9197
2d09f82f
LD
91982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9199
9200 * wcsmbs/Makefile (strop-tests): Add wcschr.
9201 * wcsmbs/test-wcschr.c: New file.
9202 * string/test-strchr.c: Update.
9203 Add wcschr support.
9204 (WIDE): New macro.
9205
619fccca
LD
92062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9207
2d09f82f 9208 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9209 * wcsmbs/test-wcslen.c: New file.
9210 * string/test-strlen.c: Update.
9211 Add wcslen support.
9212 (WIDE): New macro.
9213
09f699ea
UD
92142011-10-23 Ulrich Drepper <drepper@gmail.com>
9215
9216 * po/it.po: Update from translation team.
9217
95584d3b
LD
92182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9219
9220 * sysdeps/x86_64/wcscmp.S: Update.
9221 Fix wrong comparison semantics.
9222 wcscmp shall use signed comparison not unsigned.
9223 Don't use substraction to avoid overflow bug.
9224 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9225 * wcsmbc/wcscmp.c: Likewise.
9226 * string/test-strcmp.c: Likewise.
9227 Add new tests to check cases with negative values.
9228
c8b3296b
UD
92292011-10-23 Ulrich Drepper <drepper@gmail.com>
9230
9231 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9232 * sysdeps/x86_64/dla.h: ...here. New file.
9233 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9242
246ad57a
AS
92432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9244
9245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9246 __ynl_finite aliases.
9247
a1a87169
UD
92482011-10-22 Ulrich Drepper <drepper@gmail.com>
9249
0d355eb7
UD
9250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9251
a1a87169
UD
9252 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9253 define DLA_FMA.
9254 [DLA_FMA] (EMULV): Use DLA_FMA.
9255 [DLA_FMA] (MUL12): Use EMULV.
9256 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9257 that are not needed.
9258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9265
ee2aafe0
AS
92662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9267
9268 * math/s_nan.c: Undef __nan.
9269 * math/s_nanf.c: Undef __nanf.
9270 * math/s_nanl.c: Undef __nanl.
9271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9272 "math_private.h".
9273
bc62c2fb
UD
92742011-10-22 Ulrich Drepper <drepper@gmail.com>
9275
77425c63
UD
9276 * math/s_catan.c: Add branch predictions.
9277 * math/s_catanf.c: Likewise.
9278 * math/s_catanh.c: Likewise.
9279 * math/s_catanhf.c: Likewise.
9280 * math/s_catanhl.c: Likewise.
9281 * math/s_catanl.c: Likewise.
9282 * math/s_cexp.c: Likewise.
9283 * math/s_cexpf.c: Likewise.
9284 * math/s_cexpl.c: Likewise.
9285 * math/s_clog.c: Likewise.
9286 * math/s_clog10.c: Likewise.
9287 * math/s_clog10f.c: Likewise.
9288 * math/s_clog10l.c: Likewise.
9289 * math/s_clogf.c: Likewise.
9290 * math/s_clogl.c: Likewise.
9291 * math/s_csqrt.c: Likewise.
9292 * math/s_csqrtf.c: Likewise.
9293 * math/s_csqrtl.c: Likewise.
9294 * math/s_ctanf.c: Likewise.
9295 * math/s_ctanh.c: Likewise.
9296 * math/s_ctanhf.c: Likewise.
9297 * math/s_ctanhl.c: Likewise.
9298 * math/s_ctanl.c: Likewise.
9299
bc62c2fb
UD
9300 * math/math_private.h: Define __nan, __nanf, __nanl.
9301 * math/s_cacosh.c: Include <math_private.h>.
9302 * math/s_cacoshl.c: Likewise.
9303 * math/s_casinh.c: Likewise.
9304 * math/s_casinhf.c: Likewise.
9305 * math/s_casinhl.c: Likewise.
9306 * math/s_ccos.c: Rely entire on ccosh.
9307 * math/s_ccosf.c: Rely entire on ccoshf.
9308 * math/s_ccosl.c: Rely entirely on ccoshl.
9309 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9310 Remove tests for FE_INVALID.
9311 * math/s_ccoshf.c: Likewise.
9312 * math/s_ccoshl.c: Likewise.
9313 * math/s_csin.c: Likewise.
9314 * math/s_csinf.c: Likewise.
9315 * math/s_csinh.c Likewise.
9316 * math/s_csinhf.c: Likewise.
9317 * math/s_csinhl.c: Likewise.
9318 * math/s_csinl.c: Likewise.
9319 * math/s_ctan.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9321 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9322 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9323
8ec250a4
UD
93242011-10-21 Ulrich Drepper <drepper@gmail.com>
9325
c196fed8
UD
9326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9327 compilation problems.
9328
8ec250a4
UD
9329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9330 __builtin_expect.
9331
8d4f46c6
UD
93322011-10-20 Ulrich Drepper <drepper@gmail.com>
9333
ed72b654
UD
9334 * sysdeps/i386/configure.in: Test for -mfma4 option.
9335 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9336 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9337 COMMON_CPUID_INDEX_80000001.
9338 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9339 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9340 use it if FMA3 is not supported.
9341 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9342
8d4f46c6
UD
9343 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9344 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9345
d45c60c2
AS
93462011-10-20 Andreas Schwab <schwab@redhat.com>
9347
9348 [BZ #12892]
9349 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9350 it would create a cycle with a link time dependency.
9351
d9a4d2ab
UD
93522011-10-19 Ulrich Drepper <drepper@gmail.com>
9353
855d1560
UD
9354 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9355 instruction.
9356 * string/Makefile (strop-tests): Add rawmemchr.
9357 * string/test-rawmemchr.c: New file.
9358
d9a4d2ab
UD
9359 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9361 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9362 when compiling str{,n}casecmp and when AVX is available. Hook up
9363 new optimized code in initializers.
9364
8f3b1ffe
AS
93652011-10-19 Andreas Schwab <schwab@redhat.com>
9366
9367 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9368 __feraiseexcept instead of feraiseexcept.
9369
d38f1dba
UD
93702011-10-18 Ulrich Drepper <drepper@gmail.com>
9371
d9a8d0ab
UD
9372 * math/math_private.h: Define defaults for libc_fetestexcept and
9373 libc_feupdateenv.
9374 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9375 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9377 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9379 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9380 libc_fetestexcept and libc_feupdateenv.
9381
4855e3dd
UD
9382 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9383 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9384 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9385 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9386 libc_feholdexcept_setround.
9387
581d30e3
UD
9388 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9389 Add s_nearbyint-c and s_nearbyintf-c.
9390 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9391 nearbyintf inlines.
9392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9394 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9396
d38f1dba
UD
9397 * math/math_private.h: Define defaults for libc_fegetround,
9398 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9399 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9400 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9402 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9403 standard functions.
9404 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9405 Remove comments and hacks for old compiler versions.
9406 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9407 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9408 libc_feholdexceptl.
9409
caa6c9d8
AS
94102011-10-18 Andreas Schwab <schwab@redhat.com>
9411
9412 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9413 (__feraiseexcept_renamed): Add __NTH.
9414 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9415 namespace violations.
9416
97c066e6
UD
94172011-10-17 Ulrich Drepper <drepper@gmail.com>
9418
99ce7b04
UD
9419 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9420
1004d182
UD
9421 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9422
228a984d
UD
9423 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9424 recently added interfaces.
9425 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9426
c8553a6a
UD
9427 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9428 about macro parameter expansion.
9429
ed22dcf6
UD
9430 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9431 __NO_MATH_INLINES is defined. Cleanups.
9432
9433 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9434 and __floorf is target has SSE4.1.
9435 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9436 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9439
b171c137
UD
9440 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9441 name.
9442 (floorf): Likewise.
9443
97c066e6
UD
9444 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9445
629f62ef
AS
94462011-10-17 Andreas Schwab <schwab@redhat.com>
9447
49a43d80
AS
9448 * misc/sys/cdefs.h: Fix last change.
9449
629f62ef
AS
9450 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9451 database lookup.
9452
e453f6cd
UD
94532011-10-16 Ulrich Drepper <drepper@gmail.com>
9454
aa78043a
UD
9455 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9456
ad0f5cad
UD
9457 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9458 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9464 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9465 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9466 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9467 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9468 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9469 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9470 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9472 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9473 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9474 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9475 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9476 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9477 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9478 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9479
9480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9481 ceil, ceilf, floor, floorf.
9482
9483 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9484 Perform IRELATIVE relocations last.
9485
e453f6cd
UD
9486 * elf/do-rel.h: Add another parameter nrelative, replacing the
9487 local variable with the same name. Change name of the function
9488 to end in Rel or Rela (uppercase).
9489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9490 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9491 elf_dynamic_do_##reloc function.
9492
fd5bdc09
UD
94932011-10-15 Ulrich Drepper <drepper@gmail.com>
9494
79b195b5
UD
9495 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9496 is sufficient, at least on modern CPUs.
9497
d4a28569
UD
9498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9499
b61099b5
UD
9500 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9501 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9502
bcf01e6d
UD
9503 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9504 __expl_finite.
9505 * math/bits/math-finite.h: Add entries for exp.
9506 * math/e_expl.c: Add __*_finite alias.
9507 * sysdeps/i386/fpu/e_exp.S: Likewise.
9508 * sysdeps/i386/fpu/e_expf.S: Likewise.
9509 * sysdeps/i386/fpu/e_expl.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9511 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9517
ba1a0d59
UD
9518 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9519 is sufficient, at least on modern CPUs.
9520
fd5bdc09
UD
9521 * ctype/ctype-info.c (__ctype_init): Define.
9522 * include/ctype.h (__ctype_init): Declare.
9523 (__ctype_b_loc): The variable is always initialized.
9524 (__ctype_toupper_loc): Likewise.
9525 (__ctype_tolower_loc): Likewise.
9526 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9527 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9528
7872cfb0
AS
95292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9530
b468825a
AS
9531 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9532
7872cfb0
AS
9533 * configure.in: Also look in $cxxmachine/include for C++ system
9534 headers.
9535
be13f7bf
LD
95362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9537
9538 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9539 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9540 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9541 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9543 (USE_AS_WMEMCMP): New macro.
9544 Fixing indents.
9545 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9546 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9547 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9548 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9550 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9551 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9552 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9553 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9554 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9555 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9556 (USE_AS_WMEMCMP): New macro.
9557 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9558 * sysdeps/string/test-memcmp.c: Update.
9559 Fix simple_wmemcmp.
9560 Add new tests.
9561 * wcsmbs/wmemcmp.c: Update.
9562 (WMEMCMP): New macro.
9563 Fix overflow bug.
9564
556a2007
AJ
95652011-10-12 Andreas Jaeger <aj@suse.de>
9566
9567 [BZ #13268]
9568 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9569
538faaa7
UD
95702011-10-15 Ulrich Drepper <drepper@gmail.com>
9571
ab6737ff
UD
9572 * libio/iofwide.c (do_length): Avoid warning.
9573
538faaa7
UD
9574 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9575
396a21b1
UD
95762011-10-14 Ulrich Drepper <drepper@gmail.com>
9577
cdf2901f
UD
9578 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9579
38ad40ce
UD
9580 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9581 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9582 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9583 * sysdeps/i386/i686/fpu/e_log.S: New file.
9584 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9585 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9586
396a21b1
UD
9587 * ctype/ctype.h: Add support for inlined isXXX functions when
9588 compiling C++ code.
9589
6b1f68c9
AS
95902011-10-14 Andreas Schwab <schwab@redhat.com>
9591
349290c0
AS
9592 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9593
6b1f68c9
AS
9594 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9595
f2282d42
RM
95962011-10-13 Roland McGrath <roland@hack.frob.com>
9597
9598 [BZ #13291]
9599 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9600
5298ffa8
AS
96012011-10-13 Andreas Schwab <schwab@redhat.com>
9602
714fad23
AS
9603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9604 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9605 feraiseexcept.
9606
81dcc7fb
AS
9607 * sysdeps/x86_64/memrchr.S: Check for zero size.
9608
5298ffa8
AS
9609 * string/stratcliff.c: Add memrchr tests.
9610
951fbcec
LD
96112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9612
9613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9614 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9615 rawmemchr-sse2 rawmemchr-sse2-bsf.
9616 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9617 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9618 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9619 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9620 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9621 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9622 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9623 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9624 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9625 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9626 * string/memrchr.c (MEMRCHR): New macro.
9627
0ac5ae23
UD
96282011-10-12 Ulrich Drepper <drepper@gmail.com>
9629
9630 Add integration with gcc's -ffinite-math-only and optimize wrapper
9631 functions in libm.
9632 * Versions.def: Define GLIBC_2.15 version for libm.
9633 * math/Makefile (headers): Add bits/math-finite.h.
9634 * math/bits/math-finite.h: New file.
9635 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9636 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9637 * math/e_acoshl.c: Add __*_finite alias.
9638 * math/e_acosl.c: Likewise.
9639 * math/e_asinl.c: Likewise.
9640 * math/e_atan2l.c: Likewise.
9641 * math/e_atanhl.c: Likewise.
9642 * math/e_coshl.c: Likewise.
9643 * math/e_exp10.c: Likewise.
9644 * math/e_exp10f.c: Likewise.
9645 * math/e_exp10l.c: Likewise.
9646 * math/e_exp2l.c: Likewise.
9647 * math/e_fmodl.c: Likewise.
9648 * math/e_gammal_r.c: Likewise.
9649 * math/e_hypotl.c: Likewise.
9650 * math/e_j0l.c: Likewise.
9651 * math/e_j1l.c: Likewise.
9652 * math/e_jnl.c: Likewise.
9653 * math/e_lgammal_r.c: Likewise.
9654 * math/e_log10l.c: Likewise.
9655 * math/e_log2l.c: Likewise.
9656 * math/e_logl.c: Likewise.
9657 * math/e_powl.c: Likewise.
9658 * math/e_sinhl.c: Likewise.
9659 * math/e_sqrtl.c: Likewise.
9660 * math/e_scalb.c: Completely rewritten and optimized.
9661 * math/e_scalbf.c: Likewise.
9662 * math/e_scalbl.c: Likewise.
9663 * math/w_acos.c: Likewise.
9664 * math/w_acosf.c: Likewise.
9665 * math/w_acosl.c: Likewise.
9666 * math/w_acosh.c: Likewise.
9667 * math/w_acoshf.c: Likewise.
9668 * math/w_acoshl.c: Likewise.
9669 * math/w_asin.c: Likewise.
9670 * math/w_asinf.c: Likewise.
9671 * math/w_asinl.c: Likewise.
9672 * math/w_atan2.c: Likewise.
9673 * math/w_atan2f.c: Likewise.
9674 * math/w_atan2l.c: Likewise.
9675 * math/w_atanh.c: Likewise.
9676 * math/w_atanhf.c: Likewise.
9677 * math/w_atanhl.c: Likewise.
9678 * math/w_exp10.c: Likewise.
9679 * math/w_exp10f.c: Likewise.
9680 * math/w_exp10l.c: Likewise.
9681 * math/w_fmod.c: Likewise.
9682 * math/w_fmodf.c: Likewise.
9683 * math/w_fmodl.c: Likewise.
9684 * math/w_j0.c: Likewise.
9685 * math/w_j0f.c: Likewise.
9686 * math/w_j0l.c: Likewise.
9687 * math/w_j1.c: Likewise.
9688 * math/w_j1f.c: Likewise.
9689 * math/w_j1l.c: Likewise.
9690 * math/w_jn.c: Likewise.
9691 * math/w_jnf.c: Likewise.
9692 * math/w_log.c: Likewise.
9693 * math/w_logf.c: Likewise.
9694 * math/w_logl.c: Likewise.
9695 * math/w_log10.c: Likewise.
9696 * math/w_log10f.c: Likewise.
9697 * math/w_log10l.c: Likewise.
9698 * math/w_log2.c: Likewise.
9699 * math/w_log2f.c: Likewise.
9700 * math/w_log2l.c: Likewise.
9701 * math/w_pow.c: Likewise.
9702 * math/w_powf.c: Likewise.
9703 * math/w_powl.c: Likewise.
9704 * math/w_remainder.c: Likewise.
9705 * math/w_remainderf.c: Likewise.
9706 * math/w_remainderl.c: Likewise.
9707 * math/w_scalb.c: Likewise.
9708 * math/w_scalbf.c: Likewise.
9709 * math/w_scalbl.c: Likewise.
9710 * math/w_sqrt.c: Likewise.
9711 * math/w_sqrtf.c: Likewise.
9712 * math/w_sqrtl.c: Likewise.
9713 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9714 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9715 used.
9716 * math/math_private.h: Declare __kernel_standard_f.
9717 * math/w_cosh.c: Remove cruft and optimize a bit.
9718 * math/w_coshf.c: Likewise.
9719 * math/w_coshl.c: Likewise.
9720 * math/w_exp2.c: Likewise.
9721 * math/w_exp2f.c: Likewise.
9722 * math/w_exp2l.c: Likewise.
9723 * math/w_hypot.c: Likewise.
9724 * math/w_hypotf.c: Likewise.
9725 * math/w_hypotl.c: Likewise.
9726 * math/w_lgamma.c: Likewise.
9727 * math/w_lgamma_r.c: Likewise.
9728 * math/w_lgammaf.c: Likewise.
9729 * math/w_lgammaf_r.c: Likewise.
9730 * math/w_lgammal.c: Likewise.
9731 * math/w_lgammal_r.c: Likewise.
9732 * math/w_sinh.c: Likewise.
9733 * math/w_sinhf.c: Likewise.
9734 * math/w_sinhl.c: Likewise.
9735 * math/w_tgamma.c: Likewise.
9736 * math/w_tgammaf.c: Likewise.
9737 * math/w_tgammal.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9739 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9740 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9741 Minor optimizations. Pretty printing. Remove cruft.
9742 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9746 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9747 * sysdeps/i386/fpu/e_asin.S: Likewise.
9748 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9749 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9750 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9751 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9755 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9756 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9757 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9758 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9759 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9760 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9761 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9762 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9763 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9764 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9765 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9766 * sysdeps/i386/fpu/e_log.S: Likewise.
9767 * sysdeps/i386/fpu/e_log10.S: Likewise.
9768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9770 * sysdeps/i386/fpu/e_log2.S: Likewise.
9771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9773 * sysdeps/i386/fpu/e_logf.S: Likewise.
9774 * sysdeps/i386/fpu/e_logl.S: Likewise.
9775 * sysdeps/i386/fpu/e_pow.S: Likewise.
9776 * sysdeps/i386/fpu/e_powf.S: Likewise.
9777 * sysdeps/i386/fpu/e_powl.S: Likewise.
9778 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9779 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9780 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9781 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9784 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9785 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9786 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9808 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9811 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9812 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9814 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9816 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9821 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9822 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9823 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9824 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9825 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9828 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9880 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9882 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9883 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9884 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9885 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9886 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9887 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9888 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9889 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9890 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9891 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9895 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9896 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9897 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9898 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9899 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9900 (__isnanf): Likewise.
9901 (__isinf_ns): Likewise.
9902 (__isinf_nsf): Likewise.
9903 (__finite): Likewise.
9904 (__finitef): Likewise.
9905 (__ieee754_sqrt): Define as macro.
9906 (__ieee754_sqrtf): Define as macro.
9907 (__ieee754_sqrtl): Define as macro.
9908 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9909 inlined copy.
9910 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9911 __FINITE_MATH_ONLY__ consistent.
9912 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9913
12cc2fcd
AS
99142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9915
a843a204
AS
9916 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9917 of rawmemchr.
9918
12cc2fcd
AS
9919 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9920
c853acd5
UD
99212011-10-09 Ulrich Drepper <drepper@gmail.com>
9922
9923 * po/ja.po: Update from translation team.
9924
c658d255
RM
99252011-10-08 Roland McGrath <roland@hack.frob.com>
9926
110946e4
RM
9927 * locale/programs/locarchive.c (prepare_address_space): New function.
9928 (create_archive, enlarge_archive, open_archive): Use it.
9929
50604220
RM
9930 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9931 inside [SHARED], where it is used.
9932
c658d255
RM
9933 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9934
9935 * nss/getent.c (netgroup_keys): Remove unused variable.
9936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9937
6a621eb7
UD
99382011-10-08 Ulrich Drepper <drepper@gmail.com>
9939
7edb55ce
UD
9940 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9943 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9944 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9945 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9946 * math/Makefile (libm-calls): Add s_isinf_ns.
9947 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9948 * math/multc3.c: Likewise.
9949 * math/s_casin.c: Likewise.
9950 * math/s_casinf.c: Likewise.
9951 * math/s_casinl.c: Likewise.
9952 * math/s_ccos.c: Likewise.
9953 * math/s_ccosf.c: Likewise.
9954 * math/s_ccosl.c: Likewise.
9955 * math/s_ctan.c: Likewise.
9956 * math/s_ctanf.c: Likewise.
9957 * math/s_ctanh.c: Likewise.
9958 * math/s_ctanhf.c: Likewise.
9959 * math/s_ctanhl.c: Likewise.
9960 * math/s_ctanl.c: Likewise.
9961 * math/w_fmod.c: Likewise.
9962 * math/w_fmodf.c: Likewise.
9963 * math/w_fmodl.c: Likewise.
9964 * math/w_remainder.c: Likewise.
9965 * math/w_remainderf.c: Likewise.
9966 * math/w_remainderl.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9968 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9971 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9972 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9973 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9974 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9975
187da0ae
UD
9976 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9977 of the number.
9978 * stdio-common/printf_fphex.c: Likewise.
9979 * stdio-common/printf_size.c: Likewise.
9980
9277c064
UD
9981 * math/e_exp10.c: Include math_private.h using <...> not "...".
9982 * math/e_exp10f.c: Likewise.
9983 * math/e_exp10l.c: Likewise.
9984 * math/e_exp2l.c: Likewise.
9985 * math/e_j0l.c: Likewise.
9986 * math/e_j1l.c: Likewise.
9987 * math/e_jnl.c: Likewise.
9988 * math/e_lgammal_r.c: Likewise.
9989 * math/e_rem_pio2l.c: Likewise.
9990 * math/e_scalb.c: Likewise.
9991 * math/e_scalbf.c: Likewise.
9992 * math/e_scalbl.c: Likewise.
9993 * math/k_cosl.c: Likewise.
9994 * math/k_sinl.c: Likewise.
9995 * math/k_tanl.c: Likewise.
9996 * math/s_cacoshf.c: Likewise.
9997 * math/s_catan.c: Likewise.
9998 * math/s_catanf.c: Likewise.
9999 * math/s_catanh.c: Likewise.
10000 * math/s_catanhf.c: Likewise.
10001 * math/s_catanhl.c: Likewise.
10002 * math/s_catanl.c: Likewise.
10003 * math/s_ccosh.c: Likewise.
10004 * math/s_ccoshf.c: Likewise.
10005 * math/s_ccoshl.c: Likewise.
10006 * math/s_cexp.c: Likewise.
10007 * math/s_cexpf.c: Likewise.
10008 * math/s_cexpl.c: Likewise.
10009 * math/s_clog.c: Likewise.
10010 * math/s_clog10.c: Likewise.
10011 * math/s_clog10f.c: Likewise.
10012 * math/s_clog10l.c: Likewise.
10013 * math/s_clogf.c: Likewise.
10014 * math/s_clogl.c: Likewise.
10015 * math/s_csin.c: Likewise.
10016 * math/s_csinf.c: Likewise.
10017 * math/s_csinh.c: Likewise.
10018 * math/s_csinhf.c: Likewise.
10019 * math/s_csinhl.c: Likewise.
10020 * math/s_csinl.c: Likewise.
10021 * math/s_csqrt.c: Likewise.
10022 * math/s_csqrtf.c: Likewise.
10023 * math/s_csqrtl.c: Likewise.
10024 * math/s_ctan.c: Likewise.
10025 * math/s_ctanf.c: Likewise.
10026 * math/s_ctanh.c: Likewise.
10027 * math/s_ctanhf.c: Likewise.
10028 * math/s_ctanhl.c: Likewise.
10029 * math/s_ctanl.c: Likewise.
10030 * math/s_ldexp.c: Likewise.
10031 * math/s_ldexpf.c: Likewise.
10032 * math/s_ldexpl.c: Likewise.
10033 * math/s_significand.c: Likewise.
10034 * math/s_significandf.c: Likewise.
10035 * math/s_significandl.c: Likewise.
10036 * math/w_acos.c: Likewise.
10037 * math/w_acosf.c: Likewise.
10038 * math/w_acosh.c: Likewise.
10039 * math/w_acoshf.c: Likewise.
10040 * math/w_acoshl.c: Likewise.
10041 * math/w_acosl.c: Likewise.
10042 * math/w_asin.c: Likewise.
10043 * math/w_asinf.c: Likewise.
10044 * math/w_asinl.c: Likewise.
10045 * math/w_atan2.c: Likewise.
10046 * math/w_atan2f.c: Likewise.
10047 * math/w_atan2l.c: Likewise.
10048 * math/w_atanh.c: Likewise.
10049 * math/w_atanhf.c: Likewise.
10050 * math/w_atanhl.c: Likewise.
10051 * math/w_cosh.c: Likewise.
10052 * math/w_coshf.c: Likewise.
10053 * math/w_coshl.c: Likewise.
10054 * math/w_dremf.c: Likewise.
10055 * math/w_exp10.c: Likewise.
10056 * math/w_exp10f.c: Likewise.
10057 * math/w_exp10l.c: Likewise.
10058 * math/w_exp2.c: Likewise.
10059 * math/w_exp2f.c: Likewise.
10060 * math/w_fmod.c: Likewise.
10061 * math/w_fmodf.c: Likewise.
10062 * math/w_fmodl.c: Likewise.
10063 * math/w_hypot.c: Likewise.
10064 * math/w_hypotf.c: Likewise.
10065 * math/w_hypotl.c: Likewise.
10066 * math/w_j0.c: Likewise.
10067 * math/w_j0f.c: Likewise.
10068 * math/w_j0l.c: Likewise.
10069 * math/w_j1.c: Likewise.
10070 * math/w_j1f.c: Likewise.
10071 * math/w_j1l.c: Likewise.
10072 * math/w_jn.c: Likewise.
10073 * math/w_jnf.c: Likewise.
10074 * math/w_jnl.c: Likewise.
10075 * math/w_lgamma.c: Likewise.
10076 * math/w_lgamma_r.c: Likewise.
10077 * math/w_lgammaf.c: Likewise.
10078 * math/w_lgammaf_r.c: Likewise.
10079 * math/w_lgammal.c: Likewise.
10080 * math/w_lgammal_r.c: Likewise.
10081 * math/w_log.c: Likewise.
10082 * math/w_log10.c: Likewise.
10083 * math/w_log10f.c: Likewise.
10084 * math/w_log10l.c: Likewise.
10085 * math/w_log2.c: Likewise.
10086 * math/w_log2f.c: Likewise.
10087 * math/w_log2l.c: Likewise.
10088 * math/w_logf.c: Likewise.
10089 * math/w_logl.c: Likewise.
10090 * math/w_pow.c: Likewise.
10091 * math/w_powf.c: Likewise.
10092 * math/w_powl.c: Likewise.
10093 * math/w_remainder.c: Likewise.
10094 * math/w_remainderf.c: Likewise.
10095 * math/w_remainderl.c: Likewise.
10096 * math/w_scalb.c: Likewise.
10097 * math/w_scalbf.c: Likewise.
10098 * math/w_scalbl.c: Likewise.
10099 * math/w_sinh.c: Likewise.
10100 * math/w_sinhf.c: Likewise.
10101 * math/w_sinhl.c: Likewise.
10102 * math/w_sqrt.c: Likewise.
10103 * math/w_sqrtf.c: Likewise.
10104 * math/w_sqrtl.c: Likewise.
10105 * math/w_tgamma.c: Likewise.
10106 * math/w_tgammaf.c: Likewise.
10107 * math/w_tgammal.c: Likewise.
10108
6a621eb7
UD
10109 * po/ja.po: Update from translation team.
10110
bf582445
AJ
101112011-09-29 Andreas Jaeger <aj@suse.de>
10112
f9efbf3a
AJ
10113 [BZ #13179]
10114 * sunrpc/netname.c (netname2host): Fix logic.
10115
bf582445
AJ
10116 [BZ #6779]
10117 [BZ #6783]
10118 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10119 correctly.
10120 * math/w_remainder.c (__remainder): Likewise.
10121 * math/w_remainderf.c (__remainderf): Likewise.
10122 * math/libm-test.inc (remainder_test): Add test cases.
10123
48693bea
AK
101242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10125
10126 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10127 sdiv_qrnnd.
10128
42622229
LD
101292011-10-07 Ulrich Drepper <drepper@gmail.com>
10130
10131 * string/test-memcmp.c: Avoid unncessary #defines.
10132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10133
093ecf92
LD
101342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10135
10136 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10137 Use new sse2 version for core i3 - i7 as it's faster
10138 than sse42 version.
10139 (bit_Prefer_PMINUB_for_stringop): New.
10140 * sysdeps/x86_64/rawmemchr.S: Update.
10141 Replace with faster SSE2 version.
10142 * sysdeps/x86_64/memrchr.S: New file.
10143 * sysdeps/x86_64/memchr.S: Update.
10144 Replace with faster SSE2 version.
10145
fde56e5c
MP
101462011-09-12 Marek Polacek <mpolacek@redhat.com>
10147
10148 * elf/dl-load.c (lose): Add cast to avoid warning.
10149
21fd49a9
UD
101502011-10-07 Ulrich Drepper <drepper@gmail.com>
10151
5a06e643
UD
10152 * po/ca.po: Update from translation team.
10153
684ae515
UD
10154 * inet/getnetgrent_r.c: Hook up nscd.
10155 * nscd/Makefile (routines): Add nscd_netgroup.
10156 (nscd-modules): Add netgroupcache.
10157 (CFLAGS-netgroupcache.c): Define.
10158 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10159 (cache_search): Add const to second parameter.
10160 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10161 INNETGR.
10162 (dbs): Add netgrdb entry.
10163 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10164 (verify_persistent_db): Handle netgrdb.
10165 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10166 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10167 GETFDNETGR.
10168 (netgroup_response_header): Define.
10169 (innetgroup_response_header): Define.
10170 (datahead): Add netgroup_response_header and innetgroup_response_header
10171 elements.
10172 * nscd/nscd.conf: Add entries for netgroup cache.
10173 * nscd/nscd.h (dbtype): Add netgrdb.
10174 (_PATH_NSCD_NETGROUP_DB): Define.
10175 (netgroup_iov_disabled): Declare.
10176 (xmalloc, xcalloc, xrealloc): Move declarations here.
10177 (cache_search): Adjust prototype.
10178 Add netgroup-related prototypes.
10179 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10180 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10181 (__nscd_innetgr): Declare.
10182 * nscd/selinux.c (perms): Use access_vector_t as element type and
10183 add netgroup-related initializers.
10184 * nscd/netgroupcache.c: New file.
10185 * nscd/nscd_netgroup.c: New file.
10186 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10187 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10188 For four parameters use innetgr.
10189 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10190 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10191 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10192 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10193
21fd49a9
UD
10194 * nscd/connections.c (register_traced_file): Don't register file
10195 for disabled databases.
10196
054c0457
UD
101972011-10-06 Ulrich Drepper <drepper@gmail.com>
10198
32b63198
UD
10199 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10200
054c0457
UD
10201 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10202 from tree and freeing node.
10203
64031225
JO
102042011-09-25 Jiri Olsa <jolsa@redhat.com>
10205
10206 * nss/nsswitch.c (__nss_database_lookup): Handle
10207 nss_parse_service_list out of memory case.
10208
0490345c
JO
102092011-09-15 Jiri Olsa <jolsa@redhat.com>
10210
10211 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10212 out of memory case.
10213
3a62d00d
AS
102142011-10-04 Andreas Schwab <schwab@redhat.com>
10215
10216 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10217 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10218 pass it down.
10219 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10220 elf_machine_rela, elf_machine_lazy_rel.
10221 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10222 (ELF_DYNAMIC_DO_REL): Likewise.
10223 (ELF_DYNAMIC_DO_RELA): Likewise.
10224 (ELF_DYNAMIC_RELOCATE): Likewise.
10225 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10226 to ELF_DYNAMIC_DO_REL.
10227 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10228 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10229 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10230 elf_machine_rela.
10231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10232 skip_ifunc, don't call ifunc function if non-zero.
10233 (elf_machine_rela): Likewise.
10234 (elf_machine_lazy_rel): Likewise.
10235 (elf_machine_lazy_rela): Likewise.
10236 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10237 (elf_machine_lazy_rel): Likewise.
10238 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10239 Likewise.
10240 (elf_machine_lazy_rel): Likewise.
10241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10242 Likewise.
10243 (elf_machine_lazy_rel): Likewise.
10244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10245 (elf_machine_lazy_rel): Likewise.
10246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10247 (elf_machine_lazy_rel): Likewise.
10248 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10249 (elf_machine_lazy_rel): Likewise.
10250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10251 (elf_machine_lazy_rel): Likewise.
10252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10253 (elf_machine_lazy_rel): Likewise.
10254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10255 (elf_machine_lazy_rel): Likewise.
10256
68577918
UD
102572011-09-28 Ulrich Drepper <drepper@gmail.com>
10258
10259 * nss/nss_files/files-init.c (_nss_files_init): Use static
10260 initialization for all the *_traced_file variables.
10261
68822d74
AS
102622011-09-28 Andreas Schwab <schwab@redhat.com>
10263
10264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10265
2056100b
RM
102662011-09-27 Roland McGrath <roland@hack.frob.com>
10267
10268 [BZ #13226]
10269 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10270
32c76b63
AS
102712011-09-27 Andreas Schwab <schwab@redhat.com>
10272
10273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10274 Reread the line before reparsing it.
10275
bf972c9d
AS
102762011-09-26 Andreas Schwab <schwab@redhat.com>
10277
10278 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10279
e057a1b5
JM
102802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10281 Maxim Kuvyrkov <maxim@codesourcery.com>
10282 Joseph Myers <joseph@codesourcery.com>
10283
10284 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10285 if needed for __stack_chk_guard.
10286
bc7e1c36
RM
102872011-09-19 Roland McGrath <roland@hack.frob.com>
10288
ecb1482f
RM
10289 * sysdeps/posix/spawni.c (script_execute): Always define it.
10290 It will be optimized away if unused.
10291 (maybe_script_execute): New function.
10292 (__spawni): Call it.
10293
bc7e1c36
RM
10294 * Makerules: Don't include tls.make.
10295 (config-tls): Always set to thread.
10296 * tls.make.c: File removed.
10297
1c3b002b
MF
102982011-09-19 Mike Frysinger <vapier@gentoo.org>
10299
10300 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10301 * config.make.in (CPPFLAGS-config): New substituted variable.
10302
2840865d
UD
103032011-09-15 Ulrich Drepper <drepper@gmail.com>
10304
88738eb6
UD
10305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10306
cbf645a6 10307 [BZ #13192]
2840865d
UD
10308 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10309 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10310
b402e91a
RM
103112011-09-15 Roland McGrath <roland@hack.frob.com>
10312
10313 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10314 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10316 (CALL_FAIL): Likewise.
10317 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10318 (CALL_FAIL): Macro removed.
10319 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10320
4c1a1f71
UD
103212011-09-15 Ulrich Drepper <drepper@gmail.com>
10322
10323 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10324 for __FINITE_MATH_ONLY__ == 1.
10325
edc121be
AS
103262011-09-15 Andreas Schwab <schwab@redhat.com>
10327
10328 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10329 __ieee754_sqrt instead of sqrt.
10330 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10331 __ieee754_sqrtf instead of sqrtf.
10332 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10333 __floorf instead of floorf.
10334 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10335 __floorf, __truncf instead of floorf, truncf.
10336
cd205654
UD
103372011-09-14 Ulrich Drepper <drepper@gmail.com>
10338
ee4d0315
UD
10339 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10340
cd205654
UD
10341 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10342 __extern_always_inline.
10343 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10344 32-bit.
10345
48b67d71
AS
103462011-09-14 Andreas Schwab <schwab@redhat.com>
10347
10348 * elf/rtld.c (dl_main): Also relocate in dependency order when
10349 doing symbol dependency testing.
10350
1ae12c75
AS
103512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10352
10353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10354 Always define `refsym'.
10355
995a80df
AS
103562011-09-13 Andreas Schwab <schwab@redhat.com>
10357
e529793b
AS
10358 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10359 (__FD_ELT): Renamed from __FDELT.
10360 * misc/bits/select2.h (__FD_ELT): Likewise.
10361 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10362 __FD_MASK instead of __FDELT, __FDMASK.
10363 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10364 Likewise.
10365 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10366 Likewise.
10367
52d4fef8
AS
10368 * elf/Makefile (gen-ldd): Fix pattern.
10369
995a80df
AS
10370 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10371 (init_tls): Likewise.
10372
8682f8b0
UD
103732011-09-12 Ulrich Drepper <drepper@gmail.com>
10374
10375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10376
de82006d
AS
103772011-09-12 Andreas Schwab <schwab@redhat.com>
10378
a7c8e6a1
AS
10379 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10380 `struct cmsghdr *' instead of `void *'.
10381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10382 Likewise.
10383
0f31fe77
AS
103842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10385
10386 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10387 if non-absolute.
10388 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10389 ldd_rewrite_script.
0f31fe77 10390
32b4c839
UD
103912011-09-11 Ulrich Drepper <drepper@gmail.com>
10392
83cd1420
UD
10393 * configure.in: Remove --with-tls option.
10394 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10395 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10396 out in case it is missing.
10397 * sysdeps/ia64/elf/configure.in: Likewise.
10398 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10399 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10400 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10401 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10402 * sysdeps/sh/elf/configure.in: Likewise.
10403 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10404 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10405 * sysdeps/x86_64/elf/configure.in: Likewise.
10406 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10407 * sysdeps/mach/hurd/tls.h: Likewise.
10408
633f745d
UD
10409 [BZ #13067]
10410 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10411
f318beb8
UD
10412 [BZ #13090]
10413 * configure.in: Fix use of AC_INIT.
10414
32b4c839
UD
10415 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10416
3ce1f295
UD
104172011-09-10 Ulrich Drepper <drepper@gmail.com>
10418
bb016596
UD
10419 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10420 __set_errno.
8e58439c
UD
10421 * malloc/hooks.c: Likewise.
10422
aebae053 10423 [BZ #11929]
02d46fc4
UD
10424 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10425 variables statically.
10426 (narenas): Initialize.
10427 (list_lock): Initialize.
bb016596
UD
10428 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10429 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10430 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10431 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10432 Add initializers to main_arena and mp_.
10433 (malloc_state): Remove pagesize member. Change all users to use
10434 GLRO(dl_pagesize).
10435
10436 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10437 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10438 is always initialized.
10439
22a89187
UD
10440 * malloc/malloc.c: Removed unused configurations and dead code.
10441 * malloc/arena.c: Likewise.
10442 * malloc/hooks.c: Likewise.
02d46fc4 10443 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10444
d063d164
UD
10445 * include/tls.h: Removed. USE___THREAD must always be defined.
10446 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10447 * elf/dl-libc.c: Likewise.
10448 * elf/dl-tsd.c: Likewise.
10449 * include/errno.h: Likewise.
10450 * include/netdb.h: Likewise.
10451 * include/resolv.h: Likewise.
10452 * inet/herrno-loc.c: Likewise.
10453 * inet/herrno.c: Likewise.
10454 * malloc/arena.c: Likewise.
10455 * malloc/hooks.c: Likewise.
10456 * malloc/malloc.c: Likewise.
10457 * resolv/res-state.c: Likewise.
10458 * resolv/res_libc.c: Likewise.
10459 * sysdeps/i386/dl-machine.h: Likewise.
10460 * sysdeps/ia64/dl-machine.h: Likewise.
10461 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10462 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10463 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10464 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10465 * sysdeps/sh/dl-machine.h: Likewise.
10466 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10467 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10468 * sysdeps/unix/i386/sysdep.S: Likewise.
10469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10470 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10479 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10480 * sysdeps/x86_64/dl-machine.h: Likewise.
10481 * tls.make.c: Likewise.
10482
3ce1f295
UD
10483 * configure.in: Remove --with-__thread option. Make tests for
10484 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10485 tls_model attribute fail if no support is available. Remove
10486 USE_IN_LIBIO.
10487 * Makeconfig: Adjust for dropped configure option. All features are
10488 now mandatory.
10489 * Makerules: Likewise.
10490 * Versions.def: Likewise.
10491 * argp/argp-fmtstream.c: Likewise.
10492 * argp/argp-fmtstream.h: Likewise.
10493 * argp/argp-help.c: Likewise.
10494 * assert/assert.c: Likewise.
10495 * config.h.in: Likewise.
10496 * config.make.in: Likewise.
10497 * configure: Likewise.
10498 * configure.in: Likewise.
10499 * csu/Versions: Likewise.
10500 * csu/init.c: Likewise.
10501 * elf/tst-audit2.c: Likewise.
10502 * elf/tst-tls10.c: Likewise.
10503 * elf/tst-tls10.h: Likewise.
10504 * elf/tst-tls11.c: Likewise.
10505 * elf/tst-tls12.c: Likewise.
10506 * elf/tst-tls14.c: Likewise.
10507 * elf/tst-tlsmod11.c: Likewise.
10508 * elf/tst-tlsmod12.c: Likewise.
10509 * elf/tst-tlsmod13.c: Likewise.
10510 * elf/tst-tlsmod13a.c: Likewise.
10511 * elf/tst-tlsmod14a.c: Likewise.
10512 * elf/tst-tlsmod15b.c: Likewise.
10513 * elf/tst-tlsmod16a.c: Likewise.
10514 * elf/tst-tlsmod16b.c: Likewise.
10515 * elf/tst-tlsmod7.c: Likewise.
10516 * elf/tst-tlsmod8.c: Likewise.
10517 * elf/tst-tlsmod9.c: Likewise.
10518 * gmon/gmon.c: Likewise.
10519 * grp/fgetgrent_r.c: Likewise.
10520 * grp/putgrent.c: Likewise.
10521 * hurd/fopenport.c: Likewise.
10522 * include/libc-symbols.h: Likewise.
10523 * include/tls.h: Likewise.
10524 * intl/gettextP.h: Likewise.
10525 * intl/loadinfo.h: Likewise.
10526 * locale/global-locale.c: Likewise.
10527 * locale/localeinfo.h: Likewise.
10528 * mach/devstream.c: Likewise.
10529 * malloc/arena.c: Likewise.
10530 * malloc/set-freeres.c: Likewise.
10531 * misc/err.c: Likewise.
10532 * misc/getttyent.c: Likewise.
10533 * misc/mntent_r.c: Likewise.
10534 * posix/getopt.c: Likewise.
10535 * posix/wordexp.c: Likewise.
10536 * pwd/fgetpwent_r.c: Likewise.
10537 * resolv/Versions: Likewise.
10538 * resolv/res_hconf.c: Likewise.
10539 * shadow/fgetspent_r.c: Likewise.
10540 * shadow/putspent.c: Likewise.
10541 * stdio-common/printf_fphex.c: Likewise.
10542 * stdio-common/tmpfile.c: Likewise.
10543 * stdlib/abort.c: Likewise.
10544 * stdlib/fmtmsg.c: Likewise.
10545 * sunrpc/auth_unix.c: Likewise.
10546 * sunrpc/clnt_perr.c: Likewise.
10547 * sunrpc/clnt_tcp.c: Likewise.
10548 * sunrpc/clnt_udp.c: Likewise.
10549 * sunrpc/clnt_unix.c: Likewise.
10550 * sunrpc/openchild.c: Likewise.
10551 * sunrpc/svc_simple.c: Likewise.
10552 * sunrpc/svc_tcp.c: Likewise.
10553 * sunrpc/svc_udp.c: Likewise.
10554 * sunrpc/svc_unix.c: Likewise.
10555 * sunrpc/xdr.c: Likewise.
10556 * sunrpc/xdr_array.c: Likewise.
10557 * sunrpc/xdr_rec.c: Likewise.
10558 * sunrpc/xdr_ref.c: Likewise.
10559 * sunrpc/xdr_stdio.c: Likewise.
10560
1248c1c4
PB
105612011-09-09 Ulrich Drepper <drepper@gmail.com>
10562
10563 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10564
105652011-07-03 Andreas Jaeger <aj@suse.de>
10566
10567 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10568 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10569 regenerate with gen-libm-tests.pl.
10570
105712010-05-12 Petr Baudis <pasky@suse.cz>
10572
10573 [BZ #11589]
10574 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10575 around j0() zero points by switching to j1().
10576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10580
f22e1074
UD
105812011-09-09 Ulrich Drepper <drepper@gmail.com>
10582
f19009c1
UD
10583 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10584 instead of 0.
10585 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10586 instead of 0. .
10587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10588 Patch in part by Pavel Roskin <proski@gnu.org>.
10589
3f8cc204
UD
10590 [BZ #13138]
10591 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10592 realloc.
10593 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10594 Free memory block if necessary.
10595
f22e1074
UD
10596 [BZ #12847]
10597 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10598 be NULL. Don't lock in this case.
10599
0a2349f9
RM
106002011-09-09 Roland McGrath <roland@hack.frob.com>
10601
10602 * elf/elf.h (ELFOSABI_GNU): New macro.
10603 (ELFOSABI_LINUX): Define to that.
10604
f3cdd467
DZ
106052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10606
10607 * string/strncat.c (strncat): Undef the symbol in case it has been
10608 defined in bits/string.h.
10609
74718d13
UD
106102011-09-09 Ulrich Drepper <drepper@gmail.com>
10611
633e9e0f
UD
10612 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10613
0a2349f9 10614 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10615 link map.
10616
f9924780
AJ
106172011-08-17 Andreas Jaeger <aj@suse.de>
10618
10619 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10620
7f5517aa
PP
106212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10622 Ian Lance Taylor <iant@google.com>
10623
10624 * math/libm-test.inc (lround_test): New testcase.
10625 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10626
762011fe
UD
106272011-09-08 Ulrich Drepper <drepper@gmail.com>
10628
92963737
UD
10629 * Makefile: Remove support for automatic cvs check-ins.
10630 * Makerules: Likewise.
10631 * config.make.in: Likewise.
10632 * configure.in: Likewise.
10633 * intl/Makefile: Likewise.
10634 * locale/Makefile: Likewise.
10635 * po/Makefile: Likewise.
10636 * posix/Makefile: Likewise.
10637 * sysdeps/gnu/Makefile: Likewise.
10638 * sysdeps/mach/hurd/Makefile: Likewise.
10639 * sysdeps/sparc/sparc32/Makefile: Likewise.
10640
b0727fd8
JS
10641 [BZ #13118]
10642 * posix/Makefile (bug-regex32-ENV): Define.
10643 Patch by John Stanley <jpsinthemix@verizon.net>.
10644
a0f33f99
UD
10645 * misc/Makefile (headers): Add bits/select2.h.
10646 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10647 * misc/bits/select2.h: New file.
10648 * include/bits/select2.h: New file.
10649 * debug/Makefile (routines): Add fdelt_chk.
10650 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10651 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10652 FD_ISSET.
10653 * debug/fdelt_chk.c: New file.
10654
762011fe
UD
10655 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10656 * wcsmbs/test-wmemcmp.c: Likewise.
10657 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10658 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10659
106602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10661
10662 * string/Makefile (strop-tests): Add memcmp.
10663 * string/test-wmemcmp.c: New file.
10664 * string/test-memcmp.c: Add wmemcmp support.
10665
7f513ec8
RM
106662011-09-08 Roland McGrath <roland@hack.frob.com>
10667
0442afb4
RM
10668 [BZ #13153]
10669 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10670 2011-07-19 change.
10671
7f513ec8
RM
10672 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10673 garbage value in a __mach_port_mod_refs call in the cases of the
10674 task-self and thread-self ports.
10675
a12b2239
ST
106762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10677
10678 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10679
610f9ab4
AS
106802011-09-08 Andreas Schwab <schwab@redhat.com>
10681
7f513ec8 10682 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10683
48882a1a
LD
106842011-09-07 Ulrich Drepper <drepper@gmail.com>
10685
b49865be
UD
10686 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10687
fdc86bc9
UD
10688 * elf/dl-libc.c (dlerror_run): Pass back error code from
10689 dl_catch_error.
10690
c966526a
UD
10691 [BZ #13123]
10692 * elf/dl-load.c (lose): Free l_origin if it is valid.
10693
48882a1a
LD
10694 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10695 names.
10696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10700 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10701 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10702
77a2a8b4
AZ
107032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10704
10705 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10706 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10707 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10708 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10709 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10710 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10711 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10712 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10713 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10714 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10715
24f579d8
AM
107162011-08-15 Alan Modra <amodra@gmail.com>
10717
10718 [BZ #13092]
10719 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10720 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10721 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10722 ppc_mcount to static-only-routines.
10723 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10724 __mcount_internal.
10725 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10726 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10727
3d4837df
UD
107282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10729
10730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10731 for finite and infinity parameters.
10732
22700377
WS
107332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10734
10735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10736 and add nop instructions for throughput optimization.
10737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10738
5025581e
WS
107392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10740
10741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10742 aligned copy for power7 with vector-scalar instructions.
10743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10744
08a300c9
L
107452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10746
10747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10748 AVX check.
10749
59178ef9
AS
107502011-09-07 Andreas Schwab <schwab@redhat.com>
10751
10752 [BZ #13144]
10753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10754 last change.
10755
e38ba7ab
UD
107562011-09-07 Ulrich Drepper <drepper@gmail.com>
10757
10758 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10759 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10760 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10761 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10762 clock_gettime.
10763
d53a73ac
UD
107642011-09-06 Ulrich Drepper <drepper@gmail.com>
10765
fc8bffcc
UD
10766 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10767 Forgot to demangle the pointer.
10768
ceaa0c5d
UD
10769 * sysdeps/i386/sysdep.h: Define atom_text_section.
10770 * sysdeps/x86_64/sysdep.h: Likewise.
10771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10772 section with atom_text_section.
10773 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10775 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10778
a77d3c17
UD
10779 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10781 already be defined. Change to take two parameters and don't assign
10782 result to variable. Adjust all users.
10783 Define INTERNAL_GETTIME if not already defined.
10784 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10785 call.
10786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10787 HAVE_CLOCK_GETTIME_VSYSCALL.
10788 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10789
d53a73ac
UD
10790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10791 gettimeofday vsyscall, just use time.
10792
a8f84144
AS
107932011-09-06 Andreas Schwab <schwab@redhat.com>
10794
10795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10796 <errno.h>.
10797
ef606249
UD
107982011-09-06 Ulrich Drepper <drepper@gmail.com>
10799
10800 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10801 syscall on x86-64.
10802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10803 syscall.
10804 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10805 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10806 syscall if possible.
10807
6585cb60
UD
108082011-09-05 Ulrich Drepper <drepper@gmail.com>
10809
10810 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10811 e_ident. Don't pass to find_mapsXX.
10812 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10813
a5f524e4
LD
108142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10815
10816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10817 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10818 * sysdeps/x86_64/multiarch/strchr.S: Update.
10819 Check bit_slow_BSF bit.
10820 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10821 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10822 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10823
554881ef
UD
108242011-09-05 Ulrich Drepper <drepper@gmail.com>
10825
d96de963
UD
10826 [BZ #13134]
10827 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10828 before glibc 2.15.
10829 (tryshell): Define.
10830 (__spawni): Change last parameter to be flag. Test
10831 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10832 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10833 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10834 * posix/spawni.c: Likewise.
10835 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10836 * posix/spawnp.c: Likewise. Change normal version to use
10837 SPAWN_XFLAGS_USE_PATH.
10838 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10839 SPAWN_XFLAGS_TRY_SHELL.
10840
d48e5868
UD
10841 [BZ #13150]
10842 * posix/glob.h: Remove gcc 1.x support.
10843
554881ef
UD
10844 [BZ #13068]
10845 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10846
693fb948
LD
108472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10848
10849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10850 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10851 strrchr-sse2-bsf
10852 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10853 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10854 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10858
1b48c537
UD
108592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10860
49d42c37
UD
10861 * sysdeps/x86_64/wcscmp.S: New file.
10862
1b48c537
UD
10863 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10864 wcscmp-c wcscmp-sse2
10865 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10866 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10867 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10868 * wcsmbs/wcscmp.c: Allow renaming.
10869
15c95c5d
DM
108702011-09-05 David S. Miller <davem@davemloft.net>
10871
10872 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10873 stack slot, rather than the struct return pointer slot.
10874 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10875 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10878
2f0ad8f3
UD
108792011-09-05 Ulrich Drepper <drepper@gmail.com>
10880
d88ae418
UD
10881 * po/ja.po: Update from translation team.
10882
2f0ad8f3
UD
10883 [BZ #13144]
10884 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10885 kernel in 64-bit binaries.
10886
5f4318d1
DM
108872011-09-01 David S. Miller <davem@davemloft.net>
10888
10889 * elf/elf.h (HWCAP_SPARC_*): Move to..
10890 * sysdeps/sparc/sysdep.h: this new file and add new values.
10891 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10892 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10893 _DL_HWCAP_COUNT to 24.
10894 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10895 entries.
10896 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10897 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10898 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10900 instead of magic constants.
10901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10902
3ba57516
DM
109032011-08-31 David S. Miller <davem@davemloft.net>
10904
10905 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10907 Reimplement to do errno handling inline.
10908 (SYSCALL_ERROR_HANDLER): New macro.
10909 (__SYSCALL_STRING): Do not do errno handling in asm.
10910 (__CLONE_SYSCALL_STRING): Delete.
10911 (__INTERNAL_SYSCALL_STRING): Delete.
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10913 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10914 (PSEUDO): Reimplement to do errno handling inline.
10915 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10916 (SYSCALL_ERROR_HANDLER): New macro.
10917 (__SYSCALL_STRING): Do not do errno handling in asm.
10918 (__CLONE_SYSCALL_STRING): Delete.
10919 (__INTERNAL_SYSCALL_STRING): Delete.
10920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10921 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10922 i386.
10923 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10924 (inline_syscall*): Add 'err' argument.
10925 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10926 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10927 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10928 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10929
10930 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10931 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10932
2bc17433
AS
109332011-08-30 Andreas Schwab <schwab@redhat.com>
10934
10935 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10936
fbeb5f4d
JO
109372011-08-29 Jiri Olsa <jolsa@redhat.com>
10938
10939 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10940 directive.
10941
ad69cc26
DM
109422011-08-24 David S. Miller <davem@davemloft.net>
10943
10944 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10945
39dd69df
AS
109462011-08-24 Andreas Schwab <schwab@redhat.com>
10947
10948 * elf/Makefile: Add rules to build and run unload8 test.
10949 * elf/unload8.c: New file.
10950 * elf/unload8mod1.c: New file.
10951 * elf/unload8mod1x.c: New file.
10952 * elf/unload8mod2.c: New file.
10953 * elf/unload8mod3.c: New file.
10954
10955 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10956 it wasn't used.
10957
2c0b250a
DM
109582011-08-23 David S. Miller <davem@davemloft.net>
10959
10960 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10961 subtract stack bias.
10962 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10963 %sp not %fp in calculations.
10964 (_JMPBUF_UNWINDS_ADJ): Likewise.
10965
22044b48
DM
10966 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10967 (aio_suspend): Call it to force an exception region around the
10968 AIO_MISC_WAIT() invocation.
10969
2cae4995
AS
109702011-08-23 Andreas Schwab <schwab@redhat.com>
10971
10972 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10973 backslash.
10974
873a772e
AJ
109752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10976
10977 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10978 protection macro.
10979 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10980 and <dl-machine.h>.
10981 (Elf64_FuncDesc): Remove.
10982
25ad0df1
DM
109832011-08-22 David S. Miller <davem@davemloft.net>
10984
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10986 sigaltstack check, add missing cfi directives.
10987 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10988 missing cfi directives, and sigaltstack handling.
10989
e888bcbe
AS
109902011-08-16 Andreas Schwab <schwab@redhat.com>
10991
10992 [BZ #11724]
10993 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10994 object is seen twice.
10995 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10996
10997 * elf/Makefile (distribute): Add tst-initorder2.c.
10998 (tests): Add tst-initorder2.
10999 (modules-names): Add tst-initorder2a tst-initorder2b
11000 tst-initorder2c tst-initorder2d. Add rules to build them.
11001 ($(objpfx)tst-initorder2.out): New rule.
11002 * elf/tst-initorder2.c: New file.
11003 * elf/tst-initorder2.exp: New file.
11004
87162f46
AS
110052011-08-22 Andreas Schwab <schwab@redhat.com>
11006
70538b7f
AS
11007 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11008
f55ffe58
AS
11009 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11010 dependencies back to end of function.
11011
87162f46
AS
11012 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11013 $(elfobjdir)/ld.so.
11014
91b392a4
UD
110152011-08-21 Ulrich Drepper <drepper@gmail.com>
11016
11017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11018 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11020 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11021 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11022 of __vdso_gettimeofday.
11023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11024 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11025 attribute_hidden.
11026 (_libc_vdso_platform_setup): Remove initialization of
11027 __vdso_gettimeofday and __vdso_time.
11028
5c43483f
UD
110292011-08-20 Ulrich Drepper <drepper@gmail.com>
11030
775a77e7
UD
11031 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11032 and fgetc_unlocked.
11033 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11034 getc_unlocked.
89f447ed 11035
49c74ba9
UD
11036 * elf/dl-open.c (add_to_global): Report additions to the global scope
11037 for LD_DEBUG=scopes.
11038 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11039 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11040
5c43483f
UD
11041 [BZ #13114]
11042 * stdio-common/Makefile (tests): Add bug24.
11043 * stdio-common/bug24.c: New file.
11044
a101b025
AJ
110452011-08-19 Andreas Jaeger <aj@suse.de>
11046
11047 [BZ #13114]
11048 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11049 non-existant file when using close-on-exec mode.
11050
c88f1766
UD
110512011-08-20 Ulrich Drepper <drepper@gmail.com>
11052
0276a718
UD
11053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11054 the very first instruction.
11055
c88f1766
UD
11056 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11057 the CFI state in the end.
11058 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11059 inclusion of dl-trampoline.h.
11060 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11061
51ccffa0
AS
110622011-08-19 Andreas Schwab <schwab@redhat.com>
11063
94d7165f
AS
11064 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11065 expectations for long double.
11066
51ccffa0
AS
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11068 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11069
fd708658 110702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11071
11072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11073 artificual limit depends upon the system page size.
11074
44f0a71e
UD
110752011-08-17 Ulrich Drepper <drepper@gmail.com>
11076
11077 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11078 * resolv/Makefile: Define CFLAGS-libresolv.
11079
8de79a24
AS
110802011-08-17 Andreas Schwab <schwab@redhat.com>
11081
11082 * nss/makedb.c (compute_tables): Make variables used in nested
11083 function static.
11084
27724598
UD
110852011-08-17 Ulrich Drepper <drepper@gmail.com>
11086
c5305d88
UD
11087 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11088 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11089 if buffer was too small.
11090
27724598
UD
11091 * elf/pldd.c (main): Attach to all threads in the process.
11092 Rewrite /proc handling to use *at functions.
11093
076fe015
UD
110942011-08-16 Ulrich Drepper <drepper@gmail.com>
11095
174baab3
UD
11096 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11097 specifies first scope to show.
11098 (dl_open_worker): Update callers. Move printing scope of new
11099 object to before the relocation.
44f0a71e 11100 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11101 * sysdeps/generic/ldsodefs.h: Update declaration.
11102
076fe015
UD
11103 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11104 string for the scope number.
11105
a60df2c3
UD
111062011-08-14 Ulrich Drepper <drepper@gmail.com>
11107
11108 * nscd/servicescache.c (cache_addserv): Make sure written is always
11109 initialized.
11110
5e4287d1
RM
111112011-08-14 Roland McGrath <roland@hack.frob.com>
11112
85ae0589
RM
11113 * sysdeps/i386/i486/bits/atomic.h
11114 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11115 statement expression, so as to suppress "set but not used" warning.
11116 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11117
69f63097
RM
11118 * string/strncat.c (STRNCAT): Use prototype definition.
11119
675456ef
RM
11120 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11121 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11122 -Iprograms here.
11123 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11124 (localedef-modules): Add localedef.
11125 (locale-modules): Add locale.
11126
5e4287d1
RM
11127 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11128 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11129 to avoid a warning.
11130
9c96ff23
DM
111312011-08-14 David S. Miller <davem@davemloft.net>
11132
11133 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11134 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11135
f9ddf089
UD
111362011-08-13 Ulrich Drepper <drepper@gmail.com>
11137
44f0a71e 11138 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11139 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11140 * elf/rtld.c (dl_main): Set l_name of vDSO.
11141 Call _dl_show_scope when DL_DEBUG_SCOPES.
11142 (process_dl_debug): Recognize scopes flag and also set it for all.
11143 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11144 Declare _dl_show_scope.
11145
1dc27704
UD
11146 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11147 (do_dlopen): Pass caller_dlopen to dl_open.
11148 (__libc_dlopen_mode): Initialize caller_dlopen.
11149
f9ddf089
UD
11150 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11151 of libc. Make tolower call locale-independent. Optimize a bit by
11152 using isdigit instead of isalnum.
11153 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11154
9ac533d3
UD
111552011-08-12 Ulrich Drepper <drepper@gmail.com>
11156
11157 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11158 was a dependency or dynamically loaded.
11159
89edf2e9
UD
111602011-08-11 Ulrich Drepper <drepper@gmail.com>
11161
8e999d29
UD
11162 * intl/l10nflist.c: Allow architecture-specific pop function.
11163 * sysdeps/x86_64/l10nflist.c: New file.
11164
89edf2e9
UD
11165 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11166 classification.
11167
14d96785
AS
111682011-08-10 Andreas Schwab <schwab@redhat.com>
11169
11170 * include/dirent.h: Add libc_hidden_proto for scandirat and
11171 scandirat64. Don't declare __scandirat64.
11172 * dirent/scandirat.c: Add libc_hidden_def.
11173 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11174 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11175
6761ac04
DM
111762011-08-10 David S. Miller <davem@davemloft.net>
11177
11178 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11179 enum.
11180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11183
c55fbd1e
UD
111842011-08-09 Ulrich Drepper <drepper@gmail.com>
11185
11186 * Versions.def [libc]: Add GLIBC_2.15.
11187 * dirent/Makefile (routines): Add scandirat and scandirat64.
11188 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11189 GLIBC_2.15.
11190 * dirent/dirent.h: Declare scandirat and scandirat64.
11191 * dirent/scandirat.c: New file.
11192 * dirent/scandirat64.c: New file.
11193 * sysdeps/wordsize-64/scandirat.c: New file.
11194 * sysdeps/wordsize-64/scandirat64.c: New file.
11195 * dirent/opendir.c: Define opendirat.
11196 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11197 using scandirat.
11198 * dirent/scandir64.c: Adjust for scandir.c change.
11199 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11200 __scandirat64, and __scandir_cancel_handler.
11201 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11202 additional parameter and use openat instead of open (outside of ld.so).
11203 Add new __opendir as wrapper around __opendirat.
11204 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11205 here without requiring old scandirat implementation.
11206
879165f2
UD
112072011-08-08 Ulrich Drepper <drepper@gmail.com>
11208
11209 * dirent/scandir.c (cancel_handler): Renamed to
11210 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11211 defined. Adjust users.
11212 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11214
cb7e923b
UD
112152011-08-04 Ulrich Drepper <drepper@gmail.com>
11216
16292edd
UD
11217 * string/test-string.h (IMPL): Use __STRING to expand name and then
11218 stringify it.
11219
cb7e923b
UD
11220 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11221 of cleanups.
11222
cff82933
LD
112232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11224
11225 * string/Makefile: Update.
11226 (strop-tests): Append strncat.
11227 * string/test-wcscmp.c: New file.
11228 New comprehensive test for wcscmp.
11229 * string/test-strcmp.c: Update.
11230 (WIDE): New define.
11231
9be9bfcc
AS
112322011-07-22 Andreas Schwab <schwab@redhat.com>
11233
11234 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11235 line.
11236
2e96f1c7
AS
112372011-07-26 Andreas Schwab <schwab@redhat.com>
11238
11239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11240 encoding to ACE if AI_IDN.
11241
85188888
JJ
112422011-08-01 Jakub Jelinek <jakub@redhat.com>
11243
11244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11245 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11246
5fa16e9b
LD
112472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11248
11249 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11250 Fix overflow bug in strncat.
11251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11252
11253 * string/test-strncat.c: Update.
11254 Add new tests for checking overflow bugs.
11255
112562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11257
11258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11259 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11260 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11261 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11263 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11264 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11265 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11266 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11267
11268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11269 (USE_AS_STRCAT): Define.
11270 Add strcat and strncat support.
11271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11272
8c1a459f
AS
112732011-07-25 Andreas Schwab <schwab@redhat.com>
11274
11275 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11276 __n bigger than INT_MAX+1.
11277 (__strncmp_g): Likewise.
11278
bba33c28
UD
112792011-07-23 Ulrich Drepper <drepper@gmail.com>
11280
798be72d
UD
11281 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11282 * libio/stido.h: Likewise.
11283
8accd4dc
UD
11284 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11285 (AF_NFC): Define.
11286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11287 (AF_NFC): Define.
11288
cbff0d96
UD
11289 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11292 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11293 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11294
9191c04a
UD
11295 [BZ #13021]
11296 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11297 installed.
11298
bba33c28
UD
11299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11300 typo.
11301 (_dl_x86_64_save_sse): Likewise.
11302
90f139dd
UD
113032011-07-22 Ulrich Drepper <drepper@gmail.com>
11304
1aae088a
UD
11305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11306 OSXSAVE.
11307 (_dl_x86_64_save_sse): Likewise.
11308
8e2045f5
UD
11309 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11310
90f139dd
UD
11311 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11312
1d002f25
AS
113132011-07-21 Andreas Schwab <schwab@redhat.com>
11314
11315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11316 change.
11317 (_dl_x86_64_save_sse): Use correct AVX check.
11318
21137f89
UD
113192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11320
11321 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11322 bug in strncpy/strncat.
11323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11324
a65c0b7a
UD
113252011-07-21 Ulrich Drepper <drepper@gmail.com>
11326
11327 * string/tester.c (test_strcat): Add tests for different alignments
11328 of source and destination.
11329 (test_strncat): Likewise.
11330
6986b98a
UD
113312011-07-20 Ulrich Drepper <drepper@gmail.com>
11332
90bb2039
UD
11333 [BZ #12852]
11334 * posix/glob.c (glob): Check passed in values before using them in
11335 expressions to avoid some overflows.
11336 (glob_in_dir): Likewise.
11337
5644ef54
UD
11338 [BZ #13007]
11339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11340 check for AVX enablement so that we don't crash with old kernels and
11341 new hardware.
11342 * elf/tst-audit4.c: Add same checks here.
11343 * elf/tst-audit6.c: Likewise.
11344
11345 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11346
bfc9dc9b
AS
113472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11350
702e64bb
UD
113512011-07-20 Ulrich Drepper <drepper@gmail.com>
11352
11353 * po/cs.po: Update from translation team.
11354 * po/bg.po: Likewise.
11355
295e904f
MP
113562011-07-12 Marek Polacek <mpolacek@redhat.com>
11357
11358 * misc/sys/cdefs.h: Add support for const attribute.
11359 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11360 to gnu_dev_{major,minor,makedev} functions.
11361
3ff94596
MP
113622011-07-20 Marek Polacek <mpolacek@redhat.com>
11363
11364 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11365
28b59fca
AS
113662011-07-20 Andreas Schwab <schwab@redhat.com>
11367
11368 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11369 strlen results.
11370
19df733e
AK
113712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11372
11373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11374 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11375 register in order to avoid conflicts with the soft frame pointer
11376 being held in r11 when necessary.
11377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11378 (INTERNAL_VSYSCALL_NCS): Likewise.
11379
c8835729
MP
113802011-07-14 Marek Polacek <mpolacek@redhat.com>
11381
11382 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11383 * elf/dl-fini.c (_dl_fini): Adjust caller.
11384 * elf/dl-close.c (_dl_close_worker): Likewise.
11385 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11386
b902330c
MP
113872011-07-15 Marek Polacek <mpolacek@redhat.com>
11388
8991e135
MP
11389 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11390 "aux_cache->nlibs < 0".
11391
b902330c
MP
11392 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11393 in the reload-count case.
11394
99710781
LD
113952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11396
11397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11398 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11399 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11400 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11401 * sysdeps/x86_64/multiarch/strcat.S: New file.
11402 * sysdeps/x86_64/multiarch/strncat.S: New file.
11403 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11404 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11405 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11406 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11408 (USE_AS_STRCAT): Define.
11409 Add strcat and strncat support.
11410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11413 * string/strncat.c: Update.
11414 (USE_AS_STRNCAT): Define.
11415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11416 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11417 and i7.
11418 * sysdeps/x86_64/multiarch/init-arch.h
11419 (bit_Prefer_PMINUB_for_stringop): New.
11420 (index_Prefer_PMINUB_for_stringop): Likewise.
11421 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11422 bit_Prefer_PMINUB_for_stringop.
11423
7dc6bd90
UD
114242011-07-19 Ulrich Drepper <drepper@gmail.com>
11425
11426 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11427 buffer64.
11428 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11429 of casting of buffer.
11430 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11431 buffer32 and buffer64.
11432 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11433 writes instead of casting of buffer.
11434 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11435 buffer32.
11436 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11437 casting of buffer.
11438
e0e72284
AS
114392011-07-19 Andreas Schwab <schwab@redhat.com>
11440
11441 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11442
feb1eb0b
UD
114432011-07-19 Ulrich Drepper <drepper@gmail.com>
11444
11445 * nscd/nscd.c (termination_handler): Don't do anything for a database
11446 if it has not yet been initialized.
11447
298711ff
UD
114482011-07-18 Ulrich Drepper <drepper@gmail.com>
11449
11450 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11451
114522011-07-15 Marek Polacek <mpolacek@redhat.com>
11453
11454 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11455
f9d68389
UD
114562011-07-18 Ulrich Drepper <drepper@gmail.com>
11457
11458 * po/nl.po: Update from translation team.
11459 * po/sv.po: Likewise.
11460
db290cf5
RM
114612011-07-16 Roland McGrath <roland@hack.frob.com>
11462
11463 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11464 now disallowed by GCC.
5c550700 11465
fd5e21c7
RM
11466 * configure.in (use-default-link): Default to yes if a test -shared
11467 link meets our qualifications.
11468 * configure: Regenerated.
11469
5c550700
RM
11470 * config.make.in (output-format): New variable.
11471 * configure.in: Check for ld --print-output-format support.
11472 * configure: Regenerated.
11473 * Makerules ($(common-objpfx)format.lds)
11474 [$(output-format) != unknown]: Just use $(output-format),
11475 instead of the linker-script munging.
11476
9fa2c032
RM
114772011-07-14 Roland McGrath <roland@hack.frob.com>
11478
a6928d51
RM
11479 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11480 of $(common-objpfx)shlib.lds.
11481 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11482
661607b3
RM
11483 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11484 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11485
9fa2c032
RM
11486 * configure.in (-z relro check): Adjust test code to add a large
11487 writable data section after it.
11488 * configure: Regenerated.
11489
defe9061
RM
114902011-07-11 Roland McGrath <roland@hack.frob.com>
11491
11492 * configure.in (-z relro check): Fix test code to make the variable
11493 truly const.
11494 * configure: Regenerated.
11495
319b9ad4
UD
114962011-07-11 Ulrich Drepper <drepper@gmail.com>
11497
11498 * nscd/nscd.h (struct traced_file): Define.
11499 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11500 elements. Add traced_files.
11501 (inotify_fd): Declare.
11502 (register_traced_file): Declare.
11503 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11504 (inotify_fd): Export.
11505 (resolv_conf_descr): Remove.
11506 (nscd_init): Move inotify descriptor creation to main.
11507 Don't register files for notification here.
11508 (register_traced_file): New function.
11509 (invalidate_cache): Don't use reset_res to determine whether to call
11510 res_init, go through the list of registered files.
11511 (main_loop_poll): The inotify descriptors are now stored in the
11512 structures for the traced files.
11513 (main_loop_epoll): Likewise
11514 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11515 to __nss_disable_nscd.
11516 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11517 for a database anymore. Check the records for all the registered
11518 files instead.
11519 * nss/Makefile (libnss_files-routines): Add files-init.
11520 (libnss_db-routines): Add db-init.
11521 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11522 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11523 * nss/nss_db/db-init.c: New file.
11524 * nss/nss_files/files-init.c: New file.
11525 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11526 __nss_lookup_function.
11527 (__nss_lookup_function): Call nss_load_library.
11528 (nss_load_all_libraries): New function.
11529 (__nss_disable_nscd): Take parameter with callback function for files
11530 to register. Set is_nscd. Load all the DSOs for the NSS modules
11531 used for the cached services.
11532 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11533 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11534 options for features to all the files in nscd.
11535
11536 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11537
23bee3e8
RM
115382011-07-10 Roland McGrath <roland@hack.frob.com>
11539
11540 * csu/elf-init.c (__libc_csu_init): Comment typo.
11541
46a5b7f0
UD
115422011-07-09 Ulrich Drepper <drepper@gmail.com>
11543
11544 * po/pl.po: Update from translation team.
11545 * po/ja.po: Likewise.
11546 * po/ru.po: Likewise.
11547 * po/ko.po: Likewise.
11548 * po/fr.po: Likewise.
11549
d30cf5bb
RM
115502011-07-09 Roland McGrath <roland@hack.frob.com>
11551
113ddea4
RM
11552 * configure.in (.ctors/.dtors header and trailer check):
11553 Use an empirical test on a built program.
11554 * configure: Regenerated.
11555
574920b4
RM
11556 * configure.in (-z relro check): Use an empirical test on a built DSO.
11557 Detect, but do not require, on ia64.
11558 * configure: Regenerated.
11559
d30cf5bb
RM
11560 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11561 Update tests that use readelf to use $READELF instead.
11562 * configure: Regenerated.
11563
8538fdb3
UD
115642011-07-08 Ulrich Drepper <drepper@gmail.com>
11565
11566 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11567 if the result is not used.
11568
04d08991
AJ
115692011-07-05 Andreas Jaeger <aj@suse.de>
11570
11571 [BZ#9696]
11572 * stdlib/tst-strtod.c: Add testcase.
11573
de283087
AD
115742011-07-07 Ulrich Drepper <drepper@gmail.com>
11575
4e5f31c8 11576 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11577 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11578 The latter has a higher limit. Take additional parameter to pass to
11579 the new function.
11580 (__pathconf): Pass file to __statfs_link_max.
11581 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11582 __statfs_link_max.
11583 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11584 __statfs_link_max.
11585
de283087
AD
11586 [BZ #12868]
11587 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11589 Handle Lustre.
11590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11591 (__statfs_filesize_max): Likewise.
11592 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11593
c75fa153
AJ
115942011-07-05 Andreas Jaeger <aj@suse.de>
11595
11596 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11597
1a544854
UD
115982011-07-06 Marek Polacek <mpolacek@redhat.com>
11599
11600 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11601 `status' variable.
11602 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11603 Likewise.
11604
6f0eec67
UD
116052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 * Makefile (strop-tests): Add strncat.
11608 * string/test-strncat.c: New file.
11609
aae30307
UD
116102011-06-30 Marek Polacek <mpolacek@redhat.com>
11611
11612 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11613
c0cfb5eb
UD
116142011-06-21 Andreas Jaeger <aj@suse.de>
11615
11616 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11617 Copy rule from iconvdata/Makefile.
11618
01636b21
UD
116192011-07-06 Ulrich Drepper <drepper@gmail.com>
11620
11621 [BZ #12922]
11622 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11623 but no long options are defined, just return 'W'.
11624
9895c8bc
UD
116252011-06-22 Marek Polacek <mpolacek@redhat.com>
11626
11627 [BZ #9696]
11628 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11629
5d4cf042
UD
116302011-07-06 Ulrich Drepper <drepper@gmail.com>
11631
11632 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11633 netgroups to read.
960e5535 11634 (innetgr): Likewise.
5d4cf042 11635
751eb97e
RM
116362011-07-05 Roland McGrath <roland@hack.frob.com>
11637
11638 * config.make.in (install_root): Default to $(DESTDIR).
11639
f15f1e45
UD
116402011-07-05 Ulrich Drepper <drepper@gmail.com>
11641
11642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11643
4e34ac6a
RM
116442011-07-02 Roland McGrath <roland@hack.frob.com>
11645
5e9b6af4
RM
11646 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11647
84f9ea0f
RM
11648 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11649 containing directory rather than embedding absolute directory names.
11650
ea5ee9f7
RM
11651 * scripts/check-local-headers.sh: Rewritten using awk.
11652 Match by word, not by line. Print error messages for matches.
11653 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11654
1b74661a
RM
11655 * Makerules [shlib-lds-flags empty]:
11656 ($(common-objpfx)libc_pic.opts): New target.
11657 ($(common-objpfx)libc_pic.os.clean): New target.
11658 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11659
11660 * config.make.in (OBJCOPY): New variable.
11661 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11662 * configure: Regenerated.
11663
f781ef40
RM
11664 * config.make.in (use-default-link): New variable.
11665 * configure.in (use_default_link): Grok --with-default-link to set it.
11666 * configure: Regenerated.
11667 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11668 (shlib-lds, shlib-lds-flags): Define to empty.
11669
2d4fa81e
RM
11670 * Makerules (shlib-lds): New variable.
11671 (shlib-lds-flags): New variable.
11672 (build-shlib, build-moduile, build-module-asneeded): Use it.
11673 ($(common-objpfx)libc.so): Use $(shlib-lds).
11674 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11675 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11676
31fffa6b
RM
11677 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11678 DT_FLAGS/DT_FLAGS_1 with zero flags.
11679
4e34ac6a
RM
11680 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11681 linker script munging.
11682
fcfc776b
UD
116832011-07-02 Ulrich Drepper <drepper@gmail.com>
11684
11685 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11686 as 128-bit value.
11687 * crypt/sha512.c (sha512_process_block): Perform total addition using
11688 128-bit if possible.
11689 (__sha512_finish_ctx): Likewise.
11690 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11691 as 64-bit value.
11692 * crypt/sha256.c (SWAP64): Define.
11693 (sha256_process_block): Perform total addition using 64-bit if
11694 possible.
11695 (__sha256_finish_ctx): Likewise.
11696
99231d9a
UD
116972011-07-01 Ulrich Drepper <drepper@gmail.com>
11698
11699 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11701 * nscd/hstcache.c (cache_addhst): Likewise.
11702 * nscd/grpcache.c (cache_addgr): Likewise.
11703 * nscd/aicache.c (addhstaiX): Likewise
11704 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11705
445b4a53
TK
117062011-07-01 Thorsten Kukuk <kukuk@suse.de>
11707
11708 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11710 * nscd/hstcache.c (cache_addhst): Likewise.
11711 * nscd/grpcache.c (cache_addgr): Likewise.
11712 * nscd/aicache.c (addhstaiX): Likewise
11713
6d4d8e8e
AS
117142011-07-01 Andreas Schwab <schwab@redhat.com>
11715
11716 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11717 domain only when needed.
11718
89f654c5
AS
117192011-06-30 Andreas Schwab <schwab@redhat.com>
11720
11721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11722 is always restored.
11723
cf3b23ff
UD
117242011-06-29 Ulrich Drepper <drepper@gmail.com>
11725
11726 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11727 are re-adding the entry.
11728 * nscd/servicescache.c (cache_addserv): Likewise.
11729
751626f9
AJ
117302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11731
11732 * sysdeps/generic/dl-irel.h: fix protection against multiple
11733 inclusions.
11734 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11735
9113ea1f
UD
117362011-06-28 Ulrich Drepper <drepper@gmail.com>
11737
5c0b8d90
UD
11738 [BZ #12935]
11739 * malloc/memusage.sh: Fix quoting in message.
11740 * debug/xtrace.sh: Likewise.
11741
9113ea1f
UD
11742 * configure.in: Remove support for --experimental-malloc option, make
11743 it the default.
11744 * config.make.in: Likewise.
11745 * malloc/Makefile: Likewise.
11746
a4172181
AS
117472011-06-27 Andreas Schwab <schwab@redhat.com>
11748
11749 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11750 two-byte characters.
11751
78a7eee7
RM
117522011-06-27 Roland McGrath <roland@hack.frob.com>
11753
62bede13
RM
11754 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11755 AC_CACHE_CHECK invocation.
11756 * configure: Regenerated.
11757
78a7eee7
RM
11758 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11759
5ce33a62
UD
117602011-06-27 Ulrich Drepper <drepper@gmail.com>
11761
034807a9
UD
11762 [BZ #12350]
11763 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11764 bit from old_res_options.
11765
4902da17
UD
11766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11767
5ce33a62
UD
11768 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11769 value type for setfct.
11770
c2344f56
L
117712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11772
11773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11774 __gettimeofday instead of gettimeofday.
11775
68468076
UD
117762011-06-26 Ulrich Drepper <drepper@gmail.com>
11777
11778 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11779
acb0d739
L
117802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11783
11784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11785 info.
11786
8912479f
L
117872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11790 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11791 strcpy-sse2-unaligned strncpy-sse2-unaligned
11792 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11793 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11794 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11795 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11796 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11799 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11800 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11801 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11802 (STRCPY): Support SSE2 and SSSE3 versions.
11803
d5495a11
UD
118042011-06-24 Ulrich Drepper <drepper@gmail.com>
11805
11806 [BZ #12874]
11807 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11808 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11809 kernels which artificially limit size of requests.
11810
0b1cbaae
L
118112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11814 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11815 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11816 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11817 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11818 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11819 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11820 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11821 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11823 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11824 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11825 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11826 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11827 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11829 Enable unaligned load optimization for Intel Core i3, i5 and i7
11830 processors.
11831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11832 Define.
11833 (index_Fast_Unaligned_Load): Define.
11834 (HAS_FAST_UNALIGNED_LOAD): Define.
11835
07f494a0
MP
118362011-06-23 Marek Polacek <mpolacek@redhat.com>
11837
11838 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11839
fa3fc0fe
UD
118402011-06-22 Ulrich Drepper <drepper@gmail.com>
11841
11842 [BZ #12907]
11843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11844 until it is clear that the information is realy needed.
11845 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11846
e12df166
AS
118472011-06-22 Andreas Schwab <schwab@redhat.com>
11848
11849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11850
852eb34d
UD
118512011-06-22 Ulrich Drepper <drepper@gmail.com>
11852
84e2a551
UD
11853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11854 /sys/devices/system/cpu/online if it is usable.
11855
852eb34d
UD
11856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11857 reading the information from the /proc filesystem to once a second.
11858
6e502e19
UD
118592011-06-21 Andreas Jaeger <aj@suse.de>
11860
11861 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11862 NULL after inclusion of kernel headers.
11863
75d39ff2
UD
118642011-06-21 Ulrich Drepper <drepper@gmail.com>
11865
51f9aa6a
UD
11866 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11867 calls to internal_setent.
11868
c0244a9d
UD
11869 [BZ #12885]
11870 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11871 addresses using gethostbyname4_r ignore IPv4 addresses.
11872
c5e3c2ae
UD
11873 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11874 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11875
75d39ff2
UD
11876 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11877
42675c6f
DM
118782011-06-20 David S. Miller <davem@davemloft.net>
11879
11880 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11881 inclusions.
11882 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11883
11884 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11885 (elf_irel): Use it.
11886 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11887 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11888 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11889 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11890 * sysdeps/x86_64/dl-irel.h: Likewise.
11891
11892 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11893 * elf/dl-sym.c: Likewise.
11894
57912a71
UD
118952011-06-15 Ulrich Drepper <drepper@gmail.com>
11896
11897 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11898 need to dereference resplen2.
11899
ee22793d
AS
119002011-06-14 Andreas Schwab <schwab@redhat.com>
11901
11902 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11903
a9e836b0
UD
119042011-06-15 Ulrich Drepper <drepper@gmail.com>
11905
77fb9117
UD
11906 * Makeconfig: Define vardbdir and inst_vardbdir.
11907 * nss/Makefile: Add rules to install db-Makefile.
11908
40c1b22c
UD
11909 * nss/nss_db/db-XXX.c: Cleanup.
11910
9f2da732
UD
11911 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11912 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11913 GLIBC_PRIVATE.
11914 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11915 * nss/makedb.c: Implement -g option to specify that value strings
11916 are generated and should not be added to table iterated over for
11917 get*ent calls.
11918 * nss/nss_db/db-initgroups.c: New file.
11919
82e9a1f7
UD
11920 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11921 interface.
11922
c41af17e
UD
11923 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11924 (internal_getgrouplist): Adjust to name change.
11925 Update use_initgroups_entry if this is not the first call.
11926 * nss/databases.def: Add initgroups entry.
11927
a9e836b0
UD
11928 * nss/makedb.c (compute_tables): Check result of multiple hash table
11929 sizes to minimize maximum chain length.
11930
2666d441
UD
119312011-06-14 Ulrich Drepper <drepper@gmail.com>
11932
11933 * Versions.def: Add entry for libnss_db.
11934 * shlib-versions: Likewise.
11935 * nss/Makefile: Add rules to build libnss_db.
11936 * nss/Versions: Add libnss_db information. Organize libnss_files
11937 entries better.
11938 * nss/db-Makefile: Add gshadow support. Change rules for the new
11939 makedb progra. Some minor improvements to generate smaller files.
11940 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11941 here from...
11942 * nss/makedb.c: ...here.
11943 Improve database format to be smaller and require less memory at
11944 runtime.
11945 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11946 db anymore.
11947 * nss/nss_db/db-netgrp.c: Likewise.
11948 * nss/nss_db/db-open.c: Likewise.
11949 * nss/nss_files/flies-XXX.x: Adjust comments.
11950 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11951 * nss/nss_files/files-grp.c: Likewise.
11952 * nss/nss_files/files-hosts.c: Likewise.
11953 * nss/nss_files/files-network.c: Likewise.
11954 * nss/nss_files/files-proto.c: Likewise.
11955 * nss/nss_files/files-pwd.c: Likewise.
11956 * nss/nss_files/files-rpc.c: Likewise.
11957 * nss/nss_files/files-service.c: Likewise.
11958 * nss/nss_files/files-sgrp.c: Likewise.
11959 * nss/nss_files/files-spwd.c: Likewise.
11960 * nss/nss_db/db-alias.c: Removed.
11961 * nss/nss_db/dummy-db.h: Removed.
11962
9ee76b5a
UD
119632011-06-02 Ulrich Drepper <drepper@gmail.com>
11964
11965 * nss/makedb.c: Rewritten to not use database library.
11966 * nss/Makefile: Update to build new makedb program.
11967
c71ca1f8
AJ
119682011-06-14 Andreas Jaeger <aj@suse.de>
11969
11970 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11971 memset declaration.
11972
3154bfb8
UD
119732011-06-10 Andreas Schwab <schwab@redhat.com>
11974
11975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11976 tmpbuf.
11977
b350afab
RM
119782011-06-10 Roland McGrath <roland@hack.frob.com>
11979
decd4e50
RM
11980 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11981 * elf/Makefile ($(objpfx)ld.so): Likewise.
11982
5615eaf2
RM
11983 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11984 Don't list ld.so twice in dependencies.
11985
11986 * posix/bug-regex31.c: Include <stdlib.h>.
11987
11988 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11989
11990 * nis/nss_compat/compat-spwd.c
11991 (getspent_next_nss_netgr): Remove unused variable.
11992 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11993
11994 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11995 nonmembers" output to use the right array.
11996
11997 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11998
11999 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12000
12001 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12002 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12003 * catgets/gencat.c (read_input_file): Likewise.
12004 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12005
12006 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12007 variable definition inside #if's controlling its use.
12008
12009 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12010
12011 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12012
12013 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12014
12015 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12016 unreachable code.
12017
12018 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12019
b68e08db
RM
12020 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12021 * configure: Regenerated.
12022
b350afab
RM
12023 * Makerules: Revert last change.
12024 * elf/Makefile: Likewise.
12025
28368601
RM
120262011-06-09 Roland McGrath <roland@hack.frob.com>
12027
12028 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12029 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12030 (reloc-link): Likewise.
12031
11988f8f
UD
120322011-06-09 Ulrich Drepper <drepper@gmail.com>
12033
12034 * elf/Makefile: Add rules to build pldd.
12035 * elf/pldd.c: New file.
12036 * elf/pldd-xx.c: New file.
12037
e80fab37
UD
120382011-06-07 Ulrich Drepper <drepper@gmail.com>
12039
12040 * version.h: Update for 2.15 development version.
12041
9b849836
DM
120422011-06-07 David S. Miller <davem@davemloft.net>
12043
12044 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12045 ifuncs.
12046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12047 elf_machine_lazy_rel): Likewise.
12048 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12050 elf_machine_lazy_rel): Likewise.
12051 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12052 dl_hwcap via passed in argument.
12053 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12054 Likewise.
12055
5a31b283
AK
120562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12057
12058 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12059
069e52f8
RM
120602011-06-06 Roland McGrath <roland@hack.frob.com>
12061
12062 [BZ #12849]
12063 * manual/fdl-1.1.texi: New file, verbatim from:
12064 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12065 * manual/lgpl-2.1.texi: New file, verbatim from:
12066 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12067 * manual/Makefile (licenses): New variable, list those new file names.
12068 (texis): Use it.
12069 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12070
12071 * manual/fdl.texi: File removed.
12072 * manual/lesser.texi: File removed.
12073 * manual/libc.texinfo (Copying, Documentation License):
12074 Use new @include file names, put @appendix directive before @include.
12075
f16846a5
JJ
120762011-06-04 Jakub Jelinek <jakub@redhat.com>
12077
12078 [BZ #12841]
12079 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12080 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12081 (mq_open): Add __NTH.
12082
3d29045b
L
120832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12086 Assume Intel Core i3/i5/i7 processor if AVX is available.
12087
8c297311
UD
120882011-05-31 Ulrich Drepper <drepper@gmail.com>
12089
12090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12091 typo.
12092
c8fc0c91
UD
120932011-05-31 Andreas Schwab <schwab@redhat.com>
12094
12095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12096 memory. Use alloca_account. Fix memory leak when retrying.
12097
5b27a807
UD
120982011-05-31 Ulrich Drepper <drepper@gmail.com>
12099
356f8bc6
UD
12100 * version.h (RELEASE): Bump for 2.14 release.
12101 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12102
5b27a807
UD
12103 * config.make.in (RANLIB): Remove entry.
12104
01f16ab0
UD
121052011-05-30 Ulrich Drepper <drepper@gmail.com>
12106
41fce8bd
UD
12107 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12108 (libc.pot): Work around missing support for .ksh extension in xgettext.
12109
4769ae77
UD
12110 [BZ #12684]
12111 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12112 if both request failed.
12113 (send_dg): In case of server errors clear resplen or *resplen2.
12114
6b1e7d19
UD
12115 [BZ #12454]
12116 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12117 when there are multiple maps.
12118 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12119 (_dl_fini): Remove test here.
12120
01f16ab0
UD
12121 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12122
b1ebd700
UD
121232011-05-29 Ulrich Drepper <drepper@gmail.com>
12124
7ae22829
UD
12125 [BZ #12350]
12126 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12127 bit from old_res_options.
12128 (gaih_inet): Likewise.
12129
553149f6 12130 [BZ #11099]
18a84741 12131 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12132 as signed.
12133
652ffab1
UD
12134 * resolv/res_init.c (res_setoptions): Make the code more compact.
12135
16985fd0
UD
12136 [BZ #11558]
12137 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12138 set RES_USEVC.
12139
0464f746
UD
12140 [BZ #11634]
12141 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12142
7d17596c
UD
12143 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12144
cf6bbbd7
UD
12145 [BZ #11781]
12146 * malloc/malloc.h: Declare malloc hook variables as volatile.
12147
13f1ab36
UD
12148 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12149 in last patch.
12150
b1ebd700
UD
12151 [BZ #11799]
12152 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12153 raise in the comment.
80e2212d
UD
12154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12156 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12157
ce67228d
UD
121582011-05-28 Ulrich Drepper <drepper@gmail.com>
12159
8887a920
UD
12160 [BZ #12811]
12161 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12162 grow the buffers more if it already has to be sufficient.
12163 (build_wcs_upper_buffer): Likewise.
12164 * posix/regexec.c (check_matching): Likewise.
12165 (clean_state_log_if_needed): Likewise.
12166 (extend_buffers): Don't enlarge buffers beyond size of the input
12167 buffer.
12168 Patches mostly by Emil Wojak <emil@wojak.eu>.
12169 * posix/bug-regex32.c: New file.
12170 * posix/Makefile (tests): Add bug-regex32.
12171
4f031072
UD
12172 * locale/findlocale.c (_nl_find_locale): Return right away if
12173 _nl_explode_name failed.
12174 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12175
d0478f0c
UD
12176 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12177
de81b246
UD
12178 * debug/xtrace.sh: Unify messages.
12179 * malloc/memusage.sh: Likewise.
12180
c738465a
UD
12181 [BZ #12813]
12182 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12183 time symbol from vDSO. Substitute with vsyscall if not available.
12184 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12185 __vdso_time.
12186
f1f929d7
UD
12187 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12188 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12189 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12190 Add sendmmsg and internal_sendmmsg.
12191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12192 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12193 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12194
ce67228d
UD
12195 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12196 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12198
e57420c6
UD
121992011-05-27 Ulrich Drepper <drepper@gmail.com>
12200
a8509ca5
UD
12201 [BZ #12813]
12202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12203 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12204 available.
12205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12206 __vdso_getcpu.
12207
e57420c6
UD
12208 [BZ #12814]
12209 * iconvdata/Makefile (tests): Add bug-iconv9.
12210 * iconvdata/bug-iconv9.c: New file.
12211
4d07db15
AS
122122011-05-27 Andreas Schwab <schwab@redhat.com>
12213
12214 [BZ #12814]
12215 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12216
ea486f69
JJ
122172011-05-25 Jakub Jelinek <jakub@redhat.com>
12218
12219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12220 (struct user_regs_struct): Change intcs field back to cs.
12221
6f038433
UD
122222011-05-25 Ulrich Drepper <drepper@gmail.com>
12223
12224 * po/ja.po: Update from translation team.
12225
67f86a25
UD
122262011-05-23 Ulrich Drepper <drepper@gmail.com>
12227
12228 [BZ #12795]
12229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12231
def7fbd6
AS
122322011-05-20 Andreas Schwab <schwab@redhat.com>
12233
12234 * stdlib/longlong.h: Update from GCC.
12235
f50ef8f1
AS
122362011-05-23 Andreas Schwab <schwab@redhat.com>
12237
12238 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12239 parameter name.
12240 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12241 Add parameter name.
12242 (__sysconf): Pass it down.
12243
de7ce8f1
UD
122442011-05-22 Ulrich Drepper <drepper@gmail.com>
12245
f2962a71
UD
12246 [BZ #12671]
12247 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12248 some situations.
12249 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12250 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12251 add in in __libc_use_alloca calls. Adjust callers.
12252 (glob): Use malloc in some situations.
12253
de7ce8f1
UD
12254 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12255 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12256 pltexit.
12257
aec84f53
UD
122582011-05-21 Ulrich Drepper <drepper@gmail.com>
12259
05bb4a68
UD
12260 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12261 and CLOCK_BOOTTIME_ALARM.
12262
7ea72f99
UD
12263 [BZ #12782]
12264 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12265 is returned.
12266
7e4afad5
UD
12267 * string/_strerror.c (__strerror_r): Print negative errors as signed
12268 numbers.
12269
8e211fec
UD
12270 [BZ #12777]
12271 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12272 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12273 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12274
f7d82dc9
UD
12275 * configure.in: Fix typo in redirection and correct removal of test
12276 files in two cases.
12277
cc9e536d
UD
12278 [BZ #12788]
12279 * locale/setlocale.c (new_composite_name): Fix test to check for
12280 identical name of all categories.
12281
aec84f53
UD
12282 [BZ #12792]
12283 * libio/filedoalloc.c (local_isatty): New function.
12284 (_IO_file_doallocate): Use local_isatty.
12285 * stdio-common/perror.c (perror): In case a new stream is used
12286 forward the stream error.
12287 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12288 error flag.
12289
78e64fdc
RT
122902011-05-20 Ulrich Drepper <drepper@gmail.com>
12291
34a9094f
UD
12292 [BZ #11869]
12293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12294 alloca.
12295 * include/alloca.h (extend_alloca_account): Define.
12296
78e64fdc
RT
12297 [BZ #11857]
12298 * posix/regex.h: Fix comments with documentation of user-accessible
12299 fields after compilation and describe correct free'ing of pattern
12300 after re_compile_pattern.
12301 Patch by Reuben Thomas <rrt@sc3d.org>.
12302
457bddfc
RA
123032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12304
12305 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12306 and -mno-altivec to prevent the compiler from using Altivec and/or
12307 VSX instructions when the corresponding registers are not available.
12308
a4527b51
AS
123092011-05-19 Andreas Schwab <schwab@redhat.com>
12310
12311 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12312
ed690b2f
UD
123132011-05-19 Ulrich Drepper <drepper@gmail.com>
12314
12315 * libio/freopen.c (freopen): Use __dup2, not dup2.
12316 * libio/freopen64.c (freopen64): Likewise.
12317
8db73634
L
123182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12319
12320 [BZ #12775]
12321 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12322 * math/Makefile (tests): Add test-powl.
12323 (CFLAGS-test-powl.c): Define.
12324 * math/test-powl.c: New file.
12325
0a197a9d
L
123262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12327
12328 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12329
ee30c380
UD
123302011-05-17 Ulrich Drepper <drepper@gmail.com>
12331
12332 [BZ #11837]
12333 * iconvdata/gb18030.c: Update to GB18020-2005.
12334
6ce75379
UD
123352011-05-16 Ulrich Drepper <drepper@gmail.com>
12336
a4b89fd8
AR
12337 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12338 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12339 Patch by Aharon Robbins <arnold@skeeve.com>.
12340
ea389b12
UD
12341 [BZ #11892]
12342 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12343 on the stack.
12344
68a3f91f
UD
12345 [BZ #11895]
12346 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12347 through underflows.
12348
15cc7dd1
UD
12349 [BZ #12766]
12350 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12351 point to strings before performing equality test for error_one_per_line
12352 mode.
12353
f3799213
UD
12354 [BZ #11697]
12355 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12356
d79a9c94
UD
12357 [BZ #11820]
12358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12359 (struct user_fpregs_struct): Avoid __uint*_t types.
12360
56e5eb46
UD
12361 [BZ #6420]
12362 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12363 symbol info. Use it instead of calling _dl_addr locally.
12364 (lock_and_info): New function.
12365 (tr_freehook): Call lock_and_info and pass symbol info as additional
12366 parameter to tr_where.
12367 (tr_mallochook): Likewise.
12368 (tr_reallochook): Likewise.
12369 (tr_memalignhook): Likewise.
12370
6ce75379
UD
12371 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12372 used and couldn't be at all thread-safe.
12373
f8a3b5bf
UD
123742011-05-15 Ulrich Drepper <drepper@gmail.com>
12375
94b7cc37
UD
12376 * libio/freopen.c (freopen): Don't close old file descriptor
12377 before the new one is opened. Instead dup the new file descriptor
12378 to the old one after the new stream is created.
12379 * libio/freopen64.c (freopen64): Likewise.
12380 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12381 * libio/fileops.c (_IO_new_file_close_it): Handle new
12382 _IO_FLAGS2_NOCLOSE flag.
12383 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12384 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12385 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12386 _IO_FLAGS2_NOCLOSE flag.
12387 * include/unistd.h: Add hidden_proto for dup3.
12388 Define __have_dup3.
12389 * io/dup3.c: Define hidden symbol.
12390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12391
bd25564e
UD
12392 [BZ #7101]
12393 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12394 when an incomplete long option is used.
12395 * posix/tst-getopt_long1.c: New file.
12396 * posix/Makefile (tests): Add tst-getopt_long1.
12397
c84cfef4
UD
12398 [BZ #10138]
12399 * scripts/config.guess: Update from autoconf-2.68.
12400 * scripts/config.sub: Likewise.
12401
3b85df27
UD
12402 [BZ #10157]
12403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12404 tests into ...
12405 (has_cpuclock): ...this. New function.
12406 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12407 macro here based on has_cpuclock code.
12408
15a856b1
UD
12409 [BZ #10149]
12410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12411 First byte (not low byte) is now always NUL.
12412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12413
05f399e6
UD
12414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12415 Use non-cancelable interfaces.
12416
10a52685 12417 [BZ #9809]
94ecc67d
UD
12418 * locale/iso-639.def: Add entry for Sorani.
12419
f8a3b5bf
UD
12420 [BZ #11901]
12421 * include/stdlib.h: Move include protection to the right place.
12422 Define abort_msg_s. Declare __abort_msg with it.
12423 * stdlib/abort.c (__abort_msg): Adjust type.
12424 * assert/assert.c (__assert_fail_base): New function. Majority
12425 of code from __assert_fail. Allocate memory for __abort_msg with
12426 mmap.
12427 (__assert_fail): Now call __assert_fail_base.
12428 * assert/assert-perr.c: Remove bulk of implementation. Use
12429 __assert_fail_base.
12430 * include/assert.hL Declare __assert_fail_base.
12431 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12432 mmap.
12433 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12434
1af4e298
UD
124352011-05-14 Ulrich Drepper <drepper@gmail.com>
12436
f8a3b5bf 12437 [BZ #11952]
d26dfc60
MG
12438 [BZ #12453]
12439 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12440 until all modules are registered in the DTV.
12441 * elf/Makefile: Add rules to build and run tst-tls19.
12442 * elf/tst-tls19.c: New file.
12443 * elf/tst-tls19mod1.c: New file.
12444 * elf/tst-tls19mod2.c: New file.
12445 * elf/tst-tls19mod3.c: New file.
12446 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12447
2fc54d6f
UD
12448 [BZ #12083]
12449 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12450 correctly.
12451
98d76b46
UD
12452 [BZ #12601]
12453 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12454 two-byte sequence errors.
12455 * iconvdata/Makefile (tests): Add bug-iconv8.
12456 * iconvdata/bug-iconv8.c: New file.
12457
da3c19ef
UD
12458 [BZ #12626]
12459 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12460 buf2 definition.
12461
ca408c15
UD
12462 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12463
d6f67f7d
UD
12464 [BZ #12432]
12465 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12466 (dummy_getcfa): New function.
12467 (init): Get _Unwind_GetCFA address, use dummy if not found.
12468 (backtrace_helper): In recursion check, also check whether CFA changes.
12469 (__backtrace): Completely initialize arg.
12470
1af4e298 12471 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12472 storing incomplete byte sequence in state object. Avoid testing for
12473 guaranteed too small input if we know there is enough data available.
1af4e298 12474
da62f81b
AS
124752011-05-11 Andreas Schwab <schwab@redhat.com>
12476
12477 * Makeconfig (+link-pie): Indent.
12478 * Rules (binaries-pie): Define if $(have-fpie) and
12479 $(build-shared).
12480 (binaries-shared): Also filter out $(binaries-pie).
12481 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12482 * nscd/Makefile (others-pie): Add nscd.
12483 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12484 ($(objpfx)nscd): Remove command override.
12485 * login/Makefile (others-pie): Add pt_chown.
12486 ($(objpfx)pt_chown): Remove command override.
12487 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12488 remove command overrides.
12489
fcabc0f8
UD
124902011-05-13 Ulrich Drepper <drepper@gmail.com>
12491
20030ae6
UD
12492 * libio/tst_putwc.c: Fix error messages.
12493
fcabc0f8
UD
12494 [BZ #12724]
12495 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12496 currently writing and seek to current position when not.
12497 * libio/Makefile (tests): Add bug-fclose1.
12498 * libio/bug-fclose1.c: New file.
12499
320a5dc0
PB
125002011-05-12 Ulrich Drepper <drepper@gmail.com>
12501
12502 [BZ #12511]
12503 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12504 don't set DF_1_NODELETE here.
12505 (do_lookup_x): When entering new entry test for copy relocation
12506 and if necessary set DF_1_NODELETE flag.
12507 * elf/tst-unique4.cc: New file.
12508 * elf/tst-unique4.h: New file.
12509 * elf/tst-unique4lib.cc: New file.
12510 * elf/Makefile: Add rules to build and run tst-unique4.
12511 Patch by Piotr Bury <pbury@goahead.com>.
12512
22836f52
UD
125132011-05-11 Ulrich Drepper <drepper@gmail.com>
12514
f574184a
UD
12515 [BZ #12052]
12516 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12517
e1fb097f
UD
12518 [BZ #12625]
12519 * misc/mntent_r.c (addmntent): Flush the stream after the output
12520
22836f52
UD
12521 [BZ #12393]
12522 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12523 (is_trusted_path_normalize): Skip initial colon. Append slash
12524 to empty buffer. Duplicate is_trusted_path code but allow
12525 constructed patch to be prefix.
12526 (is_dst): Allow $ORIGIN followed by /.
12527 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12528 Correct testing of result of is_trusted_path_normalize
12529 (decompose_rpath): Fix warning.
12530
7b3b0b2a
UD
125312011-05-10 Ulrich Drepper <drepper@gmail.com>
12532
12533 [BZ #11257]
12534 * grp/initgroups.c (internal_getgrouplist): When we found the service
12535 list through the initgroups entry in nsswitch.conf do not always
12536 continue on a successful lookup. Don't always use the
eac80ce2 12537 __nss_group_database value if it is set.
7b3b0b2a
UD
12538 * nss/nsswitch.conf (initgroups): Change action for successful db
12539 lookup to continue for compatibility.
12540
2a81eaa5
UD
125412011-05-09 Ulrich Drepper <drepper@gmail.com>
12542
be97a69e
UD
12543 [BZ #11532]
12544 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12545 and CP774 modules.
12546 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12547 and CP774 modules.
12548 * iconvdata/tst-tables.sh: Likewise.
12549 * iconvdata/cp770.c: New file.
12550 * iconvdata/cp771.c: New file.
12551 * iconvdata/cp772.c: New file.
12552 * iconvdata/cp773.c: New file.
12553 * iconvdata/cp774.c: New file.
12554 * iconvdata/testdata/CP770: New file.
12555 * iconvdata/testdata/CP770..UTF8: New file.
12556 * iconvdata/testdata/CP771: New file.
12557 * iconvdata/testdata/CP771..UTF8: New file.
12558 * iconvdata/testdata/CP772: New file.
12559 * iconvdata/testdata/CP772..UTF8: New file.
12560 * iconvdata/testdata/CP773: New file.
12561 * iconvdata/testdata/CP773..UTF8: New file.
12562 * iconvdata/testdata/CP774: New file.
12563 * iconvdata/testdata/CP774..UTF8: New file.
12564
12565 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12566 END CHARMAP line.
12567 * iconvdata/gen-8bit-gap.sh: Likewise.
12568 * iconvdata/gen-8bit.sh: Likewise.
12569
c1e9e399
UD
12570 * locale/iso-639.def: Add ary entry.
12571
24c55fb3 12572 [BZ #11258]
96b4b1b0
UD
12573 * locale/C-translit.h.in: Add U20A1 transliteration.
12574
bdc2f971
KB
12575 [BZ #12178]
12576 * locale/iso-639.def: Add wae entry.
12577 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12578
2952b117
UD
12579 [BZ #12545]
12580 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12581 for n.
12582
2a81eaa5
UD
12583 [BZ #12711]
12584 * locale/C-translit.h.in: Add entry for U20B9.
12585 Patch by pravin.d.s@gmail.com.
12586
28377d1b
UD
125872011-05-08 Ulrich Drepper <drepper@gmail.com>
12588
7fb90fb8
UD
12589 [BZ #12713]
12590 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12591 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12592 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12593 in rtld. Use *stat64.
7fb90fb8 12594 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12595 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12596 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12597 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12598 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12599 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12600 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12601 __fstatat64 macros.
7fb90fb8
UD
12602 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12603 * dirent/rewinddir.c: Add libc_hidden_def.
12604 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12605 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12606
28377d1b
UD
12607 * include/dirent.h (__alloc_dir): Add flags parameter.
12608 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12609 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12610 __alloc_dir.
12611 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12612 from fdopendir if O_CLOEXEC is already set.
12613
66bdbaa4
AM
126142011-03-15 Alan Modra <amodra@gmail.com>
12615
12616 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12617 l_tls_firstbyte_offset non-zero. Save padding offset in
12618 l_tls_firstbyte_offset for later use.
12619 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12620 freeing static tls block.
12621
95721191
JN
126222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12623
12624 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12625 where #ifdef was intended. The intent is to prevent ARG_MAX from
12626 being defined by the kernel headers.
12627
f87dfb1f
UD
126282011-05-07 Ulrich Drepper <drepper@gmail.com>
12629
12630 [BZ #12734]
12631 * resolv/resolv.h: Define RES_NOTLDQUERY.
12632 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12633 no-tld-query and set RES_NOTLDQUERY.
12634 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12635 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12636 modern BIND to search name as TLD unless forbidden.
12637
47c3cd7a
UD
126382011-05-07 Petr Baudis <pasky@suse.cz>
12639 Ulrich Drepper <drepper@gmail.com>
12640
12641 [BZ #12393]
12642 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12643 (is_trusted_path): ...to here.
c1e9ea35 12644 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12645 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12646 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12647
8a35c912
PP
126482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12649
12650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12651 __BEGIN/__END_DECLS.
12652
acd41f47
UD
126532011-05-06 Ulrich Drepper <drepper@gmail.com>
12654
12655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12656 NSS_STATUS_NOTFOUND if no record was found.
12657
597df647
AS
126582011-05-05 Andreas Schwab <schwab@redhat.com>
12659
12660 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12661 (headers-not-in-tirpc): Remove rpc/netdb.h
12662 * resolv/netdb.h: Revert last change.
12663
b9af1301
PP
126642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12665
12666 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12667 circular dependency between libgcc.a and libc.a.
12668
4e34d5f5
AS
126692011-05-05 Andreas Schwab <schwab@redhat.com>
12670
12671 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12672 * nis/Makefile: Don't install rpcsvc/*.
12673 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12674 instead of <rpc/types.h>.
12675 (MAXHOSTNAMELEN): Define.
12676
00ee369c
AS
126772011-05-03 Andreas Schwab <schwab@redhat.com>
12678
12679 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12680
0b592a30
MB
126812011-04-28 Maciej Babinski <mbabinski@google.com>
12682
12683 [BZ #12714]
12684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12685 gethostbyname4_r when IPv6 results are possible.
12686
6e04cbbe
UD
126872011-05-02 Ulrich Drepper <drepper@gmail.com>
12688
12689 [BZ #12723]
12690 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12691 _PC_PIPE_BUF handling.
12692
e4ecafe0
BH
126932011-04-30 Bruno Haible <bruno@clisp.org>
12694
12695 [BZ #12717]
12696 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12697 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12698 to 'int'.
12699 * inet/getnameinfo.c (getnameinfo): Likewise.
12700
125ee683
UD
127012011-04-29 Ulrich Drepper <drepper@gmail.com>
12702
12703 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12704 to groups setting in database lookup.
12705 * nss/nsswitch.conf: Add initgroups entry.
12706
b722481a
EB
127072011-04-22 Ulrich Drepper <drepper@gmail.com>
12708
12709 [BZ #12685]
12710 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12711 mode string.
12712 Patch by Eric Blake <eblake@redhat.com>.
12713
4df46dbd
L
127142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12715
12716 * sunrpc/Makefile (need-export-routines): Add svc_run.
12717 (routines): Remove svc_run.
12718 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12719 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12720 * sunrpc/svc_run.c (svc_run): Likewise.
12721 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12722
e84142d2
UD
127232011-04-21 Ulrich Drepper <drepper@gmail.com>
12724
12725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12726 problem in reallocation in last patch.
12727
877175d8
UD
127282011-04-20 Ulrich Drepper <drepper@gmail.com>
12729
12730 * sunrpc/Makefile: Move inclusion of Rules.
12731
ab8eed78
UD
127322011-04-19 Ulrich Drepper <drepper@gmail.com>
12733
12734 * nss/nss_files/files-initgroups.c: New file.
12735 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12736 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12737 _nss_files_initgroups_dyn.
12738
e3d8f584
RS
127392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12740
12741 * elf/elf.h (R_ARM_IRELATIVE): Define.
12742
af190f45
UD
127432011-04-19 Ulrich Drepper <drepper@gmail.com>
12744
12745 * po/ru.po: Update from translation team.
12746
53cf59ef
UD
127472011-04-17 Ulrich Drepper <drepper@gmail.com>
12748
12749 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12750 dependencies.
12751
4c559bcd
MF
127522011-02-06 Mike Frysinger <vapier@gentoo.org>
12753
12754 [BZ #12653]
12755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12756 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12760
4420675c
AS
127612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12762
12763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12764 differing bytes.
12765 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12767 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12768
75ea32ab
UD
127692011-04-17 Ulrich Drepper <drepper@gmail.com>
12770
12771 [BZ #12420]
12772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12773 storing it.
12774 * stdlib/bug-getcontext.c: New file.
12775 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12776
27390476
AK
127772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12778
12779 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12780 instructions into .machine "z9-109".
12781 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12782 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12783
10442705
AK
127842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12785
12786 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12787 between environment variables and auxiliary vector.
12788
7b57bfe5
UD
127892011-04-16 Ulrich Drepper <drepper@gmail.com>
12790
12791 * Makefile: Add rules to build linkobj/libc.so.
12792 * include/libc-symbols.h: Define libc_hidden_nolink.
12793 * include/rpc/auth.h: Mark functions which are to be hidden.
12794 * include/rpc/auth_des.h: Likewise.
12795 * include/rpc/auth_unix.h: Likewise.
12796 * include/rpc/clnt.h: Likewise.
12797 * include/rpc/des_crypt.h: Likewise.
12798 * include/rpc/key_prot.h: Likewise.
12799 * include/rpc/pmap_clnt.h: Likewise.
12800 * include/rpc/pmap_prot.h: Likewise.
12801 * include/rpc/pmap_rmt.h: Likewise.
12802 * include/rpc/rpc_msg.h: Likewise.
12803 * include/rpc/svc.h: Likewise.
12804 * include/rpc/svc_auth.h: Likewise.
12805 * include/rpc/xdr.h: Likewise.
12806 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12807 * nss/Makefile: Likewise.
12808 * sunrpc/Makefile: Don't install headers. Build library with normal
12809 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12810 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12811 for the compat linking library. Remove use of INTDEF/INTUSE.
12812 * sunrpc/auth_none.c: Likewise.
12813 * sunrpc/auth_unix.c: Likewise.
12814 * sunrpc/authdes_prot.c: Likewise.
12815 * sunrpc/authuxprot.c: Likewise.
12816 * sunrpc/clnt_gen.c: Likewise.
12817 * sunrpc/clnt_perr.c: Likewise.
12818 * sunrpc/clnt_raw.c: Likewise.
12819 * sunrpc/clnt_simp.c: Likewise.
12820 * sunrpc/clnt_tcp.c: Likewise.
12821 * sunrpc/clnt_udp.c: Likewise.
12822 * sunrpc/clnt_unix.c: Likewise.
12823 * sunrpc/des_crypt.c: Likewise.
12824 * sunrpc/des_soft.c: Likewise.
12825 * sunrpc/get_myaddr.c: Likewise.
12826 * sunrpc/key_call.c: Likewise.
12827 * sunrpc/key_prot.c: Likewise.
12828 * sunrpc/netname.c: Likewise.
12829 * sunrpc/pm_getmaps.c: Likewise.
12830 * sunrpc/pm_getport.c: Likewise.
12831 * sunrpc/pmap_clnt.c: Likewise.
12832 * sunrpc/pmap_prot.c: Likewise.
12833 * sunrpc/pmap_prot2.c: Likewise.
12834 * sunrpc/pmap_rmt.c: Likewise.
12835 * sunrpc/publickey.c: Likewise.
12836 * sunrpc/rpc_cmsg.c: Likewise.
12837 * sunrpc/rpc_common.c: Likewise.
12838 * sunrpc/rpc_dtable.c: Likewise.
12839 * sunrpc/rpc_prot.c: Likewise.
12840 * sunrpc/rpc_thread.c: Likewise.
12841 * sunrpc/rtime.c: Likewise.
12842 * sunrpc/svc.c: Likewise.
12843 * sunrpc/svc_auth.c: Likewise.
12844 * sunrpc/svc_authux.c: Likewise.
12845 * sunrpc/svc_raw.c: Likewise.
12846 * sunrpc/svc_run.c: Likewise.
12847 * sunrpc/svc_simple.c: Likewise.
12848 * sunrpc/svc_tcp.c: Likewise.
12849 * sunrpc/svc_udp.c: Likewise.
12850 * sunrpc/svc_unix.c: Likewise.
12851 * sunrpc/svcauth_des.c: Likewise.
12852 * sunrpc/xcrypt.c: Likewise.
12853 * sunrpc/xdr.c: Likewise.
12854 * sunrpc/xdr_array.c: Likewise.
12855 * sunrpc/xdr_float.c: Likewise.
12856 * sunrpc/xdr_intXX_t.c: Likewise.
12857 * sunrpc/xdr_mem.c: Likewise.
12858 * sunrpc/xdr_rec.c: Likewise.
12859 * sunrpc/xdr_ref.c: Likewise.
12860 * sunrpc/xdr_sizeof.c: Likewise.
12861 * sunrpc/xdr_stdio.c: Likewise.
12862
e6c61494
UD
128632011-04-10 Ulrich Drepper <drepper@gmail.com>
12864
12865 [BZ #12650]
12866 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12867 * sysdeps/ia64/dl-tls.h: Likewise.
12868 * sysdeps/powerpc/dl-tls.h: Likewise.
12869 * sysdeps/s390/dl-tls.h: Likewise.
12870 * sysdeps/sh/dl-tls.h: Likewise.
12871 * sysdeps/sparc/dl-tls.h: Likewise.
12872 * sysdeps/x86_64/dl-tls.h: Likewise.
12873 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12874
34fe483e
AS
128752011-03-14 Andreas Schwab <schwab@redhat.com>
12876
12877 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12878 rpath element also skip the following colon.
12879 (expand_dynamic_string_token): Add is_path parameter and pass
12880 down to DL_DST_REQUIRED and _dl_dst_substitute.
12881 (decompose_rpath): Call expand_dynamic_string_token with
12882 non-zero is_path. Ignore empty rpaths.
12883 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12884 with zero is_path.
12885
f12a32e6
AS
128862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12887
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12889 Make cancelable.
12890
38a7d692
UD
128912011-04-09 Ulrich Drepper <drepper@gmail.com>
12892
12893 [BZ #12655]
12894 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12895 Patch by Filipe David Manana <fdmanana@apache.org>.
12896
e451d22b
AS
128972011-04-07 Andreas Schwab <schwab@redhat.com>
12898
12899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12900 Maintain aligned stack.
12901 (CHECK_RSP): Remove unused macro.
12902
dedc7c7b
UD
129032011-04-03 Ulrich Drepper <drepper@gmail.com>
12904
12905 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12906 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12907
94521213
UD
129082011-04-02 Ulrich Drepper <drepper@gmail.com>
12909
12910 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12911
8cb700c0 12912 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12913
0354e355
L
129142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12915
12916 [BZ #12518]
12917 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12918 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12919 * sysdeps/x86_64/memmove.c: New file.
12920 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12921 (memcpy): Renamed to ...
12922 (__new_memcpy): This.
12923 (memcpy): Provide GLIBC_2_14 memcpy.
12924 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12925 (memcpy): Provide GLIBC_2_2_5 memcpy.
12926
8593482f
UD
129272011-04-01 Ulrich Drepper <drepper@gmail.com>
12928
12929 [BZ #12631]
12930 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12931
81a5726b
AS
129322011-03-30 Andreas Schwab <schwab@redhat.com>
12933
12934 * misc/syncfs.c: New file.
12935 * misc/Makefile (routines): Add syncfs.
12936 * posix/unistd.h: Declare syncfs.
12937 * sysdeps/unix/syscalls.list: Add syncfs.
12938
00e5419f
AS
129392011-04-01 Andreas Schwab <schwab@redhat.com>
12940
12941 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12942 open_by_handle_at.
12943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12948 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12950
748876bf
UD
129512011-04-01 Ulrich Drepper <drepper@gmail.com>
12952
658e451d
UD
12953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12954 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12960
748876bf
UD
12961 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12962 sync_file_range.c with -fexceptions.
12963 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12964 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12965 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12966 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12967 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12968 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12970 sync_file_range as cancellation point
12971 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12972 now a wrapper around __call_sync_file_range with cancellation handling.
12973 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12974 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12975 function name to __call_sync_file_range.
12976 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12977 Add call_sync_file_range.
748876bf 12978
6e63d5e1
AS
129792011-04-01 Andreas Schwab <schwab@redhat.com>
12980
12981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12982 bits/timex.h.
6e63d5e1 12983
46998f74
UD
129842011-04-01 Ulrich Drepper <drepper@gmail.com>
12985
4c1423ed
UD
12986 * iconv/iconv.h: Fix typo in comment.
12987 * io/fcntl.h: Likewise.
12988 * libio/stdio.h: Likewise.
12989 * posix/spawn.h: Likewise.
12990 * posix/unistd.h: Likewise.
12991 * stdlib/stdlib.h: Likewise.
12992 * time/time.h: Likewise.
12993 * wcsmbs/wchar.h: Likewise.
12994
158648c0
UD
12995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12996 open_by_handle): Add.
12997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12998 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12999 Augment a few comments.
13000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13002 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13005 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13006 open_by_handle.
13007
46998f74
UD
13008 * io/fcntl.h (AT_EMPTY_PATH): Define.
13009
83fe108b
UD
130102011-03-30 Ulrich Drepper <drepper@gmail.com>
13011
13012 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13013 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13014 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13015 to...
13016 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13017 * Versions.def: Add GLIBC_2.14.
13018 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13019 Export.
83fe108b 13020
bb242059
UD
130212011-03-22 Ulrich Drepper <drepper@gmail.com>
13022
13023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13024 round counter.
13025 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13026
c97a1282
L
130272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 [BZ #12597]
13030 * string/test-strncmp.c (do_page_test): New function.
13031 (check2): Likewise.
13032 (test_main): Call check2.
13033 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13034
2a115601
UD
130352011-03-20 Ulrich Drepper <drepper@gmail.com>
13036
13037 [BZ #12587]
13038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13039 Handle cache information in CPU leaf 4.
13040 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13041
8126d904
UD
130422011-03-18 Ulrich Drepper <drepper@gmail.com>
13043
042c49c6 13044 [BZ #12583]
8126d904
UD
13045 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13046 character representation.
13047 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13048
ccfe366e
RA
130492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13050
13051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13052 END(__isnan) to END(__isnanf) to match function entry point/label
13053 EALIGN(__isnanf,...).
13054
c6e13027
JJ
130552011-03-10 Jakub Jelinek <jakub@redhat.com>
13056
13057 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13058
33f85a3f
UD
130592011-03-10 Ulrich Drepper <drepper@gmail.com>
13060
028478fa
UD
13061 [BZ #12510]
13062 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13063 copy from the symbol referenced in the relocation to initialize the
13064 used variable.
13065 Patch by Piotr Bury <pbury@goahead.com>.
13066 * elf/Makefile: Add rules to build and tst-unique3.
13067 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13068 * elf/tst-unique3.cc: New file.
13069 * elf/tst-unique3.h: New file.
13070 * elf/tst-unique3lib.cc: New file.
13071 * elf/tst-unique3lib2.cc: New file.
13072
33f85a3f
UD
13073 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13074
03592fc7
MF
130752011-03-10 Mike Frysinger <vapier@gentoo.org>
13076
13077 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13078 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13079 to _start.
03592fc7 13080
6a5ee102
UD
130812011-03-06 Ulrich Drepper <drepper@gmail.com>
13082
13083 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13084 to-be-loaded object along a path to loader is ld.so.
13085
7e4ba49c
HJ
130862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13087 Ulrich Drepper <drepper@gmail.com>
13088
13089 * sysdeps/x86_64/memset.S: After aligning destination, code
13090 branches to different locations depending on the value of
13091 misalignment, when multiarch is enabled. Fix this.
13092
130932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13094
13095 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13096 Set _x86_64_preferred_memory_instruction for AMD processsors.
13097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13098 Set bit_Prefer_SSE_for_memop for AMD processors.
13099
13a804de
UD
131002011-03-04 Ulrich Drepper <drepper@gmail.com>
13101
13102 * libio/fmemopen.c (fmemopen): Optimize a bit.
13103
9d25c392
AS
131042011-03-03 Andreas Schwab <schwab@redhat.com>
13105
13106 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13107
a5543c6a
RM
131082011-03-03 Roland McGrath <roland@redhat.com>
13109
13110 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13111
012d35f7
DM
131122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13113
7e4ba49c 13114 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13115 __bzero_ultra1 instead of __memset_ultra1.
13116
4bff6e01
AS
131172011-02-23 Andreas Schwab <schwab@redhat.com>
13118 Ulrich Drepper <drepper@gmail.com>
13119
13120 [BZ #12509]
13121 * include/link.h (struct link_map): Add l_orig_initfini.
13122 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13123 returning unsuccessfully.
13124 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13125 close of a file loaded at startup, restore the original l_initfini
13126 list.
13127 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13128 list, store the pointer.
13129 * elf/Makefile ($(objpfx)noload-mem): New rule.
13130 (noload-ENV): Define.
13131 (tests): Add $(objpfx)noload-mem.
13132 * elf/noload.c: Include <memcheck.h>.
13133 (main): Call mtrace. Close all opened handles.
13134
f2092faf
AS
131352011-02-17 Andreas Schwab <schwab@redhat.com>
13136
13137 [BZ #12454]
13138 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13139 dependencies are missing.
13140
6c8a2e88
ST
131412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13142
f2092faf 13143 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13144 Hurd needs munmap.
13145 * sysdeps/mach/hurd/ifreq.h: New file.
13146
84a42118
PB
131472011-01-27 Petr Baudis <pasky@suse.cz>
13148 Ulrich Drepper <drepper@gmail.com>
13149
071f805e 13150 [BZ 12445]#
84a42118
PB
13151 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13152 to extend_alloca().
13153 * stdio-common/bug23.c: New file.
13154 * stdio-common/Makefile (tests): Add bug23.
13155
e23fe25b
AS
131562010-09-28 Andreas Schwab <schwab@redhat.com>
13157 Ulrich Drepper <drepper@gmail.com>
13158
13159 [BZ #12489]
13160 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13161 before performing relro protection. At old place add assertion
13162 to make sure nothing changed.
13163
d3f02e10
NS
131642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13165 Glauber de Oliveira Costa <glommer@gmail.com>
13166
13167 * elf/elf.h: Add new ARM TLS relocs.
13168
d55fd7a5
RA
131692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13170
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13172 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13173 cast from r3.
13174 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13175 'tests' variable.
13176 * sysdeps/wordsize-64/tst-writev.c: New file.
13177
2206397e
RA
131782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13179
13180 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13181 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13182 insns in _dl_start to prevent a TOC reference before relocs are
13183 resolved.
13184
e9433893
UD
131852011-02-15 Ulrich Drepper <drepper@gmail.com>
13186
13187 [BZ #12469]
13188 * Makeconfig: Remove RANLIB definition.
13189 * Makerules: Don't use RANLIB.
13190 * aclocal.m4: Remove ranlib test.
13191 * configure.in: No need to check for ranlib.
13192 * elf/rtld-Rules: Don't use RANLIB.
13193
f75286c6
ST
131942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13195
8e31c82d
ST
13196 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13197 protection macro.
13198 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13199 inclusion protection macro.
13200
f75286c6
ST
13201 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13202 SIGRTMIN and SIGRTMAX and print information in that case only when
13203 SIGRTMIN is defined.
13204
c1d0e639
JJ
132052011-02-11 Jakub Jelinek <jakub@redhat.com>
13206
13207 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13208 arginfo fn returning -1.
13209
13210 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13211 and thousands string is zero terminated.
13212
edf9294e
AS
132132011-02-03 Andreas Schwab <schwab@redhat.com>
13214
13215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13216 sysdeps/unix/sysv/linux/bits/socket.h.
13217
2b7e92df
ST
132182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13219
edf9294e
AS
13220 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13221 (__CPU_COUNT): Remove old macros.
13222 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13223 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13224 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13225 (__sched_cpualloc, __sched_cpufree): Add declarations.
13226
a4c7ea7b
UD
132272011-02-05 Ulrich Drepper <drepper@gmail.com>
13228
13229 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13230 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13231 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13232 (readdhstai): Return value of addhstaiX call.
13233 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13234 (addgrbyX): Return value returned by cache_addgr.
13235 (readdgrbyname): Return value returned by addgrbyX.
13236 (readdgrbygid): Likewise.
13237 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13238 (addpwbyX): Return value returned by cache_addpw.
13239 (readdpwbyname): Return value returned by addhstbyX.
13240 (readdpwbyuid): Likewise.
13241 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13242 (addservbyX): Return value returned by cache_addserv.
13243 (readdservbyname): Return value returned by addservbyX:
13244 (readdservbyport): Likewise.
13245 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13246 (addhstbyX): Return value returned by cache_addhst.
13247 (readdhstbyname): Return value returned by addhstbyX.
13248 (readdhstbyaddr): Likewise.
13249 (readdhstbynamev6): Likewise.
13250 (readdhstbyaddrv6): Likewise.
13251 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13252 (readdinitgroups): Return value returned by addinitgroupsX.
13253 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13254 (prune_cache): Keep track of timeout value of re-added entries.
13255 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13256 * nscd/nscd.h: Adjust prototypes of readd* functions.
13257
a0bf67cc
RM
132582011-02-04 Roland McGrath <roland@redhat.com>
13259
13260 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13261 (nis_stats): Likewise.
13262 * nis/nis_modify.c (nis_modify): Likewise.
13263 * nis/nis_remove.c (nis_remove): Likewise.
13264 * nis/nis_add.c (nis_add): Likewise.
13265
13266 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13267
13268 * posix/fnmatch_loop.c: Add some consts.
13269
13270 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13271
435b95eb
L
132722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 [BZ #12460]
13275 * config.make.in (config-cflags-novzeroupper): Define.
13276 * configure.in: Substitute libc_cv_cc_novzeroupper.
13277 * elf/Makefile (AVX-CFLAGS): Define.
13278 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13279 (CFLAGS-tst-auditmod4a.c): Likewise.
13280 (CFLAGS-tst-auditmod4b.c): Likewise.
13281 (CFLAGS-tst-auditmod6b.c): Likewise.
13282 (CFLAGS-tst-auditmod6c.c): Likewise.
13283 (CFLAGS-tst-auditmod7b.c): Likewise.
13284 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13285
8517b15e
UD
132862011-02-02 Ulrich Drepper <drepper@gmail.com>
13287
13288 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13289 function to the callback.
13290 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13291
10a656fe
AS
132922011-02-02 Andreas Schwab <schwab@redhat.com>
13293
13294 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13295 of errno.
13296
968dad0a
UD
132972011-01-19 Ulrich Drepper <drepper@gmail.com>
13298
9f94d2ea 13299 [BZ #11724]
968dad0a
UD
13300 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13301 of constructors.
13302 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13303 of destructors.
13304 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13305
13306 [BZ #11724]
13307 * elf/Makefile: Add rules to build and run new test.
13308 * elf/tst-initorder.c: New file.
13309 * elf/tst-initorder.exp: New file.
13310 * elf/tst-initordera1.c: New file.
13311 * elf/tst-initordera2.c: New file.
13312 * elf/tst-initordera3.c: New file.
13313 * elf/tst-initordera4.c: New file.
13314 * elf/tst-initorderb1.c: New file.
13315 * elf/tst-initorderb2.c: New file.
13316 * elf/tst-order-a1.c: New file.
13317 * elf/tst-order-a2.c: New file.
13318 * elf/tst-order-a3.c: New file.
13319 * elf/tst-order-a4.c: New file.
13320 * elf/tst-order-b1.c: New file.
13321 * elf/tst-order-b2.c: New file.
13322 * elf/tst-order-main.c: New file.
13323 New test case by George Gensure <werkt0@gmail.com>.
13324
86e92359
UD
133252010-10-01 Andreas Schwab <schwab@redhat.com>
13326
13327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13328 decoding ACE if AI_CANONIDN.
13329
5d5732b0
UD
133302011-01-18 Ulrich Drepper <drepper@gmail.com>
13331
13332 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13333
a77e8cbc
UD
133342011-01-17 Ulrich Drepper <drepper@gmail.com>
13335
6392473f
UD
13336 * version.h (RELEASE): Bump for 2.13 release.
13337 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13338
620a0529
UD
13339 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13340
18ba70a5
UD
13341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13342 MADV_NOHUGEPAGE.
32465c3e
UD
13343 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13346 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13347 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13349
c0dafcf1
UD
13350 * posix/getconf.c: Update copyright year.
13351 * catgets/gencat.c: Likewise.
13352 * csu/version.c: Likewise.
13353 * debug/catchsegv.sh: Likewise.
13354 * debug/xtrace.sh: Likewise.
13355 * elf/ldconfig.c: Likewise.
13356 * elf/ldd.bash.in: Likewise.
13357 * elf/sprof.c (print_version): Likewise.
13358 * iconv/iconv_prog.c: Likewise.
13359 * iconv/iconvconfig.c: Likewise.
13360 * locale/programs/locale.c: Likewise.
13361 * locale/programs/localedef.c: Likewise.
13362 * malloc/memusage.sh: Likewise.
13363 * malloc/mtrace.pl: Likewise.
13364 * nscd/nscd.c (print_version): Likewise.
13365 * nss/getent.c: Likewise.
13366
a77e8cbc
UD
13367 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13368 PF_CAIF, and PF_ALG.
13369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13370
77e8bddf
AS
133712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13372
1f20b93a
AS
13373 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13374 (modules-names): Use them.
13375 (ifunc-test-modules, ifunc-pie-tests): Define.
13376 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13377 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13378 (test-extras): Likewise.
13379 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13380 $(compile-command.c).
13381 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13382 (all-built-dso): Define.
13383 (check-textrel.out, check-execstack.out): Depend on it.
13384
77e8bddf
AS
13385 * configure.in: Don't override --enable-multi-arch.
13386
bc425b33
UD
133872011-01-15 Ulrich Drepper <drepper@gmail.com>
13388
13389 [BZ #6812]
13390 * nscd/hstcache.c (tryagain): Define.
13391 (cache_addhst): Return tryagain not notfound for temporary errors.
13392 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13393 failed.
13394
794c3ad3
UD
133952011-01-14 Ulrich Drepper <drepper@gmail.com>
13396
70181fdd
UD
13397 [BZ #10563]
13398 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13399 to make the syscall.
13400 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13401
794c3ad3
UD
13402 [BZ #12378]
13403 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13404 and fall back to matching as normal character if the string ends before
13405 the matching ']' is found. This is what POSIX requires.
13406 * posix/testfnm.c: Adjust test result.
13407 * posix/globtest.sh: Adjust test result. Add new test.
13408 * posix/tst-fnmatch.input: Likewise.
13409 * posix/tst-fnmatch2.c: Add new test.
13410
68dc9497
AS
134112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13412
13413 * elf/Makefile (check-execstack): Revert last change. Depend on
13414 check-execstack.h.
13415 (check-execstack.h): New target.
13416 (generated): Add check-execstack.h.
13417 * elf/check-execstack.c: Include "check-execstack.h".
13418 (main): Revert last change.
13419 (handle_file): Return zero if GNU_STACK is absent and
13420 DEFAULT_STACK_PERMS doesn't include PF_X.
13421
451f001b
UD
134222011-01-13 Ulrich Drepper <drepper@gmail.com>
13423
cfa28e56
UD
13424 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13425 in child fails because the descriptor is already closed.
8cf8ce17
UD
13426 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13427 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13428 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13429
1086d70d
UD
13430 [BZ #12397]
13431 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13432 syscall.
13433
451f001b
UD
13434 [BZ #10484]
13435 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13436 temporary buffer used to handle multi lookups locally.
a85b5cb4 13437 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13438
08769175
UD
134392011-01-12 Ulrich Drepper <drepper@gmail.com>
13440
13441 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13442 loader is ld.so.
13443
5e49c52e
UD
134442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13445
13446 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13447 alignment for SSE2.
13448
60522a5f
UD
134492011-01-12 Ulrich Drepper <drepper@gmail.com>
13450
13451 [BZ #12394]
13452 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13453 characters. When rounding increased number of integer digits recompute
13454 number of groups.
13455 * stdio-common/tst-grouping.c: New file.
13456 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13457
f257bbd7
UD
134582011-01-09 Ulrich Drepper <drepper@gmail.com>
13459
13460 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13461 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13462
13463 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13464 void.
13465 * bits/select.h: Likewise.
13466
fa9c15cb
UD
134672011-01-08 Ulrich Drepper <drepper@gmail.com>
13468
13469 * po/ja.po: Update from translation team.
13470
16c2895f
DM
134712011-01-04 David S. Miller <davem@sunset.davemloft.net>
13472
13473 [BZ #11155]
13474 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13475 implementation just like for lxstat, fxstatat, et al.
13476
2543fef2
JM
134772010-12-27 Jim Meyering <meyering@redhat.com>
13478
13479 [BZ #12348]
13480 * posix/regexec.c (build_trtable): Return failure indication upon
13481 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13482
98727dbe
UD
134832010-12-25 Ulrich Drepper <drepper@gmail.com>
13484
5bd6dc5c
UD
13485 [BZ #12201]
13486 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13487 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13488 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13489 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13490
97983464
UD
13491 [BZ #12207]
13492 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13493
98727dbe
UD
13494 [BZ #12204]
13495 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13496 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13497
4a531bb0
L
134982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13499
13500 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13501 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13502 script has SORT_BY_INIT_PRIORITY.
13503 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13504 NO_CTORS_DTORS_SECTIONS is defined.
13505 * elf/soinit.c: Likewise.
13506 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13507 NO_CTORS_DTORS_SECTIONS is defined.
13508 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13509 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13510 * sysdeps/sh/init-first.c: Likewise.
13511 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13512
07eb4b71
UD
135132010-12-24 Ulrich Drepper <drepper@gmail.com>
13514
13515 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13516 always use the slow path.
13517
30950a5f
RA
135182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13519
13520 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13521 similar rule which adds the sysdep directories to the header search in
13522 order to pick up the correct platform stackinfo.h.
13523 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13524 perform test if it is, otherwise return successfully without testing.
13525 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13526 DEFAULT_STACK_PERMS define in stackinfo.h.
13527 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13528 defined in stackinfo.h.
13529 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13530 DEFAULT_STACK_PERMS defined in stackinfo.h.
13531 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13532 * sysdeps/ia64/stackinfo.h: Likewise.
13533 * sysdeps/s390/stackinfo.h: Likewise.
13534 * sysdeps/sh/stackinfo.h: Likewise.
13535 * sysdeps/sparc/stackinfo.h: Likewise.
13536 * sysdeps/x86_64/stackinfo.h: Likewise.
13537 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13538 PF_X for powerpc64. Retain PF_X for powerpc32.
13539
db753e2c
UD
135402010-12-19 Ulrich Drepper <drepper@gmail.com>
13541
14b697f7
UD
13542 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13543 accurately.
db753e2c
UD
13544 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13545 GETDENTS_64BIT_ALIGNED.
13546
28300719
UD
135472010-12-14 Ulrich Drepper <dreper@gmail.com>
13548
14b697f7 13549 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13550
4f197237
AS
135512010-12-10 Andreas Schwab <schwab@redhat.com>
13552
dbb0472f
AS
13553 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13554 _GNU_SOURCE.
13555
4f197237
AS
13556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13557 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13558 Remove __restrict.
13559 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13560 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13561
fb88ac72
UD
135622010-12-09 Ulrich Drepper <drepper@gmail.com>
13563
13564 [BZ #11655]
13565 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13566 are initialized.
13567
42acbb92
JJ
135682010-12-09 Jakub Jelinek <jakub@redhat.com>
13569
13570 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13571
c038d98d
UD
135722010-12-03 Ulrich Drepper <drepper@gmail.com>
13573
13574 * po/it.po: Update from translation team.
13575
3a4a2499
L
135762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13577
13578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13579 unused codes.
13580
1e24cf6e
UD
135812010-11-30 Ulrich Drepper <drepper@gmail.com>
13582
13583 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13584
a7690819
AS
135852010-11-24 Andreas Schwab <schwab@redhat.com>
13586
13587 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13588 specially.
13589 (gaih_getanswer_slice): Likewise.
13590
3bf8d1b1
JJ
135912010-10-20 Jakub Jelinek <jakub@redhat.com>
13592
13593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13594
6db52fbb
PB
135952010-05-31 Petr Baudis <pasky@suse.cz>
13596
13597 [BZ #11149]
13598 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13599 silently even in the chroot mode.
13600
eaca7569
UD
136012010-11-22 Ulrich Drepper <drepper@gmail.com>
13602
13603 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13604 last patch a bit. Pretty printing
13605
3056dcdb
UD
136062010-05-31 Petr Baudis <pasky@suse.cz>
13607
13608 [BZ #10085]
13609 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13610 initialization of skip_initgroups_dyn.
13611
cf7c9078
UD
136122010-11-19 Ulrich Drepper <drepper@gmail.com>
13613
13614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13616
a1fb5e3e
UD
136172010-11-16 Ulrich Drepper <drepper@gmail.com>
13618
13619 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13620
3540d66b
AS
136212010-11-11 Andreas Schwab <schwab@redhat.com>
13622
13623 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13624 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13625 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13626 ($(objpfx)tst-fnmatch-mem): New rule.
13627 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13628 * posix/tst-fnmatch.c (main): Call mtrace.
13629
13b69574
L
136302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13633 Support Intel processor model 6 and model 0x2c.
13634
da93d214
LM
136352010-11-10 Luis Machado <luisgpm@br.ibm.com>
13636
13637 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13638 signed comparison.
13639
8ca52c6e
L
136402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 [BZ #12205]
13643 * string/test-strncasecmp.c (check_result): New function.
13644 (do_one_test): Use it.
13645 (check1): New function.
13646 (test_main): Use it.
13647 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13648 Support strcasecmp and strncasecmp.
13649
69da074d
UD
136502010-11-08 Ulrich Drepper <drepper@gmail.com>
13651
13652 [BZ #12194]
13653 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13655
ff02d528
L
136562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13659 IFUNC support.
13660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13661 memset-x86-64.
13662 * sysdeps/x86_64/multiarch/bzero.S: New file.
13663 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13664 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13665 * sysdeps/x86_64/multiarch/memset.S: New file.
13666 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13668 Set bit_Prefer_SSE_for_memop for Intel processors.
13669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13670 Define.
13671 (index_Prefer_SSE_for_memop): Define.
13672 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13673
344d0b54
LM
136742010-11-04 Luis Machado <luisgpm@br.ibm.com>
13675
13676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13678
c0dde15b
UD
136792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13680
13681 [BZ #12191]
13682 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13683 (__x86_64_raw_data_cache_size_half): Likewise.
13684 (__x86_64_raw_shared_cache_size): Likewise.
13685 (__x86_64_raw_shared_cache_size_half): Likewise.
13686
13687 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13688 (__x86_64_raw_data_cache_size_half): Likewise.
13689 (__x86_64_raw_shared_cache_size): Likewise.
13690 (__x86_64_raw_shared_cache_size_half): Likewise.
13691 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13692 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13693 and __x86_64_raw_shared_cache_size_half. Round
13694 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13695 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13696 to multiple of 256 bytes.
13697
0e516e0e
MS
136982010-11-03 Ulrich Drepper <drepper@gmail.com>
13699
13700 [BZ #12167]
13701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13702 of inacessible symlinks. Verify result of symlink before returning it.
13703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13704 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13705
0e012e87
ER
137062010-10-28 Erich Ritz <erichritz@gmail.com>
13707
13708 * math/math.h (isinf): Fix typo in comment.
13709
de0ff7bc
UD
137102010-11-01 Ulrich Drepper <drepper@gmail.com>
13711
13712 * po/da.po: Update from translation team.
13713
fa41c84d
UD
137142010-10-26 Ulrich Drepper <drepper@gmail.com>
13715
13716 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13717 is added to the list.
13718
f0967738
AK
137192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13720 Ulrich Drepper <drepper@gmail.com>
13721
13722 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13723 the global list here. Move code to...
13724 (_dl_add_to_namespace_list): ...here. New function.
13725 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13726 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13727 * elf/dl-load.c (lose): Don't remove the element from the list.
13728 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13729 (_dl_map_object): Likewise.
13730
137312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13732
13733 [BZ #12159]
13734 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13735 into all bytes of SSE register.
13736 Patch by Richard Li <richardpku@gmail.com>.
13737
f0967738 137382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13739
13740 [BZ #12140]
13741 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13742 perturbing.
13743
d0b9e94f
MB
137442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13745
13746 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13747 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13749 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13751 submachine.
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13753
8e9f92e9
AS
137542010-10-22 Andreas Schwab <schwab@redhat.com>
13755
13756 * include/dlfcn.h (__RTLD_SECURE): Define.
13757 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13758 mode & __RTLD_SECURE instead.
13759 (open_path): Rename preloaded parameter to secure.
13760 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13761 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13762 * elf/dl-deps.c (openaux): Likewise.
13763 * elf/rtld.c (struct map_args): Remove is_preloaded.
13764 (map_doit): Don't use it.
13765 (dl_main): Likewise.
13766 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13767 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13768
bc96fbda
AS
137692010-09-09 Andreas Schwab <schwab@redhat.com>
13770
13771 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13772 (sysd-rules-targets): Remove duplicates.
13773 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13774 rtld-%.$o dependency.
13775
22cd1c9b
AS
137762010-10-18 Andreas Schwab <schwab@redhat.com>
13777
13778 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13779 _dl_map_object do it.
13780
18edac48
UD
137812010-10-19 Ulrich Drepper <drepper@gmail.com>
13782
13783 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13784 fast fma builtins, define the macros in the C99 standard.
13785 (FP_FAST_FMAF): Likewise.
13786 (FP_FAST_FMAL): Likewise.
13787 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13788
13789 * bits/mathdef.h: Update copyright year.
13790 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13791
d2050124
MM
137922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13793
13794 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13795 builtins, define the macros in the C99 standard.
13796 (FP_FAST_FMAF): Likewise.
13797 (FP_FAST_FMAL): Likewise.
13798 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13799 multiply/add.
13800 (FP_FAST_FMAF): Likewise.
13801
475facd1
JJ
138022010-10-15 Jakub Jelinek <jakub@redhat.com>
13803
13804 [BZ #3268]
13805 * math/libm-test.inc (fma_test): Some new testcases.
13806 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13808 y and infinite z. Do multiplication by C already in long double.
13809 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13811 y and infinite z. Do bitwise or of inexact bit into u.d.
13812 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13813 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13814 * sysdeps/i386/fpu/s_fma.S: Removed.
13815 * sysdeps/i386/fpu/s_fmal.S: Removed.
13816
7c08a05c
JJ
138172010-10-16 Jakub Jelinek <jakub@redhat.com>
13818
13819 [BZ #3268]
13820 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13822 computation is not scheduled after fetestexcept. Fix value
13823 of minimum denormal long double.
13824
f3f7372d
JJ
138252010-10-14 Jakub Jelinek <jakub@redhat.com>
13826
13827 [BZ #3268]
13828 * math/libm-test.inc (fma_test): Add some more tests.
13829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13830 correctly.
13831
14d43591
AS
138322010-10-15 Andreas Schwab <schwab@redhat.com>
13833
13834 * scripts/data/localplt-s390-linux-gnu.data: New file.
13835 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13836
5e908464
JJ
138372010-10-13 Jakub Jelinek <jakub@redhat.com>
13838
13839 [BZ #3268]
13840 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13841 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13842 instead of dbl-64.
13843 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13844 inlines.
13845 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13847 if one of x and y is very large and the other is subnormal.
13848 * sysdeps/s390/fpu/s_fmaf.c: New file.
13849 * sysdeps/s390/fpu/s_fma.c: New file.
13850 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13851 * sysdeps/powerpc/fpu/s_fma.S: New file.
13852 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13853 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13854 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13855
138562010-10-12 Jakub Jelinek <jakub@redhat.com>
13857
13858 [BZ #3268]
13859 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13860 fma tests.
13861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13862 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13863 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13864 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13865 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13866 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13868
b833d51f
UD
138692010-10-12 Ulrich Drepper <drepper@redhat.com>
13870
13871 [BZ #12078]
13872 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13873 * posix/bug-regex31.input: Add test case.
13874
1751705d
UD
138752010-10-11 Ulrich Drepper <drepper@gmail.com>
13876
e9b9cbf5
UD
13877 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13878 * posix/bug-regex31.input: New file.
13879
13880 [BZ #12078]
13881 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13882 (parse_sub_exp): Fix last change, use postorder.
13883
ef06edbe
UD
13884 * posix/bug-regex31.c: New file.
13885 * posix/Makefile: Add rules to build and run bug-regex31.
13886
a129c80d
UD
13887 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13888
13889 [BZ #12078]
13890 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13891
b76b818e
UD
13892 [BZ #12108]
13893 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13894 to have entries in sys_siglist.
13895
1751705d
UD
13896 [BZ #12093]
13897 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13898 be NULL.
13899
9ff8d36f
JJ
139002010-10-07 Jakub Jelinek <jakub@redhat.com>
13901
13902 [BZ #3268]
13903 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13904 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13905 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13906 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13908 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13909 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13910 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13911 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13912 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13913 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13914 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13915 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13916 * math/ftestexcept.c (fetestexcept): Likewise.
13917 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13918 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13919 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13920 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13921 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13922 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13924
af325969
UD
139252010-10-11 Ulrich Drepper <drepper@gmail.com>
13926
c579b202 13927 [BZ #12107]
af325969
UD
13928 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13929 newline.
13930
67a67b95
UD
139312010-10-06 Ulrich Drepper <drepper@gmail.com>
13932
13933 * string/bug-strstr1.c: New file.
13934 * string/Makefile: Add rules to build and run bug-strstr1.
13935
5fb308bc
EB
139362010-10-05 Eric Blake <eblake@redhat.com>
13937
13938 [BZ #12092]
13939 * string/str-two-way.h (two_way_long_needle): Always clear memory
13940 when skipping input due to the shift table.
13941
45db99c7
UD
139422010-10-03 Ulrich Drepper <drepper@gmail.com>
13943
3b111893
UD
13944 [BZ #12005]
13945 * malloc/mcheck.c: Handle large requests.
13946
45db99c7
UD
13947 [BZ #12077]
13948 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13949 for strncmp and strncasecmp.
13950 * string/stratcliff.c: Add tests for strcmp and strncmp.
13951 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13952
cf7a1eb8
NI
139532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13954
13955 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13956 __set_fpscr.
13957
6484ba5e
AJ
139582010-09-30 Andreas Jaeger <aj@suse.de>
13959
13960 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13961 (CGROUP_SUPER_MAGIC): Define.
13962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13963 Handle btrfs and cgroup file systems.
13964 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13965 Likewise.
13966
91c42559
LM
139672010-09-27 Luis Machado <luisgpm@br.ibm.com>
13968
13969 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13970 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13971
87a97932
AK
139722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13973
13974 [BZ #12067]
13975 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13976 trying to locate the ELF header.
13977
c21cc9bc
AS
139782010-09-27 Andreas Schwab <schwab@redhat.com>
13979
13980 [BZ #11611]
13981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13982 Mask out sign-bit copies when constructing f_fsid.
13983
315970f6
PB
139842010-09-24 Petr Baudis <pasky@suse.cz>
13985
13986 * debug/stack_chk_fail_local.c: Add missing licence exception.
13987 * debug/warning-nop.c: Likewise.
13988
1ac7a2c7
JM
139892010-09-15 Joseph Myers <joseph@codesourcery.com>
13990
13991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13992 implementing getdents64 using getdents syscall, set d_type if
13993 __ASSUME_GETDENTS32_D_TYPE.
13994
56801c50
AS
139952010-09-16 Andreas Schwab <schwab@redhat.com>
13996
13997 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13998 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13999
dda51327
UD
140002010-09-21 Ulrich Drepper <drepper@redhat.com>
14001
14002 [BZ #12037]
14003 * posix/unistd.h: Undo change of feature selection for ftruncate from
14004 2010-01-11.
14005
8ffcee4a
UD
140062010-09-20 Ulrich Drepper <drepper@redhat.com>
14007
a545ecd9 14008 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14009 detection.
14010
e24f0a8b
AS
140112010-09-20 Andreas Schwab <schwab@redhat.com>
14012
14013 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14014 fanotify_mark.
14015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14016
7291c56f
AS
140172010-09-14 Andreas Schwab <schwab@redhat.com>
14018
14019 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14020 variables after CHECK_SP call.
14021 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14022
bc5fb037
AS
140232010-09-13 Andreas Schwab <schwab@redhat.com>
14024 Ulrich Drepper <drepper@redhat.com>
14025
14026 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14027 re-relocationg ld.so.
14028 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14029 _dl_init_paths call.
14030 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14031 here anymore.
14032
e66e7419
UD
140332010-09-14 Ulrich Drepper <drepper@redhat.com>
14034
14035 * resolv/res_init.c (__res_vinit): Count the default server we added.
14036
c044aa75
CLT
140372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14038 Ulrich Drepper <drepper@redhat.com>
14039
14040 [BZ #11968]
14041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14042 (____longjmp_chk): Use %ebx for saving value across system call.
14043 Add unwind info.
14044
32cf4069
AS
140452010-09-06 Andreas Schwab <schwab@redhat.com>
14046
14047 * manual/Makefile: Don't mix pattern rules with normal rules.
14048
817328ee
AS
140492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14050
14051 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14052 operation.
14053 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14054 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14055 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14056 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14058 Likewise.
14059
29fddf61
UD
140602010-09-04 Ulrich Drepper <drepper@redhat.com>
14061
14062 [BZ #11979]
14063 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14064 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14065
0959ffc9
UD
140662010-09-02 Ulrich Drepper <drepper@redhat.com>
14067
14068 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14069 * sysdeps/x86_64/addmul_1.S: Likewise.
14070 * sysdeps/x86_64/lshift.S: Likewise.
14071 * sysdeps/x86_64/mul_1.S: Likewise.
14072 * sysdeps/x86_64/rshift.S: Likewise.
14073 * sysdeps/x86_64/sub_n.S: Likewise.
14074 * sysdeps/x86_64/submul_1.S: Likewise.
14075
ece29840
ST
140762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14077
0959ffc9
UD
14078 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14079 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14080 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14081 * bits/sched.h [__need_schedparam]
ece29840 14082 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14083 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14084 (__defined_schedparam): Define to 1.
ece29840
ST
14085 (__sched_param): New structure, identical to sched_param.
14086 (__need_schedparam): Undefine.
14087
e53a31fe
MF
140882010-08-31 Mike Frysinger <vapier@gentoo.org>
14089
fdc0c10d
MF
14090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14091 (epoll_create1): Declare.
14092
e53a31fe
MF
14093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14094
a726d796
AS
140952010-08-31 Andreas Schwab <schwab@redhat.com>
14096
14097 [BZ #7066]
14098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14099 shifting retval into place.
14100
2f3e3dc7
UD
141012010-09-01 Ulrich Drepper <drepper@redhat.com>
14102
f2933da9
UD
14103 * nis/rpcsvc/nis.h: Update copyright notice.
14104 * nis/rpcsvc/nis.x: Likewise.
14105 * nis/rpcsvc/nis_callback.h: Likewise.
14106 * nis/rpcsvc/nis_callback.x: Likewise.
14107 * nis/rpcsvc/nis_object.x: Likewise.
14108 * nis/rpcsvc/nis_tags.h: Likewise.
14109 * nis/rpcsvc/yp.h: Likewise.
14110 * nis/rpcsvc/yp.x: Likewise.
14111 * nis/rpcsvc/ypupd.h: Likewise.
14112 * nis/yp_xdr.c: Likewise.
14113 * nis/ypupdate_xdr.c: Likewise.
14114
2f3e3dc7
UD
14115 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14116 mainly the body of pmap_getport. Add parameters to specify timeouts.
14117 (pmap_getport): Use __libc_rpc_getport.
14118 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14119 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14120 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14121
f3dcc2f9
AS
141222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14123
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14125 fanotify_mark.
14126
6d34eb5b
RM
141272010-08-27 Roland McGrath <roland@redhat.com>
14128
14129 * sysdeps/i386/i686/multiarch/Makefile
14130 (CFLAGS-varshift.c): New variable.
14131
9ea3de11
UD
141322010-08-27 Ulrich Drepper <drepper@redhat.com>
14133
c96d23fc
UD
14134 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14135 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14136
9ea3de11
UD
14137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14138
14139 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14140
623aac7f
L
141412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/x86_64/strlen.S: Unroll the loop.
14144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14145 strlen-sse2 strlen-sse2-bsf.
14146 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14147 __strlen_no_bsf if bit_Slow_BSF is set.
14148 (__strlen_sse42): Removed.
14149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14150 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14151
8b2b7715
RM
141522010-08-25 Roland McGrath <roland@redhat.com>
14153
14154 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14155 * sysdeps/x86_64/multiarch/varshift.c: New file.
14156 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14157 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14158 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14159 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14160
e73015f2
L
141612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14162
14163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14164 strlen-sse2 strlen-sse2-bsf.
14165 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14166 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14167 (__strlen_sse2): Removed.
14168 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14171 bit_Slow_BSF for Atom.
14172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14173 (index_Slow_BSF): Define.
14174 (HAS_SLOW_BSF): Define.
14175
df24a73e
UD
141762010-08-25 Ulrich Drepper <drepper@redhat.com>
14177
14178 [BZ #10851]
14179 * resolv/res_init.c (__res_vinit): When no server address at all
14180 is given default to loopback.
14181
f2ac4868
RM
141822010-08-24 Roland McGrath <roland@redhat.com>
14183
09055553
RM
14184 * configure.in: Remove config-name.h generation.
14185 * configure: Regenerated.
14186 * config-name.in: File removed.
14187 * scripts/config-uname.sh: New file.
14188 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14189 ($(objdir)config-name.h): New target.
14190
f2ac4868
RM
14191 * sunrpc/rpc_parse.h: Avoid nested comment.
14192
73f27d5e
RH
141932010-08-24 Richard Henderson <rth@redhat.com>
14194 Ulrich Drepper <drepper@redhat.com>
14195 H.J. Lu <hongjiu.lu@intel.com>
14196
14197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14199 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14200 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14201 _mm_alignr_epi8 with _mm_loadu_si128.
14202 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14203 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14204 (__m128i_shift_right): Removed.
14205 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14206 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14207 * sysdeps/x86_64/multiarch/varshift.h: New file.
14208 * sysdeps/x86_64/multiarch/varshift.S: New file.
14209
84b9230c
MF
142102010-08-21 Mike Frysinger <vapier@gentoo.org>
14211
14212 * configure.in: Move assembler checks to before sysdep dir checking.
14213
9bbd0ddc
PB
142142010-08-20 Petr Baudis <pasky@suse.cz>
14215
14216 * LICENSES: Sync the sunrpc license.
14217
9da4bb31
UD
142182010-08-19 Ulrich Drepper <drepper@redhat.com>
14219
a7ab6ec8
UD
14220 * sunrpc/auth_des.c: Update copyright notice once again.
14221 * sunrpc/auth_none.c: Likewise.
14222 * sunrpc/auth_unix.c: Likewise.
14223 * sunrpc/authdes_prot.c: Likewise.
14224 * sunrpc/authuxprot.c: Likewise.
14225 * sunrpc/bindrsvprt.c: Likewise.
14226 * sunrpc/clnt_gen.c: Likewise.
14227 * sunrpc/clnt_perr.c: Likewise.
14228 * sunrpc/clnt_raw.c: Likewise.
14229 * sunrpc/clnt_simp.c: Likewise.
14230 * sunrpc/clnt_tcp.c: Likewise.
14231 * sunrpc/clnt_udp.c: Likewise.
14232 * sunrpc/clnt_unix.c: Likewise.
14233 * sunrpc/des_crypt.c: Likewise.
14234 * sunrpc/des_soft.c: Likewise.
14235 * sunrpc/get_myaddr.c: Likewise.
14236 * sunrpc/getrpcport.c: Likewise.
14237 * sunrpc/key_call.c: Likewise.
14238 * sunrpc/key_prot.c: Likewise.
14239 * sunrpc/openchild.c: Likewise.
14240 * sunrpc/pm_getmaps.c: Likewise.
14241 * sunrpc/pm_getport.c: Likewise.
14242 * sunrpc/pmap_clnt.c: Likewise.
14243 * sunrpc/pmap_prot.c: Likewise.
14244 * sunrpc/pmap_prot2.c: Likewise.
14245 * sunrpc/pmap_rmt.c: Likewise.
14246 * sunrpc/rpc/auth.h: Likewise.
14247 * sunrpc/rpc/auth_unix.h: Likewise.
14248 * sunrpc/rpc/clnt.h: Likewise.
14249 * sunrpc/rpc/des_crypt.h: Likewise.
14250 * sunrpc/rpc/key_prot.h: Likewise.
14251 * sunrpc/rpc/netdb.h: Likewise.
14252 * sunrpc/rpc/pmap_clnt.h: Likewise.
14253 * sunrpc/rpc/pmap_prot.h: Likewise.
14254 * sunrpc/rpc/pmap_rmt.h: Likewise.
14255 * sunrpc/rpc/rpc.h: Likewise.
14256 * sunrpc/rpc/rpc_des.h: Likewise.
14257 * sunrpc/rpc/rpc_msg.h: Likewise.
14258 * sunrpc/rpc/svc.h: Likewise.
14259 * sunrpc/rpc/svc_auth.h: Likewise.
14260 * sunrpc/rpc/types.h: Likewise.
14261 * sunrpc/rpc/xdr.h: Likewise.
14262 * sunrpc/rpc_clntout.c: Likewise.
14263 * sunrpc/rpc_cmsg.c: Likewise.
14264 * sunrpc/rpc_common.c: Likewise.
14265 * sunrpc/rpc_cout.c: Likewise.
14266 * sunrpc/rpc_dtable.c: Likewise.
14267 * sunrpc/rpc_hout.c: Likewise.
14268 * sunrpc/rpc_main.c: Likewise.
14269 * sunrpc/rpc_parse.c: Likewise.
14270 * sunrpc/rpc_parse.h: Likewise.
14271 * sunrpc/rpc_prot.c: Likewise.
14272 * sunrpc/rpc_sample.c: Likewise.
14273 * sunrpc/rpc_scan.c: Likewise.
14274 * sunrpc/rpc_scan.h: Likewise.
14275 * sunrpc/rpc_svcout.c: Likewise.
14276 * sunrpc/rpc_tblout.c: Likewise.
14277 * sunrpc/rpc_util.c: Likewise.
14278 * sunrpc/rpc_util.h: Likewise.
14279 * sunrpc/rpcinfo.c: Likewise.
14280 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14281 * sunrpc/rpcsvc/key_prot.x: Likewise.
14282 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14283 * sunrpc/rpcsvc/mount.x: Likewise.
14284 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14285 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14286 * sunrpc/rpcsvc/rex.x: Likewise.
14287 * sunrpc/rpcsvc/rstat.x: Likewise.
14288 * sunrpc/rpcsvc/rusers.x: Likewise.
14289 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14290 * sunrpc/rpcsvc/spray.x: Likewise.
14291 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14292 * sunrpc/rtime.c: Likewise.
14293 * sunrpc/svc.c: Likewise.
14294 * sunrpc/svc_auth.c: Likewise.
14295 * sunrpc/svc_authux.c: Likewise.
14296 * sunrpc/svc_raw.c: Likewise.
14297 * sunrpc/svc_run.c: Likewise.
14298 * sunrpc/svc_simple.c: Likewise.
14299 * sunrpc/svc_tcp.c: Likewise.
14300 * sunrpc/svc_udp.c: Likewise.
14301 * sunrpc/svc_unix.c: Likewise.
14302 * sunrpc/svcauth_des.c: Likewise.
14303 * sunrpc/xcrypt.c: Likewise.
14304 * sunrpc/xdr.c: Likewise.
14305 * sunrpc/xdr_array.c: Likewise.
14306 * sunrpc/xdr_float.c: Likewise.
14307 * sunrpc/xdr_mem.c: Likewise.
14308 * sunrpc/xdr_rec.c: Likewise.
14309 * sunrpc/xdr_ref.c: Likewise.
14310 * sunrpc/xdr_sizeof.c: Likewise.
14311 * sunrpc/xdr_stdio.c: Likewise.
14312
9da4bb31
UD
14313 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14314 handling.
14315
bdaa77bc
AS
143162010-08-19 Andreas Schwab <schwab@redhat.com>
14317
14318 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14319
fe2f79db
LM
143202010-08-19 Luis Machado <luisgpm@br.ibm.com>
14321
14322 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14324 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14325 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14326 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14327 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14328 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14329 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14330 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14331 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14332 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14333 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14334 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14335 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14336
b9b42ee0
AB
143372010-07-26 Anton Blanchard <anton@samba.org>
14338
14339 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14340 * malloc/arena.c (heap_trim): Likewise.
14341
1c06ba31
UD
143422010-08-16 Ulrich Drepper <drepper@redhat.com>
14343
14344 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14345 here. Not...
14346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14347 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14348
f8392f40
L
143492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 * sysdeps/i386/elf/Makefile: New file.
14352
3162f12e
AS
143532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14354
14355 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14356 from fanotify_init.
14357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14359
28c90b2c
UD
143602010-08-15 Ulrich Drepper <drepper@redhat.com>
14361
14362 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14363 of strncasecmp_l.
1feccb6c 14364 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14365
ca6bb004
UD
143662010-08-14 Ulrich Drepper <drepper@redhat.com>
14367
e9f82e0d
UD
14368 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14369 strncase_l-nonascii.
14370 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14371 Add strncase_l-ssse3.
14372 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14373 * sysdeps/x86_64/strcmp.S: Likewise.
14374 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14375 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14376 * sysdeps/x86_64/strncase.S: New file.
14377 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14378 * sysdeps/x86_64/strncase_l.S: New file.
14379 * string/Makefile (strop-tests): Add strncasecmp.
14380 * string/test-strncasecmp.c: New file.
14381
14382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14383 warning.
14384
ca6bb004
UD
14385 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14386 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14387
052fa7b3
AS
143882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14389
14390 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14391
962dba78
UD
143922010-08-12 Ulrich Drepper <drepper@redhat.com>
14393
14394 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14397
bebff237
AM
143982010-05-01 Alan Modra <amodra@gmail.com>
14399
14400 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14401 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14402 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14403 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14404 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14405 tidying. Don't tail-call __sigjmp_save for static lib.
14406 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14407 save location.
14408 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14409 (CALL_MCOUNT): Add eh info, and nop after bl.
14410 (TAIL_CALL_SYSCALL_ERROR): New macro.
14411 (PSEUDO_RET): Use it.
14412 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14413 Correct save location of integer regs and cr.
14414 (_dl_profile_resolve): Correct cr save location. Delete nops
14415 after bl when SHARED. Reduce cfi size a little by better
14416 placement of cfi directives.
14417 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14418 make a stack frame. Instead use parm save area as a temp.
14419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14420 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14422 Don't make a stack frame for parent, use parm save area.
14423 Increase child stack frame to 112 bytes. Don't save unused reg,
14424 and adjust reg usage. Set up cfi on error recovery and
14425 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14427 (__makecontext): Add dummy nop after jump to exit.
14428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14429 Use correct parm save area and cr save, reduce stack frame.
14430 Correct cfi for possible PSEUDO_RET frame setup.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14432 Branch to local label emitted by PSEUDO_RET rather than
14433 __syscall_error.
14434
02637374
AS
144352010-08-12 Andreas Schwab <schwab@redhat.com>
14436
14437 [BZ #11904]
14438 * locale/programs/locale.c (print_assignment): New function.
14439 (show_locale_vars): Use it.
14440
c3e2f19b
UD
144412010-08-11 Ulrich Drepper <drepper@redhat.com>
14442
3cdaa6ad
UD
14443 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14444 field.
14445 (struct statfs64): Likewise.
14446 (_STATFS_F_FLAGS): Define.
14447 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14449 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14450 (ST_VALID): Define locally.
14451 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14452 __statvfs_getflags, use the provided value.
14453 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14454 __ASSUME_STATFS_F_FLAGS.
14455
754f7da3
UD
14456 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14457
10b3bedc
UD
14458 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14459 Add sys/fanotify.h.
14460 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14461 fanotify_mask for GLIBC_2.13.
14462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14463 fanotify_init and fanotify_mark.
14464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14465 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14466
c08fb0d7
UD
14467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14468 Add prlimit.
14469 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14470 prlimit64 for GLIBC_2.13.
14471 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14472 prlimit64.
14473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14474 syscall.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14477 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14480 add prlimit alias.
14481 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14482
15bac72b
UD
14483 [BZ #11903]
14484 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14485 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14486
c3e2f19b
UD
14487 * nss/Makefile: Add rules to build and run tst-nss-test1.
14488 * shlib-versions: Add entry for libnss_test1.
14489 * nss/nss_test1.c: New file.
14490 * nss/tst-nss-test1.c: New file.
14491
14492 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14493 (__nss_configure_lookup): Set appropriate entry in
14494 __nss_configure_lookup to true.
14495 * nss/nsswitch.h: Define enum with indeces of databases in
14496 databases and __nss_database_custom arrays. Declare
14497 __nss_database_custom.
14498 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14499 to avoid using nscd when custom rules are installed.
14500 * nss/getXXbyYY_r.c: Likewise.
14501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14502
14503 * nss/nss_files/files-parse.c: Whitespace fixes.
14504
f15ce4d8
UD
145052010-08-09 Ulrich Drepper <drepper@redhat.com>
14506
14507 [BZ #11883]
14508 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14509 * posix/fnmatch_loop.c: Likewise.
14510
d22e4cc9
AK
145112010-07-17 Andi Kleen <ak@linux.intel.com>
14512
14513 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14514 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14515 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14516 * Versions.def [GLIBC_2.13]: Add.
14517
805bc17d
UD
145182010-08-06 Ulrich Drepper <drepper@redhat.com>
14519
14520 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14521 Also fail if tpwd after pwuid call is NULL.
14522
5a42321d
ST
145232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524
14525 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14526 when converting to ms.
14527
fd3ebeda
ST
145282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14529
14530 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14531 EOPNOTSUPP errors with ENOTTY.
14532 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14533 EOPNOTSUPP errors with ENOTTY.
14534
73507d3a
UD
145352010-07-31 Ulrich Drepper <drepper@redhat.com>
14536
14537 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14538 Add strcasecmp_l-ssse3.
14539 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14540 strcasecmp.
14541 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14542 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14544
fe36dd02
UD
145452010-07-30 Ulrich Drepper <drepper@redhat.com>
14546
66f6765a
UD
14547 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14548
42e08a54
UD
14549 * string/Makefile (strop-tests): Add strcasecmp.
14550 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14551 strcasecmp_l-nonascii.
14552 (gen-as-const-headers): Add locale-defines.sym.
14553 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14554 * sysdeps/x86_64/strcasecmp.S: New file.
14555 * sysdeps/x86_64/strcasecmp_l.S: New file.
14556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14557 * sysdeps/x86_64/locale-defines.sym: New file.
14558 * string/test-strcasecmp.c: New file.
14559
fe36dd02
UD
14560 * string/test-strcasestr.c: Test both ends of the range of characters.
14561 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14562
48cbc0d6
RM
145632010-07-29 Roland McGrath <roland@redhat.com>
14564
76e6d6bc 14565 [BZ #11856]
48cbc0d6
RM
14566 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14567
880113d9
UD
145682010-07-27 Ulrich Drepper <drepper@redhat.com>
14569
14570 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14571 for ld.so.
14572
deb9cabb
AS
145732010-07-27 Andreas Schwab <schwab@redhat.com>
14574
14575 * manual/memory.texi (Malloc Tunable Parameters): Document
14576 M_PERTURB.
14577
1c7570ff
RM
145782010-07-26 Roland McGrath <roland@redhat.com>
14579
14580 [BZ #11840]
14581 * configure.in (-fgnu89-inline check): Set and substitute
14582 gnu89_inline, not libc_cv_gnu89_inline.
14583 * configure: Regenerated.
14584 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14585
24fb0f88
UD
145862010-07-26 Ulrich Drepper <drepper@redhat.com>
14587
14588 * string/test-strnlen.c: New file.
14589 * string/Makefile (strop-tests): Add strnlen.
14590 * string/tester.c (test_strnlen): Add a few more test cases.
14591 * string/tst-strlen.c: Better error reporting.
14592
14593 * sysdeps/x86_64/strnlen.S: New file.
14594
8e96b93a
UD
145952010-07-24 Ulrich Drepper <drepper@redhat.com>
14596
14597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14598 lower-latency instructions.
14599
dbc676d4
UD
146002010-07-23 Ulrich Drepper <drepper@redhat.com>
14601
14602 * string/test-strcasestr.c: New file.
14603 * string/test-strstr.c: New file.
14604 * string/Makefile (strop-tests): Add strstr and strcasestr.
14605 * string/str-two-way.h: Don't undefine MAX.
14606 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14607
f6a31e0e
AS
146082010-07-21 Andreas Schwab <schwab@redhat.com>
14609
14610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14611 strcasestr-nonascii.
14612 (CFLAGS-strcasestr-nonascii.c): Define.
14613 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14615 Remove unused attribute.
14616
5dbc3b6c
RM
146172010-07-20 Roland McGrath <roland@redhat.com>
14618
14619 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14620 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14621 ld.so.cache was broken. With it, there is no way to disable dsocaps
14622 like LD_HWCAP_MASK can disable hwcaps.
14623
23d101d8
EPM
146242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14625
14626 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14627
cc9f2e47
UD
146282010-07-16 Ulrich Drepper <drepper@redhat.com>
14629
14630 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14631 call in strcasestr.
14632 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14633 __strcasestr_sse42_nonascii.
14634 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14635 strcasestr-nonascii.c.
14636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14637
77c1b069
LM
146382010-06-15 Luis Machado <luisgpm@br.ibm.com>
14639
14640 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14644
440566c3
UD
146452010-07-09 Ulrich Drepper <drepper@redhat.com>
14646
14647 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14648 fcntl.
14649
5be9d05d
AS
146502010-07-06 Andreas Schwab <schwab@redhat.com>
14651
c30b7ee2 14652 [BZ #11577]
5be9d05d
AS
14653 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14654 dl_signal_cerror.
14655
8a492a67
UD
146562010-07-06 Ulrich Drepper <drepper@redhat.com>
14657
14658 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14659 _PC_PIPE_BUF using F_GETPIPE_SZ.
14660
713df3d5
RM
146612010-07-05 Roland McGrath <roland@redhat.com>
14662
14663 * manual/arith.texi (Rounding Functions): Fix rint description
14664 implicit in round description.
14665
702e8f14
UD
146662010-07-02 Ulrich Drepper <drepper@redhat.com>
14667
14668 * elf/Makefile: Fix linking for a few tests to make recent linker
14669 happy.
14670
52ed8be9
AS
146712010-06-30 Andreas Schwab <schwab@redhat.com>
14672
14673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14674 $(common-objpfx)libc_nonshared.a.
14675
f47c9a11
LM
146762010-06-21 Luis Machado <luisgpm@br.ibm.com>
14677
14678 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14679 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14680 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14681 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14682 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14684 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14685 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14700 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14701 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14702 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14703 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14704 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14705 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14706 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14707 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14708 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14709 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14710 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14711 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14726
6fb8cbcb
L
147272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14728
14729 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14730 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14731 * string/memmove.c (memmove): Renamed to ...
14732 (MEMMOVE): ...this. Default to memmove.
14733 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14734 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14735 (END_CHK): Define.
14736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14737 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14738 mempcpy-ssse3-back memmove-ssse3-back.
14739 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14742 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14743 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14744 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14745 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14746 * sysdeps/x86_64/multiarch/memmove.c: New file.
14747 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14748 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14749 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14750 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14751 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14753 Define.
14754 (index_Fast_Copy_Backward): Define.
14755 (HAS_ARCH_FEATURE): Define.
14756 (HAS_FAST_REP_STRING): Define.
14757 (HAS_FAST_COPY_BACKWARD): Define.
14758
4e733bac 147592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14760
14761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14762 Restore proper fallback handling.
14763
63c4ed22
UD
147642010-06-19 Ulrich Drepper <drepper@redhat.com>
14765
ac2b484c
UD
14766 [BZ #11701]
14767 * posix/group_member.c (__group_member): Correct checking loop.
14768
63c4ed22
UD
14769 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14770 OOM in getpwuid_r correctly. Return error number when the caller
14771 should return, otherwise -1.
14772 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14773 call returning > 0 value.
14774 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14775
765ade4b
AS
147762010-06-07 Andreas Schwab <schwab@redhat.com>
14777
14778 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14779 libc_nonshared.a from targets in modules-names.
14780
80da2e09
KS
147812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14782
14783 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14784 requires it.
14785
158db122
LM
147862010-06-10 Luis Machado <luisgpm@br.ibm.com>
14787
14788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14789 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14792
caa78cf8
AS
147932010-06-02 Andreas Schwab <schwab@redhat.com>
14794
14795 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14796
b2ef2c01
UD
147972010-06-14 Ulrich Drepper <drepper@redhat.com>
14798
14799 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14800 and F_GETPIPE_SZ.
14801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14807
fbd643b6
RM
148082010-06-14 Roland McGrath <roland@redhat.com>
14809
14810 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14811
f32f2869
JJ
148122010-06-07 Jakub Jelinek <jakub@redhat.com>
14813
14814 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14815 __REDIRECT followed by __THROW.
14816 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14817 * posix/getopt.h (getopt): Likewise.
14818
2a50c078
EPM
148192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14820
14821 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14822 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14823 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14824 in AT_FLAGS.
14825 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14826 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14827
eb5ad2eb
LM
148282010-05-28 Luis Machado <luisgpm@br.ibm.com>
14829
14830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14831
3c88fe1e
L
148322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14833
14834 [BZ #11640]
14835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14836 Properly check family and model.
14837
d2f73151
TY
148382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14839
14840 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14841
ebd2e13d
LM
148422010-05-24 Luis Machado <luisgpm@br.ibm.com>
14843
14844 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14845
b32b8b45
UD
148462010-05-21 Ulrich Drepper <drepper@redhat.com>
14847
14848 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14849 symbol reference.
14850
9acbe24d
AS
148512010-05-19 Andreas Schwab <schwab@redhat.com>
14852
14853 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14854 symbol reference.
14855
f0ccf6ea
AS
148562010-05-21 Andreas Schwab <schwab@redhat.com>
14857
3d04ff3a
AS
14858 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14859 and internal_recvmmsg.
14860 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14861 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14863 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14864
f0ccf6ea
AS
14865 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14866 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14867 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14868
5b08ac57
AS
148692010-05-20 Andreas Schwab <schwab@redhat.com>
14870
14871 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14872
4828935d
LM
148732010-05-17 Luis Machado <luisgpm@br.ibm.com>
14874
14875 POWER7 optimizations.
14876 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14877 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14878
373d545e
UD
148792010-05-19 Ulrich Drepper <drepper@redhat.com>
14880
14881 * version.h: Update for 2.13 development version.
14882
21a2b1ae
AS
148832010-05-12 Andrew Stubbs <ams@codesourcery.com>
14884
14885 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14886 exceptions. Return 0.
14887
3f7dcb2b
RM
148882010-05-07 Roland McGrath <roland@redhat.com>
14889
14890 * elf/ldconfig.c (main): Add a const.
14891
5f24d53a 148922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14893
a160f8d8
UD
14894 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14895 (args_options): Add no-idn option.
14896 (ahosts_keys_int): Add idn_flags to ai_flags.
14897 (parse_option): Handle 'i' option to clear idn_flags.
14898
5f24d53a
UD
14899 * malloc/malloc.c (_int_free): Possible race in the most recently
14900 added check. Only act on the data if no current modification
14901 happened.
265bb1ce
UD
14902
14903See ChangeLog.17 for earlier changes.
This page took 1.891722 seconds and 5 git commands to generate.