]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
mktime: merge <sys/types.h> change from gnulib
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95770f14
PE
12012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2
bd83aabe
PE
3 mktime: merge <sys/types.h> change from gnulib
4 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5 since <time.t> is now guaranteed to define time_t.
6
95770f14
PE
7 mktime: merge HAVE_CONFIG_H change from gnulib
8 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9
5e1a27a9
L
102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11
0e44a77e
L
12 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13 Use "neg %eax".
14
5e1a27a9
L
15 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16 __rlim_t cast.
17 (struct rusage): Use anonymous union to pad each field to
18 __syscall_slong_t.
19
46259bec
DM
202012-05-21 David S. Miller <davem@davemloft.net>
21
22 * Makefules (o-iterator): Remove .s cases.
23 (compile-command.s): Delete.
24 (COMPILE.s): Delete.
25 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26
59f0c22e
JM
272012-05-21 Joseph Myers <joseph@codesourcery.com>
28
29 * configure.in (libc_cv_predef_stack_protector): Only consider
30 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31 * configure: Regenerated.
32
20c07380
L
332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34
bbb3154b
L
35 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36 New macro. Use R*LP on int and pointer.
37 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41
20c07380
L
42 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43 [__WORDSIZE_TIME64_COMPAT32] instead of
44 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45 (struct utmp): Likewise.
46 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48 Renamed to ...
49 (__WORDSIZE_TIME64_COMPAT32): This.
50 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
52 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55 (__WORDSIZE_TIME64_COMPAT32): New macro.
56
d8d1017e
AJ
572012-05-21 Andreas Jaeger <aj@suse.de>
58
59 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60 only if [SHARED]. Add prototype for __wcschr_ia32.
61
6c7fb145
RM
622012-05-21 Roland McGrath <roland@hack.frob.com>
63
64 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65 of %rbp unmolested in the jmp_buf while mangling the low bits.
66 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67 unmolested high bits of %rbp while demangling the low bits.
68 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69
66274218
AJ
702012-05-21 Andreas Jaeger <aj@suse.de>
71
07c58f8f
AJ
72 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73 * sunrpc/svc_simple.c: Use it for registerrpc.
74 * sunrpc/xcrypt.c: Use it for passwd2des.
75
66274218
AJ
76 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77
61f65140
L
782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79
80 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81 Don't define if [__SYSCALL_WORDSIZE != 32].
82 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
83 New macro.
84
5fefb436
AJ
852012-05-21 Bruno Haible <bruno@clisp.org>
86 Andreas Jaeger <aj@suse.de>
87
88 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
89 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
90 inptr and inend for must_buffer_ch.
91 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
92 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
93 * stdio-common/Makefile (tests): Remove bug15.
94 (bug15-ENV): Remove macro.
95 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
96 anymore.
97
d8e272ab
AJ
982012-05-19 Andreas Jaeger <aj@suse.de>
99 Roland McGrath <roland@hack.frob.com>
100
101 * manual/contrib.texi: Completely rewritten. It contains now an
102 alphabetical list of contributors and their contributions.
103
4a56a162
RH
1042012-05-21 Richard Henderson <rth@twiddle.net>
105
106 * misc/getauxval.c (__getauxval): Use unsigned long int.
107 * misc/sys/auxv.h: Include <sys/cdefs.h>.
108 (getauxval): Use unsigned long int.
109
d024d23c
L
1102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
111
112 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
113
cbc00a03
RM
1142012-05-21 Roland McGrath <roland@hack.frob.com>
115
116 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
117 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
118 __alignof__ (long double).
119
478143fa
AZ
1202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
123
c7683a6d
RH
1242012-05-20 Richard Henderson <rth@twiddle.net>
125
126 * misc/getauxval.c: New file.
127 * misc/sys/auxv.h: New file.
128 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
129 (routines): Add getauxval.
130 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
131 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
132 * elf/dl-sysdep.c (_dl_auxv): Remove.
133 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
134 * elf/dl-support.c (_dl_auxv): New variable.
135 (_dl_aux_init): Initialize it.
136 * manual/startup.texi (Auxiliary Vector): New node.
137 * sysdeps/generic/bits/hwcap.h: New file.
138 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
139 * sysdeps/powerpc/sysdep.h: ... here. Include it.
140 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
141 * sysdeps/sparc/sysdep.h: ... here. Include it.
142 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
145 Update.
c7683a6d
RH
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
154
a6f1845d
AZ
1552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
158
cbcbe830
DM
1592012-05-19 David S. Miller <davem@davemloft.net>
160
161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
162
e0b16cc2
JM
1632012-05-19 Joseph Myers <joseph@codesourcery.com>
164
165 [BZ #14123]
166 * math/s_ccosh.c: Include <float.h>
167 (__ccosh): Avoid internal overflow calculating sinh and cosh
168 values before multiplying by sin and cos values.
169 * math/s_ccoshf.c: Likewise.
170 * math/s_ccoshl.c: Likewise.
171 * math/s_csin.c: Likewise.
172 * math/s_csinf.c: Likewise.
173 * math/s_csinl.c: Likewise.
174 * math/s_csinh.c: Likewise.
175 * math/s_csinhf.c: Likewise.
176 * math/s_csinhl.c: Likewise.
177 * math/libm-test.inc (ccos_test): Add more tests.
178 (ccosh_test): Likewise.
179 (csin_test): Likewise.
180 (csinh_test): Likewise.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183
6ad13e08
L
1842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
185
f66f0ce8
L
186 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
187 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
188
6ad13e08
L
189 * sysdeps/x86_64/x32/_itoa.h: Add comment.
190
b1d072a7
JM
1912012-05-19 Joseph Myers <joseph@codesourcery.com>
192
193 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
194 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
195 * sysdeps/powerpc/soft-fp/Versions: Likewise.
196 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
197 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
198 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
199 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
200 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
201 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
202 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
203 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
204 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
205 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
206 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
207 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
208 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
209 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
210 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
211 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
212 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
213 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
214 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
215 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
216 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
217 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
218 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
219 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
223 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
224
9eae47cb
AJ
2252012-05-18 Andreas Jaeger <aj@suse.de>
226
227 * csu/.gitignore: Delete.
228
bb07f69f
L
2292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
230
231 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
232 (timex): Use __syscall_slong_t.
233
e6bdb741
AJ
2342012-05-18 Andreas Jaeger <aj@suse.de>
235 Carlos O'Donell <carlos_odonell@mentor.com>
236
237 * manual/install.texi (Configuring and compiling): Update
238 description about files modified in the source directory.
239 * INSTALL: Regenerated.
240
1b74487e
L
2412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
242
243 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
244 value. Use "or" to set return value to -1.
245 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
246 negate return value.
247
a88b64b9
TMQMF
2482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
249
250 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
251 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
252 failure if the compiler has Graphite support disabled.
253 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
254 Likewise.
255 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
256 CFLAGS-memmove.c): Likewise.
257 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
258 Likewise.
259
3707636e
L
2602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
261
610b8622
L
262 * sysdeps/x86_64/x32/_itoa.h: New file.
263
7cd195df
L
264 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
265 getdents system call only if kernel and user dirents have the
266 same d_ino and d_off.
267
94b07d20
L
268 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
269 LLONG_MAX != LONG_MAX.
270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
271 (_fitoa_word): Likewise.
272
18298070
L
273 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
274 years.
275 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
278
553c7ea4
L
279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
280 include <bits/wordsize.h>. Check __x86_64__ instead of
281 __WORDSIZE.
282 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
283 if __x86_64__ is defined. Use anonymous union on fpstate.
284
3707636e
L
285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
286 anonymous union.
287
b53ef01a
AS
2882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
289
37fb1dc0
AS
290 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
291 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
293 Refer to _rtld_local_ro instead of _rtld_global_ro.
294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
295 Likewise.
296 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
297 Likewise.
298 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
299 Likewise.
300 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
301 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
302 of _rtld_global, and rtld_progname instead of _dl_argv[0].
303
b53ef01a
AS
304 * sysdeps/powerpc/powerpc32/dl-machine.c
305 (__elf_machine_runtime_setup) [PROF]: Don't reference
306 _dl_prof_resolve.
307
7a185db2
AJ
3082012-05-18 Andreas Jaeger <aj@suse.de>
309
310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
311 function only available for GCCs before 3.4 since GCC 3.4
312 introduced a builtin.
313 (lrint): Likewise.
314 (llrintf): Likewise.
315 (llrint): Likewise.
316 (fmaxf): Likewise.
317 (fmax): Likewise.
318 (fminf): Likewise.
319 (fmin): Likewise.
320 (rint): Likewise.
321 (rintf): Likewise.
322 (nearbyint): Likewise.
323 (nearbyintf): Likewise.
324 (ceil): Likewise.
325 (ceilf): Likewise.
326 (floor): Likewise.
327 (floorf): Likewise.
328
3e5aef87
L
3292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
330
428bd707
L
331 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
332 on both fields and cast pointer to __syscall_ulong_t.
333
3e5aef87
L
334 * bits/types.h (__fsword_t): New type.
335 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
336 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
338 (__FSWORD_T_TYPE): Likewise.
339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
340 (__FSWORD_T_TYPE): Likewise.
341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
342 (__FSWORD_T_TYPE): Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
344 (__FSWORD_T_TYPE): Likewise.
345 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
346 __SWORD_TYPE with __fsword_t.
347 (statfs64): Likewise.
348
1ba7c3dc
DM
3492012-05-17 David S. Miller <davem@davemloft.net>
350
351 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
352
59910343
AJ
3532012-05-17 Andreas Jaeger <aj@suse.de>
354
355 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
356 warning.
357
2e4c1e9e
L
3582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
359
360 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
361
de7f5ce7
AJ
3622012-05-17 Andreas Jaeger <aj@suse.de>
363
364 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
365 when it is used.
366
286abc3d
CM
3672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
368
369 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
370
477cc68e
L
3712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
372
373 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
374 * sysdeps/x86_64/tst-mallocalign1.c: New file.
375
1a0994f5
CD
3762012-05-17 Andreas Jaeger <aj@suse.de>
377 Carlos O'Donell <carlos_odonell@mentor.com>
378
379 [BZ #14059]
380 * sysdeps/x86_64/multiarch/init-arch.h
381 (bit_YMM_Usable): Rename to...
382 (bit_AVX_Usable): ... this.
383 (bit_FMA4_Usable): New macro.
384 (bit_XMM_state): New macro.
385 (bit_YMM_state): New macro.
386 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
387 [__ASSEMBLER__] (index_AVX_Usable): ... this.
388 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
389 (CPUID_OSXSAVE): New macro.
390 (CPUID_AVX): New macro.
391 (CPUID_FMA4): New macro.
392 (index_YMM_Usable): Rename to...
393 (index_AVX_Usable): ... this.
394 (HAS_AVX): Use HAS_ARCH_FEATURE.
395 (HAS_FMA4): Likewise.
396 (HAS_YMM_USABLE): Remove.
397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
398 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
399 are present.
400 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
401 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
402 * sysdeps/x86_64/multiarch/Makefile: Likewise.
403 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
404 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
405
0af797de
CM
4062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
407
408 * math/libm-test.c: Support platforms without multiple rounding modes.
409 * math/bug-nextafter.c: Support platforms without FP exceptions.
410 * math/bug-nexttoward.c: Likewise.
411 * math/test-fenv.c: Likewise.
412 * math/test-misc.c: Likewise.
413 * stdlib/bug-getcontext.c: Likewise.
414
e39745ff
AJ
4152012-05-17 Andreas Jaeger <aj@suse.de>
416
417 * manual/examples/search.c (critter_cmp): Change signature to
418 avoid warnings.
419 * manual/string.texi (Collation Functions): Likewise.
420
48970aba
L
4212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
422
423 * bits/types.h: Fold copyright years.
424 * bits/typesizes.h: Likewise.
425 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
429 * time/time.h: Likewise.
430
bedee953
PP
4312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
432
433 [BZ #208]
434 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
435 in instead of returning them. Return void.
436 (__libc_mallinfo): Accumulate over all arenas.
437 (__malloc_stats): Adjust for change in int_mallinfo interface.
438
61653dfb
RM
4392012-05-16 Roland McGrath <roland@hack.frob.com>
440
30b99d79
RM
441 [BZ #10375]
442 * configure.in (NM): Add AC_CHECK_TOOL for it.
443 (libc_extra_cflags): New substituted variable.
444 Check for -fstack-protector being used implicitly.
445 * configure: Regenerated.
446 * config.make.in (config-extra-cflags): New variable,
447 gets @libc_extra_cflags@.
448 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
449
61653dfb
RM
450 [BZ #10375]
451 * configure.in: Check for _FORTIFY_SOURCE being predefined.
452 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
453 * configure: Regenerated.
454 * config.make.in (CPPUNDEFS): New substituted variable.
455 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
456 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
457 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
458
661768bb
L
4592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
460
461 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
462 (mq_attr): Use __syscall_slong_t.
463
d4261567
L
4642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
465
466 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
467 Check __x86_64__ instead of __WORDSIZE.
468 (_STAT_VER_LINUX): Likewise.
469 (stat): Check __x86_64__ instead of __WORDSIZE. Use
470 __syscall_ulong_t and __syscall_slong_t.
471 (stat64): Likewise.
472
cf3ff365
L
4732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
474
475 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
476
76cf3e4d
L
4772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
478
479 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
480
a637753a
L
4812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
482
483 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
484 __syscall_ulong_t.
485
d5e05119
L
486 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
487 include <bits/wordsize.h>. Check __x86_64__ instead of
488 __WORDSIZE.
489 (greg_t): Use "__extension__ long long int" if __x86_64__ is
490 defined.
491 (mcontext_t): Replace "unsigned long" with "unsigned long long".
492
f62ee380
L
493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
494 include <bits/wordsize.h>. Check __x86_64__ instead of
495 __WORDSIZE.
496 (user_regs_struct): Use "__extension__ unsigned long long"
497 instead of "unsigned long" if __x86_64__ is defined.
498 (user): Likewise. Pad after pointer field if __ILP32__ is
499 defined.
500
4e124ced
JM
5012012-05-16 Joseph Myers <joseph@codesourcery.com>
502
6a3951a0
JM
503 * configure.in (makeinfo): Require version 4.5 or later. Allow
504 versions 5 to 9.
505 * configure: Regenerated.
506 * manual/install.texi (texinfo): Increase version requirement to
507 4.5 or later.
508 * INSTALL: Regenerated.
509
4e124ced
JM
510 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
511
953ca31a
L
5122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
515
617aca05
L
516 * sysdeps/x86_64/x32/ffs.c: New file.
517
5762f7ae
L
518 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
519 __syscall_ulong_t.
520 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
521 defined. Use __syscall_ulong_t.
522 (shminfo): Use __syscall_ulong_t.
523 (shm_info): Likewise.
524
a26b6856
L
525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
526 __syscall_ulong_t.
527
cb2b9ef7
L
528 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
529 <bits/wordsize.h>.
530 (msgqnum_t): Use __syscall_ulong_t.
531 (msglen_t): Likewise.
532 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
533 __syscall_ulong_t.
534
34683bb0
L
535 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
536 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
537
84a68786
L
538 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
539
48baa5f1
L
540 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
541 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
542
180be88b
L
543 * sysvipc/sys/msg.h (msgbuf): Replace long int with
544 __syscall_slong_t.
545
5e90c8ad
L
546 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
547 include <bits/wordsize.h>. Check __x86_64__ instead of
548 __WORDSIZE.
549
23dfb58b
L
550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
551 "unsigned long long int" if __x86_64__ is defined.
552 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
553
ce5d54b0
L
554 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
555 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
556 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
557
13dc9eac
L
558 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
559 <stdint.h>.
560 (GET_PC): Cast to uintptr_t first.
561 (GET_FRAME): Likewise.
562 (GET_STACK): Likewise.
563
a7895d15
L
564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
565 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
584 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
585 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
593
656416c9
AS
5942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
595
5bd66283
AS
596 * Makerules (+depfiles): Also collect depfiles from .oS in
597 $(extra-objs).
598 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
599 .oS, $(libnldbl-routines)).
600
656416c9
AS
601 * Makerules (native-compile-mkdep-flags): Define.
602 * sunrpc/Makefile (extra-objs): Add $(addprefix
603 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
604 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
605 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
606 calling $(make-target-directory).
607
a46f2169
L
6082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
609
610 * bits/types.h (__snseconds_t): Removed.
611 * time/time.h (struct timespec): Replace __snseconds_t with
612 __syscall_slong_t.
613 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
614 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
615 Likewise.
616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
617 (__SNSECONDS_T_TYPE): Likewise.
618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
619 (__SNSECONDS_T_TYPE): Likewise.
620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
621 (__SNSECONDS_T_TYPE): Likewise.
622
6af6528b
L
6232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
624
625 * sysdeps/mach/hurd/bits/typesizes.h
626 (__SYSCALL_SLONG_TYPE): New macro.
627 (__SYSCALL_ULONG_TYPE): Likewise.
628
de986b56
L
6292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
630
631 * bits/types.h (__syscall_slong_t): New type.
632 (__syscall_ulong_t): Likewise.
633
634 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
635 (__SYSCALL_ULONG_TYPE): Likewise.
636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
637 (__SYSCALL_SLONG_TYPE): Likewise.
638 (__SYSCALL_ULONG_TYPE): Likewise.
639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
640 (__SYSCALL_SLONG_TYPE): Likewise.
641 (__SYSCALL_ULONG_TYPE): Likewise.
642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
643 (__SYSCALL_SLONG_TYPE): Likewise.
644 (__SYSCALL_ULONG_TYPE): Likewise.
645
85736dc7
L
6462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
647
648 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
649 Add sigaltstack-offsets.sym.
650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
651 <sigaltstack-offsets.h>.
652 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
653 longjmp_msg pointer.
654 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
655 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
656 signal stack.
657 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
658
cc03b296
JM
6592012-05-15 Joseph Myers <joseph@codesourcery.com>
660
a9538892
JM
661 * elf/stackguard-macros.h: Remove file.
662 * sysdeps/generic/stackguard-macros.h: New file.
663 * sysdeps/i386/stackguard-macros.h: Likewise.
664 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
665 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
666 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
667 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
668 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
669 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
670 * sysdeps/x86_64/stackguard-macros.h: Likewise.
671 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
672 <elf/stackguard-macros.h>.
673
cc03b296
JM
674 [BZ #14109]
675 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
676 __aligned__ in attribute.
677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
678 (gregset_t): Likewise.
679
93171016
L
6802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
681
682 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
683 * sysdeps/x86_64/64/Implies-after: Here. New file.
684 * sysdeps/x86_64/x32/Implies-after: New file.
685
d86813a0
L
6862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
687
688 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
689 and access return value for _dl_profile_fixup. Use R10_LP to
690 load frame size.
691
2953ec75
L
6922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
693
694 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
695
3b550e9e
L
6962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
697
698 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
699 * sysdeps/x86_64/x32/sysdep.h: New file.
700
eda41706
L
7012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
702
703 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
704 * sysdeps/x86_64/setjmp.S: Likewise.
705
9ea01d93
AZ
7062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707
708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
710 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
712 remove unused global constant.
713
02a91938
CM
7142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
715
716 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
717 include of <not-cancel.h>.
718
6540185f
RM
7192012-05-15 Roland McGrath <roland@hack.frob.com>
720
721 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
722
509072a0
AJ
7232012-05-15 Jeff Law <law@redhat.com>
724 Andreas Jaeger <aj@suse.de>
725
726 [BZ #13594]
727 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
728 out from...
729 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
730 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
732 code changing __hst_map_handle.map.
733
ba75122d
RM
7342012-05-15 Roland McGrath <roland@hack.frob.com>
735
736 * configure.in (sysnames): Look for Implies-before and Implies-after
737 files.
738 * configure: Regenerated.
739
890d8bd8
L
7402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
741
742 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
743 8-byte data alignment with LP_SIZE alignment.
744
f6ee6623
L
7452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
746
747 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
748 into R10_LP.
749
ea2626f6
L
7502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
751
752 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
753
085f715e
L
7542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
757 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
759 Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
761
be8498fc
L
7622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
763
764 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
765 (stackinfo_sub_sp): Likewise.
766
70bc83b9
L
7672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
768
769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
770 RAX_LP.
771
9bc0b730
L
7722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
773
774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
775 into R*_LP.
776
6d2850e7
L
7772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
778
779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
780 sizes into R*_LP.
781
3cb84561
L
7822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
783
784 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
785
54e2ed81
L
7862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
787
788 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
789 into R11_LP and load __x86_64_shared_cache_size_half into
790 R8_LP.
791
8a17f349
L
7922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
795 R8_LP.
796
777b1eea
AZ
7972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
800 logb for POWER7.
801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
802 logbf for POWER7.
803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
804 logbl for POWER7.
805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
806 powerpc32/power7/fpu/s_logb.c via #include.
807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
808 powerpc32/power7/fpu/s_logbf.c via #include.
809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
810 powerpc32/power7/fpu/s_logbl.c via #include.
811
d20d4ac2
JM
8122012-05-15 Joseph Myers <joseph@codesourcery.com>
813
814 * README.libm: Remove file.
815
6cdef1ab
L
8162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
817
818 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
819 count for x32. Use R*_LP and omit operand-size suffix.
820
0b254d8f
L
8212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
822
823 * shlib-versions: Move x86_64-.*-linux.* entries to ...
824 * sysdeps/x86_64/64/shlib-versions: Here. New file.
825 * sysdeps/x86_64/x32/shlib-versions: New file.
826
ceb809dc
RM
8272012-05-14 Roland McGrath <roland@hack.frob.com>
828
829 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
830 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
831 Use _dl_fatal_printf instead.
832
37f1abd4
JM
8332012-05-14 Joseph Myers <joseph@codesourcery.com>
834
835 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
836 set if not set by the user. Do not allow for being unset.
837 * sysdeps/unix/sysv/linux/configure: Regenerated.
838
11de3a33
L
8392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
842 the `q' suffix from lea and replace .quad with ASM_ADDR.
843
e02f153a
L
8442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
847 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
848 instead of $17.
849 (PTR_DEMANGLE): Likewise.
850
520ae0fd
L
8512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
852
853 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
854 (LP_OP): Likewise.
855 (ASM_ADDR): Likewise.
856 (RAX_LP): Likewise.
857 (RBP_LP): Likewise.
858 (RBX_LP): Likewise.
859 (RCX_LP): Likewise.
860 (RDI_LP): Likewise.
861 (RSI_LP): Likewise.
862 (RSP_LP): Likewise.
863 (R8_LP): Likewise.
864 (R9_LP): Likewise.
865 (R10_LP): Likewise.
866 (R10_LP): Likewise.
867 (R11_LP): Likewise.
868 (R12_LP): Likewise.
869 (R13_LP): Likewise.
870 (R14_LP): Likewise.
871 (R15_LP): Likewise.
872
b985be81
L
8732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
874
875 * sysdeps/x86_64/x32/dl-machine.h: New file.
876
6a4888ff
AJ
8772012-05-14 Andreas Jaeger <aj@suse.de>
878
879 * manual/Makefile (subdir): Remove export of subdir.
880 (all): Remove target.
881 (.PHONY): Remove all from list.
882 (mkinstalldirs): Remove.
883 (.PHONY): Remove installdirs from list.
884 ($(inst_infodir)/libc.info): Use make-target-directory.
885 (installdirs): Remove.
886 (subdir_%): Remove.
887 (glibc-targets): Remove.
888 (lib): Remove.
889 (stubs): Remove.
890 ($(objpfx)stubs ../po/manual.pot): Remove.
891 ($(objpfx)stamp%): Remove.
892 (make-target-directory): Remove.
893 (subdir_install): Remove.
894 (routines): Remove.
895 (aux): Remove.
896 (sources): Remove.
897 (objects): Remove.
898 (headers): Remove.
899
900 [BZ #13750]
901 * manual/.gitignore: Remove, it's not needed anymore.
902 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
903 all files in it.
904 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
905 directory.
906 (texis): Renamed to $(objpfx)texis.
907 (texis-path): New, contains path to generated files.
908 (chapters.%): Use texis-path for complete path, add extra argument
909 libc-texinfo.sh.
910 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
911 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
912 (summary,texi, stamp-summary): Use complete path of
913 files. Generate files in build dir.
914 (dir-add.texi): Build in build dir.
915 (libm-err.texi,stamp-libm-err): Likewise.
916 (version.texi, stamp-version): Likewise.
917 (.%c.texi): Likewise.
918 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
919 (mostlyclean): Remove target.
920 (realclean): Remove target.
921 (generated): Add new variable with contents from mostlyclean and
922 realclean, remove entries duplicated in common-mostlyclean, add
923 stamp-libm-err and stamp-version.
924 (generated-dirs): Add libc directory.
925 ($(inst_infodir)/libc.info): Install files from build dir.
926
927 * manual/install.texi (Configuring and compiling): Adjust since
928 the info files are not part of the tar ball anymore.
929
7ac77294
AJ
9302012-05-14 Andreas Jaeger <aj@suse.de>
931
932 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
933 variable.
934
ffb7875d
JM
9352012-05-14 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #13717]
938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
939 to 2.2.0 where earlier.
940 * sysdeps/unix/sysv/linux/configure: Regenerated.
941 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
942 Remove conditional code.
943 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
944 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
945 Remove conditional code.
946 [!__NR_lchown]: Likewise.
947 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
948 [__NR_lchown]: Likewise.
949 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
950 comment referencing __ASSUME_LCHOWN_SYSCALL.
951 * sysdeps/unix/sysv/linux/i386/sigaction.c
952 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
953 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
954 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
955 Remove conditional code.
956 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
957 (__protocol_available): Remove #if 0 code.
958 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
959 conditional code.
960 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
961 * sysdeps/unix/sysv/linux/kernel-features.h
962 (__ASSUME_GETCWD_SYSCALL): Don't define.
963 (__ASSUME_REALTIME_SIGNALS): Likewise.
964 (__ASSUME_PREAD_SYSCALL): Likewise.
965 (__ASSUME_PWRITE_SYSCALL): Likewise.
966 (__ASSUME_POLL_SYSCALL): Likewise.
967 (__ASSUME_LCHOWN_SYSCALL): Likewise.
968 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
969 non-SPARC.
970 (__ASSUME_SIOCGIFNAME): Don't define.
971 (__ASSUME_MSG_NOSIGNAL): Likewise.
972 (__ASSUME_SENDFILE): Define unconditionally.
973 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
974 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
975 conditional code.
976 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
978 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
979 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
981 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
982 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
984 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
987 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
990 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1007 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1008 Remove conditional code.
1009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1010 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1011 Remove conditional code.
1012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1013 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1014 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1015 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1016 Remove conditional code.
1017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1019 Remove conditional code.
1020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1022 Remove conditional code.
1023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1024 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1025 Remove conditional code.
1026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1027 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1028 Remove conditional code.
1029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1030 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/sigaction.c
1034 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1035 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/sigpending.c
1037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1039 * sysdeps/unix/sysv/linux/sigprocmask.c
1040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1042 * sysdeps/unix/sysv/linux/sigsuspend.c
1043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1046 (__libc_missing_rt_sigs): Remove.
1047 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1048 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1049 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1050 Remove conditional code.
1051 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1052 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1053 return 1.
1054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1055 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1057 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1058
1bfb7291
AJ
10592012-05-14 Andreas Jaeger <aj@suse.de>
1060
caae5a81
AJ
1061 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1062 it's not used in glibc.
1063 (__coshm1): Likewise.
1064 (__acosh1p): Likewise.
1065 (__sgn): Likewise.
1066
1bfb7291
AJ
1067 * manual/string.texi (Copying and Concatenation): Add missing
1068 variable in concat example.
1069 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1070
c044d724
L
10712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1072
144c5467 1073 [BZ #14103]
c044d724
L
1074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1075 __builtin_clzl with __builtin_clzll.
1076
2523c62b
L
10772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 [BZ #14104]
1080 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1081 libc_freeres_ptr.
1082
d7bb4c42
LD
10832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1084
1085 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1086 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1087 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1088 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1089
9dc4e1fb
MF
10902012-05-14 Mike Frysinger <vapier@gentoo.org>
1091
1092 * NEWS: Update ia64 info.
1093
c7df0112
AS
10942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1095
1096 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1097 used as bcopy.
1098
dc70356c
TS
10992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1100
1101 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1102 * sysdeps/unix/syscalls.list (dup3): Likewise.
1103 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1104 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1105
9fb1a21f
L
11062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1109 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1110
4822a2a5
L
11112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1114 thread pointer.
1115 (TLS_IE): Use mov/add instead of movq/addq to load thread
1116 pointer.
1117 (TLS_GD_PREFIX): New.
1118 (TLS_GD): Use it.
1119
842b81d6
DM
11202012-05-11 David S. Miller <davem@davemloft.net>
1121
1122 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1123 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1124 (_FPU_SETCW): Likewise.
1125
1cf463cd
L
11262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1129 is 32-byte aligned.
1130
60cc4a18
AS
11312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1132
1133 [BZ #11837]
1134 * iconvdata/gb18030.c: Update tables.
1135 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1136 characters specially.
1137 (BODY for TO_LOOP): Add encoding of missing ranges.
1138
febb44a4
TS
11392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1140
1141 [BZ #13673]
1142 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1143 * sysdeps/mach/hurd/dup3.c: Likewise.
1144 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1145 * sysdeps/powerpc/memmove.c:: Likewise.
1146
0a10fb9e
L
11472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1150 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1151
df8a552f
L
11522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 * elf/elf.h (R_X86_64_RELATIVE64): New.
1155 (R_X86_64_NUM): Updated.
1156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1157 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1158 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1159 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1160 tst-quad1pie tst-quad2pie
1161 (modules-names): Add tst-quadmod1 tst-quadmod2.
1162 ($(objpfx)tst-quad1): New dependency.
1163 ($(objpfx)tst-quad2): Likewise.
1164 ($(objpfx)tst-quad1pie): Likewise.
1165 ($(objpfx)tst-quad2pie): Likewise.
1166 * sysdeps/x86_64/tst-quad1.c: New file.
1167 * sysdeps/x86_64/tst-quad1pie.c: New file.
1168 * sysdeps/x86_64/tst-quad2.c: Likewise.
1169 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1170 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1171 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1172 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1173 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1174
f34d6f84
ST
11752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1176
f42d41d1
ST
1177 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1178 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1179 * streams/stropts.h (t_scalar_t): Define type.
1180
3c3571fc
ST
1181 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1182 (_PATH_PRESERVE): Set to "/var/lib".
1183 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1184
61f06bd3
ST
1185 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1186 instead of int.
1187
918d4d71
ST
1188 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1189 if __dir_mkfile succeeded.
1190
f34d6f84
ST
1191 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1192 checking for _hurd_dtablesize. Unlock it right after having
1193 finished _hurd_dtable allocation.
1194
10589b4a
TS
11952012-05-10 Thomas Schwinge <thomas@schwinge.name>
1196
674cdbc7
TS
1197 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1198 * sysdeps/mach/hurd/configure: Regenerated.
1199 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1200 special-casing to...
1201 * sysdeps/gnu/configure.in: ... this new file.
1202 * sysdeps/unix/sysv/linux/configure: Regenerated.
1203 * sysdeps/gnu/configure: New generated file.
1204
8e41b99f
TS
1205 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1206 for Linux: use nsec instead of usec, as well as:
1207 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1208 members of type struct timespec.
1209 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1210 New macros.
1211 (struct stat64): Likewise.
1212 (_STATBUF_ST_NSEC): New macro.
1213 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1214
10589b4a
TS
1215 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1216 __strtoul_internal rather than strtoul.
1217
63643c85
PT
12182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1219
1220 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1221 and reject them.
1222
3faebe6a
ST
12232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1224
1225 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1226 which preserves existing values.
1227 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1228
c6474b07
PT
12292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1230
1231 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1232 TIMEOUT values. Return EINVAL for NFDS values either negative or
1233 greater than FD_SETSIZE.
1234
1043890b
ST
12352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1236
1237 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1238 allocated, call __vm_protect to finish enabling the existing space, and
1239 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1240 allocate the remainder.
1241
37ed8b9b
PT
12422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1243
1244 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1245 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1246
db653660
ST
12472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1248
37ed8b9b
PT
1249 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1250 sysdeps/mach/hurd/readlink.c.
b29d4053 1251
db653660
ST
1252 * posix/tst-sysconf.c (posix_options): Only use
1253 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1254 _POSIX_SYNCHRONIZED_IO when they are defined
1255 * sysdeps/mach/hurd/bits/posix_opt.h:
1256 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1257 (_XOPEN_REALTIME): Undefine macro.
1258 (_XOPEN_REALTIME_THREADS): Undefine macro.
1259 (_XOPEN_SHM): Undefine macro.
1260 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1261 macro to -1.
1262 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1263 macro to -1.
1264 (_POSIX_ASYNC_IO): Undefine macro.
1265 (_POSIX_PRIORITIZED_IO): Undefine macro.
1266 (_POSIX_SPIN_LOCKS): Define macro to -1.
1267
ee16e894
ST
1268 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1269 SA_NODEFER, SA_RESETHAND.
1270 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1271 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1272 F_DUPFD_CLOEXEC.
1273
6103ae3b
TS
12742012-05-10 Thomas Schwinge <thomas@schwinge.name>
1275
1276 * elf/Makefile (pldd-modules): Define unconditionally.
1277
80b4e5f3
TS
12782012-05-10 Thomas Schwinge <thomas@schwinge.name>
1279
1280 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1281
edadcbd6
ST
12822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1283
1284 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1285 Return ENOENT when name is empty.
1286 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1287
80694780
TS
12882012-05-10 Thomas Schwinge <thomas@schwinge.name>
1289
1792c087
TS
1290 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1291
80694780
TS
1292 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1293
6b645f0d
ST
12942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1295
80694780
TS
1296 Fix mlock in all cases except non-readable pages.
1297 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1298 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1299
6b645f0d
ST
1300 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1301 (__mkdir): When path is `/', just fail with EEXIST.
1302 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1303
e468f8a3
TS
13042012-05-10 Thomas Schwinge <thomas@schwinge.name>
1305
1306 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1307 <sys/uio.h> (for writev).
1308 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1309 and <sys/param.h> (for MIN).
1310
a4186cff
PT
13112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1312
1313 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1314 REQUESTED_TIME. Properly set the remaining time and return EINTR
1315 if interrupted.
1316
510bbf14
TS
13172012-05-10 Thomas Schwinge <thomas@schwinge.name>
1318
1319 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1320 Depend on against $(link-rpcuserlibs).
1321
5d5722e8
ST
13222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1323
a4186cff
PT
1324 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1325 (__libc_stack_end): Do not use attribute_relro.
1326 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1327 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1328 to libthread-provided value.
a4186cff
PT
1329 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1330 attribute_relro.
5d5722e8 1331
37233df9
TS
13322012-05-10 Thomas Schwinge <thomas@schwinge.name>
1333
be971a2b
TS
1334 [BZ #3748]
1335 * bits/libc-lock.h (__libc_once_get): New macro.
1336 * sysdeps/mach/bits/libc-lock.h: Likewise.
1337 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1339 instead of using implementation details.
1340
37233df9
TS
1341 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1342 * libio/freopen.c: Likewise.
1343 * libio/freopen64.c: Likewise.
1344 * misc/syslog.c: Likewise.
1345 * nscd/connections.c: Likewise.
1346 * nscd/netgroupcache.c: Likewise.
1347 * sysdeps/posix/getcwd.c: Likewise.
1348
38de94a5
RM
13492012-05-10 Roland McGrath <roland@hack.frob.com>
1350
1351 * math/w_ilogbf.c: Add #include <limits.h>.
1352
67530489
ST
13532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1354
a4186cff 1355 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1356 path instead of returning without unlocking.
1357
67530489
ST
1358 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1359 immediate-write ioctls.
1360 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1361
5aa3a74a
TS
13622012-05-10 Thomas Schwinge <thomas@schwinge.name>
1363
18bad2ae
TS
1364 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1365 __builtin_frame_address instead of making assumptions about the
1366 location of the return address relative to DATA. Force early load of
1367 the return address.
1368 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1369 __builtin_frame_address.
1370
5aa3a74a
TS
1371 dup3 for GNU Hurd.
1372 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1373 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1374 implement dup3 and do some further code clean-ups.
1375 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1376 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1377
ecd0de9a
ST
13782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1379
cd9fa985
ST
1380 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1381
a4186cff
PT
1382 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1383 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1384 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1385 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1386 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1387 d->port.lock.
802ca5a5 1388
a4186cff
PT
1389 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1390 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1391 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1392
bcf55240
TS
13932012-05-10 Thomas Schwinge <thomas@schwinge.name>
1394
6960eb42
TS
1395 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1396 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1397 definitions.
1398
eb43375f
TS
1399 accept4 for GNU Hurd.
1400 * include/sys/socket.h (__libc_accept4): New prototype.
1401 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1402 to implement __libc_accept4.
1403 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1404 __libc_accept4.
1405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1406
bcf55240
TS
1407 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1408 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1409 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1410 signal-defines.sym.
1411
6178c55b
ST
14122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1413
a4186cff 1414 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1415
6f080c2f
TS
14162012-05-10 Thomas Schwinge <thomas@schwinge.name>
1417
1418 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1419 assertion on O_CLOEXEC flag.
1420 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1421 * hurd/intern-fd.c: Likewise.
1422 * hurd/port2fd.c: Likewise.
1423
bcfe3a54
ST
14242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1425
1426 [BZ #3906]
1427 * bits/in.h (IPV6_PKTINFO): Define new macro.
1428 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1429
89c9aa49
AZ
14302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 [BZ #13954]
1433 [BZ #13955]
1434 [BZ #13956]
1435 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1437 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1438 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1440 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1441 * math/libm-test.inc (logb_test) : Additional logb tests.
1442
021db4be
AJ
14432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1444 Andreas Jaeger <aj@suse.de>
1445
1446 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1447 * configure: Regenerated.
1448 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1449 * config.make.in (link-obsolete-rpc): New substituted variable.
1450 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1451 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1452 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1453 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1454 so that libc.a contains the symbols.
1455 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1456 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1457 * sunrpc/auth_none.c: Likewise.
1458 * sunrpc/auth_unix.c: Likewise.
1459 * sunrpc/authdes_prot.c: Likewise.
1460 * sunrpc/authuxprot.c: Likewise.
1461 * sunrpc/clnt_gen.c: Likewise.
1462 * sunrpc/clnt_perr.c: Likewise.
1463 * sunrpc/clnt_raw.c: Likewise.
1464 * sunrpc/clnt_simp.c: Likewise.
1465 * sunrpc/clnt_tcp.c: Likewise.
1466 * sunrpc/clnt_udp.c: Likewise.
1467 * sunrpc/clnt_unix.c: Likewise.
1468 * sunrpc/des_crypt.c: Likewise.
1469 * sunrpc/des_soft.c: Likewise.
1470 * sunrpc/get_myaddr.c: Likewise.
1471 * sunrpc/key_call.c: Likewise.
1472 * sunrpc/key_prot.c: Likewise.
1473 * sunrpc/netname.c: Likewise.
1474 * sunrpc/pm_getmaps.c: Likewise.
1475 * sunrpc/pm_getport.c: Likewise.
1476 * sunrpc/pmap_clnt.c: Likewise.
1477 * sunrpc/pmap_prot.c: Likewise.
1478 * sunrpc/pmap_prot2.c: Likewise.
1479 * sunrpc/pmap_rmt.c: Likewise.
1480 * sunrpc/publickey.c: Likewise.
1481 * sunrpc/rpc_cmsg.c: Likewise.
1482 * sunrpc/rpc_common.c: Likewise.
1483 * sunrpc/rpc_dtable.c: Likewise.
1484 * sunrpc/rpc_prot.c: Likewise.
1485 * sunrpc/rpc_thread.c: Likewise.
1486 * sunrpc/rtime.c: Likewise.
1487 * sunrpc/svc.c: Likewise.
1488 * sunrpc/svc_auth.c: Likewise.
1489 * sunrpc/svc_raw.c: Likewise.
1490 * sunrpc/svc_run.c: Likewise.
1491 * sunrpc/svc_tcp.c: Likewise.
1492 * sunrpc/svc_udp.c: Likewise.
1493 * sunrpc/svc_unix.c: Likewise.
1494 * sunrpc/svcauth_des.c: Likewise.
1495 * sunrpc/xcrypt.c: Likewise.
1496 * sunrpc/xdr.c: Likewise.
1497 * sunrpc/xdr_array.c: Likewise.
1498 * sunrpc/xdr_float.c: Likewise.
1499 * sunrpc/xdr_intXX_t.c: Likewise.
1500 * sunrpc/xdr_mem.c: Likewise.
1501 * sunrpc/xdr_rec.c: Likewise.
1502 * sunrpc/xdr_ref.c: Likewise.
1503 * sunrpc/xdr_sizeof.c: Likewise.
1504 * sunrpc/xdr_stdio.c: Likewise.
1505
b5c086a2
RM
15062012-05-10 Roland McGrath <roland@hack.frob.com>
1507
1508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1509 change. Update copyright years.
1510
6d74dd09
JM
15112012-05-10 Joseph Myers <joseph@codesourcery.com>
1512
1513 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1514
28e72501
MK
15152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1516 Joseph Myers <joseph@codesourcery.com>
1517 Paul Pluzhnikov <ppluzhnikov@google.com>
1518
1519 [BZ #14012]
1520 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1521 requiring rpcgen.
1522 [cross-compiling] (extra-libs): Likewise.
1523 [cross-compiling] (extra-libs-others): Likewise.
1524 [cross-compiling] (librpcsvc-routines): Likewise.
1525 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1526 [cross-compiling] (omit-deps): Likewise.
1527 (sunrpc-CPPFLAGS): New variable.
1528 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1529 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1530 (cross-rpcgen-objs): New variable.
1531 (extra-objs): Append $(cross-rpcgen-objs).
1532 ($(cross-rpcgen-objs)): New rule.
1533 ($(objpfx)cross-rpcgen): Likewise.
1534 (rpcgen-cmd): Define to use $(built-program-file). Expand
1535 comment.
1536 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1537 ($(objpfx)x%.stmp): Likewise.
1538 * sunrpc/proto.h [IS_IN_build] (_): Define.
1539 [IS_IN_build] (_libc_intl_domainname): Likewise.
1540
c8c59454
L
15412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1544 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1545 and R_X86_64_TPOFF64.
1546
6f27cd16
JM
15472012-05-10 Joseph Myers <joseph@codesourcery.com>
1548
1549 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1550 sysdeps/unix/sysv/syscalls.list.
1551 (stime): Likewise.
1552 (utime): Likewise.
1553 * sysdeps/unix/sysv/syscalls.list: Remove file.
1554
02467e1c
PE
15552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1556
1557 [BZ #3440]
1558 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1559 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1560 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1561 (__LC_IDENTIFICATION): Make these macros useful in #if
1562 expressions, as required by C99.
1563
da392631
AS
15642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1565
1566 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1567 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1568 after this.
1569
8115f29b
L
15702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 * stdlib/longlong.h: Updated from GCC.
1573
bdd74070
AJ
15742012-05-09 Andreas Jaeger <aj@suse.de>
1575
edfe0dbe
AJ
1576 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1577 default is first entry.
1578 (run_mode): Set type.
1579 (main): Remove informal message about syslog.
1580 (options): Fix typo.
1581
bcfe3a54
ST
1582 [BZ #14053]
1583 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1584 to asm.
bcfe3a54
ST
1585 (lrint): Likewise.
1586 (llrintf): Likewise.
1587 (llrint): Likewise.
1588 (rint): Likewise.
1589 (rintf): Likewise.
1590 (nearbyint): Likewise.
1591 (nearbyintf): Likewise.
bdd74070 1592
91d8d69e
AJ
15932012-05-09 Andreas Jaeger <aj@suse.de>
1594 Pedro Alves <palves@redhat.com>
1595
1596 * nscd/nscd.c (run_mode): Use enum.
1597 (main): Cleanup coding style issue.
1598
bb90b80b
AJ
15992012-05-09 Alexandre Oliva <aoliva@redhat.com>
1600 Andreas Jaeger <aj@suse.de>
1601
bcfe3a54
ST
1602 * nscd/nscd.c (go_background): Replaced with...
1603 (run_mode): ... this.
bb90b80b 1604 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1605 (options): Add -F --foreground.
1606 (main): Implement it.
1607 (parse_opt): Parse it.
bb90b80b 1608
1a4b75a1
AJ
16092012-05-09 Andreas Jaeger <aj@suse.de>
1610
1611 [BZ #14083]
1612 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1613 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1614 -Wconversion warning.
1615 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1616 Likewise.
1617
b1cc2472
JM
16182012-05-09 Joseph Myers <joseph@codesourcery.com>
1619
1620 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1621 == 0.
1622 (LC_ALL): Use macro-int-constant.
1623 (LC_COLLATE): Likewise.
1624 (LC_CTYPE): Likewise.
1625 (LC_MESSAGES): Likewise.
1626 (LC_MONETARY): Likewise.
1627 (LC_NUMERIC): Likewise.
1628 (LC_TIME): Likewise.
1629 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1630 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1632 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1633 Specify type.
1634 [C99-based standards] (float_t): Expect type.
1635 [C99-based standards] (double_t): Expect type.
1636 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1637 type.
1638 [C99-based standards] (HUGE_VALL): Likewise.
1639 [C99-based standards] (INFINITY): Likewise.
1640 [C99-based standards] (NAN): Likewise.
1641 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1642 [C99-based standards] (FP_NAN): Likewise.
1643 [C99-based standards] (FP_NORMAL): Likewise.
1644 [C99-based standards] (FP_SUBNORMAL): Likewise.
1645 [C99-based standards] (FP_ZERO): Likewise.
1646 [C99-based standards] (FP_FAST_FMA): Use
1647 optional-macro-int-constant. Specify type. Require == 1.
1648 [C99-based standards] (FP_FAST_FMAF): Likewise.
1649 [C99-based standards] (FP_FAST_FMAL): Likewise.
1650 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1651 [C99-based standards] (FP_ILOGBNAN): Likewise.
1652 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1653 Specify type.
1654 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1655 [C99-based standards] (math_errhandling): Specify type.
1656 [ISO99 || ISO11] (signgam): Do not allow.
1657 [non-C99-based standards] (copysignf): Do not allow.
1658 [non-C99-based standards] (exp2f): Likewise.
1659 [non-C99-based standards] (log2f): Likewise.
1660 [non-C99-based standards] (modff): Allow.
1661 [non-C99-based standards] (erff): Do not allow.
1662 [non-C99-based standards] (erfcf): Likewise.
1663 [non-C99-based standards] (gammaf): Likewise.
1664 [non-C99-based standards] (hypotf): Likewise.
1665 [non-C99-based standards] (j0f): Likewise.
1666 [non-C99-based standards] (j1f): Likewise.
1667 [non-C99-based standards] (jnf): Likewise.
1668 [non-C99-based standards] (lgammaf): Likewise.
1669 [non-C99-based standards] (tgammaf): Likewise.
1670 [non-C99-based standards] (y0f): Likewise.
1671 [non-C99-based standards] (y1f): Likewise.
1672 [non-C99-based standards] (ynf): Likewise.
1673 [non-C99-based standards] (isnanf): Likewise.
1674 [non-C99-based standards] (acoshf): Likewise.
1675 [non-C99-based standards] (asinhf): Likewise.
1676 [non-C99-based standards] (atanhf): Likewise.
1677 [non-C99-based standards] (cbrtf): Likewise.
1678 [non-C99-based standards] (expm1f): Likewise.
1679 [non-C99-based standards] (ilogbf): Likewise.
1680 [non-C99-based standards] (log1pf): Likewise.
1681 [non-C99-based standards] (logbf): Likewise.
1682 [non-C99-based standards] (nextafterf): Likewise.
1683 [non-C99-based standards] (remainderf): Likewise.
1684 [non-C99-based standards] (rintf): Likewise.
1685 [non-C99-based standards] (scalbf): Likewise.
1686 [non-C99-based standards] (copysignl): Likewise.
1687 [non-C99-based standards] (exp2l): Likewise.
1688 [non-C99-based standards] (log2l): Likewise.
1689 [non-C99-based standards] (modfl): Allow.
1690 [non-C99-based standards] (erfl): Do not allow.
1691 [non-C99-based standards] (erfcl): Likewise.
1692 [non-C99-based standards] (gammal): Likewise.
1693 [non-C99-based standards] (hypotl): Likewise.
1694 [non-C99-based standards] (j0l): Likewise.
1695 [non-C99-based standards] (j1l): Likewise.
1696 [non-C99-based standards] (jnl): Likewise.
1697 [non-C99-based standards] (lgammal): Likewise.
1698 [non-C99-based standards] (tgammal): Likewise.
1699 [non-C99-based standards] (y0l): Likewise.
1700 [non-C99-based standards] (y1l): Likewise.
1701 [non-C99-based standards] (ynl): Likewise.
1702 [non-C99-based standards] (isnanl): Likewise.
1703 [non-C99-based standards] (acoshl): Likewise.
1704 [non-C99-based standards] (asinhl): Likewise.
1705 [non-C99-based standards] (atanhl): Likewise.
1706 [non-C99-based standards] (cbrtl): Likewise.
1707 [non-C99-based standards] (expm1l): Likewise.
1708 [non-C99-based standards] (ilogbl): Likewise.
1709 [non-C99-based standards] (log1pl): Likewise.
1710 [non-C99-based standards] (logbl): Likewise.
1711 [non-C99-based standards] (nextafterl): Likewise.
1712 [non-C99-based standards] (remainderl): Likewise.
1713 [non-C99-based standards] (rintl): Likewise.
1714 [non-C99-based standards] (scalbl): Likewise.
1715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1716 [non-C99-based standards] (FP_*): Do not allow.
1717 [C99-based standards] (FP_*): Change to
1718 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1719 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1720 allow.
1721 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1722 (SIG_ERR): Likewise.
1723 [X/Open-based standards] (SIG_HOLD): Likewise.
1724 (SIG_IGN): Likewise.
1725 (SIGABRT): Use macro-int-constant. Specify type. Require
1726 positive value.
1727 (SIGFPE): Likewise.
1728 (SIGILL): Likewise.
1729 (SIGINT): Likewise.
1730 (SIGSEGV): Likewise.
1731 (SIGTER): Likewise.
1732 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1733 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1734 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1735 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1736 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1737 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1738 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1742 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1743 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1750 [X/Open-based standards] (SIGTRAP): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1755 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1756 allow.
1757
b9f1922d
IW
17582012-05-08 Ian Wienand <ianw@vmware.com>
1759
1760 [BZ #14080]
1761 * time/tzset.c (__tzset_parse_tz): Update default rules for
1762 daylight time changes in the Energy Policy Act of 2005.
1763
1db86e88
AJ
17642012-05-09 Andreas Jaeger <aj@suse.de>
1765
1766 [BZ #13983]
1767 * elf/ldconfig.c (parse_conf): Change string to make clear that
1768 ldconfig only issued a warning if ld.so.conf does not exist.
1769
dee4a4e3
DM
17702012-05-08 David S. Miller <davem@davemloft.net>
1771
ee0db190
DM
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1773 movxtod instead of popping the value on the stack.
1774
dee4a4e3
DM
1775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1776
6a43ec98
CD
17772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1778
1779 * config.h.in: Add HAVE_ARM_PCS_VFP.
1780
05c2c961
RMG
17812012-05-08 Roland Mc Grath <roland@hack.frob.com>
1782
bcfe3a54
ST
1783 [BZ #13979]
1784 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1785 checking but the checks are disabled for any reason.
05c2c961 1786
4b30f61a
L
17872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1790 and ELF64_R_TYPE with ELFW(R_TYPE).
1791
eee2bc67
JM
17922012-05-08 Joseph Myers <joseph@codesourcery.com>
1793
7ea5391a
JM
1794 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1795 (ulimit): Likewise.
1796
eee2bc67
JM
1797 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1798 (settimeofday): Likewise.
1799
abb66a67
MF
18002012-05-08 Mike Frysinger <vapier@gentoo.org>
1801
1802 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1803 a struct th_u2 inside the union, and move tu_block/tu_code into
1804 a new th_u3 union of tu_block/tu_code inside of that. Move
1805 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1806 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1807 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1808 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1809 (th_stuff): Change to th_u1.tu_stuff.
1810 (th_data): Define.
1811 (th_msg): Change to th_u1.th_u2.tu_data.
1812
7f18b530
DM
18132012-05-07 David S. Miller <davem@davemloft.net>
1814
05760585
DM
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1816
7f18b530
DM
1817 [BZ #14074]
1818 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1819 (SETUP_PIC_REG): Use it.
1820 (SETUP_PIC_REG_LEAF): Use it.
1821
495fd99f
JM
18222012-05-07 Joseph Myers <joseph@codesourcery.com>
1823
1824 [BZ #13885]
1825 [BZ #13923]
1826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1827 USE_AS_EXPM1L.
1828 (EXPL_FINITE): Likewise.
1829 (FLDLOG): Likewise.
1830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1831 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1832 e_expl.S.
1833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1834 USE_AS_EXPM1L.
1835 (EXPL_FINITE): Likewise.
1836 (FLDLOG): Likewise.
1837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1838 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1839 e_expl.S.
1840 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1841 test of -max_value argument for long double.
1842 * sysdeps/i386/fpu/libm-test-ulps: Update.
1843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1844
6693d694
DM
18452012-05-06 David S. Miller <davem@davemloft.net>
1846
1847 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1848 quad soft-float symbols whose references which are compiler
1849 generated.
1850 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1851
6c23e11c
JM
18522012-05-06 Joseph Myers <joseph@codesourcery.com>
1853
d8b82cad
JM
1854 [BZ #13884]
1855 [BZ #13914]
1856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1857 USE_AS_EXP10L.
1858 (EXPL_FINITE): Likewise.
1859 (FLDLOG): Likewise.
1860 (c0): Likewise.
1861 (c1): Likewise.
1862 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1863 Adjust comments for base varying.
1864 (__expl_finite): Change alias to EXPL_FINITE.
1865 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1866 e_expl.S.
1867 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1868 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1870 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1871 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1872 USE_AS_EXP10L.
1873 (EXPL_FINITE): Likewise.
1874 (FLDLOG): Likewise.
1875 (c0): Likewise.
1876 (c1): Likewise.
1877 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1878 Adjust comments for base varying.
1879 (__expl_finite): Change alias to EXPL_FINITE.
1880 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1881 tests for bugs.
1882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1883
6c23e11c
JM
1884 [BZ #14064]
1885 * math/libm-test.inc (check_float_internal): Correct ulp
1886 calculation for subnormal expected results.
1887
29ba805c
AJ
18882012-05-06 Andreas Jaeger <aj@suse.de>
1889
1890 * Makeconfig (+math-flags): New, set to -frounding-math.
1891 (+cflags): Add +math-flags so that all of glibc gets compiled with
1892 it.
1893
1894 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1895
7b17aeda
JM
18962012-05-05 Joseph Myers <joseph@codesourcery.com>
1897
5779f134
JM
1898 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1899 Disable one test.
1900
41498f4d
JM
1901 [BZ #13787]
1902 [BZ #13922]
1903 [BZ #14036]
1904 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1905 (__ieee754_expl): Allow for and saturate large arguments.
1906 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1907 (u_threshold): Likewise.
1908 (__exp): Call __ieee754_exp before checking for overflow and
1909 underflow.
1910 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1911 (u_threshold): Likewise.
1912 (__expf): Call __ieee754_expf before checking for overflow and
1913 underflow.
1914 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1915 (u_threshold): Likewise.
1916 (__expl): Call __ieee754_expl before checking for overflow and
1917 underflow.
1918 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1919 (__ieee754_expl): Allow for and saturate large arguments.
1920 * math/libm-test.inc (exp_test): Add another test. Do not allow
1921 missing overflow exception on overflow.
1922 (expm1_test): Do not allow missing overflow exception on overflow.
1923
6698b8bf
JM
1924 * sysdeps/i386/fpu/e_expl.c: Move to ...
1925 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1926 rather than using inline asm.
1927 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1928 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1929 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1930
7b17aeda
JM
1931 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1932 (nice): Likewise.
1933 (poll): Likewise.
1934 (signal): Likewise.
1935 (time): Likewise.
1936 (times): Likewise.
1937
f7c85819
JM
19382012-05-04 Joseph Myers <joseph@codesourcery.com>
1939
1940 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1941 sysdeps/unix/common/syscalls.list.
1942 (fchmod): Likewise.
1943 (fchown): Likewise.
1944 (ftruncate): Likewise.
1945 (getrusage): Likewise.
1946 (gettimeofday): Likewise.
1947 (setpgid): Likewise.
1948 (setregid): Likewise.
1949 (setreuid): Likewise.
1950 (sigaction): Likewise.
1951 (truncate): Likewise.
1952 (vhangup): Likewise.
1953 * sysdeps/unix/common/syscalls.list: Remove file.
1954 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1955 * sysdeps/unix/sysv/linux/Implies: Likewise.
1956
336270d0
L
19572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1962 Moved to ...
1963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1964 Here.
1965 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1966 to ...
1967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1968 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1969 to ...
1970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1971 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1972 to ...
1973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1974 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1975 to ...
1976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1978 to ...
1979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1980 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1981 to ...
1982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1983 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1984 to ...
1985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1986 Here.
1987 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1988 to ...
1989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1990 Here.
1991 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1992 to ...
1993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1995 Moved to ...
1996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1997 Here.
1998 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1999 to ...
2000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2001
d128e450
JM
20022012-05-04 Joseph Myers <joseph@codesourcery.com>
2003
fa8ee516
JM
2004 * sysdeps/unix/common/bits/dirent.h: Remove file.
2005 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2006
d128e450
JM
2007 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2008 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2009 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2010 * sysdeps/unix/bsd/isatty.c: Likewise.
2011 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2012 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2013 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2014
ff8faaf0 20152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2016
62881be4 2017 [BZ #13563]
31dc8730
AZ
2018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2019 long double comparison inaccuracies.
2020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2022
6fef930c
AS
20232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2024
2025 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2026 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2027
8f203e6c
JM
20282012-05-04 Joseph Myers <joseph@codesourcery.com>
2029
2030 [BZ #14049]
2031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2032 nonzero digits before rounding a hex value.
2033 * stdlib/tst-strtod.c (tests): Add another test.
2034
5197d9c2
AK
20352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2036
2037 * sysdeps/s390/fpu/libm-test-ulps: Update.
2038
f0c1dedf
AJ
20392012-05-03 Andreas Jaeger <aj@suse.de>
2040
2041 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2042 does not get optimized out.
2043 (malloc_opt_barrier): New.
2044
a65ef2ae 20452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2046 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2047
2b942cb7 2048 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2049 intermediate file deletion.
2b942cb7 2050 (generated): Add .symlist files.
a65ef2ae 2051
54b71e02
JM
20522012-05-03 Joseph Myers <joseph@codesourcery.com>
2053
2054 [BZ #13775]
2055 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2056 Redirect under this condition.
2057 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2058 [__USE_GNU] (__dprintf_chk): Not under this condition.
2059 [__USE_GNU] (__vdprintf_chk): Likewise.
2060 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2061 under this condition.
2062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2063 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2064 [__USE_XOPEN2K8] (vdprintf): Likewise.
2065 [__USE_GNU] (__dprintf_chk): Not under this condition.
2066 [__USE_GNU] (__vdprintf_chk): Likewise.
2067 [__USE_GNU] (dprintf): Likewise.
2068 [__USE_GNU] (vdprintf): Likewise.
2069
d3dfcc41
RM
20702012-05-03 Roland McGrath <roland@hack.frob.com>
2071
2072 * elf/Makefile (common-generated): Set this instead of generated for
2073 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2074 $(all-built-dso)-derived lists.
2075
7ac30cc5
AJ
20762012-05-03 Andreas Jaeger <aj@suse.de>
2077
0c51e550
AJ
2078 * sysdeps/i386/fpu/libm-test-ulps: Update.
2079
7ac30cc5
AJ
2080 * FAQ: Removed.
2081 * FAQ.in: Likewise.
2082 * scripts/gen-FAQ.pl: Likewise.
2083 * manual/install.texi (Installation): Point to online location of
2084 FAQ.
2085 * Makefile (files-for-dist): Remove FAQ.
2086 (FAQ): Remove.
2087
d4c2917f
AM
20882012-05-02 Allan McRae <allan@archlinux.org>
2089
2090 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2091 (LDFLAGS-reldepmod5.so): Likewise.
2092 (LDFLAGS-reldep6mod1.so): Likewise.
2093 (LDFLAGS-reldep6mod4.so): Likewise.
2094 (LDFLAGS-reldep8mod3.so): Likewise.
2095 (LDFLAGS-unload4mod1.so): Likewise.
2096 (LDFLAGS-unload4mod2.so): Likewise.
2097 (LDFLAGS-tst-initorder): Likewise.
2098 (LDFLAGS-tst-initordera2.so): Likewise.
2099 (LDFLAGS-tst-initordera3.so): Likewise.
2100 (LDFLAGS-tst-initordera4.so): Likewise.
2101 (LDFLAGS-tst-initorderb2.so): Likewise.
2102 (LDFLAGS-noload): Likewise.
2103 (LDFLAGS-next): Likewise.
2104 (LDFLAGS-order2mod1.so): Likewise.
2105 (LDFLAGS-order2mod2.so): Likewise.
2106 (LDFLAGS-tst-initorder2): Likewise.
2107 (LDFLAGS-tst-initorder2a.so): Likewise.
2108 (LDFLAGS-tst-initorder2b.so): Likewise.
2109 (LDFLAGS-tst-initorder2c.so): Likewise.
2110 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2111
d77f993f
DM
21122012-05-02 David S. Miller <davem@davemloft.net>
2113
2114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2115
171a70b4
PP
21162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2117
2118 [BZ #14055]
2119 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2120
0be196ad
AJ
21212012-05-02 Andreas Jaeger <aj@suse.de>
2122
2123 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2124 since we manipulate rounding mode.
2125 (CPPFLAGS-test-idouble.c): Likewise.
2126 (CPPFLAGS-test-ifloat.c): Likewise.
2127 (CFLAGS-test-ldouble.c): Likewise.
2128 (CFLAGS-test-double.c): Likewise.
2129 (CFLAGS-test-float.c): Likewise.
2130 (CFLAGS-test-misc.c): Likewise.
2131 (CFLAGS-test-test-fenv.c): Likewise.
2132
4f9d04aa
AZ
21332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2134
2b942cb7
RM
2135 [BZ #2550]
2136 [BZ #2570]
2137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2138 comparisons to determine direction to adjust input.
4f9d04aa 2139
82a79e7d
RM
21402012-05-01 Roland McGrath <roland@hack.frob.com>
2141
f5a01ca9
RM
2142 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2143 output to the target.
2144
90fe4186
RM
2145 * scripts/localplt.awk: New file.
2146 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2147 (check-localplt-CFLAGS): Variable removed.
2148 ($(all-built-dso:=.jmprel)): New static pattern rule.
2149 (generated): Add those targets.
2150 (localplt-built-dso): New variable.
2151 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2152
2153 * elf/check-localplt.c: File removed.
2154
82397ed6
RM
2155 * scripts/check-execstack.awk: New file.
2156 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2157 (check-execstack-CFLAGS): Variable removed.
2158 ($(objpfx)check-execstack.h): Target removed.
2159 ($(objpfx)execstack-default): New target.
2160 (generated): Add that instead of check-execstack.h.
2161 ($(all-built-dso:=.phdr)): New static pattern rule.
2162 (generated): Add those targets.
2163 * elf/check-execstack.c: File removed.
2164
82a79e7d
RM
2165 * scripts/check-textrel.awk: New file.
2166 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2167 (check-textrel-CFLAGS): Variable removed.
2168 (all-built-dso): Use := to define.o
2169 ($(all-built-dso:=.dyn)): New static pattern rule.
2170 (generated): Add those targets.
2171 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2172 * config.make.in (READELF): New substituted variable.
2173 * elf/check-textrel.c: File removed.
2174
62fde54f 21752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2176
615605c9
JM
2177 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2178 allow.
2179 * conform/data/ctype.h-data [C99-based standards] (isblank):
2180 Expect function.
2181 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2182 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2184 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2185 Specify type. Require positive value.
2186 (EILSEQ): Likewise.
2187 (ERANGE): Likewise.
2188 [ISO || POSIX] (EILSEQ): Do not expect.
2189 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2190 Specify type. Require positive value.
2191 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2192 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2193 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2194 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2195 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2198 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2209 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2210 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2211 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2212 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2265 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2266 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2267 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2268 Require >= 2.
2269 (FLT_ROUNDS): Expect as macro, not constant.
2270 (FLT_MANT_DIG): Use macro-int-constant.
2271 (DBL_MANT_DIG): Likewise.
2272 (LDBL_MANT_DIG): Likewise.
2273 (FLT_DIG): Likewise.
2274 (DBL_DIG): Likewise.
2275 (LDBL_DIG): Likewise.
2276 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2277 (DBL_MIN_EXP): Likewise.
2278 (LDBL_MIN_EXP): Likewise.
2279 (FLT_MAX_EXP): Use macro-int-constant.
2280 (DBL_MAX_EXP): Likewise.
2281 (LDBL_MAX_EXP): Likewise.
2282 (FLT_MAX_10_EXP): Likewise.
2283 (DBL_MAX_10_EXP): Likewise.
2284 (LDBL_MAX_10_EXP): Likewise.
2285 (FLT_MAX): Use macro-constant.
2286 (DBL_MAX): Likewise.
2287 (LDBL_MAX): Likewise.
2288 (FLT_EPSILON): Use macro-constant. Give upper bound.
2289 (DBL_EPSILON): Likewise.
2290 (LDBL_EPSILON): Likewise.
2291 (FLT_MIN): Likewise.
2292 (DBL_MIN): Likewise.
2293 (LDBL_MIN): Likewise.
2294 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2295 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2296 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2297 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2298 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2299 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2300 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2301 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2302 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2303 [ISO11] (FLT_TRUE_MIN): Likewise.
2304 [ISO11] (LDBL_TRUE_MIN): Likewise.
2305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2306 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2307 (SCHAR_MIN): Use macro-int-constant. Specify type.
2308 (SCHAR_MAX): Likewise.
2309 (UCHAR_MAX): Likewise.
2310 (CHAR_MIN): Likewise.
2311 (CHAR_MAX): Likewise.
2312 (MB_LEN_MAX): Use macro-int-constant.
2313 (SHRT_MIN): Use macro-int-constant. Specify type.
2314 (SHRT_MAX): Likewise.
2315 (USHRT_MAX): Likewise.
2316 (INT_MAX): Likewise.
2317 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2318 bound negative.
2319 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2320 bound with "U".
2321 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2322 bound with "L".
2323 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2324 bound negative. Suffix upper bound with "L".
2325 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2326 bound with "UL".
2327 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2328 Specify type.
2329 [C99-based standards] (LLONG_MAX): Likewise.
2330 [C99-based standards] (ULLONG_MAX): Likewise.
2331 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2332 == 0.
2333 [ISO11] (max_align_t): Require type.
2334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2335
c9140a62
JM
2336 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2337 from $CFLAGS, without defining away __attribute__ calls.
2338 (checknamespace): Use $CFLAGS_namespace.
2339
9af0bf29
JM
2340 * conform/conformtest.pl (@keywords): Only include C99 keywords
2341 for standards based on C99 or C11.
2342
343222a2
JM
2343 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2344 Disable tests.
2345 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2346 UNIX98]: Likewise.
2347
661f8cf0
JM
2348 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2349 usability of symbols in #if.
2350
ee74b9cb
JM
2351 * conform/conformtest.pl: If macro or constant types start
2352 "promoted:", expect the symbol to be of the following type
2353 promoted by the integer promotions.
62fde54f 2354
aafc49b3
JM
2355 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2356 in one place. Also handle "macro-constant".
2357
fefdf574
JM
2358 * conform/conformtest.pl: Only accept expected macro values with
2359 "==". Parse all "macro" lines in one place.
2360 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2361
f2d922fe
JM
2362 * conform/conformtest.pl: Handle braced types on "constant" lines
2363 instead of handling "typed-constant".
2364 * conform/data/signal.h-data: Use "constant" instead of
2365 "typed-constant".
2366
d22956c9
JM
2367 * conform/conformtest.pl: Handle "optional-" at start of lines in
2368 one place rather than duplicating several cases. Handle each
2369 format of "macro" line with initial "optional-".
2370
028e2e38
JM
2371 * conform/conformtest.pl: Only accept expected constant or
2372 optional-constant values with "==". Parse all "constant" lines in
2373 one place. Parse all "optional-constant" lines in one place.
2374 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2375 * conform/data/fmtmsg.h-data: Likewise.
2376 * conform/data/netinet/in.h-data: Likewise.
2377 * conform/data/tar.h-data: Likewise.
2378 * conform/data/limits.h-data: Use "==" form on "constant" and
2379 "optional-constant" lines.
2380
1b8f2850
JM
2381 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2382 Use -std=c99 for XOPEN2K.
2383 (@knownproblems): Remove.
2384 (newtoken): Don't check %isknown.
2385
a05a144b
JM
2386 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2387 Do not expect macro.
2388 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2400 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2401 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2418 [XPG3] (acosh): Likewise.
2419 [XPG3] (asinh): Likewise.
2420 [XPG3] (atanh): Likewise.
2421 [XPG3] (cbrt): Likewise.
2422 [XPG3] (expm1): Likewise.
2423 [XPG3] (ilogb): Likewise.
2424 [XPG3] (log1p): Likewise.
2425 [XPG3] (logb): Likewise.
2426 [XPG3] (nextafter): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2429 [XPG3] (remainder): Likewise.
2430 [XPG3] (rint): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2438 [UNIX98 || XOPEN2K] (scalb): Expect.
2439 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2440 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2576
73c5ebe3
JM
2577 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2578 _XOPEN_SOURCE_EXTENDED for XPG4.
2579
39c33b6c
JM
2580 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2581
62fde54f
JM
2582 * Makeconfig (localtime): Remove variable.
2583 (inst_localtime-file): Likewise.
2584
0741d64c
AS
25852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2586
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2588 Update.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2590 Update.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2592 Update.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2594 Update.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2596 Update.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2598 Update.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2600 Update.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2602 Update.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2604 Update.
2605
7cb029ee
JM
26062012-05-01 Joseph Myers <joseph@codesourcery.com>
2607
2608 [BZ #2550]
2609 [BZ #2570]
2610 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2611 comparisons to determine direction to adjust input.
2612 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2613 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2614 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2615 Likewise.
2616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2617 Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2619 Likewise.
2620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2622 Likewise.
2623 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2624 Likewise.
2625 * math/libm-test.inc (nexttoward_test): Add more tests.
2626
412bd966
AS
26272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2628
2629 [BZ #14040]
2630 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2631 in version GLIBC_2.1, not GLIBC_2.0.
2632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2633 Likewise.
2634
9568c0c2
JM
26352012-04-30 Joseph Myers <joseph@codesourcery.com>
2636
adfbc8ac
JM
2637 [BZ #13942]
2638 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2639 (1 - x) * (1 + x).
2640 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2641 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2642 * math/libm-test.inc (acos_test): Add more tests.
2643 (asin_test): Likewise.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2646
5ba3cc69
JM
2647 [BZ #14034]
2648 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2649 of square root.
2650 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2651 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2652 * math/libm-test.inc (acos_test_tonearest): New function.
2653 (acos_test_towardzero): Likewise.
2654 (acos_test_downward): Likewise.
2655 (acos_test_upward): Likewise.
2656 (asin_test_tonearest): Likewise.
2657 (asin_test_towardzero): Likewise.
2658 (asin_test_downward): Likewise.
2659 (asin_test_upward): Likewise.
2660 (main): Call the new functions.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update.
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2663
9568c0c2
JM
2664 [BZ #13884]
2665 [BZ #13924]
2666 * math/e_exp10.c: Include <float.h>.
2667 (__ieee754_exp10): Handle underflow here rather than multiplying
2668 large negative argument by M_LN10.
2669 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2670 of __ieee754_expf.
2671 * math/e_exp10l.c: Include <float.h>.
2672 (__ieee754_exp10l): Handle underflow here rather than multiplying
2673 large negative argument by M_LN10l.
2674 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2675 spurious overflow exception on underflow.
2676
5ac3ea17
MP
26772012-04-29 Marek Polacek <polacek@redhat.com>
2678
2679 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2680 (__fortify_function): New macro.
2681 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2682 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2683 __extern_always_inline.
2684 * libio/bits/stdio2.h: Likewise.
2685 * libio/bits/stdio.h: Likewise.
2686 * string/string.h: Likewise.
2687 * string/bits/string3.h: Likewise.
2688 * include/stdio.h: Likewise.
2689 * stdlib/bits/stdlib.h: Likewise.
2690 * stdlib/stdlib.h: Likewise.
2691 * rt/bits/mqueue2.h: Likewise.
2692 * rt/mqueue.h: Likewise.
2693 * posix/bits/unistd.h: Likewise.
2694 * posix/unistd.h: Likewise.
2695 * io/bits/poll2.h: Likewise.
2696 * io/bits/fcntl2.h: Likewise.
2697 * io/fcntl.h: Likewise.
2698 * io/sys/poll.h: Likewise.
2699 * misc/bits/syslog.h: Likewise.
2700 * misc/bits/syslog-ldbl.h: Likewise.
2701 * misc/sys/syslog.h: Likewise.
2702 * socket/bits/socket2.h: Likewise.
2703 * socket/sys/socket.h: Likewise.
2704 * debug/tst-chk1.c: Likewise.
2705 * wcsmbs/bits/wchar2.h: Likewise.
2706 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2707 * wcsmbs/wchar.h: Likewise.
2708
ecf0ebfb
AJ
27092012-04-29 Andreas Jaeger <aj@suse.de>
2710
2711 * Makerules (tests): Remove enable-check-abi protection.
2712 (check-abi-warn): Remove.
2713 (check-abi-%): Remove check-abi-warn usage.
2714
2715 * configure.in: Remove check-abi configure option.
2716 * configure: Regenerated.
2717 * config.make.in (enable-check-abi): Remove.
2718
6d5c57fa
AS
27192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2720
24c5d07e 2721 [BZ #14033]
ded5180a
AS
2722 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2723 double functions to double *_finite functions.
2724
7e0d315d
AS
2725 [BZ #13941]
2726 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2727 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2728 LDBL_MIN_EXP.
2729 * stdio-common/Makefile (tests): Add tst-sprintf3.
2730 * stdio-common/tst-sprintf3.c: New file.
2731
6d5c57fa
AS
2732 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2733 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2734
0749ff8b
JM
27352012-04-28 Joseph Myers <joseph@codesourcery.com>
2736
2737 * conform/conformtest.pl: Remove duplicate typed-constant
2738 handling.
2739
8dbd5d7b
DM
27402012-04-28 David S. Miller <davem@davemloft.net>
2741
2742 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2743 (check-abi-%): Remove AWK script prerequisite and explicit
2744 abilist directory.
2745 (check-abi): Rewrite to just diff the symlist with the abilist.
2746 (config-tls, config-abi-config): Delete, no longer used.
2747 (update-abi-%): Remove AWK script and explicit abilist directory.
2748 (update-abi): Rewrite to simply compare and conditionally copy the
2749 symlist and the sysdep abilist file. Remove update-abi-config
2750 checks.
2751 * abilist/ld.abilist: Remove.
2752 * abilist/libBrokenLocale.abilist: Remove.
2753 * abilist/libanl.abilist: Remove.
2754 * abilist/libcrypt.abilist: Remove.
2755 * abilist/libdl.abilist: Remove.
2756 * abilist/librt.abilist: Remove.
2757 * abilist/libthread_db.abilist: Remove.
2758 * abilist/libutil.abilist: Remove.
2759 * scripts/extract-abilist.awk: Remove.
2760 * scripts/merge-abilist.awk: Remove.
2761 * sysdeps/generic/libcidn.abilist: New file.
2762 * sysdeps/generic/libnss_compat.abilist: New file.
2763 * sysdeps/generic/libnss_db.abilist: New file.
2764 * sysdeps/generic/libnss_dns.abilist: New file.
2765 * sysdeps/generic/libnss_files.abilist: New file.
2766 * sysdeps/generic/libnss_hesiod.abilist: New file.
2767 * sysdeps/generic/libnss_nis.abilist: New file.
2768 * sysdeps/generic/libnss_nisplus.abilist: New file.
2769 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2770 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2771 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2772 file.
2773 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2774 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2775 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2776 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2777 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2778 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2779 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2780 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2781 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2782 file.
2783 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2784 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2785 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2786 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2787 file.
2788 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2789 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2790 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2791 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2792 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2793 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2794 file.
2795 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2797 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2798 file.
2799 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2801 New file.
2802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2803 New file.
2804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2805 New file.
2806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2807 New file.
2808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2809 New file.
2810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2811 New file.
2812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2813 New file.
2814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2815 New file.
2816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2817 New file.
2818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2819 New file.
2820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2821 New file.
2822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2823 New file.
2824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2825 New file.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2827 file.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2829 New file.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2831 New file.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2833 file.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2835 New file.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2837 New file.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2839 file.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2841 New file.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2843 New file.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2845 New file.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2847 New file.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2849 New file.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2851 New file.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2854 file.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2856 New file.
2857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2858 file.
2859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2860 file.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2862 file.
2863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2864 file.
2865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2866 file.
2867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2868 New file.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2870 file.
2871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2872 file.
2873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2874 New file.
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2876 file.
2877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2879 file.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2881 New file.
2882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2883 file.
2884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2885 file.
2886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2887 file.
2888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2889 file.
2890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2891 file.
2892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2893 New file.
2894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2895 file.
2896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2897 file.
2898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2899 New file.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2901 file.
2902 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2903 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2904 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2905 file.
2906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2907 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2908 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2909 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2911 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2912 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2913 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2914 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2915 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2918 file.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2920 New file.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2922 file.
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2924 file.
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2926 file.
2927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2928 file.
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2930 file.
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2932 New file.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2934 New file.
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2936 file.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2938 New file.
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2940 file.
2941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2943 file.
2944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2945 New file.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2947 file.
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2949 file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2951 file.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2953 file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2955 file.
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2957 New file.
2958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2959 New file.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2961 file.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2963 New file.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2965 file.
2966
41d73a1b
JM
29672012-04-28 Joseph Myers <joseph@codesourcery.com>
2968
2969 * conform/conformtest.pl: Fix typo in handling typed-constant from
2970 allow-header.
2971
28aeeda4
JM
29722012-04-27 Joseph Myers <joseph@codesourcery.com>
2973
adae8f5e
JM
2974 * README: Cut down references to pre-2.6 Linux kernels and
2975 Linuxthreads. Update lists of configurations in libc and ports
2976 and sort alphabetically. Say "or newer" with Linux kernel version
2977 requirements.
2978
28aeeda4
JM
2979 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2980
a462cb63
RA
29812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2982
2983 [BZ #887]
2984 * math/libm-test.inc (logb_test_downward): New test to expose
2985 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2986 rounding mode.
2987
6ad3493e
JM
29882012-04-27 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #14027]
2991 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2992 to be done.
2993 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2994 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2995
2ce4f015
JM
29962012-04-26 Joseph Myers <joseph@codesourcery.com>
2997
5aeb141a
JM
2998 * sysdeps/unix/i386/brk.S: Remove file.
2999 * sysdeps/unix/i386/dl-brk.S: Likewise.
3000 * sysdeps/unix/i386/pipe.S: Likewise.
3001 * sysdeps/unix/i386/sigreturn.S: Likewise.
3002 * sysdeps/unix/i386/syscall.S: Likewise.
3003 * sysdeps/unix/i386/vfork.S: Likewise.
3004 * sysdeps/unix/i386/wait.S: Likewise.
3005
7143acae
JM
3006 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3007 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3008
2ce4f015
JM
3009 * configure.in (arm*-none*): Do not allow without
3010 --enable-hacker-mode.
3011 (netbsd*): Remove case setting base_os.
3012 (386bsd*): Likewise.
3013 (freebsd*): Likewise.
3014 (bsdi*): Likewise.
3015 (osf*): Likewise.
3016 (sunos*): Likewise.
3017 (ultrix*): Likewise.
3018 (newsos*): Likewise.
3019 (dynix*): Likewise.
3020 (*bsd*): Likewise.
3021 (sysv*): Likewise.
3022 (isc*): Likewise.
3023 (esix*): Likewise.
3024 (sco*): Likewise.
3025 (minix*): Likewise.
3026 (irix4*): Likewise.
3027 (irix6*): Likewise.
3028 (solaris[2-9]*): Likewise.
3029 (none): Likewise.
3030 * configure: Regenerated.
3031
0ac229c8
AZ
30322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033
3034 [BZ #11521]
3035 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3036 overflow or cancellation in calculating denominator.
3037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3039 down expression to avoid unexpected rounding in newer GCCs.
3040 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3041
33f244f4
DM
30422012-04-26 David S. Miller <davem@davemloft.net>
3043
3044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3045 long-double compat symbols.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3059
cfa1f3e8
DM
30602012-04-25 David S. Miller <davem@davemloft.net>
3061
3062 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3063 HWCAP_* values only after the memory barriers have been defined.
3064 (atomic_full_barrier): Define.
3065 (atomic_read_barrier): Define.
3066 (atomic_write_barrier): Define.
3067
6e236b92
SP
30682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
3070 * shlib-versions: Add libgcc_s version information.
3071 * sysdeps/generic/libgcc_s.h: Remove.
3072 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3073 libgcc_s.h.
3074 * sysdeps/gnu/unwind-resume.c: Likewise.
3075 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3076
aab39a09
DM
30772012-04-25 David S. Miller <davem@davemloft.net>
3078
3079 * sysdeps/unix/sparc/brk.S: Delete.
3080 * sysdeps/unix/sparc/dl-brk.S: Delete.
3081 * sysdeps/unix/sparc/pipe.S: Delete.
3082 * sysdeps/unix/sparc/sysdep.S: Delete.
3083 * sysdeps/unix/sparc/sysdep.h: Delete.
3084 * sysdeps/unix/sparc/vfork.S: Delete.
3085 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3086 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3088 ret_ERRVAL, r0, r1, MOVE): Define.
3089 (JUMPTARGET): Remove.
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3091 sysdeps/unix/sparc/sysdep.h
3092 (ENTRY, END): Remove.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3094
a3cc4f48
JM
30952012-04-25 Joseph Myers <joseph@codesourcery.com>
3096
2ed8cda2
JM
3097 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3098 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3099 -DIS_IN_build.
3100
35d76d59
JM
3101 * timezone/README: Update upstream location and email address for
3102 tzcode and tzdata.
3103 * timezone/zdump.c: Update from tzcode 2012b.
3104 * timezone/zic.c: Likewise.
3105
a3cc4f48
JM
3106 * configure.in (libc_cv_as_needed): Remove test.
3107 * configure: Regenerated.
3108 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3109 conditional definition.
3110 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3111 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3112 * config.make.in (have-as-needed): Remove variable.
3113
ceab42c3
SP
31142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3115 Paul Pluzhnikov <ppluzhnikov@google.com>
3116
3117 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3118 strings correctly.
3119
3ce2865f
CLT
31202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3121
3122 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3123 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3124 * sysdeps/sh/strlen.S: Likewise.
3125
f37e0d68
JM
31262012-04-24 Joseph Myers <joseph@codesourcery.com>
3127
ae186e9a
JM
3128 * sysdeps/unix/fork.S: Remove file.
3129 * sysdeps/unix/i386/fork.S: Likewise.
3130 * sysdeps/unix/sparc/fork.S: Likewise.
3131
b96914af
JM
3132 * sysdeps/unix/system.c: Remove file.
3133 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3134
f37e0d68
JM
3135 * sysdeps/unix/getegid.S: Remove file.
3136 * sysdeps/unix/geteuid.S: Likewise.
3137
87ef29ca
RM
31382012-04-24 Roland McGrath <roland@hack.frob.com>
3139
83bcd236
RM
3140 * scripts/check-localplt.awk: New file.
3141 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3142 of diff.
3143 * scripts/data/localplt-generic.data: Add a comment.
3144
87ef29ca
RM
3145 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3146 NODE when __dir_mkfile failed.
3147 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3148 Reported by Ludovic Courtès <ludo@gnu.org>.
3149
e5a6e567
AJ
31502012-04-24 Andreas Jaeger <aj@suse.de>
3151
3152 * Makerules (common-clean): Also remove gen-as-const-headers
3153 files.
3154
c1820385
JM
31552012-04-24 Joseph Myers <joseph@codesourcery.com>
3156
3157 * Makerules (native-compile): Do not change working directory for
3158 build. Use $(OUTPUT_OPTION) in command.
3159 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3160
94e02fc4
AZ
31612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162
3163 [BZ #13886]
3164 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3165 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3166 * math/libm-test.inc (floor_test): Add more tests.
3167 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3168
3a533ca3
JM
31692012-04-24 Joseph Myers <joseph@codesourcery.com>
3170
940ab4b3
JM
3171 * sysdeps/unix/getdents.c: Remove file.
3172 * sysdeps/unix/sysv/getdents.c: Likewise.
3173 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3174
90e037bd
JM
3175 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3176 sysdeps/unix/mman/syscalls.list.
3177 (mmap): Likewise.
3178 (mprotect): Likewise.
3179 (msync): Likewise.
3180 (munmap): Likewise.
3181 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3182 * sysdeps/unix/mman/syscalls.list: Remove.
3183 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3184
3a533ca3
JM
3185 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3186 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3187 * configure: Regenerated.
3188 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3189 $(libgcc_s_suffix).
3190 * config.make.in (libgcc_s_suffix): Remove variable.
3191
1ad743de
JM
31922012-04-23 Joseph Myers <joseph@codesourcery.com>
3193
4ad451e2
JM
3194 * sysdeps/unix/sysv/gethostname.c: Move to ...
3195 * sysdeps/posix/gethostname.c: ... here.
3196
5e37ce39
JM
3197 * sysdeps/unix/execve.S: Remove file.
3198
1ad743de
JM
3199 * sysdeps/unix/_exit.S: Remove file.
3200
4e681b5b
AJ
32012012-04-23 Andreas Jaeger <aj@suse.de>
3202
3203 [BZ #13739]
3204 * manual/Makefile: Remove make dist support, there's no
3205 need for a stand-alone documentation tar ball.
3206 (TEXI2DVI): Define always, it's not in Makeconfig.
3207 (dist): Removed.
3208 (tar-it): Removed.
3209 (edition): Removed.
3210 (glibc-doc-$(edition).tar): Removed
3211 (%.Z): Removed.
3212 (%.gz): Removed.
3213 (%.uu): Removed.
3214 (ETAGS): Remove, it's in Makeconfig.
3215 (move-if-change): Remove, it's in Makeconfig.
3216
c0baea34
PE
32172013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3218
3219 [BZ #13970]
3220 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3221 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3222 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3223 (strtod_l, strtof_l, strtold_l): Remove __wur.
3224 It is not necessarily an error to ignore strtol's return value.
3225 One can reliably look at the stored endptr to decide whether
3226 the number had valid syntax.
3227
7c0616fa
AJ
32282012-04-21 Andreas Jaeger <aj@suse.de>
3229
803cb6b7 3230 [BZ #13739]
7c0616fa
AJ
3231 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3232
b0fe253f
JM
32332012-04-21 Joseph Myers <joseph@codesourcery.com>
3234
3235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3236 * sysdeps/unix/sysv/Versions: Remove file.
3237
8280f22d
MT
32382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3239
3240 [BZ #13927]
3241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3242
75ce411f 32432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3244
3245 [BZ #7064]
3246 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3247 version from __vm86.
3248
097d59fa
JM
32492012-04-20 Joseph Myers <joseph@codesourcery.com>
3250
a90f3bcb
JM
3251 * sysdeps/unix/common/lxstat.c: Remove file.
3252 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3253
edc7ea78
JM
3254 * sysdeps/unix/sysv/Makefile: Remove file.
3255
cb78c221
JM
3256 * sysdeps/unix/sysv/direct.h: Remove file.
3257
efa6a45f
JM
3258 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3259 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3260 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3261 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3262 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3263 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3264 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3265
9c9f2d0c
JM
3266 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3267
4541c83b
JM
3268 * sysdeps/unix/xmknod.c: Remove file.
3269 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3270
f5d153a0
JM
3271 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3272
aa746595
JM
3273 * sysdeps/unix/sysv/i386/time.S: Remove file.
3274
cce5905e
JM
3275 * sysdeps/unix/fxstat.c: Remove file.
3276 * sysdeps/unix/xstat.c: Likewise.
3277 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3278
37fa3841
JM
3279 * sysdeps/unix/sysv/sigaction.c: Remove file.
3280
ff1962a3
JM
3281 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3282 (sysdep_headers): Remove variable.
3283 [termio.h not in sysdep_headers] (generated): Likewise.
3284 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3285 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3286 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3287 * sysdeps/unix/sysv/tcflow.c: Likewise.
3288 * sysdeps/unix/sysv/tcflush.c: Likewise.
3289 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3290 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3291 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3292 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3293 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3294
e7740d31
JM
3295 * sysdeps/unix/siglist.c: Remove file.
3296
ee06f18b
JM
3297 * sysdeps/unix/getppid.S: Remove file.
3298
097d59fa
JM
3299 * sysdeps/unix/mkdir.c: Remove file.
3300 * sysdeps/unix/rmdir.c: Likewise.
3301
ff3d51ec
AS
33022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3303
3304 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3305 ERR_MAX value.
3306 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3307 errlist-compat value.
3308
50f81fd7
DM
33092012-04-18 David S. Miller <davem@davemloft.net>
3310
3311 * sysdeps/generic/memcopy.h (reg_char): Delete.
3312 * debug/strcat_chk.c: Use char, not reg_char.
3313 * debug/strcpy_chk.c: Likewise.
3314 * debug/strncat_chk.c: Likewise.
3315 * debug/strncpy_chk.c: Likewise.
3316 * string/memchr.c: Likewise.
3317 * string/memrchr.c: Likewise.
3318 * string/rawmemchr.c: Likewise.
3319 * string/strcat.c: Likewise.
3320 * string/strchr.c: Likewise.
3321 * string/strchrnul.c: Likewise.
3322 * string/strcmp.c: Likewise.
3323 * string/strcpy.c: Likewise.
3324 * string/strncat.c: Likewise.
3325 * string/strncmp.c: Likewise.
3326 * string/strncpy.c: Likewise.
3327
8ff41c46
WS
33282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3329
3330 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3331 __builtin_memcopy is called when src and dest ranges are known to not
3332 overlap.
3333
6b652f46
WS
33342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3335
3336 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3337 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3338 fwd_align_merge macro call.
3339 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3340 bwd_align_merge macro call.
3341 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3342
b282631e
WS
33432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3344
3345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3346 bwd_align_merge macros.
3347 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3348 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3349 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3350
95aa737c
DM
33512012-04-18 David S. Miller <davem@davemloft.net>
3352
3353 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3354
7a99a614
AJ
33552012-04-18 Andreas Jaeger <aj@suse.de>
3356
3357 [BZ# 6794]
3358 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3359 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3360 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3361
3362 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3363 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3364 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3365
3366 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3367 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3368 Adjust for changed ldbl-128 files.
3369
3370 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3371 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3372 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3373
e5270c23
DM
33742012-04-17 David S. Miller <davem@davemloft.net>
3375
3376 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3377
fb5e92c9
AS
33782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3379
3380 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3381 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3382 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3383 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3384 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3385 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3386
76da7265
AZ
33872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388
3389 [BZ #6794]
3390 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3391 * math/libm-test.inc: Add ilogb errno and exception tests.
3392 * math/w_ilogb.c: New file: ilogb wrapper.
3393 * math/w_ilogbf.c: New file: ilogbf wrapper.
3394 * math/w_ilogbl.c: New file: ilogbl wrapper.
3395 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3396 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3397 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3398 exception being thrown with 0.0 as argument.
3399 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3400 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3401 exception being thrown with 0.0 as argument.
3402 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3403 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3404 exception being thrown with 0.0 as argument.
3405 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3406 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3407 exception being thrown with 0.0 as argument.
3408 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3409 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3410 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3411 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3412 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3413 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3414 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3415 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3416 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3417
0396e69d
PB
34182012-04-17 Petr Baudis <pasky@ucw.cz>
3419
3420 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3421 with altivec.
3422
750b5926
MP
34232012-04-16 Marek Polacek <polacek@redhat.com>
3424
3425 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3426
751728a1
MP
34272012-04-16 Marek Polacek <polacek@redhat.com>
3428
3429 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3430 operands of fdivp instruction.
3431
34a27407
L
34322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3435 * elf/tst-auditmod3b.c: Likewise.
3436 * elf/tst-auditmod4b.c: Likewise.
3437 * elf/tst-auditmod5b.c: Likewise.
3438 * elf/tst-auditmod6b.c: Likewise.
3439 * elf/tst-auditmod6c.c: Likewise.
3440 * elf/tst-auditmod7b.c: Likewise.
3441 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3442 * sysdeps/x86_64/preconfigure.in: Likewise.
3443 * sysdeps/x86_64/preconfigure: Regenerated.
3444
7e73e17d
L
34452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3448 __ILP32__.
3449
c7a6ab72
AB
34502012-04-13 Antoine Balestrat <merkil33@gmail.com>
3451
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3453 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3454
a9e8e0e0
CL
34552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3456
3457 [BZ #13973]
3458 * locale/iso-639.def: Fix gl language name. Spotted by
3459 Yaron Shahrabani.
3460
ec98af7d
RM
34612012-04-12 Roland McGrath <roland@hack.frob.com>
3462
3463 [BZ #2074]
3464 * libio/libio.h (__io_write_fn): Update comment.
3465
247c3ede
PB
34662012-04-12 Petr Baudis <pasky@ucw.cz>
3467
3468 [BZ #2074]
3469 * stdio.texi (Hook Functions): The user provided writer function
3470 is not allowed to return -1.
3471
55939d6d
DM
34722012-04-11 David S. Miller <davem@davemloft.net>
3473
3474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3475
90020f5a
MF
34762012-04-11 Mike Frysinger <vapier@gentoo.org>
3477
3478 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3479 Add a leading slash to rtkaio.
3480
288f9098
JM
34812012-04-11 Jim Meyering <meyering@redhat.com>
3482
90020f5a
MF
3483 [BZ #11959]
3484 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3485 It is not necessarily an error to ignore fwrite's return
3486 value. One can reliably use ferror to test for errors after
3487 the fact.
288f9098 3488
4be2b570
L
34892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3490
3491 * bits/types.h (__snseconds_t): New type.
3492 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3493
3494 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3496 (__SNSECONDS_T_TYPE): Likewise.
3497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3498 (__SNSECONDS_T_TYPE): Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3500 (__SNSECONDS_T_TYPE): Likewise.
3501
288f9098 35022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3503
3504 [BZ #2636]
3505 * manual/time.texi (Processor Time): Return type of times is
3506 elapsed real time since an arbitrary point in the past.
3507 (CPU Time): Move CLK_TCK from here...
3508 (Processor Time): ...to here. Correct description.
3509 * manual/conf.texi (Constants for Sysconf): Correct description of
3510 _SC_CLK_TCK.
3511
d7dd4413
DM
35122012-04-10 David S. Miller <davem@davemloft.net>
3513
3514 [BZ #13967]
3515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3516 where the is a gap between DT_REL(A) and DT_JMPREL.
3517
b46068fc
L
35182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3519
3520 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3521 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3522 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3523
73d65cc3
SP
35242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3525
3526 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3527 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3528 (dl_main): Handle --inhibit-cache.
3529 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3530 _dl_inhibit_cache.
3531 * elf/dl-load.c (_dl_map_object): Use it.
3532 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3533
bcc8d661
JM
35342012-04-09 Joseph Myers <joseph@codesourcery.com>
3535
8f9a2fae
JM
3536 [BZ #13872]
3537 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3538 (__ieee754_powl): Saturate large exponents rather than testing for
3539 overflow of y*log2(x).
3540 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3541 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3542 exceptions.
3543
bcc8d661
JM
3544 [BZ #11521]
3545 * math/s_ctan.c: Include <float.h>.
3546 (__ctan): Avoid internal overflow or cancellation in calculating
3547 denominator.
3548 * math/s_ctanf.c: Likewise.
3549 * math/s_ctanl.c: Likewise.
3550 * math/s_ctanh.c: Likewise.
3551 * math/s_ctanhf.c: Likewise.
3552 * math/s_ctanhl.c: Likewise.
3553 * math/libm-test.inc (ctan_test): Add more tests.
3554 (ctanh_test): Likewise.
3555 * sysdeps/i386/fpu/libm-test-ulps: Update.
3556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3557
823fbbb4
AJ
35582012-04-09 Andreas Jaeger <aj@suse.de>
3559
03879793
AJ
3560 [BZ #6894]
3561 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3562 is an optional BSD extension.
3563
823fbbb4
AJ
3564 [BZ #10254]
3565 * manual/stdio.texi (Opening Streams): Document additional fopen
3566 parameters.
3567
8de131cb
RM
35682012-04-09 Roland McGrath <roland@hack.frob.com>
3569
3570 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3571 %eax without telling the compiler.
3572
c0ed9d7d
CD
35732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3574
3575 [BZ # 13963]
3576 * manual/install.texi: Use sourceware.org.
3577
c483f6b4
JM
35782012-04-09 Joseph Myers <joseph@codesourcery.com>
3579
d7dd9453
JM
3580 [BZ #13873]
3581 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3582 (__ieee754_pow): Generate overflow and underflow using huge*huge
3583 and tiny*tiny rather than just returning constant infinity or zero
3584 for large exponents.
3585 * math/libm-test.inc (pow_test): Require overflow exceptions for
3586 applicable cases of large exponents.
3587
c483f6b4
JM
3588 [BZ #706]
3589 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3590 (__ieee754_pow): Use iterative multiplication algorithm only for
3591 integer exponents with absolute value below 1024. Check for odd
3592 integer exponents when using algorithm for real exponents.
3593 * math/libm-test.inc (pow_test): Add more tests.
3594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3595
d2de7579
JM
35962012-04-08 Joseph Myers <joseph@codesourcery.com>
3597
3598 [BZ #13705]
3599 * math/libm-test.inc (exp_test): Do not allow overflow exception
3600 on underflow test.
3601
f77f1232
AJ
36022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3603
3604 [BZ #13705]
3605 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3606 instead of __kernel_standard_f.
3607
3884932b
MF
36082012-04-08 Mike Frysinger <vapier@gentoo.org>
3609
3610 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3611 * sysdeps/x86_64/memset_chk.S: Likewise.
3612
54472e9c
AJ
36132012-04-08 Andreas Jaeger <aj@suse.de>
3614
6ab0fbfc
AJ
3615 [BZ #10153]
3616 * manual/startup.texi (Environment Access): Describe return value
3617 for putenv and setenv.
3618
61efba8c
AJ
3619 [BZ #6895]
3620 * manual/filesys.texi (Directory Entries): Add description for
3621 DT_LNK.
3622
95c3f29a
AJ
3623 [BZ #6890]
3624 * manual/filesys.texi (Directory Entries): Clarify that it's file
3625 system not operating system in the description of DT_UNKNOWN.
3626
54472e9c
AJ
3627 [BZ #6578]
3628 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3629
624254b1
SC
36302012-04-08 Stephen Compall <s11@member.fsf.org>
3631
3632 [BZ #6649]
3633 * manual/llio.texi (Opening and Closing Files): Add cross
3634 reference to explain mode argument.
3635
1e4920e0
MF
36362012-04-07 Mike Frysinger <vapier@gentoo.org>
3637
3638 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3639 * sysdeps/x86_64/memset_chk.S: Likewise.
3640
5ed848f3
DM
36412012-04-07 David S. Miller <davem@davemloft.net>
3642
3643 * elf/elf.h (R_SPARC_WDISP10): Define.
3644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3645 R_SPARC_SIZE32.
3646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3647 R_SPARC_SIZE64 and R_SPARC_H34.
3648
96154cd8
CD
36492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3650
3651 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3652 conditions and remove no longer applicable assertion.
3653
9904dc47
L
36542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * bits/byteswap.h: Include <features.h>.
3657 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3658 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3659
f8887d0a
L
36602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * bits/byteswap.h (__bswap_16): Removed.
3663 Include <bits/byteswap-16.h> to get __bswap_16.
3664 * sysdeps/i386/bits/byteswap.h: Likewise.
3665 * sysdeps/s390/bits/byteswap.h: Likewise.
3666 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3667 * bits/byteswap-16.h: New file.
3668 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3669 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3670 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3671 * string/Makefile (headers): Add bits/byteswap-16.h.
3672
62470f60
PP
36732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3674
3675 [BZ #13895]
3676 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3677 extra indirection.
3678 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3679 * nss/tst-nss-static.c: New.
3680
4dad7bab
RM
36812012-04-06 Robert Millan <rmh@gnu.org>
3682
3683 [BZ #6486]
3684 * manual/llio.texi (File Position Primitive): lseek
3685 refers to WHENCE when it really means OFFSET.
3686
e9142a17
AJ
36872012-04-06 Andreas Jaeger <aj@suse.de>
3688
2c040eff
AJ
3689 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3690 strncmp declarations.
3691
e9142a17
AJ
3692 * abilist/libc.abilist: Add __poll and __ppoll.
3693
ff9f1c5f
DM
36942012-04-05 David S. Miller <davem@davemloft.net>
3695
dcd2ae90
DM
3696 * scripts/check-local-headers.sh: Accept a host triplet in the
3697 path matched by the exclude regexp.
3698
993eb054
DM
3699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3700 definition.
3701 * sysdeps/powerpc/powerpc32/dl-machine.h
3702 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3703 * sysdeps/s390/s390-32/dl-machine.h
3704 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3705 * sysdeps/sparc/sparc32/dl-machine.h
3706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3707 * sysdeps/sparc/sparc64/dl-machine.h
3708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3709
ff9f1c5f
DM
3710 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3711 lazy binding.
48e2e132 3712 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3713 undefined symbol errors.
3714
48e2e132 3715 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3716 DT_NEEDED entries.
3717
e80d6f94
MM
37182012-04-05 Michael Matz <matz@suse.de>
3719
3720 [BZ #13592]
3721 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3722
349fa79f
AJ
37232012-04-05 Andreas Jaeger <aj@suse.de>
3724
3725 [BZ #13908]
3726 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3727 comment.
3728
f402708f
KK
37292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3730
3731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3732 which ROUND is no valid rounding mode.
3733
2ecccfc9
KK
37342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3735
3736 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3737 read again.
3738 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3739
8a53f50f
KK
37402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3741
3742 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3743 an exception using FPU order intentionally.
3744
37452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3746
3747 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3748 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3749 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3750 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3751
d653abb7
SJ
37522012-04-05 Simon Josefsson <simon@josefsson.org>
3753
3754 [BZ #12340]
3755 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3756 EINVAL when BUFLEN is too smal.
3757
c3b1bf7d
TS
37582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3759
3760 [BZ #13553]
3761 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3762 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3763
b1aa60f3
AJ
37642012-04-03 Andreas Jaeger <aj@suse.de>
3765
c3b1bf7d 3766 [BZ #13938]
67f60a26
AJ
3767 * manual/setjmp.texi (System V contexts): Fix sentence.
3768
b1aa60f3
AJ
3769 [BZ #13926]
3770 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3771 New macro for this case.
3772 [!__GNUC__] (__bswap_64): New inline function for this case.
3773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3774 * bits/byteswap.h: Likewise.
3775 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3776 ull, guard with __GLIBC_HAVE_LONG_LONG.
3777
3778 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3779 __GLIBC_HAVE_LONG_LONG.
3780
3781 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3782 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3783
39c59c35
TMQMF
37842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3785
3786 [BZ #13691]
3787 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3788 inptr and inend, rather than using last_ch.
3789
135ffda8
DM
37902012-04-02 David S. Miller <davem@davemloft.net>
3791
3792 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3793 * stdio-common/printf-parse.h (read_int): Change return type to
3794 'int', return -1 on INT_MAX overflow.
3795 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3796 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3797 overflows INT_MAX. Check for overflow of in-format-string precision
3798 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3799 SIZE_MAX not INT_MAX for integer overflow test.
3800 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3801 skip the construct in the format string but do not record anything.
3802 * stdio-common/bug22.c: Adjust to test both width/prevision
3803 INT_MAX overflow as well as total length INT_MAX overflow. Check
3804 explicitly for proper errno values.
3805
228c019e
TS
38062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3807
302cadd3
TS
3808 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3809 CHAR_MAX.
3810 * string/test-strcmp.c [! WIDE]: Likewise.
3811 * time/tst-mktime2.c: Likewise for INT_MAX.
3812 * string/test-string.h: #include <sys/param.h> for MIN.
3813
228c019e
TS
3814 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3815 * sysdeps/i386/init-first.c (init): Likewise.
3816 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3817 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3818 * sysdeps/sh/init-first.c (init): Likewise.
3819
cfa633f5
UD
38202012-04-01 Ulrich Drepper <drepper@gmail.com>
3821
3822 * po/ru.po: Update from translation team.
d1635ef8 3823 * po/vi.po: Likewise.
cfa633f5 3824
6cd0a5ea
SP
38252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3826
3827 * resolv/nss_dns/dns-host.c: Merge copyright years.
3828
4b43400f
LD
38292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3830
3831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3832 Optimize memcpy with prefetch if
3833 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3834 src, dst pointers have unequal 16 byte alignments.
3835
48c41d04
SP
38362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 [BZ #13928]
3839 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3840 from a CNAME entry and return the minimum ttl for the query.
3841 (gaih_getanswer_slice): Likewise.
3842
b8dc394d
JL
38432012-03-30 Jeff Law <law@redhat.com>
3844
3845 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3846 due to long keys.
3847 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3848 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3849
2f5a5ed0
JL
3850 * resolv/nss_dns/dns-host.c: Update copyright year.
3851
1d39e359
UD
38522012-03-30 Ulrich Drepper <drepper@gmail.com>
3853
c030f70c 3854 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3855 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3856
1d39e359
UD
3857 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3858 comments for sendmmsg.
3859
38602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3861
3862 [BZ #13691]
3863 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3864 with only 1 character between 0x0041 and 0x01b0.
3865 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3866 * wcsmbs/tst-mbsnrtowcs.c: New file.
3867
20fde227
DM
38682012-03-29 David S. Miller <davem@davemloft.net>
3869
3870 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3871 small copies by hand.
3872
984a4237
JL
38732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3874
3875 [BZ #13761]
3876 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3877 _nss_compat_initgroups_dyn): Fall back to malloc/free
3878 for large group memberships.
3879
18c9d62b
DM
38802012-03-28 David S. Miller <davem@davemloft.net>
3881
88d85d4f
DM
3882 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3883 that branches into memcpy.
3884 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3887 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3889 bits.
3890 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3891 implementation too.
3892 * sysdeps/sparc/mempcpy.S: New file.
3893
e5aa83e1
DM
3894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3895 the IFUNC routine in the libc case.
3896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3897
88570753
DM
3898 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3899 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3900 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3901 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3902 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3903 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3904 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3905 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3906
249d7567
DM
3907 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3908 loop to 256 bytes instead of 64 bytes and fix test signedness.
3909
18c9d62b
DM
3910 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3911 * sysdeps/sparc/sparc32/Makefile: rather than here...
3912 * sysdeps/sparc/sparc64/Makefile: and here.
3913
05f3d1f6
UD
39142012-03-28 Ulrich Drepper <drepper@gmail.com>
3915
3916 * malloc/mallocbug.c: Avoid warnings about unused variables.
3917
86ae07a8
JL
39182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
3920 [BZ #13760]
3921 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3922 in the right place. Discard and retry query if response is
3923 larger than input buffer size.
3924
41bf21a1
JM
39252012-03-28 Joseph Myers <joseph@codesourcery.com>
3926
d6270972
JM
3927 [BZ #369]
3928 [BZ #2678]
3929 [BZ #3866]
3930 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3931 x for large integer exponent.
3932 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3933 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3934 sign of result as needed afterwards.
3935 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3936 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3937 result for underflowing pow the same as for overflow.
3938 (__kernel_standard_l): Handle powl overflow and underflow here
3939 rather than calling __kernel_standard.
3940 * math/libm-test.inc (pow_test): Add more tests.
3941
414fca03 3942 [BZ #3868]
41bf21a1
JM
3943 [BZ #13879]
3944 [BZ #13910]
3945 [BZ #13911]
3946 [BZ #13912]
3947 [BZ #13913]
3948 [BZ #13915]
3949 [BZ #13916]
3950 [BZ #13917]
3951 [BZ #13918]
3952 [BZ #13919]
3953 [BZ #13920]
3954 [BZ #13921]
3955 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3956 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3957 (__kernel_standard_l): New function.
3958 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3959 __kernel_standard.
3960 * math/w_acosl.c (__acosl): Likewise.
3961 * math/w_asinl.c (__asinl): Likewise.
3962 * math/w_atan2l.c (__atan2l): Likewise.
3963 * math/w_atanhl.c (__atanhl): Likewise.
3964 * math/w_coshl.c (__coshl): Likewise.
3965 * math/w_exp10l.c (__exp10l): Likewise.
3966 * math/w_exp2l.c (__exp2l): Likewise.
3967 * math/w_fmodl.c (__fmodl): Likewise.
3968 * math/w_hypotl.c (__hypotl): Likewise.
3969 * math/w_j0l.c (__j0l, __y0l): Likewise.
3970 * math/w_j1l.c (__j1l, __y1l): Likewise.
3971 * math/w_jnl.c (__jnl, __ynl): Likewise.
3972 * math/w_lgammal.c (__lgammal): Likewise.
3973 * math/w_log10l.c (__log10l): Likewise.
3974 * math/w_log2l.c (__log2l): Likewise.
3975 * math/w_logl.c (__logl): Likewise.
3976 * math/w_powl.c (__powl): Likewise.
3977 * math/w_remainderl.c (__remainderl): Likewise.
3978 * math/w_scalbl.c (sysv_scalbl): Likewise.
3979 * math/w_sinhl.c (__sinhl): Likewise.
3980 * math/w_sqrtl.c (__sqrtl): Likewise.
3981 * math/w_tgammal.c (__tgammal): Likewise.
3982 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3983 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3984 * math/libm-test.inc (acos_test): Add more tests.
3985 (acosh_test): Likewise.
3986 (asin_test): Likewise.
3987 (atanh_test): Likewise.
3988 (exp_test): Likewise.
3989 (exp10_test): Likewise.
3990 (exp2_test): Likewise.
3991 (expm1_test): Likewise.
3992 (lgamma_test): Likewise.
3993 (log_test): Likewise.
3994 (log10_test): Likewise.
3995 (log1p_test): Likewise.
3996 (log2_test): Likewise.
3997 (pow_test): Do not allow some spurious overflow exceptions.
3998 (sqrt_test): Add more tests.
3999 (tgamma_test): Likewise.
4000 (y0_test): Likewise.
4001 (y1_test): Likewise.
4002 (yn_test): Likewise.
4003
dd62fda6
AB
40042012-03-27 Anton Blanchard <anton@samba.org>
4005
4006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4007 MAP_HUGETLB.
4008 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4011
1e3cdfda
AJ
40122012-03-27 David S. Miller <davem@davemloft.net>
4013
b855ab85
DM
4014 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4015
1e3cdfda
AJ
4016 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4017 have-as-vis3 check.
4018
40192012-03-27 Andreas Jaeger <aj@suse.de>
4020
4021 * sysdeps/x86_64/elf/configure.in: Moved to ...
4022 * sysdeps/x86_64/configure.in: ... here.
4023 * sysdeps/x86_64/elf/start.S: Moved to ...
4024 * sysdeps/x86_64/start.S: ... here.
4025 * sysdeps/x86_64/elf/configure: Delete.
4026
4027 * sysdeps/x86_64/configure.in: Merge contents from
4028 sysdeps/i386/configure.in (without i686 check).
4029
4030 * sysdeps/i386/elf/Versions: Merge into ...
4031 * sysdeps/i386/Versions: ... this.
4032 * sysdeps/i386/elf/Versions: Delete file.
4033 * sysdeps/i386/elf/start.S: Moved to ...
4034 * sysdeps/i386/start.S: ...here.
4035 * sysdeps/i386/elf/configure.in: Merge into...
4036 * sysdeps/i386/configure.in: ...here.
4037 * sysdeps/i386/elf/configure.in: Delete file.
4038 * sysdeps/i386/elf/configure: Delete file.
4039
4040 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4041 * debug/backtracesyms.c: ... here.
4042 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4043 * debug/backtracesymsfd.c: ... here.
4044 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4045 * sysdeps/generic/ifunc-sel.h: ... here.
4046
4047 * sysdeps/unix/i386/start.c: Delete file.
4048 * sysdeps/unix/sparc/start.c: Delete file.
4049 * sysdeps/unix/start.c: Delete file.
4050
4051 * sysdeps/sh/elf/configure.in: Moved to ...
4052 * sysdeps/sh/configure.in: ... here.
4053 * sysdeps/sh/elf/start.S: Moved to ...
4054 * sysdeps/sh/start.S: ... here.
4055 * sysdeps/sh/elf/configure: Delete file.
4056
4057 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4058 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4059 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4060 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4061 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4062 * sysdeps/powerpc/powerpc64/start.S: here.
4063 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4064 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4065 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4066 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4067 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4068
4069 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4070 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4071 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4072 * sysdeps/powerpc/powerpc32/start.S: ... here.
4073 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4074 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4075 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4076
4077 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4078 * sysdeps/powerpc/ifunc-sel.h: ... here.
4079 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4080 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4081
4082 * sysdeps/sparc/elf/configure.in: Moved to ...
4083 * sysdeps/sparc/configure.in: ... here.
4084 * sysdeps/sparc/elf/configure: Delete file.
4085 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4086 * sysdeps/sparc/sparc32/start.S: ... here.
4087 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4088 * sysdeps/sparc/sparc64/start.S: ... here.
4089 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4090 * sysdeps/sparc/sparc32/Makefile: ... this.
4091 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4092 * sysdeps/sparc/sparc64/Makefile: ... this.
4093
4094 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4095 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4096 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4097 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4098 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4099 * sysdeps/s390/s390-32/setjmp.S: ... here.
4100 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4101 * sysdeps/s390/s390-32/configure.in: ... here.
4102 * sysdeps/s390/s390-32/elf/configure: Delete file.
4103 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4104 * sysdeps/s390/s390-32/start.S: ... here.
4105
4106 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4107 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4108 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4109 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4110 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4111 * sysdeps/s390/s390-64/setjmp.S: ... here.
4112 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4113 * sysdeps/s390/s390-64/configure.in: ... here
4114 * sysdeps/s390/s390-64/elf/configure: Delete file.
4115 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4116 * sysdeps/s390/s390-64/start.S: ... here.
4117 * sysdeps/s390/s390-64/elf/configure: Delete.
4118
4119 * configure.in: Remove support for elf directories in sysdeps.
4120
4121 * configure: Regenerated.
4122 * sysdeps/i386/configure: Regenerated.
4123 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4124 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4125 * sysdeps/s390/s390-32/configure: Regenerated.
4126 * sysdeps/s390/s390-64/configure: Regenerated.
4127 * sysdeps/sh/configure: Regenerated.
4128 * sysdeps/sparc/configure: Regenerated.
4129 * sysdeps/x86_64/configure: Regenerated.
4130
a3f61311
AS
41312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4132
c876e002
AS
4133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4134
a3f61311
AS
4135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4136 denormal result into account.
4137
ac4c54f0
RM
41382012-03-25 Roland McGrath <roland@hack.frob.com>
4139
4140 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4141 Reported by Allan McRae <allan@archlinux.org>.
4142
6a9b9c02
JL
41432012-03-23 Jeff Law <law@redhat.com>
4144
4145 * nss/getnssent.c (__nss_getent): Fix typo.
4146
4c42a0c1
DM
41472012-03-23 David S. Miller <davem@davemloft.net>
4148
4149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4150
1532c7ac
L
41512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4152
4153 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4154 to pad to uint64_t for each field.
4155 (dl_tls_index): Replace unsigned long with uint64_t.
4156
3ff42526
PP
41572012-03-23 Daniel Jacobowitz <dmj@google.com>
4158 Paul Pluzhnikov <ppluzhnikov@google.com>
4159
4160 [BZ #6528]
4161 * grp/Makefile (otherlibs): Don't set it.
4162 * inet/Makefile (otherlibs): Likewise.
4163 * login/Makefile (otherlibs): Likewise.
4164 * nscd/Makefile (otherlibs): Likewise.
4165 * posix/Makefile (otherlibs): Likewise.
4166 * pwd/Makefile (otherlibs): Likewise.
4167 * rt/Makefile (otherlibs): Likewise.
4168 * sunrpc/Makefile (otherlibs): Likewise.
4169 * nss/Makefile (otherlibs): Likewise.
4170 Add libnss_files to routines and static-only-routines.
4171 ($(objpfx)getent): Remove rule.
4172 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4173 static-only-routines.
4174
7c69cd14
JM
41752012-03-22 Joseph Myers <joseph@codesourcery.com>
4176
4177 [BZ #13892]
4178 * math/s_cexp.c: Include <float.h>.
4179 (__cexp): Handle exp result overflowing not necessarily
4180 overflowing both real and imaginary parts of result.
4181 * math/s_cexpf.c: Likewise.
4182 * math/s_cexpl.c: Likewise.
4183 * math/libm-test.inc (cexp_test): Add more tests.
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4186
81b035fe
L
41872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * include/link.h (ELFW): New macro.
4190 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4191 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4192
1da7940c
L
41932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4194
4195 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4196 with uint64_t.
4197
b749dbb9
L
41982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4199
4200 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4201 declaration.
4202 (struct La_x32_retval): Likewise.
4203
2ff87f3f
L
42042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4205
4206 * sysdeps/x86_64/preconfigure.in: New file.
4207 * sysdeps/x86_64/preconfigure: New generated file.
4208
c0df8e69
JM
42092012-03-22 Joseph Myers <joseph@codesourcery.com>
4210
48e44791
JM
4211 [BZ #13824]
4212 * math/e_exp2l.c: Include <float.h>.
4213 (__ieee754_exp2l): Handle overflow and underflow cases
4214 separately. Only pass fractional part of argument to
4215 __ieee754_expl.
4216 * math/libm-test.inc (exp2_test): Add more tests.
4217
c0df8e69
JM
4218 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4219 negating x to take absolute value.
4220 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4221 Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4223 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4224 Likewise.
4225 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4226 computing low part if x was negated.
4227 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4228
c8e43ba7
L
42292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4232 la_x32_gnu_pltexit.
4233 (pltexit): Cast int_retval to ptrdiff_t.
4234 * elf/tst-auditmod3b.c: Likewise.
4235 * elf/tst-auditmod4b.c: Likewise.
4236 * elf/tst-auditmod5b.c: Likewise.
4237 * elf/tst-auditmod6b.c: Likewise.
4238 * elf/tst-auditmod6c.c: Likewise.
4239 * elf/tst-auditmod7b.c: Likewise.
4240
4241 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4242 and x32_gnu_pltexit.
4243
4244 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4245 __ELF_NATIVE_CLASS.
4246 (La_x32_regs): New macro.
4247 (La_x32_retval): Likewise.
4248 (la_x32_gnu_pltenter): New function prototype.
4249 (la_x32_gnu_pltexit): Likewise.
4250
7998fa78
AS
42512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4252
dcb33988
AS
4253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4254 exponent.
4255
233fc563
AS
4256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4257
7998fa78
AS
4258 * configure.in (libc_cv_cc_nofma): Check for option to disable
4259 generation of FMA instructions.
4260 * configure: Regenerate.
4261 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4262 * sysdeps/ieee754/dbl-64/Makefile: New file.
4263 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4264 Remove brandred-fma4.
4265 (CFLAGS-brandred-fma4.c): Remove.
4266 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4268 define.
4269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4270 define.
4271
8e95c99a
L
42722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4275 LLONG_MAX != LONG_MAX.
4276 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4277 (_fitoa_word): Likewise.
4278 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4279 LLONG_MAX != LONG_MAX.
4280 * stdio-common/_itowa.h: Include <_itoa.h>.
4281 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4282 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4283 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4284 only if not defined.
4285 (_ITOA_WORD_TYPE): Likewise.
4286 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4287 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4288
6f4db457
DM
42892012-03-21 David S. Miller <davem@davemloft.net>
4290
4291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4292
7785fe5a
L
42932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4296 of x86_64 when setting libc_cv_slibdir, libdir and
4297 libc_cv_localedir.
4298 * sysdeps/unix/sysv/linux/configure: Regenerated.
4299
4535cd55
JM
43002012-03-21 Joseph Myers <joseph@codesourcery.com>
4301
4302 * manual/lang.texi (Old Varargs): Remove section.
4303 (How Variadic): Update menu.
4304 (va_start): Do not mention varargs.h.
4305
17228132
TS
43062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4307 Joseph Myers <joseph@codesourcery.com>
4308
4309 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4310 link test.
4311 * configure: Regenerated.
4312
8149f976
TS
43132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4314
05f3d1f6
UD
4315 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4316 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4317 conformtest.pl
8149f976 4318
1a4ac776
JM
43192012-03-21 Joseph Myers <joseph@codesourcery.com>
4320
be22ce65
JM
4321 * NOTES: Remove.
4322 * Makefile (files-for-dist): Remove NOTES.
4323 (NOTES): Remove rule.
4324 * README: Don't refer to NOTES.
4325 * manual/creature.texi: Don't include macros.texi.
4326 * manual/intro.texi (creature.texi): Remove comment referring to
4327 NOTES.
4328
40b601fb
JM
4329 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4330 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4331 * configure: Regenerated.
4332 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4333 LIBC_TRY_CC_OPTION.
4334 (libc_cv_as_i686): Likewise.
4335 (libc_cv_cc_avx): Likewise.
4336 (libc_cv_cc_sse2avx): Likewise.
4337 (libc_cv_cc_fma4): Likewise.
4338 (libc_cv_cc_novzeroupper): Likewise.
4339 * sysdeps/i386/configure: Regenerated.
4340
1a4ac776
JM
4341 [BZ #13883]
4342 * sysdeps/i386/fpu/s_cexp.S: Remove.
4343 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4344 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4345 * math/libm-test.inc (cexp_test): Add more tests.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4348
a458e7fe
AM
43492012-03-21 Allan McRae <allan@archlinux.org>
4350
4351 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4352
0cb7efc5
JM
43532012-03-21 Joseph Myers <joseph@codesourcery.com>
4354
4355 [BZ #13871]
4356 * math/w_exp2.c: Do not include <float.h>.
4357 (o_threshold, u_threshold): Remove.
4358 (__exp2): Calculate result before checking finiteness and calling
4359 __kernel_standard.
4360 * math/w_exp2f.c: Likewise.
4361 * math/w_exp2l.c: Likewise.
4362 * math/libm-test.inc (exp2_test): Require overflow exception for
4363 1e6 input.
2460d3aa
JM
4364
4365 [BZ #3866]
4366 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4367 range of signed 64-bit integers before using fistpll. Remove
4368 checks for whether integers fit in mantissa bits.
4369 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4370 the range of signed 32-bit integers before using fistpl. Remove
4371 checks for whether integers fit in mantissa bits.
4372 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4373 (__ieee754_powl): Test for y outside the range of signed 64-bit
4374 integers before using fistpll. Reduce 64-bit values to 63-bit
4375 ones as needed.
4376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4377 divide-by-zero is raised for zero to large negative powers.
4378 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4379 (__ieee754_powl): Test for y outside the range of signed 64-bit
4380 integers before using fistpll. Reduce 64-bit values to 63-bit
4381 ones as needed.
4382 * math/libm-test.inc (pow_test): Add more tests.
4383
eb96ffb0
L
43842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4385
4386 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4387 <stdio-common/_itoa.h>.
4388 * debug/segfault.c: Likewise.
4389 * elf/dl-cache.c: Likewise.
4390 * elf/dl-minimal.c: Likewise.
4391 * elf/dl-misc.c: Likewise.
4392 * elf/dl-sysdep.c: Likewise.
4393 * elf/dl-version.c: Likewise.
4394 * elf/rtld.c: Likewise.
4395 * hurd/hurdsock.c: Likewise.
4396 * hurd/lookup-retry.c: Likewise.
4397 * malloc/malloc.c: Likewise.
4398 * malloc/mtrace.c: Likewise.
4399 * nscd/nscd_getgr_r.c: Likewise.
4400 * nscd/nscd_getpw_r.c: Likewise.
4401 * nscd/nscd_getserv_r.c: Likewise.
4402 * posix/getopt_init.c: Likewise.
4403 * posix/wordexp.c: Likewise.
4404 * stdio-common/_itoa.c: Likewise.
4405 * stdio-common/printf_fphex.c: Likewise.
4406 * stdio-common/vfprintf.c: Likewise.
4407 * string/_strerror.c: Likewise.
4408 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4409 * sysdeps/i386/i686/hp-timing.h: Likewise.
4410 * sysdeps/mach/_strerror.c: Likewise.
4411 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4412 * sysdeps/mach/hurd/sethostid.c: Likewise.
4413 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4414 * sysdeps/mach/xpg-strerror.c: Likewise.
4415 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4417 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4418 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4419 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4420 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4421 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4422 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4423 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4424 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4425 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4426 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4427 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4433 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4434 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4436
4437 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4438
4439 * stdio-common/_itoa.h: Moved to ...
4440 * sysdeps/generic/_itoa.h: Here.
4441
4442 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4443
4444 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4445 instead of "_itoa.h" and "_itowa.h".
4446 * stdio-common/vfprintf.: Likewise.
4447
d1af992d
L
44482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4449
4450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4451 <bits/wordsize.h>.
4452 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4453 (__signbit): Likwise.
4454 (llrintf): Likwise.
4455 (llrint): Likwise.
4456
114883e0
L
44572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4460 __WORDSIZE != 64.
4461
c135cc1b
JM
44622012-03-20 Joseph Myers <joseph@codesourcery.com>
4463
4464 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4465 OVERFLOW_EXCEPTION_OK.
4466 * math/libm-test.inc ("Philosophy"): Update comment about
4467 exception testing.
4468 (OVERFLOW_EXCEPTION): Define.
4469 (OVERFLOW_EXCEPTION_OK): Likewise.
4470 (INVALID_EXCEPTION_OK): Renumber.
4471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4472 (IGNORE_ZERO_INF_SIGN): Likewise.
4473 (test_exceptions): Handle FE_OVERFLOW.
4474 (exp10_test): Expect overflow exceptions.
4475 (exp2_test): Likewise.
4476 (expm1_test): Likewise.
4477 (nextafter_test): Likewise.
4478 (pow_test): Likewise.
4479 (scalbn_test): Likewise.
4480 (scalbln_test): Likewise.
4481
95443d88
L
44822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * sysdeps/x86_64/bits/atomic.h
4485 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4486 64bit integer.
4487 (atomic_exchange_acq): Likewise.
4488 (__arch_exchange_and_add_body): Likewise.
4489 (__arch_add_body): Likewise.
4490 (atomic_add_negative): Likewise.
4491 (atomic_add_zero): Likewise.
4492
490df6c4
L
44932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4494
c2722551 4495 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4496 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4497
5e52b189
L
44982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4501 Check __x86_64__ instead of __WORDSIZE.
4502
a9879d4c
L
45032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4506
5df98260
DM
45072012-03-19 David S. Miller <davem@davemloft.net>
4508
e1497744
DM
4509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4510
5df98260
DM
4511 * sysdeps/sparc/fpu/fenv_private.h: New file.
4512 * sysdeps/sparc/fpu/math_private.h: Use it.
4513 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4514 Remove.
4515 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4516 (libc_feholdexcept_setroundl): Remove.
4517 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4518 Remove.
4519 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4520 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4521
b4c35121
L
45222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4525 int64_t instead of long int.
4526 (INSERT_WORDS64): Likwise.
4527
56965fd7
L
45282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4529
4530 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4531 _Unwind_GetCFA return to _Unwind_Ptr first.
4532
83d1aec8
JM
45332012-03-19 Joseph Myers <joseph@codesourcery.com>
4534
1897ad44
JM
4535 [BZ #13629]
4536 * math/s_clog.c: Include <float.h>.
4537 (__clog): Scale large or subnormal inputs.
4538 * math/s_clogf.c: Likewise.
4539 * math/s_clogl.c: Likewise.
4540 * math/s_clog10.c: Include <float.h>.
4541 (M_LOG10_2): Define.
4542 (__clog10): Scale large or subnormal inputs.
4543 * math/s_clog10f.c: Likewise.
4544 * math/s_clog10l.c: Likewise.
4545 * math/libm-test.inc (clog_test): Add more tests.
4546 (clog10_test): Likewise.
4547 * sysdeps/i386/fpu/libm-test-ulps: Update.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4549
7726d6a9
JM
4550 [BZ #11451]
4551 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4552 x and y.
4553 * math/libm-test.inc (atan2_test): Add another test.
4554
83d1aec8
JM
4555 * Makerules (common-objdir-compile): Remove.
4556 * sysdeps/unix/Makefile (config-generated): Do not add
4557 $(unix-generated) to variable.
4558 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4559 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4560 Remove rule.
4561 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4562 Likewise.
4563 [generic bits/local_lim.h] (before-compile): Do not append to
4564 variable.
4565 [generic bits/local_lim.h] (common-generated): Likewise.
4566 [generic sys/param.h] (before-compile): Do not append to variable.
4567 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4568 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4569 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4570 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4571 include.
4572 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4573 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4574 [generic sys/param.h] ($(addprefix
4575 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4576 [generic sys/param.h] (common-generated): Do not append to
4577 variable.
4578 [generic sys/param.h] (sysdep_headers): Likewise.
4579 [generic bits/errno.h] (before-compile): Do not append to
4580 variable.
4581 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4582 rule.
4583 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4584 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4585 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4586 [generic bits/errno.h] (common-generated): Do not append to
4587 variable.
4588 [generic bits/ioctls.h] (before-compile): Do not append to
4589 variable.
4590 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4591 rule.
4592 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4593 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4594 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4595 rule.
4596 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4597 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4598 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4599 [generic bits/ioctls.h] (common-generated): Do not append to
4600 variable.
4601 [generic sys/syscall.h] (syscall.h): Remove variable.
4602 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4603 rule.
4604 [generic sys/syscall.h] (before-compile): Do not append to
4605 variable.
4606 [generic sys/syscall.h] (common-generated): Likewise.
4607 * sysdeps/unix/errnos-tmpl.c: Remove file.
4608 * sysdeps/unix/errnos.awk: Likewise.
4609 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4610 * sysdeps/unix/ioctls.awk: Likewise.
4611 * sysdeps/unix/mk-local_lim.c: Likewise.
4612 * sysdeps/unix/snarf-ioctls: Likewise.
4613
4851a949
RH
46142012-03-19 Richard Henderson <rth@twiddle.net>
4615
bd37f2ee
RH
4616 * sysdeps/i386/fpu/fenv_private.h: New file.
4617 * sysdeps/i386/fpu/math_private.h: Use it.
4618 (math_opt_barrier, math_force_eval): Remove.
4619 (libc_feholdexcept_setround_53bit): Remove.
4620 (libc_feupdateenv_53bit): Remove.
4621 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4622 (math_opt_barrier, math_force_eval): Remove.
4623 (libc_feholdexcept): Remove.
4624 (libc_feholdexcept_setround): Remove.
4625 (libc_fetestexcept, libc_fesetenv): Remove.
4626 (libc_feupdateenv_test): Remove.
4627 (libc_feupdateenv, libc_feholdsetround): Remove.
4628 (libc_feresetround): Remove.
4629
d0adc922
RH
4630 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4631 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4632
0fe0f1f8
RH
4633 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4634 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4635 (libc_feupdateenv_testl): New.
4636 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4637 (libc_feupdateenv_testf): New.
4638 (libc_feupdateenv): Use libc_feupdateenv_test.
4639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4641
eb92c487
RH
4642 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4643 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4644 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4645 (libc_feresetround_noex): New.
4646 (libc_feresetround_noexf): New.
4647 (libc_feresetround_noexl): New.
4648 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4649 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4650 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4651 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4652 SET_RESTORE_ROUND.
4653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4655 (__cos): Likewise.
4656 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4657 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4658 SET_RESTORE_ROUND_NOEX.
4659 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4660 SET_RESTORE_ROUND_NOEXF.
4661 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4662 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4663 (libc_feholdsetroundf): New.
4664 (libc_feresetround, libc_feresetroundf): New.
4665
7d2e8012
RH
4666 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4667 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4668 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4669
b4dabbb4
RH
4670 * sysdeps/generic/math_private.h: Include <fenv.h>.
4671 (default_libc_feholdexcept): New.
4672 (default_libc_feholdexcept_setround): New.
4673 (default_libc_fesetenv, default_libc_feupdateenv): New.
4674 (libc_feholdexcept): Only define if undefined.
4675 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4676 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4677 (libc_feholdexcept_setroundl): Likewise.
4678 (libc_feholdexcept_setround_53bit): Likewise.
4679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4680 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4681 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4682 (libc_feupdateenv_53bit): Likewise.
4683 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4684 (libc_feholdexcept): Convert from macro to inline function.
4685 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4686 (libc_fesetenv, libc_feupdateenv): Likewise.
4687
4851a949
RH
4688 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4689 not previously defined.
4690 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4691 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4692 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4693 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4694 * sysdeps/ieee754/flt-32/math_private.h: New file.
4695 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4696 math_private.h below SET_FLOAT_WORD.
4697 (__isnan, __isinf_ns, __finite): Remove.
4698 (__isnanf, __isinf_nsf, __finitef): Remove.
4699
e79d442e
AS
47002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4701
4702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4703
90b80344
DM
47042012-03-17 David S. Miller <davem@davemloft.net>
4705
4706 [BZ #6471]
4707 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4708 for 2.16.
4709
edc21804
DM
47102012-03-16 David S. Miller <davem@davemloft.net>
4711
77e927af
DM
4712 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4713 warnings.
4714
374976dd
DM
4715 [BZ #6471]
4716 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4717 properly.
4718 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4719 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4720 sysdep_routines when subdir is sysvipc.
4721 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4722 __getshmlba helper.
4723
edc21804
DM
4724 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4725
473c3ef3
L
47262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4727
4728 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4729 [__LP64__].
4730
eb0f39b6
L
47312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4734 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4735 (__lround): Renamed to ...
4736 (__llround): This. Replace long int with long long int.
4737 Define lround functions as aliases of llround functions.
4738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4739
6b6cd74b
L
47402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4741
4742 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4743 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4744 adresses to uintptr_t. Replace "long int" and "unsigned long
4745 int" with "greg_t" on va_arg.
4746
f1a77b01
L
47472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4750 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4751
4752 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4753 Move e_machine check before EI_CLASS check. Handle x32
4754 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4755 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4756 SKIP_EM_IA_64 and include
4757 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4758
4759 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4760 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4761 (add_system_dir): New macro.
4762
4763 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4764 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4765
11b90b9f
JM
47662012-03-16 Joseph Myers <joseph@codesourcery.com>
4767
c36e1d23
JM
4768 [BZ #2551]
4769 [BZ #2552]
4770 [BZ #2553]
4771 [BZ #2554]
4772 [BZ #2562]
4773 [BZ #2563]
4774 [BZ #2565]
4775 [BZ #2566]
4776 [BZ #2576]
4777 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4778 (y0): Likewise.
4779 * math/w_j0f.c (j0f): Likewise.
4780 (y0f): Likewise.
4781 * math/w_j0l.c (__j0l): Likewise.
4782 (__y0l): Likewise.
4783 * math/w_j1.c (j1): Likewise.
4784 (y1): Likewise.
4785 * math/w_j1f.c (j1f): Likewise.
4786 (y1f): Likewise.
4787 * math/w_j1l.c (__j1l): Likewise.
4788 (__y1l): Likewise.
4789 * math/w_jn.c (jn): Likewise.
4790 (yn): Likewise.
4791 * math/w_jnf.c (jnf): Likewise.
4792 (ynf): Likewise.
4793 * math/w_jnl.c (__jnl): Likewise.
4794 (__ynl): Likewise.
4795 * math/libm-test.inc (j0_test): Add more tests.
4796 (j1_test): Likewise.
4797 (jn_test): Likewise. Add trailing semicolon to existing test.
4798 (y0_test): Likewise.
4799 (y1_test): Likewise.
4800 * sysdeps/i386/fpu/libm-test-ulps: Update.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4802
11b90b9f
JM
4803 [BZ #13851]
4804 [BZ #13854]
4805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4806 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4807 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4808 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4809 (__tanl): Set errno for infinite argument.
4810 * sysdeps/i386/fpu/mptan.c: Remove.
4811 * sysdeps/i386/fpu/s_tan.S: Likewise.
4812 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4813 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4814 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4815 * math/libm-test.inc (tan_test): Add more tests and enable more
4816 tests for double and long double.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
6a1bd2a1
JK
48202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4823 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4824
10a803e0
RM
48252012-03-16 Roland McGrath <roland@hack.frob.com>
4826
4827 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4828 * configure.in: Use it for both main tree and add-ons.
4829 * configure: Regenerated.
4830
f196c7f7
L
48312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4834
8848d99d
JM
48352012-03-16 Joseph Myers <joseph@codesourcery.com>
4836
96cbe7f4
JM
4837 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4838 in comment.
4839
8848d99d
JM
4840 [BZ #13851]
4841 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4842 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4846 infinite argument.
4847 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4849 != 0 for prec == 2.
4850 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4851 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4852 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4853 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4854 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4855 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4856 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4857 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4858 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4859 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4860 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4861 * math/libm-test.inc (cos_test): Add more tests and enable more
4862 tests for long double.
4863 (sin_test): Likewise.
4864 (sincos_test): Likewise.
4865 * sysdeps/i386/fpu/libm-test-ulps: Update.
4866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867
dd7f4703
DM
48682012-03-16 David S. Miller <davem@davemloft.net>
4869
4870 * sysdeps/sparc/fpu/math_private.h: New file.
4871
006f1daa
DM
48722012-03-15 David S. Miller <davem@davemloft.net>
4873
c0c83bc8
DM
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4875 file.
e6a62e18 4876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4878 file.
e6a62e18
DM
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4885 sysdep routines.
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4887
88cb87d9
DM
4888 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4889 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4890
006f1daa 4891 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4893 sparc-ifunc.h
006f1daa 4894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4896 Likewise.
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4898 Likewise.
006f1daa
DM
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4903 Likewise.
006f1daa
DM
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4909 Likewise.
4910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4911 Likewise.
006f1daa
DM
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4936
11e0098e
AS
49372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4938
4939 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4940 scaling.
4941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4942
e85b09d0
AJ
49432012-03-15 Andreas Jaeger <aj@suse.de>
4944
4945 [BZ #13852]
4946 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4947 ieee754/flt-32 implementation for sin, cos and sincos.
4948 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4949 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4950 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4951 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4952 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4953 ieee754/flt-32 implementation for tan.
4954
4955 * math/libm-test.inc (cos_test): Enable some large input tests for
4956 float as well
4957 (sin_test): Likewise.
4958 (sincos_test): Likewise.
4959 (tan_test): Add tests for large input.
4960
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4962
81c64153
AJ
49632012-03-15 Andreas Jaeger <aj@suse.de>
4964
4965 [BZ #13658]
4966 * math/libm-test.inc (cos_test): Add more test cases.
4967 (sin_test): Likewise.
4968 (sincos_test): Likewise.
4969
7bbfa5c6
AJ
49702012-03-15 Andreas Jaeger <aj@suse.de>
4971
4972 [BZ #13837]
4973 * math/libm-test.inc (cos_test): Add a test case for large input
4974 value.
4975 (sin_test): Likewise.
4976 (sincos_test): Likewise.
4977
49782012-03-15 Andreas Jaeger <aj@suse.de>,
4979 Joseph Myers <joseph@codesourcery.com>
4980
4981 [BZ #13658]
0671f479 4982 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4983 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4984 * sysdeps/i386/fpu/branred.c: Likewise.
4985 * sysdeps/i386/fpu/dosincos.c: Likewise.
4986 * sysdeps/i386/fpu/mpa.c: Likewise.
4987 * sysdeps/i386/fpu/s_cos.S: Likewise.
4988 * sysdeps/i386/fpu/s_sin.S: Likewise.
4989 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4990 * sysdeps/i386/fpu/sincos32.c: Likewise.
4991
4992 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4993 Define.
4994 (libc_feupdateenv_53bit): Define.
4995 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4996 Define.
4997 (libc_feupdateenv_53bit): Define.
4998
4999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5000 53 bit (without extend i386 double precision).
5001
5002 * math/libm-test.inc (sincos_test): Add tests for large input.
5003 (sin): Likewise.
5004 (cos): Likewise.
5005
5006 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5007
9cad04ea
AS
50082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5009
5010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5011
f7062b9a
DM
50122012-03-15 David S. Miller <davem@davemloft.net>
5013
5014 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5015 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5016 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5017 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5030 file.
f7062b9a 5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5033 file.
f7062b9a 5034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5036 file.
f7062b9a 5037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5039 file.
f7062b9a
DM
5040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5042 fmin/fmax sysdep routines.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5044
7bd951ff
DM
50452012-03-14 David S. Miller <davem@davemloft.net>
5046
559398ab
DM
5047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5076 routines.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5078 file.
559398ab 5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5081 file.
559398ab 5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5084 file.
559398ab 5085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5087 file.
559398ab 5088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5090 file.
559398ab 5091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5093 file.
5094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5095 file.
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5097 file.
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5099 file.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5101 New file.
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5103 file.
5104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5105 file.
559398ab 5106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5108 file.
559398ab 5109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5111 file.
559398ab 5112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5114 file.
559398ab 5115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5117 VIS3 routines.
559398ab
DM
5118
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5120 New file.
5121
5a1c1e32
DM
5122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5123
eae47a36
DM
5124 * sysdeps/sparc/configure.in: New file.
5125 * sysdeps/sparc/configure: Generate.
5126 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5127 * configure: Regenerate.
5128 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5129 * config.make.in (have-as-vis3): New.
5130 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5131 available use -Av9d instead of -Av9a.
5132 * sysdeps/sparc/sparc64/Makefile: Likewise.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5135 New file.
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5137 file.
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5139 New file.
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5141 file.
eae47a36
DM
5142 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5147
c0c83bc8
DM
5148 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5149 fzeros/fnegs to load 0x80000000 into a float register instead of
5150 using the stack.
7bd951ff
DM
5151 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5152
bd951ccb
JM
51532012-03-14 Joseph Myers <joseph@codesourcery.com>
5154
5155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5156 bits/syscall.h.
5157 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5158 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5159 ($(inst_includedir)/bits/syscall.h): Remove rule.
5160 ($(objpfx)bits/syscall.d): Include instead of
5161 $(objpfx)syscall-list.d.
5162 (generated): Change syscall-list.h and syscall-list.d to
5163 bits/syscall.h and bits/syscall.d.
5164
bb4e6db2
RM
51652012-03-14 Roland McGrath <roland@hack.frob.com>
5166
5167 [BZ #13846]
5168 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5169
aa4a2ae1
JM
51702012-03-14 Joseph Myers <joseph@codesourcery.com>
5171
e456826d
JM
5172 [BZ #13841]
5173 * math/s_csqrt.c: Include <float.h>.
5174 (__csqrt): Scale large or subnormal inputs.
5175 * math/s_csqrtf.c: Likewise.
5176 * math/s_csqrtl.c: Likewise.
5177 * math/libm-test.inc (csqrt_test): Add more tests.
5178 * sysdeps/i386/fpu/libm-test-ulps: Update.
5179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180
aa4a2ae1
JM
5181 [BZ #13840]
5182 * math/libm-test.inc (hypot_test): Add more tests.
5183
7c10fd35
DM
51842012-03-13 David S. Miller <davem@davemloft.net>
5185
5186 [BZ #13840]
5187 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5188 double-precision for the calculation instead of scaling.
5189
f453b98b
JM
51902012-03-13 Joseph Myers <joseph@codesourcery.com>
5191
5192 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5193 manipulate bits before adding and subtracting TWO52[sx].
5194 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5195 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5196 Likewise.
5197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5198
09a3453f
DM
51992012-03-13 David S. Miller <davem@davemloft.net>
5200
8e59da90
DM
5201 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5202 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5204 rtld-global-offsets.h
5205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5206
2a8ab7f2
DM
5207 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5208 large parameters.
5209
10f62770
DM
5210 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5211
5f0bdb18
DM
5212 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5213 'err' in the ifdef scope in which it is actually used.
5214
09a3453f
DM
5215 * nss/nss_db/db-init.c: Include string.h
5216
b4b2eb5e
DM
52172012-03-12 David S. Miller <davem@davemloft.net>
5218
98bb2f1c
DM
5219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5220 masking out of the most significant byte of random value used.
5221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5222 Fix coding style in previous change.
5223
b4b2eb5e
DM
5224 * sysdeps/unix/sysv/linux/kernel-features.h
5225 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5226 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5227 expression.
5228 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5229 later.
5230
6e226b09
DM
52312012-03-11 David S. Miller <davem@davemloft.net>
5232
a1bcbd40
DM
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5234 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5235 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5236 for 'resultvar' otherwise things get truncated on 64-bit.
5237
cb9d6174
DM
5238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5239 Fix masking out of the most significant byte of random value used.
5240
6e226b09
DM
5241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5242
058c132d
AS
52432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5246
2d2cd515
DM
52472012-03-09 David S. Miller <davem@davemloft.net>
5248
5249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5250 variables with appropriate CPP guards.
5251 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5252 frame pointer, not the stack pointer. Correct layout comments. Fix test
5253 on resulting framesize and the management of the outregs buffer for pltexit.
5254 Preserve floating point return values across _dl_call_pltexit call.
5255 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5256 framesize and the management of the outregs buffer for pltexit.
5257 Preserve floating point return values across _dl_call_pltexit
5258 call.
5259 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5260 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5261 (print_exit): Fix format string for return register value.
5262
9a07f9d0
JM
52632012-03-10 Joseph Myers <joseph@codesourcery.com>
5264
5265 * sunrpc/Makefile (others): Add rpcgen.
5266 ($(objpfx)rpcgen): Remove special build rule and dependency on
5267 libc.
5268 * sunrpc/rpcgen.c: New file.
5269
547b5e30
PE
52702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5271
c524201a
PE
5272 [BZ #13673]
5273 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5274 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5275 * sysdeps/i386/crti.S: Likewise.
5276 * sysdeps/i386/crtn.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5279 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5280 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5281 * sysdeps/sh/crti.S: Likewise.
5282 * sysdeps/sh/crtn.S: Likewise.
5283 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5284
7b6235f2
PE
5285 [BZ #13673]
5286 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5287 with URL.
5288 * locale/programs/locfile-kw.gperf: Likewise.
5289 * locale/programs/charmap-kw.h: Regenerated.
5290 * locale/programs/locfile-kw.h: Likewise.
5291
547b5e30
PE
5292 [BZ #13673]
5293 * intl/plural.y: Replace FSF snail mail address with URL.
5294 * intl/plural.c: Regenerated.
5295
5f0a5dae
RH
52962012-03-09 Richard Henderson <rth@twiddle.net>
5297
5298 * include/math_private.h: Remove file.
5299 * math/math_private.h: Move file ...
5300 * sysdeps/generic/math_private.h: ... here.
5301
b8c03620
RH
5302 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5303 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5304 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5305
4e234f5d 5306 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5307 and <math_private.h>.
5308 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5309 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5310 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5311 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5312 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5396 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5399 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5402 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5403 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5404 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5405 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5408 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5409 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5410 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5411 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5412 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5413 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5415 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5418 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5419 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5429 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5457 * sysdeps/ieee754/k_standard.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5577 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5580 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5618 * sysdeps/ieee754/s_lib_version.c: Likewise.
5619 * sysdeps/ieee754/s_matherr.c: Likewise.
5620 * sysdeps/ieee754/s_signgam.c: Likewise.
5621 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5624 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5625 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5627 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5628 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5629 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5630 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5631 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5632 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5633 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5634 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5638 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5642
1991fa03
JM
56432012-03-09 Joseph Myers <joseph@codesourcery.com>
5644
5645 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5646 * sunrpc/rpc_main.c: Likewise.
5647 * sunrpc/rpc_svcout.c: Likewise.
5648
60d6f5a6
DM
56492012-03-09 David S. Miller <davem@davemloft.net>
5650
5651 * include/math_private.h: New file.
5652
4962050e
JM
56532012-03-09 Joseph Myers <joseph@codesourcery.com>
5654
02a6f887
JM
5655 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5656 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5657 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5658 from <bits/socket_type.h>.
5659 (enum __socket_type): Don't define here.
5660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5662 bits/socket_type.h.
5663
c6e013c1
JM
5664 [BZ #13566]
5665 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5666 checking __USE_GNU.
5667
4962050e
JM
5668 * Makerules ($(inst_includedir)/%.h): New rule.
5669 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5670 (install-others): Remove variable setting.
5671 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5672
38842f45
RH
56732012-03-08 Richard Henderson <rth@twiddle.net>
5674
67bb6da6
RH
5675 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5676 from macro to inline function; merge with the
5677 !__LIBC_INTERNAL_MATH_INLINES version.
5678 (__ieee754_sqrtf): Likewise.
5679
15194b4b
RH
5680 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5681 to inline function.
5682 (__rintf, __floor, __floorf): Likewise.
5683
64e21ede
RH
5684 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5685 macro to inline function.
5686 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5687
38842f45
RH
5688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5689 not <math/math_private.h>.
5690
c64bf5fe
DM
56912012-03-08 David S. Miller <davem@davemloft.net>
5692
5693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5694 copyright year.
5695 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5696
82d86f28
TS
56972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5698
5699 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5700 normalization.
5701 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5702 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5703
aea5d727
UD
57042012-03-08 Ulrich Drepper <drepper@gmail.com>
5705
5706 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5707 be defined individually, they must be defined as a block. Define
5708 S for printing a string instead of hidint the different by using a
5709 macro for adding the 'l'.
5710 * stdio-common/tst-fphex-wide.c: Adjust.
5711
70bca0a3
MP
57122012-03-07 Marek Polacek <polacek@redhat.com>
5713
5714 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5715
65b81130
MP
57162012-03-08 Marek Polacek <polacek@redhat.com>
5717
5718 [BZ #13806]
5719 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5720 * stdio-common/tst-fphex.c: Define a few macros to make the
5721 test reusable. Use them.
5722 * stdio-common/tst-fphex-wide.c: New file.
5723
07037eeb
JM
57242012-03-08 Joseph Myers <joseph@codesourcery.com>
5725
a7a93d50
JM
5726 [BZ #6911]
5727 * manual/macros.texi (gnusystems): New macro.
5728 (nongnusystems): Likewise.
5729 (gnulinuxhurdsystems): Likewise.
5730 (gnuhurdsystems): Likewise..
5731 (gnulinuxsystems): Likewise.
5732 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5733 variants of the GNU system, not "GNU system".
5734 * manual/conf.texi: Likewise.
5735 * manual/errno.texi: Likewise. Update example of errno macro
5736 expansion.
5737 * manual/filesys.texi: Likewise.
5738 (getumask): Document as specific to GNU/Hurd.
5739 * manual/install.texi: Likewise. Reword some references to
5740 GNU/Linux.
5741 * manual/intro.texi: Likewise.
5742 * manual/io.texi: Likewise.
5743 (File Name Portability): Detail which constraints are inapplicable
5744 to all GNU systems and which are only inapplicable to GNU/Hurd.
5745 * manual/job.texi: Likewise.
5746 * manual/llio.texi: Likewise.
5747 (O_NOCTTY): Document as present on GNU/Linux.
5748 * manual/maint.texi: Likewise.
5749 * manual/memory.texi: Likewise.
5750 * manual/pattern.texi: Likewise.
5751 * manual/pipe.texi: Likewise.
5752 * manual/process.texi: Likewise.
5753 * manual/resource.texi: Likewise.
5754 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5755 child on GNU/Hurd.
5756 * manual/setjmp.texi: Likewise.
5757 * manual/signal.texi: Likewise.
5758 * manual/startup.texi: Likewise.
5759 * manual/stdio.texi: Likewise.
5760 * manual/terminal.texi: Likewise.
5761 (ONLCR): Document as POSIX.
5762 (OXTABS): Document availability on GNU/Linux as XTABS.
5763 (ONOEOT): Document availability separately from other bits.
5764 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5765 * manual/time.texi: Likewise.
5766 * manual/users.texi: Likewise.
5767 * INSTALL: Regenerated.
5768 * sysdeps/gnu/errlist.c: Regenerated.
5769
07037eeb
JM
5770 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5771 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5772 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5773 puts.
5774 * configure: Regenerated.
5775
d1d3431a
JM
57762012-03-07 Joseph Myers <joseph@codesourcery.com>
5777
af6a1e37
JM
5778 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5779 default includes instead of AC_HEADER_CHECK.
5780 * sysdeps/i386/configure: Regenerated.
5781
d1d3431a
JM
5782 [BZ #10716]
5783 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5784 * math/s_cacoshf.c (__cacoshf): Likewise.
5785 * math/s_cacoshl.c (__cacoshl): Likewise.
5786 * math/s_casinh.c (__casinh): Set signs of result from argument.
5787 * math/s_casinhf.c (__casinhf): Likewise.
5788 * math/s_casinhl.c (__casinhl): Likewise.
5789 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5790 (casinh_test): Add more tests.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793
482ff4da
UD
57942012-03-07 Ulrich Drepper <drepper@gmail.com>
5795
872fda05
UD
5796 * po/zh_TW.po: Update from translation team.
5797
a4300c7a
UD
5798 * login/Makefile (distribute): Remove variable.
5799 * catgets/Makefile: Likewise.
5800 * mach/Makefile: Likewise.
5801 * malloc/Makefile: Likewise.
5802 * misc/Makefile: Likewise.
5803 * iconv/Makefile: Likewise.
5804 * nscd/Makefile: Likewise.
5805 * hurd/Makefile: Likewise.
5806 * manual/Makefile: Likewise.
5807 * locale/Makefile: Likewise.
5808 * intl/Makefile: Likewise.
5809 * conform/Makefile: Likewise.
5810 * nss/Makefile: Likewise.
5811 * time/Makefile: Likewise.
5812 * soft-fp/Makefile: Likewise.
5813 * dirent/Makefile: Likewise.
5814 * gmon/Makefile: Likewise.
5815 * po/Makefile: Likewise.
5816 * rt/Makefile: Likewise.
5817 * socket/Makefile: Likewise.
5818 * math/Makefile: Likewise.
5819 * signal/Makefile: Likewise.
5820 * debug/Makefile: Likewise.
5821 * elf/Makefile: Likewise.
5822 * timezone/Makefile: Likewise.
5823 * stdlib/Makefile: Likewise.
5824 * iconvdata/Makefile: Likewise.
5825 * sunrpc/Makefile: Likewise.
5826 * io/Makefile: Likewise.
5827 * argp/Makefile: Likewise.
5828 * inet/Makefile: Likewise.
5829 * hesiod/Makefile: Likewise.
5830 * grp/Makefile: Likewise.
5831 * csu/Makefile: Likewise.
5832 * wctype/Makefile: Likewise.
5833 * crypt/Makefile: Likewise.
5834 * libio/Makefile: Likewise.
5835 * string/Makefile: Likewise.
5836 * nis/Makefile: Likewise.
5837 * resolv/Makefile: Likewise.
5838 * stdio-common/Makefile: Likewise.
5839 * wcsmbs/Makefile: Likewise.
5840 * dlfcn/Makefile: Likewise.
5841 * posix/Makefile: Likewise.
5842
3b7c4e74 5843 [BZ #6959]
482ff4da
UD
5844 * timezone/Makefile: Don't install timezone files, just the programs
5845 and scripts.
5846
f72ed77d
UD
58472012-03-06 Ulrich Drepper <drepper@gmail.com>
5848
a000466f
UD
5849 * nss/databases.def: Add missing gshadow entry.
5850
f72ed77d
UD
5851 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5852
a53b7a4e
MP
58532012-03-06 Marek Polacek <polacek@redhat.com>
5854
5855 [BZ #13726]
5856 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5857 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5858 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5859 * stdio-common/tst-long-dbl-fphex.c: New file.
5860
e9258400
DM
58612012-03-06 David S. Miller <davem@davemloft.net>
5862
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5864 (set_obp_int): New function.
5865 (get_obp_int): New function.
5866 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5868 Avoid unused variable warnings on 'val' and use builtin_expect.
5869 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5870 __builtin_expect.
e9258400
DM
5871 (INLINE_CLONE_SYSCALL): Likewise.
5872
3bd2c723
DM
58732012-03-05 David S. Miller <davem@davemloft.net>
5874
5875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5876
bbb78d03
AS
58772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5878
884c5db4
AS
5879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5880
bbb78d03
AS
5881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5882 only for |x| >= 40.
5883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5884
1c9f702a 58852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5886
5887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5888 Replace gettimeofday with __vdso_gettimeofday.
5889
7be16f82
RM
5890 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5891 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5892 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5893
5894 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5895 time with __vdso_time.
5896
ed58a00f
JM
58972012-03-05 Joseph Myers <joseph@codesourcery.com>
5898
5899 * manual/lang.texi (size_t): Note types to which size_t may be
5900 equivalent with the GNU C Library, but do not describe when
5901 differences between them are significant.
5902
30ee4ced
AJ
59032012-03-05 Andreas Jaeger <aj@suse.de>
5904
5905 * sysdeps/i386/fpu/libm-test-ulps: Update.
5906
b7cd39e8
JM
59072012-03-05 Joseph Myers <joseph@codesourcery.com>
5908
5909 [BZ #3976]
5910 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5911 (__ieee754_pow): Save and restore rounding mode and use
5912 round-to-nearest for main computations.
5913 * math/libm-test.inc (pow_test_tonearest): New function.
5914 (pow_test_towardzero): Likewise.
5915 (pow_test_downward): Likewise.
5916 (pow_test_upward): Likewise.
5917 (main): Call the new functions.
5918 * sysdeps/i386/fpu/libm-test-ulps: Update.
5919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5920
5921 [BZ #3976]
5922 * math/libm-test.inc (cosh_test_tonearest): New function.
5923 (cosh_test_towardzero): Likewise.
5924 (cosh_test_downward): Likewise.
5925 (cosh_test_upward): Likewise.
5926 (sinh_test_tonearest): Likewise.
5927 (sinh_test_towardzero): Likewise.
5928 (sinh_test_downward): Likewise.
5929 (sinh_test_upward): Likewise.
5930 (main): Call the new functions.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
6c6a98c9
TV
59342012-03-05 Tom de Vries <tom@codesourcery.com>
5935
5936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5937 default stack guard is set in last bytes.
5938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5939
21bb2d2e 59402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5941
21bb2d2e 5942 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5943
21bb2d2e
AJ
5944 [BZ #13656]
5945 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5946 possibly allocate from heap instead of stack.
5947 * stdio-common/bug-vfprintf-nargs.c: New file.
5948 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5949
c6922934
AS
59502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5951
5952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5953
bc957d53
MP
59542012-03-03 Marek Polacek <polacek@redhat.com>
5955
5956 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5957 * math/math_private.h: Likewise.
5958 * stdlib/tst-strtod.c: Likewise.
5959 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5960 * sysdeps/x86_64/bits/atomic.h: Likewise.
5961
6358490d
DM
59622012-03-02 David S. Miller <davem@davemloft.net>
5963
5964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5968 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5969 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5970 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5971 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5972
01ae168d
RM
59732012-03-02 Roland McGrath <roland@hack.frob.com>
5974
d9a17c07
RM
5975 [BZ #13792]
5976 * manual/examples/README: New file, says the example source files
5977 can be used under GPL>=2.
5978 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5979 line containing just "*/".
5980 * manual/examples/add.c: Add copyright header (GPL>=2).
5981 * manual/examples/argp-ex1.c: Likewise.
5982 * manual/examples/argp-ex2.c: Likewise.
5983 * manual/examples/argp-ex3.c: Likewise.
5984 * manual/examples/argp-ex4.c: Likewise.
5985 * manual/examples/atexit.c: Likewise.
5986 * manual/examples/db.c: Likewise.
5987 * manual/examples/dir.c: Likewise.
5988 * manual/examples/dir2.c: Likewise.
5989 * manual/examples/execinfo.c: Likewise.
5990 * manual/examples/filecli.c: Likewise.
5991 * manual/examples/filesrv.c: Likewise.
5992 * manual/examples/fmtmsgexpl.c: Likewise.
5993 * manual/examples/genpass.c: Likewise.
5994 * manual/examples/inetcli.c: Likewise.
5995 * manual/examples/inetsrv.c: Likewise.
5996 * manual/examples/isockad.c: Likewise.
5997 * manual/examples/longopt.c: Likewise.
5998 * manual/examples/memopen.c: Likewise.
5999 * manual/examples/memstrm.c: Likewise.
6000 * manual/examples/mkfsock.c: Likewise.
6001 * manual/examples/mkisock.c: Likewise.
6002 * manual/examples/mygetpass.c: Likewise.
6003 * manual/examples/pipe.c: Likewise.
6004 * manual/examples/popen.c: Likewise.
6005 * manual/examples/rprintf.c: Likewise.
6006 * manual/examples/search.c: Likewise.
6007 * manual/examples/select.c: Likewise.
6008 * manual/examples/setjmp.c: Likewise.
6009 * manual/examples/sigh1.c: Likewise.
6010 * manual/examples/sigusr.c: Likewise.
6011 * manual/examples/stpcpy.c: Likewise.
6012 * manual/examples/strdupa.c: Likewise.
6013 * manual/examples/strftim.c: Likewise.
6014 * manual/examples/strncat.c: Likewise.
6015 * manual/examples/subopt.c: Likewise.
6016 * manual/examples/swapcontext.c: Likewise.
6017 * manual/examples/termios.c: Likewise.
6018 * manual/examples/testopt.c: Likewise.
6019 * manual/examples/testpass.c: Likewise.
6020 * manual/examples/timeval_subtract.c: Likewise.
6021
01ae168d
RM
6022 [BZ #13792]
6023 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6024 function to ...
6025 * manual/timeval_subtract.c.texi: ... here, new file.
6026
49efa33d
DM
60272012-03-02 David S. Miller <davem@davemloft.net>
6028
6029 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6030
28afd92d
JM
60312012-03-02 Joseph Myers <joseph@codesourcery.com>
6032
804360ed
JM
6033 [BZ #3976]
6034 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6035 (__sin): Save and restore rounding mode and use round-to-nearest
6036 for all computations.
6037 (__cos): Save and restore rounding mode and use round-to-nearest
6038 for all computations.
6039 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6040 <fenv.h>.
6041 (tan): Save and restore rounding mode and use round-to-nearest for
6042 all computations.
6043 * math/libm-test.inc (cos_test_tonearest): New function.
6044 (cos_test_towardzero): Likewise.
6045 (cos_test_downward): Likewise.
6046 (cos_test_upward): Likewise.
6047 (sin_test_tonearest): Likewise.
6048 (sin_test_towardzero): Likewise.
6049 (sin_test_downward): Likewise.
6050 (sin_test_upward): Likewise.
6051 (tan_test_tonearest): Likewise.
6052 (tan_test_towardzero): Likewise.
6053 (tan_test_downward): Likewise.
6054 (tan_test_upward): Likewise.
6055 (main): Call the new functions.
6056 * sysdeps/i386/fpu/libm-test-ulps: Update.
6057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6058
a6d06d7b
JM
6059 [BZ #10135]
6060 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6061 small n, then large n, before computing and testing k+n.
6062 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6064 Likewise.
6065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6066 Likewise.
6067 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6068 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6070 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6075 * math/libm-test.inc (scalbn_test): Add more tests.
6076 (scalbln_test): Likewise.
6077
07e12bb3
JM
6078 * manual/filesys.texi (mode_t): Describe constraints on size and
6079 signedness, not exact equivalence to a particular type.
6080 (ino_t): Likewise.
6081 (ino64_t): Likewise.
6082 (dev_t): Likewise.
6083 (nlink_t): Likewise.
6084 (blkcnt_t): Likewise.
6085 (blkcnt64_t): Likewise.
6086 * manual/llio.texi (off_t): Likewise.
6087
28afd92d
JM
6088 [BZ #3976]
6089 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6090 (__ieee754_exp): Save and restore rounding mode and use
6091 round-to-nearest for all computations.
6092 * math/libm-test.inc (exp_test_tonearest): New function.
6093 (exp_test_towardzero): Likewise.
6094 (exp_test_downward): Likewise.
6095 (exp_test_upward): Likewise.
6096 (main): Call the new functions.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
b1eeb65d
CD
61002012-03-01 Chris Demetriou <cgd@google.com>
6101
6102 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6103 have predictable order.
6104
53362a4b
DM
61052012-03-01 David S. Miller <davem@davemloft.net>
6106
3c969083
DM
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6108
759707de
DM
6109 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6113
dfdb8ff2
DM
6114 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6115 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6116 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6118 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6119 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6120 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6121 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6122 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6123
ead89f96
DM
6124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6125
7f66bd07
DM
6126 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6127 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6129
53362a4b
DM
6130 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6132 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6133 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6134 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6137 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6138 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6146 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6147 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6148 * sysdeps/sparc/elf/configure: Regenerated.
6149
7b1902cb
JM
61502012-03-01 Joseph Myers <joseph@codesourcery.com>
6151
bec039bc
JM
6152 * configure.in (AS, LD): Require binutils 2.20 or later.
6153 * configure: Regenerated.
6154 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6155 as required minimum version.
6156 * INSTALL: Regenerated.
6157
7b1902cb
JM
6158 [BZ #2541]
6159 [BZ #4108]
6160 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6161 before squaring exponent.
6162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6163 bottom long double and 27 bits of top long double before squaring
6164 exponent.
6165 * math/libm-test.inc (erfc_test): Add more tests.
6166 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6169
f775c276
KT
61702012-03-01 Kai Tietz <ktietz@redhat.com>
6171
6172 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6173 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6174 containing bit-fields.
6175 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6176 * soft-fp/single.h (_FP_UNION_S): Likewise.
6177 * soft-fp/double.h (_FP_UNION_D): Likewise.
6178
5b8a4d4a
JM
61792012-02-29 Joseph Myers <joseph@codesourcery.com>
6180
0bab47b6
JM
6181 [BZ #13786]
6182 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6183 not include ../strcmp.S.
6184 [USE_AS_STRNCASECMP_L]: Likewise.
6185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6186 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6187 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6188 (__strncasecmp_l_ia32): Define as alias to
6189 __strncasecmp_l_nonascii.
6190
0fcad3e2
JM
6191 [BZ #5794]
6192 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195
5b8a4d4a
JM
6196 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6198
8fdceb2e
JL
61992012-02-29 Jeff Law <law@redhat.com>
6200
6201 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6202 out of bounds read.
6203
1f393a11
MP
62042012-02-29 Marek Polacek <polacek@redhat.com>
6205
6206 [BZ #13706]
6207 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6208 * elf/Makefile: Add rules to run tst-unused-dep.out.
6209
8847f037
DM
62102012-02-28 David S. Miller <davem@davemloft.net>
6211
6212 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6213 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6218
169d7f11
JM
62192012-02-29 Joseph Myers <joseph@codesourcery.com>
6220
6221 * math/libm-test.inc (llround_test): Move one test from
6222 lround_test. Use TEST_f_L in moved test.
6223 (lround_test): Move misplaced test to llround_test. Add testcase
6224 from bug 2561.
6225
39adf059
UD
62262012-02-28 Ulrich Drepper <drepper@gmail.com>
6227
6228 * sysdeps/x86_64/fpu/e_expf.S: New file.
6229 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6230
71b5d1c5
SB
62312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6232
6233 [BZ #13637]
6234 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6235 of remain_len that may cause incomplete multi-byte character and
6236 false match.
6237 * posix/bug-regex33.c: New file.
6238 * posix/Makefile (tests): Add bug-regex33.
6239
1f77f049
JM
62402012-02-28 Joseph Myers <joseph@codesourcery.com>
6241
6242 * manual/macros.texi: New file.
6243 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6244 * manual/libc.texinfo: Include macros.texi.
6245 * manual/creatute.texi: Likewise.
6246 * manual/install.texi: Likewise.
6247 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6248 @glibcadj{} in references to the GNU C Library.
6249 * manual/charset.texi: Likewise.
6250 * manual/conf.texi: Likewise.
6251 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6252 when not using those macros.
6253 * manual/creature.texi: Likewise.
6254 * manual/crypt.texi: Likewise.
6255 * manual/errno.texi: Likewise.
6256 * manual/filesys.texi: Likewise.
6257 * manual/header.texi: Likewise.
6258 * manual/install.texi: Likewise.
6259 * manual/intro.texi: Likewise.
6260 * manual/io.texi: Likewise.
6261 * manual/job.texi: Likewise.
6262 * manual/lang.texi: Likewise.
6263 * manual/libc.texiinfo: Likewise.
6264 * manual/llio.texi: Likewise.
6265 * manual/locale.texi: Likewise.
6266 * manual/maint.texi: Likewise.
6267 * manual/math.texi: Likewise.
6268 * manual/memory.texi: Likewise.
6269 * manual/message.texi: Likewise.
6270 * manual/nss.texi: Likewise.
6271 * manual/pattern.texi: Likewise.
6272 * manual/process.texi: Likewise.
6273 * manual/resource.texi: Likewise.
6274 * manual/search.texi: Likewise.
6275 * manual/setjmp.texi: Likewise.
6276 * manual/signal.texi: Likewise.
6277 * manual/socket.texi: Likewise.
6278 * manual/startup.texi: Likewise.
6279 * manual/stdio.texi: Likewise.
6280 * manual/string.texi: Likewise.
6281 * manual/sysinfo.texi: Likewise.
6282 * manual/syslog.texi: Likewise.
6283 * manual/terminal.texi: Likewise.
6284 * manual/time.texi: Likewise.
6285 * manual/users.texi: Likewise.
6286 * INSTALL: Regenerated.
6287 * NOTES: Regenerated.
d40c5d54 6288 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6289
450bf206
AS
62902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6291
6292 * include/dirent.h: Include <dirstream.h> before
6293 <dirent/dirent.h>.
6294
741a235b
DM
62952012-02-28 David S. Miller <davem@davemloft.net>
6296
6297 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6298 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6299 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6301
d6b5aa58
DM
63022012-02-27 David S. Miller <davem@davemloft.net>
6303
1aff59a3
DM
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6308
d6b5aa58
DM
6309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6310 frame pointer instead of stack pointer relative arg slot.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6312 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6313 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6314
433f48bf
CD
63152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6316
6317 [BZ #3992]
6318 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6319
d674b76d
DM
63202012-02-27 David S. Miller <davem@davemloft.net>
6321
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6328 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6329 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6330
0e7727f7
JM
63312012-02-27 Joseph Myers <joseph@codesourcery.com>
6332
6333 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6334 later. Allow versions 5-9.
43be4ca2 6335 * configure: Regenerated.
0e7727f7
JM
6336 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6337 required minimum version and 4.6 as recommended version. Do not
6338 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6339 * INSTALL: Regenerated.
0e7727f7 6340
a78bc654
DM
63412012-02-27 David S. Miller <davem@davemloft.net>
6342
428d5830
DM
6343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6349 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6351
a78bc654
DM
6352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6353 manipulate bits before adding and subtracting TWO112[sx].
6354 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6355
4579f81c
RM
63562012-02-27 Roland McGrath <roland@hack.frob.com>
6357
36c8acb4
RM
6358 [BZ #13775]
6359 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6360 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6361 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6362 being in POSIX, because they are in 1003.1-2008.
6363
84ad622b
RM
6364 * rt/tst-aio.c: Include <fcntl.h>.
6365 * rt/tst-aio7.c: Likewise.
6366 * rt/tst-aio64.c: Likewise.
6367
4579f81c
RM
6368 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6369
abd923db
JM
63702012-02-27 Joseph Myers <joseph@codesourcery.com>
6371
6372 * manual/install.texi (--with-headers): Describe headers as
6373 interface headers, not private headers.
6374 (Specific advice for GNU/Linux systems): Describe use of headers
6375 from "make headers_install", not private headers from older
6376 kernels.
43be4ca2 6377 * INSTALL: Regenerated.
abd923db
JM
6378 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6379 Change to 2.6.19.
6380 * sysdeps/unix/sysv/linux/configure: Regenerated.
6381
6664049b
JM
6382 * manual/llio.texi (fclean): Remove documentation.
6383
bb8b6697
JM
6384 * manual/Makefile (libc-texi-generated): New variable. Include
6385 version.texi.
6386 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6387 $(libc-texi-generated), not duplicated list of files.
6388 (version.texi, stamp-version): New rules.
6389 (realclean): Remove $(libc-texi-generated), not individual files
6390 from that list. Do not remove dir-add.texinfo.
6391 * manual/libc.texinfo: Comment out uses of edition numbers and
6392 references to printed manual. Remove last-updated dates.
6393 (EDITION): Comment out.
6394 (ISBN): Likewise.
6395 (VERSION, UPDATED): Remove.
6396 (version.texi): Include.
6397
12e5c3b9
AS
63982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6399
6400 * sysdeps/posix/spawni.c: Include <signal.h>.
6401 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6402 * sysdeps/pthread/aio_fsync.c: Likewise.
6403
4efeffc1 64042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6405
ba63ba08
UD
6406 * conform/Makefile (tests): Run only when not cross-compiling and
6407 when fast-check is not defined.
6408
d94a4670
UD
6409 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6410 * conform/data/limits.h-data: Fixes for POSIX2008.
6411 * conform/run-conformtest.sh: Run all tests.
6412 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6413 headers.
6414 * include/bits/dlfcn.h: Likewise.
6415 * include/langinfo.h: Likewise.
6416 * include/monetary.h: Likewise.
6417 * include/sys/poll.h: Likewise.
6418
6419 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6420 for __USE_GNU.
6421 * posix/spawn.h: Define __need_sigset_t.
6422 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6423 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6424 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6425 to get sigevent_t only.
6426 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6427 only for __USE_GNU.
6428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6429 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6430 process_vm_writev only for __USE_GNU.
6431 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6432
6433 * conform/Makefile: For now ignore errors from run-conformtest.
6434 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6435 POSIX to avoid namespace pollution. Don't prepend headers.
6436 * conform/data/aio.h-data: Fixes for POSIX testing.
6437 * conform/data/fcntl.h-data: Likewise.
6438 * conform/data/glob.h-data: Likewise.
6439 * conform/data/grp.h-data: Likewise.
6440 * conform/data/pthread.h-data: Likewise.
6441 * conform/data/pwd.h-data: Likewise.
6442 * conform/data/signal.h-data: Likewise.
6443 * conform/data/spawn.h-data: Likewise.
6444 * conform/data/stdio.h-data: Likewise.
6445 * conform/data/stdlib.h-data: Likewise.
6446 * conform/data/stropts.h-data: Likewise.
6447 * conform/data/sys/mman.h-data: Likewise.
6448 * conform/data/sys/stat.h-data: Likewise.
6449 * conform/data/sys/types.h-data: Likewise.
6450 * conform/data/sys/wait.h-data: Likewise.
6451 * conform/data/time.h-data: Likewise.
6452 * conform/data/unistd.h-data: Likewise.
6453 * conform/data/utime.h-data: Likewise.
6454
6455 * io/sys/stat.h: fchmod was always in POSIX.
6456 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6457 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6458 * rt/aio.h: Define __need_timespec before including <time.h>.
6459 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6460 struct. Add forward declaration of pthread_attr_t and use it in
6461 sigevent.
6462 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6464 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6465 always remove CLK_TCK definition.
6466
c20105c3
AS
64672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6468
6469 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6470
7a270350
UD
64712012-02-25 Ulrich Drepper <drepper@gmail.com>
6472
31341567
UD
6473 * conform/run-conformtest.sh: New file.
6474 * conform/Makefile: Run run-conformtest for tests.
6475 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6476 support.
6477
6478 * conform/data/uchar.h-data: New file.
6479 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6480 * conform/data/arpa/inet.h-data: Likewise.
6481 * conform/data/assert.h-data: Likewise.
6482 * conform/data/complex.h-data: Likewise.
6483 * conform/data/cpio.h-data: Likewise.
6484 * conform/data/ctype.h-data: Likewise.
6485 * conform/data/dirent.h-data: Likewise.
6486 * conform/data/dlfcn.h-data: Likewise.
6487 * conform/data/errno.h-data: Likewise.
6488 * conform/data/fcntl.h-data: Likewise.
6489 * conform/data/float.h-data: Likewise.
6490 * conform/data/fmtmsg.h-data: Likewise.
6491 * conform/data/fnmatch.h-data: Likewise.
6492 * conform/data/ftw.h-data: Likewise.
6493 * conform/data/glob.h-data: Likewise.
6494 * conform/data/grp.h-data: Likewise.
6495 * conform/data/iconv.h-data: Likewise.
6496 * conform/data/inttypes.h-data: Likewise.
6497 * conform/data/langinfo.h-data: Likewise.
6498 * conform/data/libgen.h-data: Likewise.
6499 * conform/data/limits.h-data: Likewise.
6500 * conform/data/locale.h-data: Likewise.
6501 * conform/data/math.h-data: Likewise.
6502 * conform/data/monetary.h-data: Likewise.
6503 * conform/data/mqueue.h-data: Likewise.
6504 * conform/data/ndbm.h-data: Likewise.
6505 * conform/data/net/if.h-data: Likewise.
6506 * conform/data/netdb.h-data: Likewise.
6507 * conform/data/netinet/in.h-data: Likewise.
6508 * conform/data/nl_types.h-data: Likewise.
6509 * conform/data/poll.h-data: Likewise.
6510 * conform/data/pthread.h-data: Likewise.
6511 * conform/data/pwd.h-data: Likewise.
6512 * conform/data/regex.h-data: Likewise.
6513 * conform/data/sched.h-data: Likewise.
6514 * conform/data/search.h-data: Likewise.
6515 * conform/data/semaphore.h-data: Likewise.
6516 * conform/data/setjmp.h-data: Likewise.
6517 * conform/data/signal.h-data: Likewise.
6518 * conform/data/spawn.h-data: Likewise.
6519 * conform/data/stdarg.h-data: Likewise.
6520 * conform/data/stdio.h-data: Likewise.
6521 * conform/data/stdlib.h-data: Likewise.
6522 * conform/data/string.h-data: Likewise.
6523 * conform/data/strings.h-data: Likewise.
6524 * conform/data/stropts.h-data: Likewise.
6525 * conform/data/sys/ipc.h-data: Likewise.
6526 * conform/data/sys/mman.h-data: Likewise.
6527 * conform/data/sys/msg.h-data: Likewise.
6528 * conform/data/sys/resource.h-data: Likewise.
6529 * conform/data/sys/select.h-data: Likewise.
6530 * conform/data/sys/sem.h-data: Likewise.
6531 * conform/data/sys/shm.h-data: Likewise.
6532 * conform/data/sys/socket.h-data: Likewise.
6533 * conform/data/sys/stat.h-data: Likewise.
6534 * conform/data/sys/statvfs.h-data: Likewise.
6535 * conform/data/sys/time.h-data: Likewise.
6536 * conform/data/sys/timeb.h-data: Likewise.
6537 * conform/data/sys/times.h-data: Likewise.
6538 * conform/data/sys/types.h-data: Likewise.
6539 * conform/data/sys/uio.h-data: Likewise.
6540 * conform/data/sys/un.h-data: Likewise.
6541 * conform/data/sys/utsname.h-data: Likewise.
6542 * conform/data/sys/wait.h-data: Likewise.
6543 * conform/data/syslog.h-data: Likewise.
6544 * conform/data/tar.h-data: Likewise.
6545 * conform/data/termios.h-data: Likewise.
6546 * conform/data/utime.h-data: Likewise.
6547 * conform/data/utmpx.h-data: Likewise.
6548 * conform/data/varargs.h-data: Likewise.
6549 * conform/data/wchar.h-data: Likewise.
6550 * conform/data/wctype.h-data: Likewise.
6551 * conform/data/wordexp.h-data: Likewise.
6552
6553 * include/stropts.h: New file.
6554 * include/uchar.h: New file.
6555 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6556 * include/assert.h: Likewise.
6557 * include/ctype.h: Likewise.
6558 * include/dirent.h: Likewise.
6559 * include/dlfcn.h: Likewise.
6560 * include/fcntl.h: Likewise.
6561 * include/fnmatch.h: Likewise.
6562 * include/glob.h: Likewise.
6563 * include/grp.h: Likewise.
6564 * include/libio.h: Likewise.
6565 * include/locale.h: Likewise.
6566 * include/math.h: Likewise.
6567 * include/net/if.h: Likewise.
6568 * include/netdb.h: Likewise.
6569 * include/netinet/in.h: Likewise.
6570 * include/pthread.h: Likewise.
6571 * include/pwd.h: Likewise.
6572 * include/regex.h: Likewise.
6573 * include/sched.h: Likewise.
6574 * include/search.h: Likewise.
6575 * include/setjmp.h: Likewise.
6576 * include/signal.h: Likewise.
6577 * include/stdio.h: Likewise.
6578 * include/stdlib.h: Likewise.
6579 * include/string.h: Likewise.
6580 * include/sys/cdefs.h: Likewise.
6581 * include/sys/mman.h: Likewise.
6582 * include/sys/msg.h: Likewise.
6583 * include/sys/resource.h: Likewise.
6584 * include/sys/select.h: Likewise.
6585 * include/sys/socket.h: Likewise.
6586 * include/sys/stat.h: Likewise.
6587 * include/sys/statvfs.h: Likewise.
6588 * include/sys/time.h: Likewise.
6589 * include/sys/times.h: Likewise.
6590 * include/sys/uio.h: Likewise.
6591 * include/sys/utsname.h: Likewise.
6592 * include/sys/wait.h: Likewise.
6593 * include/termios.h: Likewise.
6594 * include/time.h: Likewise.
6595 * include/ulimit.h: Likewise.
6596 * include/unistd.h: Likewise.
6597 * include/utime.h: Likewise.
6598 * include/wchar.h: Likewise.
6599 * include/wctype.h: Likewise.
6600 * include/wordexp.h: Likewise.
6601
6602 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6603
7a270350
UD
6604 * time/time.h: TIME_UTC must be a macro.
6605 Make timespec_get available for ISO C11 only as well.
6606
7724defc
UD
66072012-02-24 Ulrich Drepper <drepper@gmail.com>
6608
6609 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6610 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6611
6b1d1d46
JM
66122012-02-24 Joseph Myers <joseph@codesourcery.com>
6613
6614 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6615
0f8bbd69
JM
66162012-02-24 Joseph Myers <joseph@codesourcery.com>
6617
6618 * manual/texinfo.tex: Update to version 2012-01-19.16.
6619
66ab80bc
JM
66202012-02-24 Joseph Myers <joseph@codesourcery.com>
6621
6622 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6623
74981cc5
RM
66242012-02-24 Roland McGrath <roland@hack.frob.com>
6625
ee968201
RM
6626 [BZ #13738]
6627 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6628 * manual/fdl-1.3.texi: New file.
6629 * manual/fdl-1.1.texi: File removed.
6630
74981cc5
RM
6631 [BZ #13738]
6632 * manual/libc.texinfo (FDL_VERSION): New @set.
6633 Use it for mention of FDL in cover text.
6634 (Documentation License): Use it in @include file name.
6635
7bb764bc
JM
66362012-02-22 Joseph Myers <joseph@codesourcery.com>
6637 Roland McGrath <roland@hack.frob.com>
6638
6639 [BZ #5461]
6640 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6641 not LONG_LONG_MAX and LONG_LONG_MIN.
6642 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6643 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6644 name.
6645 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6646
6cbeae47
JM
66472012-02-22 Joseph Myers <joseph@codesourcery.com>
6648
6649 [BZ #2547]
6650 [BZ #11365]
6651 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6652 manipulate bits before adding and subtracting TWO23[sx].
6653 * math/libm-test.inc (nearbyint_test): Add more tests.
6654
fe45ce09
JM
66552012-02-22 Joseph Myers <joseph@codesourcery.com>
6656
6657 [BZ #2548]
6658 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6659 bits before adding and subtracting TWO23[sx].
6660 * math/libm-test.inc (rint_test): Add more tests.
6661 (rint_test_tonearest): Likewise.
6662 (rint_test_towardzero): Likewise.
6663 (rint_test_downward): Likewise.
6664 (rint_test_upward: Likewise.
6665
ff3b3d82
JM
66662012-02-22 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #10110]
6669 * include/stdc-predef.h: New file. Extracted from features.h.
6670 * include/features.h: Include stdc-predef.h.
6671 * Makefile (headers): Add stdc-predef.h.
6672 * CONFORMANCE (Compiler limitations): Update.
6673
ef0aab35
JM
66742012-02-22 Joseph Myers <joseph@codesourcery.com>
6675
6676 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6677
58639409
DM
66782012-02-21 David S. Miller <davem@davemloft.net>
6679
6680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6682
c0e70b25
DM
66832012-02-20 David S. Miller <davem@davemloft.net>
6684
6685 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6686 using a normal save/restore sequence, rather than allocating a
6687 dummy stack frame just to store a frame pointer and restore.
6688 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6689
fb06851d
JM
66902012-02-21 Joseph Myers <joseph@codesourcery.com>
6691
6692 * manual/install.texi: Fix stray word in line-wrapped comment.
6693
7a8b71c3
DM
66942012-02-20 David S. Miller <davem@davemloft.net>
6695
d510c123
DM
6696 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6697 both binutils and gcc support GOTDATA.
6698
0722d7c2
DM
6699 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6700 "rd %pc" in the PIC register setup sequences.
6701
3d2b3019
DM
6702 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6703 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6704 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6705 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6711 (SYSCALL_ERROR_HANDLER): Likewise.
6712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6715 (SYSCALL_ERROR_HANDLER): Likewise.
6716
c80098a9
DM
6717 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6718 (HAVE_GCC_GOTDATA): New.
6719 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6720 relocation support in both binutils and gcc.
6721 * sysdeps/sparc/elf/configure: Regenerate.
6722
3a2545a0
DM
6723 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6724 * sysdeps/sparc/sparc32/elf/configure: Delete.
6725 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6726 * sysdeps/sparc/sparc64/elf/configure: Delete.
6727 * sysdeps/sparc/elf/configure.in: New file.
6728 * sysdeps/sparc/elf/configure: Generate.
6729
7a8b71c3
DM
6730 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6731 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6732 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6733 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6734 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6735
f1e86fca
JM
67362012-02-21 Joseph Myers <joseph@codesourcery.com>
6737
6738 * manual/install.texi: Do not mention specific glibc version
6739 numbers.
6740 * manual/libc.texinfo (VERSION, UPDATED): Update.
6741 (@copying): Use @copyright{} and range of years.
6742
0e7dfaef
JM
67432012-02-21 Joseph Myers <joseph@codesourcery.com>
6744
6745 [BZ #13695]
6746 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6747 [crti.S not in sysdirs] (generated): Do not append.
6748 [crti.S not in sysdirs] (omit-deps): Likewise.
6749 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6750 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6751 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6752 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6753 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6754 Likewise.
6755 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6756 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6757 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6758 * csu/defs.awk: Remove file.
6759 * sysdeps/generic/initfini.c: Likewise.
6760 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6761 variable.
6762 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6763 Likewise.
6764
599af3ca
JM
67652012-02-20 Joseph Myers <joseph@codesourcery.com>
6766
6767 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6768 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6769 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6772 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6773 <bits/epoll.h>.
6774 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6775 (__EPOLL_PACKED): Define to empty if not defined by
6776 <bits/epoll.h>.
6777 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6779 bits/epoll.h.
6780
0e499750
JM
67812012-02-20 Joseph Myers <joseph@codesourcery.com>
6782
6783 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6784 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6785 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6786 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6787 <bits/timerfd.h>.
6788 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6790 bits/timerfd.h.
6791
5ad91f6e
JM
67922012-02-20 Joseph Myers <joseph@codesourcery.com>
6793
6794 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6795 in C locale.
6796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6797 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6800
06b99b02
AJ
68012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6802
6803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6805
7638c0fd
AS
68062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6807
6808 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6809 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6810 defined.
6811 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6814 entry for 2.16.
6815
92221550
AJ
68162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6817
6818 * math/w_acos.c: Use non-signaling floating-point comparisons.
6819 * math/w_acosf.c: Likewise.
6820 * math/w_acosh.c: Likewise.
6821 * math/w_acoshf.c: Likewise.
6822 * math/w_acoshl.c: Likewise.
6823 * math/w_acosl.c: Likewise.
6824 * math/w_asin.c: Likewise.
6825 * math/w_asinf.c: Likewise.
6826 * math/w_asinl.c: Likewise.
6827 * math/w_atanh.c: Likewise.
6828 * math/w_atanhf.c: Likewise.
6829 * math/w_atanhl.c: Likewise.
6830 * math/w_exp2.c: Likewise.
6831 * math/w_exp2f.c: Likewise.
6832 * math/w_exp2l.c: Likewise.
6833 * math/w_j0.c: Likewise.
6834 * math/w_j0f.c: Likewise.
6835 * math/w_j0l.c: Likewise.
6836 * math/w_j1.c: Likewise.
6837 * math/w_j1f.c: Likewise.
6838 * math/w_j1l.c: Likewise.
6839 * math/w_jn.c: Likewise.
6840 * math/w_jnf.c: Likewise.
6841 * math/w_log.c: Likewise.
6842 * math/w_log10.c: Likewise.
6843 * math/w_log10f.c: Likewise.
6844 * math/w_log10l.c: Likewise.
6845 * math/w_log2.c: Likewise.
6846 * math/w_log2f.c: Likewise.
6847 * math/w_log2l.c: Likewise.
6848 * math/w_logf.c: Likewise.
6849 * math/w_logl.c: Likewise.
6850 * math/w_sqrt.c: Likewise.
6851 * math/w_sqrtf.c: Likewise.
6852 * math/w_sqrtl.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6858
ebaf36eb
JM
68592012-02-19 Joseph Myers <joseph@codesourcery.com>
6860
6861 [BZ #9739]
6862 * manual/string.texi (strnlen): Use correct parameter name in
6863 equivalent expression.
6864
71c254a6
JM
68652012-02-19 Joseph Myers <joseph@codesourcery.com>
6866
6867 [BZ #11174]
6868 * manual/users.texi (seteuid): Consistently use neweuid for
6869 argument name.
6870
16d2c631
JM
68712012-02-19 Joseph Myers <joseph@codesourcery.com>
6872
6873 [BZ #13704]
6874 * manual/nss.texi (Services in the NSS configuration): Correct
6875 list of services in example configuration file.
6876
cd837b09
NB
68772012-02-19 Nick Bowler <nbowler@draconx.ca>
6878
6879 [BZ #11322]
6880 * manual/arith.texi: Remove statements about negative zero
6881 behaving identically to zero.
6882
02c4bbad
JM
68832012-02-18 Joseph Myers <joseph@codesourcery.com>
6884
6885 [BZ #5993]
6886 * manual/install.texi: Do not document upgrading from libc5.
6887
366842e7
JM
68882012-02-18 Joseph Myers <joseph@codesourcery.com>
6889
6890 [BZ #4596]
6891 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6892
dd54084d
DM
68932012-02-18 David S. Miller <davem@davemloft.net>
6894
6895 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6896 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6897 %o7 across the call.
6898 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6899 instead.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6901 SETUP_PIC_REG_LEAF.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6903 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6904 * sysdeps/sparc/crtn.S: Likewise.
6905
2bcc53a3
UD
69062012-02-17 Ulrich Drepper <drepper@gmail.com>
6907
6908 * aout/Makefile: Remove.
6909
09c093b5
RK
69102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6911
6912 [BZ #13058]
6913 * manual/examples/argp-ex1.c (main): Format definition in GNU
6914 style.
6915 * manual/examples/argp-ex2.c (main): Likewise.
6916 * manual/examples/argp-ex3.c (main): Likewise.
6917 * manual/examples/argp-ex4.c (main): Likewise.
6918 * manual/examples/longopt.c (main): Use new-style prototype
6919 definition.
6920 * manual/examples/strncat.c (main): Specify return type and use
6921 (void) for arguments.
6922 * manual/examples/subopt.c (main): Use char **argv argument.
6923
2ee633a2
JM
69242012-02-17 Joseph Myers <joseph@codesourcery.com>
6925
6926 [BZ #5077]
6927 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6928 rounding modes.
6929
0520adde
FB
69302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6931
6932 [BZ #6907]
6933 * manual/string.texi (strchr): Change when strchrnul is
6934 recommended.
6935
3f4081cd
DGM
69362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6937
6938 [BZ #174]
6939 * manual/locale.texi (setlocale): Document LOCPATH.
6940
d1b10e78
JM
69412012-02-17 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #10210]
6944 * manual/process.texi (execle): Move @dots{} before last argument.
6945
79c6869c
PB
69462012-02-17 Paul Bolle <pebolle@tiscali.nl>
6947
6948 [BZ #12047]
6949 * manual/charset.texi (Generic Charset Conversion): Fix typo
6950 (LC_TYPE -> LC_CTYPE).
6951
cc6e48bc
NB
69522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6953
6954 [BZ #5805]
6955 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6956 (scalbnf): Likewise.
6957 (scalbnl): Likewise.
6958 (scalbln): Likewise.
6959 (scalblnf): Likewise.
6960 (scalblnl): Likewise.
6961 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6962 (vwarnx): Likewise.
6963 (verr): Likewise.
6964 (verrx): Likewise.
6965 * manual/filesys.texi (telldir): Use braces around return type.
6966 * manual/llio.texi (mmap): Add space after comma.
6967 (mmap64): Likewise.
6968 * manual/math.texi (jn): Use @var{} on parameter names.
6969 (jnf): Likewise.
6970 (jnl): Likewise.
6971 (yn): Likewise.
6972 (ynf): Likewise.
6973 (ynl): Likewise.
6974 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6975 line.
6976 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6977 "...".
6978 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6979 (sched_get_priority_max): Likewise.
6980 * manual/signal.texi (sigvec): Add space after comma.
6981 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6982 names.
6983 (if_indextoname): Likewise.
6984 (if_freenameindex): Likewise.
6985 (sendto): Use ',' instead of '.' in prototype.
6986 * manual/startup.texi (syscall): Use @dots{} instead of literal
6987 "...".
6988 * manual/stdio.texi (__fpending): Separate initial words of
6989 paragraph from @deftypefun line.
6990 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6991 "...".
6992 (vsyslog): Use @var{} on parameter names.
6993 * manual/terminal.texi (stty): Use @var{} on parameter names.
6994 * manual/users.texi (getutmp): Use @var{} on parameter names.
6995 (getutmpx): Likewise.
6996
5b23062f
JM
69972012-02-17 Joseph Myers <joseph@codesourcery.com>
6998
6999 [BZ #6884]
7000 * manual/stdio.texi (fopen): Fix typos in description of
7001 ",ccs=STRING".
7002
8dee4833
AJ
70032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7004
7005 [BZ #4026]
7006 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7007 get clock_id definition.
7008
9078ce93
TS
70092012-02-17 Thomas Schwinge <thomas@schwinge.name>
7010
7011 [BZ #4822]
7012 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7013 (madvise): Cast every argument to void on its own.
7014
3835c55f
JM
70152012-02-17 Joseph Myers <joseph@codesourcery.com>
7016
7017 [BZ #9902]
7018 * manual/startup.texi (Exit Status): Fix typo.
7019
35c47e37
JM
70202012-02-17 Joseph Myers <joseph@codesourcery.com>
7021
7022 [BZ #10140]
7023 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7024 * manual/examples/argp-ex2.c: Likewise.
7025 * manual/examples/argp-ex3.c: Likewise.
7026
e3b69ca7
RH
70272012-02-16 Richard Henderson <rth@redhat.com>
7028
7029 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7030 * sysdeps/s390/s390-32/initfini.c: Remove.
7031 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7032 * sysdeps/s390/s390-64/initfini.c: Remove.
7033
df83af67
KK
70342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7035
7036 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7037 compiler output for sysdeps/generic/initfini.c.
7038 * sysdeps/sh/elf/initfini.c: Remove file.
7039
f63f3380
DM
70402012-02-16 David S. Miller <davem@davemloft.net>
7041
fb59b3a4
DM
7042 [BZ #11494]
7043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7044
f63f3380
DM
7045 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7046 * sysdeps/sparc/crti.S: New file.
7047 * sysdeps/sparc/crtn.S: New file.
7048 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7049 * sysdeps/sparc/sparc64/Makefile: Likewise.
7050
df6a4a4a
MF
70512012-02-15 Mike Frysinger <vapier@gentoo.org>
7052
6dd8f3dc 7053 [BZ #3335]
df6a4a4a
MF
7054 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7055
1cac7236
RM
70562012-02-15 Roland McGrath <roland@hack.frob.com>
7057
d2c736f8
RM
7058 [BZ #4822]
7059 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7060
1cac7236
RM
7061 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7062 (write, read, close): Likewise.
7063 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7064
8e475601
JM
70652012-02-15 Joseph Myers <joseph@codesourcery.com>
7066
7067 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7068 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7069 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7070 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7071 <bits/signalfd.h>.
7072 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7074 bits/signalfd.h.
7075
ed656b40
MP
70762012-02-14 Marek Polacek <polacek@redhat.com>
7077
7078 * sysdeps/x86_64/crti.S: New file.
7079 * sysdeps/x86_64/crtn.S: New file.
7080 * sysdeps/x86_64/elf/initfini.c: Remove file.
7081
2a979d3a
JM
70822012-02-13 Joseph Myers <joseph@codesourcery.com>
7083
7084 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7085 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7087 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7088 <bits/inotify.h>.
7089 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7091 bits/inotify.h.
7092
2a418ac3
JM
70932012-02-13 Joseph Myers <joseph@codesourcery.com>
7094
7095 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7096 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7098 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7099 <bits/eventfd.h>.
7100 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7102 bits/eventfd.h.
7103
fb779be7
TS
71042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7105
e19e83c5
RM
7106 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7107 __feraiseexcept instead of feraiseexcept.
7c35ffed 7108
fb779be7
TS
7109 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7110 nanosleep invocations.
7111 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7112 strings, and add error checking for a nanosleep invocations.
7113
59ba27a6
PE
71142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7115
7116 Replace FSF snail mail address with URLs, as per GNU coding standards.
7117 Most of the snail mail addresses were wrong anyway, and omitting
7118 them makes the source code easier to maintain. Almost all of the
7119 changes are to license notices and to locale LC_IDENTIFICATION
7120 addresses, except for this one:
7121 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7122 not its snail mail address.
7123
57b957eb
RH
71242012-02-09 Richard Henderson <rth@twiddle.net>
7125
af850b1c
RH
7126 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7127 of kernel-features.h.
7128
57b957eb
RH
7129 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7130
6b73181a
MP
71312012-02-08 Marek Polacek <polacek@redhat.com>
7132
7133 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7134 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7135 * sysdeps/gnu/_G_config.h: Likewise.
7136 * sysdeps/generic/_G_config.h: Likewise.
7137
26ecc33a
AS
71382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7139
6c6dbc63
AS
7140 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7141 tests.
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143
e216c012
AS
7144 * sysdeps/powerpc/powerpc32/crti.S: New file.
7145 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7146 * sysdeps/powerpc/powerpc64/crti.S: New file.
7147 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7148
26ecc33a
AS
7149 * Makeconfig (have-initfini): Don't set.
7150 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7151 * configure.in (nopic_initfini): Don't substitute.
7152 * config.h.in (HAVE_INITFINI): Don't #undef.
7153 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7154 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7155
3add8e13
JM
71562012-02-08 Joseph Myers <joseph@codesourcery.com>
7157
7158 Support crti.S and crtn.S provided directly by architectures.
7159 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7160 [crti.S in sysdirs] (omit-deps): Likewise.
7161 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7162 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7163 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7164 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7165 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7166 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7167 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7168 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7169 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7170 compiler output for sysdeps/generic/initfini.c.
7171 * sysdeps/i386/elf/Makefile: Remove file.
7172 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7173
a22f12b4
MP
71742012-02-07 Marek Polacek <polacek@redhat.com>
7175
7176 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7177 * sysdeps/gnu/_G_config.h: Likewise.
7178 * sysdeps/mach/hurd/_G_config.h: Likewise.
7179
148cf100
MP
71802012-02-07 Marek Polacek <polacek@redhat.com>
7181
7182 * math/Makefile (tests): Add tst-CMPLX2.
7183 * math/tst-CMPLX2.c: New file.
7184
cfdc0dd7
AS
71852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7186
84ba42c4
AS
7187 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7188
cfdc0dd7
AS
7189 * math/libm-test.inc (jn_test): Add missing L suffix.
7190
622c86f4
MP
71912012-02-06 Marek Polacek <polacek@redhat.com>
7192
7193 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7194 * sysdeps/i386/fpu/e_powf.S: Likewise.
7195 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7197 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7198 * sysdeps/i386/fpu/e_pow.S: Likewise.
7199 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7201 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7202 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7203 * sysdeps/i386/fpu/e_log2.S: Likewise.
7204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7206 * sysdeps/i386/fpu/e_powl.S: Likewise.
7207 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7208 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7209 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7210 * sysdeps/i386/fpu/e_logl.S: Likewise.
7211 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7212 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7213 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7214 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7215 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7216 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7217 * sysdeps/i386/fpu/e_log.S: Likewise.
7218 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7220 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7221 * sysdeps/i386/fpu/e_logf.S: Likewise.
7222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7223 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7224 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7225 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7227 * sysdeps/i386/fpu/e_log10.S: Likewise.
7228 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7230 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7231 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7233 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7234 * sysdeps/i386/asm-syntax.h: Likewise.
7235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7238 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7239 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7244 * sysdeps/powerpc/sysdep.h: Likewise.
7245 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7247
d4a54ac6
JM
72482012-02-06 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #411]
7251 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7252
314054ea
JM
72532012-02-06 Joseph Myers <joseph@codesourcery.com>
7254
7255 * sysdeps/i386/sysdep.h: Include <features.h>.
7256 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7257 version.
7258
d8e0ca50
JM
72592012-02-05 Joseph Myers <joseph@codesourcery.com>
7260
7261 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7262 Define.
7263 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7264 LOAD_PIC_REG_STR.
7265
b1da7dd9
JM
72662012-02-03 Joseph Myers <joseph@codesourcery.com>
7267
7268 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7269 (SETUP_PIC_REG): Use GET_PC_THUNK.
7270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7271 macro.
7272
9a1d9254
JM
72732012-02-03 Joseph Myers <joseph@codesourcery.com>
7274
7275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7276 for non-PIC compilation.
7277 (SETUP_PIC_REG): Add .p2align directive.
7278 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7279 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7281 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7283 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7319
65dc3b75
JM
73202012-02-03 Joseph Myers <joseph@codesourcery.com>
7321
7322 * math/tst-CMPLX.c: Include <stdio.h>.
7323
d55bf177
JM
73242012-01-31 Joseph Myers <joseph@codesourcery.com>
7325
7326 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7327 float.
7328 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7329 * sysdeps/sparc/bits/mathdef.h: Likewise.
7330
69db4f8f
MP
73312012-01-31 Marek Polacek <polacek@redhat.com>
7332
7333 * libio/libio.h: Don't define _PARAMS.
7334 * locale/programs/config.h: Don't define PARAMS.
7335 * stdlib/strtol_l.c: Likewise.
7336 (__strtol_l): Remove PARAMS from the prototype.
7337
41b81892
UD
73382012-01-31 Ulrich Drepper <drepper@gmail.com>
7339
3b49edc0
UD
7340 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7341 names. Just use the correct names. Remove unnecessary wrapper
7342 functions.
7343 * malloc/arena.c: Likewise.
7344 * malloc/hooks.c: Likewise.
7345
41b81892
UD
7346 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7347 ARENA_TEST says not to. Simplify test for creation of a new arena.
7348 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7349
27a25b6e
UD
73502012-01-30 Ulrich Drepper <drepper@gmail.com>
7351
7352 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7353 into tail calls.
7354 (update_get_addr): New function.
7355 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7356 GET_ADDR_MODULE parameter.
7357
c8a89e7d
JM
73582012-01-30 Joseph Myers <joseph@codesourcery.com>
7359
7360 * crypt/cert.c: Remove __STDC__ conditionals.
7361 * crypt/crypt-entry.c: Likewise.
7362 * crypt/crypt_util.c: Likewise.
7363 * libio/filedoalloc.c: Likewise.
7364 * libio/fileops.c: Likewise.
7365 * libio/genops.c: Likewise.
7366 * libio/iofclose.c: Likewise.
7367 * libio/iofdopen.c: Likewise.
7368 * libio/iofopen.c: Likewise.
7369 * libio/iofopen64.c: Likewise.
7370 * libio/iogetdelim.c: Likewise.
7371 * libio/iopopen.c: Likewise.
7372 * libio/obprintf.c: Likewise.
7373 * libio/oldfileops.c: Likewise.
7374 * libio/oldiofclose.c: Likewise.
7375 * libio/oldiofdopen.c: Likewise.
7376 * libio/oldiofopen.c: Likewise.
7377 * libio/oldiopopen.c: Likewise.
7378 * libio/wfiledoalloc.c: Likewise.
7379 * libio/wgenops.c: Likewise.
7380 * locale/programs/xmalloc.c: Likewise.
7381 * misc/syslog.c: Likewise.
7382 * stdio-common/xbug.c: Likewise.
7383 * string/memchr.c: Likewise.
7384 * string/memcmp.c: Likewise.
7385 * string/memrchr.c: Likewise.
7386 * string/rawmemchr.c: Likewise.
7387 * sysdeps/posix/getcwd.c: Likewise.
7388 * time/strftime_l.c: Likewise.
7389
3b100462
JM
73902012-01-30 Joseph Myers <joseph@codesourcery.com>
7391
7392 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7393 * config.make.in (config-cflags-sse2avx): Define.
7394 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7395 Fix typo.
7396
607998af
CM
73972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7398
7399 * scripts/config.guess: Update from upstream config git repository.
7400 * scripts/config.sub: Likewise.
7401
3601428f
CM
74022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7403
3ac8b282
CM
7404 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7405 (EM_NUM): Update.
7406 (R_TILEPRO_*, R_TILEGX_*): New macros.
7407
e034841e
CM
7408 * scripts/firstversions.awk: Fix bug in version range handling.
7409
540d7568
CM
7410 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7411
3601428f
CM
7412 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7413
463de862
CM
7414 * include/sys/epoll.h: New file.
7415 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7416 libc_hidden_def.
7417
73139a76
UD
74182012-01-28 Ulrich Drepper <drepper@gmail.com>
7419
96bc5b45
UD
7420 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7421 Avoid unnecessary __WORDSIZE == 64 test.
7422 (fmaxf): Use VEX format if possible.
7423 (fmax): Likewise.
7424 (fminf): Likewise.
7425 (fmin): Likewise.
7426
56f6f6a2
UD
7427 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7428 * math/math_private.h: Remove libc_fegetround* and
7429 libc_fesetround*.
7430 * sysdeps/i386/configure.in: Check for -msse2avx.
7431 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7432 also if SSE2AVX is defined.
7433 Remove libc_fegetround* and libc_fesetround*.
7434 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7435 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7437 of HAS_YMM_USABLE.
7438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7443
73139a76
UD
7444 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7445
d73f93a4
AZ
74462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447
7448 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7449 size is not set.
7450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7451
6ee65ed6
UD
74522012-01-27 Ulrich Drepper <drepper@gmail.com>
7453
7454 [BZ #13618]
7455 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7456 relocation.
7457 * Makeconfig (libm): Define.
7458 * elf/Makefile: Add rules to build and run tst-relsort1.
7459 * elf/tst-relsort1.c: New file.
7460 * elf/tst-relsort1mod1.c: New file.
7461 * elf/tst-relsort1mod2.c: New file.
7462
8db21882
JM
74632012-01-27 Joseph Myers <joseph@codesourcery.com>
7464
7465 * math/s_ldexp.c: Remove __STDC__ conditionals.
7466 * math/s_ldexpf.c: Likewise.
7467 * math/s_ldexpl.c: Likewise.
7468 * math/s_nextafter.c: Likewise.
7469 * math/s_nexttowardf.c: Likewise.
7470 * math/s_significand.c: Likewise.
7471 * math/s_significandf.c: Likewise.
7472 * math/s_significandl.c: Likewise.
7473 * math/w_jnl.c: Likewise.
7474 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7475 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7476 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7477 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7478 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7495 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7496 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7498 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7499 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7500 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7511 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7514 * sysdeps/ieee754/k_standard.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7576 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7594 * sysdeps/ieee754/s_matherr.c: Likewise.
7595 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7596 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7597 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7599
965a54a4
JM
76002012-01-26 Joseph Myers <joseph@codesourcery.com>
7601
7602 * crypt/md5.h: Remove __STDC__ conditionals.
7603 * libio/libioP.h: Likewise.
7604 * locale/programs/config.h: Likewise.
7605 * sysdeps/generic/sysdep.h: Likewise.
7606 * sysdeps/i386/asm-syntax.h: Likewise.
7607 * sysdeps/s390/asm-syntax.h: Likewise.
7608 * sysdeps/unix/sysdep.h: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7611
7071ad79
JM
76122012-01-26 Joseph Myers <joseph@codesourcery.com>
7613
7614 * libio/libio.h: Remove __STDC__ conditionals.
7615 * malloc/obstack.h: Likewise.
7616 * math/complex.h: Likewise.
7617 * math/math.h: Likewise.
7618 * sysdeps/generic/_G_config.h: Likewise.
7619 * sysdeps/gnu/_G_config.h: Likewise.
7620 * sysdeps/mach/hurd/_G_config.h: Likewise.
7621 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7622 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7623 * sysdeps/sparc/bits/mathdef.h: Likewise.
7624
afc5ed09
UD
76252012-01-26 Ulrich Drepper <drepper@gmail.com>
7626
7627 [BZ #13583]
7628 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7629 Clean up HAS_* macros.
afc5ed09 7630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7631 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7632 possible.
7633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7634 HAS_AVX.
7635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7640
bdb6de1d
JM
76412012-01-25 Joseph Myers <joseph@codesourcery.com>
7642
7643 * elf/tst-unique3.cc (gets): Remove declaration.
7644 * elf/tst-unique3lib.cc (gets): Likewise.
7645 * elf/tst-unique3lib2.cc (gets): Likewise.
7646 * elf/tst-unique4.cc (gets): Likewise.
7647
b15549e6
UD
76482012-01-24 Ulrich Drepper <drepper@gmail.com>
7649
7650 * include/stdio.h: Add C++ protection. Add gets declarations and
7651 definitions.
7652 * debug/tst-chk1.c: Don't declare gets here.
7653 * stdio-common/tst-gets.c: Likewise.
7654
a037381f
JM
76552012-01-24 Joseph Myers <joseph@codesourcery.com>
7656
7657 * posix/glob: Remove directory.
7658
f1d4aa75
JM
76592012-01-24 Joseph Myers <joseph@codesourcery.com>
7660
7661 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7662
81c0c964
PT
76632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7664
7665 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7666 of the non-standard EPFNOSUPPORT.
7667
0ea698ae
ST
76682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7669
7670 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7671 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7672 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7673
d220b117
UD
76742012-01-21 Ulrich Drepper <drepper@gmail.com>
7675
7676 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7677
3e1aa84e
UD
76782012-01-20 Ulrich Drepper <drepper@gmail.com>
7679
7680 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7681 transient errors.
7682 * nscd/grpcache.c (cache_addgr): Likewise.
7683 * nscd/hstcache.c (cache_addhst): Likewise.
7684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7685 * nscd/pwdcache.c (cache_addpw): Likewise.
7686 * nscd/servicescache.c (cache_addserv): Likewise.
7687
400aa020
UD
76882012-01-16 Ulrich Drepper <drepper@gmail.com>
7689
d77e7869
UD
7690 * malloc/malloc.c: Various cleanups.
7691 * malloc/hooks.c: Likewise.
7692
400aa020
UD
7693 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7694 * stdlib/bug-fmtmsg1.c: New file.
7695
7696 * stdlib/fmtmsg.c (init): Add missing unlock.
7697 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7698
e0a309cf
MP
76992012-01-12 Marek Polacek <polacek@redhat.com>
7700
7701 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7702 and _GNU_SOURCE.
7703
929d11c7
WS
77042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7705
7706 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7708 macro to ensure uniqueness of label name.
7709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7711
41d0e869
UD
77122012-01-11 Ulrich Drepper <drepper@gmail.com>
7713
0cc5ed3b
UD
7714 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7715
41d0e869
UD
7716 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7720
a47a831a
UD
77212012-01-10 Ulrich Drepper <drepper@gmail.com>
7722
daa891c0
UD
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7724
7725 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7726 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7728
e58ef0f2
UD
7729 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7730
a47a831a 7731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7732 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7735
7736 * math/bits/math-finite.h: Add ldexp support.
7737
a0bfc9c7
MP
77382012-01-10 Marek Polacek <polacek@redhat.com>
7739
7740 * locale/programs/localedef.h (show_archive_content): Add noreturn
7741 attribute.
7742
d6e97a1d
UD
77432012-01-09 Ulrich Drepper <drepper@gmail.com>
7744
7745 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7746
d5835c26
UD
77472012-01-08 Ulrich Drepper <drepper@gmail.com>
7748
e5f484c6
UD
7749 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7750
d5835c26
UD
7751 * io/Makefile (headers): Add bits/poll2.h.
7752
d1f741e9
WS
77532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7754
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7756 typo #include statement.
7757
ec09c1c4
UD
77582012-01-08 Ulrich Drepper <drepper@gmail.com>
7759
7760 * include/sys/cdefs.h: Define __attribute_alloc_size.
7761 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7762 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7763 * elf/pldd.c: Likewise.
7764 * iconv/iconv_charmap.c: Likewise.
7765 * iconv/iconvconfig.c: Likewise.
7766 * iconv/strtab.c: Likewise.
7767 * locale/programs/locale.c: Likewise.
7768 * locale/programs/localedef.h: Likewise.
7769 * locale/programs/simple-hash.c: Likewise.
7770 * nscd/nscd.h: Likewise.
7771 * nss/makedb.c: Likewise.
7772 * sysdeps/generic/ldconfig.h: Likewise.
7773 * locale/programs/localedef.c: Remove xmalloc prototype.
7774 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7775
20b38e03
PP
77762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7777
7778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7779 appropriate.
7780
a0da5fe1
UD
77812012-01-08 Ulrich Drepper <drepper@gmail.com>
7782
1d5a644a 7783 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7784 * math/tst-CMPLX.c: New file.
1d5a644a 7785
8784a6db
UD
7786 * math/complex.h (CMPLXL): Fix typo.
7787
d9a216c0
UD
7788 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7789 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7790 GLIBC_2.16.
7791 * debug/tst-chk1.c: Add poll and ppoll tests.
7792 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7793 * include/sys/poll.h: Add hidden proto for ppoll.
7794 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7795 * sysdeps/mach/hurd/ppoll.c: Likewise.
7796 * io/ppoll.c: Likewise.
7797 * debug/poll_chk.c: New file.
7798 * debug/ppoll_chk.c: New file.
7799 * include/bits/poll2.h: New file.
7800 * io/bits/poll2.h: New file.
7801
ac097f5c
UD
7802 [BZ #1350]
7803 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7804
2119dcfa
UD
7805 * configure.in: static is always set to yes. Remove.
7806 * config.make.in: Don't set build-static.
7807 * Makeconfig: Remove use of build-static.
7808 * dlfcn/Makefile: Likewise.
7809 * elf/Makefile: Likewise.
7810 * math/Makefile: Likewise.
7811 * misc/Makefile: Likewise.
7812 * nptl/Makefile: Likewise.
7813 * sysdeps/mach/hurd/Makefile: Likewise.
7814
121766a9
UD
7815 * configure.in: PWD_P is not used anymore.
7816 * config.make.in: Remove PWD_P entry.
7817
51a1d39c 7818 * configure.in: Remove last remnants of RANLIB.
8720d066 7819 No need to check for signed size_t anymore.
215f4bdc
UD
7820 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7821 and IA-64.
3857022a 7822 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7823 * aclocal.m4: Likewise.
7824
d3ed7225
UD
7825 * wcsmbs/mbrtoc16.c: Implement using towc function.
7826 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7827 * wcsmbs/wcsmbsload.c: Likewise.
7828 * iconv/gconv_simple.c: Likewise.
7829 * iconv/gconv_int.h: Likewise.
7830 * iconv/gconv_builtin.h: Likewise.
7831 * iconv/iconv_prog.c: Remove CHAR16 handling.
7832
7833 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7834
7835 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7836
a0da5fe1
UD
7837 * configure.in: Remove --with-elf and --enable-bounded options.
7838 Dont set base_machine for ia64. More non-ELF conditions removed.
7839 Remove testing and setting of leading underscore information.
7840 * config.make.in (build-bounded): Set to no.
7841 * config.h.in: Remove NO_UNDERSCORES entry.
7842 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7843 them.
7844 * csu/start.c: Remove !NO_UNDERSCORE code.
7845 * locale/localeinfo.h: Likewise.
7846 * sysdeps/generic/machine-gmon.h: Likewise.
7847 * sysdeps/generic/sysdep.h: Likewise.
7848 * sysdeps/i386/sysdep.h: Likewise.
7849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7850 * sysdeps/mach/sysdep.h: Likewise.
7851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7853 * sysdeps/sh/sysdep.h: Likewise.
7854 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7855 * sysdeps/unix/i386/sysdep.S: Likewise.
7856 * sysdeps/unix/sparc/start.c: Likewise.
7857 * sysdeps/unix/sparc/sysdep.S: Likewise.
7858 * sysdeps/unix/sparc/sysdep.h: Likewise.
7859 * sysdeps/unix/start.c: Likewise.
7860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7861 * sysdeps/x86_64/sysdep.h: Likewise.
7862
df78418a
UD
78632012-01-07 Ulrich Drepper <drepper@gmail.com>
7864
a784e502
UD
7865 [BZ #13553]
7866 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7867 for non-gcc.
7868 * argp/argp-fmtstream.h: Use const instead __const.
7869 * argp/argp.h: Likewise.
7870 * assert/assert.h: Likewise.
7871 * bits/fenv.h: Likewise.
7872 * bits/sched.h: Likewise.
7873 * bits/sigset.h: Likewise.
7874 * bits/sigthread.h: Likewise.
7875 * catgets/nl_types.h: Likewise.
7876 * conform/data/pthread.h-data: Likewise.
7877 * crypt/crypt-private.h: Likewise.
7878 * crypt/crypt.h: Likewise.
7879 * crypt/crypt_util.c: Likewise.
7880 * ctype/ctype.h: Likewise.
7881 * debug/execinfo.h: Likewise.
7882 * debug/mbsnrtowcs_chk.c: Likewise.
7883 * debug/mbsrtowcs_chk.c: Likewise.
7884 * debug/wcsnrtombs_chk.c: Likewise.
7885 * debug/wcsrtombs_chk.c: Likewise.
7886 * debug/wcstombs_chk.c: Likewise.
7887 * dirent/dirent.h: Likewise.
7888 * dlfcn/dlfcn.h: Likewise.
7889 * elf/neededtest4.c: Likewise.
7890 * grp/grp.h: Likewise.
7891 * gshadow/gshadow.h: Likewise.
7892 * iconv/gconv.h: Likewise.
7893 * iconv/gconv_int.h: Likewise.
7894 * iconv/gconv_simple.c: Likewise.
7895 * iconv/iconv.h: Likewise.
7896 * iconv/loop.c: Likewise.
7897 * iconv/skeleton.c: Likewise.
7898 * include/aio.h: Likewise.
7899 * include/aliases.h: Likewise.
7900 * include/argz.h: Likewise.
7901 * include/arpa/inet.h: Likewise.
7902 * include/assert.h: Likewise.
7903 * include/dirent.h: Likewise.
7904 * include/dlfcn.h: Likewise.
7905 * include/execinfo.h: Likewise.
7906 * include/fcntl.h: Likewise.
7907 * include/fenv.h: Likewise.
7908 * include/glob.h: Likewise.
7909 * include/grp.h: Likewise.
7910 * include/libintl.h: Likewise.
7911 * include/mntent.h: Likewise.
7912 * include/netdb.h: Likewise.
7913 * include/pwd.h: Likewise.
7914 * include/rpc/netdb.h: Likewise.
7915 * include/sched.h: Likewise.
7916 * include/search.h: Likewise.
7917 * include/shadow.h: Likewise.
7918 * include/signal.h: Likewise.
7919 * include/stdio.h: Likewise.
7920 * include/stdlib.h: Likewise.
7921 * include/string.h: Likewise.
7922 * include/sys/socket.h: Likewise.
7923 * include/sys/stat.h: Likewise.
7924 * include/sys/statfs.h: Likewise.
7925 * include/sys/statvfs.h: Likewise.
7926 * include/sys/syslog.h: Likewise.
7927 * include/sys/time.h: Likewise.
7928 * include/sys/uio.h: Likewise.
7929 * include/time.h: Likewise.
7930 * include/unistd.h: Likewise.
7931 * include/utmp.h: Likewise.
7932 * include/wchar.h: Likewise.
7933 * include/wctype.h: Likewise.
7934 * inet/aliases.h: Likewise.
7935 * inet/arpa/inet.h: Likewise.
7936 * inet/netinet/ether.h: Likewise.
7937 * inet/netinet/in.h: Likewise.
7938 * intl/libintl.h: Likewise.
7939 * io/bits/fcntl2.h: Likewise.
7940 * io/fcntl.h: Likewise.
7941 * io/ftw.h: Likewise.
7942 * io/sys/poll.h: Likewise.
7943 * io/sys/stat.h: Likewise.
7944 * io/sys/statfs.h: Likewise.
7945 * io/sys/statvfs.h: Likewise.
7946 * io/utime.h: Likewise.
7947 * libio/bits/stdio.h: Likewise.
7948 * libio/bits/stdio2.h: Likewise.
7949 * libio/libio.h: Likewise.
7950 * libio/libioP.h: Likewise.
7951 * libio/stdio.h: Likewise.
7952 * locale/lc-ctype.c: Likewise.
7953 * locale/locale.h: Likewise.
7954 * login/utmp.h: Likewise.
7955 * malloc/arena.c: Likewise.
7956 * malloc/malloc.c: Likewise.
7957 * malloc/malloc.h: Likewise.
7958 * malloc/mcheck.c: Likewise.
7959 * malloc/mtrace.c: Likewise.
7960 * math/bits/mathcalls.h: Likewise.
7961 * math/fenv.h: Likewise.
7962 * math/math_private.h: Likewise.
7963 * misc/bits/error.h: Likewise.
7964 * misc/bits/syslog.h: Likewise.
7965 * misc/err.h: Likewise.
7966 * misc/error.h: Likewise.
7967 * misc/fstab.h: Likewise.
7968 * misc/mntent.h: Likewise.
7969 * misc/regexp.h: Likewise.
7970 * misc/search.h: Likewise.
7971 * misc/sgtty.h: Likewise.
7972 * misc/sys/mman.h: Likewise.
7973 * misc/sys/syslog.h: Likewise.
7974 * misc/sys/uio.h: Likewise.
7975 * misc/sys/xattr.h: Likewise.
7976 * misc/ttyent.h: Likewise.
7977 * nis/rpcsvc/ypclnt.h: Likewise.
7978 * nss/nss.h: Likewise.
7979 * posix/bits/unistd.h: Likewise.
7980 * posix/fnmatch.h: Likewise.
7981 * posix/glob.h: Likewise.
7982 * posix/sched.h: Likewise.
7983 * posix/spawn.h: Likewise.
7984 * posix/sys/wait.h: Likewise.
7985 * posix/unistd.h: Likewise.
7986 * posix/wordexp.h: Likewise.
7987 * pwd/pwd.h: Likewise.
7988 * resolv/netdb.h: Likewise.
7989 * resource/sys/resource.h: Likewise.
7990 * rt/aio.h: Likewise.
7991 * rt/bits/mqueue2.h: Likewise.
7992 * rt/mqueue.h: Likewise.
7993 * shadow/shadow.h: Likewise.
7994 * signal/signal.h: Likewise.
7995 * socket/send.c: Likewise.
7996 * socket/sendto.c: Likewise.
7997 * socket/sys/socket.h: Likewise.
7998 * stdio-common/printf.h: Likewise.
7999 * stdlib/bits/stdlib.h: Likewise.
8000 * stdlib/fmtmsg.h: Likewise.
8001 * stdlib/monetary.h: Likewise.
8002 * stdlib/stdlib.h: Likewise.
8003 * stdlib/ucontext.h: Likewise.
8004 * streams/stropts.h: Likewise.
8005 * string/argz.h: Likewise.
8006 * string/bits/string2.h: Likewise.
8007 * string/string.h: Likewise.
8008 * string/strings.h: Likewise.
8009 * sunrpc/rpc/auth.h: Likewise.
8010 * sunrpc/rpc/auth_des.h: Likewise.
8011 * sunrpc/rpc/clnt.h: Likewise.
8012 * sunrpc/rpc/netdb.h: Likewise.
8013 * sunrpc/rpc/pmap_clnt.h: Likewise.
8014 * sunrpc/rpc/xdr.h: Likewise.
8015 * sysdeps/generic/inttypes.h: Likewise.
8016 * sysdeps/generic/net/if.h: Likewise.
8017 * sysdeps/generic/sys/swap.h: Likewise.
8018 * sysdeps/gnu/net/if.h: Likewise.
8019 * sysdeps/gnu/utmpx.h: Likewise.
8020 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8021 * sysdeps/i386/i486/bits/string.h: Likewise.
8022 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8023 * sysdeps/s390/bits/string.h: Likewise.
8024 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8025 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8026 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8027 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8028 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8029 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8030 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8031 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8032 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8033 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8034 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8035 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8036 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8037 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8038 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8039 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8040 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8046 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8047 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8052 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8054 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8055 * sysvipc/sys/ipc.h: Likewise.
8056 * sysvipc/sys/msg.h: Likewise.
8057 * sysvipc/sys/sem.h: Likewise.
8058 * sysvipc/sys/shm.h: Likewise.
8059 * termios/termios.h: Likewise.
8060 * time/sys/time.h: Likewise.
8061 * time/time.h: Likewise.
8062 * wcsmbs/bits/wchar2.h: Likewise.
8063 * wcsmbs/uchar.h: Likewise.
8064 * wcsmbs/wchar.h: Likewise.
8065 * wctype/wctype.h: Likewise.
8066
0269750c
UD
8067 [BZ #13551]
8068 * Makeconfig: Remove all but ELF support including AIX support.
8069 * Makerules: Likewise.
8070 * config.h.in: Likewise.
8071 * config.make.in: Likewise.
8072 * configure: Likewise.
8073 * configure.in: Likewise.
8074 * csu/Makefile: Likewise.
8075 * csu/version.c: Likewise.
8076 * debug/Makefile: Likewise.
8077 * dlfcn/Makefile: Likewise.
8078 * elf/Makefile: Likewise.
8079 * extra-lib.mk: Likewise.
8080 * iconv/Makefile: Likewise.
8081 * include/libc-symbols.h: Likewise.
8082 * include/shlib-compat.h: Likewise.
8083 * resolv/Makefile: Likewise.
8084 * resolv/res_libc.c: Likewise.
8085 * rt/Makefile: Likewise.
8086 * sysdeps/i386/asm-syntax.h: Likewise.
8087 * sysdeps/i386/sysdep.h: Likewise.
8088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8089 * sysdeps/mach/sysdep.h: Likewise.
8090 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8091 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8092 * sysdeps/s390/asm-syntax.h: Likewise.
8093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8095 * sysdeps/sh/sysdep.h: Likewise.
8096 * sysdeps/unix/sparc/sysdep.h: Likewise.
8097 * sysdeps/wordsize-32/divdi3.c: Likewise.
8098 * sysdeps/x86_64/sysdep.h: Likewise.
8099
00bbd29b
UD
8100 * argp/Versions: Remove _argp_unlock_xxx.
8101
8102 [BZ #13559]
8103 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8104 * abilist/libBrokenLocale.abilist: Likewise.
8105 * abilist/libanl.abilist: Likewise.
8106 * abilist/libc.abilist: Likewise.
8107 * abilist/libcrypt.abilist: Likewise.
8108 * abilist/libdl.abilist: Likewise.
8109 * abilist/libm.abilist: Likewise.
8110 * abilist/libnsl.abilist: Likewise.
8111 * abilist/libpthread.abilist: Likewise.
8112 * abilist/libresolv.abilist: Likewise.
8113 * abilist/librt.abilist: Likewise.
8114 * abilist/libthread_db.abilist: Likewise.
8115 * abilist/libutil.abilist: Likewise.
8116 * abilist/libnss_db.abilist: New file.
8117
8118 * scripts/abilist.awk: Add support for indirect functions.
8119
a2693a0e
UD
8120 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8121
3f05895f
UD
8122 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8123
ecb6fb48
UD
8124 * shlib-versions: Remove entries for ports architectures.
8125
664f8cb9
UD
8126 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8127 files in ports.
8128 * elf/stackguard-macros.h: Remove support for IA-64.
8129 * elf/tst-auditmod1.c: Likewise.
8130 * sysdeps/generic/ldsodefs.h: Likewise.
8131
7ae81d88
UD
8132 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8133 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8134 configure files.
8135
bdeba135
UD
8136 [BZ #13552]
8137 * configure.in: Remove --enable-omitfp support.
8138 * FAQ.in: Adjust.
8139 * config.make.in: Likewise.
8140 * Makeconfig: Likewise.
8141 * manual/install.texi: Likewise.
8142
d75a0a62
UD
8143 In case anyone cares, the IA-64 architecture could move to ports.
8144 * sysdeps/ia64/*: Removed.
8145 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8146 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8147
dcc9756b
UD
8148 [BZ #13555]
8149 * configure.in: Remove entries for unsupported architectures.
8150
d3761ebc 8151 [BZ #13533]
9954432e
UD
8152 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8153 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8154 routines.
8155 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8156 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8157 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8158 fall back to using wcrtomb.
8159 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8160 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8161 renaming.
8162 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8163 * wcsmbs/tst-c16c32-1.c: New file.
8164
8165 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8166 local variable.
8167
c3a87236
UD
8168 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8169
28926a1b
UD
8170 * elf/tst-unique3.cc: Add explicit declaration of gets.
8171 * elf/tst-unique3lib.cc: Likewise.
8172 * elf/tst-unique3lib2.cc: Likewise.
8173 * elf/tst-unique4.cc: Likewise.
8174
df78418a
UD
8175 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8176
8ecd6b2a
JM
81772012-01-06 Joseph Myers <joseph@codesourcery.com>
8178
8179 [BZ #13566]
8180 * assert/assert.h (static_assert): Don't define for C++.
8181 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8182 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8183
9f115170
UD
81842012-01-03 Ulrich Drepper <drepper@gmail.com>
8185
5e0d0300
UD
8186 * iconv/loop.c (single loop): Fix assertion in storing of
8187 remaining bytes.
8188
9f115170
UD
8189 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8190
81fb02b0
UD
81912012-01-01 Ulrich Drepper <drepper@gmail.com>
8192
8193 * posix/getconf.c: Update copyright year.
8194 * nss/getent.c: Likewise.
a316c1f6 8195 * nss/makedb.c: Likewise.
81fb02b0
UD
8196 * iconv/iconvconfig.c: Likewise.
8197 * iconv/iconv_prog.c: Likewise.
8198 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8199 * elf/pldd.c: Likewise.
8200 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8201 * catgets/gencat.c: Likewise.
8202 * csu/version.c: Likewise.
8203 * elf/ldd.bash.in: Likewise.
8204 * elf/sprof.c (print_version): Likewise.
8205 * locale/programs/locale.c: Likewise.
8206 * locale/programs/localedef.c: Likewise.
a316c1f6 8207 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8208 * nscd/nscd.c (print_version): Likewise.
8209 * debug/xtrace.sh: Likewise.
8210 * malloc/memusage.sh: Likewise.
8211 * malloc/mtrace.pl: Likewise.
8212 * debug/catchsegv.sh: Likewise.
8213
2ba92745
JJ
82142011-12-30 Jakub Jelinek <jakub@redhat.com>
8215
8216 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8217 pure attribute.
8218
dadebdae
UD
82192011-12-24 Ulrich Drepper <drepper@gmail.com>
8220
d3761ebc 8221 [BZ #13533]
db6af3eb
UD
8222 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8223 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8224 transformations.
8225 * iconv/gconv_int.h: Likewise.
8226 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8227 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8228 from libc for GLIBC_2.16.
8229 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8230 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8231 * wcsmbs/uchar.h: Really define mbstate_t.
8232 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8233 * wcsmbs/c16rtomb.c: New file.
8234 * wcsmbs/mbrtoc16.c: New file.
8235 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8236 for C/POSIX locale.
8237 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8238 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8239
dadebdae
UD
8240 * wcsmbs/wchar.h: Add missing __restrict.
8241
67371b56
UD
82422011-12-23 Ulrich Drepper <drepper@gmail.com>
8243
74033a25
UD
8244 [BZ #13532]
8245 * time/Makefile (routines): Add timespec_get.
8246 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8247 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8248 timespec for ISO C11.
8249 * time/timespec_get.c: New file.
8250 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8251 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8252
380d7e87
UD
8253 [BZ #13531]
8254 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8255 * stdlib/stdlib.h: Declare aligned_alloc.
8256 * Versions.def: Add GLIBC_2.16 for libc.
8257 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8258
4e9e7a35
UD
8259 [BZ 13527]
8260 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8261 ISO C11.
8262
380d7e87 8263 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8264 code.
8265
03a71829
UD
8266 [BZ #13528]
8267 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8268
839e283e
UD
8269 [BZ #13529]
8270 * assert/assert.h (static_assert): Define.
8271
ce5294e2 8272 * version.h: Update for 2.16 development version.
90fa7312 8273
8d44e150 8274 [BZ #13526]
d7809905
UD
8275 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8276 _ISOC11_SOURCE.
8277
c0da14cd
UD
8278 * version.h (RELEASE): Bump for 2.15 release.
8279 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8280
530a3249
MP
8281 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8282 Patch by Marek Polacek <mpolacek@redhat.com>.
8283
67371b56
UD
8284 * bits/byteswap.h: Protect long long constants with __extension__.
8285 * sysdeps/i386/bits/byteswap.h: Likewise.
8286 * sysdeps/ia64/bits/byteswap.h: Likewise.
8287 * sysdeps/s390/bits/byteswap.h: Likewise.
8288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8289
15db4de1
LD
82902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8291
8292 [BZ #13540]
bbe315ea
LD
8293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8294 destination buffer.
15db4de1
LD
8295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8296
2b2596b1
MP
82972011-12-23 Marek Polacek <polacek@redhat.com>
8298
8299 * elf/dl-addr.c (determine_info): Add inline keyword.
8300 * elf/tst-auditmod4b.c (check_avx): Likewise.
8301 * elf/tst-auditmod6b.c (check_avx): Likewise.
8302 * elf/tst-auditmod6c.c (check_avx): Likewise.
8303 * elf/tst-auditmod7b.c (check_avx): Likewise.
8304
70c6c246
UD
83052011-12-23 Ulrich Drepper <drepper@gmail.com>
8306
8307 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8308 !__SSE_MATH__.
8309
c044cf14
LD
83102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8311
15db4de1 8312 [BZ #13540]
c044cf14
LD
8313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8314 processing for last bytes.
8315
6b13d9d9
BH
83162011-08-06 Bruno Haible <bruno@clisp.org>
8317
d455f537
BH
8318 [BZ #13061]
8319 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8320 U+0385, not to U+1FEE.
8321
6b13d9d9
BH
8322 [BZ #13062]
8323 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8324 entry for U+00A5 U+0301.
8325
db910efd
UD
83262011-12-22 Ulrich Drepper <drepper@gmail.com>
8327
27deeafc
UD
8328 [BZ #13166]
8329 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8330 buffer for the output is too small.
8331
aed9d171
UD
8332 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8333 optimization.
8334
db910efd
UD
8335 [BZ #13185]
8336 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8337 SSE flags if possible.
8338
2bd779ae
LD
83392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8340
e7f9dac3 8341 [BZ #13540]
2bd779ae
LD
8342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8343 processing for last bytes.
8344
154bfc16
JM
83452011-12-22 Joseph Myers <joseph@codesourcery.com>
8346
8347 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8348 (syscall-list-default-options, syscall-list-default-condition)
8349 (syscall-list-includes): Define.
8350 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8351 list of ABIs and options and #if conditions for each ABI. Do not
8352 handle common syscalls between ABIs specially.
8353 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8354 Remove.
8355 (syscall-list-variants, syscall-list-32bit-options)
8356 (syscall-list-32bit-condition, syscall-list-64bit-options)
8357 (syscall-list-64bit-condition): Define.
8358 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8359 (syscall-list-variants, syscall-list-32bit-options)
8360 (syscall-list-32bit-condition, syscall-list-64bit-options)
8361 (syscall-list-64bit-condition): Define.
8362 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8363 Remove.
8364 (syscall-list-variants, syscall-list-32bit-options)
8365 (syscall-list-32bit-condition, syscall-list-64bit-options)
8366 (syscall-list-64bit-condition): Define.
8367 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8368 Remove.
8369 (syscall-list-variants, syscall-list-32bit-options)
8370 (syscall-list-32bit-condition, syscall-list-64bit-options)
8371 (syscall-list-64bit-condition): Define.
8372
21eaf3a5
UD
83732011-12-22 Ulrich Drepper <drepper@gmail.com>
8374
16c6f992
UD
8375 * locale/iso-639.def: Add brx entry.
8376
41043168
UD
8377 [BZ #13328]
8378 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8379 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8380
21eaf3a5
UD
8381 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8382 __feraiseexcept_renamed.
8383
e3a851a2
UD
83842011-12-21 Ulrich Drepper <drepper@gmail.com>
8385
4920765e
UD
8386 [BZ #13538]
8387 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8388 EPOLLET with unsigned values.
8389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8391
e3a851a2
UD
8392 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8393 to large cancellation.
8394 * math/s_cacoshf.c: Likewise.
8395 * math/s_cacoshl.c: Likewise.
8396
b27e24b8
RK
83972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8398
8399 [BZ #13305]
aebefeee 8400 [BZ #12786]
b27e24b8
RK
8401 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8402 * math/s_cacoshf.c: Likewise.
8403 * math/s_cacoshl.c: Likewise.
8404
ee190f67
UD
84052011-12-21 Ulrich Drepper <drepper@gmail.com>
8406
8407 [BZ #13439]
8408 * iconv/gconv.h: Define __GCONV_SWAP.
8409 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8410 * iconvdata/utf-16.c: Likewise.
8411 * iconvdata/utf-32.c: Likewise.
8412
707f25df
AS
84132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8414
8415 [BZ #13524]
8416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8417 numerator after shifting it by one limb.
8418
d2daaa1e
RÁE
84192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8420
8421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8422 under [__USE_EXTERN_INLINES].
8423
a4647e72
UD
84242011-12-17 Ulrich Drepper <drepper@gmail.com>
8425
8426 [BZ #13446]
8427 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8428
f0b264f1
AZ
84292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8430
8431 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8432 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8433 optimized code.
8434 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8436 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8437 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8438 for strncasecmp/strncasecmp_l compilation.
8439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8440 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8441
8ef4f244
MP
84422011-12-08 Marek Polacek <mpolacek@redhat.com>
8443
8444 [BZ #13484]
8445 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8446 of __asm__.
8447
97ac2654
UD
84482011-12-17 Ulrich Drepper <drepper@gmail.com>
8449
8450 [BZ #13506]
8451 * time/tzfile.c (__tzfile_read): Check values from file header.
8452
91d2a845
WS
84532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8454
8455 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8456 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8457 * powerpc/powerpc32/dl-start.S: Likewise.
8458 * powerpc/powerpc32/elf/start.S: Likewise.
8459 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8460 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8461 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8462 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8463 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8464 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8465 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8466 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8467 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8468 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8469 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8470 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8471 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8472 * powerpc/powerpc32/memset.S: Likewise.
8473 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8474 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8475 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8476 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8477 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8478 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8479 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8480 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8481 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8482 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8483 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8484 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8485 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8486
a1267ba1
AZ
84872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488
8489 * math/libm-test.inc: Added more nearbyint tests.
8490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8494
ad8ac1bd
RL
84952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8496
8497 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8498 FD_CLOEXEC.
8499
1d3e4b61
UD
85002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8501
8502 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8503 Add wcscpy-ssse3 wcscpy-c.
8504 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8505 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8506 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8507 * sysdeps/x86_64/wcschr.S: New file.
8508 * sysdeps/x86_64/wcsrchr.S: New file.
8509 * string/test-strcmp.c: Remove checking of wcscmp function for
8510 wrong alignments.
8511 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8512 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8513 wcsrchr-sse2 wcsrchr-c.
8514 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8515 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8516 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8517 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8518 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8519 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8520 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8521 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8522 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8523 * wcsmbc/wcschr.c (WCSCHR): New macro.
8524
5b330a2d
UD
85252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8526
8527 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8528 * wcsmbs/test-wcsrchr.c: New file.
8529 * string/test-strrchr.c: Add wcsrchr support.
8530 (WIDE): New macro.
8531 * wcsmbs/test-wcscpy.c: New file.
8532 * string/test-strcpy.c: Add wcscpy support.
8533 (WIDE): New macro.
26428b7c 8534
f039c043
UD
85352011-12-10 Ulrich Drepper <drepper@gmail.com>
8536
8537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8538 the inner loop.
8539
850fb039
AS
85402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8541
8542 [BZ #13472]
8543 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8544
4efbd5cb
UD
85452011-12-04 Ulrich Drepper <drepper@gmail.com>
8546
52ff5dd0 8547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8548 Minor optimizations.
52ff5dd0 8549
4efbd5cb
UD
8550 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8551 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8552 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8553
8a426e12
UD
85542011-12-03 Ulrich Drepper <drepper@gmail.com>
8555
aff2453d
UD
8556 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8557 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8558 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8559 for gcc to avoid warnings.
8560 * inet/Makefile (tests): Add tst-checks.
8561 * inet/tst-checks.c: New file.
8562
8563 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8564 warning.
8565
8566 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8567 __wmemcmp_sse2.
8568
8569 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8570 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8571
8a426e12
UD
8572 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8573
9bea3473
UD
85742011-12-02 Ulrich Drepper <drepper@gmail.com>
8575
3a965496
UD
8576 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8577 problem.
8578
9bea3473
UD
8579 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8580
f101631b
UD
85812011-11-29 Joseph Myers <joseph@codesourcery.com>
8582
8583 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8584 conditional on GCC version.
8585 (__arch_compare_and_exchange_val_8_acq)
8586 (__arch_compare_and_exchange_val_16_acq)
8587 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8588 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8589 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8590
a98275aa
UD
85912011-12-02 Joseph Myers <joseph@codesourcery.com>
8592
8593 * sysdeps/sh/backtrace.c: New file.
8594
d4cc29a2
AS
85952011-12-02 Andreas Schwab <schwab@redhat.com>
8596
8597 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8598 parenthesis.
8599
6257af2d
AS
86002011-12-01 Andreas Schwab <schwab@redhat.com>
8601
8602 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8603 falling back to utime.
8604
b5f44c1a
AS
86052011-11-30 Andreas Schwab <schwab@redhat.com>
8606
8607 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8608 expectations for float.
8609
f3a6cc0a
AS
86102011-11-29 Andreas Schwab <schwab@redhat.com>
8611
8612 * locale/weight.h (findidx): Add parameter len.
8613 * locale/weightwc.h (findidx): Likewise.
8614 * posix/fnmatch_loop.c (FCT): Adjust caller.
8615 * posix/regcomp.c (build_equiv_class): Likewise.
8616 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8617 * posix/regexec.c (check_node_accept_bytes): Likewise.
8618 * string/strcoll_l.c (STRCOLL): Likewise.
8619 * string/strxfrm_l.c (STRXFRM): Likewise.
8620
9d65ea3a
UD
86212011-11-17 Ulrich Drepper <drepper@gmail.com>
8622
8623 * Makefile.in: Remove CVSOPT handling.
8624 * configure.in: Remove use of AC_REVISION.
8625 * iconvdata/Makefile (distribute): No need to filter out CVS.
8626 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8627 handling.
8628
5583a086
AS
86292011-11-16 Andreas Schwab <schwab@redhat.com>
8630
8631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8632 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8633 [USE_AS_STRNCASECMP_L]: Likewise.
8634 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8635 NO_TLS_DIRECT_SEG_REFS.
8636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8637 Fix argument offsets for non-PIC.
8638 [USE_AS_STRNCASECMP_L]: Likewise.
8639 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8640 NO_TLS_DIRECT_SEG_REFS.
8641
d62a8200
UD
86422011-11-15 Ulrich Drepper <drepper@gmail.com>
8643
9d65ea3a 8644 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8645 O_CLOEXEC.
8646 * locale/loadlocale.c (_nl_load_locale): Likewise.
8647
09f93bd3
AS
86482011-11-15 Andreas Schwab <schwab@redhat.com>
8649
446514f9
AS
8650 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8651 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8652 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8653 (SYSCALL_GETTIME): Set errno on error.
8654
09f93bd3
AS
8655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8656 count references to noai6ai_cached.
8657
312be3f9
UD
86582011-11-15 Ulrich Drepper <drepper@gmail.com>
8659
8660 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8661
8662 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8663 FD_CLOEXEC for /proc/self/maps.
8664
8665 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8666 FD_CLOEXEC for /proc/meminfo.
8667
8668 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8669 gai.conf.
8670
8671 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8672 FD_CLOEXEC for given file.
8673
8674 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8675
8676 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8677 FD_CLOEXEC for /etc/hosts.
8678 (_gethtent): Likewise.
8679
8680 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8681
8682 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8683 cancellation and set FD_CLOEXEC for /etc/netgroup.
8684
8685 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8686 reading /etc/publickey.
8687
8688 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8689 allow cancellation when reading /etc/group.
8690
8691 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8692 cancellation.
8693 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8694
8695 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8696 when using data file.
8697
8698 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8699
8700 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8701 (write_nis_obj): Use "c" and "e" in fopen.
8702
8703 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8704
8705 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8706
8707 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8708
8709 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8710
8711 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8712 locale.alias.
8713
8714 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8715
8716 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8717
8718 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8719
8720 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8721 file parsing and set FD_CLOEXEC.
8722
82af0fa8
UD
87232011-11-14 Ulrich Drepper <drepper@gmail.com>
8724
8725 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8726
a5fb313c
AS
87272011-11-14 Andreas Schwab <schwab@redhat.com>
8728
8729 * malloc/arena.c (arena_get2): Don't call reused_arena when
8730 _int_new_arena failed.
8731
6abf3465
UD
87322011-11-14 Ulrich Drepper <drepper@gmail.com>
8733
8734 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8735 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8737 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8738 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8740 to compile strcasecmp and strncasecmp.
8741 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8742 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8743
8744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8745
76e3966e
UD
87462011-11-13 Ulrich Drepper <drepper@gmail.com>
8747
8748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8749 locale-defines.sym to gen-as-const-headers.
8750 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8751 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8753 to compile strcasecmp and strncasecmp.
8754 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8755 strcasecmp_l and strncasecmp_l.
8756 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8757 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8758 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8759 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8760 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8761 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8762 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8763 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8764 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8765 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8766 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8767
ab26144e
UD
87682011-11-12 Ulrich Drepper <drepper@gmail.com>
8769
7edb22ef
UD
8770 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8771 result of SYSDEP_GETTIME_CPU to retval.
8772 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8773 parameter list to macro. Remove trailing semicolon. Adjust users.
8774
9694fc44
UD
8775 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8776 variable.
8777
8ad89ef8
UD
8778 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8779 mantissa words.
8780 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8781
0c822ef9
UD
8782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8783 from unused variable.
8784
874e0564
UD
8785 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8786 DWARF definitions.
8787 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8788 for assembling.
8789
3a2edc79
UD
8790 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8791 over namespaces.
8792
f3c2577f
UD
8793 * sunrpc/rpc_prot.c (rejected): Fix case value.
8794
294ce126
UD
8795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8796 unsigned long long int to avoid warnings in shift.
8797
5e2b63c6
UD
8798 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8799 of use of trans.
8800 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8801 variable tmp.
8802
e7f4b08e
UD
8803 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8804 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8805 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8806
ab26144e
UD
8807 * nis/nis_table.c (nis_list): Use variable of correct type for
8808 result of __follow_path call.
8809
8a6d5255
AZ
88102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8811
8812 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8813 of math functions ceil, trunc, floor, round, and sqrt, when
8814 avaliable on the platform.
8815 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8816 name clash.
8817 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8818 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8819 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8820
aaddc98c
MP
88212011-10-30 Marek Polacek <mpolacek@redhat.com>
8822
8823 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8825
95b7042b
RM
88262011-11-11 Roland McGrath <roland@hack.frob.com>
8827
8828 * include/unistd.h: Fix __readlink return type.
8829 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8830
57769839
UD
88312011-11-11 Ulrich Drepper <drepper@gmail.com>
8832
8833 * stdlib/ucontext.h: Undo last change for makecontext.
8834
edc5984d
AS
88352011-11-11 Andreas Schwab <schwab@redhat.com>
8836
98591e58
AS
8837 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8838
edc5984d
AS
8839 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8840 * setjmp/setjmp.h: Mark functions as non-leaf.
8841 * setjmp/bits/setjmp2.h: Likewise.
8842 * stdlib/ucontext.h: Likewise.
8843
77cdc054
AS
88442011-11-10 Andreas Schwab <schwab@redhat.com>
8845
8846 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8847 (reused_arena): Don't check arena limit.
8848 (arena_get2): Atomically check arena limit.
8849
fe72eebd
UD
88502011-11-08 Ulrich Drepper <drepper@gmail.com>
8851
5f078c32
UD
8852 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8853 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8854
fe72eebd
UD
8855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8856 instructions.
8857
ae1bc2fa
AS
88582011-11-07 Andreas Schwab <schwab@redhat.com>
8859
7583a88d
AS
8860 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8861 handler when locking.
8862
ae1bc2fa
AS
8863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8864 Fix size of allocated buffer.
8865
10fb0bfa
AS
88662011-11-04 Andreas Schwab <schwab@redhat.com>
8867
998832a4
AS
8868 [BZ #10103]
8869 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8870 declarations for long double functions.
8871 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8872
10fb0bfa
AS
8873 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8874
3d7ba52b
AS
88752011-11-03 Andreas Schwab <schwab@redhat.com>
8876
a9ae54a1
AS
8877 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8878 installed.
8879
3d7ba52b
AS
8880 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8881 is disabled.
8882
bc8db248
ST
88832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8884
8885 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8886
45b96dd6
AS
88872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8888
647776f6
AS
8889 * include/alloca.h (stackinfo_alloca_round): Define.
8890 (extend_alloca): Use it.
8891 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8892 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8893 here.
8894
d91a8b93
AS
8895 * scripts/check-local-headers.sh: Ignore libaudit.h.
8896
45b96dd6
AS
8897 * nscd/Makefile (extra-objs): Make recursively expanded.
8898
432d41ce
UD
88992011-11-01 Ulrich Drepper <drepper@gmail.com>
8900
34372fc6
UD
8901 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8903
fadb59f8
UD
8904 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8905 * posix/tst-rfc3484-2.c: Likewise.
8906 * posix/tst-rfc3484-3.c: Likewise.
8907
78239589
UD
8908 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8909 process_vm_writev.
8910 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8911 process_vm_writev.
8912 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8913 process_vm_writev from libc using GLIBC_2.15 version.
8914
432d41ce
UD
8915 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8916
02f9c6cf
PP
89172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8918
8919 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8920 stack usage.
8921
3a2c0242
UD
89222011-10-31 Ulrich Drepper <drepper@gmail.com>
8923
f4ec4833
UD
8924 [BZ #13367]
8925 * nss/getent.c (initgroups_keys): Show error message in case no group
8926 names are given.
8927
3a2c0242
UD
8928 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8929 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8930 __bump_nl_timestamp.
8931 * nscd/connections (nscd_init): When host database is served open
8932 netlink socket and request notification about configuration changes.
8933 (main_loop_poll): Track netlink file descriptor and bump timestamp
8934 in case data becomes available.
8935 (main_loop_epoll): Likewise.
8936 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8937 (database_pers_head): Add extra_data fileds.
8938 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8939 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8940 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8941 Adjust caller.
8942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8943 in6ai data, call __free_in6ai.
8944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8945 Add -DHAVE_NETLINK.
8946 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8947 interface information. Reuse previous data if netlink timestamp
8948 is not changed.
8949 (__bump_nl_timestamp): New function.
8950 (__free_in6ai): New function.
8951
636064eb
UD
89522011-10-30 Ulrich Drepper <drepper@gmail.com>
8953
8954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8955 close_not_cancel_no_status here.
8956 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8957
9beb2334
UD
89582011-10-29 Ulrich Drepper <drepper@gmail.com>
8959
6ef76f3b
UD
8960 [BZ #13276]
8961 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8962 return value.
8963
0ffc4f3e 8964 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8965 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8966 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8967
cb95113e
UD
89682011-07-03 Andreas Jaeger <aj@suse.de>
8969
8970 [BZ #10709]
8971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8972 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8973 * math/libm-test.inc (sin_test): Add test case.
8974
a1b560ff
UD
89752011-10-29 Ulrich Drepper <drepper@gmail.com>
8976
c9aaface
UD
8977 [BZ #13337]
8978 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8979 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8980
d272e7f1
UD
8981 * elf/chroot_canon.c (chroot_canon): Cleanups.
8982
1bc33071
UD
8983 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8984
1760874d
TJ
8985 [BZ #13335]
8986 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8987 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8988
51d91b18
UD
8989 * string/test-strchr.c: Make usable for strchrnul testing.
8990 * string/test-strchrnul.c: New file.
8991 * string/Makefile (strop-tests): Add strchrnul.
8992
a1b560ff 8993 * po/it.po: Update from translation team.
b611fb81 8994 * po/es.po: Likewise.
a1b560ff 8995
a5b81e1f
UD
89962011-10-28 Ulrich Drepper <drepper@gmail.com>
8997
fd52bc6d
UD
8998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8999 the three constants needed as parameters. Drop the others.
9000 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9001 __m128i_strloadu_tolower.
52e4b9eb
UD
9002 Create and initialize variable zero and use it in all the places
9003 where _mm_setzero_si128 was used.
fd52bc6d 9004
a5b81e1f
UD
9005 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9006 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9007 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9008 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9009 anymore.
9010 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9011 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9012 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9013 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9014 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9015 __mpranred, __mptan.
9016 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9017 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9018 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9019 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9020 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9021 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9023 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9025
b4343346
AS
90262011-10-28 Andreas Schwab <schwab@redhat.com>
9027
0c92d8a8
AS
9028 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9029 redefine if SHARED.
9030 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9031
b4343346
AS
9032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9033 wide char related routines to wcsmbs subdir.
9034
3871f58f
AS
90352011-10-27 Andreas Schwab <schwab@redhat.com>
9036
9037 [BZ #13344]
9038 * misc/sys/cdefs.h (__THROWNL): Define.
9039 * posix/unistd.h: Use __THREADNL instead of __THREAD
9040 for memory synchronization functions.
9041
94d44d9f
RM
90422011-10-26 Roland McGrath <roland@hack.frob.com>
9043
21b64b15 9044 [BZ #13349]
94d44d9f
RM
9045 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9046 doesn't exist.
9047 * manual/stdio.texi (Obstack Streams): Node removed.
9048
f6ce9294
AS
90492011-10-26 Andreas Schwab <schwab@redhat.com>
9050
80479147
AS
9051 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9053 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9054
f6ce9294
AS
9055 * math/math_private.h (math_force_eval): Allow non-addressable
9056 arguments.
9057 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9058
618280a1
UD
90592011-10-25 Ulrich Drepper <drepper@gmail.com>
9060
e0016b11
UD
9061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9062 file is not needed.
9063
9064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9065 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9071 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9072 Add AVX variants.
9073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9077 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9078 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9079 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9080 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9081 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9082 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9083 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9084 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9085 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9087 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9089 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9092
9093 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9094 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9095
618280a1
UD
9096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9097 place. Use VEX encoding when compiling for AVX.
9098
37822576
AS
90992011-10-25 Andreas Schwab <schwab@redhat.com>
9100
1f1e1947
AS
9101 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9102 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9103
37822576
AS
9104 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9105
31ea014d
UD
91062011-10-25 Ulrich Drepper <drepper@gmail.com>
9107
d7826aa1 9108 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9109 useless if() expression.
d7826aa1
UD
9110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9129
31ea014d
UD
9130 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9131
16437fec
AS
91322011-10-25 Andreas Schwab <schwab@redhat.com>
9133
9134 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9135 condition.
9136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9137
31d3cc00
UD
91382011-10-25 Ulrich Drepper <drepper@gmail.com>
9139
9140 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9141 .text section. Avoid duplicate constants.
9142 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9152 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9154 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9157 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9159 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9165 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9166 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9167 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9168 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9169 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9170 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9176 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9177 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9178 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9180 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9181 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9182 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9187
58985aa9
UD
91882011-10-24 Ulrich Drepper <drepper@gmail.com>
9189
202c9deb
UD
9190 * sysdeps/x86_64/dla.h: Move to ...
9191 * sysdeps/x86_64/fpu/dla.h: ...here.
9192 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9193 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9194
af968f62
UD
9195 * config.make.in: Add have-mfma4 entry.
9196 * configure.in: Substitute libc_cv_cc_fma4.
9197 * math/Makefile (dbl-only-routines): Add sincostab.
9198 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9199 Use __sincostab not sincos.
9200 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9201 name is a macro.
9202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9206 using __copysign.
9207 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9208 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9209 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9210 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9211 and __inv.
9212 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9213 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9214 __copysign.
9215 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9216 define aliases when function name is a macro.
9217 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9218 sysdeps/ieee754/dbl-64/sincos.tbl.
9219 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9220 fma4-enabled routines.
9221 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9222 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9223 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9224 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9225 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9231 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9234 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9236 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9237 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9238 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9239 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9251
58985aa9
UD
9252 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9253 rename.
9254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9262
a201fbcf
AS
92632011-10-24 Andreas Schwab <schwab@redhat.com>
9264
9265 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9266
fc2ee42a
LD
92672011-10-23 Ulrich Drepper <drepper@gmail.com>
9268
bb3129bd
UD
9269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9270
0275fff8
UD
9271 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9272 prediction.
9273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9274
2fa2ae85
UD
9275 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9276 Remove unused variable magic_bits.
9277 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9278
fc2ee42a
LD
9279 * string/strnlen.c: Define and use STRNLEN macro.
9280 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9281 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9283 * wcsmbs/wcslen.c: Define and use WCSLEN.
9284 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9285 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9286 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9287 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9288 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9289 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9290 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9291
ce7dd29f
LD
92922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9293
9294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9295 strnlen-sse2-no-bsf.
9296 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9298 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9299 Add strnlen support.
9300 (USE_AS_STRNLEN): New macro.
9301 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9303 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9304 * sysdeps/x86_64/wcslen.S: New file.
9305
979c70a3
MZ
93062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9307
9308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9309 XMM-moves are used for copying on small sizes.
9310
2d09f82f
LD
93112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9312
9313 * wcsmbs/Makefile (strop-tests): Add wcschr.
9314 * wcsmbs/test-wcschr.c: New file.
9315 * string/test-strchr.c: Update.
9316 Add wcschr support.
9317 (WIDE): New macro.
9318
619fccca
LD
93192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9320
2d09f82f 9321 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9322 * wcsmbs/test-wcslen.c: New file.
9323 * string/test-strlen.c: Update.
9324 Add wcslen support.
9325 (WIDE): New macro.
9326
09f699ea
UD
93272011-10-23 Ulrich Drepper <drepper@gmail.com>
9328
9329 * po/it.po: Update from translation team.
9330
95584d3b
LD
93312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9332
9333 * sysdeps/x86_64/wcscmp.S: Update.
9334 Fix wrong comparison semantics.
9335 wcscmp shall use signed comparison not unsigned.
9336 Don't use substraction to avoid overflow bug.
9337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9338 * wcsmbc/wcscmp.c: Likewise.
9339 * string/test-strcmp.c: Likewise.
9340 Add new tests to check cases with negative values.
9341
c8b3296b
UD
93422011-10-23 Ulrich Drepper <drepper@gmail.com>
9343
9344 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9345 * sysdeps/x86_64/dla.h: ...here. New file.
9346 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9355
246ad57a
AS
93562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9359 __ynl_finite aliases.
9360
a1a87169
UD
93612011-10-22 Ulrich Drepper <drepper@gmail.com>
9362
0d355eb7
UD
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9364
a1a87169
UD
9365 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9366 define DLA_FMA.
9367 [DLA_FMA] (EMULV): Use DLA_FMA.
9368 [DLA_FMA] (MUL12): Use EMULV.
9369 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9370 that are not needed.
9371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9378
ee2aafe0
AS
93792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9380
9381 * math/s_nan.c: Undef __nan.
9382 * math/s_nanf.c: Undef __nanf.
9383 * math/s_nanl.c: Undef __nanl.
9384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9385 "math_private.h".
9386
bc62c2fb
UD
93872011-10-22 Ulrich Drepper <drepper@gmail.com>
9388
77425c63
UD
9389 * math/s_catan.c: Add branch predictions.
9390 * math/s_catanf.c: Likewise.
9391 * math/s_catanh.c: Likewise.
9392 * math/s_catanhf.c: Likewise.
9393 * math/s_catanhl.c: Likewise.
9394 * math/s_catanl.c: Likewise.
9395 * math/s_cexp.c: Likewise.
9396 * math/s_cexpf.c: Likewise.
9397 * math/s_cexpl.c: Likewise.
9398 * math/s_clog.c: Likewise.
9399 * math/s_clog10.c: Likewise.
9400 * math/s_clog10f.c: Likewise.
9401 * math/s_clog10l.c: Likewise.
9402 * math/s_clogf.c: Likewise.
9403 * math/s_clogl.c: Likewise.
9404 * math/s_csqrt.c: Likewise.
9405 * math/s_csqrtf.c: Likewise.
9406 * math/s_csqrtl.c: Likewise.
9407 * math/s_ctanf.c: Likewise.
9408 * math/s_ctanh.c: Likewise.
9409 * math/s_ctanhf.c: Likewise.
9410 * math/s_ctanhl.c: Likewise.
9411 * math/s_ctanl.c: Likewise.
9412
bc62c2fb
UD
9413 * math/math_private.h: Define __nan, __nanf, __nanl.
9414 * math/s_cacosh.c: Include <math_private.h>.
9415 * math/s_cacoshl.c: Likewise.
9416 * math/s_casinh.c: Likewise.
9417 * math/s_casinhf.c: Likewise.
9418 * math/s_casinhl.c: Likewise.
9419 * math/s_ccos.c: Rely entire on ccosh.
9420 * math/s_ccosf.c: Rely entire on ccoshf.
9421 * math/s_ccosl.c: Rely entirely on ccoshl.
9422 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9423 Remove tests for FE_INVALID.
9424 * math/s_ccoshf.c: Likewise.
9425 * math/s_ccoshl.c: Likewise.
9426 * math/s_csin.c: Likewise.
9427 * math/s_csinf.c: Likewise.
9428 * math/s_csinh.c Likewise.
9429 * math/s_csinhf.c: Likewise.
9430 * math/s_csinhl.c: Likewise.
9431 * math/s_csinl.c: Likewise.
9432 * math/s_ctan.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9434 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9436
8ec250a4
UD
94372011-10-21 Ulrich Drepper <drepper@gmail.com>
9438
c196fed8
UD
9439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9440 compilation problems.
9441
8ec250a4
UD
9442 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9443 __builtin_expect.
9444
8d4f46c6
UD
94452011-10-20 Ulrich Drepper <drepper@gmail.com>
9446
ed72b654
UD
9447 * sysdeps/i386/configure.in: Test for -mfma4 option.
9448 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9449 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9450 COMMON_CPUID_INDEX_80000001.
9451 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9452 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9453 use it if FMA3 is not supported.
9454 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9455
8d4f46c6
UD
9456 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9457 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9458
d45c60c2
AS
94592011-10-20 Andreas Schwab <schwab@redhat.com>
9460
9461 [BZ #12892]
9462 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9463 it would create a cycle with a link time dependency.
9464
d9a4d2ab
UD
94652011-10-19 Ulrich Drepper <drepper@gmail.com>
9466
855d1560
UD
9467 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9468 instruction.
9469 * string/Makefile (strop-tests): Add rawmemchr.
9470 * string/test-rawmemchr.c: New file.
9471
d9a4d2ab
UD
9472 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9474 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9475 when compiling str{,n}casecmp and when AVX is available. Hook up
9476 new optimized code in initializers.
9477
8f3b1ffe
AS
94782011-10-19 Andreas Schwab <schwab@redhat.com>
9479
9480 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9481 __feraiseexcept instead of feraiseexcept.
9482
d38f1dba
UD
94832011-10-18 Ulrich Drepper <drepper@gmail.com>
9484
d9a8d0ab
UD
9485 * math/math_private.h: Define defaults for libc_fetestexcept and
9486 libc_feupdateenv.
9487 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9488 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9492 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9493 libc_fetestexcept and libc_feupdateenv.
9494
4855e3dd
UD
9495 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9496 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9497 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9498 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9499 libc_feholdexcept_setround.
9500
581d30e3
UD
9501 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9502 Add s_nearbyint-c and s_nearbyintf-c.
9503 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9504 nearbyintf inlines.
9505 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9507 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9509
d38f1dba
UD
9510 * math/math_private.h: Define defaults for libc_fegetround,
9511 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9512 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9513 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9515 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9516 standard functions.
9517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9518 Remove comments and hacks for old compiler versions.
9519 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9520 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9521 libc_feholdexceptl.
9522
caa6c9d8
AS
95232011-10-18 Andreas Schwab <schwab@redhat.com>
9524
9525 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9526 (__feraiseexcept_renamed): Add __NTH.
9527 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9528 namespace violations.
9529
97c066e6
UD
95302011-10-17 Ulrich Drepper <drepper@gmail.com>
9531
99ce7b04
UD
9532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9533
1004d182
UD
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9535
228a984d
UD
9536 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9537 recently added interfaces.
9538 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9539
c8553a6a
UD
9540 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9541 about macro parameter expansion.
9542
ed22dcf6
UD
9543 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9544 __NO_MATH_INLINES is defined. Cleanups.
9545
9546 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9547 and __floorf is target has SSE4.1.
9548 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9549 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9550 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9551 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9552
b171c137
UD
9553 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9554 name.
9555 (floorf): Likewise.
9556
97c066e6
UD
9557 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9558
629f62ef
AS
95592011-10-17 Andreas Schwab <schwab@redhat.com>
9560
49a43d80
AS
9561 * misc/sys/cdefs.h: Fix last change.
9562
629f62ef
AS
9563 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9564 database lookup.
9565
e453f6cd
UD
95662011-10-16 Ulrich Drepper <drepper@gmail.com>
9567
aa78043a
UD
9568 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9569
ad0f5cad
UD
9570 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9579 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9580 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9581 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9582 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9583 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9584 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9585 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9586 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9587 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9588 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9589 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9590 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9591 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9592
9593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9594 ceil, ceilf, floor, floorf.
9595
9596 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9597 Perform IRELATIVE relocations last.
9598
e453f6cd
UD
9599 * elf/do-rel.h: Add another parameter nrelative, replacing the
9600 local variable with the same name. Change name of the function
9601 to end in Rel or Rela (uppercase).
9602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9603 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9604 elf_dynamic_do_##reloc function.
9605
fd5bdc09
UD
96062011-10-15 Ulrich Drepper <drepper@gmail.com>
9607
79b195b5
UD
9608 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9609 is sufficient, at least on modern CPUs.
9610
d4a28569
UD
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9612
b61099b5
UD
9613 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9615
bcf01e6d
UD
9616 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9617 __expl_finite.
9618 * math/bits/math-finite.h: Add entries for exp.
9619 * math/e_expl.c: Add __*_finite alias.
9620 * sysdeps/i386/fpu/e_exp.S: Likewise.
9621 * sysdeps/i386/fpu/e_expf.S: Likewise.
9622 * sysdeps/i386/fpu/e_expl.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9624 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9628 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9630
ba1a0d59
UD
9631 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9632 is sufficient, at least on modern CPUs.
9633
fd5bdc09
UD
9634 * ctype/ctype-info.c (__ctype_init): Define.
9635 * include/ctype.h (__ctype_init): Declare.
9636 (__ctype_b_loc): The variable is always initialized.
9637 (__ctype_toupper_loc): Likewise.
9638 (__ctype_tolower_loc): Likewise.
9639 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9640 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9641
7872cfb0
AS
96422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9643
b468825a
AS
9644 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9645
7872cfb0
AS
9646 * configure.in: Also look in $cxxmachine/include for C++ system
9647 headers.
9648
be13f7bf
LD
96492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9650
9651 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9652 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9653 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9654 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9656 (USE_AS_WMEMCMP): New macro.
9657 Fixing indents.
9658 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9659 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9660 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9661 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9663 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9664 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9666 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9667 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9669 (USE_AS_WMEMCMP): New macro.
9670 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9671 * sysdeps/string/test-memcmp.c: Update.
9672 Fix simple_wmemcmp.
9673 Add new tests.
9674 * wcsmbs/wmemcmp.c: Update.
9675 (WMEMCMP): New macro.
9676 Fix overflow bug.
9677
556a2007
AJ
96782011-10-12 Andreas Jaeger <aj@suse.de>
9679
9680 [BZ #13268]
9681 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9682
538faaa7
UD
96832011-10-15 Ulrich Drepper <drepper@gmail.com>
9684
ab6737ff
UD
9685 * libio/iofwide.c (do_length): Avoid warning.
9686
538faaa7
UD
9687 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9688
396a21b1
UD
96892011-10-14 Ulrich Drepper <drepper@gmail.com>
9690
cdf2901f
UD
9691 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9692
38ad40ce
UD
9693 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9694 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9695 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9696 * sysdeps/i386/i686/fpu/e_log.S: New file.
9697 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9698 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9699
396a21b1
UD
9700 * ctype/ctype.h: Add support for inlined isXXX functions when
9701 compiling C++ code.
9702
6b1f68c9
AS
97032011-10-14 Andreas Schwab <schwab@redhat.com>
9704
349290c0
AS
9705 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9706
6b1f68c9
AS
9707 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9708
f2282d42
RM
97092011-10-13 Roland McGrath <roland@hack.frob.com>
9710
9711 [BZ #13291]
9712 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9713
5298ffa8
AS
97142011-10-13 Andreas Schwab <schwab@redhat.com>
9715
714fad23
AS
9716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9717 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9718 feraiseexcept.
9719
81dcc7fb
AS
9720 * sysdeps/x86_64/memrchr.S: Check for zero size.
9721
5298ffa8
AS
9722 * string/stratcliff.c: Add memrchr tests.
9723
951fbcec
LD
97242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9725
9726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9727 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9728 rawmemchr-sse2 rawmemchr-sse2-bsf.
9729 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9730 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9731 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9732 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9733 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9734 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9735 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9736 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9737 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9738 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9739 * string/memrchr.c (MEMRCHR): New macro.
9740
0ac5ae23
UD
97412011-10-12 Ulrich Drepper <drepper@gmail.com>
9742
9743 Add integration with gcc's -ffinite-math-only and optimize wrapper
9744 functions in libm.
9745 * Versions.def: Define GLIBC_2.15 version for libm.
9746 * math/Makefile (headers): Add bits/math-finite.h.
9747 * math/bits/math-finite.h: New file.
9748 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9749 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9750 * math/e_acoshl.c: Add __*_finite alias.
9751 * math/e_acosl.c: Likewise.
9752 * math/e_asinl.c: Likewise.
9753 * math/e_atan2l.c: Likewise.
9754 * math/e_atanhl.c: Likewise.
9755 * math/e_coshl.c: Likewise.
9756 * math/e_exp10.c: Likewise.
9757 * math/e_exp10f.c: Likewise.
9758 * math/e_exp10l.c: Likewise.
9759 * math/e_exp2l.c: Likewise.
9760 * math/e_fmodl.c: Likewise.
9761 * math/e_gammal_r.c: Likewise.
9762 * math/e_hypotl.c: Likewise.
9763 * math/e_j0l.c: Likewise.
9764 * math/e_j1l.c: Likewise.
9765 * math/e_jnl.c: Likewise.
9766 * math/e_lgammal_r.c: Likewise.
9767 * math/e_log10l.c: Likewise.
9768 * math/e_log2l.c: Likewise.
9769 * math/e_logl.c: Likewise.
9770 * math/e_powl.c: Likewise.
9771 * math/e_sinhl.c: Likewise.
9772 * math/e_sqrtl.c: Likewise.
9773 * math/e_scalb.c: Completely rewritten and optimized.
9774 * math/e_scalbf.c: Likewise.
9775 * math/e_scalbl.c: Likewise.
9776 * math/w_acos.c: Likewise.
9777 * math/w_acosf.c: Likewise.
9778 * math/w_acosl.c: Likewise.
9779 * math/w_acosh.c: Likewise.
9780 * math/w_acoshf.c: Likewise.
9781 * math/w_acoshl.c: Likewise.
9782 * math/w_asin.c: Likewise.
9783 * math/w_asinf.c: Likewise.
9784 * math/w_asinl.c: Likewise.
9785 * math/w_atan2.c: Likewise.
9786 * math/w_atan2f.c: Likewise.
9787 * math/w_atan2l.c: Likewise.
9788 * math/w_atanh.c: Likewise.
9789 * math/w_atanhf.c: Likewise.
9790 * math/w_atanhl.c: Likewise.
9791 * math/w_exp10.c: Likewise.
9792 * math/w_exp10f.c: Likewise.
9793 * math/w_exp10l.c: Likewise.
9794 * math/w_fmod.c: Likewise.
9795 * math/w_fmodf.c: Likewise.
9796 * math/w_fmodl.c: Likewise.
9797 * math/w_j0.c: Likewise.
9798 * math/w_j0f.c: Likewise.
9799 * math/w_j0l.c: Likewise.
9800 * math/w_j1.c: Likewise.
9801 * math/w_j1f.c: Likewise.
9802 * math/w_j1l.c: Likewise.
9803 * math/w_jn.c: Likewise.
9804 * math/w_jnf.c: Likewise.
9805 * math/w_log.c: Likewise.
9806 * math/w_logf.c: Likewise.
9807 * math/w_logl.c: Likewise.
9808 * math/w_log10.c: Likewise.
9809 * math/w_log10f.c: Likewise.
9810 * math/w_log10l.c: Likewise.
9811 * math/w_log2.c: Likewise.
9812 * math/w_log2f.c: Likewise.
9813 * math/w_log2l.c: Likewise.
9814 * math/w_pow.c: Likewise.
9815 * math/w_powf.c: Likewise.
9816 * math/w_powl.c: Likewise.
9817 * math/w_remainder.c: Likewise.
9818 * math/w_remainderf.c: Likewise.
9819 * math/w_remainderl.c: Likewise.
9820 * math/w_scalb.c: Likewise.
9821 * math/w_scalbf.c: Likewise.
9822 * math/w_scalbl.c: Likewise.
9823 * math/w_sqrt.c: Likewise.
9824 * math/w_sqrtf.c: Likewise.
9825 * math/w_sqrtl.c: Likewise.
9826 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9827 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9828 used.
9829 * math/math_private.h: Declare __kernel_standard_f.
9830 * math/w_cosh.c: Remove cruft and optimize a bit.
9831 * math/w_coshf.c: Likewise.
9832 * math/w_coshl.c: Likewise.
9833 * math/w_exp2.c: Likewise.
9834 * math/w_exp2f.c: Likewise.
9835 * math/w_exp2l.c: Likewise.
9836 * math/w_hypot.c: Likewise.
9837 * math/w_hypotf.c: Likewise.
9838 * math/w_hypotl.c: Likewise.
9839 * math/w_lgamma.c: Likewise.
9840 * math/w_lgamma_r.c: Likewise.
9841 * math/w_lgammaf.c: Likewise.
9842 * math/w_lgammaf_r.c: Likewise.
9843 * math/w_lgammal.c: Likewise.
9844 * math/w_lgammal_r.c: Likewise.
9845 * math/w_sinh.c: Likewise.
9846 * math/w_sinhf.c: Likewise.
9847 * math/w_sinhl.c: Likewise.
9848 * math/w_tgamma.c: Likewise.
9849 * math/w_tgammaf.c: Likewise.
9850 * math/w_tgammal.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9853 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9854 Minor optimizations. Pretty printing. Remove cruft.
9855 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9859 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9860 * sysdeps/i386/fpu/e_asin.S: Likewise.
9861 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9862 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9863 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9864 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9865 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9867 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9868 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9869 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9870 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9871 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9872 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9873 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9874 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9875 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9876 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9877 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9878 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9879 * sysdeps/i386/fpu/e_log.S: Likewise.
9880 * sysdeps/i386/fpu/e_log10.S: Likewise.
9881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9883 * sysdeps/i386/fpu/e_log2.S: Likewise.
9884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9885 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9886 * sysdeps/i386/fpu/e_logf.S: Likewise.
9887 * sysdeps/i386/fpu/e_logl.S: Likewise.
9888 * sysdeps/i386/fpu/e_pow.S: Likewise.
9889 * sysdeps/i386/fpu/e_powf.S: Likewise.
9890 * sysdeps/i386/fpu/e_powl.S: Likewise.
9891 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9892 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9893 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9897 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9898 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9899 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9921 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9922 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9923 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9924 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9925 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9927 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9929 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9934 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9935 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9936 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9937 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9938 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9939 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9940 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9941 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9993 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9997 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9998 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9999 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10000 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10001 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10002 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10003 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10004 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10008 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10010 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10011 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10012 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10013 (__isnanf): Likewise.
10014 (__isinf_ns): Likewise.
10015 (__isinf_nsf): Likewise.
10016 (__finite): Likewise.
10017 (__finitef): Likewise.
10018 (__ieee754_sqrt): Define as macro.
10019 (__ieee754_sqrtf): Define as macro.
10020 (__ieee754_sqrtl): Define as macro.
10021 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10022 inlined copy.
10023 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10024 __FINITE_MATH_ONLY__ consistent.
10025 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10026
12cc2fcd
AS
100272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10028
a843a204
AS
10029 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10030 of rawmemchr.
10031
12cc2fcd
AS
10032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10033
c853acd5
UD
100342011-10-09 Ulrich Drepper <drepper@gmail.com>
10035
10036 * po/ja.po: Update from translation team.
10037
c658d255
RM
100382011-10-08 Roland McGrath <roland@hack.frob.com>
10039
110946e4
RM
10040 * locale/programs/locarchive.c (prepare_address_space): New function.
10041 (create_archive, enlarge_archive, open_archive): Use it.
10042
50604220
RM
10043 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10044 inside [SHARED], where it is used.
10045
c658d255
RM
10046 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10047
10048 * nss/getent.c (netgroup_keys): Remove unused variable.
10049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10050
6a621eb7
UD
100512011-10-08 Ulrich Drepper <drepper@gmail.com>
10052
7edb55ce
UD
10053 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10057 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10058 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10059 * math/Makefile (libm-calls): Add s_isinf_ns.
10060 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10061 * math/multc3.c: Likewise.
10062 * math/s_casin.c: Likewise.
10063 * math/s_casinf.c: Likewise.
10064 * math/s_casinl.c: Likewise.
10065 * math/s_ccos.c: Likewise.
10066 * math/s_ccosf.c: Likewise.
10067 * math/s_ccosl.c: Likewise.
10068 * math/s_ctan.c: Likewise.
10069 * math/s_ctanf.c: Likewise.
10070 * math/s_ctanh.c: Likewise.
10071 * math/s_ctanhf.c: Likewise.
10072 * math/s_ctanhl.c: Likewise.
10073 * math/s_ctanl.c: Likewise.
10074 * math/w_fmod.c: Likewise.
10075 * math/w_fmodf.c: Likewise.
10076 * math/w_fmodl.c: Likewise.
10077 * math/w_remainder.c: Likewise.
10078 * math/w_remainderf.c: Likewise.
10079 * math/w_remainderl.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10081 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10084 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10085 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10086 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10087 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10088
187da0ae
UD
10089 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10090 of the number.
10091 * stdio-common/printf_fphex.c: Likewise.
10092 * stdio-common/printf_size.c: Likewise.
10093
9277c064
UD
10094 * math/e_exp10.c: Include math_private.h using <...> not "...".
10095 * math/e_exp10f.c: Likewise.
10096 * math/e_exp10l.c: Likewise.
10097 * math/e_exp2l.c: Likewise.
10098 * math/e_j0l.c: Likewise.
10099 * math/e_j1l.c: Likewise.
10100 * math/e_jnl.c: Likewise.
10101 * math/e_lgammal_r.c: Likewise.
10102 * math/e_rem_pio2l.c: Likewise.
10103 * math/e_scalb.c: Likewise.
10104 * math/e_scalbf.c: Likewise.
10105 * math/e_scalbl.c: Likewise.
10106 * math/k_cosl.c: Likewise.
10107 * math/k_sinl.c: Likewise.
10108 * math/k_tanl.c: Likewise.
10109 * math/s_cacoshf.c: Likewise.
10110 * math/s_catan.c: Likewise.
10111 * math/s_catanf.c: Likewise.
10112 * math/s_catanh.c: Likewise.
10113 * math/s_catanhf.c: Likewise.
10114 * math/s_catanhl.c: Likewise.
10115 * math/s_catanl.c: Likewise.
10116 * math/s_ccosh.c: Likewise.
10117 * math/s_ccoshf.c: Likewise.
10118 * math/s_ccoshl.c: Likewise.
10119 * math/s_cexp.c: Likewise.
10120 * math/s_cexpf.c: Likewise.
10121 * math/s_cexpl.c: Likewise.
10122 * math/s_clog.c: Likewise.
10123 * math/s_clog10.c: Likewise.
10124 * math/s_clog10f.c: Likewise.
10125 * math/s_clog10l.c: Likewise.
10126 * math/s_clogf.c: Likewise.
10127 * math/s_clogl.c: Likewise.
10128 * math/s_csin.c: Likewise.
10129 * math/s_csinf.c: Likewise.
10130 * math/s_csinh.c: Likewise.
10131 * math/s_csinhf.c: Likewise.
10132 * math/s_csinhl.c: Likewise.
10133 * math/s_csinl.c: Likewise.
10134 * math/s_csqrt.c: Likewise.
10135 * math/s_csqrtf.c: Likewise.
10136 * math/s_csqrtl.c: Likewise.
10137 * math/s_ctan.c: Likewise.
10138 * math/s_ctanf.c: Likewise.
10139 * math/s_ctanh.c: Likewise.
10140 * math/s_ctanhf.c: Likewise.
10141 * math/s_ctanhl.c: Likewise.
10142 * math/s_ctanl.c: Likewise.
10143 * math/s_ldexp.c: Likewise.
10144 * math/s_ldexpf.c: Likewise.
10145 * math/s_ldexpl.c: Likewise.
10146 * math/s_significand.c: Likewise.
10147 * math/s_significandf.c: Likewise.
10148 * math/s_significandl.c: Likewise.
10149 * math/w_acos.c: Likewise.
10150 * math/w_acosf.c: Likewise.
10151 * math/w_acosh.c: Likewise.
10152 * math/w_acoshf.c: Likewise.
10153 * math/w_acoshl.c: Likewise.
10154 * math/w_acosl.c: Likewise.
10155 * math/w_asin.c: Likewise.
10156 * math/w_asinf.c: Likewise.
10157 * math/w_asinl.c: Likewise.
10158 * math/w_atan2.c: Likewise.
10159 * math/w_atan2f.c: Likewise.
10160 * math/w_atan2l.c: Likewise.
10161 * math/w_atanh.c: Likewise.
10162 * math/w_atanhf.c: Likewise.
10163 * math/w_atanhl.c: Likewise.
10164 * math/w_cosh.c: Likewise.
10165 * math/w_coshf.c: Likewise.
10166 * math/w_coshl.c: Likewise.
10167 * math/w_dremf.c: Likewise.
10168 * math/w_exp10.c: Likewise.
10169 * math/w_exp10f.c: Likewise.
10170 * math/w_exp10l.c: Likewise.
10171 * math/w_exp2.c: Likewise.
10172 * math/w_exp2f.c: Likewise.
10173 * math/w_fmod.c: Likewise.
10174 * math/w_fmodf.c: Likewise.
10175 * math/w_fmodl.c: Likewise.
10176 * math/w_hypot.c: Likewise.
10177 * math/w_hypotf.c: Likewise.
10178 * math/w_hypotl.c: Likewise.
10179 * math/w_j0.c: Likewise.
10180 * math/w_j0f.c: Likewise.
10181 * math/w_j0l.c: Likewise.
10182 * math/w_j1.c: Likewise.
10183 * math/w_j1f.c: Likewise.
10184 * math/w_j1l.c: Likewise.
10185 * math/w_jn.c: Likewise.
10186 * math/w_jnf.c: Likewise.
10187 * math/w_jnl.c: Likewise.
10188 * math/w_lgamma.c: Likewise.
10189 * math/w_lgamma_r.c: Likewise.
10190 * math/w_lgammaf.c: Likewise.
10191 * math/w_lgammaf_r.c: Likewise.
10192 * math/w_lgammal.c: Likewise.
10193 * math/w_lgammal_r.c: Likewise.
10194 * math/w_log.c: Likewise.
10195 * math/w_log10.c: Likewise.
10196 * math/w_log10f.c: Likewise.
10197 * math/w_log10l.c: Likewise.
10198 * math/w_log2.c: Likewise.
10199 * math/w_log2f.c: Likewise.
10200 * math/w_log2l.c: Likewise.
10201 * math/w_logf.c: Likewise.
10202 * math/w_logl.c: Likewise.
10203 * math/w_pow.c: Likewise.
10204 * math/w_powf.c: Likewise.
10205 * math/w_powl.c: Likewise.
10206 * math/w_remainder.c: Likewise.
10207 * math/w_remainderf.c: Likewise.
10208 * math/w_remainderl.c: Likewise.
10209 * math/w_scalb.c: Likewise.
10210 * math/w_scalbf.c: Likewise.
10211 * math/w_scalbl.c: Likewise.
10212 * math/w_sinh.c: Likewise.
10213 * math/w_sinhf.c: Likewise.
10214 * math/w_sinhl.c: Likewise.
10215 * math/w_sqrt.c: Likewise.
10216 * math/w_sqrtf.c: Likewise.
10217 * math/w_sqrtl.c: Likewise.
10218 * math/w_tgamma.c: Likewise.
10219 * math/w_tgammaf.c: Likewise.
10220 * math/w_tgammal.c: Likewise.
10221
6a621eb7
UD
10222 * po/ja.po: Update from translation team.
10223
bf582445
AJ
102242011-09-29 Andreas Jaeger <aj@suse.de>
10225
f9efbf3a
AJ
10226 [BZ #13179]
10227 * sunrpc/netname.c (netname2host): Fix logic.
10228
bf582445
AJ
10229 [BZ #6779]
10230 [BZ #6783]
10231 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10232 correctly.
10233 * math/w_remainder.c (__remainder): Likewise.
10234 * math/w_remainderf.c (__remainderf): Likewise.
10235 * math/libm-test.inc (remainder_test): Add test cases.
10236
48693bea
AK
102372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10238
10239 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10240 sdiv_qrnnd.
10241
42622229
LD
102422011-10-07 Ulrich Drepper <drepper@gmail.com>
10243
10244 * string/test-memcmp.c: Avoid unncessary #defines.
10245 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10246
093ecf92
LD
102472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10248
10249 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10250 Use new sse2 version for core i3 - i7 as it's faster
10251 than sse42 version.
10252 (bit_Prefer_PMINUB_for_stringop): New.
10253 * sysdeps/x86_64/rawmemchr.S: Update.
10254 Replace with faster SSE2 version.
10255 * sysdeps/x86_64/memrchr.S: New file.
10256 * sysdeps/x86_64/memchr.S: Update.
10257 Replace with faster SSE2 version.
10258
fde56e5c
MP
102592011-09-12 Marek Polacek <mpolacek@redhat.com>
10260
10261 * elf/dl-load.c (lose): Add cast to avoid warning.
10262
21fd49a9
UD
102632011-10-07 Ulrich Drepper <drepper@gmail.com>
10264
5a06e643
UD
10265 * po/ca.po: Update from translation team.
10266
684ae515
UD
10267 * inet/getnetgrent_r.c: Hook up nscd.
10268 * nscd/Makefile (routines): Add nscd_netgroup.
10269 (nscd-modules): Add netgroupcache.
10270 (CFLAGS-netgroupcache.c): Define.
10271 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10272 (cache_search): Add const to second parameter.
10273 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10274 INNETGR.
10275 (dbs): Add netgrdb entry.
10276 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10277 (verify_persistent_db): Handle netgrdb.
10278 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10279 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10280 GETFDNETGR.
10281 (netgroup_response_header): Define.
10282 (innetgroup_response_header): Define.
10283 (datahead): Add netgroup_response_header and innetgroup_response_header
10284 elements.
10285 * nscd/nscd.conf: Add entries for netgroup cache.
10286 * nscd/nscd.h (dbtype): Add netgrdb.
10287 (_PATH_NSCD_NETGROUP_DB): Define.
10288 (netgroup_iov_disabled): Declare.
10289 (xmalloc, xcalloc, xrealloc): Move declarations here.
10290 (cache_search): Adjust prototype.
10291 Add netgroup-related prototypes.
10292 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10293 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10294 (__nscd_innetgr): Declare.
10295 * nscd/selinux.c (perms): Use access_vector_t as element type and
10296 add netgroup-related initializers.
10297 * nscd/netgroupcache.c: New file.
10298 * nscd/nscd_netgroup.c: New file.
10299 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10300 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10301 For four parameters use innetgr.
10302 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10303 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10304 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10305 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10306
21fd49a9
UD
10307 * nscd/connections.c (register_traced_file): Don't register file
10308 for disabled databases.
10309
054c0457
UD
103102011-10-06 Ulrich Drepper <drepper@gmail.com>
10311
32b63198
UD
10312 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10313
054c0457
UD
10314 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10315 from tree and freeing node.
10316
64031225
JO
103172011-09-25 Jiri Olsa <jolsa@redhat.com>
10318
10319 * nss/nsswitch.c (__nss_database_lookup): Handle
10320 nss_parse_service_list out of memory case.
10321
0490345c
JO
103222011-09-15 Jiri Olsa <jolsa@redhat.com>
10323
10324 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10325 out of memory case.
10326
3a62d00d
AS
103272011-10-04 Andreas Schwab <schwab@redhat.com>
10328
10329 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10330 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10331 pass it down.
10332 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10333 elf_machine_rela, elf_machine_lazy_rel.
10334 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10335 (ELF_DYNAMIC_DO_REL): Likewise.
10336 (ELF_DYNAMIC_DO_RELA): Likewise.
10337 (ELF_DYNAMIC_RELOCATE): Likewise.
10338 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10339 to ELF_DYNAMIC_DO_REL.
10340 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10341 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10342 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10343 elf_machine_rela.
10344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10345 skip_ifunc, don't call ifunc function if non-zero.
10346 (elf_machine_rela): Likewise.
10347 (elf_machine_lazy_rel): Likewise.
10348 (elf_machine_lazy_rela): Likewise.
10349 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10350 (elf_machine_lazy_rel): Likewise.
10351 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10352 Likewise.
10353 (elf_machine_lazy_rel): Likewise.
10354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10355 Likewise.
10356 (elf_machine_lazy_rel): Likewise.
10357 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10358 (elf_machine_lazy_rel): Likewise.
10359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10360 (elf_machine_lazy_rel): Likewise.
10361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10362 (elf_machine_lazy_rel): Likewise.
10363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10364 (elf_machine_lazy_rel): Likewise.
10365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10366 (elf_machine_lazy_rel): Likewise.
10367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10368 (elf_machine_lazy_rel): Likewise.
10369
68577918
UD
103702011-09-28 Ulrich Drepper <drepper@gmail.com>
10371
10372 * nss/nss_files/files-init.c (_nss_files_init): Use static
10373 initialization for all the *_traced_file variables.
10374
68822d74
AS
103752011-09-28 Andreas Schwab <schwab@redhat.com>
10376
10377 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10378
2056100b
RM
103792011-09-27 Roland McGrath <roland@hack.frob.com>
10380
10381 [BZ #13226]
10382 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10383
32c76b63
AS
103842011-09-27 Andreas Schwab <schwab@redhat.com>
10385
10386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10387 Reread the line before reparsing it.
10388
bf972c9d
AS
103892011-09-26 Andreas Schwab <schwab@redhat.com>
10390
10391 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10392
e057a1b5
JM
103932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10394 Maxim Kuvyrkov <maxim@codesourcery.com>
10395 Joseph Myers <joseph@codesourcery.com>
10396
10397 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10398 if needed for __stack_chk_guard.
10399
bc7e1c36
RM
104002011-09-19 Roland McGrath <roland@hack.frob.com>
10401
ecb1482f
RM
10402 * sysdeps/posix/spawni.c (script_execute): Always define it.
10403 It will be optimized away if unused.
10404 (maybe_script_execute): New function.
10405 (__spawni): Call it.
10406
bc7e1c36
RM
10407 * Makerules: Don't include tls.make.
10408 (config-tls): Always set to thread.
10409 * tls.make.c: File removed.
10410
1c3b002b
MF
104112011-09-19 Mike Frysinger <vapier@gentoo.org>
10412
10413 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10414 * config.make.in (CPPFLAGS-config): New substituted variable.
10415
2840865d
UD
104162011-09-15 Ulrich Drepper <drepper@gmail.com>
10417
88738eb6
UD
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10419
cbf645a6 10420 [BZ #13192]
2840865d
UD
10421 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10422 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10423
b402e91a
RM
104242011-09-15 Roland McGrath <roland@hack.frob.com>
10425
10426 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10427 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10429 (CALL_FAIL): Likewise.
10430 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10431 (CALL_FAIL): Macro removed.
10432 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10433
4c1a1f71
UD
104342011-09-15 Ulrich Drepper <drepper@gmail.com>
10435
10436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10437 for __FINITE_MATH_ONLY__ == 1.
10438
edc121be
AS
104392011-09-15 Andreas Schwab <schwab@redhat.com>
10440
10441 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10442 __ieee754_sqrt instead of sqrt.
10443 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10444 __ieee754_sqrtf instead of sqrtf.
10445 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10446 __floorf instead of floorf.
10447 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10448 __floorf, __truncf instead of floorf, truncf.
10449
cd205654
UD
104502011-09-14 Ulrich Drepper <drepper@gmail.com>
10451
ee4d0315
UD
10452 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10453
cd205654
UD
10454 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10455 __extern_always_inline.
10456 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10457 32-bit.
10458
48b67d71
AS
104592011-09-14 Andreas Schwab <schwab@redhat.com>
10460
10461 * elf/rtld.c (dl_main): Also relocate in dependency order when
10462 doing symbol dependency testing.
10463
1ae12c75
AS
104642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10465
10466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10467 Always define `refsym'.
10468
995a80df
AS
104692011-09-13 Andreas Schwab <schwab@redhat.com>
10470
e529793b
AS
10471 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10472 (__FD_ELT): Renamed from __FDELT.
10473 * misc/bits/select2.h (__FD_ELT): Likewise.
10474 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10475 __FD_MASK instead of __FDELT, __FDMASK.
10476 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10477 Likewise.
10478 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10479 Likewise.
10480
52d4fef8
AS
10481 * elf/Makefile (gen-ldd): Fix pattern.
10482
995a80df
AS
10483 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10484 (init_tls): Likewise.
10485
8682f8b0
UD
104862011-09-12 Ulrich Drepper <drepper@gmail.com>
10487
10488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10489
de82006d
AS
104902011-09-12 Andreas Schwab <schwab@redhat.com>
10491
a7c8e6a1
AS
10492 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10493 `struct cmsghdr *' instead of `void *'.
10494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10495 Likewise.
10496
0f31fe77
AS
104972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10498
10499 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10500 if non-absolute.
10501 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10502 ldd_rewrite_script.
0f31fe77 10503
32b4c839
UD
105042011-09-11 Ulrich Drepper <drepper@gmail.com>
10505
83cd1420
UD
10506 * configure.in: Remove --with-tls option.
10507 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10508 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10509 out in case it is missing.
10510 * sysdeps/ia64/elf/configure.in: Likewise.
10511 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10512 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10513 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10514 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10515 * sysdeps/sh/elf/configure.in: Likewise.
10516 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10517 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10518 * sysdeps/x86_64/elf/configure.in: Likewise.
10519 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10520 * sysdeps/mach/hurd/tls.h: Likewise.
10521
633f745d
UD
10522 [BZ #13067]
10523 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10524
f318beb8
UD
10525 [BZ #13090]
10526 * configure.in: Fix use of AC_INIT.
10527
32b4c839
UD
10528 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10529
3ce1f295
UD
105302011-09-10 Ulrich Drepper <drepper@gmail.com>
10531
bb016596
UD
10532 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10533 __set_errno.
8e58439c
UD
10534 * malloc/hooks.c: Likewise.
10535
aebae053 10536 [BZ #11929]
02d46fc4
UD
10537 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10538 variables statically.
10539 (narenas): Initialize.
10540 (list_lock): Initialize.
bb016596
UD
10541 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10542 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10543 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10544 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10545 Add initializers to main_arena and mp_.
10546 (malloc_state): Remove pagesize member. Change all users to use
10547 GLRO(dl_pagesize).
10548
10549 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10550 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10551 is always initialized.
10552
22a89187
UD
10553 * malloc/malloc.c: Removed unused configurations and dead code.
10554 * malloc/arena.c: Likewise.
10555 * malloc/hooks.c: Likewise.
02d46fc4 10556 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10557
d063d164
UD
10558 * include/tls.h: Removed. USE___THREAD must always be defined.
10559 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10560 * elf/dl-libc.c: Likewise.
10561 * elf/dl-tsd.c: Likewise.
10562 * include/errno.h: Likewise.
10563 * include/netdb.h: Likewise.
10564 * include/resolv.h: Likewise.
10565 * inet/herrno-loc.c: Likewise.
10566 * inet/herrno.c: Likewise.
10567 * malloc/arena.c: Likewise.
10568 * malloc/hooks.c: Likewise.
10569 * malloc/malloc.c: Likewise.
10570 * resolv/res-state.c: Likewise.
10571 * resolv/res_libc.c: Likewise.
10572 * sysdeps/i386/dl-machine.h: Likewise.
10573 * sysdeps/ia64/dl-machine.h: Likewise.
10574 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10575 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10578 * sysdeps/sh/dl-machine.h: Likewise.
10579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10580 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10581 * sysdeps/unix/i386/sysdep.S: Likewise.
10582 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10583 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10584 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10588 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10593 * sysdeps/x86_64/dl-machine.h: Likewise.
10594 * tls.make.c: Likewise.
10595
3ce1f295
UD
10596 * configure.in: Remove --with-__thread option. Make tests for
10597 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10598 tls_model attribute fail if no support is available. Remove
10599 USE_IN_LIBIO.
10600 * Makeconfig: Adjust for dropped configure option. All features are
10601 now mandatory.
10602 * Makerules: Likewise.
10603 * Versions.def: Likewise.
10604 * argp/argp-fmtstream.c: Likewise.
10605 * argp/argp-fmtstream.h: Likewise.
10606 * argp/argp-help.c: Likewise.
10607 * assert/assert.c: Likewise.
10608 * config.h.in: Likewise.
10609 * config.make.in: Likewise.
10610 * configure: Likewise.
10611 * configure.in: Likewise.
10612 * csu/Versions: Likewise.
10613 * csu/init.c: Likewise.
10614 * elf/tst-audit2.c: Likewise.
10615 * elf/tst-tls10.c: Likewise.
10616 * elf/tst-tls10.h: Likewise.
10617 * elf/tst-tls11.c: Likewise.
10618 * elf/tst-tls12.c: Likewise.
10619 * elf/tst-tls14.c: Likewise.
10620 * elf/tst-tlsmod11.c: Likewise.
10621 * elf/tst-tlsmod12.c: Likewise.
10622 * elf/tst-tlsmod13.c: Likewise.
10623 * elf/tst-tlsmod13a.c: Likewise.
10624 * elf/tst-tlsmod14a.c: Likewise.
10625 * elf/tst-tlsmod15b.c: Likewise.
10626 * elf/tst-tlsmod16a.c: Likewise.
10627 * elf/tst-tlsmod16b.c: Likewise.
10628 * elf/tst-tlsmod7.c: Likewise.
10629 * elf/tst-tlsmod8.c: Likewise.
10630 * elf/tst-tlsmod9.c: Likewise.
10631 * gmon/gmon.c: Likewise.
10632 * grp/fgetgrent_r.c: Likewise.
10633 * grp/putgrent.c: Likewise.
10634 * hurd/fopenport.c: Likewise.
10635 * include/libc-symbols.h: Likewise.
10636 * include/tls.h: Likewise.
10637 * intl/gettextP.h: Likewise.
10638 * intl/loadinfo.h: Likewise.
10639 * locale/global-locale.c: Likewise.
10640 * locale/localeinfo.h: Likewise.
10641 * mach/devstream.c: Likewise.
10642 * malloc/arena.c: Likewise.
10643 * malloc/set-freeres.c: Likewise.
10644 * misc/err.c: Likewise.
10645 * misc/getttyent.c: Likewise.
10646 * misc/mntent_r.c: Likewise.
10647 * posix/getopt.c: Likewise.
10648 * posix/wordexp.c: Likewise.
10649 * pwd/fgetpwent_r.c: Likewise.
10650 * resolv/Versions: Likewise.
10651 * resolv/res_hconf.c: Likewise.
10652 * shadow/fgetspent_r.c: Likewise.
10653 * shadow/putspent.c: Likewise.
10654 * stdio-common/printf_fphex.c: Likewise.
10655 * stdio-common/tmpfile.c: Likewise.
10656 * stdlib/abort.c: Likewise.
10657 * stdlib/fmtmsg.c: Likewise.
10658 * sunrpc/auth_unix.c: Likewise.
10659 * sunrpc/clnt_perr.c: Likewise.
10660 * sunrpc/clnt_tcp.c: Likewise.
10661 * sunrpc/clnt_udp.c: Likewise.
10662 * sunrpc/clnt_unix.c: Likewise.
10663 * sunrpc/openchild.c: Likewise.
10664 * sunrpc/svc_simple.c: Likewise.
10665 * sunrpc/svc_tcp.c: Likewise.
10666 * sunrpc/svc_udp.c: Likewise.
10667 * sunrpc/svc_unix.c: Likewise.
10668 * sunrpc/xdr.c: Likewise.
10669 * sunrpc/xdr_array.c: Likewise.
10670 * sunrpc/xdr_rec.c: Likewise.
10671 * sunrpc/xdr_ref.c: Likewise.
10672 * sunrpc/xdr_stdio.c: Likewise.
10673
1248c1c4
PB
106742011-09-09 Ulrich Drepper <drepper@gmail.com>
10675
10676 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10677
106782011-07-03 Andreas Jaeger <aj@suse.de>
10679
10680 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10681 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10682 regenerate with gen-libm-tests.pl.
10683
106842010-05-12 Petr Baudis <pasky@suse.cz>
10685
10686 [BZ #11589]
10687 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10688 around j0() zero points by switching to j1().
10689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10693
f22e1074
UD
106942011-09-09 Ulrich Drepper <drepper@gmail.com>
10695
f19009c1
UD
10696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10697 instead of 0.
10698 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10699 instead of 0. .
10700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10701 Patch in part by Pavel Roskin <proski@gnu.org>.
10702
3f8cc204
UD
10703 [BZ #13138]
10704 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10705 realloc.
10706 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10707 Free memory block if necessary.
10708
f22e1074
UD
10709 [BZ #12847]
10710 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10711 be NULL. Don't lock in this case.
10712
0a2349f9
RM
107132011-09-09 Roland McGrath <roland@hack.frob.com>
10714
10715 * elf/elf.h (ELFOSABI_GNU): New macro.
10716 (ELFOSABI_LINUX): Define to that.
10717
f3cdd467
DZ
107182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10719
10720 * string/strncat.c (strncat): Undef the symbol in case it has been
10721 defined in bits/string.h.
10722
74718d13
UD
107232011-09-09 Ulrich Drepper <drepper@gmail.com>
10724
633e9e0f
UD
10725 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10726
0a2349f9 10727 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10728 link map.
10729
f9924780
AJ
107302011-08-17 Andreas Jaeger <aj@suse.de>
10731
10732 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10733
7f5517aa
PP
107342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10735 Ian Lance Taylor <iant@google.com>
10736
10737 * math/libm-test.inc (lround_test): New testcase.
10738 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10739
762011fe
UD
107402011-09-08 Ulrich Drepper <drepper@gmail.com>
10741
92963737
UD
10742 * Makefile: Remove support for automatic cvs check-ins.
10743 * Makerules: Likewise.
10744 * config.make.in: Likewise.
10745 * configure.in: Likewise.
10746 * intl/Makefile: Likewise.
10747 * locale/Makefile: Likewise.
10748 * po/Makefile: Likewise.
10749 * posix/Makefile: Likewise.
10750 * sysdeps/gnu/Makefile: Likewise.
10751 * sysdeps/mach/hurd/Makefile: Likewise.
10752 * sysdeps/sparc/sparc32/Makefile: Likewise.
10753
b0727fd8
JS
10754 [BZ #13118]
10755 * posix/Makefile (bug-regex32-ENV): Define.
10756 Patch by John Stanley <jpsinthemix@verizon.net>.
10757
a0f33f99
UD
10758 * misc/Makefile (headers): Add bits/select2.h.
10759 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10760 * misc/bits/select2.h: New file.
10761 * include/bits/select2.h: New file.
10762 * debug/Makefile (routines): Add fdelt_chk.
10763 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10764 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10765 FD_ISSET.
10766 * debug/fdelt_chk.c: New file.
10767
762011fe
UD
10768 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10769 * wcsmbs/test-wmemcmp.c: Likewise.
10770 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10771 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10772
107732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10774
10775 * string/Makefile (strop-tests): Add memcmp.
10776 * string/test-wmemcmp.c: New file.
10777 * string/test-memcmp.c: Add wmemcmp support.
10778
7f513ec8
RM
107792011-09-08 Roland McGrath <roland@hack.frob.com>
10780
0442afb4
RM
10781 [BZ #13153]
10782 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10783 2011-07-19 change.
10784
7f513ec8
RM
10785 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10786 garbage value in a __mach_port_mod_refs call in the cases of the
10787 task-self and thread-self ports.
10788
a12b2239
ST
107892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10790
10791 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10792
610f9ab4
AS
107932011-09-08 Andreas Schwab <schwab@redhat.com>
10794
7f513ec8 10795 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10796
48882a1a
LD
107972011-09-07 Ulrich Drepper <drepper@gmail.com>
10798
b49865be
UD
10799 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10800
fdc86bc9
UD
10801 * elf/dl-libc.c (dlerror_run): Pass back error code from
10802 dl_catch_error.
10803
c966526a
UD
10804 [BZ #13123]
10805 * elf/dl-load.c (lose): Free l_origin if it is valid.
10806
48882a1a
LD
10807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10808 names.
10809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10813 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10814 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10815
77a2a8b4
AZ
108162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10817
10818 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10819 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10822 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10823 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10824 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10825 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10826 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10827 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10828
24f579d8
AM
108292011-08-15 Alan Modra <amodra@gmail.com>
10830
10831 [BZ #13092]
10832 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10833 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10834 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10835 ppc_mcount to static-only-routines.
10836 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10837 __mcount_internal.
10838 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10839 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10840
3d4837df
UD
108412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10842
10843 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10844 for finite and infinity parameters.
10845
22700377
WS
108462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10847
10848 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10849 and add nop instructions for throughput optimization.
10850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10851
5025581e
WS
108522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10853
10854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10855 aligned copy for power7 with vector-scalar instructions.
10856 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10857
08a300c9
L
108582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10861 AVX check.
10862
59178ef9
AS
108632011-09-07 Andreas Schwab <schwab@redhat.com>
10864
10865 [BZ #13144]
10866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10867 last change.
10868
e38ba7ab
UD
108692011-09-07 Ulrich Drepper <drepper@gmail.com>
10870
10871 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10872 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10873 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10874 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10875 clock_gettime.
10876
d53a73ac
UD
108772011-09-06 Ulrich Drepper <drepper@gmail.com>
10878
fc8bffcc
UD
10879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10880 Forgot to demangle the pointer.
10881
ceaa0c5d
UD
10882 * sysdeps/i386/sysdep.h: Define atom_text_section.
10883 * sysdeps/x86_64/sysdep.h: Likewise.
10884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10885 section with atom_text_section.
10886 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10888 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10891
a77d3c17
UD
10892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10893 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10894 already be defined. Change to take two parameters and don't assign
10895 result to variable. Adjust all users.
10896 Define INTERNAL_GETTIME if not already defined.
10897 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10898 call.
10899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10900 HAVE_CLOCK_GETTIME_VSYSCALL.
10901 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10902
d53a73ac
UD
10903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10904 gettimeofday vsyscall, just use time.
10905
a8f84144
AS
109062011-09-06 Andreas Schwab <schwab@redhat.com>
10907
10908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10909 <errno.h>.
10910
ef606249
UD
109112011-09-06 Ulrich Drepper <drepper@gmail.com>
10912
10913 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10914 syscall on x86-64.
10915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10916 syscall.
10917 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10919 syscall if possible.
10920
6585cb60
UD
109212011-09-05 Ulrich Drepper <drepper@gmail.com>
10922
10923 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10924 e_ident. Don't pass to find_mapsXX.
10925 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10926
a5f524e4
LD
109272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10928
10929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10930 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10931 * sysdeps/x86_64/multiarch/strchr.S: Update.
10932 Check bit_slow_BSF bit.
10933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10934 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10935 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10936
554881ef
UD
109372011-09-05 Ulrich Drepper <drepper@gmail.com>
10938
d96de963
UD
10939 [BZ #13134]
10940 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10941 before glibc 2.15.
10942 (tryshell): Define.
10943 (__spawni): Change last parameter to be flag. Test
10944 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10945 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10946 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10947 * posix/spawni.c: Likewise.
10948 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10949 * posix/spawnp.c: Likewise. Change normal version to use
10950 SPAWN_XFLAGS_USE_PATH.
10951 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10952 SPAWN_XFLAGS_TRY_SHELL.
10953
d48e5868
UD
10954 [BZ #13150]
10955 * posix/glob.h: Remove gcc 1.x support.
10956
554881ef
UD
10957 [BZ #13068]
10958 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10959
693fb948
LD
109602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10961
10962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10963 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10964 strrchr-sse2-bsf
10965 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10966 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10967 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10968 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10969 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10970 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10971
1b48c537
UD
109722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10973
49d42c37
UD
10974 * sysdeps/x86_64/wcscmp.S: New file.
10975
1b48c537
UD
10976 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10977 wcscmp-c wcscmp-sse2
10978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10979 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10980 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10981 * wcsmbs/wcscmp.c: Allow renaming.
10982
15c95c5d
DM
109832011-09-05 David S. Miller <davem@davemloft.net>
10984
10985 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10986 stack slot, rather than the struct return pointer slot.
10987 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10988 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10990 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10991
2f0ad8f3
UD
109922011-09-05 Ulrich Drepper <drepper@gmail.com>
10993
d88ae418
UD
10994 * po/ja.po: Update from translation team.
10995
2f0ad8f3
UD
10996 [BZ #13144]
10997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10998 kernel in 64-bit binaries.
10999
5f4318d1
DM
110002011-09-01 David S. Miller <davem@davemloft.net>
11001
11002 * elf/elf.h (HWCAP_SPARC_*): Move to..
11003 * sysdeps/sparc/sysdep.h: this new file and add new values.
11004 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11005 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11006 _DL_HWCAP_COUNT to 24.
11007 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11008 entries.
11009 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11010 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11011 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11013 instead of magic constants.
11014 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11015
3ba57516
DM
110162011-08-31 David S. Miller <davem@davemloft.net>
11017
11018 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11020 Reimplement to do errno handling inline.
11021 (SYSCALL_ERROR_HANDLER): New macro.
11022 (__SYSCALL_STRING): Do not do errno handling in asm.
11023 (__CLONE_SYSCALL_STRING): Delete.
11024 (__INTERNAL_SYSCALL_STRING): Delete.
11025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11026 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11027 (PSEUDO): Reimplement to do errno handling inline.
11028 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11029 (SYSCALL_ERROR_HANDLER): New macro.
11030 (__SYSCALL_STRING): Do not do errno handling in asm.
11031 (__CLONE_SYSCALL_STRING): Delete.
11032 (__INTERNAL_SYSCALL_STRING): Delete.
11033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11034 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11035 i386.
11036 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11037 (inline_syscall*): Add 'err' argument.
11038 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11039 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11040 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11041 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11042
11043 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11044 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11045
2bc17433
AS
110462011-08-30 Andreas Schwab <schwab@redhat.com>
11047
11048 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11049
fbeb5f4d
JO
110502011-08-29 Jiri Olsa <jolsa@redhat.com>
11051
11052 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11053 directive.
11054
ad69cc26
DM
110552011-08-24 David S. Miller <davem@davemloft.net>
11056
11057 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11058
39dd69df
AS
110592011-08-24 Andreas Schwab <schwab@redhat.com>
11060
11061 * elf/Makefile: Add rules to build and run unload8 test.
11062 * elf/unload8.c: New file.
11063 * elf/unload8mod1.c: New file.
11064 * elf/unload8mod1x.c: New file.
11065 * elf/unload8mod2.c: New file.
11066 * elf/unload8mod3.c: New file.
11067
11068 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11069 it wasn't used.
11070
2c0b250a
DM
110712011-08-23 David S. Miller <davem@davemloft.net>
11072
11073 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11074 subtract stack bias.
11075 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11076 %sp not %fp in calculations.
11077 (_JMPBUF_UNWINDS_ADJ): Likewise.
11078
22044b48
DM
11079 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11080 (aio_suspend): Call it to force an exception region around the
11081 AIO_MISC_WAIT() invocation.
11082
2cae4995
AS
110832011-08-23 Andreas Schwab <schwab@redhat.com>
11084
11085 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11086 backslash.
11087
873a772e
AJ
110882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11089
11090 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11091 protection macro.
11092 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11093 and <dl-machine.h>.
11094 (Elf64_FuncDesc): Remove.
11095
25ad0df1
DM
110962011-08-22 David S. Miller <davem@davemloft.net>
11097
11098 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11099 sigaltstack check, add missing cfi directives.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11101 missing cfi directives, and sigaltstack handling.
11102
e888bcbe
AS
111032011-08-16 Andreas Schwab <schwab@redhat.com>
11104
11105 [BZ #11724]
11106 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11107 object is seen twice.
11108 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11109
11110 * elf/Makefile (distribute): Add tst-initorder2.c.
11111 (tests): Add tst-initorder2.
11112 (modules-names): Add tst-initorder2a tst-initorder2b
11113 tst-initorder2c tst-initorder2d. Add rules to build them.
11114 ($(objpfx)tst-initorder2.out): New rule.
11115 * elf/tst-initorder2.c: New file.
11116 * elf/tst-initorder2.exp: New file.
11117
87162f46
AS
111182011-08-22 Andreas Schwab <schwab@redhat.com>
11119
70538b7f
AS
11120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11121
f55ffe58
AS
11122 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11123 dependencies back to end of function.
11124
87162f46
AS
11125 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11126 $(elfobjdir)/ld.so.
11127
91b392a4
UD
111282011-08-21 Ulrich Drepper <drepper@gmail.com>
11129
11130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11131 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11133 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11134 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11135 of __vdso_gettimeofday.
11136 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11137 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11138 attribute_hidden.
11139 (_libc_vdso_platform_setup): Remove initialization of
11140 __vdso_gettimeofday and __vdso_time.
11141
5c43483f
UD
111422011-08-20 Ulrich Drepper <drepper@gmail.com>
11143
775a77e7
UD
11144 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11145 and fgetc_unlocked.
11146 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11147 getc_unlocked.
89f447ed 11148
49c74ba9
UD
11149 * elf/dl-open.c (add_to_global): Report additions to the global scope
11150 for LD_DEBUG=scopes.
11151 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11152 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11153
5c43483f
UD
11154 [BZ #13114]
11155 * stdio-common/Makefile (tests): Add bug24.
11156 * stdio-common/bug24.c: New file.
11157
a101b025
AJ
111582011-08-19 Andreas Jaeger <aj@suse.de>
11159
11160 [BZ #13114]
11161 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11162 non-existant file when using close-on-exec mode.
11163
c88f1766
UD
111642011-08-20 Ulrich Drepper <drepper@gmail.com>
11165
0276a718
UD
11166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11167 the very first instruction.
11168
c88f1766
UD
11169 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11170 the CFI state in the end.
11171 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11172 inclusion of dl-trampoline.h.
11173 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11174
51ccffa0
AS
111752011-08-19 Andreas Schwab <schwab@redhat.com>
11176
94d7165f
AS
11177 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11178 expectations for long double.
11179
51ccffa0
AS
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11181 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11182
fd708658 111832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11184
11185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11186 artificual limit depends upon the system page size.
11187
44f0a71e
UD
111882011-08-17 Ulrich Drepper <drepper@gmail.com>
11189
11190 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11191 * resolv/Makefile: Define CFLAGS-libresolv.
11192
8de79a24
AS
111932011-08-17 Andreas Schwab <schwab@redhat.com>
11194
11195 * nss/makedb.c (compute_tables): Make variables used in nested
11196 function static.
11197
27724598
UD
111982011-08-17 Ulrich Drepper <drepper@gmail.com>
11199
c5305d88
UD
11200 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11201 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11202 if buffer was too small.
11203
27724598
UD
11204 * elf/pldd.c (main): Attach to all threads in the process.
11205 Rewrite /proc handling to use *at functions.
11206
076fe015
UD
112072011-08-16 Ulrich Drepper <drepper@gmail.com>
11208
174baab3
UD
11209 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11210 specifies first scope to show.
11211 (dl_open_worker): Update callers. Move printing scope of new
11212 object to before the relocation.
44f0a71e 11213 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11214 * sysdeps/generic/ldsodefs.h: Update declaration.
11215
076fe015
UD
11216 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11217 string for the scope number.
11218
a60df2c3
UD
112192011-08-14 Ulrich Drepper <drepper@gmail.com>
11220
11221 * nscd/servicescache.c (cache_addserv): Make sure written is always
11222 initialized.
11223
5e4287d1
RM
112242011-08-14 Roland McGrath <roland@hack.frob.com>
11225
85ae0589
RM
11226 * sysdeps/i386/i486/bits/atomic.h
11227 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11228 statement expression, so as to suppress "set but not used" warning.
11229 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11230
69f63097
RM
11231 * string/strncat.c (STRNCAT): Use prototype definition.
11232
675456ef
RM
11233 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11234 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11235 -Iprograms here.
11236 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11237 (localedef-modules): Add localedef.
11238 (locale-modules): Add locale.
11239
5e4287d1
RM
11240 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11241 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11242 to avoid a warning.
11243
9c96ff23
DM
112442011-08-14 David S. Miller <davem@davemloft.net>
11245
11246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11247 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11248
f9ddf089
UD
112492011-08-13 Ulrich Drepper <drepper@gmail.com>
11250
44f0a71e 11251 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11252 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11253 * elf/rtld.c (dl_main): Set l_name of vDSO.
11254 Call _dl_show_scope when DL_DEBUG_SCOPES.
11255 (process_dl_debug): Recognize scopes flag and also set it for all.
11256 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11257 Declare _dl_show_scope.
11258
1dc27704
UD
11259 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11260 (do_dlopen): Pass caller_dlopen to dl_open.
11261 (__libc_dlopen_mode): Initialize caller_dlopen.
11262
f9ddf089
UD
11263 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11264 of libc. Make tolower call locale-independent. Optimize a bit by
11265 using isdigit instead of isalnum.
11266 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11267
9ac533d3
UD
112682011-08-12 Ulrich Drepper <drepper@gmail.com>
11269
11270 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11271 was a dependency or dynamically loaded.
11272
89edf2e9
UD
112732011-08-11 Ulrich Drepper <drepper@gmail.com>
11274
8e999d29
UD
11275 * intl/l10nflist.c: Allow architecture-specific pop function.
11276 * sysdeps/x86_64/l10nflist.c: New file.
11277
89edf2e9
UD
11278 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11279 classification.
11280
14d96785
AS
112812011-08-10 Andreas Schwab <schwab@redhat.com>
11282
11283 * include/dirent.h: Add libc_hidden_proto for scandirat and
11284 scandirat64. Don't declare __scandirat64.
11285 * dirent/scandirat.c: Add libc_hidden_def.
11286 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11287 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11288
6761ac04
DM
112892011-08-10 David S. Miller <davem@davemloft.net>
11290
11291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11292 enum.
11293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11296
c55fbd1e
UD
112972011-08-09 Ulrich Drepper <drepper@gmail.com>
11298
11299 * Versions.def [libc]: Add GLIBC_2.15.
11300 * dirent/Makefile (routines): Add scandirat and scandirat64.
11301 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11302 GLIBC_2.15.
11303 * dirent/dirent.h: Declare scandirat and scandirat64.
11304 * dirent/scandirat.c: New file.
11305 * dirent/scandirat64.c: New file.
11306 * sysdeps/wordsize-64/scandirat.c: New file.
11307 * sysdeps/wordsize-64/scandirat64.c: New file.
11308 * dirent/opendir.c: Define opendirat.
11309 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11310 using scandirat.
11311 * dirent/scandir64.c: Adjust for scandir.c change.
11312 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11313 __scandirat64, and __scandir_cancel_handler.
11314 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11315 additional parameter and use openat instead of open (outside of ld.so).
11316 Add new __opendir as wrapper around __opendirat.
11317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11318 here without requiring old scandirat implementation.
11319
879165f2
UD
113202011-08-08 Ulrich Drepper <drepper@gmail.com>
11321
11322 * dirent/scandir.c (cancel_handler): Renamed to
11323 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11324 defined. Adjust users.
11325 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11327
cb7e923b
UD
113282011-08-04 Ulrich Drepper <drepper@gmail.com>
11329
16292edd
UD
11330 * string/test-string.h (IMPL): Use __STRING to expand name and then
11331 stringify it.
11332
cb7e923b
UD
11333 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11334 of cleanups.
11335
cff82933
LD
113362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11337
11338 * string/Makefile: Update.
11339 (strop-tests): Append strncat.
11340 * string/test-wcscmp.c: New file.
11341 New comprehensive test for wcscmp.
11342 * string/test-strcmp.c: Update.
11343 (WIDE): New define.
11344
9be9bfcc
AS
113452011-07-22 Andreas Schwab <schwab@redhat.com>
11346
11347 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11348 line.
11349
2e96f1c7
AS
113502011-07-26 Andreas Schwab <schwab@redhat.com>
11351
11352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11353 encoding to ACE if AI_IDN.
11354
85188888
JJ
113552011-08-01 Jakub Jelinek <jakub@redhat.com>
11356
11357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11358 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11359
5fa16e9b
LD
113602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11361
11362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11363 Fix overflow bug in strncat.
11364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11365
11366 * string/test-strncat.c: Update.
11367 Add new tests for checking overflow bugs.
11368
113692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11370
11371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11372 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11373 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11374 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11376 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11377 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11378 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11379 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11380
11381 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11382 (USE_AS_STRCAT): Define.
11383 Add strcat and strncat support.
11384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11385
8c1a459f
AS
113862011-07-25 Andreas Schwab <schwab@redhat.com>
11387
11388 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11389 __n bigger than INT_MAX+1.
11390 (__strncmp_g): Likewise.
11391
bba33c28
UD
113922011-07-23 Ulrich Drepper <drepper@gmail.com>
11393
798be72d
UD
11394 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11395 * libio/stido.h: Likewise.
11396
8accd4dc
UD
11397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11398 (AF_NFC): Define.
11399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11400 (AF_NFC): Define.
11401
cbff0d96
UD
11402 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11407
9191c04a
UD
11408 [BZ #13021]
11409 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11410 installed.
11411
bba33c28
UD
11412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11413 typo.
11414 (_dl_x86_64_save_sse): Likewise.
11415
90f139dd
UD
114162011-07-22 Ulrich Drepper <drepper@gmail.com>
11417
1aae088a
UD
11418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11419 OSXSAVE.
11420 (_dl_x86_64_save_sse): Likewise.
11421
8e2045f5
UD
11422 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11423
90f139dd
UD
11424 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11425
1d002f25
AS
114262011-07-21 Andreas Schwab <schwab@redhat.com>
11427
11428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11429 change.
11430 (_dl_x86_64_save_sse): Use correct AVX check.
11431
21137f89
UD
114322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11433
11434 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11435 bug in strncpy/strncat.
11436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11437
a65c0b7a
UD
114382011-07-21 Ulrich Drepper <drepper@gmail.com>
11439
11440 * string/tester.c (test_strcat): Add tests for different alignments
11441 of source and destination.
11442 (test_strncat): Likewise.
11443
6986b98a
UD
114442011-07-20 Ulrich Drepper <drepper@gmail.com>
11445
90bb2039
UD
11446 [BZ #12852]
11447 * posix/glob.c (glob): Check passed in values before using them in
11448 expressions to avoid some overflows.
11449 (glob_in_dir): Likewise.
11450
5644ef54
UD
11451 [BZ #13007]
11452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11453 check for AVX enablement so that we don't crash with old kernels and
11454 new hardware.
11455 * elf/tst-audit4.c: Add same checks here.
11456 * elf/tst-audit6.c: Likewise.
11457
11458 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11459
bfc9dc9b
AS
114602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11461
11462 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11463
702e64bb
UD
114642011-07-20 Ulrich Drepper <drepper@gmail.com>
11465
11466 * po/cs.po: Update from translation team.
11467 * po/bg.po: Likewise.
11468
295e904f
MP
114692011-07-12 Marek Polacek <mpolacek@redhat.com>
11470
11471 * misc/sys/cdefs.h: Add support for const attribute.
11472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11473 to gnu_dev_{major,minor,makedev} functions.
11474
3ff94596
MP
114752011-07-20 Marek Polacek <mpolacek@redhat.com>
11476
11477 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11478
28b59fca
AS
114792011-07-20 Andreas Schwab <schwab@redhat.com>
11480
11481 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11482 strlen results.
11483
19df733e
AK
114842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11485
11486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11487 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11488 register in order to avoid conflicts with the soft frame pointer
11489 being held in r11 when necessary.
11490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11491 (INTERNAL_VSYSCALL_NCS): Likewise.
11492
c8835729
MP
114932011-07-14 Marek Polacek <mpolacek@redhat.com>
11494
11495 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11496 * elf/dl-fini.c (_dl_fini): Adjust caller.
11497 * elf/dl-close.c (_dl_close_worker): Likewise.
11498 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11499
b902330c
MP
115002011-07-15 Marek Polacek <mpolacek@redhat.com>
11501
8991e135
MP
11502 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11503 "aux_cache->nlibs < 0".
11504
b902330c
MP
11505 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11506 in the reload-count case.
11507
99710781
LD
115082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11509
11510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11511 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11512 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11513 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11514 * sysdeps/x86_64/multiarch/strcat.S: New file.
11515 * sysdeps/x86_64/multiarch/strncat.S: New file.
11516 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11518 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11519 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11521 (USE_AS_STRCAT): Define.
11522 Add strcat and strncat support.
11523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11525 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11526 * string/strncat.c: Update.
11527 (USE_AS_STRNCAT): Define.
11528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11529 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11530 and i7.
11531 * sysdeps/x86_64/multiarch/init-arch.h
11532 (bit_Prefer_PMINUB_for_stringop): New.
11533 (index_Prefer_PMINUB_for_stringop): Likewise.
11534 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11535 bit_Prefer_PMINUB_for_stringop.
11536
7dc6bd90
UD
115372011-07-19 Ulrich Drepper <drepper@gmail.com>
11538
11539 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11540 buffer64.
11541 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11542 of casting of buffer.
11543 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11544 buffer32 and buffer64.
11545 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11546 writes instead of casting of buffer.
11547 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11548 buffer32.
11549 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11550 casting of buffer.
11551
e0e72284
AS
115522011-07-19 Andreas Schwab <schwab@redhat.com>
11553
11554 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11555
feb1eb0b
UD
115562011-07-19 Ulrich Drepper <drepper@gmail.com>
11557
11558 * nscd/nscd.c (termination_handler): Don't do anything for a database
11559 if it has not yet been initialized.
11560
298711ff
UD
115612011-07-18 Ulrich Drepper <drepper@gmail.com>
11562
11563 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11564
115652011-07-15 Marek Polacek <mpolacek@redhat.com>
11566
11567 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11568
f9d68389
UD
115692011-07-18 Ulrich Drepper <drepper@gmail.com>
11570
11571 * po/nl.po: Update from translation team.
11572 * po/sv.po: Likewise.
11573
db290cf5
RM
115742011-07-16 Roland McGrath <roland@hack.frob.com>
11575
11576 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11577 now disallowed by GCC.
5c550700 11578
fd5e21c7
RM
11579 * configure.in (use-default-link): Default to yes if a test -shared
11580 link meets our qualifications.
11581 * configure: Regenerated.
11582
5c550700
RM
11583 * config.make.in (output-format): New variable.
11584 * configure.in: Check for ld --print-output-format support.
11585 * configure: Regenerated.
11586 * Makerules ($(common-objpfx)format.lds)
11587 [$(output-format) != unknown]: Just use $(output-format),
11588 instead of the linker-script munging.
11589
9fa2c032
RM
115902011-07-14 Roland McGrath <roland@hack.frob.com>
11591
a6928d51
RM
11592 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11593 of $(common-objpfx)shlib.lds.
11594 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11595
661607b3
RM
11596 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11597 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11598
9fa2c032
RM
11599 * configure.in (-z relro check): Adjust test code to add a large
11600 writable data section after it.
11601 * configure: Regenerated.
11602
defe9061
RM
116032011-07-11 Roland McGrath <roland@hack.frob.com>
11604
11605 * configure.in (-z relro check): Fix test code to make the variable
11606 truly const.
11607 * configure: Regenerated.
11608
319b9ad4
UD
116092011-07-11 Ulrich Drepper <drepper@gmail.com>
11610
11611 * nscd/nscd.h (struct traced_file): Define.
11612 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11613 elements. Add traced_files.
11614 (inotify_fd): Declare.
11615 (register_traced_file): Declare.
11616 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11617 (inotify_fd): Export.
11618 (resolv_conf_descr): Remove.
11619 (nscd_init): Move inotify descriptor creation to main.
11620 Don't register files for notification here.
11621 (register_traced_file): New function.
11622 (invalidate_cache): Don't use reset_res to determine whether to call
11623 res_init, go through the list of registered files.
11624 (main_loop_poll): The inotify descriptors are now stored in the
11625 structures for the traced files.
11626 (main_loop_epoll): Likewise
11627 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11628 to __nss_disable_nscd.
11629 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11630 for a database anymore. Check the records for all the registered
11631 files instead.
11632 * nss/Makefile (libnss_files-routines): Add files-init.
11633 (libnss_db-routines): Add db-init.
11634 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11635 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11636 * nss/nss_db/db-init.c: New file.
11637 * nss/nss_files/files-init.c: New file.
11638 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11639 __nss_lookup_function.
11640 (__nss_lookup_function): Call nss_load_library.
11641 (nss_load_all_libraries): New function.
11642 (__nss_disable_nscd): Take parameter with callback function for files
11643 to register. Set is_nscd. Load all the DSOs for the NSS modules
11644 used for the cached services.
11645 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11646 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11647 options for features to all the files in nscd.
11648
11649 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11650
23bee3e8
RM
116512011-07-10 Roland McGrath <roland@hack.frob.com>
11652
11653 * csu/elf-init.c (__libc_csu_init): Comment typo.
11654
46a5b7f0
UD
116552011-07-09 Ulrich Drepper <drepper@gmail.com>
11656
11657 * po/pl.po: Update from translation team.
11658 * po/ja.po: Likewise.
11659 * po/ru.po: Likewise.
11660 * po/ko.po: Likewise.
11661 * po/fr.po: Likewise.
11662
d30cf5bb
RM
116632011-07-09 Roland McGrath <roland@hack.frob.com>
11664
113ddea4
RM
11665 * configure.in (.ctors/.dtors header and trailer check):
11666 Use an empirical test on a built program.
11667 * configure: Regenerated.
11668
574920b4
RM
11669 * configure.in (-z relro check): Use an empirical test on a built DSO.
11670 Detect, but do not require, on ia64.
11671 * configure: Regenerated.
11672
d30cf5bb
RM
11673 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11674 Update tests that use readelf to use $READELF instead.
11675 * configure: Regenerated.
11676
8538fdb3
UD
116772011-07-08 Ulrich Drepper <drepper@gmail.com>
11678
11679 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11680 if the result is not used.
11681
04d08991
AJ
116822011-07-05 Andreas Jaeger <aj@suse.de>
11683
11684 [BZ#9696]
11685 * stdlib/tst-strtod.c: Add testcase.
11686
de283087
AD
116872011-07-07 Ulrich Drepper <drepper@gmail.com>
11688
4e5f31c8 11689 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11690 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11691 The latter has a higher limit. Take additional parameter to pass to
11692 the new function.
11693 (__pathconf): Pass file to __statfs_link_max.
11694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11695 __statfs_link_max.
11696 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11697 __statfs_link_max.
11698
de283087
AD
11699 [BZ #12868]
11700 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11702 Handle Lustre.
11703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11704 (__statfs_filesize_max): Likewise.
11705 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11706
c75fa153
AJ
117072011-07-05 Andreas Jaeger <aj@suse.de>
11708
11709 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11710
1a544854
UD
117112011-07-06 Marek Polacek <mpolacek@redhat.com>
11712
11713 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11714 `status' variable.
11715 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11716 Likewise.
11717
6f0eec67
UD
117182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11719
11720 * Makefile (strop-tests): Add strncat.
11721 * string/test-strncat.c: New file.
11722
aae30307
UD
117232011-06-30 Marek Polacek <mpolacek@redhat.com>
11724
11725 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11726
c0cfb5eb
UD
117272011-06-21 Andreas Jaeger <aj@suse.de>
11728
11729 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11730 Copy rule from iconvdata/Makefile.
11731
01636b21
UD
117322011-07-06 Ulrich Drepper <drepper@gmail.com>
11733
11734 [BZ #12922]
11735 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11736 but no long options are defined, just return 'W'.
11737
9895c8bc
UD
117382011-06-22 Marek Polacek <mpolacek@redhat.com>
11739
11740 [BZ #9696]
11741 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11742
5d4cf042
UD
117432011-07-06 Ulrich Drepper <drepper@gmail.com>
11744
11745 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11746 netgroups to read.
960e5535 11747 (innetgr): Likewise.
5d4cf042 11748
751eb97e
RM
117492011-07-05 Roland McGrath <roland@hack.frob.com>
11750
11751 * config.make.in (install_root): Default to $(DESTDIR).
11752
f15f1e45
UD
117532011-07-05 Ulrich Drepper <drepper@gmail.com>
11754
11755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11756
4e34ac6a
RM
117572011-07-02 Roland McGrath <roland@hack.frob.com>
11758
5e9b6af4
RM
11759 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11760
84f9ea0f
RM
11761 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11762 containing directory rather than embedding absolute directory names.
11763
ea5ee9f7
RM
11764 * scripts/check-local-headers.sh: Rewritten using awk.
11765 Match by word, not by line. Print error messages for matches.
11766 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11767
1b74661a
RM
11768 * Makerules [shlib-lds-flags empty]:
11769 ($(common-objpfx)libc_pic.opts): New target.
11770 ($(common-objpfx)libc_pic.os.clean): New target.
11771 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11772
11773 * config.make.in (OBJCOPY): New variable.
11774 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11775 * configure: Regenerated.
11776
f781ef40
RM
11777 * config.make.in (use-default-link): New variable.
11778 * configure.in (use_default_link): Grok --with-default-link to set it.
11779 * configure: Regenerated.
11780 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11781 (shlib-lds, shlib-lds-flags): Define to empty.
11782
2d4fa81e
RM
11783 * Makerules (shlib-lds): New variable.
11784 (shlib-lds-flags): New variable.
11785 (build-shlib, build-moduile, build-module-asneeded): Use it.
11786 ($(common-objpfx)libc.so): Use $(shlib-lds).
11787 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11788 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11789
31fffa6b
RM
11790 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11791 DT_FLAGS/DT_FLAGS_1 with zero flags.
11792
4e34ac6a
RM
11793 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11794 linker script munging.
11795
fcfc776b
UD
117962011-07-02 Ulrich Drepper <drepper@gmail.com>
11797
11798 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11799 as 128-bit value.
11800 * crypt/sha512.c (sha512_process_block): Perform total addition using
11801 128-bit if possible.
11802 (__sha512_finish_ctx): Likewise.
11803 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11804 as 64-bit value.
11805 * crypt/sha256.c (SWAP64): Define.
11806 (sha256_process_block): Perform total addition using 64-bit if
11807 possible.
11808 (__sha256_finish_ctx): Likewise.
11809
99231d9a
UD
118102011-07-01 Ulrich Drepper <drepper@gmail.com>
11811
11812 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11814 * nscd/hstcache.c (cache_addhst): Likewise.
11815 * nscd/grpcache.c (cache_addgr): Likewise.
11816 * nscd/aicache.c (addhstaiX): Likewise
11817 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11818
445b4a53
TK
118192011-07-01 Thorsten Kukuk <kukuk@suse.de>
11820
11821 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11823 * nscd/hstcache.c (cache_addhst): Likewise.
11824 * nscd/grpcache.c (cache_addgr): Likewise.
11825 * nscd/aicache.c (addhstaiX): Likewise
11826
6d4d8e8e
AS
118272011-07-01 Andreas Schwab <schwab@redhat.com>
11828
11829 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11830 domain only when needed.
11831
89f654c5
AS
118322011-06-30 Andreas Schwab <schwab@redhat.com>
11833
11834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11835 is always restored.
11836
cf3b23ff
UD
118372011-06-29 Ulrich Drepper <drepper@gmail.com>
11838
11839 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11840 are re-adding the entry.
11841 * nscd/servicescache.c (cache_addserv): Likewise.
11842
751626f9
AJ
118432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11844
11845 * sysdeps/generic/dl-irel.h: fix protection against multiple
11846 inclusions.
11847 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11848
9113ea1f
UD
118492011-06-28 Ulrich Drepper <drepper@gmail.com>
11850
5c0b8d90
UD
11851 [BZ #12935]
11852 * malloc/memusage.sh: Fix quoting in message.
11853 * debug/xtrace.sh: Likewise.
11854
9113ea1f
UD
11855 * configure.in: Remove support for --experimental-malloc option, make
11856 it the default.
11857 * config.make.in: Likewise.
11858 * malloc/Makefile: Likewise.
11859
a4172181
AS
118602011-06-27 Andreas Schwab <schwab@redhat.com>
11861
11862 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11863 two-byte characters.
11864
78a7eee7
RM
118652011-06-27 Roland McGrath <roland@hack.frob.com>
11866
62bede13
RM
11867 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11868 AC_CACHE_CHECK invocation.
11869 * configure: Regenerated.
11870
78a7eee7
RM
11871 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11872
5ce33a62
UD
118732011-06-27 Ulrich Drepper <drepper@gmail.com>
11874
034807a9
UD
11875 [BZ #12350]
11876 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11877 bit from old_res_options.
11878
4902da17
UD
11879 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11880
5ce33a62
UD
11881 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11882 value type for setfct.
11883
c2344f56
L
118842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11885
11886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11887 __gettimeofday instead of gettimeofday.
11888
68468076
UD
118892011-06-26 Ulrich Drepper <drepper@gmail.com>
11890
11891 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11892
acb0d739
L
118932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11896
11897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11898 info.
11899
8912479f
L
119002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11901
11902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11903 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11904 strcpy-sse2-unaligned strncpy-sse2-unaligned
11905 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11906 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11907 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11908 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11909 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11912 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11913 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11914 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11915 (STRCPY): Support SSE2 and SSSE3 versions.
11916
d5495a11
UD
119172011-06-24 Ulrich Drepper <drepper@gmail.com>
11918
11919 [BZ #12874]
11920 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11921 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11922 kernels which artificially limit size of requests.
11923
0b1cbaae
L
119242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11927 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11928 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11929 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11930 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11931 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11932 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11933 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11934 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11936 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11937 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11938 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11939 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11940 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11942 Enable unaligned load optimization for Intel Core i3, i5 and i7
11943 processors.
11944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11945 Define.
11946 (index_Fast_Unaligned_Load): Define.
11947 (HAS_FAST_UNALIGNED_LOAD): Define.
11948
07f494a0
MP
119492011-06-23 Marek Polacek <mpolacek@redhat.com>
11950
11951 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11952
fa3fc0fe
UD
119532011-06-22 Ulrich Drepper <drepper@gmail.com>
11954
11955 [BZ #12907]
11956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11957 until it is clear that the information is realy needed.
11958 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11959
e12df166
AS
119602011-06-22 Andreas Schwab <schwab@redhat.com>
11961
11962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11963
852eb34d
UD
119642011-06-22 Ulrich Drepper <drepper@gmail.com>
11965
84e2a551
UD
11966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11967 /sys/devices/system/cpu/online if it is usable.
11968
852eb34d
UD
11969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11970 reading the information from the /proc filesystem to once a second.
11971
6e502e19
UD
119722011-06-21 Andreas Jaeger <aj@suse.de>
11973
11974 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11975 NULL after inclusion of kernel headers.
11976
75d39ff2
UD
119772011-06-21 Ulrich Drepper <drepper@gmail.com>
11978
51f9aa6a
UD
11979 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11980 calls to internal_setent.
11981
c0244a9d
UD
11982 [BZ #12885]
11983 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11984 addresses using gethostbyname4_r ignore IPv4 addresses.
11985
c5e3c2ae
UD
11986 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11987 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11988
75d39ff2
UD
11989 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11990
42675c6f
DM
119912011-06-20 David S. Miller <davem@davemloft.net>
11992
11993 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11994 inclusions.
11995 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11996
11997 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11998 (elf_irel): Use it.
11999 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12000 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12001 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12002 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12003 * sysdeps/x86_64/dl-irel.h: Likewise.
12004
12005 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12006 * elf/dl-sym.c: Likewise.
12007
57912a71
UD
120082011-06-15 Ulrich Drepper <drepper@gmail.com>
12009
12010 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12011 need to dereference resplen2.
12012
ee22793d
AS
120132011-06-14 Andreas Schwab <schwab@redhat.com>
12014
12015 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12016
a9e836b0
UD
120172011-06-15 Ulrich Drepper <drepper@gmail.com>
12018
77fb9117
UD
12019 * Makeconfig: Define vardbdir and inst_vardbdir.
12020 * nss/Makefile: Add rules to install db-Makefile.
12021
40c1b22c
UD
12022 * nss/nss_db/db-XXX.c: Cleanup.
12023
9f2da732
UD
12024 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12025 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12026 GLIBC_PRIVATE.
12027 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12028 * nss/makedb.c: Implement -g option to specify that value strings
12029 are generated and should not be added to table iterated over for
12030 get*ent calls.
12031 * nss/nss_db/db-initgroups.c: New file.
12032
82e9a1f7
UD
12033 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12034 interface.
12035
c41af17e
UD
12036 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12037 (internal_getgrouplist): Adjust to name change.
12038 Update use_initgroups_entry if this is not the first call.
12039 * nss/databases.def: Add initgroups entry.
12040
a9e836b0
UD
12041 * nss/makedb.c (compute_tables): Check result of multiple hash table
12042 sizes to minimize maximum chain length.
12043
2666d441
UD
120442011-06-14 Ulrich Drepper <drepper@gmail.com>
12045
12046 * Versions.def: Add entry for libnss_db.
12047 * shlib-versions: Likewise.
12048 * nss/Makefile: Add rules to build libnss_db.
12049 * nss/Versions: Add libnss_db information. Organize libnss_files
12050 entries better.
12051 * nss/db-Makefile: Add gshadow support. Change rules for the new
12052 makedb progra. Some minor improvements to generate smaller files.
12053 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12054 here from...
12055 * nss/makedb.c: ...here.
12056 Improve database format to be smaller and require less memory at
12057 runtime.
12058 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12059 db anymore.
12060 * nss/nss_db/db-netgrp.c: Likewise.
12061 * nss/nss_db/db-open.c: Likewise.
12062 * nss/nss_files/flies-XXX.x: Adjust comments.
12063 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12064 * nss/nss_files/files-grp.c: Likewise.
12065 * nss/nss_files/files-hosts.c: Likewise.
12066 * nss/nss_files/files-network.c: Likewise.
12067 * nss/nss_files/files-proto.c: Likewise.
12068 * nss/nss_files/files-pwd.c: Likewise.
12069 * nss/nss_files/files-rpc.c: Likewise.
12070 * nss/nss_files/files-service.c: Likewise.
12071 * nss/nss_files/files-sgrp.c: Likewise.
12072 * nss/nss_files/files-spwd.c: Likewise.
12073 * nss/nss_db/db-alias.c: Removed.
12074 * nss/nss_db/dummy-db.h: Removed.
12075
9ee76b5a
UD
120762011-06-02 Ulrich Drepper <drepper@gmail.com>
12077
12078 * nss/makedb.c: Rewritten to not use database library.
12079 * nss/Makefile: Update to build new makedb program.
12080
c71ca1f8
AJ
120812011-06-14 Andreas Jaeger <aj@suse.de>
12082
12083 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12084 memset declaration.
12085
3154bfb8
UD
120862011-06-10 Andreas Schwab <schwab@redhat.com>
12087
12088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12089 tmpbuf.
12090
b350afab
RM
120912011-06-10 Roland McGrath <roland@hack.frob.com>
12092
decd4e50
RM
12093 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12094 * elf/Makefile ($(objpfx)ld.so): Likewise.
12095
5615eaf2
RM
12096 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12097 Don't list ld.so twice in dependencies.
12098
12099 * posix/bug-regex31.c: Include <stdlib.h>.
12100
12101 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12102
12103 * nis/nss_compat/compat-spwd.c
12104 (getspent_next_nss_netgr): Remove unused variable.
12105 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12106
12107 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12108 nonmembers" output to use the right array.
12109
12110 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12111
12112 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12113
12114 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12115 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12116 * catgets/gencat.c (read_input_file): Likewise.
12117 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12118
12119 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12120 variable definition inside #if's controlling its use.
12121
12122 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12123
12124 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12125
12126 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12127
12128 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12129 unreachable code.
12130
12131 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12132
b68e08db
RM
12133 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12134 * configure: Regenerated.
12135
b350afab
RM
12136 * Makerules: Revert last change.
12137 * elf/Makefile: Likewise.
12138
28368601
RM
121392011-06-09 Roland McGrath <roland@hack.frob.com>
12140
12141 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12142 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12143 (reloc-link): Likewise.
12144
11988f8f
UD
121452011-06-09 Ulrich Drepper <drepper@gmail.com>
12146
12147 * elf/Makefile: Add rules to build pldd.
12148 * elf/pldd.c: New file.
12149 * elf/pldd-xx.c: New file.
12150
e80fab37
UD
121512011-06-07 Ulrich Drepper <drepper@gmail.com>
12152
12153 * version.h: Update for 2.15 development version.
12154
9b849836
DM
121552011-06-07 David S. Miller <davem@davemloft.net>
12156
12157 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12158 ifuncs.
12159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12160 elf_machine_lazy_rel): Likewise.
12161 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12163 elf_machine_lazy_rel): Likewise.
12164 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12165 dl_hwcap via passed in argument.
12166 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12167 Likewise.
12168
5a31b283
AK
121692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12170
12171 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12172
069e52f8
RM
121732011-06-06 Roland McGrath <roland@hack.frob.com>
12174
12175 [BZ #12849]
12176 * manual/fdl-1.1.texi: New file, verbatim from:
12177 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12178 * manual/lgpl-2.1.texi: New file, verbatim from:
12179 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12180 * manual/Makefile (licenses): New variable, list those new file names.
12181 (texis): Use it.
12182 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12183
12184 * manual/fdl.texi: File removed.
12185 * manual/lesser.texi: File removed.
12186 * manual/libc.texinfo (Copying, Documentation License):
12187 Use new @include file names, put @appendix directive before @include.
12188
f16846a5
JJ
121892011-06-04 Jakub Jelinek <jakub@redhat.com>
12190
12191 [BZ #12841]
12192 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12193 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12194 (mq_open): Add __NTH.
12195
3d29045b
L
121962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12199 Assume Intel Core i3/i5/i7 processor if AVX is available.
12200
8c297311
UD
122012011-05-31 Ulrich Drepper <drepper@gmail.com>
12202
12203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12204 typo.
12205
c8fc0c91
UD
122062011-05-31 Andreas Schwab <schwab@redhat.com>
12207
12208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12209 memory. Use alloca_account. Fix memory leak when retrying.
12210
5b27a807
UD
122112011-05-31 Ulrich Drepper <drepper@gmail.com>
12212
356f8bc6
UD
12213 * version.h (RELEASE): Bump for 2.14 release.
12214 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12215
5b27a807
UD
12216 * config.make.in (RANLIB): Remove entry.
12217
01f16ab0
UD
122182011-05-30 Ulrich Drepper <drepper@gmail.com>
12219
41fce8bd
UD
12220 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12221 (libc.pot): Work around missing support for .ksh extension in xgettext.
12222
4769ae77
UD
12223 [BZ #12684]
12224 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12225 if both request failed.
12226 (send_dg): In case of server errors clear resplen or *resplen2.
12227
6b1e7d19
UD
12228 [BZ #12454]
12229 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12230 when there are multiple maps.
12231 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12232 (_dl_fini): Remove test here.
12233
01f16ab0
UD
12234 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12235
b1ebd700
UD
122362011-05-29 Ulrich Drepper <drepper@gmail.com>
12237
7ae22829
UD
12238 [BZ #12350]
12239 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12240 bit from old_res_options.
12241 (gaih_inet): Likewise.
12242
553149f6 12243 [BZ #11099]
18a84741 12244 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12245 as signed.
12246
652ffab1
UD
12247 * resolv/res_init.c (res_setoptions): Make the code more compact.
12248
16985fd0
UD
12249 [BZ #11558]
12250 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12251 set RES_USEVC.
12252
0464f746
UD
12253 [BZ #11634]
12254 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12255
7d17596c
UD
12256 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12257
cf6bbbd7
UD
12258 [BZ #11781]
12259 * malloc/malloc.h: Declare malloc hook variables as volatile.
12260
13f1ab36
UD
12261 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12262 in last patch.
12263
b1ebd700
UD
12264 [BZ #11799]
12265 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12266 raise in the comment.
80e2212d
UD
12267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12269 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12270
ce67228d
UD
122712011-05-28 Ulrich Drepper <drepper@gmail.com>
12272
8887a920
UD
12273 [BZ #12811]
12274 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12275 grow the buffers more if it already has to be sufficient.
12276 (build_wcs_upper_buffer): Likewise.
12277 * posix/regexec.c (check_matching): Likewise.
12278 (clean_state_log_if_needed): Likewise.
12279 (extend_buffers): Don't enlarge buffers beyond size of the input
12280 buffer.
12281 Patches mostly by Emil Wojak <emil@wojak.eu>.
12282 * posix/bug-regex32.c: New file.
12283 * posix/Makefile (tests): Add bug-regex32.
12284
4f031072
UD
12285 * locale/findlocale.c (_nl_find_locale): Return right away if
12286 _nl_explode_name failed.
12287 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12288
d0478f0c
UD
12289 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12290
de81b246
UD
12291 * debug/xtrace.sh: Unify messages.
12292 * malloc/memusage.sh: Likewise.
12293
c738465a
UD
12294 [BZ #12813]
12295 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12296 time symbol from vDSO. Substitute with vsyscall if not available.
12297 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12298 __vdso_time.
12299
f1f929d7
UD
12300 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12301 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12302 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12303 Add sendmmsg and internal_sendmmsg.
12304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12305 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12307
ce67228d
UD
12308 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12309 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12311
e57420c6
UD
123122011-05-27 Ulrich Drepper <drepper@gmail.com>
12313
a8509ca5
UD
12314 [BZ #12813]
12315 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12316 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12317 available.
12318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12319 __vdso_getcpu.
12320
e57420c6
UD
12321 [BZ #12814]
12322 * iconvdata/Makefile (tests): Add bug-iconv9.
12323 * iconvdata/bug-iconv9.c: New file.
12324
4d07db15
AS
123252011-05-27 Andreas Schwab <schwab@redhat.com>
12326
12327 [BZ #12814]
12328 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12329
ea486f69
JJ
123302011-05-25 Jakub Jelinek <jakub@redhat.com>
12331
12332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12333 (struct user_regs_struct): Change intcs field back to cs.
12334
6f038433
UD
123352011-05-25 Ulrich Drepper <drepper@gmail.com>
12336
12337 * po/ja.po: Update from translation team.
12338
67f86a25
UD
123392011-05-23 Ulrich Drepper <drepper@gmail.com>
12340
12341 [BZ #12795]
12342 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12343 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12344
def7fbd6
AS
123452011-05-20 Andreas Schwab <schwab@redhat.com>
12346
12347 * stdlib/longlong.h: Update from GCC.
12348
f50ef8f1
AS
123492011-05-23 Andreas Schwab <schwab@redhat.com>
12350
12351 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12352 parameter name.
12353 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12354 Add parameter name.
12355 (__sysconf): Pass it down.
12356
de7ce8f1
UD
123572011-05-22 Ulrich Drepper <drepper@gmail.com>
12358
f2962a71
UD
12359 [BZ #12671]
12360 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12361 some situations.
12362 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12363 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12364 add in in __libc_use_alloca calls. Adjust callers.
12365 (glob): Use malloc in some situations.
12366
de7ce8f1
UD
12367 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12368 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12369 pltexit.
12370
aec84f53
UD
123712011-05-21 Ulrich Drepper <drepper@gmail.com>
12372
05bb4a68
UD
12373 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12374 and CLOCK_BOOTTIME_ALARM.
12375
7ea72f99
UD
12376 [BZ #12782]
12377 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12378 is returned.
12379
7e4afad5
UD
12380 * string/_strerror.c (__strerror_r): Print negative errors as signed
12381 numbers.
12382
8e211fec
UD
12383 [BZ #12777]
12384 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12385 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12386 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12387
f7d82dc9
UD
12388 * configure.in: Fix typo in redirection and correct removal of test
12389 files in two cases.
12390
cc9e536d
UD
12391 [BZ #12788]
12392 * locale/setlocale.c (new_composite_name): Fix test to check for
12393 identical name of all categories.
12394
aec84f53
UD
12395 [BZ #12792]
12396 * libio/filedoalloc.c (local_isatty): New function.
12397 (_IO_file_doallocate): Use local_isatty.
12398 * stdio-common/perror.c (perror): In case a new stream is used
12399 forward the stream error.
12400 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12401 error flag.
12402
78e64fdc
RT
124032011-05-20 Ulrich Drepper <drepper@gmail.com>
12404
34a9094f
UD
12405 [BZ #11869]
12406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12407 alloca.
12408 * include/alloca.h (extend_alloca_account): Define.
12409
78e64fdc
RT
12410 [BZ #11857]
12411 * posix/regex.h: Fix comments with documentation of user-accessible
12412 fields after compilation and describe correct free'ing of pattern
12413 after re_compile_pattern.
12414 Patch by Reuben Thomas <rrt@sc3d.org>.
12415
457bddfc
RA
124162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12417
12418 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12419 and -mno-altivec to prevent the compiler from using Altivec and/or
12420 VSX instructions when the corresponding registers are not available.
12421
a4527b51
AS
124222011-05-19 Andreas Schwab <schwab@redhat.com>
12423
12424 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12425
ed690b2f
UD
124262011-05-19 Ulrich Drepper <drepper@gmail.com>
12427
12428 * libio/freopen.c (freopen): Use __dup2, not dup2.
12429 * libio/freopen64.c (freopen64): Likewise.
12430
8db73634
L
124312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 [BZ #12775]
12434 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12435 * math/Makefile (tests): Add test-powl.
12436 (CFLAGS-test-powl.c): Define.
12437 * math/test-powl.c: New file.
12438
0a197a9d
L
124392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12442
ee30c380
UD
124432011-05-17 Ulrich Drepper <drepper@gmail.com>
12444
12445 [BZ #11837]
12446 * iconvdata/gb18030.c: Update to GB18020-2005.
12447
6ce75379
UD
124482011-05-16 Ulrich Drepper <drepper@gmail.com>
12449
a4b89fd8
AR
12450 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12451 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12452 Patch by Aharon Robbins <arnold@skeeve.com>.
12453
ea389b12
UD
12454 [BZ #11892]
12455 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12456 on the stack.
12457
68a3f91f
UD
12458 [BZ #11895]
12459 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12460 through underflows.
12461
15cc7dd1
UD
12462 [BZ #12766]
12463 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12464 point to strings before performing equality test for error_one_per_line
12465 mode.
12466
f3799213
UD
12467 [BZ #11697]
12468 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12469
d79a9c94
UD
12470 [BZ #11820]
12471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12472 (struct user_fpregs_struct): Avoid __uint*_t types.
12473
56e5eb46
UD
12474 [BZ #6420]
12475 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12476 symbol info. Use it instead of calling _dl_addr locally.
12477 (lock_and_info): New function.
12478 (tr_freehook): Call lock_and_info and pass symbol info as additional
12479 parameter to tr_where.
12480 (tr_mallochook): Likewise.
12481 (tr_reallochook): Likewise.
12482 (tr_memalignhook): Likewise.
12483
6ce75379
UD
12484 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12485 used and couldn't be at all thread-safe.
12486
f8a3b5bf
UD
124872011-05-15 Ulrich Drepper <drepper@gmail.com>
12488
94b7cc37
UD
12489 * libio/freopen.c (freopen): Don't close old file descriptor
12490 before the new one is opened. Instead dup the new file descriptor
12491 to the old one after the new stream is created.
12492 * libio/freopen64.c (freopen64): Likewise.
12493 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12494 * libio/fileops.c (_IO_new_file_close_it): Handle new
12495 _IO_FLAGS2_NOCLOSE flag.
12496 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12497 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12498 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12499 _IO_FLAGS2_NOCLOSE flag.
12500 * include/unistd.h: Add hidden_proto for dup3.
12501 Define __have_dup3.
12502 * io/dup3.c: Define hidden symbol.
12503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12504
bd25564e
UD
12505 [BZ #7101]
12506 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12507 when an incomplete long option is used.
12508 * posix/tst-getopt_long1.c: New file.
12509 * posix/Makefile (tests): Add tst-getopt_long1.
12510
c84cfef4
UD
12511 [BZ #10138]
12512 * scripts/config.guess: Update from autoconf-2.68.
12513 * scripts/config.sub: Likewise.
12514
3b85df27
UD
12515 [BZ #10157]
12516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12517 tests into ...
12518 (has_cpuclock): ...this. New function.
12519 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12520 macro here based on has_cpuclock code.
12521
15a856b1
UD
12522 [BZ #10149]
12523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12524 First byte (not low byte) is now always NUL.
12525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12526
05f399e6
UD
12527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12528 Use non-cancelable interfaces.
12529
10a52685 12530 [BZ #9809]
94ecc67d
UD
12531 * locale/iso-639.def: Add entry for Sorani.
12532
f8a3b5bf
UD
12533 [BZ #11901]
12534 * include/stdlib.h: Move include protection to the right place.
12535 Define abort_msg_s. Declare __abort_msg with it.
12536 * stdlib/abort.c (__abort_msg): Adjust type.
12537 * assert/assert.c (__assert_fail_base): New function. Majority
12538 of code from __assert_fail. Allocate memory for __abort_msg with
12539 mmap.
12540 (__assert_fail): Now call __assert_fail_base.
12541 * assert/assert-perr.c: Remove bulk of implementation. Use
12542 __assert_fail_base.
12543 * include/assert.hL Declare __assert_fail_base.
12544 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12545 mmap.
12546 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12547
1af4e298
UD
125482011-05-14 Ulrich Drepper <drepper@gmail.com>
12549
f8a3b5bf 12550 [BZ #11952]
d26dfc60
MG
12551 [BZ #12453]
12552 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12553 until all modules are registered in the DTV.
12554 * elf/Makefile: Add rules to build and run tst-tls19.
12555 * elf/tst-tls19.c: New file.
12556 * elf/tst-tls19mod1.c: New file.
12557 * elf/tst-tls19mod2.c: New file.
12558 * elf/tst-tls19mod3.c: New file.
12559 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12560
2fc54d6f
UD
12561 [BZ #12083]
12562 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12563 correctly.
12564
98d76b46
UD
12565 [BZ #12601]
12566 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12567 two-byte sequence errors.
12568 * iconvdata/Makefile (tests): Add bug-iconv8.
12569 * iconvdata/bug-iconv8.c: New file.
12570
da3c19ef
UD
12571 [BZ #12626]
12572 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12573 buf2 definition.
12574
ca408c15
UD
12575 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12576
d6f67f7d
UD
12577 [BZ #12432]
12578 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12579 (dummy_getcfa): New function.
12580 (init): Get _Unwind_GetCFA address, use dummy if not found.
12581 (backtrace_helper): In recursion check, also check whether CFA changes.
12582 (__backtrace): Completely initialize arg.
12583
1af4e298 12584 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12585 storing incomplete byte sequence in state object. Avoid testing for
12586 guaranteed too small input if we know there is enough data available.
1af4e298 12587
da62f81b
AS
125882011-05-11 Andreas Schwab <schwab@redhat.com>
12589
12590 * Makeconfig (+link-pie): Indent.
12591 * Rules (binaries-pie): Define if $(have-fpie) and
12592 $(build-shared).
12593 (binaries-shared): Also filter out $(binaries-pie).
12594 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12595 * nscd/Makefile (others-pie): Add nscd.
12596 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12597 ($(objpfx)nscd): Remove command override.
12598 * login/Makefile (others-pie): Add pt_chown.
12599 ($(objpfx)pt_chown): Remove command override.
12600 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12601 remove command overrides.
12602
fcabc0f8
UD
126032011-05-13 Ulrich Drepper <drepper@gmail.com>
12604
20030ae6
UD
12605 * libio/tst_putwc.c: Fix error messages.
12606
fcabc0f8
UD
12607 [BZ #12724]
12608 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12609 currently writing and seek to current position when not.
12610 * libio/Makefile (tests): Add bug-fclose1.
12611 * libio/bug-fclose1.c: New file.
12612
320a5dc0
PB
126132011-05-12 Ulrich Drepper <drepper@gmail.com>
12614
12615 [BZ #12511]
12616 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12617 don't set DF_1_NODELETE here.
12618 (do_lookup_x): When entering new entry test for copy relocation
12619 and if necessary set DF_1_NODELETE flag.
12620 * elf/tst-unique4.cc: New file.
12621 * elf/tst-unique4.h: New file.
12622 * elf/tst-unique4lib.cc: New file.
12623 * elf/Makefile: Add rules to build and run tst-unique4.
12624 Patch by Piotr Bury <pbury@goahead.com>.
12625
22836f52
UD
126262011-05-11 Ulrich Drepper <drepper@gmail.com>
12627
f574184a
UD
12628 [BZ #12052]
12629 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12630
e1fb097f
UD
12631 [BZ #12625]
12632 * misc/mntent_r.c (addmntent): Flush the stream after the output
12633
22836f52
UD
12634 [BZ #12393]
12635 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12636 (is_trusted_path_normalize): Skip initial colon. Append slash
12637 to empty buffer. Duplicate is_trusted_path code but allow
12638 constructed patch to be prefix.
12639 (is_dst): Allow $ORIGIN followed by /.
12640 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12641 Correct testing of result of is_trusted_path_normalize
12642 (decompose_rpath): Fix warning.
12643
7b3b0b2a
UD
126442011-05-10 Ulrich Drepper <drepper@gmail.com>
12645
12646 [BZ #11257]
12647 * grp/initgroups.c (internal_getgrouplist): When we found the service
12648 list through the initgroups entry in nsswitch.conf do not always
12649 continue on a successful lookup. Don't always use the
eac80ce2 12650 __nss_group_database value if it is set.
7b3b0b2a
UD
12651 * nss/nsswitch.conf (initgroups): Change action for successful db
12652 lookup to continue for compatibility.
12653
2a81eaa5
UD
126542011-05-09 Ulrich Drepper <drepper@gmail.com>
12655
be97a69e
UD
12656 [BZ #11532]
12657 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12658 and CP774 modules.
12659 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12660 and CP774 modules.
12661 * iconvdata/tst-tables.sh: Likewise.
12662 * iconvdata/cp770.c: New file.
12663 * iconvdata/cp771.c: New file.
12664 * iconvdata/cp772.c: New file.
12665 * iconvdata/cp773.c: New file.
12666 * iconvdata/cp774.c: New file.
12667 * iconvdata/testdata/CP770: New file.
12668 * iconvdata/testdata/CP770..UTF8: New file.
12669 * iconvdata/testdata/CP771: New file.
12670 * iconvdata/testdata/CP771..UTF8: New file.
12671 * iconvdata/testdata/CP772: New file.
12672 * iconvdata/testdata/CP772..UTF8: New file.
12673 * iconvdata/testdata/CP773: New file.
12674 * iconvdata/testdata/CP773..UTF8: New file.
12675 * iconvdata/testdata/CP774: New file.
12676 * iconvdata/testdata/CP774..UTF8: New file.
12677
12678 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12679 END CHARMAP line.
12680 * iconvdata/gen-8bit-gap.sh: Likewise.
12681 * iconvdata/gen-8bit.sh: Likewise.
12682
c1e9e399
UD
12683 * locale/iso-639.def: Add ary entry.
12684
24c55fb3 12685 [BZ #11258]
96b4b1b0
UD
12686 * locale/C-translit.h.in: Add U20A1 transliteration.
12687
bdc2f971
KB
12688 [BZ #12178]
12689 * locale/iso-639.def: Add wae entry.
12690 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12691
2952b117
UD
12692 [BZ #12545]
12693 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12694 for n.
12695
2a81eaa5
UD
12696 [BZ #12711]
12697 * locale/C-translit.h.in: Add entry for U20B9.
12698 Patch by pravin.d.s@gmail.com.
12699
28377d1b
UD
127002011-05-08 Ulrich Drepper <drepper@gmail.com>
12701
7fb90fb8
UD
12702 [BZ #12713]
12703 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12704 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12705 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12706 in rtld. Use *stat64.
7fb90fb8 12707 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12708 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12709 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12710 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12711 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12712 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12713 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12714 __fstatat64 macros.
7fb90fb8
UD
12715 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12716 * dirent/rewinddir.c: Add libc_hidden_def.
12717 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12718 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12719
28377d1b
UD
12720 * include/dirent.h (__alloc_dir): Add flags parameter.
12721 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12722 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12723 __alloc_dir.
12724 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12725 from fdopendir if O_CLOEXEC is already set.
12726
66bdbaa4
AM
127272011-03-15 Alan Modra <amodra@gmail.com>
12728
12729 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12730 l_tls_firstbyte_offset non-zero. Save padding offset in
12731 l_tls_firstbyte_offset for later use.
12732 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12733 freeing static tls block.
12734
95721191
JN
127352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12736
12737 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12738 where #ifdef was intended. The intent is to prevent ARG_MAX from
12739 being defined by the kernel headers.
12740
f87dfb1f
UD
127412011-05-07 Ulrich Drepper <drepper@gmail.com>
12742
12743 [BZ #12734]
12744 * resolv/resolv.h: Define RES_NOTLDQUERY.
12745 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12746 no-tld-query and set RES_NOTLDQUERY.
12747 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12748 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12749 modern BIND to search name as TLD unless forbidden.
12750
47c3cd7a
UD
127512011-05-07 Petr Baudis <pasky@suse.cz>
12752 Ulrich Drepper <drepper@gmail.com>
12753
12754 [BZ #12393]
12755 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12756 (is_trusted_path): ...to here.
c1e9ea35 12757 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12758 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12759 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12760
8a35c912
PP
127612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12762
12763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12764 __BEGIN/__END_DECLS.
12765
acd41f47
UD
127662011-05-06 Ulrich Drepper <drepper@gmail.com>
12767
12768 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12769 NSS_STATUS_NOTFOUND if no record was found.
12770
597df647
AS
127712011-05-05 Andreas Schwab <schwab@redhat.com>
12772
12773 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12774 (headers-not-in-tirpc): Remove rpc/netdb.h
12775 * resolv/netdb.h: Revert last change.
12776
b9af1301
PP
127772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12778
12779 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12780 circular dependency between libgcc.a and libc.a.
12781
4e34d5f5
AS
127822011-05-05 Andreas Schwab <schwab@redhat.com>
12783
12784 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12785 * nis/Makefile: Don't install rpcsvc/*.
12786 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12787 instead of <rpc/types.h>.
12788 (MAXHOSTNAMELEN): Define.
12789
00ee369c
AS
127902011-05-03 Andreas Schwab <schwab@redhat.com>
12791
12792 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12793
0b592a30
MB
127942011-04-28 Maciej Babinski <mbabinski@google.com>
12795
12796 [BZ #12714]
12797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12798 gethostbyname4_r when IPv6 results are possible.
12799
6e04cbbe
UD
128002011-05-02 Ulrich Drepper <drepper@gmail.com>
12801
12802 [BZ #12723]
12803 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12804 _PC_PIPE_BUF handling.
12805
e4ecafe0
BH
128062011-04-30 Bruno Haible <bruno@clisp.org>
12807
12808 [BZ #12717]
12809 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12810 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12811 to 'int'.
12812 * inet/getnameinfo.c (getnameinfo): Likewise.
12813
125ee683
UD
128142011-04-29 Ulrich Drepper <drepper@gmail.com>
12815
12816 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12817 to groups setting in database lookup.
12818 * nss/nsswitch.conf: Add initgroups entry.
12819
b722481a
EB
128202011-04-22 Ulrich Drepper <drepper@gmail.com>
12821
12822 [BZ #12685]
12823 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12824 mode string.
12825 Patch by Eric Blake <eblake@redhat.com>.
12826
4df46dbd
L
128272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 * sunrpc/Makefile (need-export-routines): Add svc_run.
12830 (routines): Remove svc_run.
12831 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12832 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12833 * sunrpc/svc_run.c (svc_run): Likewise.
12834 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12835
e84142d2
UD
128362011-04-21 Ulrich Drepper <drepper@gmail.com>
12837
12838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12839 problem in reallocation in last patch.
12840
877175d8
UD
128412011-04-20 Ulrich Drepper <drepper@gmail.com>
12842
12843 * sunrpc/Makefile: Move inclusion of Rules.
12844
ab8eed78
UD
128452011-04-19 Ulrich Drepper <drepper@gmail.com>
12846
12847 * nss/nss_files/files-initgroups.c: New file.
12848 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12849 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12850 _nss_files_initgroups_dyn.
12851
e3d8f584
RS
128522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12853
12854 * elf/elf.h (R_ARM_IRELATIVE): Define.
12855
af190f45
UD
128562011-04-19 Ulrich Drepper <drepper@gmail.com>
12857
12858 * po/ru.po: Update from translation team.
12859
53cf59ef
UD
128602011-04-17 Ulrich Drepper <drepper@gmail.com>
12861
12862 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12863 dependencies.
12864
4c559bcd
MF
128652011-02-06 Mike Frysinger <vapier@gentoo.org>
12866
12867 [BZ #12653]
12868 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12869 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12870 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12873
4420675c
AS
128742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12875
12876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12877 differing bytes.
12878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12881
75ea32ab
UD
128822011-04-17 Ulrich Drepper <drepper@gmail.com>
12883
12884 [BZ #12420]
12885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12886 storing it.
12887 * stdlib/bug-getcontext.c: New file.
12888 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12889
27390476
AK
128902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12891
12892 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12893 instructions into .machine "z9-109".
12894 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12895 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12896
10442705
AK
128972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12898
12899 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12900 between environment variables and auxiliary vector.
12901
7b57bfe5
UD
129022011-04-16 Ulrich Drepper <drepper@gmail.com>
12903
12904 * Makefile: Add rules to build linkobj/libc.so.
12905 * include/libc-symbols.h: Define libc_hidden_nolink.
12906 * include/rpc/auth.h: Mark functions which are to be hidden.
12907 * include/rpc/auth_des.h: Likewise.
12908 * include/rpc/auth_unix.h: Likewise.
12909 * include/rpc/clnt.h: Likewise.
12910 * include/rpc/des_crypt.h: Likewise.
12911 * include/rpc/key_prot.h: Likewise.
12912 * include/rpc/pmap_clnt.h: Likewise.
12913 * include/rpc/pmap_prot.h: Likewise.
12914 * include/rpc/pmap_rmt.h: Likewise.
12915 * include/rpc/rpc_msg.h: Likewise.
12916 * include/rpc/svc.h: Likewise.
12917 * include/rpc/svc_auth.h: Likewise.
12918 * include/rpc/xdr.h: Likewise.
12919 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12920 * nss/Makefile: Likewise.
12921 * sunrpc/Makefile: Don't install headers. Build library with normal
12922 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12923 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12924 for the compat linking library. Remove use of INTDEF/INTUSE.
12925 * sunrpc/auth_none.c: Likewise.
12926 * sunrpc/auth_unix.c: Likewise.
12927 * sunrpc/authdes_prot.c: Likewise.
12928 * sunrpc/authuxprot.c: Likewise.
12929 * sunrpc/clnt_gen.c: Likewise.
12930 * sunrpc/clnt_perr.c: Likewise.
12931 * sunrpc/clnt_raw.c: Likewise.
12932 * sunrpc/clnt_simp.c: Likewise.
12933 * sunrpc/clnt_tcp.c: Likewise.
12934 * sunrpc/clnt_udp.c: Likewise.
12935 * sunrpc/clnt_unix.c: Likewise.
12936 * sunrpc/des_crypt.c: Likewise.
12937 * sunrpc/des_soft.c: Likewise.
12938 * sunrpc/get_myaddr.c: Likewise.
12939 * sunrpc/key_call.c: Likewise.
12940 * sunrpc/key_prot.c: Likewise.
12941 * sunrpc/netname.c: Likewise.
12942 * sunrpc/pm_getmaps.c: Likewise.
12943 * sunrpc/pm_getport.c: Likewise.
12944 * sunrpc/pmap_clnt.c: Likewise.
12945 * sunrpc/pmap_prot.c: Likewise.
12946 * sunrpc/pmap_prot2.c: Likewise.
12947 * sunrpc/pmap_rmt.c: Likewise.
12948 * sunrpc/publickey.c: Likewise.
12949 * sunrpc/rpc_cmsg.c: Likewise.
12950 * sunrpc/rpc_common.c: Likewise.
12951 * sunrpc/rpc_dtable.c: Likewise.
12952 * sunrpc/rpc_prot.c: Likewise.
12953 * sunrpc/rpc_thread.c: Likewise.
12954 * sunrpc/rtime.c: Likewise.
12955 * sunrpc/svc.c: Likewise.
12956 * sunrpc/svc_auth.c: Likewise.
12957 * sunrpc/svc_authux.c: Likewise.
12958 * sunrpc/svc_raw.c: Likewise.
12959 * sunrpc/svc_run.c: Likewise.
12960 * sunrpc/svc_simple.c: Likewise.
12961 * sunrpc/svc_tcp.c: Likewise.
12962 * sunrpc/svc_udp.c: Likewise.
12963 * sunrpc/svc_unix.c: Likewise.
12964 * sunrpc/svcauth_des.c: Likewise.
12965 * sunrpc/xcrypt.c: Likewise.
12966 * sunrpc/xdr.c: Likewise.
12967 * sunrpc/xdr_array.c: Likewise.
12968 * sunrpc/xdr_float.c: Likewise.
12969 * sunrpc/xdr_intXX_t.c: Likewise.
12970 * sunrpc/xdr_mem.c: Likewise.
12971 * sunrpc/xdr_rec.c: Likewise.
12972 * sunrpc/xdr_ref.c: Likewise.
12973 * sunrpc/xdr_sizeof.c: Likewise.
12974 * sunrpc/xdr_stdio.c: Likewise.
12975
e6c61494
UD
129762011-04-10 Ulrich Drepper <drepper@gmail.com>
12977
12978 [BZ #12650]
12979 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12980 * sysdeps/ia64/dl-tls.h: Likewise.
12981 * sysdeps/powerpc/dl-tls.h: Likewise.
12982 * sysdeps/s390/dl-tls.h: Likewise.
12983 * sysdeps/sh/dl-tls.h: Likewise.
12984 * sysdeps/sparc/dl-tls.h: Likewise.
12985 * sysdeps/x86_64/dl-tls.h: Likewise.
12986 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12987
34fe483e
AS
129882011-03-14 Andreas Schwab <schwab@redhat.com>
12989
12990 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12991 rpath element also skip the following colon.
12992 (expand_dynamic_string_token): Add is_path parameter and pass
12993 down to DL_DST_REQUIRED and _dl_dst_substitute.
12994 (decompose_rpath): Call expand_dynamic_string_token with
12995 non-zero is_path. Ignore empty rpaths.
12996 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12997 with zero is_path.
12998
f12a32e6
AS
129992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13000
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13002 Make cancelable.
13003
38a7d692
UD
130042011-04-09 Ulrich Drepper <drepper@gmail.com>
13005
13006 [BZ #12655]
13007 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13008 Patch by Filipe David Manana <fdmanana@apache.org>.
13009
e451d22b
AS
130102011-04-07 Andreas Schwab <schwab@redhat.com>
13011
13012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13013 Maintain aligned stack.
13014 (CHECK_RSP): Remove unused macro.
13015
dedc7c7b
UD
130162011-04-03 Ulrich Drepper <drepper@gmail.com>
13017
13018 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13020
94521213
UD
130212011-04-02 Ulrich Drepper <drepper@gmail.com>
13022
13023 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13024
8cb700c0 13025 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13026
0354e355
L
130272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 [BZ #12518]
13030 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13031 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13032 * sysdeps/x86_64/memmove.c: New file.
13033 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13034 (memcpy): Renamed to ...
13035 (__new_memcpy): This.
13036 (memcpy): Provide GLIBC_2_14 memcpy.
13037 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13038 (memcpy): Provide GLIBC_2_2_5 memcpy.
13039
8593482f
UD
130402011-04-01 Ulrich Drepper <drepper@gmail.com>
13041
13042 [BZ #12631]
13043 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13044
81a5726b
AS
130452011-03-30 Andreas Schwab <schwab@redhat.com>
13046
13047 * misc/syncfs.c: New file.
13048 * misc/Makefile (routines): Add syncfs.
13049 * posix/unistd.h: Declare syncfs.
13050 * sysdeps/unix/syscalls.list: Add syncfs.
13051
00e5419f
AS
130522011-04-01 Andreas Schwab <schwab@redhat.com>
13053
13054 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13055 open_by_handle_at.
13056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13061 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13063
748876bf
UD
130642011-04-01 Ulrich Drepper <drepper@gmail.com>
13065
658e451d
UD
13066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13067 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13068 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13073
748876bf
UD
13074 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13075 sync_file_range.c with -fexceptions.
13076 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13077 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13078 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13079 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13080 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13081 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13083 sync_file_range as cancellation point
13084 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13085 now a wrapper around __call_sync_file_range with cancellation handling.
13086 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13087 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13088 function name to __call_sync_file_range.
13089 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13090 Add call_sync_file_range.
748876bf 13091
6e63d5e1
AS
130922011-04-01 Andreas Schwab <schwab@redhat.com>
13093
13094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13095 bits/timex.h.
6e63d5e1 13096
46998f74
UD
130972011-04-01 Ulrich Drepper <drepper@gmail.com>
13098
4c1423ed
UD
13099 * iconv/iconv.h: Fix typo in comment.
13100 * io/fcntl.h: Likewise.
13101 * libio/stdio.h: Likewise.
13102 * posix/spawn.h: Likewise.
13103 * posix/unistd.h: Likewise.
13104 * stdlib/stdlib.h: Likewise.
13105 * time/time.h: Likewise.
13106 * wcsmbs/wchar.h: Likewise.
13107
158648c0
UD
13108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13109 open_by_handle): Add.
13110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13111 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13112 Augment a few comments.
13113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13118 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13119 open_by_handle.
13120
46998f74
UD
13121 * io/fcntl.h (AT_EMPTY_PATH): Define.
13122
83fe108b
UD
131232011-03-30 Ulrich Drepper <drepper@gmail.com>
13124
13125 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13126 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13127 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13128 to...
13129 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13130 * Versions.def: Add GLIBC_2.14.
13131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13132 Export.
83fe108b 13133
bb242059
UD
131342011-03-22 Ulrich Drepper <drepper@gmail.com>
13135
13136 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13137 round counter.
13138 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13139
c97a1282
L
131402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 [BZ #12597]
13143 * string/test-strncmp.c (do_page_test): New function.
13144 (check2): Likewise.
13145 (test_main): Call check2.
13146 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13147
2a115601
UD
131482011-03-20 Ulrich Drepper <drepper@gmail.com>
13149
13150 [BZ #12587]
13151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13152 Handle cache information in CPU leaf 4.
13153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13154
8126d904
UD
131552011-03-18 Ulrich Drepper <drepper@gmail.com>
13156
042c49c6 13157 [BZ #12583]
8126d904
UD
13158 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13159 character representation.
13160 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13161
ccfe366e
RA
131622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13163
13164 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13165 END(__isnan) to END(__isnanf) to match function entry point/label
13166 EALIGN(__isnanf,...).
13167
c6e13027
JJ
131682011-03-10 Jakub Jelinek <jakub@redhat.com>
13169
13170 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13171
33f85a3f
UD
131722011-03-10 Ulrich Drepper <drepper@gmail.com>
13173
028478fa
UD
13174 [BZ #12510]
13175 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13176 copy from the symbol referenced in the relocation to initialize the
13177 used variable.
13178 Patch by Piotr Bury <pbury@goahead.com>.
13179 * elf/Makefile: Add rules to build and tst-unique3.
13180 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13181 * elf/tst-unique3.cc: New file.
13182 * elf/tst-unique3.h: New file.
13183 * elf/tst-unique3lib.cc: New file.
13184 * elf/tst-unique3lib2.cc: New file.
13185
33f85a3f
UD
13186 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13187
03592fc7
MF
131882011-03-10 Mike Frysinger <vapier@gentoo.org>
13189
13190 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13191 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13192 to _start.
03592fc7 13193
6a5ee102
UD
131942011-03-06 Ulrich Drepper <drepper@gmail.com>
13195
13196 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13197 to-be-loaded object along a path to loader is ld.so.
13198
7e4ba49c
HJ
131992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13200 Ulrich Drepper <drepper@gmail.com>
13201
13202 * sysdeps/x86_64/memset.S: After aligning destination, code
13203 branches to different locations depending on the value of
13204 misalignment, when multiarch is enabled. Fix this.
13205
132062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13207
13208 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13209 Set _x86_64_preferred_memory_instruction for AMD processsors.
13210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13211 Set bit_Prefer_SSE_for_memop for AMD processors.
13212
13a804de
UD
132132011-03-04 Ulrich Drepper <drepper@gmail.com>
13214
13215 * libio/fmemopen.c (fmemopen): Optimize a bit.
13216
9d25c392
AS
132172011-03-03 Andreas Schwab <schwab@redhat.com>
13218
13219 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13220
a5543c6a
RM
132212011-03-03 Roland McGrath <roland@redhat.com>
13222
13223 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13224
012d35f7
DM
132252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13226
7e4ba49c 13227 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13228 __bzero_ultra1 instead of __memset_ultra1.
13229
4bff6e01
AS
132302011-02-23 Andreas Schwab <schwab@redhat.com>
13231 Ulrich Drepper <drepper@gmail.com>
13232
13233 [BZ #12509]
13234 * include/link.h (struct link_map): Add l_orig_initfini.
13235 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13236 returning unsuccessfully.
13237 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13238 close of a file loaded at startup, restore the original l_initfini
13239 list.
13240 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13241 list, store the pointer.
13242 * elf/Makefile ($(objpfx)noload-mem): New rule.
13243 (noload-ENV): Define.
13244 (tests): Add $(objpfx)noload-mem.
13245 * elf/noload.c: Include <memcheck.h>.
13246 (main): Call mtrace. Close all opened handles.
13247
f2092faf
AS
132482011-02-17 Andreas Schwab <schwab@redhat.com>
13249
13250 [BZ #12454]
13251 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13252 dependencies are missing.
13253
6c8a2e88
ST
132542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13255
f2092faf 13256 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13257 Hurd needs munmap.
13258 * sysdeps/mach/hurd/ifreq.h: New file.
13259
84a42118
PB
132602011-01-27 Petr Baudis <pasky@suse.cz>
13261 Ulrich Drepper <drepper@gmail.com>
13262
071f805e 13263 [BZ 12445]#
84a42118
PB
13264 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13265 to extend_alloca().
13266 * stdio-common/bug23.c: New file.
13267 * stdio-common/Makefile (tests): Add bug23.
13268
e23fe25b
AS
132692010-09-28 Andreas Schwab <schwab@redhat.com>
13270 Ulrich Drepper <drepper@gmail.com>
13271
13272 [BZ #12489]
13273 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13274 before performing relro protection. At old place add assertion
13275 to make sure nothing changed.
13276
d3f02e10
NS
132772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13278 Glauber de Oliveira Costa <glommer@gmail.com>
13279
13280 * elf/elf.h: Add new ARM TLS relocs.
13281
d55fd7a5
RA
132822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13283
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13285 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13286 cast from r3.
13287 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13288 'tests' variable.
13289 * sysdeps/wordsize-64/tst-writev.c: New file.
13290
2206397e
RA
132912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13292
13293 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13294 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13295 insns in _dl_start to prevent a TOC reference before relocs are
13296 resolved.
13297
e9433893
UD
132982011-02-15 Ulrich Drepper <drepper@gmail.com>
13299
13300 [BZ #12469]
13301 * Makeconfig: Remove RANLIB definition.
13302 * Makerules: Don't use RANLIB.
13303 * aclocal.m4: Remove ranlib test.
13304 * configure.in: No need to check for ranlib.
13305 * elf/rtld-Rules: Don't use RANLIB.
13306
f75286c6
ST
133072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13308
8e31c82d
ST
13309 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13310 protection macro.
13311 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13312 inclusion protection macro.
13313
f75286c6
ST
13314 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13315 SIGRTMIN and SIGRTMAX and print information in that case only when
13316 SIGRTMIN is defined.
13317
c1d0e639
JJ
133182011-02-11 Jakub Jelinek <jakub@redhat.com>
13319
13320 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13321 arginfo fn returning -1.
13322
13323 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13324 and thousands string is zero terminated.
13325
edf9294e
AS
133262011-02-03 Andreas Schwab <schwab@redhat.com>
13327
13328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13329 sysdeps/unix/sysv/linux/bits/socket.h.
13330
2b7e92df
ST
133312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13332
edf9294e
AS
13333 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13334 (__CPU_COUNT): Remove old macros.
13335 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13336 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13337 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13338 (__sched_cpualloc, __sched_cpufree): Add declarations.
13339
a4c7ea7b
UD
133402011-02-05 Ulrich Drepper <drepper@gmail.com>
13341
13342 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13343 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13344 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13345 (readdhstai): Return value of addhstaiX call.
13346 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13347 (addgrbyX): Return value returned by cache_addgr.
13348 (readdgrbyname): Return value returned by addgrbyX.
13349 (readdgrbygid): Likewise.
13350 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13351 (addpwbyX): Return value returned by cache_addpw.
13352 (readdpwbyname): Return value returned by addhstbyX.
13353 (readdpwbyuid): Likewise.
13354 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13355 (addservbyX): Return value returned by cache_addserv.
13356 (readdservbyname): Return value returned by addservbyX:
13357 (readdservbyport): Likewise.
13358 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13359 (addhstbyX): Return value returned by cache_addhst.
13360 (readdhstbyname): Return value returned by addhstbyX.
13361 (readdhstbyaddr): Likewise.
13362 (readdhstbynamev6): Likewise.
13363 (readdhstbyaddrv6): Likewise.
13364 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13365 (readdinitgroups): Return value returned by addinitgroupsX.
13366 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13367 (prune_cache): Keep track of timeout value of re-added entries.
13368 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13369 * nscd/nscd.h: Adjust prototypes of readd* functions.
13370
a0bf67cc
RM
133712011-02-04 Roland McGrath <roland@redhat.com>
13372
13373 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13374 (nis_stats): Likewise.
13375 * nis/nis_modify.c (nis_modify): Likewise.
13376 * nis/nis_remove.c (nis_remove): Likewise.
13377 * nis/nis_add.c (nis_add): Likewise.
13378
13379 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13380
13381 * posix/fnmatch_loop.c: Add some consts.
13382
13383 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13384
435b95eb
L
133852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 [BZ #12460]
13388 * config.make.in (config-cflags-novzeroupper): Define.
13389 * configure.in: Substitute libc_cv_cc_novzeroupper.
13390 * elf/Makefile (AVX-CFLAGS): Define.
13391 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13392 (CFLAGS-tst-auditmod4a.c): Likewise.
13393 (CFLAGS-tst-auditmod4b.c): Likewise.
13394 (CFLAGS-tst-auditmod6b.c): Likewise.
13395 (CFLAGS-tst-auditmod6c.c): Likewise.
13396 (CFLAGS-tst-auditmod7b.c): Likewise.
13397 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13398
8517b15e
UD
133992011-02-02 Ulrich Drepper <drepper@gmail.com>
13400
13401 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13402 function to the callback.
13403 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13404
10a656fe
AS
134052011-02-02 Andreas Schwab <schwab@redhat.com>
13406
13407 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13408 of errno.
13409
968dad0a
UD
134102011-01-19 Ulrich Drepper <drepper@gmail.com>
13411
9f94d2ea 13412 [BZ #11724]
968dad0a
UD
13413 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13414 of constructors.
13415 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13416 of destructors.
13417 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13418
13419 [BZ #11724]
13420 * elf/Makefile: Add rules to build and run new test.
13421 * elf/tst-initorder.c: New file.
13422 * elf/tst-initorder.exp: New file.
13423 * elf/tst-initordera1.c: New file.
13424 * elf/tst-initordera2.c: New file.
13425 * elf/tst-initordera3.c: New file.
13426 * elf/tst-initordera4.c: New file.
13427 * elf/tst-initorderb1.c: New file.
13428 * elf/tst-initorderb2.c: New file.
13429 * elf/tst-order-a1.c: New file.
13430 * elf/tst-order-a2.c: New file.
13431 * elf/tst-order-a3.c: New file.
13432 * elf/tst-order-a4.c: New file.
13433 * elf/tst-order-b1.c: New file.
13434 * elf/tst-order-b2.c: New file.
13435 * elf/tst-order-main.c: New file.
13436 New test case by George Gensure <werkt0@gmail.com>.
13437
86e92359
UD
134382010-10-01 Andreas Schwab <schwab@redhat.com>
13439
13440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13441 decoding ACE if AI_CANONIDN.
13442
5d5732b0
UD
134432011-01-18 Ulrich Drepper <drepper@gmail.com>
13444
13445 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13446
a77e8cbc
UD
134472011-01-17 Ulrich Drepper <drepper@gmail.com>
13448
6392473f
UD
13449 * version.h (RELEASE): Bump for 2.13 release.
13450 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13451
620a0529
UD
13452 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13453
18ba70a5
UD
13454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13455 MADV_NOHUGEPAGE.
32465c3e
UD
13456 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13458 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13459 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13462
c0dafcf1
UD
13463 * posix/getconf.c: Update copyright year.
13464 * catgets/gencat.c: Likewise.
13465 * csu/version.c: Likewise.
13466 * debug/catchsegv.sh: Likewise.
13467 * debug/xtrace.sh: Likewise.
13468 * elf/ldconfig.c: Likewise.
13469 * elf/ldd.bash.in: Likewise.
13470 * elf/sprof.c (print_version): Likewise.
13471 * iconv/iconv_prog.c: Likewise.
13472 * iconv/iconvconfig.c: Likewise.
13473 * locale/programs/locale.c: Likewise.
13474 * locale/programs/localedef.c: Likewise.
13475 * malloc/memusage.sh: Likewise.
13476 * malloc/mtrace.pl: Likewise.
13477 * nscd/nscd.c (print_version): Likewise.
13478 * nss/getent.c: Likewise.
13479
a77e8cbc
UD
13480 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13481 PF_CAIF, and PF_ALG.
13482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13483
77e8bddf
AS
134842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13485
1f20b93a
AS
13486 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13487 (modules-names): Use them.
13488 (ifunc-test-modules, ifunc-pie-tests): Define.
13489 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13490 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13491 (test-extras): Likewise.
13492 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13493 $(compile-command.c).
13494 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13495 (all-built-dso): Define.
13496 (check-textrel.out, check-execstack.out): Depend on it.
13497
77e8bddf
AS
13498 * configure.in: Don't override --enable-multi-arch.
13499
bc425b33
UD
135002011-01-15 Ulrich Drepper <drepper@gmail.com>
13501
13502 [BZ #6812]
13503 * nscd/hstcache.c (tryagain): Define.
13504 (cache_addhst): Return tryagain not notfound for temporary errors.
13505 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13506 failed.
13507
794c3ad3
UD
135082011-01-14 Ulrich Drepper <drepper@gmail.com>
13509
70181fdd
UD
13510 [BZ #10563]
13511 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13512 to make the syscall.
13513 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13514
794c3ad3
UD
13515 [BZ #12378]
13516 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13517 and fall back to matching as normal character if the string ends before
13518 the matching ']' is found. This is what POSIX requires.
13519 * posix/testfnm.c: Adjust test result.
13520 * posix/globtest.sh: Adjust test result. Add new test.
13521 * posix/tst-fnmatch.input: Likewise.
13522 * posix/tst-fnmatch2.c: Add new test.
13523
68dc9497
AS
135242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13525
13526 * elf/Makefile (check-execstack): Revert last change. Depend on
13527 check-execstack.h.
13528 (check-execstack.h): New target.
13529 (generated): Add check-execstack.h.
13530 * elf/check-execstack.c: Include "check-execstack.h".
13531 (main): Revert last change.
13532 (handle_file): Return zero if GNU_STACK is absent and
13533 DEFAULT_STACK_PERMS doesn't include PF_X.
13534
451f001b
UD
135352011-01-13 Ulrich Drepper <drepper@gmail.com>
13536
cfa28e56
UD
13537 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13538 in child fails because the descriptor is already closed.
8cf8ce17
UD
13539 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13540 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13542
1086d70d
UD
13543 [BZ #12397]
13544 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13545 syscall.
13546
451f001b
UD
13547 [BZ #10484]
13548 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13549 temporary buffer used to handle multi lookups locally.
a85b5cb4 13550 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13551
08769175
UD
135522011-01-12 Ulrich Drepper <drepper@gmail.com>
13553
13554 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13555 loader is ld.so.
13556
5e49c52e
UD
135572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13558
13559 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13560 alignment for SSE2.
13561
60522a5f
UD
135622011-01-12 Ulrich Drepper <drepper@gmail.com>
13563
13564 [BZ #12394]
13565 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13566 characters. When rounding increased number of integer digits recompute
13567 number of groups.
13568 * stdio-common/tst-grouping.c: New file.
13569 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13570
f257bbd7
UD
135712011-01-09 Ulrich Drepper <drepper@gmail.com>
13572
13573 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13574 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13575
13576 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13577 void.
13578 * bits/select.h: Likewise.
13579
fa9c15cb
UD
135802011-01-08 Ulrich Drepper <drepper@gmail.com>
13581
13582 * po/ja.po: Update from translation team.
13583
16c2895f
DM
135842011-01-04 David S. Miller <davem@sunset.davemloft.net>
13585
13586 [BZ #11155]
13587 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13588 implementation just like for lxstat, fxstatat, et al.
13589
2543fef2
JM
135902010-12-27 Jim Meyering <meyering@redhat.com>
13591
13592 [BZ #12348]
13593 * posix/regexec.c (build_trtable): Return failure indication upon
13594 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13595
98727dbe
UD
135962010-12-25 Ulrich Drepper <drepper@gmail.com>
13597
5bd6dc5c
UD
13598 [BZ #12201]
13599 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13600 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13603
97983464
UD
13604 [BZ #12207]
13605 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13606
98727dbe
UD
13607 [BZ #12204]
13608 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13609 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13610
4a531bb0
L
136112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13612
13613 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13614 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13615 script has SORT_BY_INIT_PRIORITY.
13616 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13617 NO_CTORS_DTORS_SECTIONS is defined.
13618 * elf/soinit.c: Likewise.
13619 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13620 NO_CTORS_DTORS_SECTIONS is defined.
13621 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13622 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13623 * sysdeps/sh/init-first.c: Likewise.
13624 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13625
07eb4b71
UD
136262010-12-24 Ulrich Drepper <drepper@gmail.com>
13627
13628 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13629 always use the slow path.
13630
30950a5f
RA
136312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13632
13633 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13634 similar rule which adds the sysdep directories to the header search in
13635 order to pick up the correct platform stackinfo.h.
13636 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13637 perform test if it is, otherwise return successfully without testing.
13638 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13639 DEFAULT_STACK_PERMS define in stackinfo.h.
13640 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13641 defined in stackinfo.h.
13642 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13643 DEFAULT_STACK_PERMS defined in stackinfo.h.
13644 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13645 * sysdeps/ia64/stackinfo.h: Likewise.
13646 * sysdeps/s390/stackinfo.h: Likewise.
13647 * sysdeps/sh/stackinfo.h: Likewise.
13648 * sysdeps/sparc/stackinfo.h: Likewise.
13649 * sysdeps/x86_64/stackinfo.h: Likewise.
13650 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13651 PF_X for powerpc64. Retain PF_X for powerpc32.
13652
db753e2c
UD
136532010-12-19 Ulrich Drepper <drepper@gmail.com>
13654
14b697f7
UD
13655 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13656 accurately.
db753e2c
UD
13657 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13658 GETDENTS_64BIT_ALIGNED.
13659
28300719
UD
136602010-12-14 Ulrich Drepper <dreper@gmail.com>
13661
14b697f7 13662 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13663
4f197237
AS
136642010-12-10 Andreas Schwab <schwab@redhat.com>
13665
dbb0472f
AS
13666 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13667 _GNU_SOURCE.
13668
4f197237
AS
13669 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13670 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13671 Remove __restrict.
13672 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13673 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13674
fb88ac72
UD
136752010-12-09 Ulrich Drepper <drepper@gmail.com>
13676
13677 [BZ #11655]
13678 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13679 are initialized.
13680
42acbb92
JJ
136812010-12-09 Jakub Jelinek <jakub@redhat.com>
13682
13683 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13684
c038d98d
UD
136852010-12-03 Ulrich Drepper <drepper@gmail.com>
13686
13687 * po/it.po: Update from translation team.
13688
3a4a2499
L
136892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13692 unused codes.
13693
1e24cf6e
UD
136942010-11-30 Ulrich Drepper <drepper@gmail.com>
13695
13696 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13697
a7690819
AS
136982010-11-24 Andreas Schwab <schwab@redhat.com>
13699
13700 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13701 specially.
13702 (gaih_getanswer_slice): Likewise.
13703
3bf8d1b1
JJ
137042010-10-20 Jakub Jelinek <jakub@redhat.com>
13705
13706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13707
6db52fbb
PB
137082010-05-31 Petr Baudis <pasky@suse.cz>
13709
13710 [BZ #11149]
13711 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13712 silently even in the chroot mode.
13713
eaca7569
UD
137142010-11-22 Ulrich Drepper <drepper@gmail.com>
13715
13716 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13717 last patch a bit. Pretty printing
13718
3056dcdb
UD
137192010-05-31 Petr Baudis <pasky@suse.cz>
13720
13721 [BZ #10085]
13722 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13723 initialization of skip_initgroups_dyn.
13724
cf7c9078
UD
137252010-11-19 Ulrich Drepper <drepper@gmail.com>
13726
13727 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13729
a1fb5e3e
UD
137302010-11-16 Ulrich Drepper <drepper@gmail.com>
13731
13732 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13733
3540d66b
AS
137342010-11-11 Andreas Schwab <schwab@redhat.com>
13735
13736 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13737 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13738 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13739 ($(objpfx)tst-fnmatch-mem): New rule.
13740 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13741 * posix/tst-fnmatch.c (main): Call mtrace.
13742
13b69574
L
137432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13744
13745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13746 Support Intel processor model 6 and model 0x2c.
13747
da93d214
LM
137482010-11-10 Luis Machado <luisgpm@br.ibm.com>
13749
13750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13751 signed comparison.
13752
8ca52c6e
L
137532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 [BZ #12205]
13756 * string/test-strncasecmp.c (check_result): New function.
13757 (do_one_test): Use it.
13758 (check1): New function.
13759 (test_main): Use it.
13760 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13761 Support strcasecmp and strncasecmp.
13762
69da074d
UD
137632010-11-08 Ulrich Drepper <drepper@gmail.com>
13764
13765 [BZ #12194]
13766 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13768
ff02d528
L
137692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13772 IFUNC support.
13773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13774 memset-x86-64.
13775 * sysdeps/x86_64/multiarch/bzero.S: New file.
13776 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13777 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13778 * sysdeps/x86_64/multiarch/memset.S: New file.
13779 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13781 Set bit_Prefer_SSE_for_memop for Intel processors.
13782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13783 Define.
13784 (index_Prefer_SSE_for_memop): Define.
13785 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13786
344d0b54
LM
137872010-11-04 Luis Machado <luisgpm@br.ibm.com>
13788
13789 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13791
c0dde15b
UD
137922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13793
13794 [BZ #12191]
13795 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13796 (__x86_64_raw_data_cache_size_half): Likewise.
13797 (__x86_64_raw_shared_cache_size): Likewise.
13798 (__x86_64_raw_shared_cache_size_half): Likewise.
13799
13800 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13801 (__x86_64_raw_data_cache_size_half): Likewise.
13802 (__x86_64_raw_shared_cache_size): Likewise.
13803 (__x86_64_raw_shared_cache_size_half): Likewise.
13804 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13805 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13806 and __x86_64_raw_shared_cache_size_half. Round
13807 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13808 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13809 to multiple of 256 bytes.
13810
0e516e0e
MS
138112010-11-03 Ulrich Drepper <drepper@gmail.com>
13812
13813 [BZ #12167]
13814 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13815 of inacessible symlinks. Verify result of symlink before returning it.
13816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13817 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13818
0e012e87
ER
138192010-10-28 Erich Ritz <erichritz@gmail.com>
13820
13821 * math/math.h (isinf): Fix typo in comment.
13822
de0ff7bc
UD
138232010-11-01 Ulrich Drepper <drepper@gmail.com>
13824
13825 * po/da.po: Update from translation team.
13826
fa41c84d
UD
138272010-10-26 Ulrich Drepper <drepper@gmail.com>
13828
13829 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13830 is added to the list.
13831
f0967738
AK
138322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13833 Ulrich Drepper <drepper@gmail.com>
13834
13835 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13836 the global list here. Move code to...
13837 (_dl_add_to_namespace_list): ...here. New function.
13838 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13839 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13840 * elf/dl-load.c (lose): Don't remove the element from the list.
13841 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13842 (_dl_map_object): Likewise.
13843
138442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13845
13846 [BZ #12159]
13847 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13848 into all bytes of SSE register.
13849 Patch by Richard Li <richardpku@gmail.com>.
13850
f0967738 138512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13852
13853 [BZ #12140]
13854 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13855 perturbing.
13856
d0b9e94f
MB
138572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13858
13859 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13860 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13861 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13864 submachine.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13866
8e9f92e9
AS
138672010-10-22 Andreas Schwab <schwab@redhat.com>
13868
13869 * include/dlfcn.h (__RTLD_SECURE): Define.
13870 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13871 mode & __RTLD_SECURE instead.
13872 (open_path): Rename preloaded parameter to secure.
13873 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13874 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13875 * elf/dl-deps.c (openaux): Likewise.
13876 * elf/rtld.c (struct map_args): Remove is_preloaded.
13877 (map_doit): Don't use it.
13878 (dl_main): Likewise.
13879 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13880 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13881
bc96fbda
AS
138822010-09-09 Andreas Schwab <schwab@redhat.com>
13883
13884 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13885 (sysd-rules-targets): Remove duplicates.
13886 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13887 rtld-%.$o dependency.
13888
22cd1c9b
AS
138892010-10-18 Andreas Schwab <schwab@redhat.com>
13890
13891 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13892 _dl_map_object do it.
13893
18edac48
UD
138942010-10-19 Ulrich Drepper <drepper@gmail.com>
13895
13896 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13897 fast fma builtins, define the macros in the C99 standard.
13898 (FP_FAST_FMAF): Likewise.
13899 (FP_FAST_FMAL): Likewise.
13900 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13901
13902 * bits/mathdef.h: Update copyright year.
13903 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13904
d2050124
MM
139052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13906
13907 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13908 builtins, define the macros in the C99 standard.
13909 (FP_FAST_FMAF): Likewise.
13910 (FP_FAST_FMAL): Likewise.
13911 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13912 multiply/add.
13913 (FP_FAST_FMAF): Likewise.
13914
475facd1
JJ
139152010-10-15 Jakub Jelinek <jakub@redhat.com>
13916
13917 [BZ #3268]
13918 * math/libm-test.inc (fma_test): Some new testcases.
13919 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13920 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13921 y and infinite z. Do multiplication by C already in long double.
13922 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13924 y and infinite z. Do bitwise or of inexact bit into u.d.
13925 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13926 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13927 * sysdeps/i386/fpu/s_fma.S: Removed.
13928 * sysdeps/i386/fpu/s_fmal.S: Removed.
13929
7c08a05c
JJ
139302010-10-16 Jakub Jelinek <jakub@redhat.com>
13931
13932 [BZ #3268]
13933 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13935 computation is not scheduled after fetestexcept. Fix value
13936 of minimum denormal long double.
13937
f3f7372d
JJ
139382010-10-14 Jakub Jelinek <jakub@redhat.com>
13939
13940 [BZ #3268]
13941 * math/libm-test.inc (fma_test): Add some more tests.
13942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13943 correctly.
13944
14d43591
AS
139452010-10-15 Andreas Schwab <schwab@redhat.com>
13946
13947 * scripts/data/localplt-s390-linux-gnu.data: New file.
13948 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13949
5e908464
JJ
139502010-10-13 Jakub Jelinek <jakub@redhat.com>
13951
13952 [BZ #3268]
13953 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13954 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13955 instead of dbl-64.
13956 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13957 inlines.
13958 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13960 if one of x and y is very large and the other is subnormal.
13961 * sysdeps/s390/fpu/s_fmaf.c: New file.
13962 * sysdeps/s390/fpu/s_fma.c: New file.
13963 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13964 * sysdeps/powerpc/fpu/s_fma.S: New file.
13965 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13966 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13967 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13968
139692010-10-12 Jakub Jelinek <jakub@redhat.com>
13970
13971 [BZ #3268]
13972 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13973 fma tests.
13974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13975 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13976 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13977 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13978 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13979 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13981
b833d51f
UD
139822010-10-12 Ulrich Drepper <drepper@redhat.com>
13983
13984 [BZ #12078]
13985 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13986 * posix/bug-regex31.input: Add test case.
13987
1751705d
UD
139882010-10-11 Ulrich Drepper <drepper@gmail.com>
13989
e9b9cbf5
UD
13990 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13991 * posix/bug-regex31.input: New file.
13992
13993 [BZ #12078]
13994 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13995 (parse_sub_exp): Fix last change, use postorder.
13996
ef06edbe
UD
13997 * posix/bug-regex31.c: New file.
13998 * posix/Makefile: Add rules to build and run bug-regex31.
13999
a129c80d
UD
14000 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14001
14002 [BZ #12078]
14003 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14004
b76b818e
UD
14005 [BZ #12108]
14006 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14007 to have entries in sys_siglist.
14008
1751705d
UD
14009 [BZ #12093]
14010 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14011 be NULL.
14012
9ff8d36f
JJ
140132010-10-07 Jakub Jelinek <jakub@redhat.com>
14014
14015 [BZ #3268]
14016 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14017 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14018 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14019 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14020 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14021 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14022 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14023 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14024 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14025 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14026 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14027 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14028 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14029 * math/ftestexcept.c (fetestexcept): Likewise.
14030 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14031 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14032 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14033 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14034 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14035 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14037
af325969
UD
140382010-10-11 Ulrich Drepper <drepper@gmail.com>
14039
c579b202 14040 [BZ #12107]
af325969
UD
14041 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14042 newline.
14043
67a67b95
UD
140442010-10-06 Ulrich Drepper <drepper@gmail.com>
14045
14046 * string/bug-strstr1.c: New file.
14047 * string/Makefile: Add rules to build and run bug-strstr1.
14048
5fb308bc
EB
140492010-10-05 Eric Blake <eblake@redhat.com>
14050
14051 [BZ #12092]
14052 * string/str-two-way.h (two_way_long_needle): Always clear memory
14053 when skipping input due to the shift table.
14054
45db99c7
UD
140552010-10-03 Ulrich Drepper <drepper@gmail.com>
14056
3b111893
UD
14057 [BZ #12005]
14058 * malloc/mcheck.c: Handle large requests.
14059
45db99c7
UD
14060 [BZ #12077]
14061 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14062 for strncmp and strncasecmp.
14063 * string/stratcliff.c: Add tests for strcmp and strncmp.
14064 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14065
cf7a1eb8
NI
140662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14067
14068 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14069 __set_fpscr.
14070
6484ba5e
AJ
140712010-09-30 Andreas Jaeger <aj@suse.de>
14072
14073 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14074 (CGROUP_SUPER_MAGIC): Define.
14075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14076 Handle btrfs and cgroup file systems.
14077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14078 Likewise.
14079
91c42559
LM
140802010-09-27 Luis Machado <luisgpm@br.ibm.com>
14081
14082 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14083 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14084
87a97932
AK
140852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14086
14087 [BZ #12067]
14088 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14089 trying to locate the ELF header.
14090
c21cc9bc
AS
140912010-09-27 Andreas Schwab <schwab@redhat.com>
14092
14093 [BZ #11611]
14094 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14095 Mask out sign-bit copies when constructing f_fsid.
14096
315970f6
PB
140972010-09-24 Petr Baudis <pasky@suse.cz>
14098
14099 * debug/stack_chk_fail_local.c: Add missing licence exception.
14100 * debug/warning-nop.c: Likewise.
14101
1ac7a2c7
JM
141022010-09-15 Joseph Myers <joseph@codesourcery.com>
14103
14104 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14105 implementing getdents64 using getdents syscall, set d_type if
14106 __ASSUME_GETDENTS32_D_TYPE.
14107
56801c50
AS
141082010-09-16 Andreas Schwab <schwab@redhat.com>
14109
14110 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14111 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14112
dda51327
UD
141132010-09-21 Ulrich Drepper <drepper@redhat.com>
14114
14115 [BZ #12037]
14116 * posix/unistd.h: Undo change of feature selection for ftruncate from
14117 2010-01-11.
14118
8ffcee4a
UD
141192010-09-20 Ulrich Drepper <drepper@redhat.com>
14120
a545ecd9 14121 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14122 detection.
14123
e24f0a8b
AS
141242010-09-20 Andreas Schwab <schwab@redhat.com>
14125
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14127 fanotify_mark.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14129
7291c56f
AS
141302010-09-14 Andreas Schwab <schwab@redhat.com>
14131
14132 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14133 variables after CHECK_SP call.
14134 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14135
bc5fb037
AS
141362010-09-13 Andreas Schwab <schwab@redhat.com>
14137 Ulrich Drepper <drepper@redhat.com>
14138
14139 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14140 re-relocationg ld.so.
14141 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14142 _dl_init_paths call.
14143 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14144 here anymore.
14145
e66e7419
UD
141462010-09-14 Ulrich Drepper <drepper@redhat.com>
14147
14148 * resolv/res_init.c (__res_vinit): Count the default server we added.
14149
c044aa75
CLT
141502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14151 Ulrich Drepper <drepper@redhat.com>
14152
14153 [BZ #11968]
14154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14155 (____longjmp_chk): Use %ebx for saving value across system call.
14156 Add unwind info.
14157
32cf4069
AS
141582010-09-06 Andreas Schwab <schwab@redhat.com>
14159
14160 * manual/Makefile: Don't mix pattern rules with normal rules.
14161
817328ee
AS
141622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14163
14164 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14165 operation.
14166 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14167 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14168 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14169 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14171 Likewise.
14172
29fddf61
UD
141732010-09-04 Ulrich Drepper <drepper@redhat.com>
14174
14175 [BZ #11979]
14176 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14177 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14178
0959ffc9
UD
141792010-09-02 Ulrich Drepper <drepper@redhat.com>
14180
14181 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14182 * sysdeps/x86_64/addmul_1.S: Likewise.
14183 * sysdeps/x86_64/lshift.S: Likewise.
14184 * sysdeps/x86_64/mul_1.S: Likewise.
14185 * sysdeps/x86_64/rshift.S: Likewise.
14186 * sysdeps/x86_64/sub_n.S: Likewise.
14187 * sysdeps/x86_64/submul_1.S: Likewise.
14188
ece29840
ST
141892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14190
0959ffc9
UD
14191 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14192 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14193 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14194 * bits/sched.h [__need_schedparam]
ece29840 14195 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14196 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14197 (__defined_schedparam): Define to 1.
ece29840
ST
14198 (__sched_param): New structure, identical to sched_param.
14199 (__need_schedparam): Undefine.
14200
e53a31fe
MF
142012010-08-31 Mike Frysinger <vapier@gentoo.org>
14202
fdc0c10d
MF
14203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14204 (epoll_create1): Declare.
14205
e53a31fe
MF
14206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14207
a726d796
AS
142082010-08-31 Andreas Schwab <schwab@redhat.com>
14209
14210 [BZ #7066]
14211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14212 shifting retval into place.
14213
2f3e3dc7
UD
142142010-09-01 Ulrich Drepper <drepper@redhat.com>
14215
f2933da9
UD
14216 * nis/rpcsvc/nis.h: Update copyright notice.
14217 * nis/rpcsvc/nis.x: Likewise.
14218 * nis/rpcsvc/nis_callback.h: Likewise.
14219 * nis/rpcsvc/nis_callback.x: Likewise.
14220 * nis/rpcsvc/nis_object.x: Likewise.
14221 * nis/rpcsvc/nis_tags.h: Likewise.
14222 * nis/rpcsvc/yp.h: Likewise.
14223 * nis/rpcsvc/yp.x: Likewise.
14224 * nis/rpcsvc/ypupd.h: Likewise.
14225 * nis/yp_xdr.c: Likewise.
14226 * nis/ypupdate_xdr.c: Likewise.
14227
2f3e3dc7
UD
14228 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14229 mainly the body of pmap_getport. Add parameters to specify timeouts.
14230 (pmap_getport): Use __libc_rpc_getport.
14231 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14232 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14233 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14234
f3dcc2f9
AS
142352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14236
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14238 fanotify_mark.
14239
6d34eb5b
RM
142402010-08-27 Roland McGrath <roland@redhat.com>
14241
14242 * sysdeps/i386/i686/multiarch/Makefile
14243 (CFLAGS-varshift.c): New variable.
14244
9ea3de11
UD
142452010-08-27 Ulrich Drepper <drepper@redhat.com>
14246
c96d23fc
UD
14247 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14248 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14249
9ea3de11
UD
14250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14251
14252 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14253
623aac7f
L
142542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/x86_64/strlen.S: Unroll the loop.
14257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14258 strlen-sse2 strlen-sse2-bsf.
14259 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14260 __strlen_no_bsf if bit_Slow_BSF is set.
14261 (__strlen_sse42): Removed.
14262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14263 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14264
8b2b7715
RM
142652010-08-25 Roland McGrath <roland@redhat.com>
14266
14267 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14268 * sysdeps/x86_64/multiarch/varshift.c: New file.
14269 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14270 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14271 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14272 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14273
e73015f2
L
142742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14277 strlen-sse2 strlen-sse2-bsf.
14278 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14279 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14280 (__strlen_sse2): Removed.
14281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14284 bit_Slow_BSF for Atom.
14285 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14286 (index_Slow_BSF): Define.
14287 (HAS_SLOW_BSF): Define.
14288
df24a73e
UD
142892010-08-25 Ulrich Drepper <drepper@redhat.com>
14290
14291 [BZ #10851]
14292 * resolv/res_init.c (__res_vinit): When no server address at all
14293 is given default to loopback.
14294
f2ac4868
RM
142952010-08-24 Roland McGrath <roland@redhat.com>
14296
09055553
RM
14297 * configure.in: Remove config-name.h generation.
14298 * configure: Regenerated.
14299 * config-name.in: File removed.
14300 * scripts/config-uname.sh: New file.
14301 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14302 ($(objdir)config-name.h): New target.
14303
f2ac4868
RM
14304 * sunrpc/rpc_parse.h: Avoid nested comment.
14305
73f27d5e
RH
143062010-08-24 Richard Henderson <rth@redhat.com>
14307 Ulrich Drepper <drepper@redhat.com>
14308 H.J. Lu <hongjiu.lu@intel.com>
14309
14310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14312 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14313 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14314 _mm_alignr_epi8 with _mm_loadu_si128.
14315 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14316 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14317 (__m128i_shift_right): Removed.
14318 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14319 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14320 * sysdeps/x86_64/multiarch/varshift.h: New file.
14321 * sysdeps/x86_64/multiarch/varshift.S: New file.
14322
84b9230c
MF
143232010-08-21 Mike Frysinger <vapier@gentoo.org>
14324
14325 * configure.in: Move assembler checks to before sysdep dir checking.
14326
9bbd0ddc
PB
143272010-08-20 Petr Baudis <pasky@suse.cz>
14328
14329 * LICENSES: Sync the sunrpc license.
14330
9da4bb31
UD
143312010-08-19 Ulrich Drepper <drepper@redhat.com>
14332
a7ab6ec8
UD
14333 * sunrpc/auth_des.c: Update copyright notice once again.
14334 * sunrpc/auth_none.c: Likewise.
14335 * sunrpc/auth_unix.c: Likewise.
14336 * sunrpc/authdes_prot.c: Likewise.
14337 * sunrpc/authuxprot.c: Likewise.
14338 * sunrpc/bindrsvprt.c: Likewise.
14339 * sunrpc/clnt_gen.c: Likewise.
14340 * sunrpc/clnt_perr.c: Likewise.
14341 * sunrpc/clnt_raw.c: Likewise.
14342 * sunrpc/clnt_simp.c: Likewise.
14343 * sunrpc/clnt_tcp.c: Likewise.
14344 * sunrpc/clnt_udp.c: Likewise.
14345 * sunrpc/clnt_unix.c: Likewise.
14346 * sunrpc/des_crypt.c: Likewise.
14347 * sunrpc/des_soft.c: Likewise.
14348 * sunrpc/get_myaddr.c: Likewise.
14349 * sunrpc/getrpcport.c: Likewise.
14350 * sunrpc/key_call.c: Likewise.
14351 * sunrpc/key_prot.c: Likewise.
14352 * sunrpc/openchild.c: Likewise.
14353 * sunrpc/pm_getmaps.c: Likewise.
14354 * sunrpc/pm_getport.c: Likewise.
14355 * sunrpc/pmap_clnt.c: Likewise.
14356 * sunrpc/pmap_prot.c: Likewise.
14357 * sunrpc/pmap_prot2.c: Likewise.
14358 * sunrpc/pmap_rmt.c: Likewise.
14359 * sunrpc/rpc/auth.h: Likewise.
14360 * sunrpc/rpc/auth_unix.h: Likewise.
14361 * sunrpc/rpc/clnt.h: Likewise.
14362 * sunrpc/rpc/des_crypt.h: Likewise.
14363 * sunrpc/rpc/key_prot.h: Likewise.
14364 * sunrpc/rpc/netdb.h: Likewise.
14365 * sunrpc/rpc/pmap_clnt.h: Likewise.
14366 * sunrpc/rpc/pmap_prot.h: Likewise.
14367 * sunrpc/rpc/pmap_rmt.h: Likewise.
14368 * sunrpc/rpc/rpc.h: Likewise.
14369 * sunrpc/rpc/rpc_des.h: Likewise.
14370 * sunrpc/rpc/rpc_msg.h: Likewise.
14371 * sunrpc/rpc/svc.h: Likewise.
14372 * sunrpc/rpc/svc_auth.h: Likewise.
14373 * sunrpc/rpc/types.h: Likewise.
14374 * sunrpc/rpc/xdr.h: Likewise.
14375 * sunrpc/rpc_clntout.c: Likewise.
14376 * sunrpc/rpc_cmsg.c: Likewise.
14377 * sunrpc/rpc_common.c: Likewise.
14378 * sunrpc/rpc_cout.c: Likewise.
14379 * sunrpc/rpc_dtable.c: Likewise.
14380 * sunrpc/rpc_hout.c: Likewise.
14381 * sunrpc/rpc_main.c: Likewise.
14382 * sunrpc/rpc_parse.c: Likewise.
14383 * sunrpc/rpc_parse.h: Likewise.
14384 * sunrpc/rpc_prot.c: Likewise.
14385 * sunrpc/rpc_sample.c: Likewise.
14386 * sunrpc/rpc_scan.c: Likewise.
14387 * sunrpc/rpc_scan.h: Likewise.
14388 * sunrpc/rpc_svcout.c: Likewise.
14389 * sunrpc/rpc_tblout.c: Likewise.
14390 * sunrpc/rpc_util.c: Likewise.
14391 * sunrpc/rpc_util.h: Likewise.
14392 * sunrpc/rpcinfo.c: Likewise.
14393 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14394 * sunrpc/rpcsvc/key_prot.x: Likewise.
14395 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14396 * sunrpc/rpcsvc/mount.x: Likewise.
14397 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14398 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14399 * sunrpc/rpcsvc/rex.x: Likewise.
14400 * sunrpc/rpcsvc/rstat.x: Likewise.
14401 * sunrpc/rpcsvc/rusers.x: Likewise.
14402 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14403 * sunrpc/rpcsvc/spray.x: Likewise.
14404 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14405 * sunrpc/rtime.c: Likewise.
14406 * sunrpc/svc.c: Likewise.
14407 * sunrpc/svc_auth.c: Likewise.
14408 * sunrpc/svc_authux.c: Likewise.
14409 * sunrpc/svc_raw.c: Likewise.
14410 * sunrpc/svc_run.c: Likewise.
14411 * sunrpc/svc_simple.c: Likewise.
14412 * sunrpc/svc_tcp.c: Likewise.
14413 * sunrpc/svc_udp.c: Likewise.
14414 * sunrpc/svc_unix.c: Likewise.
14415 * sunrpc/svcauth_des.c: Likewise.
14416 * sunrpc/xcrypt.c: Likewise.
14417 * sunrpc/xdr.c: Likewise.
14418 * sunrpc/xdr_array.c: Likewise.
14419 * sunrpc/xdr_float.c: Likewise.
14420 * sunrpc/xdr_mem.c: Likewise.
14421 * sunrpc/xdr_rec.c: Likewise.
14422 * sunrpc/xdr_ref.c: Likewise.
14423 * sunrpc/xdr_sizeof.c: Likewise.
14424 * sunrpc/xdr_stdio.c: Likewise.
14425
9da4bb31
UD
14426 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14427 handling.
14428
bdaa77bc
AS
144292010-08-19 Andreas Schwab <schwab@redhat.com>
14430
14431 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14432
fe2f79db
LM
144332010-08-19 Luis Machado <luisgpm@br.ibm.com>
14434
14435 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14438 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14439 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14440 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14442 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14445 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14447 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14448 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14449
b9b42ee0
AB
144502010-07-26 Anton Blanchard <anton@samba.org>
14451
14452 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14453 * malloc/arena.c (heap_trim): Likewise.
14454
1c06ba31
UD
144552010-08-16 Ulrich Drepper <drepper@redhat.com>
14456
14457 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14458 here. Not...
14459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14460 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14461
f8392f40
L
144622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * sysdeps/i386/elf/Makefile: New file.
14465
3162f12e
AS
144662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14467
14468 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14469 from fanotify_init.
14470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14472
28c90b2c
UD
144732010-08-15 Ulrich Drepper <drepper@redhat.com>
14474
14475 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14476 of strncasecmp_l.
1feccb6c 14477 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14478
ca6bb004
UD
144792010-08-14 Ulrich Drepper <drepper@redhat.com>
14480
e9f82e0d
UD
14481 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14482 strncase_l-nonascii.
14483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14484 Add strncase_l-ssse3.
14485 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14486 * sysdeps/x86_64/strcmp.S: Likewise.
14487 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14488 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14489 * sysdeps/x86_64/strncase.S: New file.
14490 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14491 * sysdeps/x86_64/strncase_l.S: New file.
14492 * string/Makefile (strop-tests): Add strncasecmp.
14493 * string/test-strncasecmp.c: New file.
14494
14495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14496 warning.
14497
ca6bb004
UD
14498 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14500
052fa7b3
AS
145012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14502
14503 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14504
962dba78
UD
145052010-08-12 Ulrich Drepper <drepper@redhat.com>
14506
14507 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14510
bebff237
AM
145112010-05-01 Alan Modra <amodra@gmail.com>
14512
14513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14514 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14515 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14516 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14517 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14518 tidying. Don't tail-call __sigjmp_save for static lib.
14519 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14520 save location.
14521 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14522 (CALL_MCOUNT): Add eh info, and nop after bl.
14523 (TAIL_CALL_SYSCALL_ERROR): New macro.
14524 (PSEUDO_RET): Use it.
14525 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14526 Correct save location of integer regs and cr.
14527 (_dl_profile_resolve): Correct cr save location. Delete nops
14528 after bl when SHARED. Reduce cfi size a little by better
14529 placement of cfi directives.
14530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14531 make a stack frame. Instead use parm save area as a temp.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14533 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14535 Don't make a stack frame for parent, use parm save area.
14536 Increase child stack frame to 112 bytes. Don't save unused reg,
14537 and adjust reg usage. Set up cfi on error recovery and
14538 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14540 (__makecontext): Add dummy nop after jump to exit.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14542 Use correct parm save area and cr save, reduce stack frame.
14543 Correct cfi for possible PSEUDO_RET frame setup.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14545 Branch to local label emitted by PSEUDO_RET rather than
14546 __syscall_error.
14547
02637374
AS
145482010-08-12 Andreas Schwab <schwab@redhat.com>
14549
14550 [BZ #11904]
14551 * locale/programs/locale.c (print_assignment): New function.
14552 (show_locale_vars): Use it.
14553
c3e2f19b
UD
145542010-08-11 Ulrich Drepper <drepper@redhat.com>
14555
3cdaa6ad
UD
14556 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14557 field.
14558 (struct statfs64): Likewise.
14559 (_STATFS_F_FLAGS): Define.
14560 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14562 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14563 (ST_VALID): Define locally.
14564 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14565 __statvfs_getflags, use the provided value.
14566 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14567 __ASSUME_STATFS_F_FLAGS.
14568
754f7da3
UD
14569 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14570
10b3bedc
UD
14571 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14572 Add sys/fanotify.h.
14573 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14574 fanotify_mask for GLIBC_2.13.
14575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14576 fanotify_init and fanotify_mark.
14577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14578 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14579
c08fb0d7
UD
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14581 Add prlimit.
14582 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14583 prlimit64 for GLIBC_2.13.
14584 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14585 prlimit64.
14586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14587 syscall.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14590 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14593 add prlimit alias.
14594 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14595
15bac72b
UD
14596 [BZ #11903]
14597 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14598 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14599
c3e2f19b
UD
14600 * nss/Makefile: Add rules to build and run tst-nss-test1.
14601 * shlib-versions: Add entry for libnss_test1.
14602 * nss/nss_test1.c: New file.
14603 * nss/tst-nss-test1.c: New file.
14604
14605 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14606 (__nss_configure_lookup): Set appropriate entry in
14607 __nss_configure_lookup to true.
14608 * nss/nsswitch.h: Define enum with indeces of databases in
14609 databases and __nss_database_custom arrays. Declare
14610 __nss_database_custom.
14611 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14612 to avoid using nscd when custom rules are installed.
14613 * nss/getXXbyYY_r.c: Likewise.
14614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14615
14616 * nss/nss_files/files-parse.c: Whitespace fixes.
14617
f15ce4d8
UD
146182010-08-09 Ulrich Drepper <drepper@redhat.com>
14619
14620 [BZ #11883]
14621 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14622 * posix/fnmatch_loop.c: Likewise.
14623
d22e4cc9
AK
146242010-07-17 Andi Kleen <ak@linux.intel.com>
14625
14626 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14627 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14628 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14629 * Versions.def [GLIBC_2.13]: Add.
14630
805bc17d
UD
146312010-08-06 Ulrich Drepper <drepper@redhat.com>
14632
14633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14634 Also fail if tpwd after pwuid call is NULL.
14635
5a42321d
ST
146362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14637
14638 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14639 when converting to ms.
14640
fd3ebeda
ST
146412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14642
14643 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14644 EOPNOTSUPP errors with ENOTTY.
14645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14646 EOPNOTSUPP errors with ENOTTY.
14647
73507d3a
UD
146482010-07-31 Ulrich Drepper <drepper@redhat.com>
14649
14650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14651 Add strcasecmp_l-ssse3.
14652 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14653 strcasecmp.
14654 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14655 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14657
fe36dd02
UD
146582010-07-30 Ulrich Drepper <drepper@redhat.com>
14659
66f6765a
UD
14660 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14661
42e08a54
UD
14662 * string/Makefile (strop-tests): Add strcasecmp.
14663 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14664 strcasecmp_l-nonascii.
14665 (gen-as-const-headers): Add locale-defines.sym.
14666 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14667 * sysdeps/x86_64/strcasecmp.S: New file.
14668 * sysdeps/x86_64/strcasecmp_l.S: New file.
14669 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14670 * sysdeps/x86_64/locale-defines.sym: New file.
14671 * string/test-strcasecmp.c: New file.
14672
fe36dd02
UD
14673 * string/test-strcasestr.c: Test both ends of the range of characters.
14674 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14675
48cbc0d6
RM
146762010-07-29 Roland McGrath <roland@redhat.com>
14677
76e6d6bc 14678 [BZ #11856]
48cbc0d6
RM
14679 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14680
880113d9
UD
146812010-07-27 Ulrich Drepper <drepper@redhat.com>
14682
14683 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14684 for ld.so.
14685
deb9cabb
AS
146862010-07-27 Andreas Schwab <schwab@redhat.com>
14687
14688 * manual/memory.texi (Malloc Tunable Parameters): Document
14689 M_PERTURB.
14690
1c7570ff
RM
146912010-07-26 Roland McGrath <roland@redhat.com>
14692
14693 [BZ #11840]
14694 * configure.in (-fgnu89-inline check): Set and substitute
14695 gnu89_inline, not libc_cv_gnu89_inline.
14696 * configure: Regenerated.
14697 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14698
24fb0f88
UD
146992010-07-26 Ulrich Drepper <drepper@redhat.com>
14700
14701 * string/test-strnlen.c: New file.
14702 * string/Makefile (strop-tests): Add strnlen.
14703 * string/tester.c (test_strnlen): Add a few more test cases.
14704 * string/tst-strlen.c: Better error reporting.
14705
14706 * sysdeps/x86_64/strnlen.S: New file.
14707
8e96b93a
UD
147082010-07-24 Ulrich Drepper <drepper@redhat.com>
14709
14710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14711 lower-latency instructions.
14712
dbc676d4
UD
147132010-07-23 Ulrich Drepper <drepper@redhat.com>
14714
14715 * string/test-strcasestr.c: New file.
14716 * string/test-strstr.c: New file.
14717 * string/Makefile (strop-tests): Add strstr and strcasestr.
14718 * string/str-two-way.h: Don't undefine MAX.
14719 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14720
f6a31e0e
AS
147212010-07-21 Andreas Schwab <schwab@redhat.com>
14722
14723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14724 strcasestr-nonascii.
14725 (CFLAGS-strcasestr-nonascii.c): Define.
14726 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14728 Remove unused attribute.
14729
5dbc3b6c
RM
147302010-07-20 Roland McGrath <roland@redhat.com>
14731
14732 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14733 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14734 ld.so.cache was broken. With it, there is no way to disable dsocaps
14735 like LD_HWCAP_MASK can disable hwcaps.
14736
23d101d8
EPM
147372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14738
14739 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14740
cc9f2e47
UD
147412010-07-16 Ulrich Drepper <drepper@redhat.com>
14742
14743 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14744 call in strcasestr.
14745 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14746 __strcasestr_sse42_nonascii.
14747 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14748 strcasestr-nonascii.c.
14749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14750
77c1b069
LM
147512010-06-15 Luis Machado <luisgpm@br.ibm.com>
14752
14753 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14756 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14757
440566c3
UD
147582010-07-09 Ulrich Drepper <drepper@redhat.com>
14759
14760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14761 fcntl.
14762
5be9d05d
AS
147632010-07-06 Andreas Schwab <schwab@redhat.com>
14764
c30b7ee2 14765 [BZ #11577]
5be9d05d
AS
14766 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14767 dl_signal_cerror.
14768
8a492a67
UD
147692010-07-06 Ulrich Drepper <drepper@redhat.com>
14770
14771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14772 _PC_PIPE_BUF using F_GETPIPE_SZ.
14773
713df3d5
RM
147742010-07-05 Roland McGrath <roland@redhat.com>
14775
14776 * manual/arith.texi (Rounding Functions): Fix rint description
14777 implicit in round description.
14778
702e8f14
UD
147792010-07-02 Ulrich Drepper <drepper@redhat.com>
14780
14781 * elf/Makefile: Fix linking for a few tests to make recent linker
14782 happy.
14783
52ed8be9
AS
147842010-06-30 Andreas Schwab <schwab@redhat.com>
14785
14786 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14787 $(common-objpfx)libc_nonshared.a.
14788
f47c9a11
LM
147892010-06-21 Luis Machado <luisgpm@br.ibm.com>
14790
14791 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14792 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14793 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14794 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14795 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14796 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14797 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14798 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14813 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14814 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14815 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14816 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14817 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14818 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14819 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14820 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14821 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14822 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14823 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14824 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14839
6fb8cbcb
L
148402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14841
14842 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14843 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14844 * string/memmove.c (memmove): Renamed to ...
14845 (MEMMOVE): ...this. Default to memmove.
14846 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14847 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14848 (END_CHK): Define.
14849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14850 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14851 mempcpy-ssse3-back memmove-ssse3-back.
14852 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14855 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14856 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14857 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14858 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14859 * sysdeps/x86_64/multiarch/memmove.c: New file.
14860 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14861 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14862 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14863 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14866 Define.
14867 (index_Fast_Copy_Backward): Define.
14868 (HAS_ARCH_FEATURE): Define.
14869 (HAS_FAST_REP_STRING): Define.
14870 (HAS_FAST_COPY_BACKWARD): Define.
14871
4e733bac 148722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14873
14874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14875 Restore proper fallback handling.
14876
63c4ed22
UD
148772010-06-19 Ulrich Drepper <drepper@redhat.com>
14878
ac2b484c
UD
14879 [BZ #11701]
14880 * posix/group_member.c (__group_member): Correct checking loop.
14881
63c4ed22
UD
14882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14883 OOM in getpwuid_r correctly. Return error number when the caller
14884 should return, otherwise -1.
14885 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14886 call returning > 0 value.
14887 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14888
765ade4b
AS
148892010-06-07 Andreas Schwab <schwab@redhat.com>
14890
14891 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14892 libc_nonshared.a from targets in modules-names.
14893
80da2e09
KS
148942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14895
14896 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14897 requires it.
14898
158db122
LM
148992010-06-10 Luis Machado <luisgpm@br.ibm.com>
14900
14901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14905
caa78cf8
AS
149062010-06-02 Andreas Schwab <schwab@redhat.com>
14907
14908 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14909
b2ef2c01
UD
149102010-06-14 Ulrich Drepper <drepper@redhat.com>
14911
14912 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14913 and F_GETPIPE_SZ.
14914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14920
fbd643b6
RM
149212010-06-14 Roland McGrath <roland@redhat.com>
14922
14923 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14924
f32f2869
JJ
149252010-06-07 Jakub Jelinek <jakub@redhat.com>
14926
14927 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14928 __REDIRECT followed by __THROW.
14929 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14930 * posix/getopt.h (getopt): Likewise.
14931
2a50c078
EPM
149322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14933
14934 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14935 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14936 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14937 in AT_FLAGS.
14938 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14939 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14940
eb5ad2eb
LM
149412010-05-28 Luis Machado <luisgpm@br.ibm.com>
14942
14943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14944
3c88fe1e
L
149452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14946
14947 [BZ #11640]
14948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14949 Properly check family and model.
14950
d2f73151
TY
149512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14952
14953 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14954
ebd2e13d
LM
149552010-05-24 Luis Machado <luisgpm@br.ibm.com>
14956
14957 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14958
b32b8b45
UD
149592010-05-21 Ulrich Drepper <drepper@redhat.com>
14960
14961 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14962 symbol reference.
14963
9acbe24d
AS
149642010-05-19 Andreas Schwab <schwab@redhat.com>
14965
14966 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14967 symbol reference.
14968
f0ccf6ea
AS
149692010-05-21 Andreas Schwab <schwab@redhat.com>
14970
3d04ff3a
AS
14971 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14972 and internal_recvmmsg.
14973 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14974 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14976 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14977
f0ccf6ea
AS
14978 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14979 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14980 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14981
5b08ac57
AS
149822010-05-20 Andreas Schwab <schwab@redhat.com>
14983
14984 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14985
4828935d
LM
149862010-05-17 Luis Machado <luisgpm@br.ibm.com>
14987
14988 POWER7 optimizations.
14989 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14990 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14991
373d545e
UD
149922010-05-19 Ulrich Drepper <drepper@redhat.com>
14993
14994 * version.h: Update for 2.13 development version.
14995
21a2b1ae
AS
149962010-05-12 Andrew Stubbs <ams@codesourcery.com>
14997
14998 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14999 exceptions. Return 0.
15000
3f7dcb2b
RM
150012010-05-07 Roland McGrath <roland@redhat.com>
15002
15003 * elf/ldconfig.c (main): Add a const.
15004
5f24d53a 150052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15006
a160f8d8
UD
15007 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15008 (args_options): Add no-idn option.
15009 (ahosts_keys_int): Add idn_flags to ai_flags.
15010 (parse_option): Handle 'i' option to clear idn_flags.
15011
5f24d53a
UD
15012 * malloc/malloc.c (_int_free): Possible race in the most recently
15013 added check. Only act on the data if no current modification
15014 happened.
265bb1ce
UD
15015
15016See ChangeLog.17 for earlier changes.