]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
x32: Don't lose high bits of %rbp in setjmp/longjmp mangling/demangling.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6c7fb145
RM
12012-05-21 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4 of %rbp unmolested in the jmp_buf while mangling the low bits.
5 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6 unmolested high bits of %rbp while demangling the low bits.
7 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8
66274218
AJ
92012-05-21 Andreas Jaeger <aj@suse.de>
10
07c58f8f
AJ
11 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12 * sunrpc/svc_simple.c: Use it for registerrpc.
13 * sunrpc/xcrypt.c: Use it for passwd2des.
14
66274218
AJ
15 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16
61f65140
L
172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18
19 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20 Don't define if [__SYSCALL_WORDSIZE != 32].
21 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22 New macro.
23
5fefb436
AJ
242012-05-21 Bruno Haible <bruno@clisp.org>
25 Andreas Jaeger <aj@suse.de>
26
27 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29 inptr and inend for must_buffer_ch.
30 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32 * stdio-common/Makefile (tests): Remove bug15.
33 (bug15-ENV): Remove macro.
34 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35 anymore.
36
d8e272ab
AJ
372012-05-19 Andreas Jaeger <aj@suse.de>
38 Roland McGrath <roland@hack.frob.com>
39
40 * manual/contrib.texi: Completely rewritten. It contains now an
41 alphabetical list of contributors and their contributions.
42
4a56a162
RH
432012-05-21 Richard Henderson <rth@twiddle.net>
44
45 * misc/getauxval.c (__getauxval): Use unsigned long int.
46 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47 (getauxval): Use unsigned long int.
48
d024d23c
L
492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50
51 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52
cbc00a03
RM
532012-05-21 Roland McGrath <roland@hack.frob.com>
54
55 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57 __alignof__ (long double).
58
478143fa
AZ
592012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60
61 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62
c7683a6d
RH
632012-05-20 Richard Henderson <rth@twiddle.net>
64
65 * misc/getauxval.c: New file.
66 * misc/sys/auxv.h: New file.
67 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68 (routines): Add getauxval.
69 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71 * elf/dl-sysdep.c (_dl_auxv): Remove.
72 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73 * elf/dl-support.c (_dl_auxv): New variable.
74 (_dl_aux_init): Initialize it.
75 * manual/startup.texi (Auxiliary Vector): New node.
76 * sysdeps/generic/bits/hwcap.h: New file.
77 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78 * sysdeps/powerpc/sysdep.h: ... here. Include it.
79 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80 * sysdeps/sparc/sysdep.h: ... here. Include it.
81 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
82 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84 Update.
c7683a6d
RH
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
86 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
87 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
88 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
89 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
90 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
91 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
92 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
93
a6f1845d
AZ
942012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
95
96 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
97
cbcbe830
DM
982012-05-19 David S. Miller <davem@davemloft.net>
99
100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
101
e0b16cc2
JM
1022012-05-19 Joseph Myers <joseph@codesourcery.com>
103
104 [BZ #14123]
105 * math/s_ccosh.c: Include <float.h>
106 (__ccosh): Avoid internal overflow calculating sinh and cosh
107 values before multiplying by sin and cos values.
108 * math/s_ccoshf.c: Likewise.
109 * math/s_ccoshl.c: Likewise.
110 * math/s_csin.c: Likewise.
111 * math/s_csinf.c: Likewise.
112 * math/s_csinl.c: Likewise.
113 * math/s_csinh.c: Likewise.
114 * math/s_csinhf.c: Likewise.
115 * math/s_csinhl.c: Likewise.
116 * math/libm-test.inc (ccos_test): Add more tests.
117 (ccosh_test): Likewise.
118 (csin_test): Likewise.
119 (csinh_test): Likewise.
120 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122
6ad13e08
L
1232012-05-19 H.J. Lu <hongjiu.lu@intel.com>
124
f66f0ce8
L
125 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
126 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
127
6ad13e08
L
128 * sysdeps/x86_64/x32/_itoa.h: Add comment.
129
b1d072a7
JM
1302012-05-19 Joseph Myers <joseph@codesourcery.com>
131
132 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
133 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
134 * sysdeps/powerpc/soft-fp/Versions: Likewise.
135 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
136 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
137 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
138 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
139 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
140 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
141 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
142 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
143 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
144 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
145 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
146 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
147 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
148 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
149 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
150 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
151 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
152 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
153 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
154 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
155 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
156 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
157 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
158 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
159 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
160 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
161 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
162 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
163
9eae47cb
AJ
1642012-05-18 Andreas Jaeger <aj@suse.de>
165
166 * csu/.gitignore: Delete.
167
bb07f69f
L
1682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
169
170 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
171 (timex): Use __syscall_slong_t.
172
e6bdb741
AJ
1732012-05-18 Andreas Jaeger <aj@suse.de>
174 Carlos O'Donell <carlos_odonell@mentor.com>
175
176 * manual/install.texi (Configuring and compiling): Update
177 description about files modified in the source directory.
178 * INSTALL: Regenerated.
179
1b74487e
L
1802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
181
182 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
183 value. Use "or" to set return value to -1.
184 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
185 negate return value.
186
a88b64b9
TMQMF
1872012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
188
189 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
190 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
191 failure if the compiler has Graphite support disabled.
192 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
193 Likewise.
194 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
195 CFLAGS-memmove.c): Likewise.
196 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
197 Likewise.
198
3707636e
L
1992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
200
610b8622
L
201 * sysdeps/x86_64/x32/_itoa.h: New file.
202
7cd195df
L
203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
204 getdents system call only if kernel and user dirents have the
205 same d_ino and d_off.
206
94b07d20
L
207 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
208 LLONG_MAX != LONG_MAX.
209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
210 (_fitoa_word): Likewise.
211
18298070
L
212 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
213 years.
214 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
216 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
217
553c7ea4
L
218 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
219 include <bits/wordsize.h>. Check __x86_64__ instead of
220 __WORDSIZE.
221 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
222 if __x86_64__ is defined. Use anonymous union on fpstate.
223
3707636e
L
224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
225 anonymous union.
226
b53ef01a
AS
2272012-05-18 Andreas Schwab <schwab@linux-m68k.org>
228
37fb1dc0
AS
229 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
230 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
231 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
232 Refer to _rtld_local_ro instead of _rtld_global_ro.
233 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
234 Likewise.
235 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
236 Likewise.
237 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
238 Likewise.
239 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
240 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
241 of _rtld_global, and rtld_progname instead of _dl_argv[0].
242
b53ef01a
AS
243 * sysdeps/powerpc/powerpc32/dl-machine.c
244 (__elf_machine_runtime_setup) [PROF]: Don't reference
245 _dl_prof_resolve.
246
7a185db2
AJ
2472012-05-18 Andreas Jaeger <aj@suse.de>
248
249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
250 function only available for GCCs before 3.4 since GCC 3.4
251 introduced a builtin.
252 (lrint): Likewise.
253 (llrintf): Likewise.
254 (llrint): Likewise.
255 (fmaxf): Likewise.
256 (fmax): Likewise.
257 (fminf): Likewise.
258 (fmin): Likewise.
259 (rint): Likewise.
260 (rintf): Likewise.
261 (nearbyint): Likewise.
262 (nearbyintf): Likewise.
263 (ceil): Likewise.
264 (ceilf): Likewise.
265 (floor): Likewise.
266 (floorf): Likewise.
267
3e5aef87
L
2682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
269
428bd707
L
270 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
271 on both fields and cast pointer to __syscall_ulong_t.
272
3e5aef87
L
273 * bits/types.h (__fsword_t): New type.
274 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
275 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
277 (__FSWORD_T_TYPE): Likewise.
278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
279 (__FSWORD_T_TYPE): Likewise.
280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
281 (__FSWORD_T_TYPE): Likewise.
282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
283 (__FSWORD_T_TYPE): Likewise.
284 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
285 __SWORD_TYPE with __fsword_t.
286 (statfs64): Likewise.
287
1ba7c3dc
DM
2882012-05-17 David S. Miller <davem@davemloft.net>
289
290 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
291
59910343
AJ
2922012-05-17 Andreas Jaeger <aj@suse.de>
293
294 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
295 warning.
296
2e4c1e9e
L
2972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
298
299 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
300
de7f5ce7
AJ
3012012-05-17 Andreas Jaeger <aj@suse.de>
302
303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
304 when it is used.
305
286abc3d
CM
3062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
307
308 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
309
477cc68e
L
3102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
311
312 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
313 * sysdeps/x86_64/tst-mallocalign1.c: New file.
314
1a0994f5
CD
3152012-05-17 Andreas Jaeger <aj@suse.de>
316 Carlos O'Donell <carlos_odonell@mentor.com>
317
318 [BZ #14059]
319 * sysdeps/x86_64/multiarch/init-arch.h
320 (bit_YMM_Usable): Rename to...
321 (bit_AVX_Usable): ... this.
322 (bit_FMA4_Usable): New macro.
323 (bit_XMM_state): New macro.
324 (bit_YMM_state): New macro.
325 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
326 [__ASSEMBLER__] (index_AVX_Usable): ... this.
327 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
328 (CPUID_OSXSAVE): New macro.
329 (CPUID_AVX): New macro.
330 (CPUID_FMA4): New macro.
331 (index_YMM_Usable): Rename to...
332 (index_AVX_Usable): ... this.
333 (HAS_AVX): Use HAS_ARCH_FEATURE.
334 (HAS_FMA4): Likewise.
335 (HAS_YMM_USABLE): Remove.
336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
337 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
338 are present.
339 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
340 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
341 * sysdeps/x86_64/multiarch/Makefile: Likewise.
342 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
343 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
344
0af797de
CM
3452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
346
347 * math/libm-test.c: Support platforms without multiple rounding modes.
348 * math/bug-nextafter.c: Support platforms without FP exceptions.
349 * math/bug-nexttoward.c: Likewise.
350 * math/test-fenv.c: Likewise.
351 * math/test-misc.c: Likewise.
352 * stdlib/bug-getcontext.c: Likewise.
353
e39745ff
AJ
3542012-05-17 Andreas Jaeger <aj@suse.de>
355
356 * manual/examples/search.c (critter_cmp): Change signature to
357 avoid warnings.
358 * manual/string.texi (Collation Functions): Likewise.
359
48970aba
L
3602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
361
362 * bits/types.h: Fold copyright years.
363 * bits/typesizes.h: Likewise.
364 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
368 * time/time.h: Likewise.
369
bedee953
PP
3702012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
371
372 [BZ #208]
373 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
374 in instead of returning them. Return void.
375 (__libc_mallinfo): Accumulate over all arenas.
376 (__malloc_stats): Adjust for change in int_mallinfo interface.
377
61653dfb
RM
3782012-05-16 Roland McGrath <roland@hack.frob.com>
379
30b99d79
RM
380 [BZ #10375]
381 * configure.in (NM): Add AC_CHECK_TOOL for it.
382 (libc_extra_cflags): New substituted variable.
383 Check for -fstack-protector being used implicitly.
384 * configure: Regenerated.
385 * config.make.in (config-extra-cflags): New variable,
386 gets @libc_extra_cflags@.
387 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
388
61653dfb
RM
389 [BZ #10375]
390 * configure.in: Check for _FORTIFY_SOURCE being predefined.
391 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
392 * configure: Regenerated.
393 * config.make.in (CPPUNDEFS): New substituted variable.
394 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
395 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
396 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
397
661768bb
L
3982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
399
400 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
401 (mq_attr): Use __syscall_slong_t.
402
d4261567
L
4032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
404
405 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
406 Check __x86_64__ instead of __WORDSIZE.
407 (_STAT_VER_LINUX): Likewise.
408 (stat): Check __x86_64__ instead of __WORDSIZE. Use
409 __syscall_ulong_t and __syscall_slong_t.
410 (stat64): Likewise.
411
cf3ff365
L
4122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
413
414 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
415
76cf3e4d
L
4162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
417
418 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
419
a637753a
L
4202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
421
422 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
423 __syscall_ulong_t.
424
d5e05119
L
425 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
426 include <bits/wordsize.h>. Check __x86_64__ instead of
427 __WORDSIZE.
428 (greg_t): Use "__extension__ long long int" if __x86_64__ is
429 defined.
430 (mcontext_t): Replace "unsigned long" with "unsigned long long".
431
f62ee380
L
432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
433 include <bits/wordsize.h>. Check __x86_64__ instead of
434 __WORDSIZE.
435 (user_regs_struct): Use "__extension__ unsigned long long"
436 instead of "unsigned long" if __x86_64__ is defined.
437 (user): Likewise. Pad after pointer field if __ILP32__ is
438 defined.
439
4e124ced
JM
4402012-05-16 Joseph Myers <joseph@codesourcery.com>
441
6a3951a0
JM
442 * configure.in (makeinfo): Require version 4.5 or later. Allow
443 versions 5 to 9.
444 * configure: Regenerated.
445 * manual/install.texi (texinfo): Increase version requirement to
446 4.5 or later.
447 * INSTALL: Regenerated.
448
4e124ced
JM
449 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
450
953ca31a
L
4512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
452
453 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
454
617aca05
L
455 * sysdeps/x86_64/x32/ffs.c: New file.
456
5762f7ae
L
457 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
458 __syscall_ulong_t.
459 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
460 defined. Use __syscall_ulong_t.
461 (shminfo): Use __syscall_ulong_t.
462 (shm_info): Likewise.
463
a26b6856
L
464 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
465 __syscall_ulong_t.
466
cb2b9ef7
L
467 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
468 <bits/wordsize.h>.
469 (msgqnum_t): Use __syscall_ulong_t.
470 (msglen_t): Likewise.
471 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
472 __syscall_ulong_t.
473
34683bb0
L
474 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
475 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
476
84a68786
L
477 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
478
48baa5f1
L
479 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
480 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
481
180be88b
L
482 * sysvipc/sys/msg.h (msgbuf): Replace long int with
483 __syscall_slong_t.
484
5e90c8ad
L
485 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
486 include <bits/wordsize.h>. Check __x86_64__ instead of
487 __WORDSIZE.
488
23dfb58b
L
489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
490 "unsigned long long int" if __x86_64__ is defined.
491 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
492
ce5d54b0
L
493 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
494 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
495 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
496
13dc9eac
L
497 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
498 <stdint.h>.
499 (GET_PC): Cast to uintptr_t first.
500 (GET_FRAME): Likewise.
501 (GET_STACK): Likewise.
502
a7895d15
L
503 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
504 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
505 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
507 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
508 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
509 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
510 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
512 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
515 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
521 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
522 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
524 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
526 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
528 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
529 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
532
656416c9
AS
5332012-05-16 Andreas Schwab <schwab@linux-m68k.org>
534
5bd66283
AS
535 * Makerules (+depfiles): Also collect depfiles from .oS in
536 $(extra-objs).
537 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
538 .oS, $(libnldbl-routines)).
539
656416c9
AS
540 * Makerules (native-compile-mkdep-flags): Define.
541 * sunrpc/Makefile (extra-objs): Add $(addprefix
542 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
543 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
544 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
545 calling $(make-target-directory).
546
a46f2169
L
5472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
548
549 * bits/types.h (__snseconds_t): Removed.
550 * time/time.h (struct timespec): Replace __snseconds_t with
551 __syscall_slong_t.
552 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
553 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
554 Likewise.
555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
556 (__SNSECONDS_T_TYPE): Likewise.
557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
558 (__SNSECONDS_T_TYPE): Likewise.
559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
560 (__SNSECONDS_T_TYPE): Likewise.
561
6af6528b
L
5622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
563
564 * sysdeps/mach/hurd/bits/typesizes.h
565 (__SYSCALL_SLONG_TYPE): New macro.
566 (__SYSCALL_ULONG_TYPE): Likewise.
567
de986b56
L
5682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
569
570 * bits/types.h (__syscall_slong_t): New type.
571 (__syscall_ulong_t): Likewise.
572
573 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
574 (__SYSCALL_ULONG_TYPE): Likewise.
575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
576 (__SYSCALL_SLONG_TYPE): Likewise.
577 (__SYSCALL_ULONG_TYPE): Likewise.
578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
579 (__SYSCALL_SLONG_TYPE): Likewise.
580 (__SYSCALL_ULONG_TYPE): Likewise.
581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
582 (__SYSCALL_SLONG_TYPE): Likewise.
583 (__SYSCALL_ULONG_TYPE): Likewise.
584
85736dc7
L
5852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
588 Add sigaltstack-offsets.sym.
589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
590 <sigaltstack-offsets.h>.
591 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
592 longjmp_msg pointer.
593 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
594 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
595 signal stack.
596 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
597
cc03b296
JM
5982012-05-15 Joseph Myers <joseph@codesourcery.com>
599
a9538892
JM
600 * elf/stackguard-macros.h: Remove file.
601 * sysdeps/generic/stackguard-macros.h: New file.
602 * sysdeps/i386/stackguard-macros.h: Likewise.
603 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
604 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
605 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
606 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
607 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
608 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
609 * sysdeps/x86_64/stackguard-macros.h: Likewise.
610 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
611 <elf/stackguard-macros.h>.
612
cc03b296
JM
613 [BZ #14109]
614 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
615 __aligned__ in attribute.
616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
617 (gregset_t): Likewise.
618
93171016
L
6192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
620
621 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
622 * sysdeps/x86_64/64/Implies-after: Here. New file.
623 * sysdeps/x86_64/x32/Implies-after: New file.
624
d86813a0
L
6252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
626
627 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
628 and access return value for _dl_profile_fixup. Use R10_LP to
629 load frame size.
630
2953ec75
L
6312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
632
633 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
634
3b550e9e
L
6352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
636
637 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
638 * sysdeps/x86_64/x32/sysdep.h: New file.
639
eda41706
L
6402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
641
642 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
643 * sysdeps/x86_64/setjmp.S: Likewise.
644
9ea01d93
AZ
6452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
646
647 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
649 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
651 remove unused global constant.
652
02a91938
CM
6532012-05-15 Chris Metcalf <cmetcalf@tilera.com>
654
655 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
656 include of <not-cancel.h>.
657
6540185f
RM
6582012-05-15 Roland McGrath <roland@hack.frob.com>
659
660 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
661
509072a0
AJ
6622012-05-15 Jeff Law <law@redhat.com>
663 Andreas Jaeger <aj@suse.de>
664
665 [BZ #13594]
666 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
667 out from...
668 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
669 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
671 code changing __hst_map_handle.map.
672
ba75122d
RM
6732012-05-15 Roland McGrath <roland@hack.frob.com>
674
675 * configure.in (sysnames): Look for Implies-before and Implies-after
676 files.
677 * configure: Regenerated.
678
890d8bd8
L
6792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
680
681 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
682 8-byte data alignment with LP_SIZE alignment.
683
f6ee6623
L
6842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
685
686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
687 into R10_LP.
688
ea2626f6
L
6892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
690
691 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
692
085f715e
L
6932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
696 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
698 Likewise.
699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
700
be8498fc
L
7012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
702
703 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
704 (stackinfo_sub_sp): Likewise.
705
70bc83b9
L
7062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
707
708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
709 RAX_LP.
710
9bc0b730
L
7112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
712
713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
714 into R*_LP.
715
6d2850e7
L
7162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
719 sizes into R*_LP.
720
3cb84561
L
7212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
722
723 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
724
54e2ed81
L
7252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
726
727 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
728 into R11_LP and load __x86_64_shared_cache_size_half into
729 R8_LP.
730
8a17f349
L
7312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
732
733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
734 R8_LP.
735
777b1eea
AZ
7362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737
738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
739 logb for POWER7.
740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
741 logbf for POWER7.
742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
743 logbl for POWER7.
744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
745 powerpc32/power7/fpu/s_logb.c via #include.
746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
747 powerpc32/power7/fpu/s_logbf.c via #include.
748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
749 powerpc32/power7/fpu/s_logbl.c via #include.
750
d20d4ac2
JM
7512012-05-15 Joseph Myers <joseph@codesourcery.com>
752
753 * README.libm: Remove file.
754
6cdef1ab
L
7552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
756
757 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
758 count for x32. Use R*_LP and omit operand-size suffix.
759
0b254d8f
L
7602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
761
762 * shlib-versions: Move x86_64-.*-linux.* entries to ...
763 * sysdeps/x86_64/64/shlib-versions: Here. New file.
764 * sysdeps/x86_64/x32/shlib-versions: New file.
765
ceb809dc
RM
7662012-05-14 Roland McGrath <roland@hack.frob.com>
767
768 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
769 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
770 Use _dl_fatal_printf instead.
771
37f1abd4
JM
7722012-05-14 Joseph Myers <joseph@codesourcery.com>
773
774 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
775 set if not set by the user. Do not allow for being unset.
776 * sysdeps/unix/sysv/linux/configure: Regenerated.
777
11de3a33
L
7782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
779
780 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
781 the `q' suffix from lea and replace .quad with ASM_ADDR.
782
e02f153a
L
7832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
784
785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
786 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
787 instead of $17.
788 (PTR_DEMANGLE): Likewise.
789
520ae0fd
L
7902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
791
792 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
793 (LP_OP): Likewise.
794 (ASM_ADDR): Likewise.
795 (RAX_LP): Likewise.
796 (RBP_LP): Likewise.
797 (RBX_LP): Likewise.
798 (RCX_LP): Likewise.
799 (RDI_LP): Likewise.
800 (RSI_LP): Likewise.
801 (RSP_LP): Likewise.
802 (R8_LP): Likewise.
803 (R9_LP): Likewise.
804 (R10_LP): Likewise.
805 (R10_LP): Likewise.
806 (R11_LP): Likewise.
807 (R12_LP): Likewise.
808 (R13_LP): Likewise.
809 (R14_LP): Likewise.
810 (R15_LP): Likewise.
811
b985be81
L
8122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
813
814 * sysdeps/x86_64/x32/dl-machine.h: New file.
815
6a4888ff
AJ
8162012-05-14 Andreas Jaeger <aj@suse.de>
817
818 * manual/Makefile (subdir): Remove export of subdir.
819 (all): Remove target.
820 (.PHONY): Remove all from list.
821 (mkinstalldirs): Remove.
822 (.PHONY): Remove installdirs from list.
823 ($(inst_infodir)/libc.info): Use make-target-directory.
824 (installdirs): Remove.
825 (subdir_%): Remove.
826 (glibc-targets): Remove.
827 (lib): Remove.
828 (stubs): Remove.
829 ($(objpfx)stubs ../po/manual.pot): Remove.
830 ($(objpfx)stamp%): Remove.
831 (make-target-directory): Remove.
832 (subdir_install): Remove.
833 (routines): Remove.
834 (aux): Remove.
835 (sources): Remove.
836 (objects): Remove.
837 (headers): Remove.
838
839 [BZ #13750]
840 * manual/.gitignore: Remove, it's not needed anymore.
841 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
842 all files in it.
843 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
844 directory.
845 (texis): Renamed to $(objpfx)texis.
846 (texis-path): New, contains path to generated files.
847 (chapters.%): Use texis-path for complete path, add extra argument
848 libc-texinfo.sh.
849 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
850 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
851 (summary,texi, stamp-summary): Use complete path of
852 files. Generate files in build dir.
853 (dir-add.texi): Build in build dir.
854 (libm-err.texi,stamp-libm-err): Likewise.
855 (version.texi, stamp-version): Likewise.
856 (.%c.texi): Likewise.
857 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
858 (mostlyclean): Remove target.
859 (realclean): Remove target.
860 (generated): Add new variable with contents from mostlyclean and
861 realclean, remove entries duplicated in common-mostlyclean, add
862 stamp-libm-err and stamp-version.
863 (generated-dirs): Add libc directory.
864 ($(inst_infodir)/libc.info): Install files from build dir.
865
866 * manual/install.texi (Configuring and compiling): Adjust since
867 the info files are not part of the tar ball anymore.
868
7ac77294
AJ
8692012-05-14 Andreas Jaeger <aj@suse.de>
870
871 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
872 variable.
873
ffb7875d
JM
8742012-05-14 Joseph Myers <joseph@codesourcery.com>
875
876 [BZ #13717]
877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
878 to 2.2.0 where earlier.
879 * sysdeps/unix/sysv/linux/configure: Regenerated.
880 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
881 Remove conditional code.
882 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
883 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
884 Remove conditional code.
885 [!__NR_lchown]: Likewise.
886 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
887 [__NR_lchown]: Likewise.
888 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
889 comment referencing __ASSUME_LCHOWN_SYSCALL.
890 * sysdeps/unix/sysv/linux/i386/sigaction.c
891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
894 Remove conditional code.
895 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
896 (__protocol_available): Remove #if 0 code.
897 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
898 conditional code.
899 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/kernel-features.h
901 (__ASSUME_GETCWD_SYSCALL): Don't define.
902 (__ASSUME_REALTIME_SIGNALS): Likewise.
903 (__ASSUME_PREAD_SYSCALL): Likewise.
904 (__ASSUME_PWRITE_SYSCALL): Likewise.
905 (__ASSUME_POLL_SYSCALL): Likewise.
906 (__ASSUME_LCHOWN_SYSCALL): Likewise.
907 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
908 non-SPARC.
909 (__ASSUME_SIOCGIFNAME): Don't define.
910 (__ASSUME_MSG_NOSIGNAL): Likewise.
911 (__ASSUME_SENDFILE): Define unconditionally.
912 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
913 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
914 conditional code.
915 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
916 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
917 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
918 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
919 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
920 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
921 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
923 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
926 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
927 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
929 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
932 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
935 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
938 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
939 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
941 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
944 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
946 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
947 Remove conditional code.
948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
949 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
950 Remove conditional code.
951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
952 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
953 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
955 Remove conditional code.
956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
957 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
958 Remove conditional code.
959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
960 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
961 Remove conditional code.
962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
963 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
964 Remove conditional code.
965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
966 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
967 Remove conditional code.
968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
969 * sysdeps/unix/sysv/linux/sh/pwrite64.c
970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
972 * sysdeps/unix/sysv/linux/sigaction.c
973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
975 * sysdeps/unix/sysv/linux/sigpending.c
976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
978 * sysdeps/unix/sysv/linux/sigprocmask.c
979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
981 * sysdeps/unix/sysv/linux/sigsuspend.c
982 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
983 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
984 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
985 (__libc_missing_rt_sigs): Remove.
986 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
987 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
988 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
989 Remove conditional code.
990 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
991 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
992 return 1.
993 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
994 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
995 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
996 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
997
1bfb7291
AJ
9982012-05-14 Andreas Jaeger <aj@suse.de>
999
caae5a81
AJ
1000 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1001 it's not used in glibc.
1002 (__coshm1): Likewise.
1003 (__acosh1p): Likewise.
1004 (__sgn): Likewise.
1005
1bfb7291
AJ
1006 * manual/string.texi (Copying and Concatenation): Add missing
1007 variable in concat example.
1008 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1009
c044d724
L
10102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1011
144c5467 1012 [BZ #14103]
c044d724
L
1013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1014 __builtin_clzl with __builtin_clzll.
1015
2523c62b
L
10162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 [BZ #14104]
1019 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1020 libc_freeres_ptr.
1021
d7bb4c42
LD
10222012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1023
1024 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1025 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1026 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1027 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1028
9dc4e1fb
MF
10292012-05-14 Mike Frysinger <vapier@gentoo.org>
1030
1031 * NEWS: Update ia64 info.
1032
c7df0112
AS
10332012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1034
1035 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1036 used as bcopy.
1037
dc70356c
TS
10382012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1039
1040 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1041 * sysdeps/unix/syscalls.list (dup3): Likewise.
1042 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1043 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1044
9fb1a21f
L
10452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1048 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1049
4822a2a5
L
10502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1053 thread pointer.
1054 (TLS_IE): Use mov/add instead of movq/addq to load thread
1055 pointer.
1056 (TLS_GD_PREFIX): New.
1057 (TLS_GD): Use it.
1058
842b81d6
DM
10592012-05-11 David S. Miller <davem@davemloft.net>
1060
1061 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1062 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1063 (_FPU_SETCW): Likewise.
1064
1cf463cd
L
10652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1068 is 32-byte aligned.
1069
60cc4a18
AS
10702012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1071
1072 [BZ #11837]
1073 * iconvdata/gb18030.c: Update tables.
1074 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1075 characters specially.
1076 (BODY for TO_LOOP): Add encoding of missing ranges.
1077
febb44a4
TS
10782012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1079
1080 [BZ #13673]
1081 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1082 * sysdeps/mach/hurd/dup3.c: Likewise.
1083 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1084 * sysdeps/powerpc/memmove.c:: Likewise.
1085
0a10fb9e
L
10862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1089 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1090
df8a552f
L
10912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * elf/elf.h (R_X86_64_RELATIVE64): New.
1094 (R_X86_64_NUM): Updated.
1095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1096 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1097 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1098 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1099 tst-quad1pie tst-quad2pie
1100 (modules-names): Add tst-quadmod1 tst-quadmod2.
1101 ($(objpfx)tst-quad1): New dependency.
1102 ($(objpfx)tst-quad2): Likewise.
1103 ($(objpfx)tst-quad1pie): Likewise.
1104 ($(objpfx)tst-quad2pie): Likewise.
1105 * sysdeps/x86_64/tst-quad1.c: New file.
1106 * sysdeps/x86_64/tst-quad1pie.c: New file.
1107 * sysdeps/x86_64/tst-quad2.c: Likewise.
1108 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1109 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1110 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1111 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1112 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1113
f34d6f84
ST
11142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1115
f42d41d1
ST
1116 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1117 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1118 * streams/stropts.h (t_scalar_t): Define type.
1119
3c3571fc
ST
1120 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1121 (_PATH_PRESERVE): Set to "/var/lib".
1122 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1123
61f06bd3
ST
1124 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1125 instead of int.
1126
918d4d71
ST
1127 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1128 if __dir_mkfile succeeded.
1129
f34d6f84
ST
1130 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1131 checking for _hurd_dtablesize. Unlock it right after having
1132 finished _hurd_dtable allocation.
1133
10589b4a
TS
11342012-05-10 Thomas Schwinge <thomas@schwinge.name>
1135
674cdbc7
TS
1136 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1137 * sysdeps/mach/hurd/configure: Regenerated.
1138 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1139 special-casing to...
1140 * sysdeps/gnu/configure.in: ... this new file.
1141 * sysdeps/unix/sysv/linux/configure: Regenerated.
1142 * sysdeps/gnu/configure: New generated file.
1143
8e41b99f
TS
1144 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1145 for Linux: use nsec instead of usec, as well as:
1146 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1147 members of type struct timespec.
1148 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1149 New macros.
1150 (struct stat64): Likewise.
1151 (_STATBUF_ST_NSEC): New macro.
1152 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1153
10589b4a
TS
1154 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1155 __strtoul_internal rather than strtoul.
1156
63643c85
PT
11572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1158
1159 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1160 and reject them.
1161
3faebe6a
ST
11622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1163
1164 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1165 which preserves existing values.
1166 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1167
c6474b07
PT
11682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1169
1170 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1171 TIMEOUT values. Return EINVAL for NFDS values either negative or
1172 greater than FD_SETSIZE.
1173
1043890b
ST
11742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1175
1176 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1177 allocated, call __vm_protect to finish enabling the existing space, and
1178 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1179 allocate the remainder.
1180
37ed8b9b
PT
11812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1182
1183 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1184 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1185
db653660
ST
11862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1187
37ed8b9b
PT
1188 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1189 sysdeps/mach/hurd/readlink.c.
b29d4053 1190
db653660
ST
1191 * posix/tst-sysconf.c (posix_options): Only use
1192 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1193 _POSIX_SYNCHRONIZED_IO when they are defined
1194 * sysdeps/mach/hurd/bits/posix_opt.h:
1195 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1196 (_XOPEN_REALTIME): Undefine macro.
1197 (_XOPEN_REALTIME_THREADS): Undefine macro.
1198 (_XOPEN_SHM): Undefine macro.
1199 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1200 macro to -1.
1201 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1202 macro to -1.
1203 (_POSIX_ASYNC_IO): Undefine macro.
1204 (_POSIX_PRIORITIZED_IO): Undefine macro.
1205 (_POSIX_SPIN_LOCKS): Define macro to -1.
1206
ee16e894
ST
1207 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1208 SA_NODEFER, SA_RESETHAND.
1209 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1210 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1211 F_DUPFD_CLOEXEC.
1212
6103ae3b
TS
12132012-05-10 Thomas Schwinge <thomas@schwinge.name>
1214
1215 * elf/Makefile (pldd-modules): Define unconditionally.
1216
80b4e5f3
TS
12172012-05-10 Thomas Schwinge <thomas@schwinge.name>
1218
1219 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1220
edadcbd6
ST
12212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1222
1223 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1224 Return ENOENT when name is empty.
1225 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1226
80694780
TS
12272012-05-10 Thomas Schwinge <thomas@schwinge.name>
1228
1792c087
TS
1229 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1230
80694780
TS
1231 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1232
6b645f0d
ST
12332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1234
80694780
TS
1235 Fix mlock in all cases except non-readable pages.
1236 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1237 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1238
6b645f0d
ST
1239 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1240 (__mkdir): When path is `/', just fail with EEXIST.
1241 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1242
e468f8a3
TS
12432012-05-10 Thomas Schwinge <thomas@schwinge.name>
1244
1245 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1246 <sys/uio.h> (for writev).
1247 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1248 and <sys/param.h> (for MIN).
1249
a4186cff
PT
12502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1251
1252 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1253 REQUESTED_TIME. Properly set the remaining time and return EINTR
1254 if interrupted.
1255
510bbf14
TS
12562012-05-10 Thomas Schwinge <thomas@schwinge.name>
1257
1258 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1259 Depend on against $(link-rpcuserlibs).
1260
5d5722e8
ST
12612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1262
a4186cff
PT
1263 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1264 (__libc_stack_end): Do not use attribute_relro.
1265 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1266 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1267 to libthread-provided value.
a4186cff
PT
1268 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1269 attribute_relro.
5d5722e8 1270
37233df9
TS
12712012-05-10 Thomas Schwinge <thomas@schwinge.name>
1272
be971a2b
TS
1273 [BZ #3748]
1274 * bits/libc-lock.h (__libc_once_get): New macro.
1275 * sysdeps/mach/bits/libc-lock.h: Likewise.
1276 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1278 instead of using implementation details.
1279
37233df9
TS
1280 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1281 * libio/freopen.c: Likewise.
1282 * libio/freopen64.c: Likewise.
1283 * misc/syslog.c: Likewise.
1284 * nscd/connections.c: Likewise.
1285 * nscd/netgroupcache.c: Likewise.
1286 * sysdeps/posix/getcwd.c: Likewise.
1287
38de94a5
RM
12882012-05-10 Roland McGrath <roland@hack.frob.com>
1289
1290 * math/w_ilogbf.c: Add #include <limits.h>.
1291
67530489
ST
12922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1293
a4186cff 1294 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1295 path instead of returning without unlocking.
1296
67530489
ST
1297 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1298 immediate-write ioctls.
1299 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1300
5aa3a74a
TS
13012012-05-10 Thomas Schwinge <thomas@schwinge.name>
1302
18bad2ae
TS
1303 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1304 __builtin_frame_address instead of making assumptions about the
1305 location of the return address relative to DATA. Force early load of
1306 the return address.
1307 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1308 __builtin_frame_address.
1309
5aa3a74a
TS
1310 dup3 for GNU Hurd.
1311 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1312 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1313 implement dup3 and do some further code clean-ups.
1314 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1315 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1316
ecd0de9a
ST
13172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1318
cd9fa985
ST
1319 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1320
a4186cff
PT
1321 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1322 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1323 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1324 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1325 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1326 d->port.lock.
802ca5a5 1327
a4186cff
PT
1328 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1329 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1330 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1331
bcf55240
TS
13322012-05-10 Thomas Schwinge <thomas@schwinge.name>
1333
6960eb42
TS
1334 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1335 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1336 definitions.
1337
eb43375f
TS
1338 accept4 for GNU Hurd.
1339 * include/sys/socket.h (__libc_accept4): New prototype.
1340 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1341 to implement __libc_accept4.
1342 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1343 __libc_accept4.
1344 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1345
bcf55240
TS
1346 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1347 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1348 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1349 signal-defines.sym.
1350
6178c55b
ST
13512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1352
a4186cff 1353 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1354
6f080c2f
TS
13552012-05-10 Thomas Schwinge <thomas@schwinge.name>
1356
1357 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1358 assertion on O_CLOEXEC flag.
1359 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1360 * hurd/intern-fd.c: Likewise.
1361 * hurd/port2fd.c: Likewise.
1362
bcfe3a54
ST
13632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1364
1365 [BZ #3906]
1366 * bits/in.h (IPV6_PKTINFO): Define new macro.
1367 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1368
89c9aa49
AZ
13692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
1371 [BZ #13954]
1372 [BZ #13955]
1373 [BZ #13956]
1374 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1376 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1377 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1379 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1380 * math/libm-test.inc (logb_test) : Additional logb tests.
1381
021db4be
AJ
13822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1383 Andreas Jaeger <aj@suse.de>
1384
1385 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1386 * configure: Regenerated.
1387 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1388 * config.make.in (link-obsolete-rpc): New substituted variable.
1389 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1390 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1391 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1392 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1393 so that libc.a contains the symbols.
1394 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1395 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1396 * sunrpc/auth_none.c: Likewise.
1397 * sunrpc/auth_unix.c: Likewise.
1398 * sunrpc/authdes_prot.c: Likewise.
1399 * sunrpc/authuxprot.c: Likewise.
1400 * sunrpc/clnt_gen.c: Likewise.
1401 * sunrpc/clnt_perr.c: Likewise.
1402 * sunrpc/clnt_raw.c: Likewise.
1403 * sunrpc/clnt_simp.c: Likewise.
1404 * sunrpc/clnt_tcp.c: Likewise.
1405 * sunrpc/clnt_udp.c: Likewise.
1406 * sunrpc/clnt_unix.c: Likewise.
1407 * sunrpc/des_crypt.c: Likewise.
1408 * sunrpc/des_soft.c: Likewise.
1409 * sunrpc/get_myaddr.c: Likewise.
1410 * sunrpc/key_call.c: Likewise.
1411 * sunrpc/key_prot.c: Likewise.
1412 * sunrpc/netname.c: Likewise.
1413 * sunrpc/pm_getmaps.c: Likewise.
1414 * sunrpc/pm_getport.c: Likewise.
1415 * sunrpc/pmap_clnt.c: Likewise.
1416 * sunrpc/pmap_prot.c: Likewise.
1417 * sunrpc/pmap_prot2.c: Likewise.
1418 * sunrpc/pmap_rmt.c: Likewise.
1419 * sunrpc/publickey.c: Likewise.
1420 * sunrpc/rpc_cmsg.c: Likewise.
1421 * sunrpc/rpc_common.c: Likewise.
1422 * sunrpc/rpc_dtable.c: Likewise.
1423 * sunrpc/rpc_prot.c: Likewise.
1424 * sunrpc/rpc_thread.c: Likewise.
1425 * sunrpc/rtime.c: Likewise.
1426 * sunrpc/svc.c: Likewise.
1427 * sunrpc/svc_auth.c: Likewise.
1428 * sunrpc/svc_raw.c: Likewise.
1429 * sunrpc/svc_run.c: Likewise.
1430 * sunrpc/svc_tcp.c: Likewise.
1431 * sunrpc/svc_udp.c: Likewise.
1432 * sunrpc/svc_unix.c: Likewise.
1433 * sunrpc/svcauth_des.c: Likewise.
1434 * sunrpc/xcrypt.c: Likewise.
1435 * sunrpc/xdr.c: Likewise.
1436 * sunrpc/xdr_array.c: Likewise.
1437 * sunrpc/xdr_float.c: Likewise.
1438 * sunrpc/xdr_intXX_t.c: Likewise.
1439 * sunrpc/xdr_mem.c: Likewise.
1440 * sunrpc/xdr_rec.c: Likewise.
1441 * sunrpc/xdr_ref.c: Likewise.
1442 * sunrpc/xdr_sizeof.c: Likewise.
1443 * sunrpc/xdr_stdio.c: Likewise.
1444
b5c086a2
RM
14452012-05-10 Roland McGrath <roland@hack.frob.com>
1446
1447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1448 change. Update copyright years.
1449
6d74dd09
JM
14502012-05-10 Joseph Myers <joseph@codesourcery.com>
1451
1452 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1453
28e72501
MK
14542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1455 Joseph Myers <joseph@codesourcery.com>
1456 Paul Pluzhnikov <ppluzhnikov@google.com>
1457
1458 [BZ #14012]
1459 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1460 requiring rpcgen.
1461 [cross-compiling] (extra-libs): Likewise.
1462 [cross-compiling] (extra-libs-others): Likewise.
1463 [cross-compiling] (librpcsvc-routines): Likewise.
1464 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1465 [cross-compiling] (omit-deps): Likewise.
1466 (sunrpc-CPPFLAGS): New variable.
1467 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1468 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1469 (cross-rpcgen-objs): New variable.
1470 (extra-objs): Append $(cross-rpcgen-objs).
1471 ($(cross-rpcgen-objs)): New rule.
1472 ($(objpfx)cross-rpcgen): Likewise.
1473 (rpcgen-cmd): Define to use $(built-program-file). Expand
1474 comment.
1475 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1476 ($(objpfx)x%.stmp): Likewise.
1477 * sunrpc/proto.h [IS_IN_build] (_): Define.
1478 [IS_IN_build] (_libc_intl_domainname): Likewise.
1479
c8c59454
L
14802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1483 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1484 and R_X86_64_TPOFF64.
1485
6f27cd16
JM
14862012-05-10 Joseph Myers <joseph@codesourcery.com>
1487
1488 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1489 sysdeps/unix/sysv/syscalls.list.
1490 (stime): Likewise.
1491 (utime): Likewise.
1492 * sysdeps/unix/sysv/syscalls.list: Remove file.
1493
02467e1c
PE
14942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1495
1496 [BZ #3440]
1497 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1498 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1499 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1500 (__LC_IDENTIFICATION): Make these macros useful in #if
1501 expressions, as required by C99.
1502
da392631
AS
15032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1504
1505 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1506 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1507 after this.
1508
8115f29b
L
15092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1510
1511 * stdlib/longlong.h: Updated from GCC.
1512
bdd74070
AJ
15132012-05-09 Andreas Jaeger <aj@suse.de>
1514
edfe0dbe
AJ
1515 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1516 default is first entry.
1517 (run_mode): Set type.
1518 (main): Remove informal message about syslog.
1519 (options): Fix typo.
1520
bcfe3a54
ST
1521 [BZ #14053]
1522 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1523 to asm.
bcfe3a54
ST
1524 (lrint): Likewise.
1525 (llrintf): Likewise.
1526 (llrint): Likewise.
1527 (rint): Likewise.
1528 (rintf): Likewise.
1529 (nearbyint): Likewise.
1530 (nearbyintf): Likewise.
bdd74070 1531
91d8d69e
AJ
15322012-05-09 Andreas Jaeger <aj@suse.de>
1533 Pedro Alves <palves@redhat.com>
1534
1535 * nscd/nscd.c (run_mode): Use enum.
1536 (main): Cleanup coding style issue.
1537
bb90b80b
AJ
15382012-05-09 Alexandre Oliva <aoliva@redhat.com>
1539 Andreas Jaeger <aj@suse.de>
1540
bcfe3a54
ST
1541 * nscd/nscd.c (go_background): Replaced with...
1542 (run_mode): ... this.
bb90b80b 1543 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1544 (options): Add -F --foreground.
1545 (main): Implement it.
1546 (parse_opt): Parse it.
bb90b80b 1547
1a4b75a1
AJ
15482012-05-09 Andreas Jaeger <aj@suse.de>
1549
1550 [BZ #14083]
1551 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1552 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1553 -Wconversion warning.
1554 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1555 Likewise.
1556
b1cc2472
JM
15572012-05-09 Joseph Myers <joseph@codesourcery.com>
1558
1559 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1560 == 0.
1561 (LC_ALL): Use macro-int-constant.
1562 (LC_COLLATE): Likewise.
1563 (LC_CTYPE): Likewise.
1564 (LC_MESSAGES): Likewise.
1565 (LC_MONETARY): Likewise.
1566 (LC_NUMERIC): Likewise.
1567 (LC_TIME): Likewise.
1568 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1569 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1571 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1572 Specify type.
1573 [C99-based standards] (float_t): Expect type.
1574 [C99-based standards] (double_t): Expect type.
1575 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1576 type.
1577 [C99-based standards] (HUGE_VALL): Likewise.
1578 [C99-based standards] (INFINITY): Likewise.
1579 [C99-based standards] (NAN): Likewise.
1580 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1581 [C99-based standards] (FP_NAN): Likewise.
1582 [C99-based standards] (FP_NORMAL): Likewise.
1583 [C99-based standards] (FP_SUBNORMAL): Likewise.
1584 [C99-based standards] (FP_ZERO): Likewise.
1585 [C99-based standards] (FP_FAST_FMA): Use
1586 optional-macro-int-constant. Specify type. Require == 1.
1587 [C99-based standards] (FP_FAST_FMAF): Likewise.
1588 [C99-based standards] (FP_FAST_FMAL): Likewise.
1589 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1590 [C99-based standards] (FP_ILOGBNAN): Likewise.
1591 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1592 Specify type.
1593 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1594 [C99-based standards] (math_errhandling): Specify type.
1595 [ISO99 || ISO11] (signgam): Do not allow.
1596 [non-C99-based standards] (copysignf): Do not allow.
1597 [non-C99-based standards] (exp2f): Likewise.
1598 [non-C99-based standards] (log2f): Likewise.
1599 [non-C99-based standards] (modff): Allow.
1600 [non-C99-based standards] (erff): Do not allow.
1601 [non-C99-based standards] (erfcf): Likewise.
1602 [non-C99-based standards] (gammaf): Likewise.
1603 [non-C99-based standards] (hypotf): Likewise.
1604 [non-C99-based standards] (j0f): Likewise.
1605 [non-C99-based standards] (j1f): Likewise.
1606 [non-C99-based standards] (jnf): Likewise.
1607 [non-C99-based standards] (lgammaf): Likewise.
1608 [non-C99-based standards] (tgammaf): Likewise.
1609 [non-C99-based standards] (y0f): Likewise.
1610 [non-C99-based standards] (y1f): Likewise.
1611 [non-C99-based standards] (ynf): Likewise.
1612 [non-C99-based standards] (isnanf): Likewise.
1613 [non-C99-based standards] (acoshf): Likewise.
1614 [non-C99-based standards] (asinhf): Likewise.
1615 [non-C99-based standards] (atanhf): Likewise.
1616 [non-C99-based standards] (cbrtf): Likewise.
1617 [non-C99-based standards] (expm1f): Likewise.
1618 [non-C99-based standards] (ilogbf): Likewise.
1619 [non-C99-based standards] (log1pf): Likewise.
1620 [non-C99-based standards] (logbf): Likewise.
1621 [non-C99-based standards] (nextafterf): Likewise.
1622 [non-C99-based standards] (remainderf): Likewise.
1623 [non-C99-based standards] (rintf): Likewise.
1624 [non-C99-based standards] (scalbf): Likewise.
1625 [non-C99-based standards] (copysignl): Likewise.
1626 [non-C99-based standards] (exp2l): Likewise.
1627 [non-C99-based standards] (log2l): Likewise.
1628 [non-C99-based standards] (modfl): Allow.
1629 [non-C99-based standards] (erfl): Do not allow.
1630 [non-C99-based standards] (erfcl): Likewise.
1631 [non-C99-based standards] (gammal): Likewise.
1632 [non-C99-based standards] (hypotl): Likewise.
1633 [non-C99-based standards] (j0l): Likewise.
1634 [non-C99-based standards] (j1l): Likewise.
1635 [non-C99-based standards] (jnl): Likewise.
1636 [non-C99-based standards] (lgammal): Likewise.
1637 [non-C99-based standards] (tgammal): Likewise.
1638 [non-C99-based standards] (y0l): Likewise.
1639 [non-C99-based standards] (y1l): Likewise.
1640 [non-C99-based standards] (ynl): Likewise.
1641 [non-C99-based standards] (isnanl): Likewise.
1642 [non-C99-based standards] (acoshl): Likewise.
1643 [non-C99-based standards] (asinhl): Likewise.
1644 [non-C99-based standards] (atanhl): Likewise.
1645 [non-C99-based standards] (cbrtl): Likewise.
1646 [non-C99-based standards] (expm1l): Likewise.
1647 [non-C99-based standards] (ilogbl): Likewise.
1648 [non-C99-based standards] (log1pl): Likewise.
1649 [non-C99-based standards] (logbl): Likewise.
1650 [non-C99-based standards] (nextafterl): Likewise.
1651 [non-C99-based standards] (remainderl): Likewise.
1652 [non-C99-based standards] (rintl): Likewise.
1653 [non-C99-based standards] (scalbl): Likewise.
1654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1655 [non-C99-based standards] (FP_*): Do not allow.
1656 [C99-based standards] (FP_*): Change to
1657 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1658 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1659 allow.
1660 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1661 (SIG_ERR): Likewise.
1662 [X/Open-based standards] (SIG_HOLD): Likewise.
1663 (SIG_IGN): Likewise.
1664 (SIGABRT): Use macro-int-constant. Specify type. Require
1665 positive value.
1666 (SIGFPE): Likewise.
1667 (SIGILL): Likewise.
1668 (SIGINT): Likewise.
1669 (SIGSEGV): Likewise.
1670 (SIGTER): Likewise.
1671 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1672 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1673 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1674 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1675 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1676 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1677 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1678 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1679 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1680 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1681 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1682 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1683 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1684 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1685 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1686 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1687 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1688 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1689 [X/Open-based standards] (SIGTRAP): Likewise.
1690 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1691 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1692 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1693 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1694 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1695 allow.
1696
b9f1922d
IW
16972012-05-08 Ian Wienand <ianw@vmware.com>
1698
1699 [BZ #14080]
1700 * time/tzset.c (__tzset_parse_tz): Update default rules for
1701 daylight time changes in the Energy Policy Act of 2005.
1702
1db86e88
AJ
17032012-05-09 Andreas Jaeger <aj@suse.de>
1704
1705 [BZ #13983]
1706 * elf/ldconfig.c (parse_conf): Change string to make clear that
1707 ldconfig only issued a warning if ld.so.conf does not exist.
1708
dee4a4e3
DM
17092012-05-08 David S. Miller <davem@davemloft.net>
1710
ee0db190
DM
1711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1712 movxtod instead of popping the value on the stack.
1713
dee4a4e3
DM
1714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1715
6a43ec98
CD
17162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1717
1718 * config.h.in: Add HAVE_ARM_PCS_VFP.
1719
05c2c961
RMG
17202012-05-08 Roland Mc Grath <roland@hack.frob.com>
1721
bcfe3a54
ST
1722 [BZ #13979]
1723 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1724 checking but the checks are disabled for any reason.
05c2c961 1725
4b30f61a
L
17262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1729 and ELF64_R_TYPE with ELFW(R_TYPE).
1730
eee2bc67
JM
17312012-05-08 Joseph Myers <joseph@codesourcery.com>
1732
7ea5391a
JM
1733 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1734 (ulimit): Likewise.
1735
eee2bc67
JM
1736 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1737 (settimeofday): Likewise.
1738
abb66a67
MF
17392012-05-08 Mike Frysinger <vapier@gentoo.org>
1740
1741 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1742 a struct th_u2 inside the union, and move tu_block/tu_code into
1743 a new th_u3 union of tu_block/tu_code inside of that. Move
1744 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1745 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1746 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1747 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1748 (th_stuff): Change to th_u1.tu_stuff.
1749 (th_data): Define.
1750 (th_msg): Change to th_u1.th_u2.tu_data.
1751
7f18b530
DM
17522012-05-07 David S. Miller <davem@davemloft.net>
1753
05760585
DM
1754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1755
7f18b530
DM
1756 [BZ #14074]
1757 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1758 (SETUP_PIC_REG): Use it.
1759 (SETUP_PIC_REG_LEAF): Use it.
1760
495fd99f
JM
17612012-05-07 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #13885]
1764 [BZ #13923]
1765 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1766 USE_AS_EXPM1L.
1767 (EXPL_FINITE): Likewise.
1768 (FLDLOG): Likewise.
1769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1770 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1771 e_expl.S.
1772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1773 USE_AS_EXPM1L.
1774 (EXPL_FINITE): Likewise.
1775 (FLDLOG): Likewise.
1776 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1777 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1778 e_expl.S.
1779 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1780 test of -max_value argument for long double.
1781 * sysdeps/i386/fpu/libm-test-ulps: Update.
1782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1783
6693d694
DM
17842012-05-06 David S. Miller <davem@davemloft.net>
1785
1786 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1787 quad soft-float symbols whose references which are compiler
1788 generated.
1789 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1790
6c23e11c
JM
17912012-05-06 Joseph Myers <joseph@codesourcery.com>
1792
d8b82cad
JM
1793 [BZ #13884]
1794 [BZ #13914]
1795 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1796 USE_AS_EXP10L.
1797 (EXPL_FINITE): Likewise.
1798 (FLDLOG): Likewise.
1799 (c0): Likewise.
1800 (c1): Likewise.
1801 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1802 Adjust comments for base varying.
1803 (__expl_finite): Change alias to EXPL_FINITE.
1804 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1805 e_expl.S.
1806 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1807 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1809 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1810 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1811 USE_AS_EXP10L.
1812 (EXPL_FINITE): Likewise.
1813 (FLDLOG): Likewise.
1814 (c0): Likewise.
1815 (c1): Likewise.
1816 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1817 Adjust comments for base varying.
1818 (__expl_finite): Change alias to EXPL_FINITE.
1819 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1820 tests for bugs.
1821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1822
6c23e11c
JM
1823 [BZ #14064]
1824 * math/libm-test.inc (check_float_internal): Correct ulp
1825 calculation for subnormal expected results.
1826
29ba805c
AJ
18272012-05-06 Andreas Jaeger <aj@suse.de>
1828
1829 * Makeconfig (+math-flags): New, set to -frounding-math.
1830 (+cflags): Add +math-flags so that all of glibc gets compiled with
1831 it.
1832
1833 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1834
7b17aeda
JM
18352012-05-05 Joseph Myers <joseph@codesourcery.com>
1836
5779f134
JM
1837 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1838 Disable one test.
1839
41498f4d
JM
1840 [BZ #13787]
1841 [BZ #13922]
1842 [BZ #14036]
1843 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1844 (__ieee754_expl): Allow for and saturate large arguments.
1845 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1846 (u_threshold): Likewise.
1847 (__exp): Call __ieee754_exp before checking for overflow and
1848 underflow.
1849 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1850 (u_threshold): Likewise.
1851 (__expf): Call __ieee754_expf before checking for overflow and
1852 underflow.
1853 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1854 (u_threshold): Likewise.
1855 (__expl): Call __ieee754_expl before checking for overflow and
1856 underflow.
1857 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1858 (__ieee754_expl): Allow for and saturate large arguments.
1859 * math/libm-test.inc (exp_test): Add another test. Do not allow
1860 missing overflow exception on overflow.
1861 (expm1_test): Do not allow missing overflow exception on overflow.
1862
6698b8bf
JM
1863 * sysdeps/i386/fpu/e_expl.c: Move to ...
1864 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1865 rather than using inline asm.
1866 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1867 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1868 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1869
7b17aeda
JM
1870 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1871 (nice): Likewise.
1872 (poll): Likewise.
1873 (signal): Likewise.
1874 (time): Likewise.
1875 (times): Likewise.
1876
f7c85819
JM
18772012-05-04 Joseph Myers <joseph@codesourcery.com>
1878
1879 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1880 sysdeps/unix/common/syscalls.list.
1881 (fchmod): Likewise.
1882 (fchown): Likewise.
1883 (ftruncate): Likewise.
1884 (getrusage): Likewise.
1885 (gettimeofday): Likewise.
1886 (setpgid): Likewise.
1887 (setregid): Likewise.
1888 (setreuid): Likewise.
1889 (sigaction): Likewise.
1890 (truncate): Likewise.
1891 (vhangup): Likewise.
1892 * sysdeps/unix/common/syscalls.list: Remove file.
1893 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1894 * sysdeps/unix/sysv/linux/Implies: Likewise.
1895
336270d0
L
18962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1900 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1901 Moved to ...
1902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1903 Here.
1904 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1905 to ...
1906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1907 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1908 to ...
1909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1910 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1911 to ...
1912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1913 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1914 to ...
1915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1916 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1917 to ...
1918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1919 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1920 to ...
1921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1922 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1923 to ...
1924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1925 Here.
1926 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1927 to ...
1928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1929 Here.
1930 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1931 to ...
1932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1933 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1934 Moved to ...
1935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1936 Here.
1937 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1938 to ...
1939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1940
d128e450
JM
19412012-05-04 Joseph Myers <joseph@codesourcery.com>
1942
fa8ee516
JM
1943 * sysdeps/unix/common/bits/dirent.h: Remove file.
1944 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1945
d128e450
JM
1946 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1947 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1948 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1949 * sysdeps/unix/bsd/isatty.c: Likewise.
1950 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1951 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1952 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1953
ff8faaf0 19542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1955
62881be4 1956 [BZ #13563]
31dc8730
AZ
1957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1958 long double comparison inaccuracies.
1959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1961
6fef930c
AS
19622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1963
1964 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1966
8f203e6c
JM
19672012-05-04 Joseph Myers <joseph@codesourcery.com>
1968
1969 [BZ #14049]
1970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1971 nonzero digits before rounding a hex value.
1972 * stdlib/tst-strtod.c (tests): Add another test.
1973
5197d9c2
AK
19742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1975
1976 * sysdeps/s390/fpu/libm-test-ulps: Update.
1977
f0c1dedf
AJ
19782012-05-03 Andreas Jaeger <aj@suse.de>
1979
1980 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1981 does not get optimized out.
1982 (malloc_opt_barrier): New.
1983
a65ef2ae 19842012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1985 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1986
2b942cb7 1987 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1988 intermediate file deletion.
2b942cb7 1989 (generated): Add .symlist files.
a65ef2ae 1990
54b71e02
JM
19912012-05-03 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #13775]
1994 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1995 Redirect under this condition.
1996 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1997 [__USE_GNU] (__dprintf_chk): Not under this condition.
1998 [__USE_GNU] (__vdprintf_chk): Likewise.
1999 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2000 under this condition.
2001 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2002 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2003 [__USE_XOPEN2K8] (vdprintf): Likewise.
2004 [__USE_GNU] (__dprintf_chk): Not under this condition.
2005 [__USE_GNU] (__vdprintf_chk): Likewise.
2006 [__USE_GNU] (dprintf): Likewise.
2007 [__USE_GNU] (vdprintf): Likewise.
2008
d3dfcc41
RM
20092012-05-03 Roland McGrath <roland@hack.frob.com>
2010
2011 * elf/Makefile (common-generated): Set this instead of generated for
2012 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2013 $(all-built-dso)-derived lists.
2014
7ac30cc5
AJ
20152012-05-03 Andreas Jaeger <aj@suse.de>
2016
0c51e550
AJ
2017 * sysdeps/i386/fpu/libm-test-ulps: Update.
2018
7ac30cc5
AJ
2019 * FAQ: Removed.
2020 * FAQ.in: Likewise.
2021 * scripts/gen-FAQ.pl: Likewise.
2022 * manual/install.texi (Installation): Point to online location of
2023 FAQ.
2024 * Makefile (files-for-dist): Remove FAQ.
2025 (FAQ): Remove.
2026
d4c2917f
AM
20272012-05-02 Allan McRae <allan@archlinux.org>
2028
2029 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2030 (LDFLAGS-reldepmod5.so): Likewise.
2031 (LDFLAGS-reldep6mod1.so): Likewise.
2032 (LDFLAGS-reldep6mod4.so): Likewise.
2033 (LDFLAGS-reldep8mod3.so): Likewise.
2034 (LDFLAGS-unload4mod1.so): Likewise.
2035 (LDFLAGS-unload4mod2.so): Likewise.
2036 (LDFLAGS-tst-initorder): Likewise.
2037 (LDFLAGS-tst-initordera2.so): Likewise.
2038 (LDFLAGS-tst-initordera3.so): Likewise.
2039 (LDFLAGS-tst-initordera4.so): Likewise.
2040 (LDFLAGS-tst-initorderb2.so): Likewise.
2041 (LDFLAGS-noload): Likewise.
2042 (LDFLAGS-next): Likewise.
2043 (LDFLAGS-order2mod1.so): Likewise.
2044 (LDFLAGS-order2mod2.so): Likewise.
2045 (LDFLAGS-tst-initorder2): Likewise.
2046 (LDFLAGS-tst-initorder2a.so): Likewise.
2047 (LDFLAGS-tst-initorder2b.so): Likewise.
2048 (LDFLAGS-tst-initorder2c.so): Likewise.
2049 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2050
d77f993f
DM
20512012-05-02 David S. Miller <davem@davemloft.net>
2052
2053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2054
171a70b4
PP
20552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2056
2057 [BZ #14055]
2058 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2059
0be196ad
AJ
20602012-05-02 Andreas Jaeger <aj@suse.de>
2061
2062 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2063 since we manipulate rounding mode.
2064 (CPPFLAGS-test-idouble.c): Likewise.
2065 (CPPFLAGS-test-ifloat.c): Likewise.
2066 (CFLAGS-test-ldouble.c): Likewise.
2067 (CFLAGS-test-double.c): Likewise.
2068 (CFLAGS-test-float.c): Likewise.
2069 (CFLAGS-test-misc.c): Likewise.
2070 (CFLAGS-test-test-fenv.c): Likewise.
2071
4f9d04aa
AZ
20722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2b942cb7
RM
2074 [BZ #2550]
2075 [BZ #2570]
2076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2077 comparisons to determine direction to adjust input.
4f9d04aa 2078
82a79e7d
RM
20792012-05-01 Roland McGrath <roland@hack.frob.com>
2080
f5a01ca9
RM
2081 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2082 output to the target.
2083
90fe4186
RM
2084 * scripts/localplt.awk: New file.
2085 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2086 (check-localplt-CFLAGS): Variable removed.
2087 ($(all-built-dso:=.jmprel)): New static pattern rule.
2088 (generated): Add those targets.
2089 (localplt-built-dso): New variable.
2090 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2091
2092 * elf/check-localplt.c: File removed.
2093
82397ed6
RM
2094 * scripts/check-execstack.awk: New file.
2095 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2096 (check-execstack-CFLAGS): Variable removed.
2097 ($(objpfx)check-execstack.h): Target removed.
2098 ($(objpfx)execstack-default): New target.
2099 (generated): Add that instead of check-execstack.h.
2100 ($(all-built-dso:=.phdr)): New static pattern rule.
2101 (generated): Add those targets.
2102 * elf/check-execstack.c: File removed.
2103
82a79e7d
RM
2104 * scripts/check-textrel.awk: New file.
2105 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2106 (check-textrel-CFLAGS): Variable removed.
2107 (all-built-dso): Use := to define.o
2108 ($(all-built-dso:=.dyn)): New static pattern rule.
2109 (generated): Add those targets.
2110 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2111 * config.make.in (READELF): New substituted variable.
2112 * elf/check-textrel.c: File removed.
2113
62fde54f 21142012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2115
615605c9
JM
2116 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2117 allow.
2118 * conform/data/ctype.h-data [C99-based standards] (isblank):
2119 Expect function.
2120 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2121 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2123 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2124 Specify type. Require positive value.
2125 (EILSEQ): Likewise.
2126 (ERANGE): Likewise.
2127 [ISO || POSIX] (EILSEQ): Do not expect.
2128 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2129 Specify type. Require positive value.
2130 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2131 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2132 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2133 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2134 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2135 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2142 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2143 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2149 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2150 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2151 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2152 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2153 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2154 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2156 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2157 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2158 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2159 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2160 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2161 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2162 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2163 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2165 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2166 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2167 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2168 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2169 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2170 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2171 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2172 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2173 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2174 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2175 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2176 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2177 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2178 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2179 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2180 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2181 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2182 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2183 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2184 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2185 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2186 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2187 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2188 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2189 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2190 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2191 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2192 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2193 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2194 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2195 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2198 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2204 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2205 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2206 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2207 Require >= 2.
2208 (FLT_ROUNDS): Expect as macro, not constant.
2209 (FLT_MANT_DIG): Use macro-int-constant.
2210 (DBL_MANT_DIG): Likewise.
2211 (LDBL_MANT_DIG): Likewise.
2212 (FLT_DIG): Likewise.
2213 (DBL_DIG): Likewise.
2214 (LDBL_DIG): Likewise.
2215 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2216 (DBL_MIN_EXP): Likewise.
2217 (LDBL_MIN_EXP): Likewise.
2218 (FLT_MAX_EXP): Use macro-int-constant.
2219 (DBL_MAX_EXP): Likewise.
2220 (LDBL_MAX_EXP): Likewise.
2221 (FLT_MAX_10_EXP): Likewise.
2222 (DBL_MAX_10_EXP): Likewise.
2223 (LDBL_MAX_10_EXP): Likewise.
2224 (FLT_MAX): Use macro-constant.
2225 (DBL_MAX): Likewise.
2226 (LDBL_MAX): Likewise.
2227 (FLT_EPSILON): Use macro-constant. Give upper bound.
2228 (DBL_EPSILON): Likewise.
2229 (LDBL_EPSILON): Likewise.
2230 (FLT_MIN): Likewise.
2231 (DBL_MIN): Likewise.
2232 (LDBL_MIN): Likewise.
2233 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2234 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2235 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2236 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2237 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2238 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2239 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2240 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2241 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2242 [ISO11] (FLT_TRUE_MIN): Likewise.
2243 [ISO11] (LDBL_TRUE_MIN): Likewise.
2244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2245 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2246 (SCHAR_MIN): Use macro-int-constant. Specify type.
2247 (SCHAR_MAX): Likewise.
2248 (UCHAR_MAX): Likewise.
2249 (CHAR_MIN): Likewise.
2250 (CHAR_MAX): Likewise.
2251 (MB_LEN_MAX): Use macro-int-constant.
2252 (SHRT_MIN): Use macro-int-constant. Specify type.
2253 (SHRT_MAX): Likewise.
2254 (USHRT_MAX): Likewise.
2255 (INT_MAX): Likewise.
2256 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2257 bound negative.
2258 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2259 bound with "U".
2260 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2261 bound with "L".
2262 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2263 bound negative. Suffix upper bound with "L".
2264 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2265 bound with "UL".
2266 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2267 Specify type.
2268 [C99-based standards] (LLONG_MAX): Likewise.
2269 [C99-based standards] (ULLONG_MAX): Likewise.
2270 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2271 == 0.
2272 [ISO11] (max_align_t): Require type.
2273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2274
c9140a62
JM
2275 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2276 from $CFLAGS, without defining away __attribute__ calls.
2277 (checknamespace): Use $CFLAGS_namespace.
2278
9af0bf29
JM
2279 * conform/conformtest.pl (@keywords): Only include C99 keywords
2280 for standards based on C99 or C11.
2281
343222a2
JM
2282 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2283 Disable tests.
2284 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2285 UNIX98]: Likewise.
2286
661f8cf0
JM
2287 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2288 usability of symbols in #if.
2289
ee74b9cb
JM
2290 * conform/conformtest.pl: If macro or constant types start
2291 "promoted:", expect the symbol to be of the following type
2292 promoted by the integer promotions.
62fde54f 2293
aafc49b3
JM
2294 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2295 in one place. Also handle "macro-constant".
2296
fefdf574
JM
2297 * conform/conformtest.pl: Only accept expected macro values with
2298 "==". Parse all "macro" lines in one place.
2299 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2300
f2d922fe
JM
2301 * conform/conformtest.pl: Handle braced types on "constant" lines
2302 instead of handling "typed-constant".
2303 * conform/data/signal.h-data: Use "constant" instead of
2304 "typed-constant".
2305
d22956c9
JM
2306 * conform/conformtest.pl: Handle "optional-" at start of lines in
2307 one place rather than duplicating several cases. Handle each
2308 format of "macro" line with initial "optional-".
2309
028e2e38
JM
2310 * conform/conformtest.pl: Only accept expected constant or
2311 optional-constant values with "==". Parse all "constant" lines in
2312 one place. Parse all "optional-constant" lines in one place.
2313 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2314 * conform/data/fmtmsg.h-data: Likewise.
2315 * conform/data/netinet/in.h-data: Likewise.
2316 * conform/data/tar.h-data: Likewise.
2317 * conform/data/limits.h-data: Use "==" form on "constant" and
2318 "optional-constant" lines.
2319
1b8f2850
JM
2320 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2321 Use -std=c99 for XOPEN2K.
2322 (@knownproblems): Remove.
2323 (newtoken): Don't check %isknown.
2324
a05a144b
JM
2325 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2326 Do not expect macro.
2327 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2339 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2340 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2357 [XPG3] (acosh): Likewise.
2358 [XPG3] (asinh): Likewise.
2359 [XPG3] (atanh): Likewise.
2360 [XPG3] (cbrt): Likewise.
2361 [XPG3] (expm1): Likewise.
2362 [XPG3] (ilogb): Likewise.
2363 [XPG3] (log1p): Likewise.
2364 [XPG3] (logb): Likewise.
2365 [XPG3] (nextafter): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2368 [XPG3] (remainder): Likewise.
2369 [XPG3] (rint): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2377 [UNIX98 || XOPEN2K] (scalb): Expect.
2378 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2379 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2515
73c5ebe3
JM
2516 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2517 _XOPEN_SOURCE_EXTENDED for XPG4.
2518
39c33b6c
JM
2519 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2520
62fde54f
JM
2521 * Makeconfig (localtime): Remove variable.
2522 (inst_localtime-file): Likewise.
2523
0741d64c
AS
25242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2525
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2527 Update.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2529 Update.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2531 Update.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2533 Update.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2535 Update.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2537 Update.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2539 Update.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2541 Update.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2543 Update.
2544
7cb029ee
JM
25452012-05-01 Joseph Myers <joseph@codesourcery.com>
2546
2547 [BZ #2550]
2548 [BZ #2570]
2549 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2550 comparisons to determine direction to adjust input.
2551 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2552 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2553 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2554 Likewise.
2555 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2556 Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2558 Likewise.
2559 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2560 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2561 Likewise.
2562 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2563 Likewise.
2564 * math/libm-test.inc (nexttoward_test): Add more tests.
2565
412bd966
AS
25662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2567
2568 [BZ #14040]
2569 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2570 in version GLIBC_2.1, not GLIBC_2.0.
2571 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2572 Likewise.
2573
9568c0c2
JM
25742012-04-30 Joseph Myers <joseph@codesourcery.com>
2575
adfbc8ac
JM
2576 [BZ #13942]
2577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2578 (1 - x) * (1 + x).
2579 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2580 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2581 * math/libm-test.inc (acos_test): Add more tests.
2582 (asin_test): Likewise.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2585
5ba3cc69
JM
2586 [BZ #14034]
2587 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2588 of square root.
2589 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2590 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2591 * math/libm-test.inc (acos_test_tonearest): New function.
2592 (acos_test_towardzero): Likewise.
2593 (acos_test_downward): Likewise.
2594 (acos_test_upward): Likewise.
2595 (asin_test_tonearest): Likewise.
2596 (asin_test_towardzero): Likewise.
2597 (asin_test_downward): Likewise.
2598 (asin_test_upward): Likewise.
2599 (main): Call the new functions.
2600 * sysdeps/i386/fpu/libm-test-ulps: Update.
2601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2602
9568c0c2
JM
2603 [BZ #13884]
2604 [BZ #13924]
2605 * math/e_exp10.c: Include <float.h>.
2606 (__ieee754_exp10): Handle underflow here rather than multiplying
2607 large negative argument by M_LN10.
2608 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2609 of __ieee754_expf.
2610 * math/e_exp10l.c: Include <float.h>.
2611 (__ieee754_exp10l): Handle underflow here rather than multiplying
2612 large negative argument by M_LN10l.
2613 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2614 spurious overflow exception on underflow.
2615
5ac3ea17
MP
26162012-04-29 Marek Polacek <polacek@redhat.com>
2617
2618 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2619 (__fortify_function): New macro.
2620 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2621 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2622 __extern_always_inline.
2623 * libio/bits/stdio2.h: Likewise.
2624 * libio/bits/stdio.h: Likewise.
2625 * string/string.h: Likewise.
2626 * string/bits/string3.h: Likewise.
2627 * include/stdio.h: Likewise.
2628 * stdlib/bits/stdlib.h: Likewise.
2629 * stdlib/stdlib.h: Likewise.
2630 * rt/bits/mqueue2.h: Likewise.
2631 * rt/mqueue.h: Likewise.
2632 * posix/bits/unistd.h: Likewise.
2633 * posix/unistd.h: Likewise.
2634 * io/bits/poll2.h: Likewise.
2635 * io/bits/fcntl2.h: Likewise.
2636 * io/fcntl.h: Likewise.
2637 * io/sys/poll.h: Likewise.
2638 * misc/bits/syslog.h: Likewise.
2639 * misc/bits/syslog-ldbl.h: Likewise.
2640 * misc/sys/syslog.h: Likewise.
2641 * socket/bits/socket2.h: Likewise.
2642 * socket/sys/socket.h: Likewise.
2643 * debug/tst-chk1.c: Likewise.
2644 * wcsmbs/bits/wchar2.h: Likewise.
2645 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2646 * wcsmbs/wchar.h: Likewise.
2647
ecf0ebfb
AJ
26482012-04-29 Andreas Jaeger <aj@suse.de>
2649
2650 * Makerules (tests): Remove enable-check-abi protection.
2651 (check-abi-warn): Remove.
2652 (check-abi-%): Remove check-abi-warn usage.
2653
2654 * configure.in: Remove check-abi configure option.
2655 * configure: Regenerated.
2656 * config.make.in (enable-check-abi): Remove.
2657
6d5c57fa
AS
26582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2659
24c5d07e 2660 [BZ #14033]
ded5180a
AS
2661 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2662 double functions to double *_finite functions.
2663
7e0d315d
AS
2664 [BZ #13941]
2665 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2666 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2667 LDBL_MIN_EXP.
2668 * stdio-common/Makefile (tests): Add tst-sprintf3.
2669 * stdio-common/tst-sprintf3.c: New file.
2670
6d5c57fa
AS
2671 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2672 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2673
0749ff8b
JM
26742012-04-28 Joseph Myers <joseph@codesourcery.com>
2675
2676 * conform/conformtest.pl: Remove duplicate typed-constant
2677 handling.
2678
8dbd5d7b
DM
26792012-04-28 David S. Miller <davem@davemloft.net>
2680
2681 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2682 (check-abi-%): Remove AWK script prerequisite and explicit
2683 abilist directory.
2684 (check-abi): Rewrite to just diff the symlist with the abilist.
2685 (config-tls, config-abi-config): Delete, no longer used.
2686 (update-abi-%): Remove AWK script and explicit abilist directory.
2687 (update-abi): Rewrite to simply compare and conditionally copy the
2688 symlist and the sysdep abilist file. Remove update-abi-config
2689 checks.
2690 * abilist/ld.abilist: Remove.
2691 * abilist/libBrokenLocale.abilist: Remove.
2692 * abilist/libanl.abilist: Remove.
2693 * abilist/libcrypt.abilist: Remove.
2694 * abilist/libdl.abilist: Remove.
2695 * abilist/librt.abilist: Remove.
2696 * abilist/libthread_db.abilist: Remove.
2697 * abilist/libutil.abilist: Remove.
2698 * scripts/extract-abilist.awk: Remove.
2699 * scripts/merge-abilist.awk: Remove.
2700 * sysdeps/generic/libcidn.abilist: New file.
2701 * sysdeps/generic/libnss_compat.abilist: New file.
2702 * sysdeps/generic/libnss_db.abilist: New file.
2703 * sysdeps/generic/libnss_dns.abilist: New file.
2704 * sysdeps/generic/libnss_files.abilist: New file.
2705 * sysdeps/generic/libnss_hesiod.abilist: New file.
2706 * sysdeps/generic/libnss_nis.abilist: New file.
2707 * sysdeps/generic/libnss_nisplus.abilist: New file.
2708 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2709 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2710 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2711 file.
2712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2713 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2714 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2715 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2716 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2717 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2718 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2719 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2720 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2721 file.
2722 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2723 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2724 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2725 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2726 file.
2727 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2728 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2729 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2730 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2731 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2732 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2733 file.
2734 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2735 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2736 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2737 file.
2738 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2740 New file.
2741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2742 New file.
2743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2744 New file.
2745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2746 New file.
2747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2748 New file.
2749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2750 New file.
2751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2752 New file.
2753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2754 New file.
2755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2756 New file.
2757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2758 New file.
2759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2760 New file.
2761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2762 New file.
2763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2764 New file.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2766 file.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2768 New file.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2770 New file.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2772 file.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2774 New file.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2776 New file.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2778 file.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2780 New file.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2782 New file.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2784 New file.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2786 New file.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2788 New file.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2790 New file.
2791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2793 file.
2794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2795 New file.
2796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2797 file.
2798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2799 file.
2800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2801 file.
2802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2803 file.
2804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2805 file.
2806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2807 New file.
2808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2809 file.
2810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2811 file.
2812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2813 New file.
2814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2815 file.
2816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2818 file.
2819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2820 New file.
2821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2822 file.
2823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2824 file.
2825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2826 file.
2827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2828 file.
2829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2830 file.
2831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2832 New file.
2833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2834 file.
2835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2836 file.
2837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2838 New file.
2839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2840 file.
2841 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2842 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2843 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2844 file.
2845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2846 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2847 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2848 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2849 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2851 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2852 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2853 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2854 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2857 file.
2858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2859 New file.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2861 file.
2862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2863 file.
2864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2865 file.
2866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2867 file.
2868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2869 file.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2871 New file.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2873 New file.
2874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2875 file.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2877 New file.
2878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2879 file.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2882 file.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2884 New file.
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2886 file.
2887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2888 file.
2889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2890 file.
2891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2892 file.
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2894 file.
2895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2896 New file.
2897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2898 New file.
2899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2900 file.
2901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2902 New file.
2903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2904 file.
2905
41d73a1b
JM
29062012-04-28 Joseph Myers <joseph@codesourcery.com>
2907
2908 * conform/conformtest.pl: Fix typo in handling typed-constant from
2909 allow-header.
2910
28aeeda4
JM
29112012-04-27 Joseph Myers <joseph@codesourcery.com>
2912
adae8f5e
JM
2913 * README: Cut down references to pre-2.6 Linux kernels and
2914 Linuxthreads. Update lists of configurations in libc and ports
2915 and sort alphabetically. Say "or newer" with Linux kernel version
2916 requirements.
2917
28aeeda4
JM
2918 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2919
a462cb63
RA
29202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2921
2922 [BZ #887]
2923 * math/libm-test.inc (logb_test_downward): New test to expose
2924 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2925 rounding mode.
2926
6ad3493e
JM
29272012-04-27 Joseph Myers <joseph@codesourcery.com>
2928
2929 [BZ #14027]
2930 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2931 to be done.
2932 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2933 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2934
2ce4f015
JM
29352012-04-26 Joseph Myers <joseph@codesourcery.com>
2936
5aeb141a
JM
2937 * sysdeps/unix/i386/brk.S: Remove file.
2938 * sysdeps/unix/i386/dl-brk.S: Likewise.
2939 * sysdeps/unix/i386/pipe.S: Likewise.
2940 * sysdeps/unix/i386/sigreturn.S: Likewise.
2941 * sysdeps/unix/i386/syscall.S: Likewise.
2942 * sysdeps/unix/i386/vfork.S: Likewise.
2943 * sysdeps/unix/i386/wait.S: Likewise.
2944
7143acae
JM
2945 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2946 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2947
2ce4f015
JM
2948 * configure.in (arm*-none*): Do not allow without
2949 --enable-hacker-mode.
2950 (netbsd*): Remove case setting base_os.
2951 (386bsd*): Likewise.
2952 (freebsd*): Likewise.
2953 (bsdi*): Likewise.
2954 (osf*): Likewise.
2955 (sunos*): Likewise.
2956 (ultrix*): Likewise.
2957 (newsos*): Likewise.
2958 (dynix*): Likewise.
2959 (*bsd*): Likewise.
2960 (sysv*): Likewise.
2961 (isc*): Likewise.
2962 (esix*): Likewise.
2963 (sco*): Likewise.
2964 (minix*): Likewise.
2965 (irix4*): Likewise.
2966 (irix6*): Likewise.
2967 (solaris[2-9]*): Likewise.
2968 (none): Likewise.
2969 * configure: Regenerated.
2970
0ac229c8
AZ
29712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2972
2973 [BZ #11521]
2974 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2975 overflow or cancellation in calculating denominator.
2976 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2978 down expression to avoid unexpected rounding in newer GCCs.
2979 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2980
33f244f4
DM
29812012-04-26 David S. Miller <davem@davemloft.net>
2982
2983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2984 long-double compat symbols.
2985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2998
cfa1f3e8
DM
29992012-04-25 David S. Miller <davem@davemloft.net>
3000
3001 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3002 HWCAP_* values only after the memory barriers have been defined.
3003 (atomic_full_barrier): Define.
3004 (atomic_read_barrier): Define.
3005 (atomic_write_barrier): Define.
3006
6e236b92
SP
30072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3008
3009 * shlib-versions: Add libgcc_s version information.
3010 * sysdeps/generic/libgcc_s.h: Remove.
3011 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3012 libgcc_s.h.
3013 * sysdeps/gnu/unwind-resume.c: Likewise.
3014 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3015
aab39a09
DM
30162012-04-25 David S. Miller <davem@davemloft.net>
3017
3018 * sysdeps/unix/sparc/brk.S: Delete.
3019 * sysdeps/unix/sparc/dl-brk.S: Delete.
3020 * sysdeps/unix/sparc/pipe.S: Delete.
3021 * sysdeps/unix/sparc/sysdep.S: Delete.
3022 * sysdeps/unix/sparc/sysdep.h: Delete.
3023 * sysdeps/unix/sparc/vfork.S: Delete.
3024 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3025 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3027 ret_ERRVAL, r0, r1, MOVE): Define.
3028 (JUMPTARGET): Remove.
3029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3030 sysdeps/unix/sparc/sysdep.h
3031 (ENTRY, END): Remove.
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3033
a3cc4f48
JM
30342012-04-25 Joseph Myers <joseph@codesourcery.com>
3035
2ed8cda2
JM
3036 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3037 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3038 -DIS_IN_build.
3039
35d76d59
JM
3040 * timezone/README: Update upstream location and email address for
3041 tzcode and tzdata.
3042 * timezone/zdump.c: Update from tzcode 2012b.
3043 * timezone/zic.c: Likewise.
3044
a3cc4f48
JM
3045 * configure.in (libc_cv_as_needed): Remove test.
3046 * configure: Regenerated.
3047 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3048 conditional definition.
3049 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3050 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3051 * config.make.in (have-as-needed): Remove variable.
3052
ceab42c3
SP
30532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3054 Paul Pluzhnikov <ppluzhnikov@google.com>
3055
3056 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3057 strings correctly.
3058
3ce2865f
CLT
30592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3060
3061 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3062 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3063 * sysdeps/sh/strlen.S: Likewise.
3064
f37e0d68
JM
30652012-04-24 Joseph Myers <joseph@codesourcery.com>
3066
ae186e9a
JM
3067 * sysdeps/unix/fork.S: Remove file.
3068 * sysdeps/unix/i386/fork.S: Likewise.
3069 * sysdeps/unix/sparc/fork.S: Likewise.
3070
b96914af
JM
3071 * sysdeps/unix/system.c: Remove file.
3072 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3073
f37e0d68
JM
3074 * sysdeps/unix/getegid.S: Remove file.
3075 * sysdeps/unix/geteuid.S: Likewise.
3076
87ef29ca
RM
30772012-04-24 Roland McGrath <roland@hack.frob.com>
3078
83bcd236
RM
3079 * scripts/check-localplt.awk: New file.
3080 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3081 of diff.
3082 * scripts/data/localplt-generic.data: Add a comment.
3083
87ef29ca
RM
3084 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3085 NODE when __dir_mkfile failed.
3086 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3087 Reported by Ludovic Courtès <ludo@gnu.org>.
3088
e5a6e567
AJ
30892012-04-24 Andreas Jaeger <aj@suse.de>
3090
3091 * Makerules (common-clean): Also remove gen-as-const-headers
3092 files.
3093
c1820385
JM
30942012-04-24 Joseph Myers <joseph@codesourcery.com>
3095
3096 * Makerules (native-compile): Do not change working directory for
3097 build. Use $(OUTPUT_OPTION) in command.
3098 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3099
94e02fc4
AZ
31002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3101
3102 [BZ #13886]
3103 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3104 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3105 * math/libm-test.inc (floor_test): Add more tests.
3106 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3107
3a533ca3
JM
31082012-04-24 Joseph Myers <joseph@codesourcery.com>
3109
940ab4b3
JM
3110 * sysdeps/unix/getdents.c: Remove file.
3111 * sysdeps/unix/sysv/getdents.c: Likewise.
3112 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3113
90e037bd
JM
3114 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3115 sysdeps/unix/mman/syscalls.list.
3116 (mmap): Likewise.
3117 (mprotect): Likewise.
3118 (msync): Likewise.
3119 (munmap): Likewise.
3120 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3121 * sysdeps/unix/mman/syscalls.list: Remove.
3122 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3123
3a533ca3
JM
3124 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3125 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3126 * configure: Regenerated.
3127 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3128 $(libgcc_s_suffix).
3129 * config.make.in (libgcc_s_suffix): Remove variable.
3130
1ad743de
JM
31312012-04-23 Joseph Myers <joseph@codesourcery.com>
3132
4ad451e2
JM
3133 * sysdeps/unix/sysv/gethostname.c: Move to ...
3134 * sysdeps/posix/gethostname.c: ... here.
3135
5e37ce39
JM
3136 * sysdeps/unix/execve.S: Remove file.
3137
1ad743de
JM
3138 * sysdeps/unix/_exit.S: Remove file.
3139
4e681b5b
AJ
31402012-04-23 Andreas Jaeger <aj@suse.de>
3141
3142 [BZ #13739]
3143 * manual/Makefile: Remove make dist support, there's no
3144 need for a stand-alone documentation tar ball.
3145 (TEXI2DVI): Define always, it's not in Makeconfig.
3146 (dist): Removed.
3147 (tar-it): Removed.
3148 (edition): Removed.
3149 (glibc-doc-$(edition).tar): Removed
3150 (%.Z): Removed.
3151 (%.gz): Removed.
3152 (%.uu): Removed.
3153 (ETAGS): Remove, it's in Makeconfig.
3154 (move-if-change): Remove, it's in Makeconfig.
3155
c0baea34
PE
31562013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3157
3158 [BZ #13970]
3159 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3160 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3161 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3162 (strtod_l, strtof_l, strtold_l): Remove __wur.
3163 It is not necessarily an error to ignore strtol's return value.
3164 One can reliably look at the stored endptr to decide whether
3165 the number had valid syntax.
3166
7c0616fa
AJ
31672012-04-21 Andreas Jaeger <aj@suse.de>
3168
803cb6b7 3169 [BZ #13739]
7c0616fa
AJ
3170 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3171
b0fe253f
JM
31722012-04-21 Joseph Myers <joseph@codesourcery.com>
3173
3174 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3175 * sysdeps/unix/sysv/Versions: Remove file.
3176
8280f22d
MT
31772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3178
3179 [BZ #13927]
3180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3181
75ce411f 31822012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3183
3184 [BZ #7064]
3185 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3186 version from __vm86.
3187
097d59fa
JM
31882012-04-20 Joseph Myers <joseph@codesourcery.com>
3189
a90f3bcb
JM
3190 * sysdeps/unix/common/lxstat.c: Remove file.
3191 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3192
edc7ea78
JM
3193 * sysdeps/unix/sysv/Makefile: Remove file.
3194
cb78c221
JM
3195 * sysdeps/unix/sysv/direct.h: Remove file.
3196
efa6a45f
JM
3197 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3198 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3199 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3200 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3201 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3202 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3203 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3204
9c9f2d0c
JM
3205 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3206
4541c83b
JM
3207 * sysdeps/unix/xmknod.c: Remove file.
3208 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3209
f5d153a0
JM
3210 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3211
aa746595
JM
3212 * sysdeps/unix/sysv/i386/time.S: Remove file.
3213
cce5905e
JM
3214 * sysdeps/unix/fxstat.c: Remove file.
3215 * sysdeps/unix/xstat.c: Likewise.
3216 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3217
37fa3841
JM
3218 * sysdeps/unix/sysv/sigaction.c: Remove file.
3219
ff1962a3
JM
3220 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3221 (sysdep_headers): Remove variable.
3222 [termio.h not in sysdep_headers] (generated): Likewise.
3223 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3224 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3225 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3226 * sysdeps/unix/sysv/tcflow.c: Likewise.
3227 * sysdeps/unix/sysv/tcflush.c: Likewise.
3228 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3229 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3230 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3231 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3232 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3233
e7740d31
JM
3234 * sysdeps/unix/siglist.c: Remove file.
3235
ee06f18b
JM
3236 * sysdeps/unix/getppid.S: Remove file.
3237
097d59fa
JM
3238 * sysdeps/unix/mkdir.c: Remove file.
3239 * sysdeps/unix/rmdir.c: Likewise.
3240
ff3d51ec
AS
32412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3242
3243 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3244 ERR_MAX value.
3245 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3246 errlist-compat value.
3247
50f81fd7
DM
32482012-04-18 David S. Miller <davem@davemloft.net>
3249
3250 * sysdeps/generic/memcopy.h (reg_char): Delete.
3251 * debug/strcat_chk.c: Use char, not reg_char.
3252 * debug/strcpy_chk.c: Likewise.
3253 * debug/strncat_chk.c: Likewise.
3254 * debug/strncpy_chk.c: Likewise.
3255 * string/memchr.c: Likewise.
3256 * string/memrchr.c: Likewise.
3257 * string/rawmemchr.c: Likewise.
3258 * string/strcat.c: Likewise.
3259 * string/strchr.c: Likewise.
3260 * string/strchrnul.c: Likewise.
3261 * string/strcmp.c: Likewise.
3262 * string/strcpy.c: Likewise.
3263 * string/strncat.c: Likewise.
3264 * string/strncmp.c: Likewise.
3265 * string/strncpy.c: Likewise.
3266
8ff41c46
WS
32672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3268
3269 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3270 __builtin_memcopy is called when src and dest ranges are known to not
3271 overlap.
3272
6b652f46
WS
32732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3274
3275 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3276 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3277 fwd_align_merge macro call.
3278 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3279 bwd_align_merge macro call.
3280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3281
b282631e
WS
32822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3283
3284 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3285 bwd_align_merge macros.
3286 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3287 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3288 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3289
95aa737c
DM
32902012-04-18 David S. Miller <davem@davemloft.net>
3291
3292 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3293
7a99a614
AJ
32942012-04-18 Andreas Jaeger <aj@suse.de>
3295
3296 [BZ# 6794]
3297 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3298 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3299 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3300
3301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3302 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3303 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3304
3305 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3306 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3307 Adjust for changed ldbl-128 files.
3308
3309 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3310 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3311 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3312
e5270c23
DM
33132012-04-17 David S. Miller <davem@davemloft.net>
3314
3315 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3316
fb5e92c9
AS
33172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3318
3319 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3320 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3321 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3322 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3323 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3324 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3325
76da7265
AZ
33262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327
3328 [BZ #6794]
3329 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3330 * math/libm-test.inc: Add ilogb errno and exception tests.
3331 * math/w_ilogb.c: New file: ilogb wrapper.
3332 * math/w_ilogbf.c: New file: ilogbf wrapper.
3333 * math/w_ilogbl.c: New file: ilogbl wrapper.
3334 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3335 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3336 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3337 exception being thrown with 0.0 as argument.
3338 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3339 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3340 exception being thrown with 0.0 as argument.
3341 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3342 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3343 exception being thrown with 0.0 as argument.
3344 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3345 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3346 exception being thrown with 0.0 as argument.
3347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3348 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3350 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3352 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3353 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3354 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3355 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3356
0396e69d
PB
33572012-04-17 Petr Baudis <pasky@ucw.cz>
3358
3359 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3360 with altivec.
3361
750b5926
MP
33622012-04-16 Marek Polacek <polacek@redhat.com>
3363
3364 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3365
751728a1
MP
33662012-04-16 Marek Polacek <polacek@redhat.com>
3367
3368 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3369 operands of fdivp instruction.
3370
34a27407
L
33712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3372
3373 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3374 * elf/tst-auditmod3b.c: Likewise.
3375 * elf/tst-auditmod4b.c: Likewise.
3376 * elf/tst-auditmod5b.c: Likewise.
3377 * elf/tst-auditmod6b.c: Likewise.
3378 * elf/tst-auditmod6c.c: Likewise.
3379 * elf/tst-auditmod7b.c: Likewise.
3380 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3381 * sysdeps/x86_64/preconfigure.in: Likewise.
3382 * sysdeps/x86_64/preconfigure: Regenerated.
3383
7e73e17d
L
33842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3387 __ILP32__.
3388
c7a6ab72
AB
33892012-04-13 Antoine Balestrat <merkil33@gmail.com>
3390
3391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3392 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3393
a9e8e0e0
CL
33942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3395
3396 [BZ #13973]
3397 * locale/iso-639.def: Fix gl language name. Spotted by
3398 Yaron Shahrabani.
3399
ec98af7d
RM
34002012-04-12 Roland McGrath <roland@hack.frob.com>
3401
3402 [BZ #2074]
3403 * libio/libio.h (__io_write_fn): Update comment.
3404
247c3ede
PB
34052012-04-12 Petr Baudis <pasky@ucw.cz>
3406
3407 [BZ #2074]
3408 * stdio.texi (Hook Functions): The user provided writer function
3409 is not allowed to return -1.
3410
55939d6d
DM
34112012-04-11 David S. Miller <davem@davemloft.net>
3412
3413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3414
90020f5a
MF
34152012-04-11 Mike Frysinger <vapier@gentoo.org>
3416
3417 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3418 Add a leading slash to rtkaio.
3419
288f9098
JM
34202012-04-11 Jim Meyering <meyering@redhat.com>
3421
90020f5a
MF
3422 [BZ #11959]
3423 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3424 It is not necessarily an error to ignore fwrite's return
3425 value. One can reliably use ferror to test for errors after
3426 the fact.
288f9098 3427
4be2b570
L
34282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * bits/types.h (__snseconds_t): New type.
3431 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3432
3433 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3435 (__SNSECONDS_T_TYPE): Likewise.
3436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3437 (__SNSECONDS_T_TYPE): Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3439 (__SNSECONDS_T_TYPE): Likewise.
3440
288f9098 34412012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3442
3443 [BZ #2636]
3444 * manual/time.texi (Processor Time): Return type of times is
3445 elapsed real time since an arbitrary point in the past.
3446 (CPU Time): Move CLK_TCK from here...
3447 (Processor Time): ...to here. Correct description.
3448 * manual/conf.texi (Constants for Sysconf): Correct description of
3449 _SC_CLK_TCK.
3450
d7dd4413
DM
34512012-04-10 David S. Miller <davem@davemloft.net>
3452
3453 [BZ #13967]
3454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3455 where the is a gap between DT_REL(A) and DT_JMPREL.
3456
b46068fc
L
34572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3458
3459 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3460 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3461 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3462
73d65cc3
SP
34632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3464
3465 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3466 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3467 (dl_main): Handle --inhibit-cache.
3468 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3469 _dl_inhibit_cache.
3470 * elf/dl-load.c (_dl_map_object): Use it.
3471 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3472
bcc8d661
JM
34732012-04-09 Joseph Myers <joseph@codesourcery.com>
3474
8f9a2fae
JM
3475 [BZ #13872]
3476 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3477 (__ieee754_powl): Saturate large exponents rather than testing for
3478 overflow of y*log2(x).
3479 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3480 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3481 exceptions.
3482
bcc8d661
JM
3483 [BZ #11521]
3484 * math/s_ctan.c: Include <float.h>.
3485 (__ctan): Avoid internal overflow or cancellation in calculating
3486 denominator.
3487 * math/s_ctanf.c: Likewise.
3488 * math/s_ctanl.c: Likewise.
3489 * math/s_ctanh.c: Likewise.
3490 * math/s_ctanhf.c: Likewise.
3491 * math/s_ctanhl.c: Likewise.
3492 * math/libm-test.inc (ctan_test): Add more tests.
3493 (ctanh_test): Likewise.
3494 * sysdeps/i386/fpu/libm-test-ulps: Update.
3495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3496
823fbbb4
AJ
34972012-04-09 Andreas Jaeger <aj@suse.de>
3498
03879793
AJ
3499 [BZ #6894]
3500 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3501 is an optional BSD extension.
3502
823fbbb4
AJ
3503 [BZ #10254]
3504 * manual/stdio.texi (Opening Streams): Document additional fopen
3505 parameters.
3506
8de131cb
RM
35072012-04-09 Roland McGrath <roland@hack.frob.com>
3508
3509 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3510 %eax without telling the compiler.
3511
c0ed9d7d
CD
35122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3513
3514 [BZ # 13963]
3515 * manual/install.texi: Use sourceware.org.
3516
c483f6b4
JM
35172012-04-09 Joseph Myers <joseph@codesourcery.com>
3518
d7dd9453
JM
3519 [BZ #13873]
3520 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3521 (__ieee754_pow): Generate overflow and underflow using huge*huge
3522 and tiny*tiny rather than just returning constant infinity or zero
3523 for large exponents.
3524 * math/libm-test.inc (pow_test): Require overflow exceptions for
3525 applicable cases of large exponents.
3526
c483f6b4
JM
3527 [BZ #706]
3528 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3529 (__ieee754_pow): Use iterative multiplication algorithm only for
3530 integer exponents with absolute value below 1024. Check for odd
3531 integer exponents when using algorithm for real exponents.
3532 * math/libm-test.inc (pow_test): Add more tests.
3533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3534
d2de7579
JM
35352012-04-08 Joseph Myers <joseph@codesourcery.com>
3536
3537 [BZ #13705]
3538 * math/libm-test.inc (exp_test): Do not allow overflow exception
3539 on underflow test.
3540
f77f1232
AJ
35412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3542
3543 [BZ #13705]
3544 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3545 instead of __kernel_standard_f.
3546
3884932b
MF
35472012-04-08 Mike Frysinger <vapier@gentoo.org>
3548
3549 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3550 * sysdeps/x86_64/memset_chk.S: Likewise.
3551
54472e9c
AJ
35522012-04-08 Andreas Jaeger <aj@suse.de>
3553
6ab0fbfc
AJ
3554 [BZ #10153]
3555 * manual/startup.texi (Environment Access): Describe return value
3556 for putenv and setenv.
3557
61efba8c
AJ
3558 [BZ #6895]
3559 * manual/filesys.texi (Directory Entries): Add description for
3560 DT_LNK.
3561
95c3f29a
AJ
3562 [BZ #6890]
3563 * manual/filesys.texi (Directory Entries): Clarify that it's file
3564 system not operating system in the description of DT_UNKNOWN.
3565
54472e9c
AJ
3566 [BZ #6578]
3567 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3568
624254b1
SC
35692012-04-08 Stephen Compall <s11@member.fsf.org>
3570
3571 [BZ #6649]
3572 * manual/llio.texi (Opening and Closing Files): Add cross
3573 reference to explain mode argument.
3574
1e4920e0
MF
35752012-04-07 Mike Frysinger <vapier@gentoo.org>
3576
3577 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3578 * sysdeps/x86_64/memset_chk.S: Likewise.
3579
5ed848f3
DM
35802012-04-07 David S. Miller <davem@davemloft.net>
3581
3582 * elf/elf.h (R_SPARC_WDISP10): Define.
3583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3584 R_SPARC_SIZE32.
3585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3586 R_SPARC_SIZE64 and R_SPARC_H34.
3587
96154cd8
CD
35882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3589
3590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3591 conditions and remove no longer applicable assertion.
3592
9904dc47
L
35932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3594
3595 * bits/byteswap.h: Include <features.h>.
3596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3598
f8887d0a
L
35992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3600
3601 * bits/byteswap.h (__bswap_16): Removed.
3602 Include <bits/byteswap-16.h> to get __bswap_16.
3603 * sysdeps/i386/bits/byteswap.h: Likewise.
3604 * sysdeps/s390/bits/byteswap.h: Likewise.
3605 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3606 * bits/byteswap-16.h: New file.
3607 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3608 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3609 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3610 * string/Makefile (headers): Add bits/byteswap-16.h.
3611
62470f60
PP
36122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3613
3614 [BZ #13895]
3615 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3616 extra indirection.
3617 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3618 * nss/tst-nss-static.c: New.
3619
4dad7bab
RM
36202012-04-06 Robert Millan <rmh@gnu.org>
3621
3622 [BZ #6486]
3623 * manual/llio.texi (File Position Primitive): lseek
3624 refers to WHENCE when it really means OFFSET.
3625
e9142a17
AJ
36262012-04-06 Andreas Jaeger <aj@suse.de>
3627
2c040eff
AJ
3628 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3629 strncmp declarations.
3630
e9142a17
AJ
3631 * abilist/libc.abilist: Add __poll and __ppoll.
3632
ff9f1c5f
DM
36332012-04-05 David S. Miller <davem@davemloft.net>
3634
dcd2ae90
DM
3635 * scripts/check-local-headers.sh: Accept a host triplet in the
3636 path matched by the exclude regexp.
3637
993eb054
DM
3638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3639 definition.
3640 * sysdeps/powerpc/powerpc32/dl-machine.h
3641 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3642 * sysdeps/s390/s390-32/dl-machine.h
3643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3644 * sysdeps/sparc/sparc32/dl-machine.h
3645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3646 * sysdeps/sparc/sparc64/dl-machine.h
3647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3648
ff9f1c5f
DM
3649 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3650 lazy binding.
48e2e132 3651 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3652 undefined symbol errors.
3653
48e2e132 3654 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3655 DT_NEEDED entries.
3656
e80d6f94
MM
36572012-04-05 Michael Matz <matz@suse.de>
3658
3659 [BZ #13592]
3660 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3661
349fa79f
AJ
36622012-04-05 Andreas Jaeger <aj@suse.de>
3663
3664 [BZ #13908]
3665 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3666 comment.
3667
f402708f
KK
36682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3669
3670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3671 which ROUND is no valid rounding mode.
3672
2ecccfc9
KK
36732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3674
3675 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3676 read again.
3677 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3678
8a53f50f
KK
36792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3680
3681 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3682 an exception using FPU order intentionally.
3683
36842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3685
3686 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3687 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3688 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3689 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3690
d653abb7
SJ
36912012-04-05 Simon Josefsson <simon@josefsson.org>
3692
3693 [BZ #12340]
3694 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3695 EINVAL when BUFLEN is too smal.
3696
c3b1bf7d
TS
36972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3698
3699 [BZ #13553]
3700 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3701 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3702
b1aa60f3
AJ
37032012-04-03 Andreas Jaeger <aj@suse.de>
3704
c3b1bf7d 3705 [BZ #13938]
67f60a26
AJ
3706 * manual/setjmp.texi (System V contexts): Fix sentence.
3707
b1aa60f3
AJ
3708 [BZ #13926]
3709 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3710 New macro for this case.
3711 [!__GNUC__] (__bswap_64): New inline function for this case.
3712 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3713 * bits/byteswap.h: Likewise.
3714 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3715 ull, guard with __GLIBC_HAVE_LONG_LONG.
3716
3717 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3718 __GLIBC_HAVE_LONG_LONG.
3719
3720 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3721 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3722
39c59c35
TMQMF
37232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3724
3725 [BZ #13691]
3726 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3727 inptr and inend, rather than using last_ch.
3728
135ffda8
DM
37292012-04-02 David S. Miller <davem@davemloft.net>
3730
3731 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3732 * stdio-common/printf-parse.h (read_int): Change return type to
3733 'int', return -1 on INT_MAX overflow.
3734 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3735 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3736 overflows INT_MAX. Check for overflow of in-format-string precision
3737 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3738 SIZE_MAX not INT_MAX for integer overflow test.
3739 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3740 skip the construct in the format string but do not record anything.
3741 * stdio-common/bug22.c: Adjust to test both width/prevision
3742 INT_MAX overflow as well as total length INT_MAX overflow. Check
3743 explicitly for proper errno values.
3744
228c019e
TS
37452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3746
302cadd3
TS
3747 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3748 CHAR_MAX.
3749 * string/test-strcmp.c [! WIDE]: Likewise.
3750 * time/tst-mktime2.c: Likewise for INT_MAX.
3751 * string/test-string.h: #include <sys/param.h> for MIN.
3752
228c019e
TS
3753 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3754 * sysdeps/i386/init-first.c (init): Likewise.
3755 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3756 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3757 * sysdeps/sh/init-first.c (init): Likewise.
3758
cfa633f5
UD
37592012-04-01 Ulrich Drepper <drepper@gmail.com>
3760
3761 * po/ru.po: Update from translation team.
d1635ef8 3762 * po/vi.po: Likewise.
cfa633f5 3763
6cd0a5ea
SP
37642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3765
3766 * resolv/nss_dns/dns-host.c: Merge copyright years.
3767
4b43400f
LD
37682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3769
3770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3771 Optimize memcpy with prefetch if
3772 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3773 src, dst pointers have unequal 16 byte alignments.
3774
48c41d04
SP
37752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3776
3777 [BZ #13928]
3778 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3779 from a CNAME entry and return the minimum ttl for the query.
3780 (gaih_getanswer_slice): Likewise.
3781
b8dc394d
JL
37822012-03-30 Jeff Law <law@redhat.com>
3783
3784 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3785 due to long keys.
3786 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3787 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3788
2f5a5ed0
JL
3789 * resolv/nss_dns/dns-host.c: Update copyright year.
3790
1d39e359
UD
37912012-03-30 Ulrich Drepper <drepper@gmail.com>
3792
c030f70c 3793 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3794 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3795
1d39e359
UD
3796 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3797 comments for sendmmsg.
3798
37992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3800
3801 [BZ #13691]
3802 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3803 with only 1 character between 0x0041 and 0x01b0.
3804 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3805 * wcsmbs/tst-mbsnrtowcs.c: New file.
3806
20fde227
DM
38072012-03-29 David S. Miller <davem@davemloft.net>
3808
3809 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3810 small copies by hand.
3811
984a4237
JL
38122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3813
3814 [BZ #13761]
3815 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3816 _nss_compat_initgroups_dyn): Fall back to malloc/free
3817 for large group memberships.
3818
18c9d62b
DM
38192012-03-28 David S. Miller <davem@davemloft.net>
3820
88d85d4f
DM
3821 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3822 that branches into memcpy.
3823 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3826 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3828 bits.
3829 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3830 implementation too.
3831 * sysdeps/sparc/mempcpy.S: New file.
3832
e5aa83e1
DM
3833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3834 the IFUNC routine in the libc case.
3835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3836
88570753
DM
3837 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3838 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3839 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3840 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3841 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3842 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3843 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3844 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3845
249d7567
DM
3846 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3847 loop to 256 bytes instead of 64 bytes and fix test signedness.
3848
18c9d62b
DM
3849 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3850 * sysdeps/sparc/sparc32/Makefile: rather than here...
3851 * sysdeps/sparc/sparc64/Makefile: and here.
3852
05f3d1f6
UD
38532012-03-28 Ulrich Drepper <drepper@gmail.com>
3854
3855 * malloc/mallocbug.c: Avoid warnings about unused variables.
3856
86ae07a8
JL
38572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 [BZ #13760]
3860 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3861 in the right place. Discard and retry query if response is
3862 larger than input buffer size.
3863
41bf21a1
JM
38642012-03-28 Joseph Myers <joseph@codesourcery.com>
3865
d6270972
JM
3866 [BZ #369]
3867 [BZ #2678]
3868 [BZ #3866]
3869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3870 x for large integer exponent.
3871 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3872 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3873 sign of result as needed afterwards.
3874 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3875 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3876 result for underflowing pow the same as for overflow.
3877 (__kernel_standard_l): Handle powl overflow and underflow here
3878 rather than calling __kernel_standard.
3879 * math/libm-test.inc (pow_test): Add more tests.
3880
414fca03 3881 [BZ #3868]
41bf21a1
JM
3882 [BZ #13879]
3883 [BZ #13910]
3884 [BZ #13911]
3885 [BZ #13912]
3886 [BZ #13913]
3887 [BZ #13915]
3888 [BZ #13916]
3889 [BZ #13917]
3890 [BZ #13918]
3891 [BZ #13919]
3892 [BZ #13920]
3893 [BZ #13921]
3894 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3895 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3896 (__kernel_standard_l): New function.
3897 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3898 __kernel_standard.
3899 * math/w_acosl.c (__acosl): Likewise.
3900 * math/w_asinl.c (__asinl): Likewise.
3901 * math/w_atan2l.c (__atan2l): Likewise.
3902 * math/w_atanhl.c (__atanhl): Likewise.
3903 * math/w_coshl.c (__coshl): Likewise.
3904 * math/w_exp10l.c (__exp10l): Likewise.
3905 * math/w_exp2l.c (__exp2l): Likewise.
3906 * math/w_fmodl.c (__fmodl): Likewise.
3907 * math/w_hypotl.c (__hypotl): Likewise.
3908 * math/w_j0l.c (__j0l, __y0l): Likewise.
3909 * math/w_j1l.c (__j1l, __y1l): Likewise.
3910 * math/w_jnl.c (__jnl, __ynl): Likewise.
3911 * math/w_lgammal.c (__lgammal): Likewise.
3912 * math/w_log10l.c (__log10l): Likewise.
3913 * math/w_log2l.c (__log2l): Likewise.
3914 * math/w_logl.c (__logl): Likewise.
3915 * math/w_powl.c (__powl): Likewise.
3916 * math/w_remainderl.c (__remainderl): Likewise.
3917 * math/w_scalbl.c (sysv_scalbl): Likewise.
3918 * math/w_sinhl.c (__sinhl): Likewise.
3919 * math/w_sqrtl.c (__sqrtl): Likewise.
3920 * math/w_tgammal.c (__tgammal): Likewise.
3921 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3922 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3923 * math/libm-test.inc (acos_test): Add more tests.
3924 (acosh_test): Likewise.
3925 (asin_test): Likewise.
3926 (atanh_test): Likewise.
3927 (exp_test): Likewise.
3928 (exp10_test): Likewise.
3929 (exp2_test): Likewise.
3930 (expm1_test): Likewise.
3931 (lgamma_test): Likewise.
3932 (log_test): Likewise.
3933 (log10_test): Likewise.
3934 (log1p_test): Likewise.
3935 (log2_test): Likewise.
3936 (pow_test): Do not allow some spurious overflow exceptions.
3937 (sqrt_test): Add more tests.
3938 (tgamma_test): Likewise.
3939 (y0_test): Likewise.
3940 (y1_test): Likewise.
3941 (yn_test): Likewise.
3942
dd62fda6
AB
39432012-03-27 Anton Blanchard <anton@samba.org>
3944
3945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3946 MAP_HUGETLB.
3947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3948 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3950
1e3cdfda
AJ
39512012-03-27 David S. Miller <davem@davemloft.net>
3952
b855ab85
DM
3953 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3954
1e3cdfda
AJ
3955 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3956 have-as-vis3 check.
3957
39582012-03-27 Andreas Jaeger <aj@suse.de>
3959
3960 * sysdeps/x86_64/elf/configure.in: Moved to ...
3961 * sysdeps/x86_64/configure.in: ... here.
3962 * sysdeps/x86_64/elf/start.S: Moved to ...
3963 * sysdeps/x86_64/start.S: ... here.
3964 * sysdeps/x86_64/elf/configure: Delete.
3965
3966 * sysdeps/x86_64/configure.in: Merge contents from
3967 sysdeps/i386/configure.in (without i686 check).
3968
3969 * sysdeps/i386/elf/Versions: Merge into ...
3970 * sysdeps/i386/Versions: ... this.
3971 * sysdeps/i386/elf/Versions: Delete file.
3972 * sysdeps/i386/elf/start.S: Moved to ...
3973 * sysdeps/i386/start.S: ...here.
3974 * sysdeps/i386/elf/configure.in: Merge into...
3975 * sysdeps/i386/configure.in: ...here.
3976 * sysdeps/i386/elf/configure.in: Delete file.
3977 * sysdeps/i386/elf/configure: Delete file.
3978
3979 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3980 * debug/backtracesyms.c: ... here.
3981 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3982 * debug/backtracesymsfd.c: ... here.
3983 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3984 * sysdeps/generic/ifunc-sel.h: ... here.
3985
3986 * sysdeps/unix/i386/start.c: Delete file.
3987 * sysdeps/unix/sparc/start.c: Delete file.
3988 * sysdeps/unix/start.c: Delete file.
3989
3990 * sysdeps/sh/elf/configure.in: Moved to ...
3991 * sysdeps/sh/configure.in: ... here.
3992 * sysdeps/sh/elf/start.S: Moved to ...
3993 * sysdeps/sh/start.S: ... here.
3994 * sysdeps/sh/elf/configure: Delete file.
3995
3996 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3997 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3998 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3999 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4000 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4001 * sysdeps/powerpc/powerpc64/start.S: here.
4002 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4003 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4004 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4005 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4006 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4007
4008 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4009 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4010 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4011 * sysdeps/powerpc/powerpc32/start.S: ... here.
4012 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4013 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4014 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4015
4016 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4017 * sysdeps/powerpc/ifunc-sel.h: ... here.
4018 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4019 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4020
4021 * sysdeps/sparc/elf/configure.in: Moved to ...
4022 * sysdeps/sparc/configure.in: ... here.
4023 * sysdeps/sparc/elf/configure: Delete file.
4024 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4025 * sysdeps/sparc/sparc32/start.S: ... here.
4026 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4027 * sysdeps/sparc/sparc64/start.S: ... here.
4028 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4029 * sysdeps/sparc/sparc32/Makefile: ... this.
4030 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4031 * sysdeps/sparc/sparc64/Makefile: ... this.
4032
4033 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4034 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4035 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4036 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4037 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4038 * sysdeps/s390/s390-32/setjmp.S: ... here.
4039 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4040 * sysdeps/s390/s390-32/configure.in: ... here.
4041 * sysdeps/s390/s390-32/elf/configure: Delete file.
4042 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4043 * sysdeps/s390/s390-32/start.S: ... here.
4044
4045 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4046 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4047 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4048 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4049 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4050 * sysdeps/s390/s390-64/setjmp.S: ... here.
4051 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4052 * sysdeps/s390/s390-64/configure.in: ... here
4053 * sysdeps/s390/s390-64/elf/configure: Delete file.
4054 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4055 * sysdeps/s390/s390-64/start.S: ... here.
4056 * sysdeps/s390/s390-64/elf/configure: Delete.
4057
4058 * configure.in: Remove support for elf directories in sysdeps.
4059
4060 * configure: Regenerated.
4061 * sysdeps/i386/configure: Regenerated.
4062 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4063 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4064 * sysdeps/s390/s390-32/configure: Regenerated.
4065 * sysdeps/s390/s390-64/configure: Regenerated.
4066 * sysdeps/sh/configure: Regenerated.
4067 * sysdeps/sparc/configure: Regenerated.
4068 * sysdeps/x86_64/configure: Regenerated.
4069
a3f61311
AS
40702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4071
c876e002
AS
4072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4073
a3f61311
AS
4074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4075 denormal result into account.
4076
ac4c54f0
RM
40772012-03-25 Roland McGrath <roland@hack.frob.com>
4078
4079 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4080 Reported by Allan McRae <allan@archlinux.org>.
4081
6a9b9c02
JL
40822012-03-23 Jeff Law <law@redhat.com>
4083
4084 * nss/getnssent.c (__nss_getent): Fix typo.
4085
4c42a0c1
DM
40862012-03-23 David S. Miller <davem@davemloft.net>
4087
4088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4089
1532c7ac
L
40902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4091
4092 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4093 to pad to uint64_t for each field.
4094 (dl_tls_index): Replace unsigned long with uint64_t.
4095
3ff42526
PP
40962012-03-23 Daniel Jacobowitz <dmj@google.com>
4097 Paul Pluzhnikov <ppluzhnikov@google.com>
4098
4099 [BZ #6528]
4100 * grp/Makefile (otherlibs): Don't set it.
4101 * inet/Makefile (otherlibs): Likewise.
4102 * login/Makefile (otherlibs): Likewise.
4103 * nscd/Makefile (otherlibs): Likewise.
4104 * posix/Makefile (otherlibs): Likewise.
4105 * pwd/Makefile (otherlibs): Likewise.
4106 * rt/Makefile (otherlibs): Likewise.
4107 * sunrpc/Makefile (otherlibs): Likewise.
4108 * nss/Makefile (otherlibs): Likewise.
4109 Add libnss_files to routines and static-only-routines.
4110 ($(objpfx)getent): Remove rule.
4111 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4112 static-only-routines.
4113
7c69cd14
JM
41142012-03-22 Joseph Myers <joseph@codesourcery.com>
4115
4116 [BZ #13892]
4117 * math/s_cexp.c: Include <float.h>.
4118 (__cexp): Handle exp result overflowing not necessarily
4119 overflowing both real and imaginary parts of result.
4120 * math/s_cexpf.c: Likewise.
4121 * math/s_cexpl.c: Likewise.
4122 * math/libm-test.inc (cexp_test): Add more tests.
4123 * sysdeps/i386/fpu/libm-test-ulps: Update.
4124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4125
81b035fe
L
41262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4127
4128 * include/link.h (ELFW): New macro.
4129 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4130 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4131
1da7940c
L
41322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4135 with uint64_t.
4136
b749dbb9
L
41372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4140 declaration.
4141 (struct La_x32_retval): Likewise.
4142
2ff87f3f
L
41432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * sysdeps/x86_64/preconfigure.in: New file.
4146 * sysdeps/x86_64/preconfigure: New generated file.
4147
c0df8e69
JM
41482012-03-22 Joseph Myers <joseph@codesourcery.com>
4149
48e44791
JM
4150 [BZ #13824]
4151 * math/e_exp2l.c: Include <float.h>.
4152 (__ieee754_exp2l): Handle overflow and underflow cases
4153 separately. Only pass fractional part of argument to
4154 __ieee754_expl.
4155 * math/libm-test.inc (exp2_test): Add more tests.
4156
c0df8e69
JM
4157 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4158 negating x to take absolute value.
4159 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4160 Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4163 Likewise.
4164 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4165 computing low part if x was negated.
4166 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4167
c8e43ba7
L
41682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4169
4170 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4171 la_x32_gnu_pltexit.
4172 (pltexit): Cast int_retval to ptrdiff_t.
4173 * elf/tst-auditmod3b.c: Likewise.
4174 * elf/tst-auditmod4b.c: Likewise.
4175 * elf/tst-auditmod5b.c: Likewise.
4176 * elf/tst-auditmod6b.c: Likewise.
4177 * elf/tst-auditmod6c.c: Likewise.
4178 * elf/tst-auditmod7b.c: Likewise.
4179
4180 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4181 and x32_gnu_pltexit.
4182
4183 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4184 __ELF_NATIVE_CLASS.
4185 (La_x32_regs): New macro.
4186 (La_x32_retval): Likewise.
4187 (la_x32_gnu_pltenter): New function prototype.
4188 (la_x32_gnu_pltexit): Likewise.
4189
7998fa78
AS
41902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4191
dcb33988
AS
4192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4193 exponent.
4194
233fc563
AS
4195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4196
7998fa78
AS
4197 * configure.in (libc_cv_cc_nofma): Check for option to disable
4198 generation of FMA instructions.
4199 * configure: Regenerate.
4200 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4201 * sysdeps/ieee754/dbl-64/Makefile: New file.
4202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4203 Remove brandred-fma4.
4204 (CFLAGS-brandred-fma4.c): Remove.
4205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4207 define.
4208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4209 define.
4210
8e95c99a
L
42112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4214 LLONG_MAX != LONG_MAX.
4215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4216 (_fitoa_word): Likewise.
4217 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4218 LLONG_MAX != LONG_MAX.
4219 * stdio-common/_itowa.h: Include <_itoa.h>.
4220 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4221 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4222 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4223 only if not defined.
4224 (_ITOA_WORD_TYPE): Likewise.
4225 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4226 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4227
6f4db457
DM
42282012-03-21 David S. Miller <davem@davemloft.net>
4229
4230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4231
7785fe5a
L
42322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4233
4234 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4235 of x86_64 when setting libc_cv_slibdir, libdir and
4236 libc_cv_localedir.
4237 * sysdeps/unix/sysv/linux/configure: Regenerated.
4238
4535cd55
JM
42392012-03-21 Joseph Myers <joseph@codesourcery.com>
4240
4241 * manual/lang.texi (Old Varargs): Remove section.
4242 (How Variadic): Update menu.
4243 (va_start): Do not mention varargs.h.
4244
17228132
TS
42452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4246 Joseph Myers <joseph@codesourcery.com>
4247
4248 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4249 link test.
4250 * configure: Regenerated.
4251
8149f976
TS
42522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4253
05f3d1f6
UD
4254 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4255 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4256 conformtest.pl
8149f976 4257
1a4ac776
JM
42582012-03-21 Joseph Myers <joseph@codesourcery.com>
4259
be22ce65
JM
4260 * NOTES: Remove.
4261 * Makefile (files-for-dist): Remove NOTES.
4262 (NOTES): Remove rule.
4263 * README: Don't refer to NOTES.
4264 * manual/creature.texi: Don't include macros.texi.
4265 * manual/intro.texi (creature.texi): Remove comment referring to
4266 NOTES.
4267
40b601fb
JM
4268 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4269 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4270 * configure: Regenerated.
4271 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4272 LIBC_TRY_CC_OPTION.
4273 (libc_cv_as_i686): Likewise.
4274 (libc_cv_cc_avx): Likewise.
4275 (libc_cv_cc_sse2avx): Likewise.
4276 (libc_cv_cc_fma4): Likewise.
4277 (libc_cv_cc_novzeroupper): Likewise.
4278 * sysdeps/i386/configure: Regenerated.
4279
1a4ac776
JM
4280 [BZ #13883]
4281 * sysdeps/i386/fpu/s_cexp.S: Remove.
4282 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4283 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4284 * math/libm-test.inc (cexp_test): Add more tests.
4285 * sysdeps/i386/fpu/libm-test-ulps: Update.
4286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287
a458e7fe
AM
42882012-03-21 Allan McRae <allan@archlinux.org>
4289
4290 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4291
0cb7efc5
JM
42922012-03-21 Joseph Myers <joseph@codesourcery.com>
4293
4294 [BZ #13871]
4295 * math/w_exp2.c: Do not include <float.h>.
4296 (o_threshold, u_threshold): Remove.
4297 (__exp2): Calculate result before checking finiteness and calling
4298 __kernel_standard.
4299 * math/w_exp2f.c: Likewise.
4300 * math/w_exp2l.c: Likewise.
4301 * math/libm-test.inc (exp2_test): Require overflow exception for
4302 1e6 input.
2460d3aa
JM
4303
4304 [BZ #3866]
4305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4306 range of signed 64-bit integers before using fistpll. Remove
4307 checks for whether integers fit in mantissa bits.
4308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4309 the range of signed 32-bit integers before using fistpl. Remove
4310 checks for whether integers fit in mantissa bits.
4311 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4312 (__ieee754_powl): Test for y outside the range of signed 64-bit
4313 integers before using fistpll. Reduce 64-bit values to 63-bit
4314 ones as needed.
4315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4316 divide-by-zero is raised for zero to large negative powers.
4317 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4318 (__ieee754_powl): Test for y outside the range of signed 64-bit
4319 integers before using fistpll. Reduce 64-bit values to 63-bit
4320 ones as needed.
4321 * math/libm-test.inc (pow_test): Add more tests.
4322
eb96ffb0
L
43232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4324
4325 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4326 <stdio-common/_itoa.h>.
4327 * debug/segfault.c: Likewise.
4328 * elf/dl-cache.c: Likewise.
4329 * elf/dl-minimal.c: Likewise.
4330 * elf/dl-misc.c: Likewise.
4331 * elf/dl-sysdep.c: Likewise.
4332 * elf/dl-version.c: Likewise.
4333 * elf/rtld.c: Likewise.
4334 * hurd/hurdsock.c: Likewise.
4335 * hurd/lookup-retry.c: Likewise.
4336 * malloc/malloc.c: Likewise.
4337 * malloc/mtrace.c: Likewise.
4338 * nscd/nscd_getgr_r.c: Likewise.
4339 * nscd/nscd_getpw_r.c: Likewise.
4340 * nscd/nscd_getserv_r.c: Likewise.
4341 * posix/getopt_init.c: Likewise.
4342 * posix/wordexp.c: Likewise.
4343 * stdio-common/_itoa.c: Likewise.
4344 * stdio-common/printf_fphex.c: Likewise.
4345 * stdio-common/vfprintf.c: Likewise.
4346 * string/_strerror.c: Likewise.
4347 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4348 * sysdeps/i386/i686/hp-timing.h: Likewise.
4349 * sysdeps/mach/_strerror.c: Likewise.
4350 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4351 * sysdeps/mach/hurd/sethostid.c: Likewise.
4352 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4353 * sysdeps/mach/xpg-strerror.c: Likewise.
4354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4356 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4357 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4358 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4359 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4360 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4361 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4362 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4363 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4364 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4365 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4368 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4369 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4370 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4371 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4372 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4373 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4375
4376 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4377
4378 * stdio-common/_itoa.h: Moved to ...
4379 * sysdeps/generic/_itoa.h: Here.
4380
4381 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4382
4383 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4384 instead of "_itoa.h" and "_itowa.h".
4385 * stdio-common/vfprintf.: Likewise.
4386
d1af992d
L
43872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4390 <bits/wordsize.h>.
4391 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4392 (__signbit): Likwise.
4393 (llrintf): Likwise.
4394 (llrint): Likwise.
4395
114883e0
L
43962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4399 __WORDSIZE != 64.
4400
c135cc1b
JM
44012012-03-20 Joseph Myers <joseph@codesourcery.com>
4402
4403 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4404 OVERFLOW_EXCEPTION_OK.
4405 * math/libm-test.inc ("Philosophy"): Update comment about
4406 exception testing.
4407 (OVERFLOW_EXCEPTION): Define.
4408 (OVERFLOW_EXCEPTION_OK): Likewise.
4409 (INVALID_EXCEPTION_OK): Renumber.
4410 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4411 (IGNORE_ZERO_INF_SIGN): Likewise.
4412 (test_exceptions): Handle FE_OVERFLOW.
4413 (exp10_test): Expect overflow exceptions.
4414 (exp2_test): Likewise.
4415 (expm1_test): Likewise.
4416 (nextafter_test): Likewise.
4417 (pow_test): Likewise.
4418 (scalbn_test): Likewise.
4419 (scalbln_test): Likewise.
4420
95443d88
L
44212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * sysdeps/x86_64/bits/atomic.h
4424 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4425 64bit integer.
4426 (atomic_exchange_acq): Likewise.
4427 (__arch_exchange_and_add_body): Likewise.
4428 (__arch_add_body): Likewise.
4429 (atomic_add_negative): Likewise.
4430 (atomic_add_zero): Likewise.
4431
490df6c4
L
44322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4433
c2722551 4434 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4435 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4436
5e52b189
L
44372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4440 Check __x86_64__ instead of __WORDSIZE.
4441
a9879d4c
L
44422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4445
5df98260
DM
44462012-03-19 David S. Miller <davem@davemloft.net>
4447
e1497744
DM
4448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4449
5df98260
DM
4450 * sysdeps/sparc/fpu/fenv_private.h: New file.
4451 * sysdeps/sparc/fpu/math_private.h: Use it.
4452 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4453 Remove.
4454 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4455 (libc_feholdexcept_setroundl): Remove.
4456 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4457 Remove.
4458 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4459 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4460
b4c35121
L
44612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4464 int64_t instead of long int.
4465 (INSERT_WORDS64): Likwise.
4466
56965fd7
L
44672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4470 _Unwind_GetCFA return to _Unwind_Ptr first.
4471
83d1aec8
JM
44722012-03-19 Joseph Myers <joseph@codesourcery.com>
4473
1897ad44
JM
4474 [BZ #13629]
4475 * math/s_clog.c: Include <float.h>.
4476 (__clog): Scale large or subnormal inputs.
4477 * math/s_clogf.c: Likewise.
4478 * math/s_clogl.c: Likewise.
4479 * math/s_clog10.c: Include <float.h>.
4480 (M_LOG10_2): Define.
4481 (__clog10): Scale large or subnormal inputs.
4482 * math/s_clog10f.c: Likewise.
4483 * math/s_clog10l.c: Likewise.
4484 * math/libm-test.inc (clog_test): Add more tests.
4485 (clog10_test): Likewise.
4486 * sysdeps/i386/fpu/libm-test-ulps: Update.
4487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4488
7726d6a9
JM
4489 [BZ #11451]
4490 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4491 x and y.
4492 * math/libm-test.inc (atan2_test): Add another test.
4493
83d1aec8
JM
4494 * Makerules (common-objdir-compile): Remove.
4495 * sysdeps/unix/Makefile (config-generated): Do not add
4496 $(unix-generated) to variable.
4497 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4498 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4499 Remove rule.
4500 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4501 Likewise.
4502 [generic bits/local_lim.h] (before-compile): Do not append to
4503 variable.
4504 [generic bits/local_lim.h] (common-generated): Likewise.
4505 [generic sys/param.h] (before-compile): Do not append to variable.
4506 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4507 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4508 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4509 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4510 include.
4511 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4512 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4513 [generic sys/param.h] ($(addprefix
4514 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4515 [generic sys/param.h] (common-generated): Do not append to
4516 variable.
4517 [generic sys/param.h] (sysdep_headers): Likewise.
4518 [generic bits/errno.h] (before-compile): Do not append to
4519 variable.
4520 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4521 rule.
4522 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4523 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4524 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4525 [generic bits/errno.h] (common-generated): Do not append to
4526 variable.
4527 [generic bits/ioctls.h] (before-compile): Do not append to
4528 variable.
4529 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4530 rule.
4531 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4532 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4533 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4534 rule.
4535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4536 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4537 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4538 [generic bits/ioctls.h] (common-generated): Do not append to
4539 variable.
4540 [generic sys/syscall.h] (syscall.h): Remove variable.
4541 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4542 rule.
4543 [generic sys/syscall.h] (before-compile): Do not append to
4544 variable.
4545 [generic sys/syscall.h] (common-generated): Likewise.
4546 * sysdeps/unix/errnos-tmpl.c: Remove file.
4547 * sysdeps/unix/errnos.awk: Likewise.
4548 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4549 * sysdeps/unix/ioctls.awk: Likewise.
4550 * sysdeps/unix/mk-local_lim.c: Likewise.
4551 * sysdeps/unix/snarf-ioctls: Likewise.
4552
4851a949
RH
45532012-03-19 Richard Henderson <rth@twiddle.net>
4554
bd37f2ee
RH
4555 * sysdeps/i386/fpu/fenv_private.h: New file.
4556 * sysdeps/i386/fpu/math_private.h: Use it.
4557 (math_opt_barrier, math_force_eval): Remove.
4558 (libc_feholdexcept_setround_53bit): Remove.
4559 (libc_feupdateenv_53bit): Remove.
4560 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4561 (math_opt_barrier, math_force_eval): Remove.
4562 (libc_feholdexcept): Remove.
4563 (libc_feholdexcept_setround): Remove.
4564 (libc_fetestexcept, libc_fesetenv): Remove.
4565 (libc_feupdateenv_test): Remove.
4566 (libc_feupdateenv, libc_feholdsetround): Remove.
4567 (libc_feresetround): Remove.
4568
d0adc922
RH
4569 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4570 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4571
0fe0f1f8
RH
4572 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4573 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4574 (libc_feupdateenv_testl): New.
4575 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4576 (libc_feupdateenv_testf): New.
4577 (libc_feupdateenv): Use libc_feupdateenv_test.
4578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4579 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4580
eb92c487
RH
4581 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4582 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4583 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4584 (libc_feresetround_noex): New.
4585 (libc_feresetround_noexf): New.
4586 (libc_feresetround_noexl): New.
4587 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4588 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4589 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4590 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4591 SET_RESTORE_ROUND.
4592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4594 (__cos): Likewise.
4595 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4596 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4597 SET_RESTORE_ROUND_NOEX.
4598 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4599 SET_RESTORE_ROUND_NOEXF.
4600 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4601 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4602 (libc_feholdsetroundf): New.
4603 (libc_feresetround, libc_feresetroundf): New.
4604
7d2e8012
RH
4605 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4606 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4607 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4608
b4dabbb4
RH
4609 * sysdeps/generic/math_private.h: Include <fenv.h>.
4610 (default_libc_feholdexcept): New.
4611 (default_libc_feholdexcept_setround): New.
4612 (default_libc_fesetenv, default_libc_feupdateenv): New.
4613 (libc_feholdexcept): Only define if undefined.
4614 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4615 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4616 (libc_feholdexcept_setroundl): Likewise.
4617 (libc_feholdexcept_setround_53bit): Likewise.
4618 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4619 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4620 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4621 (libc_feupdateenv_53bit): Likewise.
4622 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4623 (libc_feholdexcept): Convert from macro to inline function.
4624 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4625 (libc_fesetenv, libc_feupdateenv): Likewise.
4626
4851a949
RH
4627 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4628 not previously defined.
4629 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4630 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4631 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4632 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4633 * sysdeps/ieee754/flt-32/math_private.h: New file.
4634 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4635 math_private.h below SET_FLOAT_WORD.
4636 (__isnan, __isinf_ns, __finite): Remove.
4637 (__isnanf, __isinf_nsf, __finitef): Remove.
4638
e79d442e
AS
46392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4640
4641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4642
90b80344
DM
46432012-03-17 David S. Miller <davem@davemloft.net>
4644
4645 [BZ #6471]
4646 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4647 for 2.16.
4648
edc21804
DM
46492012-03-16 David S. Miller <davem@davemloft.net>
4650
77e927af
DM
4651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4652 warnings.
4653
374976dd
DM
4654 [BZ #6471]
4655 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4656 properly.
4657 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4658 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4659 sysdep_routines when subdir is sysvipc.
4660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4661 __getshmlba helper.
4662
edc21804
DM
4663 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4664
473c3ef3
L
46652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4666
4667 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4668 [__LP64__].
4669
eb0f39b6
L
46702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4673 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4674 (__lround): Renamed to ...
4675 (__llround): This. Replace long int with long long int.
4676 Define lround functions as aliases of llround functions.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4678
6b6cd74b
L
46792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4680
4681 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4682 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4683 adresses to uintptr_t. Replace "long int" and "unsigned long
4684 int" with "greg_t" on va_arg.
4685
f1a77b01
L
46862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4687
4688 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4689 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4690
4691 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4692 Move e_machine check before EI_CLASS check. Handle x32
4693 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4694 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4695 SKIP_EM_IA_64 and include
4696 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4697
4698 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4699 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4700 (add_system_dir): New macro.
4701
4702 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4703 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4704
11b90b9f
JM
47052012-03-16 Joseph Myers <joseph@codesourcery.com>
4706
c36e1d23
JM
4707 [BZ #2551]
4708 [BZ #2552]
4709 [BZ #2553]
4710 [BZ #2554]
4711 [BZ #2562]
4712 [BZ #2563]
4713 [BZ #2565]
4714 [BZ #2566]
4715 [BZ #2576]
4716 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4717 (y0): Likewise.
4718 * math/w_j0f.c (j0f): Likewise.
4719 (y0f): Likewise.
4720 * math/w_j0l.c (__j0l): Likewise.
4721 (__y0l): Likewise.
4722 * math/w_j1.c (j1): Likewise.
4723 (y1): Likewise.
4724 * math/w_j1f.c (j1f): Likewise.
4725 (y1f): Likewise.
4726 * math/w_j1l.c (__j1l): Likewise.
4727 (__y1l): Likewise.
4728 * math/w_jn.c (jn): Likewise.
4729 (yn): Likewise.
4730 * math/w_jnf.c (jnf): Likewise.
4731 (ynf): Likewise.
4732 * math/w_jnl.c (__jnl): Likewise.
4733 (__ynl): Likewise.
4734 * math/libm-test.inc (j0_test): Add more tests.
4735 (j1_test): Likewise.
4736 (jn_test): Likewise. Add trailing semicolon to existing test.
4737 (y0_test): Likewise.
4738 (y1_test): Likewise.
4739 * sysdeps/i386/fpu/libm-test-ulps: Update.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741
11b90b9f
JM
4742 [BZ #13851]
4743 [BZ #13854]
4744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4745 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4746 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4748 (__tanl): Set errno for infinite argument.
4749 * sysdeps/i386/fpu/mptan.c: Remove.
4750 * sysdeps/i386/fpu/s_tan.S: Likewise.
4751 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4752 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4753 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4754 * math/libm-test.inc (tan_test): Add more tests and enable more
4755 tests for double and long double.
4756 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4758
6a1bd2a1
JK
47592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4760
4761 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4762 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4763
10a803e0
RM
47642012-03-16 Roland McGrath <roland@hack.frob.com>
4765
4766 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4767 * configure.in: Use it for both main tree and add-ons.
4768 * configure: Regenerated.
4769
f196c7f7
L
47702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4773
8848d99d
JM
47742012-03-16 Joseph Myers <joseph@codesourcery.com>
4775
96cbe7f4
JM
4776 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4777 in comment.
4778
8848d99d
JM
4779 [BZ #13851]
4780 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4781 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4785 infinite argument.
4786 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4788 != 0 for prec == 2.
4789 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4790 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4791 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4792 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4793 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4794 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4795 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4796 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4797 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4798 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4799 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4800 * math/libm-test.inc (cos_test): Add more tests and enable more
4801 tests for long double.
4802 (sin_test): Likewise.
4803 (sincos_test): Likewise.
4804 * sysdeps/i386/fpu/libm-test-ulps: Update.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
dd7f4703
DM
48072012-03-16 David S. Miller <davem@davemloft.net>
4808
4809 * sysdeps/sparc/fpu/math_private.h: New file.
4810
006f1daa
DM
48112012-03-15 David S. Miller <davem@davemloft.net>
4812
c0c83bc8
DM
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4814 file.
e6a62e18 4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4817 file.
e6a62e18
DM
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4824 sysdep routines.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4826
88cb87d9
DM
4827 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4828 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4829
006f1daa 4830 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4832 sparc-ifunc.h
006f1daa 4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4835 Likewise.
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4837 Likewise.
006f1daa
DM
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4842 Likewise.
006f1daa
DM
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4848 Likewise.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4850 Likewise.
006f1daa
DM
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4875
11e0098e
AS
48762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4877
4878 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4879 scaling.
4880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4881
e85b09d0
AJ
48822012-03-15 Andreas Jaeger <aj@suse.de>
4883
4884 [BZ #13852]
4885 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4886 ieee754/flt-32 implementation for sin, cos and sincos.
4887 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4888 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4889 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4890 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4891 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4892 ieee754/flt-32 implementation for tan.
4893
4894 * math/libm-test.inc (cos_test): Enable some large input tests for
4895 float as well
4896 (sin_test): Likewise.
4897 (sincos_test): Likewise.
4898 (tan_test): Add tests for large input.
4899
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901
81c64153
AJ
49022012-03-15 Andreas Jaeger <aj@suse.de>
4903
4904 [BZ #13658]
4905 * math/libm-test.inc (cos_test): Add more test cases.
4906 (sin_test): Likewise.
4907 (sincos_test): Likewise.
4908
7bbfa5c6
AJ
49092012-03-15 Andreas Jaeger <aj@suse.de>
4910
4911 [BZ #13837]
4912 * math/libm-test.inc (cos_test): Add a test case for large input
4913 value.
4914 (sin_test): Likewise.
4915 (sincos_test): Likewise.
4916
49172012-03-15 Andreas Jaeger <aj@suse.de>,
4918 Joseph Myers <joseph@codesourcery.com>
4919
4920 [BZ #13658]
0671f479 4921 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4922 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4923 * sysdeps/i386/fpu/branred.c: Likewise.
4924 * sysdeps/i386/fpu/dosincos.c: Likewise.
4925 * sysdeps/i386/fpu/mpa.c: Likewise.
4926 * sysdeps/i386/fpu/s_cos.S: Likewise.
4927 * sysdeps/i386/fpu/s_sin.S: Likewise.
4928 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4929 * sysdeps/i386/fpu/sincos32.c: Likewise.
4930
4931 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4932 Define.
4933 (libc_feupdateenv_53bit): Define.
4934 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4935 Define.
4936 (libc_feupdateenv_53bit): Define.
4937
4938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4939 53 bit (without extend i386 double precision).
4940
4941 * math/libm-test.inc (sincos_test): Add tests for large input.
4942 (sin): Likewise.
4943 (cos): Likewise.
4944
4945 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4946
9cad04ea
AS
49472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4948
4949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4950
f7062b9a
DM
49512012-03-15 David S. Miller <davem@davemloft.net>
4952
4953 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4954 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4955 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4956 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4969 file.
f7062b9a 4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4972 file.
f7062b9a 4973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4975 file.
f7062b9a 4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4978 file.
f7062b9a
DM
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4981 fmin/fmax sysdep routines.
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4983
7bd951ff
DM
49842012-03-14 David S. Miller <davem@davemloft.net>
4985
559398ab
DM
4986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5015 routines.
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5017 file.
559398ab 5018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5020 file.
559398ab 5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5023 file.
559398ab 5024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5026 file.
559398ab 5027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5029 file.
559398ab 5030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5032 file.
5033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5034 file.
5035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5036 file.
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5038 file.
5039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5040 New file.
5041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5042 file.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5044 file.
559398ab 5045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5047 file.
559398ab 5048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5050 file.
559398ab 5051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5053 file.
559398ab 5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5056 VIS3 routines.
559398ab
DM
5057
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5059 New file.
5060
5a1c1e32
DM
5061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5062
eae47a36
DM
5063 * sysdeps/sparc/configure.in: New file.
5064 * sysdeps/sparc/configure: Generate.
5065 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5066 * configure: Regenerate.
5067 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5068 * config.make.in (have-as-vis3): New.
5069 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5070 available use -Av9d instead of -Av9a.
5071 * sysdeps/sparc/sparc64/Makefile: Likewise.
5072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5074 New file.
5075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5076 file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5078 New file.
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5080 file.
eae47a36
DM
5081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5086
c0c83bc8
DM
5087 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5088 fzeros/fnegs to load 0x80000000 into a float register instead of
5089 using the stack.
7bd951ff
DM
5090 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5091
bd951ccb
JM
50922012-03-14 Joseph Myers <joseph@codesourcery.com>
5093
5094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5095 bits/syscall.h.
5096 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5097 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5098 ($(inst_includedir)/bits/syscall.h): Remove rule.
5099 ($(objpfx)bits/syscall.d): Include instead of
5100 $(objpfx)syscall-list.d.
5101 (generated): Change syscall-list.h and syscall-list.d to
5102 bits/syscall.h and bits/syscall.d.
5103
bb4e6db2
RM
51042012-03-14 Roland McGrath <roland@hack.frob.com>
5105
5106 [BZ #13846]
5107 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5108
aa4a2ae1
JM
51092012-03-14 Joseph Myers <joseph@codesourcery.com>
5110
e456826d
JM
5111 [BZ #13841]
5112 * math/s_csqrt.c: Include <float.h>.
5113 (__csqrt): Scale large or subnormal inputs.
5114 * math/s_csqrtf.c: Likewise.
5115 * math/s_csqrtl.c: Likewise.
5116 * math/libm-test.inc (csqrt_test): Add more tests.
5117 * sysdeps/i386/fpu/libm-test-ulps: Update.
5118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5119
aa4a2ae1
JM
5120 [BZ #13840]
5121 * math/libm-test.inc (hypot_test): Add more tests.
5122
7c10fd35
DM
51232012-03-13 David S. Miller <davem@davemloft.net>
5124
5125 [BZ #13840]
5126 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5127 double-precision for the calculation instead of scaling.
5128
f453b98b
JM
51292012-03-13 Joseph Myers <joseph@codesourcery.com>
5130
5131 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5132 manipulate bits before adding and subtracting TWO52[sx].
5133 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5135 Likewise.
5136 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5137
09a3453f
DM
51382012-03-13 David S. Miller <davem@davemloft.net>
5139
8e59da90
DM
5140 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5141 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5143 rtld-global-offsets.h
5144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5145
2a8ab7f2
DM
5146 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5147 large parameters.
5148
10f62770
DM
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5150
5f0bdb18
DM
5151 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5152 'err' in the ifdef scope in which it is actually used.
5153
09a3453f
DM
5154 * nss/nss_db/db-init.c: Include string.h
5155
b4b2eb5e
DM
51562012-03-12 David S. Miller <davem@davemloft.net>
5157
98bb2f1c
DM
5158 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5159 masking out of the most significant byte of random value used.
5160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5161 Fix coding style in previous change.
5162
b4b2eb5e
DM
5163 * sysdeps/unix/sysv/linux/kernel-features.h
5164 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5165 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5166 expression.
5167 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5168 later.
5169
6e226b09
DM
51702012-03-11 David S. Miller <davem@davemloft.net>
5171
a1bcbd40
DM
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5173 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5174 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5175 for 'resultvar' otherwise things get truncated on 64-bit.
5176
cb9d6174
DM
5177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5178 Fix masking out of the most significant byte of random value used.
5179
6e226b09
DM
5180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5181
058c132d
AS
51822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5183
5184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5185
2d2cd515
DM
51862012-03-09 David S. Miller <davem@davemloft.net>
5187
5188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5189 variables with appropriate CPP guards.
5190 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5191 frame pointer, not the stack pointer. Correct layout comments. Fix test
5192 on resulting framesize and the management of the outregs buffer for pltexit.
5193 Preserve floating point return values across _dl_call_pltexit call.
5194 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5195 framesize and the management of the outregs buffer for pltexit.
5196 Preserve floating point return values across _dl_call_pltexit
5197 call.
5198 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5199 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5200 (print_exit): Fix format string for return register value.
5201
9a07f9d0
JM
52022012-03-10 Joseph Myers <joseph@codesourcery.com>
5203
5204 * sunrpc/Makefile (others): Add rpcgen.
5205 ($(objpfx)rpcgen): Remove special build rule and dependency on
5206 libc.
5207 * sunrpc/rpcgen.c: New file.
5208
547b5e30
PE
52092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5210
c524201a
PE
5211 [BZ #13673]
5212 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5213 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5214 * sysdeps/i386/crti.S: Likewise.
5215 * sysdeps/i386/crtn.S: Likewise.
5216 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5217 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5218 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5219 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5220 * sysdeps/sh/crti.S: Likewise.
5221 * sysdeps/sh/crtn.S: Likewise.
5222 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5223
7b6235f2
PE
5224 [BZ #13673]
5225 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5226 with URL.
5227 * locale/programs/locfile-kw.gperf: Likewise.
5228 * locale/programs/charmap-kw.h: Regenerated.
5229 * locale/programs/locfile-kw.h: Likewise.
5230
547b5e30
PE
5231 [BZ #13673]
5232 * intl/plural.y: Replace FSF snail mail address with URL.
5233 * intl/plural.c: Regenerated.
5234
5f0a5dae
RH
52352012-03-09 Richard Henderson <rth@twiddle.net>
5236
5237 * include/math_private.h: Remove file.
5238 * math/math_private.h: Move file ...
5239 * sysdeps/generic/math_private.h: ... here.
5240
b8c03620
RH
5241 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5242 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5243 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5244
4e234f5d 5245 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5246 and <math_private.h>.
5247 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5248 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5249 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5250 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5251 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5299 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5335 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5339 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5340 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5341 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5343 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5344 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5345 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5347 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5348 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5349 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5350 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5351 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5352 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5353 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5354 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5355 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5357 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5358 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5359 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5360 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5361 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5364 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5365 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5366 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5367 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5368 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5370 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5374 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5375 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5376 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5384 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5386 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5388 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5396 * sysdeps/ieee754/k_standard.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5524 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5529 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5545 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5546 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5547 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5557 * sysdeps/ieee754/s_lib_version.c: Likewise.
5558 * sysdeps/ieee754/s_matherr.c: Likewise.
5559 * sysdeps/ieee754/s_signgam.c: Likewise.
5560 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5561 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5562 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5563 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5564 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5565 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5566 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5567 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5568 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5569 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5570 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5571 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5572 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5573 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5574 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5575 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5576 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5577 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5581
1991fa03
JM
55822012-03-09 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5585 * sunrpc/rpc_main.c: Likewise.
5586 * sunrpc/rpc_svcout.c: Likewise.
5587
60d6f5a6
DM
55882012-03-09 David S. Miller <davem@davemloft.net>
5589
5590 * include/math_private.h: New file.
5591
4962050e
JM
55922012-03-09 Joseph Myers <joseph@codesourcery.com>
5593
02a6f887
JM
5594 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5595 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5596 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5597 from <bits/socket_type.h>.
5598 (enum __socket_type): Don't define here.
5599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5601 bits/socket_type.h.
5602
c6e013c1
JM
5603 [BZ #13566]
5604 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5605 checking __USE_GNU.
5606
4962050e
JM
5607 * Makerules ($(inst_includedir)/%.h): New rule.
5608 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5609 (install-others): Remove variable setting.
5610 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5611
38842f45
RH
56122012-03-08 Richard Henderson <rth@twiddle.net>
5613
67bb6da6
RH
5614 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5615 from macro to inline function; merge with the
5616 !__LIBC_INTERNAL_MATH_INLINES version.
5617 (__ieee754_sqrtf): Likewise.
5618
15194b4b
RH
5619 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5620 to inline function.
5621 (__rintf, __floor, __floorf): Likewise.
5622
64e21ede
RH
5623 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5624 macro to inline function.
5625 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5626
38842f45
RH
5627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5628 not <math/math_private.h>.
5629
c64bf5fe
DM
56302012-03-08 David S. Miller <davem@davemloft.net>
5631
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5633 copyright year.
5634 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5635
82d86f28
TS
56362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5637
5638 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5639 normalization.
5640 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5641 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5642
aea5d727
UD
56432012-03-08 Ulrich Drepper <drepper@gmail.com>
5644
5645 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5646 be defined individually, they must be defined as a block. Define
5647 S for printing a string instead of hidint the different by using a
5648 macro for adding the 'l'.
5649 * stdio-common/tst-fphex-wide.c: Adjust.
5650
70bca0a3
MP
56512012-03-07 Marek Polacek <polacek@redhat.com>
5652
5653 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5654
65b81130
MP
56552012-03-08 Marek Polacek <polacek@redhat.com>
5656
5657 [BZ #13806]
5658 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5659 * stdio-common/tst-fphex.c: Define a few macros to make the
5660 test reusable. Use them.
5661 * stdio-common/tst-fphex-wide.c: New file.
5662
07037eeb
JM
56632012-03-08 Joseph Myers <joseph@codesourcery.com>
5664
a7a93d50
JM
5665 [BZ #6911]
5666 * manual/macros.texi (gnusystems): New macro.
5667 (nongnusystems): Likewise.
5668 (gnulinuxhurdsystems): Likewise.
5669 (gnuhurdsystems): Likewise..
5670 (gnulinuxsystems): Likewise.
5671 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5672 variants of the GNU system, not "GNU system".
5673 * manual/conf.texi: Likewise.
5674 * manual/errno.texi: Likewise. Update example of errno macro
5675 expansion.
5676 * manual/filesys.texi: Likewise.
5677 (getumask): Document as specific to GNU/Hurd.
5678 * manual/install.texi: Likewise. Reword some references to
5679 GNU/Linux.
5680 * manual/intro.texi: Likewise.
5681 * manual/io.texi: Likewise.
5682 (File Name Portability): Detail which constraints are inapplicable
5683 to all GNU systems and which are only inapplicable to GNU/Hurd.
5684 * manual/job.texi: Likewise.
5685 * manual/llio.texi: Likewise.
5686 (O_NOCTTY): Document as present on GNU/Linux.
5687 * manual/maint.texi: Likewise.
5688 * manual/memory.texi: Likewise.
5689 * manual/pattern.texi: Likewise.
5690 * manual/pipe.texi: Likewise.
5691 * manual/process.texi: Likewise.
5692 * manual/resource.texi: Likewise.
5693 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5694 child on GNU/Hurd.
5695 * manual/setjmp.texi: Likewise.
5696 * manual/signal.texi: Likewise.
5697 * manual/startup.texi: Likewise.
5698 * manual/stdio.texi: Likewise.
5699 * manual/terminal.texi: Likewise.
5700 (ONLCR): Document as POSIX.
5701 (OXTABS): Document availability on GNU/Linux as XTABS.
5702 (ONOEOT): Document availability separately from other bits.
5703 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5704 * manual/time.texi: Likewise.
5705 * manual/users.texi: Likewise.
5706 * INSTALL: Regenerated.
5707 * sysdeps/gnu/errlist.c: Regenerated.
5708
07037eeb
JM
5709 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5710 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5711 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5712 puts.
5713 * configure: Regenerated.
5714
d1d3431a
JM
57152012-03-07 Joseph Myers <joseph@codesourcery.com>
5716
af6a1e37
JM
5717 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5718 default includes instead of AC_HEADER_CHECK.
5719 * sysdeps/i386/configure: Regenerated.
5720
d1d3431a
JM
5721 [BZ #10716]
5722 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5723 * math/s_cacoshf.c (__cacoshf): Likewise.
5724 * math/s_cacoshl.c (__cacoshl): Likewise.
5725 * math/s_casinh.c (__casinh): Set signs of result from argument.
5726 * math/s_casinhf.c (__casinhf): Likewise.
5727 * math/s_casinhl.c (__casinhl): Likewise.
5728 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5729 (casinh_test): Add more tests.
5730 * sysdeps/i386/fpu/libm-test-ulps: Update.
5731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5732
482ff4da
UD
57332012-03-07 Ulrich Drepper <drepper@gmail.com>
5734
872fda05
UD
5735 * po/zh_TW.po: Update from translation team.
5736
a4300c7a
UD
5737 * login/Makefile (distribute): Remove variable.
5738 * catgets/Makefile: Likewise.
5739 * mach/Makefile: Likewise.
5740 * malloc/Makefile: Likewise.
5741 * misc/Makefile: Likewise.
5742 * iconv/Makefile: Likewise.
5743 * nscd/Makefile: Likewise.
5744 * hurd/Makefile: Likewise.
5745 * manual/Makefile: Likewise.
5746 * locale/Makefile: Likewise.
5747 * intl/Makefile: Likewise.
5748 * conform/Makefile: Likewise.
5749 * nss/Makefile: Likewise.
5750 * time/Makefile: Likewise.
5751 * soft-fp/Makefile: Likewise.
5752 * dirent/Makefile: Likewise.
5753 * gmon/Makefile: Likewise.
5754 * po/Makefile: Likewise.
5755 * rt/Makefile: Likewise.
5756 * socket/Makefile: Likewise.
5757 * math/Makefile: Likewise.
5758 * signal/Makefile: Likewise.
5759 * debug/Makefile: Likewise.
5760 * elf/Makefile: Likewise.
5761 * timezone/Makefile: Likewise.
5762 * stdlib/Makefile: Likewise.
5763 * iconvdata/Makefile: Likewise.
5764 * sunrpc/Makefile: Likewise.
5765 * io/Makefile: Likewise.
5766 * argp/Makefile: Likewise.
5767 * inet/Makefile: Likewise.
5768 * hesiod/Makefile: Likewise.
5769 * grp/Makefile: Likewise.
5770 * csu/Makefile: Likewise.
5771 * wctype/Makefile: Likewise.
5772 * crypt/Makefile: Likewise.
5773 * libio/Makefile: Likewise.
5774 * string/Makefile: Likewise.
5775 * nis/Makefile: Likewise.
5776 * resolv/Makefile: Likewise.
5777 * stdio-common/Makefile: Likewise.
5778 * wcsmbs/Makefile: Likewise.
5779 * dlfcn/Makefile: Likewise.
5780 * posix/Makefile: Likewise.
5781
3b7c4e74 5782 [BZ #6959]
482ff4da
UD
5783 * timezone/Makefile: Don't install timezone files, just the programs
5784 and scripts.
5785
f72ed77d
UD
57862012-03-06 Ulrich Drepper <drepper@gmail.com>
5787
a000466f
UD
5788 * nss/databases.def: Add missing gshadow entry.
5789
f72ed77d
UD
5790 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5791
a53b7a4e
MP
57922012-03-06 Marek Polacek <polacek@redhat.com>
5793
5794 [BZ #13726]
5795 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5796 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5797 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5798 * stdio-common/tst-long-dbl-fphex.c: New file.
5799
e9258400
DM
58002012-03-06 David S. Miller <davem@davemloft.net>
5801
5802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5803 (set_obp_int): New function.
5804 (get_obp_int): New function.
5805 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5807 Avoid unused variable warnings on 'val' and use builtin_expect.
5808 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5809 __builtin_expect.
e9258400
DM
5810 (INLINE_CLONE_SYSCALL): Likewise.
5811
3bd2c723
DM
58122012-03-05 David S. Miller <davem@davemloft.net>
5813
5814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5815
bbb78d03
AS
58162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5817
884c5db4
AS
5818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819
bbb78d03
AS
5820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5821 only for |x| >= 40.
5822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5823
1c9f702a 58242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5825
5826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5827 Replace gettimeofday with __vdso_gettimeofday.
5828
7be16f82
RM
5829 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5830 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5831 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5832
5833 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5834 time with __vdso_time.
5835
ed58a00f
JM
58362012-03-05 Joseph Myers <joseph@codesourcery.com>
5837
5838 * manual/lang.texi (size_t): Note types to which size_t may be
5839 equivalent with the GNU C Library, but do not describe when
5840 differences between them are significant.
5841
30ee4ced
AJ
58422012-03-05 Andreas Jaeger <aj@suse.de>
5843
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845
b7cd39e8
JM
58462012-03-05 Joseph Myers <joseph@codesourcery.com>
5847
5848 [BZ #3976]
5849 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5850 (__ieee754_pow): Save and restore rounding mode and use
5851 round-to-nearest for main computations.
5852 * math/libm-test.inc (pow_test_tonearest): New function.
5853 (pow_test_towardzero): Likewise.
5854 (pow_test_downward): Likewise.
5855 (pow_test_upward): Likewise.
5856 (main): Call the new functions.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5859
5860 [BZ #3976]
5861 * math/libm-test.inc (cosh_test_tonearest): New function.
5862 (cosh_test_towardzero): Likewise.
5863 (cosh_test_downward): Likewise.
5864 (cosh_test_upward): Likewise.
5865 (sinh_test_tonearest): Likewise.
5866 (sinh_test_towardzero): Likewise.
5867 (sinh_test_downward): Likewise.
5868 (sinh_test_upward): Likewise.
5869 (main): Call the new functions.
5870 * sysdeps/i386/fpu/libm-test-ulps: Update.
5871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872
6c6a98c9
TV
58732012-03-05 Tom de Vries <tom@codesourcery.com>
5874
5875 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5876 default stack guard is set in last bytes.
5877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5878
21bb2d2e 58792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5880
21bb2d2e 5881 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5882
21bb2d2e
AJ
5883 [BZ #13656]
5884 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5885 possibly allocate from heap instead of stack.
5886 * stdio-common/bug-vfprintf-nargs.c: New file.
5887 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5888
c6922934
AS
58892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5890
5891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5892
bc957d53
MP
58932012-03-03 Marek Polacek <polacek@redhat.com>
5894
5895 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5896 * math/math_private.h: Likewise.
5897 * stdlib/tst-strtod.c: Likewise.
5898 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5899 * sysdeps/x86_64/bits/atomic.h: Likewise.
5900
6358490d
DM
59012012-03-02 David S. Miller <davem@davemloft.net>
5902
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5908 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5909 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5910 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5911
01ae168d
RM
59122012-03-02 Roland McGrath <roland@hack.frob.com>
5913
d9a17c07
RM
5914 [BZ #13792]
5915 * manual/examples/README: New file, says the example source files
5916 can be used under GPL>=2.
5917 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5918 line containing just "*/".
5919 * manual/examples/add.c: Add copyright header (GPL>=2).
5920 * manual/examples/argp-ex1.c: Likewise.
5921 * manual/examples/argp-ex2.c: Likewise.
5922 * manual/examples/argp-ex3.c: Likewise.
5923 * manual/examples/argp-ex4.c: Likewise.
5924 * manual/examples/atexit.c: Likewise.
5925 * manual/examples/db.c: Likewise.
5926 * manual/examples/dir.c: Likewise.
5927 * manual/examples/dir2.c: Likewise.
5928 * manual/examples/execinfo.c: Likewise.
5929 * manual/examples/filecli.c: Likewise.
5930 * manual/examples/filesrv.c: Likewise.
5931 * manual/examples/fmtmsgexpl.c: Likewise.
5932 * manual/examples/genpass.c: Likewise.
5933 * manual/examples/inetcli.c: Likewise.
5934 * manual/examples/inetsrv.c: Likewise.
5935 * manual/examples/isockad.c: Likewise.
5936 * manual/examples/longopt.c: Likewise.
5937 * manual/examples/memopen.c: Likewise.
5938 * manual/examples/memstrm.c: Likewise.
5939 * manual/examples/mkfsock.c: Likewise.
5940 * manual/examples/mkisock.c: Likewise.
5941 * manual/examples/mygetpass.c: Likewise.
5942 * manual/examples/pipe.c: Likewise.
5943 * manual/examples/popen.c: Likewise.
5944 * manual/examples/rprintf.c: Likewise.
5945 * manual/examples/search.c: Likewise.
5946 * manual/examples/select.c: Likewise.
5947 * manual/examples/setjmp.c: Likewise.
5948 * manual/examples/sigh1.c: Likewise.
5949 * manual/examples/sigusr.c: Likewise.
5950 * manual/examples/stpcpy.c: Likewise.
5951 * manual/examples/strdupa.c: Likewise.
5952 * manual/examples/strftim.c: Likewise.
5953 * manual/examples/strncat.c: Likewise.
5954 * manual/examples/subopt.c: Likewise.
5955 * manual/examples/swapcontext.c: Likewise.
5956 * manual/examples/termios.c: Likewise.
5957 * manual/examples/testopt.c: Likewise.
5958 * manual/examples/testpass.c: Likewise.
5959 * manual/examples/timeval_subtract.c: Likewise.
5960
01ae168d
RM
5961 [BZ #13792]
5962 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5963 function to ...
5964 * manual/timeval_subtract.c.texi: ... here, new file.
5965
49efa33d
DM
59662012-03-02 David S. Miller <davem@davemloft.net>
5967
5968 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5969
28afd92d
JM
59702012-03-02 Joseph Myers <joseph@codesourcery.com>
5971
804360ed
JM
5972 [BZ #3976]
5973 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5974 (__sin): Save and restore rounding mode and use round-to-nearest
5975 for all computations.
5976 (__cos): Save and restore rounding mode and use round-to-nearest
5977 for all computations.
5978 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5979 <fenv.h>.
5980 (tan): Save and restore rounding mode and use round-to-nearest for
5981 all computations.
5982 * math/libm-test.inc (cos_test_tonearest): New function.
5983 (cos_test_towardzero): Likewise.
5984 (cos_test_downward): Likewise.
5985 (cos_test_upward): Likewise.
5986 (sin_test_tonearest): Likewise.
5987 (sin_test_towardzero): Likewise.
5988 (sin_test_downward): Likewise.
5989 (sin_test_upward): Likewise.
5990 (tan_test_tonearest): Likewise.
5991 (tan_test_towardzero): Likewise.
5992 (tan_test_downward): Likewise.
5993 (tan_test_upward): Likewise.
5994 (main): Call the new functions.
5995 * sysdeps/i386/fpu/libm-test-ulps: Update.
5996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5997
a6d06d7b
JM
5998 [BZ #10135]
5999 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6000 small n, then large n, before computing and testing k+n.
6001 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6003 Likewise.
6004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6005 Likewise.
6006 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6007 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6014 * math/libm-test.inc (scalbn_test): Add more tests.
6015 (scalbln_test): Likewise.
6016
07e12bb3
JM
6017 * manual/filesys.texi (mode_t): Describe constraints on size and
6018 signedness, not exact equivalence to a particular type.
6019 (ino_t): Likewise.
6020 (ino64_t): Likewise.
6021 (dev_t): Likewise.
6022 (nlink_t): Likewise.
6023 (blkcnt_t): Likewise.
6024 (blkcnt64_t): Likewise.
6025 * manual/llio.texi (off_t): Likewise.
6026
28afd92d
JM
6027 [BZ #3976]
6028 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6029 (__ieee754_exp): Save and restore rounding mode and use
6030 round-to-nearest for all computations.
6031 * math/libm-test.inc (exp_test_tonearest): New function.
6032 (exp_test_towardzero): Likewise.
6033 (exp_test_downward): Likewise.
6034 (exp_test_upward): Likewise.
6035 (main): Call the new functions.
6036 * sysdeps/i386/fpu/libm-test-ulps: Update.
6037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6038
b1eeb65d
CD
60392012-03-01 Chris Demetriou <cgd@google.com>
6040
6041 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6042 have predictable order.
6043
53362a4b
DM
60442012-03-01 David S. Miller <davem@davemloft.net>
6045
3c969083
DM
6046 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6047
759707de
DM
6048 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6049 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6050 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6051 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6052
dfdb8ff2
DM
6053 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6054 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6055 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6057 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6058 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6059 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6061 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6062
ead89f96
DM
6063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6064
7f66bd07
DM
6065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6066 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6067 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6068
53362a4b
DM
6069 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6071 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6072 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6073 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6076 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6077 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6078 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6079 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6085 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6086 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6087 * sysdeps/sparc/elf/configure: Regenerated.
6088
7b1902cb
JM
60892012-03-01 Joseph Myers <joseph@codesourcery.com>
6090
bec039bc
JM
6091 * configure.in (AS, LD): Require binutils 2.20 or later.
6092 * configure: Regenerated.
6093 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6094 as required minimum version.
6095 * INSTALL: Regenerated.
6096
7b1902cb
JM
6097 [BZ #2541]
6098 [BZ #4108]
6099 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6100 before squaring exponent.
6101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6102 bottom long double and 27 bits of top long double before squaring
6103 exponent.
6104 * math/libm-test.inc (erfc_test): Add more tests.
6105 * sysdeps/i386/fpu/libm-test-ulps: Update.
6106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6108
f775c276
KT
61092012-03-01 Kai Tietz <ktietz@redhat.com>
6110
6111 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6112 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6113 containing bit-fields.
6114 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6115 * soft-fp/single.h (_FP_UNION_S): Likewise.
6116 * soft-fp/double.h (_FP_UNION_D): Likewise.
6117
5b8a4d4a
JM
61182012-02-29 Joseph Myers <joseph@codesourcery.com>
6119
0bab47b6
JM
6120 [BZ #13786]
6121 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6122 not include ../strcmp.S.
6123 [USE_AS_STRNCASECMP_L]: Likewise.
6124 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6125 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6126 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6127 (__strncasecmp_l_ia32): Define as alias to
6128 __strncasecmp_l_nonascii.
6129
0fcad3e2
JM
6130 [BZ #5794]
6131 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6132 * sysdeps/i386/fpu/libm-test-ulps: Update.
6133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6134
5b8a4d4a
JM
6135 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
8fdceb2e
JL
61382012-02-29 Jeff Law <law@redhat.com>
6139
6140 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6141 out of bounds read.
6142
1f393a11
MP
61432012-02-29 Marek Polacek <polacek@redhat.com>
6144
6145 [BZ #13706]
6146 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6147 * elf/Makefile: Add rules to run tst-unused-dep.out.
6148
8847f037
DM
61492012-02-28 David S. Miller <davem@davemloft.net>
6150
6151 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6152 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6156 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6157
169d7f11
JM
61582012-02-29 Joseph Myers <joseph@codesourcery.com>
6159
6160 * math/libm-test.inc (llround_test): Move one test from
6161 lround_test. Use TEST_f_L in moved test.
6162 (lround_test): Move misplaced test to llround_test. Add testcase
6163 from bug 2561.
6164
39adf059
UD
61652012-02-28 Ulrich Drepper <drepper@gmail.com>
6166
6167 * sysdeps/x86_64/fpu/e_expf.S: New file.
6168 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6169
71b5d1c5
SB
61702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6171
6172 [BZ #13637]
6173 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6174 of remain_len that may cause incomplete multi-byte character and
6175 false match.
6176 * posix/bug-regex33.c: New file.
6177 * posix/Makefile (tests): Add bug-regex33.
6178
1f77f049
JM
61792012-02-28 Joseph Myers <joseph@codesourcery.com>
6180
6181 * manual/macros.texi: New file.
6182 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6183 * manual/libc.texinfo: Include macros.texi.
6184 * manual/creatute.texi: Likewise.
6185 * manual/install.texi: Likewise.
6186 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6187 @glibcadj{} in references to the GNU C Library.
6188 * manual/charset.texi: Likewise.
6189 * manual/conf.texi: Likewise.
6190 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6191 when not using those macros.
6192 * manual/creature.texi: Likewise.
6193 * manual/crypt.texi: Likewise.
6194 * manual/errno.texi: Likewise.
6195 * manual/filesys.texi: Likewise.
6196 * manual/header.texi: Likewise.
6197 * manual/install.texi: Likewise.
6198 * manual/intro.texi: Likewise.
6199 * manual/io.texi: Likewise.
6200 * manual/job.texi: Likewise.
6201 * manual/lang.texi: Likewise.
6202 * manual/libc.texiinfo: Likewise.
6203 * manual/llio.texi: Likewise.
6204 * manual/locale.texi: Likewise.
6205 * manual/maint.texi: Likewise.
6206 * manual/math.texi: Likewise.
6207 * manual/memory.texi: Likewise.
6208 * manual/message.texi: Likewise.
6209 * manual/nss.texi: Likewise.
6210 * manual/pattern.texi: Likewise.
6211 * manual/process.texi: Likewise.
6212 * manual/resource.texi: Likewise.
6213 * manual/search.texi: Likewise.
6214 * manual/setjmp.texi: Likewise.
6215 * manual/signal.texi: Likewise.
6216 * manual/socket.texi: Likewise.
6217 * manual/startup.texi: Likewise.
6218 * manual/stdio.texi: Likewise.
6219 * manual/string.texi: Likewise.
6220 * manual/sysinfo.texi: Likewise.
6221 * manual/syslog.texi: Likewise.
6222 * manual/terminal.texi: Likewise.
6223 * manual/time.texi: Likewise.
6224 * manual/users.texi: Likewise.
6225 * INSTALL: Regenerated.
6226 * NOTES: Regenerated.
d40c5d54 6227 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6228
450bf206
AS
62292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6230
6231 * include/dirent.h: Include <dirstream.h> before
6232 <dirent/dirent.h>.
6233
741a235b
DM
62342012-02-28 David S. Miller <davem@davemloft.net>
6235
6236 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6237 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6238 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6240
d6b5aa58
DM
62412012-02-27 David S. Miller <davem@davemloft.net>
6242
1aff59a3
DM
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6245 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6246 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6247
d6b5aa58
DM
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6249 frame pointer instead of stack pointer relative arg slot.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6253
433f48bf
CD
62542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6255
6256 [BZ #3992]
6257 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6258
d674b76d
DM
62592012-02-27 David S. Miller <davem@davemloft.net>
6260
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6265 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6266 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6267 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6268 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6269
0e7727f7
JM
62702012-02-27 Joseph Myers <joseph@codesourcery.com>
6271
6272 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6273 later. Allow versions 5-9.
43be4ca2 6274 * configure: Regenerated.
0e7727f7
JM
6275 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6276 required minimum version and 4.6 as recommended version. Do not
6277 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6278 * INSTALL: Regenerated.
0e7727f7 6279
a78bc654
DM
62802012-02-27 David S. Miller <davem@davemloft.net>
6281
428d5830
DM
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6290
a78bc654
DM
6291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6292 manipulate bits before adding and subtracting TWO112[sx].
6293 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6294
4579f81c
RM
62952012-02-27 Roland McGrath <roland@hack.frob.com>
6296
36c8acb4
RM
6297 [BZ #13775]
6298 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6299 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6300 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6301 being in POSIX, because they are in 1003.1-2008.
6302
84ad622b
RM
6303 * rt/tst-aio.c: Include <fcntl.h>.
6304 * rt/tst-aio7.c: Likewise.
6305 * rt/tst-aio64.c: Likewise.
6306
4579f81c
RM
6307 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6308
abd923db
JM
63092012-02-27 Joseph Myers <joseph@codesourcery.com>
6310
6311 * manual/install.texi (--with-headers): Describe headers as
6312 interface headers, not private headers.
6313 (Specific advice for GNU/Linux systems): Describe use of headers
6314 from "make headers_install", not private headers from older
6315 kernels.
43be4ca2 6316 * INSTALL: Regenerated.
abd923db
JM
6317 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6318 Change to 2.6.19.
6319 * sysdeps/unix/sysv/linux/configure: Regenerated.
6320
6664049b
JM
6321 * manual/llio.texi (fclean): Remove documentation.
6322
bb8b6697
JM
6323 * manual/Makefile (libc-texi-generated): New variable. Include
6324 version.texi.
6325 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6326 $(libc-texi-generated), not duplicated list of files.
6327 (version.texi, stamp-version): New rules.
6328 (realclean): Remove $(libc-texi-generated), not individual files
6329 from that list. Do not remove dir-add.texinfo.
6330 * manual/libc.texinfo: Comment out uses of edition numbers and
6331 references to printed manual. Remove last-updated dates.
6332 (EDITION): Comment out.
6333 (ISBN): Likewise.
6334 (VERSION, UPDATED): Remove.
6335 (version.texi): Include.
6336
12e5c3b9
AS
63372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6338
6339 * sysdeps/posix/spawni.c: Include <signal.h>.
6340 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6341 * sysdeps/pthread/aio_fsync.c: Likewise.
6342
4efeffc1 63432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6344
ba63ba08
UD
6345 * conform/Makefile (tests): Run only when not cross-compiling and
6346 when fast-check is not defined.
6347
d94a4670
UD
6348 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6349 * conform/data/limits.h-data: Fixes for POSIX2008.
6350 * conform/run-conformtest.sh: Run all tests.
6351 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6352 headers.
6353 * include/bits/dlfcn.h: Likewise.
6354 * include/langinfo.h: Likewise.
6355 * include/monetary.h: Likewise.
6356 * include/sys/poll.h: Likewise.
6357
6358 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6359 for __USE_GNU.
6360 * posix/spawn.h: Define __need_sigset_t.
6361 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6362 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6363 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6364 to get sigevent_t only.
6365 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6366 only for __USE_GNU.
6367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6368 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6369 process_vm_writev only for __USE_GNU.
6370 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6371
6372 * conform/Makefile: For now ignore errors from run-conformtest.
6373 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6374 POSIX to avoid namespace pollution. Don't prepend headers.
6375 * conform/data/aio.h-data: Fixes for POSIX testing.
6376 * conform/data/fcntl.h-data: Likewise.
6377 * conform/data/glob.h-data: Likewise.
6378 * conform/data/grp.h-data: Likewise.
6379 * conform/data/pthread.h-data: Likewise.
6380 * conform/data/pwd.h-data: Likewise.
6381 * conform/data/signal.h-data: Likewise.
6382 * conform/data/spawn.h-data: Likewise.
6383 * conform/data/stdio.h-data: Likewise.
6384 * conform/data/stdlib.h-data: Likewise.
6385 * conform/data/stropts.h-data: Likewise.
6386 * conform/data/sys/mman.h-data: Likewise.
6387 * conform/data/sys/stat.h-data: Likewise.
6388 * conform/data/sys/types.h-data: Likewise.
6389 * conform/data/sys/wait.h-data: Likewise.
6390 * conform/data/time.h-data: Likewise.
6391 * conform/data/unistd.h-data: Likewise.
6392 * conform/data/utime.h-data: Likewise.
6393
6394 * io/sys/stat.h: fchmod was always in POSIX.
6395 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6396 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6397 * rt/aio.h: Define __need_timespec before including <time.h>.
6398 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6399 struct. Add forward declaration of pthread_attr_t and use it in
6400 sigevent.
6401 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6402 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6403 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6404 always remove CLK_TCK definition.
6405
c20105c3
AS
64062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6407
6408 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6409
7a270350
UD
64102012-02-25 Ulrich Drepper <drepper@gmail.com>
6411
31341567
UD
6412 * conform/run-conformtest.sh: New file.
6413 * conform/Makefile: Run run-conformtest for tests.
6414 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6415 support.
6416
6417 * conform/data/uchar.h-data: New file.
6418 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6419 * conform/data/arpa/inet.h-data: Likewise.
6420 * conform/data/assert.h-data: Likewise.
6421 * conform/data/complex.h-data: Likewise.
6422 * conform/data/cpio.h-data: Likewise.
6423 * conform/data/ctype.h-data: Likewise.
6424 * conform/data/dirent.h-data: Likewise.
6425 * conform/data/dlfcn.h-data: Likewise.
6426 * conform/data/errno.h-data: Likewise.
6427 * conform/data/fcntl.h-data: Likewise.
6428 * conform/data/float.h-data: Likewise.
6429 * conform/data/fmtmsg.h-data: Likewise.
6430 * conform/data/fnmatch.h-data: Likewise.
6431 * conform/data/ftw.h-data: Likewise.
6432 * conform/data/glob.h-data: Likewise.
6433 * conform/data/grp.h-data: Likewise.
6434 * conform/data/iconv.h-data: Likewise.
6435 * conform/data/inttypes.h-data: Likewise.
6436 * conform/data/langinfo.h-data: Likewise.
6437 * conform/data/libgen.h-data: Likewise.
6438 * conform/data/limits.h-data: Likewise.
6439 * conform/data/locale.h-data: Likewise.
6440 * conform/data/math.h-data: Likewise.
6441 * conform/data/monetary.h-data: Likewise.
6442 * conform/data/mqueue.h-data: Likewise.
6443 * conform/data/ndbm.h-data: Likewise.
6444 * conform/data/net/if.h-data: Likewise.
6445 * conform/data/netdb.h-data: Likewise.
6446 * conform/data/netinet/in.h-data: Likewise.
6447 * conform/data/nl_types.h-data: Likewise.
6448 * conform/data/poll.h-data: Likewise.
6449 * conform/data/pthread.h-data: Likewise.
6450 * conform/data/pwd.h-data: Likewise.
6451 * conform/data/regex.h-data: Likewise.
6452 * conform/data/sched.h-data: Likewise.
6453 * conform/data/search.h-data: Likewise.
6454 * conform/data/semaphore.h-data: Likewise.
6455 * conform/data/setjmp.h-data: Likewise.
6456 * conform/data/signal.h-data: Likewise.
6457 * conform/data/spawn.h-data: Likewise.
6458 * conform/data/stdarg.h-data: Likewise.
6459 * conform/data/stdio.h-data: Likewise.
6460 * conform/data/stdlib.h-data: Likewise.
6461 * conform/data/string.h-data: Likewise.
6462 * conform/data/strings.h-data: Likewise.
6463 * conform/data/stropts.h-data: Likewise.
6464 * conform/data/sys/ipc.h-data: Likewise.
6465 * conform/data/sys/mman.h-data: Likewise.
6466 * conform/data/sys/msg.h-data: Likewise.
6467 * conform/data/sys/resource.h-data: Likewise.
6468 * conform/data/sys/select.h-data: Likewise.
6469 * conform/data/sys/sem.h-data: Likewise.
6470 * conform/data/sys/shm.h-data: Likewise.
6471 * conform/data/sys/socket.h-data: Likewise.
6472 * conform/data/sys/stat.h-data: Likewise.
6473 * conform/data/sys/statvfs.h-data: Likewise.
6474 * conform/data/sys/time.h-data: Likewise.
6475 * conform/data/sys/timeb.h-data: Likewise.
6476 * conform/data/sys/times.h-data: Likewise.
6477 * conform/data/sys/types.h-data: Likewise.
6478 * conform/data/sys/uio.h-data: Likewise.
6479 * conform/data/sys/un.h-data: Likewise.
6480 * conform/data/sys/utsname.h-data: Likewise.
6481 * conform/data/sys/wait.h-data: Likewise.
6482 * conform/data/syslog.h-data: Likewise.
6483 * conform/data/tar.h-data: Likewise.
6484 * conform/data/termios.h-data: Likewise.
6485 * conform/data/utime.h-data: Likewise.
6486 * conform/data/utmpx.h-data: Likewise.
6487 * conform/data/varargs.h-data: Likewise.
6488 * conform/data/wchar.h-data: Likewise.
6489 * conform/data/wctype.h-data: Likewise.
6490 * conform/data/wordexp.h-data: Likewise.
6491
6492 * include/stropts.h: New file.
6493 * include/uchar.h: New file.
6494 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6495 * include/assert.h: Likewise.
6496 * include/ctype.h: Likewise.
6497 * include/dirent.h: Likewise.
6498 * include/dlfcn.h: Likewise.
6499 * include/fcntl.h: Likewise.
6500 * include/fnmatch.h: Likewise.
6501 * include/glob.h: Likewise.
6502 * include/grp.h: Likewise.
6503 * include/libio.h: Likewise.
6504 * include/locale.h: Likewise.
6505 * include/math.h: Likewise.
6506 * include/net/if.h: Likewise.
6507 * include/netdb.h: Likewise.
6508 * include/netinet/in.h: Likewise.
6509 * include/pthread.h: Likewise.
6510 * include/pwd.h: Likewise.
6511 * include/regex.h: Likewise.
6512 * include/sched.h: Likewise.
6513 * include/search.h: Likewise.
6514 * include/setjmp.h: Likewise.
6515 * include/signal.h: Likewise.
6516 * include/stdio.h: Likewise.
6517 * include/stdlib.h: Likewise.
6518 * include/string.h: Likewise.
6519 * include/sys/cdefs.h: Likewise.
6520 * include/sys/mman.h: Likewise.
6521 * include/sys/msg.h: Likewise.
6522 * include/sys/resource.h: Likewise.
6523 * include/sys/select.h: Likewise.
6524 * include/sys/socket.h: Likewise.
6525 * include/sys/stat.h: Likewise.
6526 * include/sys/statvfs.h: Likewise.
6527 * include/sys/time.h: Likewise.
6528 * include/sys/times.h: Likewise.
6529 * include/sys/uio.h: Likewise.
6530 * include/sys/utsname.h: Likewise.
6531 * include/sys/wait.h: Likewise.
6532 * include/termios.h: Likewise.
6533 * include/time.h: Likewise.
6534 * include/ulimit.h: Likewise.
6535 * include/unistd.h: Likewise.
6536 * include/utime.h: Likewise.
6537 * include/wchar.h: Likewise.
6538 * include/wctype.h: Likewise.
6539 * include/wordexp.h: Likewise.
6540
6541 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6542
7a270350
UD
6543 * time/time.h: TIME_UTC must be a macro.
6544 Make timespec_get available for ISO C11 only as well.
6545
7724defc
UD
65462012-02-24 Ulrich Drepper <drepper@gmail.com>
6547
6548 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6549 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6550
6b1d1d46
JM
65512012-02-24 Joseph Myers <joseph@codesourcery.com>
6552
6553 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6554
0f8bbd69
JM
65552012-02-24 Joseph Myers <joseph@codesourcery.com>
6556
6557 * manual/texinfo.tex: Update to version 2012-01-19.16.
6558
66ab80bc
JM
65592012-02-24 Joseph Myers <joseph@codesourcery.com>
6560
6561 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6562
74981cc5
RM
65632012-02-24 Roland McGrath <roland@hack.frob.com>
6564
ee968201
RM
6565 [BZ #13738]
6566 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6567 * manual/fdl-1.3.texi: New file.
6568 * manual/fdl-1.1.texi: File removed.
6569
74981cc5
RM
6570 [BZ #13738]
6571 * manual/libc.texinfo (FDL_VERSION): New @set.
6572 Use it for mention of FDL in cover text.
6573 (Documentation License): Use it in @include file name.
6574
7bb764bc
JM
65752012-02-22 Joseph Myers <joseph@codesourcery.com>
6576 Roland McGrath <roland@hack.frob.com>
6577
6578 [BZ #5461]
6579 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6580 not LONG_LONG_MAX and LONG_LONG_MIN.
6581 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6582 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6583 name.
6584 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6585
6cbeae47
JM
65862012-02-22 Joseph Myers <joseph@codesourcery.com>
6587
6588 [BZ #2547]
6589 [BZ #11365]
6590 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6591 manipulate bits before adding and subtracting TWO23[sx].
6592 * math/libm-test.inc (nearbyint_test): Add more tests.
6593
fe45ce09
JM
65942012-02-22 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #2548]
6597 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6598 bits before adding and subtracting TWO23[sx].
6599 * math/libm-test.inc (rint_test): Add more tests.
6600 (rint_test_tonearest): Likewise.
6601 (rint_test_towardzero): Likewise.
6602 (rint_test_downward): Likewise.
6603 (rint_test_upward: Likewise.
6604
ff3b3d82
JM
66052012-02-22 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #10110]
6608 * include/stdc-predef.h: New file. Extracted from features.h.
6609 * include/features.h: Include stdc-predef.h.
6610 * Makefile (headers): Add stdc-predef.h.
6611 * CONFORMANCE (Compiler limitations): Update.
6612
ef0aab35
JM
66132012-02-22 Joseph Myers <joseph@codesourcery.com>
6614
6615 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6616
58639409
DM
66172012-02-21 David S. Miller <davem@davemloft.net>
6618
6619 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6620 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6621
c0e70b25
DM
66222012-02-20 David S. Miller <davem@davemloft.net>
6623
6624 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6625 using a normal save/restore sequence, rather than allocating a
6626 dummy stack frame just to store a frame pointer and restore.
6627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6628
fb06851d
JM
66292012-02-21 Joseph Myers <joseph@codesourcery.com>
6630
6631 * manual/install.texi: Fix stray word in line-wrapped comment.
6632
7a8b71c3
DM
66332012-02-20 David S. Miller <davem@davemloft.net>
6634
d510c123
DM
6635 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6636 both binutils and gcc support GOTDATA.
6637
0722d7c2
DM
6638 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6639 "rd %pc" in the PIC register setup sequences.
6640
3d2b3019
DM
6641 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6642 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6644 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6650 (SYSCALL_ERROR_HANDLER): Likewise.
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6652 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6654 (SYSCALL_ERROR_HANDLER): Likewise.
6655
c80098a9
DM
6656 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6657 (HAVE_GCC_GOTDATA): New.
6658 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6659 relocation support in both binutils and gcc.
6660 * sysdeps/sparc/elf/configure: Regenerate.
6661
3a2545a0
DM
6662 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6663 * sysdeps/sparc/sparc32/elf/configure: Delete.
6664 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6665 * sysdeps/sparc/sparc64/elf/configure: Delete.
6666 * sysdeps/sparc/elf/configure.in: New file.
6667 * sysdeps/sparc/elf/configure: Generate.
6668
7a8b71c3
DM
6669 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6670 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6671 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6672 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6673 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6674
f1e86fca
JM
66752012-02-21 Joseph Myers <joseph@codesourcery.com>
6676
6677 * manual/install.texi: Do not mention specific glibc version
6678 numbers.
6679 * manual/libc.texinfo (VERSION, UPDATED): Update.
6680 (@copying): Use @copyright{} and range of years.
6681
0e7dfaef
JM
66822012-02-21 Joseph Myers <joseph@codesourcery.com>
6683
6684 [BZ #13695]
6685 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6686 [crti.S not in sysdirs] (generated): Do not append.
6687 [crti.S not in sysdirs] (omit-deps): Likewise.
6688 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6689 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6690 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6691 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6692 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6693 Likewise.
6694 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6695 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6696 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6697 * csu/defs.awk: Remove file.
6698 * sysdeps/generic/initfini.c: Likewise.
6699 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6700 variable.
6701 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6702 Likewise.
6703
599af3ca
JM
67042012-02-20 Joseph Myers <joseph@codesourcery.com>
6705
6706 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6708 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6711 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6712 <bits/epoll.h>.
6713 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6714 (__EPOLL_PACKED): Define to empty if not defined by
6715 <bits/epoll.h>.
6716 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6718 bits/epoll.h.
6719
0e499750
JM
67202012-02-20 Joseph Myers <joseph@codesourcery.com>
6721
6722 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6723 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6724 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6725 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6726 <bits/timerfd.h>.
6727 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6729 bits/timerfd.h.
6730
5ad91f6e
JM
67312012-02-20 Joseph Myers <joseph@codesourcery.com>
6732
6733 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6734 in C locale.
6735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6736 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6739
06b99b02
AJ
67402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6741
6742 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6743 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6744
7638c0fd
AS
67452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6746
6747 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6748 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6749 defined.
6750 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6751 Likewise.
6752 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6753 entry for 2.16.
6754
92221550
AJ
67552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6756
6757 * math/w_acos.c: Use non-signaling floating-point comparisons.
6758 * math/w_acosf.c: Likewise.
6759 * math/w_acosh.c: Likewise.
6760 * math/w_acoshf.c: Likewise.
6761 * math/w_acoshl.c: Likewise.
6762 * math/w_acosl.c: Likewise.
6763 * math/w_asin.c: Likewise.
6764 * math/w_asinf.c: Likewise.
6765 * math/w_asinl.c: Likewise.
6766 * math/w_atanh.c: Likewise.
6767 * math/w_atanhf.c: Likewise.
6768 * math/w_atanhl.c: Likewise.
6769 * math/w_exp2.c: Likewise.
6770 * math/w_exp2f.c: Likewise.
6771 * math/w_exp2l.c: Likewise.
6772 * math/w_j0.c: Likewise.
6773 * math/w_j0f.c: Likewise.
6774 * math/w_j0l.c: Likewise.
6775 * math/w_j1.c: Likewise.
6776 * math/w_j1f.c: Likewise.
6777 * math/w_j1l.c: Likewise.
6778 * math/w_jn.c: Likewise.
6779 * math/w_jnf.c: Likewise.
6780 * math/w_log.c: Likewise.
6781 * math/w_log10.c: Likewise.
6782 * math/w_log10f.c: Likewise.
6783 * math/w_log10l.c: Likewise.
6784 * math/w_log2.c: Likewise.
6785 * math/w_log2f.c: Likewise.
6786 * math/w_log2l.c: Likewise.
6787 * math/w_logf.c: Likewise.
6788 * math/w_logl.c: Likewise.
6789 * math/w_sqrt.c: Likewise.
6790 * math/w_sqrtf.c: Likewise.
6791 * math/w_sqrtl.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6797
ebaf36eb
JM
67982012-02-19 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #9739]
6801 * manual/string.texi (strnlen): Use correct parameter name in
6802 equivalent expression.
6803
71c254a6
JM
68042012-02-19 Joseph Myers <joseph@codesourcery.com>
6805
6806 [BZ #11174]
6807 * manual/users.texi (seteuid): Consistently use neweuid for
6808 argument name.
6809
16d2c631
JM
68102012-02-19 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #13704]
6813 * manual/nss.texi (Services in the NSS configuration): Correct
6814 list of services in example configuration file.
6815
cd837b09
NB
68162012-02-19 Nick Bowler <nbowler@draconx.ca>
6817
6818 [BZ #11322]
6819 * manual/arith.texi: Remove statements about negative zero
6820 behaving identically to zero.
6821
02c4bbad
JM
68222012-02-18 Joseph Myers <joseph@codesourcery.com>
6823
6824 [BZ #5993]
6825 * manual/install.texi: Do not document upgrading from libc5.
6826
366842e7
JM
68272012-02-18 Joseph Myers <joseph@codesourcery.com>
6828
6829 [BZ #4596]
6830 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6831
dd54084d
DM
68322012-02-18 David S. Miller <davem@davemloft.net>
6833
6834 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6835 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6836 %o7 across the call.
6837 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6838 instead.
6839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6840 SETUP_PIC_REG_LEAF.
6841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6842 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6843 * sysdeps/sparc/crtn.S: Likewise.
6844
2bcc53a3
UD
68452012-02-17 Ulrich Drepper <drepper@gmail.com>
6846
6847 * aout/Makefile: Remove.
6848
09c093b5
RK
68492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6850
6851 [BZ #13058]
6852 * manual/examples/argp-ex1.c (main): Format definition in GNU
6853 style.
6854 * manual/examples/argp-ex2.c (main): Likewise.
6855 * manual/examples/argp-ex3.c (main): Likewise.
6856 * manual/examples/argp-ex4.c (main): Likewise.
6857 * manual/examples/longopt.c (main): Use new-style prototype
6858 definition.
6859 * manual/examples/strncat.c (main): Specify return type and use
6860 (void) for arguments.
6861 * manual/examples/subopt.c (main): Use char **argv argument.
6862
2ee633a2
JM
68632012-02-17 Joseph Myers <joseph@codesourcery.com>
6864
6865 [BZ #5077]
6866 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6867 rounding modes.
6868
0520adde
FB
68692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6870
6871 [BZ #6907]
6872 * manual/string.texi (strchr): Change when strchrnul is
6873 recommended.
6874
3f4081cd
DGM
68752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6876
6877 [BZ #174]
6878 * manual/locale.texi (setlocale): Document LOCPATH.
6879
d1b10e78
JM
68802012-02-17 Joseph Myers <joseph@codesourcery.com>
6881
6882 [BZ #10210]
6883 * manual/process.texi (execle): Move @dots{} before last argument.
6884
79c6869c
PB
68852012-02-17 Paul Bolle <pebolle@tiscali.nl>
6886
6887 [BZ #12047]
6888 * manual/charset.texi (Generic Charset Conversion): Fix typo
6889 (LC_TYPE -> LC_CTYPE).
6890
cc6e48bc
NB
68912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6892
6893 [BZ #5805]
6894 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6895 (scalbnf): Likewise.
6896 (scalbnl): Likewise.
6897 (scalbln): Likewise.
6898 (scalblnf): Likewise.
6899 (scalblnl): Likewise.
6900 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6901 (vwarnx): Likewise.
6902 (verr): Likewise.
6903 (verrx): Likewise.
6904 * manual/filesys.texi (telldir): Use braces around return type.
6905 * manual/llio.texi (mmap): Add space after comma.
6906 (mmap64): Likewise.
6907 * manual/math.texi (jn): Use @var{} on parameter names.
6908 (jnf): Likewise.
6909 (jnl): Likewise.
6910 (yn): Likewise.
6911 (ynf): Likewise.
6912 (ynl): Likewise.
6913 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6914 line.
6915 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6916 "...".
6917 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6918 (sched_get_priority_max): Likewise.
6919 * manual/signal.texi (sigvec): Add space after comma.
6920 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6921 names.
6922 (if_indextoname): Likewise.
6923 (if_freenameindex): Likewise.
6924 (sendto): Use ',' instead of '.' in prototype.
6925 * manual/startup.texi (syscall): Use @dots{} instead of literal
6926 "...".
6927 * manual/stdio.texi (__fpending): Separate initial words of
6928 paragraph from @deftypefun line.
6929 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6930 "...".
6931 (vsyslog): Use @var{} on parameter names.
6932 * manual/terminal.texi (stty): Use @var{} on parameter names.
6933 * manual/users.texi (getutmp): Use @var{} on parameter names.
6934 (getutmpx): Likewise.
6935
5b23062f
JM
69362012-02-17 Joseph Myers <joseph@codesourcery.com>
6937
6938 [BZ #6884]
6939 * manual/stdio.texi (fopen): Fix typos in description of
6940 ",ccs=STRING".
6941
8dee4833
AJ
69422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6943
6944 [BZ #4026]
6945 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6946 get clock_id definition.
6947
9078ce93
TS
69482012-02-17 Thomas Schwinge <thomas@schwinge.name>
6949
6950 [BZ #4822]
6951 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6952 (madvise): Cast every argument to void on its own.
6953
3835c55f
JM
69542012-02-17 Joseph Myers <joseph@codesourcery.com>
6955
6956 [BZ #9902]
6957 * manual/startup.texi (Exit Status): Fix typo.
6958
35c47e37
JM
69592012-02-17 Joseph Myers <joseph@codesourcery.com>
6960
6961 [BZ #10140]
6962 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6963 * manual/examples/argp-ex2.c: Likewise.
6964 * manual/examples/argp-ex3.c: Likewise.
6965
e3b69ca7
RH
69662012-02-16 Richard Henderson <rth@redhat.com>
6967
6968 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6969 * sysdeps/s390/s390-32/initfini.c: Remove.
6970 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6971 * sysdeps/s390/s390-64/initfini.c: Remove.
6972
df83af67
KK
69732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6974
6975 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6976 compiler output for sysdeps/generic/initfini.c.
6977 * sysdeps/sh/elf/initfini.c: Remove file.
6978
f63f3380
DM
69792012-02-16 David S. Miller <davem@davemloft.net>
6980
fb59b3a4
DM
6981 [BZ #11494]
6982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6983
f63f3380
DM
6984 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6985 * sysdeps/sparc/crti.S: New file.
6986 * sysdeps/sparc/crtn.S: New file.
6987 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6988 * sysdeps/sparc/sparc64/Makefile: Likewise.
6989
df6a4a4a
MF
69902012-02-15 Mike Frysinger <vapier@gentoo.org>
6991
6dd8f3dc 6992 [BZ #3335]
df6a4a4a
MF
6993 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6994
1cac7236
RM
69952012-02-15 Roland McGrath <roland@hack.frob.com>
6996
d2c736f8
RM
6997 [BZ #4822]
6998 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6999
1cac7236
RM
7000 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7001 (write, read, close): Likewise.
7002 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7003
8e475601
JM
70042012-02-15 Joseph Myers <joseph@codesourcery.com>
7005
7006 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7007 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7009 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7010 <bits/signalfd.h>.
7011 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7013 bits/signalfd.h.
7014
ed656b40
MP
70152012-02-14 Marek Polacek <polacek@redhat.com>
7016
7017 * sysdeps/x86_64/crti.S: New file.
7018 * sysdeps/x86_64/crtn.S: New file.
7019 * sysdeps/x86_64/elf/initfini.c: Remove file.
7020
2a979d3a
JM
70212012-02-13 Joseph Myers <joseph@codesourcery.com>
7022
7023 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7024 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7025 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7026 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7027 <bits/inotify.h>.
7028 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7030 bits/inotify.h.
7031
2a418ac3
JM
70322012-02-13 Joseph Myers <joseph@codesourcery.com>
7033
7034 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7035 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7036 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7037 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7038 <bits/eventfd.h>.
7039 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7041 bits/eventfd.h.
7042
fb779be7
TS
70432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7044
e19e83c5
RM
7045 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7046 __feraiseexcept instead of feraiseexcept.
7c35ffed 7047
fb779be7
TS
7048 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7049 nanosleep invocations.
7050 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7051 strings, and add error checking for a nanosleep invocations.
7052
59ba27a6
PE
70532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7054
7055 Replace FSF snail mail address with URLs, as per GNU coding standards.
7056 Most of the snail mail addresses were wrong anyway, and omitting
7057 them makes the source code easier to maintain. Almost all of the
7058 changes are to license notices and to locale LC_IDENTIFICATION
7059 addresses, except for this one:
7060 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7061 not its snail mail address.
7062
57b957eb
RH
70632012-02-09 Richard Henderson <rth@twiddle.net>
7064
af850b1c
RH
7065 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7066 of kernel-features.h.
7067
57b957eb
RH
7068 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7069
6b73181a
MP
70702012-02-08 Marek Polacek <polacek@redhat.com>
7071
7072 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7073 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7074 * sysdeps/gnu/_G_config.h: Likewise.
7075 * sysdeps/generic/_G_config.h: Likewise.
7076
26ecc33a
AS
70772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7078
6c6dbc63
AS
7079 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7080 tests.
7081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7082
e216c012
AS
7083 * sysdeps/powerpc/powerpc32/crti.S: New file.
7084 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7085 * sysdeps/powerpc/powerpc64/crti.S: New file.
7086 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7087
26ecc33a
AS
7088 * Makeconfig (have-initfini): Don't set.
7089 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7090 * configure.in (nopic_initfini): Don't substitute.
7091 * config.h.in (HAVE_INITFINI): Don't #undef.
7092 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7093 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7094
3add8e13
JM
70952012-02-08 Joseph Myers <joseph@codesourcery.com>
7096
7097 Support crti.S and crtn.S provided directly by architectures.
7098 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7099 [crti.S in sysdirs] (omit-deps): Likewise.
7100 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7101 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7102 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7103 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7104 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7105 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7106 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7107 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7108 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7109 compiler output for sysdeps/generic/initfini.c.
7110 * sysdeps/i386/elf/Makefile: Remove file.
7111 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7112
a22f12b4
MP
71132012-02-07 Marek Polacek <polacek@redhat.com>
7114
7115 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7116 * sysdeps/gnu/_G_config.h: Likewise.
7117 * sysdeps/mach/hurd/_G_config.h: Likewise.
7118
148cf100
MP
71192012-02-07 Marek Polacek <polacek@redhat.com>
7120
7121 * math/Makefile (tests): Add tst-CMPLX2.
7122 * math/tst-CMPLX2.c: New file.
7123
cfdc0dd7
AS
71242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7125
84ba42c4
AS
7126 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7127
cfdc0dd7
AS
7128 * math/libm-test.inc (jn_test): Add missing L suffix.
7129
622c86f4
MP
71302012-02-06 Marek Polacek <polacek@redhat.com>
7131
7132 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7133 * sysdeps/i386/fpu/e_powf.S: Likewise.
7134 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7135 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7136 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7137 * sysdeps/i386/fpu/e_pow.S: Likewise.
7138 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7140 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7141 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7142 * sysdeps/i386/fpu/e_log2.S: Likewise.
7143 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7144 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7145 * sysdeps/i386/fpu/e_powl.S: Likewise.
7146 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7147 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7148 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7149 * sysdeps/i386/fpu/e_logl.S: Likewise.
7150 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7151 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7152 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7153 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7154 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7156 * sysdeps/i386/fpu/e_log.S: Likewise.
7157 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7158 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7159 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7160 * sysdeps/i386/fpu/e_logf.S: Likewise.
7161 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7162 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7163 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7164 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7165 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7166 * sysdeps/i386/fpu/e_log10.S: Likewise.
7167 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7168 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7169 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7170 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7171 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7172 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7173 * sysdeps/i386/asm-syntax.h: Likewise.
7174 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7176 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7177 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7178 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7179 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7180 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7181 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7182 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7183 * sysdeps/powerpc/sysdep.h: Likewise.
7184 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7185 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7186
d4a54ac6
JM
71872012-02-06 Joseph Myers <joseph@codesourcery.com>
7188
7189 [BZ #411]
7190 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7191
314054ea
JM
71922012-02-06 Joseph Myers <joseph@codesourcery.com>
7193
7194 * sysdeps/i386/sysdep.h: Include <features.h>.
7195 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7196 version.
7197
d8e0ca50
JM
71982012-02-05 Joseph Myers <joseph@codesourcery.com>
7199
7200 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7201 Define.
7202 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7203 LOAD_PIC_REG_STR.
7204
b1da7dd9
JM
72052012-02-03 Joseph Myers <joseph@codesourcery.com>
7206
7207 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7208 (SETUP_PIC_REG): Use GET_PC_THUNK.
7209 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7210 macro.
7211
9a1d9254
JM
72122012-02-03 Joseph Myers <joseph@codesourcery.com>
7213
7214 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7215 for non-PIC compilation.
7216 (SETUP_PIC_REG): Add .p2align directive.
7217 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7218 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7219 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7220 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7221 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7222 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7225 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7226 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7227 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7228 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7229 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7230 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7231 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7233 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7234 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7235 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7236 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7238 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7239 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7240 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7243 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7245 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7246 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7247 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7249 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7250 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7251 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7252 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7253 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7254 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7255 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7256 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7257 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7258
65dc3b75
JM
72592012-02-03 Joseph Myers <joseph@codesourcery.com>
7260
7261 * math/tst-CMPLX.c: Include <stdio.h>.
7262
d55bf177
JM
72632012-01-31 Joseph Myers <joseph@codesourcery.com>
7264
7265 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7266 float.
7267 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7268 * sysdeps/sparc/bits/mathdef.h: Likewise.
7269
69db4f8f
MP
72702012-01-31 Marek Polacek <polacek@redhat.com>
7271
7272 * libio/libio.h: Don't define _PARAMS.
7273 * locale/programs/config.h: Don't define PARAMS.
7274 * stdlib/strtol_l.c: Likewise.
7275 (__strtol_l): Remove PARAMS from the prototype.
7276
41b81892
UD
72772012-01-31 Ulrich Drepper <drepper@gmail.com>
7278
3b49edc0
UD
7279 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7280 names. Just use the correct names. Remove unnecessary wrapper
7281 functions.
7282 * malloc/arena.c: Likewise.
7283 * malloc/hooks.c: Likewise.
7284
41b81892
UD
7285 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7286 ARENA_TEST says not to. Simplify test for creation of a new arena.
7287 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7288
27a25b6e
UD
72892012-01-30 Ulrich Drepper <drepper@gmail.com>
7290
7291 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7292 into tail calls.
7293 (update_get_addr): New function.
7294 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7295 GET_ADDR_MODULE parameter.
7296
c8a89e7d
JM
72972012-01-30 Joseph Myers <joseph@codesourcery.com>
7298
7299 * crypt/cert.c: Remove __STDC__ conditionals.
7300 * crypt/crypt-entry.c: Likewise.
7301 * crypt/crypt_util.c: Likewise.
7302 * libio/filedoalloc.c: Likewise.
7303 * libio/fileops.c: Likewise.
7304 * libio/genops.c: Likewise.
7305 * libio/iofclose.c: Likewise.
7306 * libio/iofdopen.c: Likewise.
7307 * libio/iofopen.c: Likewise.
7308 * libio/iofopen64.c: Likewise.
7309 * libio/iogetdelim.c: Likewise.
7310 * libio/iopopen.c: Likewise.
7311 * libio/obprintf.c: Likewise.
7312 * libio/oldfileops.c: Likewise.
7313 * libio/oldiofclose.c: Likewise.
7314 * libio/oldiofdopen.c: Likewise.
7315 * libio/oldiofopen.c: Likewise.
7316 * libio/oldiopopen.c: Likewise.
7317 * libio/wfiledoalloc.c: Likewise.
7318 * libio/wgenops.c: Likewise.
7319 * locale/programs/xmalloc.c: Likewise.
7320 * misc/syslog.c: Likewise.
7321 * stdio-common/xbug.c: Likewise.
7322 * string/memchr.c: Likewise.
7323 * string/memcmp.c: Likewise.
7324 * string/memrchr.c: Likewise.
7325 * string/rawmemchr.c: Likewise.
7326 * sysdeps/posix/getcwd.c: Likewise.
7327 * time/strftime_l.c: Likewise.
7328
3b100462
JM
73292012-01-30 Joseph Myers <joseph@codesourcery.com>
7330
7331 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7332 * config.make.in (config-cflags-sse2avx): Define.
7333 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7334 Fix typo.
7335
607998af
CM
73362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7337
7338 * scripts/config.guess: Update from upstream config git repository.
7339 * scripts/config.sub: Likewise.
7340
3601428f
CM
73412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7342
3ac8b282
CM
7343 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7344 (EM_NUM): Update.
7345 (R_TILEPRO_*, R_TILEGX_*): New macros.
7346
e034841e
CM
7347 * scripts/firstversions.awk: Fix bug in version range handling.
7348
540d7568
CM
7349 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7350
3601428f
CM
7351 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7352
463de862
CM
7353 * include/sys/epoll.h: New file.
7354 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7355 libc_hidden_def.
7356
73139a76
UD
73572012-01-28 Ulrich Drepper <drepper@gmail.com>
7358
96bc5b45
UD
7359 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7360 Avoid unnecessary __WORDSIZE == 64 test.
7361 (fmaxf): Use VEX format if possible.
7362 (fmax): Likewise.
7363 (fminf): Likewise.
7364 (fmin): Likewise.
7365
56f6f6a2
UD
7366 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7367 * math/math_private.h: Remove libc_fegetround* and
7368 libc_fesetround*.
7369 * sysdeps/i386/configure.in: Check for -msse2avx.
7370 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7371 also if SSE2AVX is defined.
7372 Remove libc_fegetround* and libc_fesetround*.
7373 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7374 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7376 of HAS_YMM_USABLE.
7377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7382
73139a76
UD
7383 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7384
d73f93a4
AZ
73852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7386
7387 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7388 size is not set.
7389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7390
6ee65ed6
UD
73912012-01-27 Ulrich Drepper <drepper@gmail.com>
7392
7393 [BZ #13618]
7394 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7395 relocation.
7396 * Makeconfig (libm): Define.
7397 * elf/Makefile: Add rules to build and run tst-relsort1.
7398 * elf/tst-relsort1.c: New file.
7399 * elf/tst-relsort1mod1.c: New file.
7400 * elf/tst-relsort1mod2.c: New file.
7401
8db21882
JM
74022012-01-27 Joseph Myers <joseph@codesourcery.com>
7403
7404 * math/s_ldexp.c: Remove __STDC__ conditionals.
7405 * math/s_ldexpf.c: Likewise.
7406 * math/s_ldexpl.c: Likewise.
7407 * math/s_nextafter.c: Likewise.
7408 * math/s_nexttowardf.c: Likewise.
7409 * math/s_significand.c: Likewise.
7410 * math/s_significandf.c: Likewise.
7411 * math/s_significandl.c: Likewise.
7412 * math/w_jnl.c: Likewise.
7413 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7414 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7415 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7416 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7417 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7432 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7433 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7434 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7439 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7440 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7441 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7442 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7453 * sysdeps/ieee754/k_standard.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7515 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7533 * sysdeps/ieee754/s_matherr.c: Likewise.
7534 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7535 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7538
965a54a4
JM
75392012-01-26 Joseph Myers <joseph@codesourcery.com>
7540
7541 * crypt/md5.h: Remove __STDC__ conditionals.
7542 * libio/libioP.h: Likewise.
7543 * locale/programs/config.h: Likewise.
7544 * sysdeps/generic/sysdep.h: Likewise.
7545 * sysdeps/i386/asm-syntax.h: Likewise.
7546 * sysdeps/s390/asm-syntax.h: Likewise.
7547 * sysdeps/unix/sysdep.h: Likewise.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7550
7071ad79
JM
75512012-01-26 Joseph Myers <joseph@codesourcery.com>
7552
7553 * libio/libio.h: Remove __STDC__ conditionals.
7554 * malloc/obstack.h: Likewise.
7555 * math/complex.h: Likewise.
7556 * math/math.h: Likewise.
7557 * sysdeps/generic/_G_config.h: Likewise.
7558 * sysdeps/gnu/_G_config.h: Likewise.
7559 * sysdeps/mach/hurd/_G_config.h: Likewise.
7560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7562 * sysdeps/sparc/bits/mathdef.h: Likewise.
7563
afc5ed09
UD
75642012-01-26 Ulrich Drepper <drepper@gmail.com>
7565
7566 [BZ #13583]
7567 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7568 Clean up HAS_* macros.
afc5ed09 7569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7570 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7571 possible.
7572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7573 HAS_AVX.
7574 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7579
bdb6de1d
JM
75802012-01-25 Joseph Myers <joseph@codesourcery.com>
7581
7582 * elf/tst-unique3.cc (gets): Remove declaration.
7583 * elf/tst-unique3lib.cc (gets): Likewise.
7584 * elf/tst-unique3lib2.cc (gets): Likewise.
7585 * elf/tst-unique4.cc (gets): Likewise.
7586
b15549e6
UD
75872012-01-24 Ulrich Drepper <drepper@gmail.com>
7588
7589 * include/stdio.h: Add C++ protection. Add gets declarations and
7590 definitions.
7591 * debug/tst-chk1.c: Don't declare gets here.
7592 * stdio-common/tst-gets.c: Likewise.
7593
a037381f
JM
75942012-01-24 Joseph Myers <joseph@codesourcery.com>
7595
7596 * posix/glob: Remove directory.
7597
f1d4aa75
JM
75982012-01-24 Joseph Myers <joseph@codesourcery.com>
7599
7600 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7601
81c0c964
PT
76022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7603
7604 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7605 of the non-standard EPFNOSUPPORT.
7606
0ea698ae
ST
76072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7608
7609 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7610 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7611 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7612
d220b117
UD
76132012-01-21 Ulrich Drepper <drepper@gmail.com>
7614
7615 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7616
3e1aa84e
UD
76172012-01-20 Ulrich Drepper <drepper@gmail.com>
7618
7619 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7620 transient errors.
7621 * nscd/grpcache.c (cache_addgr): Likewise.
7622 * nscd/hstcache.c (cache_addhst): Likewise.
7623 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7624 * nscd/pwdcache.c (cache_addpw): Likewise.
7625 * nscd/servicescache.c (cache_addserv): Likewise.
7626
400aa020
UD
76272012-01-16 Ulrich Drepper <drepper@gmail.com>
7628
d77e7869
UD
7629 * malloc/malloc.c: Various cleanups.
7630 * malloc/hooks.c: Likewise.
7631
400aa020
UD
7632 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7633 * stdlib/bug-fmtmsg1.c: New file.
7634
7635 * stdlib/fmtmsg.c (init): Add missing unlock.
7636 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7637
e0a309cf
MP
76382012-01-12 Marek Polacek <polacek@redhat.com>
7639
7640 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7641 and _GNU_SOURCE.
7642
929d11c7
WS
76432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7644
7645 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7646 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7647 macro to ensure uniqueness of label name.
7648 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7649 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7650
41d0e869
UD
76512012-01-11 Ulrich Drepper <drepper@gmail.com>
7652
0cc5ed3b
UD
7653 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7654
41d0e869
UD
7655 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7656 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7659
a47a831a
UD
76602012-01-10 Ulrich Drepper <drepper@gmail.com>
7661
daa891c0
UD
7662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7663
7664 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7665 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7667
e58ef0f2
UD
7668 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7669
a47a831a 7670 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7671 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7672 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7674
7675 * math/bits/math-finite.h: Add ldexp support.
7676
a0bfc9c7
MP
76772012-01-10 Marek Polacek <polacek@redhat.com>
7678
7679 * locale/programs/localedef.h (show_archive_content): Add noreturn
7680 attribute.
7681
d6e97a1d
UD
76822012-01-09 Ulrich Drepper <drepper@gmail.com>
7683
7684 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7685
d5835c26
UD
76862012-01-08 Ulrich Drepper <drepper@gmail.com>
7687
e5f484c6
UD
7688 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7689
d5835c26
UD
7690 * io/Makefile (headers): Add bits/poll2.h.
7691
d1f741e9
WS
76922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7693
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7695 typo #include statement.
7696
ec09c1c4
UD
76972012-01-08 Ulrich Drepper <drepper@gmail.com>
7698
7699 * include/sys/cdefs.h: Define __attribute_alloc_size.
7700 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7701 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7702 * elf/pldd.c: Likewise.
7703 * iconv/iconv_charmap.c: Likewise.
7704 * iconv/iconvconfig.c: Likewise.
7705 * iconv/strtab.c: Likewise.
7706 * locale/programs/locale.c: Likewise.
7707 * locale/programs/localedef.h: Likewise.
7708 * locale/programs/simple-hash.c: Likewise.
7709 * nscd/nscd.h: Likewise.
7710 * nss/makedb.c: Likewise.
7711 * sysdeps/generic/ldconfig.h: Likewise.
7712 * locale/programs/localedef.c: Remove xmalloc prototype.
7713 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7714
20b38e03
PP
77152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7716
7717 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7718 appropriate.
7719
a0da5fe1
UD
77202012-01-08 Ulrich Drepper <drepper@gmail.com>
7721
1d5a644a 7722 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7723 * math/tst-CMPLX.c: New file.
1d5a644a 7724
8784a6db
UD
7725 * math/complex.h (CMPLXL): Fix typo.
7726
d9a216c0
UD
7727 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7728 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7729 GLIBC_2.16.
7730 * debug/tst-chk1.c: Add poll and ppoll tests.
7731 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7732 * include/sys/poll.h: Add hidden proto for ppoll.
7733 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7734 * sysdeps/mach/hurd/ppoll.c: Likewise.
7735 * io/ppoll.c: Likewise.
7736 * debug/poll_chk.c: New file.
7737 * debug/ppoll_chk.c: New file.
7738 * include/bits/poll2.h: New file.
7739 * io/bits/poll2.h: New file.
7740
ac097f5c
UD
7741 [BZ #1350]
7742 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7743
2119dcfa
UD
7744 * configure.in: static is always set to yes. Remove.
7745 * config.make.in: Don't set build-static.
7746 * Makeconfig: Remove use of build-static.
7747 * dlfcn/Makefile: Likewise.
7748 * elf/Makefile: Likewise.
7749 * math/Makefile: Likewise.
7750 * misc/Makefile: Likewise.
7751 * nptl/Makefile: Likewise.
7752 * sysdeps/mach/hurd/Makefile: Likewise.
7753
121766a9
UD
7754 * configure.in: PWD_P is not used anymore.
7755 * config.make.in: Remove PWD_P entry.
7756
51a1d39c 7757 * configure.in: Remove last remnants of RANLIB.
8720d066 7758 No need to check for signed size_t anymore.
215f4bdc
UD
7759 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7760 and IA-64.
3857022a 7761 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7762 * aclocal.m4: Likewise.
7763
d3ed7225
UD
7764 * wcsmbs/mbrtoc16.c: Implement using towc function.
7765 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7766 * wcsmbs/wcsmbsload.c: Likewise.
7767 * iconv/gconv_simple.c: Likewise.
7768 * iconv/gconv_int.h: Likewise.
7769 * iconv/gconv_builtin.h: Likewise.
7770 * iconv/iconv_prog.c: Remove CHAR16 handling.
7771
7772 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7773
7774 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7775
a0da5fe1
UD
7776 * configure.in: Remove --with-elf and --enable-bounded options.
7777 Dont set base_machine for ia64. More non-ELF conditions removed.
7778 Remove testing and setting of leading underscore information.
7779 * config.make.in (build-bounded): Set to no.
7780 * config.h.in: Remove NO_UNDERSCORES entry.
7781 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7782 them.
7783 * csu/start.c: Remove !NO_UNDERSCORE code.
7784 * locale/localeinfo.h: Likewise.
7785 * sysdeps/generic/machine-gmon.h: Likewise.
7786 * sysdeps/generic/sysdep.h: Likewise.
7787 * sysdeps/i386/sysdep.h: Likewise.
7788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7789 * sysdeps/mach/sysdep.h: Likewise.
7790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7792 * sysdeps/sh/sysdep.h: Likewise.
7793 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7794 * sysdeps/unix/i386/sysdep.S: Likewise.
7795 * sysdeps/unix/sparc/start.c: Likewise.
7796 * sysdeps/unix/sparc/sysdep.S: Likewise.
7797 * sysdeps/unix/sparc/sysdep.h: Likewise.
7798 * sysdeps/unix/start.c: Likewise.
7799 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7800 * sysdeps/x86_64/sysdep.h: Likewise.
7801
df78418a
UD
78022012-01-07 Ulrich Drepper <drepper@gmail.com>
7803
a784e502
UD
7804 [BZ #13553]
7805 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7806 for non-gcc.
7807 * argp/argp-fmtstream.h: Use const instead __const.
7808 * argp/argp.h: Likewise.
7809 * assert/assert.h: Likewise.
7810 * bits/fenv.h: Likewise.
7811 * bits/sched.h: Likewise.
7812 * bits/sigset.h: Likewise.
7813 * bits/sigthread.h: Likewise.
7814 * catgets/nl_types.h: Likewise.
7815 * conform/data/pthread.h-data: Likewise.
7816 * crypt/crypt-private.h: Likewise.
7817 * crypt/crypt.h: Likewise.
7818 * crypt/crypt_util.c: Likewise.
7819 * ctype/ctype.h: Likewise.
7820 * debug/execinfo.h: Likewise.
7821 * debug/mbsnrtowcs_chk.c: Likewise.
7822 * debug/mbsrtowcs_chk.c: Likewise.
7823 * debug/wcsnrtombs_chk.c: Likewise.
7824 * debug/wcsrtombs_chk.c: Likewise.
7825 * debug/wcstombs_chk.c: Likewise.
7826 * dirent/dirent.h: Likewise.
7827 * dlfcn/dlfcn.h: Likewise.
7828 * elf/neededtest4.c: Likewise.
7829 * grp/grp.h: Likewise.
7830 * gshadow/gshadow.h: Likewise.
7831 * iconv/gconv.h: Likewise.
7832 * iconv/gconv_int.h: Likewise.
7833 * iconv/gconv_simple.c: Likewise.
7834 * iconv/iconv.h: Likewise.
7835 * iconv/loop.c: Likewise.
7836 * iconv/skeleton.c: Likewise.
7837 * include/aio.h: Likewise.
7838 * include/aliases.h: Likewise.
7839 * include/argz.h: Likewise.
7840 * include/arpa/inet.h: Likewise.
7841 * include/assert.h: Likewise.
7842 * include/dirent.h: Likewise.
7843 * include/dlfcn.h: Likewise.
7844 * include/execinfo.h: Likewise.
7845 * include/fcntl.h: Likewise.
7846 * include/fenv.h: Likewise.
7847 * include/glob.h: Likewise.
7848 * include/grp.h: Likewise.
7849 * include/libintl.h: Likewise.
7850 * include/mntent.h: Likewise.
7851 * include/netdb.h: Likewise.
7852 * include/pwd.h: Likewise.
7853 * include/rpc/netdb.h: Likewise.
7854 * include/sched.h: Likewise.
7855 * include/search.h: Likewise.
7856 * include/shadow.h: Likewise.
7857 * include/signal.h: Likewise.
7858 * include/stdio.h: Likewise.
7859 * include/stdlib.h: Likewise.
7860 * include/string.h: Likewise.
7861 * include/sys/socket.h: Likewise.
7862 * include/sys/stat.h: Likewise.
7863 * include/sys/statfs.h: Likewise.
7864 * include/sys/statvfs.h: Likewise.
7865 * include/sys/syslog.h: Likewise.
7866 * include/sys/time.h: Likewise.
7867 * include/sys/uio.h: Likewise.
7868 * include/time.h: Likewise.
7869 * include/unistd.h: Likewise.
7870 * include/utmp.h: Likewise.
7871 * include/wchar.h: Likewise.
7872 * include/wctype.h: Likewise.
7873 * inet/aliases.h: Likewise.
7874 * inet/arpa/inet.h: Likewise.
7875 * inet/netinet/ether.h: Likewise.
7876 * inet/netinet/in.h: Likewise.
7877 * intl/libintl.h: Likewise.
7878 * io/bits/fcntl2.h: Likewise.
7879 * io/fcntl.h: Likewise.
7880 * io/ftw.h: Likewise.
7881 * io/sys/poll.h: Likewise.
7882 * io/sys/stat.h: Likewise.
7883 * io/sys/statfs.h: Likewise.
7884 * io/sys/statvfs.h: Likewise.
7885 * io/utime.h: Likewise.
7886 * libio/bits/stdio.h: Likewise.
7887 * libio/bits/stdio2.h: Likewise.
7888 * libio/libio.h: Likewise.
7889 * libio/libioP.h: Likewise.
7890 * libio/stdio.h: Likewise.
7891 * locale/lc-ctype.c: Likewise.
7892 * locale/locale.h: Likewise.
7893 * login/utmp.h: Likewise.
7894 * malloc/arena.c: Likewise.
7895 * malloc/malloc.c: Likewise.
7896 * malloc/malloc.h: Likewise.
7897 * malloc/mcheck.c: Likewise.
7898 * malloc/mtrace.c: Likewise.
7899 * math/bits/mathcalls.h: Likewise.
7900 * math/fenv.h: Likewise.
7901 * math/math_private.h: Likewise.
7902 * misc/bits/error.h: Likewise.
7903 * misc/bits/syslog.h: Likewise.
7904 * misc/err.h: Likewise.
7905 * misc/error.h: Likewise.
7906 * misc/fstab.h: Likewise.
7907 * misc/mntent.h: Likewise.
7908 * misc/regexp.h: Likewise.
7909 * misc/search.h: Likewise.
7910 * misc/sgtty.h: Likewise.
7911 * misc/sys/mman.h: Likewise.
7912 * misc/sys/syslog.h: Likewise.
7913 * misc/sys/uio.h: Likewise.
7914 * misc/sys/xattr.h: Likewise.
7915 * misc/ttyent.h: Likewise.
7916 * nis/rpcsvc/ypclnt.h: Likewise.
7917 * nss/nss.h: Likewise.
7918 * posix/bits/unistd.h: Likewise.
7919 * posix/fnmatch.h: Likewise.
7920 * posix/glob.h: Likewise.
7921 * posix/sched.h: Likewise.
7922 * posix/spawn.h: Likewise.
7923 * posix/sys/wait.h: Likewise.
7924 * posix/unistd.h: Likewise.
7925 * posix/wordexp.h: Likewise.
7926 * pwd/pwd.h: Likewise.
7927 * resolv/netdb.h: Likewise.
7928 * resource/sys/resource.h: Likewise.
7929 * rt/aio.h: Likewise.
7930 * rt/bits/mqueue2.h: Likewise.
7931 * rt/mqueue.h: Likewise.
7932 * shadow/shadow.h: Likewise.
7933 * signal/signal.h: Likewise.
7934 * socket/send.c: Likewise.
7935 * socket/sendto.c: Likewise.
7936 * socket/sys/socket.h: Likewise.
7937 * stdio-common/printf.h: Likewise.
7938 * stdlib/bits/stdlib.h: Likewise.
7939 * stdlib/fmtmsg.h: Likewise.
7940 * stdlib/monetary.h: Likewise.
7941 * stdlib/stdlib.h: Likewise.
7942 * stdlib/ucontext.h: Likewise.
7943 * streams/stropts.h: Likewise.
7944 * string/argz.h: Likewise.
7945 * string/bits/string2.h: Likewise.
7946 * string/string.h: Likewise.
7947 * string/strings.h: Likewise.
7948 * sunrpc/rpc/auth.h: Likewise.
7949 * sunrpc/rpc/auth_des.h: Likewise.
7950 * sunrpc/rpc/clnt.h: Likewise.
7951 * sunrpc/rpc/netdb.h: Likewise.
7952 * sunrpc/rpc/pmap_clnt.h: Likewise.
7953 * sunrpc/rpc/xdr.h: Likewise.
7954 * sysdeps/generic/inttypes.h: Likewise.
7955 * sysdeps/generic/net/if.h: Likewise.
7956 * sysdeps/generic/sys/swap.h: Likewise.
7957 * sysdeps/gnu/net/if.h: Likewise.
7958 * sysdeps/gnu/utmpx.h: Likewise.
7959 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7960 * sysdeps/i386/i486/bits/string.h: Likewise.
7961 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7962 * sysdeps/s390/bits/string.h: Likewise.
7963 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7964 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7965 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7966 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7967 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7968 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7969 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7970 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7971 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7972 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7973 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7974 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7975 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7976 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7977 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7981 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7985 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7987 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7990 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7991 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7992 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7993 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7994 * sysvipc/sys/ipc.h: Likewise.
7995 * sysvipc/sys/msg.h: Likewise.
7996 * sysvipc/sys/sem.h: Likewise.
7997 * sysvipc/sys/shm.h: Likewise.
7998 * termios/termios.h: Likewise.
7999 * time/sys/time.h: Likewise.
8000 * time/time.h: Likewise.
8001 * wcsmbs/bits/wchar2.h: Likewise.
8002 * wcsmbs/uchar.h: Likewise.
8003 * wcsmbs/wchar.h: Likewise.
8004 * wctype/wctype.h: Likewise.
8005
0269750c
UD
8006 [BZ #13551]
8007 * Makeconfig: Remove all but ELF support including AIX support.
8008 * Makerules: Likewise.
8009 * config.h.in: Likewise.
8010 * config.make.in: Likewise.
8011 * configure: Likewise.
8012 * configure.in: Likewise.
8013 * csu/Makefile: Likewise.
8014 * csu/version.c: Likewise.
8015 * debug/Makefile: Likewise.
8016 * dlfcn/Makefile: Likewise.
8017 * elf/Makefile: Likewise.
8018 * extra-lib.mk: Likewise.
8019 * iconv/Makefile: Likewise.
8020 * include/libc-symbols.h: Likewise.
8021 * include/shlib-compat.h: Likewise.
8022 * resolv/Makefile: Likewise.
8023 * resolv/res_libc.c: Likewise.
8024 * rt/Makefile: Likewise.
8025 * sysdeps/i386/asm-syntax.h: Likewise.
8026 * sysdeps/i386/sysdep.h: Likewise.
8027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8028 * sysdeps/mach/sysdep.h: Likewise.
8029 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8030 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8031 * sysdeps/s390/asm-syntax.h: Likewise.
8032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8034 * sysdeps/sh/sysdep.h: Likewise.
8035 * sysdeps/unix/sparc/sysdep.h: Likewise.
8036 * sysdeps/wordsize-32/divdi3.c: Likewise.
8037 * sysdeps/x86_64/sysdep.h: Likewise.
8038
00bbd29b
UD
8039 * argp/Versions: Remove _argp_unlock_xxx.
8040
8041 [BZ #13559]
8042 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8043 * abilist/libBrokenLocale.abilist: Likewise.
8044 * abilist/libanl.abilist: Likewise.
8045 * abilist/libc.abilist: Likewise.
8046 * abilist/libcrypt.abilist: Likewise.
8047 * abilist/libdl.abilist: Likewise.
8048 * abilist/libm.abilist: Likewise.
8049 * abilist/libnsl.abilist: Likewise.
8050 * abilist/libpthread.abilist: Likewise.
8051 * abilist/libresolv.abilist: Likewise.
8052 * abilist/librt.abilist: Likewise.
8053 * abilist/libthread_db.abilist: Likewise.
8054 * abilist/libutil.abilist: Likewise.
8055 * abilist/libnss_db.abilist: New file.
8056
8057 * scripts/abilist.awk: Add support for indirect functions.
8058
a2693a0e
UD
8059 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8060
3f05895f
UD
8061 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8062
ecb6fb48
UD
8063 * shlib-versions: Remove entries for ports architectures.
8064
664f8cb9
UD
8065 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8066 files in ports.
8067 * elf/stackguard-macros.h: Remove support for IA-64.
8068 * elf/tst-auditmod1.c: Likewise.
8069 * sysdeps/generic/ldsodefs.h: Likewise.
8070
7ae81d88
UD
8071 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8072 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8073 configure files.
8074
bdeba135
UD
8075 [BZ #13552]
8076 * configure.in: Remove --enable-omitfp support.
8077 * FAQ.in: Adjust.
8078 * config.make.in: Likewise.
8079 * Makeconfig: Likewise.
8080 * manual/install.texi: Likewise.
8081
d75a0a62
UD
8082 In case anyone cares, the IA-64 architecture could move to ports.
8083 * sysdeps/ia64/*: Removed.
8084 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8085 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8086
dcc9756b
UD
8087 [BZ #13555]
8088 * configure.in: Remove entries for unsupported architectures.
8089
d3761ebc 8090 [BZ #13533]
9954432e
UD
8091 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8092 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8093 routines.
8094 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8095 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8096 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8097 fall back to using wcrtomb.
8098 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8099 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8100 renaming.
8101 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8102 * wcsmbs/tst-c16c32-1.c: New file.
8103
8104 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8105 local variable.
8106
c3a87236
UD
8107 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8108
28926a1b
UD
8109 * elf/tst-unique3.cc: Add explicit declaration of gets.
8110 * elf/tst-unique3lib.cc: Likewise.
8111 * elf/tst-unique3lib2.cc: Likewise.
8112 * elf/tst-unique4.cc: Likewise.
8113
df78418a
UD
8114 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8115
8ecd6b2a
JM
81162012-01-06 Joseph Myers <joseph@codesourcery.com>
8117
8118 [BZ #13566]
8119 * assert/assert.h (static_assert): Don't define for C++.
8120 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8121 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8122
9f115170
UD
81232012-01-03 Ulrich Drepper <drepper@gmail.com>
8124
5e0d0300
UD
8125 * iconv/loop.c (single loop): Fix assertion in storing of
8126 remaining bytes.
8127
9f115170
UD
8128 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8129
81fb02b0
UD
81302012-01-01 Ulrich Drepper <drepper@gmail.com>
8131
8132 * posix/getconf.c: Update copyright year.
8133 * nss/getent.c: Likewise.
a316c1f6 8134 * nss/makedb.c: Likewise.
81fb02b0
UD
8135 * iconv/iconvconfig.c: Likewise.
8136 * iconv/iconv_prog.c: Likewise.
8137 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8138 * elf/pldd.c: Likewise.
8139 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8140 * catgets/gencat.c: Likewise.
8141 * csu/version.c: Likewise.
8142 * elf/ldd.bash.in: Likewise.
8143 * elf/sprof.c (print_version): Likewise.
8144 * locale/programs/locale.c: Likewise.
8145 * locale/programs/localedef.c: Likewise.
a316c1f6 8146 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8147 * nscd/nscd.c (print_version): Likewise.
8148 * debug/xtrace.sh: Likewise.
8149 * malloc/memusage.sh: Likewise.
8150 * malloc/mtrace.pl: Likewise.
8151 * debug/catchsegv.sh: Likewise.
8152
2ba92745
JJ
81532011-12-30 Jakub Jelinek <jakub@redhat.com>
8154
8155 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8156 pure attribute.
8157
dadebdae
UD
81582011-12-24 Ulrich Drepper <drepper@gmail.com>
8159
d3761ebc 8160 [BZ #13533]
db6af3eb
UD
8161 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8162 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8163 transformations.
8164 * iconv/gconv_int.h: Likewise.
8165 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8166 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8167 from libc for GLIBC_2.16.
8168 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8169 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8170 * wcsmbs/uchar.h: Really define mbstate_t.
8171 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8172 * wcsmbs/c16rtomb.c: New file.
8173 * wcsmbs/mbrtoc16.c: New file.
8174 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8175 for C/POSIX locale.
8176 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8177 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8178
dadebdae
UD
8179 * wcsmbs/wchar.h: Add missing __restrict.
8180
67371b56
UD
81812011-12-23 Ulrich Drepper <drepper@gmail.com>
8182
74033a25
UD
8183 [BZ #13532]
8184 * time/Makefile (routines): Add timespec_get.
8185 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8186 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8187 timespec for ISO C11.
8188 * time/timespec_get.c: New file.
8189 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8190 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8191
380d7e87
UD
8192 [BZ #13531]
8193 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8194 * stdlib/stdlib.h: Declare aligned_alloc.
8195 * Versions.def: Add GLIBC_2.16 for libc.
8196 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8197
4e9e7a35
UD
8198 [BZ 13527]
8199 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8200 ISO C11.
8201
380d7e87 8202 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8203 code.
8204
03a71829
UD
8205 [BZ #13528]
8206 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8207
839e283e
UD
8208 [BZ #13529]
8209 * assert/assert.h (static_assert): Define.
8210
ce5294e2 8211 * version.h: Update for 2.16 development version.
90fa7312 8212
8d44e150 8213 [BZ #13526]
d7809905
UD
8214 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8215 _ISOC11_SOURCE.
8216
c0da14cd
UD
8217 * version.h (RELEASE): Bump for 2.15 release.
8218 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8219
530a3249
MP
8220 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8221 Patch by Marek Polacek <mpolacek@redhat.com>.
8222
67371b56
UD
8223 * bits/byteswap.h: Protect long long constants with __extension__.
8224 * sysdeps/i386/bits/byteswap.h: Likewise.
8225 * sysdeps/ia64/bits/byteswap.h: Likewise.
8226 * sysdeps/s390/bits/byteswap.h: Likewise.
8227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8228
15db4de1
LD
82292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8230
8231 [BZ #13540]
bbe315ea
LD
8232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8233 destination buffer.
15db4de1
LD
8234 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8235
2b2596b1
MP
82362011-12-23 Marek Polacek <polacek@redhat.com>
8237
8238 * elf/dl-addr.c (determine_info): Add inline keyword.
8239 * elf/tst-auditmod4b.c (check_avx): Likewise.
8240 * elf/tst-auditmod6b.c (check_avx): Likewise.
8241 * elf/tst-auditmod6c.c (check_avx): Likewise.
8242 * elf/tst-auditmod7b.c (check_avx): Likewise.
8243
70c6c246
UD
82442011-12-23 Ulrich Drepper <drepper@gmail.com>
8245
8246 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8247 !__SSE_MATH__.
8248
c044cf14
LD
82492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8250
15db4de1 8251 [BZ #13540]
c044cf14
LD
8252 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8253 processing for last bytes.
8254
6b13d9d9
BH
82552011-08-06 Bruno Haible <bruno@clisp.org>
8256
d455f537
BH
8257 [BZ #13061]
8258 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8259 U+0385, not to U+1FEE.
8260
6b13d9d9
BH
8261 [BZ #13062]
8262 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8263 entry for U+00A5 U+0301.
8264
db910efd
UD
82652011-12-22 Ulrich Drepper <drepper@gmail.com>
8266
27deeafc
UD
8267 [BZ #13166]
8268 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8269 buffer for the output is too small.
8270
aed9d171
UD
8271 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8272 optimization.
8273
db910efd
UD
8274 [BZ #13185]
8275 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8276 SSE flags if possible.
8277
2bd779ae
LD
82782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8279
e7f9dac3 8280 [BZ #13540]
2bd779ae
LD
8281 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8282 processing for last bytes.
8283
154bfc16
JM
82842011-12-22 Joseph Myers <joseph@codesourcery.com>
8285
8286 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8287 (syscall-list-default-options, syscall-list-default-condition)
8288 (syscall-list-includes): Define.
8289 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8290 list of ABIs and options and #if conditions for each ABI. Do not
8291 handle common syscalls between ABIs specially.
8292 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8293 Remove.
8294 (syscall-list-variants, syscall-list-32bit-options)
8295 (syscall-list-32bit-condition, syscall-list-64bit-options)
8296 (syscall-list-64bit-condition): Define.
8297 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8298 (syscall-list-variants, syscall-list-32bit-options)
8299 (syscall-list-32bit-condition, syscall-list-64bit-options)
8300 (syscall-list-64bit-condition): Define.
8301 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8302 Remove.
8303 (syscall-list-variants, syscall-list-32bit-options)
8304 (syscall-list-32bit-condition, syscall-list-64bit-options)
8305 (syscall-list-64bit-condition): Define.
8306 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8307 Remove.
8308 (syscall-list-variants, syscall-list-32bit-options)
8309 (syscall-list-32bit-condition, syscall-list-64bit-options)
8310 (syscall-list-64bit-condition): Define.
8311
21eaf3a5
UD
83122011-12-22 Ulrich Drepper <drepper@gmail.com>
8313
16c6f992
UD
8314 * locale/iso-639.def: Add brx entry.
8315
41043168
UD
8316 [BZ #13328]
8317 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8318 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8319
21eaf3a5
UD
8320 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8321 __feraiseexcept_renamed.
8322
e3a851a2
UD
83232011-12-21 Ulrich Drepper <drepper@gmail.com>
8324
4920765e
UD
8325 [BZ #13538]
8326 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8327 EPOLLET with unsigned values.
8328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8330
e3a851a2
UD
8331 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8332 to large cancellation.
8333 * math/s_cacoshf.c: Likewise.
8334 * math/s_cacoshl.c: Likewise.
8335
b27e24b8
RK
83362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8337
8338 [BZ #13305]
aebefeee 8339 [BZ #12786]
b27e24b8
RK
8340 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8341 * math/s_cacoshf.c: Likewise.
8342 * math/s_cacoshl.c: Likewise.
8343
ee190f67
UD
83442011-12-21 Ulrich Drepper <drepper@gmail.com>
8345
8346 [BZ #13439]
8347 * iconv/gconv.h: Define __GCONV_SWAP.
8348 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8349 * iconvdata/utf-16.c: Likewise.
8350 * iconvdata/utf-32.c: Likewise.
8351
707f25df
AS
83522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8353
8354 [BZ #13524]
8355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8356 numerator after shifting it by one limb.
8357
d2daaa1e
RÁE
83582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8359
8360 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8361 under [__USE_EXTERN_INLINES].
8362
a4647e72
UD
83632011-12-17 Ulrich Drepper <drepper@gmail.com>
8364
8365 [BZ #13446]
8366 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8367
f0b264f1
AZ
83682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8369
8370 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8371 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8372 optimized code.
8373 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8374 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8375 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8376 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8377 for strncasecmp/strncasecmp_l compilation.
8378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8379 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8380
8ef4f244
MP
83812011-12-08 Marek Polacek <mpolacek@redhat.com>
8382
8383 [BZ #13484]
8384 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8385 of __asm__.
8386
97ac2654
UD
83872011-12-17 Ulrich Drepper <drepper@gmail.com>
8388
8389 [BZ #13506]
8390 * time/tzfile.c (__tzfile_read): Check values from file header.
8391
91d2a845
WS
83922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8393
8394 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8395 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8396 * powerpc/powerpc32/dl-start.S: Likewise.
8397 * powerpc/powerpc32/elf/start.S: Likewise.
8398 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8399 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8400 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8401 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8402 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8403 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8404 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8405 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8406 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8407 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8408 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8409 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8410 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8411 * powerpc/powerpc32/memset.S: Likewise.
8412 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8413 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8414 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8415 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8416 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8417 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8418 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8419 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8420 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8421 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8422 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8423 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8424 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8425
a1267ba1
AZ
84262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8427
8428 * math/libm-test.inc: Added more nearbyint tests.
8429 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8433
ad8ac1bd
RL
84342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8435
8436 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8437 FD_CLOEXEC.
8438
1d3e4b61
UD
84392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8440
8441 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8442 Add wcscpy-ssse3 wcscpy-c.
8443 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8444 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8445 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8446 * sysdeps/x86_64/wcschr.S: New file.
8447 * sysdeps/x86_64/wcsrchr.S: New file.
8448 * string/test-strcmp.c: Remove checking of wcscmp function for
8449 wrong alignments.
8450 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8451 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8452 wcsrchr-sse2 wcsrchr-c.
8453 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8454 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8455 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8456 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8457 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8458 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8459 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8460 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8461 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8462 * wcsmbc/wcschr.c (WCSCHR): New macro.
8463
5b330a2d
UD
84642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8465
8466 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8467 * wcsmbs/test-wcsrchr.c: New file.
8468 * string/test-strrchr.c: Add wcsrchr support.
8469 (WIDE): New macro.
8470 * wcsmbs/test-wcscpy.c: New file.
8471 * string/test-strcpy.c: Add wcscpy support.
8472 (WIDE): New macro.
26428b7c 8473
f039c043
UD
84742011-12-10 Ulrich Drepper <drepper@gmail.com>
8475
8476 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8477 the inner loop.
8478
850fb039
AS
84792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8480
8481 [BZ #13472]
8482 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8483
4efbd5cb
UD
84842011-12-04 Ulrich Drepper <drepper@gmail.com>
8485
52ff5dd0 8486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8487 Minor optimizations.
52ff5dd0 8488
4efbd5cb
UD
8489 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8490 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8491 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8492
8a426e12
UD
84932011-12-03 Ulrich Drepper <drepper@gmail.com>
8494
aff2453d
UD
8495 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8496 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8497 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8498 for gcc to avoid warnings.
8499 * inet/Makefile (tests): Add tst-checks.
8500 * inet/tst-checks.c: New file.
8501
8502 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8503 warning.
8504
8505 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8506 __wmemcmp_sse2.
8507
8508 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8509 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8510
8a426e12
UD
8511 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8512
9bea3473
UD
85132011-12-02 Ulrich Drepper <drepper@gmail.com>
8514
3a965496
UD
8515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8516 problem.
8517
9bea3473
UD
8518 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8519
f101631b
UD
85202011-11-29 Joseph Myers <joseph@codesourcery.com>
8521
8522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8523 conditional on GCC version.
8524 (__arch_compare_and_exchange_val_8_acq)
8525 (__arch_compare_and_exchange_val_16_acq)
8526 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8527 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8528 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8529
a98275aa
UD
85302011-12-02 Joseph Myers <joseph@codesourcery.com>
8531
8532 * sysdeps/sh/backtrace.c: New file.
8533
d4cc29a2
AS
85342011-12-02 Andreas Schwab <schwab@redhat.com>
8535
8536 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8537 parenthesis.
8538
6257af2d
AS
85392011-12-01 Andreas Schwab <schwab@redhat.com>
8540
8541 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8542 falling back to utime.
8543
b5f44c1a
AS
85442011-11-30 Andreas Schwab <schwab@redhat.com>
8545
8546 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8547 expectations for float.
8548
f3a6cc0a
AS
85492011-11-29 Andreas Schwab <schwab@redhat.com>
8550
8551 * locale/weight.h (findidx): Add parameter len.
8552 * locale/weightwc.h (findidx): Likewise.
8553 * posix/fnmatch_loop.c (FCT): Adjust caller.
8554 * posix/regcomp.c (build_equiv_class): Likewise.
8555 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8556 * posix/regexec.c (check_node_accept_bytes): Likewise.
8557 * string/strcoll_l.c (STRCOLL): Likewise.
8558 * string/strxfrm_l.c (STRXFRM): Likewise.
8559
9d65ea3a
UD
85602011-11-17 Ulrich Drepper <drepper@gmail.com>
8561
8562 * Makefile.in: Remove CVSOPT handling.
8563 * configure.in: Remove use of AC_REVISION.
8564 * iconvdata/Makefile (distribute): No need to filter out CVS.
8565 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8566 handling.
8567
5583a086
AS
85682011-11-16 Andreas Schwab <schwab@redhat.com>
8569
8570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8571 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8572 [USE_AS_STRNCASECMP_L]: Likewise.
8573 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8574 NO_TLS_DIRECT_SEG_REFS.
8575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8576 Fix argument offsets for non-PIC.
8577 [USE_AS_STRNCASECMP_L]: Likewise.
8578 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8579 NO_TLS_DIRECT_SEG_REFS.
8580
d62a8200
UD
85812011-11-15 Ulrich Drepper <drepper@gmail.com>
8582
9d65ea3a 8583 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8584 O_CLOEXEC.
8585 * locale/loadlocale.c (_nl_load_locale): Likewise.
8586
09f93bd3
AS
85872011-11-15 Andreas Schwab <schwab@redhat.com>
8588
446514f9
AS
8589 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8590 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8591 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8592 (SYSCALL_GETTIME): Set errno on error.
8593
09f93bd3
AS
8594 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8595 count references to noai6ai_cached.
8596
312be3f9
UD
85972011-11-15 Ulrich Drepper <drepper@gmail.com>
8598
8599 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8600
8601 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8602 FD_CLOEXEC for /proc/self/maps.
8603
8604 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8605 FD_CLOEXEC for /proc/meminfo.
8606
8607 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8608 gai.conf.
8609
8610 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8611 FD_CLOEXEC for given file.
8612
8613 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8614
8615 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8616 FD_CLOEXEC for /etc/hosts.
8617 (_gethtent): Likewise.
8618
8619 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8620
8621 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8622 cancellation and set FD_CLOEXEC for /etc/netgroup.
8623
8624 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8625 reading /etc/publickey.
8626
8627 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8628 allow cancellation when reading /etc/group.
8629
8630 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8631 cancellation.
8632 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8633
8634 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8635 when using data file.
8636
8637 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8638
8639 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8640 (write_nis_obj): Use "c" and "e" in fopen.
8641
8642 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8643
8644 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8645
8646 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8647
8648 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8649
8650 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8651 locale.alias.
8652
8653 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8654
8655 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8656
8657 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8658
8659 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8660 file parsing and set FD_CLOEXEC.
8661
82af0fa8
UD
86622011-11-14 Ulrich Drepper <drepper@gmail.com>
8663
8664 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8665
a5fb313c
AS
86662011-11-14 Andreas Schwab <schwab@redhat.com>
8667
8668 * malloc/arena.c (arena_get2): Don't call reused_arena when
8669 _int_new_arena failed.
8670
6abf3465
UD
86712011-11-14 Ulrich Drepper <drepper@gmail.com>
8672
8673 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8674 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8677 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8679 to compile strcasecmp and strncasecmp.
8680 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8681 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8682
8683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8684
76e3966e
UD
86852011-11-13 Ulrich Drepper <drepper@gmail.com>
8686
8687 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8688 locale-defines.sym to gen-as-const-headers.
8689 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8690 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8692 to compile strcasecmp and strncasecmp.
8693 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8694 strcasecmp_l and strncasecmp_l.
8695 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8696 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8697 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8698 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8699 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8700 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8701 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8702 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8703 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8704 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8705 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8706
ab26144e
UD
87072011-11-12 Ulrich Drepper <drepper@gmail.com>
8708
7edb22ef
UD
8709 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8710 result of SYSDEP_GETTIME_CPU to retval.
8711 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8712 parameter list to macro. Remove trailing semicolon. Adjust users.
8713
9694fc44
UD
8714 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8715 variable.
8716
8ad89ef8
UD
8717 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8718 mantissa words.
8719 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8720
0c822ef9
UD
8721 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8722 from unused variable.
8723
874e0564
UD
8724 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8725 DWARF definitions.
8726 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8727 for assembling.
8728
3a2edc79
UD
8729 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8730 over namespaces.
8731
f3c2577f
UD
8732 * sunrpc/rpc_prot.c (rejected): Fix case value.
8733
294ce126
UD
8734 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8735 unsigned long long int to avoid warnings in shift.
8736
5e2b63c6
UD
8737 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8738 of use of trans.
8739 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8740 variable tmp.
8741
e7f4b08e
UD
8742 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8743 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8744 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8745
ab26144e
UD
8746 * nis/nis_table.c (nis_list): Use variable of correct type for
8747 result of __follow_path call.
8748
8a6d5255
AZ
87492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750
8751 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8752 of math functions ceil, trunc, floor, round, and sqrt, when
8753 avaliable on the platform.
8754 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8755 name clash.
8756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8757 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8758 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8759
aaddc98c
MP
87602011-10-30 Marek Polacek <mpolacek@redhat.com>
8761
8762 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8763 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8764
95b7042b
RM
87652011-11-11 Roland McGrath <roland@hack.frob.com>
8766
8767 * include/unistd.h: Fix __readlink return type.
8768 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8769
57769839
UD
87702011-11-11 Ulrich Drepper <drepper@gmail.com>
8771
8772 * stdlib/ucontext.h: Undo last change for makecontext.
8773
edc5984d
AS
87742011-11-11 Andreas Schwab <schwab@redhat.com>
8775
98591e58
AS
8776 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8777
edc5984d
AS
8778 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8779 * setjmp/setjmp.h: Mark functions as non-leaf.
8780 * setjmp/bits/setjmp2.h: Likewise.
8781 * stdlib/ucontext.h: Likewise.
8782
77cdc054
AS
87832011-11-10 Andreas Schwab <schwab@redhat.com>
8784
8785 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8786 (reused_arena): Don't check arena limit.
8787 (arena_get2): Atomically check arena limit.
8788
fe72eebd
UD
87892011-11-08 Ulrich Drepper <drepper@gmail.com>
8790
5f078c32
UD
8791 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8792 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8793
fe72eebd
UD
8794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8795 instructions.
8796
ae1bc2fa
AS
87972011-11-07 Andreas Schwab <schwab@redhat.com>
8798
7583a88d
AS
8799 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8800 handler when locking.
8801
ae1bc2fa
AS
8802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8803 Fix size of allocated buffer.
8804
10fb0bfa
AS
88052011-11-04 Andreas Schwab <schwab@redhat.com>
8806
998832a4
AS
8807 [BZ #10103]
8808 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8809 declarations for long double functions.
8810 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8811
10fb0bfa
AS
8812 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8813
3d7ba52b
AS
88142011-11-03 Andreas Schwab <schwab@redhat.com>
8815
a9ae54a1
AS
8816 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8817 installed.
8818
3d7ba52b
AS
8819 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8820 is disabled.
8821
bc8db248
ST
88222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8823
8824 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8825
45b96dd6
AS
88262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8827
647776f6
AS
8828 * include/alloca.h (stackinfo_alloca_round): Define.
8829 (extend_alloca): Use it.
8830 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8831 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8832 here.
8833
d91a8b93
AS
8834 * scripts/check-local-headers.sh: Ignore libaudit.h.
8835
45b96dd6
AS
8836 * nscd/Makefile (extra-objs): Make recursively expanded.
8837
432d41ce
UD
88382011-11-01 Ulrich Drepper <drepper@gmail.com>
8839
34372fc6
UD
8840 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8841 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8842
fadb59f8
UD
8843 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8844 * posix/tst-rfc3484-2.c: Likewise.
8845 * posix/tst-rfc3484-3.c: Likewise.
8846
78239589
UD
8847 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8848 process_vm_writev.
8849 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8850 process_vm_writev.
8851 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8852 process_vm_writev from libc using GLIBC_2.15 version.
8853
432d41ce
UD
8854 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8855
02f9c6cf
PP
88562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8857
8858 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8859 stack usage.
8860
3a2c0242
UD
88612011-10-31 Ulrich Drepper <drepper@gmail.com>
8862
f4ec4833
UD
8863 [BZ #13367]
8864 * nss/getent.c (initgroups_keys): Show error message in case no group
8865 names are given.
8866
3a2c0242
UD
8867 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8868 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8869 __bump_nl_timestamp.
8870 * nscd/connections (nscd_init): When host database is served open
8871 netlink socket and request notification about configuration changes.
8872 (main_loop_poll): Track netlink file descriptor and bump timestamp
8873 in case data becomes available.
8874 (main_loop_epoll): Likewise.
8875 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8876 (database_pers_head): Add extra_data fileds.
8877 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8878 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8879 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8880 Adjust caller.
8881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8882 in6ai data, call __free_in6ai.
8883 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8884 Add -DHAVE_NETLINK.
8885 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8886 interface information. Reuse previous data if netlink timestamp
8887 is not changed.
8888 (__bump_nl_timestamp): New function.
8889 (__free_in6ai): New function.
8890
636064eb
UD
88912011-10-30 Ulrich Drepper <drepper@gmail.com>
8892
8893 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8894 close_not_cancel_no_status here.
8895 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8896
9beb2334
UD
88972011-10-29 Ulrich Drepper <drepper@gmail.com>
8898
6ef76f3b
UD
8899 [BZ #13276]
8900 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8901 return value.
8902
0ffc4f3e 8903 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8904 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8905 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8906
cb95113e
UD
89072011-07-03 Andreas Jaeger <aj@suse.de>
8908
8909 [BZ #10709]
8910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8911 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8912 * math/libm-test.inc (sin_test): Add test case.
8913
a1b560ff
UD
89142011-10-29 Ulrich Drepper <drepper@gmail.com>
8915
c9aaface
UD
8916 [BZ #13337]
8917 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8918 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8919
d272e7f1
UD
8920 * elf/chroot_canon.c (chroot_canon): Cleanups.
8921
1bc33071
UD
8922 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8923
1760874d
TJ
8924 [BZ #13335]
8925 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8926 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8927
51d91b18
UD
8928 * string/test-strchr.c: Make usable for strchrnul testing.
8929 * string/test-strchrnul.c: New file.
8930 * string/Makefile (strop-tests): Add strchrnul.
8931
a1b560ff 8932 * po/it.po: Update from translation team.
b611fb81 8933 * po/es.po: Likewise.
a1b560ff 8934
a5b81e1f
UD
89352011-10-28 Ulrich Drepper <drepper@gmail.com>
8936
fd52bc6d
UD
8937 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8938 the three constants needed as parameters. Drop the others.
8939 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8940 __m128i_strloadu_tolower.
52e4b9eb
UD
8941 Create and initialize variable zero and use it in all the places
8942 where _mm_setzero_si128 was used.
fd52bc6d 8943
a5b81e1f
UD
8944 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8945 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8946 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8948 anymore.
8949 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8950 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8951 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8952 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8953 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8954 __mpranred, __mptan.
8955 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8956 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8957 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8958 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8959 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8960 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8961 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8962 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8963 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8964
b4343346
AS
89652011-10-28 Andreas Schwab <schwab@redhat.com>
8966
0c92d8a8
AS
8967 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8968 redefine if SHARED.
8969 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8970
b4343346
AS
8971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8972 wide char related routines to wcsmbs subdir.
8973
3871f58f
AS
89742011-10-27 Andreas Schwab <schwab@redhat.com>
8975
8976 [BZ #13344]
8977 * misc/sys/cdefs.h (__THROWNL): Define.
8978 * posix/unistd.h: Use __THREADNL instead of __THREAD
8979 for memory synchronization functions.
8980
94d44d9f
RM
89812011-10-26 Roland McGrath <roland@hack.frob.com>
8982
21b64b15 8983 [BZ #13349]
94d44d9f
RM
8984 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8985 doesn't exist.
8986 * manual/stdio.texi (Obstack Streams): Node removed.
8987
f6ce9294
AS
89882011-10-26 Andreas Schwab <schwab@redhat.com>
8989
80479147
AS
8990 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8991 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8993
f6ce9294
AS
8994 * math/math_private.h (math_force_eval): Allow non-addressable
8995 arguments.
8996 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8997
618280a1
UD
89982011-10-25 Ulrich Drepper <drepper@gmail.com>
8999
e0016b11
UD
9000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9001 file is not needed.
9002
9003 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9010 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9011 Add AVX variants.
9012 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9013 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9014 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9015 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9016 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9017 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9018 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9020 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9021 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9022 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9023 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9024 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9025 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9028 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9029 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9030 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9031
9032 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9033 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9034
618280a1
UD
9035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9036 place. Use VEX encoding when compiling for AVX.
9037
37822576
AS
90382011-10-25 Andreas Schwab <schwab@redhat.com>
9039
1f1e1947
AS
9040 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9041 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9042
37822576
AS
9043 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9044
31ea014d
UD
90452011-10-25 Ulrich Drepper <drepper@gmail.com>
9046
d7826aa1 9047 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9048 useless if() expression.
d7826aa1
UD
9049 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9063 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9064 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9068
31ea014d
UD
9069 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9070
16437fec
AS
90712011-10-25 Andreas Schwab <schwab@redhat.com>
9072
9073 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9074 condition.
9075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9076
31d3cc00
UD
90772011-10-25 Ulrich Drepper <drepper@gmail.com>
9078
9079 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9080 .text section. Avoid duplicate constants.
9081 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9091 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9093 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9096 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9104 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9105 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9106 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9107 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9108 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9109 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9110 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9111 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9112 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9113 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9114 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9115 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9116 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9117 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9119 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9120 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9121 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9122 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9123 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9125 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9126
58985aa9
UD
91272011-10-24 Ulrich Drepper <drepper@gmail.com>
9128
202c9deb
UD
9129 * sysdeps/x86_64/dla.h: Move to ...
9130 * sysdeps/x86_64/fpu/dla.h: ...here.
9131 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9132 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9133
af968f62
UD
9134 * config.make.in: Add have-mfma4 entry.
9135 * configure.in: Substitute libc_cv_cc_fma4.
9136 * math/Makefile (dbl-only-routines): Add sincostab.
9137 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9138 Use __sincostab not sincos.
9139 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9140 name is a macro.
9141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9145 using __copysign.
9146 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9147 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9148 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9149 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9150 and __inv.
9151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9152 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9153 __copysign.
9154 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9155 define aliases when function name is a macro.
9156 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9157 sysdeps/ieee754/dbl-64/sincos.tbl.
9158 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9159 fma4-enabled routines.
9160 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9161 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9162 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9163 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9164 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9165 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9167 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9169 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9170 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9171 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9172 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9175 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9176 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9177 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9178 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9180 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9181 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9183 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9185 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9187 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9189 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9190
58985aa9
UD
9191 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9192 rename.
9193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9201
a201fbcf
AS
92022011-10-24 Andreas Schwab <schwab@redhat.com>
9203
9204 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9205
fc2ee42a
LD
92062011-10-23 Ulrich Drepper <drepper@gmail.com>
9207
bb3129bd
UD
9208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9209
0275fff8
UD
9210 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9211 prediction.
9212 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9213
2fa2ae85
UD
9214 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9215 Remove unused variable magic_bits.
9216 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9217
fc2ee42a
LD
9218 * string/strnlen.c: Define and use STRNLEN macro.
9219 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9220 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9222 * wcsmbs/wcslen.c: Define and use WCSLEN.
9223 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9224 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9225 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9226 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9227 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9228 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9229 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9230
ce7dd29f
LD
92312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9232
9233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9234 strnlen-sse2-no-bsf.
9235 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9237 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9238 Add strnlen support.
9239 (USE_AS_STRNLEN): New macro.
9240 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9241 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9242 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9243 * sysdeps/x86_64/wcslen.S: New file.
9244
979c70a3
MZ
92452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9246
9247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9248 XMM-moves are used for copying on small sizes.
9249
2d09f82f
LD
92502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9251
9252 * wcsmbs/Makefile (strop-tests): Add wcschr.
9253 * wcsmbs/test-wcschr.c: New file.
9254 * string/test-strchr.c: Update.
9255 Add wcschr support.
9256 (WIDE): New macro.
9257
619fccca
LD
92582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9259
2d09f82f 9260 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9261 * wcsmbs/test-wcslen.c: New file.
9262 * string/test-strlen.c: Update.
9263 Add wcslen support.
9264 (WIDE): New macro.
9265
09f699ea
UD
92662011-10-23 Ulrich Drepper <drepper@gmail.com>
9267
9268 * po/it.po: Update from translation team.
9269
95584d3b
LD
92702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9271
9272 * sysdeps/x86_64/wcscmp.S: Update.
9273 Fix wrong comparison semantics.
9274 wcscmp shall use signed comparison not unsigned.
9275 Don't use substraction to avoid overflow bug.
9276 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9277 * wcsmbc/wcscmp.c: Likewise.
9278 * string/test-strcmp.c: Likewise.
9279 Add new tests to check cases with negative values.
9280
c8b3296b
UD
92812011-10-23 Ulrich Drepper <drepper@gmail.com>
9282
9283 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9284 * sysdeps/x86_64/dla.h: ...here. New file.
9285 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
92952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9296
9297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9298 __ynl_finite aliases.
9299
a1a87169
UD
93002011-10-22 Ulrich Drepper <drepper@gmail.com>
9301
0d355eb7
UD
9302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9303
a1a87169
UD
9304 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9305 define DLA_FMA.
9306 [DLA_FMA] (EMULV): Use DLA_FMA.
9307 [DLA_FMA] (MUL12): Use EMULV.
9308 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9309 that are not needed.
9310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9317
ee2aafe0
AS
93182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9319
9320 * math/s_nan.c: Undef __nan.
9321 * math/s_nanf.c: Undef __nanf.
9322 * math/s_nanl.c: Undef __nanl.
9323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9324 "math_private.h".
9325
bc62c2fb
UD
93262011-10-22 Ulrich Drepper <drepper@gmail.com>
9327
77425c63
UD
9328 * math/s_catan.c: Add branch predictions.
9329 * math/s_catanf.c: Likewise.
9330 * math/s_catanh.c: Likewise.
9331 * math/s_catanhf.c: Likewise.
9332 * math/s_catanhl.c: Likewise.
9333 * math/s_catanl.c: Likewise.
9334 * math/s_cexp.c: Likewise.
9335 * math/s_cexpf.c: Likewise.
9336 * math/s_cexpl.c: Likewise.
9337 * math/s_clog.c: Likewise.
9338 * math/s_clog10.c: Likewise.
9339 * math/s_clog10f.c: Likewise.
9340 * math/s_clog10l.c: Likewise.
9341 * math/s_clogf.c: Likewise.
9342 * math/s_clogl.c: Likewise.
9343 * math/s_csqrt.c: Likewise.
9344 * math/s_csqrtf.c: Likewise.
9345 * math/s_csqrtl.c: Likewise.
9346 * math/s_ctanf.c: Likewise.
9347 * math/s_ctanh.c: Likewise.
9348 * math/s_ctanhf.c: Likewise.
9349 * math/s_ctanhl.c: Likewise.
9350 * math/s_ctanl.c: Likewise.
9351
bc62c2fb
UD
9352 * math/math_private.h: Define __nan, __nanf, __nanl.
9353 * math/s_cacosh.c: Include <math_private.h>.
9354 * math/s_cacoshl.c: Likewise.
9355 * math/s_casinh.c: Likewise.
9356 * math/s_casinhf.c: Likewise.
9357 * math/s_casinhl.c: Likewise.
9358 * math/s_ccos.c: Rely entire on ccosh.
9359 * math/s_ccosf.c: Rely entire on ccoshf.
9360 * math/s_ccosl.c: Rely entirely on ccoshl.
9361 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9362 Remove tests for FE_INVALID.
9363 * math/s_ccoshf.c: Likewise.
9364 * math/s_ccoshl.c: Likewise.
9365 * math/s_csin.c: Likewise.
9366 * math/s_csinf.c: Likewise.
9367 * math/s_csinh.c Likewise.
9368 * math/s_csinhf.c: Likewise.
9369 * math/s_csinhl.c: Likewise.
9370 * math/s_csinl.c: Likewise.
9371 * math/s_ctan.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9373 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9375
8ec250a4
UD
93762011-10-21 Ulrich Drepper <drepper@gmail.com>
9377
c196fed8
UD
9378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9379 compilation problems.
9380
8ec250a4
UD
9381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9382 __builtin_expect.
9383
8d4f46c6
UD
93842011-10-20 Ulrich Drepper <drepper@gmail.com>
9385
ed72b654
UD
9386 * sysdeps/i386/configure.in: Test for -mfma4 option.
9387 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9388 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9389 COMMON_CPUID_INDEX_80000001.
9390 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9391 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9392 use it if FMA3 is not supported.
9393 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9394
8d4f46c6
UD
9395 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9396 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9397
d45c60c2
AS
93982011-10-20 Andreas Schwab <schwab@redhat.com>
9399
9400 [BZ #12892]
9401 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9402 it would create a cycle with a link time dependency.
9403
d9a4d2ab
UD
94042011-10-19 Ulrich Drepper <drepper@gmail.com>
9405
855d1560
UD
9406 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9407 instruction.
9408 * string/Makefile (strop-tests): Add rawmemchr.
9409 * string/test-rawmemchr.c: New file.
9410
d9a4d2ab
UD
9411 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9413 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9414 when compiling str{,n}casecmp and when AVX is available. Hook up
9415 new optimized code in initializers.
9416
8f3b1ffe
AS
94172011-10-19 Andreas Schwab <schwab@redhat.com>
9418
9419 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9420 __feraiseexcept instead of feraiseexcept.
9421
d38f1dba
UD
94222011-10-18 Ulrich Drepper <drepper@gmail.com>
9423
d9a8d0ab
UD
9424 * math/math_private.h: Define defaults for libc_fetestexcept and
9425 libc_feupdateenv.
9426 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9427 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9428 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9429 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9431 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9432 libc_fetestexcept and libc_feupdateenv.
9433
4855e3dd
UD
9434 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9435 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9436 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9437 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9438 libc_feholdexcept_setround.
9439
581d30e3
UD
9440 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9441 Add s_nearbyint-c and s_nearbyintf-c.
9442 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9443 nearbyintf inlines.
9444 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9445 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9446 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9448
d38f1dba
UD
9449 * math/math_private.h: Define defaults for libc_fegetround,
9450 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9451 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9452 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9453 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9454 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9455 standard functions.
9456 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9457 Remove comments and hacks for old compiler versions.
9458 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9459 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9460 libc_feholdexceptl.
9461
caa6c9d8
AS
94622011-10-18 Andreas Schwab <schwab@redhat.com>
9463
9464 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9465 (__feraiseexcept_renamed): Add __NTH.
9466 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9467 namespace violations.
9468
97c066e6
UD
94692011-10-17 Ulrich Drepper <drepper@gmail.com>
9470
99ce7b04
UD
9471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9472
1004d182
UD
9473 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9474
228a984d
UD
9475 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9476 recently added interfaces.
9477 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9478
c8553a6a
UD
9479 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9480 about macro parameter expansion.
9481
ed22dcf6
UD
9482 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9483 __NO_MATH_INLINES is defined. Cleanups.
9484
9485 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9486 and __floorf is target has SSE4.1.
9487 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9488 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9489 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9490 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9491
b171c137
UD
9492 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9493 name.
9494 (floorf): Likewise.
9495
97c066e6
UD
9496 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9497
629f62ef
AS
94982011-10-17 Andreas Schwab <schwab@redhat.com>
9499
49a43d80
AS
9500 * misc/sys/cdefs.h: Fix last change.
9501
629f62ef
AS
9502 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9503 database lookup.
9504
e453f6cd
UD
95052011-10-16 Ulrich Drepper <drepper@gmail.com>
9506
aa78043a
UD
9507 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9508
ad0f5cad
UD
9509 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9518 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9519 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9520 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9521 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9522 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9523 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9524 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9525 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9526 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9527 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9528 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9529 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9530 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9531
9532 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9533 ceil, ceilf, floor, floorf.
9534
9535 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9536 Perform IRELATIVE relocations last.
9537
e453f6cd
UD
9538 * elf/do-rel.h: Add another parameter nrelative, replacing the
9539 local variable with the same name. Change name of the function
9540 to end in Rel or Rela (uppercase).
9541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9542 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9543 elf_dynamic_do_##reloc function.
9544
fd5bdc09
UD
95452011-10-15 Ulrich Drepper <drepper@gmail.com>
9546
79b195b5
UD
9547 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9548 is sufficient, at least on modern CPUs.
9549
d4a28569
UD
9550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9551
b61099b5
UD
9552 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9553 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9554
bcf01e6d
UD
9555 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9556 __expl_finite.
9557 * math/bits/math-finite.h: Add entries for exp.
9558 * math/e_expl.c: Add __*_finite alias.
9559 * sysdeps/i386/fpu/e_exp.S: Likewise.
9560 * sysdeps/i386/fpu/e_expf.S: Likewise.
9561 * sysdeps/i386/fpu/e_expl.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9563 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9567 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9569
ba1a0d59
UD
9570 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9571 is sufficient, at least on modern CPUs.
9572
fd5bdc09
UD
9573 * ctype/ctype-info.c (__ctype_init): Define.
9574 * include/ctype.h (__ctype_init): Declare.
9575 (__ctype_b_loc): The variable is always initialized.
9576 (__ctype_toupper_loc): Likewise.
9577 (__ctype_tolower_loc): Likewise.
9578 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9579 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9580
7872cfb0
AS
95812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9582
b468825a
AS
9583 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9584
7872cfb0
AS
9585 * configure.in: Also look in $cxxmachine/include for C++ system
9586 headers.
9587
be13f7bf
LD
95882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9589
9590 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9591 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9592 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9593 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9594 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9595 (USE_AS_WMEMCMP): New macro.
9596 Fixing indents.
9597 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9598 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9599 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9600 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9602 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9603 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9604 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9605 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9606 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9607 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9608 (USE_AS_WMEMCMP): New macro.
9609 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9610 * sysdeps/string/test-memcmp.c: Update.
9611 Fix simple_wmemcmp.
9612 Add new tests.
9613 * wcsmbs/wmemcmp.c: Update.
9614 (WMEMCMP): New macro.
9615 Fix overflow bug.
9616
556a2007
AJ
96172011-10-12 Andreas Jaeger <aj@suse.de>
9618
9619 [BZ #13268]
9620 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9621
538faaa7
UD
96222011-10-15 Ulrich Drepper <drepper@gmail.com>
9623
ab6737ff
UD
9624 * libio/iofwide.c (do_length): Avoid warning.
9625
538faaa7
UD
9626 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9627
396a21b1
UD
96282011-10-14 Ulrich Drepper <drepper@gmail.com>
9629
cdf2901f
UD
9630 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9631
38ad40ce
UD
9632 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9633 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9634 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9635 * sysdeps/i386/i686/fpu/e_log.S: New file.
9636 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9637 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9638
396a21b1
UD
9639 * ctype/ctype.h: Add support for inlined isXXX functions when
9640 compiling C++ code.
9641
6b1f68c9
AS
96422011-10-14 Andreas Schwab <schwab@redhat.com>
9643
349290c0
AS
9644 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9645
6b1f68c9
AS
9646 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9647
f2282d42
RM
96482011-10-13 Roland McGrath <roland@hack.frob.com>
9649
9650 [BZ #13291]
9651 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9652
5298ffa8
AS
96532011-10-13 Andreas Schwab <schwab@redhat.com>
9654
714fad23
AS
9655 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9656 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9657 feraiseexcept.
9658
81dcc7fb
AS
9659 * sysdeps/x86_64/memrchr.S: Check for zero size.
9660
5298ffa8
AS
9661 * string/stratcliff.c: Add memrchr tests.
9662
951fbcec
LD
96632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
9665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9666 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9667 rawmemchr-sse2 rawmemchr-sse2-bsf.
9668 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9669 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9670 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9671 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9672 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9673 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9674 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9675 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9676 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9677 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9678 * string/memrchr.c (MEMRCHR): New macro.
9679
0ac5ae23
UD
96802011-10-12 Ulrich Drepper <drepper@gmail.com>
9681
9682 Add integration with gcc's -ffinite-math-only and optimize wrapper
9683 functions in libm.
9684 * Versions.def: Define GLIBC_2.15 version for libm.
9685 * math/Makefile (headers): Add bits/math-finite.h.
9686 * math/bits/math-finite.h: New file.
9687 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9688 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9689 * math/e_acoshl.c: Add __*_finite alias.
9690 * math/e_acosl.c: Likewise.
9691 * math/e_asinl.c: Likewise.
9692 * math/e_atan2l.c: Likewise.
9693 * math/e_atanhl.c: Likewise.
9694 * math/e_coshl.c: Likewise.
9695 * math/e_exp10.c: Likewise.
9696 * math/e_exp10f.c: Likewise.
9697 * math/e_exp10l.c: Likewise.
9698 * math/e_exp2l.c: Likewise.
9699 * math/e_fmodl.c: Likewise.
9700 * math/e_gammal_r.c: Likewise.
9701 * math/e_hypotl.c: Likewise.
9702 * math/e_j0l.c: Likewise.
9703 * math/e_j1l.c: Likewise.
9704 * math/e_jnl.c: Likewise.
9705 * math/e_lgammal_r.c: Likewise.
9706 * math/e_log10l.c: Likewise.
9707 * math/e_log2l.c: Likewise.
9708 * math/e_logl.c: Likewise.
9709 * math/e_powl.c: Likewise.
9710 * math/e_sinhl.c: Likewise.
9711 * math/e_sqrtl.c: Likewise.
9712 * math/e_scalb.c: Completely rewritten and optimized.
9713 * math/e_scalbf.c: Likewise.
9714 * math/e_scalbl.c: Likewise.
9715 * math/w_acos.c: Likewise.
9716 * math/w_acosf.c: Likewise.
9717 * math/w_acosl.c: Likewise.
9718 * math/w_acosh.c: Likewise.
9719 * math/w_acoshf.c: Likewise.
9720 * math/w_acoshl.c: Likewise.
9721 * math/w_asin.c: Likewise.
9722 * math/w_asinf.c: Likewise.
9723 * math/w_asinl.c: Likewise.
9724 * math/w_atan2.c: Likewise.
9725 * math/w_atan2f.c: Likewise.
9726 * math/w_atan2l.c: Likewise.
9727 * math/w_atanh.c: Likewise.
9728 * math/w_atanhf.c: Likewise.
9729 * math/w_atanhl.c: Likewise.
9730 * math/w_exp10.c: Likewise.
9731 * math/w_exp10f.c: Likewise.
9732 * math/w_exp10l.c: Likewise.
9733 * math/w_fmod.c: Likewise.
9734 * math/w_fmodf.c: Likewise.
9735 * math/w_fmodl.c: Likewise.
9736 * math/w_j0.c: Likewise.
9737 * math/w_j0f.c: Likewise.
9738 * math/w_j0l.c: Likewise.
9739 * math/w_j1.c: Likewise.
9740 * math/w_j1f.c: Likewise.
9741 * math/w_j1l.c: Likewise.
9742 * math/w_jn.c: Likewise.
9743 * math/w_jnf.c: Likewise.
9744 * math/w_log.c: Likewise.
9745 * math/w_logf.c: Likewise.
9746 * math/w_logl.c: Likewise.
9747 * math/w_log10.c: Likewise.
9748 * math/w_log10f.c: Likewise.
9749 * math/w_log10l.c: Likewise.
9750 * math/w_log2.c: Likewise.
9751 * math/w_log2f.c: Likewise.
9752 * math/w_log2l.c: Likewise.
9753 * math/w_pow.c: Likewise.
9754 * math/w_powf.c: Likewise.
9755 * math/w_powl.c: Likewise.
9756 * math/w_remainder.c: Likewise.
9757 * math/w_remainderf.c: Likewise.
9758 * math/w_remainderl.c: Likewise.
9759 * math/w_scalb.c: Likewise.
9760 * math/w_scalbf.c: Likewise.
9761 * math/w_scalbl.c: Likewise.
9762 * math/w_sqrt.c: Likewise.
9763 * math/w_sqrtf.c: Likewise.
9764 * math/w_sqrtl.c: Likewise.
9765 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9766 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9767 used.
9768 * math/math_private.h: Declare __kernel_standard_f.
9769 * math/w_cosh.c: Remove cruft and optimize a bit.
9770 * math/w_coshf.c: Likewise.
9771 * math/w_coshl.c: Likewise.
9772 * math/w_exp2.c: Likewise.
9773 * math/w_exp2f.c: Likewise.
9774 * math/w_exp2l.c: Likewise.
9775 * math/w_hypot.c: Likewise.
9776 * math/w_hypotf.c: Likewise.
9777 * math/w_hypotl.c: Likewise.
9778 * math/w_lgamma.c: Likewise.
9779 * math/w_lgamma_r.c: Likewise.
9780 * math/w_lgammaf.c: Likewise.
9781 * math/w_lgammaf_r.c: Likewise.
9782 * math/w_lgammal.c: Likewise.
9783 * math/w_lgammal_r.c: Likewise.
9784 * math/w_sinh.c: Likewise.
9785 * math/w_sinhf.c: Likewise.
9786 * math/w_sinhl.c: Likewise.
9787 * math/w_tgamma.c: Likewise.
9788 * math/w_tgammaf.c: Likewise.
9789 * math/w_tgammal.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9792 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9793 Minor optimizations. Pretty printing. Remove cruft.
9794 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9795 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9796 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9798 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9799 * sysdeps/i386/fpu/e_asin.S: Likewise.
9800 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9801 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9802 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9803 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9805 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9807 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9808 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9809 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9810 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9811 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9812 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9813 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9814 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9815 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9816 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9817 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9818 * sysdeps/i386/fpu/e_log.S: Likewise.
9819 * sysdeps/i386/fpu/e_log10.S: Likewise.
9820 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9821 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9822 * sysdeps/i386/fpu/e_log2.S: Likewise.
9823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9825 * sysdeps/i386/fpu/e_logf.S: Likewise.
9826 * sysdeps/i386/fpu/e_logl.S: Likewise.
9827 * sysdeps/i386/fpu/e_pow.S: Likewise.
9828 * sysdeps/i386/fpu/e_powf.S: Likewise.
9829 * sysdeps/i386/fpu/e_powl.S: Likewise.
9830 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9831 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9832 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9835 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9836 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9837 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9838 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9842 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9843 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9844 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9845 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9860 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9861 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9862 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9863 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9864 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9865 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9866 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9868 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9869 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9870 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9871 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9873 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9874 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9875 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9876 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9877 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9878 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9879 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9880 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9932 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9934 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9935 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9936 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9937 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9938 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9939 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9940 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9941 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9942 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9945 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9946 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9947 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9948 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9949 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9950 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9951 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9952 (__isnanf): Likewise.
9953 (__isinf_ns): Likewise.
9954 (__isinf_nsf): Likewise.
9955 (__finite): Likewise.
9956 (__finitef): Likewise.
9957 (__ieee754_sqrt): Define as macro.
9958 (__ieee754_sqrtf): Define as macro.
9959 (__ieee754_sqrtl): Define as macro.
9960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9961 inlined copy.
9962 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9963 __FINITE_MATH_ONLY__ consistent.
9964 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9965
12cc2fcd
AS
99662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9967
a843a204
AS
9968 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9969 of rawmemchr.
9970
12cc2fcd
AS
9971 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9972
c853acd5
UD
99732011-10-09 Ulrich Drepper <drepper@gmail.com>
9974
9975 * po/ja.po: Update from translation team.
9976
c658d255
RM
99772011-10-08 Roland McGrath <roland@hack.frob.com>
9978
110946e4
RM
9979 * locale/programs/locarchive.c (prepare_address_space): New function.
9980 (create_archive, enlarge_archive, open_archive): Use it.
9981
50604220
RM
9982 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9983 inside [SHARED], where it is used.
9984
c658d255
RM
9985 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9986
9987 * nss/getent.c (netgroup_keys): Remove unused variable.
9988 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9989
6a621eb7
UD
99902011-10-08 Ulrich Drepper <drepper@gmail.com>
9991
7edb55ce
UD
9992 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9993 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9995 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9996 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9997 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9998 * math/Makefile (libm-calls): Add s_isinf_ns.
9999 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10000 * math/multc3.c: Likewise.
10001 * math/s_casin.c: Likewise.
10002 * math/s_casinf.c: Likewise.
10003 * math/s_casinl.c: Likewise.
10004 * math/s_ccos.c: Likewise.
10005 * math/s_ccosf.c: Likewise.
10006 * math/s_ccosl.c: Likewise.
10007 * math/s_ctan.c: Likewise.
10008 * math/s_ctanf.c: Likewise.
10009 * math/s_ctanh.c: Likewise.
10010 * math/s_ctanhf.c: Likewise.
10011 * math/s_ctanhl.c: Likewise.
10012 * math/s_ctanl.c: Likewise.
10013 * math/w_fmod.c: Likewise.
10014 * math/w_fmodf.c: Likewise.
10015 * math/w_fmodl.c: Likewise.
10016 * math/w_remainder.c: Likewise.
10017 * math/w_remainderf.c: Likewise.
10018 * math/w_remainderl.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10020 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10023 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10024 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10025 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10026 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10027
187da0ae
UD
10028 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10029 of the number.
10030 * stdio-common/printf_fphex.c: Likewise.
10031 * stdio-common/printf_size.c: Likewise.
10032
9277c064
UD
10033 * math/e_exp10.c: Include math_private.h using <...> not "...".
10034 * math/e_exp10f.c: Likewise.
10035 * math/e_exp10l.c: Likewise.
10036 * math/e_exp2l.c: Likewise.
10037 * math/e_j0l.c: Likewise.
10038 * math/e_j1l.c: Likewise.
10039 * math/e_jnl.c: Likewise.
10040 * math/e_lgammal_r.c: Likewise.
10041 * math/e_rem_pio2l.c: Likewise.
10042 * math/e_scalb.c: Likewise.
10043 * math/e_scalbf.c: Likewise.
10044 * math/e_scalbl.c: Likewise.
10045 * math/k_cosl.c: Likewise.
10046 * math/k_sinl.c: Likewise.
10047 * math/k_tanl.c: Likewise.
10048 * math/s_cacoshf.c: Likewise.
10049 * math/s_catan.c: Likewise.
10050 * math/s_catanf.c: Likewise.
10051 * math/s_catanh.c: Likewise.
10052 * math/s_catanhf.c: Likewise.
10053 * math/s_catanhl.c: Likewise.
10054 * math/s_catanl.c: Likewise.
10055 * math/s_ccosh.c: Likewise.
10056 * math/s_ccoshf.c: Likewise.
10057 * math/s_ccoshl.c: Likewise.
10058 * math/s_cexp.c: Likewise.
10059 * math/s_cexpf.c: Likewise.
10060 * math/s_cexpl.c: Likewise.
10061 * math/s_clog.c: Likewise.
10062 * math/s_clog10.c: Likewise.
10063 * math/s_clog10f.c: Likewise.
10064 * math/s_clog10l.c: Likewise.
10065 * math/s_clogf.c: Likewise.
10066 * math/s_clogl.c: Likewise.
10067 * math/s_csin.c: Likewise.
10068 * math/s_csinf.c: Likewise.
10069 * math/s_csinh.c: Likewise.
10070 * math/s_csinhf.c: Likewise.
10071 * math/s_csinhl.c: Likewise.
10072 * math/s_csinl.c: Likewise.
10073 * math/s_csqrt.c: Likewise.
10074 * math/s_csqrtf.c: Likewise.
10075 * math/s_csqrtl.c: Likewise.
10076 * math/s_ctan.c: Likewise.
10077 * math/s_ctanf.c: Likewise.
10078 * math/s_ctanh.c: Likewise.
10079 * math/s_ctanhf.c: Likewise.
10080 * math/s_ctanhl.c: Likewise.
10081 * math/s_ctanl.c: Likewise.
10082 * math/s_ldexp.c: Likewise.
10083 * math/s_ldexpf.c: Likewise.
10084 * math/s_ldexpl.c: Likewise.
10085 * math/s_significand.c: Likewise.
10086 * math/s_significandf.c: Likewise.
10087 * math/s_significandl.c: Likewise.
10088 * math/w_acos.c: Likewise.
10089 * math/w_acosf.c: Likewise.
10090 * math/w_acosh.c: Likewise.
10091 * math/w_acoshf.c: Likewise.
10092 * math/w_acoshl.c: Likewise.
10093 * math/w_acosl.c: Likewise.
10094 * math/w_asin.c: Likewise.
10095 * math/w_asinf.c: Likewise.
10096 * math/w_asinl.c: Likewise.
10097 * math/w_atan2.c: Likewise.
10098 * math/w_atan2f.c: Likewise.
10099 * math/w_atan2l.c: Likewise.
10100 * math/w_atanh.c: Likewise.
10101 * math/w_atanhf.c: Likewise.
10102 * math/w_atanhl.c: Likewise.
10103 * math/w_cosh.c: Likewise.
10104 * math/w_coshf.c: Likewise.
10105 * math/w_coshl.c: Likewise.
10106 * math/w_dremf.c: Likewise.
10107 * math/w_exp10.c: Likewise.
10108 * math/w_exp10f.c: Likewise.
10109 * math/w_exp10l.c: Likewise.
10110 * math/w_exp2.c: Likewise.
10111 * math/w_exp2f.c: Likewise.
10112 * math/w_fmod.c: Likewise.
10113 * math/w_fmodf.c: Likewise.
10114 * math/w_fmodl.c: Likewise.
10115 * math/w_hypot.c: Likewise.
10116 * math/w_hypotf.c: Likewise.
10117 * math/w_hypotl.c: Likewise.
10118 * math/w_j0.c: Likewise.
10119 * math/w_j0f.c: Likewise.
10120 * math/w_j0l.c: Likewise.
10121 * math/w_j1.c: Likewise.
10122 * math/w_j1f.c: Likewise.
10123 * math/w_j1l.c: Likewise.
10124 * math/w_jn.c: Likewise.
10125 * math/w_jnf.c: Likewise.
10126 * math/w_jnl.c: Likewise.
10127 * math/w_lgamma.c: Likewise.
10128 * math/w_lgamma_r.c: Likewise.
10129 * math/w_lgammaf.c: Likewise.
10130 * math/w_lgammaf_r.c: Likewise.
10131 * math/w_lgammal.c: Likewise.
10132 * math/w_lgammal_r.c: Likewise.
10133 * math/w_log.c: Likewise.
10134 * math/w_log10.c: Likewise.
10135 * math/w_log10f.c: Likewise.
10136 * math/w_log10l.c: Likewise.
10137 * math/w_log2.c: Likewise.
10138 * math/w_log2f.c: Likewise.
10139 * math/w_log2l.c: Likewise.
10140 * math/w_logf.c: Likewise.
10141 * math/w_logl.c: Likewise.
10142 * math/w_pow.c: Likewise.
10143 * math/w_powf.c: Likewise.
10144 * math/w_powl.c: Likewise.
10145 * math/w_remainder.c: Likewise.
10146 * math/w_remainderf.c: Likewise.
10147 * math/w_remainderl.c: Likewise.
10148 * math/w_scalb.c: Likewise.
10149 * math/w_scalbf.c: Likewise.
10150 * math/w_scalbl.c: Likewise.
10151 * math/w_sinh.c: Likewise.
10152 * math/w_sinhf.c: Likewise.
10153 * math/w_sinhl.c: Likewise.
10154 * math/w_sqrt.c: Likewise.
10155 * math/w_sqrtf.c: Likewise.
10156 * math/w_sqrtl.c: Likewise.
10157 * math/w_tgamma.c: Likewise.
10158 * math/w_tgammaf.c: Likewise.
10159 * math/w_tgammal.c: Likewise.
10160
6a621eb7
UD
10161 * po/ja.po: Update from translation team.
10162
bf582445
AJ
101632011-09-29 Andreas Jaeger <aj@suse.de>
10164
f9efbf3a
AJ
10165 [BZ #13179]
10166 * sunrpc/netname.c (netname2host): Fix logic.
10167
bf582445
AJ
10168 [BZ #6779]
10169 [BZ #6783]
10170 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10171 correctly.
10172 * math/w_remainder.c (__remainder): Likewise.
10173 * math/w_remainderf.c (__remainderf): Likewise.
10174 * math/libm-test.inc (remainder_test): Add test cases.
10175
48693bea
AK
101762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10177
10178 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10179 sdiv_qrnnd.
10180
42622229
LD
101812011-10-07 Ulrich Drepper <drepper@gmail.com>
10182
10183 * string/test-memcmp.c: Avoid unncessary #defines.
10184 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10185
093ecf92
LD
101862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10187
10188 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10189 Use new sse2 version for core i3 - i7 as it's faster
10190 than sse42 version.
10191 (bit_Prefer_PMINUB_for_stringop): New.
10192 * sysdeps/x86_64/rawmemchr.S: Update.
10193 Replace with faster SSE2 version.
10194 * sysdeps/x86_64/memrchr.S: New file.
10195 * sysdeps/x86_64/memchr.S: Update.
10196 Replace with faster SSE2 version.
10197
fde56e5c
MP
101982011-09-12 Marek Polacek <mpolacek@redhat.com>
10199
10200 * elf/dl-load.c (lose): Add cast to avoid warning.
10201
21fd49a9
UD
102022011-10-07 Ulrich Drepper <drepper@gmail.com>
10203
5a06e643
UD
10204 * po/ca.po: Update from translation team.
10205
684ae515
UD
10206 * inet/getnetgrent_r.c: Hook up nscd.
10207 * nscd/Makefile (routines): Add nscd_netgroup.
10208 (nscd-modules): Add netgroupcache.
10209 (CFLAGS-netgroupcache.c): Define.
10210 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10211 (cache_search): Add const to second parameter.
10212 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10213 INNETGR.
10214 (dbs): Add netgrdb entry.
10215 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10216 (verify_persistent_db): Handle netgrdb.
10217 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10218 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10219 GETFDNETGR.
10220 (netgroup_response_header): Define.
10221 (innetgroup_response_header): Define.
10222 (datahead): Add netgroup_response_header and innetgroup_response_header
10223 elements.
10224 * nscd/nscd.conf: Add entries for netgroup cache.
10225 * nscd/nscd.h (dbtype): Add netgrdb.
10226 (_PATH_NSCD_NETGROUP_DB): Define.
10227 (netgroup_iov_disabled): Declare.
10228 (xmalloc, xcalloc, xrealloc): Move declarations here.
10229 (cache_search): Adjust prototype.
10230 Add netgroup-related prototypes.
10231 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10232 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10233 (__nscd_innetgr): Declare.
10234 * nscd/selinux.c (perms): Use access_vector_t as element type and
10235 add netgroup-related initializers.
10236 * nscd/netgroupcache.c: New file.
10237 * nscd/nscd_netgroup.c: New file.
10238 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10239 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10240 For four parameters use innetgr.
10241 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10242 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10243 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10244 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10245
21fd49a9
UD
10246 * nscd/connections.c (register_traced_file): Don't register file
10247 for disabled databases.
10248
054c0457
UD
102492011-10-06 Ulrich Drepper <drepper@gmail.com>
10250
32b63198
UD
10251 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10252
054c0457
UD
10253 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10254 from tree and freeing node.
10255
64031225
JO
102562011-09-25 Jiri Olsa <jolsa@redhat.com>
10257
10258 * nss/nsswitch.c (__nss_database_lookup): Handle
10259 nss_parse_service_list out of memory case.
10260
0490345c
JO
102612011-09-15 Jiri Olsa <jolsa@redhat.com>
10262
10263 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10264 out of memory case.
10265
3a62d00d
AS
102662011-10-04 Andreas Schwab <schwab@redhat.com>
10267
10268 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10269 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10270 pass it down.
10271 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10272 elf_machine_rela, elf_machine_lazy_rel.
10273 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10274 (ELF_DYNAMIC_DO_REL): Likewise.
10275 (ELF_DYNAMIC_DO_RELA): Likewise.
10276 (ELF_DYNAMIC_RELOCATE): Likewise.
10277 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10278 to ELF_DYNAMIC_DO_REL.
10279 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10280 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10281 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10282 elf_machine_rela.
10283 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10284 skip_ifunc, don't call ifunc function if non-zero.
10285 (elf_machine_rela): Likewise.
10286 (elf_machine_lazy_rel): Likewise.
10287 (elf_machine_lazy_rela): Likewise.
10288 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10289 (elf_machine_lazy_rel): Likewise.
10290 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10291 Likewise.
10292 (elf_machine_lazy_rel): Likewise.
10293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10294 Likewise.
10295 (elf_machine_lazy_rel): Likewise.
10296 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10297 (elf_machine_lazy_rel): Likewise.
10298 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10299 (elf_machine_lazy_rel): Likewise.
10300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10301 (elf_machine_lazy_rel): Likewise.
10302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10303 (elf_machine_lazy_rel): Likewise.
10304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10305 (elf_machine_lazy_rel): Likewise.
10306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10307 (elf_machine_lazy_rel): Likewise.
10308
68577918
UD
103092011-09-28 Ulrich Drepper <drepper@gmail.com>
10310
10311 * nss/nss_files/files-init.c (_nss_files_init): Use static
10312 initialization for all the *_traced_file variables.
10313
68822d74
AS
103142011-09-28 Andreas Schwab <schwab@redhat.com>
10315
10316 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10317
2056100b
RM
103182011-09-27 Roland McGrath <roland@hack.frob.com>
10319
10320 [BZ #13226]
10321 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10322
32c76b63
AS
103232011-09-27 Andreas Schwab <schwab@redhat.com>
10324
10325 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10326 Reread the line before reparsing it.
10327
bf972c9d
AS
103282011-09-26 Andreas Schwab <schwab@redhat.com>
10329
10330 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10331
e057a1b5
JM
103322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10333 Maxim Kuvyrkov <maxim@codesourcery.com>
10334 Joseph Myers <joseph@codesourcery.com>
10335
10336 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10337 if needed for __stack_chk_guard.
10338
bc7e1c36
RM
103392011-09-19 Roland McGrath <roland@hack.frob.com>
10340
ecb1482f
RM
10341 * sysdeps/posix/spawni.c (script_execute): Always define it.
10342 It will be optimized away if unused.
10343 (maybe_script_execute): New function.
10344 (__spawni): Call it.
10345
bc7e1c36
RM
10346 * Makerules: Don't include tls.make.
10347 (config-tls): Always set to thread.
10348 * tls.make.c: File removed.
10349
1c3b002b
MF
103502011-09-19 Mike Frysinger <vapier@gentoo.org>
10351
10352 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10353 * config.make.in (CPPFLAGS-config): New substituted variable.
10354
2840865d
UD
103552011-09-15 Ulrich Drepper <drepper@gmail.com>
10356
88738eb6
UD
10357 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10358
cbf645a6 10359 [BZ #13192]
2840865d
UD
10360 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10361 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10362
b402e91a
RM
103632011-09-15 Roland McGrath <roland@hack.frob.com>
10364
10365 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10366 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10368 (CALL_FAIL): Likewise.
10369 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10370 (CALL_FAIL): Macro removed.
10371 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10372
4c1a1f71
UD
103732011-09-15 Ulrich Drepper <drepper@gmail.com>
10374
10375 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10376 for __FINITE_MATH_ONLY__ == 1.
10377
edc121be
AS
103782011-09-15 Andreas Schwab <schwab@redhat.com>
10379
10380 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10381 __ieee754_sqrt instead of sqrt.
10382 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10383 __ieee754_sqrtf instead of sqrtf.
10384 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10385 __floorf instead of floorf.
10386 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10387 __floorf, __truncf instead of floorf, truncf.
10388
cd205654
UD
103892011-09-14 Ulrich Drepper <drepper@gmail.com>
10390
ee4d0315
UD
10391 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10392
cd205654
UD
10393 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10394 __extern_always_inline.
10395 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10396 32-bit.
10397
48b67d71
AS
103982011-09-14 Andreas Schwab <schwab@redhat.com>
10399
10400 * elf/rtld.c (dl_main): Also relocate in dependency order when
10401 doing symbol dependency testing.
10402
1ae12c75
AS
104032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10404
10405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10406 Always define `refsym'.
10407
995a80df
AS
104082011-09-13 Andreas Schwab <schwab@redhat.com>
10409
e529793b
AS
10410 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10411 (__FD_ELT): Renamed from __FDELT.
10412 * misc/bits/select2.h (__FD_ELT): Likewise.
10413 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10414 __FD_MASK instead of __FDELT, __FDMASK.
10415 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10416 Likewise.
10417 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10418 Likewise.
10419
52d4fef8
AS
10420 * elf/Makefile (gen-ldd): Fix pattern.
10421
995a80df
AS
10422 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10423 (init_tls): Likewise.
10424
8682f8b0
UD
104252011-09-12 Ulrich Drepper <drepper@gmail.com>
10426
10427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10428
de82006d
AS
104292011-09-12 Andreas Schwab <schwab@redhat.com>
10430
a7c8e6a1
AS
10431 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10432 `struct cmsghdr *' instead of `void *'.
10433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10434 Likewise.
10435
0f31fe77
AS
104362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10437
10438 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10439 if non-absolute.
10440 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10441 ldd_rewrite_script.
0f31fe77 10442
32b4c839
UD
104432011-09-11 Ulrich Drepper <drepper@gmail.com>
10444
83cd1420
UD
10445 * configure.in: Remove --with-tls option.
10446 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10447 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10448 out in case it is missing.
10449 * sysdeps/ia64/elf/configure.in: Likewise.
10450 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10451 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10452 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10453 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10454 * sysdeps/sh/elf/configure.in: Likewise.
10455 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10456 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10457 * sysdeps/x86_64/elf/configure.in: Likewise.
10458 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10459 * sysdeps/mach/hurd/tls.h: Likewise.
10460
633f745d
UD
10461 [BZ #13067]
10462 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10463
f318beb8
UD
10464 [BZ #13090]
10465 * configure.in: Fix use of AC_INIT.
10466
32b4c839
UD
10467 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10468
3ce1f295
UD
104692011-09-10 Ulrich Drepper <drepper@gmail.com>
10470
bb016596
UD
10471 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10472 __set_errno.
8e58439c
UD
10473 * malloc/hooks.c: Likewise.
10474
aebae053 10475 [BZ #11929]
02d46fc4
UD
10476 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10477 variables statically.
10478 (narenas): Initialize.
10479 (list_lock): Initialize.
bb016596
UD
10480 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10481 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10482 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10483 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10484 Add initializers to main_arena and mp_.
10485 (malloc_state): Remove pagesize member. Change all users to use
10486 GLRO(dl_pagesize).
10487
10488 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10489 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10490 is always initialized.
10491
22a89187
UD
10492 * malloc/malloc.c: Removed unused configurations and dead code.
10493 * malloc/arena.c: Likewise.
10494 * malloc/hooks.c: Likewise.
02d46fc4 10495 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10496
d063d164
UD
10497 * include/tls.h: Removed. USE___THREAD must always be defined.
10498 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10499 * elf/dl-libc.c: Likewise.
10500 * elf/dl-tsd.c: Likewise.
10501 * include/errno.h: Likewise.
10502 * include/netdb.h: Likewise.
10503 * include/resolv.h: Likewise.
10504 * inet/herrno-loc.c: Likewise.
10505 * inet/herrno.c: Likewise.
10506 * malloc/arena.c: Likewise.
10507 * malloc/hooks.c: Likewise.
10508 * malloc/malloc.c: Likewise.
10509 * resolv/res-state.c: Likewise.
10510 * resolv/res_libc.c: Likewise.
10511 * sysdeps/i386/dl-machine.h: Likewise.
10512 * sysdeps/ia64/dl-machine.h: Likewise.
10513 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10514 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10515 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10516 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10517 * sysdeps/sh/dl-machine.h: Likewise.
10518 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10519 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10520 * sysdeps/unix/i386/sysdep.S: Likewise.
10521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10522 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10525 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10527 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10531 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10532 * sysdeps/x86_64/dl-machine.h: Likewise.
10533 * tls.make.c: Likewise.
10534
3ce1f295
UD
10535 * configure.in: Remove --with-__thread option. Make tests for
10536 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10537 tls_model attribute fail if no support is available. Remove
10538 USE_IN_LIBIO.
10539 * Makeconfig: Adjust for dropped configure option. All features are
10540 now mandatory.
10541 * Makerules: Likewise.
10542 * Versions.def: Likewise.
10543 * argp/argp-fmtstream.c: Likewise.
10544 * argp/argp-fmtstream.h: Likewise.
10545 * argp/argp-help.c: Likewise.
10546 * assert/assert.c: Likewise.
10547 * config.h.in: Likewise.
10548 * config.make.in: Likewise.
10549 * configure: Likewise.
10550 * configure.in: Likewise.
10551 * csu/Versions: Likewise.
10552 * csu/init.c: Likewise.
10553 * elf/tst-audit2.c: Likewise.
10554 * elf/tst-tls10.c: Likewise.
10555 * elf/tst-tls10.h: Likewise.
10556 * elf/tst-tls11.c: Likewise.
10557 * elf/tst-tls12.c: Likewise.
10558 * elf/tst-tls14.c: Likewise.
10559 * elf/tst-tlsmod11.c: Likewise.
10560 * elf/tst-tlsmod12.c: Likewise.
10561 * elf/tst-tlsmod13.c: Likewise.
10562 * elf/tst-tlsmod13a.c: Likewise.
10563 * elf/tst-tlsmod14a.c: Likewise.
10564 * elf/tst-tlsmod15b.c: Likewise.
10565 * elf/tst-tlsmod16a.c: Likewise.
10566 * elf/tst-tlsmod16b.c: Likewise.
10567 * elf/tst-tlsmod7.c: Likewise.
10568 * elf/tst-tlsmod8.c: Likewise.
10569 * elf/tst-tlsmod9.c: Likewise.
10570 * gmon/gmon.c: Likewise.
10571 * grp/fgetgrent_r.c: Likewise.
10572 * grp/putgrent.c: Likewise.
10573 * hurd/fopenport.c: Likewise.
10574 * include/libc-symbols.h: Likewise.
10575 * include/tls.h: Likewise.
10576 * intl/gettextP.h: Likewise.
10577 * intl/loadinfo.h: Likewise.
10578 * locale/global-locale.c: Likewise.
10579 * locale/localeinfo.h: Likewise.
10580 * mach/devstream.c: Likewise.
10581 * malloc/arena.c: Likewise.
10582 * malloc/set-freeres.c: Likewise.
10583 * misc/err.c: Likewise.
10584 * misc/getttyent.c: Likewise.
10585 * misc/mntent_r.c: Likewise.
10586 * posix/getopt.c: Likewise.
10587 * posix/wordexp.c: Likewise.
10588 * pwd/fgetpwent_r.c: Likewise.
10589 * resolv/Versions: Likewise.
10590 * resolv/res_hconf.c: Likewise.
10591 * shadow/fgetspent_r.c: Likewise.
10592 * shadow/putspent.c: Likewise.
10593 * stdio-common/printf_fphex.c: Likewise.
10594 * stdio-common/tmpfile.c: Likewise.
10595 * stdlib/abort.c: Likewise.
10596 * stdlib/fmtmsg.c: Likewise.
10597 * sunrpc/auth_unix.c: Likewise.
10598 * sunrpc/clnt_perr.c: Likewise.
10599 * sunrpc/clnt_tcp.c: Likewise.
10600 * sunrpc/clnt_udp.c: Likewise.
10601 * sunrpc/clnt_unix.c: Likewise.
10602 * sunrpc/openchild.c: Likewise.
10603 * sunrpc/svc_simple.c: Likewise.
10604 * sunrpc/svc_tcp.c: Likewise.
10605 * sunrpc/svc_udp.c: Likewise.
10606 * sunrpc/svc_unix.c: Likewise.
10607 * sunrpc/xdr.c: Likewise.
10608 * sunrpc/xdr_array.c: Likewise.
10609 * sunrpc/xdr_rec.c: Likewise.
10610 * sunrpc/xdr_ref.c: Likewise.
10611 * sunrpc/xdr_stdio.c: Likewise.
10612
1248c1c4
PB
106132011-09-09 Ulrich Drepper <drepper@gmail.com>
10614
10615 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10616
106172011-07-03 Andreas Jaeger <aj@suse.de>
10618
10619 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10620 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10621 regenerate with gen-libm-tests.pl.
10622
106232010-05-12 Petr Baudis <pasky@suse.cz>
10624
10625 [BZ #11589]
10626 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10627 around j0() zero points by switching to j1().
10628 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10632
f22e1074
UD
106332011-09-09 Ulrich Drepper <drepper@gmail.com>
10634
f19009c1
UD
10635 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10636 instead of 0.
10637 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10638 instead of 0. .
10639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10640 Patch in part by Pavel Roskin <proski@gnu.org>.
10641
3f8cc204
UD
10642 [BZ #13138]
10643 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10644 realloc.
10645 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10646 Free memory block if necessary.
10647
f22e1074
UD
10648 [BZ #12847]
10649 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10650 be NULL. Don't lock in this case.
10651
0a2349f9
RM
106522011-09-09 Roland McGrath <roland@hack.frob.com>
10653
10654 * elf/elf.h (ELFOSABI_GNU): New macro.
10655 (ELFOSABI_LINUX): Define to that.
10656
f3cdd467
DZ
106572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10658
10659 * string/strncat.c (strncat): Undef the symbol in case it has been
10660 defined in bits/string.h.
10661
74718d13
UD
106622011-09-09 Ulrich Drepper <drepper@gmail.com>
10663
633e9e0f
UD
10664 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10665
0a2349f9 10666 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10667 link map.
10668
f9924780
AJ
106692011-08-17 Andreas Jaeger <aj@suse.de>
10670
10671 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10672
7f5517aa
PP
106732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10674 Ian Lance Taylor <iant@google.com>
10675
10676 * math/libm-test.inc (lround_test): New testcase.
10677 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10678
762011fe
UD
106792011-09-08 Ulrich Drepper <drepper@gmail.com>
10680
92963737
UD
10681 * Makefile: Remove support for automatic cvs check-ins.
10682 * Makerules: Likewise.
10683 * config.make.in: Likewise.
10684 * configure.in: Likewise.
10685 * intl/Makefile: Likewise.
10686 * locale/Makefile: Likewise.
10687 * po/Makefile: Likewise.
10688 * posix/Makefile: Likewise.
10689 * sysdeps/gnu/Makefile: Likewise.
10690 * sysdeps/mach/hurd/Makefile: Likewise.
10691 * sysdeps/sparc/sparc32/Makefile: Likewise.
10692
b0727fd8
JS
10693 [BZ #13118]
10694 * posix/Makefile (bug-regex32-ENV): Define.
10695 Patch by John Stanley <jpsinthemix@verizon.net>.
10696
a0f33f99
UD
10697 * misc/Makefile (headers): Add bits/select2.h.
10698 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10699 * misc/bits/select2.h: New file.
10700 * include/bits/select2.h: New file.
10701 * debug/Makefile (routines): Add fdelt_chk.
10702 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10703 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10704 FD_ISSET.
10705 * debug/fdelt_chk.c: New file.
10706
762011fe
UD
10707 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10708 * wcsmbs/test-wmemcmp.c: Likewise.
10709 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10710 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10711
107122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10713
10714 * string/Makefile (strop-tests): Add memcmp.
10715 * string/test-wmemcmp.c: New file.
10716 * string/test-memcmp.c: Add wmemcmp support.
10717
7f513ec8
RM
107182011-09-08 Roland McGrath <roland@hack.frob.com>
10719
0442afb4
RM
10720 [BZ #13153]
10721 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10722 2011-07-19 change.
10723
7f513ec8
RM
10724 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10725 garbage value in a __mach_port_mod_refs call in the cases of the
10726 task-self and thread-self ports.
10727
a12b2239
ST
107282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10729
10730 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10731
610f9ab4
AS
107322011-09-08 Andreas Schwab <schwab@redhat.com>
10733
7f513ec8 10734 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10735
48882a1a
LD
107362011-09-07 Ulrich Drepper <drepper@gmail.com>
10737
b49865be
UD
10738 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10739
fdc86bc9
UD
10740 * elf/dl-libc.c (dlerror_run): Pass back error code from
10741 dl_catch_error.
10742
c966526a
UD
10743 [BZ #13123]
10744 * elf/dl-load.c (lose): Free l_origin if it is valid.
10745
48882a1a
LD
10746 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10747 names.
10748 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10749 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10752 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10753 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10754
77a2a8b4
AZ
107552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756
10757 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10758 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10759 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10760 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10761 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10762 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10763 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10764 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10765 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10766 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10767
24f579d8
AM
107682011-08-15 Alan Modra <amodra@gmail.com>
10769
10770 [BZ #13092]
10771 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10772 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10773 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10774 ppc_mcount to static-only-routines.
10775 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10776 __mcount_internal.
10777 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10778 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10779
3d4837df
UD
107802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10781
10782 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10783 for finite and infinity parameters.
10784
22700377
WS
107852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10786
10787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10788 and add nop instructions for throughput optimization.
10789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10790
5025581e
WS
107912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10792
10793 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10794 aligned copy for power7 with vector-scalar instructions.
10795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10796
08a300c9
L
107972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10800 AVX check.
10801
59178ef9
AS
108022011-09-07 Andreas Schwab <schwab@redhat.com>
10803
10804 [BZ #13144]
10805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10806 last change.
10807
e38ba7ab
UD
108082011-09-07 Ulrich Drepper <drepper@gmail.com>
10809
10810 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10811 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10812 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10813 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10814 clock_gettime.
10815
d53a73ac
UD
108162011-09-06 Ulrich Drepper <drepper@gmail.com>
10817
fc8bffcc
UD
10818 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10819 Forgot to demangle the pointer.
10820
ceaa0c5d
UD
10821 * sysdeps/i386/sysdep.h: Define atom_text_section.
10822 * sysdeps/x86_64/sysdep.h: Likewise.
10823 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10824 section with atom_text_section.
10825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10826 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10827 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10829 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10830
a77d3c17
UD
10831 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10833 already be defined. Change to take two parameters and don't assign
10834 result to variable. Adjust all users.
10835 Define INTERNAL_GETTIME if not already defined.
10836 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10837 call.
10838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10839 HAVE_CLOCK_GETTIME_VSYSCALL.
10840 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10841
d53a73ac
UD
10842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10843 gettimeofday vsyscall, just use time.
10844
a8f84144
AS
108452011-09-06 Andreas Schwab <schwab@redhat.com>
10846
10847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10848 <errno.h>.
10849
ef606249
UD
108502011-09-06 Ulrich Drepper <drepper@gmail.com>
10851
10852 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10853 syscall on x86-64.
10854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10855 syscall.
10856 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10857 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10858 syscall if possible.
10859
6585cb60
UD
108602011-09-05 Ulrich Drepper <drepper@gmail.com>
10861
10862 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10863 e_ident. Don't pass to find_mapsXX.
10864 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10865
a5f524e4
LD
108662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10867
10868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10869 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10870 * sysdeps/x86_64/multiarch/strchr.S: Update.
10871 Check bit_slow_BSF bit.
10872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10873 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10874 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10875
554881ef
UD
108762011-09-05 Ulrich Drepper <drepper@gmail.com>
10877
d96de963
UD
10878 [BZ #13134]
10879 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10880 before glibc 2.15.
10881 (tryshell): Define.
10882 (__spawni): Change last parameter to be flag. Test
10883 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10884 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10885 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10886 * posix/spawni.c: Likewise.
10887 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10888 * posix/spawnp.c: Likewise. Change normal version to use
10889 SPAWN_XFLAGS_USE_PATH.
10890 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10891 SPAWN_XFLAGS_TRY_SHELL.
10892
d48e5868
UD
10893 [BZ #13150]
10894 * posix/glob.h: Remove gcc 1.x support.
10895
554881ef
UD
10896 [BZ #13068]
10897 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10898
693fb948
LD
108992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10900
10901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10902 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10903 strrchr-sse2-bsf
10904 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10905 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10906 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10908 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10909 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10910
1b48c537
UD
109112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10912
49d42c37
UD
10913 * sysdeps/x86_64/wcscmp.S: New file.
10914
1b48c537
UD
10915 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10916 wcscmp-c wcscmp-sse2
10917 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10918 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10919 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10920 * wcsmbs/wcscmp.c: Allow renaming.
10921
15c95c5d
DM
109222011-09-05 David S. Miller <davem@davemloft.net>
10923
10924 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10925 stack slot, rather than the struct return pointer slot.
10926 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10927 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10929 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10930
2f0ad8f3
UD
109312011-09-05 Ulrich Drepper <drepper@gmail.com>
10932
d88ae418
UD
10933 * po/ja.po: Update from translation team.
10934
2f0ad8f3
UD
10935 [BZ #13144]
10936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10937 kernel in 64-bit binaries.
10938
5f4318d1
DM
109392011-09-01 David S. Miller <davem@davemloft.net>
10940
10941 * elf/elf.h (HWCAP_SPARC_*): Move to..
10942 * sysdeps/sparc/sysdep.h: this new file and add new values.
10943 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10944 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10945 _DL_HWCAP_COUNT to 24.
10946 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10947 entries.
10948 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10949 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10950 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10952 instead of magic constants.
10953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10954
3ba57516
DM
109552011-08-31 David S. Miller <davem@davemloft.net>
10956
10957 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10959 Reimplement to do errno handling inline.
10960 (SYSCALL_ERROR_HANDLER): New macro.
10961 (__SYSCALL_STRING): Do not do errno handling in asm.
10962 (__CLONE_SYSCALL_STRING): Delete.
10963 (__INTERNAL_SYSCALL_STRING): Delete.
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10965 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10966 (PSEUDO): Reimplement to do errno handling inline.
10967 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10968 (SYSCALL_ERROR_HANDLER): New macro.
10969 (__SYSCALL_STRING): Do not do errno handling in asm.
10970 (__CLONE_SYSCALL_STRING): Delete.
10971 (__INTERNAL_SYSCALL_STRING): Delete.
10972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10973 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10974 i386.
10975 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10976 (inline_syscall*): Add 'err' argument.
10977 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10978 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10979 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10980 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10981
10982 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10983 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10984
2bc17433
AS
109852011-08-30 Andreas Schwab <schwab@redhat.com>
10986
10987 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10988
fbeb5f4d
JO
109892011-08-29 Jiri Olsa <jolsa@redhat.com>
10990
10991 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10992 directive.
10993
ad69cc26
DM
109942011-08-24 David S. Miller <davem@davemloft.net>
10995
10996 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10997
39dd69df
AS
109982011-08-24 Andreas Schwab <schwab@redhat.com>
10999
11000 * elf/Makefile: Add rules to build and run unload8 test.
11001 * elf/unload8.c: New file.
11002 * elf/unload8mod1.c: New file.
11003 * elf/unload8mod1x.c: New file.
11004 * elf/unload8mod2.c: New file.
11005 * elf/unload8mod3.c: New file.
11006
11007 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11008 it wasn't used.
11009
2c0b250a
DM
110102011-08-23 David S. Miller <davem@davemloft.net>
11011
11012 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11013 subtract stack bias.
11014 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11015 %sp not %fp in calculations.
11016 (_JMPBUF_UNWINDS_ADJ): Likewise.
11017
22044b48
DM
11018 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11019 (aio_suspend): Call it to force an exception region around the
11020 AIO_MISC_WAIT() invocation.
11021
2cae4995
AS
110222011-08-23 Andreas Schwab <schwab@redhat.com>
11023
11024 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11025 backslash.
11026
873a772e
AJ
110272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11028
11029 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11030 protection macro.
11031 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11032 and <dl-machine.h>.
11033 (Elf64_FuncDesc): Remove.
11034
25ad0df1
DM
110352011-08-22 David S. Miller <davem@davemloft.net>
11036
11037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11038 sigaltstack check, add missing cfi directives.
11039 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11040 missing cfi directives, and sigaltstack handling.
11041
e888bcbe
AS
110422011-08-16 Andreas Schwab <schwab@redhat.com>
11043
11044 [BZ #11724]
11045 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11046 object is seen twice.
11047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11048
11049 * elf/Makefile (distribute): Add tst-initorder2.c.
11050 (tests): Add tst-initorder2.
11051 (modules-names): Add tst-initorder2a tst-initorder2b
11052 tst-initorder2c tst-initorder2d. Add rules to build them.
11053 ($(objpfx)tst-initorder2.out): New rule.
11054 * elf/tst-initorder2.c: New file.
11055 * elf/tst-initorder2.exp: New file.
11056
87162f46
AS
110572011-08-22 Andreas Schwab <schwab@redhat.com>
11058
70538b7f
AS
11059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11060
f55ffe58
AS
11061 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11062 dependencies back to end of function.
11063
87162f46
AS
11064 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11065 $(elfobjdir)/ld.so.
11066
91b392a4
UD
110672011-08-21 Ulrich Drepper <drepper@gmail.com>
11068
11069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11070 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11072 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11073 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11074 of __vdso_gettimeofday.
11075 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11076 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11077 attribute_hidden.
11078 (_libc_vdso_platform_setup): Remove initialization of
11079 __vdso_gettimeofday and __vdso_time.
11080
5c43483f
UD
110812011-08-20 Ulrich Drepper <drepper@gmail.com>
11082
775a77e7
UD
11083 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11084 and fgetc_unlocked.
11085 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11086 getc_unlocked.
89f447ed 11087
49c74ba9
UD
11088 * elf/dl-open.c (add_to_global): Report additions to the global scope
11089 for LD_DEBUG=scopes.
11090 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11091 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11092
5c43483f
UD
11093 [BZ #13114]
11094 * stdio-common/Makefile (tests): Add bug24.
11095 * stdio-common/bug24.c: New file.
11096
a101b025
AJ
110972011-08-19 Andreas Jaeger <aj@suse.de>
11098
11099 [BZ #13114]
11100 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11101 non-existant file when using close-on-exec mode.
11102
c88f1766
UD
111032011-08-20 Ulrich Drepper <drepper@gmail.com>
11104
0276a718
UD
11105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11106 the very first instruction.
11107
c88f1766
UD
11108 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11109 the CFI state in the end.
11110 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11111 inclusion of dl-trampoline.h.
11112 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11113
51ccffa0
AS
111142011-08-19 Andreas Schwab <schwab@redhat.com>
11115
94d7165f
AS
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11117 expectations for long double.
11118
51ccffa0
AS
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11120 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11121
fd708658 111222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11123
11124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11125 artificual limit depends upon the system page size.
11126
44f0a71e
UD
111272011-08-17 Ulrich Drepper <drepper@gmail.com>
11128
11129 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11130 * resolv/Makefile: Define CFLAGS-libresolv.
11131
8de79a24
AS
111322011-08-17 Andreas Schwab <schwab@redhat.com>
11133
11134 * nss/makedb.c (compute_tables): Make variables used in nested
11135 function static.
11136
27724598
UD
111372011-08-17 Ulrich Drepper <drepper@gmail.com>
11138
c5305d88
UD
11139 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11140 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11141 if buffer was too small.
11142
27724598
UD
11143 * elf/pldd.c (main): Attach to all threads in the process.
11144 Rewrite /proc handling to use *at functions.
11145
076fe015
UD
111462011-08-16 Ulrich Drepper <drepper@gmail.com>
11147
174baab3
UD
11148 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11149 specifies first scope to show.
11150 (dl_open_worker): Update callers. Move printing scope of new
11151 object to before the relocation.
44f0a71e 11152 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11153 * sysdeps/generic/ldsodefs.h: Update declaration.
11154
076fe015
UD
11155 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11156 string for the scope number.
11157
a60df2c3
UD
111582011-08-14 Ulrich Drepper <drepper@gmail.com>
11159
11160 * nscd/servicescache.c (cache_addserv): Make sure written is always
11161 initialized.
11162
5e4287d1
RM
111632011-08-14 Roland McGrath <roland@hack.frob.com>
11164
85ae0589
RM
11165 * sysdeps/i386/i486/bits/atomic.h
11166 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11167 statement expression, so as to suppress "set but not used" warning.
11168 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11169
69f63097
RM
11170 * string/strncat.c (STRNCAT): Use prototype definition.
11171
675456ef
RM
11172 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11173 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11174 -Iprograms here.
11175 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11176 (localedef-modules): Add localedef.
11177 (locale-modules): Add locale.
11178
5e4287d1
RM
11179 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11180 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11181 to avoid a warning.
11182
9c96ff23
DM
111832011-08-14 David S. Miller <davem@davemloft.net>
11184
11185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11186 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11187
f9ddf089
UD
111882011-08-13 Ulrich Drepper <drepper@gmail.com>
11189
44f0a71e 11190 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11191 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11192 * elf/rtld.c (dl_main): Set l_name of vDSO.
11193 Call _dl_show_scope when DL_DEBUG_SCOPES.
11194 (process_dl_debug): Recognize scopes flag and also set it for all.
11195 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11196 Declare _dl_show_scope.
11197
1dc27704
UD
11198 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11199 (do_dlopen): Pass caller_dlopen to dl_open.
11200 (__libc_dlopen_mode): Initialize caller_dlopen.
11201
f9ddf089
UD
11202 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11203 of libc. Make tolower call locale-independent. Optimize a bit by
11204 using isdigit instead of isalnum.
11205 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11206
9ac533d3
UD
112072011-08-12 Ulrich Drepper <drepper@gmail.com>
11208
11209 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11210 was a dependency or dynamically loaded.
11211
89edf2e9
UD
112122011-08-11 Ulrich Drepper <drepper@gmail.com>
11213
8e999d29
UD
11214 * intl/l10nflist.c: Allow architecture-specific pop function.
11215 * sysdeps/x86_64/l10nflist.c: New file.
11216
89edf2e9
UD
11217 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11218 classification.
11219
14d96785
AS
112202011-08-10 Andreas Schwab <schwab@redhat.com>
11221
11222 * include/dirent.h: Add libc_hidden_proto for scandirat and
11223 scandirat64. Don't declare __scandirat64.
11224 * dirent/scandirat.c: Add libc_hidden_def.
11225 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11226 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11227
6761ac04
DM
112282011-08-10 David S. Miller <davem@davemloft.net>
11229
11230 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11231 enum.
11232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11233 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11235
c55fbd1e
UD
112362011-08-09 Ulrich Drepper <drepper@gmail.com>
11237
11238 * Versions.def [libc]: Add GLIBC_2.15.
11239 * dirent/Makefile (routines): Add scandirat and scandirat64.
11240 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11241 GLIBC_2.15.
11242 * dirent/dirent.h: Declare scandirat and scandirat64.
11243 * dirent/scandirat.c: New file.
11244 * dirent/scandirat64.c: New file.
11245 * sysdeps/wordsize-64/scandirat.c: New file.
11246 * sysdeps/wordsize-64/scandirat64.c: New file.
11247 * dirent/opendir.c: Define opendirat.
11248 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11249 using scandirat.
11250 * dirent/scandir64.c: Adjust for scandir.c change.
11251 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11252 __scandirat64, and __scandir_cancel_handler.
11253 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11254 additional parameter and use openat instead of open (outside of ld.so).
11255 Add new __opendir as wrapper around __opendirat.
11256 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11257 here without requiring old scandirat implementation.
11258
879165f2
UD
112592011-08-08 Ulrich Drepper <drepper@gmail.com>
11260
11261 * dirent/scandir.c (cancel_handler): Renamed to
11262 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11263 defined. Adjust users.
11264 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11265 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11266
cb7e923b
UD
112672011-08-04 Ulrich Drepper <drepper@gmail.com>
11268
16292edd
UD
11269 * string/test-string.h (IMPL): Use __STRING to expand name and then
11270 stringify it.
11271
cb7e923b
UD
11272 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11273 of cleanups.
11274
cff82933
LD
112752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11276
11277 * string/Makefile: Update.
11278 (strop-tests): Append strncat.
11279 * string/test-wcscmp.c: New file.
11280 New comprehensive test for wcscmp.
11281 * string/test-strcmp.c: Update.
11282 (WIDE): New define.
11283
9be9bfcc
AS
112842011-07-22 Andreas Schwab <schwab@redhat.com>
11285
11286 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11287 line.
11288
2e96f1c7
AS
112892011-07-26 Andreas Schwab <schwab@redhat.com>
11290
11291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11292 encoding to ACE if AI_IDN.
11293
85188888
JJ
112942011-08-01 Jakub Jelinek <jakub@redhat.com>
11295
11296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11297 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11298
5fa16e9b
LD
112992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11300
11301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11302 Fix overflow bug in strncat.
11303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11304
11305 * string/test-strncat.c: Update.
11306 Add new tests for checking overflow bugs.
11307
113082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11309
11310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11311 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11312 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11313 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11315 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11316 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11317 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11318 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11319
11320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11321 (USE_AS_STRCAT): Define.
11322 Add strcat and strncat support.
11323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11324
8c1a459f
AS
113252011-07-25 Andreas Schwab <schwab@redhat.com>
11326
11327 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11328 __n bigger than INT_MAX+1.
11329 (__strncmp_g): Likewise.
11330
bba33c28
UD
113312011-07-23 Ulrich Drepper <drepper@gmail.com>
11332
798be72d
UD
11333 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11334 * libio/stido.h: Likewise.
11335
8accd4dc
UD
11336 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11337 (AF_NFC): Define.
11338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11339 (AF_NFC): Define.
11340
cbff0d96
UD
11341 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11344 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11346
9191c04a
UD
11347 [BZ #13021]
11348 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11349 installed.
11350
bba33c28
UD
11351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11352 typo.
11353 (_dl_x86_64_save_sse): Likewise.
11354
90f139dd
UD
113552011-07-22 Ulrich Drepper <drepper@gmail.com>
11356
1aae088a
UD
11357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11358 OSXSAVE.
11359 (_dl_x86_64_save_sse): Likewise.
11360
8e2045f5
UD
11361 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11362
90f139dd
UD
11363 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11364
1d002f25
AS
113652011-07-21 Andreas Schwab <schwab@redhat.com>
11366
11367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11368 change.
11369 (_dl_x86_64_save_sse): Use correct AVX check.
11370
21137f89
UD
113712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11372
11373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11374 bug in strncpy/strncat.
11375 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11376
a65c0b7a
UD
113772011-07-21 Ulrich Drepper <drepper@gmail.com>
11378
11379 * string/tester.c (test_strcat): Add tests for different alignments
11380 of source and destination.
11381 (test_strncat): Likewise.
11382
6986b98a
UD
113832011-07-20 Ulrich Drepper <drepper@gmail.com>
11384
90bb2039
UD
11385 [BZ #12852]
11386 * posix/glob.c (glob): Check passed in values before using them in
11387 expressions to avoid some overflows.
11388 (glob_in_dir): Likewise.
11389
5644ef54
UD
11390 [BZ #13007]
11391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11392 check for AVX enablement so that we don't crash with old kernels and
11393 new hardware.
11394 * elf/tst-audit4.c: Add same checks here.
11395 * elf/tst-audit6.c: Likewise.
11396
11397 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11398
bfc9dc9b
AS
113992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11400
11401 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11402
702e64bb
UD
114032011-07-20 Ulrich Drepper <drepper@gmail.com>
11404
11405 * po/cs.po: Update from translation team.
11406 * po/bg.po: Likewise.
11407
295e904f
MP
114082011-07-12 Marek Polacek <mpolacek@redhat.com>
11409
11410 * misc/sys/cdefs.h: Add support for const attribute.
11411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11412 to gnu_dev_{major,minor,makedev} functions.
11413
3ff94596
MP
114142011-07-20 Marek Polacek <mpolacek@redhat.com>
11415
11416 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11417
28b59fca
AS
114182011-07-20 Andreas Schwab <schwab@redhat.com>
11419
11420 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11421 strlen results.
11422
19df733e
AK
114232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11424
11425 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11426 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11427 register in order to avoid conflicts with the soft frame pointer
11428 being held in r11 when necessary.
11429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11430 (INTERNAL_VSYSCALL_NCS): Likewise.
11431
c8835729
MP
114322011-07-14 Marek Polacek <mpolacek@redhat.com>
11433
11434 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11435 * elf/dl-fini.c (_dl_fini): Adjust caller.
11436 * elf/dl-close.c (_dl_close_worker): Likewise.
11437 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11438
b902330c
MP
114392011-07-15 Marek Polacek <mpolacek@redhat.com>
11440
8991e135
MP
11441 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11442 "aux_cache->nlibs < 0".
11443
b902330c
MP
11444 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11445 in the reload-count case.
11446
99710781
LD
114472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11448
11449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11450 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11451 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11452 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11453 * sysdeps/x86_64/multiarch/strcat.S: New file.
11454 * sysdeps/x86_64/multiarch/strncat.S: New file.
11455 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11456 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11457 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11458 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11460 (USE_AS_STRCAT): Define.
11461 Add strcat and strncat support.
11462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11464 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11465 * string/strncat.c: Update.
11466 (USE_AS_STRNCAT): Define.
11467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11468 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11469 and i7.
11470 * sysdeps/x86_64/multiarch/init-arch.h
11471 (bit_Prefer_PMINUB_for_stringop): New.
11472 (index_Prefer_PMINUB_for_stringop): Likewise.
11473 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11474 bit_Prefer_PMINUB_for_stringop.
11475
7dc6bd90
UD
114762011-07-19 Ulrich Drepper <drepper@gmail.com>
11477
11478 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11479 buffer64.
11480 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11481 of casting of buffer.
11482 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11483 buffer32 and buffer64.
11484 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11485 writes instead of casting of buffer.
11486 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11487 buffer32.
11488 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11489 casting of buffer.
11490
e0e72284
AS
114912011-07-19 Andreas Schwab <schwab@redhat.com>
11492
11493 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11494
feb1eb0b
UD
114952011-07-19 Ulrich Drepper <drepper@gmail.com>
11496
11497 * nscd/nscd.c (termination_handler): Don't do anything for a database
11498 if it has not yet been initialized.
11499
298711ff
UD
115002011-07-18 Ulrich Drepper <drepper@gmail.com>
11501
11502 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11503
115042011-07-15 Marek Polacek <mpolacek@redhat.com>
11505
11506 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11507
f9d68389
UD
115082011-07-18 Ulrich Drepper <drepper@gmail.com>
11509
11510 * po/nl.po: Update from translation team.
11511 * po/sv.po: Likewise.
11512
db290cf5
RM
115132011-07-16 Roland McGrath <roland@hack.frob.com>
11514
11515 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11516 now disallowed by GCC.
5c550700 11517
fd5e21c7
RM
11518 * configure.in (use-default-link): Default to yes if a test -shared
11519 link meets our qualifications.
11520 * configure: Regenerated.
11521
5c550700
RM
11522 * config.make.in (output-format): New variable.
11523 * configure.in: Check for ld --print-output-format support.
11524 * configure: Regenerated.
11525 * Makerules ($(common-objpfx)format.lds)
11526 [$(output-format) != unknown]: Just use $(output-format),
11527 instead of the linker-script munging.
11528
9fa2c032
RM
115292011-07-14 Roland McGrath <roland@hack.frob.com>
11530
a6928d51
RM
11531 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11532 of $(common-objpfx)shlib.lds.
11533 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11534
661607b3
RM
11535 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11536 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11537
9fa2c032
RM
11538 * configure.in (-z relro check): Adjust test code to add a large
11539 writable data section after it.
11540 * configure: Regenerated.
11541
defe9061
RM
115422011-07-11 Roland McGrath <roland@hack.frob.com>
11543
11544 * configure.in (-z relro check): Fix test code to make the variable
11545 truly const.
11546 * configure: Regenerated.
11547
319b9ad4
UD
115482011-07-11 Ulrich Drepper <drepper@gmail.com>
11549
11550 * nscd/nscd.h (struct traced_file): Define.
11551 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11552 elements. Add traced_files.
11553 (inotify_fd): Declare.
11554 (register_traced_file): Declare.
11555 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11556 (inotify_fd): Export.
11557 (resolv_conf_descr): Remove.
11558 (nscd_init): Move inotify descriptor creation to main.
11559 Don't register files for notification here.
11560 (register_traced_file): New function.
11561 (invalidate_cache): Don't use reset_res to determine whether to call
11562 res_init, go through the list of registered files.
11563 (main_loop_poll): The inotify descriptors are now stored in the
11564 structures for the traced files.
11565 (main_loop_epoll): Likewise
11566 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11567 to __nss_disable_nscd.
11568 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11569 for a database anymore. Check the records for all the registered
11570 files instead.
11571 * nss/Makefile (libnss_files-routines): Add files-init.
11572 (libnss_db-routines): Add db-init.
11573 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11574 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11575 * nss/nss_db/db-init.c: New file.
11576 * nss/nss_files/files-init.c: New file.
11577 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11578 __nss_lookup_function.
11579 (__nss_lookup_function): Call nss_load_library.
11580 (nss_load_all_libraries): New function.
11581 (__nss_disable_nscd): Take parameter with callback function for files
11582 to register. Set is_nscd. Load all the DSOs for the NSS modules
11583 used for the cached services.
11584 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11585 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11586 options for features to all the files in nscd.
11587
11588 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11589
23bee3e8
RM
115902011-07-10 Roland McGrath <roland@hack.frob.com>
11591
11592 * csu/elf-init.c (__libc_csu_init): Comment typo.
11593
46a5b7f0
UD
115942011-07-09 Ulrich Drepper <drepper@gmail.com>
11595
11596 * po/pl.po: Update from translation team.
11597 * po/ja.po: Likewise.
11598 * po/ru.po: Likewise.
11599 * po/ko.po: Likewise.
11600 * po/fr.po: Likewise.
11601
d30cf5bb
RM
116022011-07-09 Roland McGrath <roland@hack.frob.com>
11603
113ddea4
RM
11604 * configure.in (.ctors/.dtors header and trailer check):
11605 Use an empirical test on a built program.
11606 * configure: Regenerated.
11607
574920b4
RM
11608 * configure.in (-z relro check): Use an empirical test on a built DSO.
11609 Detect, but do not require, on ia64.
11610 * configure: Regenerated.
11611
d30cf5bb
RM
11612 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11613 Update tests that use readelf to use $READELF instead.
11614 * configure: Regenerated.
11615
8538fdb3
UD
116162011-07-08 Ulrich Drepper <drepper@gmail.com>
11617
11618 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11619 if the result is not used.
11620
04d08991
AJ
116212011-07-05 Andreas Jaeger <aj@suse.de>
11622
11623 [BZ#9696]
11624 * stdlib/tst-strtod.c: Add testcase.
11625
de283087
AD
116262011-07-07 Ulrich Drepper <drepper@gmail.com>
11627
4e5f31c8 11628 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11629 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11630 The latter has a higher limit. Take additional parameter to pass to
11631 the new function.
11632 (__pathconf): Pass file to __statfs_link_max.
11633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11634 __statfs_link_max.
11635 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11636 __statfs_link_max.
11637
de283087
AD
11638 [BZ #12868]
11639 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11640 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11641 Handle Lustre.
11642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11643 (__statfs_filesize_max): Likewise.
11644 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11645
c75fa153
AJ
116462011-07-05 Andreas Jaeger <aj@suse.de>
11647
11648 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11649
1a544854
UD
116502011-07-06 Marek Polacek <mpolacek@redhat.com>
11651
11652 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11653 `status' variable.
11654 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11655 Likewise.
11656
6f0eec67
UD
116572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11658
11659 * Makefile (strop-tests): Add strncat.
11660 * string/test-strncat.c: New file.
11661
aae30307
UD
116622011-06-30 Marek Polacek <mpolacek@redhat.com>
11663
11664 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11665
c0cfb5eb
UD
116662011-06-21 Andreas Jaeger <aj@suse.de>
11667
11668 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11669 Copy rule from iconvdata/Makefile.
11670
01636b21
UD
116712011-07-06 Ulrich Drepper <drepper@gmail.com>
11672
11673 [BZ #12922]
11674 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11675 but no long options are defined, just return 'W'.
11676
9895c8bc
UD
116772011-06-22 Marek Polacek <mpolacek@redhat.com>
11678
11679 [BZ #9696]
11680 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11681
5d4cf042
UD
116822011-07-06 Ulrich Drepper <drepper@gmail.com>
11683
11684 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11685 netgroups to read.
960e5535 11686 (innetgr): Likewise.
5d4cf042 11687
751eb97e
RM
116882011-07-05 Roland McGrath <roland@hack.frob.com>
11689
11690 * config.make.in (install_root): Default to $(DESTDIR).
11691
f15f1e45
UD
116922011-07-05 Ulrich Drepper <drepper@gmail.com>
11693
11694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11695
4e34ac6a
RM
116962011-07-02 Roland McGrath <roland@hack.frob.com>
11697
5e9b6af4
RM
11698 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11699
84f9ea0f
RM
11700 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11701 containing directory rather than embedding absolute directory names.
11702
ea5ee9f7
RM
11703 * scripts/check-local-headers.sh: Rewritten using awk.
11704 Match by word, not by line. Print error messages for matches.
11705 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11706
1b74661a
RM
11707 * Makerules [shlib-lds-flags empty]:
11708 ($(common-objpfx)libc_pic.opts): New target.
11709 ($(common-objpfx)libc_pic.os.clean): New target.
11710 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11711
11712 * config.make.in (OBJCOPY): New variable.
11713 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11714 * configure: Regenerated.
11715
f781ef40
RM
11716 * config.make.in (use-default-link): New variable.
11717 * configure.in (use_default_link): Grok --with-default-link to set it.
11718 * configure: Regenerated.
11719 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11720 (shlib-lds, shlib-lds-flags): Define to empty.
11721
2d4fa81e
RM
11722 * Makerules (shlib-lds): New variable.
11723 (shlib-lds-flags): New variable.
11724 (build-shlib, build-moduile, build-module-asneeded): Use it.
11725 ($(common-objpfx)libc.so): Use $(shlib-lds).
11726 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11727 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11728
31fffa6b
RM
11729 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11730 DT_FLAGS/DT_FLAGS_1 with zero flags.
11731
4e34ac6a
RM
11732 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11733 linker script munging.
11734
fcfc776b
UD
117352011-07-02 Ulrich Drepper <drepper@gmail.com>
11736
11737 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11738 as 128-bit value.
11739 * crypt/sha512.c (sha512_process_block): Perform total addition using
11740 128-bit if possible.
11741 (__sha512_finish_ctx): Likewise.
11742 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11743 as 64-bit value.
11744 * crypt/sha256.c (SWAP64): Define.
11745 (sha256_process_block): Perform total addition using 64-bit if
11746 possible.
11747 (__sha256_finish_ctx): Likewise.
11748
99231d9a
UD
117492011-07-01 Ulrich Drepper <drepper@gmail.com>
11750
11751 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11753 * nscd/hstcache.c (cache_addhst): Likewise.
11754 * nscd/grpcache.c (cache_addgr): Likewise.
11755 * nscd/aicache.c (addhstaiX): Likewise
11756 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11757
445b4a53
TK
117582011-07-01 Thorsten Kukuk <kukuk@suse.de>
11759
11760 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11762 * nscd/hstcache.c (cache_addhst): Likewise.
11763 * nscd/grpcache.c (cache_addgr): Likewise.
11764 * nscd/aicache.c (addhstaiX): Likewise
11765
6d4d8e8e
AS
117662011-07-01 Andreas Schwab <schwab@redhat.com>
11767
11768 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11769 domain only when needed.
11770
89f654c5
AS
117712011-06-30 Andreas Schwab <schwab@redhat.com>
11772
11773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11774 is always restored.
11775
cf3b23ff
UD
117762011-06-29 Ulrich Drepper <drepper@gmail.com>
11777
11778 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11779 are re-adding the entry.
11780 * nscd/servicescache.c (cache_addserv): Likewise.
11781
751626f9
AJ
117822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11783
11784 * sysdeps/generic/dl-irel.h: fix protection against multiple
11785 inclusions.
11786 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11787
9113ea1f
UD
117882011-06-28 Ulrich Drepper <drepper@gmail.com>
11789
5c0b8d90
UD
11790 [BZ #12935]
11791 * malloc/memusage.sh: Fix quoting in message.
11792 * debug/xtrace.sh: Likewise.
11793
9113ea1f
UD
11794 * configure.in: Remove support for --experimental-malloc option, make
11795 it the default.
11796 * config.make.in: Likewise.
11797 * malloc/Makefile: Likewise.
11798
a4172181
AS
117992011-06-27 Andreas Schwab <schwab@redhat.com>
11800
11801 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11802 two-byte characters.
11803
78a7eee7
RM
118042011-06-27 Roland McGrath <roland@hack.frob.com>
11805
62bede13
RM
11806 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11807 AC_CACHE_CHECK invocation.
11808 * configure: Regenerated.
11809
78a7eee7
RM
11810 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11811
5ce33a62
UD
118122011-06-27 Ulrich Drepper <drepper@gmail.com>
11813
034807a9
UD
11814 [BZ #12350]
11815 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11816 bit from old_res_options.
11817
4902da17
UD
11818 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11819
5ce33a62
UD
11820 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11821 value type for setfct.
11822
c2344f56
L
118232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11824
11825 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11826 __gettimeofday instead of gettimeofday.
11827
68468076
UD
118282011-06-26 Ulrich Drepper <drepper@gmail.com>
11829
11830 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11831
acb0d739
L
118322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11835
11836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11837 info.
11838
8912479f
L
118392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11840
11841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11842 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11843 strcpy-sse2-unaligned strncpy-sse2-unaligned
11844 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11845 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11846 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11847 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11848 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11849 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11850 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11851 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11852 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11853 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11854 (STRCPY): Support SSE2 and SSSE3 versions.
11855
d5495a11
UD
118562011-06-24 Ulrich Drepper <drepper@gmail.com>
11857
11858 [BZ #12874]
11859 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11860 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11861 kernels which artificially limit size of requests.
11862
0b1cbaae
L
118632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11866 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11867 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11868 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11869 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11870 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11871 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11872 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11874 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11875 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11876 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11877 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11878 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11879 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11881 Enable unaligned load optimization for Intel Core i3, i5 and i7
11882 processors.
11883 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11884 Define.
11885 (index_Fast_Unaligned_Load): Define.
11886 (HAS_FAST_UNALIGNED_LOAD): Define.
11887
07f494a0
MP
118882011-06-23 Marek Polacek <mpolacek@redhat.com>
11889
11890 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11891
fa3fc0fe
UD
118922011-06-22 Ulrich Drepper <drepper@gmail.com>
11893
11894 [BZ #12907]
11895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11896 until it is clear that the information is realy needed.
11897 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11898
e12df166
AS
118992011-06-22 Andreas Schwab <schwab@redhat.com>
11900
11901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11902
852eb34d
UD
119032011-06-22 Ulrich Drepper <drepper@gmail.com>
11904
84e2a551
UD
11905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11906 /sys/devices/system/cpu/online if it is usable.
11907
852eb34d
UD
11908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11909 reading the information from the /proc filesystem to once a second.
11910
6e502e19
UD
119112011-06-21 Andreas Jaeger <aj@suse.de>
11912
11913 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11914 NULL after inclusion of kernel headers.
11915
75d39ff2
UD
119162011-06-21 Ulrich Drepper <drepper@gmail.com>
11917
51f9aa6a
UD
11918 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11919 calls to internal_setent.
11920
c0244a9d
UD
11921 [BZ #12885]
11922 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11923 addresses using gethostbyname4_r ignore IPv4 addresses.
11924
c5e3c2ae
UD
11925 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11926 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11927
75d39ff2
UD
11928 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11929
42675c6f
DM
119302011-06-20 David S. Miller <davem@davemloft.net>
11931
11932 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11933 inclusions.
11934 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11935
11936 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11937 (elf_irel): Use it.
11938 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11939 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11940 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11941 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11942 * sysdeps/x86_64/dl-irel.h: Likewise.
11943
11944 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11945 * elf/dl-sym.c: Likewise.
11946
57912a71
UD
119472011-06-15 Ulrich Drepper <drepper@gmail.com>
11948
11949 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11950 need to dereference resplen2.
11951
ee22793d
AS
119522011-06-14 Andreas Schwab <schwab@redhat.com>
11953
11954 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11955
a9e836b0
UD
119562011-06-15 Ulrich Drepper <drepper@gmail.com>
11957
77fb9117
UD
11958 * Makeconfig: Define vardbdir and inst_vardbdir.
11959 * nss/Makefile: Add rules to install db-Makefile.
11960
40c1b22c
UD
11961 * nss/nss_db/db-XXX.c: Cleanup.
11962
9f2da732
UD
11963 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11964 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11965 GLIBC_PRIVATE.
11966 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11967 * nss/makedb.c: Implement -g option to specify that value strings
11968 are generated and should not be added to table iterated over for
11969 get*ent calls.
11970 * nss/nss_db/db-initgroups.c: New file.
11971
82e9a1f7
UD
11972 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11973 interface.
11974
c41af17e
UD
11975 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11976 (internal_getgrouplist): Adjust to name change.
11977 Update use_initgroups_entry if this is not the first call.
11978 * nss/databases.def: Add initgroups entry.
11979
a9e836b0
UD
11980 * nss/makedb.c (compute_tables): Check result of multiple hash table
11981 sizes to minimize maximum chain length.
11982
2666d441
UD
119832011-06-14 Ulrich Drepper <drepper@gmail.com>
11984
11985 * Versions.def: Add entry for libnss_db.
11986 * shlib-versions: Likewise.
11987 * nss/Makefile: Add rules to build libnss_db.
11988 * nss/Versions: Add libnss_db information. Organize libnss_files
11989 entries better.
11990 * nss/db-Makefile: Add gshadow support. Change rules for the new
11991 makedb progra. Some minor improvements to generate smaller files.
11992 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11993 here from...
11994 * nss/makedb.c: ...here.
11995 Improve database format to be smaller and require less memory at
11996 runtime.
11997 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11998 db anymore.
11999 * nss/nss_db/db-netgrp.c: Likewise.
12000 * nss/nss_db/db-open.c: Likewise.
12001 * nss/nss_files/flies-XXX.x: Adjust comments.
12002 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12003 * nss/nss_files/files-grp.c: Likewise.
12004 * nss/nss_files/files-hosts.c: Likewise.
12005 * nss/nss_files/files-network.c: Likewise.
12006 * nss/nss_files/files-proto.c: Likewise.
12007 * nss/nss_files/files-pwd.c: Likewise.
12008 * nss/nss_files/files-rpc.c: Likewise.
12009 * nss/nss_files/files-service.c: Likewise.
12010 * nss/nss_files/files-sgrp.c: Likewise.
12011 * nss/nss_files/files-spwd.c: Likewise.
12012 * nss/nss_db/db-alias.c: Removed.
12013 * nss/nss_db/dummy-db.h: Removed.
12014
9ee76b5a
UD
120152011-06-02 Ulrich Drepper <drepper@gmail.com>
12016
12017 * nss/makedb.c: Rewritten to not use database library.
12018 * nss/Makefile: Update to build new makedb program.
12019
c71ca1f8
AJ
120202011-06-14 Andreas Jaeger <aj@suse.de>
12021
12022 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12023 memset declaration.
12024
3154bfb8
UD
120252011-06-10 Andreas Schwab <schwab@redhat.com>
12026
12027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12028 tmpbuf.
12029
b350afab
RM
120302011-06-10 Roland McGrath <roland@hack.frob.com>
12031
decd4e50
RM
12032 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12033 * elf/Makefile ($(objpfx)ld.so): Likewise.
12034
5615eaf2
RM
12035 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12036 Don't list ld.so twice in dependencies.
12037
12038 * posix/bug-regex31.c: Include <stdlib.h>.
12039
12040 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12041
12042 * nis/nss_compat/compat-spwd.c
12043 (getspent_next_nss_netgr): Remove unused variable.
12044 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12045
12046 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12047 nonmembers" output to use the right array.
12048
12049 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12050
12051 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12052
12053 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12054 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12055 * catgets/gencat.c (read_input_file): Likewise.
12056 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12057
12058 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12059 variable definition inside #if's controlling its use.
12060
12061 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12062
12063 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12064
12065 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12066
12067 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12068 unreachable code.
12069
12070 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12071
b68e08db
RM
12072 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12073 * configure: Regenerated.
12074
b350afab
RM
12075 * Makerules: Revert last change.
12076 * elf/Makefile: Likewise.
12077
28368601
RM
120782011-06-09 Roland McGrath <roland@hack.frob.com>
12079
12080 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12081 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12082 (reloc-link): Likewise.
12083
11988f8f
UD
120842011-06-09 Ulrich Drepper <drepper@gmail.com>
12085
12086 * elf/Makefile: Add rules to build pldd.
12087 * elf/pldd.c: New file.
12088 * elf/pldd-xx.c: New file.
12089
e80fab37
UD
120902011-06-07 Ulrich Drepper <drepper@gmail.com>
12091
12092 * version.h: Update for 2.15 development version.
12093
9b849836
DM
120942011-06-07 David S. Miller <davem@davemloft.net>
12095
12096 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12097 ifuncs.
12098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12099 elf_machine_lazy_rel): Likewise.
12100 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12102 elf_machine_lazy_rel): Likewise.
12103 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12104 dl_hwcap via passed in argument.
12105 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12106 Likewise.
12107
5a31b283
AK
121082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12109
12110 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12111
069e52f8
RM
121122011-06-06 Roland McGrath <roland@hack.frob.com>
12113
12114 [BZ #12849]
12115 * manual/fdl-1.1.texi: New file, verbatim from:
12116 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12117 * manual/lgpl-2.1.texi: New file, verbatim from:
12118 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12119 * manual/Makefile (licenses): New variable, list those new file names.
12120 (texis): Use it.
12121 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12122
12123 * manual/fdl.texi: File removed.
12124 * manual/lesser.texi: File removed.
12125 * manual/libc.texinfo (Copying, Documentation License):
12126 Use new @include file names, put @appendix directive before @include.
12127
f16846a5
JJ
121282011-06-04 Jakub Jelinek <jakub@redhat.com>
12129
12130 [BZ #12841]
12131 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12132 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12133 (mq_open): Add __NTH.
12134
3d29045b
L
121352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12138 Assume Intel Core i3/i5/i7 processor if AVX is available.
12139
8c297311
UD
121402011-05-31 Ulrich Drepper <drepper@gmail.com>
12141
12142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12143 typo.
12144
c8fc0c91
UD
121452011-05-31 Andreas Schwab <schwab@redhat.com>
12146
12147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12148 memory. Use alloca_account. Fix memory leak when retrying.
12149
5b27a807
UD
121502011-05-31 Ulrich Drepper <drepper@gmail.com>
12151
356f8bc6
UD
12152 * version.h (RELEASE): Bump for 2.14 release.
12153 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12154
5b27a807
UD
12155 * config.make.in (RANLIB): Remove entry.
12156
01f16ab0
UD
121572011-05-30 Ulrich Drepper <drepper@gmail.com>
12158
41fce8bd
UD
12159 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12160 (libc.pot): Work around missing support for .ksh extension in xgettext.
12161
4769ae77
UD
12162 [BZ #12684]
12163 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12164 if both request failed.
12165 (send_dg): In case of server errors clear resplen or *resplen2.
12166
6b1e7d19
UD
12167 [BZ #12454]
12168 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12169 when there are multiple maps.
12170 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12171 (_dl_fini): Remove test here.
12172
01f16ab0
UD
12173 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12174
b1ebd700
UD
121752011-05-29 Ulrich Drepper <drepper@gmail.com>
12176
7ae22829
UD
12177 [BZ #12350]
12178 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12179 bit from old_res_options.
12180 (gaih_inet): Likewise.
12181
553149f6 12182 [BZ #11099]
18a84741 12183 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12184 as signed.
12185
652ffab1
UD
12186 * resolv/res_init.c (res_setoptions): Make the code more compact.
12187
16985fd0
UD
12188 [BZ #11558]
12189 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12190 set RES_USEVC.
12191
0464f746
UD
12192 [BZ #11634]
12193 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12194
7d17596c
UD
12195 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12196
cf6bbbd7
UD
12197 [BZ #11781]
12198 * malloc/malloc.h: Declare malloc hook variables as volatile.
12199
13f1ab36
UD
12200 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12201 in last patch.
12202
b1ebd700
UD
12203 [BZ #11799]
12204 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12205 raise in the comment.
80e2212d
UD
12206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12208 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12209
ce67228d
UD
122102011-05-28 Ulrich Drepper <drepper@gmail.com>
12211
8887a920
UD
12212 [BZ #12811]
12213 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12214 grow the buffers more if it already has to be sufficient.
12215 (build_wcs_upper_buffer): Likewise.
12216 * posix/regexec.c (check_matching): Likewise.
12217 (clean_state_log_if_needed): Likewise.
12218 (extend_buffers): Don't enlarge buffers beyond size of the input
12219 buffer.
12220 Patches mostly by Emil Wojak <emil@wojak.eu>.
12221 * posix/bug-regex32.c: New file.
12222 * posix/Makefile (tests): Add bug-regex32.
12223
4f031072
UD
12224 * locale/findlocale.c (_nl_find_locale): Return right away if
12225 _nl_explode_name failed.
12226 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12227
d0478f0c
UD
12228 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12229
de81b246
UD
12230 * debug/xtrace.sh: Unify messages.
12231 * malloc/memusage.sh: Likewise.
12232
c738465a
UD
12233 [BZ #12813]
12234 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12235 time symbol from vDSO. Substitute with vsyscall if not available.
12236 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12237 __vdso_time.
12238
f1f929d7
UD
12239 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12240 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12241 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12242 Add sendmmsg and internal_sendmmsg.
12243 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12244 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12245 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12246
ce67228d
UD
12247 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12248 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12249 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12250
e57420c6
UD
122512011-05-27 Ulrich Drepper <drepper@gmail.com>
12252
a8509ca5
UD
12253 [BZ #12813]
12254 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12255 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12256 available.
12257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12258 __vdso_getcpu.
12259
e57420c6
UD
12260 [BZ #12814]
12261 * iconvdata/Makefile (tests): Add bug-iconv9.
12262 * iconvdata/bug-iconv9.c: New file.
12263
4d07db15
AS
122642011-05-27 Andreas Schwab <schwab@redhat.com>
12265
12266 [BZ #12814]
12267 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12268
ea486f69
JJ
122692011-05-25 Jakub Jelinek <jakub@redhat.com>
12270
12271 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12272 (struct user_regs_struct): Change intcs field back to cs.
12273
6f038433
UD
122742011-05-25 Ulrich Drepper <drepper@gmail.com>
12275
12276 * po/ja.po: Update from translation team.
12277
67f86a25
UD
122782011-05-23 Ulrich Drepper <drepper@gmail.com>
12279
12280 [BZ #12795]
12281 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12282 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12283
def7fbd6
AS
122842011-05-20 Andreas Schwab <schwab@redhat.com>
12285
12286 * stdlib/longlong.h: Update from GCC.
12287
f50ef8f1
AS
122882011-05-23 Andreas Schwab <schwab@redhat.com>
12289
12290 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12291 parameter name.
12292 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12293 Add parameter name.
12294 (__sysconf): Pass it down.
12295
de7ce8f1
UD
122962011-05-22 Ulrich Drepper <drepper@gmail.com>
12297
f2962a71
UD
12298 [BZ #12671]
12299 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12300 some situations.
12301 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12302 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12303 add in in __libc_use_alloca calls. Adjust callers.
12304 (glob): Use malloc in some situations.
12305
de7ce8f1
UD
12306 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12307 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12308 pltexit.
12309
aec84f53
UD
123102011-05-21 Ulrich Drepper <drepper@gmail.com>
12311
05bb4a68
UD
12312 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12313 and CLOCK_BOOTTIME_ALARM.
12314
7ea72f99
UD
12315 [BZ #12782]
12316 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12317 is returned.
12318
7e4afad5
UD
12319 * string/_strerror.c (__strerror_r): Print negative errors as signed
12320 numbers.
12321
8e211fec
UD
12322 [BZ #12777]
12323 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12324 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12325 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12326
f7d82dc9
UD
12327 * configure.in: Fix typo in redirection and correct removal of test
12328 files in two cases.
12329
cc9e536d
UD
12330 [BZ #12788]
12331 * locale/setlocale.c (new_composite_name): Fix test to check for
12332 identical name of all categories.
12333
aec84f53
UD
12334 [BZ #12792]
12335 * libio/filedoalloc.c (local_isatty): New function.
12336 (_IO_file_doallocate): Use local_isatty.
12337 * stdio-common/perror.c (perror): In case a new stream is used
12338 forward the stream error.
12339 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12340 error flag.
12341
78e64fdc
RT
123422011-05-20 Ulrich Drepper <drepper@gmail.com>
12343
34a9094f
UD
12344 [BZ #11869]
12345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12346 alloca.
12347 * include/alloca.h (extend_alloca_account): Define.
12348
78e64fdc
RT
12349 [BZ #11857]
12350 * posix/regex.h: Fix comments with documentation of user-accessible
12351 fields after compilation and describe correct free'ing of pattern
12352 after re_compile_pattern.
12353 Patch by Reuben Thomas <rrt@sc3d.org>.
12354
457bddfc
RA
123552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12356
12357 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12358 and -mno-altivec to prevent the compiler from using Altivec and/or
12359 VSX instructions when the corresponding registers are not available.
12360
a4527b51
AS
123612011-05-19 Andreas Schwab <schwab@redhat.com>
12362
12363 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12364
ed690b2f
UD
123652011-05-19 Ulrich Drepper <drepper@gmail.com>
12366
12367 * libio/freopen.c (freopen): Use __dup2, not dup2.
12368 * libio/freopen64.c (freopen64): Likewise.
12369
8db73634
L
123702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 [BZ #12775]
12373 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12374 * math/Makefile (tests): Add test-powl.
12375 (CFLAGS-test-powl.c): Define.
12376 * math/test-powl.c: New file.
12377
0a197a9d
L
123782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12379
12380 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12381
ee30c380
UD
123822011-05-17 Ulrich Drepper <drepper@gmail.com>
12383
12384 [BZ #11837]
12385 * iconvdata/gb18030.c: Update to GB18020-2005.
12386
6ce75379
UD
123872011-05-16 Ulrich Drepper <drepper@gmail.com>
12388
a4b89fd8
AR
12389 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12390 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12391 Patch by Aharon Robbins <arnold@skeeve.com>.
12392
ea389b12
UD
12393 [BZ #11892]
12394 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12395 on the stack.
12396
68a3f91f
UD
12397 [BZ #11895]
12398 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12399 through underflows.
12400
15cc7dd1
UD
12401 [BZ #12766]
12402 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12403 point to strings before performing equality test for error_one_per_line
12404 mode.
12405
f3799213
UD
12406 [BZ #11697]
12407 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12408
d79a9c94
UD
12409 [BZ #11820]
12410 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12411 (struct user_fpregs_struct): Avoid __uint*_t types.
12412
56e5eb46
UD
12413 [BZ #6420]
12414 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12415 symbol info. Use it instead of calling _dl_addr locally.
12416 (lock_and_info): New function.
12417 (tr_freehook): Call lock_and_info and pass symbol info as additional
12418 parameter to tr_where.
12419 (tr_mallochook): Likewise.
12420 (tr_reallochook): Likewise.
12421 (tr_memalignhook): Likewise.
12422
6ce75379
UD
12423 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12424 used and couldn't be at all thread-safe.
12425
f8a3b5bf
UD
124262011-05-15 Ulrich Drepper <drepper@gmail.com>
12427
94b7cc37
UD
12428 * libio/freopen.c (freopen): Don't close old file descriptor
12429 before the new one is opened. Instead dup the new file descriptor
12430 to the old one after the new stream is created.
12431 * libio/freopen64.c (freopen64): Likewise.
12432 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12433 * libio/fileops.c (_IO_new_file_close_it): Handle new
12434 _IO_FLAGS2_NOCLOSE flag.
12435 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12436 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12437 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12438 _IO_FLAGS2_NOCLOSE flag.
12439 * include/unistd.h: Add hidden_proto for dup3.
12440 Define __have_dup3.
12441 * io/dup3.c: Define hidden symbol.
12442 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12443
bd25564e
UD
12444 [BZ #7101]
12445 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12446 when an incomplete long option is used.
12447 * posix/tst-getopt_long1.c: New file.
12448 * posix/Makefile (tests): Add tst-getopt_long1.
12449
c84cfef4
UD
12450 [BZ #10138]
12451 * scripts/config.guess: Update from autoconf-2.68.
12452 * scripts/config.sub: Likewise.
12453
3b85df27
UD
12454 [BZ #10157]
12455 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12456 tests into ...
12457 (has_cpuclock): ...this. New function.
12458 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12459 macro here based on has_cpuclock code.
12460
15a856b1
UD
12461 [BZ #10149]
12462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12463 First byte (not low byte) is now always NUL.
12464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12465
05f399e6
UD
12466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12467 Use non-cancelable interfaces.
12468
10a52685 12469 [BZ #9809]
94ecc67d
UD
12470 * locale/iso-639.def: Add entry for Sorani.
12471
f8a3b5bf
UD
12472 [BZ #11901]
12473 * include/stdlib.h: Move include protection to the right place.
12474 Define abort_msg_s. Declare __abort_msg with it.
12475 * stdlib/abort.c (__abort_msg): Adjust type.
12476 * assert/assert.c (__assert_fail_base): New function. Majority
12477 of code from __assert_fail. Allocate memory for __abort_msg with
12478 mmap.
12479 (__assert_fail): Now call __assert_fail_base.
12480 * assert/assert-perr.c: Remove bulk of implementation. Use
12481 __assert_fail_base.
12482 * include/assert.hL Declare __assert_fail_base.
12483 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12484 mmap.
12485 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12486
1af4e298
UD
124872011-05-14 Ulrich Drepper <drepper@gmail.com>
12488
f8a3b5bf 12489 [BZ #11952]
d26dfc60
MG
12490 [BZ #12453]
12491 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12492 until all modules are registered in the DTV.
12493 * elf/Makefile: Add rules to build and run tst-tls19.
12494 * elf/tst-tls19.c: New file.
12495 * elf/tst-tls19mod1.c: New file.
12496 * elf/tst-tls19mod2.c: New file.
12497 * elf/tst-tls19mod3.c: New file.
12498 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12499
2fc54d6f
UD
12500 [BZ #12083]
12501 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12502 correctly.
12503
98d76b46
UD
12504 [BZ #12601]
12505 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12506 two-byte sequence errors.
12507 * iconvdata/Makefile (tests): Add bug-iconv8.
12508 * iconvdata/bug-iconv8.c: New file.
12509
da3c19ef
UD
12510 [BZ #12626]
12511 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12512 buf2 definition.
12513
ca408c15
UD
12514 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12515
d6f67f7d
UD
12516 [BZ #12432]
12517 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12518 (dummy_getcfa): New function.
12519 (init): Get _Unwind_GetCFA address, use dummy if not found.
12520 (backtrace_helper): In recursion check, also check whether CFA changes.
12521 (__backtrace): Completely initialize arg.
12522
1af4e298 12523 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12524 storing incomplete byte sequence in state object. Avoid testing for
12525 guaranteed too small input if we know there is enough data available.
1af4e298 12526
da62f81b
AS
125272011-05-11 Andreas Schwab <schwab@redhat.com>
12528
12529 * Makeconfig (+link-pie): Indent.
12530 * Rules (binaries-pie): Define if $(have-fpie) and
12531 $(build-shared).
12532 (binaries-shared): Also filter out $(binaries-pie).
12533 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12534 * nscd/Makefile (others-pie): Add nscd.
12535 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12536 ($(objpfx)nscd): Remove command override.
12537 * login/Makefile (others-pie): Add pt_chown.
12538 ($(objpfx)pt_chown): Remove command override.
12539 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12540 remove command overrides.
12541
fcabc0f8
UD
125422011-05-13 Ulrich Drepper <drepper@gmail.com>
12543
20030ae6
UD
12544 * libio/tst_putwc.c: Fix error messages.
12545
fcabc0f8
UD
12546 [BZ #12724]
12547 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12548 currently writing and seek to current position when not.
12549 * libio/Makefile (tests): Add bug-fclose1.
12550 * libio/bug-fclose1.c: New file.
12551
320a5dc0
PB
125522011-05-12 Ulrich Drepper <drepper@gmail.com>
12553
12554 [BZ #12511]
12555 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12556 don't set DF_1_NODELETE here.
12557 (do_lookup_x): When entering new entry test for copy relocation
12558 and if necessary set DF_1_NODELETE flag.
12559 * elf/tst-unique4.cc: New file.
12560 * elf/tst-unique4.h: New file.
12561 * elf/tst-unique4lib.cc: New file.
12562 * elf/Makefile: Add rules to build and run tst-unique4.
12563 Patch by Piotr Bury <pbury@goahead.com>.
12564
22836f52
UD
125652011-05-11 Ulrich Drepper <drepper@gmail.com>
12566
f574184a
UD
12567 [BZ #12052]
12568 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12569
e1fb097f
UD
12570 [BZ #12625]
12571 * misc/mntent_r.c (addmntent): Flush the stream after the output
12572
22836f52
UD
12573 [BZ #12393]
12574 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12575 (is_trusted_path_normalize): Skip initial colon. Append slash
12576 to empty buffer. Duplicate is_trusted_path code but allow
12577 constructed patch to be prefix.
12578 (is_dst): Allow $ORIGIN followed by /.
12579 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12580 Correct testing of result of is_trusted_path_normalize
12581 (decompose_rpath): Fix warning.
12582
7b3b0b2a
UD
125832011-05-10 Ulrich Drepper <drepper@gmail.com>
12584
12585 [BZ #11257]
12586 * grp/initgroups.c (internal_getgrouplist): When we found the service
12587 list through the initgroups entry in nsswitch.conf do not always
12588 continue on a successful lookup. Don't always use the
eac80ce2 12589 __nss_group_database value if it is set.
7b3b0b2a
UD
12590 * nss/nsswitch.conf (initgroups): Change action for successful db
12591 lookup to continue for compatibility.
12592
2a81eaa5
UD
125932011-05-09 Ulrich Drepper <drepper@gmail.com>
12594
be97a69e
UD
12595 [BZ #11532]
12596 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12597 and CP774 modules.
12598 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12599 and CP774 modules.
12600 * iconvdata/tst-tables.sh: Likewise.
12601 * iconvdata/cp770.c: New file.
12602 * iconvdata/cp771.c: New file.
12603 * iconvdata/cp772.c: New file.
12604 * iconvdata/cp773.c: New file.
12605 * iconvdata/cp774.c: New file.
12606 * iconvdata/testdata/CP770: New file.
12607 * iconvdata/testdata/CP770..UTF8: New file.
12608 * iconvdata/testdata/CP771: New file.
12609 * iconvdata/testdata/CP771..UTF8: New file.
12610 * iconvdata/testdata/CP772: New file.
12611 * iconvdata/testdata/CP772..UTF8: New file.
12612 * iconvdata/testdata/CP773: New file.
12613 * iconvdata/testdata/CP773..UTF8: New file.
12614 * iconvdata/testdata/CP774: New file.
12615 * iconvdata/testdata/CP774..UTF8: New file.
12616
12617 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12618 END CHARMAP line.
12619 * iconvdata/gen-8bit-gap.sh: Likewise.
12620 * iconvdata/gen-8bit.sh: Likewise.
12621
c1e9e399
UD
12622 * locale/iso-639.def: Add ary entry.
12623
24c55fb3 12624 [BZ #11258]
96b4b1b0
UD
12625 * locale/C-translit.h.in: Add U20A1 transliteration.
12626
bdc2f971
KB
12627 [BZ #12178]
12628 * locale/iso-639.def: Add wae entry.
12629 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12630
2952b117
UD
12631 [BZ #12545]
12632 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12633 for n.
12634
2a81eaa5
UD
12635 [BZ #12711]
12636 * locale/C-translit.h.in: Add entry for U20B9.
12637 Patch by pravin.d.s@gmail.com.
12638
28377d1b
UD
126392011-05-08 Ulrich Drepper <drepper@gmail.com>
12640
7fb90fb8
UD
12641 [BZ #12713]
12642 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12643 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12644 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12645 in rtld. Use *stat64.
7fb90fb8 12646 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12647 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12648 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12649 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12650 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12651 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12652 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12653 __fstatat64 macros.
7fb90fb8
UD
12654 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12655 * dirent/rewinddir.c: Add libc_hidden_def.
12656 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12657 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12658
28377d1b
UD
12659 * include/dirent.h (__alloc_dir): Add flags parameter.
12660 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12661 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12662 __alloc_dir.
12663 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12664 from fdopendir if O_CLOEXEC is already set.
12665
66bdbaa4
AM
126662011-03-15 Alan Modra <amodra@gmail.com>
12667
12668 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12669 l_tls_firstbyte_offset non-zero. Save padding offset in
12670 l_tls_firstbyte_offset for later use.
12671 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12672 freeing static tls block.
12673
95721191
JN
126742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12675
12676 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12677 where #ifdef was intended. The intent is to prevent ARG_MAX from
12678 being defined by the kernel headers.
12679
f87dfb1f
UD
126802011-05-07 Ulrich Drepper <drepper@gmail.com>
12681
12682 [BZ #12734]
12683 * resolv/resolv.h: Define RES_NOTLDQUERY.
12684 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12685 no-tld-query and set RES_NOTLDQUERY.
12686 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12687 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12688 modern BIND to search name as TLD unless forbidden.
12689
47c3cd7a
UD
126902011-05-07 Petr Baudis <pasky@suse.cz>
12691 Ulrich Drepper <drepper@gmail.com>
12692
12693 [BZ #12393]
12694 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12695 (is_trusted_path): ...to here.
c1e9ea35 12696 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12697 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12698 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12699
8a35c912
PP
127002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12701
12702 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12703 __BEGIN/__END_DECLS.
12704
acd41f47
UD
127052011-05-06 Ulrich Drepper <drepper@gmail.com>
12706
12707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12708 NSS_STATUS_NOTFOUND if no record was found.
12709
597df647
AS
127102011-05-05 Andreas Schwab <schwab@redhat.com>
12711
12712 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12713 (headers-not-in-tirpc): Remove rpc/netdb.h
12714 * resolv/netdb.h: Revert last change.
12715
b9af1301
PP
127162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12717
12718 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12719 circular dependency between libgcc.a and libc.a.
12720
4e34d5f5
AS
127212011-05-05 Andreas Schwab <schwab@redhat.com>
12722
12723 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12724 * nis/Makefile: Don't install rpcsvc/*.
12725 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12726 instead of <rpc/types.h>.
12727 (MAXHOSTNAMELEN): Define.
12728
00ee369c
AS
127292011-05-03 Andreas Schwab <schwab@redhat.com>
12730
12731 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12732
0b592a30
MB
127332011-04-28 Maciej Babinski <mbabinski@google.com>
12734
12735 [BZ #12714]
12736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12737 gethostbyname4_r when IPv6 results are possible.
12738
6e04cbbe
UD
127392011-05-02 Ulrich Drepper <drepper@gmail.com>
12740
12741 [BZ #12723]
12742 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12743 _PC_PIPE_BUF handling.
12744
e4ecafe0
BH
127452011-04-30 Bruno Haible <bruno@clisp.org>
12746
12747 [BZ #12717]
12748 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12749 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12750 to 'int'.
12751 * inet/getnameinfo.c (getnameinfo): Likewise.
12752
125ee683
UD
127532011-04-29 Ulrich Drepper <drepper@gmail.com>
12754
12755 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12756 to groups setting in database lookup.
12757 * nss/nsswitch.conf: Add initgroups entry.
12758
b722481a
EB
127592011-04-22 Ulrich Drepper <drepper@gmail.com>
12760
12761 [BZ #12685]
12762 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12763 mode string.
12764 Patch by Eric Blake <eblake@redhat.com>.
12765
4df46dbd
L
127662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12767
12768 * sunrpc/Makefile (need-export-routines): Add svc_run.
12769 (routines): Remove svc_run.
12770 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12771 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12772 * sunrpc/svc_run.c (svc_run): Likewise.
12773 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12774
e84142d2
UD
127752011-04-21 Ulrich Drepper <drepper@gmail.com>
12776
12777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12778 problem in reallocation in last patch.
12779
877175d8
UD
127802011-04-20 Ulrich Drepper <drepper@gmail.com>
12781
12782 * sunrpc/Makefile: Move inclusion of Rules.
12783
ab8eed78
UD
127842011-04-19 Ulrich Drepper <drepper@gmail.com>
12785
12786 * nss/nss_files/files-initgroups.c: New file.
12787 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12788 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12789 _nss_files_initgroups_dyn.
12790
e3d8f584
RS
127912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12792
12793 * elf/elf.h (R_ARM_IRELATIVE): Define.
12794
af190f45
UD
127952011-04-19 Ulrich Drepper <drepper@gmail.com>
12796
12797 * po/ru.po: Update from translation team.
12798
53cf59ef
UD
127992011-04-17 Ulrich Drepper <drepper@gmail.com>
12800
12801 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12802 dependencies.
12803
4c559bcd
MF
128042011-02-06 Mike Frysinger <vapier@gentoo.org>
12805
12806 [BZ #12653]
12807 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12808 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12812
4420675c
AS
128132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12814
12815 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12816 differing bytes.
12817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12820
75ea32ab
UD
128212011-04-17 Ulrich Drepper <drepper@gmail.com>
12822
12823 [BZ #12420]
12824 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12825 storing it.
12826 * stdlib/bug-getcontext.c: New file.
12827 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12828
27390476
AK
128292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12830
12831 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12832 instructions into .machine "z9-109".
12833 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12834 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12835
10442705
AK
128362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12837
12838 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12839 between environment variables and auxiliary vector.
12840
7b57bfe5
UD
128412011-04-16 Ulrich Drepper <drepper@gmail.com>
12842
12843 * Makefile: Add rules to build linkobj/libc.so.
12844 * include/libc-symbols.h: Define libc_hidden_nolink.
12845 * include/rpc/auth.h: Mark functions which are to be hidden.
12846 * include/rpc/auth_des.h: Likewise.
12847 * include/rpc/auth_unix.h: Likewise.
12848 * include/rpc/clnt.h: Likewise.
12849 * include/rpc/des_crypt.h: Likewise.
12850 * include/rpc/key_prot.h: Likewise.
12851 * include/rpc/pmap_clnt.h: Likewise.
12852 * include/rpc/pmap_prot.h: Likewise.
12853 * include/rpc/pmap_rmt.h: Likewise.
12854 * include/rpc/rpc_msg.h: Likewise.
12855 * include/rpc/svc.h: Likewise.
12856 * include/rpc/svc_auth.h: Likewise.
12857 * include/rpc/xdr.h: Likewise.
12858 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12859 * nss/Makefile: Likewise.
12860 * sunrpc/Makefile: Don't install headers. Build library with normal
12861 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12862 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12863 for the compat linking library. Remove use of INTDEF/INTUSE.
12864 * sunrpc/auth_none.c: Likewise.
12865 * sunrpc/auth_unix.c: Likewise.
12866 * sunrpc/authdes_prot.c: Likewise.
12867 * sunrpc/authuxprot.c: Likewise.
12868 * sunrpc/clnt_gen.c: Likewise.
12869 * sunrpc/clnt_perr.c: Likewise.
12870 * sunrpc/clnt_raw.c: Likewise.
12871 * sunrpc/clnt_simp.c: Likewise.
12872 * sunrpc/clnt_tcp.c: Likewise.
12873 * sunrpc/clnt_udp.c: Likewise.
12874 * sunrpc/clnt_unix.c: Likewise.
12875 * sunrpc/des_crypt.c: Likewise.
12876 * sunrpc/des_soft.c: Likewise.
12877 * sunrpc/get_myaddr.c: Likewise.
12878 * sunrpc/key_call.c: Likewise.
12879 * sunrpc/key_prot.c: Likewise.
12880 * sunrpc/netname.c: Likewise.
12881 * sunrpc/pm_getmaps.c: Likewise.
12882 * sunrpc/pm_getport.c: Likewise.
12883 * sunrpc/pmap_clnt.c: Likewise.
12884 * sunrpc/pmap_prot.c: Likewise.
12885 * sunrpc/pmap_prot2.c: Likewise.
12886 * sunrpc/pmap_rmt.c: Likewise.
12887 * sunrpc/publickey.c: Likewise.
12888 * sunrpc/rpc_cmsg.c: Likewise.
12889 * sunrpc/rpc_common.c: Likewise.
12890 * sunrpc/rpc_dtable.c: Likewise.
12891 * sunrpc/rpc_prot.c: Likewise.
12892 * sunrpc/rpc_thread.c: Likewise.
12893 * sunrpc/rtime.c: Likewise.
12894 * sunrpc/svc.c: Likewise.
12895 * sunrpc/svc_auth.c: Likewise.
12896 * sunrpc/svc_authux.c: Likewise.
12897 * sunrpc/svc_raw.c: Likewise.
12898 * sunrpc/svc_run.c: Likewise.
12899 * sunrpc/svc_simple.c: Likewise.
12900 * sunrpc/svc_tcp.c: Likewise.
12901 * sunrpc/svc_udp.c: Likewise.
12902 * sunrpc/svc_unix.c: Likewise.
12903 * sunrpc/svcauth_des.c: Likewise.
12904 * sunrpc/xcrypt.c: Likewise.
12905 * sunrpc/xdr.c: Likewise.
12906 * sunrpc/xdr_array.c: Likewise.
12907 * sunrpc/xdr_float.c: Likewise.
12908 * sunrpc/xdr_intXX_t.c: Likewise.
12909 * sunrpc/xdr_mem.c: Likewise.
12910 * sunrpc/xdr_rec.c: Likewise.
12911 * sunrpc/xdr_ref.c: Likewise.
12912 * sunrpc/xdr_sizeof.c: Likewise.
12913 * sunrpc/xdr_stdio.c: Likewise.
12914
e6c61494
UD
129152011-04-10 Ulrich Drepper <drepper@gmail.com>
12916
12917 [BZ #12650]
12918 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12919 * sysdeps/ia64/dl-tls.h: Likewise.
12920 * sysdeps/powerpc/dl-tls.h: Likewise.
12921 * sysdeps/s390/dl-tls.h: Likewise.
12922 * sysdeps/sh/dl-tls.h: Likewise.
12923 * sysdeps/sparc/dl-tls.h: Likewise.
12924 * sysdeps/x86_64/dl-tls.h: Likewise.
12925 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12926
34fe483e
AS
129272011-03-14 Andreas Schwab <schwab@redhat.com>
12928
12929 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12930 rpath element also skip the following colon.
12931 (expand_dynamic_string_token): Add is_path parameter and pass
12932 down to DL_DST_REQUIRED and _dl_dst_substitute.
12933 (decompose_rpath): Call expand_dynamic_string_token with
12934 non-zero is_path. Ignore empty rpaths.
12935 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12936 with zero is_path.
12937
f12a32e6
AS
129382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12941 Make cancelable.
12942
38a7d692
UD
129432011-04-09 Ulrich Drepper <drepper@gmail.com>
12944
12945 [BZ #12655]
12946 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12947 Patch by Filipe David Manana <fdmanana@apache.org>.
12948
e451d22b
AS
129492011-04-07 Andreas Schwab <schwab@redhat.com>
12950
12951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12952 Maintain aligned stack.
12953 (CHECK_RSP): Remove unused macro.
12954
dedc7c7b
UD
129552011-04-03 Ulrich Drepper <drepper@gmail.com>
12956
12957 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12959
94521213
UD
129602011-04-02 Ulrich Drepper <drepper@gmail.com>
12961
12962 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12963
8cb700c0 12964 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12965
0354e355
L
129662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 [BZ #12518]
12969 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12970 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12971 * sysdeps/x86_64/memmove.c: New file.
12972 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12973 (memcpy): Renamed to ...
12974 (__new_memcpy): This.
12975 (memcpy): Provide GLIBC_2_14 memcpy.
12976 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12977 (memcpy): Provide GLIBC_2_2_5 memcpy.
12978
8593482f
UD
129792011-04-01 Ulrich Drepper <drepper@gmail.com>
12980
12981 [BZ #12631]
12982 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12983
81a5726b
AS
129842011-03-30 Andreas Schwab <schwab@redhat.com>
12985
12986 * misc/syncfs.c: New file.
12987 * misc/Makefile (routines): Add syncfs.
12988 * posix/unistd.h: Declare syncfs.
12989 * sysdeps/unix/syscalls.list: Add syncfs.
12990
00e5419f
AS
129912011-04-01 Andreas Schwab <schwab@redhat.com>
12992
12993 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12994 open_by_handle_at.
12995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12998 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13000 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13002
748876bf
UD
130032011-04-01 Ulrich Drepper <drepper@gmail.com>
13004
658e451d
UD
13005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13007 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13012
748876bf
UD
13013 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13014 sync_file_range.c with -fexceptions.
13015 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13016 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13017 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13018 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13019 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13020 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13022 sync_file_range as cancellation point
13023 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13024 now a wrapper around __call_sync_file_range with cancellation handling.
13025 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13026 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13027 function name to __call_sync_file_range.
13028 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13029 Add call_sync_file_range.
748876bf 13030
6e63d5e1
AS
130312011-04-01 Andreas Schwab <schwab@redhat.com>
13032
13033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13034 bits/timex.h.
6e63d5e1 13035
46998f74
UD
130362011-04-01 Ulrich Drepper <drepper@gmail.com>
13037
4c1423ed
UD
13038 * iconv/iconv.h: Fix typo in comment.
13039 * io/fcntl.h: Likewise.
13040 * libio/stdio.h: Likewise.
13041 * posix/spawn.h: Likewise.
13042 * posix/unistd.h: Likewise.
13043 * stdlib/stdlib.h: Likewise.
13044 * time/time.h: Likewise.
13045 * wcsmbs/wchar.h: Likewise.
13046
158648c0
UD
13047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13048 open_by_handle): Add.
13049 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13050 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13051 Augment a few comments.
13052 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13057 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13058 open_by_handle.
13059
46998f74
UD
13060 * io/fcntl.h (AT_EMPTY_PATH): Define.
13061
83fe108b
UD
130622011-03-30 Ulrich Drepper <drepper@gmail.com>
13063
13064 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13065 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13066 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13067 to...
13068 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13069 * Versions.def: Add GLIBC_2.14.
13070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13071 Export.
83fe108b 13072
bb242059
UD
130732011-03-22 Ulrich Drepper <drepper@gmail.com>
13074
13075 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13076 round counter.
13077 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13078
c97a1282
L
130792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 [BZ #12597]
13082 * string/test-strncmp.c (do_page_test): New function.
13083 (check2): Likewise.
13084 (test_main): Call check2.
13085 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13086
2a115601
UD
130872011-03-20 Ulrich Drepper <drepper@gmail.com>
13088
13089 [BZ #12587]
13090 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13091 Handle cache information in CPU leaf 4.
13092 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13093
8126d904
UD
130942011-03-18 Ulrich Drepper <drepper@gmail.com>
13095
042c49c6 13096 [BZ #12583]
8126d904
UD
13097 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13098 character representation.
13099 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13100
ccfe366e
RA
131012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13102
13103 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13104 END(__isnan) to END(__isnanf) to match function entry point/label
13105 EALIGN(__isnanf,...).
13106
c6e13027
JJ
131072011-03-10 Jakub Jelinek <jakub@redhat.com>
13108
13109 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13110
33f85a3f
UD
131112011-03-10 Ulrich Drepper <drepper@gmail.com>
13112
028478fa
UD
13113 [BZ #12510]
13114 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13115 copy from the symbol referenced in the relocation to initialize the
13116 used variable.
13117 Patch by Piotr Bury <pbury@goahead.com>.
13118 * elf/Makefile: Add rules to build and tst-unique3.
13119 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13120 * elf/tst-unique3.cc: New file.
13121 * elf/tst-unique3.h: New file.
13122 * elf/tst-unique3lib.cc: New file.
13123 * elf/tst-unique3lib2.cc: New file.
13124
33f85a3f
UD
13125 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13126
03592fc7
MF
131272011-03-10 Mike Frysinger <vapier@gentoo.org>
13128
13129 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13130 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13131 to _start.
03592fc7 13132
6a5ee102
UD
131332011-03-06 Ulrich Drepper <drepper@gmail.com>
13134
13135 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13136 to-be-loaded object along a path to loader is ld.so.
13137
7e4ba49c
HJ
131382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13139 Ulrich Drepper <drepper@gmail.com>
13140
13141 * sysdeps/x86_64/memset.S: After aligning destination, code
13142 branches to different locations depending on the value of
13143 misalignment, when multiarch is enabled. Fix this.
13144
131452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13146
13147 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13148 Set _x86_64_preferred_memory_instruction for AMD processsors.
13149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13150 Set bit_Prefer_SSE_for_memop for AMD processors.
13151
13a804de
UD
131522011-03-04 Ulrich Drepper <drepper@gmail.com>
13153
13154 * libio/fmemopen.c (fmemopen): Optimize a bit.
13155
9d25c392
AS
131562011-03-03 Andreas Schwab <schwab@redhat.com>
13157
13158 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13159
a5543c6a
RM
131602011-03-03 Roland McGrath <roland@redhat.com>
13161
13162 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13163
012d35f7
DM
131642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13165
7e4ba49c 13166 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13167 __bzero_ultra1 instead of __memset_ultra1.
13168
4bff6e01
AS
131692011-02-23 Andreas Schwab <schwab@redhat.com>
13170 Ulrich Drepper <drepper@gmail.com>
13171
13172 [BZ #12509]
13173 * include/link.h (struct link_map): Add l_orig_initfini.
13174 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13175 returning unsuccessfully.
13176 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13177 close of a file loaded at startup, restore the original l_initfini
13178 list.
13179 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13180 list, store the pointer.
13181 * elf/Makefile ($(objpfx)noload-mem): New rule.
13182 (noload-ENV): Define.
13183 (tests): Add $(objpfx)noload-mem.
13184 * elf/noload.c: Include <memcheck.h>.
13185 (main): Call mtrace. Close all opened handles.
13186
f2092faf
AS
131872011-02-17 Andreas Schwab <schwab@redhat.com>
13188
13189 [BZ #12454]
13190 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13191 dependencies are missing.
13192
6c8a2e88
ST
131932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13194
f2092faf 13195 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13196 Hurd needs munmap.
13197 * sysdeps/mach/hurd/ifreq.h: New file.
13198
84a42118
PB
131992011-01-27 Petr Baudis <pasky@suse.cz>
13200 Ulrich Drepper <drepper@gmail.com>
13201
071f805e 13202 [BZ 12445]#
84a42118
PB
13203 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13204 to extend_alloca().
13205 * stdio-common/bug23.c: New file.
13206 * stdio-common/Makefile (tests): Add bug23.
13207
e23fe25b
AS
132082010-09-28 Andreas Schwab <schwab@redhat.com>
13209 Ulrich Drepper <drepper@gmail.com>
13210
13211 [BZ #12489]
13212 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13213 before performing relro protection. At old place add assertion
13214 to make sure nothing changed.
13215
d3f02e10
NS
132162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13217 Glauber de Oliveira Costa <glommer@gmail.com>
13218
13219 * elf/elf.h: Add new ARM TLS relocs.
13220
d55fd7a5
RA
132212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13222
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13224 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13225 cast from r3.
13226 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13227 'tests' variable.
13228 * sysdeps/wordsize-64/tst-writev.c: New file.
13229
2206397e
RA
132302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13231
13232 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13233 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13234 insns in _dl_start to prevent a TOC reference before relocs are
13235 resolved.
13236
e9433893
UD
132372011-02-15 Ulrich Drepper <drepper@gmail.com>
13238
13239 [BZ #12469]
13240 * Makeconfig: Remove RANLIB definition.
13241 * Makerules: Don't use RANLIB.
13242 * aclocal.m4: Remove ranlib test.
13243 * configure.in: No need to check for ranlib.
13244 * elf/rtld-Rules: Don't use RANLIB.
13245
f75286c6
ST
132462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13247
8e31c82d
ST
13248 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13249 protection macro.
13250 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13251 inclusion protection macro.
13252
f75286c6
ST
13253 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13254 SIGRTMIN and SIGRTMAX and print information in that case only when
13255 SIGRTMIN is defined.
13256
c1d0e639
JJ
132572011-02-11 Jakub Jelinek <jakub@redhat.com>
13258
13259 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13260 arginfo fn returning -1.
13261
13262 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13263 and thousands string is zero terminated.
13264
edf9294e
AS
132652011-02-03 Andreas Schwab <schwab@redhat.com>
13266
13267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13268 sysdeps/unix/sysv/linux/bits/socket.h.
13269
2b7e92df
ST
132702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13271
edf9294e
AS
13272 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13273 (__CPU_COUNT): Remove old macros.
13274 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13275 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13276 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13277 (__sched_cpualloc, __sched_cpufree): Add declarations.
13278
a4c7ea7b
UD
132792011-02-05 Ulrich Drepper <drepper@gmail.com>
13280
13281 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13282 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13283 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13284 (readdhstai): Return value of addhstaiX call.
13285 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13286 (addgrbyX): Return value returned by cache_addgr.
13287 (readdgrbyname): Return value returned by addgrbyX.
13288 (readdgrbygid): Likewise.
13289 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13290 (addpwbyX): Return value returned by cache_addpw.
13291 (readdpwbyname): Return value returned by addhstbyX.
13292 (readdpwbyuid): Likewise.
13293 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13294 (addservbyX): Return value returned by cache_addserv.
13295 (readdservbyname): Return value returned by addservbyX:
13296 (readdservbyport): Likewise.
13297 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13298 (addhstbyX): Return value returned by cache_addhst.
13299 (readdhstbyname): Return value returned by addhstbyX.
13300 (readdhstbyaddr): Likewise.
13301 (readdhstbynamev6): Likewise.
13302 (readdhstbyaddrv6): Likewise.
13303 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13304 (readdinitgroups): Return value returned by addinitgroupsX.
13305 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13306 (prune_cache): Keep track of timeout value of re-added entries.
13307 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13308 * nscd/nscd.h: Adjust prototypes of readd* functions.
13309
a0bf67cc
RM
133102011-02-04 Roland McGrath <roland@redhat.com>
13311
13312 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13313 (nis_stats): Likewise.
13314 * nis/nis_modify.c (nis_modify): Likewise.
13315 * nis/nis_remove.c (nis_remove): Likewise.
13316 * nis/nis_add.c (nis_add): Likewise.
13317
13318 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13319
13320 * posix/fnmatch_loop.c: Add some consts.
13321
13322 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13323
435b95eb
L
133242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 [BZ #12460]
13327 * config.make.in (config-cflags-novzeroupper): Define.
13328 * configure.in: Substitute libc_cv_cc_novzeroupper.
13329 * elf/Makefile (AVX-CFLAGS): Define.
13330 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13331 (CFLAGS-tst-auditmod4a.c): Likewise.
13332 (CFLAGS-tst-auditmod4b.c): Likewise.
13333 (CFLAGS-tst-auditmod6b.c): Likewise.
13334 (CFLAGS-tst-auditmod6c.c): Likewise.
13335 (CFLAGS-tst-auditmod7b.c): Likewise.
13336 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13337
8517b15e
UD
133382011-02-02 Ulrich Drepper <drepper@gmail.com>
13339
13340 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13341 function to the callback.
13342 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13343
10a656fe
AS
133442011-02-02 Andreas Schwab <schwab@redhat.com>
13345
13346 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13347 of errno.
13348
968dad0a
UD
133492011-01-19 Ulrich Drepper <drepper@gmail.com>
13350
9f94d2ea 13351 [BZ #11724]
968dad0a
UD
13352 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13353 of constructors.
13354 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13355 of destructors.
13356 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13357
13358 [BZ #11724]
13359 * elf/Makefile: Add rules to build and run new test.
13360 * elf/tst-initorder.c: New file.
13361 * elf/tst-initorder.exp: New file.
13362 * elf/tst-initordera1.c: New file.
13363 * elf/tst-initordera2.c: New file.
13364 * elf/tst-initordera3.c: New file.
13365 * elf/tst-initordera4.c: New file.
13366 * elf/tst-initorderb1.c: New file.
13367 * elf/tst-initorderb2.c: New file.
13368 * elf/tst-order-a1.c: New file.
13369 * elf/tst-order-a2.c: New file.
13370 * elf/tst-order-a3.c: New file.
13371 * elf/tst-order-a4.c: New file.
13372 * elf/tst-order-b1.c: New file.
13373 * elf/tst-order-b2.c: New file.
13374 * elf/tst-order-main.c: New file.
13375 New test case by George Gensure <werkt0@gmail.com>.
13376
86e92359
UD
133772010-10-01 Andreas Schwab <schwab@redhat.com>
13378
13379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13380 decoding ACE if AI_CANONIDN.
13381
5d5732b0
UD
133822011-01-18 Ulrich Drepper <drepper@gmail.com>
13383
13384 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13385
a77e8cbc
UD
133862011-01-17 Ulrich Drepper <drepper@gmail.com>
13387
6392473f
UD
13388 * version.h (RELEASE): Bump for 2.13 release.
13389 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13390
620a0529
UD
13391 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13392
18ba70a5
UD
13393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13394 MADV_NOHUGEPAGE.
32465c3e
UD
13395 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13396 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13397 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13400 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13401
c0dafcf1
UD
13402 * posix/getconf.c: Update copyright year.
13403 * catgets/gencat.c: Likewise.
13404 * csu/version.c: Likewise.
13405 * debug/catchsegv.sh: Likewise.
13406 * debug/xtrace.sh: Likewise.
13407 * elf/ldconfig.c: Likewise.
13408 * elf/ldd.bash.in: Likewise.
13409 * elf/sprof.c (print_version): Likewise.
13410 * iconv/iconv_prog.c: Likewise.
13411 * iconv/iconvconfig.c: Likewise.
13412 * locale/programs/locale.c: Likewise.
13413 * locale/programs/localedef.c: Likewise.
13414 * malloc/memusage.sh: Likewise.
13415 * malloc/mtrace.pl: Likewise.
13416 * nscd/nscd.c (print_version): Likewise.
13417 * nss/getent.c: Likewise.
13418
a77e8cbc
UD
13419 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13420 PF_CAIF, and PF_ALG.
13421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13422
77e8bddf
AS
134232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13424
1f20b93a
AS
13425 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13426 (modules-names): Use them.
13427 (ifunc-test-modules, ifunc-pie-tests): Define.
13428 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13429 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13430 (test-extras): Likewise.
13431 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13432 $(compile-command.c).
13433 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13434 (all-built-dso): Define.
13435 (check-textrel.out, check-execstack.out): Depend on it.
13436
77e8bddf
AS
13437 * configure.in: Don't override --enable-multi-arch.
13438
bc425b33
UD
134392011-01-15 Ulrich Drepper <drepper@gmail.com>
13440
13441 [BZ #6812]
13442 * nscd/hstcache.c (tryagain): Define.
13443 (cache_addhst): Return tryagain not notfound for temporary errors.
13444 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13445 failed.
13446
794c3ad3
UD
134472011-01-14 Ulrich Drepper <drepper@gmail.com>
13448
70181fdd
UD
13449 [BZ #10563]
13450 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13451 to make the syscall.
13452 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13453
794c3ad3
UD
13454 [BZ #12378]
13455 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13456 and fall back to matching as normal character if the string ends before
13457 the matching ']' is found. This is what POSIX requires.
13458 * posix/testfnm.c: Adjust test result.
13459 * posix/globtest.sh: Adjust test result. Add new test.
13460 * posix/tst-fnmatch.input: Likewise.
13461 * posix/tst-fnmatch2.c: Add new test.
13462
68dc9497
AS
134632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * elf/Makefile (check-execstack): Revert last change. Depend on
13466 check-execstack.h.
13467 (check-execstack.h): New target.
13468 (generated): Add check-execstack.h.
13469 * elf/check-execstack.c: Include "check-execstack.h".
13470 (main): Revert last change.
13471 (handle_file): Return zero if GNU_STACK is absent and
13472 DEFAULT_STACK_PERMS doesn't include PF_X.
13473
451f001b
UD
134742011-01-13 Ulrich Drepper <drepper@gmail.com>
13475
cfa28e56
UD
13476 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13477 in child fails because the descriptor is already closed.
8cf8ce17
UD
13478 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13479 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13480 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13481
1086d70d
UD
13482 [BZ #12397]
13483 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13484 syscall.
13485
451f001b
UD
13486 [BZ #10484]
13487 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13488 temporary buffer used to handle multi lookups locally.
a85b5cb4 13489 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13490
08769175
UD
134912011-01-12 Ulrich Drepper <drepper@gmail.com>
13492
13493 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13494 loader is ld.so.
13495
5e49c52e
UD
134962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13497
13498 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13499 alignment for SSE2.
13500
60522a5f
UD
135012011-01-12 Ulrich Drepper <drepper@gmail.com>
13502
13503 [BZ #12394]
13504 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13505 characters. When rounding increased number of integer digits recompute
13506 number of groups.
13507 * stdio-common/tst-grouping.c: New file.
13508 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13509
f257bbd7
UD
135102011-01-09 Ulrich Drepper <drepper@gmail.com>
13511
13512 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13513 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13514
13515 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13516 void.
13517 * bits/select.h: Likewise.
13518
fa9c15cb
UD
135192011-01-08 Ulrich Drepper <drepper@gmail.com>
13520
13521 * po/ja.po: Update from translation team.
13522
16c2895f
DM
135232011-01-04 David S. Miller <davem@sunset.davemloft.net>
13524
13525 [BZ #11155]
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13527 implementation just like for lxstat, fxstatat, et al.
13528
2543fef2
JM
135292010-12-27 Jim Meyering <meyering@redhat.com>
13530
13531 [BZ #12348]
13532 * posix/regexec.c (build_trtable): Return failure indication upon
13533 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13534
98727dbe
UD
135352010-12-25 Ulrich Drepper <drepper@gmail.com>
13536
5bd6dc5c
UD
13537 [BZ #12201]
13538 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13539 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13540 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13542
97983464
UD
13543 [BZ #12207]
13544 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13545
98727dbe
UD
13546 [BZ #12204]
13547 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13548 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13549
4a531bb0
L
135502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13553 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13554 script has SORT_BY_INIT_PRIORITY.
13555 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13556 NO_CTORS_DTORS_SECTIONS is defined.
13557 * elf/soinit.c: Likewise.
13558 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13559 NO_CTORS_DTORS_SECTIONS is defined.
13560 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13561 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13562 * sysdeps/sh/init-first.c: Likewise.
13563 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13564
07eb4b71
UD
135652010-12-24 Ulrich Drepper <drepper@gmail.com>
13566
13567 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13568 always use the slow path.
13569
30950a5f
RA
135702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13571
13572 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13573 similar rule which adds the sysdep directories to the header search in
13574 order to pick up the correct platform stackinfo.h.
13575 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13576 perform test if it is, otherwise return successfully without testing.
13577 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13578 DEFAULT_STACK_PERMS define in stackinfo.h.
13579 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13580 defined in stackinfo.h.
13581 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13582 DEFAULT_STACK_PERMS defined in stackinfo.h.
13583 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13584 * sysdeps/ia64/stackinfo.h: Likewise.
13585 * sysdeps/s390/stackinfo.h: Likewise.
13586 * sysdeps/sh/stackinfo.h: Likewise.
13587 * sysdeps/sparc/stackinfo.h: Likewise.
13588 * sysdeps/x86_64/stackinfo.h: Likewise.
13589 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13590 PF_X for powerpc64. Retain PF_X for powerpc32.
13591
db753e2c
UD
135922010-12-19 Ulrich Drepper <drepper@gmail.com>
13593
14b697f7
UD
13594 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13595 accurately.
db753e2c
UD
13596 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13597 GETDENTS_64BIT_ALIGNED.
13598
28300719
UD
135992010-12-14 Ulrich Drepper <dreper@gmail.com>
13600
14b697f7 13601 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13602
4f197237
AS
136032010-12-10 Andreas Schwab <schwab@redhat.com>
13604
dbb0472f
AS
13605 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13606 _GNU_SOURCE.
13607
4f197237
AS
13608 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13609 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13610 Remove __restrict.
13611 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13612 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13613
fb88ac72
UD
136142010-12-09 Ulrich Drepper <drepper@gmail.com>
13615
13616 [BZ #11655]
13617 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13618 are initialized.
13619
42acbb92
JJ
136202010-12-09 Jakub Jelinek <jakub@redhat.com>
13621
13622 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13623
c038d98d
UD
136242010-12-03 Ulrich Drepper <drepper@gmail.com>
13625
13626 * po/it.po: Update from translation team.
13627
3a4a2499
L
136282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13629
13630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13631 unused codes.
13632
1e24cf6e
UD
136332010-11-30 Ulrich Drepper <drepper@gmail.com>
13634
13635 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13636
a7690819
AS
136372010-11-24 Andreas Schwab <schwab@redhat.com>
13638
13639 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13640 specially.
13641 (gaih_getanswer_slice): Likewise.
13642
3bf8d1b1
JJ
136432010-10-20 Jakub Jelinek <jakub@redhat.com>
13644
13645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13646
6db52fbb
PB
136472010-05-31 Petr Baudis <pasky@suse.cz>
13648
13649 [BZ #11149]
13650 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13651 silently even in the chroot mode.
13652
eaca7569
UD
136532010-11-22 Ulrich Drepper <drepper@gmail.com>
13654
13655 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13656 last patch a bit. Pretty printing
13657
3056dcdb
UD
136582010-05-31 Petr Baudis <pasky@suse.cz>
13659
13660 [BZ #10085]
13661 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13662 initialization of skip_initgroups_dyn.
13663
cf7c9078
UD
136642010-11-19 Ulrich Drepper <drepper@gmail.com>
13665
13666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13668
a1fb5e3e
UD
136692010-11-16 Ulrich Drepper <drepper@gmail.com>
13670
13671 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13672
3540d66b
AS
136732010-11-11 Andreas Schwab <schwab@redhat.com>
13674
13675 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13676 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13677 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13678 ($(objpfx)tst-fnmatch-mem): New rule.
13679 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13680 * posix/tst-fnmatch.c (main): Call mtrace.
13681
13b69574
L
136822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13683
13684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13685 Support Intel processor model 6 and model 0x2c.
13686
da93d214
LM
136872010-11-10 Luis Machado <luisgpm@br.ibm.com>
13688
13689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13690 signed comparison.
13691
8ca52c6e
L
136922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 [BZ #12205]
13695 * string/test-strncasecmp.c (check_result): New function.
13696 (do_one_test): Use it.
13697 (check1): New function.
13698 (test_main): Use it.
13699 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13700 Support strcasecmp and strncasecmp.
13701
69da074d
UD
137022010-11-08 Ulrich Drepper <drepper@gmail.com>
13703
13704 [BZ #12194]
13705 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13707
ff02d528
L
137082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13711 IFUNC support.
13712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13713 memset-x86-64.
13714 * sysdeps/x86_64/multiarch/bzero.S: New file.
13715 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13716 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13717 * sysdeps/x86_64/multiarch/memset.S: New file.
13718 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13720 Set bit_Prefer_SSE_for_memop for Intel processors.
13721 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13722 Define.
13723 (index_Prefer_SSE_for_memop): Define.
13724 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13725
344d0b54
LM
137262010-11-04 Luis Machado <luisgpm@br.ibm.com>
13727
13728 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13729 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13730
c0dde15b
UD
137312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13732
13733 [BZ #12191]
13734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13735 (__x86_64_raw_data_cache_size_half): Likewise.
13736 (__x86_64_raw_shared_cache_size): Likewise.
13737 (__x86_64_raw_shared_cache_size_half): Likewise.
13738
13739 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13740 (__x86_64_raw_data_cache_size_half): Likewise.
13741 (__x86_64_raw_shared_cache_size): Likewise.
13742 (__x86_64_raw_shared_cache_size_half): Likewise.
13743 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13744 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13745 and __x86_64_raw_shared_cache_size_half. Round
13746 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13747 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13748 to multiple of 256 bytes.
13749
0e516e0e
MS
137502010-11-03 Ulrich Drepper <drepper@gmail.com>
13751
13752 [BZ #12167]
13753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13754 of inacessible symlinks. Verify result of symlink before returning it.
13755 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13756 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13757
0e012e87
ER
137582010-10-28 Erich Ritz <erichritz@gmail.com>
13759
13760 * math/math.h (isinf): Fix typo in comment.
13761
de0ff7bc
UD
137622010-11-01 Ulrich Drepper <drepper@gmail.com>
13763
13764 * po/da.po: Update from translation team.
13765
fa41c84d
UD
137662010-10-26 Ulrich Drepper <drepper@gmail.com>
13767
13768 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13769 is added to the list.
13770
f0967738
AK
137712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13772 Ulrich Drepper <drepper@gmail.com>
13773
13774 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13775 the global list here. Move code to...
13776 (_dl_add_to_namespace_list): ...here. New function.
13777 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13778 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13779 * elf/dl-load.c (lose): Don't remove the element from the list.
13780 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13781 (_dl_map_object): Likewise.
13782
137832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13784
13785 [BZ #12159]
13786 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13787 into all bytes of SSE register.
13788 Patch by Richard Li <richardpku@gmail.com>.
13789
f0967738 137902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13791
13792 [BZ #12140]
13793 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13794 perturbing.
13795
d0b9e94f
MB
137962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13797
13798 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13799 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13801 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13803 submachine.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13805
8e9f92e9
AS
138062010-10-22 Andreas Schwab <schwab@redhat.com>
13807
13808 * include/dlfcn.h (__RTLD_SECURE): Define.
13809 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13810 mode & __RTLD_SECURE instead.
13811 (open_path): Rename preloaded parameter to secure.
13812 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13813 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13814 * elf/dl-deps.c (openaux): Likewise.
13815 * elf/rtld.c (struct map_args): Remove is_preloaded.
13816 (map_doit): Don't use it.
13817 (dl_main): Likewise.
13818 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13819 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13820
bc96fbda
AS
138212010-09-09 Andreas Schwab <schwab@redhat.com>
13822
13823 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13824 (sysd-rules-targets): Remove duplicates.
13825 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13826 rtld-%.$o dependency.
13827
22cd1c9b
AS
138282010-10-18 Andreas Schwab <schwab@redhat.com>
13829
13830 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13831 _dl_map_object do it.
13832
18edac48
UD
138332010-10-19 Ulrich Drepper <drepper@gmail.com>
13834
13835 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13836 fast fma builtins, define the macros in the C99 standard.
13837 (FP_FAST_FMAF): Likewise.
13838 (FP_FAST_FMAL): Likewise.
13839 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13840
13841 * bits/mathdef.h: Update copyright year.
13842 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13843
d2050124
MM
138442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13845
13846 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13847 builtins, define the macros in the C99 standard.
13848 (FP_FAST_FMAF): Likewise.
13849 (FP_FAST_FMAL): Likewise.
13850 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13851 multiply/add.
13852 (FP_FAST_FMAF): Likewise.
13853
475facd1
JJ
138542010-10-15 Jakub Jelinek <jakub@redhat.com>
13855
13856 [BZ #3268]
13857 * math/libm-test.inc (fma_test): Some new testcases.
13858 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13859 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13860 y and infinite z. Do multiplication by C already in long double.
13861 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13863 y and infinite z. Do bitwise or of inexact bit into u.d.
13864 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13865 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13866 * sysdeps/i386/fpu/s_fma.S: Removed.
13867 * sysdeps/i386/fpu/s_fmal.S: Removed.
13868
7c08a05c
JJ
138692010-10-16 Jakub Jelinek <jakub@redhat.com>
13870
13871 [BZ #3268]
13872 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13874 computation is not scheduled after fetestexcept. Fix value
13875 of minimum denormal long double.
13876
f3f7372d
JJ
138772010-10-14 Jakub Jelinek <jakub@redhat.com>
13878
13879 [BZ #3268]
13880 * math/libm-test.inc (fma_test): Add some more tests.
13881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13882 correctly.
13883
14d43591
AS
138842010-10-15 Andreas Schwab <schwab@redhat.com>
13885
13886 * scripts/data/localplt-s390-linux-gnu.data: New file.
13887 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13888
5e908464
JJ
138892010-10-13 Jakub Jelinek <jakub@redhat.com>
13890
13891 [BZ #3268]
13892 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13893 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13894 instead of dbl-64.
13895 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13896 inlines.
13897 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13899 if one of x and y is very large and the other is subnormal.
13900 * sysdeps/s390/fpu/s_fmaf.c: New file.
13901 * sysdeps/s390/fpu/s_fma.c: New file.
13902 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13903 * sysdeps/powerpc/fpu/s_fma.S: New file.
13904 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13905 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13906 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13907
139082010-10-12 Jakub Jelinek <jakub@redhat.com>
13909
13910 [BZ #3268]
13911 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13912 fma tests.
13913 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13914 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13915 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13916 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13917 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13918 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13920
b833d51f
UD
139212010-10-12 Ulrich Drepper <drepper@redhat.com>
13922
13923 [BZ #12078]
13924 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13925 * posix/bug-regex31.input: Add test case.
13926
1751705d
UD
139272010-10-11 Ulrich Drepper <drepper@gmail.com>
13928
e9b9cbf5
UD
13929 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13930 * posix/bug-regex31.input: New file.
13931
13932 [BZ #12078]
13933 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13934 (parse_sub_exp): Fix last change, use postorder.
13935
ef06edbe
UD
13936 * posix/bug-regex31.c: New file.
13937 * posix/Makefile: Add rules to build and run bug-regex31.
13938
a129c80d
UD
13939 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13940
13941 [BZ #12078]
13942 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13943
b76b818e
UD
13944 [BZ #12108]
13945 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13946 to have entries in sys_siglist.
13947
1751705d
UD
13948 [BZ #12093]
13949 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13950 be NULL.
13951
9ff8d36f
JJ
139522010-10-07 Jakub Jelinek <jakub@redhat.com>
13953
13954 [BZ #3268]
13955 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13956 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13957 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13958 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13959 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13960 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13961 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13962 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13963 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13964 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13965 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13966 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13967 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13968 * math/ftestexcept.c (fetestexcept): Likewise.
13969 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13970 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13971 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13972 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13973 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13974 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13976
af325969
UD
139772010-10-11 Ulrich Drepper <drepper@gmail.com>
13978
c579b202 13979 [BZ #12107]
af325969
UD
13980 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13981 newline.
13982
67a67b95
UD
139832010-10-06 Ulrich Drepper <drepper@gmail.com>
13984
13985 * string/bug-strstr1.c: New file.
13986 * string/Makefile: Add rules to build and run bug-strstr1.
13987
5fb308bc
EB
139882010-10-05 Eric Blake <eblake@redhat.com>
13989
13990 [BZ #12092]
13991 * string/str-two-way.h (two_way_long_needle): Always clear memory
13992 when skipping input due to the shift table.
13993
45db99c7
UD
139942010-10-03 Ulrich Drepper <drepper@gmail.com>
13995
3b111893
UD
13996 [BZ #12005]
13997 * malloc/mcheck.c: Handle large requests.
13998
45db99c7
UD
13999 [BZ #12077]
14000 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14001 for strncmp and strncasecmp.
14002 * string/stratcliff.c: Add tests for strcmp and strncmp.
14003 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14004
cf7a1eb8
NI
140052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14006
14007 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14008 __set_fpscr.
14009
6484ba5e
AJ
140102010-09-30 Andreas Jaeger <aj@suse.de>
14011
14012 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14013 (CGROUP_SUPER_MAGIC): Define.
14014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14015 Handle btrfs and cgroup file systems.
14016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14017 Likewise.
14018
91c42559
LM
140192010-09-27 Luis Machado <luisgpm@br.ibm.com>
14020
14021 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14022 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14023
87a97932
AK
140242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14025
14026 [BZ #12067]
14027 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14028 trying to locate the ELF header.
14029
c21cc9bc
AS
140302010-09-27 Andreas Schwab <schwab@redhat.com>
14031
14032 [BZ #11611]
14033 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14034 Mask out sign-bit copies when constructing f_fsid.
14035
315970f6
PB
140362010-09-24 Petr Baudis <pasky@suse.cz>
14037
14038 * debug/stack_chk_fail_local.c: Add missing licence exception.
14039 * debug/warning-nop.c: Likewise.
14040
1ac7a2c7
JM
140412010-09-15 Joseph Myers <joseph@codesourcery.com>
14042
14043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14044 implementing getdents64 using getdents syscall, set d_type if
14045 __ASSUME_GETDENTS32_D_TYPE.
14046
56801c50
AS
140472010-09-16 Andreas Schwab <schwab@redhat.com>
14048
14049 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14050 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14051
dda51327
UD
140522010-09-21 Ulrich Drepper <drepper@redhat.com>
14053
14054 [BZ #12037]
14055 * posix/unistd.h: Undo change of feature selection for ftruncate from
14056 2010-01-11.
14057
8ffcee4a
UD
140582010-09-20 Ulrich Drepper <drepper@redhat.com>
14059
a545ecd9 14060 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14061 detection.
14062
e24f0a8b
AS
140632010-09-20 Andreas Schwab <schwab@redhat.com>
14064
14065 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14066 fanotify_mark.
14067 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14068
7291c56f
AS
140692010-09-14 Andreas Schwab <schwab@redhat.com>
14070
14071 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14072 variables after CHECK_SP call.
14073 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14074
bc5fb037
AS
140752010-09-13 Andreas Schwab <schwab@redhat.com>
14076 Ulrich Drepper <drepper@redhat.com>
14077
14078 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14079 re-relocationg ld.so.
14080 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14081 _dl_init_paths call.
14082 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14083 here anymore.
14084
e66e7419
UD
140852010-09-14 Ulrich Drepper <drepper@redhat.com>
14086
14087 * resolv/res_init.c (__res_vinit): Count the default server we added.
14088
c044aa75
CLT
140892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14090 Ulrich Drepper <drepper@redhat.com>
14091
14092 [BZ #11968]
14093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14094 (____longjmp_chk): Use %ebx for saving value across system call.
14095 Add unwind info.
14096
32cf4069
AS
140972010-09-06 Andreas Schwab <schwab@redhat.com>
14098
14099 * manual/Makefile: Don't mix pattern rules with normal rules.
14100
817328ee
AS
141012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14102
14103 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14104 operation.
14105 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14106 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14107 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14108 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14109 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14110 Likewise.
14111
29fddf61
UD
141122010-09-04 Ulrich Drepper <drepper@redhat.com>
14113
14114 [BZ #11979]
14115 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14116 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14117
0959ffc9
UD
141182010-09-02 Ulrich Drepper <drepper@redhat.com>
14119
14120 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14121 * sysdeps/x86_64/addmul_1.S: Likewise.
14122 * sysdeps/x86_64/lshift.S: Likewise.
14123 * sysdeps/x86_64/mul_1.S: Likewise.
14124 * sysdeps/x86_64/rshift.S: Likewise.
14125 * sysdeps/x86_64/sub_n.S: Likewise.
14126 * sysdeps/x86_64/submul_1.S: Likewise.
14127
ece29840
ST
141282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14129
0959ffc9
UD
14130 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14131 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14132 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14133 * bits/sched.h [__need_schedparam]
ece29840 14134 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14135 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14136 (__defined_schedparam): Define to 1.
ece29840
ST
14137 (__sched_param): New structure, identical to sched_param.
14138 (__need_schedparam): Undefine.
14139
e53a31fe
MF
141402010-08-31 Mike Frysinger <vapier@gentoo.org>
14141
fdc0c10d
MF
14142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14143 (epoll_create1): Declare.
14144
e53a31fe
MF
14145 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14146
a726d796
AS
141472010-08-31 Andreas Schwab <schwab@redhat.com>
14148
14149 [BZ #7066]
14150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14151 shifting retval into place.
14152
2f3e3dc7
UD
141532010-09-01 Ulrich Drepper <drepper@redhat.com>
14154
f2933da9
UD
14155 * nis/rpcsvc/nis.h: Update copyright notice.
14156 * nis/rpcsvc/nis.x: Likewise.
14157 * nis/rpcsvc/nis_callback.h: Likewise.
14158 * nis/rpcsvc/nis_callback.x: Likewise.
14159 * nis/rpcsvc/nis_object.x: Likewise.
14160 * nis/rpcsvc/nis_tags.h: Likewise.
14161 * nis/rpcsvc/yp.h: Likewise.
14162 * nis/rpcsvc/yp.x: Likewise.
14163 * nis/rpcsvc/ypupd.h: Likewise.
14164 * nis/yp_xdr.c: Likewise.
14165 * nis/ypupdate_xdr.c: Likewise.
14166
2f3e3dc7
UD
14167 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14168 mainly the body of pmap_getport. Add parameters to specify timeouts.
14169 (pmap_getport): Use __libc_rpc_getport.
14170 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14171 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14172 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14173
f3dcc2f9
AS
141742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14175
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14177 fanotify_mark.
14178
6d34eb5b
RM
141792010-08-27 Roland McGrath <roland@redhat.com>
14180
14181 * sysdeps/i386/i686/multiarch/Makefile
14182 (CFLAGS-varshift.c): New variable.
14183
9ea3de11
UD
141842010-08-27 Ulrich Drepper <drepper@redhat.com>
14185
c96d23fc
UD
14186 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14187 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14188
9ea3de11
UD
14189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14190
14191 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14192
623aac7f
L
141932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14194
14195 * sysdeps/x86_64/strlen.S: Unroll the loop.
14196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14197 strlen-sse2 strlen-sse2-bsf.
14198 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14199 __strlen_no_bsf if bit_Slow_BSF is set.
14200 (__strlen_sse42): Removed.
14201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14202 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14203
8b2b7715
RM
142042010-08-25 Roland McGrath <roland@redhat.com>
14205
14206 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14207 * sysdeps/x86_64/multiarch/varshift.c: New file.
14208 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14209 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14210 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14211 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14212
e73015f2
L
142132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14214
14215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14216 strlen-sse2 strlen-sse2-bsf.
14217 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14218 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14219 (__strlen_sse2): Removed.
14220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14223 bit_Slow_BSF for Atom.
14224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14225 (index_Slow_BSF): Define.
14226 (HAS_SLOW_BSF): Define.
14227
df24a73e
UD
142282010-08-25 Ulrich Drepper <drepper@redhat.com>
14229
14230 [BZ #10851]
14231 * resolv/res_init.c (__res_vinit): When no server address at all
14232 is given default to loopback.
14233
f2ac4868
RM
142342010-08-24 Roland McGrath <roland@redhat.com>
14235
09055553
RM
14236 * configure.in: Remove config-name.h generation.
14237 * configure: Regenerated.
14238 * config-name.in: File removed.
14239 * scripts/config-uname.sh: New file.
14240 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14241 ($(objdir)config-name.h): New target.
14242
f2ac4868
RM
14243 * sunrpc/rpc_parse.h: Avoid nested comment.
14244
73f27d5e
RH
142452010-08-24 Richard Henderson <rth@redhat.com>
14246 Ulrich Drepper <drepper@redhat.com>
14247 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14251 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14252 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14253 _mm_alignr_epi8 with _mm_loadu_si128.
14254 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14255 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14256 (__m128i_shift_right): Removed.
14257 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14258 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14259 * sysdeps/x86_64/multiarch/varshift.h: New file.
14260 * sysdeps/x86_64/multiarch/varshift.S: New file.
14261
84b9230c
MF
142622010-08-21 Mike Frysinger <vapier@gentoo.org>
14263
14264 * configure.in: Move assembler checks to before sysdep dir checking.
14265
9bbd0ddc
PB
142662010-08-20 Petr Baudis <pasky@suse.cz>
14267
14268 * LICENSES: Sync the sunrpc license.
14269
9da4bb31
UD
142702010-08-19 Ulrich Drepper <drepper@redhat.com>
14271
a7ab6ec8
UD
14272 * sunrpc/auth_des.c: Update copyright notice once again.
14273 * sunrpc/auth_none.c: Likewise.
14274 * sunrpc/auth_unix.c: Likewise.
14275 * sunrpc/authdes_prot.c: Likewise.
14276 * sunrpc/authuxprot.c: Likewise.
14277 * sunrpc/bindrsvprt.c: Likewise.
14278 * sunrpc/clnt_gen.c: Likewise.
14279 * sunrpc/clnt_perr.c: Likewise.
14280 * sunrpc/clnt_raw.c: Likewise.
14281 * sunrpc/clnt_simp.c: Likewise.
14282 * sunrpc/clnt_tcp.c: Likewise.
14283 * sunrpc/clnt_udp.c: Likewise.
14284 * sunrpc/clnt_unix.c: Likewise.
14285 * sunrpc/des_crypt.c: Likewise.
14286 * sunrpc/des_soft.c: Likewise.
14287 * sunrpc/get_myaddr.c: Likewise.
14288 * sunrpc/getrpcport.c: Likewise.
14289 * sunrpc/key_call.c: Likewise.
14290 * sunrpc/key_prot.c: Likewise.
14291 * sunrpc/openchild.c: Likewise.
14292 * sunrpc/pm_getmaps.c: Likewise.
14293 * sunrpc/pm_getport.c: Likewise.
14294 * sunrpc/pmap_clnt.c: Likewise.
14295 * sunrpc/pmap_prot.c: Likewise.
14296 * sunrpc/pmap_prot2.c: Likewise.
14297 * sunrpc/pmap_rmt.c: Likewise.
14298 * sunrpc/rpc/auth.h: Likewise.
14299 * sunrpc/rpc/auth_unix.h: Likewise.
14300 * sunrpc/rpc/clnt.h: Likewise.
14301 * sunrpc/rpc/des_crypt.h: Likewise.
14302 * sunrpc/rpc/key_prot.h: Likewise.
14303 * sunrpc/rpc/netdb.h: Likewise.
14304 * sunrpc/rpc/pmap_clnt.h: Likewise.
14305 * sunrpc/rpc/pmap_prot.h: Likewise.
14306 * sunrpc/rpc/pmap_rmt.h: Likewise.
14307 * sunrpc/rpc/rpc.h: Likewise.
14308 * sunrpc/rpc/rpc_des.h: Likewise.
14309 * sunrpc/rpc/rpc_msg.h: Likewise.
14310 * sunrpc/rpc/svc.h: Likewise.
14311 * sunrpc/rpc/svc_auth.h: Likewise.
14312 * sunrpc/rpc/types.h: Likewise.
14313 * sunrpc/rpc/xdr.h: Likewise.
14314 * sunrpc/rpc_clntout.c: Likewise.
14315 * sunrpc/rpc_cmsg.c: Likewise.
14316 * sunrpc/rpc_common.c: Likewise.
14317 * sunrpc/rpc_cout.c: Likewise.
14318 * sunrpc/rpc_dtable.c: Likewise.
14319 * sunrpc/rpc_hout.c: Likewise.
14320 * sunrpc/rpc_main.c: Likewise.
14321 * sunrpc/rpc_parse.c: Likewise.
14322 * sunrpc/rpc_parse.h: Likewise.
14323 * sunrpc/rpc_prot.c: Likewise.
14324 * sunrpc/rpc_sample.c: Likewise.
14325 * sunrpc/rpc_scan.c: Likewise.
14326 * sunrpc/rpc_scan.h: Likewise.
14327 * sunrpc/rpc_svcout.c: Likewise.
14328 * sunrpc/rpc_tblout.c: Likewise.
14329 * sunrpc/rpc_util.c: Likewise.
14330 * sunrpc/rpc_util.h: Likewise.
14331 * sunrpc/rpcinfo.c: Likewise.
14332 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14333 * sunrpc/rpcsvc/key_prot.x: Likewise.
14334 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14335 * sunrpc/rpcsvc/mount.x: Likewise.
14336 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14337 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14338 * sunrpc/rpcsvc/rex.x: Likewise.
14339 * sunrpc/rpcsvc/rstat.x: Likewise.
14340 * sunrpc/rpcsvc/rusers.x: Likewise.
14341 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14342 * sunrpc/rpcsvc/spray.x: Likewise.
14343 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14344 * sunrpc/rtime.c: Likewise.
14345 * sunrpc/svc.c: Likewise.
14346 * sunrpc/svc_auth.c: Likewise.
14347 * sunrpc/svc_authux.c: Likewise.
14348 * sunrpc/svc_raw.c: Likewise.
14349 * sunrpc/svc_run.c: Likewise.
14350 * sunrpc/svc_simple.c: Likewise.
14351 * sunrpc/svc_tcp.c: Likewise.
14352 * sunrpc/svc_udp.c: Likewise.
14353 * sunrpc/svc_unix.c: Likewise.
14354 * sunrpc/svcauth_des.c: Likewise.
14355 * sunrpc/xcrypt.c: Likewise.
14356 * sunrpc/xdr.c: Likewise.
14357 * sunrpc/xdr_array.c: Likewise.
14358 * sunrpc/xdr_float.c: Likewise.
14359 * sunrpc/xdr_mem.c: Likewise.
14360 * sunrpc/xdr_rec.c: Likewise.
14361 * sunrpc/xdr_ref.c: Likewise.
14362 * sunrpc/xdr_sizeof.c: Likewise.
14363 * sunrpc/xdr_stdio.c: Likewise.
14364
9da4bb31
UD
14365 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14366 handling.
14367
bdaa77bc
AS
143682010-08-19 Andreas Schwab <schwab@redhat.com>
14369
14370 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14371
fe2f79db
LM
143722010-08-19 Luis Machado <luisgpm@br.ibm.com>
14373
14374 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14376 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14377 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14378 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14379 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14380 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14381 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14382 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14384 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14385 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14386 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14387 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14388
b9b42ee0
AB
143892010-07-26 Anton Blanchard <anton@samba.org>
14390
14391 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14392 * malloc/arena.c (heap_trim): Likewise.
14393
1c06ba31
UD
143942010-08-16 Ulrich Drepper <drepper@redhat.com>
14395
14396 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14397 here. Not...
14398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14399 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14400
f8392f40
L
144012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14402
14403 * sysdeps/i386/elf/Makefile: New file.
14404
3162f12e
AS
144052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14406
14407 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14408 from fanotify_init.
14409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14411
28c90b2c
UD
144122010-08-15 Ulrich Drepper <drepper@redhat.com>
14413
14414 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14415 of strncasecmp_l.
1feccb6c 14416 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14417
ca6bb004
UD
144182010-08-14 Ulrich Drepper <drepper@redhat.com>
14419
e9f82e0d
UD
14420 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14421 strncase_l-nonascii.
14422 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14423 Add strncase_l-ssse3.
14424 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14425 * sysdeps/x86_64/strcmp.S: Likewise.
14426 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14427 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14428 * sysdeps/x86_64/strncase.S: New file.
14429 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14430 * sysdeps/x86_64/strncase_l.S: New file.
14431 * string/Makefile (strop-tests): Add strncasecmp.
14432 * string/test-strncasecmp.c: New file.
14433
14434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14435 warning.
14436
ca6bb004
UD
14437 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14438 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14439
052fa7b3
AS
144402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14441
14442 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14443
962dba78
UD
144442010-08-12 Ulrich Drepper <drepper@redhat.com>
14445
14446 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14447 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14449
bebff237
AM
144502010-05-01 Alan Modra <amodra@gmail.com>
14451
14452 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14453 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14454 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14455 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14456 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14457 tidying. Don't tail-call __sigjmp_save for static lib.
14458 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14459 save location.
14460 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14461 (CALL_MCOUNT): Add eh info, and nop after bl.
14462 (TAIL_CALL_SYSCALL_ERROR): New macro.
14463 (PSEUDO_RET): Use it.
14464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14465 Correct save location of integer regs and cr.
14466 (_dl_profile_resolve): Correct cr save location. Delete nops
14467 after bl when SHARED. Reduce cfi size a little by better
14468 placement of cfi directives.
14469 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14470 make a stack frame. Instead use parm save area as a temp.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14472 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14474 Don't make a stack frame for parent, use parm save area.
14475 Increase child stack frame to 112 bytes. Don't save unused reg,
14476 and adjust reg usage. Set up cfi on error recovery and
14477 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14479 (__makecontext): Add dummy nop after jump to exit.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14481 Use correct parm save area and cr save, reduce stack frame.
14482 Correct cfi for possible PSEUDO_RET frame setup.
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14484 Branch to local label emitted by PSEUDO_RET rather than
14485 __syscall_error.
14486
02637374
AS
144872010-08-12 Andreas Schwab <schwab@redhat.com>
14488
14489 [BZ #11904]
14490 * locale/programs/locale.c (print_assignment): New function.
14491 (show_locale_vars): Use it.
14492
c3e2f19b
UD
144932010-08-11 Ulrich Drepper <drepper@redhat.com>
14494
3cdaa6ad
UD
14495 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14496 field.
14497 (struct statfs64): Likewise.
14498 (_STATFS_F_FLAGS): Define.
14499 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14501 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14502 (ST_VALID): Define locally.
14503 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14504 __statvfs_getflags, use the provided value.
14505 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14506 __ASSUME_STATFS_F_FLAGS.
14507
754f7da3
UD
14508 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14509
10b3bedc
UD
14510 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14511 Add sys/fanotify.h.
14512 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14513 fanotify_mask for GLIBC_2.13.
14514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14515 fanotify_init and fanotify_mark.
14516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14517 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14518
c08fb0d7
UD
14519 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14520 Add prlimit.
14521 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14522 prlimit64 for GLIBC_2.13.
14523 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14524 prlimit64.
14525 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14526 syscall.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14529 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14530 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14532 add prlimit alias.
14533 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14534
15bac72b
UD
14535 [BZ #11903]
14536 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14537 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14538
c3e2f19b
UD
14539 * nss/Makefile: Add rules to build and run tst-nss-test1.
14540 * shlib-versions: Add entry for libnss_test1.
14541 * nss/nss_test1.c: New file.
14542 * nss/tst-nss-test1.c: New file.
14543
14544 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14545 (__nss_configure_lookup): Set appropriate entry in
14546 __nss_configure_lookup to true.
14547 * nss/nsswitch.h: Define enum with indeces of databases in
14548 databases and __nss_database_custom arrays. Declare
14549 __nss_database_custom.
14550 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14551 to avoid using nscd when custom rules are installed.
14552 * nss/getXXbyYY_r.c: Likewise.
14553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14554
14555 * nss/nss_files/files-parse.c: Whitespace fixes.
14556
f15ce4d8
UD
145572010-08-09 Ulrich Drepper <drepper@redhat.com>
14558
14559 [BZ #11883]
14560 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14561 * posix/fnmatch_loop.c: Likewise.
14562
d22e4cc9
AK
145632010-07-17 Andi Kleen <ak@linux.intel.com>
14564
14565 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14566 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14567 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14568 * Versions.def [GLIBC_2.13]: Add.
14569
805bc17d
UD
145702010-08-06 Ulrich Drepper <drepper@redhat.com>
14571
14572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14573 Also fail if tpwd after pwuid call is NULL.
14574
5a42321d
ST
145752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14576
14577 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14578 when converting to ms.
14579
fd3ebeda
ST
145802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14581
14582 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14583 EOPNOTSUPP errors with ENOTTY.
14584 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14585 EOPNOTSUPP errors with ENOTTY.
14586
73507d3a
UD
145872010-07-31 Ulrich Drepper <drepper@redhat.com>
14588
14589 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14590 Add strcasecmp_l-ssse3.
14591 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14592 strcasecmp.
14593 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14594 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14595 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14596
fe36dd02
UD
145972010-07-30 Ulrich Drepper <drepper@redhat.com>
14598
66f6765a
UD
14599 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14600
42e08a54
UD
14601 * string/Makefile (strop-tests): Add strcasecmp.
14602 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14603 strcasecmp_l-nonascii.
14604 (gen-as-const-headers): Add locale-defines.sym.
14605 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14606 * sysdeps/x86_64/strcasecmp.S: New file.
14607 * sysdeps/x86_64/strcasecmp_l.S: New file.
14608 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14609 * sysdeps/x86_64/locale-defines.sym: New file.
14610 * string/test-strcasecmp.c: New file.
14611
fe36dd02
UD
14612 * string/test-strcasestr.c: Test both ends of the range of characters.
14613 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14614
48cbc0d6
RM
146152010-07-29 Roland McGrath <roland@redhat.com>
14616
76e6d6bc 14617 [BZ #11856]
48cbc0d6
RM
14618 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14619
880113d9
UD
146202010-07-27 Ulrich Drepper <drepper@redhat.com>
14621
14622 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14623 for ld.so.
14624
deb9cabb
AS
146252010-07-27 Andreas Schwab <schwab@redhat.com>
14626
14627 * manual/memory.texi (Malloc Tunable Parameters): Document
14628 M_PERTURB.
14629
1c7570ff
RM
146302010-07-26 Roland McGrath <roland@redhat.com>
14631
14632 [BZ #11840]
14633 * configure.in (-fgnu89-inline check): Set and substitute
14634 gnu89_inline, not libc_cv_gnu89_inline.
14635 * configure: Regenerated.
14636 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14637
24fb0f88
UD
146382010-07-26 Ulrich Drepper <drepper@redhat.com>
14639
14640 * string/test-strnlen.c: New file.
14641 * string/Makefile (strop-tests): Add strnlen.
14642 * string/tester.c (test_strnlen): Add a few more test cases.
14643 * string/tst-strlen.c: Better error reporting.
14644
14645 * sysdeps/x86_64/strnlen.S: New file.
14646
8e96b93a
UD
146472010-07-24 Ulrich Drepper <drepper@redhat.com>
14648
14649 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14650 lower-latency instructions.
14651
dbc676d4
UD
146522010-07-23 Ulrich Drepper <drepper@redhat.com>
14653
14654 * string/test-strcasestr.c: New file.
14655 * string/test-strstr.c: New file.
14656 * string/Makefile (strop-tests): Add strstr and strcasestr.
14657 * string/str-two-way.h: Don't undefine MAX.
14658 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14659
f6a31e0e
AS
146602010-07-21 Andreas Schwab <schwab@redhat.com>
14661
14662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14663 strcasestr-nonascii.
14664 (CFLAGS-strcasestr-nonascii.c): Define.
14665 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14666 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14667 Remove unused attribute.
14668
5dbc3b6c
RM
146692010-07-20 Roland McGrath <roland@redhat.com>
14670
14671 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14672 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14673 ld.so.cache was broken. With it, there is no way to disable dsocaps
14674 like LD_HWCAP_MASK can disable hwcaps.
14675
23d101d8
EPM
146762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14677
14678 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14679
cc9f2e47
UD
146802010-07-16 Ulrich Drepper <drepper@redhat.com>
14681
14682 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14683 call in strcasestr.
14684 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14685 __strcasestr_sse42_nonascii.
14686 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14687 strcasestr-nonascii.c.
14688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14689
77c1b069
LM
146902010-06-15 Luis Machado <luisgpm@br.ibm.com>
14691
14692 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14694 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14696
440566c3
UD
146972010-07-09 Ulrich Drepper <drepper@redhat.com>
14698
14699 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14700 fcntl.
14701
5be9d05d
AS
147022010-07-06 Andreas Schwab <schwab@redhat.com>
14703
c30b7ee2 14704 [BZ #11577]
5be9d05d
AS
14705 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14706 dl_signal_cerror.
14707
8a492a67
UD
147082010-07-06 Ulrich Drepper <drepper@redhat.com>
14709
14710 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14711 _PC_PIPE_BUF using F_GETPIPE_SZ.
14712
713df3d5
RM
147132010-07-05 Roland McGrath <roland@redhat.com>
14714
14715 * manual/arith.texi (Rounding Functions): Fix rint description
14716 implicit in round description.
14717
702e8f14
UD
147182010-07-02 Ulrich Drepper <drepper@redhat.com>
14719
14720 * elf/Makefile: Fix linking for a few tests to make recent linker
14721 happy.
14722
52ed8be9
AS
147232010-06-30 Andreas Schwab <schwab@redhat.com>
14724
14725 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14726 $(common-objpfx)libc_nonshared.a.
14727
f47c9a11
LM
147282010-06-21 Luis Machado <luisgpm@br.ibm.com>
14729
14730 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14731 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14732 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14733 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14734 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14735 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14736 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14737 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14752 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14753 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14754 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14755 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14756 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14757 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14758 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14759 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14760 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14761 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14762 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14763 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14778
6fb8cbcb
L
147792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14780
14781 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14782 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14783 * string/memmove.c (memmove): Renamed to ...
14784 (MEMMOVE): ...this. Default to memmove.
14785 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14786 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14787 (END_CHK): Define.
14788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14789 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14790 mempcpy-ssse3-back memmove-ssse3-back.
14791 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14794 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14795 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14796 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14797 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14798 * sysdeps/x86_64/multiarch/memmove.c: New file.
14799 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14800 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14801 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14802 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14803 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14805 Define.
14806 (index_Fast_Copy_Backward): Define.
14807 (HAS_ARCH_FEATURE): Define.
14808 (HAS_FAST_REP_STRING): Define.
14809 (HAS_FAST_COPY_BACKWARD): Define.
14810
4e733bac 148112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14812
14813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14814 Restore proper fallback handling.
14815
63c4ed22
UD
148162010-06-19 Ulrich Drepper <drepper@redhat.com>
14817
ac2b484c
UD
14818 [BZ #11701]
14819 * posix/group_member.c (__group_member): Correct checking loop.
14820
63c4ed22
UD
14821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14822 OOM in getpwuid_r correctly. Return error number when the caller
14823 should return, otherwise -1.
14824 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14825 call returning > 0 value.
14826 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14827
765ade4b
AS
148282010-06-07 Andreas Schwab <schwab@redhat.com>
14829
14830 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14831 libc_nonshared.a from targets in modules-names.
14832
80da2e09
KS
148332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14834
14835 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14836 requires it.
14837
158db122
LM
148382010-06-10 Luis Machado <luisgpm@br.ibm.com>
14839
14840 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14843 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14844
caa78cf8
AS
148452010-06-02 Andreas Schwab <schwab@redhat.com>
14846
14847 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14848
b2ef2c01
UD
148492010-06-14 Ulrich Drepper <drepper@redhat.com>
14850
14851 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14852 and F_GETPIPE_SZ.
14853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14859
fbd643b6
RM
148602010-06-14 Roland McGrath <roland@redhat.com>
14861
14862 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14863
f32f2869
JJ
148642010-06-07 Jakub Jelinek <jakub@redhat.com>
14865
14866 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14867 __REDIRECT followed by __THROW.
14868 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14869 * posix/getopt.h (getopt): Likewise.
14870
2a50c078
EPM
148712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14872
14873 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14874 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14875 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14876 in AT_FLAGS.
14877 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14878 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14879
eb5ad2eb
LM
148802010-05-28 Luis Machado <luisgpm@br.ibm.com>
14881
14882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14883
3c88fe1e
L
148842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14885
14886 [BZ #11640]
14887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14888 Properly check family and model.
14889
d2f73151
TY
148902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14891
14892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14893
ebd2e13d
LM
148942010-05-24 Luis Machado <luisgpm@br.ibm.com>
14895
14896 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14897
b32b8b45
UD
148982010-05-21 Ulrich Drepper <drepper@redhat.com>
14899
14900 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14901 symbol reference.
14902
9acbe24d
AS
149032010-05-19 Andreas Schwab <schwab@redhat.com>
14904
14905 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14906 symbol reference.
14907
f0ccf6ea
AS
149082010-05-21 Andreas Schwab <schwab@redhat.com>
14909
3d04ff3a
AS
14910 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14911 and internal_recvmmsg.
14912 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14913 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14914 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14915 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14916
f0ccf6ea
AS
14917 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14918 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14919 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14920
5b08ac57
AS
149212010-05-20 Andreas Schwab <schwab@redhat.com>
14922
14923 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14924
4828935d
LM
149252010-05-17 Luis Machado <luisgpm@br.ibm.com>
14926
14927 POWER7 optimizations.
14928 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14929 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14930
373d545e
UD
149312010-05-19 Ulrich Drepper <drepper@redhat.com>
14932
14933 * version.h: Update for 2.13 development version.
14934
21a2b1ae
AS
149352010-05-12 Andrew Stubbs <ams@codesourcery.com>
14936
14937 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14938 exceptions. Return 0.
14939
3f7dcb2b
RM
149402010-05-07 Roland McGrath <roland@redhat.com>
14941
14942 * elf/ldconfig.c (main): Add a const.
14943
5f24d53a 149442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14945
a160f8d8
UD
14946 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14947 (args_options): Add no-idn option.
14948 (ahosts_keys_int): Add idn_flags to ai_flags.
14949 (parse_option): Handle 'i' option to clear idn_flags.
14950
5f24d53a
UD
14951 * malloc/malloc.c (_int_free): Possible race in the most recently
14952 added check. Only act on the data if no current modification
14953 happened.
265bb1ce
UD
14954
14955See ChangeLog.17 for earlier changes.