]> sourceware.org Git - glibc.git/blame - ChangeLog
[BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
[glibc.git] / ChangeLog
CommitLineData
5fefb436
AJ
12012-05-21 Bruno Haible <bruno@clisp.org>
2 Andreas Jaeger <aj@suse.de>
3
4 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6 inptr and inend for must_buffer_ch.
7 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9 * stdio-common/Makefile (tests): Remove bug15.
10 (bug15-ENV): Remove macro.
11 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12 anymore.
13
d8e272ab
AJ
142012-05-19 Andreas Jaeger <aj@suse.de>
15 Roland McGrath <roland@hack.frob.com>
16
17 * manual/contrib.texi: Completely rewritten. It contains now an
18 alphabetical list of contributors and their contributions.
19
4a56a162
RH
202012-05-21 Richard Henderson <rth@twiddle.net>
21
22 * misc/getauxval.c (__getauxval): Use unsigned long int.
23 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24 (getauxval): Use unsigned long int.
25
d024d23c
L
262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27
28 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29
cbc00a03
RM
302012-05-21 Roland McGrath <roland@hack.frob.com>
31
32 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34 __alignof__ (long double).
35
478143fa
AZ
362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37
38 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39
c7683a6d
RH
402012-05-20 Richard Henderson <rth@twiddle.net>
41
42 * misc/getauxval.c: New file.
43 * misc/sys/auxv.h: New file.
44 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45 (routines): Add getauxval.
46 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48 * elf/dl-sysdep.c (_dl_auxv): Remove.
49 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50 * elf/dl-support.c (_dl_auxv): New variable.
51 (_dl_aux_init): Initialize it.
52 * manual/startup.texi (Auxiliary Vector): New node.
53 * sysdeps/generic/bits/hwcap.h: New file.
54 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55 * sysdeps/powerpc/sysdep.h: ... here. Include it.
56 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57 * sysdeps/sparc/sysdep.h: ... here. Include it.
58 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
60 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61 Update.
c7683a6d
RH
62 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
69 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70
a6f1845d
AZ
712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72
73 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74
cbcbe830
DM
752012-05-19 David S. Miller <davem@davemloft.net>
76
77 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78
e0b16cc2
JM
792012-05-19 Joseph Myers <joseph@codesourcery.com>
80
81 [BZ #14123]
82 * math/s_ccosh.c: Include <float.h>
83 (__ccosh): Avoid internal overflow calculating sinh and cosh
84 values before multiplying by sin and cos values.
85 * math/s_ccoshf.c: Likewise.
86 * math/s_ccoshl.c: Likewise.
87 * math/s_csin.c: Likewise.
88 * math/s_csinf.c: Likewise.
89 * math/s_csinl.c: Likewise.
90 * math/s_csinh.c: Likewise.
91 * math/s_csinhf.c: Likewise.
92 * math/s_csinhl.c: Likewise.
93 * math/libm-test.inc (ccos_test): Add more tests.
94 (ccosh_test): Likewise.
95 (csin_test): Likewise.
96 (csinh_test): Likewise.
97 * sysdeps/i386/fpu/libm-test-ulps: Update.
98 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
99
6ad13e08
L
1002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
101
f66f0ce8
L
102 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
103 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
104
6ad13e08
L
105 * sysdeps/x86_64/x32/_itoa.h: Add comment.
106
b1d072a7
JM
1072012-05-19 Joseph Myers <joseph@codesourcery.com>
108
109 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
110 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
111 * sysdeps/powerpc/soft-fp/Versions: Likewise.
112 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
113 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
114 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
115 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
116 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
117 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
118 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
119 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
120 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
121 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
122 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
123 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
124 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
125 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
126 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
127 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
128 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
129 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
130 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
131 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
132 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
133 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
134 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
135 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
136 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
137 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
138 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
139 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
140
9eae47cb
AJ
1412012-05-18 Andreas Jaeger <aj@suse.de>
142
143 * csu/.gitignore: Delete.
144
bb07f69f
L
1452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
146
147 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
148 (timex): Use __syscall_slong_t.
149
e6bdb741
AJ
1502012-05-18 Andreas Jaeger <aj@suse.de>
151 Carlos O'Donell <carlos_odonell@mentor.com>
152
153 * manual/install.texi (Configuring and compiling): Update
154 description about files modified in the source directory.
155 * INSTALL: Regenerated.
156
1b74487e
L
1572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
158
159 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
160 value. Use "or" to set return value to -1.
161 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
162 negate return value.
163
a88b64b9
TMQMF
1642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
165
166 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
167 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
168 failure if the compiler has Graphite support disabled.
169 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
170 Likewise.
171 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
172 CFLAGS-memmove.c): Likewise.
173 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
174 Likewise.
175
3707636e
L
1762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
177
610b8622
L
178 * sysdeps/x86_64/x32/_itoa.h: New file.
179
7cd195df
L
180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
181 getdents system call only if kernel and user dirents have the
182 same d_ino and d_off.
183
94b07d20
L
184 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
185 LLONG_MAX != LONG_MAX.
186 (_itoa_word): Use _ITOA_WORD_TYPE on value.
187 (_fitoa_word): Likewise.
188
18298070
L
189 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
190 years.
191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
192 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
193 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
194
553c7ea4
L
195 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
196 include <bits/wordsize.h>. Check __x86_64__ instead of
197 __WORDSIZE.
198 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
199 if __x86_64__ is defined. Use anonymous union on fpstate.
200
3707636e
L
201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
202 anonymous union.
203
b53ef01a
AS
2042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
205
37fb1dc0
AS
206 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
207 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
208 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
209 Refer to _rtld_local_ro instead of _rtld_global_ro.
210 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
211 Likewise.
212 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
213 Likewise.
214 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
215 Likewise.
216 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
217 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
218 of _rtld_global, and rtld_progname instead of _dl_argv[0].
219
b53ef01a
AS
220 * sysdeps/powerpc/powerpc32/dl-machine.c
221 (__elf_machine_runtime_setup) [PROF]: Don't reference
222 _dl_prof_resolve.
223
7a185db2
AJ
2242012-05-18 Andreas Jaeger <aj@suse.de>
225
226 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
227 function only available for GCCs before 3.4 since GCC 3.4
228 introduced a builtin.
229 (lrint): Likewise.
230 (llrintf): Likewise.
231 (llrint): Likewise.
232 (fmaxf): Likewise.
233 (fmax): Likewise.
234 (fminf): Likewise.
235 (fmin): Likewise.
236 (rint): Likewise.
237 (rintf): Likewise.
238 (nearbyint): Likewise.
239 (nearbyintf): Likewise.
240 (ceil): Likewise.
241 (ceilf): Likewise.
242 (floor): Likewise.
243 (floorf): Likewise.
244
3e5aef87
L
2452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
246
428bd707
L
247 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
248 on both fields and cast pointer to __syscall_ulong_t.
249
3e5aef87
L
250 * bits/types.h (__fsword_t): New type.
251 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
252 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
254 (__FSWORD_T_TYPE): Likewise.
255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
256 (__FSWORD_T_TYPE): Likewise.
257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
258 (__FSWORD_T_TYPE): Likewise.
259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
260 (__FSWORD_T_TYPE): Likewise.
261 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
262 __SWORD_TYPE with __fsword_t.
263 (statfs64): Likewise.
264
1ba7c3dc
DM
2652012-05-17 David S. Miller <davem@davemloft.net>
266
267 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
268
59910343
AJ
2692012-05-17 Andreas Jaeger <aj@suse.de>
270
271 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
272 warning.
273
2e4c1e9e
L
2742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
275
276 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
277
de7f5ce7
AJ
2782012-05-17 Andreas Jaeger <aj@suse.de>
279
280 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
281 when it is used.
282
286abc3d
CM
2832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
284
285 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
286
477cc68e
L
2872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
288
289 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
290 * sysdeps/x86_64/tst-mallocalign1.c: New file.
291
1a0994f5
CD
2922012-05-17 Andreas Jaeger <aj@suse.de>
293 Carlos O'Donell <carlos_odonell@mentor.com>
294
295 [BZ #14059]
296 * sysdeps/x86_64/multiarch/init-arch.h
297 (bit_YMM_Usable): Rename to...
298 (bit_AVX_Usable): ... this.
299 (bit_FMA4_Usable): New macro.
300 (bit_XMM_state): New macro.
301 (bit_YMM_state): New macro.
302 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
303 [__ASSEMBLER__] (index_AVX_Usable): ... this.
304 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
305 (CPUID_OSXSAVE): New macro.
306 (CPUID_AVX): New macro.
307 (CPUID_FMA4): New macro.
308 (index_YMM_Usable): Rename to...
309 (index_AVX_Usable): ... this.
310 (HAS_AVX): Use HAS_ARCH_FEATURE.
311 (HAS_FMA4): Likewise.
312 (HAS_YMM_USABLE): Remove.
313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
314 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
315 are present.
316 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
317 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
318 * sysdeps/x86_64/multiarch/Makefile: Likewise.
319 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
320 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
321
0af797de
CM
3222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
323
324 * math/libm-test.c: Support platforms without multiple rounding modes.
325 * math/bug-nextafter.c: Support platforms without FP exceptions.
326 * math/bug-nexttoward.c: Likewise.
327 * math/test-fenv.c: Likewise.
328 * math/test-misc.c: Likewise.
329 * stdlib/bug-getcontext.c: Likewise.
330
e39745ff
AJ
3312012-05-17 Andreas Jaeger <aj@suse.de>
332
333 * manual/examples/search.c (critter_cmp): Change signature to
334 avoid warnings.
335 * manual/string.texi (Collation Functions): Likewise.
336
48970aba
L
3372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
338
339 * bits/types.h: Fold copyright years.
340 * bits/typesizes.h: Likewise.
341 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
345 * time/time.h: Likewise.
346
bedee953
PP
3472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
348
349 [BZ #208]
350 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
351 in instead of returning them. Return void.
352 (__libc_mallinfo): Accumulate over all arenas.
353 (__malloc_stats): Adjust for change in int_mallinfo interface.
354
61653dfb
RM
3552012-05-16 Roland McGrath <roland@hack.frob.com>
356
30b99d79
RM
357 [BZ #10375]
358 * configure.in (NM): Add AC_CHECK_TOOL for it.
359 (libc_extra_cflags): New substituted variable.
360 Check for -fstack-protector being used implicitly.
361 * configure: Regenerated.
362 * config.make.in (config-extra-cflags): New variable,
363 gets @libc_extra_cflags@.
364 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
365
61653dfb
RM
366 [BZ #10375]
367 * configure.in: Check for _FORTIFY_SOURCE being predefined.
368 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
369 * configure: Regenerated.
370 * config.make.in (CPPUNDEFS): New substituted variable.
371 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
372 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
373 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
374
661768bb
L
3752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
376
377 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
378 (mq_attr): Use __syscall_slong_t.
379
d4261567
L
3802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
381
382 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
383 Check __x86_64__ instead of __WORDSIZE.
384 (_STAT_VER_LINUX): Likewise.
385 (stat): Check __x86_64__ instead of __WORDSIZE. Use
386 __syscall_ulong_t and __syscall_slong_t.
387 (stat64): Likewise.
388
cf3ff365
L
3892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
390
391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
392
76cf3e4d
L
3932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
394
395 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
396
a637753a
L
3972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
398
399 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
400 __syscall_ulong_t.
401
d5e05119
L
402 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
403 include <bits/wordsize.h>. Check __x86_64__ instead of
404 __WORDSIZE.
405 (greg_t): Use "__extension__ long long int" if __x86_64__ is
406 defined.
407 (mcontext_t): Replace "unsigned long" with "unsigned long long".
408
f62ee380
L
409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
410 include <bits/wordsize.h>. Check __x86_64__ instead of
411 __WORDSIZE.
412 (user_regs_struct): Use "__extension__ unsigned long long"
413 instead of "unsigned long" if __x86_64__ is defined.
414 (user): Likewise. Pad after pointer field if __ILP32__ is
415 defined.
416
4e124ced
JM
4172012-05-16 Joseph Myers <joseph@codesourcery.com>
418
6a3951a0
JM
419 * configure.in (makeinfo): Require version 4.5 or later. Allow
420 versions 5 to 9.
421 * configure: Regenerated.
422 * manual/install.texi (texinfo): Increase version requirement to
423 4.5 or later.
424 * INSTALL: Regenerated.
425
4e124ced
JM
426 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
427
953ca31a
L
4282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
429
430 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
431
617aca05
L
432 * sysdeps/x86_64/x32/ffs.c: New file.
433
5762f7ae
L
434 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
435 __syscall_ulong_t.
436 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
437 defined. Use __syscall_ulong_t.
438 (shminfo): Use __syscall_ulong_t.
439 (shm_info): Likewise.
440
a26b6856
L
441 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
442 __syscall_ulong_t.
443
cb2b9ef7
L
444 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
445 <bits/wordsize.h>.
446 (msgqnum_t): Use __syscall_ulong_t.
447 (msglen_t): Likewise.
448 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
449 __syscall_ulong_t.
450
34683bb0
L
451 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
452 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
453
84a68786
L
454 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
455
48baa5f1
L
456 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
457 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
458
180be88b
L
459 * sysvipc/sys/msg.h (msgbuf): Replace long int with
460 __syscall_slong_t.
461
5e90c8ad
L
462 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
463 include <bits/wordsize.h>. Check __x86_64__ instead of
464 __WORDSIZE.
465
23dfb58b
L
466 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
467 "unsigned long long int" if __x86_64__ is defined.
468 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
469
ce5d54b0
L
470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
471 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
472 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
473
13dc9eac
L
474 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
475 <stdint.h>.
476 (GET_PC): Cast to uintptr_t first.
477 (GET_FRAME): Likewise.
478 (GET_STACK): Likewise.
479
a7895d15
L
480 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
481 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
482 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
483 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
484 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
485 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
486 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
487 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
488 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
490 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
491 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
492 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
493 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
494 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
497 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
498 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
499 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
501 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
502 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
503 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
504 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
507 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
509
656416c9
AS
5102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
511
5bd66283
AS
512 * Makerules (+depfiles): Also collect depfiles from .oS in
513 $(extra-objs).
514 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
515 .oS, $(libnldbl-routines)).
516
656416c9
AS
517 * Makerules (native-compile-mkdep-flags): Define.
518 * sunrpc/Makefile (extra-objs): Add $(addprefix
519 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
520 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
521 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
522 calling $(make-target-directory).
523
a46f2169
L
5242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
525
526 * bits/types.h (__snseconds_t): Removed.
527 * time/time.h (struct timespec): Replace __snseconds_t with
528 __syscall_slong_t.
529 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
530 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
531 Likewise.
532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
533 (__SNSECONDS_T_TYPE): Likewise.
534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
535 (__SNSECONDS_T_TYPE): Likewise.
536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
537 (__SNSECONDS_T_TYPE): Likewise.
538
6af6528b
L
5392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
540
541 * sysdeps/mach/hurd/bits/typesizes.h
542 (__SYSCALL_SLONG_TYPE): New macro.
543 (__SYSCALL_ULONG_TYPE): Likewise.
544
de986b56
L
5452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
546
547 * bits/types.h (__syscall_slong_t): New type.
548 (__syscall_ulong_t): Likewise.
549
550 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
551 (__SYSCALL_ULONG_TYPE): Likewise.
552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
553 (__SYSCALL_SLONG_TYPE): Likewise.
554 (__SYSCALL_ULONG_TYPE): Likewise.
555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
556 (__SYSCALL_SLONG_TYPE): Likewise.
557 (__SYSCALL_ULONG_TYPE): Likewise.
558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
559 (__SYSCALL_SLONG_TYPE): Likewise.
560 (__SYSCALL_ULONG_TYPE): Likewise.
561
85736dc7
L
5622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
563
564 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
565 Add sigaltstack-offsets.sym.
566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
567 <sigaltstack-offsets.h>.
568 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
569 longjmp_msg pointer.
570 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
571 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
572 signal stack.
573 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
574
cc03b296
JM
5752012-05-15 Joseph Myers <joseph@codesourcery.com>
576
a9538892
JM
577 * elf/stackguard-macros.h: Remove file.
578 * sysdeps/generic/stackguard-macros.h: New file.
579 * sysdeps/i386/stackguard-macros.h: Likewise.
580 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
581 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
582 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
583 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
584 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
585 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
586 * sysdeps/x86_64/stackguard-macros.h: Likewise.
587 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
588 <elf/stackguard-macros.h>.
589
cc03b296
JM
590 [BZ #14109]
591 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
592 __aligned__ in attribute.
593 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
594 (gregset_t): Likewise.
595
93171016
L
5962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
597
598 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
599 * sysdeps/x86_64/64/Implies-after: Here. New file.
600 * sysdeps/x86_64/x32/Implies-after: New file.
601
d86813a0
L
6022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
603
604 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
605 and access return value for _dl_profile_fixup. Use R10_LP to
606 load frame size.
607
2953ec75
L
6082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
609
610 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
611
3b550e9e
L
6122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
613
614 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
615 * sysdeps/x86_64/x32/sysdep.h: New file.
616
eda41706
L
6172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
618
619 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
620 * sysdeps/x86_64/setjmp.S: Likewise.
621
9ea01d93
AZ
6222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623
624 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
626 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
627 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
628 remove unused global constant.
629
02a91938
CM
6302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
631
632 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
633 include of <not-cancel.h>.
634
6540185f
RM
6352012-05-15 Roland McGrath <roland@hack.frob.com>
636
637 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
638
509072a0
AJ
6392012-05-15 Jeff Law <law@redhat.com>
640 Andreas Jaeger <aj@suse.de>
641
642 [BZ #13594]
643 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
644 out from...
645 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
646 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
647 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
648 code changing __hst_map_handle.map.
649
ba75122d
RM
6502012-05-15 Roland McGrath <roland@hack.frob.com>
651
652 * configure.in (sysnames): Look for Implies-before and Implies-after
653 files.
654 * configure: Regenerated.
655
890d8bd8
L
6562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
657
658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
659 8-byte data alignment with LP_SIZE alignment.
660
f6ee6623
L
6612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
662
663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
664 into R10_LP.
665
ea2626f6
L
6662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
667
668 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
669
085f715e
L
6702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
671
672 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
673 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
675 Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
677
be8498fc
L
6782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
679
680 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
681 (stackinfo_sub_sp): Likewise.
682
70bc83b9
L
6832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
684
685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
686 RAX_LP.
687
9bc0b730
L
6882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
689
690 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
691 into R*_LP.
692
6d2850e7
L
6932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
696 sizes into R*_LP.
697
3cb84561
L
6982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
701
54e2ed81
L
7022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
703
704 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
705 into R11_LP and load __x86_64_shared_cache_size_half into
706 R8_LP.
707
8a17f349
L
7082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
709
710 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
711 R8_LP.
712
777b1eea
AZ
7132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
714
715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
716 logb for POWER7.
717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
718 logbf for POWER7.
719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
720 logbl for POWER7.
721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
722 powerpc32/power7/fpu/s_logb.c via #include.
723 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
724 powerpc32/power7/fpu/s_logbf.c via #include.
725 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
726 powerpc32/power7/fpu/s_logbl.c via #include.
727
d20d4ac2
JM
7282012-05-15 Joseph Myers <joseph@codesourcery.com>
729
730 * README.libm: Remove file.
731
6cdef1ab
L
7322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
733
734 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
735 count for x32. Use R*_LP and omit operand-size suffix.
736
0b254d8f
L
7372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
738
739 * shlib-versions: Move x86_64-.*-linux.* entries to ...
740 * sysdeps/x86_64/64/shlib-versions: Here. New file.
741 * sysdeps/x86_64/x32/shlib-versions: New file.
742
ceb809dc
RM
7432012-05-14 Roland McGrath <roland@hack.frob.com>
744
745 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
746 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
747 Use _dl_fatal_printf instead.
748
37f1abd4
JM
7492012-05-14 Joseph Myers <joseph@codesourcery.com>
750
751 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
752 set if not set by the user. Do not allow for being unset.
753 * sysdeps/unix/sysv/linux/configure: Regenerated.
754
11de3a33
L
7552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
756
757 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
758 the `q' suffix from lea and replace .quad with ASM_ADDR.
759
e02f153a
L
7602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
763 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
764 instead of $17.
765 (PTR_DEMANGLE): Likewise.
766
520ae0fd
L
7672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
768
769 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
770 (LP_OP): Likewise.
771 (ASM_ADDR): Likewise.
772 (RAX_LP): Likewise.
773 (RBP_LP): Likewise.
774 (RBX_LP): Likewise.
775 (RCX_LP): Likewise.
776 (RDI_LP): Likewise.
777 (RSI_LP): Likewise.
778 (RSP_LP): Likewise.
779 (R8_LP): Likewise.
780 (R9_LP): Likewise.
781 (R10_LP): Likewise.
782 (R10_LP): Likewise.
783 (R11_LP): Likewise.
784 (R12_LP): Likewise.
785 (R13_LP): Likewise.
786 (R14_LP): Likewise.
787 (R15_LP): Likewise.
788
b985be81
L
7892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
790
791 * sysdeps/x86_64/x32/dl-machine.h: New file.
792
6a4888ff
AJ
7932012-05-14 Andreas Jaeger <aj@suse.de>
794
795 * manual/Makefile (subdir): Remove export of subdir.
796 (all): Remove target.
797 (.PHONY): Remove all from list.
798 (mkinstalldirs): Remove.
799 (.PHONY): Remove installdirs from list.
800 ($(inst_infodir)/libc.info): Use make-target-directory.
801 (installdirs): Remove.
802 (subdir_%): Remove.
803 (glibc-targets): Remove.
804 (lib): Remove.
805 (stubs): Remove.
806 ($(objpfx)stubs ../po/manual.pot): Remove.
807 ($(objpfx)stamp%): Remove.
808 (make-target-directory): Remove.
809 (subdir_install): Remove.
810 (routines): Remove.
811 (aux): Remove.
812 (sources): Remove.
813 (objects): Remove.
814 (headers): Remove.
815
816 [BZ #13750]
817 * manual/.gitignore: Remove, it's not needed anymore.
818 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
819 all files in it.
820 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
821 directory.
822 (texis): Renamed to $(objpfx)texis.
823 (texis-path): New, contains path to generated files.
824 (chapters.%): Use texis-path for complete path, add extra argument
825 libc-texinfo.sh.
826 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
827 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
828 (summary,texi, stamp-summary): Use complete path of
829 files. Generate files in build dir.
830 (dir-add.texi): Build in build dir.
831 (libm-err.texi,stamp-libm-err): Likewise.
832 (version.texi, stamp-version): Likewise.
833 (.%c.texi): Likewise.
834 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
835 (mostlyclean): Remove target.
836 (realclean): Remove target.
837 (generated): Add new variable with contents from mostlyclean and
838 realclean, remove entries duplicated in common-mostlyclean, add
839 stamp-libm-err and stamp-version.
840 (generated-dirs): Add libc directory.
841 ($(inst_infodir)/libc.info): Install files from build dir.
842
843 * manual/install.texi (Configuring and compiling): Adjust since
844 the info files are not part of the tar ball anymore.
845
7ac77294
AJ
8462012-05-14 Andreas Jaeger <aj@suse.de>
847
848 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
849 variable.
850
ffb7875d
JM
8512012-05-14 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #13717]
854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
855 to 2.2.0 where earlier.
856 * sysdeps/unix/sysv/linux/configure: Regenerated.
857 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
858 Remove conditional code.
859 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
860 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
861 Remove conditional code.
862 [!__NR_lchown]: Likewise.
863 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
864 [__NR_lchown]: Likewise.
865 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
866 comment referencing __ASSUME_LCHOWN_SYSCALL.
867 * sysdeps/unix/sysv/linux/i386/sigaction.c
868 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
869 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
870 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
871 Remove conditional code.
872 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
873 (__protocol_available): Remove #if 0 code.
874 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
875 conditional code.
876 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
877 * sysdeps/unix/sysv/linux/kernel-features.h
878 (__ASSUME_GETCWD_SYSCALL): Don't define.
879 (__ASSUME_REALTIME_SIGNALS): Likewise.
880 (__ASSUME_PREAD_SYSCALL): Likewise.
881 (__ASSUME_PWRITE_SYSCALL): Likewise.
882 (__ASSUME_POLL_SYSCALL): Likewise.
883 (__ASSUME_LCHOWN_SYSCALL): Likewise.
884 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
885 non-SPARC.
886 (__ASSUME_SIOCGIFNAME): Don't define.
887 (__ASSUME_MSG_NOSIGNAL): Likewise.
888 (__ASSUME_SENDFILE): Define unconditionally.
889 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
890 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
891 conditional code.
892 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
893 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
894 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
895 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
896 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
897 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
898 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
900 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
903 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
904 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
906 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
909 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
912 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
915 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
921 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
923 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
924 Remove conditional code.
925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
926 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
927 Remove conditional code.
928 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
929 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
930 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
931 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
932 Remove conditional code.
933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
934 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
935 Remove conditional code.
936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
937 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
938 Remove conditional code.
939 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
940 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
941 Remove conditional code.
942 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
943 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
944 Remove conditional code.
945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
946 * sysdeps/unix/sysv/linux/sh/pwrite64.c
947 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
948 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
949 * sysdeps/unix/sysv/linux/sigaction.c
950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
952 * sysdeps/unix/sysv/linux/sigpending.c
953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
955 * sysdeps/unix/sysv/linux/sigprocmask.c
956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
958 * sysdeps/unix/sysv/linux/sigsuspend.c
959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
962 (__libc_missing_rt_sigs): Remove.
963 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
964 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
965 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
966 Remove conditional code.
967 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
968 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
969 return 1.
970 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
971 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
972 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
973 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
974
1bfb7291
AJ
9752012-05-14 Andreas Jaeger <aj@suse.de>
976
caae5a81
AJ
977 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
978 it's not used in glibc.
979 (__coshm1): Likewise.
980 (__acosh1p): Likewise.
981 (__sgn): Likewise.
982
1bfb7291
AJ
983 * manual/string.texi (Copying and Concatenation): Add missing
984 variable in concat example.
985 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
986
c044d724
L
9872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
988
144c5467 989 [BZ #14103]
c044d724
L
990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
991 __builtin_clzl with __builtin_clzll.
992
2523c62b
L
9932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
994
995 [BZ #14104]
996 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
997 libc_freeres_ptr.
998
d7bb4c42
LD
9992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1000
1001 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1002 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1003 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1004 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1005
9dc4e1fb
MF
10062012-05-14 Mike Frysinger <vapier@gentoo.org>
1007
1008 * NEWS: Update ia64 info.
1009
c7df0112
AS
10102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1013 used as bcopy.
1014
dc70356c
TS
10152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1016
1017 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1018 * sysdeps/unix/syscalls.list (dup3): Likewise.
1019 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1020 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1021
9fb1a21f
L
10222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1025 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1026
4822a2a5
L
10272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1030 thread pointer.
1031 (TLS_IE): Use mov/add instead of movq/addq to load thread
1032 pointer.
1033 (TLS_GD_PREFIX): New.
1034 (TLS_GD): Use it.
1035
842b81d6
DM
10362012-05-11 David S. Miller <davem@davemloft.net>
1037
1038 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1039 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1040 (_FPU_SETCW): Likewise.
1041
1cf463cd
L
10422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1045 is 32-byte aligned.
1046
60cc4a18
AS
10472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1048
1049 [BZ #11837]
1050 * iconvdata/gb18030.c: Update tables.
1051 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1052 characters specially.
1053 (BODY for TO_LOOP): Add encoding of missing ranges.
1054
febb44a4
TS
10552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1056
1057 [BZ #13673]
1058 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1059 * sysdeps/mach/hurd/dup3.c: Likewise.
1060 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1061 * sysdeps/powerpc/memmove.c:: Likewise.
1062
0a10fb9e
L
10632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1066 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1067
df8a552f
L
10682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 * elf/elf.h (R_X86_64_RELATIVE64): New.
1071 (R_X86_64_NUM): Updated.
1072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1073 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1074 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1075 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1076 tst-quad1pie tst-quad2pie
1077 (modules-names): Add tst-quadmod1 tst-quadmod2.
1078 ($(objpfx)tst-quad1): New dependency.
1079 ($(objpfx)tst-quad2): Likewise.
1080 ($(objpfx)tst-quad1pie): Likewise.
1081 ($(objpfx)tst-quad2pie): Likewise.
1082 * sysdeps/x86_64/tst-quad1.c: New file.
1083 * sysdeps/x86_64/tst-quad1pie.c: New file.
1084 * sysdeps/x86_64/tst-quad2.c: Likewise.
1085 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1086 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1087 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1088 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1089 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1090
f34d6f84
ST
10912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1092
f42d41d1
ST
1093 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1094 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1095 * streams/stropts.h (t_scalar_t): Define type.
1096
3c3571fc
ST
1097 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1098 (_PATH_PRESERVE): Set to "/var/lib".
1099 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1100
61f06bd3
ST
1101 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1102 instead of int.
1103
918d4d71
ST
1104 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1105 if __dir_mkfile succeeded.
1106
f34d6f84
ST
1107 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1108 checking for _hurd_dtablesize. Unlock it right after having
1109 finished _hurd_dtable allocation.
1110
10589b4a
TS
11112012-05-10 Thomas Schwinge <thomas@schwinge.name>
1112
674cdbc7
TS
1113 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1114 * sysdeps/mach/hurd/configure: Regenerated.
1115 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1116 special-casing to...
1117 * sysdeps/gnu/configure.in: ... this new file.
1118 * sysdeps/unix/sysv/linux/configure: Regenerated.
1119 * sysdeps/gnu/configure: New generated file.
1120
8e41b99f
TS
1121 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1122 for Linux: use nsec instead of usec, as well as:
1123 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1124 members of type struct timespec.
1125 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1126 New macros.
1127 (struct stat64): Likewise.
1128 (_STATBUF_ST_NSEC): New macro.
1129 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1130
10589b4a
TS
1131 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1132 __strtoul_internal rather than strtoul.
1133
63643c85
PT
11342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1135
1136 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1137 and reject them.
1138
3faebe6a
ST
11392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1140
1141 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1142 which preserves existing values.
1143 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1144
c6474b07
PT
11452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1146
1147 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1148 TIMEOUT values. Return EINVAL for NFDS values either negative or
1149 greater than FD_SETSIZE.
1150
1043890b
ST
11512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1152
1153 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1154 allocated, call __vm_protect to finish enabling the existing space, and
1155 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1156 allocate the remainder.
1157
37ed8b9b
PT
11582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1159
1160 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1161 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1162
db653660
ST
11632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1164
37ed8b9b
PT
1165 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1166 sysdeps/mach/hurd/readlink.c.
b29d4053 1167
db653660
ST
1168 * posix/tst-sysconf.c (posix_options): Only use
1169 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1170 _POSIX_SYNCHRONIZED_IO when they are defined
1171 * sysdeps/mach/hurd/bits/posix_opt.h:
1172 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1173 (_XOPEN_REALTIME): Undefine macro.
1174 (_XOPEN_REALTIME_THREADS): Undefine macro.
1175 (_XOPEN_SHM): Undefine macro.
1176 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1177 macro to -1.
1178 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1179 macro to -1.
1180 (_POSIX_ASYNC_IO): Undefine macro.
1181 (_POSIX_PRIORITIZED_IO): Undefine macro.
1182 (_POSIX_SPIN_LOCKS): Define macro to -1.
1183
ee16e894
ST
1184 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1185 SA_NODEFER, SA_RESETHAND.
1186 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1187 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1188 F_DUPFD_CLOEXEC.
1189
6103ae3b
TS
11902012-05-10 Thomas Schwinge <thomas@schwinge.name>
1191
1192 * elf/Makefile (pldd-modules): Define unconditionally.
1193
80b4e5f3
TS
11942012-05-10 Thomas Schwinge <thomas@schwinge.name>
1195
1196 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1197
edadcbd6
ST
11982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1199
1200 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1201 Return ENOENT when name is empty.
1202 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1203
80694780
TS
12042012-05-10 Thomas Schwinge <thomas@schwinge.name>
1205
1792c087
TS
1206 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1207
80694780
TS
1208 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1209
6b645f0d
ST
12102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1211
80694780
TS
1212 Fix mlock in all cases except non-readable pages.
1213 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1214 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1215
6b645f0d
ST
1216 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1217 (__mkdir): When path is `/', just fail with EEXIST.
1218 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1219
e468f8a3
TS
12202012-05-10 Thomas Schwinge <thomas@schwinge.name>
1221
1222 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1223 <sys/uio.h> (for writev).
1224 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1225 and <sys/param.h> (for MIN).
1226
a4186cff
PT
12272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1228
1229 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1230 REQUESTED_TIME. Properly set the remaining time and return EINTR
1231 if interrupted.
1232
510bbf14
TS
12332012-05-10 Thomas Schwinge <thomas@schwinge.name>
1234
1235 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1236 Depend on against $(link-rpcuserlibs).
1237
5d5722e8
ST
12382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1239
a4186cff
PT
1240 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1241 (__libc_stack_end): Do not use attribute_relro.
1242 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1243 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1244 to libthread-provided value.
a4186cff
PT
1245 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1246 attribute_relro.
5d5722e8 1247
37233df9
TS
12482012-05-10 Thomas Schwinge <thomas@schwinge.name>
1249
be971a2b
TS
1250 [BZ #3748]
1251 * bits/libc-lock.h (__libc_once_get): New macro.
1252 * sysdeps/mach/bits/libc-lock.h: Likewise.
1253 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1255 instead of using implementation details.
1256
37233df9
TS
1257 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1258 * libio/freopen.c: Likewise.
1259 * libio/freopen64.c: Likewise.
1260 * misc/syslog.c: Likewise.
1261 * nscd/connections.c: Likewise.
1262 * nscd/netgroupcache.c: Likewise.
1263 * sysdeps/posix/getcwd.c: Likewise.
1264
38de94a5
RM
12652012-05-10 Roland McGrath <roland@hack.frob.com>
1266
1267 * math/w_ilogbf.c: Add #include <limits.h>.
1268
67530489
ST
12692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1270
a4186cff 1271 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1272 path instead of returning without unlocking.
1273
67530489
ST
1274 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1275 immediate-write ioctls.
1276 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1277
5aa3a74a
TS
12782012-05-10 Thomas Schwinge <thomas@schwinge.name>
1279
18bad2ae
TS
1280 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1281 __builtin_frame_address instead of making assumptions about the
1282 location of the return address relative to DATA. Force early load of
1283 the return address.
1284 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1285 __builtin_frame_address.
1286
5aa3a74a
TS
1287 dup3 for GNU Hurd.
1288 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1289 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1290 implement dup3 and do some further code clean-ups.
1291 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1292 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1293
ecd0de9a
ST
12942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1295
cd9fa985
ST
1296 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1297
a4186cff
PT
1298 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1299 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1300 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1301 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1302 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1303 d->port.lock.
802ca5a5 1304
a4186cff
PT
1305 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1306 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1307 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1308
bcf55240
TS
13092012-05-10 Thomas Schwinge <thomas@schwinge.name>
1310
6960eb42
TS
1311 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1312 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1313 definitions.
1314
eb43375f
TS
1315 accept4 for GNU Hurd.
1316 * include/sys/socket.h (__libc_accept4): New prototype.
1317 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1318 to implement __libc_accept4.
1319 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1320 __libc_accept4.
1321 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1322
bcf55240
TS
1323 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1324 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1325 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1326 signal-defines.sym.
1327
6178c55b
ST
13282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1329
a4186cff 1330 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1331
6f080c2f
TS
13322012-05-10 Thomas Schwinge <thomas@schwinge.name>
1333
1334 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1335 assertion on O_CLOEXEC flag.
1336 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1337 * hurd/intern-fd.c: Likewise.
1338 * hurd/port2fd.c: Likewise.
1339
bcfe3a54
ST
13402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1341
1342 [BZ #3906]
1343 * bits/in.h (IPV6_PKTINFO): Define new macro.
1344 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1345
89c9aa49
AZ
13462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 [BZ #13954]
1349 [BZ #13955]
1350 [BZ #13956]
1351 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1353 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1354 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1356 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1357 * math/libm-test.inc (logb_test) : Additional logb tests.
1358
021db4be
AJ
13592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1360 Andreas Jaeger <aj@suse.de>
1361
1362 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1363 * configure: Regenerated.
1364 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1365 * config.make.in (link-obsolete-rpc): New substituted variable.
1366 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1367 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1368 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1369 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1370 so that libc.a contains the symbols.
1371 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1372 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1373 * sunrpc/auth_none.c: Likewise.
1374 * sunrpc/auth_unix.c: Likewise.
1375 * sunrpc/authdes_prot.c: Likewise.
1376 * sunrpc/authuxprot.c: Likewise.
1377 * sunrpc/clnt_gen.c: Likewise.
1378 * sunrpc/clnt_perr.c: Likewise.
1379 * sunrpc/clnt_raw.c: Likewise.
1380 * sunrpc/clnt_simp.c: Likewise.
1381 * sunrpc/clnt_tcp.c: Likewise.
1382 * sunrpc/clnt_udp.c: Likewise.
1383 * sunrpc/clnt_unix.c: Likewise.
1384 * sunrpc/des_crypt.c: Likewise.
1385 * sunrpc/des_soft.c: Likewise.
1386 * sunrpc/get_myaddr.c: Likewise.
1387 * sunrpc/key_call.c: Likewise.
1388 * sunrpc/key_prot.c: Likewise.
1389 * sunrpc/netname.c: Likewise.
1390 * sunrpc/pm_getmaps.c: Likewise.
1391 * sunrpc/pm_getport.c: Likewise.
1392 * sunrpc/pmap_clnt.c: Likewise.
1393 * sunrpc/pmap_prot.c: Likewise.
1394 * sunrpc/pmap_prot2.c: Likewise.
1395 * sunrpc/pmap_rmt.c: Likewise.
1396 * sunrpc/publickey.c: Likewise.
1397 * sunrpc/rpc_cmsg.c: Likewise.
1398 * sunrpc/rpc_common.c: Likewise.
1399 * sunrpc/rpc_dtable.c: Likewise.
1400 * sunrpc/rpc_prot.c: Likewise.
1401 * sunrpc/rpc_thread.c: Likewise.
1402 * sunrpc/rtime.c: Likewise.
1403 * sunrpc/svc.c: Likewise.
1404 * sunrpc/svc_auth.c: Likewise.
1405 * sunrpc/svc_raw.c: Likewise.
1406 * sunrpc/svc_run.c: Likewise.
1407 * sunrpc/svc_tcp.c: Likewise.
1408 * sunrpc/svc_udp.c: Likewise.
1409 * sunrpc/svc_unix.c: Likewise.
1410 * sunrpc/svcauth_des.c: Likewise.
1411 * sunrpc/xcrypt.c: Likewise.
1412 * sunrpc/xdr.c: Likewise.
1413 * sunrpc/xdr_array.c: Likewise.
1414 * sunrpc/xdr_float.c: Likewise.
1415 * sunrpc/xdr_intXX_t.c: Likewise.
1416 * sunrpc/xdr_mem.c: Likewise.
1417 * sunrpc/xdr_rec.c: Likewise.
1418 * sunrpc/xdr_ref.c: Likewise.
1419 * sunrpc/xdr_sizeof.c: Likewise.
1420 * sunrpc/xdr_stdio.c: Likewise.
1421
b5c086a2
RM
14222012-05-10 Roland McGrath <roland@hack.frob.com>
1423
1424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1425 change. Update copyright years.
1426
6d74dd09
JM
14272012-05-10 Joseph Myers <joseph@codesourcery.com>
1428
1429 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1430
28e72501
MK
14312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1432 Joseph Myers <joseph@codesourcery.com>
1433 Paul Pluzhnikov <ppluzhnikov@google.com>
1434
1435 [BZ #14012]
1436 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1437 requiring rpcgen.
1438 [cross-compiling] (extra-libs): Likewise.
1439 [cross-compiling] (extra-libs-others): Likewise.
1440 [cross-compiling] (librpcsvc-routines): Likewise.
1441 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1442 [cross-compiling] (omit-deps): Likewise.
1443 (sunrpc-CPPFLAGS): New variable.
1444 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1445 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1446 (cross-rpcgen-objs): New variable.
1447 (extra-objs): Append $(cross-rpcgen-objs).
1448 ($(cross-rpcgen-objs)): New rule.
1449 ($(objpfx)cross-rpcgen): Likewise.
1450 (rpcgen-cmd): Define to use $(built-program-file). Expand
1451 comment.
1452 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1453 ($(objpfx)x%.stmp): Likewise.
1454 * sunrpc/proto.h [IS_IN_build] (_): Define.
1455 [IS_IN_build] (_libc_intl_domainname): Likewise.
1456
c8c59454
L
14572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1460 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1461 and R_X86_64_TPOFF64.
1462
6f27cd16
JM
14632012-05-10 Joseph Myers <joseph@codesourcery.com>
1464
1465 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1466 sysdeps/unix/sysv/syscalls.list.
1467 (stime): Likewise.
1468 (utime): Likewise.
1469 * sysdeps/unix/sysv/syscalls.list: Remove file.
1470
02467e1c
PE
14712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1472
1473 [BZ #3440]
1474 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1475 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1476 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1477 (__LC_IDENTIFICATION): Make these macros useful in #if
1478 expressions, as required by C99.
1479
da392631
AS
14802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1481
1482 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1483 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1484 after this.
1485
8115f29b
L
14862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * stdlib/longlong.h: Updated from GCC.
1489
bdd74070
AJ
14902012-05-09 Andreas Jaeger <aj@suse.de>
1491
edfe0dbe
AJ
1492 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1493 default is first entry.
1494 (run_mode): Set type.
1495 (main): Remove informal message about syslog.
1496 (options): Fix typo.
1497
bcfe3a54
ST
1498 [BZ #14053]
1499 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1500 to asm.
bcfe3a54
ST
1501 (lrint): Likewise.
1502 (llrintf): Likewise.
1503 (llrint): Likewise.
1504 (rint): Likewise.
1505 (rintf): Likewise.
1506 (nearbyint): Likewise.
1507 (nearbyintf): Likewise.
bdd74070 1508
91d8d69e
AJ
15092012-05-09 Andreas Jaeger <aj@suse.de>
1510 Pedro Alves <palves@redhat.com>
1511
1512 * nscd/nscd.c (run_mode): Use enum.
1513 (main): Cleanup coding style issue.
1514
bb90b80b
AJ
15152012-05-09 Alexandre Oliva <aoliva@redhat.com>
1516 Andreas Jaeger <aj@suse.de>
1517
bcfe3a54
ST
1518 * nscd/nscd.c (go_background): Replaced with...
1519 (run_mode): ... this.
bb90b80b 1520 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1521 (options): Add -F --foreground.
1522 (main): Implement it.
1523 (parse_opt): Parse it.
bb90b80b 1524
1a4b75a1
AJ
15252012-05-09 Andreas Jaeger <aj@suse.de>
1526
1527 [BZ #14083]
1528 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1529 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1530 -Wconversion warning.
1531 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1532 Likewise.
1533
b1cc2472
JM
15342012-05-09 Joseph Myers <joseph@codesourcery.com>
1535
1536 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1537 == 0.
1538 (LC_ALL): Use macro-int-constant.
1539 (LC_COLLATE): Likewise.
1540 (LC_CTYPE): Likewise.
1541 (LC_MESSAGES): Likewise.
1542 (LC_MONETARY): Likewise.
1543 (LC_NUMERIC): Likewise.
1544 (LC_TIME): Likewise.
1545 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1546 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1547 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1548 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1549 Specify type.
1550 [C99-based standards] (float_t): Expect type.
1551 [C99-based standards] (double_t): Expect type.
1552 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1553 type.
1554 [C99-based standards] (HUGE_VALL): Likewise.
1555 [C99-based standards] (INFINITY): Likewise.
1556 [C99-based standards] (NAN): Likewise.
1557 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1558 [C99-based standards] (FP_NAN): Likewise.
1559 [C99-based standards] (FP_NORMAL): Likewise.
1560 [C99-based standards] (FP_SUBNORMAL): Likewise.
1561 [C99-based standards] (FP_ZERO): Likewise.
1562 [C99-based standards] (FP_FAST_FMA): Use
1563 optional-macro-int-constant. Specify type. Require == 1.
1564 [C99-based standards] (FP_FAST_FMAF): Likewise.
1565 [C99-based standards] (FP_FAST_FMAL): Likewise.
1566 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1567 [C99-based standards] (FP_ILOGBNAN): Likewise.
1568 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1569 Specify type.
1570 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1571 [C99-based standards] (math_errhandling): Specify type.
1572 [ISO99 || ISO11] (signgam): Do not allow.
1573 [non-C99-based standards] (copysignf): Do not allow.
1574 [non-C99-based standards] (exp2f): Likewise.
1575 [non-C99-based standards] (log2f): Likewise.
1576 [non-C99-based standards] (modff): Allow.
1577 [non-C99-based standards] (erff): Do not allow.
1578 [non-C99-based standards] (erfcf): Likewise.
1579 [non-C99-based standards] (gammaf): Likewise.
1580 [non-C99-based standards] (hypotf): Likewise.
1581 [non-C99-based standards] (j0f): Likewise.
1582 [non-C99-based standards] (j1f): Likewise.
1583 [non-C99-based standards] (jnf): Likewise.
1584 [non-C99-based standards] (lgammaf): Likewise.
1585 [non-C99-based standards] (tgammaf): Likewise.
1586 [non-C99-based standards] (y0f): Likewise.
1587 [non-C99-based standards] (y1f): Likewise.
1588 [non-C99-based standards] (ynf): Likewise.
1589 [non-C99-based standards] (isnanf): Likewise.
1590 [non-C99-based standards] (acoshf): Likewise.
1591 [non-C99-based standards] (asinhf): Likewise.
1592 [non-C99-based standards] (atanhf): Likewise.
1593 [non-C99-based standards] (cbrtf): Likewise.
1594 [non-C99-based standards] (expm1f): Likewise.
1595 [non-C99-based standards] (ilogbf): Likewise.
1596 [non-C99-based standards] (log1pf): Likewise.
1597 [non-C99-based standards] (logbf): Likewise.
1598 [non-C99-based standards] (nextafterf): Likewise.
1599 [non-C99-based standards] (remainderf): Likewise.
1600 [non-C99-based standards] (rintf): Likewise.
1601 [non-C99-based standards] (scalbf): Likewise.
1602 [non-C99-based standards] (copysignl): Likewise.
1603 [non-C99-based standards] (exp2l): Likewise.
1604 [non-C99-based standards] (log2l): Likewise.
1605 [non-C99-based standards] (modfl): Allow.
1606 [non-C99-based standards] (erfl): Do not allow.
1607 [non-C99-based standards] (erfcl): Likewise.
1608 [non-C99-based standards] (gammal): Likewise.
1609 [non-C99-based standards] (hypotl): Likewise.
1610 [non-C99-based standards] (j0l): Likewise.
1611 [non-C99-based standards] (j1l): Likewise.
1612 [non-C99-based standards] (jnl): Likewise.
1613 [non-C99-based standards] (lgammal): Likewise.
1614 [non-C99-based standards] (tgammal): Likewise.
1615 [non-C99-based standards] (y0l): Likewise.
1616 [non-C99-based standards] (y1l): Likewise.
1617 [non-C99-based standards] (ynl): Likewise.
1618 [non-C99-based standards] (isnanl): Likewise.
1619 [non-C99-based standards] (acoshl): Likewise.
1620 [non-C99-based standards] (asinhl): Likewise.
1621 [non-C99-based standards] (atanhl): Likewise.
1622 [non-C99-based standards] (cbrtl): Likewise.
1623 [non-C99-based standards] (expm1l): Likewise.
1624 [non-C99-based standards] (ilogbl): Likewise.
1625 [non-C99-based standards] (log1pl): Likewise.
1626 [non-C99-based standards] (logbl): Likewise.
1627 [non-C99-based standards] (nextafterl): Likewise.
1628 [non-C99-based standards] (remainderl): Likewise.
1629 [non-C99-based standards] (rintl): Likewise.
1630 [non-C99-based standards] (scalbl): Likewise.
1631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1632 [non-C99-based standards] (FP_*): Do not allow.
1633 [C99-based standards] (FP_*): Change to
1634 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1635 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1636 allow.
1637 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1638 (SIG_ERR): Likewise.
1639 [X/Open-based standards] (SIG_HOLD): Likewise.
1640 (SIG_IGN): Likewise.
1641 (SIGABRT): Use macro-int-constant. Specify type. Require
1642 positive value.
1643 (SIGFPE): Likewise.
1644 (SIGILL): Likewise.
1645 (SIGINT): Likewise.
1646 (SIGSEGV): Likewise.
1647 (SIGTER): Likewise.
1648 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1649 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1650 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1651 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1652 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1653 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1654 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1655 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1656 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1657 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1658 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1659 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1660 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1661 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1662 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1663 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1664 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1665 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1666 [X/Open-based standards] (SIGTRAP): Likewise.
1667 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1668 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1669 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1670 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1671 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1672 allow.
1673
b9f1922d
IW
16742012-05-08 Ian Wienand <ianw@vmware.com>
1675
1676 [BZ #14080]
1677 * time/tzset.c (__tzset_parse_tz): Update default rules for
1678 daylight time changes in the Energy Policy Act of 2005.
1679
1db86e88
AJ
16802012-05-09 Andreas Jaeger <aj@suse.de>
1681
1682 [BZ #13983]
1683 * elf/ldconfig.c (parse_conf): Change string to make clear that
1684 ldconfig only issued a warning if ld.so.conf does not exist.
1685
dee4a4e3
DM
16862012-05-08 David S. Miller <davem@davemloft.net>
1687
ee0db190
DM
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1689 movxtod instead of popping the value on the stack.
1690
dee4a4e3
DM
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1692
6a43ec98
CD
16932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1694
1695 * config.h.in: Add HAVE_ARM_PCS_VFP.
1696
05c2c961
RMG
16972012-05-08 Roland Mc Grath <roland@hack.frob.com>
1698
bcfe3a54
ST
1699 [BZ #13979]
1700 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1701 checking but the checks are disabled for any reason.
05c2c961 1702
4b30f61a
L
17032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1704
1705 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1706 and ELF64_R_TYPE with ELFW(R_TYPE).
1707
eee2bc67
JM
17082012-05-08 Joseph Myers <joseph@codesourcery.com>
1709
7ea5391a
JM
1710 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1711 (ulimit): Likewise.
1712
eee2bc67
JM
1713 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1714 (settimeofday): Likewise.
1715
abb66a67
MF
17162012-05-08 Mike Frysinger <vapier@gentoo.org>
1717
1718 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1719 a struct th_u2 inside the union, and move tu_block/tu_code into
1720 a new th_u3 union of tu_block/tu_code inside of that. Move
1721 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1722 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1723 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1724 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1725 (th_stuff): Change to th_u1.tu_stuff.
1726 (th_data): Define.
1727 (th_msg): Change to th_u1.th_u2.tu_data.
1728
7f18b530
DM
17292012-05-07 David S. Miller <davem@davemloft.net>
1730
05760585
DM
1731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1732
7f18b530
DM
1733 [BZ #14074]
1734 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1735 (SETUP_PIC_REG): Use it.
1736 (SETUP_PIC_REG_LEAF): Use it.
1737
495fd99f
JM
17382012-05-07 Joseph Myers <joseph@codesourcery.com>
1739
1740 [BZ #13885]
1741 [BZ #13923]
1742 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1743 USE_AS_EXPM1L.
1744 (EXPL_FINITE): Likewise.
1745 (FLDLOG): Likewise.
1746 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1747 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1748 e_expl.S.
1749 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1750 USE_AS_EXPM1L.
1751 (EXPL_FINITE): Likewise.
1752 (FLDLOG): Likewise.
1753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1754 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1755 e_expl.S.
1756 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1757 test of -max_value argument for long double.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760
6693d694
DM
17612012-05-06 David S. Miller <davem@davemloft.net>
1762
1763 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1764 quad soft-float symbols whose references which are compiler
1765 generated.
1766 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1767
6c23e11c
JM
17682012-05-06 Joseph Myers <joseph@codesourcery.com>
1769
d8b82cad
JM
1770 [BZ #13884]
1771 [BZ #13914]
1772 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1773 USE_AS_EXP10L.
1774 (EXPL_FINITE): Likewise.
1775 (FLDLOG): Likewise.
1776 (c0): Likewise.
1777 (c1): Likewise.
1778 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1779 Adjust comments for base varying.
1780 (__expl_finite): Change alias to EXPL_FINITE.
1781 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1782 e_expl.S.
1783 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1784 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1786 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1787 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1788 USE_AS_EXP10L.
1789 (EXPL_FINITE): Likewise.
1790 (FLDLOG): Likewise.
1791 (c0): Likewise.
1792 (c1): Likewise.
1793 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1794 Adjust comments for base varying.
1795 (__expl_finite): Change alias to EXPL_FINITE.
1796 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1797 tests for bugs.
1798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1799
6c23e11c
JM
1800 [BZ #14064]
1801 * math/libm-test.inc (check_float_internal): Correct ulp
1802 calculation for subnormal expected results.
1803
29ba805c
AJ
18042012-05-06 Andreas Jaeger <aj@suse.de>
1805
1806 * Makeconfig (+math-flags): New, set to -frounding-math.
1807 (+cflags): Add +math-flags so that all of glibc gets compiled with
1808 it.
1809
1810 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1811
7b17aeda
JM
18122012-05-05 Joseph Myers <joseph@codesourcery.com>
1813
5779f134
JM
1814 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1815 Disable one test.
1816
41498f4d
JM
1817 [BZ #13787]
1818 [BZ #13922]
1819 [BZ #14036]
1820 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1821 (__ieee754_expl): Allow for and saturate large arguments.
1822 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1823 (u_threshold): Likewise.
1824 (__exp): Call __ieee754_exp before checking for overflow and
1825 underflow.
1826 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1827 (u_threshold): Likewise.
1828 (__expf): Call __ieee754_expf before checking for overflow and
1829 underflow.
1830 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1831 (u_threshold): Likewise.
1832 (__expl): Call __ieee754_expl before checking for overflow and
1833 underflow.
1834 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1835 (__ieee754_expl): Allow for and saturate large arguments.
1836 * math/libm-test.inc (exp_test): Add another test. Do not allow
1837 missing overflow exception on overflow.
1838 (expm1_test): Do not allow missing overflow exception on overflow.
1839
6698b8bf
JM
1840 * sysdeps/i386/fpu/e_expl.c: Move to ...
1841 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1842 rather than using inline asm.
1843 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1844 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1845 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1846
7b17aeda
JM
1847 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1848 (nice): Likewise.
1849 (poll): Likewise.
1850 (signal): Likewise.
1851 (time): Likewise.
1852 (times): Likewise.
1853
f7c85819
JM
18542012-05-04 Joseph Myers <joseph@codesourcery.com>
1855
1856 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1857 sysdeps/unix/common/syscalls.list.
1858 (fchmod): Likewise.
1859 (fchown): Likewise.
1860 (ftruncate): Likewise.
1861 (getrusage): Likewise.
1862 (gettimeofday): Likewise.
1863 (setpgid): Likewise.
1864 (setregid): Likewise.
1865 (setreuid): Likewise.
1866 (sigaction): Likewise.
1867 (truncate): Likewise.
1868 (vhangup): Likewise.
1869 * sysdeps/unix/common/syscalls.list: Remove file.
1870 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1871 * sysdeps/unix/sysv/linux/Implies: Likewise.
1872
336270d0
L
18732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1877 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1878 Moved to ...
1879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1880 Here.
1881 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1882 to ...
1883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1884 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1885 to ...
1886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1887 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1888 to ...
1889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1890 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1891 to ...
1892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1893 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1894 to ...
1895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1896 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1897 to ...
1898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1899 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1900 to ...
1901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1902 Here.
1903 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1904 to ...
1905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1906 Here.
1907 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1908 to ...
1909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1910 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1911 Moved to ...
1912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1913 Here.
1914 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1915 to ...
1916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1917
d128e450
JM
19182012-05-04 Joseph Myers <joseph@codesourcery.com>
1919
fa8ee516
JM
1920 * sysdeps/unix/common/bits/dirent.h: Remove file.
1921 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1922
d128e450
JM
1923 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1924 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1925 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1926 * sysdeps/unix/bsd/isatty.c: Likewise.
1927 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1928 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1929 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1930
ff8faaf0 19312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1932
62881be4 1933 [BZ #13563]
31dc8730
AZ
1934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1935 long double comparison inaccuracies.
1936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1938
6fef930c
AS
19392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1940
1941 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1942 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1943
8f203e6c
JM
19442012-05-04 Joseph Myers <joseph@codesourcery.com>
1945
1946 [BZ #14049]
1947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1948 nonzero digits before rounding a hex value.
1949 * stdlib/tst-strtod.c (tests): Add another test.
1950
5197d9c2
AK
19512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1952
1953 * sysdeps/s390/fpu/libm-test-ulps: Update.
1954
f0c1dedf
AJ
19552012-05-03 Andreas Jaeger <aj@suse.de>
1956
1957 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1958 does not get optimized out.
1959 (malloc_opt_barrier): New.
1960
a65ef2ae 19612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1962 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1963
2b942cb7 1964 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1965 intermediate file deletion.
2b942cb7 1966 (generated): Add .symlist files.
a65ef2ae 1967
54b71e02
JM
19682012-05-03 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #13775]
1971 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1972 Redirect under this condition.
1973 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1974 [__USE_GNU] (__dprintf_chk): Not under this condition.
1975 [__USE_GNU] (__vdprintf_chk): Likewise.
1976 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1977 under this condition.
1978 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1979 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1980 [__USE_XOPEN2K8] (vdprintf): Likewise.
1981 [__USE_GNU] (__dprintf_chk): Not under this condition.
1982 [__USE_GNU] (__vdprintf_chk): Likewise.
1983 [__USE_GNU] (dprintf): Likewise.
1984 [__USE_GNU] (vdprintf): Likewise.
1985
d3dfcc41
RM
19862012-05-03 Roland McGrath <roland@hack.frob.com>
1987
1988 * elf/Makefile (common-generated): Set this instead of generated for
1989 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1990 $(all-built-dso)-derived lists.
1991
7ac30cc5
AJ
19922012-05-03 Andreas Jaeger <aj@suse.de>
1993
0c51e550
AJ
1994 * sysdeps/i386/fpu/libm-test-ulps: Update.
1995
7ac30cc5
AJ
1996 * FAQ: Removed.
1997 * FAQ.in: Likewise.
1998 * scripts/gen-FAQ.pl: Likewise.
1999 * manual/install.texi (Installation): Point to online location of
2000 FAQ.
2001 * Makefile (files-for-dist): Remove FAQ.
2002 (FAQ): Remove.
2003
d4c2917f
AM
20042012-05-02 Allan McRae <allan@archlinux.org>
2005
2006 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2007 (LDFLAGS-reldepmod5.so): Likewise.
2008 (LDFLAGS-reldep6mod1.so): Likewise.
2009 (LDFLAGS-reldep6mod4.so): Likewise.
2010 (LDFLAGS-reldep8mod3.so): Likewise.
2011 (LDFLAGS-unload4mod1.so): Likewise.
2012 (LDFLAGS-unload4mod2.so): Likewise.
2013 (LDFLAGS-tst-initorder): Likewise.
2014 (LDFLAGS-tst-initordera2.so): Likewise.
2015 (LDFLAGS-tst-initordera3.so): Likewise.
2016 (LDFLAGS-tst-initordera4.so): Likewise.
2017 (LDFLAGS-tst-initorderb2.so): Likewise.
2018 (LDFLAGS-noload): Likewise.
2019 (LDFLAGS-next): Likewise.
2020 (LDFLAGS-order2mod1.so): Likewise.
2021 (LDFLAGS-order2mod2.so): Likewise.
2022 (LDFLAGS-tst-initorder2): Likewise.
2023 (LDFLAGS-tst-initorder2a.so): Likewise.
2024 (LDFLAGS-tst-initorder2b.so): Likewise.
2025 (LDFLAGS-tst-initorder2c.so): Likewise.
2026 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2027
d77f993f
DM
20282012-05-02 David S. Miller <davem@davemloft.net>
2029
2030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2031
171a70b4
PP
20322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2033
2034 [BZ #14055]
2035 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2036
0be196ad
AJ
20372012-05-02 Andreas Jaeger <aj@suse.de>
2038
2039 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2040 since we manipulate rounding mode.
2041 (CPPFLAGS-test-idouble.c): Likewise.
2042 (CPPFLAGS-test-ifloat.c): Likewise.
2043 (CFLAGS-test-ldouble.c): Likewise.
2044 (CFLAGS-test-double.c): Likewise.
2045 (CFLAGS-test-float.c): Likewise.
2046 (CFLAGS-test-misc.c): Likewise.
2047 (CFLAGS-test-test-fenv.c): Likewise.
2048
4f9d04aa
AZ
20492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2050
2b942cb7
RM
2051 [BZ #2550]
2052 [BZ #2570]
2053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2054 comparisons to determine direction to adjust input.
4f9d04aa 2055
82a79e7d
RM
20562012-05-01 Roland McGrath <roland@hack.frob.com>
2057
f5a01ca9
RM
2058 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2059 output to the target.
2060
90fe4186
RM
2061 * scripts/localplt.awk: New file.
2062 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2063 (check-localplt-CFLAGS): Variable removed.
2064 ($(all-built-dso:=.jmprel)): New static pattern rule.
2065 (generated): Add those targets.
2066 (localplt-built-dso): New variable.
2067 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2068
2069 * elf/check-localplt.c: File removed.
2070
82397ed6
RM
2071 * scripts/check-execstack.awk: New file.
2072 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2073 (check-execstack-CFLAGS): Variable removed.
2074 ($(objpfx)check-execstack.h): Target removed.
2075 ($(objpfx)execstack-default): New target.
2076 (generated): Add that instead of check-execstack.h.
2077 ($(all-built-dso:=.phdr)): New static pattern rule.
2078 (generated): Add those targets.
2079 * elf/check-execstack.c: File removed.
2080
82a79e7d
RM
2081 * scripts/check-textrel.awk: New file.
2082 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2083 (check-textrel-CFLAGS): Variable removed.
2084 (all-built-dso): Use := to define.o
2085 ($(all-built-dso:=.dyn)): New static pattern rule.
2086 (generated): Add those targets.
2087 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2088 * config.make.in (READELF): New substituted variable.
2089 * elf/check-textrel.c: File removed.
2090
62fde54f 20912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2092
615605c9
JM
2093 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2094 allow.
2095 * conform/data/ctype.h-data [C99-based standards] (isblank):
2096 Expect function.
2097 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2098 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2100 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2101 Specify type. Require positive value.
2102 (EILSEQ): Likewise.
2103 (ERANGE): Likewise.
2104 [ISO || POSIX] (EILSEQ): Do not expect.
2105 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2106 Specify type. Require positive value.
2107 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2108 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2109 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2111 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2112 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2113 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2114 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2115 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2116 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2117 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2118 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2119 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2120 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2121 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2122 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2123 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2124 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2125 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2126 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2127 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2128 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2129 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2130 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2131 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2132 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2133 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2134 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2135 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2142 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2143 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2149 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2150 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2151 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2152 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2153 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2154 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2156 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2157 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2158 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2159 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2160 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2161 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2162 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2163 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2165 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2166 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2167 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2168 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2169 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2170 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2171 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2172 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2173 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2174 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2175 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2176 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2177 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2178 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2179 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2180 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2181 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2182 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2183 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2184 Require >= 2.
2185 (FLT_ROUNDS): Expect as macro, not constant.
2186 (FLT_MANT_DIG): Use macro-int-constant.
2187 (DBL_MANT_DIG): Likewise.
2188 (LDBL_MANT_DIG): Likewise.
2189 (FLT_DIG): Likewise.
2190 (DBL_DIG): Likewise.
2191 (LDBL_DIG): Likewise.
2192 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2193 (DBL_MIN_EXP): Likewise.
2194 (LDBL_MIN_EXP): Likewise.
2195 (FLT_MAX_EXP): Use macro-int-constant.
2196 (DBL_MAX_EXP): Likewise.
2197 (LDBL_MAX_EXP): Likewise.
2198 (FLT_MAX_10_EXP): Likewise.
2199 (DBL_MAX_10_EXP): Likewise.
2200 (LDBL_MAX_10_EXP): Likewise.
2201 (FLT_MAX): Use macro-constant.
2202 (DBL_MAX): Likewise.
2203 (LDBL_MAX): Likewise.
2204 (FLT_EPSILON): Use macro-constant. Give upper bound.
2205 (DBL_EPSILON): Likewise.
2206 (LDBL_EPSILON): Likewise.
2207 (FLT_MIN): Likewise.
2208 (DBL_MIN): Likewise.
2209 (LDBL_MIN): Likewise.
2210 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2211 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2212 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2213 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2214 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2215 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2216 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2217 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2218 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2219 [ISO11] (FLT_TRUE_MIN): Likewise.
2220 [ISO11] (LDBL_TRUE_MIN): Likewise.
2221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2222 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2223 (SCHAR_MIN): Use macro-int-constant. Specify type.
2224 (SCHAR_MAX): Likewise.
2225 (UCHAR_MAX): Likewise.
2226 (CHAR_MIN): Likewise.
2227 (CHAR_MAX): Likewise.
2228 (MB_LEN_MAX): Use macro-int-constant.
2229 (SHRT_MIN): Use macro-int-constant. Specify type.
2230 (SHRT_MAX): Likewise.
2231 (USHRT_MAX): Likewise.
2232 (INT_MAX): Likewise.
2233 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2234 bound negative.
2235 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2236 bound with "U".
2237 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2238 bound with "L".
2239 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2240 bound negative. Suffix upper bound with "L".
2241 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2242 bound with "UL".
2243 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2244 Specify type.
2245 [C99-based standards] (LLONG_MAX): Likewise.
2246 [C99-based standards] (ULLONG_MAX): Likewise.
2247 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2248 == 0.
2249 [ISO11] (max_align_t): Require type.
2250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2251
c9140a62
JM
2252 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2253 from $CFLAGS, without defining away __attribute__ calls.
2254 (checknamespace): Use $CFLAGS_namespace.
2255
9af0bf29
JM
2256 * conform/conformtest.pl (@keywords): Only include C99 keywords
2257 for standards based on C99 or C11.
2258
343222a2
JM
2259 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2260 Disable tests.
2261 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2262 UNIX98]: Likewise.
2263
661f8cf0
JM
2264 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2265 usability of symbols in #if.
2266
ee74b9cb
JM
2267 * conform/conformtest.pl: If macro or constant types start
2268 "promoted:", expect the symbol to be of the following type
2269 promoted by the integer promotions.
62fde54f 2270
aafc49b3
JM
2271 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2272 in one place. Also handle "macro-constant".
2273
fefdf574
JM
2274 * conform/conformtest.pl: Only accept expected macro values with
2275 "==". Parse all "macro" lines in one place.
2276 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2277
f2d922fe
JM
2278 * conform/conformtest.pl: Handle braced types on "constant" lines
2279 instead of handling "typed-constant".
2280 * conform/data/signal.h-data: Use "constant" instead of
2281 "typed-constant".
2282
d22956c9
JM
2283 * conform/conformtest.pl: Handle "optional-" at start of lines in
2284 one place rather than duplicating several cases. Handle each
2285 format of "macro" line with initial "optional-".
2286
028e2e38
JM
2287 * conform/conformtest.pl: Only accept expected constant or
2288 optional-constant values with "==". Parse all "constant" lines in
2289 one place. Parse all "optional-constant" lines in one place.
2290 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2291 * conform/data/fmtmsg.h-data: Likewise.
2292 * conform/data/netinet/in.h-data: Likewise.
2293 * conform/data/tar.h-data: Likewise.
2294 * conform/data/limits.h-data: Use "==" form on "constant" and
2295 "optional-constant" lines.
2296
1b8f2850
JM
2297 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2298 Use -std=c99 for XOPEN2K.
2299 (@knownproblems): Remove.
2300 (newtoken): Don't check %isknown.
2301
a05a144b
JM
2302 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2303 Do not expect macro.
2304 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2316 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2317 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2334 [XPG3] (acosh): Likewise.
2335 [XPG3] (asinh): Likewise.
2336 [XPG3] (atanh): Likewise.
2337 [XPG3] (cbrt): Likewise.
2338 [XPG3] (expm1): Likewise.
2339 [XPG3] (ilogb): Likewise.
2340 [XPG3] (log1p): Likewise.
2341 [XPG3] (logb): Likewise.
2342 [XPG3] (nextafter): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2345 [XPG3] (remainder): Likewise.
2346 [XPG3] (rint): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2354 [UNIX98 || XOPEN2K] (scalb): Expect.
2355 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2356 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2492
73c5ebe3
JM
2493 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2494 _XOPEN_SOURCE_EXTENDED for XPG4.
2495
39c33b6c
JM
2496 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2497
62fde54f
JM
2498 * Makeconfig (localtime): Remove variable.
2499 (inst_localtime-file): Likewise.
2500
0741d64c
AS
25012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2502
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2504 Update.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2506 Update.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2508 Update.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2510 Update.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2512 Update.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2514 Update.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2516 Update.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2518 Update.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2520 Update.
2521
7cb029ee
JM
25222012-05-01 Joseph Myers <joseph@codesourcery.com>
2523
2524 [BZ #2550]
2525 [BZ #2570]
2526 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2527 comparisons to determine direction to adjust input.
2528 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2529 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2531 Likewise.
2532 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2533 Likewise.
2534 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2535 Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2538 Likewise.
2539 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2540 Likewise.
2541 * math/libm-test.inc (nexttoward_test): Add more tests.
2542
412bd966
AS
25432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2544
2545 [BZ #14040]
2546 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2547 in version GLIBC_2.1, not GLIBC_2.0.
2548 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2549 Likewise.
2550
9568c0c2
JM
25512012-04-30 Joseph Myers <joseph@codesourcery.com>
2552
adfbc8ac
JM
2553 [BZ #13942]
2554 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2555 (1 - x) * (1 + x).
2556 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2557 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2558 * math/libm-test.inc (acos_test): Add more tests.
2559 (asin_test): Likewise.
2560 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562
5ba3cc69
JM
2563 [BZ #14034]
2564 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2565 of square root.
2566 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2567 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2568 * math/libm-test.inc (acos_test_tonearest): New function.
2569 (acos_test_towardzero): Likewise.
2570 (acos_test_downward): Likewise.
2571 (acos_test_upward): Likewise.
2572 (asin_test_tonearest): Likewise.
2573 (asin_test_towardzero): Likewise.
2574 (asin_test_downward): Likewise.
2575 (asin_test_upward): Likewise.
2576 (main): Call the new functions.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2579
9568c0c2
JM
2580 [BZ #13884]
2581 [BZ #13924]
2582 * math/e_exp10.c: Include <float.h>.
2583 (__ieee754_exp10): Handle underflow here rather than multiplying
2584 large negative argument by M_LN10.
2585 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2586 of __ieee754_expf.
2587 * math/e_exp10l.c: Include <float.h>.
2588 (__ieee754_exp10l): Handle underflow here rather than multiplying
2589 large negative argument by M_LN10l.
2590 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2591 spurious overflow exception on underflow.
2592
5ac3ea17
MP
25932012-04-29 Marek Polacek <polacek@redhat.com>
2594
2595 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2596 (__fortify_function): New macro.
2597 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2598 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2599 __extern_always_inline.
2600 * libio/bits/stdio2.h: Likewise.
2601 * libio/bits/stdio.h: Likewise.
2602 * string/string.h: Likewise.
2603 * string/bits/string3.h: Likewise.
2604 * include/stdio.h: Likewise.
2605 * stdlib/bits/stdlib.h: Likewise.
2606 * stdlib/stdlib.h: Likewise.
2607 * rt/bits/mqueue2.h: Likewise.
2608 * rt/mqueue.h: Likewise.
2609 * posix/bits/unistd.h: Likewise.
2610 * posix/unistd.h: Likewise.
2611 * io/bits/poll2.h: Likewise.
2612 * io/bits/fcntl2.h: Likewise.
2613 * io/fcntl.h: Likewise.
2614 * io/sys/poll.h: Likewise.
2615 * misc/bits/syslog.h: Likewise.
2616 * misc/bits/syslog-ldbl.h: Likewise.
2617 * misc/sys/syslog.h: Likewise.
2618 * socket/bits/socket2.h: Likewise.
2619 * socket/sys/socket.h: Likewise.
2620 * debug/tst-chk1.c: Likewise.
2621 * wcsmbs/bits/wchar2.h: Likewise.
2622 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2623 * wcsmbs/wchar.h: Likewise.
2624
ecf0ebfb
AJ
26252012-04-29 Andreas Jaeger <aj@suse.de>
2626
2627 * Makerules (tests): Remove enable-check-abi protection.
2628 (check-abi-warn): Remove.
2629 (check-abi-%): Remove check-abi-warn usage.
2630
2631 * configure.in: Remove check-abi configure option.
2632 * configure: Regenerated.
2633 * config.make.in (enable-check-abi): Remove.
2634
6d5c57fa
AS
26352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2636
24c5d07e 2637 [BZ #14033]
ded5180a
AS
2638 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2639 double functions to double *_finite functions.
2640
7e0d315d
AS
2641 [BZ #13941]
2642 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2643 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2644 LDBL_MIN_EXP.
2645 * stdio-common/Makefile (tests): Add tst-sprintf3.
2646 * stdio-common/tst-sprintf3.c: New file.
2647
6d5c57fa
AS
2648 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2649 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2650
0749ff8b
JM
26512012-04-28 Joseph Myers <joseph@codesourcery.com>
2652
2653 * conform/conformtest.pl: Remove duplicate typed-constant
2654 handling.
2655
8dbd5d7b
DM
26562012-04-28 David S. Miller <davem@davemloft.net>
2657
2658 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2659 (check-abi-%): Remove AWK script prerequisite and explicit
2660 abilist directory.
2661 (check-abi): Rewrite to just diff the symlist with the abilist.
2662 (config-tls, config-abi-config): Delete, no longer used.
2663 (update-abi-%): Remove AWK script and explicit abilist directory.
2664 (update-abi): Rewrite to simply compare and conditionally copy the
2665 symlist and the sysdep abilist file. Remove update-abi-config
2666 checks.
2667 * abilist/ld.abilist: Remove.
2668 * abilist/libBrokenLocale.abilist: Remove.
2669 * abilist/libanl.abilist: Remove.
2670 * abilist/libcrypt.abilist: Remove.
2671 * abilist/libdl.abilist: Remove.
2672 * abilist/librt.abilist: Remove.
2673 * abilist/libthread_db.abilist: Remove.
2674 * abilist/libutil.abilist: Remove.
2675 * scripts/extract-abilist.awk: Remove.
2676 * scripts/merge-abilist.awk: Remove.
2677 * sysdeps/generic/libcidn.abilist: New file.
2678 * sysdeps/generic/libnss_compat.abilist: New file.
2679 * sysdeps/generic/libnss_db.abilist: New file.
2680 * sysdeps/generic/libnss_dns.abilist: New file.
2681 * sysdeps/generic/libnss_files.abilist: New file.
2682 * sysdeps/generic/libnss_hesiod.abilist: New file.
2683 * sysdeps/generic/libnss_nis.abilist: New file.
2684 * sysdeps/generic/libnss_nisplus.abilist: New file.
2685 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2686 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2687 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2688 file.
2689 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2690 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2691 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2692 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2693 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2694 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2695 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2696 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2697 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2698 file.
2699 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2701 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2703 file.
2704 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2705 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2706 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2707 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2708 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2709 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2710 file.
2711 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2712 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2713 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2714 file.
2715 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2717 New file.
2718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2719 New file.
2720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2721 New file.
2722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2723 New file.
2724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2725 New file.
2726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2727 New file.
2728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2729 New file.
2730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2731 New file.
2732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2733 New file.
2734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2735 New file.
2736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2737 New file.
2738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2739 New file.
2740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2741 New file.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2743 file.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2745 New file.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2747 New file.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2749 file.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2751 New file.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2753 New file.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2755 file.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2757 New file.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2759 New file.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2761 New file.
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2763 New file.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2765 New file.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2767 New file.
2768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2770 file.
2771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2772 New file.
2773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2774 file.
2775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2776 file.
2777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2778 file.
2779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2780 file.
2781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2782 file.
2783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2784 New file.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2786 file.
2787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2788 file.
2789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2790 New file.
2791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2792 file.
2793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2795 file.
2796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2797 New file.
2798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2799 file.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2801 file.
2802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2803 file.
2804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2805 file.
2806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2807 file.
2808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2809 New file.
2810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2811 file.
2812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2813 file.
2814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2815 New file.
2816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2817 file.
2818 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2819 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2820 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2821 file.
2822 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2823 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2824 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2825 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2826 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2827 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2828 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2829 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2830 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2831 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2834 file.
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2836 New file.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2838 file.
2839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2840 file.
2841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2842 file.
2843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2844 file.
2845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2846 file.
2847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2848 New file.
2849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2850 New file.
2851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2852 file.
2853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2854 New file.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2856 file.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2859 file.
2860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2861 New file.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2863 file.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2865 file.
2866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2867 file.
2868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2869 file.
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2871 file.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2873 New file.
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2875 New file.
2876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2877 file.
2878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2879 New file.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2881 file.
2882
41d73a1b
JM
28832012-04-28 Joseph Myers <joseph@codesourcery.com>
2884
2885 * conform/conformtest.pl: Fix typo in handling typed-constant from
2886 allow-header.
2887
28aeeda4
JM
28882012-04-27 Joseph Myers <joseph@codesourcery.com>
2889
adae8f5e
JM
2890 * README: Cut down references to pre-2.6 Linux kernels and
2891 Linuxthreads. Update lists of configurations in libc and ports
2892 and sort alphabetically. Say "or newer" with Linux kernel version
2893 requirements.
2894
28aeeda4
JM
2895 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2896
a462cb63
RA
28972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2898
2899 [BZ #887]
2900 * math/libm-test.inc (logb_test_downward): New test to expose
2901 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2902 rounding mode.
2903
6ad3493e
JM
29042012-04-27 Joseph Myers <joseph@codesourcery.com>
2905
2906 [BZ #14027]
2907 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2908 to be done.
2909 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2910 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2911
2ce4f015
JM
29122012-04-26 Joseph Myers <joseph@codesourcery.com>
2913
5aeb141a
JM
2914 * sysdeps/unix/i386/brk.S: Remove file.
2915 * sysdeps/unix/i386/dl-brk.S: Likewise.
2916 * sysdeps/unix/i386/pipe.S: Likewise.
2917 * sysdeps/unix/i386/sigreturn.S: Likewise.
2918 * sysdeps/unix/i386/syscall.S: Likewise.
2919 * sysdeps/unix/i386/vfork.S: Likewise.
2920 * sysdeps/unix/i386/wait.S: Likewise.
2921
7143acae
JM
2922 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2923 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2924
2ce4f015
JM
2925 * configure.in (arm*-none*): Do not allow without
2926 --enable-hacker-mode.
2927 (netbsd*): Remove case setting base_os.
2928 (386bsd*): Likewise.
2929 (freebsd*): Likewise.
2930 (bsdi*): Likewise.
2931 (osf*): Likewise.
2932 (sunos*): Likewise.
2933 (ultrix*): Likewise.
2934 (newsos*): Likewise.
2935 (dynix*): Likewise.
2936 (*bsd*): Likewise.
2937 (sysv*): Likewise.
2938 (isc*): Likewise.
2939 (esix*): Likewise.
2940 (sco*): Likewise.
2941 (minix*): Likewise.
2942 (irix4*): Likewise.
2943 (irix6*): Likewise.
2944 (solaris[2-9]*): Likewise.
2945 (none): Likewise.
2946 * configure: Regenerated.
2947
0ac229c8
AZ
29482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949
2950 [BZ #11521]
2951 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2952 overflow or cancellation in calculating denominator.
2953 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2955 down expression to avoid unexpected rounding in newer GCCs.
2956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2957
33f244f4
DM
29582012-04-26 David S. Miller <davem@davemloft.net>
2959
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2961 long-double compat symbols.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2975
cfa1f3e8
DM
29762012-04-25 David S. Miller <davem@davemloft.net>
2977
2978 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2979 HWCAP_* values only after the memory barriers have been defined.
2980 (atomic_full_barrier): Define.
2981 (atomic_read_barrier): Define.
2982 (atomic_write_barrier): Define.
2983
6e236b92
SP
29842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2985
2986 * shlib-versions: Add libgcc_s version information.
2987 * sysdeps/generic/libgcc_s.h: Remove.
2988 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2989 libgcc_s.h.
2990 * sysdeps/gnu/unwind-resume.c: Likewise.
2991 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2992
aab39a09
DM
29932012-04-25 David S. Miller <davem@davemloft.net>
2994
2995 * sysdeps/unix/sparc/brk.S: Delete.
2996 * sysdeps/unix/sparc/dl-brk.S: Delete.
2997 * sysdeps/unix/sparc/pipe.S: Delete.
2998 * sysdeps/unix/sparc/sysdep.S: Delete.
2999 * sysdeps/unix/sparc/sysdep.h: Delete.
3000 * sysdeps/unix/sparc/vfork.S: Delete.
3001 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3002 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3004 ret_ERRVAL, r0, r1, MOVE): Define.
3005 (JUMPTARGET): Remove.
3006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3007 sysdeps/unix/sparc/sysdep.h
3008 (ENTRY, END): Remove.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3010
a3cc4f48
JM
30112012-04-25 Joseph Myers <joseph@codesourcery.com>
3012
2ed8cda2
JM
3013 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3014 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3015 -DIS_IN_build.
3016
35d76d59
JM
3017 * timezone/README: Update upstream location and email address for
3018 tzcode and tzdata.
3019 * timezone/zdump.c: Update from tzcode 2012b.
3020 * timezone/zic.c: Likewise.
3021
a3cc4f48
JM
3022 * configure.in (libc_cv_as_needed): Remove test.
3023 * configure: Regenerated.
3024 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3025 conditional definition.
3026 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3027 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3028 * config.make.in (have-as-needed): Remove variable.
3029
ceab42c3
SP
30302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 Paul Pluzhnikov <ppluzhnikov@google.com>
3032
3033 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3034 strings correctly.
3035
3ce2865f
CLT
30362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3037
3038 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3039 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3040 * sysdeps/sh/strlen.S: Likewise.
3041
f37e0d68
JM
30422012-04-24 Joseph Myers <joseph@codesourcery.com>
3043
ae186e9a
JM
3044 * sysdeps/unix/fork.S: Remove file.
3045 * sysdeps/unix/i386/fork.S: Likewise.
3046 * sysdeps/unix/sparc/fork.S: Likewise.
3047
b96914af
JM
3048 * sysdeps/unix/system.c: Remove file.
3049 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3050
f37e0d68
JM
3051 * sysdeps/unix/getegid.S: Remove file.
3052 * sysdeps/unix/geteuid.S: Likewise.
3053
87ef29ca
RM
30542012-04-24 Roland McGrath <roland@hack.frob.com>
3055
83bcd236
RM
3056 * scripts/check-localplt.awk: New file.
3057 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3058 of diff.
3059 * scripts/data/localplt-generic.data: Add a comment.
3060
87ef29ca
RM
3061 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3062 NODE when __dir_mkfile failed.
3063 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3064 Reported by Ludovic Courtès <ludo@gnu.org>.
3065
e5a6e567
AJ
30662012-04-24 Andreas Jaeger <aj@suse.de>
3067
3068 * Makerules (common-clean): Also remove gen-as-const-headers
3069 files.
3070
c1820385
JM
30712012-04-24 Joseph Myers <joseph@codesourcery.com>
3072
3073 * Makerules (native-compile): Do not change working directory for
3074 build. Use $(OUTPUT_OPTION) in command.
3075 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3076
94e02fc4
AZ
30772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078
3079 [BZ #13886]
3080 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3081 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3082 * math/libm-test.inc (floor_test): Add more tests.
3083 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3084
3a533ca3
JM
30852012-04-24 Joseph Myers <joseph@codesourcery.com>
3086
940ab4b3
JM
3087 * sysdeps/unix/getdents.c: Remove file.
3088 * sysdeps/unix/sysv/getdents.c: Likewise.
3089 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3090
90e037bd
JM
3091 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3092 sysdeps/unix/mman/syscalls.list.
3093 (mmap): Likewise.
3094 (mprotect): Likewise.
3095 (msync): Likewise.
3096 (munmap): Likewise.
3097 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3098 * sysdeps/unix/mman/syscalls.list: Remove.
3099 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3100
3a533ca3
JM
3101 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3102 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3103 * configure: Regenerated.
3104 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3105 $(libgcc_s_suffix).
3106 * config.make.in (libgcc_s_suffix): Remove variable.
3107
1ad743de
JM
31082012-04-23 Joseph Myers <joseph@codesourcery.com>
3109
4ad451e2
JM
3110 * sysdeps/unix/sysv/gethostname.c: Move to ...
3111 * sysdeps/posix/gethostname.c: ... here.
3112
5e37ce39
JM
3113 * sysdeps/unix/execve.S: Remove file.
3114
1ad743de
JM
3115 * sysdeps/unix/_exit.S: Remove file.
3116
4e681b5b
AJ
31172012-04-23 Andreas Jaeger <aj@suse.de>
3118
3119 [BZ #13739]
3120 * manual/Makefile: Remove make dist support, there's no
3121 need for a stand-alone documentation tar ball.
3122 (TEXI2DVI): Define always, it's not in Makeconfig.
3123 (dist): Removed.
3124 (tar-it): Removed.
3125 (edition): Removed.
3126 (glibc-doc-$(edition).tar): Removed
3127 (%.Z): Removed.
3128 (%.gz): Removed.
3129 (%.uu): Removed.
3130 (ETAGS): Remove, it's in Makeconfig.
3131 (move-if-change): Remove, it's in Makeconfig.
3132
c0baea34
PE
31332013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3134
3135 [BZ #13970]
3136 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3137 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3138 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3139 (strtod_l, strtof_l, strtold_l): Remove __wur.
3140 It is not necessarily an error to ignore strtol's return value.
3141 One can reliably look at the stored endptr to decide whether
3142 the number had valid syntax.
3143
7c0616fa
AJ
31442012-04-21 Andreas Jaeger <aj@suse.de>
3145
803cb6b7 3146 [BZ #13739]
7c0616fa
AJ
3147 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3148
b0fe253f
JM
31492012-04-21 Joseph Myers <joseph@codesourcery.com>
3150
3151 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3152 * sysdeps/unix/sysv/Versions: Remove file.
3153
8280f22d
MT
31542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3155
3156 [BZ #13927]
3157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3158
75ce411f 31592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3160
3161 [BZ #7064]
3162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3163 version from __vm86.
3164
097d59fa
JM
31652012-04-20 Joseph Myers <joseph@codesourcery.com>
3166
a90f3bcb
JM
3167 * sysdeps/unix/common/lxstat.c: Remove file.
3168 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3169
edc7ea78
JM
3170 * sysdeps/unix/sysv/Makefile: Remove file.
3171
cb78c221
JM
3172 * sysdeps/unix/sysv/direct.h: Remove file.
3173
efa6a45f
JM
3174 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3175 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3176 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3177 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3178 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3179 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3180 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3181
9c9f2d0c
JM
3182 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3183
4541c83b
JM
3184 * sysdeps/unix/xmknod.c: Remove file.
3185 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3186
f5d153a0
JM
3187 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3188
aa746595
JM
3189 * sysdeps/unix/sysv/i386/time.S: Remove file.
3190
cce5905e
JM
3191 * sysdeps/unix/fxstat.c: Remove file.
3192 * sysdeps/unix/xstat.c: Likewise.
3193 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3194
37fa3841
JM
3195 * sysdeps/unix/sysv/sigaction.c: Remove file.
3196
ff1962a3
JM
3197 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3198 (sysdep_headers): Remove variable.
3199 [termio.h not in sysdep_headers] (generated): Likewise.
3200 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3201 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3202 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3203 * sysdeps/unix/sysv/tcflow.c: Likewise.
3204 * sysdeps/unix/sysv/tcflush.c: Likewise.
3205 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3206 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3207 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3208 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3209 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3210
e7740d31
JM
3211 * sysdeps/unix/siglist.c: Remove file.
3212
ee06f18b
JM
3213 * sysdeps/unix/getppid.S: Remove file.
3214
097d59fa
JM
3215 * sysdeps/unix/mkdir.c: Remove file.
3216 * sysdeps/unix/rmdir.c: Likewise.
3217
ff3d51ec
AS
32182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3219
3220 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3221 ERR_MAX value.
3222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3223 errlist-compat value.
3224
50f81fd7
DM
32252012-04-18 David S. Miller <davem@davemloft.net>
3226
3227 * sysdeps/generic/memcopy.h (reg_char): Delete.
3228 * debug/strcat_chk.c: Use char, not reg_char.
3229 * debug/strcpy_chk.c: Likewise.
3230 * debug/strncat_chk.c: Likewise.
3231 * debug/strncpy_chk.c: Likewise.
3232 * string/memchr.c: Likewise.
3233 * string/memrchr.c: Likewise.
3234 * string/rawmemchr.c: Likewise.
3235 * string/strcat.c: Likewise.
3236 * string/strchr.c: Likewise.
3237 * string/strchrnul.c: Likewise.
3238 * string/strcmp.c: Likewise.
3239 * string/strcpy.c: Likewise.
3240 * string/strncat.c: Likewise.
3241 * string/strncmp.c: Likewise.
3242 * string/strncpy.c: Likewise.
3243
8ff41c46
WS
32442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3245
3246 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3247 __builtin_memcopy is called when src and dest ranges are known to not
3248 overlap.
3249
6b652f46
WS
32502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3251
3252 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3253 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3254 fwd_align_merge macro call.
3255 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3256 bwd_align_merge macro call.
3257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3258
b282631e
WS
32592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3260
3261 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3262 bwd_align_merge macros.
3263 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3264 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3265 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3266
95aa737c
DM
32672012-04-18 David S. Miller <davem@davemloft.net>
3268
3269 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3270
7a99a614
AJ
32712012-04-18 Andreas Jaeger <aj@suse.de>
3272
3273 [BZ# 6794]
3274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3275 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3276 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3277
3278 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3279 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3280 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3281
3282 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3283 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3284 Adjust for changed ldbl-128 files.
3285
3286 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3287 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3288 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3289
e5270c23
DM
32902012-04-17 David S. Miller <davem@davemloft.net>
3291
3292 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3293
fb5e92c9
AS
32942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3295
3296 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3297 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3298 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3299 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3300 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3301 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3302
76da7265
AZ
33032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304
3305 [BZ #6794]
3306 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3307 * math/libm-test.inc: Add ilogb errno and exception tests.
3308 * math/w_ilogb.c: New file: ilogb wrapper.
3309 * math/w_ilogbf.c: New file: ilogbf wrapper.
3310 * math/w_ilogbl.c: New file: ilogbl wrapper.
3311 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3312 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3313 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3314 exception being thrown with 0.0 as argument.
3315 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3316 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3317 exception being thrown with 0.0 as argument.
3318 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3319 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3320 exception being thrown with 0.0 as argument.
3321 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3322 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3323 exception being thrown with 0.0 as argument.
3324 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3325 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3326 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3327 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3328 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3329 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3330 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3331 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3332 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3333
0396e69d
PB
33342012-04-17 Petr Baudis <pasky@ucw.cz>
3335
3336 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3337 with altivec.
3338
750b5926
MP
33392012-04-16 Marek Polacek <polacek@redhat.com>
3340
3341 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3342
751728a1
MP
33432012-04-16 Marek Polacek <polacek@redhat.com>
3344
3345 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3346 operands of fdivp instruction.
3347
34a27407
L
33482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3351 * elf/tst-auditmod3b.c: Likewise.
3352 * elf/tst-auditmod4b.c: Likewise.
3353 * elf/tst-auditmod5b.c: Likewise.
3354 * elf/tst-auditmod6b.c: Likewise.
3355 * elf/tst-auditmod6c.c: Likewise.
3356 * elf/tst-auditmod7b.c: Likewise.
3357 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3358 * sysdeps/x86_64/preconfigure.in: Likewise.
3359 * sysdeps/x86_64/preconfigure: Regenerated.
3360
7e73e17d
L
33612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3362
3363 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3364 __ILP32__.
3365
c7a6ab72
AB
33662012-04-13 Antoine Balestrat <merkil33@gmail.com>
3367
3368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3369 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3370
a9e8e0e0
CL
33712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3372
3373 [BZ #13973]
3374 * locale/iso-639.def: Fix gl language name. Spotted by
3375 Yaron Shahrabani.
3376
ec98af7d
RM
33772012-04-12 Roland McGrath <roland@hack.frob.com>
3378
3379 [BZ #2074]
3380 * libio/libio.h (__io_write_fn): Update comment.
3381
247c3ede
PB
33822012-04-12 Petr Baudis <pasky@ucw.cz>
3383
3384 [BZ #2074]
3385 * stdio.texi (Hook Functions): The user provided writer function
3386 is not allowed to return -1.
3387
55939d6d
DM
33882012-04-11 David S. Miller <davem@davemloft.net>
3389
3390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3391
90020f5a
MF
33922012-04-11 Mike Frysinger <vapier@gentoo.org>
3393
3394 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3395 Add a leading slash to rtkaio.
3396
288f9098
JM
33972012-04-11 Jim Meyering <meyering@redhat.com>
3398
90020f5a
MF
3399 [BZ #11959]
3400 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3401 It is not necessarily an error to ignore fwrite's return
3402 value. One can reliably use ferror to test for errors after
3403 the fact.
288f9098 3404
4be2b570
L
34052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * bits/types.h (__snseconds_t): New type.
3408 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3409
3410 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3412 (__SNSECONDS_T_TYPE): Likewise.
3413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3414 (__SNSECONDS_T_TYPE): Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3416 (__SNSECONDS_T_TYPE): Likewise.
3417
288f9098 34182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3419
3420 [BZ #2636]
3421 * manual/time.texi (Processor Time): Return type of times is
3422 elapsed real time since an arbitrary point in the past.
3423 (CPU Time): Move CLK_TCK from here...
3424 (Processor Time): ...to here. Correct description.
3425 * manual/conf.texi (Constants for Sysconf): Correct description of
3426 _SC_CLK_TCK.
3427
d7dd4413
DM
34282012-04-10 David S. Miller <davem@davemloft.net>
3429
3430 [BZ #13967]
3431 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3432 where the is a gap between DT_REL(A) and DT_JMPREL.
3433
b46068fc
L
34342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3435
3436 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3437 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3438 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3439
73d65cc3
SP
34402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3441
3442 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3443 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3444 (dl_main): Handle --inhibit-cache.
3445 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3446 _dl_inhibit_cache.
3447 * elf/dl-load.c (_dl_map_object): Use it.
3448 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3449
bcc8d661
JM
34502012-04-09 Joseph Myers <joseph@codesourcery.com>
3451
8f9a2fae
JM
3452 [BZ #13872]
3453 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3454 (__ieee754_powl): Saturate large exponents rather than testing for
3455 overflow of y*log2(x).
3456 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3457 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3458 exceptions.
3459
bcc8d661
JM
3460 [BZ #11521]
3461 * math/s_ctan.c: Include <float.h>.
3462 (__ctan): Avoid internal overflow or cancellation in calculating
3463 denominator.
3464 * math/s_ctanf.c: Likewise.
3465 * math/s_ctanl.c: Likewise.
3466 * math/s_ctanh.c: Likewise.
3467 * math/s_ctanhf.c: Likewise.
3468 * math/s_ctanhl.c: Likewise.
3469 * math/libm-test.inc (ctan_test): Add more tests.
3470 (ctanh_test): Likewise.
3471 * sysdeps/i386/fpu/libm-test-ulps: Update.
3472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3473
823fbbb4
AJ
34742012-04-09 Andreas Jaeger <aj@suse.de>
3475
03879793
AJ
3476 [BZ #6894]
3477 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3478 is an optional BSD extension.
3479
823fbbb4
AJ
3480 [BZ #10254]
3481 * manual/stdio.texi (Opening Streams): Document additional fopen
3482 parameters.
3483
8de131cb
RM
34842012-04-09 Roland McGrath <roland@hack.frob.com>
3485
3486 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3487 %eax without telling the compiler.
3488
c0ed9d7d
CD
34892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3490
3491 [BZ # 13963]
3492 * manual/install.texi: Use sourceware.org.
3493
c483f6b4
JM
34942012-04-09 Joseph Myers <joseph@codesourcery.com>
3495
d7dd9453
JM
3496 [BZ #13873]
3497 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3498 (__ieee754_pow): Generate overflow and underflow using huge*huge
3499 and tiny*tiny rather than just returning constant infinity or zero
3500 for large exponents.
3501 * math/libm-test.inc (pow_test): Require overflow exceptions for
3502 applicable cases of large exponents.
3503
c483f6b4
JM
3504 [BZ #706]
3505 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3506 (__ieee754_pow): Use iterative multiplication algorithm only for
3507 integer exponents with absolute value below 1024. Check for odd
3508 integer exponents when using algorithm for real exponents.
3509 * math/libm-test.inc (pow_test): Add more tests.
3510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3511
d2de7579
JM
35122012-04-08 Joseph Myers <joseph@codesourcery.com>
3513
3514 [BZ #13705]
3515 * math/libm-test.inc (exp_test): Do not allow overflow exception
3516 on underflow test.
3517
f77f1232
AJ
35182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3519
3520 [BZ #13705]
3521 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3522 instead of __kernel_standard_f.
3523
3884932b
MF
35242012-04-08 Mike Frysinger <vapier@gentoo.org>
3525
3526 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3527 * sysdeps/x86_64/memset_chk.S: Likewise.
3528
54472e9c
AJ
35292012-04-08 Andreas Jaeger <aj@suse.de>
3530
6ab0fbfc
AJ
3531 [BZ #10153]
3532 * manual/startup.texi (Environment Access): Describe return value
3533 for putenv and setenv.
3534
61efba8c
AJ
3535 [BZ #6895]
3536 * manual/filesys.texi (Directory Entries): Add description for
3537 DT_LNK.
3538
95c3f29a
AJ
3539 [BZ #6890]
3540 * manual/filesys.texi (Directory Entries): Clarify that it's file
3541 system not operating system in the description of DT_UNKNOWN.
3542
54472e9c
AJ
3543 [BZ #6578]
3544 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3545
624254b1
SC
35462012-04-08 Stephen Compall <s11@member.fsf.org>
3547
3548 [BZ #6649]
3549 * manual/llio.texi (Opening and Closing Files): Add cross
3550 reference to explain mode argument.
3551
1e4920e0
MF
35522012-04-07 Mike Frysinger <vapier@gentoo.org>
3553
3554 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3555 * sysdeps/x86_64/memset_chk.S: Likewise.
3556
5ed848f3
DM
35572012-04-07 David S. Miller <davem@davemloft.net>
3558
3559 * elf/elf.h (R_SPARC_WDISP10): Define.
3560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3561 R_SPARC_SIZE32.
3562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3563 R_SPARC_SIZE64 and R_SPARC_H34.
3564
96154cd8
CD
35652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3566
3567 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3568 conditions and remove no longer applicable assertion.
3569
9904dc47
L
35702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 * bits/byteswap.h: Include <features.h>.
3573 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3574 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3575
f8887d0a
L
35762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 * bits/byteswap.h (__bswap_16): Removed.
3579 Include <bits/byteswap-16.h> to get __bswap_16.
3580 * sysdeps/i386/bits/byteswap.h: Likewise.
3581 * sysdeps/s390/bits/byteswap.h: Likewise.
3582 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3583 * bits/byteswap-16.h: New file.
3584 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3585 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3586 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3587 * string/Makefile (headers): Add bits/byteswap-16.h.
3588
62470f60
PP
35892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3590
3591 [BZ #13895]
3592 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3593 extra indirection.
3594 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3595 * nss/tst-nss-static.c: New.
3596
4dad7bab
RM
35972012-04-06 Robert Millan <rmh@gnu.org>
3598
3599 [BZ #6486]
3600 * manual/llio.texi (File Position Primitive): lseek
3601 refers to WHENCE when it really means OFFSET.
3602
e9142a17
AJ
36032012-04-06 Andreas Jaeger <aj@suse.de>
3604
2c040eff
AJ
3605 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3606 strncmp declarations.
3607
e9142a17
AJ
3608 * abilist/libc.abilist: Add __poll and __ppoll.
3609
ff9f1c5f
DM
36102012-04-05 David S. Miller <davem@davemloft.net>
3611
dcd2ae90
DM
3612 * scripts/check-local-headers.sh: Accept a host triplet in the
3613 path matched by the exclude regexp.
3614
993eb054
DM
3615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3616 definition.
3617 * sysdeps/powerpc/powerpc32/dl-machine.h
3618 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3619 * sysdeps/s390/s390-32/dl-machine.h
3620 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3621 * sysdeps/sparc/sparc32/dl-machine.h
3622 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3623 * sysdeps/sparc/sparc64/dl-machine.h
3624 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3625
ff9f1c5f
DM
3626 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3627 lazy binding.
48e2e132 3628 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3629 undefined symbol errors.
3630
48e2e132 3631 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3632 DT_NEEDED entries.
3633
e80d6f94
MM
36342012-04-05 Michael Matz <matz@suse.de>
3635
3636 [BZ #13592]
3637 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3638
349fa79f
AJ
36392012-04-05 Andreas Jaeger <aj@suse.de>
3640
3641 [BZ #13908]
3642 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3643 comment.
3644
f402708f
KK
36452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3646
3647 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3648 which ROUND is no valid rounding mode.
3649
2ecccfc9
KK
36502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3651
3652 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3653 read again.
3654 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3655
8a53f50f
KK
36562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3657
3658 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3659 an exception using FPU order intentionally.
3660
36612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3662
3663 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3664 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3665 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3666 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3667
d653abb7
SJ
36682012-04-05 Simon Josefsson <simon@josefsson.org>
3669
3670 [BZ #12340]
3671 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3672 EINVAL when BUFLEN is too smal.
3673
c3b1bf7d
TS
36742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3675
3676 [BZ #13553]
3677 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3678 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3679
b1aa60f3
AJ
36802012-04-03 Andreas Jaeger <aj@suse.de>
3681
c3b1bf7d 3682 [BZ #13938]
67f60a26
AJ
3683 * manual/setjmp.texi (System V contexts): Fix sentence.
3684
b1aa60f3
AJ
3685 [BZ #13926]
3686 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3687 New macro for this case.
3688 [!__GNUC__] (__bswap_64): New inline function for this case.
3689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3690 * bits/byteswap.h: Likewise.
3691 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3692 ull, guard with __GLIBC_HAVE_LONG_LONG.
3693
3694 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3695 __GLIBC_HAVE_LONG_LONG.
3696
3697 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3698 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3699
39c59c35
TMQMF
37002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3701
3702 [BZ #13691]
3703 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3704 inptr and inend, rather than using last_ch.
3705
135ffda8
DM
37062012-04-02 David S. Miller <davem@davemloft.net>
3707
3708 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3709 * stdio-common/printf-parse.h (read_int): Change return type to
3710 'int', return -1 on INT_MAX overflow.
3711 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3712 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3713 overflows INT_MAX. Check for overflow of in-format-string precision
3714 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3715 SIZE_MAX not INT_MAX for integer overflow test.
3716 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3717 skip the construct in the format string but do not record anything.
3718 * stdio-common/bug22.c: Adjust to test both width/prevision
3719 INT_MAX overflow as well as total length INT_MAX overflow. Check
3720 explicitly for proper errno values.
3721
228c019e
TS
37222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3723
302cadd3
TS
3724 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3725 CHAR_MAX.
3726 * string/test-strcmp.c [! WIDE]: Likewise.
3727 * time/tst-mktime2.c: Likewise for INT_MAX.
3728 * string/test-string.h: #include <sys/param.h> for MIN.
3729
228c019e
TS
3730 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3731 * sysdeps/i386/init-first.c (init): Likewise.
3732 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3733 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3734 * sysdeps/sh/init-first.c (init): Likewise.
3735
cfa633f5
UD
37362012-04-01 Ulrich Drepper <drepper@gmail.com>
3737
3738 * po/ru.po: Update from translation team.
d1635ef8 3739 * po/vi.po: Likewise.
cfa633f5 3740
6cd0a5ea
SP
37412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 * resolv/nss_dns/dns-host.c: Merge copyright years.
3744
4b43400f
LD
37452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3746
3747 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3748 Optimize memcpy with prefetch if
3749 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3750 src, dst pointers have unequal 16 byte alignments.
3751
48c41d04
SP
37522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3753
3754 [BZ #13928]
3755 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3756 from a CNAME entry and return the minimum ttl for the query.
3757 (gaih_getanswer_slice): Likewise.
3758
b8dc394d
JL
37592012-03-30 Jeff Law <law@redhat.com>
3760
3761 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3762 due to long keys.
3763 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3764 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3765
2f5a5ed0
JL
3766 * resolv/nss_dns/dns-host.c: Update copyright year.
3767
1d39e359
UD
37682012-03-30 Ulrich Drepper <drepper@gmail.com>
3769
c030f70c 3770 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3771 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3772
1d39e359
UD
3773 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3774 comments for sendmmsg.
3775
37762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3777
3778 [BZ #13691]
3779 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3780 with only 1 character between 0x0041 and 0x01b0.
3781 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3782 * wcsmbs/tst-mbsnrtowcs.c: New file.
3783
20fde227
DM
37842012-03-29 David S. Miller <davem@davemloft.net>
3785
3786 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3787 small copies by hand.
3788
984a4237
JL
37892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3790
3791 [BZ #13761]
3792 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3793 _nss_compat_initgroups_dyn): Fall back to malloc/free
3794 for large group memberships.
3795
18c9d62b
DM
37962012-03-28 David S. Miller <davem@davemloft.net>
3797
88d85d4f
DM
3798 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3799 that branches into memcpy.
3800 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3801 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3803 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3805 bits.
3806 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3807 implementation too.
3808 * sysdeps/sparc/mempcpy.S: New file.
3809
e5aa83e1
DM
3810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3811 the IFUNC routine in the libc case.
3812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3813
88570753
DM
3814 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3815 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3816 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3817 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3818 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3819 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3820 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3821 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3822
249d7567
DM
3823 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3824 loop to 256 bytes instead of 64 bytes and fix test signedness.
3825
18c9d62b
DM
3826 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3827 * sysdeps/sparc/sparc32/Makefile: rather than here...
3828 * sysdeps/sparc/sparc64/Makefile: and here.
3829
05f3d1f6
UD
38302012-03-28 Ulrich Drepper <drepper@gmail.com>
3831
3832 * malloc/mallocbug.c: Avoid warnings about unused variables.
3833
86ae07a8
JL
38342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3835
3836 [BZ #13760]
3837 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3838 in the right place. Discard and retry query if response is
3839 larger than input buffer size.
3840
41bf21a1
JM
38412012-03-28 Joseph Myers <joseph@codesourcery.com>
3842
d6270972
JM
3843 [BZ #369]
3844 [BZ #2678]
3845 [BZ #3866]
3846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3847 x for large integer exponent.
3848 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3849 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3850 sign of result as needed afterwards.
3851 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3852 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3853 result for underflowing pow the same as for overflow.
3854 (__kernel_standard_l): Handle powl overflow and underflow here
3855 rather than calling __kernel_standard.
3856 * math/libm-test.inc (pow_test): Add more tests.
3857
414fca03 3858 [BZ #3868]
41bf21a1
JM
3859 [BZ #13879]
3860 [BZ #13910]
3861 [BZ #13911]
3862 [BZ #13912]
3863 [BZ #13913]
3864 [BZ #13915]
3865 [BZ #13916]
3866 [BZ #13917]
3867 [BZ #13918]
3868 [BZ #13919]
3869 [BZ #13920]
3870 [BZ #13921]
3871 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3872 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3873 (__kernel_standard_l): New function.
3874 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3875 __kernel_standard.
3876 * math/w_acosl.c (__acosl): Likewise.
3877 * math/w_asinl.c (__asinl): Likewise.
3878 * math/w_atan2l.c (__atan2l): Likewise.
3879 * math/w_atanhl.c (__atanhl): Likewise.
3880 * math/w_coshl.c (__coshl): Likewise.
3881 * math/w_exp10l.c (__exp10l): Likewise.
3882 * math/w_exp2l.c (__exp2l): Likewise.
3883 * math/w_fmodl.c (__fmodl): Likewise.
3884 * math/w_hypotl.c (__hypotl): Likewise.
3885 * math/w_j0l.c (__j0l, __y0l): Likewise.
3886 * math/w_j1l.c (__j1l, __y1l): Likewise.
3887 * math/w_jnl.c (__jnl, __ynl): Likewise.
3888 * math/w_lgammal.c (__lgammal): Likewise.
3889 * math/w_log10l.c (__log10l): Likewise.
3890 * math/w_log2l.c (__log2l): Likewise.
3891 * math/w_logl.c (__logl): Likewise.
3892 * math/w_powl.c (__powl): Likewise.
3893 * math/w_remainderl.c (__remainderl): Likewise.
3894 * math/w_scalbl.c (sysv_scalbl): Likewise.
3895 * math/w_sinhl.c (__sinhl): Likewise.
3896 * math/w_sqrtl.c (__sqrtl): Likewise.
3897 * math/w_tgammal.c (__tgammal): Likewise.
3898 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3899 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3900 * math/libm-test.inc (acos_test): Add more tests.
3901 (acosh_test): Likewise.
3902 (asin_test): Likewise.
3903 (atanh_test): Likewise.
3904 (exp_test): Likewise.
3905 (exp10_test): Likewise.
3906 (exp2_test): Likewise.
3907 (expm1_test): Likewise.
3908 (lgamma_test): Likewise.
3909 (log_test): Likewise.
3910 (log10_test): Likewise.
3911 (log1p_test): Likewise.
3912 (log2_test): Likewise.
3913 (pow_test): Do not allow some spurious overflow exceptions.
3914 (sqrt_test): Add more tests.
3915 (tgamma_test): Likewise.
3916 (y0_test): Likewise.
3917 (y1_test): Likewise.
3918 (yn_test): Likewise.
3919
dd62fda6
AB
39202012-03-27 Anton Blanchard <anton@samba.org>
3921
3922 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3923 MAP_HUGETLB.
3924 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3925 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3926 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3927
1e3cdfda
AJ
39282012-03-27 David S. Miller <davem@davemloft.net>
3929
b855ab85
DM
3930 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3931
1e3cdfda
AJ
3932 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3933 have-as-vis3 check.
3934
39352012-03-27 Andreas Jaeger <aj@suse.de>
3936
3937 * sysdeps/x86_64/elf/configure.in: Moved to ...
3938 * sysdeps/x86_64/configure.in: ... here.
3939 * sysdeps/x86_64/elf/start.S: Moved to ...
3940 * sysdeps/x86_64/start.S: ... here.
3941 * sysdeps/x86_64/elf/configure: Delete.
3942
3943 * sysdeps/x86_64/configure.in: Merge contents from
3944 sysdeps/i386/configure.in (without i686 check).
3945
3946 * sysdeps/i386/elf/Versions: Merge into ...
3947 * sysdeps/i386/Versions: ... this.
3948 * sysdeps/i386/elf/Versions: Delete file.
3949 * sysdeps/i386/elf/start.S: Moved to ...
3950 * sysdeps/i386/start.S: ...here.
3951 * sysdeps/i386/elf/configure.in: Merge into...
3952 * sysdeps/i386/configure.in: ...here.
3953 * sysdeps/i386/elf/configure.in: Delete file.
3954 * sysdeps/i386/elf/configure: Delete file.
3955
3956 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3957 * debug/backtracesyms.c: ... here.
3958 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3959 * debug/backtracesymsfd.c: ... here.
3960 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3961 * sysdeps/generic/ifunc-sel.h: ... here.
3962
3963 * sysdeps/unix/i386/start.c: Delete file.
3964 * sysdeps/unix/sparc/start.c: Delete file.
3965 * sysdeps/unix/start.c: Delete file.
3966
3967 * sysdeps/sh/elf/configure.in: Moved to ...
3968 * sysdeps/sh/configure.in: ... here.
3969 * sysdeps/sh/elf/start.S: Moved to ...
3970 * sysdeps/sh/start.S: ... here.
3971 * sysdeps/sh/elf/configure: Delete file.
3972
3973 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3974 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3975 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3976 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3977 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3978 * sysdeps/powerpc/powerpc64/start.S: here.
3979 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3980 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3981 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3982 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3983 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3984
3985 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3986 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3987 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3988 * sysdeps/powerpc/powerpc32/start.S: ... here.
3989 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3990 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3991 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3992
3993 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3994 * sysdeps/powerpc/ifunc-sel.h: ... here.
3995 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3996 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3997
3998 * sysdeps/sparc/elf/configure.in: Moved to ...
3999 * sysdeps/sparc/configure.in: ... here.
4000 * sysdeps/sparc/elf/configure: Delete file.
4001 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4002 * sysdeps/sparc/sparc32/start.S: ... here.
4003 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4004 * sysdeps/sparc/sparc64/start.S: ... here.
4005 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4006 * sysdeps/sparc/sparc32/Makefile: ... this.
4007 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4008 * sysdeps/sparc/sparc64/Makefile: ... this.
4009
4010 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4011 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4012 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4013 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4014 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4015 * sysdeps/s390/s390-32/setjmp.S: ... here.
4016 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4017 * sysdeps/s390/s390-32/configure.in: ... here.
4018 * sysdeps/s390/s390-32/elf/configure: Delete file.
4019 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4020 * sysdeps/s390/s390-32/start.S: ... here.
4021
4022 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4023 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4024 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4025 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4026 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4027 * sysdeps/s390/s390-64/setjmp.S: ... here.
4028 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4029 * sysdeps/s390/s390-64/configure.in: ... here
4030 * sysdeps/s390/s390-64/elf/configure: Delete file.
4031 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4032 * sysdeps/s390/s390-64/start.S: ... here.
4033 * sysdeps/s390/s390-64/elf/configure: Delete.
4034
4035 * configure.in: Remove support for elf directories in sysdeps.
4036
4037 * configure: Regenerated.
4038 * sysdeps/i386/configure: Regenerated.
4039 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4040 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4041 * sysdeps/s390/s390-32/configure: Regenerated.
4042 * sysdeps/s390/s390-64/configure: Regenerated.
4043 * sysdeps/sh/configure: Regenerated.
4044 * sysdeps/sparc/configure: Regenerated.
4045 * sysdeps/x86_64/configure: Regenerated.
4046
a3f61311
AS
40472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4048
c876e002
AS
4049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4050
a3f61311
AS
4051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4052 denormal result into account.
4053
ac4c54f0
RM
40542012-03-25 Roland McGrath <roland@hack.frob.com>
4055
4056 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4057 Reported by Allan McRae <allan@archlinux.org>.
4058
6a9b9c02
JL
40592012-03-23 Jeff Law <law@redhat.com>
4060
4061 * nss/getnssent.c (__nss_getent): Fix typo.
4062
4c42a0c1
DM
40632012-03-23 David S. Miller <davem@davemloft.net>
4064
4065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4066
1532c7ac
L
40672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4070 to pad to uint64_t for each field.
4071 (dl_tls_index): Replace unsigned long with uint64_t.
4072
3ff42526
PP
40732012-03-23 Daniel Jacobowitz <dmj@google.com>
4074 Paul Pluzhnikov <ppluzhnikov@google.com>
4075
4076 [BZ #6528]
4077 * grp/Makefile (otherlibs): Don't set it.
4078 * inet/Makefile (otherlibs): Likewise.
4079 * login/Makefile (otherlibs): Likewise.
4080 * nscd/Makefile (otherlibs): Likewise.
4081 * posix/Makefile (otherlibs): Likewise.
4082 * pwd/Makefile (otherlibs): Likewise.
4083 * rt/Makefile (otherlibs): Likewise.
4084 * sunrpc/Makefile (otherlibs): Likewise.
4085 * nss/Makefile (otherlibs): Likewise.
4086 Add libnss_files to routines and static-only-routines.
4087 ($(objpfx)getent): Remove rule.
4088 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4089 static-only-routines.
4090
7c69cd14
JM
40912012-03-22 Joseph Myers <joseph@codesourcery.com>
4092
4093 [BZ #13892]
4094 * math/s_cexp.c: Include <float.h>.
4095 (__cexp): Handle exp result overflowing not necessarily
4096 overflowing both real and imaginary parts of result.
4097 * math/s_cexpf.c: Likewise.
4098 * math/s_cexpl.c: Likewise.
4099 * math/libm-test.inc (cexp_test): Add more tests.
4100 * sysdeps/i386/fpu/libm-test-ulps: Update.
4101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102
81b035fe
L
41032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 * include/link.h (ELFW): New macro.
4106 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4107 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4108
1da7940c
L
41092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4112 with uint64_t.
4113
b749dbb9
L
41142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4115
4116 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4117 declaration.
4118 (struct La_x32_retval): Likewise.
4119
2ff87f3f
L
41202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 * sysdeps/x86_64/preconfigure.in: New file.
4123 * sysdeps/x86_64/preconfigure: New generated file.
4124
c0df8e69
JM
41252012-03-22 Joseph Myers <joseph@codesourcery.com>
4126
48e44791
JM
4127 [BZ #13824]
4128 * math/e_exp2l.c: Include <float.h>.
4129 (__ieee754_exp2l): Handle overflow and underflow cases
4130 separately. Only pass fractional part of argument to
4131 __ieee754_expl.
4132 * math/libm-test.inc (exp2_test): Add more tests.
4133
c0df8e69
JM
4134 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4135 negating x to take absolute value.
4136 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4137 Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4140 Likewise.
4141 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4142 computing low part if x was negated.
4143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4144
c8e43ba7
L
41452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4146
4147 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4148 la_x32_gnu_pltexit.
4149 (pltexit): Cast int_retval to ptrdiff_t.
4150 * elf/tst-auditmod3b.c: Likewise.
4151 * elf/tst-auditmod4b.c: Likewise.
4152 * elf/tst-auditmod5b.c: Likewise.
4153 * elf/tst-auditmod6b.c: Likewise.
4154 * elf/tst-auditmod6c.c: Likewise.
4155 * elf/tst-auditmod7b.c: Likewise.
4156
4157 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4158 and x32_gnu_pltexit.
4159
4160 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4161 __ELF_NATIVE_CLASS.
4162 (La_x32_regs): New macro.
4163 (La_x32_retval): Likewise.
4164 (la_x32_gnu_pltenter): New function prototype.
4165 (la_x32_gnu_pltexit): Likewise.
4166
7998fa78
AS
41672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4168
dcb33988
AS
4169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4170 exponent.
4171
233fc563
AS
4172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4173
7998fa78
AS
4174 * configure.in (libc_cv_cc_nofma): Check for option to disable
4175 generation of FMA instructions.
4176 * configure: Regenerate.
4177 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4178 * sysdeps/ieee754/dbl-64/Makefile: New file.
4179 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4180 Remove brandred-fma4.
4181 (CFLAGS-brandred-fma4.c): Remove.
4182 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4183 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4184 define.
4185 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4186 define.
4187
8e95c99a
L
41882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4189
4190 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4191 LLONG_MAX != LONG_MAX.
4192 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4193 (_fitoa_word): Likewise.
4194 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4195 LLONG_MAX != LONG_MAX.
4196 * stdio-common/_itowa.h: Include <_itoa.h>.
4197 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4198 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4199 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4200 only if not defined.
4201 (_ITOA_WORD_TYPE): Likewise.
4202 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4203 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4204
6f4db457
DM
42052012-03-21 David S. Miller <davem@davemloft.net>
4206
4207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4208
7785fe5a
L
42092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4210
4211 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4212 of x86_64 when setting libc_cv_slibdir, libdir and
4213 libc_cv_localedir.
4214 * sysdeps/unix/sysv/linux/configure: Regenerated.
4215
4535cd55
JM
42162012-03-21 Joseph Myers <joseph@codesourcery.com>
4217
4218 * manual/lang.texi (Old Varargs): Remove section.
4219 (How Variadic): Update menu.
4220 (va_start): Do not mention varargs.h.
4221
17228132
TS
42222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4223 Joseph Myers <joseph@codesourcery.com>
4224
4225 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4226 link test.
4227 * configure: Regenerated.
4228
8149f976
TS
42292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4230
05f3d1f6
UD
4231 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4232 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4233 conformtest.pl
8149f976 4234
1a4ac776
JM
42352012-03-21 Joseph Myers <joseph@codesourcery.com>
4236
be22ce65
JM
4237 * NOTES: Remove.
4238 * Makefile (files-for-dist): Remove NOTES.
4239 (NOTES): Remove rule.
4240 * README: Don't refer to NOTES.
4241 * manual/creature.texi: Don't include macros.texi.
4242 * manual/intro.texi (creature.texi): Remove comment referring to
4243 NOTES.
4244
40b601fb
JM
4245 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4246 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4247 * configure: Regenerated.
4248 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4249 LIBC_TRY_CC_OPTION.
4250 (libc_cv_as_i686): Likewise.
4251 (libc_cv_cc_avx): Likewise.
4252 (libc_cv_cc_sse2avx): Likewise.
4253 (libc_cv_cc_fma4): Likewise.
4254 (libc_cv_cc_novzeroupper): Likewise.
4255 * sysdeps/i386/configure: Regenerated.
4256
1a4ac776
JM
4257 [BZ #13883]
4258 * sysdeps/i386/fpu/s_cexp.S: Remove.
4259 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4260 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4261 * math/libm-test.inc (cexp_test): Add more tests.
4262 * sysdeps/i386/fpu/libm-test-ulps: Update.
4263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264
a458e7fe
AM
42652012-03-21 Allan McRae <allan@archlinux.org>
4266
4267 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4268
0cb7efc5
JM
42692012-03-21 Joseph Myers <joseph@codesourcery.com>
4270
4271 [BZ #13871]
4272 * math/w_exp2.c: Do not include <float.h>.
4273 (o_threshold, u_threshold): Remove.
4274 (__exp2): Calculate result before checking finiteness and calling
4275 __kernel_standard.
4276 * math/w_exp2f.c: Likewise.
4277 * math/w_exp2l.c: Likewise.
4278 * math/libm-test.inc (exp2_test): Require overflow exception for
4279 1e6 input.
2460d3aa
JM
4280
4281 [BZ #3866]
4282 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4283 range of signed 64-bit integers before using fistpll. Remove
4284 checks for whether integers fit in mantissa bits.
4285 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4286 the range of signed 32-bit integers before using fistpl. Remove
4287 checks for whether integers fit in mantissa bits.
4288 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4289 (__ieee754_powl): Test for y outside the range of signed 64-bit
4290 integers before using fistpll. Reduce 64-bit values to 63-bit
4291 ones as needed.
4292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4293 divide-by-zero is raised for zero to large negative powers.
4294 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4295 (__ieee754_powl): Test for y outside the range of signed 64-bit
4296 integers before using fistpll. Reduce 64-bit values to 63-bit
4297 ones as needed.
4298 * math/libm-test.inc (pow_test): Add more tests.
4299
eb96ffb0
L
43002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4303 <stdio-common/_itoa.h>.
4304 * debug/segfault.c: Likewise.
4305 * elf/dl-cache.c: Likewise.
4306 * elf/dl-minimal.c: Likewise.
4307 * elf/dl-misc.c: Likewise.
4308 * elf/dl-sysdep.c: Likewise.
4309 * elf/dl-version.c: Likewise.
4310 * elf/rtld.c: Likewise.
4311 * hurd/hurdsock.c: Likewise.
4312 * hurd/lookup-retry.c: Likewise.
4313 * malloc/malloc.c: Likewise.
4314 * malloc/mtrace.c: Likewise.
4315 * nscd/nscd_getgr_r.c: Likewise.
4316 * nscd/nscd_getpw_r.c: Likewise.
4317 * nscd/nscd_getserv_r.c: Likewise.
4318 * posix/getopt_init.c: Likewise.
4319 * posix/wordexp.c: Likewise.
4320 * stdio-common/_itoa.c: Likewise.
4321 * stdio-common/printf_fphex.c: Likewise.
4322 * stdio-common/vfprintf.c: Likewise.
4323 * string/_strerror.c: Likewise.
4324 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4325 * sysdeps/i386/i686/hp-timing.h: Likewise.
4326 * sysdeps/mach/_strerror.c: Likewise.
4327 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4328 * sysdeps/mach/hurd/sethostid.c: Likewise.
4329 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4330 * sysdeps/mach/xpg-strerror.c: Likewise.
4331 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4333 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4334 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4335 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4336 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4337 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4338 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4339 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4340 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4341 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4342 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4343 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4344 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4345 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4346 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4349 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4350 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4351 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4352
4353 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4354
4355 * stdio-common/_itoa.h: Moved to ...
4356 * sysdeps/generic/_itoa.h: Here.
4357
4358 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4359
4360 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4361 instead of "_itoa.h" and "_itowa.h".
4362 * stdio-common/vfprintf.: Likewise.
4363
d1af992d
L
43642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4367 <bits/wordsize.h>.
4368 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4369 (__signbit): Likwise.
4370 (llrintf): Likwise.
4371 (llrint): Likwise.
4372
114883e0
L
43732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4374
4375 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4376 __WORDSIZE != 64.
4377
c135cc1b
JM
43782012-03-20 Joseph Myers <joseph@codesourcery.com>
4379
4380 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4381 OVERFLOW_EXCEPTION_OK.
4382 * math/libm-test.inc ("Philosophy"): Update comment about
4383 exception testing.
4384 (OVERFLOW_EXCEPTION): Define.
4385 (OVERFLOW_EXCEPTION_OK): Likewise.
4386 (INVALID_EXCEPTION_OK): Renumber.
4387 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4388 (IGNORE_ZERO_INF_SIGN): Likewise.
4389 (test_exceptions): Handle FE_OVERFLOW.
4390 (exp10_test): Expect overflow exceptions.
4391 (exp2_test): Likewise.
4392 (expm1_test): Likewise.
4393 (nextafter_test): Likewise.
4394 (pow_test): Likewise.
4395 (scalbn_test): Likewise.
4396 (scalbln_test): Likewise.
4397
95443d88
L
43982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4399
4400 * sysdeps/x86_64/bits/atomic.h
4401 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4402 64bit integer.
4403 (atomic_exchange_acq): Likewise.
4404 (__arch_exchange_and_add_body): Likewise.
4405 (__arch_add_body): Likewise.
4406 (atomic_add_negative): Likewise.
4407 (atomic_add_zero): Likewise.
4408
490df6c4
L
44092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4410
c2722551 4411 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4412 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4413
5e52b189
L
44142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4415
4416 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4417 Check __x86_64__ instead of __WORDSIZE.
4418
a9879d4c
L
44192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4422
5df98260
DM
44232012-03-19 David S. Miller <davem@davemloft.net>
4424
e1497744
DM
4425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4426
5df98260
DM
4427 * sysdeps/sparc/fpu/fenv_private.h: New file.
4428 * sysdeps/sparc/fpu/math_private.h: Use it.
4429 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4430 Remove.
4431 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4432 (libc_feholdexcept_setroundl): Remove.
4433 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4434 Remove.
4435 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4436 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4437
b4c35121
L
44382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4441 int64_t instead of long int.
4442 (INSERT_WORDS64): Likwise.
4443
56965fd7
L
44442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4447 _Unwind_GetCFA return to _Unwind_Ptr first.
4448
83d1aec8
JM
44492012-03-19 Joseph Myers <joseph@codesourcery.com>
4450
1897ad44
JM
4451 [BZ #13629]
4452 * math/s_clog.c: Include <float.h>.
4453 (__clog): Scale large or subnormal inputs.
4454 * math/s_clogf.c: Likewise.
4455 * math/s_clogl.c: Likewise.
4456 * math/s_clog10.c: Include <float.h>.
4457 (M_LOG10_2): Define.
4458 (__clog10): Scale large or subnormal inputs.
4459 * math/s_clog10f.c: Likewise.
4460 * math/s_clog10l.c: Likewise.
4461 * math/libm-test.inc (clog_test): Add more tests.
4462 (clog10_test): Likewise.
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465
7726d6a9
JM
4466 [BZ #11451]
4467 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4468 x and y.
4469 * math/libm-test.inc (atan2_test): Add another test.
4470
83d1aec8
JM
4471 * Makerules (common-objdir-compile): Remove.
4472 * sysdeps/unix/Makefile (config-generated): Do not add
4473 $(unix-generated) to variable.
4474 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4475 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4476 Remove rule.
4477 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4478 Likewise.
4479 [generic bits/local_lim.h] (before-compile): Do not append to
4480 variable.
4481 [generic bits/local_lim.h] (common-generated): Likewise.
4482 [generic sys/param.h] (before-compile): Do not append to variable.
4483 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4484 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4485 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4486 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4487 include.
4488 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4489 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4490 [generic sys/param.h] ($(addprefix
4491 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4492 [generic sys/param.h] (common-generated): Do not append to
4493 variable.
4494 [generic sys/param.h] (sysdep_headers): Likewise.
4495 [generic bits/errno.h] (before-compile): Do not append to
4496 variable.
4497 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4498 rule.
4499 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4500 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4501 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4502 [generic bits/errno.h] (common-generated): Do not append to
4503 variable.
4504 [generic bits/ioctls.h] (before-compile): Do not append to
4505 variable.
4506 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4507 rule.
4508 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4509 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4510 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4511 rule.
4512 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4513 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4514 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4515 [generic bits/ioctls.h] (common-generated): Do not append to
4516 variable.
4517 [generic sys/syscall.h] (syscall.h): Remove variable.
4518 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4519 rule.
4520 [generic sys/syscall.h] (before-compile): Do not append to
4521 variable.
4522 [generic sys/syscall.h] (common-generated): Likewise.
4523 * sysdeps/unix/errnos-tmpl.c: Remove file.
4524 * sysdeps/unix/errnos.awk: Likewise.
4525 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4526 * sysdeps/unix/ioctls.awk: Likewise.
4527 * sysdeps/unix/mk-local_lim.c: Likewise.
4528 * sysdeps/unix/snarf-ioctls: Likewise.
4529
4851a949
RH
45302012-03-19 Richard Henderson <rth@twiddle.net>
4531
bd37f2ee
RH
4532 * sysdeps/i386/fpu/fenv_private.h: New file.
4533 * sysdeps/i386/fpu/math_private.h: Use it.
4534 (math_opt_barrier, math_force_eval): Remove.
4535 (libc_feholdexcept_setround_53bit): Remove.
4536 (libc_feupdateenv_53bit): Remove.
4537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4538 (math_opt_barrier, math_force_eval): Remove.
4539 (libc_feholdexcept): Remove.
4540 (libc_feholdexcept_setround): Remove.
4541 (libc_fetestexcept, libc_fesetenv): Remove.
4542 (libc_feupdateenv_test): Remove.
4543 (libc_feupdateenv, libc_feholdsetround): Remove.
4544 (libc_feresetround): Remove.
4545
d0adc922
RH
4546 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4547 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4548
0fe0f1f8
RH
4549 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4550 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4551 (libc_feupdateenv_testl): New.
4552 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4553 (libc_feupdateenv_testf): New.
4554 (libc_feupdateenv): Use libc_feupdateenv_test.
4555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4557
eb92c487
RH
4558 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4559 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4560 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4561 (libc_feresetround_noex): New.
4562 (libc_feresetround_noexf): New.
4563 (libc_feresetround_noexl): New.
4564 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4565 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4566 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4567 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4568 SET_RESTORE_ROUND.
4569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4570 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4571 (__cos): Likewise.
4572 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4573 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4574 SET_RESTORE_ROUND_NOEX.
4575 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4576 SET_RESTORE_ROUND_NOEXF.
4577 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4578 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4579 (libc_feholdsetroundf): New.
4580 (libc_feresetround, libc_feresetroundf): New.
4581
7d2e8012
RH
4582 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4583 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4584 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4585
b4dabbb4
RH
4586 * sysdeps/generic/math_private.h: Include <fenv.h>.
4587 (default_libc_feholdexcept): New.
4588 (default_libc_feholdexcept_setround): New.
4589 (default_libc_fesetenv, default_libc_feupdateenv): New.
4590 (libc_feholdexcept): Only define if undefined.
4591 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4592 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4593 (libc_feholdexcept_setroundl): Likewise.
4594 (libc_feholdexcept_setround_53bit): Likewise.
4595 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4596 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4597 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4598 (libc_feupdateenv_53bit): Likewise.
4599 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4600 (libc_feholdexcept): Convert from macro to inline function.
4601 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4602 (libc_fesetenv, libc_feupdateenv): Likewise.
4603
4851a949
RH
4604 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4605 not previously defined.
4606 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4607 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4608 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4609 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4610 * sysdeps/ieee754/flt-32/math_private.h: New file.
4611 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4612 math_private.h below SET_FLOAT_WORD.
4613 (__isnan, __isinf_ns, __finite): Remove.
4614 (__isnanf, __isinf_nsf, __finitef): Remove.
4615
e79d442e
AS
46162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4617
4618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4619
90b80344
DM
46202012-03-17 David S. Miller <davem@davemloft.net>
4621
4622 [BZ #6471]
4623 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4624 for 2.16.
4625
edc21804
DM
46262012-03-16 David S. Miller <davem@davemloft.net>
4627
77e927af
DM
4628 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4629 warnings.
4630
374976dd
DM
4631 [BZ #6471]
4632 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4633 properly.
4634 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4635 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4636 sysdep_routines when subdir is sysvipc.
4637 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4638 __getshmlba helper.
4639
edc21804
DM
4640 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4641
473c3ef3
L
46422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4643
4644 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4645 [__LP64__].
4646
eb0f39b6
L
46472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4651 (__lround): Renamed to ...
4652 (__llround): This. Replace long int with long long int.
4653 Define lround functions as aliases of llround functions.
4654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4655
6b6cd74b
L
46562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4657
4658 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4659 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4660 adresses to uintptr_t. Replace "long int" and "unsigned long
4661 int" with "greg_t" on va_arg.
4662
f1a77b01
L
46632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4664
4665 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4666 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4667
4668 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4669 Move e_machine check before EI_CLASS check. Handle x32
4670 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4671 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4672 SKIP_EM_IA_64 and include
4673 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4674
4675 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4676 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4677 (add_system_dir): New macro.
4678
4679 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4680 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4681
11b90b9f
JM
46822012-03-16 Joseph Myers <joseph@codesourcery.com>
4683
c36e1d23
JM
4684 [BZ #2551]
4685 [BZ #2552]
4686 [BZ #2553]
4687 [BZ #2554]
4688 [BZ #2562]
4689 [BZ #2563]
4690 [BZ #2565]
4691 [BZ #2566]
4692 [BZ #2576]
4693 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4694 (y0): Likewise.
4695 * math/w_j0f.c (j0f): Likewise.
4696 (y0f): Likewise.
4697 * math/w_j0l.c (__j0l): Likewise.
4698 (__y0l): Likewise.
4699 * math/w_j1.c (j1): Likewise.
4700 (y1): Likewise.
4701 * math/w_j1f.c (j1f): Likewise.
4702 (y1f): Likewise.
4703 * math/w_j1l.c (__j1l): Likewise.
4704 (__y1l): Likewise.
4705 * math/w_jn.c (jn): Likewise.
4706 (yn): Likewise.
4707 * math/w_jnf.c (jnf): Likewise.
4708 (ynf): Likewise.
4709 * math/w_jnl.c (__jnl): Likewise.
4710 (__ynl): Likewise.
4711 * math/libm-test.inc (j0_test): Add more tests.
4712 (j1_test): Likewise.
4713 (jn_test): Likewise. Add trailing semicolon to existing test.
4714 (y0_test): Likewise.
4715 (y1_test): Likewise.
4716 * sysdeps/i386/fpu/libm-test-ulps: Update.
4717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4718
11b90b9f
JM
4719 [BZ #13851]
4720 [BZ #13854]
4721 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4722 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4723 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4725 (__tanl): Set errno for infinite argument.
4726 * sysdeps/i386/fpu/mptan.c: Remove.
4727 * sysdeps/i386/fpu/s_tan.S: Likewise.
4728 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4729 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4730 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4731 * math/libm-test.inc (tan_test): Add more tests and enable more
4732 tests for double and long double.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4735
6a1bd2a1
JK
47362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4737
4738 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4739 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4740
10a803e0
RM
47412012-03-16 Roland McGrath <roland@hack.frob.com>
4742
4743 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4744 * configure.in: Use it for both main tree and add-ons.
4745 * configure: Regenerated.
4746
f196c7f7
L
47472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4750
8848d99d
JM
47512012-03-16 Joseph Myers <joseph@codesourcery.com>
4752
96cbe7f4
JM
4753 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4754 in comment.
4755
8848d99d
JM
4756 [BZ #13851]
4757 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4758 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4762 infinite argument.
4763 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4765 != 0 for prec == 2.
4766 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4767 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4768 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4769 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4770 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4771 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4772 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4773 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4774 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4775 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4776 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4777 * math/libm-test.inc (cos_test): Add more tests and enable more
4778 tests for long double.
4779 (sin_test): Likewise.
4780 (sincos_test): Likewise.
4781 * sysdeps/i386/fpu/libm-test-ulps: Update.
4782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783
dd7f4703
DM
47842012-03-16 David S. Miller <davem@davemloft.net>
4785
4786 * sysdeps/sparc/fpu/math_private.h: New file.
4787
006f1daa
DM
47882012-03-15 David S. Miller <davem@davemloft.net>
4789
c0c83bc8
DM
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4791 file.
e6a62e18 4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4794 file.
e6a62e18
DM
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4801 sysdep routines.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4803
88cb87d9
DM
4804 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4805 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4806
006f1daa 4807 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4809 sparc-ifunc.h
006f1daa 4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4812 Likewise.
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4814 Likewise.
006f1daa
DM
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4819 Likewise.
006f1daa
DM
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4825 Likewise.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4827 Likewise.
006f1daa
DM
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4834 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4852
11e0098e
AS
48532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4854
4855 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4856 scaling.
4857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4858
e85b09d0
AJ
48592012-03-15 Andreas Jaeger <aj@suse.de>
4860
4861 [BZ #13852]
4862 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4863 ieee754/flt-32 implementation for sin, cos and sincos.
4864 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4865 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4866 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4867 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4868 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4869 ieee754/flt-32 implementation for tan.
4870
4871 * math/libm-test.inc (cos_test): Enable some large input tests for
4872 float as well
4873 (sin_test): Likewise.
4874 (sincos_test): Likewise.
4875 (tan_test): Add tests for large input.
4876
4877 * sysdeps/i386/fpu/libm-test-ulps: Update.
4878
81c64153
AJ
48792012-03-15 Andreas Jaeger <aj@suse.de>
4880
4881 [BZ #13658]
4882 * math/libm-test.inc (cos_test): Add more test cases.
4883 (sin_test): Likewise.
4884 (sincos_test): Likewise.
4885
7bbfa5c6
AJ
48862012-03-15 Andreas Jaeger <aj@suse.de>
4887
4888 [BZ #13837]
4889 * math/libm-test.inc (cos_test): Add a test case for large input
4890 value.
4891 (sin_test): Likewise.
4892 (sincos_test): Likewise.
4893
48942012-03-15 Andreas Jaeger <aj@suse.de>,
4895 Joseph Myers <joseph@codesourcery.com>
4896
4897 [BZ #13658]
0671f479 4898 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4899 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4900 * sysdeps/i386/fpu/branred.c: Likewise.
4901 * sysdeps/i386/fpu/dosincos.c: Likewise.
4902 * sysdeps/i386/fpu/mpa.c: Likewise.
4903 * sysdeps/i386/fpu/s_cos.S: Likewise.
4904 * sysdeps/i386/fpu/s_sin.S: Likewise.
4905 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4906 * sysdeps/i386/fpu/sincos32.c: Likewise.
4907
4908 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4909 Define.
4910 (libc_feupdateenv_53bit): Define.
4911 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4912 Define.
4913 (libc_feupdateenv_53bit): Define.
4914
4915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4916 53 bit (without extend i386 double precision).
4917
4918 * math/libm-test.inc (sincos_test): Add tests for large input.
4919 (sin): Likewise.
4920 (cos): Likewise.
4921
4922 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4923
9cad04ea
AS
49242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4925
4926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4927
f7062b9a
DM
49282012-03-15 David S. Miller <davem@davemloft.net>
4929
4930 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4931 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4932 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4933 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4946 file.
f7062b9a 4947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4949 file.
f7062b9a 4950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4952 file.
f7062b9a 4953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4955 file.
f7062b9a
DM
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4958 fmin/fmax sysdep routines.
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4960
7bd951ff
DM
49612012-03-14 David S. Miller <davem@davemloft.net>
4962
559398ab
DM
4963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4988 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4992 routines.
4993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4994 file.
559398ab 4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4997 file.
559398ab 4998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5000 file.
559398ab 5001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5003 file.
559398ab 5004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5006 file.
559398ab 5007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5009 file.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5011 file.
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5013 file.
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5015 file.
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5017 New file.
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5019 file.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5021 file.
559398ab 5022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5024 file.
559398ab 5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5027 file.
559398ab 5028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5030 file.
559398ab 5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5033 VIS3 routines.
559398ab
DM
5034
5035 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5036 New file.
5037
5a1c1e32
DM
5038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5039
eae47a36
DM
5040 * sysdeps/sparc/configure.in: New file.
5041 * sysdeps/sparc/configure: Generate.
5042 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5043 * configure: Regenerate.
5044 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5045 * config.make.in (have-as-vis3): New.
5046 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5047 available use -Av9d instead of -Av9a.
5048 * sysdeps/sparc/sparc64/Makefile: Likewise.
5049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5051 New file.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5053 file.
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5055 New file.
5056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5057 file.
eae47a36
DM
5058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5063
c0c83bc8
DM
5064 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5065 fzeros/fnegs to load 0x80000000 into a float register instead of
5066 using the stack.
7bd951ff
DM
5067 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5068
bd951ccb
JM
50692012-03-14 Joseph Myers <joseph@codesourcery.com>
5070
5071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5072 bits/syscall.h.
5073 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5074 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5075 ($(inst_includedir)/bits/syscall.h): Remove rule.
5076 ($(objpfx)bits/syscall.d): Include instead of
5077 $(objpfx)syscall-list.d.
5078 (generated): Change syscall-list.h and syscall-list.d to
5079 bits/syscall.h and bits/syscall.d.
5080
bb4e6db2
RM
50812012-03-14 Roland McGrath <roland@hack.frob.com>
5082
5083 [BZ #13846]
5084 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5085
aa4a2ae1
JM
50862012-03-14 Joseph Myers <joseph@codesourcery.com>
5087
e456826d
JM
5088 [BZ #13841]
5089 * math/s_csqrt.c: Include <float.h>.
5090 (__csqrt): Scale large or subnormal inputs.
5091 * math/s_csqrtf.c: Likewise.
5092 * math/s_csqrtl.c: Likewise.
5093 * math/libm-test.inc (csqrt_test): Add more tests.
5094 * sysdeps/i386/fpu/libm-test-ulps: Update.
5095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5096
aa4a2ae1
JM
5097 [BZ #13840]
5098 * math/libm-test.inc (hypot_test): Add more tests.
5099
7c10fd35
DM
51002012-03-13 David S. Miller <davem@davemloft.net>
5101
5102 [BZ #13840]
5103 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5104 double-precision for the calculation instead of scaling.
5105
f453b98b
JM
51062012-03-13 Joseph Myers <joseph@codesourcery.com>
5107
5108 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5109 manipulate bits before adding and subtracting TWO52[sx].
5110 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5112 Likewise.
5113 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5114
09a3453f
DM
51152012-03-13 David S. Miller <davem@davemloft.net>
5116
8e59da90
DM
5117 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5118 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5120 rtld-global-offsets.h
5121 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5122
2a8ab7f2
DM
5123 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5124 large parameters.
5125
10f62770
DM
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5127
5f0bdb18
DM
5128 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5129 'err' in the ifdef scope in which it is actually used.
5130
09a3453f
DM
5131 * nss/nss_db/db-init.c: Include string.h
5132
b4b2eb5e
DM
51332012-03-12 David S. Miller <davem@davemloft.net>
5134
98bb2f1c
DM
5135 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5136 masking out of the most significant byte of random value used.
5137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5138 Fix coding style in previous change.
5139
b4b2eb5e
DM
5140 * sysdeps/unix/sysv/linux/kernel-features.h
5141 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5142 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5143 expression.
5144 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5145 later.
5146
6e226b09
DM
51472012-03-11 David S. Miller <davem@davemloft.net>
5148
a1bcbd40
DM
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5150 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5152 for 'resultvar' otherwise things get truncated on 64-bit.
5153
cb9d6174
DM
5154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5155 Fix masking out of the most significant byte of random value used.
5156
6e226b09
DM
5157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5158
058c132d
AS
51592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5160
5161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5162
2d2cd515
DM
51632012-03-09 David S. Miller <davem@davemloft.net>
5164
5165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5166 variables with appropriate CPP guards.
5167 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5168 frame pointer, not the stack pointer. Correct layout comments. Fix test
5169 on resulting framesize and the management of the outregs buffer for pltexit.
5170 Preserve floating point return values across _dl_call_pltexit call.
5171 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5172 framesize and the management of the outregs buffer for pltexit.
5173 Preserve floating point return values across _dl_call_pltexit
5174 call.
5175 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5176 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5177 (print_exit): Fix format string for return register value.
5178
9a07f9d0
JM
51792012-03-10 Joseph Myers <joseph@codesourcery.com>
5180
5181 * sunrpc/Makefile (others): Add rpcgen.
5182 ($(objpfx)rpcgen): Remove special build rule and dependency on
5183 libc.
5184 * sunrpc/rpcgen.c: New file.
5185
547b5e30
PE
51862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5187
c524201a
PE
5188 [BZ #13673]
5189 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5190 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5191 * sysdeps/i386/crti.S: Likewise.
5192 * sysdeps/i386/crtn.S: Likewise.
5193 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5195 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5196 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5197 * sysdeps/sh/crti.S: Likewise.
5198 * sysdeps/sh/crtn.S: Likewise.
5199 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5200
7b6235f2
PE
5201 [BZ #13673]
5202 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5203 with URL.
5204 * locale/programs/locfile-kw.gperf: Likewise.
5205 * locale/programs/charmap-kw.h: Regenerated.
5206 * locale/programs/locfile-kw.h: Likewise.
5207
547b5e30
PE
5208 [BZ #13673]
5209 * intl/plural.y: Replace FSF snail mail address with URL.
5210 * intl/plural.c: Regenerated.
5211
5f0a5dae
RH
52122012-03-09 Richard Henderson <rth@twiddle.net>
5213
5214 * include/math_private.h: Remove file.
5215 * math/math_private.h: Move file ...
5216 * sysdeps/generic/math_private.h: ... here.
5217
b8c03620
RH
5218 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5219 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5220 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5221
4e234f5d 5222 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5223 and <math_private.h>.
5224 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5225 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5226 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5227 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5228 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5312 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5315 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5316 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5317 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5318 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5319 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5320 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5321 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5322 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5323 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5324 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5325 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5326 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5327 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5328 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5329 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5330 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5331 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5333 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5334 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5337 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5339 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5340 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5341 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5343 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5344 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5345 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5346 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5347 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5348 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5350 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5351 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5352 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5353 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5354 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5355 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5356 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5357 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5358 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5359 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5360 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5361 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5362 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5363 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5365 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5366 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5367 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5368 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5369 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5370 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5371 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5372 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5373 * sysdeps/ieee754/k_standard.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5506 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5522 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5523 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5534 * sysdeps/ieee754/s_lib_version.c: Likewise.
5535 * sysdeps/ieee754/s_matherr.c: Likewise.
5536 * sysdeps/ieee754/s_signgam.c: Likewise.
5537 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5538 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5539 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5540 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5541 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5542 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5543 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5544 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5545 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5546 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5547 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5548 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5549 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5550 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5551 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5552 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5553 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5554 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5555 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5557 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5558
1991fa03
JM
55592012-03-09 Joseph Myers <joseph@codesourcery.com>
5560
5561 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5562 * sunrpc/rpc_main.c: Likewise.
5563 * sunrpc/rpc_svcout.c: Likewise.
5564
60d6f5a6
DM
55652012-03-09 David S. Miller <davem@davemloft.net>
5566
5567 * include/math_private.h: New file.
5568
4962050e
JM
55692012-03-09 Joseph Myers <joseph@codesourcery.com>
5570
02a6f887
JM
5571 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5572 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5573 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5574 from <bits/socket_type.h>.
5575 (enum __socket_type): Don't define here.
5576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5578 bits/socket_type.h.
5579
c6e013c1
JM
5580 [BZ #13566]
5581 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5582 checking __USE_GNU.
5583
4962050e
JM
5584 * Makerules ($(inst_includedir)/%.h): New rule.
5585 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5586 (install-others): Remove variable setting.
5587 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5588
38842f45
RH
55892012-03-08 Richard Henderson <rth@twiddle.net>
5590
67bb6da6
RH
5591 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5592 from macro to inline function; merge with the
5593 !__LIBC_INTERNAL_MATH_INLINES version.
5594 (__ieee754_sqrtf): Likewise.
5595
15194b4b
RH
5596 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5597 to inline function.
5598 (__rintf, __floor, __floorf): Likewise.
5599
64e21ede
RH
5600 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5601 macro to inline function.
5602 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5603
38842f45
RH
5604 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5605 not <math/math_private.h>.
5606
c64bf5fe
DM
56072012-03-08 David S. Miller <davem@davemloft.net>
5608
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5610 copyright year.
5611 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5612
82d86f28
TS
56132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5614
5615 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5616 normalization.
5617 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5618 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5619
aea5d727
UD
56202012-03-08 Ulrich Drepper <drepper@gmail.com>
5621
5622 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5623 be defined individually, they must be defined as a block. Define
5624 S for printing a string instead of hidint the different by using a
5625 macro for adding the 'l'.
5626 * stdio-common/tst-fphex-wide.c: Adjust.
5627
70bca0a3
MP
56282012-03-07 Marek Polacek <polacek@redhat.com>
5629
5630 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5631
65b81130
MP
56322012-03-08 Marek Polacek <polacek@redhat.com>
5633
5634 [BZ #13806]
5635 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5636 * stdio-common/tst-fphex.c: Define a few macros to make the
5637 test reusable. Use them.
5638 * stdio-common/tst-fphex-wide.c: New file.
5639
07037eeb
JM
56402012-03-08 Joseph Myers <joseph@codesourcery.com>
5641
a7a93d50
JM
5642 [BZ #6911]
5643 * manual/macros.texi (gnusystems): New macro.
5644 (nongnusystems): Likewise.
5645 (gnulinuxhurdsystems): Likewise.
5646 (gnuhurdsystems): Likewise..
5647 (gnulinuxsystems): Likewise.
5648 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5649 variants of the GNU system, not "GNU system".
5650 * manual/conf.texi: Likewise.
5651 * manual/errno.texi: Likewise. Update example of errno macro
5652 expansion.
5653 * manual/filesys.texi: Likewise.
5654 (getumask): Document as specific to GNU/Hurd.
5655 * manual/install.texi: Likewise. Reword some references to
5656 GNU/Linux.
5657 * manual/intro.texi: Likewise.
5658 * manual/io.texi: Likewise.
5659 (File Name Portability): Detail which constraints are inapplicable
5660 to all GNU systems and which are only inapplicable to GNU/Hurd.
5661 * manual/job.texi: Likewise.
5662 * manual/llio.texi: Likewise.
5663 (O_NOCTTY): Document as present on GNU/Linux.
5664 * manual/maint.texi: Likewise.
5665 * manual/memory.texi: Likewise.
5666 * manual/pattern.texi: Likewise.
5667 * manual/pipe.texi: Likewise.
5668 * manual/process.texi: Likewise.
5669 * manual/resource.texi: Likewise.
5670 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5671 child on GNU/Hurd.
5672 * manual/setjmp.texi: Likewise.
5673 * manual/signal.texi: Likewise.
5674 * manual/startup.texi: Likewise.
5675 * manual/stdio.texi: Likewise.
5676 * manual/terminal.texi: Likewise.
5677 (ONLCR): Document as POSIX.
5678 (OXTABS): Document availability on GNU/Linux as XTABS.
5679 (ONOEOT): Document availability separately from other bits.
5680 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5681 * manual/time.texi: Likewise.
5682 * manual/users.texi: Likewise.
5683 * INSTALL: Regenerated.
5684 * sysdeps/gnu/errlist.c: Regenerated.
5685
07037eeb
JM
5686 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5687 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5688 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5689 puts.
5690 * configure: Regenerated.
5691
d1d3431a
JM
56922012-03-07 Joseph Myers <joseph@codesourcery.com>
5693
af6a1e37
JM
5694 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5695 default includes instead of AC_HEADER_CHECK.
5696 * sysdeps/i386/configure: Regenerated.
5697
d1d3431a
JM
5698 [BZ #10716]
5699 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5700 * math/s_cacoshf.c (__cacoshf): Likewise.
5701 * math/s_cacoshl.c (__cacoshl): Likewise.
5702 * math/s_casinh.c (__casinh): Set signs of result from argument.
5703 * math/s_casinhf.c (__casinhf): Likewise.
5704 * math/s_casinhl.c (__casinhl): Likewise.
5705 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5706 (casinh_test): Add more tests.
5707 * sysdeps/i386/fpu/libm-test-ulps: Update.
5708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709
482ff4da
UD
57102012-03-07 Ulrich Drepper <drepper@gmail.com>
5711
872fda05
UD
5712 * po/zh_TW.po: Update from translation team.
5713
a4300c7a
UD
5714 * login/Makefile (distribute): Remove variable.
5715 * catgets/Makefile: Likewise.
5716 * mach/Makefile: Likewise.
5717 * malloc/Makefile: Likewise.
5718 * misc/Makefile: Likewise.
5719 * iconv/Makefile: Likewise.
5720 * nscd/Makefile: Likewise.
5721 * hurd/Makefile: Likewise.
5722 * manual/Makefile: Likewise.
5723 * locale/Makefile: Likewise.
5724 * intl/Makefile: Likewise.
5725 * conform/Makefile: Likewise.
5726 * nss/Makefile: Likewise.
5727 * time/Makefile: Likewise.
5728 * soft-fp/Makefile: Likewise.
5729 * dirent/Makefile: Likewise.
5730 * gmon/Makefile: Likewise.
5731 * po/Makefile: Likewise.
5732 * rt/Makefile: Likewise.
5733 * socket/Makefile: Likewise.
5734 * math/Makefile: Likewise.
5735 * signal/Makefile: Likewise.
5736 * debug/Makefile: Likewise.
5737 * elf/Makefile: Likewise.
5738 * timezone/Makefile: Likewise.
5739 * stdlib/Makefile: Likewise.
5740 * iconvdata/Makefile: Likewise.
5741 * sunrpc/Makefile: Likewise.
5742 * io/Makefile: Likewise.
5743 * argp/Makefile: Likewise.
5744 * inet/Makefile: Likewise.
5745 * hesiod/Makefile: Likewise.
5746 * grp/Makefile: Likewise.
5747 * csu/Makefile: Likewise.
5748 * wctype/Makefile: Likewise.
5749 * crypt/Makefile: Likewise.
5750 * libio/Makefile: Likewise.
5751 * string/Makefile: Likewise.
5752 * nis/Makefile: Likewise.
5753 * resolv/Makefile: Likewise.
5754 * stdio-common/Makefile: Likewise.
5755 * wcsmbs/Makefile: Likewise.
5756 * dlfcn/Makefile: Likewise.
5757 * posix/Makefile: Likewise.
5758
3b7c4e74 5759 [BZ #6959]
482ff4da
UD
5760 * timezone/Makefile: Don't install timezone files, just the programs
5761 and scripts.
5762
f72ed77d
UD
57632012-03-06 Ulrich Drepper <drepper@gmail.com>
5764
a000466f
UD
5765 * nss/databases.def: Add missing gshadow entry.
5766
f72ed77d
UD
5767 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5768
a53b7a4e
MP
57692012-03-06 Marek Polacek <polacek@redhat.com>
5770
5771 [BZ #13726]
5772 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5773 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5774 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5775 * stdio-common/tst-long-dbl-fphex.c: New file.
5776
e9258400
DM
57772012-03-06 David S. Miller <davem@davemloft.net>
5778
5779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5780 (set_obp_int): New function.
5781 (get_obp_int): New function.
5782 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5784 Avoid unused variable warnings on 'val' and use builtin_expect.
5785 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5786 __builtin_expect.
e9258400
DM
5787 (INLINE_CLONE_SYSCALL): Likewise.
5788
3bd2c723
DM
57892012-03-05 David S. Miller <davem@davemloft.net>
5790
5791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5792
bbb78d03
AS
57932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5794
884c5db4
AS
5795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5796
bbb78d03
AS
5797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5798 only for |x| >= 40.
5799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5800
1c9f702a 58012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5802
5803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5804 Replace gettimeofday with __vdso_gettimeofday.
5805
7be16f82
RM
5806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5807 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5808 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5809
5810 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5811 time with __vdso_time.
5812
ed58a00f
JM
58132012-03-05 Joseph Myers <joseph@codesourcery.com>
5814
5815 * manual/lang.texi (size_t): Note types to which size_t may be
5816 equivalent with the GNU C Library, but do not describe when
5817 differences between them are significant.
5818
30ee4ced
AJ
58192012-03-05 Andreas Jaeger <aj@suse.de>
5820
5821 * sysdeps/i386/fpu/libm-test-ulps: Update.
5822
b7cd39e8
JM
58232012-03-05 Joseph Myers <joseph@codesourcery.com>
5824
5825 [BZ #3976]
5826 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5827 (__ieee754_pow): Save and restore rounding mode and use
5828 round-to-nearest for main computations.
5829 * math/libm-test.inc (pow_test_tonearest): New function.
5830 (pow_test_towardzero): Likewise.
5831 (pow_test_downward): Likewise.
5832 (pow_test_upward): Likewise.
5833 (main): Call the new functions.
5834 * sysdeps/i386/fpu/libm-test-ulps: Update.
5835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5836
5837 [BZ #3976]
5838 * math/libm-test.inc (cosh_test_tonearest): New function.
5839 (cosh_test_towardzero): Likewise.
5840 (cosh_test_downward): Likewise.
5841 (cosh_test_upward): Likewise.
5842 (sinh_test_tonearest): Likewise.
5843 (sinh_test_towardzero): Likewise.
5844 (sinh_test_downward): Likewise.
5845 (sinh_test_upward): Likewise.
5846 (main): Call the new functions.
5847 * sysdeps/i386/fpu/libm-test-ulps: Update.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849
6c6a98c9
TV
58502012-03-05 Tom de Vries <tom@codesourcery.com>
5851
5852 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5853 default stack guard is set in last bytes.
5854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5855
21bb2d2e 58562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5857
21bb2d2e 5858 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5859
21bb2d2e
AJ
5860 [BZ #13656]
5861 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5862 possibly allocate from heap instead of stack.
5863 * stdio-common/bug-vfprintf-nargs.c: New file.
5864 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5865
c6922934
AS
58662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5867
5868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5869
bc957d53
MP
58702012-03-03 Marek Polacek <polacek@redhat.com>
5871
5872 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5873 * math/math_private.h: Likewise.
5874 * stdlib/tst-strtod.c: Likewise.
5875 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5876 * sysdeps/x86_64/bits/atomic.h: Likewise.
5877
6358490d
DM
58782012-03-02 David S. Miller <davem@davemloft.net>
5879
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5884 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5885 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5886 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5887 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5888
01ae168d
RM
58892012-03-02 Roland McGrath <roland@hack.frob.com>
5890
d9a17c07
RM
5891 [BZ #13792]
5892 * manual/examples/README: New file, says the example source files
5893 can be used under GPL>=2.
5894 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5895 line containing just "*/".
5896 * manual/examples/add.c: Add copyright header (GPL>=2).
5897 * manual/examples/argp-ex1.c: Likewise.
5898 * manual/examples/argp-ex2.c: Likewise.
5899 * manual/examples/argp-ex3.c: Likewise.
5900 * manual/examples/argp-ex4.c: Likewise.
5901 * manual/examples/atexit.c: Likewise.
5902 * manual/examples/db.c: Likewise.
5903 * manual/examples/dir.c: Likewise.
5904 * manual/examples/dir2.c: Likewise.
5905 * manual/examples/execinfo.c: Likewise.
5906 * manual/examples/filecli.c: Likewise.
5907 * manual/examples/filesrv.c: Likewise.
5908 * manual/examples/fmtmsgexpl.c: Likewise.
5909 * manual/examples/genpass.c: Likewise.
5910 * manual/examples/inetcli.c: Likewise.
5911 * manual/examples/inetsrv.c: Likewise.
5912 * manual/examples/isockad.c: Likewise.
5913 * manual/examples/longopt.c: Likewise.
5914 * manual/examples/memopen.c: Likewise.
5915 * manual/examples/memstrm.c: Likewise.
5916 * manual/examples/mkfsock.c: Likewise.
5917 * manual/examples/mkisock.c: Likewise.
5918 * manual/examples/mygetpass.c: Likewise.
5919 * manual/examples/pipe.c: Likewise.
5920 * manual/examples/popen.c: Likewise.
5921 * manual/examples/rprintf.c: Likewise.
5922 * manual/examples/search.c: Likewise.
5923 * manual/examples/select.c: Likewise.
5924 * manual/examples/setjmp.c: Likewise.
5925 * manual/examples/sigh1.c: Likewise.
5926 * manual/examples/sigusr.c: Likewise.
5927 * manual/examples/stpcpy.c: Likewise.
5928 * manual/examples/strdupa.c: Likewise.
5929 * manual/examples/strftim.c: Likewise.
5930 * manual/examples/strncat.c: Likewise.
5931 * manual/examples/subopt.c: Likewise.
5932 * manual/examples/swapcontext.c: Likewise.
5933 * manual/examples/termios.c: Likewise.
5934 * manual/examples/testopt.c: Likewise.
5935 * manual/examples/testpass.c: Likewise.
5936 * manual/examples/timeval_subtract.c: Likewise.
5937
01ae168d
RM
5938 [BZ #13792]
5939 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5940 function to ...
5941 * manual/timeval_subtract.c.texi: ... here, new file.
5942
49efa33d
DM
59432012-03-02 David S. Miller <davem@davemloft.net>
5944
5945 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5946
28afd92d
JM
59472012-03-02 Joseph Myers <joseph@codesourcery.com>
5948
804360ed
JM
5949 [BZ #3976]
5950 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5951 (__sin): Save and restore rounding mode and use round-to-nearest
5952 for all computations.
5953 (__cos): Save and restore rounding mode and use round-to-nearest
5954 for all computations.
5955 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5956 <fenv.h>.
5957 (tan): Save and restore rounding mode and use round-to-nearest for
5958 all computations.
5959 * math/libm-test.inc (cos_test_tonearest): New function.
5960 (cos_test_towardzero): Likewise.
5961 (cos_test_downward): Likewise.
5962 (cos_test_upward): Likewise.
5963 (sin_test_tonearest): Likewise.
5964 (sin_test_towardzero): Likewise.
5965 (sin_test_downward): Likewise.
5966 (sin_test_upward): Likewise.
5967 (tan_test_tonearest): Likewise.
5968 (tan_test_towardzero): Likewise.
5969 (tan_test_downward): Likewise.
5970 (tan_test_upward): Likewise.
5971 (main): Call the new functions.
5972 * sysdeps/i386/fpu/libm-test-ulps: Update.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974
a6d06d7b
JM
5975 [BZ #10135]
5976 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5977 small n, then large n, before computing and testing k+n.
5978 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5980 Likewise.
5981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5982 Likewise.
5983 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5984 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5989 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5991 * math/libm-test.inc (scalbn_test): Add more tests.
5992 (scalbln_test): Likewise.
5993
07e12bb3
JM
5994 * manual/filesys.texi (mode_t): Describe constraints on size and
5995 signedness, not exact equivalence to a particular type.
5996 (ino_t): Likewise.
5997 (ino64_t): Likewise.
5998 (dev_t): Likewise.
5999 (nlink_t): Likewise.
6000 (blkcnt_t): Likewise.
6001 (blkcnt64_t): Likewise.
6002 * manual/llio.texi (off_t): Likewise.
6003
28afd92d
JM
6004 [BZ #3976]
6005 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6006 (__ieee754_exp): Save and restore rounding mode and use
6007 round-to-nearest for all computations.
6008 * math/libm-test.inc (exp_test_tonearest): New function.
6009 (exp_test_towardzero): Likewise.
6010 (exp_test_downward): Likewise.
6011 (exp_test_upward): Likewise.
6012 (main): Call the new functions.
6013 * sysdeps/i386/fpu/libm-test-ulps: Update.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6015
b1eeb65d
CD
60162012-03-01 Chris Demetriou <cgd@google.com>
6017
6018 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6019 have predictable order.
6020
53362a4b
DM
60212012-03-01 David S. Miller <davem@davemloft.net>
6022
3c969083
DM
6023 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6024
759707de
DM
6025 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6026 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6029
dfdb8ff2
DM
6030 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6031 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6032 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6034 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6035 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6036 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6037 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6038 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6039
ead89f96
DM
6040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6041
7f66bd07
DM
6042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6043 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6044 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6045
53362a4b
DM
6046 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6047 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6048 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6049 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6050 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6051 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6053 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6054 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6055 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6056 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6060 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6062 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6063 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6064 * sysdeps/sparc/elf/configure: Regenerated.
6065
7b1902cb
JM
60662012-03-01 Joseph Myers <joseph@codesourcery.com>
6067
bec039bc
JM
6068 * configure.in (AS, LD): Require binutils 2.20 or later.
6069 * configure: Regenerated.
6070 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6071 as required minimum version.
6072 * INSTALL: Regenerated.
6073
7b1902cb
JM
6074 [BZ #2541]
6075 [BZ #4108]
6076 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6077 before squaring exponent.
6078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6079 bottom long double and 27 bits of top long double before squaring
6080 exponent.
6081 * math/libm-test.inc (erfc_test): Add more tests.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085
f775c276
KT
60862012-03-01 Kai Tietz <ktietz@redhat.com>
6087
6088 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6089 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6090 containing bit-fields.
6091 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6092 * soft-fp/single.h (_FP_UNION_S): Likewise.
6093 * soft-fp/double.h (_FP_UNION_D): Likewise.
6094
5b8a4d4a
JM
60952012-02-29 Joseph Myers <joseph@codesourcery.com>
6096
0bab47b6
JM
6097 [BZ #13786]
6098 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6099 not include ../strcmp.S.
6100 [USE_AS_STRNCASECMP_L]: Likewise.
6101 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6102 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6103 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6104 (__strncasecmp_l_ia32): Define as alias to
6105 __strncasecmp_l_nonascii.
6106
0fcad3e2
JM
6107 [BZ #5794]
6108 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6111
5b8a4d4a
JM
6112 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6114
8fdceb2e
JL
61152012-02-29 Jeff Law <law@redhat.com>
6116
6117 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6118 out of bounds read.
6119
1f393a11
MP
61202012-02-29 Marek Polacek <polacek@redhat.com>
6121
6122 [BZ #13706]
6123 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6124 * elf/Makefile: Add rules to run tst-unused-dep.out.
6125
8847f037
DM
61262012-02-28 David S. Miller <davem@davemloft.net>
6127
6128 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6129 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6132 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6133 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6134
169d7f11
JM
61352012-02-29 Joseph Myers <joseph@codesourcery.com>
6136
6137 * math/libm-test.inc (llround_test): Move one test from
6138 lround_test. Use TEST_f_L in moved test.
6139 (lround_test): Move misplaced test to llround_test. Add testcase
6140 from bug 2561.
6141
39adf059
UD
61422012-02-28 Ulrich Drepper <drepper@gmail.com>
6143
6144 * sysdeps/x86_64/fpu/e_expf.S: New file.
6145 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6146
71b5d1c5
SB
61472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6148
6149 [BZ #13637]
6150 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6151 of remain_len that may cause incomplete multi-byte character and
6152 false match.
6153 * posix/bug-regex33.c: New file.
6154 * posix/Makefile (tests): Add bug-regex33.
6155
1f77f049
JM
61562012-02-28 Joseph Myers <joseph@codesourcery.com>
6157
6158 * manual/macros.texi: New file.
6159 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6160 * manual/libc.texinfo: Include macros.texi.
6161 * manual/creatute.texi: Likewise.
6162 * manual/install.texi: Likewise.
6163 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6164 @glibcadj{} in references to the GNU C Library.
6165 * manual/charset.texi: Likewise.
6166 * manual/conf.texi: Likewise.
6167 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6168 when not using those macros.
6169 * manual/creature.texi: Likewise.
6170 * manual/crypt.texi: Likewise.
6171 * manual/errno.texi: Likewise.
6172 * manual/filesys.texi: Likewise.
6173 * manual/header.texi: Likewise.
6174 * manual/install.texi: Likewise.
6175 * manual/intro.texi: Likewise.
6176 * manual/io.texi: Likewise.
6177 * manual/job.texi: Likewise.
6178 * manual/lang.texi: Likewise.
6179 * manual/libc.texiinfo: Likewise.
6180 * manual/llio.texi: Likewise.
6181 * manual/locale.texi: Likewise.
6182 * manual/maint.texi: Likewise.
6183 * manual/math.texi: Likewise.
6184 * manual/memory.texi: Likewise.
6185 * manual/message.texi: Likewise.
6186 * manual/nss.texi: Likewise.
6187 * manual/pattern.texi: Likewise.
6188 * manual/process.texi: Likewise.
6189 * manual/resource.texi: Likewise.
6190 * manual/search.texi: Likewise.
6191 * manual/setjmp.texi: Likewise.
6192 * manual/signal.texi: Likewise.
6193 * manual/socket.texi: Likewise.
6194 * manual/startup.texi: Likewise.
6195 * manual/stdio.texi: Likewise.
6196 * manual/string.texi: Likewise.
6197 * manual/sysinfo.texi: Likewise.
6198 * manual/syslog.texi: Likewise.
6199 * manual/terminal.texi: Likewise.
6200 * manual/time.texi: Likewise.
6201 * manual/users.texi: Likewise.
6202 * INSTALL: Regenerated.
6203 * NOTES: Regenerated.
d40c5d54 6204 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6205
450bf206
AS
62062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6207
6208 * include/dirent.h: Include <dirstream.h> before
6209 <dirent/dirent.h>.
6210
741a235b
DM
62112012-02-28 David S. Miller <davem@davemloft.net>
6212
6213 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6214 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6217
d6b5aa58
DM
62182012-02-27 David S. Miller <davem@davemloft.net>
6219
1aff59a3
DM
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6222 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6224
d6b5aa58
DM
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6226 frame pointer instead of stack pointer relative arg slot.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6228 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6230
433f48bf
CD
62312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6232
6233 [BZ #3992]
6234 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6235
d674b76d
DM
62362012-02-27 David S. Miller <davem@davemloft.net>
6237
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6242 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6243 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6244 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6245 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6246
0e7727f7
JM
62472012-02-27 Joseph Myers <joseph@codesourcery.com>
6248
6249 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6250 later. Allow versions 5-9.
43be4ca2 6251 * configure: Regenerated.
0e7727f7
JM
6252 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6253 required minimum version and 4.6 as recommended version. Do not
6254 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6255 * INSTALL: Regenerated.
0e7727f7 6256
a78bc654
DM
62572012-02-27 David S. Miller <davem@davemloft.net>
6258
428d5830
DM
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6263 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6266 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6267
a78bc654
DM
6268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6269 manipulate bits before adding and subtracting TWO112[sx].
6270 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6271
4579f81c
RM
62722012-02-27 Roland McGrath <roland@hack.frob.com>
6273
36c8acb4
RM
6274 [BZ #13775]
6275 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6276 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6277 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6278 being in POSIX, because they are in 1003.1-2008.
6279
84ad622b
RM
6280 * rt/tst-aio.c: Include <fcntl.h>.
6281 * rt/tst-aio7.c: Likewise.
6282 * rt/tst-aio64.c: Likewise.
6283
4579f81c
RM
6284 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6285
abd923db
JM
62862012-02-27 Joseph Myers <joseph@codesourcery.com>
6287
6288 * manual/install.texi (--with-headers): Describe headers as
6289 interface headers, not private headers.
6290 (Specific advice for GNU/Linux systems): Describe use of headers
6291 from "make headers_install", not private headers from older
6292 kernels.
43be4ca2 6293 * INSTALL: Regenerated.
abd923db
JM
6294 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6295 Change to 2.6.19.
6296 * sysdeps/unix/sysv/linux/configure: Regenerated.
6297
6664049b
JM
6298 * manual/llio.texi (fclean): Remove documentation.
6299
bb8b6697
JM
6300 * manual/Makefile (libc-texi-generated): New variable. Include
6301 version.texi.
6302 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6303 $(libc-texi-generated), not duplicated list of files.
6304 (version.texi, stamp-version): New rules.
6305 (realclean): Remove $(libc-texi-generated), not individual files
6306 from that list. Do not remove dir-add.texinfo.
6307 * manual/libc.texinfo: Comment out uses of edition numbers and
6308 references to printed manual. Remove last-updated dates.
6309 (EDITION): Comment out.
6310 (ISBN): Likewise.
6311 (VERSION, UPDATED): Remove.
6312 (version.texi): Include.
6313
12e5c3b9
AS
63142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6315
6316 * sysdeps/posix/spawni.c: Include <signal.h>.
6317 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6318 * sysdeps/pthread/aio_fsync.c: Likewise.
6319
4efeffc1 63202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6321
ba63ba08
UD
6322 * conform/Makefile (tests): Run only when not cross-compiling and
6323 when fast-check is not defined.
6324
d94a4670
UD
6325 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6326 * conform/data/limits.h-data: Fixes for POSIX2008.
6327 * conform/run-conformtest.sh: Run all tests.
6328 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6329 headers.
6330 * include/bits/dlfcn.h: Likewise.
6331 * include/langinfo.h: Likewise.
6332 * include/monetary.h: Likewise.
6333 * include/sys/poll.h: Likewise.
6334
6335 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6336 for __USE_GNU.
6337 * posix/spawn.h: Define __need_sigset_t.
6338 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6339 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6340 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6341 to get sigevent_t only.
6342 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6343 only for __USE_GNU.
6344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6345 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6346 process_vm_writev only for __USE_GNU.
6347 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6348
6349 * conform/Makefile: For now ignore errors from run-conformtest.
6350 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6351 POSIX to avoid namespace pollution. Don't prepend headers.
6352 * conform/data/aio.h-data: Fixes for POSIX testing.
6353 * conform/data/fcntl.h-data: Likewise.
6354 * conform/data/glob.h-data: Likewise.
6355 * conform/data/grp.h-data: Likewise.
6356 * conform/data/pthread.h-data: Likewise.
6357 * conform/data/pwd.h-data: Likewise.
6358 * conform/data/signal.h-data: Likewise.
6359 * conform/data/spawn.h-data: Likewise.
6360 * conform/data/stdio.h-data: Likewise.
6361 * conform/data/stdlib.h-data: Likewise.
6362 * conform/data/stropts.h-data: Likewise.
6363 * conform/data/sys/mman.h-data: Likewise.
6364 * conform/data/sys/stat.h-data: Likewise.
6365 * conform/data/sys/types.h-data: Likewise.
6366 * conform/data/sys/wait.h-data: Likewise.
6367 * conform/data/time.h-data: Likewise.
6368 * conform/data/unistd.h-data: Likewise.
6369 * conform/data/utime.h-data: Likewise.
6370
6371 * io/sys/stat.h: fchmod was always in POSIX.
6372 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6373 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6374 * rt/aio.h: Define __need_timespec before including <time.h>.
6375 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6376 struct. Add forward declaration of pthread_attr_t and use it in
6377 sigevent.
6378 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6380 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6381 always remove CLK_TCK definition.
6382
c20105c3
AS
63832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6384
6385 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6386
7a270350
UD
63872012-02-25 Ulrich Drepper <drepper@gmail.com>
6388
31341567
UD
6389 * conform/run-conformtest.sh: New file.
6390 * conform/Makefile: Run run-conformtest for tests.
6391 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6392 support.
6393
6394 * conform/data/uchar.h-data: New file.
6395 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6396 * conform/data/arpa/inet.h-data: Likewise.
6397 * conform/data/assert.h-data: Likewise.
6398 * conform/data/complex.h-data: Likewise.
6399 * conform/data/cpio.h-data: Likewise.
6400 * conform/data/ctype.h-data: Likewise.
6401 * conform/data/dirent.h-data: Likewise.
6402 * conform/data/dlfcn.h-data: Likewise.
6403 * conform/data/errno.h-data: Likewise.
6404 * conform/data/fcntl.h-data: Likewise.
6405 * conform/data/float.h-data: Likewise.
6406 * conform/data/fmtmsg.h-data: Likewise.
6407 * conform/data/fnmatch.h-data: Likewise.
6408 * conform/data/ftw.h-data: Likewise.
6409 * conform/data/glob.h-data: Likewise.
6410 * conform/data/grp.h-data: Likewise.
6411 * conform/data/iconv.h-data: Likewise.
6412 * conform/data/inttypes.h-data: Likewise.
6413 * conform/data/langinfo.h-data: Likewise.
6414 * conform/data/libgen.h-data: Likewise.
6415 * conform/data/limits.h-data: Likewise.
6416 * conform/data/locale.h-data: Likewise.
6417 * conform/data/math.h-data: Likewise.
6418 * conform/data/monetary.h-data: Likewise.
6419 * conform/data/mqueue.h-data: Likewise.
6420 * conform/data/ndbm.h-data: Likewise.
6421 * conform/data/net/if.h-data: Likewise.
6422 * conform/data/netdb.h-data: Likewise.
6423 * conform/data/netinet/in.h-data: Likewise.
6424 * conform/data/nl_types.h-data: Likewise.
6425 * conform/data/poll.h-data: Likewise.
6426 * conform/data/pthread.h-data: Likewise.
6427 * conform/data/pwd.h-data: Likewise.
6428 * conform/data/regex.h-data: Likewise.
6429 * conform/data/sched.h-data: Likewise.
6430 * conform/data/search.h-data: Likewise.
6431 * conform/data/semaphore.h-data: Likewise.
6432 * conform/data/setjmp.h-data: Likewise.
6433 * conform/data/signal.h-data: Likewise.
6434 * conform/data/spawn.h-data: Likewise.
6435 * conform/data/stdarg.h-data: Likewise.
6436 * conform/data/stdio.h-data: Likewise.
6437 * conform/data/stdlib.h-data: Likewise.
6438 * conform/data/string.h-data: Likewise.
6439 * conform/data/strings.h-data: Likewise.
6440 * conform/data/stropts.h-data: Likewise.
6441 * conform/data/sys/ipc.h-data: Likewise.
6442 * conform/data/sys/mman.h-data: Likewise.
6443 * conform/data/sys/msg.h-data: Likewise.
6444 * conform/data/sys/resource.h-data: Likewise.
6445 * conform/data/sys/select.h-data: Likewise.
6446 * conform/data/sys/sem.h-data: Likewise.
6447 * conform/data/sys/shm.h-data: Likewise.
6448 * conform/data/sys/socket.h-data: Likewise.
6449 * conform/data/sys/stat.h-data: Likewise.
6450 * conform/data/sys/statvfs.h-data: Likewise.
6451 * conform/data/sys/time.h-data: Likewise.
6452 * conform/data/sys/timeb.h-data: Likewise.
6453 * conform/data/sys/times.h-data: Likewise.
6454 * conform/data/sys/types.h-data: Likewise.
6455 * conform/data/sys/uio.h-data: Likewise.
6456 * conform/data/sys/un.h-data: Likewise.
6457 * conform/data/sys/utsname.h-data: Likewise.
6458 * conform/data/sys/wait.h-data: Likewise.
6459 * conform/data/syslog.h-data: Likewise.
6460 * conform/data/tar.h-data: Likewise.
6461 * conform/data/termios.h-data: Likewise.
6462 * conform/data/utime.h-data: Likewise.
6463 * conform/data/utmpx.h-data: Likewise.
6464 * conform/data/varargs.h-data: Likewise.
6465 * conform/data/wchar.h-data: Likewise.
6466 * conform/data/wctype.h-data: Likewise.
6467 * conform/data/wordexp.h-data: Likewise.
6468
6469 * include/stropts.h: New file.
6470 * include/uchar.h: New file.
6471 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6472 * include/assert.h: Likewise.
6473 * include/ctype.h: Likewise.
6474 * include/dirent.h: Likewise.
6475 * include/dlfcn.h: Likewise.
6476 * include/fcntl.h: Likewise.
6477 * include/fnmatch.h: Likewise.
6478 * include/glob.h: Likewise.
6479 * include/grp.h: Likewise.
6480 * include/libio.h: Likewise.
6481 * include/locale.h: Likewise.
6482 * include/math.h: Likewise.
6483 * include/net/if.h: Likewise.
6484 * include/netdb.h: Likewise.
6485 * include/netinet/in.h: Likewise.
6486 * include/pthread.h: Likewise.
6487 * include/pwd.h: Likewise.
6488 * include/regex.h: Likewise.
6489 * include/sched.h: Likewise.
6490 * include/search.h: Likewise.
6491 * include/setjmp.h: Likewise.
6492 * include/signal.h: Likewise.
6493 * include/stdio.h: Likewise.
6494 * include/stdlib.h: Likewise.
6495 * include/string.h: Likewise.
6496 * include/sys/cdefs.h: Likewise.
6497 * include/sys/mman.h: Likewise.
6498 * include/sys/msg.h: Likewise.
6499 * include/sys/resource.h: Likewise.
6500 * include/sys/select.h: Likewise.
6501 * include/sys/socket.h: Likewise.
6502 * include/sys/stat.h: Likewise.
6503 * include/sys/statvfs.h: Likewise.
6504 * include/sys/time.h: Likewise.
6505 * include/sys/times.h: Likewise.
6506 * include/sys/uio.h: Likewise.
6507 * include/sys/utsname.h: Likewise.
6508 * include/sys/wait.h: Likewise.
6509 * include/termios.h: Likewise.
6510 * include/time.h: Likewise.
6511 * include/ulimit.h: Likewise.
6512 * include/unistd.h: Likewise.
6513 * include/utime.h: Likewise.
6514 * include/wchar.h: Likewise.
6515 * include/wctype.h: Likewise.
6516 * include/wordexp.h: Likewise.
6517
6518 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6519
7a270350
UD
6520 * time/time.h: TIME_UTC must be a macro.
6521 Make timespec_get available for ISO C11 only as well.
6522
7724defc
UD
65232012-02-24 Ulrich Drepper <drepper@gmail.com>
6524
6525 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6526 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6527
6b1d1d46
JM
65282012-02-24 Joseph Myers <joseph@codesourcery.com>
6529
6530 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6531
0f8bbd69
JM
65322012-02-24 Joseph Myers <joseph@codesourcery.com>
6533
6534 * manual/texinfo.tex: Update to version 2012-01-19.16.
6535
66ab80bc
JM
65362012-02-24 Joseph Myers <joseph@codesourcery.com>
6537
6538 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6539
74981cc5
RM
65402012-02-24 Roland McGrath <roland@hack.frob.com>
6541
ee968201
RM
6542 [BZ #13738]
6543 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6544 * manual/fdl-1.3.texi: New file.
6545 * manual/fdl-1.1.texi: File removed.
6546
74981cc5
RM
6547 [BZ #13738]
6548 * manual/libc.texinfo (FDL_VERSION): New @set.
6549 Use it for mention of FDL in cover text.
6550 (Documentation License): Use it in @include file name.
6551
7bb764bc
JM
65522012-02-22 Joseph Myers <joseph@codesourcery.com>
6553 Roland McGrath <roland@hack.frob.com>
6554
6555 [BZ #5461]
6556 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6557 not LONG_LONG_MAX and LONG_LONG_MIN.
6558 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6559 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6560 name.
6561 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6562
6cbeae47
JM
65632012-02-22 Joseph Myers <joseph@codesourcery.com>
6564
6565 [BZ #2547]
6566 [BZ #11365]
6567 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6568 manipulate bits before adding and subtracting TWO23[sx].
6569 * math/libm-test.inc (nearbyint_test): Add more tests.
6570
fe45ce09
JM
65712012-02-22 Joseph Myers <joseph@codesourcery.com>
6572
6573 [BZ #2548]
6574 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6575 bits before adding and subtracting TWO23[sx].
6576 * math/libm-test.inc (rint_test): Add more tests.
6577 (rint_test_tonearest): Likewise.
6578 (rint_test_towardzero): Likewise.
6579 (rint_test_downward): Likewise.
6580 (rint_test_upward: Likewise.
6581
ff3b3d82
JM
65822012-02-22 Joseph Myers <joseph@codesourcery.com>
6583
6584 [BZ #10110]
6585 * include/stdc-predef.h: New file. Extracted from features.h.
6586 * include/features.h: Include stdc-predef.h.
6587 * Makefile (headers): Add stdc-predef.h.
6588 * CONFORMANCE (Compiler limitations): Update.
6589
ef0aab35
JM
65902012-02-22 Joseph Myers <joseph@codesourcery.com>
6591
6592 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6593
58639409
DM
65942012-02-21 David S. Miller <davem@davemloft.net>
6595
6596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6598
c0e70b25
DM
65992012-02-20 David S. Miller <davem@davemloft.net>
6600
6601 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6602 using a normal save/restore sequence, rather than allocating a
6603 dummy stack frame just to store a frame pointer and restore.
6604 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6605
fb06851d
JM
66062012-02-21 Joseph Myers <joseph@codesourcery.com>
6607
6608 * manual/install.texi: Fix stray word in line-wrapped comment.
6609
7a8b71c3
DM
66102012-02-20 David S. Miller <davem@davemloft.net>
6611
d510c123
DM
6612 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6613 both binutils and gcc support GOTDATA.
6614
0722d7c2
DM
6615 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6616 "rd %pc" in the PIC register setup sequences.
6617
3d2b3019
DM
6618 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6619 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6620 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6621 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6622 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6624 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6625 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6627 (SYSCALL_ERROR_HANDLER): Likewise.
6628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6631 (SYSCALL_ERROR_HANDLER): Likewise.
6632
c80098a9
DM
6633 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6634 (HAVE_GCC_GOTDATA): New.
6635 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6636 relocation support in both binutils and gcc.
6637 * sysdeps/sparc/elf/configure: Regenerate.
6638
3a2545a0
DM
6639 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6640 * sysdeps/sparc/sparc32/elf/configure: Delete.
6641 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6642 * sysdeps/sparc/sparc64/elf/configure: Delete.
6643 * sysdeps/sparc/elf/configure.in: New file.
6644 * sysdeps/sparc/elf/configure: Generate.
6645
7a8b71c3
DM
6646 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6647 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6648 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6649 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6650 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6651
f1e86fca
JM
66522012-02-21 Joseph Myers <joseph@codesourcery.com>
6653
6654 * manual/install.texi: Do not mention specific glibc version
6655 numbers.
6656 * manual/libc.texinfo (VERSION, UPDATED): Update.
6657 (@copying): Use @copyright{} and range of years.
6658
0e7dfaef
JM
66592012-02-21 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #13695]
6662 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6663 [crti.S not in sysdirs] (generated): Do not append.
6664 [crti.S not in sysdirs] (omit-deps): Likewise.
6665 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6666 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6667 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6668 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6669 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6670 Likewise.
6671 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6672 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6673 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6674 * csu/defs.awk: Remove file.
6675 * sysdeps/generic/initfini.c: Likewise.
6676 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6677 variable.
6678 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6679 Likewise.
6680
599af3ca
JM
66812012-02-20 Joseph Myers <joseph@codesourcery.com>
6682
6683 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6684 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6685 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6688 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6689 <bits/epoll.h>.
6690 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6691 (__EPOLL_PACKED): Define to empty if not defined by
6692 <bits/epoll.h>.
6693 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6695 bits/epoll.h.
6696
0e499750
JM
66972012-02-20 Joseph Myers <joseph@codesourcery.com>
6698
6699 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6700 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6702 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6703 <bits/timerfd.h>.
6704 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6706 bits/timerfd.h.
6707
5ad91f6e
JM
67082012-02-20 Joseph Myers <joseph@codesourcery.com>
6709
6710 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6711 in C locale.
6712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6713 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6716
06b99b02
AJ
67172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6718
6719 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6720 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6721
7638c0fd
AS
67222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6723
6724 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6725 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6726 defined.
6727 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6728 Likewise.
6729 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6730 entry for 2.16.
6731
92221550
AJ
67322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6733
6734 * math/w_acos.c: Use non-signaling floating-point comparisons.
6735 * math/w_acosf.c: Likewise.
6736 * math/w_acosh.c: Likewise.
6737 * math/w_acoshf.c: Likewise.
6738 * math/w_acoshl.c: Likewise.
6739 * math/w_acosl.c: Likewise.
6740 * math/w_asin.c: Likewise.
6741 * math/w_asinf.c: Likewise.
6742 * math/w_asinl.c: Likewise.
6743 * math/w_atanh.c: Likewise.
6744 * math/w_atanhf.c: Likewise.
6745 * math/w_atanhl.c: Likewise.
6746 * math/w_exp2.c: Likewise.
6747 * math/w_exp2f.c: Likewise.
6748 * math/w_exp2l.c: Likewise.
6749 * math/w_j0.c: Likewise.
6750 * math/w_j0f.c: Likewise.
6751 * math/w_j0l.c: Likewise.
6752 * math/w_j1.c: Likewise.
6753 * math/w_j1f.c: Likewise.
6754 * math/w_j1l.c: Likewise.
6755 * math/w_jn.c: Likewise.
6756 * math/w_jnf.c: Likewise.
6757 * math/w_log.c: Likewise.
6758 * math/w_log10.c: Likewise.
6759 * math/w_log10f.c: Likewise.
6760 * math/w_log10l.c: Likewise.
6761 * math/w_log2.c: Likewise.
6762 * math/w_log2f.c: Likewise.
6763 * math/w_log2l.c: Likewise.
6764 * math/w_logf.c: Likewise.
6765 * math/w_logl.c: Likewise.
6766 * math/w_sqrt.c: Likewise.
6767 * math/w_sqrtf.c: Likewise.
6768 * math/w_sqrtl.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6774
ebaf36eb
JM
67752012-02-19 Joseph Myers <joseph@codesourcery.com>
6776
6777 [BZ #9739]
6778 * manual/string.texi (strnlen): Use correct parameter name in
6779 equivalent expression.
6780
71c254a6
JM
67812012-02-19 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #11174]
6784 * manual/users.texi (seteuid): Consistently use neweuid for
6785 argument name.
6786
16d2c631
JM
67872012-02-19 Joseph Myers <joseph@codesourcery.com>
6788
6789 [BZ #13704]
6790 * manual/nss.texi (Services in the NSS configuration): Correct
6791 list of services in example configuration file.
6792
cd837b09
NB
67932012-02-19 Nick Bowler <nbowler@draconx.ca>
6794
6795 [BZ #11322]
6796 * manual/arith.texi: Remove statements about negative zero
6797 behaving identically to zero.
6798
02c4bbad
JM
67992012-02-18 Joseph Myers <joseph@codesourcery.com>
6800
6801 [BZ #5993]
6802 * manual/install.texi: Do not document upgrading from libc5.
6803
366842e7
JM
68042012-02-18 Joseph Myers <joseph@codesourcery.com>
6805
6806 [BZ #4596]
6807 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6808
dd54084d
DM
68092012-02-18 David S. Miller <davem@davemloft.net>
6810
6811 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6812 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6813 %o7 across the call.
6814 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6815 instead.
6816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6817 SETUP_PIC_REG_LEAF.
6818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6819 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6820 * sysdeps/sparc/crtn.S: Likewise.
6821
2bcc53a3
UD
68222012-02-17 Ulrich Drepper <drepper@gmail.com>
6823
6824 * aout/Makefile: Remove.
6825
09c093b5
RK
68262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6827
6828 [BZ #13058]
6829 * manual/examples/argp-ex1.c (main): Format definition in GNU
6830 style.
6831 * manual/examples/argp-ex2.c (main): Likewise.
6832 * manual/examples/argp-ex3.c (main): Likewise.
6833 * manual/examples/argp-ex4.c (main): Likewise.
6834 * manual/examples/longopt.c (main): Use new-style prototype
6835 definition.
6836 * manual/examples/strncat.c (main): Specify return type and use
6837 (void) for arguments.
6838 * manual/examples/subopt.c (main): Use char **argv argument.
6839
2ee633a2
JM
68402012-02-17 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #5077]
6843 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6844 rounding modes.
6845
0520adde
FB
68462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6847
6848 [BZ #6907]
6849 * manual/string.texi (strchr): Change when strchrnul is
6850 recommended.
6851
3f4081cd
DGM
68522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6853
6854 [BZ #174]
6855 * manual/locale.texi (setlocale): Document LOCPATH.
6856
d1b10e78
JM
68572012-02-17 Joseph Myers <joseph@codesourcery.com>
6858
6859 [BZ #10210]
6860 * manual/process.texi (execle): Move @dots{} before last argument.
6861
79c6869c
PB
68622012-02-17 Paul Bolle <pebolle@tiscali.nl>
6863
6864 [BZ #12047]
6865 * manual/charset.texi (Generic Charset Conversion): Fix typo
6866 (LC_TYPE -> LC_CTYPE).
6867
cc6e48bc
NB
68682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6869
6870 [BZ #5805]
6871 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6872 (scalbnf): Likewise.
6873 (scalbnl): Likewise.
6874 (scalbln): Likewise.
6875 (scalblnf): Likewise.
6876 (scalblnl): Likewise.
6877 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6878 (vwarnx): Likewise.
6879 (verr): Likewise.
6880 (verrx): Likewise.
6881 * manual/filesys.texi (telldir): Use braces around return type.
6882 * manual/llio.texi (mmap): Add space after comma.
6883 (mmap64): Likewise.
6884 * manual/math.texi (jn): Use @var{} on parameter names.
6885 (jnf): Likewise.
6886 (jnl): Likewise.
6887 (yn): Likewise.
6888 (ynf): Likewise.
6889 (ynl): Likewise.
6890 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6891 line.
6892 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6893 "...".
6894 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6895 (sched_get_priority_max): Likewise.
6896 * manual/signal.texi (sigvec): Add space after comma.
6897 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6898 names.
6899 (if_indextoname): Likewise.
6900 (if_freenameindex): Likewise.
6901 (sendto): Use ',' instead of '.' in prototype.
6902 * manual/startup.texi (syscall): Use @dots{} instead of literal
6903 "...".
6904 * manual/stdio.texi (__fpending): Separate initial words of
6905 paragraph from @deftypefun line.
6906 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6907 "...".
6908 (vsyslog): Use @var{} on parameter names.
6909 * manual/terminal.texi (stty): Use @var{} on parameter names.
6910 * manual/users.texi (getutmp): Use @var{} on parameter names.
6911 (getutmpx): Likewise.
6912
5b23062f
JM
69132012-02-17 Joseph Myers <joseph@codesourcery.com>
6914
6915 [BZ #6884]
6916 * manual/stdio.texi (fopen): Fix typos in description of
6917 ",ccs=STRING".
6918
8dee4833
AJ
69192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6920
6921 [BZ #4026]
6922 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6923 get clock_id definition.
6924
9078ce93
TS
69252012-02-17 Thomas Schwinge <thomas@schwinge.name>
6926
6927 [BZ #4822]
6928 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6929 (madvise): Cast every argument to void on its own.
6930
3835c55f
JM
69312012-02-17 Joseph Myers <joseph@codesourcery.com>
6932
6933 [BZ #9902]
6934 * manual/startup.texi (Exit Status): Fix typo.
6935
35c47e37
JM
69362012-02-17 Joseph Myers <joseph@codesourcery.com>
6937
6938 [BZ #10140]
6939 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6940 * manual/examples/argp-ex2.c: Likewise.
6941 * manual/examples/argp-ex3.c: Likewise.
6942
e3b69ca7
RH
69432012-02-16 Richard Henderson <rth@redhat.com>
6944
6945 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6946 * sysdeps/s390/s390-32/initfini.c: Remove.
6947 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6948 * sysdeps/s390/s390-64/initfini.c: Remove.
6949
df83af67
KK
69502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6951
6952 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6953 compiler output for sysdeps/generic/initfini.c.
6954 * sysdeps/sh/elf/initfini.c: Remove file.
6955
f63f3380
DM
69562012-02-16 David S. Miller <davem@davemloft.net>
6957
fb59b3a4
DM
6958 [BZ #11494]
6959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6960
f63f3380
DM
6961 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6962 * sysdeps/sparc/crti.S: New file.
6963 * sysdeps/sparc/crtn.S: New file.
6964 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6965 * sysdeps/sparc/sparc64/Makefile: Likewise.
6966
df6a4a4a
MF
69672012-02-15 Mike Frysinger <vapier@gentoo.org>
6968
6dd8f3dc 6969 [BZ #3335]
df6a4a4a
MF
6970 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6971
1cac7236
RM
69722012-02-15 Roland McGrath <roland@hack.frob.com>
6973
d2c736f8
RM
6974 [BZ #4822]
6975 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6976
1cac7236
RM
6977 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6978 (write, read, close): Likewise.
6979 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6980
8e475601
JM
69812012-02-15 Joseph Myers <joseph@codesourcery.com>
6982
6983 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6984 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6986 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6987 <bits/signalfd.h>.
6988 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6990 bits/signalfd.h.
6991
ed656b40
MP
69922012-02-14 Marek Polacek <polacek@redhat.com>
6993
6994 * sysdeps/x86_64/crti.S: New file.
6995 * sysdeps/x86_64/crtn.S: New file.
6996 * sysdeps/x86_64/elf/initfini.c: Remove file.
6997
2a979d3a
JM
69982012-02-13 Joseph Myers <joseph@codesourcery.com>
6999
7000 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7001 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7002 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7003 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7004 <bits/inotify.h>.
7005 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7007 bits/inotify.h.
7008
2a418ac3
JM
70092012-02-13 Joseph Myers <joseph@codesourcery.com>
7010
7011 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7012 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7013 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7014 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7015 <bits/eventfd.h>.
7016 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7018 bits/eventfd.h.
7019
fb779be7
TS
70202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7021
e19e83c5
RM
7022 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7023 __feraiseexcept instead of feraiseexcept.
7c35ffed 7024
fb779be7
TS
7025 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7026 nanosleep invocations.
7027 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7028 strings, and add error checking for a nanosleep invocations.
7029
59ba27a6
PE
70302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7031
7032 Replace FSF snail mail address with URLs, as per GNU coding standards.
7033 Most of the snail mail addresses were wrong anyway, and omitting
7034 them makes the source code easier to maintain. Almost all of the
7035 changes are to license notices and to locale LC_IDENTIFICATION
7036 addresses, except for this one:
7037 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7038 not its snail mail address.
7039
57b957eb
RH
70402012-02-09 Richard Henderson <rth@twiddle.net>
7041
af850b1c
RH
7042 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7043 of kernel-features.h.
7044
57b957eb
RH
7045 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7046
6b73181a
MP
70472012-02-08 Marek Polacek <polacek@redhat.com>
7048
7049 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7050 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7051 * sysdeps/gnu/_G_config.h: Likewise.
7052 * sysdeps/generic/_G_config.h: Likewise.
7053
26ecc33a
AS
70542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7055
6c6dbc63
AS
7056 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7057 tests.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059
e216c012
AS
7060 * sysdeps/powerpc/powerpc32/crti.S: New file.
7061 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7062 * sysdeps/powerpc/powerpc64/crti.S: New file.
7063 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7064
26ecc33a
AS
7065 * Makeconfig (have-initfini): Don't set.
7066 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7067 * configure.in (nopic_initfini): Don't substitute.
7068 * config.h.in (HAVE_INITFINI): Don't #undef.
7069 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7070 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7071
3add8e13
JM
70722012-02-08 Joseph Myers <joseph@codesourcery.com>
7073
7074 Support crti.S and crtn.S provided directly by architectures.
7075 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7076 [crti.S in sysdirs] (omit-deps): Likewise.
7077 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7078 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7079 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7080 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7081 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7082 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7083 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7084 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7085 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7086 compiler output for sysdeps/generic/initfini.c.
7087 * sysdeps/i386/elf/Makefile: Remove file.
7088 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7089
a22f12b4
MP
70902012-02-07 Marek Polacek <polacek@redhat.com>
7091
7092 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7093 * sysdeps/gnu/_G_config.h: Likewise.
7094 * sysdeps/mach/hurd/_G_config.h: Likewise.
7095
148cf100
MP
70962012-02-07 Marek Polacek <polacek@redhat.com>
7097
7098 * math/Makefile (tests): Add tst-CMPLX2.
7099 * math/tst-CMPLX2.c: New file.
7100
cfdc0dd7
AS
71012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7102
84ba42c4
AS
7103 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7104
cfdc0dd7
AS
7105 * math/libm-test.inc (jn_test): Add missing L suffix.
7106
622c86f4
MP
71072012-02-06 Marek Polacek <polacek@redhat.com>
7108
7109 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7110 * sysdeps/i386/fpu/e_powf.S: Likewise.
7111 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7112 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7114 * sysdeps/i386/fpu/e_pow.S: Likewise.
7115 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7116 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7117 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7118 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7119 * sysdeps/i386/fpu/e_log2.S: Likewise.
7120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7122 * sysdeps/i386/fpu/e_powl.S: Likewise.
7123 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7124 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7125 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7126 * sysdeps/i386/fpu/e_logl.S: Likewise.
7127 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7128 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7129 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7130 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7131 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7132 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7133 * sysdeps/i386/fpu/e_log.S: Likewise.
7134 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7135 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7136 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7137 * sysdeps/i386/fpu/e_logf.S: Likewise.
7138 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7139 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7140 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7141 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7142 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7143 * sysdeps/i386/fpu/e_log10.S: Likewise.
7144 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7145 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7146 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7147 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7148 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7149 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7150 * sysdeps/i386/asm-syntax.h: Likewise.
7151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7153 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7154 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7155 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7156 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7157 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7158 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7159 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7160 * sysdeps/powerpc/sysdep.h: Likewise.
7161 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7162 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7163
d4a54ac6
JM
71642012-02-06 Joseph Myers <joseph@codesourcery.com>
7165
7166 [BZ #411]
7167 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7168
314054ea
JM
71692012-02-06 Joseph Myers <joseph@codesourcery.com>
7170
7171 * sysdeps/i386/sysdep.h: Include <features.h>.
7172 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7173 version.
7174
d8e0ca50
JM
71752012-02-05 Joseph Myers <joseph@codesourcery.com>
7176
7177 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7178 Define.
7179 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7180 LOAD_PIC_REG_STR.
7181
b1da7dd9
JM
71822012-02-03 Joseph Myers <joseph@codesourcery.com>
7183
7184 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7185 (SETUP_PIC_REG): Use GET_PC_THUNK.
7186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7187 macro.
7188
9a1d9254
JM
71892012-02-03 Joseph Myers <joseph@codesourcery.com>
7190
7191 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7192 for non-PIC compilation.
7193 (SETUP_PIC_REG): Add .p2align directive.
7194 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7195 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7206 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7207 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7208 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7209 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7210 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7211 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7212 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7213 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7214 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7215 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7216 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7217 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7222 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7223 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7224 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7225 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7226 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7227 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7228 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7229 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7230 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7231 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7232 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7233 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7234 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7235
65dc3b75
JM
72362012-02-03 Joseph Myers <joseph@codesourcery.com>
7237
7238 * math/tst-CMPLX.c: Include <stdio.h>.
7239
d55bf177
JM
72402012-01-31 Joseph Myers <joseph@codesourcery.com>
7241
7242 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7243 float.
7244 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7245 * sysdeps/sparc/bits/mathdef.h: Likewise.
7246
69db4f8f
MP
72472012-01-31 Marek Polacek <polacek@redhat.com>
7248
7249 * libio/libio.h: Don't define _PARAMS.
7250 * locale/programs/config.h: Don't define PARAMS.
7251 * stdlib/strtol_l.c: Likewise.
7252 (__strtol_l): Remove PARAMS from the prototype.
7253
41b81892
UD
72542012-01-31 Ulrich Drepper <drepper@gmail.com>
7255
3b49edc0
UD
7256 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7257 names. Just use the correct names. Remove unnecessary wrapper
7258 functions.
7259 * malloc/arena.c: Likewise.
7260 * malloc/hooks.c: Likewise.
7261
41b81892
UD
7262 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7263 ARENA_TEST says not to. Simplify test for creation of a new arena.
7264 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7265
27a25b6e
UD
72662012-01-30 Ulrich Drepper <drepper@gmail.com>
7267
7268 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7269 into tail calls.
7270 (update_get_addr): New function.
7271 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7272 GET_ADDR_MODULE parameter.
7273
c8a89e7d
JM
72742012-01-30 Joseph Myers <joseph@codesourcery.com>
7275
7276 * crypt/cert.c: Remove __STDC__ conditionals.
7277 * crypt/crypt-entry.c: Likewise.
7278 * crypt/crypt_util.c: Likewise.
7279 * libio/filedoalloc.c: Likewise.
7280 * libio/fileops.c: Likewise.
7281 * libio/genops.c: Likewise.
7282 * libio/iofclose.c: Likewise.
7283 * libio/iofdopen.c: Likewise.
7284 * libio/iofopen.c: Likewise.
7285 * libio/iofopen64.c: Likewise.
7286 * libio/iogetdelim.c: Likewise.
7287 * libio/iopopen.c: Likewise.
7288 * libio/obprintf.c: Likewise.
7289 * libio/oldfileops.c: Likewise.
7290 * libio/oldiofclose.c: Likewise.
7291 * libio/oldiofdopen.c: Likewise.
7292 * libio/oldiofopen.c: Likewise.
7293 * libio/oldiopopen.c: Likewise.
7294 * libio/wfiledoalloc.c: Likewise.
7295 * libio/wgenops.c: Likewise.
7296 * locale/programs/xmalloc.c: Likewise.
7297 * misc/syslog.c: Likewise.
7298 * stdio-common/xbug.c: Likewise.
7299 * string/memchr.c: Likewise.
7300 * string/memcmp.c: Likewise.
7301 * string/memrchr.c: Likewise.
7302 * string/rawmemchr.c: Likewise.
7303 * sysdeps/posix/getcwd.c: Likewise.
7304 * time/strftime_l.c: Likewise.
7305
3b100462
JM
73062012-01-30 Joseph Myers <joseph@codesourcery.com>
7307
7308 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7309 * config.make.in (config-cflags-sse2avx): Define.
7310 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7311 Fix typo.
7312
607998af
CM
73132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7314
7315 * scripts/config.guess: Update from upstream config git repository.
7316 * scripts/config.sub: Likewise.
7317
3601428f
CM
73182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7319
3ac8b282
CM
7320 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7321 (EM_NUM): Update.
7322 (R_TILEPRO_*, R_TILEGX_*): New macros.
7323
e034841e
CM
7324 * scripts/firstversions.awk: Fix bug in version range handling.
7325
540d7568
CM
7326 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7327
3601428f
CM
7328 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7329
463de862
CM
7330 * include/sys/epoll.h: New file.
7331 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7332 libc_hidden_def.
7333
73139a76
UD
73342012-01-28 Ulrich Drepper <drepper@gmail.com>
7335
96bc5b45
UD
7336 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7337 Avoid unnecessary __WORDSIZE == 64 test.
7338 (fmaxf): Use VEX format if possible.
7339 (fmax): Likewise.
7340 (fminf): Likewise.
7341 (fmin): Likewise.
7342
56f6f6a2
UD
7343 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7344 * math/math_private.h: Remove libc_fegetround* and
7345 libc_fesetround*.
7346 * sysdeps/i386/configure.in: Check for -msse2avx.
7347 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7348 also if SSE2AVX is defined.
7349 Remove libc_fegetround* and libc_fesetround*.
7350 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7351 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7353 of HAS_YMM_USABLE.
7354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7359
73139a76
UD
7360 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7361
d73f93a4
AZ
73622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7363
7364 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7365 size is not set.
7366 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7367
6ee65ed6
UD
73682012-01-27 Ulrich Drepper <drepper@gmail.com>
7369
7370 [BZ #13618]
7371 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7372 relocation.
7373 * Makeconfig (libm): Define.
7374 * elf/Makefile: Add rules to build and run tst-relsort1.
7375 * elf/tst-relsort1.c: New file.
7376 * elf/tst-relsort1mod1.c: New file.
7377 * elf/tst-relsort1mod2.c: New file.
7378
8db21882
JM
73792012-01-27 Joseph Myers <joseph@codesourcery.com>
7380
7381 * math/s_ldexp.c: Remove __STDC__ conditionals.
7382 * math/s_ldexpf.c: Likewise.
7383 * math/s_ldexpl.c: Likewise.
7384 * math/s_nextafter.c: Likewise.
7385 * math/s_nexttowardf.c: Likewise.
7386 * math/s_significand.c: Likewise.
7387 * math/s_significandf.c: Likewise.
7388 * math/s_significandl.c: Likewise.
7389 * math/w_jnl.c: Likewise.
7390 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7391 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7392 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7393 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7394 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7405 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7409 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7410 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7411 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7412 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7414 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7417 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7418 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7419 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7420 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7421 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7422 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7424 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7425 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7426 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7427 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7428 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7429 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7430 * sysdeps/ieee754/k_standard.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7497 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7505 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7506 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7510 * sysdeps/ieee754/s_matherr.c: Likewise.
7511 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7512 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7515
965a54a4
JM
75162012-01-26 Joseph Myers <joseph@codesourcery.com>
7517
7518 * crypt/md5.h: Remove __STDC__ conditionals.
7519 * libio/libioP.h: Likewise.
7520 * locale/programs/config.h: Likewise.
7521 * sysdeps/generic/sysdep.h: Likewise.
7522 * sysdeps/i386/asm-syntax.h: Likewise.
7523 * sysdeps/s390/asm-syntax.h: Likewise.
7524 * sysdeps/unix/sysdep.h: Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7527
7071ad79
JM
75282012-01-26 Joseph Myers <joseph@codesourcery.com>
7529
7530 * libio/libio.h: Remove __STDC__ conditionals.
7531 * malloc/obstack.h: Likewise.
7532 * math/complex.h: Likewise.
7533 * math/math.h: Likewise.
7534 * sysdeps/generic/_G_config.h: Likewise.
7535 * sysdeps/gnu/_G_config.h: Likewise.
7536 * sysdeps/mach/hurd/_G_config.h: Likewise.
7537 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7538 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7539 * sysdeps/sparc/bits/mathdef.h: Likewise.
7540
afc5ed09
UD
75412012-01-26 Ulrich Drepper <drepper@gmail.com>
7542
7543 [BZ #13583]
7544 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7545 Clean up HAS_* macros.
afc5ed09 7546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7547 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7548 possible.
7549 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7550 HAS_AVX.
7551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7556
bdb6de1d
JM
75572012-01-25 Joseph Myers <joseph@codesourcery.com>
7558
7559 * elf/tst-unique3.cc (gets): Remove declaration.
7560 * elf/tst-unique3lib.cc (gets): Likewise.
7561 * elf/tst-unique3lib2.cc (gets): Likewise.
7562 * elf/tst-unique4.cc (gets): Likewise.
7563
b15549e6
UD
75642012-01-24 Ulrich Drepper <drepper@gmail.com>
7565
7566 * include/stdio.h: Add C++ protection. Add gets declarations and
7567 definitions.
7568 * debug/tst-chk1.c: Don't declare gets here.
7569 * stdio-common/tst-gets.c: Likewise.
7570
a037381f
JM
75712012-01-24 Joseph Myers <joseph@codesourcery.com>
7572
7573 * posix/glob: Remove directory.
7574
f1d4aa75
JM
75752012-01-24 Joseph Myers <joseph@codesourcery.com>
7576
7577 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7578
81c0c964
PT
75792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7580
7581 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7582 of the non-standard EPFNOSUPPORT.
7583
0ea698ae
ST
75842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7585
7586 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7587 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7588 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7589
d220b117
UD
75902012-01-21 Ulrich Drepper <drepper@gmail.com>
7591
7592 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7593
3e1aa84e
UD
75942012-01-20 Ulrich Drepper <drepper@gmail.com>
7595
7596 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7597 transient errors.
7598 * nscd/grpcache.c (cache_addgr): Likewise.
7599 * nscd/hstcache.c (cache_addhst): Likewise.
7600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7601 * nscd/pwdcache.c (cache_addpw): Likewise.
7602 * nscd/servicescache.c (cache_addserv): Likewise.
7603
400aa020
UD
76042012-01-16 Ulrich Drepper <drepper@gmail.com>
7605
d77e7869
UD
7606 * malloc/malloc.c: Various cleanups.
7607 * malloc/hooks.c: Likewise.
7608
400aa020
UD
7609 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7610 * stdlib/bug-fmtmsg1.c: New file.
7611
7612 * stdlib/fmtmsg.c (init): Add missing unlock.
7613 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7614
e0a309cf
MP
76152012-01-12 Marek Polacek <polacek@redhat.com>
7616
7617 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7618 and _GNU_SOURCE.
7619
929d11c7
WS
76202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7621
7622 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7623 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7624 macro to ensure uniqueness of label name.
7625 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7626 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7627
41d0e869
UD
76282012-01-11 Ulrich Drepper <drepper@gmail.com>
7629
0cc5ed3b
UD
7630 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7631
41d0e869
UD
7632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7633 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7636
a47a831a
UD
76372012-01-10 Ulrich Drepper <drepper@gmail.com>
7638
daa891c0
UD
7639 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7640
7641 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7642 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7644
e58ef0f2
UD
7645 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7646
a47a831a 7647 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7648 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7651
7652 * math/bits/math-finite.h: Add ldexp support.
7653
a0bfc9c7
MP
76542012-01-10 Marek Polacek <polacek@redhat.com>
7655
7656 * locale/programs/localedef.h (show_archive_content): Add noreturn
7657 attribute.
7658
d6e97a1d
UD
76592012-01-09 Ulrich Drepper <drepper@gmail.com>
7660
7661 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7662
d5835c26
UD
76632012-01-08 Ulrich Drepper <drepper@gmail.com>
7664
e5f484c6
UD
7665 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7666
d5835c26
UD
7667 * io/Makefile (headers): Add bits/poll2.h.
7668
d1f741e9
WS
76692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7670
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7672 typo #include statement.
7673
ec09c1c4
UD
76742012-01-08 Ulrich Drepper <drepper@gmail.com>
7675
7676 * include/sys/cdefs.h: Define __attribute_alloc_size.
7677 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7678 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7679 * elf/pldd.c: Likewise.
7680 * iconv/iconv_charmap.c: Likewise.
7681 * iconv/iconvconfig.c: Likewise.
7682 * iconv/strtab.c: Likewise.
7683 * locale/programs/locale.c: Likewise.
7684 * locale/programs/localedef.h: Likewise.
7685 * locale/programs/simple-hash.c: Likewise.
7686 * nscd/nscd.h: Likewise.
7687 * nss/makedb.c: Likewise.
7688 * sysdeps/generic/ldconfig.h: Likewise.
7689 * locale/programs/localedef.c: Remove xmalloc prototype.
7690 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7691
20b38e03
PP
76922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7693
7694 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7695 appropriate.
7696
a0da5fe1
UD
76972012-01-08 Ulrich Drepper <drepper@gmail.com>
7698
1d5a644a 7699 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7700 * math/tst-CMPLX.c: New file.
1d5a644a 7701
8784a6db
UD
7702 * math/complex.h (CMPLXL): Fix typo.
7703
d9a216c0
UD
7704 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7705 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7706 GLIBC_2.16.
7707 * debug/tst-chk1.c: Add poll and ppoll tests.
7708 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7709 * include/sys/poll.h: Add hidden proto for ppoll.
7710 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7711 * sysdeps/mach/hurd/ppoll.c: Likewise.
7712 * io/ppoll.c: Likewise.
7713 * debug/poll_chk.c: New file.
7714 * debug/ppoll_chk.c: New file.
7715 * include/bits/poll2.h: New file.
7716 * io/bits/poll2.h: New file.
7717
ac097f5c
UD
7718 [BZ #1350]
7719 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7720
2119dcfa
UD
7721 * configure.in: static is always set to yes. Remove.
7722 * config.make.in: Don't set build-static.
7723 * Makeconfig: Remove use of build-static.
7724 * dlfcn/Makefile: Likewise.
7725 * elf/Makefile: Likewise.
7726 * math/Makefile: Likewise.
7727 * misc/Makefile: Likewise.
7728 * nptl/Makefile: Likewise.
7729 * sysdeps/mach/hurd/Makefile: Likewise.
7730
121766a9
UD
7731 * configure.in: PWD_P is not used anymore.
7732 * config.make.in: Remove PWD_P entry.
7733
51a1d39c 7734 * configure.in: Remove last remnants of RANLIB.
8720d066 7735 No need to check for signed size_t anymore.
215f4bdc
UD
7736 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7737 and IA-64.
3857022a 7738 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7739 * aclocal.m4: Likewise.
7740
d3ed7225
UD
7741 * wcsmbs/mbrtoc16.c: Implement using towc function.
7742 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7743 * wcsmbs/wcsmbsload.c: Likewise.
7744 * iconv/gconv_simple.c: Likewise.
7745 * iconv/gconv_int.h: Likewise.
7746 * iconv/gconv_builtin.h: Likewise.
7747 * iconv/iconv_prog.c: Remove CHAR16 handling.
7748
7749 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7750
7751 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7752
a0da5fe1
UD
7753 * configure.in: Remove --with-elf and --enable-bounded options.
7754 Dont set base_machine for ia64. More non-ELF conditions removed.
7755 Remove testing and setting of leading underscore information.
7756 * config.make.in (build-bounded): Set to no.
7757 * config.h.in: Remove NO_UNDERSCORES entry.
7758 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7759 them.
7760 * csu/start.c: Remove !NO_UNDERSCORE code.
7761 * locale/localeinfo.h: Likewise.
7762 * sysdeps/generic/machine-gmon.h: Likewise.
7763 * sysdeps/generic/sysdep.h: Likewise.
7764 * sysdeps/i386/sysdep.h: Likewise.
7765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7766 * sysdeps/mach/sysdep.h: Likewise.
7767 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7769 * sysdeps/sh/sysdep.h: Likewise.
7770 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7771 * sysdeps/unix/i386/sysdep.S: Likewise.
7772 * sysdeps/unix/sparc/start.c: Likewise.
7773 * sysdeps/unix/sparc/sysdep.S: Likewise.
7774 * sysdeps/unix/sparc/sysdep.h: Likewise.
7775 * sysdeps/unix/start.c: Likewise.
7776 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7777 * sysdeps/x86_64/sysdep.h: Likewise.
7778
df78418a
UD
77792012-01-07 Ulrich Drepper <drepper@gmail.com>
7780
a784e502
UD
7781 [BZ #13553]
7782 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7783 for non-gcc.
7784 * argp/argp-fmtstream.h: Use const instead __const.
7785 * argp/argp.h: Likewise.
7786 * assert/assert.h: Likewise.
7787 * bits/fenv.h: Likewise.
7788 * bits/sched.h: Likewise.
7789 * bits/sigset.h: Likewise.
7790 * bits/sigthread.h: Likewise.
7791 * catgets/nl_types.h: Likewise.
7792 * conform/data/pthread.h-data: Likewise.
7793 * crypt/crypt-private.h: Likewise.
7794 * crypt/crypt.h: Likewise.
7795 * crypt/crypt_util.c: Likewise.
7796 * ctype/ctype.h: Likewise.
7797 * debug/execinfo.h: Likewise.
7798 * debug/mbsnrtowcs_chk.c: Likewise.
7799 * debug/mbsrtowcs_chk.c: Likewise.
7800 * debug/wcsnrtombs_chk.c: Likewise.
7801 * debug/wcsrtombs_chk.c: Likewise.
7802 * debug/wcstombs_chk.c: Likewise.
7803 * dirent/dirent.h: Likewise.
7804 * dlfcn/dlfcn.h: Likewise.
7805 * elf/neededtest4.c: Likewise.
7806 * grp/grp.h: Likewise.
7807 * gshadow/gshadow.h: Likewise.
7808 * iconv/gconv.h: Likewise.
7809 * iconv/gconv_int.h: Likewise.
7810 * iconv/gconv_simple.c: Likewise.
7811 * iconv/iconv.h: Likewise.
7812 * iconv/loop.c: Likewise.
7813 * iconv/skeleton.c: Likewise.
7814 * include/aio.h: Likewise.
7815 * include/aliases.h: Likewise.
7816 * include/argz.h: Likewise.
7817 * include/arpa/inet.h: Likewise.
7818 * include/assert.h: Likewise.
7819 * include/dirent.h: Likewise.
7820 * include/dlfcn.h: Likewise.
7821 * include/execinfo.h: Likewise.
7822 * include/fcntl.h: Likewise.
7823 * include/fenv.h: Likewise.
7824 * include/glob.h: Likewise.
7825 * include/grp.h: Likewise.
7826 * include/libintl.h: Likewise.
7827 * include/mntent.h: Likewise.
7828 * include/netdb.h: Likewise.
7829 * include/pwd.h: Likewise.
7830 * include/rpc/netdb.h: Likewise.
7831 * include/sched.h: Likewise.
7832 * include/search.h: Likewise.
7833 * include/shadow.h: Likewise.
7834 * include/signal.h: Likewise.
7835 * include/stdio.h: Likewise.
7836 * include/stdlib.h: Likewise.
7837 * include/string.h: Likewise.
7838 * include/sys/socket.h: Likewise.
7839 * include/sys/stat.h: Likewise.
7840 * include/sys/statfs.h: Likewise.
7841 * include/sys/statvfs.h: Likewise.
7842 * include/sys/syslog.h: Likewise.
7843 * include/sys/time.h: Likewise.
7844 * include/sys/uio.h: Likewise.
7845 * include/time.h: Likewise.
7846 * include/unistd.h: Likewise.
7847 * include/utmp.h: Likewise.
7848 * include/wchar.h: Likewise.
7849 * include/wctype.h: Likewise.
7850 * inet/aliases.h: Likewise.
7851 * inet/arpa/inet.h: Likewise.
7852 * inet/netinet/ether.h: Likewise.
7853 * inet/netinet/in.h: Likewise.
7854 * intl/libintl.h: Likewise.
7855 * io/bits/fcntl2.h: Likewise.
7856 * io/fcntl.h: Likewise.
7857 * io/ftw.h: Likewise.
7858 * io/sys/poll.h: Likewise.
7859 * io/sys/stat.h: Likewise.
7860 * io/sys/statfs.h: Likewise.
7861 * io/sys/statvfs.h: Likewise.
7862 * io/utime.h: Likewise.
7863 * libio/bits/stdio.h: Likewise.
7864 * libio/bits/stdio2.h: Likewise.
7865 * libio/libio.h: Likewise.
7866 * libio/libioP.h: Likewise.
7867 * libio/stdio.h: Likewise.
7868 * locale/lc-ctype.c: Likewise.
7869 * locale/locale.h: Likewise.
7870 * login/utmp.h: Likewise.
7871 * malloc/arena.c: Likewise.
7872 * malloc/malloc.c: Likewise.
7873 * malloc/malloc.h: Likewise.
7874 * malloc/mcheck.c: Likewise.
7875 * malloc/mtrace.c: Likewise.
7876 * math/bits/mathcalls.h: Likewise.
7877 * math/fenv.h: Likewise.
7878 * math/math_private.h: Likewise.
7879 * misc/bits/error.h: Likewise.
7880 * misc/bits/syslog.h: Likewise.
7881 * misc/err.h: Likewise.
7882 * misc/error.h: Likewise.
7883 * misc/fstab.h: Likewise.
7884 * misc/mntent.h: Likewise.
7885 * misc/regexp.h: Likewise.
7886 * misc/search.h: Likewise.
7887 * misc/sgtty.h: Likewise.
7888 * misc/sys/mman.h: Likewise.
7889 * misc/sys/syslog.h: Likewise.
7890 * misc/sys/uio.h: Likewise.
7891 * misc/sys/xattr.h: Likewise.
7892 * misc/ttyent.h: Likewise.
7893 * nis/rpcsvc/ypclnt.h: Likewise.
7894 * nss/nss.h: Likewise.
7895 * posix/bits/unistd.h: Likewise.
7896 * posix/fnmatch.h: Likewise.
7897 * posix/glob.h: Likewise.
7898 * posix/sched.h: Likewise.
7899 * posix/spawn.h: Likewise.
7900 * posix/sys/wait.h: Likewise.
7901 * posix/unistd.h: Likewise.
7902 * posix/wordexp.h: Likewise.
7903 * pwd/pwd.h: Likewise.
7904 * resolv/netdb.h: Likewise.
7905 * resource/sys/resource.h: Likewise.
7906 * rt/aio.h: Likewise.
7907 * rt/bits/mqueue2.h: Likewise.
7908 * rt/mqueue.h: Likewise.
7909 * shadow/shadow.h: Likewise.
7910 * signal/signal.h: Likewise.
7911 * socket/send.c: Likewise.
7912 * socket/sendto.c: Likewise.
7913 * socket/sys/socket.h: Likewise.
7914 * stdio-common/printf.h: Likewise.
7915 * stdlib/bits/stdlib.h: Likewise.
7916 * stdlib/fmtmsg.h: Likewise.
7917 * stdlib/monetary.h: Likewise.
7918 * stdlib/stdlib.h: Likewise.
7919 * stdlib/ucontext.h: Likewise.
7920 * streams/stropts.h: Likewise.
7921 * string/argz.h: Likewise.
7922 * string/bits/string2.h: Likewise.
7923 * string/string.h: Likewise.
7924 * string/strings.h: Likewise.
7925 * sunrpc/rpc/auth.h: Likewise.
7926 * sunrpc/rpc/auth_des.h: Likewise.
7927 * sunrpc/rpc/clnt.h: Likewise.
7928 * sunrpc/rpc/netdb.h: Likewise.
7929 * sunrpc/rpc/pmap_clnt.h: Likewise.
7930 * sunrpc/rpc/xdr.h: Likewise.
7931 * sysdeps/generic/inttypes.h: Likewise.
7932 * sysdeps/generic/net/if.h: Likewise.
7933 * sysdeps/generic/sys/swap.h: Likewise.
7934 * sysdeps/gnu/net/if.h: Likewise.
7935 * sysdeps/gnu/utmpx.h: Likewise.
7936 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7937 * sysdeps/i386/i486/bits/string.h: Likewise.
7938 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7939 * sysdeps/s390/bits/string.h: Likewise.
7940 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7941 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7942 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7943 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7944 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7945 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7946 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7947 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7948 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7949 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7950 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7951 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7952 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7953 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7954 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7955 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7956 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7959 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7962 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7963 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7964 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7965 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7966 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7968 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7969 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7970 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7971 * sysvipc/sys/ipc.h: Likewise.
7972 * sysvipc/sys/msg.h: Likewise.
7973 * sysvipc/sys/sem.h: Likewise.
7974 * sysvipc/sys/shm.h: Likewise.
7975 * termios/termios.h: Likewise.
7976 * time/sys/time.h: Likewise.
7977 * time/time.h: Likewise.
7978 * wcsmbs/bits/wchar2.h: Likewise.
7979 * wcsmbs/uchar.h: Likewise.
7980 * wcsmbs/wchar.h: Likewise.
7981 * wctype/wctype.h: Likewise.
7982
0269750c
UD
7983 [BZ #13551]
7984 * Makeconfig: Remove all but ELF support including AIX support.
7985 * Makerules: Likewise.
7986 * config.h.in: Likewise.
7987 * config.make.in: Likewise.
7988 * configure: Likewise.
7989 * configure.in: Likewise.
7990 * csu/Makefile: Likewise.
7991 * csu/version.c: Likewise.
7992 * debug/Makefile: Likewise.
7993 * dlfcn/Makefile: Likewise.
7994 * elf/Makefile: Likewise.
7995 * extra-lib.mk: Likewise.
7996 * iconv/Makefile: Likewise.
7997 * include/libc-symbols.h: Likewise.
7998 * include/shlib-compat.h: Likewise.
7999 * resolv/Makefile: Likewise.
8000 * resolv/res_libc.c: Likewise.
8001 * rt/Makefile: Likewise.
8002 * sysdeps/i386/asm-syntax.h: Likewise.
8003 * sysdeps/i386/sysdep.h: Likewise.
8004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8005 * sysdeps/mach/sysdep.h: Likewise.
8006 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8007 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8008 * sysdeps/s390/asm-syntax.h: Likewise.
8009 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8010 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8011 * sysdeps/sh/sysdep.h: Likewise.
8012 * sysdeps/unix/sparc/sysdep.h: Likewise.
8013 * sysdeps/wordsize-32/divdi3.c: Likewise.
8014 * sysdeps/x86_64/sysdep.h: Likewise.
8015
00bbd29b
UD
8016 * argp/Versions: Remove _argp_unlock_xxx.
8017
8018 [BZ #13559]
8019 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8020 * abilist/libBrokenLocale.abilist: Likewise.
8021 * abilist/libanl.abilist: Likewise.
8022 * abilist/libc.abilist: Likewise.
8023 * abilist/libcrypt.abilist: Likewise.
8024 * abilist/libdl.abilist: Likewise.
8025 * abilist/libm.abilist: Likewise.
8026 * abilist/libnsl.abilist: Likewise.
8027 * abilist/libpthread.abilist: Likewise.
8028 * abilist/libresolv.abilist: Likewise.
8029 * abilist/librt.abilist: Likewise.
8030 * abilist/libthread_db.abilist: Likewise.
8031 * abilist/libutil.abilist: Likewise.
8032 * abilist/libnss_db.abilist: New file.
8033
8034 * scripts/abilist.awk: Add support for indirect functions.
8035
a2693a0e
UD
8036 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8037
3f05895f
UD
8038 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8039
ecb6fb48
UD
8040 * shlib-versions: Remove entries for ports architectures.
8041
664f8cb9
UD
8042 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8043 files in ports.
8044 * elf/stackguard-macros.h: Remove support for IA-64.
8045 * elf/tst-auditmod1.c: Likewise.
8046 * sysdeps/generic/ldsodefs.h: Likewise.
8047
7ae81d88
UD
8048 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8049 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8050 configure files.
8051
bdeba135
UD
8052 [BZ #13552]
8053 * configure.in: Remove --enable-omitfp support.
8054 * FAQ.in: Adjust.
8055 * config.make.in: Likewise.
8056 * Makeconfig: Likewise.
8057 * manual/install.texi: Likewise.
8058
d75a0a62
UD
8059 In case anyone cares, the IA-64 architecture could move to ports.
8060 * sysdeps/ia64/*: Removed.
8061 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8062 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8063
dcc9756b
UD
8064 [BZ #13555]
8065 * configure.in: Remove entries for unsupported architectures.
8066
d3761ebc 8067 [BZ #13533]
9954432e
UD
8068 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8069 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8070 routines.
8071 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8072 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8073 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8074 fall back to using wcrtomb.
8075 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8076 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8077 renaming.
8078 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8079 * wcsmbs/tst-c16c32-1.c: New file.
8080
8081 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8082 local variable.
8083
c3a87236
UD
8084 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8085
28926a1b
UD
8086 * elf/tst-unique3.cc: Add explicit declaration of gets.
8087 * elf/tst-unique3lib.cc: Likewise.
8088 * elf/tst-unique3lib2.cc: Likewise.
8089 * elf/tst-unique4.cc: Likewise.
8090
df78418a
UD
8091 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8092
8ecd6b2a
JM
80932012-01-06 Joseph Myers <joseph@codesourcery.com>
8094
8095 [BZ #13566]
8096 * assert/assert.h (static_assert): Don't define for C++.
8097 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8098 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8099
9f115170
UD
81002012-01-03 Ulrich Drepper <drepper@gmail.com>
8101
5e0d0300
UD
8102 * iconv/loop.c (single loop): Fix assertion in storing of
8103 remaining bytes.
8104
9f115170
UD
8105 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8106
81fb02b0
UD
81072012-01-01 Ulrich Drepper <drepper@gmail.com>
8108
8109 * posix/getconf.c: Update copyright year.
8110 * nss/getent.c: Likewise.
a316c1f6 8111 * nss/makedb.c: Likewise.
81fb02b0
UD
8112 * iconv/iconvconfig.c: Likewise.
8113 * iconv/iconv_prog.c: Likewise.
8114 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8115 * elf/pldd.c: Likewise.
8116 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8117 * catgets/gencat.c: Likewise.
8118 * csu/version.c: Likewise.
8119 * elf/ldd.bash.in: Likewise.
8120 * elf/sprof.c (print_version): Likewise.
8121 * locale/programs/locale.c: Likewise.
8122 * locale/programs/localedef.c: Likewise.
a316c1f6 8123 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8124 * nscd/nscd.c (print_version): Likewise.
8125 * debug/xtrace.sh: Likewise.
8126 * malloc/memusage.sh: Likewise.
8127 * malloc/mtrace.pl: Likewise.
8128 * debug/catchsegv.sh: Likewise.
8129
2ba92745
JJ
81302011-12-30 Jakub Jelinek <jakub@redhat.com>
8131
8132 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8133 pure attribute.
8134
dadebdae
UD
81352011-12-24 Ulrich Drepper <drepper@gmail.com>
8136
d3761ebc 8137 [BZ #13533]
db6af3eb
UD
8138 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8139 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8140 transformations.
8141 * iconv/gconv_int.h: Likewise.
8142 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8143 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8144 from libc for GLIBC_2.16.
8145 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8146 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8147 * wcsmbs/uchar.h: Really define mbstate_t.
8148 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8149 * wcsmbs/c16rtomb.c: New file.
8150 * wcsmbs/mbrtoc16.c: New file.
8151 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8152 for C/POSIX locale.
8153 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8154 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8155
dadebdae
UD
8156 * wcsmbs/wchar.h: Add missing __restrict.
8157
67371b56
UD
81582011-12-23 Ulrich Drepper <drepper@gmail.com>
8159
74033a25
UD
8160 [BZ #13532]
8161 * time/Makefile (routines): Add timespec_get.
8162 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8163 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8164 timespec for ISO C11.
8165 * time/timespec_get.c: New file.
8166 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8167 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8168
380d7e87
UD
8169 [BZ #13531]
8170 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8171 * stdlib/stdlib.h: Declare aligned_alloc.
8172 * Versions.def: Add GLIBC_2.16 for libc.
8173 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8174
4e9e7a35
UD
8175 [BZ 13527]
8176 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8177 ISO C11.
8178
380d7e87 8179 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8180 code.
8181
03a71829
UD
8182 [BZ #13528]
8183 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8184
839e283e
UD
8185 [BZ #13529]
8186 * assert/assert.h (static_assert): Define.
8187
ce5294e2 8188 * version.h: Update for 2.16 development version.
90fa7312 8189
8d44e150 8190 [BZ #13526]
d7809905
UD
8191 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8192 _ISOC11_SOURCE.
8193
c0da14cd
UD
8194 * version.h (RELEASE): Bump for 2.15 release.
8195 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8196
530a3249
MP
8197 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8198 Patch by Marek Polacek <mpolacek@redhat.com>.
8199
67371b56
UD
8200 * bits/byteswap.h: Protect long long constants with __extension__.
8201 * sysdeps/i386/bits/byteswap.h: Likewise.
8202 * sysdeps/ia64/bits/byteswap.h: Likewise.
8203 * sysdeps/s390/bits/byteswap.h: Likewise.
8204 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8205
15db4de1
LD
82062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8207
8208 [BZ #13540]
bbe315ea
LD
8209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8210 destination buffer.
15db4de1
LD
8211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8212
2b2596b1
MP
82132011-12-23 Marek Polacek <polacek@redhat.com>
8214
8215 * elf/dl-addr.c (determine_info): Add inline keyword.
8216 * elf/tst-auditmod4b.c (check_avx): Likewise.
8217 * elf/tst-auditmod6b.c (check_avx): Likewise.
8218 * elf/tst-auditmod6c.c (check_avx): Likewise.
8219 * elf/tst-auditmod7b.c (check_avx): Likewise.
8220
70c6c246
UD
82212011-12-23 Ulrich Drepper <drepper@gmail.com>
8222
8223 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8224 !__SSE_MATH__.
8225
c044cf14
LD
82262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8227
15db4de1 8228 [BZ #13540]
c044cf14
LD
8229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8230 processing for last bytes.
8231
6b13d9d9
BH
82322011-08-06 Bruno Haible <bruno@clisp.org>
8233
d455f537
BH
8234 [BZ #13061]
8235 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8236 U+0385, not to U+1FEE.
8237
6b13d9d9
BH
8238 [BZ #13062]
8239 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8240 entry for U+00A5 U+0301.
8241
db910efd
UD
82422011-12-22 Ulrich Drepper <drepper@gmail.com>
8243
27deeafc
UD
8244 [BZ #13166]
8245 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8246 buffer for the output is too small.
8247
aed9d171
UD
8248 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8249 optimization.
8250
db910efd
UD
8251 [BZ #13185]
8252 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8253 SSE flags if possible.
8254
2bd779ae
LD
82552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8256
e7f9dac3 8257 [BZ #13540]
2bd779ae
LD
8258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8259 processing for last bytes.
8260
154bfc16
JM
82612011-12-22 Joseph Myers <joseph@codesourcery.com>
8262
8263 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8264 (syscall-list-default-options, syscall-list-default-condition)
8265 (syscall-list-includes): Define.
8266 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8267 list of ABIs and options and #if conditions for each ABI. Do not
8268 handle common syscalls between ABIs specially.
8269 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8270 Remove.
8271 (syscall-list-variants, syscall-list-32bit-options)
8272 (syscall-list-32bit-condition, syscall-list-64bit-options)
8273 (syscall-list-64bit-condition): Define.
8274 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8275 (syscall-list-variants, syscall-list-32bit-options)
8276 (syscall-list-32bit-condition, syscall-list-64bit-options)
8277 (syscall-list-64bit-condition): Define.
8278 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8279 Remove.
8280 (syscall-list-variants, syscall-list-32bit-options)
8281 (syscall-list-32bit-condition, syscall-list-64bit-options)
8282 (syscall-list-64bit-condition): Define.
8283 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8284 Remove.
8285 (syscall-list-variants, syscall-list-32bit-options)
8286 (syscall-list-32bit-condition, syscall-list-64bit-options)
8287 (syscall-list-64bit-condition): Define.
8288
21eaf3a5
UD
82892011-12-22 Ulrich Drepper <drepper@gmail.com>
8290
16c6f992
UD
8291 * locale/iso-639.def: Add brx entry.
8292
41043168
UD
8293 [BZ #13328]
8294 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8295 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8296
21eaf3a5
UD
8297 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8298 __feraiseexcept_renamed.
8299
e3a851a2
UD
83002011-12-21 Ulrich Drepper <drepper@gmail.com>
8301
4920765e
UD
8302 [BZ #13538]
8303 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8304 EPOLLET with unsigned values.
8305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8307
e3a851a2
UD
8308 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8309 to large cancellation.
8310 * math/s_cacoshf.c: Likewise.
8311 * math/s_cacoshl.c: Likewise.
8312
b27e24b8
RK
83132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8314
8315 [BZ #13305]
aebefeee 8316 [BZ #12786]
b27e24b8
RK
8317 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8318 * math/s_cacoshf.c: Likewise.
8319 * math/s_cacoshl.c: Likewise.
8320
ee190f67
UD
83212011-12-21 Ulrich Drepper <drepper@gmail.com>
8322
8323 [BZ #13439]
8324 * iconv/gconv.h: Define __GCONV_SWAP.
8325 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8326 * iconvdata/utf-16.c: Likewise.
8327 * iconvdata/utf-32.c: Likewise.
8328
707f25df
AS
83292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8330
8331 [BZ #13524]
8332 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8333 numerator after shifting it by one limb.
8334
d2daaa1e
RÁE
83352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8336
8337 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8338 under [__USE_EXTERN_INLINES].
8339
a4647e72
UD
83402011-12-17 Ulrich Drepper <drepper@gmail.com>
8341
8342 [BZ #13446]
8343 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8344
f0b264f1
AZ
83452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8346
8347 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8348 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8349 optimized code.
8350 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8351 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8352 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8353 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8354 for strncasecmp/strncasecmp_l compilation.
8355 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8356 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8357
8ef4f244
MP
83582011-12-08 Marek Polacek <mpolacek@redhat.com>
8359
8360 [BZ #13484]
8361 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8362 of __asm__.
8363
97ac2654
UD
83642011-12-17 Ulrich Drepper <drepper@gmail.com>
8365
8366 [BZ #13506]
8367 * time/tzfile.c (__tzfile_read): Check values from file header.
8368
91d2a845
WS
83692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8370
8371 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8372 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8373 * powerpc/powerpc32/dl-start.S: Likewise.
8374 * powerpc/powerpc32/elf/start.S: Likewise.
8375 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8376 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8377 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8378 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8379 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8380 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8381 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8382 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8383 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8384 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8385 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8386 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8387 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8388 * powerpc/powerpc32/memset.S: Likewise.
8389 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8390 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8391 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8392 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8393 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8394 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8395 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8396 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8397 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8398 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8399 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8402
a1267ba1
AZ
84032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404
8405 * math/libm-test.inc: Added more nearbyint tests.
8406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8407 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8410
ad8ac1bd
RL
84112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8412
8413 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8414 FD_CLOEXEC.
8415
1d3e4b61
UD
84162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8417
8418 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8419 Add wcscpy-ssse3 wcscpy-c.
8420 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8421 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8422 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8423 * sysdeps/x86_64/wcschr.S: New file.
8424 * sysdeps/x86_64/wcsrchr.S: New file.
8425 * string/test-strcmp.c: Remove checking of wcscmp function for
8426 wrong alignments.
8427 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8428 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8429 wcsrchr-sse2 wcsrchr-c.
8430 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8431 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8432 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8433 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8434 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8435 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8436 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8437 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8438 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8439 * wcsmbc/wcschr.c (WCSCHR): New macro.
8440
5b330a2d
UD
84412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8442
8443 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8444 * wcsmbs/test-wcsrchr.c: New file.
8445 * string/test-strrchr.c: Add wcsrchr support.
8446 (WIDE): New macro.
8447 * wcsmbs/test-wcscpy.c: New file.
8448 * string/test-strcpy.c: Add wcscpy support.
8449 (WIDE): New macro.
26428b7c 8450
f039c043
UD
84512011-12-10 Ulrich Drepper <drepper@gmail.com>
8452
8453 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8454 the inner loop.
8455
850fb039
AS
84562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8457
8458 [BZ #13472]
8459 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8460
4efbd5cb
UD
84612011-12-04 Ulrich Drepper <drepper@gmail.com>
8462
52ff5dd0 8463 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8464 Minor optimizations.
52ff5dd0 8465
4efbd5cb
UD
8466 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8467 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8468 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8469
8a426e12
UD
84702011-12-03 Ulrich Drepper <drepper@gmail.com>
8471
aff2453d
UD
8472 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8473 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8474 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8475 for gcc to avoid warnings.
8476 * inet/Makefile (tests): Add tst-checks.
8477 * inet/tst-checks.c: New file.
8478
8479 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8480 warning.
8481
8482 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8483 __wmemcmp_sse2.
8484
8485 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8486 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8487
8a426e12
UD
8488 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8489
9bea3473
UD
84902011-12-02 Ulrich Drepper <drepper@gmail.com>
8491
3a965496
UD
8492 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8493 problem.
8494
9bea3473
UD
8495 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8496
f101631b
UD
84972011-11-29 Joseph Myers <joseph@codesourcery.com>
8498
8499 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8500 conditional on GCC version.
8501 (__arch_compare_and_exchange_val_8_acq)
8502 (__arch_compare_and_exchange_val_16_acq)
8503 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8504 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8505 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8506
a98275aa
UD
85072011-12-02 Joseph Myers <joseph@codesourcery.com>
8508
8509 * sysdeps/sh/backtrace.c: New file.
8510
d4cc29a2
AS
85112011-12-02 Andreas Schwab <schwab@redhat.com>
8512
8513 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8514 parenthesis.
8515
6257af2d
AS
85162011-12-01 Andreas Schwab <schwab@redhat.com>
8517
8518 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8519 falling back to utime.
8520
b5f44c1a
AS
85212011-11-30 Andreas Schwab <schwab@redhat.com>
8522
8523 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8524 expectations for float.
8525
f3a6cc0a
AS
85262011-11-29 Andreas Schwab <schwab@redhat.com>
8527
8528 * locale/weight.h (findidx): Add parameter len.
8529 * locale/weightwc.h (findidx): Likewise.
8530 * posix/fnmatch_loop.c (FCT): Adjust caller.
8531 * posix/regcomp.c (build_equiv_class): Likewise.
8532 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8533 * posix/regexec.c (check_node_accept_bytes): Likewise.
8534 * string/strcoll_l.c (STRCOLL): Likewise.
8535 * string/strxfrm_l.c (STRXFRM): Likewise.
8536
9d65ea3a
UD
85372011-11-17 Ulrich Drepper <drepper@gmail.com>
8538
8539 * Makefile.in: Remove CVSOPT handling.
8540 * configure.in: Remove use of AC_REVISION.
8541 * iconvdata/Makefile (distribute): No need to filter out CVS.
8542 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8543 handling.
8544
5583a086
AS
85452011-11-16 Andreas Schwab <schwab@redhat.com>
8546
8547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8548 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8549 [USE_AS_STRNCASECMP_L]: Likewise.
8550 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8551 NO_TLS_DIRECT_SEG_REFS.
8552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8553 Fix argument offsets for non-PIC.
8554 [USE_AS_STRNCASECMP_L]: Likewise.
8555 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8556 NO_TLS_DIRECT_SEG_REFS.
8557
d62a8200
UD
85582011-11-15 Ulrich Drepper <drepper@gmail.com>
8559
9d65ea3a 8560 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8561 O_CLOEXEC.
8562 * locale/loadlocale.c (_nl_load_locale): Likewise.
8563
09f93bd3
AS
85642011-11-15 Andreas Schwab <schwab@redhat.com>
8565
446514f9
AS
8566 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8567 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8568 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8569 (SYSCALL_GETTIME): Set errno on error.
8570
09f93bd3
AS
8571 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8572 count references to noai6ai_cached.
8573
312be3f9
UD
85742011-11-15 Ulrich Drepper <drepper@gmail.com>
8575
8576 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8577
8578 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8579 FD_CLOEXEC for /proc/self/maps.
8580
8581 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8582 FD_CLOEXEC for /proc/meminfo.
8583
8584 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8585 gai.conf.
8586
8587 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8588 FD_CLOEXEC for given file.
8589
8590 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8591
8592 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8593 FD_CLOEXEC for /etc/hosts.
8594 (_gethtent): Likewise.
8595
8596 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8597
8598 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8599 cancellation and set FD_CLOEXEC for /etc/netgroup.
8600
8601 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8602 reading /etc/publickey.
8603
8604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8605 allow cancellation when reading /etc/group.
8606
8607 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8608 cancellation.
8609 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8610
8611 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8612 when using data file.
8613
8614 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8615
8616 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8617 (write_nis_obj): Use "c" and "e" in fopen.
8618
8619 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8620
8621 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8622
8623 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8624
8625 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8626
8627 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8628 locale.alias.
8629
8630 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8631
8632 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8633
8634 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8635
8636 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8637 file parsing and set FD_CLOEXEC.
8638
82af0fa8
UD
86392011-11-14 Ulrich Drepper <drepper@gmail.com>
8640
8641 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8642
a5fb313c
AS
86432011-11-14 Andreas Schwab <schwab@redhat.com>
8644
8645 * malloc/arena.c (arena_get2): Don't call reused_arena when
8646 _int_new_arena failed.
8647
6abf3465
UD
86482011-11-14 Ulrich Drepper <drepper@gmail.com>
8649
8650 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8651 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8653 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8654 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8655 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8656 to compile strcasecmp and strncasecmp.
8657 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8658 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8659
8660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8661
76e3966e
UD
86622011-11-13 Ulrich Drepper <drepper@gmail.com>
8663
8664 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8665 locale-defines.sym to gen-as-const-headers.
8666 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8667 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8669 to compile strcasecmp and strncasecmp.
8670 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8671 strcasecmp_l and strncasecmp_l.
8672 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8673 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8674 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8675 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8676 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8677 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8678 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8679 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8680 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8681 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8682 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8683
ab26144e
UD
86842011-11-12 Ulrich Drepper <drepper@gmail.com>
8685
7edb22ef
UD
8686 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8687 result of SYSDEP_GETTIME_CPU to retval.
8688 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8689 parameter list to macro. Remove trailing semicolon. Adjust users.
8690
9694fc44
UD
8691 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8692 variable.
8693
8ad89ef8
UD
8694 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8695 mantissa words.
8696 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8697
0c822ef9
UD
8698 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8699 from unused variable.
8700
874e0564
UD
8701 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8702 DWARF definitions.
8703 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8704 for assembling.
8705
3a2edc79
UD
8706 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8707 over namespaces.
8708
f3c2577f
UD
8709 * sunrpc/rpc_prot.c (rejected): Fix case value.
8710
294ce126
UD
8711 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8712 unsigned long long int to avoid warnings in shift.
8713
5e2b63c6
UD
8714 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8715 of use of trans.
8716 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8717 variable tmp.
8718
e7f4b08e
UD
8719 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8720 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8721 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8722
ab26144e
UD
8723 * nis/nis_table.c (nis_list): Use variable of correct type for
8724 result of __follow_path call.
8725
8a6d5255
AZ
87262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727
8728 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8729 of math functions ceil, trunc, floor, round, and sqrt, when
8730 avaliable on the platform.
8731 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8732 name clash.
8733 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8734 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8735 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8736
aaddc98c
MP
87372011-10-30 Marek Polacek <mpolacek@redhat.com>
8738
8739 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8740 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8741
95b7042b
RM
87422011-11-11 Roland McGrath <roland@hack.frob.com>
8743
8744 * include/unistd.h: Fix __readlink return type.
8745 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8746
57769839
UD
87472011-11-11 Ulrich Drepper <drepper@gmail.com>
8748
8749 * stdlib/ucontext.h: Undo last change for makecontext.
8750
edc5984d
AS
87512011-11-11 Andreas Schwab <schwab@redhat.com>
8752
98591e58
AS
8753 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8754
edc5984d
AS
8755 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8756 * setjmp/setjmp.h: Mark functions as non-leaf.
8757 * setjmp/bits/setjmp2.h: Likewise.
8758 * stdlib/ucontext.h: Likewise.
8759
77cdc054
AS
87602011-11-10 Andreas Schwab <schwab@redhat.com>
8761
8762 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8763 (reused_arena): Don't check arena limit.
8764 (arena_get2): Atomically check arena limit.
8765
fe72eebd
UD
87662011-11-08 Ulrich Drepper <drepper@gmail.com>
8767
5f078c32
UD
8768 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8769 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8770
fe72eebd
UD
8771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8772 instructions.
8773
ae1bc2fa
AS
87742011-11-07 Andreas Schwab <schwab@redhat.com>
8775
7583a88d
AS
8776 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8777 handler when locking.
8778
ae1bc2fa
AS
8779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8780 Fix size of allocated buffer.
8781
10fb0bfa
AS
87822011-11-04 Andreas Schwab <schwab@redhat.com>
8783
998832a4
AS
8784 [BZ #10103]
8785 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8786 declarations for long double functions.
8787 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8788
10fb0bfa
AS
8789 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8790
3d7ba52b
AS
87912011-11-03 Andreas Schwab <schwab@redhat.com>
8792
a9ae54a1
AS
8793 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8794 installed.
8795
3d7ba52b
AS
8796 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8797 is disabled.
8798
bc8db248
ST
87992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8800
8801 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8802
45b96dd6
AS
88032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8804
647776f6
AS
8805 * include/alloca.h (stackinfo_alloca_round): Define.
8806 (extend_alloca): Use it.
8807 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8808 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8809 here.
8810
d91a8b93
AS
8811 * scripts/check-local-headers.sh: Ignore libaudit.h.
8812
45b96dd6
AS
8813 * nscd/Makefile (extra-objs): Make recursively expanded.
8814
432d41ce
UD
88152011-11-01 Ulrich Drepper <drepper@gmail.com>
8816
34372fc6
UD
8817 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8818 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8819
fadb59f8
UD
8820 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8821 * posix/tst-rfc3484-2.c: Likewise.
8822 * posix/tst-rfc3484-3.c: Likewise.
8823
78239589
UD
8824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8825 process_vm_writev.
8826 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8827 process_vm_writev.
8828 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8829 process_vm_writev from libc using GLIBC_2.15 version.
8830
432d41ce
UD
8831 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8832
02f9c6cf
PP
88332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8834
8835 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8836 stack usage.
8837
3a2c0242
UD
88382011-10-31 Ulrich Drepper <drepper@gmail.com>
8839
f4ec4833
UD
8840 [BZ #13367]
8841 * nss/getent.c (initgroups_keys): Show error message in case no group
8842 names are given.
8843
3a2c0242
UD
8844 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8845 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8846 __bump_nl_timestamp.
8847 * nscd/connections (nscd_init): When host database is served open
8848 netlink socket and request notification about configuration changes.
8849 (main_loop_poll): Track netlink file descriptor and bump timestamp
8850 in case data becomes available.
8851 (main_loop_epoll): Likewise.
8852 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8853 (database_pers_head): Add extra_data fileds.
8854 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8855 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8856 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8857 Adjust caller.
8858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8859 in6ai data, call __free_in6ai.
8860 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8861 Add -DHAVE_NETLINK.
8862 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8863 interface information. Reuse previous data if netlink timestamp
8864 is not changed.
8865 (__bump_nl_timestamp): New function.
8866 (__free_in6ai): New function.
8867
636064eb
UD
88682011-10-30 Ulrich Drepper <drepper@gmail.com>
8869
8870 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8871 close_not_cancel_no_status here.
8872 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8873
9beb2334
UD
88742011-10-29 Ulrich Drepper <drepper@gmail.com>
8875
6ef76f3b
UD
8876 [BZ #13276]
8877 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8878 return value.
8879
0ffc4f3e 8880 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8881 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8882 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8883
cb95113e
UD
88842011-07-03 Andreas Jaeger <aj@suse.de>
8885
8886 [BZ #10709]
8887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8888 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8889 * math/libm-test.inc (sin_test): Add test case.
8890
a1b560ff
UD
88912011-10-29 Ulrich Drepper <drepper@gmail.com>
8892
c9aaface
UD
8893 [BZ #13337]
8894 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8896
d272e7f1
UD
8897 * elf/chroot_canon.c (chroot_canon): Cleanups.
8898
1bc33071
UD
8899 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8900
1760874d
TJ
8901 [BZ #13335]
8902 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8903 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8904
51d91b18
UD
8905 * string/test-strchr.c: Make usable for strchrnul testing.
8906 * string/test-strchrnul.c: New file.
8907 * string/Makefile (strop-tests): Add strchrnul.
8908
a1b560ff 8909 * po/it.po: Update from translation team.
b611fb81 8910 * po/es.po: Likewise.
a1b560ff 8911
a5b81e1f
UD
89122011-10-28 Ulrich Drepper <drepper@gmail.com>
8913
fd52bc6d
UD
8914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8915 the three constants needed as parameters. Drop the others.
8916 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8917 __m128i_strloadu_tolower.
52e4b9eb
UD
8918 Create and initialize variable zero and use it in all the places
8919 where _mm_setzero_si128 was used.
fd52bc6d 8920
a5b81e1f
UD
8921 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8922 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8923 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8924 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8925 anymore.
8926 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8927 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8928 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8929 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8930 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8931 __mpranred, __mptan.
8932 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8933 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8934 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8935 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8936 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8937 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8939 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8940 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8941
b4343346
AS
89422011-10-28 Andreas Schwab <schwab@redhat.com>
8943
0c92d8a8
AS
8944 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8945 redefine if SHARED.
8946 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8947
b4343346
AS
8948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8949 wide char related routines to wcsmbs subdir.
8950
3871f58f
AS
89512011-10-27 Andreas Schwab <schwab@redhat.com>
8952
8953 [BZ #13344]
8954 * misc/sys/cdefs.h (__THROWNL): Define.
8955 * posix/unistd.h: Use __THREADNL instead of __THREAD
8956 for memory synchronization functions.
8957
94d44d9f
RM
89582011-10-26 Roland McGrath <roland@hack.frob.com>
8959
21b64b15 8960 [BZ #13349]
94d44d9f
RM
8961 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8962 doesn't exist.
8963 * manual/stdio.texi (Obstack Streams): Node removed.
8964
f6ce9294
AS
89652011-10-26 Andreas Schwab <schwab@redhat.com>
8966
80479147
AS
8967 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8968 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8970
f6ce9294
AS
8971 * math/math_private.h (math_force_eval): Allow non-addressable
8972 arguments.
8973 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8974
618280a1
UD
89752011-10-25 Ulrich Drepper <drepper@gmail.com>
8976
e0016b11
UD
8977 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8978 file is not needed.
8979
8980 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8983 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8985 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8987 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8988 Add AVX variants.
8989 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8990 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8991 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8992 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8993 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8994 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8995 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8996 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8997 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8998 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8999 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9000 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9001 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9002 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9003 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9004 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9005 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9006 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9007 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9008
9009 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9010 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9011
618280a1
UD
9012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9013 place. Use VEX encoding when compiling for AVX.
9014
37822576
AS
90152011-10-25 Andreas Schwab <schwab@redhat.com>
9016
1f1e1947
AS
9017 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9018 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9019
37822576
AS
9020 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9021
31ea014d
UD
90222011-10-25 Ulrich Drepper <drepper@gmail.com>
9023
d7826aa1 9024 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9025 useless if() expression.
d7826aa1
UD
9026 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9042 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9044 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9045
31ea014d
UD
9046 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9047
16437fec
AS
90482011-10-25 Andreas Schwab <schwab@redhat.com>
9049
9050 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9051 condition.
9052 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9053
31d3cc00
UD
90542011-10-25 Ulrich Drepper <drepper@gmail.com>
9055
9056 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9057 .text section. Avoid duplicate constants.
9058 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9068 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9070 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9073 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9075 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9081 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9082 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9083 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9084 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9085 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9086 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9087 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9088 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9090 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9091 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9092 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9093 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9094 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9095 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9096 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9097 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9098 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9099 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9100 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9101 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9102 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9103
58985aa9
UD
91042011-10-24 Ulrich Drepper <drepper@gmail.com>
9105
202c9deb
UD
9106 * sysdeps/x86_64/dla.h: Move to ...
9107 * sysdeps/x86_64/fpu/dla.h: ...here.
9108 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9109 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9110
af968f62
UD
9111 * config.make.in: Add have-mfma4 entry.
9112 * configure.in: Substitute libc_cv_cc_fma4.
9113 * math/Makefile (dbl-only-routines): Add sincostab.
9114 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9115 Use __sincostab not sincos.
9116 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9117 name is a macro.
9118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9122 using __copysign.
9123 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9124 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9125 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9126 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9127 and __inv.
9128 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9129 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9130 __copysign.
9131 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9132 define aliases when function name is a macro.
9133 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9134 sysdeps/ieee754/dbl-64/sincos.tbl.
9135 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9136 fma4-enabled routines.
9137 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9138 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9139 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9140 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9142 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9144 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9146 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9147 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9148 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9149 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9150 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9151 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9152 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9153 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9154 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9155 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9156 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9157 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9158 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9159 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9160 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9162 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9163 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9164 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9165 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9166 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9167
58985aa9
UD
9168 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9169 rename.
9170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9178
a201fbcf
AS
91792011-10-24 Andreas Schwab <schwab@redhat.com>
9180
9181 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9182
fc2ee42a
LD
91832011-10-23 Ulrich Drepper <drepper@gmail.com>
9184
bb3129bd
UD
9185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9186
0275fff8
UD
9187 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9188 prediction.
9189 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9190
2fa2ae85
UD
9191 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9192 Remove unused variable magic_bits.
9193 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9194
fc2ee42a
LD
9195 * string/strnlen.c: Define and use STRNLEN macro.
9196 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9197 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9198 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9199 * wcsmbs/wcslen.c: Define and use WCSLEN.
9200 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9201 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9202 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9203 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9204 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9205 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9206 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9207
ce7dd29f
LD
92082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9209
9210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9211 strnlen-sse2-no-bsf.
9212 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9213 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9214 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9215 Add strnlen support.
9216 (USE_AS_STRNLEN): New macro.
9217 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9218 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9219 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9220 * sysdeps/x86_64/wcslen.S: New file.
9221
979c70a3
MZ
92222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9223
9224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9225 XMM-moves are used for copying on small sizes.
9226
2d09f82f
LD
92272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9228
9229 * wcsmbs/Makefile (strop-tests): Add wcschr.
9230 * wcsmbs/test-wcschr.c: New file.
9231 * string/test-strchr.c: Update.
9232 Add wcschr support.
9233 (WIDE): New macro.
9234
619fccca
LD
92352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9236
2d09f82f 9237 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9238 * wcsmbs/test-wcslen.c: New file.
9239 * string/test-strlen.c: Update.
9240 Add wcslen support.
9241 (WIDE): New macro.
9242
09f699ea
UD
92432011-10-23 Ulrich Drepper <drepper@gmail.com>
9244
9245 * po/it.po: Update from translation team.
9246
95584d3b
LD
92472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9248
9249 * sysdeps/x86_64/wcscmp.S: Update.
9250 Fix wrong comparison semantics.
9251 wcscmp shall use signed comparison not unsigned.
9252 Don't use substraction to avoid overflow bug.
9253 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9254 * wcsmbc/wcscmp.c: Likewise.
9255 * string/test-strcmp.c: Likewise.
9256 Add new tests to check cases with negative values.
9257
c8b3296b
UD
92582011-10-23 Ulrich Drepper <drepper@gmail.com>
9259
9260 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9261 * sysdeps/x86_64/dla.h: ...here. New file.
9262 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9271
246ad57a
AS
92722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9273
9274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9275 __ynl_finite aliases.
9276
a1a87169
UD
92772011-10-22 Ulrich Drepper <drepper@gmail.com>
9278
0d355eb7
UD
9279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9280
a1a87169
UD
9281 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9282 define DLA_FMA.
9283 [DLA_FMA] (EMULV): Use DLA_FMA.
9284 [DLA_FMA] (MUL12): Use EMULV.
9285 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9286 that are not needed.
9287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9294
ee2aafe0
AS
92952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9296
9297 * math/s_nan.c: Undef __nan.
9298 * math/s_nanf.c: Undef __nanf.
9299 * math/s_nanl.c: Undef __nanl.
9300 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9301 "math_private.h".
9302
bc62c2fb
UD
93032011-10-22 Ulrich Drepper <drepper@gmail.com>
9304
77425c63
UD
9305 * math/s_catan.c: Add branch predictions.
9306 * math/s_catanf.c: Likewise.
9307 * math/s_catanh.c: Likewise.
9308 * math/s_catanhf.c: Likewise.
9309 * math/s_catanhl.c: Likewise.
9310 * math/s_catanl.c: Likewise.
9311 * math/s_cexp.c: Likewise.
9312 * math/s_cexpf.c: Likewise.
9313 * math/s_cexpl.c: Likewise.
9314 * math/s_clog.c: Likewise.
9315 * math/s_clog10.c: Likewise.
9316 * math/s_clog10f.c: Likewise.
9317 * math/s_clog10l.c: Likewise.
9318 * math/s_clogf.c: Likewise.
9319 * math/s_clogl.c: Likewise.
9320 * math/s_csqrt.c: Likewise.
9321 * math/s_csqrtf.c: Likewise.
9322 * math/s_csqrtl.c: Likewise.
9323 * math/s_ctanf.c: Likewise.
9324 * math/s_ctanh.c: Likewise.
9325 * math/s_ctanhf.c: Likewise.
9326 * math/s_ctanhl.c: Likewise.
9327 * math/s_ctanl.c: Likewise.
9328
bc62c2fb
UD
9329 * math/math_private.h: Define __nan, __nanf, __nanl.
9330 * math/s_cacosh.c: Include <math_private.h>.
9331 * math/s_cacoshl.c: Likewise.
9332 * math/s_casinh.c: Likewise.
9333 * math/s_casinhf.c: Likewise.
9334 * math/s_casinhl.c: Likewise.
9335 * math/s_ccos.c: Rely entire on ccosh.
9336 * math/s_ccosf.c: Rely entire on ccoshf.
9337 * math/s_ccosl.c: Rely entirely on ccoshl.
9338 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9339 Remove tests for FE_INVALID.
9340 * math/s_ccoshf.c: Likewise.
9341 * math/s_ccoshl.c: Likewise.
9342 * math/s_csin.c: Likewise.
9343 * math/s_csinf.c: Likewise.
9344 * math/s_csinh.c Likewise.
9345 * math/s_csinhf.c: Likewise.
9346 * math/s_csinhl.c: Likewise.
9347 * math/s_csinl.c: Likewise.
9348 * math/s_ctan.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9350 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9351 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9352
8ec250a4
UD
93532011-10-21 Ulrich Drepper <drepper@gmail.com>
9354
c196fed8
UD
9355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9356 compilation problems.
9357
8ec250a4
UD
9358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9359 __builtin_expect.
9360
8d4f46c6
UD
93612011-10-20 Ulrich Drepper <drepper@gmail.com>
9362
ed72b654
UD
9363 * sysdeps/i386/configure.in: Test for -mfma4 option.
9364 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9365 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9366 COMMON_CPUID_INDEX_80000001.
9367 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9368 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9369 use it if FMA3 is not supported.
9370 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9371
8d4f46c6
UD
9372 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9373 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9374
d45c60c2
AS
93752011-10-20 Andreas Schwab <schwab@redhat.com>
9376
9377 [BZ #12892]
9378 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9379 it would create a cycle with a link time dependency.
9380
d9a4d2ab
UD
93812011-10-19 Ulrich Drepper <drepper@gmail.com>
9382
855d1560
UD
9383 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9384 instruction.
9385 * string/Makefile (strop-tests): Add rawmemchr.
9386 * string/test-rawmemchr.c: New file.
9387
d9a4d2ab
UD
9388 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9389 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9390 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9391 when compiling str{,n}casecmp and when AVX is available. Hook up
9392 new optimized code in initializers.
9393
8f3b1ffe
AS
93942011-10-19 Andreas Schwab <schwab@redhat.com>
9395
9396 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9397 __feraiseexcept instead of feraiseexcept.
9398
d38f1dba
UD
93992011-10-18 Ulrich Drepper <drepper@gmail.com>
9400
d9a8d0ab
UD
9401 * math/math_private.h: Define defaults for libc_fetestexcept and
9402 libc_feupdateenv.
9403 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9404 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9405 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9406 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9407 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9408 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9409 libc_fetestexcept and libc_feupdateenv.
9410
4855e3dd
UD
9411 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9412 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9413 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9414 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9415 libc_feholdexcept_setround.
9416
581d30e3
UD
9417 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9418 Add s_nearbyint-c and s_nearbyintf-c.
9419 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9420 nearbyintf inlines.
9421 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9422 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9423 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9424 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9425
d38f1dba
UD
9426 * math/math_private.h: Define defaults for libc_fegetround,
9427 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9428 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9429 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9431 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9432 standard functions.
9433 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9434 Remove comments and hacks for old compiler versions.
9435 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9436 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9437 libc_feholdexceptl.
9438
caa6c9d8
AS
94392011-10-18 Andreas Schwab <schwab@redhat.com>
9440
9441 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9442 (__feraiseexcept_renamed): Add __NTH.
9443 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9444 namespace violations.
9445
97c066e6
UD
94462011-10-17 Ulrich Drepper <drepper@gmail.com>
9447
99ce7b04
UD
9448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9449
1004d182
UD
9450 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9451
228a984d
UD
9452 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9453 recently added interfaces.
9454 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9455
c8553a6a
UD
9456 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9457 about macro parameter expansion.
9458
ed22dcf6
UD
9459 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9460 __NO_MATH_INLINES is defined. Cleanups.
9461
9462 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9463 and __floorf is target has SSE4.1.
9464 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9465 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9466 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9467 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9468
b171c137
UD
9469 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9470 name.
9471 (floorf): Likewise.
9472
97c066e6
UD
9473 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9474
629f62ef
AS
94752011-10-17 Andreas Schwab <schwab@redhat.com>
9476
49a43d80
AS
9477 * misc/sys/cdefs.h: Fix last change.
9478
629f62ef
AS
9479 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9480 database lookup.
9481
e453f6cd
UD
94822011-10-16 Ulrich Drepper <drepper@gmail.com>
9483
aa78043a
UD
9484 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9485
ad0f5cad
UD
9486 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9487 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9492 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9495 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9496 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9497 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9498 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9499 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9500 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9501 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9502 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9503 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9504 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9505 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9506 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9507 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9508
9509 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9510 ceil, ceilf, floor, floorf.
9511
9512 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9513 Perform IRELATIVE relocations last.
9514
e453f6cd
UD
9515 * elf/do-rel.h: Add another parameter nrelative, replacing the
9516 local variable with the same name. Change name of the function
9517 to end in Rel or Rela (uppercase).
9518 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9519 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9520 elf_dynamic_do_##reloc function.
9521
fd5bdc09
UD
95222011-10-15 Ulrich Drepper <drepper@gmail.com>
9523
79b195b5
UD
9524 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9525 is sufficient, at least on modern CPUs.
9526
d4a28569
UD
9527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9528
b61099b5
UD
9529 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9531
bcf01e6d
UD
9532 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9533 __expl_finite.
9534 * math/bits/math-finite.h: Add entries for exp.
9535 * math/e_expl.c: Add __*_finite alias.
9536 * sysdeps/i386/fpu/e_exp.S: Likewise.
9537 * sysdeps/i386/fpu/e_expf.S: Likewise.
9538 * sysdeps/i386/fpu/e_expl.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9540 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9544 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9546
ba1a0d59
UD
9547 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9548 is sufficient, at least on modern CPUs.
9549
fd5bdc09
UD
9550 * ctype/ctype-info.c (__ctype_init): Define.
9551 * include/ctype.h (__ctype_init): Declare.
9552 (__ctype_b_loc): The variable is always initialized.
9553 (__ctype_toupper_loc): Likewise.
9554 (__ctype_tolower_loc): Likewise.
9555 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9556 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9557
7872cfb0
AS
95582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9559
b468825a
AS
9560 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9561
7872cfb0
AS
9562 * configure.in: Also look in $cxxmachine/include for C++ system
9563 headers.
9564
be13f7bf
LD
95652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9566
9567 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9568 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9569 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9570 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9571 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9572 (USE_AS_WMEMCMP): New macro.
9573 Fixing indents.
9574 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9575 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9576 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9577 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9579 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9580 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9581 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9582 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9583 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9584 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9585 (USE_AS_WMEMCMP): New macro.
9586 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9587 * sysdeps/string/test-memcmp.c: Update.
9588 Fix simple_wmemcmp.
9589 Add new tests.
9590 * wcsmbs/wmemcmp.c: Update.
9591 (WMEMCMP): New macro.
9592 Fix overflow bug.
9593
556a2007
AJ
95942011-10-12 Andreas Jaeger <aj@suse.de>
9595
9596 [BZ #13268]
9597 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9598
538faaa7
UD
95992011-10-15 Ulrich Drepper <drepper@gmail.com>
9600
ab6737ff
UD
9601 * libio/iofwide.c (do_length): Avoid warning.
9602
538faaa7
UD
9603 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9604
396a21b1
UD
96052011-10-14 Ulrich Drepper <drepper@gmail.com>
9606
cdf2901f
UD
9607 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9608
38ad40ce
UD
9609 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9610 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9611 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9612 * sysdeps/i386/i686/fpu/e_log.S: New file.
9613 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9614 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9615
396a21b1
UD
9616 * ctype/ctype.h: Add support for inlined isXXX functions when
9617 compiling C++ code.
9618
6b1f68c9
AS
96192011-10-14 Andreas Schwab <schwab@redhat.com>
9620
349290c0
AS
9621 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9622
6b1f68c9
AS
9623 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9624
f2282d42
RM
96252011-10-13 Roland McGrath <roland@hack.frob.com>
9626
9627 [BZ #13291]
9628 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9629
5298ffa8
AS
96302011-10-13 Andreas Schwab <schwab@redhat.com>
9631
714fad23
AS
9632 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9633 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9634 feraiseexcept.
9635
81dcc7fb
AS
9636 * sysdeps/x86_64/memrchr.S: Check for zero size.
9637
5298ffa8
AS
9638 * string/stratcliff.c: Add memrchr tests.
9639
951fbcec
LD
96402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9641
9642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9643 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9644 rawmemchr-sse2 rawmemchr-sse2-bsf.
9645 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9646 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9647 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9648 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9649 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9650 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9651 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9652 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9653 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9654 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9655 * string/memrchr.c (MEMRCHR): New macro.
9656
0ac5ae23
UD
96572011-10-12 Ulrich Drepper <drepper@gmail.com>
9658
9659 Add integration with gcc's -ffinite-math-only and optimize wrapper
9660 functions in libm.
9661 * Versions.def: Define GLIBC_2.15 version for libm.
9662 * math/Makefile (headers): Add bits/math-finite.h.
9663 * math/bits/math-finite.h: New file.
9664 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9665 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9666 * math/e_acoshl.c: Add __*_finite alias.
9667 * math/e_acosl.c: Likewise.
9668 * math/e_asinl.c: Likewise.
9669 * math/e_atan2l.c: Likewise.
9670 * math/e_atanhl.c: Likewise.
9671 * math/e_coshl.c: Likewise.
9672 * math/e_exp10.c: Likewise.
9673 * math/e_exp10f.c: Likewise.
9674 * math/e_exp10l.c: Likewise.
9675 * math/e_exp2l.c: Likewise.
9676 * math/e_fmodl.c: Likewise.
9677 * math/e_gammal_r.c: Likewise.
9678 * math/e_hypotl.c: Likewise.
9679 * math/e_j0l.c: Likewise.
9680 * math/e_j1l.c: Likewise.
9681 * math/e_jnl.c: Likewise.
9682 * math/e_lgammal_r.c: Likewise.
9683 * math/e_log10l.c: Likewise.
9684 * math/e_log2l.c: Likewise.
9685 * math/e_logl.c: Likewise.
9686 * math/e_powl.c: Likewise.
9687 * math/e_sinhl.c: Likewise.
9688 * math/e_sqrtl.c: Likewise.
9689 * math/e_scalb.c: Completely rewritten and optimized.
9690 * math/e_scalbf.c: Likewise.
9691 * math/e_scalbl.c: Likewise.
9692 * math/w_acos.c: Likewise.
9693 * math/w_acosf.c: Likewise.
9694 * math/w_acosl.c: Likewise.
9695 * math/w_acosh.c: Likewise.
9696 * math/w_acoshf.c: Likewise.
9697 * math/w_acoshl.c: Likewise.
9698 * math/w_asin.c: Likewise.
9699 * math/w_asinf.c: Likewise.
9700 * math/w_asinl.c: Likewise.
9701 * math/w_atan2.c: Likewise.
9702 * math/w_atan2f.c: Likewise.
9703 * math/w_atan2l.c: Likewise.
9704 * math/w_atanh.c: Likewise.
9705 * math/w_atanhf.c: Likewise.
9706 * math/w_atanhl.c: Likewise.
9707 * math/w_exp10.c: Likewise.
9708 * math/w_exp10f.c: Likewise.
9709 * math/w_exp10l.c: Likewise.
9710 * math/w_fmod.c: Likewise.
9711 * math/w_fmodf.c: Likewise.
9712 * math/w_fmodl.c: Likewise.
9713 * math/w_j0.c: Likewise.
9714 * math/w_j0f.c: Likewise.
9715 * math/w_j0l.c: Likewise.
9716 * math/w_j1.c: Likewise.
9717 * math/w_j1f.c: Likewise.
9718 * math/w_j1l.c: Likewise.
9719 * math/w_jn.c: Likewise.
9720 * math/w_jnf.c: Likewise.
9721 * math/w_log.c: Likewise.
9722 * math/w_logf.c: Likewise.
9723 * math/w_logl.c: Likewise.
9724 * math/w_log10.c: Likewise.
9725 * math/w_log10f.c: Likewise.
9726 * math/w_log10l.c: Likewise.
9727 * math/w_log2.c: Likewise.
9728 * math/w_log2f.c: Likewise.
9729 * math/w_log2l.c: Likewise.
9730 * math/w_pow.c: Likewise.
9731 * math/w_powf.c: Likewise.
9732 * math/w_powl.c: Likewise.
9733 * math/w_remainder.c: Likewise.
9734 * math/w_remainderf.c: Likewise.
9735 * math/w_remainderl.c: Likewise.
9736 * math/w_scalb.c: Likewise.
9737 * math/w_scalbf.c: Likewise.
9738 * math/w_scalbl.c: Likewise.
9739 * math/w_sqrt.c: Likewise.
9740 * math/w_sqrtf.c: Likewise.
9741 * math/w_sqrtl.c: Likewise.
9742 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9743 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9744 used.
9745 * math/math_private.h: Declare __kernel_standard_f.
9746 * math/w_cosh.c: Remove cruft and optimize a bit.
9747 * math/w_coshf.c: Likewise.
9748 * math/w_coshl.c: Likewise.
9749 * math/w_exp2.c: Likewise.
9750 * math/w_exp2f.c: Likewise.
9751 * math/w_exp2l.c: Likewise.
9752 * math/w_hypot.c: Likewise.
9753 * math/w_hypotf.c: Likewise.
9754 * math/w_hypotl.c: Likewise.
9755 * math/w_lgamma.c: Likewise.
9756 * math/w_lgamma_r.c: Likewise.
9757 * math/w_lgammaf.c: Likewise.
9758 * math/w_lgammaf_r.c: Likewise.
9759 * math/w_lgammal.c: Likewise.
9760 * math/w_lgammal_r.c: Likewise.
9761 * math/w_sinh.c: Likewise.
9762 * math/w_sinhf.c: Likewise.
9763 * math/w_sinhl.c: Likewise.
9764 * math/w_tgamma.c: Likewise.
9765 * math/w_tgammaf.c: Likewise.
9766 * math/w_tgammal.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9769 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9770 Minor optimizations. Pretty printing. Remove cruft.
9771 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9772 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9773 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9774 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9775 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9776 * sysdeps/i386/fpu/e_asin.S: Likewise.
9777 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9778 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9779 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9780 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9781 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9782 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9783 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9784 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9785 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9786 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9787 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9788 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9789 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9790 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9791 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9792 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9793 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9794 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9795 * sysdeps/i386/fpu/e_log.S: Likewise.
9796 * sysdeps/i386/fpu/e_log10.S: Likewise.
9797 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9798 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9799 * sysdeps/i386/fpu/e_log2.S: Likewise.
9800 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9802 * sysdeps/i386/fpu/e_logf.S: Likewise.
9803 * sysdeps/i386/fpu/e_logl.S: Likewise.
9804 * sysdeps/i386/fpu/e_pow.S: Likewise.
9805 * sysdeps/i386/fpu/e_powf.S: Likewise.
9806 * sysdeps/i386/fpu/e_powl.S: Likewise.
9807 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9808 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9809 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9810 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9811 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9813 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9814 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9815 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9836 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9837 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9840 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9841 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9843 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9845 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9847 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9848 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9849 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9850 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9851 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9852 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9854 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9855 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9857 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9899 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9901 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9902 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9904 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9907 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9908 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9909 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9910 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9911 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9912 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9913 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9914 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9915 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9916 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9917 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9918 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9919 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9920 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9921 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9922 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9924 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9925 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9926 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9927 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9928 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9929 (__isnanf): Likewise.
9930 (__isinf_ns): Likewise.
9931 (__isinf_nsf): Likewise.
9932 (__finite): Likewise.
9933 (__finitef): Likewise.
9934 (__ieee754_sqrt): Define as macro.
9935 (__ieee754_sqrtf): Define as macro.
9936 (__ieee754_sqrtl): Define as macro.
9937 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9938 inlined copy.
9939 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9940 __FINITE_MATH_ONLY__ consistent.
9941 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9942
12cc2fcd
AS
99432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9944
a843a204
AS
9945 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9946 of rawmemchr.
9947
12cc2fcd
AS
9948 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9949
c853acd5
UD
99502011-10-09 Ulrich Drepper <drepper@gmail.com>
9951
9952 * po/ja.po: Update from translation team.
9953
c658d255
RM
99542011-10-08 Roland McGrath <roland@hack.frob.com>
9955
110946e4
RM
9956 * locale/programs/locarchive.c (prepare_address_space): New function.
9957 (create_archive, enlarge_archive, open_archive): Use it.
9958
50604220
RM
9959 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9960 inside [SHARED], where it is used.
9961
c658d255
RM
9962 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9963
9964 * nss/getent.c (netgroup_keys): Remove unused variable.
9965 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9966
6a621eb7
UD
99672011-10-08 Ulrich Drepper <drepper@gmail.com>
9968
7edb55ce
UD
9969 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9970 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9972 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9973 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9974 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9975 * math/Makefile (libm-calls): Add s_isinf_ns.
9976 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9977 * math/multc3.c: Likewise.
9978 * math/s_casin.c: Likewise.
9979 * math/s_casinf.c: Likewise.
9980 * math/s_casinl.c: Likewise.
9981 * math/s_ccos.c: Likewise.
9982 * math/s_ccosf.c: Likewise.
9983 * math/s_ccosl.c: Likewise.
9984 * math/s_ctan.c: Likewise.
9985 * math/s_ctanf.c: Likewise.
9986 * math/s_ctanh.c: Likewise.
9987 * math/s_ctanhf.c: Likewise.
9988 * math/s_ctanhl.c: Likewise.
9989 * math/s_ctanl.c: Likewise.
9990 * math/w_fmod.c: Likewise.
9991 * math/w_fmodf.c: Likewise.
9992 * math/w_fmodl.c: Likewise.
9993 * math/w_remainder.c: Likewise.
9994 * math/w_remainderf.c: Likewise.
9995 * math/w_remainderl.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9997 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10000 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10001 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10002 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10003 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10004
187da0ae
UD
10005 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10006 of the number.
10007 * stdio-common/printf_fphex.c: Likewise.
10008 * stdio-common/printf_size.c: Likewise.
10009
9277c064
UD
10010 * math/e_exp10.c: Include math_private.h using <...> not "...".
10011 * math/e_exp10f.c: Likewise.
10012 * math/e_exp10l.c: Likewise.
10013 * math/e_exp2l.c: Likewise.
10014 * math/e_j0l.c: Likewise.
10015 * math/e_j1l.c: Likewise.
10016 * math/e_jnl.c: Likewise.
10017 * math/e_lgammal_r.c: Likewise.
10018 * math/e_rem_pio2l.c: Likewise.
10019 * math/e_scalb.c: Likewise.
10020 * math/e_scalbf.c: Likewise.
10021 * math/e_scalbl.c: Likewise.
10022 * math/k_cosl.c: Likewise.
10023 * math/k_sinl.c: Likewise.
10024 * math/k_tanl.c: Likewise.
10025 * math/s_cacoshf.c: Likewise.
10026 * math/s_catan.c: Likewise.
10027 * math/s_catanf.c: Likewise.
10028 * math/s_catanh.c: Likewise.
10029 * math/s_catanhf.c: Likewise.
10030 * math/s_catanhl.c: Likewise.
10031 * math/s_catanl.c: Likewise.
10032 * math/s_ccosh.c: Likewise.
10033 * math/s_ccoshf.c: Likewise.
10034 * math/s_ccoshl.c: Likewise.
10035 * math/s_cexp.c: Likewise.
10036 * math/s_cexpf.c: Likewise.
10037 * math/s_cexpl.c: Likewise.
10038 * math/s_clog.c: Likewise.
10039 * math/s_clog10.c: Likewise.
10040 * math/s_clog10f.c: Likewise.
10041 * math/s_clog10l.c: Likewise.
10042 * math/s_clogf.c: Likewise.
10043 * math/s_clogl.c: Likewise.
10044 * math/s_csin.c: Likewise.
10045 * math/s_csinf.c: Likewise.
10046 * math/s_csinh.c: Likewise.
10047 * math/s_csinhf.c: Likewise.
10048 * math/s_csinhl.c: Likewise.
10049 * math/s_csinl.c: Likewise.
10050 * math/s_csqrt.c: Likewise.
10051 * math/s_csqrtf.c: Likewise.
10052 * math/s_csqrtl.c: Likewise.
10053 * math/s_ctan.c: Likewise.
10054 * math/s_ctanf.c: Likewise.
10055 * math/s_ctanh.c: Likewise.
10056 * math/s_ctanhf.c: Likewise.
10057 * math/s_ctanhl.c: Likewise.
10058 * math/s_ctanl.c: Likewise.
10059 * math/s_ldexp.c: Likewise.
10060 * math/s_ldexpf.c: Likewise.
10061 * math/s_ldexpl.c: Likewise.
10062 * math/s_significand.c: Likewise.
10063 * math/s_significandf.c: Likewise.
10064 * math/s_significandl.c: Likewise.
10065 * math/w_acos.c: Likewise.
10066 * math/w_acosf.c: Likewise.
10067 * math/w_acosh.c: Likewise.
10068 * math/w_acoshf.c: Likewise.
10069 * math/w_acoshl.c: Likewise.
10070 * math/w_acosl.c: Likewise.
10071 * math/w_asin.c: Likewise.
10072 * math/w_asinf.c: Likewise.
10073 * math/w_asinl.c: Likewise.
10074 * math/w_atan2.c: Likewise.
10075 * math/w_atan2f.c: Likewise.
10076 * math/w_atan2l.c: Likewise.
10077 * math/w_atanh.c: Likewise.
10078 * math/w_atanhf.c: Likewise.
10079 * math/w_atanhl.c: Likewise.
10080 * math/w_cosh.c: Likewise.
10081 * math/w_coshf.c: Likewise.
10082 * math/w_coshl.c: Likewise.
10083 * math/w_dremf.c: Likewise.
10084 * math/w_exp10.c: Likewise.
10085 * math/w_exp10f.c: Likewise.
10086 * math/w_exp10l.c: Likewise.
10087 * math/w_exp2.c: Likewise.
10088 * math/w_exp2f.c: Likewise.
10089 * math/w_fmod.c: Likewise.
10090 * math/w_fmodf.c: Likewise.
10091 * math/w_fmodl.c: Likewise.
10092 * math/w_hypot.c: Likewise.
10093 * math/w_hypotf.c: Likewise.
10094 * math/w_hypotl.c: Likewise.
10095 * math/w_j0.c: Likewise.
10096 * math/w_j0f.c: Likewise.
10097 * math/w_j0l.c: Likewise.
10098 * math/w_j1.c: Likewise.
10099 * math/w_j1f.c: Likewise.
10100 * math/w_j1l.c: Likewise.
10101 * math/w_jn.c: Likewise.
10102 * math/w_jnf.c: Likewise.
10103 * math/w_jnl.c: Likewise.
10104 * math/w_lgamma.c: Likewise.
10105 * math/w_lgamma_r.c: Likewise.
10106 * math/w_lgammaf.c: Likewise.
10107 * math/w_lgammaf_r.c: Likewise.
10108 * math/w_lgammal.c: Likewise.
10109 * math/w_lgammal_r.c: Likewise.
10110 * math/w_log.c: Likewise.
10111 * math/w_log10.c: Likewise.
10112 * math/w_log10f.c: Likewise.
10113 * math/w_log10l.c: Likewise.
10114 * math/w_log2.c: Likewise.
10115 * math/w_log2f.c: Likewise.
10116 * math/w_log2l.c: Likewise.
10117 * math/w_logf.c: Likewise.
10118 * math/w_logl.c: Likewise.
10119 * math/w_pow.c: Likewise.
10120 * math/w_powf.c: Likewise.
10121 * math/w_powl.c: Likewise.
10122 * math/w_remainder.c: Likewise.
10123 * math/w_remainderf.c: Likewise.
10124 * math/w_remainderl.c: Likewise.
10125 * math/w_scalb.c: Likewise.
10126 * math/w_scalbf.c: Likewise.
10127 * math/w_scalbl.c: Likewise.
10128 * math/w_sinh.c: Likewise.
10129 * math/w_sinhf.c: Likewise.
10130 * math/w_sinhl.c: Likewise.
10131 * math/w_sqrt.c: Likewise.
10132 * math/w_sqrtf.c: Likewise.
10133 * math/w_sqrtl.c: Likewise.
10134 * math/w_tgamma.c: Likewise.
10135 * math/w_tgammaf.c: Likewise.
10136 * math/w_tgammal.c: Likewise.
10137
6a621eb7
UD
10138 * po/ja.po: Update from translation team.
10139
bf582445
AJ
101402011-09-29 Andreas Jaeger <aj@suse.de>
10141
f9efbf3a
AJ
10142 [BZ #13179]
10143 * sunrpc/netname.c (netname2host): Fix logic.
10144
bf582445
AJ
10145 [BZ #6779]
10146 [BZ #6783]
10147 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10148 correctly.
10149 * math/w_remainder.c (__remainder): Likewise.
10150 * math/w_remainderf.c (__remainderf): Likewise.
10151 * math/libm-test.inc (remainder_test): Add test cases.
10152
48693bea
AK
101532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10154
10155 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10156 sdiv_qrnnd.
10157
42622229
LD
101582011-10-07 Ulrich Drepper <drepper@gmail.com>
10159
10160 * string/test-memcmp.c: Avoid unncessary #defines.
10161 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10162
093ecf92
LD
101632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10164
10165 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10166 Use new sse2 version for core i3 - i7 as it's faster
10167 than sse42 version.
10168 (bit_Prefer_PMINUB_for_stringop): New.
10169 * sysdeps/x86_64/rawmemchr.S: Update.
10170 Replace with faster SSE2 version.
10171 * sysdeps/x86_64/memrchr.S: New file.
10172 * sysdeps/x86_64/memchr.S: Update.
10173 Replace with faster SSE2 version.
10174
fde56e5c
MP
101752011-09-12 Marek Polacek <mpolacek@redhat.com>
10176
10177 * elf/dl-load.c (lose): Add cast to avoid warning.
10178
21fd49a9
UD
101792011-10-07 Ulrich Drepper <drepper@gmail.com>
10180
5a06e643
UD
10181 * po/ca.po: Update from translation team.
10182
684ae515
UD
10183 * inet/getnetgrent_r.c: Hook up nscd.
10184 * nscd/Makefile (routines): Add nscd_netgroup.
10185 (nscd-modules): Add netgroupcache.
10186 (CFLAGS-netgroupcache.c): Define.
10187 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10188 (cache_search): Add const to second parameter.
10189 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10190 INNETGR.
10191 (dbs): Add netgrdb entry.
10192 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10193 (verify_persistent_db): Handle netgrdb.
10194 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10195 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10196 GETFDNETGR.
10197 (netgroup_response_header): Define.
10198 (innetgroup_response_header): Define.
10199 (datahead): Add netgroup_response_header and innetgroup_response_header
10200 elements.
10201 * nscd/nscd.conf: Add entries for netgroup cache.
10202 * nscd/nscd.h (dbtype): Add netgrdb.
10203 (_PATH_NSCD_NETGROUP_DB): Define.
10204 (netgroup_iov_disabled): Declare.
10205 (xmalloc, xcalloc, xrealloc): Move declarations here.
10206 (cache_search): Adjust prototype.
10207 Add netgroup-related prototypes.
10208 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10209 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10210 (__nscd_innetgr): Declare.
10211 * nscd/selinux.c (perms): Use access_vector_t as element type and
10212 add netgroup-related initializers.
10213 * nscd/netgroupcache.c: New file.
10214 * nscd/nscd_netgroup.c: New file.
10215 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10216 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10217 For four parameters use innetgr.
10218 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10219 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10220 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10221 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10222
21fd49a9
UD
10223 * nscd/connections.c (register_traced_file): Don't register file
10224 for disabled databases.
10225
054c0457
UD
102262011-10-06 Ulrich Drepper <drepper@gmail.com>
10227
32b63198
UD
10228 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10229
054c0457
UD
10230 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10231 from tree and freeing node.
10232
64031225
JO
102332011-09-25 Jiri Olsa <jolsa@redhat.com>
10234
10235 * nss/nsswitch.c (__nss_database_lookup): Handle
10236 nss_parse_service_list out of memory case.
10237
0490345c
JO
102382011-09-15 Jiri Olsa <jolsa@redhat.com>
10239
10240 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10241 out of memory case.
10242
3a62d00d
AS
102432011-10-04 Andreas Schwab <schwab@redhat.com>
10244
10245 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10246 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10247 pass it down.
10248 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10249 elf_machine_rela, elf_machine_lazy_rel.
10250 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10251 (ELF_DYNAMIC_DO_REL): Likewise.
10252 (ELF_DYNAMIC_DO_RELA): Likewise.
10253 (ELF_DYNAMIC_RELOCATE): Likewise.
10254 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10255 to ELF_DYNAMIC_DO_REL.
10256 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10257 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10258 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10259 elf_machine_rela.
10260 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10261 skip_ifunc, don't call ifunc function if non-zero.
10262 (elf_machine_rela): Likewise.
10263 (elf_machine_lazy_rel): Likewise.
10264 (elf_machine_lazy_rela): Likewise.
10265 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10266 (elf_machine_lazy_rel): Likewise.
10267 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10268 Likewise.
10269 (elf_machine_lazy_rel): Likewise.
10270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10271 Likewise.
10272 (elf_machine_lazy_rel): Likewise.
10273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10274 (elf_machine_lazy_rel): Likewise.
10275 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10276 (elf_machine_lazy_rel): Likewise.
10277 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10278 (elf_machine_lazy_rel): Likewise.
10279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10280 (elf_machine_lazy_rel): Likewise.
10281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10282 (elf_machine_lazy_rel): Likewise.
10283 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10284 (elf_machine_lazy_rel): Likewise.
10285
68577918
UD
102862011-09-28 Ulrich Drepper <drepper@gmail.com>
10287
10288 * nss/nss_files/files-init.c (_nss_files_init): Use static
10289 initialization for all the *_traced_file variables.
10290
68822d74
AS
102912011-09-28 Andreas Schwab <schwab@redhat.com>
10292
10293 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10294
2056100b
RM
102952011-09-27 Roland McGrath <roland@hack.frob.com>
10296
10297 [BZ #13226]
10298 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10299
32c76b63
AS
103002011-09-27 Andreas Schwab <schwab@redhat.com>
10301
10302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10303 Reread the line before reparsing it.
10304
bf972c9d
AS
103052011-09-26 Andreas Schwab <schwab@redhat.com>
10306
10307 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10308
e057a1b5
JM
103092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10310 Maxim Kuvyrkov <maxim@codesourcery.com>
10311 Joseph Myers <joseph@codesourcery.com>
10312
10313 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10314 if needed for __stack_chk_guard.
10315
bc7e1c36
RM
103162011-09-19 Roland McGrath <roland@hack.frob.com>
10317
ecb1482f
RM
10318 * sysdeps/posix/spawni.c (script_execute): Always define it.
10319 It will be optimized away if unused.
10320 (maybe_script_execute): New function.
10321 (__spawni): Call it.
10322
bc7e1c36
RM
10323 * Makerules: Don't include tls.make.
10324 (config-tls): Always set to thread.
10325 * tls.make.c: File removed.
10326
1c3b002b
MF
103272011-09-19 Mike Frysinger <vapier@gentoo.org>
10328
10329 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10330 * config.make.in (CPPFLAGS-config): New substituted variable.
10331
2840865d
UD
103322011-09-15 Ulrich Drepper <drepper@gmail.com>
10333
88738eb6
UD
10334 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10335
cbf645a6 10336 [BZ #13192]
2840865d
UD
10337 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10338 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10339
b402e91a
RM
103402011-09-15 Roland McGrath <roland@hack.frob.com>
10341
10342 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10343 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10345 (CALL_FAIL): Likewise.
10346 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10347 (CALL_FAIL): Macro removed.
10348 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10349
4c1a1f71
UD
103502011-09-15 Ulrich Drepper <drepper@gmail.com>
10351
10352 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10353 for __FINITE_MATH_ONLY__ == 1.
10354
edc121be
AS
103552011-09-15 Andreas Schwab <schwab@redhat.com>
10356
10357 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10358 __ieee754_sqrt instead of sqrt.
10359 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10360 __ieee754_sqrtf instead of sqrtf.
10361 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10362 __floorf instead of floorf.
10363 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10364 __floorf, __truncf instead of floorf, truncf.
10365
cd205654
UD
103662011-09-14 Ulrich Drepper <drepper@gmail.com>
10367
ee4d0315
UD
10368 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10369
cd205654
UD
10370 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10371 __extern_always_inline.
10372 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10373 32-bit.
10374
48b67d71
AS
103752011-09-14 Andreas Schwab <schwab@redhat.com>
10376
10377 * elf/rtld.c (dl_main): Also relocate in dependency order when
10378 doing symbol dependency testing.
10379
1ae12c75
AS
103802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10381
10382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10383 Always define `refsym'.
10384
995a80df
AS
103852011-09-13 Andreas Schwab <schwab@redhat.com>
10386
e529793b
AS
10387 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10388 (__FD_ELT): Renamed from __FDELT.
10389 * misc/bits/select2.h (__FD_ELT): Likewise.
10390 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10391 __FD_MASK instead of __FDELT, __FDMASK.
10392 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10393 Likewise.
10394 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10395 Likewise.
10396
52d4fef8
AS
10397 * elf/Makefile (gen-ldd): Fix pattern.
10398
995a80df
AS
10399 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10400 (init_tls): Likewise.
10401
8682f8b0
UD
104022011-09-12 Ulrich Drepper <drepper@gmail.com>
10403
10404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10405
de82006d
AS
104062011-09-12 Andreas Schwab <schwab@redhat.com>
10407
a7c8e6a1
AS
10408 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10409 `struct cmsghdr *' instead of `void *'.
10410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10411 Likewise.
10412
0f31fe77
AS
104132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10414
10415 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10416 if non-absolute.
10417 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10418 ldd_rewrite_script.
0f31fe77 10419
32b4c839
UD
104202011-09-11 Ulrich Drepper <drepper@gmail.com>
10421
83cd1420
UD
10422 * configure.in: Remove --with-tls option.
10423 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10424 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10425 out in case it is missing.
10426 * sysdeps/ia64/elf/configure.in: Likewise.
10427 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10428 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10429 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10430 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10431 * sysdeps/sh/elf/configure.in: Likewise.
10432 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10433 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10434 * sysdeps/x86_64/elf/configure.in: Likewise.
10435 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10436 * sysdeps/mach/hurd/tls.h: Likewise.
10437
633f745d
UD
10438 [BZ #13067]
10439 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10440
f318beb8
UD
10441 [BZ #13090]
10442 * configure.in: Fix use of AC_INIT.
10443
32b4c839
UD
10444 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10445
3ce1f295
UD
104462011-09-10 Ulrich Drepper <drepper@gmail.com>
10447
bb016596
UD
10448 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10449 __set_errno.
8e58439c
UD
10450 * malloc/hooks.c: Likewise.
10451
aebae053 10452 [BZ #11929]
02d46fc4
UD
10453 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10454 variables statically.
10455 (narenas): Initialize.
10456 (list_lock): Initialize.
bb016596
UD
10457 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10458 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10459 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10460 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10461 Add initializers to main_arena and mp_.
10462 (malloc_state): Remove pagesize member. Change all users to use
10463 GLRO(dl_pagesize).
10464
10465 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10466 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10467 is always initialized.
10468
22a89187
UD
10469 * malloc/malloc.c: Removed unused configurations and dead code.
10470 * malloc/arena.c: Likewise.
10471 * malloc/hooks.c: Likewise.
02d46fc4 10472 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10473
d063d164
UD
10474 * include/tls.h: Removed. USE___THREAD must always be defined.
10475 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10476 * elf/dl-libc.c: Likewise.
10477 * elf/dl-tsd.c: Likewise.
10478 * include/errno.h: Likewise.
10479 * include/netdb.h: Likewise.
10480 * include/resolv.h: Likewise.
10481 * inet/herrno-loc.c: Likewise.
10482 * inet/herrno.c: Likewise.
10483 * malloc/arena.c: Likewise.
10484 * malloc/hooks.c: Likewise.
10485 * malloc/malloc.c: Likewise.
10486 * resolv/res-state.c: Likewise.
10487 * resolv/res_libc.c: Likewise.
10488 * sysdeps/i386/dl-machine.h: Likewise.
10489 * sysdeps/ia64/dl-machine.h: Likewise.
10490 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10491 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10492 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10493 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10494 * sysdeps/sh/dl-machine.h: Likewise.
10495 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10496 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10497 * sysdeps/unix/i386/sysdep.S: Likewise.
10498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10499 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10503 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10504 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10509 * sysdeps/x86_64/dl-machine.h: Likewise.
10510 * tls.make.c: Likewise.
10511
3ce1f295
UD
10512 * configure.in: Remove --with-__thread option. Make tests for
10513 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10514 tls_model attribute fail if no support is available. Remove
10515 USE_IN_LIBIO.
10516 * Makeconfig: Adjust for dropped configure option. All features are
10517 now mandatory.
10518 * Makerules: Likewise.
10519 * Versions.def: Likewise.
10520 * argp/argp-fmtstream.c: Likewise.
10521 * argp/argp-fmtstream.h: Likewise.
10522 * argp/argp-help.c: Likewise.
10523 * assert/assert.c: Likewise.
10524 * config.h.in: Likewise.
10525 * config.make.in: Likewise.
10526 * configure: Likewise.
10527 * configure.in: Likewise.
10528 * csu/Versions: Likewise.
10529 * csu/init.c: Likewise.
10530 * elf/tst-audit2.c: Likewise.
10531 * elf/tst-tls10.c: Likewise.
10532 * elf/tst-tls10.h: Likewise.
10533 * elf/tst-tls11.c: Likewise.
10534 * elf/tst-tls12.c: Likewise.
10535 * elf/tst-tls14.c: Likewise.
10536 * elf/tst-tlsmod11.c: Likewise.
10537 * elf/tst-tlsmod12.c: Likewise.
10538 * elf/tst-tlsmod13.c: Likewise.
10539 * elf/tst-tlsmod13a.c: Likewise.
10540 * elf/tst-tlsmod14a.c: Likewise.
10541 * elf/tst-tlsmod15b.c: Likewise.
10542 * elf/tst-tlsmod16a.c: Likewise.
10543 * elf/tst-tlsmod16b.c: Likewise.
10544 * elf/tst-tlsmod7.c: Likewise.
10545 * elf/tst-tlsmod8.c: Likewise.
10546 * elf/tst-tlsmod9.c: Likewise.
10547 * gmon/gmon.c: Likewise.
10548 * grp/fgetgrent_r.c: Likewise.
10549 * grp/putgrent.c: Likewise.
10550 * hurd/fopenport.c: Likewise.
10551 * include/libc-symbols.h: Likewise.
10552 * include/tls.h: Likewise.
10553 * intl/gettextP.h: Likewise.
10554 * intl/loadinfo.h: Likewise.
10555 * locale/global-locale.c: Likewise.
10556 * locale/localeinfo.h: Likewise.
10557 * mach/devstream.c: Likewise.
10558 * malloc/arena.c: Likewise.
10559 * malloc/set-freeres.c: Likewise.
10560 * misc/err.c: Likewise.
10561 * misc/getttyent.c: Likewise.
10562 * misc/mntent_r.c: Likewise.
10563 * posix/getopt.c: Likewise.
10564 * posix/wordexp.c: Likewise.
10565 * pwd/fgetpwent_r.c: Likewise.
10566 * resolv/Versions: Likewise.
10567 * resolv/res_hconf.c: Likewise.
10568 * shadow/fgetspent_r.c: Likewise.
10569 * shadow/putspent.c: Likewise.
10570 * stdio-common/printf_fphex.c: Likewise.
10571 * stdio-common/tmpfile.c: Likewise.
10572 * stdlib/abort.c: Likewise.
10573 * stdlib/fmtmsg.c: Likewise.
10574 * sunrpc/auth_unix.c: Likewise.
10575 * sunrpc/clnt_perr.c: Likewise.
10576 * sunrpc/clnt_tcp.c: Likewise.
10577 * sunrpc/clnt_udp.c: Likewise.
10578 * sunrpc/clnt_unix.c: Likewise.
10579 * sunrpc/openchild.c: Likewise.
10580 * sunrpc/svc_simple.c: Likewise.
10581 * sunrpc/svc_tcp.c: Likewise.
10582 * sunrpc/svc_udp.c: Likewise.
10583 * sunrpc/svc_unix.c: Likewise.
10584 * sunrpc/xdr.c: Likewise.
10585 * sunrpc/xdr_array.c: Likewise.
10586 * sunrpc/xdr_rec.c: Likewise.
10587 * sunrpc/xdr_ref.c: Likewise.
10588 * sunrpc/xdr_stdio.c: Likewise.
10589
1248c1c4
PB
105902011-09-09 Ulrich Drepper <drepper@gmail.com>
10591
10592 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10593
105942011-07-03 Andreas Jaeger <aj@suse.de>
10595
10596 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10597 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10598 regenerate with gen-libm-tests.pl.
10599
106002010-05-12 Petr Baudis <pasky@suse.cz>
10601
10602 [BZ #11589]
10603 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10604 around j0() zero points by switching to j1().
10605 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10609
f22e1074
UD
106102011-09-09 Ulrich Drepper <drepper@gmail.com>
10611
f19009c1
UD
10612 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10613 instead of 0.
10614 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10615 instead of 0. .
10616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10617 Patch in part by Pavel Roskin <proski@gnu.org>.
10618
3f8cc204
UD
10619 [BZ #13138]
10620 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10621 realloc.
10622 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10623 Free memory block if necessary.
10624
f22e1074
UD
10625 [BZ #12847]
10626 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10627 be NULL. Don't lock in this case.
10628
0a2349f9
RM
106292011-09-09 Roland McGrath <roland@hack.frob.com>
10630
10631 * elf/elf.h (ELFOSABI_GNU): New macro.
10632 (ELFOSABI_LINUX): Define to that.
10633
f3cdd467
DZ
106342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10635
10636 * string/strncat.c (strncat): Undef the symbol in case it has been
10637 defined in bits/string.h.
10638
74718d13
UD
106392011-09-09 Ulrich Drepper <drepper@gmail.com>
10640
633e9e0f
UD
10641 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10642
0a2349f9 10643 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10644 link map.
10645
f9924780
AJ
106462011-08-17 Andreas Jaeger <aj@suse.de>
10647
10648 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10649
7f5517aa
PP
106502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10651 Ian Lance Taylor <iant@google.com>
10652
10653 * math/libm-test.inc (lround_test): New testcase.
10654 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10655
762011fe
UD
106562011-09-08 Ulrich Drepper <drepper@gmail.com>
10657
92963737
UD
10658 * Makefile: Remove support for automatic cvs check-ins.
10659 * Makerules: Likewise.
10660 * config.make.in: Likewise.
10661 * configure.in: Likewise.
10662 * intl/Makefile: Likewise.
10663 * locale/Makefile: Likewise.
10664 * po/Makefile: Likewise.
10665 * posix/Makefile: Likewise.
10666 * sysdeps/gnu/Makefile: Likewise.
10667 * sysdeps/mach/hurd/Makefile: Likewise.
10668 * sysdeps/sparc/sparc32/Makefile: Likewise.
10669
b0727fd8
JS
10670 [BZ #13118]
10671 * posix/Makefile (bug-regex32-ENV): Define.
10672 Patch by John Stanley <jpsinthemix@verizon.net>.
10673
a0f33f99
UD
10674 * misc/Makefile (headers): Add bits/select2.h.
10675 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10676 * misc/bits/select2.h: New file.
10677 * include/bits/select2.h: New file.
10678 * debug/Makefile (routines): Add fdelt_chk.
10679 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10680 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10681 FD_ISSET.
10682 * debug/fdelt_chk.c: New file.
10683
762011fe
UD
10684 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10685 * wcsmbs/test-wmemcmp.c: Likewise.
10686 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10687 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10688
106892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10690
10691 * string/Makefile (strop-tests): Add memcmp.
10692 * string/test-wmemcmp.c: New file.
10693 * string/test-memcmp.c: Add wmemcmp support.
10694
7f513ec8
RM
106952011-09-08 Roland McGrath <roland@hack.frob.com>
10696
0442afb4
RM
10697 [BZ #13153]
10698 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10699 2011-07-19 change.
10700
7f513ec8
RM
10701 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10702 garbage value in a __mach_port_mod_refs call in the cases of the
10703 task-self and thread-self ports.
10704
a12b2239
ST
107052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10706
10707 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10708
610f9ab4
AS
107092011-09-08 Andreas Schwab <schwab@redhat.com>
10710
7f513ec8 10711 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10712
48882a1a
LD
107132011-09-07 Ulrich Drepper <drepper@gmail.com>
10714
b49865be
UD
10715 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10716
fdc86bc9
UD
10717 * elf/dl-libc.c (dlerror_run): Pass back error code from
10718 dl_catch_error.
10719
c966526a
UD
10720 [BZ #13123]
10721 * elf/dl-load.c (lose): Free l_origin if it is valid.
10722
48882a1a
LD
10723 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10724 names.
10725 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10726 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10728 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10729 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10730 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10731
77a2a8b4
AZ
107322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733
10734 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10735 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10736 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10737 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10738 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10739 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10740 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10741 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10742 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10743 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10744
24f579d8
AM
107452011-08-15 Alan Modra <amodra@gmail.com>
10746
10747 [BZ #13092]
10748 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10749 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10750 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10751 ppc_mcount to static-only-routines.
10752 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10753 __mcount_internal.
10754 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10755 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10756
3d4837df
UD
107572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10758
10759 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10760 for finite and infinity parameters.
10761
22700377
WS
107622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10763
10764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10765 and add nop instructions for throughput optimization.
10766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10767
5025581e
WS
107682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10769
10770 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10771 aligned copy for power7 with vector-scalar instructions.
10772 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10773
08a300c9
L
107742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10775
10776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10777 AVX check.
10778
59178ef9
AS
107792011-09-07 Andreas Schwab <schwab@redhat.com>
10780
10781 [BZ #13144]
10782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10783 last change.
10784
e38ba7ab
UD
107852011-09-07 Ulrich Drepper <drepper@gmail.com>
10786
10787 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10788 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10789 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10790 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10791 clock_gettime.
10792
d53a73ac
UD
107932011-09-06 Ulrich Drepper <drepper@gmail.com>
10794
fc8bffcc
UD
10795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10796 Forgot to demangle the pointer.
10797
ceaa0c5d
UD
10798 * sysdeps/i386/sysdep.h: Define atom_text_section.
10799 * sysdeps/x86_64/sysdep.h: Likewise.
10800 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10801 section with atom_text_section.
10802 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10803 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10804 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10805 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10806 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10807
a77d3c17
UD
10808 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10809 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10810 already be defined. Change to take two parameters and don't assign
10811 result to variable. Adjust all users.
10812 Define INTERNAL_GETTIME if not already defined.
10813 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10814 call.
10815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10816 HAVE_CLOCK_GETTIME_VSYSCALL.
10817 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10818
d53a73ac
UD
10819 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10820 gettimeofday vsyscall, just use time.
10821
a8f84144
AS
108222011-09-06 Andreas Schwab <schwab@redhat.com>
10823
10824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10825 <errno.h>.
10826
ef606249
UD
108272011-09-06 Ulrich Drepper <drepper@gmail.com>
10828
10829 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10830 syscall on x86-64.
10831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10832 syscall.
10833 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10834 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10835 syscall if possible.
10836
6585cb60
UD
108372011-09-05 Ulrich Drepper <drepper@gmail.com>
10838
10839 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10840 e_ident. Don't pass to find_mapsXX.
10841 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10842
a5f524e4
LD
108432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10844
10845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10846 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10847 * sysdeps/x86_64/multiarch/strchr.S: Update.
10848 Check bit_slow_BSF bit.
10849 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10850 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10852
554881ef
UD
108532011-09-05 Ulrich Drepper <drepper@gmail.com>
10854
d96de963
UD
10855 [BZ #13134]
10856 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10857 before glibc 2.15.
10858 (tryshell): Define.
10859 (__spawni): Change last parameter to be flag. Test
10860 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10861 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10862 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10863 * posix/spawni.c: Likewise.
10864 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10865 * posix/spawnp.c: Likewise. Change normal version to use
10866 SPAWN_XFLAGS_USE_PATH.
10867 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10868 SPAWN_XFLAGS_TRY_SHELL.
10869
d48e5868
UD
10870 [BZ #13150]
10871 * posix/glob.h: Remove gcc 1.x support.
10872
554881ef
UD
10873 [BZ #13068]
10874 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10875
693fb948
LD
108762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10877
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10879 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10880 strrchr-sse2-bsf
10881 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10882 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10883 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10885 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10886 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10887
1b48c537
UD
108882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10889
49d42c37
UD
10890 * sysdeps/x86_64/wcscmp.S: New file.
10891
1b48c537
UD
10892 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10893 wcscmp-c wcscmp-sse2
10894 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10895 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10896 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10897 * wcsmbs/wcscmp.c: Allow renaming.
10898
15c95c5d
DM
108992011-09-05 David S. Miller <davem@davemloft.net>
10900
10901 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10902 stack slot, rather than the struct return pointer slot.
10903 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10904 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10907
2f0ad8f3
UD
109082011-09-05 Ulrich Drepper <drepper@gmail.com>
10909
d88ae418
UD
10910 * po/ja.po: Update from translation team.
10911
2f0ad8f3
UD
10912 [BZ #13144]
10913 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10914 kernel in 64-bit binaries.
10915
5f4318d1
DM
109162011-09-01 David S. Miller <davem@davemloft.net>
10917
10918 * elf/elf.h (HWCAP_SPARC_*): Move to..
10919 * sysdeps/sparc/sysdep.h: this new file and add new values.
10920 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10921 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10922 _DL_HWCAP_COUNT to 24.
10923 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10924 entries.
10925 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10926 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10927 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10929 instead of magic constants.
10930 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10931
3ba57516
DM
109322011-08-31 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10936 Reimplement to do errno handling inline.
10937 (SYSCALL_ERROR_HANDLER): New macro.
10938 (__SYSCALL_STRING): Do not do errno handling in asm.
10939 (__CLONE_SYSCALL_STRING): Delete.
10940 (__INTERNAL_SYSCALL_STRING): Delete.
10941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10942 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10943 (PSEUDO): Reimplement to do errno handling inline.
10944 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10945 (SYSCALL_ERROR_HANDLER): New macro.
10946 (__SYSCALL_STRING): Do not do errno handling in asm.
10947 (__CLONE_SYSCALL_STRING): Delete.
10948 (__INTERNAL_SYSCALL_STRING): Delete.
10949 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10950 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10951 i386.
10952 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10953 (inline_syscall*): Add 'err' argument.
10954 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10955 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10956 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10957 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10958
10959 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10960 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10961
2bc17433
AS
109622011-08-30 Andreas Schwab <schwab@redhat.com>
10963
10964 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10965
fbeb5f4d
JO
109662011-08-29 Jiri Olsa <jolsa@redhat.com>
10967
10968 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10969 directive.
10970
ad69cc26
DM
109712011-08-24 David S. Miller <davem@davemloft.net>
10972
10973 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10974
39dd69df
AS
109752011-08-24 Andreas Schwab <schwab@redhat.com>
10976
10977 * elf/Makefile: Add rules to build and run unload8 test.
10978 * elf/unload8.c: New file.
10979 * elf/unload8mod1.c: New file.
10980 * elf/unload8mod1x.c: New file.
10981 * elf/unload8mod2.c: New file.
10982 * elf/unload8mod3.c: New file.
10983
10984 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10985 it wasn't used.
10986
2c0b250a
DM
109872011-08-23 David S. Miller <davem@davemloft.net>
10988
10989 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10990 subtract stack bias.
10991 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10992 %sp not %fp in calculations.
10993 (_JMPBUF_UNWINDS_ADJ): Likewise.
10994
22044b48
DM
10995 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10996 (aio_suspend): Call it to force an exception region around the
10997 AIO_MISC_WAIT() invocation.
10998
2cae4995
AS
109992011-08-23 Andreas Schwab <schwab@redhat.com>
11000
11001 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11002 backslash.
11003
873a772e
AJ
110042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11005
11006 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11007 protection macro.
11008 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11009 and <dl-machine.h>.
11010 (Elf64_FuncDesc): Remove.
11011
25ad0df1
DM
110122011-08-22 David S. Miller <davem@davemloft.net>
11013
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11015 sigaltstack check, add missing cfi directives.
11016 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11017 missing cfi directives, and sigaltstack handling.
11018
e888bcbe
AS
110192011-08-16 Andreas Schwab <schwab@redhat.com>
11020
11021 [BZ #11724]
11022 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11023 object is seen twice.
11024 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11025
11026 * elf/Makefile (distribute): Add tst-initorder2.c.
11027 (tests): Add tst-initorder2.
11028 (modules-names): Add tst-initorder2a tst-initorder2b
11029 tst-initorder2c tst-initorder2d. Add rules to build them.
11030 ($(objpfx)tst-initorder2.out): New rule.
11031 * elf/tst-initorder2.c: New file.
11032 * elf/tst-initorder2.exp: New file.
11033
87162f46
AS
110342011-08-22 Andreas Schwab <schwab@redhat.com>
11035
70538b7f
AS
11036 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11037
f55ffe58
AS
11038 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11039 dependencies back to end of function.
11040
87162f46
AS
11041 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11042 $(elfobjdir)/ld.so.
11043
91b392a4
UD
110442011-08-21 Ulrich Drepper <drepper@gmail.com>
11045
11046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11047 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11048 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11049 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11050 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11051 of __vdso_gettimeofday.
11052 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11053 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11054 attribute_hidden.
11055 (_libc_vdso_platform_setup): Remove initialization of
11056 __vdso_gettimeofday and __vdso_time.
11057
5c43483f
UD
110582011-08-20 Ulrich Drepper <drepper@gmail.com>
11059
775a77e7
UD
11060 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11061 and fgetc_unlocked.
11062 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11063 getc_unlocked.
89f447ed 11064
49c74ba9
UD
11065 * elf/dl-open.c (add_to_global): Report additions to the global scope
11066 for LD_DEBUG=scopes.
11067 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11068 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11069
5c43483f
UD
11070 [BZ #13114]
11071 * stdio-common/Makefile (tests): Add bug24.
11072 * stdio-common/bug24.c: New file.
11073
a101b025
AJ
110742011-08-19 Andreas Jaeger <aj@suse.de>
11075
11076 [BZ #13114]
11077 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11078 non-existant file when using close-on-exec mode.
11079
c88f1766
UD
110802011-08-20 Ulrich Drepper <drepper@gmail.com>
11081
0276a718
UD
11082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11083 the very first instruction.
11084
c88f1766
UD
11085 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11086 the CFI state in the end.
11087 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11088 inclusion of dl-trampoline.h.
11089 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11090
51ccffa0
AS
110912011-08-19 Andreas Schwab <schwab@redhat.com>
11092
94d7165f
AS
11093 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11094 expectations for long double.
11095
51ccffa0
AS
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11097 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11098
fd708658 110992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11100
11101 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11102 artificual limit depends upon the system page size.
11103
44f0a71e
UD
111042011-08-17 Ulrich Drepper <drepper@gmail.com>
11105
11106 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11107 * resolv/Makefile: Define CFLAGS-libresolv.
11108
8de79a24
AS
111092011-08-17 Andreas Schwab <schwab@redhat.com>
11110
11111 * nss/makedb.c (compute_tables): Make variables used in nested
11112 function static.
11113
27724598
UD
111142011-08-17 Ulrich Drepper <drepper@gmail.com>
11115
c5305d88
UD
11116 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11117 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11118 if buffer was too small.
11119
27724598
UD
11120 * elf/pldd.c (main): Attach to all threads in the process.
11121 Rewrite /proc handling to use *at functions.
11122
076fe015
UD
111232011-08-16 Ulrich Drepper <drepper@gmail.com>
11124
174baab3
UD
11125 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11126 specifies first scope to show.
11127 (dl_open_worker): Update callers. Move printing scope of new
11128 object to before the relocation.
44f0a71e 11129 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11130 * sysdeps/generic/ldsodefs.h: Update declaration.
11131
076fe015
UD
11132 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11133 string for the scope number.
11134
a60df2c3
UD
111352011-08-14 Ulrich Drepper <drepper@gmail.com>
11136
11137 * nscd/servicescache.c (cache_addserv): Make sure written is always
11138 initialized.
11139
5e4287d1
RM
111402011-08-14 Roland McGrath <roland@hack.frob.com>
11141
85ae0589
RM
11142 * sysdeps/i386/i486/bits/atomic.h
11143 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11144 statement expression, so as to suppress "set but not used" warning.
11145 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11146
69f63097
RM
11147 * string/strncat.c (STRNCAT): Use prototype definition.
11148
675456ef
RM
11149 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11150 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11151 -Iprograms here.
11152 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11153 (localedef-modules): Add localedef.
11154 (locale-modules): Add locale.
11155
5e4287d1
RM
11156 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11157 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11158 to avoid a warning.
11159
9c96ff23
DM
111602011-08-14 David S. Miller <davem@davemloft.net>
11161
11162 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11163 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11164
f9ddf089
UD
111652011-08-13 Ulrich Drepper <drepper@gmail.com>
11166
44f0a71e 11167 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11168 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11169 * elf/rtld.c (dl_main): Set l_name of vDSO.
11170 Call _dl_show_scope when DL_DEBUG_SCOPES.
11171 (process_dl_debug): Recognize scopes flag and also set it for all.
11172 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11173 Declare _dl_show_scope.
11174
1dc27704
UD
11175 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11176 (do_dlopen): Pass caller_dlopen to dl_open.
11177 (__libc_dlopen_mode): Initialize caller_dlopen.
11178
f9ddf089
UD
11179 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11180 of libc. Make tolower call locale-independent. Optimize a bit by
11181 using isdigit instead of isalnum.
11182 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11183
9ac533d3
UD
111842011-08-12 Ulrich Drepper <drepper@gmail.com>
11185
11186 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11187 was a dependency or dynamically loaded.
11188
89edf2e9
UD
111892011-08-11 Ulrich Drepper <drepper@gmail.com>
11190
8e999d29
UD
11191 * intl/l10nflist.c: Allow architecture-specific pop function.
11192 * sysdeps/x86_64/l10nflist.c: New file.
11193
89edf2e9
UD
11194 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11195 classification.
11196
14d96785
AS
111972011-08-10 Andreas Schwab <schwab@redhat.com>
11198
11199 * include/dirent.h: Add libc_hidden_proto for scandirat and
11200 scandirat64. Don't declare __scandirat64.
11201 * dirent/scandirat.c: Add libc_hidden_def.
11202 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11203 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11204
6761ac04
DM
112052011-08-10 David S. Miller <davem@davemloft.net>
11206
11207 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11208 enum.
11209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11212
c55fbd1e
UD
112132011-08-09 Ulrich Drepper <drepper@gmail.com>
11214
11215 * Versions.def [libc]: Add GLIBC_2.15.
11216 * dirent/Makefile (routines): Add scandirat and scandirat64.
11217 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11218 GLIBC_2.15.
11219 * dirent/dirent.h: Declare scandirat and scandirat64.
11220 * dirent/scandirat.c: New file.
11221 * dirent/scandirat64.c: New file.
11222 * sysdeps/wordsize-64/scandirat.c: New file.
11223 * sysdeps/wordsize-64/scandirat64.c: New file.
11224 * dirent/opendir.c: Define opendirat.
11225 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11226 using scandirat.
11227 * dirent/scandir64.c: Adjust for scandir.c change.
11228 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11229 __scandirat64, and __scandir_cancel_handler.
11230 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11231 additional parameter and use openat instead of open (outside of ld.so).
11232 Add new __opendir as wrapper around __opendirat.
11233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11234 here without requiring old scandirat implementation.
11235
879165f2
UD
112362011-08-08 Ulrich Drepper <drepper@gmail.com>
11237
11238 * dirent/scandir.c (cancel_handler): Renamed to
11239 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11240 defined. Adjust users.
11241 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11242 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11243
cb7e923b
UD
112442011-08-04 Ulrich Drepper <drepper@gmail.com>
11245
16292edd
UD
11246 * string/test-string.h (IMPL): Use __STRING to expand name and then
11247 stringify it.
11248
cb7e923b
UD
11249 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11250 of cleanups.
11251
cff82933
LD
112522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11253
11254 * string/Makefile: Update.
11255 (strop-tests): Append strncat.
11256 * string/test-wcscmp.c: New file.
11257 New comprehensive test for wcscmp.
11258 * string/test-strcmp.c: Update.
11259 (WIDE): New define.
11260
9be9bfcc
AS
112612011-07-22 Andreas Schwab <schwab@redhat.com>
11262
11263 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11264 line.
11265
2e96f1c7
AS
112662011-07-26 Andreas Schwab <schwab@redhat.com>
11267
11268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11269 encoding to ACE if AI_IDN.
11270
85188888
JJ
112712011-08-01 Jakub Jelinek <jakub@redhat.com>
11272
11273 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11274 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11275
5fa16e9b
LD
112762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11277
11278 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11279 Fix overflow bug in strncat.
11280 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11281
11282 * string/test-strncat.c: Update.
11283 Add new tests for checking overflow bugs.
11284
112852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11286
11287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11288 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11289 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11290 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11291 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11292 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11293 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11294 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11295 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11296
11297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11298 (USE_AS_STRCAT): Define.
11299 Add strcat and strncat support.
11300 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11301
8c1a459f
AS
113022011-07-25 Andreas Schwab <schwab@redhat.com>
11303
11304 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11305 __n bigger than INT_MAX+1.
11306 (__strncmp_g): Likewise.
11307
bba33c28
UD
113082011-07-23 Ulrich Drepper <drepper@gmail.com>
11309
798be72d
UD
11310 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11311 * libio/stido.h: Likewise.
11312
8accd4dc
UD
11313 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11314 (AF_NFC): Define.
11315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11316 (AF_NFC): Define.
11317
cbff0d96
UD
11318 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11319 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11321 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11323
9191c04a
UD
11324 [BZ #13021]
11325 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11326 installed.
11327
bba33c28
UD
11328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11329 typo.
11330 (_dl_x86_64_save_sse): Likewise.
11331
90f139dd
UD
113322011-07-22 Ulrich Drepper <drepper@gmail.com>
11333
1aae088a
UD
11334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11335 OSXSAVE.
11336 (_dl_x86_64_save_sse): Likewise.
11337
8e2045f5
UD
11338 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11339
90f139dd
UD
11340 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11341
1d002f25
AS
113422011-07-21 Andreas Schwab <schwab@redhat.com>
11343
11344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11345 change.
11346 (_dl_x86_64_save_sse): Use correct AVX check.
11347
21137f89
UD
113482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11349
11350 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11351 bug in strncpy/strncat.
11352 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11353
a65c0b7a
UD
113542011-07-21 Ulrich Drepper <drepper@gmail.com>
11355
11356 * string/tester.c (test_strcat): Add tests for different alignments
11357 of source and destination.
11358 (test_strncat): Likewise.
11359
6986b98a
UD
113602011-07-20 Ulrich Drepper <drepper@gmail.com>
11361
90bb2039
UD
11362 [BZ #12852]
11363 * posix/glob.c (glob): Check passed in values before using them in
11364 expressions to avoid some overflows.
11365 (glob_in_dir): Likewise.
11366
5644ef54
UD
11367 [BZ #13007]
11368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11369 check for AVX enablement so that we don't crash with old kernels and
11370 new hardware.
11371 * elf/tst-audit4.c: Add same checks here.
11372 * elf/tst-audit6.c: Likewise.
11373
11374 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11375
bfc9dc9b
AS
113762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11377
11378 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11379
702e64bb
UD
113802011-07-20 Ulrich Drepper <drepper@gmail.com>
11381
11382 * po/cs.po: Update from translation team.
11383 * po/bg.po: Likewise.
11384
295e904f
MP
113852011-07-12 Marek Polacek <mpolacek@redhat.com>
11386
11387 * misc/sys/cdefs.h: Add support for const attribute.
11388 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11389 to gnu_dev_{major,minor,makedev} functions.
11390
3ff94596
MP
113912011-07-20 Marek Polacek <mpolacek@redhat.com>
11392
11393 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11394
28b59fca
AS
113952011-07-20 Andreas Schwab <schwab@redhat.com>
11396
11397 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11398 strlen results.
11399
19df733e
AK
114002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11401
11402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11403 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11404 register in order to avoid conflicts with the soft frame pointer
11405 being held in r11 when necessary.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11407 (INTERNAL_VSYSCALL_NCS): Likewise.
11408
c8835729
MP
114092011-07-14 Marek Polacek <mpolacek@redhat.com>
11410
11411 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11412 * elf/dl-fini.c (_dl_fini): Adjust caller.
11413 * elf/dl-close.c (_dl_close_worker): Likewise.
11414 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11415
b902330c
MP
114162011-07-15 Marek Polacek <mpolacek@redhat.com>
11417
8991e135
MP
11418 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11419 "aux_cache->nlibs < 0".
11420
b902330c
MP
11421 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11422 in the reload-count case.
11423
99710781
LD
114242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11425
11426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11427 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11428 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11429 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11430 * sysdeps/x86_64/multiarch/strcat.S: New file.
11431 * sysdeps/x86_64/multiarch/strncat.S: New file.
11432 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11434 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11435 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11437 (USE_AS_STRCAT): Define.
11438 Add strcat and strncat support.
11439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11440 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11441 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11442 * string/strncat.c: Update.
11443 (USE_AS_STRNCAT): Define.
11444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11445 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11446 and i7.
11447 * sysdeps/x86_64/multiarch/init-arch.h
11448 (bit_Prefer_PMINUB_for_stringop): New.
11449 (index_Prefer_PMINUB_for_stringop): Likewise.
11450 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11451 bit_Prefer_PMINUB_for_stringop.
11452
7dc6bd90
UD
114532011-07-19 Ulrich Drepper <drepper@gmail.com>
11454
11455 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11456 buffer64.
11457 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11458 of casting of buffer.
11459 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11460 buffer32 and buffer64.
11461 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11462 writes instead of casting of buffer.
11463 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11464 buffer32.
11465 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11466 casting of buffer.
11467
e0e72284
AS
114682011-07-19 Andreas Schwab <schwab@redhat.com>
11469
11470 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11471
feb1eb0b
UD
114722011-07-19 Ulrich Drepper <drepper@gmail.com>
11473
11474 * nscd/nscd.c (termination_handler): Don't do anything for a database
11475 if it has not yet been initialized.
11476
298711ff
UD
114772011-07-18 Ulrich Drepper <drepper@gmail.com>
11478
11479 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11480
114812011-07-15 Marek Polacek <mpolacek@redhat.com>
11482
11483 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11484
f9d68389
UD
114852011-07-18 Ulrich Drepper <drepper@gmail.com>
11486
11487 * po/nl.po: Update from translation team.
11488 * po/sv.po: Likewise.
11489
db290cf5
RM
114902011-07-16 Roland McGrath <roland@hack.frob.com>
11491
11492 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11493 now disallowed by GCC.
5c550700 11494
fd5e21c7
RM
11495 * configure.in (use-default-link): Default to yes if a test -shared
11496 link meets our qualifications.
11497 * configure: Regenerated.
11498
5c550700
RM
11499 * config.make.in (output-format): New variable.
11500 * configure.in: Check for ld --print-output-format support.
11501 * configure: Regenerated.
11502 * Makerules ($(common-objpfx)format.lds)
11503 [$(output-format) != unknown]: Just use $(output-format),
11504 instead of the linker-script munging.
11505
9fa2c032
RM
115062011-07-14 Roland McGrath <roland@hack.frob.com>
11507
a6928d51
RM
11508 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11509 of $(common-objpfx)shlib.lds.
11510 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11511
661607b3
RM
11512 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11513 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11514
9fa2c032
RM
11515 * configure.in (-z relro check): Adjust test code to add a large
11516 writable data section after it.
11517 * configure: Regenerated.
11518
defe9061
RM
115192011-07-11 Roland McGrath <roland@hack.frob.com>
11520
11521 * configure.in (-z relro check): Fix test code to make the variable
11522 truly const.
11523 * configure: Regenerated.
11524
319b9ad4
UD
115252011-07-11 Ulrich Drepper <drepper@gmail.com>
11526
11527 * nscd/nscd.h (struct traced_file): Define.
11528 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11529 elements. Add traced_files.
11530 (inotify_fd): Declare.
11531 (register_traced_file): Declare.
11532 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11533 (inotify_fd): Export.
11534 (resolv_conf_descr): Remove.
11535 (nscd_init): Move inotify descriptor creation to main.
11536 Don't register files for notification here.
11537 (register_traced_file): New function.
11538 (invalidate_cache): Don't use reset_res to determine whether to call
11539 res_init, go through the list of registered files.
11540 (main_loop_poll): The inotify descriptors are now stored in the
11541 structures for the traced files.
11542 (main_loop_epoll): Likewise
11543 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11544 to __nss_disable_nscd.
11545 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11546 for a database anymore. Check the records for all the registered
11547 files instead.
11548 * nss/Makefile (libnss_files-routines): Add files-init.
11549 (libnss_db-routines): Add db-init.
11550 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11551 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11552 * nss/nss_db/db-init.c: New file.
11553 * nss/nss_files/files-init.c: New file.
11554 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11555 __nss_lookup_function.
11556 (__nss_lookup_function): Call nss_load_library.
11557 (nss_load_all_libraries): New function.
11558 (__nss_disable_nscd): Take parameter with callback function for files
11559 to register. Set is_nscd. Load all the DSOs for the NSS modules
11560 used for the cached services.
11561 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11562 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11563 options for features to all the files in nscd.
11564
11565 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11566
23bee3e8
RM
115672011-07-10 Roland McGrath <roland@hack.frob.com>
11568
11569 * csu/elf-init.c (__libc_csu_init): Comment typo.
11570
46a5b7f0
UD
115712011-07-09 Ulrich Drepper <drepper@gmail.com>
11572
11573 * po/pl.po: Update from translation team.
11574 * po/ja.po: Likewise.
11575 * po/ru.po: Likewise.
11576 * po/ko.po: Likewise.
11577 * po/fr.po: Likewise.
11578
d30cf5bb
RM
115792011-07-09 Roland McGrath <roland@hack.frob.com>
11580
113ddea4
RM
11581 * configure.in (.ctors/.dtors header and trailer check):
11582 Use an empirical test on a built program.
11583 * configure: Regenerated.
11584
574920b4
RM
11585 * configure.in (-z relro check): Use an empirical test on a built DSO.
11586 Detect, but do not require, on ia64.
11587 * configure: Regenerated.
11588
d30cf5bb
RM
11589 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11590 Update tests that use readelf to use $READELF instead.
11591 * configure: Regenerated.
11592
8538fdb3
UD
115932011-07-08 Ulrich Drepper <drepper@gmail.com>
11594
11595 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11596 if the result is not used.
11597
04d08991
AJ
115982011-07-05 Andreas Jaeger <aj@suse.de>
11599
11600 [BZ#9696]
11601 * stdlib/tst-strtod.c: Add testcase.
11602
de283087
AD
116032011-07-07 Ulrich Drepper <drepper@gmail.com>
11604
4e5f31c8 11605 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11606 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11607 The latter has a higher limit. Take additional parameter to pass to
11608 the new function.
11609 (__pathconf): Pass file to __statfs_link_max.
11610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11611 __statfs_link_max.
11612 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11613 __statfs_link_max.
11614
de283087
AD
11615 [BZ #12868]
11616 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11617 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11618 Handle Lustre.
11619 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11620 (__statfs_filesize_max): Likewise.
11621 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11622
c75fa153
AJ
116232011-07-05 Andreas Jaeger <aj@suse.de>
11624
11625 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11626
1a544854
UD
116272011-07-06 Marek Polacek <mpolacek@redhat.com>
11628
11629 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11630 `status' variable.
11631 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11632 Likewise.
11633
6f0eec67
UD
116342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * Makefile (strop-tests): Add strncat.
11637 * string/test-strncat.c: New file.
11638
aae30307
UD
116392011-06-30 Marek Polacek <mpolacek@redhat.com>
11640
11641 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11642
c0cfb5eb
UD
116432011-06-21 Andreas Jaeger <aj@suse.de>
11644
11645 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11646 Copy rule from iconvdata/Makefile.
11647
01636b21
UD
116482011-07-06 Ulrich Drepper <drepper@gmail.com>
11649
11650 [BZ #12922]
11651 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11652 but no long options are defined, just return 'W'.
11653
9895c8bc
UD
116542011-06-22 Marek Polacek <mpolacek@redhat.com>
11655
11656 [BZ #9696]
11657 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11658
5d4cf042
UD
116592011-07-06 Ulrich Drepper <drepper@gmail.com>
11660
11661 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11662 netgroups to read.
960e5535 11663 (innetgr): Likewise.
5d4cf042 11664
751eb97e
RM
116652011-07-05 Roland McGrath <roland@hack.frob.com>
11666
11667 * config.make.in (install_root): Default to $(DESTDIR).
11668
f15f1e45
UD
116692011-07-05 Ulrich Drepper <drepper@gmail.com>
11670
11671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11672
4e34ac6a
RM
116732011-07-02 Roland McGrath <roland@hack.frob.com>
11674
5e9b6af4
RM
11675 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11676
84f9ea0f
RM
11677 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11678 containing directory rather than embedding absolute directory names.
11679
ea5ee9f7
RM
11680 * scripts/check-local-headers.sh: Rewritten using awk.
11681 Match by word, not by line. Print error messages for matches.
11682 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11683
1b74661a
RM
11684 * Makerules [shlib-lds-flags empty]:
11685 ($(common-objpfx)libc_pic.opts): New target.
11686 ($(common-objpfx)libc_pic.os.clean): New target.
11687 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11688
11689 * config.make.in (OBJCOPY): New variable.
11690 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11691 * configure: Regenerated.
11692
f781ef40
RM
11693 * config.make.in (use-default-link): New variable.
11694 * configure.in (use_default_link): Grok --with-default-link to set it.
11695 * configure: Regenerated.
11696 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11697 (shlib-lds, shlib-lds-flags): Define to empty.
11698
2d4fa81e
RM
11699 * Makerules (shlib-lds): New variable.
11700 (shlib-lds-flags): New variable.
11701 (build-shlib, build-moduile, build-module-asneeded): Use it.
11702 ($(common-objpfx)libc.so): Use $(shlib-lds).
11703 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11704 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11705
31fffa6b
RM
11706 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11707 DT_FLAGS/DT_FLAGS_1 with zero flags.
11708
4e34ac6a
RM
11709 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11710 linker script munging.
11711
fcfc776b
UD
117122011-07-02 Ulrich Drepper <drepper@gmail.com>
11713
11714 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11715 as 128-bit value.
11716 * crypt/sha512.c (sha512_process_block): Perform total addition using
11717 128-bit if possible.
11718 (__sha512_finish_ctx): Likewise.
11719 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11720 as 64-bit value.
11721 * crypt/sha256.c (SWAP64): Define.
11722 (sha256_process_block): Perform total addition using 64-bit if
11723 possible.
11724 (__sha256_finish_ctx): Likewise.
11725
99231d9a
UD
117262011-07-01 Ulrich Drepper <drepper@gmail.com>
11727
11728 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11730 * nscd/hstcache.c (cache_addhst): Likewise.
11731 * nscd/grpcache.c (cache_addgr): Likewise.
11732 * nscd/aicache.c (addhstaiX): Likewise
11733 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11734
445b4a53
TK
117352011-07-01 Thorsten Kukuk <kukuk@suse.de>
11736
11737 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11739 * nscd/hstcache.c (cache_addhst): Likewise.
11740 * nscd/grpcache.c (cache_addgr): Likewise.
11741 * nscd/aicache.c (addhstaiX): Likewise
11742
6d4d8e8e
AS
117432011-07-01 Andreas Schwab <schwab@redhat.com>
11744
11745 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11746 domain only when needed.
11747
89f654c5
AS
117482011-06-30 Andreas Schwab <schwab@redhat.com>
11749
11750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11751 is always restored.
11752
cf3b23ff
UD
117532011-06-29 Ulrich Drepper <drepper@gmail.com>
11754
11755 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11756 are re-adding the entry.
11757 * nscd/servicescache.c (cache_addserv): Likewise.
11758
751626f9
AJ
117592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11760
11761 * sysdeps/generic/dl-irel.h: fix protection against multiple
11762 inclusions.
11763 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11764
9113ea1f
UD
117652011-06-28 Ulrich Drepper <drepper@gmail.com>
11766
5c0b8d90
UD
11767 [BZ #12935]
11768 * malloc/memusage.sh: Fix quoting in message.
11769 * debug/xtrace.sh: Likewise.
11770
9113ea1f
UD
11771 * configure.in: Remove support for --experimental-malloc option, make
11772 it the default.
11773 * config.make.in: Likewise.
11774 * malloc/Makefile: Likewise.
11775
a4172181
AS
117762011-06-27 Andreas Schwab <schwab@redhat.com>
11777
11778 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11779 two-byte characters.
11780
78a7eee7
RM
117812011-06-27 Roland McGrath <roland@hack.frob.com>
11782
62bede13
RM
11783 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11784 AC_CACHE_CHECK invocation.
11785 * configure: Regenerated.
11786
78a7eee7
RM
11787 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11788
5ce33a62
UD
117892011-06-27 Ulrich Drepper <drepper@gmail.com>
11790
034807a9
UD
11791 [BZ #12350]
11792 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11793 bit from old_res_options.
11794
4902da17
UD
11795 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11796
5ce33a62
UD
11797 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11798 value type for setfct.
11799
c2344f56
L
118002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11801
11802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11803 __gettimeofday instead of gettimeofday.
11804
68468076
UD
118052011-06-26 Ulrich Drepper <drepper@gmail.com>
11806
11807 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11808
acb0d739
L
118092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11812
11813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11814 info.
11815
8912479f
L
118162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11817
11818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11819 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11820 strcpy-sse2-unaligned strncpy-sse2-unaligned
11821 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11822 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11823 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11824 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11825 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11828 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11829 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11830 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11831 (STRCPY): Support SSE2 and SSSE3 versions.
11832
d5495a11
UD
118332011-06-24 Ulrich Drepper <drepper@gmail.com>
11834
11835 [BZ #12874]
11836 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11837 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11838 kernels which artificially limit size of requests.
11839
0b1cbaae
L
118402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11843 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11844 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11845 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11846 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11847 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11848 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11849 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11850 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11851 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11852 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11853 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11854 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11855 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11856 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11858 Enable unaligned load optimization for Intel Core i3, i5 and i7
11859 processors.
11860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11861 Define.
11862 (index_Fast_Unaligned_Load): Define.
11863 (HAS_FAST_UNALIGNED_LOAD): Define.
11864
07f494a0
MP
118652011-06-23 Marek Polacek <mpolacek@redhat.com>
11866
11867 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11868
fa3fc0fe
UD
118692011-06-22 Ulrich Drepper <drepper@gmail.com>
11870
11871 [BZ #12907]
11872 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11873 until it is clear that the information is realy needed.
11874 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11875
e12df166
AS
118762011-06-22 Andreas Schwab <schwab@redhat.com>
11877
11878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11879
852eb34d
UD
118802011-06-22 Ulrich Drepper <drepper@gmail.com>
11881
84e2a551
UD
11882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11883 /sys/devices/system/cpu/online if it is usable.
11884
852eb34d
UD
11885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11886 reading the information from the /proc filesystem to once a second.
11887
6e502e19
UD
118882011-06-21 Andreas Jaeger <aj@suse.de>
11889
11890 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11891 NULL after inclusion of kernel headers.
11892
75d39ff2
UD
118932011-06-21 Ulrich Drepper <drepper@gmail.com>
11894
51f9aa6a
UD
11895 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11896 calls to internal_setent.
11897
c0244a9d
UD
11898 [BZ #12885]
11899 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11900 addresses using gethostbyname4_r ignore IPv4 addresses.
11901
c5e3c2ae
UD
11902 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11903 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11904
75d39ff2
UD
11905 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11906
42675c6f
DM
119072011-06-20 David S. Miller <davem@davemloft.net>
11908
11909 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11910 inclusions.
11911 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11912
11913 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11914 (elf_irel): Use it.
11915 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11916 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11917 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11918 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11919 * sysdeps/x86_64/dl-irel.h: Likewise.
11920
11921 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11922 * elf/dl-sym.c: Likewise.
11923
57912a71
UD
119242011-06-15 Ulrich Drepper <drepper@gmail.com>
11925
11926 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11927 need to dereference resplen2.
11928
ee22793d
AS
119292011-06-14 Andreas Schwab <schwab@redhat.com>
11930
11931 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11932
a9e836b0
UD
119332011-06-15 Ulrich Drepper <drepper@gmail.com>
11934
77fb9117
UD
11935 * Makeconfig: Define vardbdir and inst_vardbdir.
11936 * nss/Makefile: Add rules to install db-Makefile.
11937
40c1b22c
UD
11938 * nss/nss_db/db-XXX.c: Cleanup.
11939
9f2da732
UD
11940 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11941 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11942 GLIBC_PRIVATE.
11943 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11944 * nss/makedb.c: Implement -g option to specify that value strings
11945 are generated and should not be added to table iterated over for
11946 get*ent calls.
11947 * nss/nss_db/db-initgroups.c: New file.
11948
82e9a1f7
UD
11949 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11950 interface.
11951
c41af17e
UD
11952 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11953 (internal_getgrouplist): Adjust to name change.
11954 Update use_initgroups_entry if this is not the first call.
11955 * nss/databases.def: Add initgroups entry.
11956
a9e836b0
UD
11957 * nss/makedb.c (compute_tables): Check result of multiple hash table
11958 sizes to minimize maximum chain length.
11959
2666d441
UD
119602011-06-14 Ulrich Drepper <drepper@gmail.com>
11961
11962 * Versions.def: Add entry for libnss_db.
11963 * shlib-versions: Likewise.
11964 * nss/Makefile: Add rules to build libnss_db.
11965 * nss/Versions: Add libnss_db information. Organize libnss_files
11966 entries better.
11967 * nss/db-Makefile: Add gshadow support. Change rules for the new
11968 makedb progra. Some minor improvements to generate smaller files.
11969 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11970 here from...
11971 * nss/makedb.c: ...here.
11972 Improve database format to be smaller and require less memory at
11973 runtime.
11974 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11975 db anymore.
11976 * nss/nss_db/db-netgrp.c: Likewise.
11977 * nss/nss_db/db-open.c: Likewise.
11978 * nss/nss_files/flies-XXX.x: Adjust comments.
11979 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11980 * nss/nss_files/files-grp.c: Likewise.
11981 * nss/nss_files/files-hosts.c: Likewise.
11982 * nss/nss_files/files-network.c: Likewise.
11983 * nss/nss_files/files-proto.c: Likewise.
11984 * nss/nss_files/files-pwd.c: Likewise.
11985 * nss/nss_files/files-rpc.c: Likewise.
11986 * nss/nss_files/files-service.c: Likewise.
11987 * nss/nss_files/files-sgrp.c: Likewise.
11988 * nss/nss_files/files-spwd.c: Likewise.
11989 * nss/nss_db/db-alias.c: Removed.
11990 * nss/nss_db/dummy-db.h: Removed.
11991
9ee76b5a
UD
119922011-06-02 Ulrich Drepper <drepper@gmail.com>
11993
11994 * nss/makedb.c: Rewritten to not use database library.
11995 * nss/Makefile: Update to build new makedb program.
11996
c71ca1f8
AJ
119972011-06-14 Andreas Jaeger <aj@suse.de>
11998
11999 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12000 memset declaration.
12001
3154bfb8
UD
120022011-06-10 Andreas Schwab <schwab@redhat.com>
12003
12004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12005 tmpbuf.
12006
b350afab
RM
120072011-06-10 Roland McGrath <roland@hack.frob.com>
12008
decd4e50
RM
12009 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12010 * elf/Makefile ($(objpfx)ld.so): Likewise.
12011
5615eaf2
RM
12012 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12013 Don't list ld.so twice in dependencies.
12014
12015 * posix/bug-regex31.c: Include <stdlib.h>.
12016
12017 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12018
12019 * nis/nss_compat/compat-spwd.c
12020 (getspent_next_nss_netgr): Remove unused variable.
12021 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12022
12023 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12024 nonmembers" output to use the right array.
12025
12026 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12027
12028 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12029
12030 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12031 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12032 * catgets/gencat.c (read_input_file): Likewise.
12033 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12034
12035 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12036 variable definition inside #if's controlling its use.
12037
12038 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12039
12040 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12041
12042 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12043
12044 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12045 unreachable code.
12046
12047 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12048
b68e08db
RM
12049 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12050 * configure: Regenerated.
12051
b350afab
RM
12052 * Makerules: Revert last change.
12053 * elf/Makefile: Likewise.
12054
28368601
RM
120552011-06-09 Roland McGrath <roland@hack.frob.com>
12056
12057 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12058 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12059 (reloc-link): Likewise.
12060
11988f8f
UD
120612011-06-09 Ulrich Drepper <drepper@gmail.com>
12062
12063 * elf/Makefile: Add rules to build pldd.
12064 * elf/pldd.c: New file.
12065 * elf/pldd-xx.c: New file.
12066
e80fab37
UD
120672011-06-07 Ulrich Drepper <drepper@gmail.com>
12068
12069 * version.h: Update for 2.15 development version.
12070
9b849836
DM
120712011-06-07 David S. Miller <davem@davemloft.net>
12072
12073 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12074 ifuncs.
12075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12076 elf_machine_lazy_rel): Likewise.
12077 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12079 elf_machine_lazy_rel): Likewise.
12080 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12081 dl_hwcap via passed in argument.
12082 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12083 Likewise.
12084
5a31b283
AK
120852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12086
12087 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12088
069e52f8
RM
120892011-06-06 Roland McGrath <roland@hack.frob.com>
12090
12091 [BZ #12849]
12092 * manual/fdl-1.1.texi: New file, verbatim from:
12093 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12094 * manual/lgpl-2.1.texi: New file, verbatim from:
12095 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12096 * manual/Makefile (licenses): New variable, list those new file names.
12097 (texis): Use it.
12098 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12099
12100 * manual/fdl.texi: File removed.
12101 * manual/lesser.texi: File removed.
12102 * manual/libc.texinfo (Copying, Documentation License):
12103 Use new @include file names, put @appendix directive before @include.
12104
f16846a5
JJ
121052011-06-04 Jakub Jelinek <jakub@redhat.com>
12106
12107 [BZ #12841]
12108 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12109 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12110 (mq_open): Add __NTH.
12111
3d29045b
L
121122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12113
12114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12115 Assume Intel Core i3/i5/i7 processor if AVX is available.
12116
8c297311
UD
121172011-05-31 Ulrich Drepper <drepper@gmail.com>
12118
12119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12120 typo.
12121
c8fc0c91
UD
121222011-05-31 Andreas Schwab <schwab@redhat.com>
12123
12124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12125 memory. Use alloca_account. Fix memory leak when retrying.
12126
5b27a807
UD
121272011-05-31 Ulrich Drepper <drepper@gmail.com>
12128
356f8bc6
UD
12129 * version.h (RELEASE): Bump for 2.14 release.
12130 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12131
5b27a807
UD
12132 * config.make.in (RANLIB): Remove entry.
12133
01f16ab0
UD
121342011-05-30 Ulrich Drepper <drepper@gmail.com>
12135
41fce8bd
UD
12136 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12137 (libc.pot): Work around missing support for .ksh extension in xgettext.
12138
4769ae77
UD
12139 [BZ #12684]
12140 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12141 if both request failed.
12142 (send_dg): In case of server errors clear resplen or *resplen2.
12143
6b1e7d19
UD
12144 [BZ #12454]
12145 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12146 when there are multiple maps.
12147 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12148 (_dl_fini): Remove test here.
12149
01f16ab0
UD
12150 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12151
b1ebd700
UD
121522011-05-29 Ulrich Drepper <drepper@gmail.com>
12153
7ae22829
UD
12154 [BZ #12350]
12155 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12156 bit from old_res_options.
12157 (gaih_inet): Likewise.
12158
553149f6 12159 [BZ #11099]
18a84741 12160 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12161 as signed.
12162
652ffab1
UD
12163 * resolv/res_init.c (res_setoptions): Make the code more compact.
12164
16985fd0
UD
12165 [BZ #11558]
12166 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12167 set RES_USEVC.
12168
0464f746
UD
12169 [BZ #11634]
12170 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12171
7d17596c
UD
12172 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12173
cf6bbbd7
UD
12174 [BZ #11781]
12175 * malloc/malloc.h: Declare malloc hook variables as volatile.
12176
13f1ab36
UD
12177 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12178 in last patch.
12179
b1ebd700
UD
12180 [BZ #11799]
12181 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12182 raise in the comment.
80e2212d
UD
12183 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12184 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12185 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12186
ce67228d
UD
121872011-05-28 Ulrich Drepper <drepper@gmail.com>
12188
8887a920
UD
12189 [BZ #12811]
12190 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12191 grow the buffers more if it already has to be sufficient.
12192 (build_wcs_upper_buffer): Likewise.
12193 * posix/regexec.c (check_matching): Likewise.
12194 (clean_state_log_if_needed): Likewise.
12195 (extend_buffers): Don't enlarge buffers beyond size of the input
12196 buffer.
12197 Patches mostly by Emil Wojak <emil@wojak.eu>.
12198 * posix/bug-regex32.c: New file.
12199 * posix/Makefile (tests): Add bug-regex32.
12200
4f031072
UD
12201 * locale/findlocale.c (_nl_find_locale): Return right away if
12202 _nl_explode_name failed.
12203 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12204
d0478f0c
UD
12205 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12206
de81b246
UD
12207 * debug/xtrace.sh: Unify messages.
12208 * malloc/memusage.sh: Likewise.
12209
c738465a
UD
12210 [BZ #12813]
12211 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12212 time symbol from vDSO. Substitute with vsyscall if not available.
12213 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12214 __vdso_time.
12215
f1f929d7
UD
12216 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12217 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12218 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12219 Add sendmmsg and internal_sendmmsg.
12220 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12221 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12222 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12223
ce67228d
UD
12224 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12225 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12227
e57420c6
UD
122282011-05-27 Ulrich Drepper <drepper@gmail.com>
12229
a8509ca5
UD
12230 [BZ #12813]
12231 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12232 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12233 available.
12234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12235 __vdso_getcpu.
12236
e57420c6
UD
12237 [BZ #12814]
12238 * iconvdata/Makefile (tests): Add bug-iconv9.
12239 * iconvdata/bug-iconv9.c: New file.
12240
4d07db15
AS
122412011-05-27 Andreas Schwab <schwab@redhat.com>
12242
12243 [BZ #12814]
12244 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12245
ea486f69
JJ
122462011-05-25 Jakub Jelinek <jakub@redhat.com>
12247
12248 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12249 (struct user_regs_struct): Change intcs field back to cs.
12250
6f038433
UD
122512011-05-25 Ulrich Drepper <drepper@gmail.com>
12252
12253 * po/ja.po: Update from translation team.
12254
67f86a25
UD
122552011-05-23 Ulrich Drepper <drepper@gmail.com>
12256
12257 [BZ #12795]
12258 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12259 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12260
def7fbd6
AS
122612011-05-20 Andreas Schwab <schwab@redhat.com>
12262
12263 * stdlib/longlong.h: Update from GCC.
12264
f50ef8f1
AS
122652011-05-23 Andreas Schwab <schwab@redhat.com>
12266
12267 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12268 parameter name.
12269 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12270 Add parameter name.
12271 (__sysconf): Pass it down.
12272
de7ce8f1
UD
122732011-05-22 Ulrich Drepper <drepper@gmail.com>
12274
f2962a71
UD
12275 [BZ #12671]
12276 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12277 some situations.
12278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12279 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12280 add in in __libc_use_alloca calls. Adjust callers.
12281 (glob): Use malloc in some situations.
12282
de7ce8f1
UD
12283 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12284 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12285 pltexit.
12286
aec84f53
UD
122872011-05-21 Ulrich Drepper <drepper@gmail.com>
12288
05bb4a68
UD
12289 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12290 and CLOCK_BOOTTIME_ALARM.
12291
7ea72f99
UD
12292 [BZ #12782]
12293 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12294 is returned.
12295
7e4afad5
UD
12296 * string/_strerror.c (__strerror_r): Print negative errors as signed
12297 numbers.
12298
8e211fec
UD
12299 [BZ #12777]
12300 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12301 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12302 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12303
f7d82dc9
UD
12304 * configure.in: Fix typo in redirection and correct removal of test
12305 files in two cases.
12306
cc9e536d
UD
12307 [BZ #12788]
12308 * locale/setlocale.c (new_composite_name): Fix test to check for
12309 identical name of all categories.
12310
aec84f53
UD
12311 [BZ #12792]
12312 * libio/filedoalloc.c (local_isatty): New function.
12313 (_IO_file_doallocate): Use local_isatty.
12314 * stdio-common/perror.c (perror): In case a new stream is used
12315 forward the stream error.
12316 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12317 error flag.
12318
78e64fdc
RT
123192011-05-20 Ulrich Drepper <drepper@gmail.com>
12320
34a9094f
UD
12321 [BZ #11869]
12322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12323 alloca.
12324 * include/alloca.h (extend_alloca_account): Define.
12325
78e64fdc
RT
12326 [BZ #11857]
12327 * posix/regex.h: Fix comments with documentation of user-accessible
12328 fields after compilation and describe correct free'ing of pattern
12329 after re_compile_pattern.
12330 Patch by Reuben Thomas <rrt@sc3d.org>.
12331
457bddfc
RA
123322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12333
12334 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12335 and -mno-altivec to prevent the compiler from using Altivec and/or
12336 VSX instructions when the corresponding registers are not available.
12337
a4527b51
AS
123382011-05-19 Andreas Schwab <schwab@redhat.com>
12339
12340 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12341
ed690b2f
UD
123422011-05-19 Ulrich Drepper <drepper@gmail.com>
12343
12344 * libio/freopen.c (freopen): Use __dup2, not dup2.
12345 * libio/freopen64.c (freopen64): Likewise.
12346
8db73634
L
123472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 [BZ #12775]
12350 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12351 * math/Makefile (tests): Add test-powl.
12352 (CFLAGS-test-powl.c): Define.
12353 * math/test-powl.c: New file.
12354
0a197a9d
L
123552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12358
ee30c380
UD
123592011-05-17 Ulrich Drepper <drepper@gmail.com>
12360
12361 [BZ #11837]
12362 * iconvdata/gb18030.c: Update to GB18020-2005.
12363
6ce75379
UD
123642011-05-16 Ulrich Drepper <drepper@gmail.com>
12365
a4b89fd8
AR
12366 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12367 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12368 Patch by Aharon Robbins <arnold@skeeve.com>.
12369
ea389b12
UD
12370 [BZ #11892]
12371 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12372 on the stack.
12373
68a3f91f
UD
12374 [BZ #11895]
12375 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12376 through underflows.
12377
15cc7dd1
UD
12378 [BZ #12766]
12379 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12380 point to strings before performing equality test for error_one_per_line
12381 mode.
12382
f3799213
UD
12383 [BZ #11697]
12384 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12385
d79a9c94
UD
12386 [BZ #11820]
12387 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12388 (struct user_fpregs_struct): Avoid __uint*_t types.
12389
56e5eb46
UD
12390 [BZ #6420]
12391 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12392 symbol info. Use it instead of calling _dl_addr locally.
12393 (lock_and_info): New function.
12394 (tr_freehook): Call lock_and_info and pass symbol info as additional
12395 parameter to tr_where.
12396 (tr_mallochook): Likewise.
12397 (tr_reallochook): Likewise.
12398 (tr_memalignhook): Likewise.
12399
6ce75379
UD
12400 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12401 used and couldn't be at all thread-safe.
12402
f8a3b5bf
UD
124032011-05-15 Ulrich Drepper <drepper@gmail.com>
12404
94b7cc37
UD
12405 * libio/freopen.c (freopen): Don't close old file descriptor
12406 before the new one is opened. Instead dup the new file descriptor
12407 to the old one after the new stream is created.
12408 * libio/freopen64.c (freopen64): Likewise.
12409 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12410 * libio/fileops.c (_IO_new_file_close_it): Handle new
12411 _IO_FLAGS2_NOCLOSE flag.
12412 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12413 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12414 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12415 _IO_FLAGS2_NOCLOSE flag.
12416 * include/unistd.h: Add hidden_proto for dup3.
12417 Define __have_dup3.
12418 * io/dup3.c: Define hidden symbol.
12419 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12420
bd25564e
UD
12421 [BZ #7101]
12422 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12423 when an incomplete long option is used.
12424 * posix/tst-getopt_long1.c: New file.
12425 * posix/Makefile (tests): Add tst-getopt_long1.
12426
c84cfef4
UD
12427 [BZ #10138]
12428 * scripts/config.guess: Update from autoconf-2.68.
12429 * scripts/config.sub: Likewise.
12430
3b85df27
UD
12431 [BZ #10157]
12432 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12433 tests into ...
12434 (has_cpuclock): ...this. New function.
12435 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12436 macro here based on has_cpuclock code.
12437
15a856b1
UD
12438 [BZ #10149]
12439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12440 First byte (not low byte) is now always NUL.
12441 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12442
05f399e6
UD
12443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12444 Use non-cancelable interfaces.
12445
10a52685 12446 [BZ #9809]
94ecc67d
UD
12447 * locale/iso-639.def: Add entry for Sorani.
12448
f8a3b5bf
UD
12449 [BZ #11901]
12450 * include/stdlib.h: Move include protection to the right place.
12451 Define abort_msg_s. Declare __abort_msg with it.
12452 * stdlib/abort.c (__abort_msg): Adjust type.
12453 * assert/assert.c (__assert_fail_base): New function. Majority
12454 of code from __assert_fail. Allocate memory for __abort_msg with
12455 mmap.
12456 (__assert_fail): Now call __assert_fail_base.
12457 * assert/assert-perr.c: Remove bulk of implementation. Use
12458 __assert_fail_base.
12459 * include/assert.hL Declare __assert_fail_base.
12460 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12461 mmap.
12462 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12463
1af4e298
UD
124642011-05-14 Ulrich Drepper <drepper@gmail.com>
12465
f8a3b5bf 12466 [BZ #11952]
d26dfc60
MG
12467 [BZ #12453]
12468 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12469 until all modules are registered in the DTV.
12470 * elf/Makefile: Add rules to build and run tst-tls19.
12471 * elf/tst-tls19.c: New file.
12472 * elf/tst-tls19mod1.c: New file.
12473 * elf/tst-tls19mod2.c: New file.
12474 * elf/tst-tls19mod3.c: New file.
12475 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12476
2fc54d6f
UD
12477 [BZ #12083]
12478 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12479 correctly.
12480
98d76b46
UD
12481 [BZ #12601]
12482 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12483 two-byte sequence errors.
12484 * iconvdata/Makefile (tests): Add bug-iconv8.
12485 * iconvdata/bug-iconv8.c: New file.
12486
da3c19ef
UD
12487 [BZ #12626]
12488 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12489 buf2 definition.
12490
ca408c15
UD
12491 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12492
d6f67f7d
UD
12493 [BZ #12432]
12494 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12495 (dummy_getcfa): New function.
12496 (init): Get _Unwind_GetCFA address, use dummy if not found.
12497 (backtrace_helper): In recursion check, also check whether CFA changes.
12498 (__backtrace): Completely initialize arg.
12499
1af4e298 12500 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12501 storing incomplete byte sequence in state object. Avoid testing for
12502 guaranteed too small input if we know there is enough data available.
1af4e298 12503
da62f81b
AS
125042011-05-11 Andreas Schwab <schwab@redhat.com>
12505
12506 * Makeconfig (+link-pie): Indent.
12507 * Rules (binaries-pie): Define if $(have-fpie) and
12508 $(build-shared).
12509 (binaries-shared): Also filter out $(binaries-pie).
12510 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12511 * nscd/Makefile (others-pie): Add nscd.
12512 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12513 ($(objpfx)nscd): Remove command override.
12514 * login/Makefile (others-pie): Add pt_chown.
12515 ($(objpfx)pt_chown): Remove command override.
12516 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12517 remove command overrides.
12518
fcabc0f8
UD
125192011-05-13 Ulrich Drepper <drepper@gmail.com>
12520
20030ae6
UD
12521 * libio/tst_putwc.c: Fix error messages.
12522
fcabc0f8
UD
12523 [BZ #12724]
12524 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12525 currently writing and seek to current position when not.
12526 * libio/Makefile (tests): Add bug-fclose1.
12527 * libio/bug-fclose1.c: New file.
12528
320a5dc0
PB
125292011-05-12 Ulrich Drepper <drepper@gmail.com>
12530
12531 [BZ #12511]
12532 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12533 don't set DF_1_NODELETE here.
12534 (do_lookup_x): When entering new entry test for copy relocation
12535 and if necessary set DF_1_NODELETE flag.
12536 * elf/tst-unique4.cc: New file.
12537 * elf/tst-unique4.h: New file.
12538 * elf/tst-unique4lib.cc: New file.
12539 * elf/Makefile: Add rules to build and run tst-unique4.
12540 Patch by Piotr Bury <pbury@goahead.com>.
12541
22836f52
UD
125422011-05-11 Ulrich Drepper <drepper@gmail.com>
12543
f574184a
UD
12544 [BZ #12052]
12545 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12546
e1fb097f
UD
12547 [BZ #12625]
12548 * misc/mntent_r.c (addmntent): Flush the stream after the output
12549
22836f52
UD
12550 [BZ #12393]
12551 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12552 (is_trusted_path_normalize): Skip initial colon. Append slash
12553 to empty buffer. Duplicate is_trusted_path code but allow
12554 constructed patch to be prefix.
12555 (is_dst): Allow $ORIGIN followed by /.
12556 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12557 Correct testing of result of is_trusted_path_normalize
12558 (decompose_rpath): Fix warning.
12559
7b3b0b2a
UD
125602011-05-10 Ulrich Drepper <drepper@gmail.com>
12561
12562 [BZ #11257]
12563 * grp/initgroups.c (internal_getgrouplist): When we found the service
12564 list through the initgroups entry in nsswitch.conf do not always
12565 continue on a successful lookup. Don't always use the
eac80ce2 12566 __nss_group_database value if it is set.
7b3b0b2a
UD
12567 * nss/nsswitch.conf (initgroups): Change action for successful db
12568 lookup to continue for compatibility.
12569
2a81eaa5
UD
125702011-05-09 Ulrich Drepper <drepper@gmail.com>
12571
be97a69e
UD
12572 [BZ #11532]
12573 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12574 and CP774 modules.
12575 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12576 and CP774 modules.
12577 * iconvdata/tst-tables.sh: Likewise.
12578 * iconvdata/cp770.c: New file.
12579 * iconvdata/cp771.c: New file.
12580 * iconvdata/cp772.c: New file.
12581 * iconvdata/cp773.c: New file.
12582 * iconvdata/cp774.c: New file.
12583 * iconvdata/testdata/CP770: New file.
12584 * iconvdata/testdata/CP770..UTF8: New file.
12585 * iconvdata/testdata/CP771: New file.
12586 * iconvdata/testdata/CP771..UTF8: New file.
12587 * iconvdata/testdata/CP772: New file.
12588 * iconvdata/testdata/CP772..UTF8: New file.
12589 * iconvdata/testdata/CP773: New file.
12590 * iconvdata/testdata/CP773..UTF8: New file.
12591 * iconvdata/testdata/CP774: New file.
12592 * iconvdata/testdata/CP774..UTF8: New file.
12593
12594 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12595 END CHARMAP line.
12596 * iconvdata/gen-8bit-gap.sh: Likewise.
12597 * iconvdata/gen-8bit.sh: Likewise.
12598
c1e9e399
UD
12599 * locale/iso-639.def: Add ary entry.
12600
24c55fb3 12601 [BZ #11258]
96b4b1b0
UD
12602 * locale/C-translit.h.in: Add U20A1 transliteration.
12603
bdc2f971
KB
12604 [BZ #12178]
12605 * locale/iso-639.def: Add wae entry.
12606 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12607
2952b117
UD
12608 [BZ #12545]
12609 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12610 for n.
12611
2a81eaa5
UD
12612 [BZ #12711]
12613 * locale/C-translit.h.in: Add entry for U20B9.
12614 Patch by pravin.d.s@gmail.com.
12615
28377d1b
UD
126162011-05-08 Ulrich Drepper <drepper@gmail.com>
12617
7fb90fb8
UD
12618 [BZ #12713]
12619 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12620 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12621 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12622 in rtld. Use *stat64.
7fb90fb8 12623 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12624 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12625 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12626 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12627 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12628 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12629 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12630 __fstatat64 macros.
7fb90fb8
UD
12631 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12632 * dirent/rewinddir.c: Add libc_hidden_def.
12633 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12634 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12635
28377d1b
UD
12636 * include/dirent.h (__alloc_dir): Add flags parameter.
12637 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12638 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12639 __alloc_dir.
12640 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12641 from fdopendir if O_CLOEXEC is already set.
12642
66bdbaa4
AM
126432011-03-15 Alan Modra <amodra@gmail.com>
12644
12645 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12646 l_tls_firstbyte_offset non-zero. Save padding offset in
12647 l_tls_firstbyte_offset for later use.
12648 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12649 freeing static tls block.
12650
95721191
JN
126512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12652
12653 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12654 where #ifdef was intended. The intent is to prevent ARG_MAX from
12655 being defined by the kernel headers.
12656
f87dfb1f
UD
126572011-05-07 Ulrich Drepper <drepper@gmail.com>
12658
12659 [BZ #12734]
12660 * resolv/resolv.h: Define RES_NOTLDQUERY.
12661 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12662 no-tld-query and set RES_NOTLDQUERY.
12663 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12664 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12665 modern BIND to search name as TLD unless forbidden.
12666
47c3cd7a
UD
126672011-05-07 Petr Baudis <pasky@suse.cz>
12668 Ulrich Drepper <drepper@gmail.com>
12669
12670 [BZ #12393]
12671 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12672 (is_trusted_path): ...to here.
c1e9ea35 12673 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12674 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12675 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12676
8a35c912
PP
126772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12678
12679 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12680 __BEGIN/__END_DECLS.
12681
acd41f47
UD
126822011-05-06 Ulrich Drepper <drepper@gmail.com>
12683
12684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12685 NSS_STATUS_NOTFOUND if no record was found.
12686
597df647
AS
126872011-05-05 Andreas Schwab <schwab@redhat.com>
12688
12689 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12690 (headers-not-in-tirpc): Remove rpc/netdb.h
12691 * resolv/netdb.h: Revert last change.
12692
b9af1301
PP
126932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12694
12695 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12696 circular dependency between libgcc.a and libc.a.
12697
4e34d5f5
AS
126982011-05-05 Andreas Schwab <schwab@redhat.com>
12699
12700 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12701 * nis/Makefile: Don't install rpcsvc/*.
12702 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12703 instead of <rpc/types.h>.
12704 (MAXHOSTNAMELEN): Define.
12705
00ee369c
AS
127062011-05-03 Andreas Schwab <schwab@redhat.com>
12707
12708 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12709
0b592a30
MB
127102011-04-28 Maciej Babinski <mbabinski@google.com>
12711
12712 [BZ #12714]
12713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12714 gethostbyname4_r when IPv6 results are possible.
12715
6e04cbbe
UD
127162011-05-02 Ulrich Drepper <drepper@gmail.com>
12717
12718 [BZ #12723]
12719 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12720 _PC_PIPE_BUF handling.
12721
e4ecafe0
BH
127222011-04-30 Bruno Haible <bruno@clisp.org>
12723
12724 [BZ #12717]
12725 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12726 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12727 to 'int'.
12728 * inet/getnameinfo.c (getnameinfo): Likewise.
12729
125ee683
UD
127302011-04-29 Ulrich Drepper <drepper@gmail.com>
12731
12732 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12733 to groups setting in database lookup.
12734 * nss/nsswitch.conf: Add initgroups entry.
12735
b722481a
EB
127362011-04-22 Ulrich Drepper <drepper@gmail.com>
12737
12738 [BZ #12685]
12739 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12740 mode string.
12741 Patch by Eric Blake <eblake@redhat.com>.
12742
4df46dbd
L
127432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 * sunrpc/Makefile (need-export-routines): Add svc_run.
12746 (routines): Remove svc_run.
12747 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12748 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12749 * sunrpc/svc_run.c (svc_run): Likewise.
12750 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12751
e84142d2
UD
127522011-04-21 Ulrich Drepper <drepper@gmail.com>
12753
12754 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12755 problem in reallocation in last patch.
12756
877175d8
UD
127572011-04-20 Ulrich Drepper <drepper@gmail.com>
12758
12759 * sunrpc/Makefile: Move inclusion of Rules.
12760
ab8eed78
UD
127612011-04-19 Ulrich Drepper <drepper@gmail.com>
12762
12763 * nss/nss_files/files-initgroups.c: New file.
12764 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12765 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12766 _nss_files_initgroups_dyn.
12767
e3d8f584
RS
127682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12769
12770 * elf/elf.h (R_ARM_IRELATIVE): Define.
12771
af190f45
UD
127722011-04-19 Ulrich Drepper <drepper@gmail.com>
12773
12774 * po/ru.po: Update from translation team.
12775
53cf59ef
UD
127762011-04-17 Ulrich Drepper <drepper@gmail.com>
12777
12778 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12779 dependencies.
12780
4c559bcd
MF
127812011-02-06 Mike Frysinger <vapier@gentoo.org>
12782
12783 [BZ #12653]
12784 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12785 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12789
4420675c
AS
127902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12791
12792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12793 differing bytes.
12794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12797
75ea32ab
UD
127982011-04-17 Ulrich Drepper <drepper@gmail.com>
12799
12800 [BZ #12420]
12801 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12802 storing it.
12803 * stdlib/bug-getcontext.c: New file.
12804 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12805
27390476
AK
128062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12807
12808 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12809 instructions into .machine "z9-109".
12810 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12811 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12812
10442705
AK
128132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12814
12815 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12816 between environment variables and auxiliary vector.
12817
7b57bfe5
UD
128182011-04-16 Ulrich Drepper <drepper@gmail.com>
12819
12820 * Makefile: Add rules to build linkobj/libc.so.
12821 * include/libc-symbols.h: Define libc_hidden_nolink.
12822 * include/rpc/auth.h: Mark functions which are to be hidden.
12823 * include/rpc/auth_des.h: Likewise.
12824 * include/rpc/auth_unix.h: Likewise.
12825 * include/rpc/clnt.h: Likewise.
12826 * include/rpc/des_crypt.h: Likewise.
12827 * include/rpc/key_prot.h: Likewise.
12828 * include/rpc/pmap_clnt.h: Likewise.
12829 * include/rpc/pmap_prot.h: Likewise.
12830 * include/rpc/pmap_rmt.h: Likewise.
12831 * include/rpc/rpc_msg.h: Likewise.
12832 * include/rpc/svc.h: Likewise.
12833 * include/rpc/svc_auth.h: Likewise.
12834 * include/rpc/xdr.h: Likewise.
12835 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12836 * nss/Makefile: Likewise.
12837 * sunrpc/Makefile: Don't install headers. Build library with normal
12838 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12839 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12840 for the compat linking library. Remove use of INTDEF/INTUSE.
12841 * sunrpc/auth_none.c: Likewise.
12842 * sunrpc/auth_unix.c: Likewise.
12843 * sunrpc/authdes_prot.c: Likewise.
12844 * sunrpc/authuxprot.c: Likewise.
12845 * sunrpc/clnt_gen.c: Likewise.
12846 * sunrpc/clnt_perr.c: Likewise.
12847 * sunrpc/clnt_raw.c: Likewise.
12848 * sunrpc/clnt_simp.c: Likewise.
12849 * sunrpc/clnt_tcp.c: Likewise.
12850 * sunrpc/clnt_udp.c: Likewise.
12851 * sunrpc/clnt_unix.c: Likewise.
12852 * sunrpc/des_crypt.c: Likewise.
12853 * sunrpc/des_soft.c: Likewise.
12854 * sunrpc/get_myaddr.c: Likewise.
12855 * sunrpc/key_call.c: Likewise.
12856 * sunrpc/key_prot.c: Likewise.
12857 * sunrpc/netname.c: Likewise.
12858 * sunrpc/pm_getmaps.c: Likewise.
12859 * sunrpc/pm_getport.c: Likewise.
12860 * sunrpc/pmap_clnt.c: Likewise.
12861 * sunrpc/pmap_prot.c: Likewise.
12862 * sunrpc/pmap_prot2.c: Likewise.
12863 * sunrpc/pmap_rmt.c: Likewise.
12864 * sunrpc/publickey.c: Likewise.
12865 * sunrpc/rpc_cmsg.c: Likewise.
12866 * sunrpc/rpc_common.c: Likewise.
12867 * sunrpc/rpc_dtable.c: Likewise.
12868 * sunrpc/rpc_prot.c: Likewise.
12869 * sunrpc/rpc_thread.c: Likewise.
12870 * sunrpc/rtime.c: Likewise.
12871 * sunrpc/svc.c: Likewise.
12872 * sunrpc/svc_auth.c: Likewise.
12873 * sunrpc/svc_authux.c: Likewise.
12874 * sunrpc/svc_raw.c: Likewise.
12875 * sunrpc/svc_run.c: Likewise.
12876 * sunrpc/svc_simple.c: Likewise.
12877 * sunrpc/svc_tcp.c: Likewise.
12878 * sunrpc/svc_udp.c: Likewise.
12879 * sunrpc/svc_unix.c: Likewise.
12880 * sunrpc/svcauth_des.c: Likewise.
12881 * sunrpc/xcrypt.c: Likewise.
12882 * sunrpc/xdr.c: Likewise.
12883 * sunrpc/xdr_array.c: Likewise.
12884 * sunrpc/xdr_float.c: Likewise.
12885 * sunrpc/xdr_intXX_t.c: Likewise.
12886 * sunrpc/xdr_mem.c: Likewise.
12887 * sunrpc/xdr_rec.c: Likewise.
12888 * sunrpc/xdr_ref.c: Likewise.
12889 * sunrpc/xdr_sizeof.c: Likewise.
12890 * sunrpc/xdr_stdio.c: Likewise.
12891
e6c61494
UD
128922011-04-10 Ulrich Drepper <drepper@gmail.com>
12893
12894 [BZ #12650]
12895 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12896 * sysdeps/ia64/dl-tls.h: Likewise.
12897 * sysdeps/powerpc/dl-tls.h: Likewise.
12898 * sysdeps/s390/dl-tls.h: Likewise.
12899 * sysdeps/sh/dl-tls.h: Likewise.
12900 * sysdeps/sparc/dl-tls.h: Likewise.
12901 * sysdeps/x86_64/dl-tls.h: Likewise.
12902 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12903
34fe483e
AS
129042011-03-14 Andreas Schwab <schwab@redhat.com>
12905
12906 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12907 rpath element also skip the following colon.
12908 (expand_dynamic_string_token): Add is_path parameter and pass
12909 down to DL_DST_REQUIRED and _dl_dst_substitute.
12910 (decompose_rpath): Call expand_dynamic_string_token with
12911 non-zero is_path. Ignore empty rpaths.
12912 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12913 with zero is_path.
12914
f12a32e6
AS
129152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12916
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12918 Make cancelable.
12919
38a7d692
UD
129202011-04-09 Ulrich Drepper <drepper@gmail.com>
12921
12922 [BZ #12655]
12923 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12924 Patch by Filipe David Manana <fdmanana@apache.org>.
12925
e451d22b
AS
129262011-04-07 Andreas Schwab <schwab@redhat.com>
12927
12928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12929 Maintain aligned stack.
12930 (CHECK_RSP): Remove unused macro.
12931
dedc7c7b
UD
129322011-04-03 Ulrich Drepper <drepper@gmail.com>
12933
12934 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12935 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12936
94521213
UD
129372011-04-02 Ulrich Drepper <drepper@gmail.com>
12938
12939 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12940
8cb700c0 12941 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12942
0354e355
L
129432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 [BZ #12518]
12946 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12947 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12948 * sysdeps/x86_64/memmove.c: New file.
12949 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12950 (memcpy): Renamed to ...
12951 (__new_memcpy): This.
12952 (memcpy): Provide GLIBC_2_14 memcpy.
12953 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12954 (memcpy): Provide GLIBC_2_2_5 memcpy.
12955
8593482f
UD
129562011-04-01 Ulrich Drepper <drepper@gmail.com>
12957
12958 [BZ #12631]
12959 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12960
81a5726b
AS
129612011-03-30 Andreas Schwab <schwab@redhat.com>
12962
12963 * misc/syncfs.c: New file.
12964 * misc/Makefile (routines): Add syncfs.
12965 * posix/unistd.h: Declare syncfs.
12966 * sysdeps/unix/syscalls.list: Add syncfs.
12967
00e5419f
AS
129682011-04-01 Andreas Schwab <schwab@redhat.com>
12969
12970 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12971 open_by_handle_at.
12972 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12973 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12977 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12979
748876bf
UD
129802011-04-01 Ulrich Drepper <drepper@gmail.com>
12981
658e451d
UD
12982 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12983 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12989
748876bf
UD
12990 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12991 sync_file_range.c with -fexceptions.
12992 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12993 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12994 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12995 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12996 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12997 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12999 sync_file_range as cancellation point
13000 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13001 now a wrapper around __call_sync_file_range with cancellation handling.
13002 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13003 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13004 function name to __call_sync_file_range.
13005 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13006 Add call_sync_file_range.
748876bf 13007
6e63d5e1
AS
130082011-04-01 Andreas Schwab <schwab@redhat.com>
13009
13010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13011 bits/timex.h.
6e63d5e1 13012
46998f74
UD
130132011-04-01 Ulrich Drepper <drepper@gmail.com>
13014
4c1423ed
UD
13015 * iconv/iconv.h: Fix typo in comment.
13016 * io/fcntl.h: Likewise.
13017 * libio/stdio.h: Likewise.
13018 * posix/spawn.h: Likewise.
13019 * posix/unistd.h: Likewise.
13020 * stdlib/stdlib.h: Likewise.
13021 * time/time.h: Likewise.
13022 * wcsmbs/wchar.h: Likewise.
13023
158648c0
UD
13024 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13025 open_by_handle): Add.
13026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13027 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13028 Augment a few comments.
13029 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13031 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13034 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13035 open_by_handle.
13036
46998f74
UD
13037 * io/fcntl.h (AT_EMPTY_PATH): Define.
13038
83fe108b
UD
130392011-03-30 Ulrich Drepper <drepper@gmail.com>
13040
13041 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13042 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13043 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13044 to...
13045 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13046 * Versions.def: Add GLIBC_2.14.
13047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13048 Export.
83fe108b 13049
bb242059
UD
130502011-03-22 Ulrich Drepper <drepper@gmail.com>
13051
13052 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13053 round counter.
13054 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13055
c97a1282
L
130562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13057
13058 [BZ #12597]
13059 * string/test-strncmp.c (do_page_test): New function.
13060 (check2): Likewise.
13061 (test_main): Call check2.
13062 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13063
2a115601
UD
130642011-03-20 Ulrich Drepper <drepper@gmail.com>
13065
13066 [BZ #12587]
13067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13068 Handle cache information in CPU leaf 4.
13069 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13070
8126d904
UD
130712011-03-18 Ulrich Drepper <drepper@gmail.com>
13072
042c49c6 13073 [BZ #12583]
8126d904
UD
13074 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13075 character representation.
13076 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13077
ccfe366e
RA
130782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13079
13080 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13081 END(__isnan) to END(__isnanf) to match function entry point/label
13082 EALIGN(__isnanf,...).
13083
c6e13027
JJ
130842011-03-10 Jakub Jelinek <jakub@redhat.com>
13085
13086 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13087
33f85a3f
UD
130882011-03-10 Ulrich Drepper <drepper@gmail.com>
13089
028478fa
UD
13090 [BZ #12510]
13091 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13092 copy from the symbol referenced in the relocation to initialize the
13093 used variable.
13094 Patch by Piotr Bury <pbury@goahead.com>.
13095 * elf/Makefile: Add rules to build and tst-unique3.
13096 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13097 * elf/tst-unique3.cc: New file.
13098 * elf/tst-unique3.h: New file.
13099 * elf/tst-unique3lib.cc: New file.
13100 * elf/tst-unique3lib2.cc: New file.
13101
33f85a3f
UD
13102 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13103
03592fc7
MF
131042011-03-10 Mike Frysinger <vapier@gentoo.org>
13105
13106 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13107 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13108 to _start.
03592fc7 13109
6a5ee102
UD
131102011-03-06 Ulrich Drepper <drepper@gmail.com>
13111
13112 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13113 to-be-loaded object along a path to loader is ld.so.
13114
7e4ba49c
HJ
131152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13116 Ulrich Drepper <drepper@gmail.com>
13117
13118 * sysdeps/x86_64/memset.S: After aligning destination, code
13119 branches to different locations depending on the value of
13120 misalignment, when multiarch is enabled. Fix this.
13121
131222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13123
13124 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13125 Set _x86_64_preferred_memory_instruction for AMD processsors.
13126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13127 Set bit_Prefer_SSE_for_memop for AMD processors.
13128
13a804de
UD
131292011-03-04 Ulrich Drepper <drepper@gmail.com>
13130
13131 * libio/fmemopen.c (fmemopen): Optimize a bit.
13132
9d25c392
AS
131332011-03-03 Andreas Schwab <schwab@redhat.com>
13134
13135 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13136
a5543c6a
RM
131372011-03-03 Roland McGrath <roland@redhat.com>
13138
13139 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13140
012d35f7
DM
131412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13142
7e4ba49c 13143 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13144 __bzero_ultra1 instead of __memset_ultra1.
13145
4bff6e01
AS
131462011-02-23 Andreas Schwab <schwab@redhat.com>
13147 Ulrich Drepper <drepper@gmail.com>
13148
13149 [BZ #12509]
13150 * include/link.h (struct link_map): Add l_orig_initfini.
13151 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13152 returning unsuccessfully.
13153 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13154 close of a file loaded at startup, restore the original l_initfini
13155 list.
13156 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13157 list, store the pointer.
13158 * elf/Makefile ($(objpfx)noload-mem): New rule.
13159 (noload-ENV): Define.
13160 (tests): Add $(objpfx)noload-mem.
13161 * elf/noload.c: Include <memcheck.h>.
13162 (main): Call mtrace. Close all opened handles.
13163
f2092faf
AS
131642011-02-17 Andreas Schwab <schwab@redhat.com>
13165
13166 [BZ #12454]
13167 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13168 dependencies are missing.
13169
6c8a2e88
ST
131702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13171
f2092faf 13172 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13173 Hurd needs munmap.
13174 * sysdeps/mach/hurd/ifreq.h: New file.
13175
84a42118
PB
131762011-01-27 Petr Baudis <pasky@suse.cz>
13177 Ulrich Drepper <drepper@gmail.com>
13178
071f805e 13179 [BZ 12445]#
84a42118
PB
13180 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13181 to extend_alloca().
13182 * stdio-common/bug23.c: New file.
13183 * stdio-common/Makefile (tests): Add bug23.
13184
e23fe25b
AS
131852010-09-28 Andreas Schwab <schwab@redhat.com>
13186 Ulrich Drepper <drepper@gmail.com>
13187
13188 [BZ #12489]
13189 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13190 before performing relro protection. At old place add assertion
13191 to make sure nothing changed.
13192
d3f02e10
NS
131932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13194 Glauber de Oliveira Costa <glommer@gmail.com>
13195
13196 * elf/elf.h: Add new ARM TLS relocs.
13197
d55fd7a5
RA
131982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13199
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13201 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13202 cast from r3.
13203 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13204 'tests' variable.
13205 * sysdeps/wordsize-64/tst-writev.c: New file.
13206
2206397e
RA
132072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13208
13209 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13210 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13211 insns in _dl_start to prevent a TOC reference before relocs are
13212 resolved.
13213
e9433893
UD
132142011-02-15 Ulrich Drepper <drepper@gmail.com>
13215
13216 [BZ #12469]
13217 * Makeconfig: Remove RANLIB definition.
13218 * Makerules: Don't use RANLIB.
13219 * aclocal.m4: Remove ranlib test.
13220 * configure.in: No need to check for ranlib.
13221 * elf/rtld-Rules: Don't use RANLIB.
13222
f75286c6
ST
132232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13224
8e31c82d
ST
13225 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13226 protection macro.
13227 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13228 inclusion protection macro.
13229
f75286c6
ST
13230 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13231 SIGRTMIN and SIGRTMAX and print information in that case only when
13232 SIGRTMIN is defined.
13233
c1d0e639
JJ
132342011-02-11 Jakub Jelinek <jakub@redhat.com>
13235
13236 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13237 arginfo fn returning -1.
13238
13239 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13240 and thousands string is zero terminated.
13241
edf9294e
AS
132422011-02-03 Andreas Schwab <schwab@redhat.com>
13243
13244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13245 sysdeps/unix/sysv/linux/bits/socket.h.
13246
2b7e92df
ST
132472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13248
edf9294e
AS
13249 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13250 (__CPU_COUNT): Remove old macros.
13251 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13252 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13253 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13254 (__sched_cpualloc, __sched_cpufree): Add declarations.
13255
a4c7ea7b
UD
132562011-02-05 Ulrich Drepper <drepper@gmail.com>
13257
13258 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13259 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13260 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13261 (readdhstai): Return value of addhstaiX call.
13262 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13263 (addgrbyX): Return value returned by cache_addgr.
13264 (readdgrbyname): Return value returned by addgrbyX.
13265 (readdgrbygid): Likewise.
13266 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13267 (addpwbyX): Return value returned by cache_addpw.
13268 (readdpwbyname): Return value returned by addhstbyX.
13269 (readdpwbyuid): Likewise.
13270 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13271 (addservbyX): Return value returned by cache_addserv.
13272 (readdservbyname): Return value returned by addservbyX:
13273 (readdservbyport): Likewise.
13274 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13275 (addhstbyX): Return value returned by cache_addhst.
13276 (readdhstbyname): Return value returned by addhstbyX.
13277 (readdhstbyaddr): Likewise.
13278 (readdhstbynamev6): Likewise.
13279 (readdhstbyaddrv6): Likewise.
13280 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13281 (readdinitgroups): Return value returned by addinitgroupsX.
13282 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13283 (prune_cache): Keep track of timeout value of re-added entries.
13284 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13285 * nscd/nscd.h: Adjust prototypes of readd* functions.
13286
a0bf67cc
RM
132872011-02-04 Roland McGrath <roland@redhat.com>
13288
13289 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13290 (nis_stats): Likewise.
13291 * nis/nis_modify.c (nis_modify): Likewise.
13292 * nis/nis_remove.c (nis_remove): Likewise.
13293 * nis/nis_add.c (nis_add): Likewise.
13294
13295 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13296
13297 * posix/fnmatch_loop.c: Add some consts.
13298
13299 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13300
435b95eb
L
133012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 [BZ #12460]
13304 * config.make.in (config-cflags-novzeroupper): Define.
13305 * configure.in: Substitute libc_cv_cc_novzeroupper.
13306 * elf/Makefile (AVX-CFLAGS): Define.
13307 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13308 (CFLAGS-tst-auditmod4a.c): Likewise.
13309 (CFLAGS-tst-auditmod4b.c): Likewise.
13310 (CFLAGS-tst-auditmod6b.c): Likewise.
13311 (CFLAGS-tst-auditmod6c.c): Likewise.
13312 (CFLAGS-tst-auditmod7b.c): Likewise.
13313 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13314
8517b15e
UD
133152011-02-02 Ulrich Drepper <drepper@gmail.com>
13316
13317 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13318 function to the callback.
13319 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13320
10a656fe
AS
133212011-02-02 Andreas Schwab <schwab@redhat.com>
13322
13323 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13324 of errno.
13325
968dad0a
UD
133262011-01-19 Ulrich Drepper <drepper@gmail.com>
13327
9f94d2ea 13328 [BZ #11724]
968dad0a
UD
13329 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13330 of constructors.
13331 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13332 of destructors.
13333 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13334
13335 [BZ #11724]
13336 * elf/Makefile: Add rules to build and run new test.
13337 * elf/tst-initorder.c: New file.
13338 * elf/tst-initorder.exp: New file.
13339 * elf/tst-initordera1.c: New file.
13340 * elf/tst-initordera2.c: New file.
13341 * elf/tst-initordera3.c: New file.
13342 * elf/tst-initordera4.c: New file.
13343 * elf/tst-initorderb1.c: New file.
13344 * elf/tst-initorderb2.c: New file.
13345 * elf/tst-order-a1.c: New file.
13346 * elf/tst-order-a2.c: New file.
13347 * elf/tst-order-a3.c: New file.
13348 * elf/tst-order-a4.c: New file.
13349 * elf/tst-order-b1.c: New file.
13350 * elf/tst-order-b2.c: New file.
13351 * elf/tst-order-main.c: New file.
13352 New test case by George Gensure <werkt0@gmail.com>.
13353
86e92359
UD
133542010-10-01 Andreas Schwab <schwab@redhat.com>
13355
13356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13357 decoding ACE if AI_CANONIDN.
13358
5d5732b0
UD
133592011-01-18 Ulrich Drepper <drepper@gmail.com>
13360
13361 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13362
a77e8cbc
UD
133632011-01-17 Ulrich Drepper <drepper@gmail.com>
13364
6392473f
UD
13365 * version.h (RELEASE): Bump for 2.13 release.
13366 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13367
620a0529
UD
13368 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13369
18ba70a5
UD
13370 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13371 MADV_NOHUGEPAGE.
32465c3e
UD
13372 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13374 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13375 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13378
c0dafcf1
UD
13379 * posix/getconf.c: Update copyright year.
13380 * catgets/gencat.c: Likewise.
13381 * csu/version.c: Likewise.
13382 * debug/catchsegv.sh: Likewise.
13383 * debug/xtrace.sh: Likewise.
13384 * elf/ldconfig.c: Likewise.
13385 * elf/ldd.bash.in: Likewise.
13386 * elf/sprof.c (print_version): Likewise.
13387 * iconv/iconv_prog.c: Likewise.
13388 * iconv/iconvconfig.c: Likewise.
13389 * locale/programs/locale.c: Likewise.
13390 * locale/programs/localedef.c: Likewise.
13391 * malloc/memusage.sh: Likewise.
13392 * malloc/mtrace.pl: Likewise.
13393 * nscd/nscd.c (print_version): Likewise.
13394 * nss/getent.c: Likewise.
13395
a77e8cbc
UD
13396 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13397 PF_CAIF, and PF_ALG.
13398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13399
77e8bddf
AS
134002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13401
1f20b93a
AS
13402 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13403 (modules-names): Use them.
13404 (ifunc-test-modules, ifunc-pie-tests): Define.
13405 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13406 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13407 (test-extras): Likewise.
13408 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13409 $(compile-command.c).
13410 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13411 (all-built-dso): Define.
13412 (check-textrel.out, check-execstack.out): Depend on it.
13413
77e8bddf
AS
13414 * configure.in: Don't override --enable-multi-arch.
13415
bc425b33
UD
134162011-01-15 Ulrich Drepper <drepper@gmail.com>
13417
13418 [BZ #6812]
13419 * nscd/hstcache.c (tryagain): Define.
13420 (cache_addhst): Return tryagain not notfound for temporary errors.
13421 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13422 failed.
13423
794c3ad3
UD
134242011-01-14 Ulrich Drepper <drepper@gmail.com>
13425
70181fdd
UD
13426 [BZ #10563]
13427 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13428 to make the syscall.
13429 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13430
794c3ad3
UD
13431 [BZ #12378]
13432 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13433 and fall back to matching as normal character if the string ends before
13434 the matching ']' is found. This is what POSIX requires.
13435 * posix/testfnm.c: Adjust test result.
13436 * posix/globtest.sh: Adjust test result. Add new test.
13437 * posix/tst-fnmatch.input: Likewise.
13438 * posix/tst-fnmatch2.c: Add new test.
13439
68dc9497
AS
134402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13441
13442 * elf/Makefile (check-execstack): Revert last change. Depend on
13443 check-execstack.h.
13444 (check-execstack.h): New target.
13445 (generated): Add check-execstack.h.
13446 * elf/check-execstack.c: Include "check-execstack.h".
13447 (main): Revert last change.
13448 (handle_file): Return zero if GNU_STACK is absent and
13449 DEFAULT_STACK_PERMS doesn't include PF_X.
13450
451f001b
UD
134512011-01-13 Ulrich Drepper <drepper@gmail.com>
13452
cfa28e56
UD
13453 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13454 in child fails because the descriptor is already closed.
8cf8ce17
UD
13455 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13456 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13457 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13458
1086d70d
UD
13459 [BZ #12397]
13460 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13461 syscall.
13462
451f001b
UD
13463 [BZ #10484]
13464 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13465 temporary buffer used to handle multi lookups locally.
a85b5cb4 13466 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13467
08769175
UD
134682011-01-12 Ulrich Drepper <drepper@gmail.com>
13469
13470 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13471 loader is ld.so.
13472
5e49c52e
UD
134732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13474
13475 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13476 alignment for SSE2.
13477
60522a5f
UD
134782011-01-12 Ulrich Drepper <drepper@gmail.com>
13479
13480 [BZ #12394]
13481 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13482 characters. When rounding increased number of integer digits recompute
13483 number of groups.
13484 * stdio-common/tst-grouping.c: New file.
13485 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13486
f257bbd7
UD
134872011-01-09 Ulrich Drepper <drepper@gmail.com>
13488
13489 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13490 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13491
13492 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13493 void.
13494 * bits/select.h: Likewise.
13495
fa9c15cb
UD
134962011-01-08 Ulrich Drepper <drepper@gmail.com>
13497
13498 * po/ja.po: Update from translation team.
13499
16c2895f
DM
135002011-01-04 David S. Miller <davem@sunset.davemloft.net>
13501
13502 [BZ #11155]
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13504 implementation just like for lxstat, fxstatat, et al.
13505
2543fef2
JM
135062010-12-27 Jim Meyering <meyering@redhat.com>
13507
13508 [BZ #12348]
13509 * posix/regexec.c (build_trtable): Return failure indication upon
13510 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13511
98727dbe
UD
135122010-12-25 Ulrich Drepper <drepper@gmail.com>
13513
5bd6dc5c
UD
13514 [BZ #12201]
13515 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13516 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13517 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13519
97983464
UD
13520 [BZ #12207]
13521 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13522
98727dbe
UD
13523 [BZ #12204]
13524 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13525 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13526
4a531bb0
L
135272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13530 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13531 script has SORT_BY_INIT_PRIORITY.
13532 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13533 NO_CTORS_DTORS_SECTIONS is defined.
13534 * elf/soinit.c: Likewise.
13535 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13536 NO_CTORS_DTORS_SECTIONS is defined.
13537 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13538 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13539 * sysdeps/sh/init-first.c: Likewise.
13540 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13541
07eb4b71
UD
135422010-12-24 Ulrich Drepper <drepper@gmail.com>
13543
13544 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13545 always use the slow path.
13546
30950a5f
RA
135472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13548
13549 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13550 similar rule which adds the sysdep directories to the header search in
13551 order to pick up the correct platform stackinfo.h.
13552 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13553 perform test if it is, otherwise return successfully without testing.
13554 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13555 DEFAULT_STACK_PERMS define in stackinfo.h.
13556 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13557 defined in stackinfo.h.
13558 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13559 DEFAULT_STACK_PERMS defined in stackinfo.h.
13560 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13561 * sysdeps/ia64/stackinfo.h: Likewise.
13562 * sysdeps/s390/stackinfo.h: Likewise.
13563 * sysdeps/sh/stackinfo.h: Likewise.
13564 * sysdeps/sparc/stackinfo.h: Likewise.
13565 * sysdeps/x86_64/stackinfo.h: Likewise.
13566 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13567 PF_X for powerpc64. Retain PF_X for powerpc32.
13568
db753e2c
UD
135692010-12-19 Ulrich Drepper <drepper@gmail.com>
13570
14b697f7
UD
13571 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13572 accurately.
db753e2c
UD
13573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13574 GETDENTS_64BIT_ALIGNED.
13575
28300719
UD
135762010-12-14 Ulrich Drepper <dreper@gmail.com>
13577
14b697f7 13578 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13579
4f197237
AS
135802010-12-10 Andreas Schwab <schwab@redhat.com>
13581
dbb0472f
AS
13582 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13583 _GNU_SOURCE.
13584
4f197237
AS
13585 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13586 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13587 Remove __restrict.
13588 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13589 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13590
fb88ac72
UD
135912010-12-09 Ulrich Drepper <drepper@gmail.com>
13592
13593 [BZ #11655]
13594 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13595 are initialized.
13596
42acbb92
JJ
135972010-12-09 Jakub Jelinek <jakub@redhat.com>
13598
13599 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13600
c038d98d
UD
136012010-12-03 Ulrich Drepper <drepper@gmail.com>
13602
13603 * po/it.po: Update from translation team.
13604
3a4a2499
L
136052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13606
13607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13608 unused codes.
13609
1e24cf6e
UD
136102010-11-30 Ulrich Drepper <drepper@gmail.com>
13611
13612 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13613
a7690819
AS
136142010-11-24 Andreas Schwab <schwab@redhat.com>
13615
13616 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13617 specially.
13618 (gaih_getanswer_slice): Likewise.
13619
3bf8d1b1
JJ
136202010-10-20 Jakub Jelinek <jakub@redhat.com>
13621
13622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13623
6db52fbb
PB
136242010-05-31 Petr Baudis <pasky@suse.cz>
13625
13626 [BZ #11149]
13627 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13628 silently even in the chroot mode.
13629
eaca7569
UD
136302010-11-22 Ulrich Drepper <drepper@gmail.com>
13631
13632 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13633 last patch a bit. Pretty printing
13634
3056dcdb
UD
136352010-05-31 Petr Baudis <pasky@suse.cz>
13636
13637 [BZ #10085]
13638 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13639 initialization of skip_initgroups_dyn.
13640
cf7c9078
UD
136412010-11-19 Ulrich Drepper <drepper@gmail.com>
13642
13643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13645
a1fb5e3e
UD
136462010-11-16 Ulrich Drepper <drepper@gmail.com>
13647
13648 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13649
3540d66b
AS
136502010-11-11 Andreas Schwab <schwab@redhat.com>
13651
13652 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13653 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13654 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13655 ($(objpfx)tst-fnmatch-mem): New rule.
13656 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13657 * posix/tst-fnmatch.c (main): Call mtrace.
13658
13b69574
L
136592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13660
13661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13662 Support Intel processor model 6 and model 0x2c.
13663
da93d214
LM
136642010-11-10 Luis Machado <luisgpm@br.ibm.com>
13665
13666 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13667 signed comparison.
13668
8ca52c6e
L
136692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13670
13671 [BZ #12205]
13672 * string/test-strncasecmp.c (check_result): New function.
13673 (do_one_test): Use it.
13674 (check1): New function.
13675 (test_main): Use it.
13676 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13677 Support strcasecmp and strncasecmp.
13678
69da074d
UD
136792010-11-08 Ulrich Drepper <drepper@gmail.com>
13680
13681 [BZ #12194]
13682 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13684
ff02d528
L
136852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13688 IFUNC support.
13689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13690 memset-x86-64.
13691 * sysdeps/x86_64/multiarch/bzero.S: New file.
13692 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13693 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13694 * sysdeps/x86_64/multiarch/memset.S: New file.
13695 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13697 Set bit_Prefer_SSE_for_memop for Intel processors.
13698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13699 Define.
13700 (index_Prefer_SSE_for_memop): Define.
13701 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13702
344d0b54
LM
137032010-11-04 Luis Machado <luisgpm@br.ibm.com>
13704
13705 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13706 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13707
c0dde15b
UD
137082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 [BZ #12191]
13711 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13712 (__x86_64_raw_data_cache_size_half): Likewise.
13713 (__x86_64_raw_shared_cache_size): Likewise.
13714 (__x86_64_raw_shared_cache_size_half): Likewise.
13715
13716 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13717 (__x86_64_raw_data_cache_size_half): Likewise.
13718 (__x86_64_raw_shared_cache_size): Likewise.
13719 (__x86_64_raw_shared_cache_size_half): Likewise.
13720 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13721 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13722 and __x86_64_raw_shared_cache_size_half. Round
13723 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13724 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13725 to multiple of 256 bytes.
13726
0e516e0e
MS
137272010-11-03 Ulrich Drepper <drepper@gmail.com>
13728
13729 [BZ #12167]
13730 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13731 of inacessible symlinks. Verify result of symlink before returning it.
13732 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13733 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13734
0e012e87
ER
137352010-10-28 Erich Ritz <erichritz@gmail.com>
13736
13737 * math/math.h (isinf): Fix typo in comment.
13738
de0ff7bc
UD
137392010-11-01 Ulrich Drepper <drepper@gmail.com>
13740
13741 * po/da.po: Update from translation team.
13742
fa41c84d
UD
137432010-10-26 Ulrich Drepper <drepper@gmail.com>
13744
13745 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13746 is added to the list.
13747
f0967738
AK
137482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13749 Ulrich Drepper <drepper@gmail.com>
13750
13751 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13752 the global list here. Move code to...
13753 (_dl_add_to_namespace_list): ...here. New function.
13754 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13755 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13756 * elf/dl-load.c (lose): Don't remove the element from the list.
13757 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13758 (_dl_map_object): Likewise.
13759
137602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13761
13762 [BZ #12159]
13763 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13764 into all bytes of SSE register.
13765 Patch by Richard Li <richardpku@gmail.com>.
13766
f0967738 137672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13768
13769 [BZ #12140]
13770 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13771 perturbing.
13772
d0b9e94f
MB
137732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13774
13775 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13776 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13777 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13778 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13780 submachine.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13782
8e9f92e9
AS
137832010-10-22 Andreas Schwab <schwab@redhat.com>
13784
13785 * include/dlfcn.h (__RTLD_SECURE): Define.
13786 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13787 mode & __RTLD_SECURE instead.
13788 (open_path): Rename preloaded parameter to secure.
13789 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13790 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13791 * elf/dl-deps.c (openaux): Likewise.
13792 * elf/rtld.c (struct map_args): Remove is_preloaded.
13793 (map_doit): Don't use it.
13794 (dl_main): Likewise.
13795 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13796 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13797
bc96fbda
AS
137982010-09-09 Andreas Schwab <schwab@redhat.com>
13799
13800 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13801 (sysd-rules-targets): Remove duplicates.
13802 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13803 rtld-%.$o dependency.
13804
22cd1c9b
AS
138052010-10-18 Andreas Schwab <schwab@redhat.com>
13806
13807 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13808 _dl_map_object do it.
13809
18edac48
UD
138102010-10-19 Ulrich Drepper <drepper@gmail.com>
13811
13812 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13813 fast fma builtins, define the macros in the C99 standard.
13814 (FP_FAST_FMAF): Likewise.
13815 (FP_FAST_FMAL): Likewise.
13816 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13817
13818 * bits/mathdef.h: Update copyright year.
13819 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13820
d2050124
MM
138212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13822
13823 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13824 builtins, define the macros in the C99 standard.
13825 (FP_FAST_FMAF): Likewise.
13826 (FP_FAST_FMAL): Likewise.
13827 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13828 multiply/add.
13829 (FP_FAST_FMAF): Likewise.
13830
475facd1
JJ
138312010-10-15 Jakub Jelinek <jakub@redhat.com>
13832
13833 [BZ #3268]
13834 * math/libm-test.inc (fma_test): Some new testcases.
13835 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13836 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13837 y and infinite z. Do multiplication by C already in long double.
13838 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13840 y and infinite z. Do bitwise or of inexact bit into u.d.
13841 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13842 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13843 * sysdeps/i386/fpu/s_fma.S: Removed.
13844 * sysdeps/i386/fpu/s_fmal.S: Removed.
13845
7c08a05c
JJ
138462010-10-16 Jakub Jelinek <jakub@redhat.com>
13847
13848 [BZ #3268]
13849 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13851 computation is not scheduled after fetestexcept. Fix value
13852 of minimum denormal long double.
13853
f3f7372d
JJ
138542010-10-14 Jakub Jelinek <jakub@redhat.com>
13855
13856 [BZ #3268]
13857 * math/libm-test.inc (fma_test): Add some more tests.
13858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13859 correctly.
13860
14d43591
AS
138612010-10-15 Andreas Schwab <schwab@redhat.com>
13862
13863 * scripts/data/localplt-s390-linux-gnu.data: New file.
13864 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13865
5e908464
JJ
138662010-10-13 Jakub Jelinek <jakub@redhat.com>
13867
13868 [BZ #3268]
13869 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13870 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13871 instead of dbl-64.
13872 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13873 inlines.
13874 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13876 if one of x and y is very large and the other is subnormal.
13877 * sysdeps/s390/fpu/s_fmaf.c: New file.
13878 * sysdeps/s390/fpu/s_fma.c: New file.
13879 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13880 * sysdeps/powerpc/fpu/s_fma.S: New file.
13881 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13882 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13883 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13884
138852010-10-12 Jakub Jelinek <jakub@redhat.com>
13886
13887 [BZ #3268]
13888 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13889 fma tests.
13890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13891 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13892 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13893 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13894 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13895 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13897
b833d51f
UD
138982010-10-12 Ulrich Drepper <drepper@redhat.com>
13899
13900 [BZ #12078]
13901 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13902 * posix/bug-regex31.input: Add test case.
13903
1751705d
UD
139042010-10-11 Ulrich Drepper <drepper@gmail.com>
13905
e9b9cbf5
UD
13906 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13907 * posix/bug-regex31.input: New file.
13908
13909 [BZ #12078]
13910 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13911 (parse_sub_exp): Fix last change, use postorder.
13912
ef06edbe
UD
13913 * posix/bug-regex31.c: New file.
13914 * posix/Makefile: Add rules to build and run bug-regex31.
13915
a129c80d
UD
13916 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13917
13918 [BZ #12078]
13919 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13920
b76b818e
UD
13921 [BZ #12108]
13922 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13923 to have entries in sys_siglist.
13924
1751705d
UD
13925 [BZ #12093]
13926 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13927 be NULL.
13928
9ff8d36f
JJ
139292010-10-07 Jakub Jelinek <jakub@redhat.com>
13930
13931 [BZ #3268]
13932 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13933 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13934 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13935 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13936 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13937 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13938 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13939 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13940 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13941 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13942 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13943 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13944 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13945 * math/ftestexcept.c (fetestexcept): Likewise.
13946 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13947 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13948 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13949 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13950 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13951 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13952 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13953
af325969
UD
139542010-10-11 Ulrich Drepper <drepper@gmail.com>
13955
c579b202 13956 [BZ #12107]
af325969
UD
13957 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13958 newline.
13959
67a67b95
UD
139602010-10-06 Ulrich Drepper <drepper@gmail.com>
13961
13962 * string/bug-strstr1.c: New file.
13963 * string/Makefile: Add rules to build and run bug-strstr1.
13964
5fb308bc
EB
139652010-10-05 Eric Blake <eblake@redhat.com>
13966
13967 [BZ #12092]
13968 * string/str-two-way.h (two_way_long_needle): Always clear memory
13969 when skipping input due to the shift table.
13970
45db99c7
UD
139712010-10-03 Ulrich Drepper <drepper@gmail.com>
13972
3b111893
UD
13973 [BZ #12005]
13974 * malloc/mcheck.c: Handle large requests.
13975
45db99c7
UD
13976 [BZ #12077]
13977 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13978 for strncmp and strncasecmp.
13979 * string/stratcliff.c: Add tests for strcmp and strncmp.
13980 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13981
cf7a1eb8
NI
139822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13983
13984 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13985 __set_fpscr.
13986
6484ba5e
AJ
139872010-09-30 Andreas Jaeger <aj@suse.de>
13988
13989 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13990 (CGROUP_SUPER_MAGIC): Define.
13991 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13992 Handle btrfs and cgroup file systems.
13993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13994 Likewise.
13995
91c42559
LM
139962010-09-27 Luis Machado <luisgpm@br.ibm.com>
13997
13998 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13999 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14000
87a97932
AK
140012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14002
14003 [BZ #12067]
14004 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14005 trying to locate the ELF header.
14006
c21cc9bc
AS
140072010-09-27 Andreas Schwab <schwab@redhat.com>
14008
14009 [BZ #11611]
14010 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14011 Mask out sign-bit copies when constructing f_fsid.
14012
315970f6
PB
140132010-09-24 Petr Baudis <pasky@suse.cz>
14014
14015 * debug/stack_chk_fail_local.c: Add missing licence exception.
14016 * debug/warning-nop.c: Likewise.
14017
1ac7a2c7
JM
140182010-09-15 Joseph Myers <joseph@codesourcery.com>
14019
14020 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14021 implementing getdents64 using getdents syscall, set d_type if
14022 __ASSUME_GETDENTS32_D_TYPE.
14023
56801c50
AS
140242010-09-16 Andreas Schwab <schwab@redhat.com>
14025
14026 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14027 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14028
dda51327
UD
140292010-09-21 Ulrich Drepper <drepper@redhat.com>
14030
14031 [BZ #12037]
14032 * posix/unistd.h: Undo change of feature selection for ftruncate from
14033 2010-01-11.
14034
8ffcee4a
UD
140352010-09-20 Ulrich Drepper <drepper@redhat.com>
14036
a545ecd9 14037 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14038 detection.
14039
e24f0a8b
AS
140402010-09-20 Andreas Schwab <schwab@redhat.com>
14041
14042 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14043 fanotify_mark.
14044 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14045
7291c56f
AS
140462010-09-14 Andreas Schwab <schwab@redhat.com>
14047
14048 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14049 variables after CHECK_SP call.
14050 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14051
bc5fb037
AS
140522010-09-13 Andreas Schwab <schwab@redhat.com>
14053 Ulrich Drepper <drepper@redhat.com>
14054
14055 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14056 re-relocationg ld.so.
14057 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14058 _dl_init_paths call.
14059 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14060 here anymore.
14061
e66e7419
UD
140622010-09-14 Ulrich Drepper <drepper@redhat.com>
14063
14064 * resolv/res_init.c (__res_vinit): Count the default server we added.
14065
c044aa75
CLT
140662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14067 Ulrich Drepper <drepper@redhat.com>
14068
14069 [BZ #11968]
14070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14071 (____longjmp_chk): Use %ebx for saving value across system call.
14072 Add unwind info.
14073
32cf4069
AS
140742010-09-06 Andreas Schwab <schwab@redhat.com>
14075
14076 * manual/Makefile: Don't mix pattern rules with normal rules.
14077
817328ee
AS
140782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14079
14080 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14081 operation.
14082 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14083 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14084 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14085 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14087 Likewise.
14088
29fddf61
UD
140892010-09-04 Ulrich Drepper <drepper@redhat.com>
14090
14091 [BZ #11979]
14092 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14093 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14094
0959ffc9
UD
140952010-09-02 Ulrich Drepper <drepper@redhat.com>
14096
14097 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14098 * sysdeps/x86_64/addmul_1.S: Likewise.
14099 * sysdeps/x86_64/lshift.S: Likewise.
14100 * sysdeps/x86_64/mul_1.S: Likewise.
14101 * sysdeps/x86_64/rshift.S: Likewise.
14102 * sysdeps/x86_64/sub_n.S: Likewise.
14103 * sysdeps/x86_64/submul_1.S: Likewise.
14104
ece29840
ST
141052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14106
0959ffc9
UD
14107 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14108 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14109 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14110 * bits/sched.h [__need_schedparam]
ece29840 14111 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14112 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14113 (__defined_schedparam): Define to 1.
ece29840
ST
14114 (__sched_param): New structure, identical to sched_param.
14115 (__need_schedparam): Undefine.
14116
e53a31fe
MF
141172010-08-31 Mike Frysinger <vapier@gentoo.org>
14118
fdc0c10d
MF
14119 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14120 (epoll_create1): Declare.
14121
e53a31fe
MF
14122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14123
a726d796
AS
141242010-08-31 Andreas Schwab <schwab@redhat.com>
14125
14126 [BZ #7066]
14127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14128 shifting retval into place.
14129
2f3e3dc7
UD
141302010-09-01 Ulrich Drepper <drepper@redhat.com>
14131
f2933da9
UD
14132 * nis/rpcsvc/nis.h: Update copyright notice.
14133 * nis/rpcsvc/nis.x: Likewise.
14134 * nis/rpcsvc/nis_callback.h: Likewise.
14135 * nis/rpcsvc/nis_callback.x: Likewise.
14136 * nis/rpcsvc/nis_object.x: Likewise.
14137 * nis/rpcsvc/nis_tags.h: Likewise.
14138 * nis/rpcsvc/yp.h: Likewise.
14139 * nis/rpcsvc/yp.x: Likewise.
14140 * nis/rpcsvc/ypupd.h: Likewise.
14141 * nis/yp_xdr.c: Likewise.
14142 * nis/ypupdate_xdr.c: Likewise.
14143
2f3e3dc7
UD
14144 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14145 mainly the body of pmap_getport. Add parameters to specify timeouts.
14146 (pmap_getport): Use __libc_rpc_getport.
14147 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14148 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14149 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14150
f3dcc2f9
AS
141512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14152
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14154 fanotify_mark.
14155
6d34eb5b
RM
141562010-08-27 Roland McGrath <roland@redhat.com>
14157
14158 * sysdeps/i386/i686/multiarch/Makefile
14159 (CFLAGS-varshift.c): New variable.
14160
9ea3de11
UD
141612010-08-27 Ulrich Drepper <drepper@redhat.com>
14162
c96d23fc
UD
14163 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14164 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14165
9ea3de11
UD
14166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14167
14168 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14169
623aac7f
L
141702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * sysdeps/x86_64/strlen.S: Unroll the loop.
14173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14174 strlen-sse2 strlen-sse2-bsf.
14175 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14176 __strlen_no_bsf if bit_Slow_BSF is set.
14177 (__strlen_sse42): Removed.
14178 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14179 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14180
8b2b7715
RM
141812010-08-25 Roland McGrath <roland@redhat.com>
14182
14183 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14184 * sysdeps/x86_64/multiarch/varshift.c: New file.
14185 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14186 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14187 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14188 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14189
e73015f2
L
141902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14191
14192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14193 strlen-sse2 strlen-sse2-bsf.
14194 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14195 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14196 (__strlen_sse2): Removed.
14197 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14198 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14200 bit_Slow_BSF for Atom.
14201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14202 (index_Slow_BSF): Define.
14203 (HAS_SLOW_BSF): Define.
14204
df24a73e
UD
142052010-08-25 Ulrich Drepper <drepper@redhat.com>
14206
14207 [BZ #10851]
14208 * resolv/res_init.c (__res_vinit): When no server address at all
14209 is given default to loopback.
14210
f2ac4868
RM
142112010-08-24 Roland McGrath <roland@redhat.com>
14212
09055553
RM
14213 * configure.in: Remove config-name.h generation.
14214 * configure: Regenerated.
14215 * config-name.in: File removed.
14216 * scripts/config-uname.sh: New file.
14217 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14218 ($(objdir)config-name.h): New target.
14219
f2ac4868
RM
14220 * sunrpc/rpc_parse.h: Avoid nested comment.
14221
73f27d5e
RH
142222010-08-24 Richard Henderson <rth@redhat.com>
14223 Ulrich Drepper <drepper@redhat.com>
14224 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14228 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14229 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14230 _mm_alignr_epi8 with _mm_loadu_si128.
14231 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14232 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14233 (__m128i_shift_right): Removed.
14234 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14235 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14236 * sysdeps/x86_64/multiarch/varshift.h: New file.
14237 * sysdeps/x86_64/multiarch/varshift.S: New file.
14238
84b9230c
MF
142392010-08-21 Mike Frysinger <vapier@gentoo.org>
14240
14241 * configure.in: Move assembler checks to before sysdep dir checking.
14242
9bbd0ddc
PB
142432010-08-20 Petr Baudis <pasky@suse.cz>
14244
14245 * LICENSES: Sync the sunrpc license.
14246
9da4bb31
UD
142472010-08-19 Ulrich Drepper <drepper@redhat.com>
14248
a7ab6ec8
UD
14249 * sunrpc/auth_des.c: Update copyright notice once again.
14250 * sunrpc/auth_none.c: Likewise.
14251 * sunrpc/auth_unix.c: Likewise.
14252 * sunrpc/authdes_prot.c: Likewise.
14253 * sunrpc/authuxprot.c: Likewise.
14254 * sunrpc/bindrsvprt.c: Likewise.
14255 * sunrpc/clnt_gen.c: Likewise.
14256 * sunrpc/clnt_perr.c: Likewise.
14257 * sunrpc/clnt_raw.c: Likewise.
14258 * sunrpc/clnt_simp.c: Likewise.
14259 * sunrpc/clnt_tcp.c: Likewise.
14260 * sunrpc/clnt_udp.c: Likewise.
14261 * sunrpc/clnt_unix.c: Likewise.
14262 * sunrpc/des_crypt.c: Likewise.
14263 * sunrpc/des_soft.c: Likewise.
14264 * sunrpc/get_myaddr.c: Likewise.
14265 * sunrpc/getrpcport.c: Likewise.
14266 * sunrpc/key_call.c: Likewise.
14267 * sunrpc/key_prot.c: Likewise.
14268 * sunrpc/openchild.c: Likewise.
14269 * sunrpc/pm_getmaps.c: Likewise.
14270 * sunrpc/pm_getport.c: Likewise.
14271 * sunrpc/pmap_clnt.c: Likewise.
14272 * sunrpc/pmap_prot.c: Likewise.
14273 * sunrpc/pmap_prot2.c: Likewise.
14274 * sunrpc/pmap_rmt.c: Likewise.
14275 * sunrpc/rpc/auth.h: Likewise.
14276 * sunrpc/rpc/auth_unix.h: Likewise.
14277 * sunrpc/rpc/clnt.h: Likewise.
14278 * sunrpc/rpc/des_crypt.h: Likewise.
14279 * sunrpc/rpc/key_prot.h: Likewise.
14280 * sunrpc/rpc/netdb.h: Likewise.
14281 * sunrpc/rpc/pmap_clnt.h: Likewise.
14282 * sunrpc/rpc/pmap_prot.h: Likewise.
14283 * sunrpc/rpc/pmap_rmt.h: Likewise.
14284 * sunrpc/rpc/rpc.h: Likewise.
14285 * sunrpc/rpc/rpc_des.h: Likewise.
14286 * sunrpc/rpc/rpc_msg.h: Likewise.
14287 * sunrpc/rpc/svc.h: Likewise.
14288 * sunrpc/rpc/svc_auth.h: Likewise.
14289 * sunrpc/rpc/types.h: Likewise.
14290 * sunrpc/rpc/xdr.h: Likewise.
14291 * sunrpc/rpc_clntout.c: Likewise.
14292 * sunrpc/rpc_cmsg.c: Likewise.
14293 * sunrpc/rpc_common.c: Likewise.
14294 * sunrpc/rpc_cout.c: Likewise.
14295 * sunrpc/rpc_dtable.c: Likewise.
14296 * sunrpc/rpc_hout.c: Likewise.
14297 * sunrpc/rpc_main.c: Likewise.
14298 * sunrpc/rpc_parse.c: Likewise.
14299 * sunrpc/rpc_parse.h: Likewise.
14300 * sunrpc/rpc_prot.c: Likewise.
14301 * sunrpc/rpc_sample.c: Likewise.
14302 * sunrpc/rpc_scan.c: Likewise.
14303 * sunrpc/rpc_scan.h: Likewise.
14304 * sunrpc/rpc_svcout.c: Likewise.
14305 * sunrpc/rpc_tblout.c: Likewise.
14306 * sunrpc/rpc_util.c: Likewise.
14307 * sunrpc/rpc_util.h: Likewise.
14308 * sunrpc/rpcinfo.c: Likewise.
14309 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14310 * sunrpc/rpcsvc/key_prot.x: Likewise.
14311 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14312 * sunrpc/rpcsvc/mount.x: Likewise.
14313 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14314 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14315 * sunrpc/rpcsvc/rex.x: Likewise.
14316 * sunrpc/rpcsvc/rstat.x: Likewise.
14317 * sunrpc/rpcsvc/rusers.x: Likewise.
14318 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14319 * sunrpc/rpcsvc/spray.x: Likewise.
14320 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14321 * sunrpc/rtime.c: Likewise.
14322 * sunrpc/svc.c: Likewise.
14323 * sunrpc/svc_auth.c: Likewise.
14324 * sunrpc/svc_authux.c: Likewise.
14325 * sunrpc/svc_raw.c: Likewise.
14326 * sunrpc/svc_run.c: Likewise.
14327 * sunrpc/svc_simple.c: Likewise.
14328 * sunrpc/svc_tcp.c: Likewise.
14329 * sunrpc/svc_udp.c: Likewise.
14330 * sunrpc/svc_unix.c: Likewise.
14331 * sunrpc/svcauth_des.c: Likewise.
14332 * sunrpc/xcrypt.c: Likewise.
14333 * sunrpc/xdr.c: Likewise.
14334 * sunrpc/xdr_array.c: Likewise.
14335 * sunrpc/xdr_float.c: Likewise.
14336 * sunrpc/xdr_mem.c: Likewise.
14337 * sunrpc/xdr_rec.c: Likewise.
14338 * sunrpc/xdr_ref.c: Likewise.
14339 * sunrpc/xdr_sizeof.c: Likewise.
14340 * sunrpc/xdr_stdio.c: Likewise.
14341
9da4bb31
UD
14342 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14343 handling.
14344
bdaa77bc
AS
143452010-08-19 Andreas Schwab <schwab@redhat.com>
14346
14347 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14348
fe2f79db
LM
143492010-08-19 Luis Machado <luisgpm@br.ibm.com>
14350
14351 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14352 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14353 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14354 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14355 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14356 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14357 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14358 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14359 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14360 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14361 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14362 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14363 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14364 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14365
b9b42ee0
AB
143662010-07-26 Anton Blanchard <anton@samba.org>
14367
14368 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14369 * malloc/arena.c (heap_trim): Likewise.
14370
1c06ba31
UD
143712010-08-16 Ulrich Drepper <drepper@redhat.com>
14372
14373 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14374 here. Not...
14375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14376 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14377
f8392f40
L
143782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14379
14380 * sysdeps/i386/elf/Makefile: New file.
14381
3162f12e
AS
143822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14383
14384 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14385 from fanotify_init.
14386 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14388
28c90b2c
UD
143892010-08-15 Ulrich Drepper <drepper@redhat.com>
14390
14391 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14392 of strncasecmp_l.
1feccb6c 14393 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14394
ca6bb004
UD
143952010-08-14 Ulrich Drepper <drepper@redhat.com>
14396
e9f82e0d
UD
14397 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14398 strncase_l-nonascii.
14399 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14400 Add strncase_l-ssse3.
14401 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14402 * sysdeps/x86_64/strcmp.S: Likewise.
14403 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14404 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14405 * sysdeps/x86_64/strncase.S: New file.
14406 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14407 * sysdeps/x86_64/strncase_l.S: New file.
14408 * string/Makefile (strop-tests): Add strncasecmp.
14409 * string/test-strncasecmp.c: New file.
14410
14411 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14412 warning.
14413
ca6bb004
UD
14414 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14415 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14416
052fa7b3
AS
144172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14418
14419 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14420
962dba78
UD
144212010-08-12 Ulrich Drepper <drepper@redhat.com>
14422
14423 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14424 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14426
bebff237
AM
144272010-05-01 Alan Modra <amodra@gmail.com>
14428
14429 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14430 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14431 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14432 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14433 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14434 tidying. Don't tail-call __sigjmp_save for static lib.
14435 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14436 save location.
14437 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14438 (CALL_MCOUNT): Add eh info, and nop after bl.
14439 (TAIL_CALL_SYSCALL_ERROR): New macro.
14440 (PSEUDO_RET): Use it.
14441 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14442 Correct save location of integer regs and cr.
14443 (_dl_profile_resolve): Correct cr save location. Delete nops
14444 after bl when SHARED. Reduce cfi size a little by better
14445 placement of cfi directives.
14446 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14447 make a stack frame. Instead use parm save area as a temp.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14449 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14451 Don't make a stack frame for parent, use parm save area.
14452 Increase child stack frame to 112 bytes. Don't save unused reg,
14453 and adjust reg usage. Set up cfi on error recovery and
14454 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14456 (__makecontext): Add dummy nop after jump to exit.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14458 Use correct parm save area and cr save, reduce stack frame.
14459 Correct cfi for possible PSEUDO_RET frame setup.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14461 Branch to local label emitted by PSEUDO_RET rather than
14462 __syscall_error.
14463
02637374
AS
144642010-08-12 Andreas Schwab <schwab@redhat.com>
14465
14466 [BZ #11904]
14467 * locale/programs/locale.c (print_assignment): New function.
14468 (show_locale_vars): Use it.
14469
c3e2f19b
UD
144702010-08-11 Ulrich Drepper <drepper@redhat.com>
14471
3cdaa6ad
UD
14472 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14473 field.
14474 (struct statfs64): Likewise.
14475 (_STATFS_F_FLAGS): Define.
14476 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14478 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14479 (ST_VALID): Define locally.
14480 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14481 __statvfs_getflags, use the provided value.
14482 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14483 __ASSUME_STATFS_F_FLAGS.
14484
754f7da3
UD
14485 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14486
10b3bedc
UD
14487 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14488 Add sys/fanotify.h.
14489 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14490 fanotify_mask for GLIBC_2.13.
14491 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14492 fanotify_init and fanotify_mark.
14493 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14494 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14495
c08fb0d7
UD
14496 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14497 Add prlimit.
14498 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14499 prlimit64 for GLIBC_2.13.
14500 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14501 prlimit64.
14502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14503 syscall.
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14506 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14507 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14509 add prlimit alias.
14510 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14511
15bac72b
UD
14512 [BZ #11903]
14513 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14514 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14515
c3e2f19b
UD
14516 * nss/Makefile: Add rules to build and run tst-nss-test1.
14517 * shlib-versions: Add entry for libnss_test1.
14518 * nss/nss_test1.c: New file.
14519 * nss/tst-nss-test1.c: New file.
14520
14521 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14522 (__nss_configure_lookup): Set appropriate entry in
14523 __nss_configure_lookup to true.
14524 * nss/nsswitch.h: Define enum with indeces of databases in
14525 databases and __nss_database_custom arrays. Declare
14526 __nss_database_custom.
14527 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14528 to avoid using nscd when custom rules are installed.
14529 * nss/getXXbyYY_r.c: Likewise.
14530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14531
14532 * nss/nss_files/files-parse.c: Whitespace fixes.
14533
f15ce4d8
UD
145342010-08-09 Ulrich Drepper <drepper@redhat.com>
14535
14536 [BZ #11883]
14537 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14538 * posix/fnmatch_loop.c: Likewise.
14539
d22e4cc9
AK
145402010-07-17 Andi Kleen <ak@linux.intel.com>
14541
14542 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14543 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14544 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14545 * Versions.def [GLIBC_2.13]: Add.
14546
805bc17d
UD
145472010-08-06 Ulrich Drepper <drepper@redhat.com>
14548
14549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14550 Also fail if tpwd after pwuid call is NULL.
14551
5a42321d
ST
145522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14553
14554 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14555 when converting to ms.
14556
fd3ebeda
ST
145572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14558
14559 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14560 EOPNOTSUPP errors with ENOTTY.
14561 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14562 EOPNOTSUPP errors with ENOTTY.
14563
73507d3a
UD
145642010-07-31 Ulrich Drepper <drepper@redhat.com>
14565
14566 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14567 Add strcasecmp_l-ssse3.
14568 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14569 strcasecmp.
14570 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14571 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14572 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14573
fe36dd02
UD
145742010-07-30 Ulrich Drepper <drepper@redhat.com>
14575
66f6765a
UD
14576 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14577
42e08a54
UD
14578 * string/Makefile (strop-tests): Add strcasecmp.
14579 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14580 strcasecmp_l-nonascii.
14581 (gen-as-const-headers): Add locale-defines.sym.
14582 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14583 * sysdeps/x86_64/strcasecmp.S: New file.
14584 * sysdeps/x86_64/strcasecmp_l.S: New file.
14585 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14586 * sysdeps/x86_64/locale-defines.sym: New file.
14587 * string/test-strcasecmp.c: New file.
14588
fe36dd02
UD
14589 * string/test-strcasestr.c: Test both ends of the range of characters.
14590 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14591
48cbc0d6
RM
145922010-07-29 Roland McGrath <roland@redhat.com>
14593
76e6d6bc 14594 [BZ #11856]
48cbc0d6
RM
14595 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14596
880113d9
UD
145972010-07-27 Ulrich Drepper <drepper@redhat.com>
14598
14599 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14600 for ld.so.
14601
deb9cabb
AS
146022010-07-27 Andreas Schwab <schwab@redhat.com>
14603
14604 * manual/memory.texi (Malloc Tunable Parameters): Document
14605 M_PERTURB.
14606
1c7570ff
RM
146072010-07-26 Roland McGrath <roland@redhat.com>
14608
14609 [BZ #11840]
14610 * configure.in (-fgnu89-inline check): Set and substitute
14611 gnu89_inline, not libc_cv_gnu89_inline.
14612 * configure: Regenerated.
14613 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14614
24fb0f88
UD
146152010-07-26 Ulrich Drepper <drepper@redhat.com>
14616
14617 * string/test-strnlen.c: New file.
14618 * string/Makefile (strop-tests): Add strnlen.
14619 * string/tester.c (test_strnlen): Add a few more test cases.
14620 * string/tst-strlen.c: Better error reporting.
14621
14622 * sysdeps/x86_64/strnlen.S: New file.
14623
8e96b93a
UD
146242010-07-24 Ulrich Drepper <drepper@redhat.com>
14625
14626 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14627 lower-latency instructions.
14628
dbc676d4
UD
146292010-07-23 Ulrich Drepper <drepper@redhat.com>
14630
14631 * string/test-strcasestr.c: New file.
14632 * string/test-strstr.c: New file.
14633 * string/Makefile (strop-tests): Add strstr and strcasestr.
14634 * string/str-two-way.h: Don't undefine MAX.
14635 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14636
f6a31e0e
AS
146372010-07-21 Andreas Schwab <schwab@redhat.com>
14638
14639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14640 strcasestr-nonascii.
14641 (CFLAGS-strcasestr-nonascii.c): Define.
14642 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14643 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14644 Remove unused attribute.
14645
5dbc3b6c
RM
146462010-07-20 Roland McGrath <roland@redhat.com>
14647
14648 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14649 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14650 ld.so.cache was broken. With it, there is no way to disable dsocaps
14651 like LD_HWCAP_MASK can disable hwcaps.
14652
23d101d8
EPM
146532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14654
14655 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14656
cc9f2e47
UD
146572010-07-16 Ulrich Drepper <drepper@redhat.com>
14658
14659 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14660 call in strcasestr.
14661 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14662 __strcasestr_sse42_nonascii.
14663 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14664 strcasestr-nonascii.c.
14665 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14666
77c1b069
LM
146672010-06-15 Luis Machado <luisgpm@br.ibm.com>
14668
14669 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14670 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14671 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14672 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14673
440566c3
UD
146742010-07-09 Ulrich Drepper <drepper@redhat.com>
14675
14676 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14677 fcntl.
14678
5be9d05d
AS
146792010-07-06 Andreas Schwab <schwab@redhat.com>
14680
c30b7ee2 14681 [BZ #11577]
5be9d05d
AS
14682 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14683 dl_signal_cerror.
14684
8a492a67
UD
146852010-07-06 Ulrich Drepper <drepper@redhat.com>
14686
14687 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14688 _PC_PIPE_BUF using F_GETPIPE_SZ.
14689
713df3d5
RM
146902010-07-05 Roland McGrath <roland@redhat.com>
14691
14692 * manual/arith.texi (Rounding Functions): Fix rint description
14693 implicit in round description.
14694
702e8f14
UD
146952010-07-02 Ulrich Drepper <drepper@redhat.com>
14696
14697 * elf/Makefile: Fix linking for a few tests to make recent linker
14698 happy.
14699
52ed8be9
AS
147002010-06-30 Andreas Schwab <schwab@redhat.com>
14701
14702 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14703 $(common-objpfx)libc_nonshared.a.
14704
f47c9a11
LM
147052010-06-21 Luis Machado <luisgpm@br.ibm.com>
14706
14707 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14708 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14709 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14710 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14711 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14712 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14713 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14714 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14729 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14730 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14731 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14732 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14733 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14734 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14735 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14736 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14737 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14738 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14739 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14740 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14755
6fb8cbcb
L
147562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14757
14758 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14759 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14760 * string/memmove.c (memmove): Renamed to ...
14761 (MEMMOVE): ...this. Default to memmove.
14762 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14763 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14764 (END_CHK): Define.
14765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14766 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14767 mempcpy-ssse3-back memmove-ssse3-back.
14768 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14770 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14771 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14772 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14773 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14774 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14775 * sysdeps/x86_64/multiarch/memmove.c: New file.
14776 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14777 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14778 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14779 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14780 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14781 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14782 Define.
14783 (index_Fast_Copy_Backward): Define.
14784 (HAS_ARCH_FEATURE): Define.
14785 (HAS_FAST_REP_STRING): Define.
14786 (HAS_FAST_COPY_BACKWARD): Define.
14787
4e733bac 147882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14789
14790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14791 Restore proper fallback handling.
14792
63c4ed22
UD
147932010-06-19 Ulrich Drepper <drepper@redhat.com>
14794
ac2b484c
UD
14795 [BZ #11701]
14796 * posix/group_member.c (__group_member): Correct checking loop.
14797
63c4ed22
UD
14798 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14799 OOM in getpwuid_r correctly. Return error number when the caller
14800 should return, otherwise -1.
14801 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14802 call returning > 0 value.
14803 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14804
765ade4b
AS
148052010-06-07 Andreas Schwab <schwab@redhat.com>
14806
14807 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14808 libc_nonshared.a from targets in modules-names.
14809
80da2e09
KS
148102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14811
14812 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14813 requires it.
14814
158db122
LM
148152010-06-10 Luis Machado <luisgpm@br.ibm.com>
14816
14817 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14818 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14819 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14821
caa78cf8
AS
148222010-06-02 Andreas Schwab <schwab@redhat.com>
14823
14824 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14825
b2ef2c01
UD
148262010-06-14 Ulrich Drepper <drepper@redhat.com>
14827
14828 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14829 and F_GETPIPE_SZ.
14830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14836
fbd643b6
RM
148372010-06-14 Roland McGrath <roland@redhat.com>
14838
14839 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14840
f32f2869
JJ
148412010-06-07 Jakub Jelinek <jakub@redhat.com>
14842
14843 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14844 __REDIRECT followed by __THROW.
14845 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14846 * posix/getopt.h (getopt): Likewise.
14847
2a50c078
EPM
148482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14849
14850 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14851 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14852 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14853 in AT_FLAGS.
14854 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14855 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14856
eb5ad2eb
LM
148572010-05-28 Luis Machado <luisgpm@br.ibm.com>
14858
14859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14860
3c88fe1e
L
148612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14862
14863 [BZ #11640]
14864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14865 Properly check family and model.
14866
d2f73151
TY
148672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14868
14869 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14870
ebd2e13d
LM
148712010-05-24 Luis Machado <luisgpm@br.ibm.com>
14872
14873 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14874
b32b8b45
UD
148752010-05-21 Ulrich Drepper <drepper@redhat.com>
14876
14877 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14878 symbol reference.
14879
9acbe24d
AS
148802010-05-19 Andreas Schwab <schwab@redhat.com>
14881
14882 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14883 symbol reference.
14884
f0ccf6ea
AS
148852010-05-21 Andreas Schwab <schwab@redhat.com>
14886
3d04ff3a
AS
14887 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14888 and internal_recvmmsg.
14889 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14890 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14891 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14892 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14893
f0ccf6ea
AS
14894 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14895 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14896 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14897
5b08ac57
AS
148982010-05-20 Andreas Schwab <schwab@redhat.com>
14899
14900 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14901
4828935d
LM
149022010-05-17 Luis Machado <luisgpm@br.ibm.com>
14903
14904 POWER7 optimizations.
14905 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14906 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14907
373d545e
UD
149082010-05-19 Ulrich Drepper <drepper@redhat.com>
14909
14910 * version.h: Update for 2.13 development version.
14911
21a2b1ae
AS
149122010-05-12 Andrew Stubbs <ams@codesourcery.com>
14913
14914 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14915 exceptions. Return 0.
14916
3f7dcb2b
RM
149172010-05-07 Roland McGrath <roland@redhat.com>
14918
14919 * elf/ldconfig.c (main): Add a const.
14920
5f24d53a 149212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14922
a160f8d8
UD
14923 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14924 (args_options): Add no-idn option.
14925 (ahosts_keys_int): Add idn_flags to ai_flags.
14926 (parse_option): Handle 'i' option to clear idn_flags.
14927
5f24d53a
UD
14928 * malloc/malloc.c (_int_free): Possible race in the most recently
14929 added check. Only act on the data if no current modification
14930 happened.
265bb1ce
UD
14931
14932See ChangeLog.17 for earlier changes.
This page took 1.998263 seconds and 5 git commands to generate.